@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.
22 lines • 1.31 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.subscriptionProductMigrationSchema = void 0;
var schema_1 = require("../schema");
var proration_1 = require("./proration");
exports.subscriptionProductMigrationSchema = (0, schema_1.expandoObject)({
productId: ['product_id', (0, schema_1.optional)((0, schema_1.number)())],
productPricePointId: ['product_price_point_id', (0, schema_1.optional)((0, schema_1.number)())],
includeTrial: ['include_trial', (0, schema_1.optional)((0, schema_1.boolean)())],
includeInitialCharge: ['include_initial_charge', (0, schema_1.optional)((0, schema_1.boolean)())],
includeCoupons: ['include_coupons', (0, schema_1.optional)((0, schema_1.boolean)())],
preservePeriod: ['preserve_period', (0, schema_1.optional)((0, schema_1.boolean)())],
productHandle: ['product_handle', (0, schema_1.optional)((0, schema_1.string)())],
productPricePointHandle: ['product_price_point_handle', (0, schema_1.optional)((0, schema_1.string)())],
proration: ['proration', (0, schema_1.optional)((0, schema_1.lazy)(function () { return proration_1.prorationSchema; }))]
});
//# sourceMappingURL=subscriptionProductMigration.js.map