UNPKG

@cardscan.ai/cardscan-client

Version:

Typescript client for the CardScan API

71 lines (70 loc) 2.06 kB
/** * 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 { WebhookCardCompletedEventConfiguration } from './webhook-card-completed-event-configuration'; import { KeysToCamelCase, KeysToSnakeCase } from "./"; /** * Triggered when a new insurance card is created at the start of a scanning attempt. * @export * @interface WebhookCardCreatedEvent */ export interface WebhookCardCreatedEventOriginal { /** * Unique identifier for the created card. * @type {string} * @memberof WebhookCardCreatedEvent */ 'card_id': string; /** * * @type {WebhookCardCompletedEventConfiguration} * @memberof WebhookCardCreatedEvent */ 'configuration': WebhookCardCompletedEventConfiguration; /** * Timestamp for when the card was created. * @type {string} * @memberof WebhookCardCreatedEvent */ 'created_at': string; /** * Flag indicating whether the card is deleted. * @type {boolean} * @memberof WebhookCardCreatedEvent */ 'deleted': boolean; /** * Unique identifier for the session. * @type {string} * @memberof WebhookCardCreatedEvent */ 'session_id': string; /** * Type of event. * @type {string} * @memberof WebhookCardCreatedEvent */ 'type': string; /** * Timestamp for the last update to the card record. * @type {string} * @memberof WebhookCardCreatedEvent */ 'updated_at': string; /** * Identifier for the user associated with the event. * @type {string} * @memberof WebhookCardCreatedEvent */ 'user_id': string; } export type WebhookCardCreatedEvent = KeysToCamelCase<WebhookCardCreatedEventOriginal>; export type WebhookCardCreatedEventSnake = KeysToSnakeCase<WebhookCardCreatedEventOriginal>;