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
85 lines • 3.33 kB
JavaScript
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { boolean, nullable, number, object, optional, string, } from '../schema.js';
export const pastStatementOfAccountsSchema = object({
amountDue: ['AmountDue', optional(nullable(number()))],
amountNotOverdue: ['AmountNotOverdue', optional(nullable(number()))],
amountOverdue: ['AmountOverdue', optional(nullable(number()))],
amountOverdueFromUnallocated: [
'AmountOverdueFromUnallocated',
optional(nullable(number())),
],
amountPaid: ['AmountPaid', optional(nullable(number()))],
balanceOnThisStatement: [
'BalanceOnThisStatement',
optional(nullable(number())),
],
billingCurrencyCode: ['BillingCurrencyCode', optional(nullable(string()))],
billingCurrencySymbol: [
'BillingCurrencySymbol',
optional(nullable(string())),
],
creditLimit: ['CreditLimit', optional(nullable(number()))],
creditLimitCurrencyCode: [
'CreditLimitCurrencyCode',
optional(nullable(string())),
],
creditLimitCurrencySymbol: [
'CreditLimitCurrencySymbol',
optional(nullable(string())),
],
creditLimitInCustomerCurrency: [
'CreditLimitInCustomerCurrency',
optional(nullable(number())),
],
currencyCode: ['CurrencyCode', optional(nullable(string()))],
currencySymbol: ['CurrencySymbol', optional(nullable(string()))],
fullyPaid: ['FullyPaid', optional(nullable(boolean()))],
lastPaymentCurrencyCode: [
'LastPaymentCurrencyCode',
optional(nullable(string())),
],
lastPaymentCurrencySymbol: [
'LastPaymentCurrencySymbol',
optional(nullable(string())),
],
lastPaymentDate: ['LastPaymentDate', optional(nullable(string()))],
lastPaymentValue: ['LastPaymentValue', optional(nullable(number()))],
outstandingBalance: ['OutstandingBalance', optional(nullable(number()))],
payerId: ['PayerId', optional(nullable(number()))],
payerNumber: ['PayerNumber', optional(nullable(string()))],
paymentDueDate: ['PaymentDueDate', optional(nullable(string()))],
soAReferenceNumber: ['SoAReferenceNumber', optional(nullable(string()))],
statementDate: ['StatementDate', optional(nullable(string()))],
statementOfAccountId: [
'StatementOfAccountId',
optional(nullable(number())),
],
totalBillingDocuments: [
'TotalBillingDocuments',
optional(nullable(number())),
],
totalNetAmountBillingCurrency: [
'TotalNetAmountBillingCurrency',
optional(nullable(number())),
],
totalSummaryBillingDocuments: [
'TotalSummaryBillingDocuments',
optional(nullable(number())),
],
totalVATAmountBillingCurrency: [
'TotalVATAmountBillingCurrency',
optional(nullable(number())),
],
unallocatedPayment: ['UnallocatedPayment', optional(nullable(number()))],
localCurrencyCode: ['LocalCurrencyCode', optional(nullable(string()))],
localCurrencySymbol: ['LocalCurrencySymbol', optional(nullable(string()))],
localCurrencyExchangeRate: [
'LocalCurrencyExchangeRate',
optional(nullable(number())),
],
});
//# sourceMappingURL=pastStatementOfAccounts.js.map