UNPKG

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

113 lines 7.83 kB
"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.accountResponseAccountsItemsSchema = void 0; var schema_js_1 = require("../schema.js"); var customerContract_js_1 = require("./customerContract.js"); var invoiceDistributionMethod_js_1 = require("./invoiceDistributionMethod.js"); exports.accountResponseAccountsItemsSchema = (0, schema_js_1.object)({ accountFullName: ['AccountFullName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], accountId: ['AccountId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], accountNumber: ['AccountNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], accountShortName: ['AccountShortName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], bestOfIndicator: ['BestOfIndicator', (0, schema_js_1.optional)((0, schema_js_1.boolean)())], billingFrequencyType: [ 'BillingFrequencyType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], billingFrequencyTypeId: [ 'BillingFrequencyTypeId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], billingRunFrequency: ['BillingRunFrequency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], billingRunFrequencyTypeId: [ 'BillingRunFrequencyTypeId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], colCoCountryCode: ['ColCoCountryCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], currencyCode: ['CurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], currencySymbol: ['CurrencySymbol', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], day1Run: ['Day1Run', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], day2Run: ['Day2Run', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], day3Run: ['Day3Run', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], day4Run: ['Day4Run', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], frequencyType: ['FrequencyType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], grossAmount: ['GrossAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], internationalPOSLanguageCode: [ 'InternationalPOSLanguageCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], internationalPOSLanguageID: [ 'InternationalPOSLanguageID', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], invoiceAccountID: ['InvoiceAccountID', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], invoiceAccountNumber: [ 'InvoiceAccountNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], invoiceAccountShortName: [ 'InvoiceAccountShortName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], invoiceDistributionMethods: [ 'InvoiceDistributionMethods', (0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return invoiceDistributionMethod_js_1.invoiceDistributionMethodSchema; }))), ], isInternational: ['IsInternational', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], isInvoicePoint: ['IsInvoicePoint', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], lastModifiedDate: ['LastModifiedDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], localCurrencyCode: ['LocalCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], localCurrencySymbol: ['LocalCurrencySymbol', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], localPOSLanguageCode: [ 'LocalPOSLanguageCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], localPOSLanguageID: ['LocalPOSLanguageID', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], netAmount: ['NetAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], outstandingBalance: ['OutstandingBalance', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], paidAmount: ['PaidAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], status: ['Status', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], statusReason: ['StatusReason', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], totalActiveCardGroups: [ 'TotalActiveCardGroups', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], totalActiveCards: ['TotalActiveCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalBlockedCards: ['TotalBlockedCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalCancelledCards: ['TotalCancelledCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalCards: ['TotalCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalExpiredCards: ['TotalExpiredCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalFraudCards: ['TotalFraudCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalNewCards: ['TotalNewCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalRenewalPendingCards: [ 'TotalRenewalPendingCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], totalReplacedCards: ['TotalReplacedCards', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], totalTemporaryBlockCardsByCustomer: [ 'TotalTemporaryBlockCardsByCustomer', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], totalTemporaryBlockCardsByShell: [ 'TotalTemporaryBlockCardsByShell', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], vATAmount: ['VATAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], isPartnerCard: ['IsPartnerCard', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], tollsCustomerId: ['TollsCustomerId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], tollsColcoCountryTypeId: [ 'TollsColcoCountryTypeId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], contracts: [ 'Contracts', (0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return customerContract_js_1.customerContractSchema; }))), ], isConsortiumMember: ['IsConsortiumMember', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], }); //# sourceMappingURL=accountResponseAccountsItems.js.map