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