@tellescope/types-models 1.88.0 → 1.89.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.
@@ -206,9 +206,15 @@ export type BasicWebhook = {
206
206
  method?: 'Link' | 'POST';
207
207
  };
208
208
  export type SyncDirection = "Bidirectional" | "From Tellescope" | "To Tellescope";
209
- export type FieldSync = {
209
+ export type AthenaFieldSync = {
210
210
  field: string;
211
- externalField: string;
211
+ externalField: {
212
+ id: string;
213
+ options: {
214
+ id: string;
215
+ value: string;
216
+ }[];
217
+ };
212
218
  direction: SyncDirection;
213
219
  };
214
220
  export type AthenaSubscription = {
@@ -308,8 +314,9 @@ export interface Organization extends Organization_readonly, Organization_requir
308
314
  label: string;
309
315
  }[];
310
316
  mfaxAccountId?: string;
311
- athenaFieldsSync?: FieldSync[];
317
+ athenaFieldsSync?: AthenaFieldSync[];
312
318
  athenaSubscriptions?: AthenaSubscription[];
319
+ athenaDepartmentIds?: string[];
313
320
  fieldsToAdminNote?: string[];
314
321
  }
315
322
  export type OrganizationTheme = {
@@ -1050,6 +1057,10 @@ export type TicketActions = {
1050
1057
  formResponseId?: string;
1051
1058
  }>;
1052
1059
  "Create Prescription": TicketActionBuilder<'Create Prescription', {}>;
1060
+ "Send SMS": TicketActionBuilder<'Send SMS', {
1061
+ templateId: string;
1062
+ smsId?: string;
1063
+ }>;
1053
1064
  };
1054
1065
  export type TicketActionType = keyof TicketActions;
1055
1066
  export type TicketAction = TicketActions[TicketActionType];
@@ -1120,6 +1131,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
1120
1131
  preserveContext?: boolean;
1121
1132
  phoneCallId?: string;
1122
1133
  calendarEventId?: string;
1134
+ observationId?: string;
1123
1135
  }
1124
1136
  export type AttendeeInfo = {
1125
1137
  ExternalUserId: string;
@@ -1248,6 +1260,7 @@ export type FormFieldOptions = FormFieldValidation & {
1248
1260
  };
1249
1261
  useDatePicker?: boolean;
1250
1262
  sharedIntakeFields?: string[];
1263
+ copyResponse?: boolean;
1251
1264
  disableGoBack?: boolean;
1252
1265
  disableNext?: boolean;
1253
1266
  customPriceMessage?: string;
@@ -1358,6 +1371,8 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1358
1371
  tags?: string[];
1359
1372
  language?: string;
1360
1373
  isNonVisitElationNote?: boolean;
1374
+ canvasId?: string;
1375
+ canvasQuestionId?: string;
1361
1376
  }
1362
1377
  export type OAuth2AuthenticationFields = {
1363
1378
  access_token: string;
@@ -1624,6 +1639,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
1624
1639
  carePlanId?: string;
1625
1640
  context?: string;
1626
1641
  calendarEventId?: string;
1642
+ copiedFrom?: string;
1627
1643
  }
1628
1644
  export interface WebHook_readonly extends ClientRecord {
1629
1645
  }
@@ -2077,6 +2093,7 @@ export type SetEnduserStatusInfo = {
2077
2093
  interface AutomationActionBuilder<T extends string, V extends object> {
2078
2094
  type: T;
2079
2095
  info: V;
2096
+ continueOnError?: boolean;
2080
2097
  }
2081
2098
  export type AssignToQueueInfo = {
2082
2099
  queueId: string;
@@ -2596,6 +2613,12 @@ export interface RoleBasedAccessPermission_updatesDisabled {
2596
2613
  export interface RoleBasedAccessPermission extends RoleBasedAccessPermission_readonly, RoleBasedAccessPermission_required, RoleBasedAccessPermission_updatesDisabled {
2597
2614
  }
2598
2615
  export interface PhoneCall_readonly extends ClientRecord {
2616
+ }
2617
+ export interface PhoneCall_required {
2618
+ }
2619
+ export interface PhoneCall_updatesDisabled {
2620
+ }
2621
+ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, PhoneCall_updatesDisabled {
2599
2622
  enduserId: string;
2600
2623
  externalId: string;
2601
2624
  from: string;
@@ -2609,12 +2632,6 @@ export interface PhoneCall_readonly extends ClientRecord {
2609
2632
  transcriptionId?: string;
2610
2633
  conferenceId?: string;
2611
2634
  conferenceAttendees?: string[];
2612
- }
2613
- export interface PhoneCall_required {
2614
- }
2615
- export interface PhoneCall_updatesDisabled {
2616
- }
2617
- export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, PhoneCall_updatesDisabled {
2618
2635
  unread?: boolean;
2619
2636
  transcription?: string;
2620
2637
  note?: string;
@@ -2632,6 +2649,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
2632
2649
  answeredAt?: Date;
2633
2650
  recordingCancelledAt?: Date;
2634
2651
  assignedTo?: string[];
2652
+ timestamp?: Date;
2635
2653
  }
2636
2654
  export type AnalyticsQueryResultValue = {
2637
2655
  key?: string;
@@ -3793,6 +3811,7 @@ export type JourneyContext = {
3793
3811
  purchaseId?: string;
3794
3812
  templateId?: string;
3795
3813
  orderId?: string;
3814
+ observationId?: string;
3796
3815
  };
3797
3816
  export declare const TIMEZONE_MAP: {
3798
3817
  readonly "Africa/Abidjan": "+00:00";