UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

107 lines (106 loc) 2.51 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 { EventType } from './EventType'; import type { ObjectName } from './ObjectName'; /** * * @export * @interface EventExternal */ export interface EventExternal { /** * * @type {string} * @memberof EventExternal */ accountId: string | null; /** * DateTime at which the object was created, in 'ISO 8601' format. * @type {Date} * @memberof EventExternal */ createdAt: Date; /** * * @type {object} * @memberof EventExternal */ data: object; /** * * @type {object} * @memberof EventExternal */ dataPrevious: object | null; /** * * @type {string} * @memberof EventExternal */ id: string; /** * If true, indicates that this object has been deleted * @type {boolean} * @memberof EventExternal */ isDeleted?: boolean; /** * * @type {ObjectName} * @memberof EventExternal */ object?: ObjectName; /** * * @type {number} * @memberof EventExternal */ pendingWebhooks: number; /** * * @type {string} * @memberof EventExternal */ requestId: string | null; /** * * @type {string} * @memberof EventExternal */ requestIdempotencyKey: string | null; /** * * @type {EventType} * @memberof EventExternal */ type: EventType; /** * DateTime at which the object was updated, in 'ISO 8601' format. * @type {Date} * @memberof EventExternal */ updatedAt: Date; /** * * @type {string} * @memberof EventExternal */ user?: string | null; } /** * Check if a given object implements the EventExternal interface. */ export declare function instanceOfEventExternal(value: object): value is EventExternal; export declare function EventExternalFromJSON(json: any): EventExternal; export declare function EventExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventExternal; export declare function EventExternalToJSON(json: any): EventExternal; export declare function EventExternalToJSONTyped(value?: EventExternal | null, ignoreDiscriminator?: boolean): any;