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.

18 lines (14 loc) 744 B
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { dict, expandoObject, optional, Schema, unknown } from '../schema'; export interface EventBasedBillingSegmentError { /** The key of the object would be a number (an index in the request array) where the error occurred. In the value object, the key represents the field and the value is an array with error messages. In most cases, this object would contain just one key. */ segments?: Record<string, unknown>; [key: string]: unknown; } export const eventBasedBillingSegmentErrorSchema: Schema<EventBasedBillingSegmentError> = expandoObject( { segments: ['segments', optional(dict(unknown()))] } );