@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.
47 lines • 2.53 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.segmentSchema = void 0;
var schema_js_1 = require("../schema.js");
var segmentSegmentProperty1Value_js_1 = require("./containers/segmentSegmentProperty1Value.js");
var segmentSegmentProperty2Value_js_1 = require("./containers/segmentSegmentProperty2Value.js");
var segmentSegmentProperty3Value_js_1 = require("./containers/segmentSegmentProperty3Value.js");
var segmentSegmentProperty4Value_js_1 = require("./containers/segmentSegmentProperty4Value.js");
var pricingScheme_js_1 = require("./pricingScheme.js");
var segmentPrice_js_1 = require("./segmentPrice.js");
exports.segmentSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
componentId: ['component_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
pricePointId: ['price_point_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
eventBasedBillingMetricId: [
'event_based_billing_metric_id',
(0, schema_js_1.optional)((0, schema_js_1.number)()),
],
pricingScheme: ['pricing_scheme', (0, schema_js_1.optional)(pricingScheme_js_1.pricingSchemeSchema)],
segmentProperty1Value: [
'segment_property_1_value',
(0, schema_js_1.optional)(segmentSegmentProperty1Value_js_1.segmentSegmentProperty1ValueSchema),
],
segmentProperty2Value: [
'segment_property_2_value',
(0, schema_js_1.optional)(segmentSegmentProperty2Value_js_1.segmentSegmentProperty2ValueSchema),
],
segmentProperty3Value: [
'segment_property_3_value',
(0, schema_js_1.optional)(segmentSegmentProperty3Value_js_1.segmentSegmentProperty3ValueSchema),
],
segmentProperty4Value: [
'segment_property_4_value',
(0, schema_js_1.optional)(segmentSegmentProperty4Value_js_1.segmentSegmentProperty4ValueSchema),
],
createdAt: ['created_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
updatedAt: ['updated_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
prices: ['prices', (0, schema_js_1.optional)((0, schema_js_1.array)(segmentPrice_js_1.segmentPriceSchema))],
});
});
//# sourceMappingURL=segment.js.map