@tellescope/types-models 1.244.4 → 1.245.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.
@@ -207,6 +207,9 @@ export type OrganizationSettings = {
207
207
  recordCallAudioPlayback?: string;
208
208
  dontRecordCallsToPhone?: string[];
209
209
  transcribeCalls?: boolean;
210
+ summarizeCallRecordings?: boolean;
211
+ summarizeCallRecordingsPrompt?: string;
212
+ summarizeCallRecordingsMaxTokens?: number;
210
213
  transcribeCallInboundPlayback?: string;
211
214
  showDeleteCallRecordingOnTimeline?: boolean;
212
215
  defaultPhoneNumber?: string;
@@ -1049,6 +1052,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
1049
1052
  directions?: string;
1050
1053
  allergyNote?: string;
1051
1054
  status?: string;
1055
+ protocol?: string;
1052
1056
  scriptSureDraft?: {
1053
1057
  prescriptionRouteId?: string;
1054
1058
  drugId?: string;
@@ -1156,6 +1160,7 @@ export type PhoneCallsReportQueries = Record<string, PhoneCallsReportQuery>;
1156
1160
  export type PhoneCallsReport = Record<string, {
1157
1161
  count: number;
1158
1162
  callDurationInSeconds: number;
1163
+ waitTimeInSeconds: number;
1159
1164
  _id: null | string | string[];
1160
1165
  }[]>;
1161
1166
  export type EnduserReportQuery = ReportQuery & {
@@ -3411,6 +3416,9 @@ export type AssignInboxItemAutomationAction = AutomationActionBuilder<'assignInb
3411
3416
  tags: ListOfStringsWithQualifier;
3412
3417
  limit: number;
3413
3418
  }>;
3419
+ export type CreateScriptSureDraftAutomationAction = AutomationActionBuilder<'createScriptSureDraft', {
3420
+ prescriptionRouteId: string;
3421
+ }>;
3414
3422
  export type AutomationActionForType = {
3415
3423
  'aiDecision': AIDecisionAutomationAction;
3416
3424
  'assignInboxItem': AssignInboxItemAutomationAction;
@@ -3472,6 +3480,7 @@ export type AutomationActionForType = {
3472
3480
  removeCareTeam: RemoveCareTeamAutomationAction;
3473
3481
  assignCareTeam: AssignCareTeamAutomationAction;
3474
3482
  callUser: CallUserAutomationAction;
3483
+ createScriptSureDraft: CreateScriptSureDraftAutomationAction;
3475
3484
  };
3476
3485
  export type AutomationActionType = keyof AutomationActionForType;
3477
3486
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3940,6 +3949,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
3940
3949
  unread?: boolean;
3941
3950
  transcription?: string;
3942
3951
  recordingTranscriptionData?: string;
3952
+ aiSummary?: string;
3943
3953
  note?: string;
3944
3954
  userId?: string;
3945
3955
  pinnedAt?: Date | '';
@@ -4075,6 +4085,7 @@ export type AnalyticsQueryInfoForType = {
4075
4085
  "Phone Calls": {
4076
4086
  Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
4077
4087
  Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>;
4088
+ "Wait Time": AnalyticsQueryInfoBuilder<'Wait Time', undefined>;
4078
4089
  };
4079
4090
  "Meetings": {
4080
4091
  Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
@@ -4616,6 +4627,7 @@ export type AutomationTriggerEvents = {
4616
4627
  }, {}>;
4617
4628
  'Medication Added': AutomationTriggerEventBuilder<"Medication Added", {
4618
4629
  titles: string[];
4630
+ protocols: string[];
4619
4631
  }, {}>;
4620
4632
  'No Recent Appointment': AutomationTriggerEventBuilder<"No Recent Appointment", {
4621
4633
  intervalInMS: number;
@@ -5108,6 +5120,12 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
5108
5120
  fill?: string;
5109
5121
  sku?: string;
5110
5122
  bookingLink?: string;
5123
+ pharmacy?: string;
5124
+ pharmacyOrderId?: string;
5125
+ cancelledDate?: string;
5126
+ cancellationReason?: string;
5127
+ medication?: string;
5128
+ medicationSku?: string;
5111
5129
  }
5112
5130
  export interface EnduserProblem_readonly extends ClientRecord {
5113
5131
  }
@@ -5960,6 +5978,7 @@ export type JourneyContext = {
5960
5978
  twilioNumber?: string;
5961
5979
  ticketThreadId?: string;
5962
5980
  ticketThreadCommentId?: string;
5981
+ medicationId?: string;
5963
5982
  };
5964
5983
  export declare const TIMEZONE_MAP: {
5965
5984
  readonly "Africa/Abidjan": "+00:00";