@tellescope/types-models 1.208.0 → 1.209.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.
@@ -133,6 +133,10 @@ export type CustomEnduserFields = {
133
133
  columns: TableInputChoice[];
134
134
  }>;
135
135
  'Checkbox': BuildCustomEnduserField<'Checkbox', {}>;
136
+ "Database Select": BuildCustomEnduserField<'Database Select', {
137
+ databaseId: string;
138
+ columns: string[];
139
+ }>;
136
140
  };
137
141
  export type CustomEnduserFieldType = keyof CustomEnduserFields;
138
142
  export type CustomEnduserField = CustomEnduserFields[CustomEnduserFieldType];
@@ -1846,6 +1850,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1846
1850
  requirePhoneToPushEnduser?: boolean;
1847
1851
  syncAsActive?: boolean;
1848
1852
  syncEnduserId?: boolean;
1853
+ syncCareTeam?: boolean;
1849
1854
  shardId?: string;
1850
1855
  }
1851
1856
  export type BuildDatabaseRecordField<K extends string, V, O> = {
@@ -2971,6 +2976,12 @@ export type AutomationCondition = AtJourneyStateAutomationCondition;
2971
2976
  export type OutboundCallAutomationAction = AutomationActionBuilder<'outboundCall', {
2972
2977
  treeId: string;
2973
2978
  }>;
2979
+ export type RemoveCareTeamAutomationAction = AutomationActionBuilder<'removeCareTeam', AutomationTriggerActions['Remove Care Team']['info']>;
2980
+ export type AssignCareTeamAutomationAction = AutomationActionBuilder<'assignCareTeam', AutomationTriggerActions['Assign Care Team']['info']>;
2981
+ export type CallUserAutomationAction = AutomationActionBuilder<'callUser', {
2982
+ message: string;
2983
+ routeBy: "Appointment Host";
2984
+ }>;
2974
2985
  export type AutomationActionForType = {
2975
2986
  'outboundCall': OutboundCallAutomationAction;
2976
2987
  "sendEmail": SendEmailAutomationAction;
@@ -3019,6 +3030,9 @@ export type AutomationActionForType = {
3019
3030
  customerIOTrack: CustomerIOTrackAction;
3020
3031
  cancelCurrentEvent: CancelCurrentEventAction;
3021
3032
  confirmCurrentEvent: ConfirmCurrentEventAction;
3033
+ removeCareTeam: RemoveCareTeamAutomationAction;
3034
+ assignCareTeam: AssignCareTeamAutomationAction;
3035
+ callUser: CallUserAutomationAction;
3022
3036
  };
3023
3037
  export type AutomationActionType = keyof AutomationActionForType;
3024
3038
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3607,11 +3621,13 @@ export type AnalyticsQueryFilterForType = {
3607
3621
  "SMS Messages": {
3608
3622
  direction?: string;
3609
3623
  messages?: string[];
3624
+ "SMS Tags"?: ListOfStringsWithQualifier;
3610
3625
  };
3611
3626
  Emails: {
3612
3627
  direction?: "Inbound" | "Outbound" | "Both";
3613
3628
  templateIds?: string[];
3614
3629
  subjects?: string[];
3630
+ "Email Tags"?: ListOfStringsWithQualifier;
3615
3631
  };
3616
3632
  Medications: {};
3617
3633
  Files: {
@@ -3666,11 +3682,14 @@ export type AnalyticsQueryGroupingForType = {
3666
3682
  Enduser: string;
3667
3683
  };
3668
3684
  "SMS Messages": {
3685
+ "SMS Tags"?: boolean;
3669
3686
  Score?: boolean;
3670
3687
  } & EnduserGrouping & {
3671
3688
  Enduser: string;
3672
3689
  };
3673
- "Emails": {} & EnduserGrouping & {
3690
+ "Emails": {
3691
+ "Email Tags"?: boolean;
3692
+ } & EnduserGrouping & {
3674
3693
  Enduser: string;
3675
3694
  };
3676
3695
  "Medications": {} & EnduserGrouping & {