@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.
30 lines • 1.33 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.customerChangeSchema = void 0;
var schema_js_1 = require("../schema.js");
var addressChange_js_1 = require("./addressChange.js");
var customerCustomFieldsChange_js_1 = require("./customerCustomFieldsChange.js");
var customerPayerChange_js_1 = require("./customerPayerChange.js");
exports.customerChangeSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
payer: ['payer', (0, schema_js_1.optional)((0, schema_js_1.nullable)(customerPayerChange_js_1.customerPayerChangeSchema))],
shippingAddress: [
'shipping_address',
(0, schema_js_1.optional)((0, schema_js_1.nullable)(addressChange_js_1.addressChangeSchema)),
],
billingAddress: [
'billing_address',
(0, schema_js_1.optional)((0, schema_js_1.nullable)(addressChange_js_1.addressChangeSchema)),
],
customFields: [
'custom_fields',
(0, schema_js_1.optional)((0, schema_js_1.nullable)(customerCustomFieldsChange_js_1.customerCustomFieldsChangeSchema)),
],
});
});
//# sourceMappingURL=customerChange.js.map