@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.
34 lines • 1.5 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';
import { calendarBillingSchema } from './calendarBilling';
import { subscriptionCustomPriceSchema, } from './subscriptionCustomPrice';
import { subscriptionGroupSignupComponentSchema, } from './subscriptionGroupSignupComponent';
export const subscriptionGroupSignupItemSchema = 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(lazy(() => subscriptionGroupSignupComponentSchema))),
],
customPrice: [
'custom_price',
optional(lazy(() => subscriptionCustomPriceSchema)),
],
calendarBilling: [
'calendar_billing',
optional(lazy(() => calendarBillingSchema)),
],
metafields: ['metafields', optional(dict(string()))],
});
//# sourceMappingURL=subscriptionGroupSignupItem.js.map