UNPKG

@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.

40 lines 2.42 kB
"use strict"; /** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.offerSchema = void 0; var schema_1 = require("../schema"); var offerDiscount_1 = require("./offerDiscount"); var offerItem_1 = require("./offerItem"); var offerSignupPage_1 = require("./offerSignupPage"); exports.offerSchema = (0, schema_1.expandoObject)({ id: ['id', (0, schema_1.optional)((0, schema_1.number)())], siteId: ['site_id', (0, schema_1.optional)((0, schema_1.number)())], productFamilyId: ['product_family_id', (0, schema_1.optional)((0, schema_1.number)())], productId: ['product_id', (0, schema_1.optional)((0, schema_1.number)())], productPricePointId: ['product_price_point_id', (0, schema_1.optional)((0, schema_1.number)())], productRevisableNumber: ['product_revisable_number', (0, schema_1.optional)((0, schema_1.number)())], name: ['name', (0, schema_1.optional)((0, schema_1.string)())], handle: ['handle', (0, schema_1.optional)((0, schema_1.string)())], description: ['description', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], createdAt: ['created_at', (0, schema_1.optional)((0, schema_1.string)())], updatedAt: ['updated_at', (0, schema_1.optional)((0, schema_1.string)())], archivedAt: ['archived_at', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], offerItems: ['offer_items', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return offerItem_1.offerItemSchema; })))], offerDiscounts: [ 'offer_discounts', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return offerDiscount_1.offerDiscountSchema; }))), ], productFamilyName: ['product_family_name', (0, schema_1.optional)((0, schema_1.string)())], productName: ['product_name', (0, schema_1.optional)((0, schema_1.string)())], productPricePointName: ['product_price_point_name', (0, schema_1.optional)((0, schema_1.string)())], productPriceInCents: ['product_price_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())], offerSignupPages: [ 'offer_signup_pages', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return offerSignupPage_1.offerSignupPageSchema; }))), ] }); //# sourceMappingURL=offer.js.map