UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

111 lines (110 loc) 2.93 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ValidationStats */ export interface ValidationStats { /** * Number of coupons to be created/updated * @type {number} * @memberof ValidationStats */ coupons: number; /** * Number of customers to be created/updated * @type {number} * @memberof ValidationStats */ customers: number; /** * Number of discounts to be created/updated * @type {number} * @memberof ValidationStats */ discounts: number; /** * Number of CSV rows that failed * @type {number} * @memberof ValidationStats */ failedRows: number; /** * Number of invoice items to be created/updated * @type {number} * @memberof ValidationStats */ invoiceItems: number; /** * Number of invoices to be created/updated * @type {number} * @memberof ValidationStats */ invoices: number; /** * Number of prices to be created/updated * @type {number} * @memberof ValidationStats */ prices: number; /** * Number of CSV rows processed * @type {number} * @memberof ValidationStats */ processedRows: number; /** * Number of products to be created/updated * @type {number} * @memberof ValidationStats */ products: number; /** * Number of promotion codes to be created/updated * @type {number} * @memberof ValidationStats */ promotionCodes: number; /** * Number of subscription items to be created/updated * @type {number} * @memberof ValidationStats */ subscriptionItems: number; /** * Number of subscriptions to be created/updated * @type {number} * @memberof ValidationStats */ subscriptions: number; /** * * @type {Array<string>} * @memberof ValidationStats */ validationErrorDetails?: Array<string> | null; /** * Number of validation errors found * @type {number} * @memberof ValidationStats */ validationErrors: number; } /** * Check if a given object implements the ValidationStats interface. */ export declare function instanceOfValidationStats(value: object): value is ValidationStats; export declare function ValidationStatsFromJSON(json: any): ValidationStats; export declare function ValidationStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationStats; export declare function ValidationStatsToJSON(json: any): ValidationStats; export declare function ValidationStatsToJSONTyped(value?: ValidationStats | null, ignoreDiscriminator?: boolean): any;