@tellescope/types-models 1.93.0 → 1.95.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 +45 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +45 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +49 -6
package/lib/cjs/index.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export type OrganizationSettings = {
|
|
|
151
151
|
showFreeNote?: boolean;
|
|
152
152
|
canDeleteFreeNote?: boolean;
|
|
153
153
|
recordCalls?: boolean;
|
|
154
|
+
recordCallAudioPlayback?: string;
|
|
154
155
|
transcribeCalls?: boolean;
|
|
155
156
|
transcribeCallInboundPlayback?: string;
|
|
156
157
|
showDeleteCallRecordingOnTimeline?: boolean;
|
|
@@ -220,7 +221,7 @@ export type AthenaFieldSync = {
|
|
|
220
221
|
dateFormat?: string;
|
|
221
222
|
};
|
|
222
223
|
export type AthenaSubscription = {
|
|
223
|
-
type: 'patients' | 'appointments' | 'orders' | 'chart/healthhistory/problems';
|
|
224
|
+
type: 'patients' | 'appointments' | 'orders' | 'chart/healthhistory/problems' | 'obepisode';
|
|
224
225
|
frequencyInMinutes: number;
|
|
225
226
|
lastSyncedAt: Date;
|
|
226
227
|
};
|
|
@@ -308,6 +309,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
308
309
|
billingOrganizationAddress?: Address;
|
|
309
310
|
videoCallBackgroundImage?: string;
|
|
310
311
|
sendToVoicemailOOO?: boolean;
|
|
312
|
+
onCallUserIds?: string[];
|
|
311
313
|
outOfOfficeVoicemail?: PhonePlayback;
|
|
312
314
|
enduserProfileWebhooks?: BasicWebhook[];
|
|
313
315
|
showCommunity?: boolean;
|
|
@@ -331,6 +333,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
331
333
|
id: string;
|
|
332
334
|
name: string;
|
|
333
335
|
}[];
|
|
336
|
+
enforceMFA?: boolean;
|
|
334
337
|
}
|
|
335
338
|
export type OrganizationTheme = {
|
|
336
339
|
name: string;
|
|
@@ -500,6 +503,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
500
503
|
iOSBadgeCount?: number;
|
|
501
504
|
doseSpotUserId?: string;
|
|
502
505
|
url?: string;
|
|
506
|
+
requiresMFAConfiguration?: boolean;
|
|
503
507
|
}
|
|
504
508
|
export type Preference = 'email' | 'sms' | 'call' | 'chat';
|
|
505
509
|
export type CustomField = string | number | object | {
|
|
@@ -534,7 +538,7 @@ export type ScheduledJourney = {
|
|
|
534
538
|
addAt: Date;
|
|
535
539
|
};
|
|
536
540
|
export type EnduserRelationship = {
|
|
537
|
-
type: 'Parent' | 'Child' | 'Spouse' | 'Partner' | 'Sibling' | '
|
|
541
|
+
type: ('Parent' | 'Child' | 'Spouse' | 'Partner' | 'Sibling' | 'Grandparent' | 'Grandchild' | 'Caregiver' | 'Caretaker' | 'Care Recipient' | 'Power of Attorney' | 'Power of Attorney For' | "Emergency Contact" | "Emergency Contact For" | 'Relates To');
|
|
538
542
|
id: string;
|
|
539
543
|
};
|
|
540
544
|
export type Language = {
|
|
@@ -1044,7 +1048,9 @@ export interface MessageTemplate extends MessageTemplate_readonly, MessageTempla
|
|
|
1044
1048
|
isMarketing?: boolean;
|
|
1045
1049
|
forChannels?: string[];
|
|
1046
1050
|
forRoles?: string[];
|
|
1051
|
+
forEntityTypes?: string[];
|
|
1047
1052
|
hideFromCompose?: boolean;
|
|
1053
|
+
tags?: string[];
|
|
1048
1054
|
}
|
|
1049
1055
|
export interface File_readonly extends ClientRecord {
|
|
1050
1056
|
secureName: string;
|
|
@@ -1444,6 +1450,10 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1444
1450
|
disableEnduserAutoSync?: boolean;
|
|
1445
1451
|
disableTicketAutoSync?: boolean;
|
|
1446
1452
|
redactExternalEvents?: boolean;
|
|
1453
|
+
fhirClientId?: string;
|
|
1454
|
+
fhirClientSecret?: string;
|
|
1455
|
+
fhirAccessToken?: string;
|
|
1456
|
+
fhirExpiryDate?: number;
|
|
1447
1457
|
}
|
|
1448
1458
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1449
1459
|
type: K;
|
|
@@ -1905,6 +1915,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
1905
1915
|
bufferEndMinutes?: number;
|
|
1906
1916
|
canvasCoding?: CanvasCoding;
|
|
1907
1917
|
tags?: string[];
|
|
1918
|
+
matchToHealthieTemplate?: boolean;
|
|
1908
1919
|
}
|
|
1909
1920
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
1910
1921
|
}
|
|
@@ -2241,6 +2252,9 @@ export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync
|
|
|
2241
2252
|
export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', {
|
|
2242
2253
|
journeyIds?: string[];
|
|
2243
2254
|
}>;
|
|
2255
|
+
export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', {
|
|
2256
|
+
type: string;
|
|
2257
|
+
}>;
|
|
2244
2258
|
export type IterableFieldsMapping = {
|
|
2245
2259
|
iterable: string;
|
|
2246
2260
|
tellescope: string;
|
|
@@ -2290,6 +2304,7 @@ export type AutomationActionForType = {
|
|
|
2290
2304
|
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2291
2305
|
'healthieSync': HealthieSyncAutomationAction;
|
|
2292
2306
|
'completeTickets': CompleteTicketsAutomationAction;
|
|
2307
|
+
'changeContactType': ChangeContactTypeAutomationAction;
|
|
2293
2308
|
};
|
|
2294
2309
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2295
2310
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -2971,6 +2986,11 @@ export type EnduserProfileViewBlocks = {
|
|
|
2971
2986
|
display: string;
|
|
2972
2987
|
}[];
|
|
2973
2988
|
}>;
|
|
2989
|
+
"Form Responses": EnduserProfileViewBlockBuilder<"Form Responses", {
|
|
2990
|
+
title: string;
|
|
2991
|
+
formId: string;
|
|
2992
|
+
fieldIds: string[];
|
|
2993
|
+
}>;
|
|
2974
2994
|
};
|
|
2975
2995
|
export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
|
|
2976
2996
|
export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
|
|
@@ -3013,6 +3033,7 @@ export type AutomationTriggerActions = {
|
|
|
3013
3033
|
"Move To Step": AutomationTriggerActionBuilder<'Move To Step', {}>;
|
|
3014
3034
|
"Assign Care Team": AutomationTriggerActionBuilder<'Assign Care Team', {
|
|
3015
3035
|
tags: ListOfStringsWithQualifier;
|
|
3036
|
+
limitToOneUser?: boolean;
|
|
3016
3037
|
}>;
|
|
3017
3038
|
"Canvas: Add Patient": AutomationTriggerActionBuilder<'Canvas: Add Patient', {}>;
|
|
3018
3039
|
};
|
|
@@ -3093,6 +3114,11 @@ export type AutomationTriggerEvents = {
|
|
|
3093
3114
|
'Problem Created': AutomationTriggerEventBuilder<"Problem Created", {
|
|
3094
3115
|
titles?: string[];
|
|
3095
3116
|
}, {}>;
|
|
3117
|
+
'Message Delivery Failure': AutomationTriggerEventBuilder<"Message Delivery Failure", {}, {}>;
|
|
3118
|
+
'Incoming Message (No Care Team)': AutomationTriggerEventBuilder<"Incoming Message (No Care Team)", {}, {}>;
|
|
3119
|
+
'Pregnancy Ended': AutomationTriggerEventBuilder<"Pregnancy Ended", {
|
|
3120
|
+
reason?: string;
|
|
3121
|
+
}, {}>;
|
|
3096
3122
|
};
|
|
3097
3123
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
3098
3124
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -3224,6 +3250,7 @@ export type PhoneTreeActions = {
|
|
|
3224
3250
|
}>;
|
|
3225
3251
|
'Play Message': PhoneTreeActionBuilder<"Play Message", {
|
|
3226
3252
|
playback: PhonePlayback;
|
|
3253
|
+
journeyId?: string;
|
|
3227
3254
|
}>;
|
|
3228
3255
|
'Dial Users': PhoneTreeActionBuilder<"Dial Users", {
|
|
3229
3256
|
userIds: string[];
|
|
@@ -3560,7 +3587,19 @@ export interface PrescriptionRoute extends PrescriptionRoute_readonly, Prescript
|
|
|
3560
3587
|
pharmacyLabel?: string;
|
|
3561
3588
|
tags?: string[];
|
|
3562
3589
|
}
|
|
3590
|
+
export interface FlowchartNote_readonly extends ClientRecord {
|
|
3591
|
+
}
|
|
3592
|
+
export interface FlowchartNote_required {
|
|
3593
|
+
}
|
|
3594
|
+
export interface FlowchartNote_updatesDisabled {
|
|
3595
|
+
}
|
|
3596
|
+
export interface FlowchartNote extends FlowchartNote_readonly, FlowchartNote_required, FlowchartNote_updatesDisabled {
|
|
3597
|
+
flowchartId: string;
|
|
3598
|
+
note: string;
|
|
3599
|
+
flowchartUI?: FlowchartUI;
|
|
3600
|
+
}
|
|
3563
3601
|
export type ModelForName_required = {
|
|
3602
|
+
flowchart_notes: FlowchartNote_required;
|
|
3564
3603
|
enduser_problems: EnduserProblem_required;
|
|
3565
3604
|
prescription_routes: PrescriptionRoute_required;
|
|
3566
3605
|
vital_configurations: VitalConfiguration_required;
|
|
@@ -3636,6 +3675,7 @@ export type ModelForName_required = {
|
|
|
3636
3675
|
};
|
|
3637
3676
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3638
3677
|
export interface ModelForName_readonly {
|
|
3678
|
+
flowchart_notes: FlowchartNote_readonly;
|
|
3639
3679
|
enduser_problems: EnduserProblem_readonly;
|
|
3640
3680
|
prescription_routes: PrescriptionRoute_readonly;
|
|
3641
3681
|
blocked_phones: BlockedPhone_readonly;
|
|
@@ -3711,6 +3751,7 @@ export interface ModelForName_readonly {
|
|
|
3711
3751
|
}
|
|
3712
3752
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3713
3753
|
export interface ModelForName_updatesDisabled {
|
|
3754
|
+
flowchart_notes: FlowchartNote_updatesDisabled;
|
|
3714
3755
|
enduser_problems: EnduserProblem_updatesDisabled;
|
|
3715
3756
|
prescription_routes: PrescriptionRoute_updatesDisabled;
|
|
3716
3757
|
blocked_phones: BlockedPhone_updatesDisabled;
|
|
@@ -3786,6 +3827,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
3786
3827
|
}
|
|
3787
3828
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3788
3829
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3830
|
+
flowchart_notes: FlowchartNote;
|
|
3789
3831
|
enduser_problems: EnduserProblem;
|
|
3790
3832
|
prescription_routes: PrescriptionRoute;
|
|
3791
3833
|
blocked_phones: BlockedPhone;
|
|
@@ -3895,6 +3937,7 @@ export type JourneyContext = {
|
|
|
3895
3937
|
orderId?: string;
|
|
3896
3938
|
observationId?: string;
|
|
3897
3939
|
phoneCallId?: string;
|
|
3940
|
+
smsId?: string;
|
|
3898
3941
|
};
|
|
3899
3942
|
export declare const TIMEZONE_MAP: {
|
|
3900
3943
|
readonly "Africa/Abidjan": "+00:00";
|