@tellescope/types-models 1.103.2 → 1.105.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.
@@ -147,6 +147,7 @@ export type OrganizationSettings = {
147
147
  customFields?: CustomEnduserField[];
148
148
  disableAdhocFields?: boolean;
149
149
  autoReplyEnabled?: boolean;
150
+ disableAutoreplyForCustomEntities?: boolean;
150
151
  tags?: string[];
151
152
  showFreeNote?: boolean;
152
153
  canDeleteFreeNote?: boolean;
@@ -416,6 +417,7 @@ export interface UserSession extends Session, OrganizationLimits {
416
417
  duration?: number;
417
418
  doseSpotUserId?: string;
418
419
  availablePhoneNumbers: string[];
420
+ availableFromEmails: string[];
419
421
  }
420
422
  export type StateCredentialInfo = {
421
423
  state: string;
@@ -484,6 +486,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
484
486
  autoReplyEnabled?: boolean;
485
487
  twilioNumber?: string;
486
488
  availableFromNumbers?: string[];
489
+ availableFromEmails?: string[];
487
490
  hashedPass?: string;
488
491
  pushNotificationIosTokens?: string[];
489
492
  pushNotificationDestinations?: string[];
@@ -655,6 +658,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
655
658
  devices?: {
656
659
  title: string;
657
660
  id: string;
661
+ disabled?: boolean;
658
662
  }[];
659
663
  salesforceId?: string;
660
664
  athenaPracticeId?: string;
@@ -908,6 +912,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
908
912
  destination?: string[];
909
913
  assignedTo?: string[];
910
914
  canvasId?: string;
915
+ discussionRoomId?: string;
911
916
  }
912
917
  export interface SMSMessage_readonly extends ClientRecord {
913
918
  delivered: boolean;
@@ -958,6 +963,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
958
963
  assignedTo?: string[];
959
964
  templatedMessage?: string;
960
965
  canvasId?: string;
966
+ discussionRoomId?: string;
961
967
  }
962
968
  export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
963
969
  export interface ChatRoom_readonly extends ClientRecord {
@@ -993,6 +999,7 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
993
999
  fields?: Indexable<string | CustomField>;
994
1000
  suggestedReply?: string;
995
1001
  assignedTo?: string[];
1002
+ discussionRoomId?: string;
996
1003
  }
997
1004
  export type ChatAttachmentType = 'image' | 'video' | 'file' | string;
998
1005
  export type ChatAttachment = {
@@ -1120,6 +1127,7 @@ export type RoundRobinAssignmentInfo = {
1120
1127
  };
1121
1128
  export type TicketReminder = {
1122
1129
  msBeforeDueDate: number;
1130
+ queueId?: string;
1123
1131
  didRemind?: boolean;
1124
1132
  };
1125
1133
  export interface Ticket_readonly extends ClientRecord {
@@ -1177,6 +1185,9 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
1177
1185
  calendarEventId?: string;
1178
1186
  observationId?: string;
1179
1187
  tags?: string[];
1188
+ restrictByState?: string;
1189
+ restrictByTags?: string[];
1190
+ restrictByTagsQualifier?: ListQueryQualifier;
1180
1191
  }
1181
1192
  export type AttendeeInfo = {
1182
1193
  ExternalUserId: string;
@@ -1225,7 +1236,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1225
1236
  tags?: string[];
1226
1237
  }
1227
1238
  export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
1228
- export type FormFieldComplexType = "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1239
+ 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";
1229
1240
  export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
1230
1241
  export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
1231
1242
  export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
@@ -1320,10 +1331,12 @@ export type FormFieldOptions = FormFieldValidation & {
1320
1331
  addressFields?: string[];
1321
1332
  validStates?: string[];
1322
1333
  autoAdvance?: boolean;
1334
+ autoSubmit?: boolean;
1323
1335
  prefillSignature?: boolean;
1324
1336
  includeGroupNumber?: boolean;
1325
1337
  holdAppointmentMinutes?: number;
1326
1338
  rangeStepSize?: number;
1339
+ redirectFormId?: string;
1327
1340
  };
1328
1341
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1329
1342
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -1568,8 +1581,8 @@ export type FormResponseAnswerAddress = FormResponseValueAnswerBuilder<'Address'
1568
1581
  }>;
1569
1582
  export type DatabaseSelectResponse = {
1570
1583
  text: string;
1571
- databaseId: string;
1572
- recordId: string;
1584
+ databaseId?: string;
1585
+ recordId?: string;
1573
1586
  };
1574
1587
  export type MedicationResponse = {
1575
1588
  displayTerm: string;
@@ -1608,6 +1621,7 @@ export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height',
1608
1621
  feet: number;
1609
1622
  inches: number;
1610
1623
  }>;
1624
+ export type FormResponseAnswerRedirect = FormResponseValueAnswerBuilder<'Redirect', string>;
1611
1625
  export type FormResponseAnswerSignatureValue = {
1612
1626
  fullName: string;
1613
1627
  signed: boolean;
@@ -1627,7 +1641,7 @@ export type FormResponseAnswerFileValue = {
1627
1641
  };
1628
1642
  export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
1629
1643
  export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
1630
- export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight);
1644
+ export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect);
1631
1645
  export type FormResponseValue = {
1632
1646
  fieldId: string;
1633
1647
  fieldTitle: string;
@@ -1665,6 +1679,7 @@ export type AnswerForType = {
1665
1679
  'Insurance': FormResponseAnswerInsurance['value'];
1666
1680
  'Appointment Booking': FormResponseAnswerAppointmentBooking['value'];
1667
1681
  'Height': FormResponseAnswerHeight['value'];
1682
+ 'Redirect': FormResponseAnswerRedirect['value'];
1668
1683
  };
1669
1684
  export interface FormResponse_readonly extends ClientRecord {
1670
1685
  openedAt?: Date;
@@ -2526,7 +2541,7 @@ export type PortalBlock = PortalBlockForType[PortalBlockType];
2526
2541
  export interface PortalCustomization_readonly extends ClientRecord {
2527
2542
  }
2528
2543
  export interface PortalCustomization_required {
2529
- page: PortalPage;
2544
+ page: PortalPage | string;
2530
2545
  }
2531
2546
  export interface PortalCustomization_updatesDisabled {
2532
2547
  }
@@ -2536,6 +2551,9 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
2536
2551
  disabled?: boolean;
2537
2552
  mobileBottomNavigationPosition?: number;
2538
2553
  headerImageURL?: string;
2554
+ iframeURL?: string;
2555
+ iconURL?: string;
2556
+ activeIconURL?: string;
2539
2557
  }
2540
2558
  export declare const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000;
2541
2559
  export declare const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: {
@@ -2700,6 +2718,7 @@ export type UserUIRestrictions = {
2700
2718
  hideCareplan?: boolean;
2701
2719
  hideUnsubmittedForms?: boolean;
2702
2720
  hideMergeEndusers?: boolean;
2721
+ hideQueuedTicketsViewer?: boolean;
2703
2722
  };
2704
2723
  export interface RoleBasedAccessPermission_readonly extends ClientRecord {
2705
2724
  }