@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.18 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.CreateAllocationPricePointId = exports.createAllocationPricePointIdSchema = void 0;
var schema_1 = require("../../schema");
exports.createAllocationPricePointIdSchema = (0, schema_1.oneOf)([(0, schema_1.string)(), (0, schema_1.number)()]);
var CreateAllocationPricePointId;
(function (CreateAllocationPricePointId) {
/**
* Validation method to narrow down union type to string type case.
*
* This is String case.
*/
function isString(value) {
return typeof value === 'string';
}
CreateAllocationPricePointId.isString = isString;
/**
* Validation method to narrow down union type to number type case.
*
* This is Number case.
*/
function isNumber(value) {
return typeof value === 'number';
}
CreateAllocationPricePointId.isNumber = isNumber;
})(CreateAllocationPricePointId = exports.CreateAllocationPricePointId || (exports.CreateAllocationPricePointId = {}));
//# sourceMappingURL=createAllocationPricePointId.js.map