@tellescope/types-models 1.108.0 → 1.110.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
@@ -472,6 +472,7 @@ export interface User_readonly extends ClientRecord {
472
472
  lastActive?: Date;
473
473
  lastLogout?: Date;
474
474
  isa?: boolean,
475
+ passwordLastChangedAt?: Date,
475
476
  }
476
477
  export interface User_required {
477
478
  email: string;
@@ -657,6 +658,7 @@ export interface Enduser_readonly extends UserActivityInfo, ClientRecord, Enduse
657
658
  // _ageDecade?: number,
658
659
  mergedIds?: string[],
659
660
  _updateKey?: string,
661
+ passwordLastChangedAt?: Date,
660
662
  }
661
663
  export interface Enduser_required {}
662
664
  export interface Enduser_updatesDisabled {
@@ -968,6 +970,7 @@ export interface Email_updatesDisabled {
968
970
  logOnly?: boolean,
969
971
  timestamp?: Date,
970
972
  userId: string; // not actually required on create
973
+ journeyId?: string,
971
974
  }
972
975
  export interface Email extends Email_required, Email_readonly, Email_updatesDisabled, TextCommunication {
973
976
  isAutoreply?: boolean,
@@ -983,6 +986,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
983
986
  syncedAt?: Date, // helps to indicate whether an outbound email was sent via Tellescope or Synced back from external source
984
987
  cc?: string[],
985
988
  fromEmailOverride?: string,
989
+ scheduledFromEmail?: string,
986
990
  ticketIds?: string[],
987
991
  alternateToAddress?: string,
988
992
  hiddenBy?: { [index: string] : Date | '' };
@@ -1018,6 +1022,7 @@ export interface SMSMessage_updatesDisabled {
1018
1022
  inbound: boolean,
1019
1023
  newThread: boolean,
1020
1024
  logOnly?: boolean,
1025
+ journeyId?: string,
1021
1026
  }
1022
1027
  export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SMSMessage_updatesDisabled, TextCommunication, WithLinkOpenTrackingIds {
1023
1028
  isAutoreply?: boolean,
@@ -1155,6 +1160,7 @@ export interface File_readonly extends ClientRecord {
1155
1160
  source?: string
1156
1161
  externalId?: string,
1157
1162
  timestamp?: Date,
1163
+ confirmedAt?: Date,
1158
1164
  }
1159
1165
  export interface File_required {
1160
1166
  name: string;
@@ -1300,7 +1306,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1300
1306
  }
1301
1307
 
1302
1308
  export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' /* date + time */ | 'dateString' | 'rating' | 'Time'
1303
- export type FormFieldComplexType = "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance"
1309
+ export type FormFieldComplexType = "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance"
1304
1310
  export type FormFieldType = FormFieldLiteralType | FormFieldComplexType
1305
1311
 
1306
1312
  export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic'
@@ -1378,6 +1384,7 @@ export type FormFieldOptions = FormFieldValidation & {
1378
1384
  useDatePicker?: boolean,
1379
1385
  sharedIntakeFields?: string[],
1380
1386
  hiddenDefaultFields?: string[],
1387
+ customTypeId?: string,
1381
1388
  copyResponse?: boolean, // copy to related contacts when created
1382
1389
  disableGoBack?: boolean,
1383
1390
  disableNext?: boolean,
@@ -1555,6 +1562,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1555
1562
  shouldCreateNotifications?: boolean, // for indicating users should receive email notifications
1556
1563
  disableEnduserAutoSync?: boolean,
1557
1564
  disableTicketAutoSync?: boolean,
1565
+ syncEnduserFiles?: boolean,
1558
1566
  pushCalendarDetails?: boolean,
1559
1567
  redactExternalEvents?: boolean,
1560
1568
  fhirClientId?: string,
@@ -1700,6 +1708,7 @@ export type FormResponseAnswerMultipleChoiceValue = string[]
1700
1708
  export type FormResponseAnswerMultipleChoice = FormResponseValueAnswerBuilder<'multiple_choice', FormResponseAnswerMultipleChoiceValue>
1701
1709
  export type FormResponseAnswerDropdown = FormResponseValueAnswerBuilder<'Dropdown', FormResponseAnswerMultipleChoiceValue>
1702
1710
  export type FormResponseAnswerRanking = FormResponseValueAnswerBuilder<'ranking', FormResponseAnswerMultipleChoiceValue>
1711
+ export type FormResponseAnswerHiddenValue = FormResponseValueAnswerBuilder<'Hidden Value', string>
1703
1712
 
1704
1713
  export type FormResponseAnswerFileValue = {
1705
1714
  secureName: string,
@@ -1737,6 +1746,7 @@ export type FormResponseValueAnswer = (
1737
1746
  | FormResponseAnswerAppointmentBooking
1738
1747
  | FormResponseAnswerHeight
1739
1748
  | FormResponseAnswerRedirect
1749
+ | FormResponseAnswerHiddenValue
1740
1750
  )
1741
1751
 
1742
1752
  export type FormResponseValue = {
@@ -1745,6 +1755,7 @@ export type FormResponseValue = {
1745
1755
  fieldDescription?: string,
1746
1756
  fieldHtmlDescription?: string,
1747
1757
  answer: FormResponseValueAnswer,
1758
+ answerIsHTML?: boolean,
1748
1759
  externalId?: string,
1749
1760
  sharedWithEnduser?: boolean,
1750
1761
  isCalledOut?: boolean,
@@ -1778,6 +1789,7 @@ export type AnswerForType = {
1778
1789
  'Appointment Booking': FormResponseAnswerAppointmentBooking['value']
1779
1790
  'Height': FormResponseAnswerHeight['value']
1780
1791
  'Redirect': FormResponseAnswerRedirect['value']
1792
+ 'Hidden Value': FormResponseAnswerHiddenValue['value']
1781
1793
  }
1782
1794
 
1783
1795
  export interface FormResponse_readonly extends ClientRecord {
@@ -1940,7 +1952,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1940
1952
  portalSettings?: CalendarEventPortalSettings,
1941
1953
  isEphemeral?: boolean,
1942
1954
  videoIntegration?: VideoIntegrationType,
1943
- videoURL?: string,
1955
+ videoURL?: string, // for storing built-in video links (e.g. with our direct Zoom integration)
1956
+ externalVideoURL?: string, // for join links provided by integrations like Healthie
1944
1957
  videoHostUserId?: string, // so we know which integration to use for updating / deleting the event
1945
1958
  timezone?: Timezone
1946
1959
  copiedFrom?: string,
@@ -1957,6 +1970,11 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1957
1970
  holdUntil?: Date,
1958
1971
  holdFormResponseId?: string,
1959
1972
  tags?: string[],
1973
+ cancelledGroupAttendees?: {
1974
+ id: string,
1975
+ at: Date,
1976
+ }[],
1977
+ useUserURL?: boolean,
1960
1978
  // isAllDay?: boolean,
1961
1979
  }
1962
1980
 
@@ -2063,6 +2081,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2063
2081
  canvasCoding?: CanvasCoding,
2064
2082
  tags?: string[],
2065
2083
  matchToHealthieTemplate?: boolean,
2084
+ useUserURL?: boolean,
2066
2085
  }
2067
2086
 
2068
2087
  export interface AppointmentLocation_readonly extends ClientRecord {}
@@ -3338,6 +3357,8 @@ export type PhoneTreeEventBuilder <T, V> = { parentId: string, type: T, info: V
3338
3357
  export type PhoneTreeEvents = {
3339
3358
  'Start': PhoneTreeEventBuilder<'Start', {}>,
3340
3359
  'On Gather': PhoneTreeEventBuilder<'On Gather', { digits?: string, transcription?: string, handleNoInput?: boolean }>,
3360
+ 'If True': PhoneTreeEventBuilder<'If True', { }>,
3361
+ 'If False': PhoneTreeEventBuilder<'If False', { }>,
3341
3362
  }
3342
3363
  export type PhoneTreeEventType = keyof PhoneTreeEvents
3343
3364
  export type PhoneTreeEvent = PhoneTreeEvents[PhoneTreeEventType]
@@ -3364,6 +3385,10 @@ export type PhoneTreeActions = {
3364
3385
  playback?: Partial<PhonePlayback>,
3365
3386
  }>
3366
3387
  'Forward Call': PhoneTreeActionBuilder<"Forward Call", { to: string }>
3388
+ 'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
3389
+ timezone?: Timezone,
3390
+ weeklyAvailabilities?: WeeklyAvailability[],
3391
+ }>
3367
3392
  }
3368
3393
  export type PhoneTreeActionType = keyof PhoneTreeActions
3369
3394
  export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType]
@@ -3514,6 +3539,8 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
3514
3539
  tracking?: string,
3515
3540
  }[],
3516
3541
  tracking?: string,
3542
+ instructions?: string,
3543
+ shippedDate?: string,
3517
3544
  }
3518
3545
 
3519
3546
  export interface EnduserProblem_readonly extends ClientRecord {}