UNPKG

@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.

39 lines 2.2 kB
"use strict"; /** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CreateComponentPricePointRequestPricePoint = exports.createComponentPricePointRequestPricePointSchema = void 0; var schema_js_1 = require("../../schema.js"); var createComponentPricePoint_js_1 = require("../createComponentPricePoint.js"); var createPrepaidUsageComponentPricePoint_js_1 = require("../createPrepaidUsageComponentPricePoint.js"); exports.createComponentPricePointRequestPricePointSchema = (0, schema_js_1.lazy)(function () { return (0, schema_js_1.anyOf)([ createComponentPricePoint_js_1.createComponentPricePointSchema, createPrepaidUsageComponentPricePoint_js_1.createPrepaidUsageComponentPricePointSchema, ]); }); var CreateComponentPricePointRequestPricePoint; (function (CreateComponentPricePointRequestPricePoint) { /** * Validation method to narrow down union type to CreateComponentPricePoint type case. * * This is Create Component Price Point case. */ function isCreateComponentPricePoint(value) { return (0, schema_js_1.isMappedValueValidForSchema)(value, createComponentPricePoint_js_1.createComponentPricePointSchema); } CreateComponentPricePointRequestPricePoint.isCreateComponentPricePoint = isCreateComponentPricePoint; /** * Validation method to narrow down union type to CreatePrepaidUsageComponentPricePoint type case. * * This is Create Prepaid Usage Component Price Point case. */ function isCreatePrepaidUsageComponentPricePoint(value) { return (0, schema_js_1.isMappedValueValidForSchema)(value, createPrepaidUsageComponentPricePoint_js_1.createPrepaidUsageComponentPricePointSchema); } CreateComponentPricePointRequestPricePoint.isCreatePrepaidUsageComponentPricePoint = isCreatePrepaidUsageComponentPricePoint; })(CreateComponentPricePointRequestPricePoint || (exports.CreateComponentPricePointRequestPricePoint = CreateComponentPricePointRequestPricePoint = {})); //# sourceMappingURL=createComponentPricePointRequestPricePoint.js.map