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

123 lines 9.86 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.feeItemSchema = void 0; var schema_js_1 = require("../schema.js"); var feesFeeRuleTiers_js_1 = require("./feesFeeRuleTiers.js"); exports.feeItemSchema = (0, schema_js_1.object)({ feeItemId: ['FeeItemId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], 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)()))], 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)())), ], 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)()))], payerShortName: ['PayerShortName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], cardId: ['CardId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], pAN: ['PAN', (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)()))], cardGroupName: ['CardGroupName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], feeTypeId: ['FeeTypeId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], feeType: ['FeeType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], feeTypeGroup: ['FeeTypeGroup', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], feeRuleId: ['FeeRuleId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], feeRuleDescription: ['FeeRuleDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], feeRuleTiers: [ 'FeeRuleTiers', (0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return feesFeeRuleTiers_js_1.feesFeeRuleTiersSchema; }))), ], feeItemDate: ['FeeItemDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], feeItemTime: ['FeeItemTime', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], isManual: ['IsManual', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], isCancelled: ['IsCancelled', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], customerCurrencyCode: ['CustomerCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], customerCurrencySymbol: [ 'CustomerCurrencySymbol', (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)()))], productName: ['ProductName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], productGroupId: ['ProductGroupId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], productGroupName: ['ProductGroupName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], lineItemDescription: ['LineItemDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], quantity: ['Quantity', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], isInvoiced: ['IsInvoiced', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], vATCountryCode: ['VATCountryCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], vATCountryName: ['VATCountryName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], vATPercentage: ['VATPercentage', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], vATCategoryID: ['VATCategoryID', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], vATCategoryDescription: [ 'VATCategoryDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], legislativeRegionId: ['LegislativeRegionId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], legislativeRegionName: [ 'LegislativeRegionName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], systemEntryDate: ['SystemEntryDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], systemEntryTime: ['SystemEntryTime', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], colCoNetAmount: ['ColCoNetAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], colCoVATAmount: ['ColCoVATAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], colCoGrossAmount: ['ColCoGrossAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], interimInvoiceId: ['InterimInvoiceId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], interimInvoiceNumber: ['InterimInvoiceNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], invoiceId: ['InvoiceId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], invoiceNumber: ['InvoiceNumber', (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)()))], customerExchangeRate: ['CustomerExchangeRate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], invoiceNetAmount: ['InvoiceNetAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], invoiceGrossAmount: ['InvoiceGrossAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], invoiceVATAmount: ['InvoiceVATAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], reverseCharge: ['ReverseCharge', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], originalFeeItemId: ['OriginalFeeItemId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], originalCurrencyCode: ['OriginalCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], originalCurrencySymbol: [ 'OriginalCurrencySymbol', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], originalUnitPrice: ['OriginalUnitPrice', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], originalNetAmount: ['OriginalNetAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], originalVATAmount: ['OriginalVATAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], originalGrossAmount: ['OriginalGrossAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], originalExchangeRate: ['OriginalExchangeRate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], originalLegislativeRegionId: [ 'OriginalLegislativeRegionId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], originalLegislativeRegionName: [ 'OriginalLegislativeRegionName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], frequency: ['Frequency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], feeItemCardLevelBreakup: [ 'FeeItemCardLevelBreakup', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], originalFeeItemInvoiceId: [ 'OriginalFeeItemInvoiceId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], originalFeeItemInvoiceNumber: [ 'OriginalFeeItemInvoiceNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], originalFeeItemInvoiceDate: [ 'OriginalFeeItemInvoiceDate', (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)()))], embossText: ['EmbossText', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], vRN: ['VRN', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], }); //# sourceMappingURL=feeItem.js.map