@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.
38 lines • 1.27 kB
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { boolean, number, oneOf, string } from '../../schema';
export const segmentSegmentProperty4ValueSchema = oneOf([string(), number(), boolean()]);
export var SegmentSegmentProperty4Value;
(function (SegmentSegmentProperty4Value) {
/**
* Validation method to narrow down union type to string type case.
*
* This is String case.
*/
function isString(value) {
return typeof value === 'string';
}
SegmentSegmentProperty4Value.isString = isString;
/**
* Validation method to narrow down union type to number type case.
*
* This is Precision case.
*/
function isNumber(value) {
return typeof value === 'number';
}
SegmentSegmentProperty4Value.isNumber = isNumber;
/**
* Validation method to narrow down union type to boolean type case.
*
* This is Boolean case.
*/
function isBoolean(value) {
return typeof value === 'boolean';
}
SegmentSegmentProperty4Value.isBoolean = isBoolean;
})(SegmentSegmentProperty4Value || (SegmentSegmentProperty4Value = {}));
//# sourceMappingURL=segmentSegmentProperty4Value.js.map