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.

37 lines 2.06 kB
"use strict"; /** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.subscriptionGroupSignupItemSchema = void 0; var schema_1 = require("../schema"); var calendarBilling_1 = require("./calendarBilling"); var subscriptionCustomPrice_1 = require("./subscriptionCustomPrice"); var subscriptionGroupSignupComponent_1 = require("./subscriptionGroupSignupComponent"); exports.subscriptionGroupSignupItemSchema = (0, schema_1.expandoObject)({ productHandle: ['product_handle', (0, schema_1.optional)((0, schema_1.string)())], productId: ['product_id', (0, schema_1.optional)((0, schema_1.number)())], productPricePointId: ['product_price_point_id', (0, schema_1.optional)((0, schema_1.number)())], productPricePointHandle: ['product_price_point_handle', (0, schema_1.optional)((0, schema_1.string)())], offerId: ['offer_id', (0, schema_1.optional)((0, schema_1.number)())], reference: ['reference', (0, schema_1.optional)((0, schema_1.string)())], primary: ['primary', (0, schema_1.optional)((0, schema_1.boolean)())], currency: ['currency', (0, schema_1.optional)((0, schema_1.string)())], couponCodes: ['coupon_codes', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.string)()))], components: [ 'components', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return subscriptionGroupSignupComponent_1.subscriptionGroupSignupComponentSchema; }))), ], customPrice: [ 'custom_price', (0, schema_1.optional)((0, schema_1.lazy)(function () { return subscriptionCustomPrice_1.subscriptionCustomPriceSchema; })), ], calendarBilling: [ 'calendar_billing', (0, schema_1.optional)((0, schema_1.lazy)(function () { return calendarBilling_1.calendarBillingSchema; })), ], metafields: ['metafields', (0, schema_1.optional)((0, schema_1.dict)((0, schema_1.string)()))] }); //# sourceMappingURL=subscriptionGroupSignupItem.js.map