@tellescope/types-models 1.172.0 → 1.174.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.
@@ -758,6 +758,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
758
758
  lockedFromPortal?: boolean;
759
759
  chargebeeEnvironment?: string;
760
760
  chargebeeId?: string;
761
+ healthieSyncError?: string;
761
762
  }
762
763
  export interface EnduserCustomType_readonly extends ClientRecord {
763
764
  }
@@ -997,7 +998,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
997
998
  isBounce?: boolean;
998
999
  via?: string;
999
1000
  readBy?: {
1000
- [index: string]: Date;
1001
+ [index: string]: Date | '';
1001
1002
  };
1002
1003
  journeyContext?: JourneyContext;
1003
1004
  sendAt?: Date | '';
@@ -1053,7 +1054,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
1053
1054
  isAutoreply?: boolean;
1054
1055
  userId?: string;
1055
1056
  readBy?: {
1056
- [index: string]: Date;
1057
+ [index: string]: Date | '';
1057
1058
  };
1058
1059
  hiddenBy?: {
1059
1060
  [index: string]: Date | '';
@@ -1088,6 +1089,7 @@ export interface ChatRoom_readonly extends ClientRecord {
1088
1089
  }
1089
1090
  export type ChatRoomUserInfo = {
1090
1091
  unreadCount: number;
1092
+ markedUnread?: boolean;
1091
1093
  };
1092
1094
  export interface ChatRoom_required {
1093
1095
  }
@@ -1147,7 +1149,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
1147
1149
  senderId: string | null;
1148
1150
  html?: string;
1149
1151
  readBy?: {
1150
- [index: string]: Date;
1152
+ [index: string]: Date | '';
1151
1153
  };
1152
1154
  hiddenBy?: {
1153
1155
  [index: string]: Date | '';
@@ -1423,6 +1425,10 @@ export type TableInputChoices = {
1423
1425
  choices: string[];
1424
1426
  }>;
1425
1427
  Date: TableChoiceBuilder<'Date', {}>;
1428
+ Database: TableChoiceBuilder<'Database', {
1429
+ databaseId: string;
1430
+ databaseLabel: string;
1431
+ }>;
1426
1432
  };
1427
1433
  export type TableInputChoiceType = keyof TableInputChoices;
1428
1434
  export type TableInputChoice = TableInputChoices[TableInputChoiceType];
@@ -2705,6 +2711,7 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
2705
2711
  }>;
2706
2712
  export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
2707
2713
  export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
2714
+ export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
2708
2715
  export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
2709
2716
  drugs: DevelopHealthDrug[];
2710
2717
  diagnoses: DevelopHealthDiagnosis[];
@@ -2720,6 +2727,7 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
2720
2727
  description: string;
2721
2728
  dataFieldsMapping?: IterableFieldsMapping[];
2722
2729
  environment?: string;
2730
+ customEmailField?: string;
2723
2731
  }>;
2724
2732
  export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
2725
2733
  export type EnduserFieldSetter = {
@@ -2775,6 +2783,7 @@ export type AutomationActionForType = {
2775
2783
  canvasSync: CanvasSyncAutomationAction;
2776
2784
  pushFormsToPortal: PushFormsAutomationAction;
2777
2785
  developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
2786
+ cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
2778
2787
  };
2779
2788
  export type AutomationActionType = keyof AutomationActionForType;
2780
2789
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3320,6 +3329,7 @@ export type AnalyticsQueryFilterForType = {
3320
3329
  };
3321
3330
  born?: DateRange;
3322
3331
  tags?: ListOfStringsWithQualifier;
3332
+ entityTypes?: string[];
3323
3333
  };
