@tellescope/types-models 1.144.0 → 1.146.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.
@@ -622,6 +622,15 @@ export type EnduserInsurance = {
622
622
  payerType?: string;
623
623
  groupNumber?: string;
624
624
  };
625
+ export type EnduserDiagnosis = {
626
+ externalId?: string;
627
+ active?: boolean;
628
+ start?: string;
629
+ end?: string;
630
+ code?: string;
631
+ display?: string;
632
+ source?: string;
633
+ };
625
634
  export type TellescopeGender = "Male" | "Female" | "Other" | "Unknown";
626
635
  export interface Enduser_readonly extends UserActivityInfo, ClientRecord, EnduserEngagementTimestamps {
627
636
  lastCommunication?: Date;
@@ -721,6 +730,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
721
730
  stripeCustomerId?: string;
722
731
  stripeKey?: string;
723
732
  lastDoseSpotSyncAt?: Date;
733
+ diagnoses?: EnduserDiagnosis[];
724
734
  }
725
735
  export interface EnduserCustomType_readonly extends ClientRecord {
726
736
  }
@@ -1006,6 +1016,7 @@ export interface SMSMessage_updatesDisabled {
1006
1016
  journeyId?: string;
1007
1017
  }
1008
1018
  export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SMSMessage_updatesDisabled, TextCommunication, WithLinkOpenTrackingIds {
1019
+ autoResolveToFrom?: boolean;
1009
1020
  isAutoreply?: boolean;
1010
1021
  userId?: string;
1011
1022
  readBy?: {
@@ -2155,6 +2166,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2155
2166
  dontAutoSyncPatientToHealthie?: boolean;
2156
2167
  displayTitle?: string;
2157
2168
  displayDescription?: string;
2169
+ requiresEnduser?: boolean;
2158
2170
  }
2159
2171
  export interface AppointmentLocation_readonly extends ClientRecord {
2160
2172
  }
@@ -2548,6 +2560,7 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
2548
2560
  otherTypes?: string[];
2549
2561
  }>;
2550
2562
  export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
2563
+ export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
2551
2564
  export type IterableFieldsMapping = {
2552
2565
  iterable: string;
2553
2566
  tellescope: string;
@@ -2557,11 +2570,12 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
2557
2570
  description: string;
2558
2571
  dataFieldsMapping?: IterableFieldsMapping[];
2559
2572
  }>;
2560
- export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date';
2573
+ export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
2561
2574
  export type EnduserFieldSetter = {
2562
2575
  name: string;
2563
2576
  type: EnduserFieldSetterType;
2564
2577
  value: string;
2578
+ increment?: number;
2565
2579
  };
2566
2580
  export type SetEnduserFieldsAutomationAction = AutomationActionBuilder<'setEnduserFields', {
2567
2581
  fields: EnduserFieldSetter[];
@@ -2604,6 +2618,7 @@ export type AutomationActionForType = {
2604
2618
  activeCampaignSync: ActiveCampaignSyncAutomationAction;
2605
2619
  switchToRelatedContact: SwitchToRelatedContactAutomationAction;
2606
2620
  'elationSync': ElationSyncAutomationAction;
2621
+ canvasSync: CanvasSyncAutomationAction;
2607
2622
  };
2608
2623
  export type AutomationActionType = keyof AutomationActionForType;
2609
2624
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3024,7 +3039,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
3024
3039
  transcriptionId?: string;
3025
3040
  conferenceId?: string;
3026
3041
  externalConferenceId?: string;
3027
- conferenceAttendees?: string[];
3042
+ conferenceAttendees?: (string[]) | (string[][]);
3028
3043
  unread?: boolean;
3029
3044
  transcription?: string;
3030
3045
  note?: string;
@@ -3373,6 +3388,9 @@ export type EnduserProfileViewBlocks = {
3373
3388
  "Medications": EnduserProfileViewBlockBuilder<"Medications", {
3374
3389
  title: string;
3375
3390
  }>;
3391
+ "Diagnoses": EnduserProfileViewBlockBuilder<"Diagnoses", {
3392
+ title: string;
3393
+ }>;
3376
3394
  };
3377
3395
  export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
3378
3396
  export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
@@ -3852,6 +3870,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
3852
3870
  lastRefreshedCountAt?: Date;
3853
3871
  preventPull?: string[];
3854
3872
  index?: number;
3873
+ overdueReminderUserId?: string;
3855
3874
  }
3856
3875
  export interface EnduserOrder_readonly extends ClientRecord {
3857
3876
  }