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