@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.
39 lines • 2.6 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.offerSchema = void 0;
var schema_js_1 = require("../schema.js");
var offerDiscount_js_1 = require("./offerDiscount.js");
var offerItem_js_1 = require("./offerItem.js");
var offerSignupPage_js_1 = require("./offerSignupPage.js");
exports.offerSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
siteId: ['site_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
productFamilyId: ['product_family_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
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)())],
productRevisableNumber: ['product_revisable_number', (0, schema_js_1.optional)((0, schema_js_1.number)())],
name: ['name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
handle: ['handle', (0, schema_js_1.optional)((0, schema_js_1.string)())],
description: ['description', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
createdAt: ['created_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
updatedAt: ['updated_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
archivedAt: ['archived_at', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
offerItems: ['offer_items', (0, schema_js_1.optional)((0, schema_js_1.array)(offerItem_js_1.offerItemSchema))],
offerDiscounts: ['offer_discounts', (0, schema_js_1.optional)((0, schema_js_1.array)(offerDiscount_js_1.offerDiscountSchema))],
productFamilyName: ['product_family_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
productName: ['product_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
productPricePointName: ['product_price_point_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
productPriceInCents: ['product_price_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
offerSignupPages: [
'offer_signup_pages',
(0, schema_js_1.optional)((0, schema_js_1.array)(offerSignupPage_js_1.offerSignupPageSchema)),
],
});
});
//# sourceMappingURL=offer.js.map