@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 segmentSegmentProperty1ValueSchema = oneOf([string(), number(), boolean()]);
export var SegmentSegmentProperty1Value;
(function (SegmentSegmentProperty1Value) {
/**
* Validation method to narrow down union type to string type case.
*
* This is String case.
*/
function isString(value) {
return typeof value === 'string';
}
SegmentSegmentProperty1Value.isString = isString;
/**
* Validation method to narrow down union type to number type case.
*
* This is Precision case.
*/
function isNumber(value) {
return typeof value === 'number';
}
SegmentSegmentProperty1Value.isNumber = isNumber;
/**
* Validation method to narrow down union type to boolean type case.
*
* This is Boolean case.
*/
function isBoolean(value) {
return typeof value === 'boolean';
}
SegmentSegmentProperty1Value.isBoolean = isBoolean;
})(SegmentSegmentProperty1Value || (SegmentSegmentProperty1Value = {}));
//# sourceMappingURL=segmentSegmentProperty1Value.js.map