@cardscan.ai/cardscan-client
Version:
Typescript client for the CardScan API
46 lines (45 loc) • 1.77 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 { KeysToCamelCase, KeysToSnakeCase } from "./";
/**
* A valid provider record must include either an `organization_name` or both a `first_name` and `last_name`. The `npi` must always be exactly 10 numeric digits.
* @export
* @interface ProviderDto
*/
export interface ProviderDtoOriginal {
/**
* The provider\'s first name. Required if `organization_name` is not provided. Must contain 1-35 alphanumeric characters.
* @type {string}
* @memberof ProviderDto
*/
'first_name'?: string;
/**
* The provider\'s last name. Required if `organization_name` is not provided. Must contain 1-60 alphanumeric characters.
* @type {string}
* @memberof ProviderDto
*/
'last_name'?: string;
/**
* The National Provider Identifier (NPI), assigned by the Centers for Medicare & Medicaid Services. This identifier is always a 10-digit numeric value. Use the [NPI Registry](https://npiregistry.cms.hhs.gov/search) to verify or look up NPI details.
* @type {string}
* @memberof ProviderDto
*/
'npi': string;
/**
* The name of the provider\'s organization. Required if both `first_name` and `last_name` are not provided. Must contain up to 60 characters.
* @type {string}
* @memberof ProviderDto
*/
'organization_name'?: string;
}
export type ProviderDto = KeysToCamelCase<ProviderDtoOriginal>;
export type ProviderDtoSnake = KeysToSnakeCase<ProviderDtoOriginal>;