data-and-reporting-sdk
Version:
Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication
25 lines • 1.47 kB
JavaScript
;
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.fuelConsumptionRequestSchema = void 0;
var schema_1 = require("../schema");
var accounts_1 = require("./accounts");
var fuelConsumptionCard_1 = require("./fuelConsumptionCard");
exports.fuelConsumptionRequestSchema = (0, schema_1.object)({
colCoId: ['ColCoId', (0, schema_1.optional)((0, schema_1.number)())],
colCoCode: ['ColCoCode', (0, schema_1.optional)((0, schema_1.number)())],
payerId: ['PayerId', (0, schema_1.optional)((0, schema_1.number)())],
payerNumber: ['PayerNumber', (0, schema_1.optional)((0, schema_1.string)())],
accounts: ['Accounts', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return accounts_1.accountsSchema; })))],
cardGroupId: ['CardGroupId', (0, schema_1.optional)((0, schema_1.number)())],
cardGroupName: ['CardGroupName', (0, schema_1.optional)((0, schema_1.string)())],
cards: ['Cards', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return fuelConsumptionCard_1.fuelConsumptionCardSchema; })))],
fromDate: ['FromDate', (0, schema_1.optional)((0, schema_1.string)())],
toDate: ['ToDate', (0, schema_1.optional)((0, schema_1.string)())],
period: ['Period', (0, schema_1.optional)((0, schema_1.number)())]
});
//# sourceMappingURL=fuelConsumptionRequest.js.map