3324
3334
  "Calendar Events": {
3325
3335
  userIds?: string[];
@@ -3654,6 +3664,13 @@ export type AutomationTriggerActions = {
3654
3664
  "Require Form Followups": AutomationTriggerActionBuilder<'Require Form Followups', {
3655
3665
  formIds: string[];
3656
3666
  }>;
3667
+ "Add to Waitlist": AutomationTriggerActionBuilder<'Add to Waitlist', {
3668
+ waitlistId: string;
3669
+ }>;
3670
+ "Grant Access From Waitlist": AutomationTriggerActionBuilder<'Grant Access From Waitlist', {
3671
+ waitlistId: string;
3672
+ count: number;
3673
+ }>;
3657
3674
  };
3658
3675
  export type AutomationTriggerActionType = keyof AutomationTriggerActions;
3659
3676
  export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
@@ -3940,6 +3957,7 @@ export type PhoneTreeActions = {
3940
3957
  playback?: Partial<PhonePlayback>;
3941
3958
  duration?: number;
3942
3959
  addToCareTeam?: boolean;
3960
+ dialRecentAgent?: boolean;
3943
3961
  }>;
3944
3962
  "Select Care Team Member": PhoneTreeActionBuilder<"Select Care Team Member", {
3945
3963
  playback?: Partial<PhonePlayback>;
@@ -3952,6 +3970,7 @@ export type PhoneTreeActions = {
3952
3970
  timezone?: Timezone;
3953
3971
  weeklyAvailabilities?: WeeklyAvailability[];
3954
3972
  hasCareTeam?: boolean;
3973
+ hasOneCareTeamMember?: boolean;
3955
3974
  }>;
3956
3975
  'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", {
3957
3976
  queueId: string;
@@ -4041,7 +4060,7 @@ export interface TicketThreadComment_readonly extends ClientRecord {
4041
4060
  source?: string;
4042
4061
  references?: RelatedRecord[];
4043
4062
  readBy?: {
4044
- [index: string]: Date;
4063
+ [index: string]: Date | '';
4045
4064
  };
4046
4065
  timestamp?: Date;
4047
4066
  group?: string;
@@ -4231,6 +4250,7 @@ export type GroupMMSMessage = {
4231
4250
  export type GroupMMSUserState = {
4232
4251
  id: string;
4233
4252
  numUnread: number;
4253
+ markedUnread?: boolean;
4234
4254
  };
4235
4255
  export interface GroupMMSConversation_readonly extends ClientRecord {
4236
4256
  externalId: string;
@@ -4444,7 +4464,20 @@ export interface AgentRecord extends AgentRecord_readonly, AgentRecord_required,
4444
4464
  externalId?: string;
4445
4465
  indexed?: boolean;
4446
4466
  }
4467
+ export interface Waitlist_readonly extends ClientRecord {
4468
+ }
4469
+ export interface Waitlist_required {
4470
+ title: string;
4471
+ journeyId: string;
4472
+ }
4473
+ export interface Waitlist_updatesDisabled {
4474
+ }
4475
+ export interface Waitlist extends Waitlist_readonly, Waitlist_required, Waitlist_updatesDisabled {
4476
+ enduserIds: string[];
4477
+ tags?: string[];
4478
+ }
4447
4479
  export type ModelForName_required = {
4480
+ waitlists: Waitlist_required;
4448
4481
  agent_records: AgentRecord_required;
4449
4482
  enduser_eligibility_results: EnduserEligibilityResult_required;
4450
4483
  integration_logs: IntegrationLog_required;
@@ -4533,6 +4566,7 @@ export type ModelForName_required = {
4533
4566
  };
4534
4567
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
4535
4568
  export interface ModelForName_readonly {
4569
+ waitlists: Waitlist_readonly;
4536
4570
  agent_records: AgentRecord_readonly;
4537
4571
  enduser_eligibility_results: EnduserEligibilityResult_readonly;
4538
4572
  integration_logs: IntegrationLog_readonly;
@@ -4621,6 +4655,7 @@ export interface ModelForName_readonly {
4621
4655
  }
4622
4656
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
4623
4657
  export interface ModelForName_updatesDisabled {
4658
+ waitlists: Waitlist_updatesDisabled;
4624
4659
  agent_records: AgentRecord_updatesDisabled;
4625
4660
  enduser_eligibility_results: EnduserEligibilityResult_updatesDisabled;
4626
4661
  integration_logs: IntegrationLog_updatesDisabled;
@@ -4709,6 +4744,7 @@ export interface ModelForName_updatesDisabled {
4709
4744
  }
4710
4745
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
4711
4746
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4747
+ waitlists: Waitlist;
4712
4748
  agent_records: AgentRecord;
4713
4749
  enduser_eligibility_results: EnduserEligibilityResult;
4714
4750
  integration_logs: IntegrationLog;