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