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.

17 lines 752 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.js'; import { createOfferComponentSchema, } from './createOfferComponent.js'; export const createOfferSchema = lazy(() => 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(createOfferComponentSchema))], coupons: ['coupons', optional(array(string()))], })); //# sourceMappingURL=createOffer.js.map