@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.
35 lines • 1.13 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.AllocationQuantity = exports.allocationQuantitySchema = void 0;
var schema_js_1 = require("../../schema.js");
exports.allocationQuantitySchema = (0, schema_js_1.oneOf)([
(0, schema_js_1.number)(),
(0, schema_js_1.string)(),
]);
var AllocationQuantity;
(function (AllocationQuantity) {
/**
* Validation method to narrow down union type to number type case.
*
* This is Number case.
*/
function isNumber(value) {
return typeof value === 'number';
}
AllocationQuantity.isNumber = isNumber;
/**
* Validation method to narrow down union type to string type case.
*
* This is String case.
*/
function isString(value) {
return typeof value === 'string';
}
AllocationQuantity.isString = isString;
})(AllocationQuantity || (exports.AllocationQuantity = AllocationQuantity = {}));
//# sourceMappingURL=allocationQuantity.js.map