UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

62 lines 4.13 kB
"use strict"; /** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ Object.defineProperty(exports, "__esModule", { value: true }); exports.customerDetailResponseSchema = void 0; var schema_js_1 = require("../schema.js"); var address_js_1 = require("./address.js"); var deliveryAddresses_js_1 = require("./deliveryAddresses.js"); var pINAdviceTypes_js_1 = require("./pINAdviceTypes.js"); exports.customerDetailResponseSchema = (0, schema_js_1.lazy)(function () { return (0, schema_js_1.object)({ accountId: ['AccountId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], accountName: ['AccountName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], 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)()))], accountTradingName: ['AccountTradingName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], allowFleetIdInput: ['AllowFleetIdInput', (0, schema_js_1.optional)((0, schema_js_1.boolean)())], band: ['Band', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], billingAddress: ['BillingAddress', (0, schema_js_1.optional)(address_js_1.addressSchema)], cardGroupPosition: ['CardGroupPosition', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], correspondenceAddress: ['CorrespondenceAddress', (0, schema_js_1.optional)(address_js_1.addressSchema)], deliveryAddresses: [ 'DeliveryAddresses', (0, schema_js_1.optional)((0, schema_js_1.array)(deliveryAddresses_js_1.deliveryAddressesSchema)), ], fleetPin: ['FleetPin', (0, schema_js_1.optional)((0, schema_js_1.boolean)())], fullName: ['FullName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], invoiceCustomerId: ['InvoiceCustomerId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], invoiceCustomerShortName: [ 'InvoiceCustomerShortName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], isInvoicePoint: ['IsInvoicePoint', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], marketingSegmentation: [ 'MarketingSegmentation', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], vATNumber: ['VATNumber', (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)()))], payerName: ['PayerName', (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)()))], selfSelectedPin: ['SelfSelectedPin', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], status: ['Status', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], defaultPINAdviceType: [ 'DefaultPINAdviceType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], pINAdviceTypes: ['PINAdviceTypes', (0, schema_js_1.optional)((0, schema_js_1.array)(pINAdviceTypes_js_1.pINAdviceTypesSchema))], pINChangeAllowedByCardholder: [ 'PINChangeAllowedByCardholder', (0, schema_js_1.optional)((0, schema_js_1.boolean)()), ], pINChangeAllowedFromFleetPIN: [ 'PINChangeAllowedFromFleetPIN', (0, schema_js_1.optional)((0, schema_js_1.boolean)()), ], }); }); //# sourceMappingURL=customerDetailResponse.js.map