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

230 lines 16.8 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.multiPricedTransactionResponseTransactionsItemsSchema = void 0; var schema_js_1 = require("../schema.js"); var siteLocation_js_1 = require("./siteLocation.js"); exports.multiPricedTransactionResponseTransactionsItemsSchema = (0, schema_js_1.object)({ type: ['Type', (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)()))], cardPAN: ['CardPAN', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], cardExpiry: ['CardExpiry', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], transactionDate: ['TransactionDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], transactionTime: ['TransactionTime', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], uTCOffset: ['UTCOffset', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], fleetIdInput: ['FleetIdInput', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], odometerInput: ['OdometerInput', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], driverName: ['DriverName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], vehicleRegistration: ['VehicleRegistration', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], invoiceCurrencyCode: ['InvoiceCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], invoiceCurrencySymbol: [ 'InvoiceCurrencySymbol', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], transactionCurrencyCode: [ 'TransactionCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], transactionCurrencySymbol: [ 'TransactionCurrencySymbol', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], transactionNetAmount: [ 'TransactionNetAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], transactionTax: ['TransactionTax', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], transactionGrossAmount: [ 'TransactionGrossAmount', (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)()))], invoiceTax: ['InvoiceTax', (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)()))], purchasedInCountry: ['PurchasedInCountry', (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)()))], accountName: ['AccountName', (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)()))], quantity: ['Quantity', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], fuelProduct: ['FuelProduct', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], unitPriceInTransactionCurrency: [ 'UnitPriceInTransactionCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], unitPriceInInvoiceCurrency: [ 'UnitPriceInInvoiceCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], unitDiscountTransactionCurrency: [ 'UnitDiscountTransactionCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], unitDiscountInvoiceCurrency: [ 'UnitDiscountInvoiceCurrency', (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)()))], 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)()))], siteCode: ['SiteCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], siteName: ['SiteName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], siteCountry: ['SiteCountry', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], location: ['Location', (0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return siteLocation_js_1.siteLocationSchema; })))], cardGroupName: ['CardGroupName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], receiptNumber: ['ReceiptNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], 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)()))], delCoExchangeRate: ['DelCoExchangeRate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], colCoExchangeRate: ['ColCoExchangeRate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], isShellSite: ['IsShellSite', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], network: ['Network', (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)()))], siteGroupName: ['SiteGroupName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], postingDate: ['PostingDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], issuerCode: ['IssuerCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], purchasedInCountryCode: [ 'PurchasedInCountryCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], customerCountryCode: ['CustomerCountryCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], customerCountry: ['CustomerCountry', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], releaseCode: ['ReleaseCode', (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.string)()))], cardSequenceNumber: ['CardSequenceNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], checkDigit: ['CheckDigit', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], fleetIDDescription: ['FleetIDDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], vATRate: ['VATRate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], vATCategory: ['VATCategory', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], vATCountry: ['VATCountry', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], effectiveDiscountInTrxCurrency: [ 'EffectiveDiscountInTrxCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], transactionType: ['TransactionType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], pINIndicator: ['PINIndicator', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], vATApplicable: ['VATApplicable', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], netInvoiceIndicator: ['NetInvoiceIndicator', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], 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)())), ], effectiveUnitDiscountInCustomerCurrency: [ 'EffectiveUnitDiscountInCustomerCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], effectiveDiscountInCustomerCurrency: [ 'EffectiveDiscountInCustomerCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], vATonNetAmountInCustomerCurrency: [ 'VATonNetAmountInCustomerCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], discountType: ['DiscountType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], transactionStatus: ['TransactionStatus', (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.number)()))], payerGroup: ['PayerGroup', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], payerGroupName: ['PayerGroupName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], refundFlag: ['RefundFlag', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], originalSalesItemId: ['OriginalSalesItemId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], delcoName: ['DelcoName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], delcoCode: ['DelcoCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], payerNumber: ['PayerNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], payerName: ['PayerName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], cardExpiryPeriod: ['CardExpiryPeriod', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], authorisationCode: ['AuthorisationCode', (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)()))], transactionLine: ['TransactionLine', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], allowClearing: ['AllowClearing', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], cRMNumber: ['CRMNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], disputeStatus: ['DisputeStatus', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], rebateRate: ['RebateRate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], delCoToColCoExchangeRate: [ 'DelCoToColCoExchangeRate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], netEuroAmount: ['NetEuroAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], euroRebateAmount: ['EuroRebateAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], euroVATAmount: ['EuroVATAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], parentCustomerNumber: [ 'ParentCustomerNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], parentCustomerName: ['ParentCustomerName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], parentCustomerId: ['ParentCustomerId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], incomingSiteNumber: ['IncomingSiteNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], incomingSiteDescription: [ 'IncomingSiteDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], incomingCurrencyCode: [ 'IncomingCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], incomingProductCode: ['IncomingProductCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], creditDebitCode: ['CreditDebitCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], correctionFlag: ['CorrectionFlag', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], additional1: ['Additional1', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], additional2: ['Additional2', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], additional3: ['Additional3', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], additional4: ['Additional4', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], rebateonNetAmountInCustomerCurrency: [ 'RebateonNetAmountInCustomerCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], rebateonNetAmountInTransactionCurrency: [ 'RebateonNetAmountInTransactionCurrency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], networkCode: ['NetworkCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], trnIdentifier: ['TrnIdentifier', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], cardType: ['CardType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], delcoListPriceUnitNet: [ 'DelcoListPriceUnitNet', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], delcoRetailPriceUnitNet: [ 'DelcoRetailPriceUnitNet', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], delcoRetailPriceUnitGross: [ 'DelcoRetailPriceUnitGross', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], delcoRetailValueTotalNet: [ 'DelcoRetailValueTotalNet', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], delcoRetailValueTotalGross: [ 'DelcoRetailValueTotalGross', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], customerRetailPriceUnitGross: [ 'CustomerRetailPriceUnitGross', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], customerRetailValueTotalGross: [ 'CustomerRetailValueTotalGross', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], customerRetailValueTotalNet: [ 'CustomerRetailValueTotalNet', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], transactionTypeDescription: [ 'TransactionTypeDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], }); //# sourceMappingURL=multiPricedTransactionResponseTransactionsItems.js.map