@tellescope/types-models 1.93.0 → 1.94.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.
@@ -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;
@@ -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' | 'Relates To' | 'Grandparent' | 'Grandchild' | 'Caregiver' | 'Caretaker' | 'Care Recipient';
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;
@@ -1905,6 +1911,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
1905
1911
  bufferEndMinutes?: number;
1906
1912
  canvasCoding?: CanvasCoding;
1907
1913
  tags?: string[];
1914
+ matchToHealthieTemplate?: boolean;
1908
1915
  }
1909
1916
  export interface AppointmentLocation_readonly extends ClientRecord {
1910
1917
  }
@@ -2241,6 +2248,9 @@ export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync
2241
2248
  export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', {
2242
2249
  journeyIds?: string[];
2243
2250
  }>;
2251
+ export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', {
2252
+ type: string;
2253
+ }>;
2244
2254
  export type IterableFieldsMapping = {
2245
2255
  iterable: string;
2246
2256
  tellescope: string;
@@ -2290,6 +2300,7 @@ export type AutomationActionForType = {
2290
2300
  'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
2291
2301
  'healthieSync': HealthieSyncAutomationAction;
2292
2302
  'completeTickets': CompleteTicketsAutomationAction;
2303
+ 'changeContactType': ChangeContactTypeAutomationAction;
2293
2304
  };
2294
2305
  export type AutomationActionType = keyof AutomationActionForType;
2295
2306
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -2971,6 +2982,11 @@ export type EnduserProfileViewBlocks = {
2971
2982
  display: string;
2972
2983
  }[];
2973
2984
  }>;
2985
+ "Form Responses": EnduserProfileViewBlockBuilder<"Form Responses", {
2986
+ title: string;
2987
+ formId: string;
2988
+ fieldIds: string[];
2989
+ }>;
2974
2990
  };
2975
2991
  export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
2976
2992
  export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
@@ -3093,6 +3109,8 @@ export type AutomationTriggerEvents = {
3093
3109
  'Problem Created': AutomationTriggerEventBuilder<"Problem Created", {
3094
3110
  titles?: string[];
3095
3111
  }, {}>;
3112
+ 'Message Delivery Failure': AutomationTriggerEventBuilder<"Message Delivery Failure", {}, {}>;
3113
+ 'Incoming Message (No Care Team)': AutomationTriggerEventBuilder<"Incoming Message (No Care Team)", {}, {}>;
3096
3114
  };
3097
3115
  export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
3098
3116
  export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
@@ -3224,6 +3242,7 @@ export type PhoneTreeActions = {
3224
3242
  }>;
3225
3243
  'Play Message': PhoneTreeActionBuilder<"Play Message", {
3226
3244
  playback: PhonePlayback;
3245
+ journeyId?: string;
3227
3246
  }>;
3228
3247
  'Dial Users': PhoneTreeActionBuilder<"Dial Users", {
3229
3248
  userIds: string[];
@@ -3560,7 +3579,19 @@ export interface PrescriptionRoute extends PrescriptionRoute_readonly, Prescript
3560
3579
  pharmacyLabel?: string;
3561
3580
  tags?: string[];
3562
3581
  }
3582
+ export interface FlowchartNote_readonly extends ClientRecord {
3583
+ }
3584
+ export interface FlowchartNote_required {
3585
+ }
3586
+ export interface FlowchartNote_updatesDisabled {
3587
+ }
3588
+ export interface FlowchartNote extends FlowchartNote_readonly, FlowchartNote_required, FlowchartNote_updatesDisabled {
3589
+ flowchartId: string;
3590
+ note: string;
3591
+ flowchartUI?: FlowchartUI;
3592
+ }
3563
3593
  export type ModelForName_required = {
3594
+ flowchart_notes: FlowchartNote_required;
3564
3595
  enduser_problems: EnduserProblem_required;
3565
3596
  prescription_routes: PrescriptionRoute_required;
3566
3597
  vital_configurations: VitalConfiguration_required;
@@ -3636,6 +3667,7 @@ export type ModelForName_required = {
3636
3667
  };
3637
3668
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
3638
3669
  export interface ModelForName_readonly {
3670
+ flowchart_notes: FlowchartNote_readonly;
3639
3671
  enduser_problems: EnduserProblem_readonly;
3640
3672
  prescription_routes: PrescriptionRoute_readonly;
3641
3673
  blocked_phones: BlockedPhone_readonly;
@@ -3711,6 +3743,7 @@ export interface ModelForName_readonly {
3711
3743
  }
3712
3744
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
3713
3745
  export interface ModelForName_updatesDisabled {
3746
+ flowchart_notes: FlowchartNote_updatesDisabled;
3714
3747
  enduser_problems: EnduserProblem_updatesDisabled;
3715
3748
  prescription_routes: PrescriptionRoute_updatesDisabled;
3716
3749
  blocked_phones: BlockedPhone_updatesDisabled;
@@ -3786,6 +3819,7 @@ export interface ModelForName_updatesDisabled {
3786
3819
  }
3787
3820
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
3788
3821
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
3822
+ flowchart_notes: FlowchartNote;
3789
3823
  enduser_problems: EnduserProblem;
3790
3824
  prescription_routes: PrescriptionRoute;
3791
3825
  blocked_phones: BlockedPhone;
@@ -3895,6 +3929,7 @@ export type JourneyContext = {
3895
3929
  orderId?: string;
3896
3930
  observationId?: string;
3897
3931
  phoneCallId?: string;
3932
+ smsId?: string;
3898
3933
  };
3899
3934
  export declare const TIMEZONE_MAP: {
3900
3935
  readonly "Africa/Abidjan": "+00:00";