UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

130 lines (129 loc) 3.41 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. */ import type { ObjectName } from './ObjectName'; /** * * @export * @interface DataImportBatchExternal */ export interface DataImportBatchExternal { /** * Target account for import * @type {number} * @memberof DataImportBatchExternal */ accountId: number; /** * * @type {Date} * @memberof DataImportBatchExternal */ completedAt: Date | null; /** * DateTime at which the object was created, in 'ISO 8601' format. * @type {Date} * @memberof DataImportBatchExternal */ createdAt: Date; /** * * @type {number} * @memberof DataImportBatchExternal */ createdByUserId: number | null; /** * * @type {string} * @memberof DataImportBatchExternal */ description: string | null; /** * * @type {string} * @memberof DataImportBatchExternal */ errorSummary: string | null; /** * Number of rows that failed processing * @type {number} * @memberof DataImportBatchExternal */ failedRows: number; /** * Unique identifier for the data import batch. * @type {string} * @memberof DataImportBatchExternal */ id: string; /** * If true, indicates that this object has been deleted * @type {boolean} * @memberof DataImportBatchExternal */ isDeleted?: boolean; /** * * @type {string} * @memberof DataImportBatchExternal */ name: string | null; /** * * @type {ObjectName} * @memberof DataImportBatchExternal */ object?: ObjectName; /** * Number of rows processed so far * @type {number} * @memberof DataImportBatchExternal */ processedRows: number; /** * * @type {Date} * @memberof DataImportBatchExternal */ startedAt: Date | null; /** * Current processing status of the batch * @type {string} * @memberof DataImportBatchExternal */ status: string; /** * Number of rows processed successfully * @type {number} * @memberof DataImportBatchExternal */ successfulRows: number; /** * Total number of rows in the batch * @type {number} * @memberof DataImportBatchExternal */ totalRows: number; /** * DateTime at which the object was updated, in 'ISO 8601' format. * @type {Date} * @memberof DataImportBatchExternal */ updatedAt: Date; } /** * Check if a given object implements the DataImportBatchExternal interface. */ export declare function instanceOfDataImportBatchExternal(value: object): value is DataImportBatchExternal; export declare function DataImportBatchExternalFromJSON(json: any): DataImportBatchExternal; export declare function DataImportBatchExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataImportBatchExternal; export declare function DataImportBatchExternalToJSON(json: any): DataImportBatchExternal; export declare function DataImportBatchExternalToJSONTyped(value?: DataImportBatchExternal | null, ignoreDiscriminator?: boolean): any;