@tellescope/types-models 1.80.2 → 1.80.4

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.
@@ -156,6 +156,7 @@ export type OrganizationSettings = {
156
156
  flaggedFileText?: string;
157
157
  showBulkFormInput?: boolean;
158
158
  autofillSignature?: boolean;
159
+ showFullVitalsTab?: boolean;
159
160
  };
160
161
  tickets?: {
161
162
  defaultJourneyDueDateOffsetInMS?: number | '';
@@ -247,6 +248,7 @@ export interface Organization extends Organization_readonly, Organization_requir
247
248
  hasConnectedCanvas?: boolean;
248
249
  hasConnectedCandid?: boolean;
249
250
  hasConnectedGoGoMeds?: boolean;
251
+ hasConnectedPagerDuty?: boolean;
250
252
  hasConfiguredZoom?: boolean;
251
253
  hasTicketQueues?: boolean;
252
254
  vitalTeamId?: string;
@@ -431,6 +433,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
431
433
  mfa?: MFASettings;
432
434
  skills?: string[];
433
435
  lockedOutUntil?: number;
436
+ elationUserId?: number;
434
437
  }
435
438
  export type Preference = 'email' | 'sms' | 'call' | 'chat';
436
439
  export type CustomField = string | number | object | {
@@ -815,6 +818,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
815
818
  batchId?: string;
816
819
  isMarketing?: boolean;
817
820
  destination?: string[];
821
+ assignedTo?: string[];
818
822
  }
819
823
  export interface SMSMessage_readonly extends ClientRecord {
820
824
  delivered: boolean;
@@ -861,6 +865,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
861
865
  tags?: string[];
862
866
  batchId?: string;
863
867
  replyToTemplateId?: string;
868
+ assignedTo?: string[];
864
869
  }
865
870
  export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
866
871
  export interface ChatRoom_readonly extends ClientRecord {
@@ -895,6 +900,7 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
895
900
  pinnedAt?: Date | '';
896
901
  fields?: Indexable<string | CustomField>;
897
902
  suggestedReply?: string;
903
+ assignedTo?: string[];
898
904
  }
899
905
  export type ChatAttachmentType = 'image' | 'video' | 'file' | string;
900
906
  export type ChatAttachment = {
@@ -1283,6 +1289,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1283
1289
  lockResponsesOnSubmission?: boolean;
1284
1290
  tags?: string[];
1285
1291
  language?: string;
1292
+ isNonVisitElationNote?: boolean;
1286
1293
  }
1287
1294
  export type OAuth2AuthenticationFields = {
1288
1295
  access_token: string;
@@ -2058,6 +2065,11 @@ export type CreateCarePlanAutomationAction = AutomationActionBuilder<'createCare
2058
2065
  }>;
2059
2066
  export type CompleteCarePlanAutomationAction = AutomationActionBuilder<'completeCarePlan', {}>;
2060
2067
  export type ZusSyncAutomationAction = AutomationActionBuilder<'zusSync', {}>;
