@tellescope/types-models 1.74.3 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.d.ts +104 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +14 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +104 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +13 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +91 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -148,6 +148,7 @@ export type OrganizationSettings = {
|
|
|
148
148
|
recordCalls?: boolean;
|
|
149
149
|
transcribeCalls?: boolean;
|
|
150
150
|
transcribeCallInboundPlayback?: string;
|
|
151
|
+
defaultPhoneNumber?: string;
|
|
151
152
|
sendSMSOnZoomStart?: boolean;
|
|
152
153
|
enableGroupMMS?: boolean;
|
|
153
154
|
enableAccessTags?: boolean;
|
|
@@ -238,6 +239,9 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
238
239
|
hasConnectedZendesk?: boolean;
|
|
239
240
|
hasConnectedZus?: boolean;
|
|
240
241
|
hasConnectedCanvas?: boolean;
|
|
242
|
+
hasConnectedCandid?: boolean;
|
|
243
|
+
hasConnectedGoGoMeds?: boolean;
|
|
244
|
+
hasConfiguredZoom?: boolean;
|
|
241
245
|
hasTicketQueues?: boolean;
|
|
242
246
|
vitalTeamId?: string;
|
|
243
247
|
altVitalTeamIds?: {
|
|
@@ -256,6 +260,10 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
256
260
|
_groupChatsEnabled?: boolean;
|
|
257
261
|
allowCreateSuborganizations?: boolean;
|
|
258
262
|
allowCallerId?: boolean;
|
|
263
|
+
billingOrganizationName?: string;
|
|
264
|
+
billingOrganizationNPI?: string;
|
|
265
|
+
billingOrganizationTaxId?: string;
|
|
266
|
+
billingOrganizationAddress?: Address;
|
|
259
267
|
}
|
|
260
268
|
export type OrganizationTheme = {
|
|
261
269
|
name: string;
|
|
@@ -460,9 +468,11 @@ export type EnduserInsurance = {
|
|
|
460
468
|
payerName?: string;
|
|
461
469
|
cardFront?: string;
|
|
462
470
|
cardBack?: string;
|
|
463
|
-
|
|
471
|
+
eligibility?: string;
|
|
472
|
+
status?: string;
|
|
464
473
|
eligibilityRanAt?: Date;
|
|
465
|
-
|
|
474
|
+
coverageId?: string;
|
|
475
|
+
requestId?: string;
|
|
466
476
|
relationship?: InsuranceRelationship;
|
|
467
477
|
relationshipDetails?: {
|
|
468
478
|
fname?: string;
|
|
@@ -675,6 +685,7 @@ export type ReportQueries = Record<string, ReportQuery>;
|
|
|
675
685
|
export type Report = Record<string, {
|
|
676
686
|
count: number;
|
|
677
687
|
_id: null | string | string[];
|
|
688
|
+
ids?: string[];
|
|
678
689
|
}[]>;
|
|
679
690
|
export type FormResponsesReportQuery = ReportQuery & {
|
|
680
691
|
submittedAtRange?: DateRange;
|
|
@@ -3091,6 +3102,43 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
3091
3102
|
status: string;
|
|
3092
3103
|
enduserId: string;
|
|
3093
3104
|
userId?: string;
|
|
3105
|
+
error?: string;
|
|
3106
|
+
}
|
|
3107
|
+
export declare const DIAGNOSIS_TYPE_MAPPING: {
|
|
3108
|
+
ABF: string;
|
|
3109
|
+
ABJ: string;
|
|
3110
|
+
ABK: string;
|
|
3111
|
+
APR: string;
|
|
3112
|
+
BF: string;
|
|
3113
|
+
BJ: string;
|
|
3114
|
+
BK: string;
|
|
3115
|
+
PR: string;
|
|
3116
|
+
DR: string;
|
|
3117
|
+
LOI: string;
|
|
3118
|
+
};
|
|
3119
|
+
export type DiagnosisTypes = typeof DIAGNOSIS_TYPE_MAPPING;
|
|
3120
|
+
export type DiagnosisType = keyof DiagnosisTypes;
|
|
3121
|
+
export type Diagnosis = {
|
|
3122
|
+
type: keyof DiagnosisTypes;
|
|
3123
|
+
code: string;
|
|
3124
|
+
};
|
|
3125
|
+
export interface EnduserEncounter_readonly extends ClientRecord {
|
|
3126
|
+
externalId?: string;
|
|
3127
|
+
integration?: 'Candid';
|
|
3128
|
+
}
|
|
3129
|
+
export interface EnduserEncounter_updatesDisabled {
|
|
3130
|
+
}
|
|
3131
|
+
export interface EnduserEncounter_required {
|
|
3132
|
+
}
|
|
3133
|
+
export interface EnduserEncounter extends EnduserEncounter_readonly, EnduserEncounter_required, EnduserEncounter_updatesDisabled {
|
|
3134
|
+
title: string;
|
|
3135
|
+
enduserId: string;
|
|
3136
|
+
providerUserId: string;
|
|
3137
|
+
dateOfService: string;
|
|
3138
|
+
diagnoses: Diagnosis[];
|
|
3139
|
+
authorizedRelease: boolean;
|
|
3140
|
+
placeOfServiceCode: string;
|
|
3141
|
+
error?: string;
|
|
3094
3142
|
}
|
|
3095
3143
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
3096
3144
|
count?: number;
|
|
@@ -3139,6 +3187,7 @@ export interface GroupMMSConversation_required {
|
|
|
3139
3187
|
export interface GroupMMSConversation extends GroupMMSConversation_readonly, GroupMMSConversation_required, GroupMMSConversation_updatesDisabled {
|
|
3140
3188
|
}
|
|
3141
3189
|
export type ModelForName_required = {
|
|
3190
|
+
enduser_encounters: EnduserEncounter_required;
|
|
3142
3191
|
enduser_orders: EnduserOrder_required;
|
|
3143
3192
|
group_mms_conversations: GroupMMSConversation_required;
|
|
3144
3193
|
ticket_queues: TicketQueue_required;
|
|
@@ -3210,6 +3259,7 @@ export type ModelForName_required = {
|
|
|
3210
3259
|
};
|
|
3211
3260
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3212
3261
|
export interface ModelForName_readonly {
|
|
3262
|
+
enduser_encounters: EnduserEncounter_readonly;
|
|
3213
3263
|
enduser_orders: EnduserOrder_readonly;
|
|
3214
3264
|
group_mms_conversations: GroupMMSConversation_readonly;
|
|
3215
3265
|
ticket_queues: TicketQueue_readonly;
|
|
@@ -3281,6 +3331,7 @@ export interface ModelForName_readonly {
|
|
|
3281
3331
|
}
|
|
3282
3332
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3283
3333
|
export interface ModelForName_updatesDisabled {
|
|
3334
|
+
enduser_encounters: EnduserEncounter_updatesDisabled;
|
|
3284
3335
|
enduser_orders: EnduserOrder_updatesDisabled;
|
|
3285
3336
|
group_mms_conversations: GroupMMSConversation_updatesDisabled;
|
|
3286
3337
|
ticket_queues: TicketQueue_updatesDisabled;
|
|
@@ -3352,6 +3403,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
3352
3403
|
}
|
|
3353
3404
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3354
3405
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3406
|
+
enduser_encounters: EnduserEncounter;
|
|
3355
3407
|
enduser_orders: EnduserOrder;
|
|
3356
3408
|
group_mms_conversations: GroupMMSConversation;
|
|
3357
3409
|
ticket_queues: TicketQueue;
|
|
@@ -4010,4 +4062,54 @@ export type ChatGPTMessage = ExternalChatGPTMessage | {
|
|
|
4010
4062
|
content: string;
|
|
4011
4063
|
};
|
|
4012
4064
|
export type ChatGPTModel = 'gpt-3.5-turbo' | 'gpt4';
|
|
4065
|
+
export type CanvasBenefit = {
|
|
4066
|
+
type: {
|
|
4067
|
+
text: string;
|
|
4068
|
+
};
|
|
4069
|
+
allowedMoney?: {
|
|
4070
|
+
value: number;
|
|
4071
|
+
};
|
|
4072
|
+
allowedString?: {
|
|
4073
|
+
value: `${string}%`;
|
|
4074
|
+
};
|
|
4075
|
+
usedMoney?: {
|
|
4076
|
+
value: number;
|
|
4077
|
+
};
|
|
4078
|
+
};
|
|
4079
|
+
export type CanvasEligibility = {
|
|
4080
|
+
coverage: {
|
|
4081
|
+
reference: string;
|
|
4082
|
+
type: "Coverage";
|
|
4083
|
+
};
|
|
4084
|
+
item?: {
|
|
4085
|
+
name?: string;
|
|
4086
|
+
network?: {
|
|
4087
|
+
coding: {
|
|
4088
|
+
system: string;
|
|
4089
|
+
code: string;
|
|
4090
|
+
display: string;
|
|
4091
|
+
}[];
|
|
4092
|
+
text: string;
|
|
4093
|
+
};
|
|
4094
|
+
unit?: {
|
|
4095
|
+
coding: {
|
|
4096
|
+
system: string;
|
|
4097
|
+
code: string;
|
|
4098
|
+
display: string;
|
|
4099
|
+
}[];
|
|
4100
|
+
text: string;
|
|
4101
|
+
};
|
|
4102
|
+
benefit: CanvasBenefit[];
|
|
4103
|
+
}[];
|
|
4104
|
+
};
|
|
4105
|
+
export type GoGoMedsPet = {
|
|
4106
|
+
PetName: string;
|
|
4107
|
+
PetTypeId: number;
|
|
4108
|
+
OtherPetType?: string;
|
|
4109
|
+
PetWeight: string;
|
|
4110
|
+
Gender: "M" | "F" | "U" | "P";
|
|
4111
|
+
AllergyText?: string;
|
|
4112
|
+
MedicalConditionText?: string;
|
|
4113
|
+
CurrentMedications?: string;
|
|
4114
|
+
};
|
|
4013
4115
|
//# sourceMappingURL=index.d.ts.map
|