@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.
32 lines • 1.53 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.siteStatisticsSchema = void 0;
var schema_1 = require("../schema");
exports.siteStatisticsSchema = (0, schema_1.expandoObject)({
totalSubscriptions: ['total_subscriptions', (0, schema_1.optional)((0, schema_1.number)())],
subscriptionsToday: ['subscriptions_today', (0, schema_1.optional)((0, schema_1.number)())],
totalRevenue: ['total_revenue', (0, schema_1.optional)((0, schema_1.string)())],
revenueToday: ['revenue_today', (0, schema_1.optional)((0, schema_1.string)())],
revenueThisMonth: ['revenue_this_month', (0, schema_1.optional)((0, schema_1.string)())],
revenueThisYear: ['revenue_this_year', (0, schema_1.optional)((0, schema_1.string)())],
totalCanceledSubscriptions: [
'total_canceled_subscriptions',
(0, schema_1.optional)((0, schema_1.number)()),
],
totalActiveSubscriptions: ['total_active_subscriptions', (0, schema_1.optional)((0, schema_1.number)())],
totalPastDueSubscriptions: [
'total_past_due_subscriptions',
(0, schema_1.optional)((0, schema_1.number)()),
],
totalUnpaidSubscriptions: ['total_unpaid_subscriptions', (0, schema_1.optional)((0, schema_1.number)())],
totalDunningSubscriptions: [
'total_dunning_subscriptions',
(0, schema_1.optional)((0, schema_1.number)()),
]
});
//# sourceMappingURL=siteStatistics.js.map