@tellescope/types-models 1.118.1 → 1.120.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.
package/src/index.ts CHANGED
@@ -182,6 +182,7 @@ export type OrganizationSettings = {
182
182
  autofillSignature?: boolean,
183
183
  showFullVitalsTab?: boolean,
184
184
  canMoveCalls?: boolean,
185
+ canMoveSMS?: boolean,
185
186
  inboxRepliesMarkRead?: boolean,
186
187
  },
187
188
  tickets?: {
@@ -677,6 +678,7 @@ export interface Enduser_updatesDisabled {
677
678
  references?: RelatedRecord[],
678
679
  }
679
680
  export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_updatesDisabled {
681
+ healthie_dietitian_id?: string,
680
682
  unsubscribePhone?: boolean; // on AWS STOP reply
681
683
  externalId?: string;
682
684
  humanReadableId?: string;
@@ -1098,6 +1100,10 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
1098
1100
  suggestedReply?: string,
1099
1101
  assignedTo?: string[],
1100
1102
  discussionRoomId?: string,
1103
+ identifier?: string,
1104
+ source?: string,
1105
+ externalId?: string,
1106
+ references?: RelatedRecord[] // internal, for storing built-in integrations info
1101
1107
  }
1102
1108
 
1103
1109
  export type ChatAttachmentType = 'image' | 'video' | 'file' | string
@@ -1140,6 +1146,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
1140
1146
  canvasId?: string,
1141
1147
  isAutoreply?: boolean,
1142
1148
  quote?: string[],
1149
+ references?: RelatedRecord[] // internal, for storing built-in integrations info
1143
1150
  }
1144
1151
 
1145
1152
  export type MessageTemplateType = 'enduser' | 'Reply' | 'team' // default to 'enduser'
@@ -1419,6 +1426,9 @@ export type FormFieldOptions = FormFieldValidation & {
1419
1426
  holdAppointmentMinutes?: number,
1420
1427
  rangeStepSize?: number,
1421
1428
  redirectFormId?: string,
1429
+ redirectExternalUrl?: string,
1430
+ groupPadding?: number,
1431
+ saveIntakeOnPartial?: boolean,
1422
1432
  }
1423
1433
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>
1424
1434
 
@@ -1588,6 +1598,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1588
1598
  fhirAccessToken?: string,
1589
1599
  fhirExpiryDate?: number,
1590
1600
  defaultAttendeeId?: string,
1601
+ sendEmailOnSync?: boolean,
1591
1602
  }
1592
1603
 
1593
1604
  export type BuildDatabaseRecordField <K extends string, V, O> = { type: K, value: V, options: O & { width?: string } }
@@ -1864,6 +1875,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
1864
1875
  groupId?: string,
1865
1876
  groupInstance?: string,
1866
1877
  groupPosition?: number,
1878
+ utm?: LabeledField[],
1867
1879
  }
1868
1880
 
1869
1881
  export interface WebHook_readonly extends ClientRecord {}
@@ -1937,6 +1949,7 @@ export interface CalendarEvent_required {
1937
1949
  }
1938
1950
  export interface CalendarEvent_updatesDisabled {}
1939
1951
  export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
1952
+ reason?: string,
1940
1953
  attendees: UserIdentity[],
1941
1954
  color?: string,
1942
1955
  enableVideoCall?: boolean,
@@ -1998,6 +2011,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1998
2011
  useUserURL?: boolean,
1999
2012
  healthieZoomStartURL?: string,
2000
2013
  healthieZoomJoinURL?: string,
2014
+ instructions?: string,
2001
2015
  // isAllDay?: boolean,
2002
2016
  }
2003
2017
 
@@ -2105,6 +2119,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2105
2119
  tags?: string[],
2106
2120
  matchToHealthieTemplate?: boolean,
2107
2121
  useUserURL?: boolean,
2122
+ instructions?: string,
2108
2123
  }
2109
2124
 
2110
2125
  export interface AppointmentLocation_readonly extends ClientRecord {}
@@ -2114,6 +2129,7 @@ export interface AppointmentLocation_required {
2114
2129
  export interface AppointmentLocation_updatesDisabled {}
2115
2130
  export interface AppointmentLocation extends AppointmentLocation_readonly, AppointmentLocation_required, AppointmentLocation_updatesDisabled {
2116
2131
  address?: string,
2132
+ city?: string,
2117
2133
  zipCode?: string,
2118
2134
  state?: string,
2119
2135
  phone?: string,
@@ -2122,6 +2138,7 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
2122
2138
  healthieContactType?: string,
2123
2139
  healthieLocationId?: string,
2124
2140
  healthieUseZoom?: boolean,
2141
+ instructions?: string,
2125
2142
  }
2126
2143
 
2127
2144
  export type AppointmentTerm = {
@@ -2161,6 +2178,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
2161
2178
  limitedByState?: boolean,
2162
2179
  limitedByTagsPortal?: string[],
2163
2180
  requireLocationSelection?: boolean,
2181
+ collectReason?: "Do Not Collect" | 'Optional' | 'Required'
2164
2182
  // productIds?: string[], // defer to specific template
2165
2183
  }
2166
2184
 
@@ -2427,6 +2445,8 @@ export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smar
2427
2445
  shipping?: string,
2428
2446
  }>
2429
2447
  export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>
2448
+ export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', { courseId: string }>
2449
+ export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthieSendChat', { templateId: string, identifier: string, includeCareTeam?: boolean }>
2430
2450
  export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', { journeyIds?: string[] }>
2431
2451
  export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', { type: string }>
2432
2452
 
@@ -2481,6 +2501,8 @@ export type AutomationActionForType = {
2481
2501
  'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction,
2482
2502
  'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction,
2483
2503
  'healthieSync': HealthieSyncAutomationAction,
2504
+ healthieAddToCourse: HealthieAddToCourseAutomationAction,
2505
+ healthieSendChat: HealthieSendChatAutomationAction,
2484
2506
  'completeTickets': CompleteTicketsAutomationAction,
2485
2507
  'changeContactType': ChangeContactTypeAutomationAction,
2486
2508
  }
@@ -3258,7 +3280,7 @@ export type AutomationTriggerEvents = {
3258
3280
  }, {}>,
3259
3281
  'Form Unsubmitted': AutomationTriggerEventBuilder<"Form Unsubmitted", { formId: string, intervalInMS: number }, {}>,
3260
3282
  'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", { }, {}>,
3261
- 'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", { }, {}>,
3283
+ 'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", { titles?: string[], templateIds?: string[] }, { }>,
3262
3284
  'Field Equals': AutomationTriggerEventBuilder<"Field Equals", { field: string, value: string }, { }>,
3263
3285
  'Appointment Created': AutomationTriggerEventBuilder<"Appointment Created", { titles?: string[] }, {}>,
3264
3286
  'Appointment Completed': AutomationTriggerEventBuilder<"Appointment Completed", { titles?: string[] }, {}>,
@@ -3551,6 +3573,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
3551
3573
  type?: string,
3552
3574
  defaultFromNumber?: string,
3553
3575
  enduserFields?: string[],
3576
+ lastRefreshedCountAt?: Date,
3554
3577
  }
3555
3578
 
3556
3579
  export interface EnduserOrder_readonly extends ClientRecord {}