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
53 lines • 4.42 kB
JavaScript
"use strict";
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.priceTransactionRequestSchema = void 0;
var schema_js_1 = require("../schema.js");
var accounts_js_1 = require("./accounts.js");
exports.priceTransactionRequestSchema = (0, schema_js_1.object)({
colCoId: ['ColCoId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
colCoCode: ['ColCoCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
payerId: ['PayerId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
payerNumber: ['PayerNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
accounts: ['Accounts', (0, schema_js_1.optional)((0, schema_js_1.lazy)(function () { return accounts_js_1.accountsSchema; }))],
cardId: ['CardId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
cardPAN: ['CardPAN', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
driverName: ['DriverName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
vehicleRegistrationNumber: [
'VehicleRegistrationNumber',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
invoiceStatus: ['InvoiceStatus', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
productId: ['ProductId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
productCode: ['ProductCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
purchasedInCountry: ['PurchasedInCountry', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
cardGroupId: ['CardGroupId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
sortOrder: ['SortOrder', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
fromDate: ['FromDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
toDate: ['ToDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
period: ['Period', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
siteCode: ['SiteCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
siteGroupId: ['SiteGroupId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
postingDateFrom: ['PostingDateFrom', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
postingDateTo: ['PostingDateTo', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
salesItemId: ['SalesItemId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
transactionId: ['TransactionId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
invoiceDate: ['InvoiceDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
invoiceNumber: ['InvoiceNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
validInvoiceDateOnly: [
'ValidInvoiceDateOnly',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)())),
],
invoiceFromDate: ['InvoiceFromDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
invoiceToDate: ['InvoiceToDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
fuelOnly: ['FuelOnly', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))],
includeFees: ['IncludeFees', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))],
useFieldId: ['UseFieldId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))],
currentPage: ['CurrentPage', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
pageSize: ['PageSize', (0, schema_js_1.optional)((0, schema_js_1.number)())],
});
//# sourceMappingURL=priceTransactionRequest.js.map