UNPKG

@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.

57 lines 3.77 kB
"use strict"; /** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ Object.defineProperty(exports, "__esModule", { value: true }); exports.customerSchema = void 0; var schema_js_1 = require("../schema.js"); exports.customerSchema = (0, schema_js_1.expandoObject)({ firstName: ['first_name', (0, schema_js_1.optional)((0, schema_js_1.string)())], lastName: ['last_name', (0, schema_js_1.optional)((0, schema_js_1.string)())], email: ['email', (0, schema_js_1.optional)((0, schema_js_1.string)())], ccEmails: ['cc_emails', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], organization: ['organization', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], reference: ['reference', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], id: ['id', (0, schema_js_1.optional)((0, schema_js_1.number)())], createdAt: ['created_at', (0, schema_js_1.optional)((0, schema_js_1.string)())], updatedAt: ['updated_at', (0, schema_js_1.optional)((0, schema_js_1.string)())], address: ['address', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], address2: ['address_2', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], city: ['city', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], state: ['state', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], stateName: ['state_name', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], zip: ['zip', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], country: ['country', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], countryName: ['country_name', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], phone: ['phone', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], verified: ['verified', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))], portalCustomerCreatedAt: [ 'portal_customer_created_at', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], portalInviteLastSentAt: [ 'portal_invite_last_sent_at', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], portalInviteLastAcceptedAt: [ 'portal_invite_last_accepted_at', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], taxExempt: ['tax_exempt', (0, schema_js_1.optional)((0, schema_js_1.boolean)())], vatNumber: ['vat_number', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], parentId: ['parent_id', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))], locale: ['locale', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], defaultSubscriptionGroupUid: [ 'default_subscription_group_uid', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], salesforceId: ['salesforce_id', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], taxExemptReason: ['tax_exempt_reason', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))], defaultAutoRenewalProfileId: [ 'default_auto_renewal_profile_id', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())), ], }); //# sourceMappingURL=customer.js.map