@cardscan.ai/cardscan-client
Version:
Typescript client for the CardScan API
77 lines (76 loc) • 2.26 kB
TypeScript
/**
* CardScan API
* The official documentation for the CardScan API Clients.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { WebhookEligibilityErrorEventError } from './webhook-eligibility-error-event-error';
import { KeysToCamelCase, KeysToSnakeCase } from "./";
/**
* Triggered when an error occurs during an eligibility check.
* @export
* @interface WebhookEligibilityErrorEvent
*/
export interface WebhookEligibilityErrorEventOriginal {
/**
* Unique identifier for the eligibility record.
* @type {string}
* @memberof WebhookEligibilityErrorEvent
*/
'eligibility_id': string;
/**
* Unique identifier for the associated card.
* @type {string}
* @memberof WebhookEligibilityErrorEvent
*/
'card_id': string;
/**
* Timestamp for when the eligibility record was created.
* @type {string}
* @memberof WebhookEligibilityErrorEvent
*/
'created_at': string;
/**
* Flag indicating whether the eligibility record is deleted.
* @type {boolean}
* @memberof WebhookEligibilityErrorEvent
*/
'deleted': boolean;
/**
*
* @type {WebhookEligibilityErrorEventError}
* @memberof WebhookEligibilityErrorEvent
*/
'error': WebhookEligibilityErrorEventError;
/**
* Unique identifier for the session.
* @type {string}
* @memberof WebhookEligibilityErrorEvent
*/
'session_id': string;
/**
* Type of event.
* @type {string}
* @memberof WebhookEligibilityErrorEvent
*/
'type': string;
/**
* Timestamp for the last update.
* @type {string}
* @memberof WebhookEligibilityErrorEvent
*/
'updated_at': string;
/**
* Identifier for the user associated with the event.
* @type {string}
* @memberof WebhookEligibilityErrorEvent
*/
'user_id': string;
}
export type WebhookEligibilityErrorEvent = KeysToCamelCase<WebhookEligibilityErrorEventOriginal>;
export type WebhookEligibilityErrorEventSnake = KeysToSnakeCase<WebhookEligibilityErrorEventOriginal>;