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.

20 lines 769 B
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, expandoObject, lazy, number, optional, string, } from '../schema'; import { createOfferComponentSchema, } from './createOfferComponent'; export const createOfferSchema = expandoObject({ name: ['name', string()], handle: ['handle', string()], description: ['description', optional(string())], productId: ['product_id', number()], productPricePointId: ['product_price_point_id', optional(number())], components: [ 'components', optional(array(lazy(() => createOfferComponentSchema))), ], coupons: ['coupons', optional(array(string()))], }); //# sourceMappingURL=createOffer.js.map