2068
+ export type PagerDutyCreateIncidentAutomationAction = AutomationActionBuilder<'pagerDutyCreateIncident', {
2069
+ type: string;
2070
+ title: string;
2071
+ serviceId: string;
2072
+ }>;
2061
2073
  export type IterableFieldsMapping = {
2062
2074
  iterable: string;
2063
2075
  tellescope: string;
@@ -2102,6 +2114,7 @@ export type AutomationActionForType = {
2102
2114
  'createCarePlan': CreateCarePlanAutomationAction;
2103
2115
  'completeCarePlan': CompleteCarePlanAutomationAction;
2104
2116
  'zusSync': ZusSyncAutomationAction;
2117
+ 'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
2105
2118
  };
2106
2119
  export type AutomationActionType = keyof AutomationActionForType;
2107
2120
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -2158,6 +2171,7 @@ export interface EnduserObservation_updatesDisabled {
2158
2171
  }
2159
2172
  export interface EnduserObservation extends EnduserObservation_readonly, EnduserObservation_required, EnduserObservation_updatesDisabled {
2160
2173
  recordedAt?: Date;
2174
+ timestamp: Date;
2161
2175
  code?: string;
2162
2176
  type?: string;
2163
2177
  source?: string;
@@ -2480,6 +2494,8 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
2480
2494
  tags?: string[];
2481
2495
  inputs?: string[];
2482
2496
  answeredAt?: Date;
2497
+ recordingCancelledAt?: Date;
2498
+ assignedTo?: string[];
2483
2499
  }
2484
2500
  export type AnalyticsQueryResultValue = {
2485
2501
  key?: string;
@@ -2841,6 +2857,12 @@ export type AutomationTriggerEvents = {
2841
2857
  'Has Not Engaged': AutomationTriggerEventBuilder<"Has Not Engaged", {
2842
2858
  intervalInMS: number;
2843
2859
  }, {}>;
2860
+ 'Vital Count': AutomationTriggerEventBuilder<"Vital Count", {
2861
+ units?: string[];
2862
+ minutes: number;
2863
+ comparison: VitalComparison;
2864
+ periodInMS: number;
2865
+ }, {}>;
2844
2866
  };
2845
2867
  export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
2846
2868
  export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
@@ -3054,6 +3076,7 @@ export interface TicketThread extends TicketThread_readonly, TicketThread_requir
3054
3076
  subject: string;
3055
3077
  closedAt?: Date | '';
3056
3078
  pinnedAt?: Date | '';
3079
+ assignedTo?: string[];
3057
3080
  }
3058
3081
  export interface TicketThreadComment_readonly extends ClientRecord {
3059
3082
  externalThreadId?: string;
@@ -3205,6 +3228,7 @@ export interface GroupMMSConversation_readonly extends ClientRecord {
3205
3228
  hiddenBy?: {
3206
3229
  [index: string]: Date | '';
3207
3230
  };
3231
+ assignedTo?: string[];
3208
3232
  }
3209
3233
  export interface GroupMMSConversation_updatesDisabled {
3210
3234
  }
@@ -3212,7 +3236,43 @@ export interface GroupMMSConversation_required {
3212
3236
  }
3213
3237
  export interface GroupMMSConversation extends GroupMMSConversation_readonly, GroupMMSConversation_required, GroupMMSConversation_updatesDisabled {
3214
3238
  }
3239
+ export type VitalComparisons = {
3240
+ 'Less Than': {
3241
+ type: "Less Than";
3242
+ value: number;
3243
+ };
3244
+ 'Greater Than': {
3245
+ type: "Greater Than";
3246
+ value: number;
3247
+ };
3248
+ 'Between': {
3249
+ type: "Between";
3250
+ value: {
3251
+ lower: number;
3252
+ upper: number;
3253
+ };
3254
+ };
3255
+ };
3256
+ export type VitalComparisonType = keyof VitalComparisons;
3257
+ export type VitalComparison = VitalComparisons[VitalComparisonType];
3258
+ export type VitalConfigurationRange = {
3259
+ classification: string;
3260
+ comparison: VitalComparison;
3261
+ trendIntervalInMS: number;
3262
+ };
3263
+ export interface VitalConfiguration_readonly extends ClientRecord {
3264
+ }
3265
+ export interface VitalConfiguration_required {
3266
+ }
3267
+ export interface VitalConfiguration_updatesDisabled {
3268
+ }
3269
+ export interface VitalConfiguration extends VitalConfiguration_readonly, VitalConfiguration_required, VitalConfiguration_updatesDisabled {
3270
+ title: string;
3271
+ unit: string;
3272
+ ranges: VitalConfigurationRange[];
3273
+ }
3215
3274
  export type ModelForName_required = {
3275
+ vital_configurations: VitalConfiguration_required;
3216
3276
  enduser_encounters: EnduserEncounter_required;
3217
3277
  enduser_orders: EnduserOrder_required;
3218
3278
  group_mms_conversations: GroupMMSConversation_required;
@@ -3284,6 +3344,7 @@ export type ModelForName_required = {
3284
3344
  };
3285
3345
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
3286
3346
  export interface ModelForName_readonly {
3347
+ vital_configurations: VitalConfiguration_readonly;
3287
3348
  enduser_encounters: EnduserEncounter_readonly;
3288
3349
  enduser_orders: EnduserOrder_readonly;
3289
3350
  group_mms_conversations: GroupMMSConversation_readonly;
@@ -3355,6 +3416,7 @@ export interface ModelForName_readonly {
3355
3416
  }
3356
3417
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
3357
3418
  export interface ModelForName_updatesDisabled {
3419
+ vital_configurations: VitalConfiguration_updatesDisabled;
3358
3420
  enduser_encounters: EnduserEncounter_updatesDisabled;
3359
3421
  enduser_orders: EnduserOrder_updatesDisabled;
3360
3422
  group_mms_conversations: GroupMMSConversation_updatesDisabled;
@@ -3426,6 +3488,7 @@ export interface ModelForName_updatesDisabled {
3426
3488
  }
3427
3489
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
3428
3490
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
3491
+ vital_configurations: VitalConfiguration;
3429
3492
  enduser_encounters: EnduserEncounter;
3430
3493
  enduser_orders: EnduserOrder;
3431
3494
  group_mms_conversations: GroupMMSConversation;
@@ -3500,8 +3563,8 @@ export type Model = ModelForName[keyof ModelForName];
3500
3563
  export type ConfiguredSessionInfo = {
3501
3564
  username: string;
3502
3565
  orgEmail: string;
3503
- fname: string;
3504
- lname: string;
3566
+ fname?: string;
3567
+ lname?: string;
3505
3568
  };
3506
3569
  export type ConfiguredSession = UserSession & ConfiguredSessionInfo;
3507
3570
  export interface UserActivityInfo {