@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 • 942 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';
import { addressChangeSchema } from './addressChange';
import { customerCustomFieldsChangeSchema, } from './customerCustomFieldsChange';
import { customerPayerChangeSchema, } from './customerPayerChange';
export const customerChangeSchema = expandoObject({
payer: ['payer', optional(nullable(lazy(() => customerPayerChangeSchema)))],
shippingAddress: [
'shipping_address',
optional(nullable(lazy(() => addressChangeSchema))),
],
billingAddress: [
'billing_address',
optional(nullable(lazy(() => addressChangeSchema))),
],
customFields: [
'custom_fields',
optional(nullable(lazy(() => customerCustomFieldsChangeSchema))),
],
});
//# sourceMappingURL=customerChange.js.map