@tellescope/types-models 1.119.0 → 1.121.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 +57 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +57 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +49 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -113,6 +113,7 @@ export type CustomEnduserFields = {
|
|
|
113
113
|
options: string[];
|
|
114
114
|
}>;
|
|
115
115
|
"Text": BuildCustomEnduserField<'Text', {}>;
|
|
116
|
+
"Number": BuildCustomEnduserField<'Number', {}>;
|
|
116
117
|
"Multiple Text": BuildCustomEnduserField<'Multiple Text', {}>;
|
|
117
118
|
"Date": BuildCustomEnduserField<'Date', {}>;
|
|
118
119
|
"File": BuildCustomEnduserField<'File', {}>;
|
|
@@ -166,6 +167,7 @@ export type OrganizationSettings = {
|
|
|
166
167
|
autofillSignature?: boolean;
|
|
167
168
|
showFullVitalsTab?: boolean;
|
|
168
169
|
canMoveCalls?: boolean;
|
|
170
|
+
canMoveSMS?: boolean;
|
|
169
171
|
inboxRepliesMarkRead?: boolean;
|
|
170
172
|
};
|
|
171
173
|
tickets?: {
|
|
@@ -288,6 +290,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
288
290
|
hasConnectedPagerDuty?: boolean;
|
|
289
291
|
hasConnectedSmartMeter?: boolean;
|
|
290
292
|
hasConnectedAthena?: boolean;
|
|
293
|
+
hasConnectedActiveCampaign?: boolean;
|
|
291
294
|
hasConnectedDocsumo?: boolean;
|
|
292
295
|
hasConfiguredZoom?: boolean;
|
|
293
296
|
hasTicketQueues?: boolean;
|
|
@@ -616,6 +619,7 @@ export interface Enduser_updatesDisabled {
|
|
|
616
619
|
references?: RelatedRecord[];
|
|
617
620
|
}
|
|
618
621
|
export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_updatesDisabled {
|
|
622
|
+
healthie_dietitian_id?: string;
|
|
619
623
|
unsubscribePhone?: boolean;
|
|
620
624
|
externalId?: string;
|
|
621
625
|
humanReadableId?: string;
|
|
@@ -687,6 +691,8 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
687
691
|
athenaPracticeId?: string;
|
|
688
692
|
athenaDepartmentId?: string;
|
|
689
693
|
vitalTriggersDisabled?: boolean;
|
|
694
|
+
defaultFromPhone?: string;
|
|
695
|
+
defaultFromEmail?: string;
|
|
690
696
|
}
|
|
691
697
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
692
698
|
}
|
|
@@ -1031,6 +1037,10 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
|
|
|
1031
1037
|
suggestedReply?: string;
|
|
1032
1038
|
assignedTo?: string[];
|
|
1033
1039
|
discussionRoomId?: string;
|
|
1040
|
+
identifier?: string;
|
|
1041
|
+
source?: string;
|
|
1042
|
+
externalId?: string;
|
|
1043
|
+
references?: RelatedRecord[];
|
|
1034
1044
|
}
|
|
1035
1045
|
export type ChatAttachmentType = 'image' | 'video' | 'file' | string;
|
|
1036
1046
|
export type ChatAttachment = {
|
|
@@ -1076,6 +1086,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1076
1086
|
canvasId?: string;
|
|
1077
1087
|
isAutoreply?: boolean;
|
|
1078
1088
|
quote?: string[];
|
|
1089
|
+
references?: RelatedRecord[];
|
|
1079
1090
|
}
|
|
1080
1091
|
export type MessageTemplateType = 'enduser' | 'Reply' | 'team';
|
|
1081
1092
|
export type MessageTemplateMode = 'html' | 'richtext';
|
|
@@ -1145,6 +1156,10 @@ export type TicketActions = {
|
|
|
1145
1156
|
templateId: string;
|
|
1146
1157
|
smsId?: string;
|
|
1147
1158
|
}>;
|
|
1159
|
+
"Send Email": TicketActionBuilder<'Send Email', {
|
|
1160
|
+
templateId: string;
|
|
1161
|
+
emailId?: string;
|
|
1162
|
+
}>;
|
|
1148
1163
|
};
|
|
1149
1164
|
export type TicketActionType = keyof TicketActions;
|
|
1150
1165
|
export type TicketAction = TicketActions[TicketActionType];
|
|
@@ -1371,7 +1386,9 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1371
1386
|
holdAppointmentMinutes?: number;
|
|
1372
1387
|
rangeStepSize?: number;
|
|
1373
1388
|
redirectFormId?: string;
|
|
1389
|
+
redirectExternalUrl?: string;
|
|
1374
1390
|
groupPadding?: number;
|
|
1391
|
+
saveIntakeOnPartial?: boolean;
|
|
1375
1392
|
};
|
|
1376
1393
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1377
1394
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1504,6 +1521,11 @@ export type IntegrationAuthentication = ({
|
|
|
1504
1521
|
type: 'apiKey';
|
|
1505
1522
|
info: OAuth2AuthenticationFields;
|
|
1506
1523
|
});
|
|
1524
|
+
export type FieldMapping = {
|
|
1525
|
+
field: string;
|
|
1526
|
+
externalField: string;
|
|
1527
|
+
type: string;
|
|
1528
|
+
};
|
|
1507
1529
|
export interface Integration_readonly extends ClientRecord {
|
|
1508
1530
|
lastSync?: number;
|
|
1509
1531
|
lastSyncId?: string;
|
|
@@ -1535,6 +1557,8 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1535
1557
|
fhirAccessToken?: string;
|
|
1536
1558
|
fhirExpiryDate?: number;
|
|
1537
1559
|
defaultAttendeeId?: string;
|
|
1560
|
+
sendEmailOnSync?: boolean;
|
|
1561
|
+
enduserFieldMapping?: FieldMapping[];
|
|
1538
1562
|
}
|
|
1539
1563
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1540
1564
|
type: K;
|
|
@@ -1856,6 +1880,7 @@ export interface CalendarEvent_required {
|
|
|
1856
1880
|
export interface CalendarEvent_updatesDisabled {
|
|
1857
1881
|
}
|
|
1858
1882
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
1883
|
+
reason?: string;
|
|
1859
1884
|
attendees: UserIdentity[];
|
|
1860
1885
|
color?: string;
|
|
1861
1886
|
enableVideoCall?: boolean;
|
|
@@ -1905,6 +1930,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1905
1930
|
bufferStartMinutes?: number;
|
|
1906
1931
|
bufferEndMinutes?: number;
|
|
1907
1932
|
canvasCoding?: CanvasCoding;
|
|
1933
|
+
canvasReasonCoding?: CanvasCoding;
|
|
1908
1934
|
canvasLocationId?: string;
|
|
1909
1935
|
completedAt?: Date | '';
|
|
1910
1936
|
holdUntil?: Date;
|
|
@@ -2023,6 +2049,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2023
2049
|
bufferStartMinutes?: number;
|
|
2024
2050
|
bufferEndMinutes?: number;
|
|
2025
2051
|
canvasCoding?: CanvasCoding;
|
|
2052
|
+
canvasReasonCoding?: CanvasCoding;
|
|
2026
2053
|
tags?: string[];
|
|
2027
2054
|
matchToHealthieTemplate?: boolean;
|
|
2028
2055
|
useUserURL?: boolean;
|
|
@@ -2087,6 +2114,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2087
2114
|
limitedByState?: boolean;
|
|
2088
2115
|
limitedByTagsPortal?: string[];
|
|
2089
2116
|
requireLocationSelection?: boolean;
|
|
2117
|
+
collectReason?: "Do Not Collect" | 'Optional' | 'Required';
|
|
2090
2118
|
}
|
|
2091
2119
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
2092
2120
|
creatorType: SessionType;
|
|
@@ -2362,6 +2390,7 @@ export type CreateCarePlanAutomationAction = AutomationActionBuilder<'createCare
|
|
|
2362
2390
|
}>;
|
|
2363
2391
|
export type CompleteCarePlanAutomationAction = AutomationActionBuilder<'completeCarePlan', {}>;
|
|
2364
2392
|
export type ZusSyncAutomationAction = AutomationActionBuilder<'zusSync', {}>;
|
|
2393
|
+
export type ZusPullAutomationAction = AutomationActionBuilder<'zusPull', {}>;
|
|
2365
2394
|
export type PagerDutyCreateIncidentAutomationAction = AutomationActionBuilder<'pagerDutyCreateIncident', {
|
|
2366
2395
|
type: string;
|
|
2367
2396
|
title: string;
|
|
@@ -2379,12 +2408,18 @@ export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync
|
|
|
2379
2408
|
export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', {
|
|
2380
2409
|
courseId: string;
|
|
2381
2410
|
}>;
|
|
2411
|
+
export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthieSendChat', {
|
|
2412
|
+
templateId: string;
|
|
2413
|
+
identifier: string;
|
|
2414
|
+
includeCareTeam?: boolean;
|
|
2415
|
+
}>;
|
|
2382
2416
|
export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', {
|
|
2383
2417
|
journeyIds?: string[];
|
|
2384
2418
|
}>;
|
|
2385
2419
|
export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', {
|
|
2386
2420
|
type: string;
|
|
2387
2421
|
}>;
|
|
2422
|
+
export type ActiveCampaignSyncAutomationAction = AutomationActionBuilder<'activeCampaignSync', {}>;
|
|
2388
2423
|
export type IterableFieldsMapping = {
|
|
2389
2424
|
iterable: string;
|
|
2390
2425
|
tellescope: string;
|
|
@@ -2430,12 +2465,15 @@ export type AutomationActionForType = {
|
|
|
2430
2465
|
'createCarePlan': CreateCarePlanAutomationAction;
|
|
2431
2466
|
'completeCarePlan': CompleteCarePlanAutomationAction;
|
|
2432
2467
|
'zusSync': ZusSyncAutomationAction;
|
|
2468
|
+
'zusPull': ZusPullAutomationAction;
|
|
2433
2469
|
'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
|
|
2434
2470
|
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2435
2471
|
'healthieSync': HealthieSyncAutomationAction;
|
|
2436
2472
|
healthieAddToCourse: HealthieAddToCourseAutomationAction;
|
|
2473
|
+
healthieSendChat: HealthieSendChatAutomationAction;
|
|
2437
2474
|
'completeTickets': CompleteTicketsAutomationAction;
|
|
2438
2475
|
'changeContactType': ChangeContactTypeAutomationAction;
|
|
2476
|
+
activeCampaignSync: ActiveCampaignSyncAutomationAction;
|
|
2439
2477
|
};
|
|
2440
2478
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2441
2479
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3061,6 +3099,10 @@ export type AnalyticsQueryOptions = {
|
|
|
3061
3099
|
updatedRange?: DateRange;
|
|
3062
3100
|
groupByCareTeam?: boolean;
|
|
3063
3101
|
};
|
|
3102
|
+
export type AnalyticsFrameGroupingCategory = {
|
|
3103
|
+
category: string;
|
|
3104
|
+
keys: string[];
|
|
3105
|
+
};
|
|
3064
3106
|
export type AnalyticsFrameType = 'Percentage';
|
|
3065
3107
|
export interface AnalyticsFrame_readonly extends ClientRecord {
|
|
3066
3108
|
}
|
|
@@ -3076,6 +3118,8 @@ export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_
|
|
|
3076
3118
|
type?: AnalyticsFrameType;
|
|
3077
3119
|
groupMin?: number | '';
|
|
3078
3120
|
groupMax?: number | '';
|
|
3121
|
+
displayType?: string;
|
|
3122
|
+
analyticsFrameGroupingCategory?: AnalyticsFrameGroupingCategory[];
|
|
3079
3123
|
}
|
|
3080
3124
|
export interface BackgroundError_readonly extends ClientRecord {
|
|
3081
3125
|
}
|
|
@@ -3138,6 +3182,9 @@ export type EnduserProfileViewBlocks = {
|
|
|
3138
3182
|
formId: string;
|
|
3139
3183
|
fieldIds: string[];
|
|
3140
3184
|
}>;
|
|
3185
|
+
"Zus Encounters": EnduserProfileViewBlockBuilder<"Zus Encounters", {
|
|
3186
|
+
title: string;
|
|
3187
|
+
}>;
|
|
3141
3188
|
};
|
|
3142
3189
|
export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
|
|
3143
3190
|
export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
|
|
@@ -3206,7 +3253,10 @@ export type AutomationTriggerEvents = {
|
|
|
3206
3253
|
intervalInMS: number;
|
|
3207
3254
|
}, {}>;
|
|
3208
3255
|
'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", {}, {}>;
|
|
3209
|
-
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
3256
|
+
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
3257
|
+
titles?: string[];
|
|
3258
|
+
templateIds?: string[];
|
|
3259
|
+
}, {}>;
|
|
3210
3260
|
'Field Equals': AutomationTriggerEventBuilder<"Field Equals", {
|
|
3211
3261
|
field: string;
|
|
3212
3262
|
value: string;
|
|
@@ -3643,6 +3693,7 @@ export type Diagnosis = {
|
|
|
3643
3693
|
};
|
|
3644
3694
|
export interface EnduserEncounter_readonly extends ClientRecord {
|
|
3645
3695
|
externalId?: string;
|
|
3696
|
+
source?: string;
|
|
3646
3697
|
integration?: 'Candid';
|
|
3647
3698
|
}
|
|
3648
3699
|
export interface EnduserEncounter_updatesDisabled {
|
|
@@ -3661,6 +3712,11 @@ export interface EnduserEncounter extends EnduserEncounter_readonly, EnduserEnco
|
|
|
3661
3712
|
serviceFacilityAddress?: Address;
|
|
3662
3713
|
modifiers?: string[];
|
|
3663
3714
|
error?: string;
|
|
3715
|
+
class?: string;
|
|
3716
|
+
status?: string;
|
|
3717
|
+
location?: string;
|
|
3718
|
+
providerNames?: string[];
|
|
3719
|
+
diagnosisDisplays?: string[];
|
|
3664
3720
|
}
|
|
3665
3721
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
3666
3722
|
count?: number;
|