UNPKG

@cardscan.ai/cardscan-client

Version:

Typescript client for the CardScan API

71 lines (70 loc) 2.15 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 after a successful insurance card scan. Provides enriched data extracted from the card, such as provider services phone numbers, claims addresses. * @export * @interface WebhookCardEnrichedEvent */ export interface WebhookCardEnrichedEventOriginal { /** * Unique identifier for the card. * @type {string} * @memberof WebhookCardEnrichedEvent */ 'card_id': string; /** * * @type {WebhookCardCompletedEventConfiguration} * @memberof WebhookCardEnrichedEvent */ 'configuration': WebhookCardCompletedEventConfiguration; /** * Timestamp for when the card was created. * @type {string} * @memberof WebhookCardEnrichedEvent */ 'created_at': string; /** * Flag indicating whether the card is deleted. * @type {boolean} * @memberof WebhookCardEnrichedEvent */ 'deleted': boolean; /** * Unique identifier for the session. * @type {string} * @memberof WebhookCardEnrichedEvent */ 'session_id': string; /** * Type of event. * @type {string} * @memberof WebhookCardEnrichedEvent */ 'type': string; /** * Timestamp for the last update to the card record. * @type {string} * @memberof WebhookCardEnrichedEvent */ 'updated_at': string; /** * Identifier for the user associated with the event. * @type {string} * @memberof WebhookCardEnrichedEvent */ 'user_id': string; } export type WebhookCardEnrichedEvent = KeysToCamelCase<WebhookCardEnrichedEventOriginal>; export type WebhookCardEnrichedEventSnake = KeysToSnakeCase<WebhookCardEnrichedEventOriginal>;