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.

51 lines 2.53 kB
"use strict"; /** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.siteSchema = void 0; var schema_1 = require("../schema"); var allocationSettings_1 = require("./allocationSettings"); var netTerms_1 = require("./netTerms"); var organizationAddress_1 = require("./organizationAddress"); var taxConfiguration_1 = require("./taxConfiguration"); exports.siteSchema = (0, schema_1.expandoObject)({ id: ['id', (0, schema_1.optional)((0, schema_1.number)())], name: ['name', (0, schema_1.optional)((0, schema_1.string)())], subdomain: ['subdomain', (0, schema_1.optional)((0, schema_1.string)())], currency: ['currency', (0, schema_1.optional)((0, schema_1.string)())], sellerId: ['seller_id', (0, schema_1.optional)((0, schema_1.number)())], nonPrimaryCurrencies: ['non_primary_currencies', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.string)()))], relationshipInvoicingEnabled: [ 'relationship_invoicing_enabled', (0, schema_1.optional)((0, schema_1.boolean)()), ], scheduleSubscriptionCancellationEnabled: [ 'schedule_subscription_cancellation_enabled', (0, schema_1.optional)((0, schema_1.boolean)()), ], customerHierarchyEnabled: ['customer_hierarchy_enabled', (0, schema_1.optional)((0, schema_1.boolean)())], whopaysEnabled: ['whopays_enabled', (0, schema_1.optional)((0, schema_1.boolean)())], whopaysDefaultPayer: ['whopays_default_payer', (0, schema_1.optional)((0, schema_1.string)())], allocationSettings: [ 'allocation_settings', (0, schema_1.optional)((0, schema_1.lazy)(function () { return allocationSettings_1.allocationSettingsSchema; })), ], defaultPaymentCollectionMethod: [ 'default_payment_collection_method', (0, schema_1.optional)((0, schema_1.string)()), ], organizationAddress: [ 'organization_address', (0, schema_1.optional)((0, schema_1.lazy)(function () { return organizationAddress_1.organizationAddressSchema; })), ], taxConfiguration: [ 'tax_configuration', (0, schema_1.optional)((0, schema_1.lazy)(function () { return taxConfiguration_1.taxConfigurationSchema; })), ], netTerms: ['net_terms', (0, schema_1.optional)((0, schema_1.lazy)(function () { return netTerms_1.netTermsSchema; }))], test: ['test', (0, schema_1.optional)((0, schema_1.boolean)())] }); //# sourceMappingURL=site.js.map