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
66 lines • 4.13 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.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.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)((0, schema_js_1.lazy)(function () { return 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)((0, schema_js_1.lazy)(function () { return address_js_1.addressSchema; })),
],
deliveryAddresses: [
'DeliveryAddresses',
(0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return 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)((0, schema_js_1.lazy)(function () { return 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