@maxio-com/advanced-billing-sdk
Version:
Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.
35 lines • 2.06 kB
JavaScript
"use strict";
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.customerAttributesSchema = void 0;
var schema_1 = require("../schema");
exports.customerAttributesSchema = (0, schema_1.expandoObject)({
firstName: ['first_name', (0, schema_1.optional)((0, schema_1.string)())],
lastName: ['last_name', (0, schema_1.optional)((0, schema_1.string)())],
email: ['email', (0, schema_1.optional)((0, schema_1.string)())],
ccEmails: ['cc_emails', (0, schema_1.optional)((0, schema_1.string)())],
organization: ['organization', (0, schema_1.optional)((0, schema_1.string)())],
reference: ['reference', (0, schema_1.optional)((0, schema_1.string)())],
address: ['address', (0, schema_1.optional)((0, schema_1.string)())],
address2: ['address_2', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
city: ['city', (0, schema_1.optional)((0, schema_1.string)())],
state: ['state', (0, schema_1.optional)((0, schema_1.string)())],
zip: ['zip', (0, schema_1.optional)((0, schema_1.string)())],
country: ['country', (0, schema_1.optional)((0, schema_1.string)())],
phone: ['phone', (0, schema_1.optional)((0, schema_1.string)())],
verified: ['verified', (0, schema_1.optional)((0, schema_1.boolean)())],
taxExempt: ['tax_exempt', (0, schema_1.optional)((0, schema_1.boolean)())],
vatNumber: ['vat_number', (0, schema_1.optional)((0, schema_1.string)())],
metafields: ['metafields', (0, schema_1.optional)((0, schema_1.dict)((0, schema_1.string)()))],
parentId: ['parent_id', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
salesforceId: ['salesforce_id', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
defaultAutoRenewalProfileId: [
'default_auto_renewal_profile_id',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)())),
]
});
//# sourceMappingURL=customerAttributes.js.map