UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

57 lines (56 loc) 1.79 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 WebhookDeliveryResult */ export interface WebhookDeliveryResult { /** * Webhook delivery attempt time in 'ISO 8601' format. * @type {Date} * @memberof WebhookDeliveryResult */ attemptTime: Date; /** * Unique id for the event which was sent to the webhook url. * @type {string} * @memberof WebhookDeliveryResult */ eventId: string; /** * HTTP response code received upon attempted delivery to webhook endpoint * @type {number} * @memberof WebhookDeliveryResult */ responseCode: number; /** * * @type {string} * @memberof WebhookDeliveryResult */ responseText?: string | null; /** * Unique id for the webhook url to which the event was sent. * @type {string} * @memberof WebhookDeliveryResult */ webhookId: string; } /** * Check if a given object implements the WebhookDeliveryResult interface. */ export declare function instanceOfWebhookDeliveryResult(value: object): value is WebhookDeliveryResult; export declare function WebhookDeliveryResultFromJSON(json: any): WebhookDeliveryResult; export declare function WebhookDeliveryResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookDeliveryResult; export declare function WebhookDeliveryResultToJSON(json: any): WebhookDeliveryResult; export declare function WebhookDeliveryResultToJSONTyped(value?: WebhookDeliveryResult | null, ignoreDiscriminator?: boolean): any;