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
206 lines • 14.7 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.payerDetailsSchema = void 0;
var schema_js_1 = require("../schema.js");
var address_js_1 = require("./address.js");
var bankAccount_js_1 = require("./bankAccount.js");
var customerContract_js_1 = require("./customerContract.js");
var financeCurrency2_js_1 = require("./financeCurrency2.js");
var invoiceDistributionMethod_js_1 = require("./invoiceDistributionMethod.js");
exports.payerDetailsSchema = (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)()))],
countryCode: ['CountryCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
country: ['Country', (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)()))],
payerFullName: ['PayerFullName', (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)()))],
payerGroupId: ['PayerGroupId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
amountDue: ['AmountDue', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
amountOverdue: ['AmountOverdue', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
amountNotOverdue: ['AmountNotOverdue', (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)()))],
unallocatedPayment: ['UnallocatedPayment', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
sOACurrencyCode: ['SOACurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
sOACurrencySymbol: ['SOACurrencySymbol', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
sOACreditLimitCurrencyCode: [
'SOACreditLimitCurrencyCode',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
sOACreditLimitCurrencySymbol: [
'SOACreditLimitCurrencySymbol',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
lastPaymentCurrencyCode: [
'LastPaymentCurrencyCode',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
lastPaymentCurrencySymbol: [
'LastPaymentCurrencySymbol',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
lastPaymentAmount: ['LastPaymentAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
lastPaymentDate: ['LastPaymentDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
sOALastPaymentAmount: ['SOALastPaymentAmount', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
sOALastPaymentDate: ['SOALastPaymentDate', (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)()))],
colCoCountryCode: ['ColCoCountryCode', (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)()))],
localCurrencyExchangeRate: [
'LocalCurrencyExchangeRate',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
localCurrencyExchangeRateSoA: [
'LocalCurrencyExchangeRate_SoA',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
billingFrequencyTypeId: [
'BillingFrequencyTypeId',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
billingFrequencyType: ['BillingFrequencyType', (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)())),
],
billingRunFrequnecy: ['BillingRunFrequnecy', (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)()))],
invoiceDistributionMethods: [
'InvoiceDistributionMethods',
(0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return invoiceDistributionMethod_js_1.invoiceDistributionMethodSchema; }))),
],
outputType: ['OutputType', (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)())),
],
bestOfIndicator: ['BestOfIndicator', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
isInternational: ['IsInternational', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
totalAccounts: ['TotalAccounts', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
totalActiveAccounts: ['TotalActiveAccounts', (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)()))],
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)()))],
totalExpiredCards: ['TotalExpiredCards', (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)())),
],
totalNewCards: ['TotalNewCards', (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)()))],
totalBlockedAccounts: ['TotalBlockedAccounts', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
totalCancelledAccounts: [
'TotalCancelledAccounts',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
payerTradingName: ['PayerTradingName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
status: ['Status', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingLanguage: ['BillingLanguage', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
legalEntity: ['LegalEntity', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
dateEstablished: ['DateEstablished', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
customerClassification: [
'CustomerClassification',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
industryClass: ['IndustryClass', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
marketingSegmentation: [
'MarketingSegmentation',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
lineOfBusiness: ['LineOfBusiness', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
printCreditLimit: ['PrintCreditLimit', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
cardGroupType: ['CardGroupType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
renewCards: ['RenewCards', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
allowSelectPIN: ['AllowSelectPIN', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
useFleetPIN: ['UseFleetPIN', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
vATRegNumber: ['VATRegNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
vATRegNumber2: ['VATRegNumber2', (0, schema_js_1.optional)((0, schema_js_1.string)())],
registrationNumber: ['RegistrationNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
registrationNumber2: ['RegistrationNumber2', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
salesLedgerBalance: ['SalesLedgerBalance', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
exposure: ['Exposure', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
outstandingDebt: ['OutstandingDebt', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
availableCredit: ['AvailableCredit', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
band: ['Band', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
globalCustomerReferenceId: [
'GlobalCustomerReferenceId',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
creditLimit: ['CreditLimit', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
creditLimitInCustomerCurrency: [
'CreditLimitInCustomerCurrency',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
billingCurrencyCode: ['BillingCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
billingCurrencySymbol: [
'BillingCurrencySymbol',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
paymentMethod: ['PaymentMethod', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
paymentTerms: ['PaymentTerms', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
temporaryCreditLimitIncrease: [
'TemporaryCreditLimitIncrease',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
temporaryCreditLimitIncreaseInCustomerCurrency: [
'TemporaryCreditLimitIncreaseInCustomerCurrency',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
temporaryCreditLimitExpiryDate: [
'TemporaryCreditLimitExpiryDate',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
payerBankAccount: [
'PayerBankAccount',
(0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return bankAccount_js_1.bankAccountSchema; }))),
],
cardDeliveryAddress: [
'CardDeliveryAddress',
(0, schema_js_1.optional)((0, schema_js_1.lazy)(function () { return address_js_1.addressSchema; })),
],
correspondanceAddress: [
'CorrespondanceAddress',
(0, schema_js_1.optional)((0, schema_js_1.lazy)(function () { return address_js_1.addressSchema; })),
],
billingAddress: ['BillingAddress', (0, schema_js_1.optional)((0, schema_js_1.lazy)(function () { return address_js_1.addressSchema; }))],
hasActiveVolBasedPricing: ['HasActiveVolBasedPricing', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
hasActiveVolBasedBonus: ['HasActiveVolBasedBonus', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
hasActiveVolBasedAssociationBonus: [
'HasActiveVolBasedAssociationBonus',
(0, schema_js_1.optional)((0, schema_js_1.boolean)()),
],
financeCurrency: [
'FinanceCurrency',
(0, schema_js_1.optional)((0, schema_js_1.lazy)(function () { return financeCurrency2_js_1.financeCurrency2Schema; })),
],
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; })))],
});
//# sourceMappingURL=payerDetails.js.map