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

69 lines 4.11 kB
"use strict"; /** * Shell Data & Reporting APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.customerDetailResponseSchema = void 0; var schema_1 = require("../schema"); var address_1 = require("./address"); var deliveryAddresses_1 = require("./deliveryAddresses"); var errorStatus_1 = require("./errorStatus"); var pINAdviceTypes_1 = require("./pINAdviceTypes"); exports.customerDetailResponseSchema = (0, schema_1.object)({ accountId: ['AccountId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))], accountName: ['AccountName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], accountNumber: ['AccountNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], accountShortName: ['AccountShortName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], accountTradingName: ['AccountTradingName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], allowFleetIdInput: ['AllowFleetIdInput', (0, schema_1.optional)((0, schema_1.boolean)())], band: ['Band', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], billingAddress: ['BillingAddress', (0, schema_1.optional)((0, schema_1.lazy)(function () { return address_1.addressSchema; }))], cardGroupPosition: ['CardGroupPosition', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], correspondenceAddress: [ 'CorrespondenceAddress', (0, schema_1.optional)((0, schema_1.lazy)(function () { return address_1.addressSchema; })), ], deliveryAddresses: [ 'DeliveryAddresses', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return deliveryAddresses_1.deliveryAddressesSchema; }))), ], fleetPin: ['FleetPin', (0, schema_1.optional)((0, schema_1.boolean)())], fullName: ['FullName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], invoiceCustomerId: ['InvoiceCustomerId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))], invoiceCustomerShortName: [ 'InvoiceCustomerShortName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())), ], isInvoicePoint: ['IsInvoicePoint', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)()))], marketingSegmentation: [ 'MarketingSegmentation', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())), ], vATNumber: ['VATNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], payerId: ['PayerId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))], payerName: ['PayerName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], payerNumber: ['PayerNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], selfSelectedPin: ['SelfSelectedPin', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)()))], status: ['Status', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], defaultPINAdviceType: [ 'DefaultPINAdviceType', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)())), ], pINAdviceTypes: [ 'PINAdviceTypes', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return pINAdviceTypes_1.pINAdviceTypesSchema; }))), ], error: ['Error', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; }))], requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], pINChangeAllowedByCardholder: [ 'PINChangeAllowedByCardholder', (0, schema_1.optional)((0, schema_1.boolean)()), ], pINChangeAllowedFromFleetPIN: [ 'PINChangeAllowedFromFleetPIN', (0, schema_1.optional)((0, schema_1.boolean)()), ] }); //# sourceMappingURL=customerDetailResponse.js.map