UNPKG

@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.

29 lines 1.14 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, oneOf, string } from '../../schema.js'; export const refundConsolidatedInvoiceSegmentUidsSchema = oneOf([array(string()), string()]); export var RefundConsolidatedInvoiceSegmentUids; (function (RefundConsolidatedInvoiceSegmentUids) { /** * Validation method to narrow down union type to string[] type case. * * This is Array of String case. */ function isArrayOfString(value) { return (Array.isArray(value) && value.every((item) => typeof item === 'string')); } RefundConsolidatedInvoiceSegmentUids.isArrayOfString = isArrayOfString; /** * Validation method to narrow down union type to string type case. * * This is String case. */ function isString(value) { return typeof value === 'string'; } RefundConsolidatedInvoiceSegmentUids.isString = isString; })(RefundConsolidatedInvoiceSegmentUids || (RefundConsolidatedInvoiceSegmentUids = {})); //# sourceMappingURL=refundConsolidatedInvoiceSegmentUids.js.map