@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.
53 lines • 2.72 kB
JavaScript
"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.siteSchema = void 0;
var schema_js_1 = require("../schema.js");
var allocationSettings_js_1 = require("./allocationSettings.js");
var netTerms_js_1 = require("./netTerms.js");
var organizationAddress_js_1 = require("./organizationAddress.js");
var taxConfiguration_js_1 = require("./taxConfiguration.js");
exports.siteSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
name: ['name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
subdomain: ['subdomain', (0, schema_js_1.optional)((0, schema_js_1.string)())],
currency: ['currency', (0, schema_js_1.optional)((0, schema_js_1.string)())],
sellerId: ['seller_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
nonPrimaryCurrencies: ['non_primary_currencies', (0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.string)()))],
relationshipInvoicingEnabled: [
'relationship_invoicing_enabled',
(0, schema_js_1.optional)((0, schema_js_1.boolean)()),
],
scheduleSubscriptionCancellationEnabled: [
'schedule_subscription_cancellation_enabled',
(0, schema_js_1.optional)((0, schema_js_1.boolean)()),
],
customerHierarchyEnabled: [
'customer_hierarchy_enabled',
(0, schema_js_1.optional)((0, schema_js_1.boolean)()),
],
whopaysEnabled: ['whopays_enabled', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
whopaysDefaultPayer: ['whopays_default_payer', (0, schema_js_1.optional)((0, schema_js_1.string)())],
allocationSettings: [
'allocation_settings',
(0, schema_js_1.optional)(allocationSettings_js_1.allocationSettingsSchema),
],
defaultPaymentCollectionMethod: [
'default_payment_collection_method',
(0, schema_js_1.optional)((0, schema_js_1.string)()),
],
organizationAddress: [
'organization_address',
(0, schema_js_1.optional)(organizationAddress_js_1.organizationAddressSchema),
],
taxConfiguration: ['tax_configuration', (0, schema_js_1.optional)(taxConfiguration_js_1.taxConfigurationSchema)],
netTerms: ['net_terms', (0, schema_js_1.optional)(netTerms_js_1.netTermsSchema)],
test: ['test', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
});
});
//# sourceMappingURL=site.js.map