@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.13 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.createOfferSchema = void 0;
var schema_js_1 = require("../schema.js");
var createOfferComponent_js_1 = require("./createOfferComponent.js");
exports.createOfferSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
name: ['name', (0, schema_js_1.string)()],
handle: ['handle', (0, schema_js_1.string)()],
description: ['description', (0, schema_js_1.optional)((0, schema_js_1.string)())],
productId: ['product_id', (0, schema_js_1.number)()],
productPricePointId: ['product_price_point_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
components: ['components', (0, schema_js_1.optional)((0, schema_js_1.array)(createOfferComponent_js_1.createOfferComponentSchema))],
coupons: ['coupons', (0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.string)()))],
});
});
//# sourceMappingURL=createOffer.js.map