@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.
15 lines • 613 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { expandoObject, nullable, number, optional, string, } from '../schema.js';
import { restrictionTypeSchema } from './restrictionType.js';
export const couponRestrictionSchema = expandoObject({
id: ['id', optional(number())],
itemType: ['item_type', optional(restrictionTypeSchema)],
itemId: ['item_id', optional(number())],
name: ['name', optional(string())],
handle: ['handle', optional(nullable(string()))],
});
//# sourceMappingURL=couponRestriction.js.map