@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.
25 lines • 918 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { expandoObject, lazy, nullable, optional } from '../schema.js';
import { addressChangeSchema } from './addressChange.js';
import { customerCustomFieldsChangeSchema, } from './customerCustomFieldsChange.js';
import { customerPayerChangeSchema, } from './customerPayerChange.js';
export const customerChangeSchema = lazy(() => expandoObject({
payer: ['payer', optional(nullable(customerPayerChangeSchema))],
shippingAddress: [
'shipping_address',
optional(nullable(addressChangeSchema)),
],
billingAddress: [
'billing_address',
optional(nullable(addressChangeSchema)),
],
customFields: [
'custom_fields',
optional(nullable(customerCustomFieldsChangeSchema)),
],
}));
//# sourceMappingURL=customerChange.js.map