@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.
25 lines • 1.13 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.subscriptionGroupSchema = void 0;
var schema_1 = require("../schema");
var collectionMethod_1 = require("./collectionMethod");
var subscriptionGroupPaymentProfile_1 = require("./subscriptionGroupPaymentProfile");
exports.subscriptionGroupSchema = (0, schema_1.expandoObject)({
customerId: ['customer_id', (0, schema_1.optional)((0, schema_1.number)())],
paymentProfile: [
'payment_profile',
(0, schema_1.optional)((0, schema_1.lazy)(function () { return subscriptionGroupPaymentProfile_1.subscriptionGroupPaymentProfileSchema; })),
],
paymentCollectionMethod: [
'payment_collection_method',
(0, schema_1.optional)(collectionMethod_1.collectionMethodSchema),
],
subscriptionIds: ['subscription_ids', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.number)()))],
createdAt: ['created_at', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=subscriptionGroup.js.map