@tellescope/types-models 1.255.2 → 1.255.3

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.
@@ -51,6 +51,9 @@ export declare const FilterKeys: readonly ["_exists", "_gt", "_gte", "_lt", "_lt
51
51
  export type ReadFilter<T> = {
52
52
  [K in keyof T]?: T[K] | Partial<FilterType>;
53
53
  };
54
+ export type TranslationLanguageCode = 'en' | 'es' | 'fr' | 'zh' | 'de' | 'pt' | 'ru' | 'ar' | 'hi' | 'vi' | 'ko' | 'ja' | 'tl' | (string & {});
55
+ export type FieldTranslations = Partial<Record<TranslationLanguageCode, string>>;
56
+ export type Translations<Field extends string = string> = Partial<Record<Field, FieldTranslations>>;
54
57
  export type FlowchartUI = {
55
58
  x: number;
56
59
  y: number;
@@ -1060,6 +1063,8 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
1060
1063
  superdialEligibilityResponse?: string;
1061
1064
  eligibleForAutoMerge?: boolean;
1062
1065
  preferredPharmacy?: Pharmacy;
1066
+ aiSummary?: string;
1067
+ aiSummaryUpdatedAt?: Date;
1063
1068
  }
1064
1069
  export interface EnduserCustomType_readonly extends ClientRecord {
1065
1070
  }
@@ -2041,6 +2046,7 @@ export type AISummaryConfiguration = {
2041
2046
  prompt?: string;
2042
2047
  dataSources?: AISummaryDataSourceConfig[];
2043
2048
  maxOutputTokens?: number;
2049
+ includeProfileFields?: boolean;
2044
2050
  };
2045
2051
  export type FormCustomization = {
2046
2052
  publicFormHTMLDescription?: string;
@@ -3577,6 +3583,9 @@ export type AIDecisionAutomationAction = AutomationActionBuilder<'aiDecision', {
3577
3583
  sources?: AIContextSource[];
3578
3584
  aiSummaryConfiguration?: AISummaryConfiguration;
3579
3585
  }>;
3586
+ export type GenerateEnduserSummaryAutomationAction = AutomationActionBuilder<'generateEnduserSummary', {
3587
+ aiSummaryConfiguration?: AISummaryConfiguration;
3588
+ }>;
3580
3589
  export type AssignInboxItemAutomationAction = AutomationActionBuilder<'assignInboxItem', {
3581
3590
  tags: ListOfStringsWithQualifier;
3582
3591
  limit: number;
@@ -3588,6 +3597,7 @@ export type CreateScriptSureDraftAutomationAction = AutomationActionBuilder<'cre
3588
3597
  }>;
3589
3598
  export type AutomationActionForType = {
3590
3599
  'aiDecision': AIDecisionAutomationAction;
3600
+ 'generateEnduserSummary': GenerateEnduserSummaryAutomationAction;
3591
3601
  'assignInboxItem': AssignInboxItemAutomationAction;
3592
3602
  'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
3593
3603
  'stripeCancelSubscription': StripeCancelSubscriptionAutomationAction;
@@ -4134,6 +4144,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
4134
4144
  conferenceAttendees?: (string[]) | (string[][]);
4135
4145
  unread?: boolean;
4136
4146
  transcription?: string;
4147
+ translations?: Translations<'transcription'>;
4137
4148
  recordingTranscriptionData?: string;
4138
4149
  aiSummary?: string;
4139
4150
  note?: string;
@@ -5756,6 +5767,9 @@ export interface AIConversation_updatesDisabled {
5756
5767
  }
5757
5768
  export interface AIConversation extends AIConversation_readonly, AIConversation_required, AIConversation_updatesDisabled {
5758
5769
  orchestrationId?: string;
5770
+ enduserId?: string;
5771
+ journeyId?: string;
5772
+ automationStepId?: string;
5759
5773
  }
5760
5774
  export interface InboxThread_readonly extends ClientRecord {
5761
5775
  searchKeywords?: string[];