@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.
- package/lib/cjs/index.d.ts +24 -5
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +24 -5
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +25 -5
package/src/index.ts
CHANGED
|
@@ -114,7 +114,7 @@ export type PortalSettings = {
|
|
|
114
114
|
allowEnduserInitiatedChat?: boolean,
|
|
115
115
|
enduserInitiatedChatDefaultSubject?: string,
|
|
116
116
|
sendEmailNotificationsToEnduser?: boolean,
|
|
117
|
-
}
|
|
117
|
+
},
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
export type WithLinkOpenTrackingIds = { linkOpenTrackingIds: string[] }
|
|
@@ -163,6 +163,7 @@ export type OrganizationSettings = {
|
|
|
163
163
|
customFields?: CustomEnduserField[],
|
|
164
164
|
disableAdhocFields?: boolean,
|
|
165
165
|
autoReplyEnabled?: boolean,
|
|
166
|
+
disableAutoreplyForCustomEntities?: boolean,
|
|
166
167
|
tags?: string[],
|
|
167
168
|
showFreeNote?: boolean,
|
|
168
169
|
canDeleteFreeNote?: boolean,
|
|
@@ -428,6 +429,7 @@ export interface UserSession extends Session, OrganizationLimits { // User joine
|
|
|
428
429
|
duration?: number,
|
|
429
430
|
doseSpotUserId?: string,
|
|
430
431
|
availablePhoneNumbers: string[],
|
|
432
|
+
availableFromEmails: string[],
|
|
431
433
|
}
|
|
432
434
|
|
|
433
435
|
export type StateCredentialInfo = {
|
|
@@ -504,6 +506,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
504
506
|
autoReplyEnabled?: boolean,
|
|
505
507
|
twilioNumber?: string;
|
|
506
508
|
availableFromNumbers?: string[],
|
|
509
|
+
availableFromEmails?: string[],
|
|
507
510
|
hashedPass?: string,
|
|
508
511
|
pushNotificationIosTokens?: string[],
|
|
509
512
|
pushNotificationDestinations?: string[],
|
|
@@ -718,6 +721,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
718
721
|
devices?: {
|
|
719
722
|
title: string,
|
|
720
723
|
id: string,
|
|
724
|
+
disabled?: boolean,
|
|
721
725
|
}[],
|
|
722
726
|
salesforceId?: string,
|
|
723
727
|
athenaPracticeId?: string,
|
|
@@ -983,6 +987,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
983
987
|
destination?: string[],
|
|
984
988
|
assignedTo?: string[],
|
|
985
989
|
canvasId?: string,
|
|
990
|
+
discussionRoomId?: string,
|
|
986
991
|
// sentAt: string, // only outgoing
|
|
987
992
|
}
|
|
988
993
|
|
|
@@ -1029,6 +1034,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
1029
1034
|
assignedTo?: string[],
|
|
1030
1035
|
templatedMessage?: string,
|
|
1031
1036
|
canvasId?: string,
|
|
1037
|
+
discussionRoomId?: string,
|
|
1032
1038
|
// usingPublicNumber?: boolean, // flagged on outgoing messages from public number
|
|
1033
1039
|
// sentAt: string, // only outgoing
|
|
1034
1040
|
}
|
|
@@ -1065,6 +1071,7 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
|
|
|
1065
1071
|
fields?: Indexable<string | CustomField>,
|
|
1066
1072
|
suggestedReply?: string,
|
|
1067
1073
|
assignedTo?: string[],
|
|
1074
|
+
discussionRoomId?: string,
|
|
1068
1075
|
}
|
|
1069
1076
|
|
|
1070
1077
|
export type ChatAttachmentType = 'image' | 'video' | 'file' | string
|
|
@@ -1183,6 +1190,7 @@ export type RoundRobinAssignmentInfo = {
|
|
|
1183
1190
|
|
|
1184
1191
|
export type TicketReminder = {
|
|
1185
1192
|
msBeforeDueDate: number,
|
|
1193
|
+
queueId?: string,
|
|
1186
1194
|
didRemind?: boolean,
|
|
1187
1195
|
}
|
|
1188
1196
|
export interface Ticket_readonly extends ClientRecord {
|
|
@@ -1239,6 +1247,9 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1239
1247
|
calendarEventId?: string,
|
|
1240
1248
|
observationId?: string,
|
|
1241
1249
|
tags?: string[],
|
|
1250
|
+
restrictByState?: string,
|
|
1251
|
+
restrictByTags?: string[],
|
|
1252
|
+
restrictByTagsQualifier?: ListQueryQualifier,
|
|
1242
1253
|
}
|
|
1243
1254
|
|
|
1244
1255
|
export type AttendeeInfo = {
|
|
@@ -1282,7 +1293,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1282
1293
|
}
|
|
1283
1294
|
|
|
1284
1295
|
export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' /* date + time */ | 'dateString' | 'rating' | 'Time'
|
|
1285
|
-
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"
|
|
1296
|
+
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"
|
|
1286
1297
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType
|
|
1287
1298
|
|
|
1288
1299
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic'
|
|
@@ -1373,10 +1384,12 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1373
1384
|
addressFields?: string[], // supports specifying just 'state', for now
|
|
1374
1385
|
validStates?: string[],
|
|
1375
1386
|
autoAdvance?: boolean,
|
|
1387
|
+
autoSubmit?: boolean,
|
|
1376
1388
|
prefillSignature?: boolean,
|
|
1377
1389
|
includeGroupNumber?: boolean,
|
|
1378
1390
|
holdAppointmentMinutes?: number,
|
|
1379
1391
|
rangeStepSize?: number,
|
|
1392
|
+
redirectFormId?: string,
|
|
1380
1393
|
}
|
|
1381
1394
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>
|
|
1382
1395
|
|
|
@@ -1627,8 +1640,8 @@ export type FormResponseAnswerAddress = FormResponseValueAnswerBuilder<'Address'
|
|
|
1627
1640
|
}>
|
|
1628
1641
|
export type DatabaseSelectResponse = {
|
|
1629
1642
|
text: string,
|
|
1630
|
-
databaseId
|
|
1631
|
-
recordId
|
|
1643
|
+
databaseId?: string,
|
|
1644
|
+
recordId?: string,
|
|
1632
1645
|
}
|
|
1633
1646
|
export type MedicationResponse = {
|
|
1634
1647
|
displayTerm: string,
|
|
@@ -1665,6 +1678,7 @@ export type FormResponseAnswerRelatedContacts = FormResponseValueAnswerBuilder<'
|
|
|
1665
1678
|
export type FormResponseAnswerAppointmentBooking = FormResponseValueAnswerBuilder<'Appointment Booking', string>
|
|
1666
1679
|
export type FormResponseAnswerInsurance = FormResponseValueAnswerBuilder<'Insurance', Partial<EnduserInsurance>>
|
|
1667
1680
|
export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height', { feet: number, inches: number }>
|
|
1681
|
+
export type FormResponseAnswerRedirect = FormResponseValueAnswerBuilder<'Redirect', string>
|
|
1668
1682
|
|
|
1669
1683
|
export type FormResponseAnswerSignatureValue = {
|
|
1670
1684
|
fullName: string,
|
|
@@ -1715,6 +1729,7 @@ export type FormResponseValueAnswer = (
|
|
|
1715
1729
|
| FormResponseAnswerInsurance
|
|
1716
1730
|
| FormResponseAnswerAppointmentBooking
|
|
1717
1731
|
| FormResponseAnswerHeight
|
|
1732
|
+
| FormResponseAnswerRedirect
|
|
1718
1733
|
)
|
|
1719
1734
|
|
|
1720
1735
|
export type FormResponseValue = {
|
|
@@ -1755,6 +1770,7 @@ export type AnswerForType = {
|
|
|
1755
1770
|
'Insurance': FormResponseAnswerInsurance['value']
|
|
1756
1771
|
'Appointment Booking': FormResponseAnswerAppointmentBooking['value']
|
|
1757
1772
|
'Height': FormResponseAnswerHeight['value']
|
|
1773
|
+
'Redirect': FormResponseAnswerRedirect['value']
|
|
1758
1774
|
}
|
|
1759
1775
|
|
|
1760
1776
|
export interface FormResponse_readonly extends ClientRecord {
|
|
@@ -2591,7 +2607,7 @@ export type PortalBlock = PortalBlockForType[PortalBlockType]
|
|
|
2591
2607
|
|
|
2592
2608
|
export interface PortalCustomization_readonly extends ClientRecord { }
|
|
2593
2609
|
export interface PortalCustomization_required {
|
|
2594
|
-
page: PortalPage,
|
|
2610
|
+
page: PortalPage | string,
|
|
2595
2611
|
}
|
|
2596
2612
|
export interface PortalCustomization_updatesDisabled {}
|
|
2597
2613
|
export interface PortalCustomization extends PortalCustomization_readonly, PortalCustomization_required, PortalCustomization_updatesDisabled {
|
|
@@ -2600,6 +2616,9 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
|
|
|
2600
2616
|
disabled?: boolean,
|
|
2601
2617
|
mobileBottomNavigationPosition?: number,
|
|
2602
2618
|
headerImageURL?: string,
|
|
2619
|
+
iframeURL?: string,
|
|
2620
|
+
iconURL?: string,
|
|
2621
|
+
activeIconURL?: string,
|
|
2603
2622
|
}
|
|
2604
2623
|
export const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000
|
|
2605
2624
|
export const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: { [K in PortalPage]: number } = {
|
|
@@ -2762,6 +2781,7 @@ export type UserUIRestrictions = {
|
|
|
2762
2781
|
hideCareplan?: boolean,
|
|
2763
2782
|
hideUnsubmittedForms?: boolean,
|
|
2764
2783
|
hideMergeEndusers?: boolean,
|
|
2784
|
+
hideQueuedTicketsViewer?: boolean,
|
|
2765
2785
|
}
|
|
2766
2786
|
|
|
2767
2787
|
export interface RoleBasedAccessPermission_readonly extends ClientRecord {}
|