@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.
23 lines • 1.02 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.createOfferSchema = void 0;
var schema_1 = require("../schema");
var createOfferComponent_1 = require("./createOfferComponent");
exports.createOfferSchema = (0, schema_1.expandoObject)({
name: ['name', (0, schema_1.string)()],
handle: ['handle', (0, schema_1.string)()],
description: ['description', (0, schema_1.optional)((0, schema_1.string)())],
productId: ['product_id', (0, schema_1.number)()],
productPricePointId: ['product_price_point_id', (0, schema_1.optional)((0, schema_1.number)())],
components: [
'components',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return createOfferComponent_1.createOfferComponentSchema; }))),
],
coupons: ['coupons', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.string)()))]
});
//# sourceMappingURL=createOffer.js.map