@tellescope/types-models 1.103.2 → 1.104.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 +22 -5
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +22 -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 +23 -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'
|
|
@@ -1377,6 +1388,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1377
1388
|
includeGroupNumber?: boolean,
|
|
1378
1389
|
holdAppointmentMinutes?: number,
|
|
1379
1390
|
rangeStepSize?: number,
|
|
1391
|
+
redirectFormId?: string,
|
|
1380
1392
|
}
|
|
1381
1393
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>
|
|
1382
1394
|
|
|
@@ -1627,8 +1639,8 @@ export type FormResponseAnswerAddress = FormResponseValueAnswerBuilder<'Address'
|
|
|
1627
1639
|
}>
|
|
1628
1640
|
export type DatabaseSelectResponse = {
|
|
1629
1641
|
text: string,
|
|
1630
|
-
databaseId
|
|
1631
|
-
recordId
|
|
1642
|
+
databaseId?: string,
|
|
1643
|
+
recordId?: string,
|
|
1632
1644
|
}
|
|
1633
1645
|
export type MedicationResponse = {
|
|
1634
1646
|
displayTerm: string,
|
|
@@ -1665,6 +1677,7 @@ export type FormResponseAnswerRelatedContacts = FormResponseValueAnswerBuilder<'
|
|
|
1665
1677
|
export type FormResponseAnswerAppointmentBooking = FormResponseValueAnswerBuilder<'Appointment Booking', string>
|
|
1666
1678
|
export type FormResponseAnswerInsurance = FormResponseValueAnswerBuilder<'Insurance', Partial<EnduserInsurance>>
|
|
1667
1679
|
export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height', { feet: number, inches: number }>
|
|
1680
|
+
export type FormResponseAnswerRedirect = FormResponseValueAnswerBuilder<'Redirect', string>
|
|
1668
1681
|
|
|
1669
1682
|
export type FormResponseAnswerSignatureValue = {
|
|
1670
1683
|
fullName: string,
|
|
@@ -1715,6 +1728,7 @@ export type FormResponseValueAnswer = (
|
|
|
1715
1728
|
| FormResponseAnswerInsurance
|
|
1716
1729
|
| FormResponseAnswerAppointmentBooking
|
|
1717
1730
|
| FormResponseAnswerHeight
|
|
1731
|
+
| FormResponseAnswerRedirect
|
|
1718
1732
|
)
|
|
1719
1733
|
|
|
1720
1734
|
export type FormResponseValue = {
|
|
@@ -1755,6 +1769,7 @@ export type AnswerForType = {
|
|
|
1755
1769
|
'Insurance': FormResponseAnswerInsurance['value']
|
|
1756
1770
|
'Appointment Booking': FormResponseAnswerAppointmentBooking['value']
|
|
1757
1771
|
'Height': FormResponseAnswerHeight['value']
|
|
1772
|
+
'Redirect': FormResponseAnswerRedirect['value']
|
|
1758
1773
|
}
|
|
1759
1774
|
|
|
1760
1775
|
export interface FormResponse_readonly extends ClientRecord {
|
|
@@ -2591,7 +2606,7 @@ export type PortalBlock = PortalBlockForType[PortalBlockType]
|
|
|
2591
2606
|
|
|
2592
2607
|
export interface PortalCustomization_readonly extends ClientRecord { }
|
|
2593
2608
|
export interface PortalCustomization_required {
|
|
2594
|
-
page: PortalPage,
|
|
2609
|
+
page: PortalPage | string,
|
|
2595
2610
|
}
|
|
2596
2611
|
export interface PortalCustomization_updatesDisabled {}
|
|
2597
2612
|
export interface PortalCustomization extends PortalCustomization_readonly, PortalCustomization_required, PortalCustomization_updatesDisabled {
|
|
@@ -2600,6 +2615,9 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
|
|
|
2600
2615
|
disabled?: boolean,
|
|
2601
2616
|
mobileBottomNavigationPosition?: number,
|
|
2602
2617
|
headerImageURL?: string,
|
|
2618
|
+
iframeURL?: string,
|
|
2619
|
+
iconURL?: string,
|
|
2620
|
+
activeIconURL?: string,
|
|
2603
2621
|
}
|
|
2604
2622
|
export const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000
|
|
2605
2623
|
export const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: { [K in PortalPage]: number } = {
|