@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.
31 lines • 1.47 kB
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, boolean, dict, expandoObject, lazy, number, optional, string, } from '../schema.js';
import { calendarBillingSchema } from './calendarBilling.js';
import { subscriptionCustomPriceSchema, } from './subscriptionCustomPrice.js';
import { subscriptionGroupSignupComponentSchema, } from './subscriptionGroupSignupComponent.js';
export const subscriptionGroupSignupItemSchema = lazy(() => expandoObject({
productHandle: ['product_handle', optional(string())],
productId: ['product_id', optional(number())],
productPricePointId: ['product_price_point_id', optional(number())],
productPricePointHandle: [
'product_price_point_handle',
optional(string()),
],
offerId: ['offer_id', optional(number())],
reference: ['reference', optional(string())],
primary: ['primary', optional(boolean())],
currency: ['currency', optional(string())],
couponCodes: ['coupon_codes', optional(array(string()))],
components: [
'components',
optional(array(subscriptionGroupSignupComponentSchema)),
],
customPrice: ['custom_price', optional(subscriptionCustomPriceSchema)],
calendarBilling: ['calendar_billing', optional(calendarBillingSchema)],
metafields: ['metafields', optional(dict(string()))],
}));
//# sourceMappingURL=subscriptionGroupSignupItem.js.map