@tellescope/types-models 1.74.3 → 1.76.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 +117 -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 +117 -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 +105 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -148,10 +148,12 @@ 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;
|
|
154
155
|
flaggedFileText?: string;
|
|
156
|
+
showBulkFormInput?: boolean;
|
|
155
157
|
};
|
|
156
158
|
tickets?: {
|
|
157
159
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -238,6 +240,9 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
238
240
|
hasConnectedZendesk?: boolean;
|
|
239
241
|
hasConnectedZus?: boolean;
|
|
240
242
|
hasConnectedCanvas?: boolean;
|
|
243
|
+
hasConnectedCandid?: boolean;
|
|
244
|
+
hasConnectedGoGoMeds?: boolean;
|
|
245
|
+
hasConfiguredZoom?: boolean;
|
|
241
246
|
hasTicketQueues?: boolean;
|
|
242
247
|
vitalTeamId?: string;
|
|
243
248
|
altVitalTeamIds?: {
|
|
@@ -256,6 +261,10 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
256
261
|
_groupChatsEnabled?: boolean;
|
|
257
262
|
allowCreateSuborganizations?: boolean;
|
|
258
263
|
allowCallerId?: boolean;
|
|
264
|
+
billingOrganizationName?: string;
|
|
265
|
+
billingOrganizationNPI?: string;
|
|
266
|
+
billingOrganizationTaxId?: string;
|
|
267
|
+
billingOrganizationAddress?: Address;
|
|
259
268
|
}
|
|
260
269
|
export type OrganizationTheme = {
|
|
261
270
|
name: string;
|
|
@@ -331,6 +340,7 @@ export interface UserSession extends Session, OrganizationLimits {
|
|
|
331
340
|
dashboardView?: CustomDashboardView;
|
|
332
341
|
hasTicketQueues?: boolean;
|
|
333
342
|
eat?: boolean;
|
|
343
|
+
lockedOutUntil?: number;
|
|
334
344
|
}
|
|
335
345
|
export type StateCredentialInfo = {
|
|
336
346
|
state: string;
|
|
@@ -412,6 +422,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
412
422
|
voicemailPlayback?: PhonePlayback | {};
|
|
413
423
|
mfa?: MFASettings;
|
|
414
424
|
skills?: string[];
|
|
425
|
+
lockedOutUntil?: number;
|
|
415
426
|
}
|
|
416
427
|
export type Preference = 'email' | 'sms' | 'call' | 'chat';
|
|
417
428
|
export type CustomField = string | number | object | {
|
|
@@ -460,9 +471,11 @@ export type EnduserInsurance = {
|
|
|
460
471
|
payerName?: string;
|
|
461
472
|
cardFront?: string;
|
|
462
473
|
cardBack?: string;
|
|
463
|
-
|
|
474
|
+
eligibility?: string;
|
|
475
|
+
status?: string;
|
|
464
476
|
eligibilityRanAt?: Date;
|
|
465
|
-
|
|
477
|
+
coverageId?: string;
|
|
478
|
+
requestId?: string;
|
|
466
479
|
relationship?: InsuranceRelationship;
|
|
467
480
|
relationshipDetails?: {
|
|
468
481
|
fname?: string;
|
|
@@ -675,6 +688,7 @@ export type ReportQueries = Record<string, ReportQuery>;
|
|
|
675
688
|
export type Report = Record<string, {
|
|
676
689
|
count: number;
|
|
677
690
|
_id: null | string | string[];
|
|
691
|
+
ids?: string[];
|
|
678
692
|
}[]>;
|
|
679
693
|
export type FormResponsesReportQuery = ReportQuery & {
|
|
680
694
|
submittedAtRange?: DateRange;
|
|
@@ -1622,6 +1636,9 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1622
1636
|
internalNotes?: string;
|
|
1623
1637
|
hiddenFromPortal?: boolean;
|
|
1624
1638
|
nextReminderInMS?: number | null;
|
|
1639
|
+
enduserAttendeeLimit?: number;
|
|
1640
|
+
bufferStartMinutes?: number;
|
|
1641
|
+
bufferEndMinutes?: number;
|
|
1625
1642
|
}
|
|
1626
1643
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1627
1644
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -1722,7 +1739,10 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
1722
1739
|
carePlanForms?: string[];
|
|
1723
1740
|
carePlanContent?: string[];
|
|
1724
1741
|
carePlanFiles?: string[];
|
|
1742
|
+
enduserAttendeeLimit?: number;
|
|
1725
1743
|
apiOnly?: boolean;
|
|
1744
|
+
bufferStartMinutes?: number;
|
|
1745
|
+
bufferEndMinutes?: number;
|
|
1726
1746
|
}
|
|
1727
1747
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
1728
1748
|
}
|
|
@@ -1759,6 +1779,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
1759
1779
|
secondaryColor?: string;
|
|
1760
1780
|
backgroundColor?: string;
|
|
1761
1781
|
terms?: AppointmentTerm[];
|
|
1782
|
+
topLogo?: string;
|
|
1762
1783
|
intakeTitle?: string;
|
|
1763
1784
|
intakeDescription?: string;
|
|
1764
1785
|
thankYouRedirectURL?: string;
|
|
@@ -2638,6 +2659,8 @@ export interface AnalyticsFrame_updatesDisabled {
|
|
|
2638
2659
|
export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_required, AnalyticsFrame_updatesDisabled, AnalyticsQueryOptions {
|
|
2639
2660
|
parentFrame?: string;
|
|
2640
2661
|
type?: AnalyticsFrameType;
|
|
2662
|
+
groupMin?: number | '';
|
|
2663
|
+
groupMax?: number | '';
|
|
2641
2664
|
}
|
|
2642
2665
|
export interface BackgroundError_readonly extends ClientRecord {
|
|
2643
2666
|
}
|
|
@@ -3091,6 +3114,43 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
3091
3114
|
status: string;
|
|
3092
3115
|
enduserId: string;
|
|
3093
3116
|
userId?: string;
|
|
3117
|
+
error?: string;
|
|
3118
|
+
}
|
|
3119
|
+
export declare const DIAGNOSIS_TYPE_MAPPING: {
|
|
3120
|
+
ABF: string;
|
|
3121
|
+
ABJ: string;
|
|
3122
|
+
ABK: string;
|
|
3123
|
+
APR: string;
|
|
3124
|
+
BF: string;
|
|
3125
|
+
BJ: string;
|
|
3126
|
+
BK: string;
|
|
3127
|
+
PR: string;
|
|
3128
|
+
DR: string;
|
|
3129
|
+
LOI: string;
|
|
3130
|
+
};
|
|
3131
|
+
export type DiagnosisTypes = typeof DIAGNOSIS_TYPE_MAPPING;
|
|
3132
|
+
export type DiagnosisType = keyof DiagnosisTypes;
|
|
3133
|
+
export type Diagnosis = {
|
|
3134
|
+
type: keyof DiagnosisTypes;
|
|
3135
|
+
code: string;
|
|
3136
|
+
};
|
|
3137
|
+
export interface EnduserEncounter_readonly extends ClientRecord {
|
|
3138
|
+
externalId?: string;
|
|
3139
|
+
integration?: 'Candid';
|
|
3140
|
+
}
|
|
3141
|
+
export interface EnduserEncounter_updatesDisabled {
|
|
3142
|
+
}
|
|
3143
|
+
export interface EnduserEncounter_required {
|
|
3144
|
+
}
|
|
3145
|
+
export interface EnduserEncounter extends EnduserEncounter_readonly, EnduserEncounter_required, EnduserEncounter_updatesDisabled {
|
|
3146
|
+
title: string;
|
|
3147
|
+
enduserId: string;
|
|
3148
|
+
providerUserId: string;
|
|
3149
|
+
dateOfService: string;
|
|
3150
|
+
diagnoses: Diagnosis[];
|
|
3151
|
+
authorizedRelease: boolean;
|
|
3152
|
+
placeOfServiceCode: string;
|
|
3153
|
+
error?: string;
|
|
3094
3154
|
}
|
|
3095
3155
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
3096
3156
|
count?: number;
|
|
@@ -3124,6 +3184,7 @@ export interface GroupMMSConversation_readonly extends ClientRecord {
|
|
|
3124
3184
|
title: string;
|
|
3125
3185
|
userIds: string[];
|
|
3126
3186
|
enduserIds: string[];
|
|
3187
|
+
destinations: string[];
|
|
3127
3188
|
userStates: GroupMMSUserState[];
|
|
3128
3189
|
pinnedAt?: Date | '';
|
|
3129
3190
|
tags?: string[];
|
|
@@ -3139,6 +3200,7 @@ export interface GroupMMSConversation_required {
|
|
|
3139
3200
|
export interface GroupMMSConversation extends GroupMMSConversation_readonly, GroupMMSConversation_required, GroupMMSConversation_updatesDisabled {
|
|
3140
3201
|
}
|
|
3141
3202
|
export type ModelForName_required = {
|
|
3203
|
+
enduser_encounters: EnduserEncounter_required;
|
|
3142
3204
|
enduser_orders: EnduserOrder_required;
|
|
3143
3205
|
group_mms_conversations: GroupMMSConversation_required;
|
|
3144
3206
|
ticket_queues: TicketQueue_required;
|
|
@@ -3210,6 +3272,7 @@ export type ModelForName_required = {
|
|
|
3210
3272
|
};
|
|
3211
3273
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3212
3274
|
export interface ModelForName_readonly {
|
|
3275
|
+
enduser_encounters: EnduserEncounter_readonly;
|
|
3213
3276
|
enduser_orders: EnduserOrder_readonly;
|
|
3214
3277
|
group_mms_conversations: GroupMMSConversation_readonly;
|
|
3215
3278
|
ticket_queues: TicketQueue_readonly;
|
|
@@ -3281,6 +3344,7 @@ export interface ModelForName_readonly {
|
|
|
3281
3344
|
}
|
|
3282
3345
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3283
3346
|
export interface ModelForName_updatesDisabled {
|
|
3347
|
+
enduser_encounters: EnduserEncounter_updatesDisabled;
|
|
3284
3348
|
enduser_orders: EnduserOrder_updatesDisabled;
|
|
3285
3349
|
group_mms_conversations: GroupMMSConversation_updatesDisabled;
|
|
3286
3350
|
ticket_queues: TicketQueue_updatesDisabled;
|
|
@@ -3352,6 +3416,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
3352
3416
|
}
|
|
3353
3417
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3354
3418
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3419
|
+
enduser_encounters: EnduserEncounter;
|
|
3355
3420
|
enduser_orders: EnduserOrder;
|
|
3356
3421
|
group_mms_conversations: GroupMMSConversation;
|
|
3357
3422
|
ticket_queues: TicketQueue;
|
|
@@ -4010,4 +4075,54 @@ export type ChatGPTMessage = ExternalChatGPTMessage | {
|
|
|
4010
4075
|
content: string;
|
|
4011
4076
|
};
|
|
4012
4077
|
export type ChatGPTModel = 'gpt-3.5-turbo' | 'gpt4';
|
|
4078
|
+
export type CanvasBenefit = {
|
|
4079
|
+
type: {
|
|
4080
|
+
text: string;
|
|
4081
|
+
};
|
|
4082
|
+
allowedMoney?: {
|
|
4083
|
+
value: number;
|
|
4084
|
+
};
|
|
4085
|
+
allowedString?: {
|
|
4086
|
+
value: `${string}%`;
|
|
4087
|
+
};
|
|
4088
|
+
usedMoney?: {
|
|
4089
|
+
value: number;
|
|
4090
|
+
};
|
|
4091
|
+
};
|
|
4092
|
+
export type CanvasEligibility = {
|
|
4093
|
+
coverage: {
|
|
4094
|
+
reference: string;
|
|
4095
|
+
type: "Coverage";
|
|
4096
|
+
};
|
|
4097
|
+
item?: {
|
|
4098
|
+
name?: string;
|
|
4099
|
+
network?: {
|
|
4100
|
+
coding: {
|
|
4101
|
+
system: string;
|
|
4102
|
+
code: string;
|
|
4103
|
+
display: string;
|
|
4104
|
+
}[];
|
|
4105
|
+
text: string;
|
|
4106
|
+
};
|
|
4107
|
+
unit?: {
|
|
4108
|
+
coding: {
|
|
4109
|
+
system: string;
|
|
4110
|
+
code: string;
|
|
4111
|
+
display: string;
|
|
4112
|
+
}[];
|
|
4113
|
+
text: string;
|
|
4114
|
+
};
|
|
4115
|
+
benefit: CanvasBenefit[];
|
|
4116
|
+
}[];
|
|
4117
|
+
};
|
|
4118
|
+
export type GoGoMedsPet = {
|
|
4119
|
+
PetName: string;
|
|
4120
|
+
PetTypeId: number;
|
|
4121
|
+
OtherPetType?: string;
|
|
4122
|
+
PetWeight: string;
|
|
4123
|
+
Gender: "M" | "F" | "U" | "P";
|
|
4124
|
+
AllergyText?: string;
|
|
4125
|
+
MedicalConditionText?: string;
|
|
4126
|
+
CurrentMedications?: string;
|
|
4127
|
+
};
|
|
4013
4128
|
//# sourceMappingURL=index.d.ts.map
|