@tellescope/types-models 1.103.0 → 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/lib/cjs/index.d.ts
CHANGED
|
@@ -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> = {
|
|
@@ -1324,6 +1335,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1324
1335
|
includeGroupNumber?: boolean;
|
|
1325
1336
|
holdAppointmentMinutes?: number;
|
|
1326
1337
|
rangeStepSize?: number;
|
|
1338
|
+
redirectFormId?: string;
|
|
1327
1339
|
};
|
|
1328
1340
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1329
1341
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1568,8 +1580,8 @@ export type FormResponseAnswerAddress = FormResponseValueAnswerBuilder<'Address'
|
|
|
1568
1580
|
}>;
|
|
1569
1581
|
export type DatabaseSelectResponse = {
|
|
1570
1582
|
text: string;
|
|
1571
|
-
databaseId
|
|
1572
|
-
recordId
|
|
1583
|
+
databaseId?: string;
|
|
1584
|
+
recordId?: string;
|
|
1573
1585
|
};
|
|
1574
1586
|
export type MedicationResponse = {
|
|
1575
1587
|
displayTerm: string;
|
|
@@ -1608,6 +1620,7 @@ export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height',
|
|
|
1608
1620
|
feet: number;
|
|
1609
1621
|
inches: number;
|
|
1610
1622
|
}>;
|
|
1623
|
+
export type FormResponseAnswerRedirect = FormResponseValueAnswerBuilder<'Redirect', string>;
|
|
1611
1624
|
export type FormResponseAnswerSignatureValue = {
|
|
1612
1625
|
fullName: string;
|
|
1613
1626
|
signed: boolean;
|
|
@@ -1627,7 +1640,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
1627
1640
|
};
|
|
1628
1641
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
1629
1642
|
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);
|
|
1643
|
+
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
1644
|
export type FormResponseValue = {
|
|
1632
1645
|
fieldId: string;
|
|
1633
1646
|
fieldTitle: string;
|
|
@@ -1665,6 +1678,7 @@ export type AnswerForType = {
|
|
|
1665
1678
|
'Insurance': FormResponseAnswerInsurance['value'];
|
|
1666
1679
|
'Appointment Booking': FormResponseAnswerAppointmentBooking['value'];
|
|
1667
1680
|
'Height': FormResponseAnswerHeight['value'];
|
|
1681
|
+
'Redirect': FormResponseAnswerRedirect['value'];
|
|
1668
1682
|
};
|
|
1669
1683
|
export interface FormResponse_readonly extends ClientRecord {
|
|
1670
1684
|
openedAt?: Date;
|
|
@@ -2526,7 +2540,7 @@ export type PortalBlock = PortalBlockForType[PortalBlockType];
|
|
|
2526
2540
|
export interface PortalCustomization_readonly extends ClientRecord {
|
|
2527
2541
|
}
|
|
2528
2542
|
export interface PortalCustomization_required {
|
|
2529
|
-
page: PortalPage;
|
|
2543
|
+
page: PortalPage | string;
|
|
2530
2544
|
}
|
|
2531
2545
|
export interface PortalCustomization_updatesDisabled {
|
|
2532
2546
|
}
|
|
@@ -2536,6 +2550,9 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
|
|
|
2536
2550
|
disabled?: boolean;
|
|
2537
2551
|
mobileBottomNavigationPosition?: number;
|
|
2538
2552
|
headerImageURL?: string;
|
|
2553
|
+
iframeURL?: string;
|
|
2554
|
+
iconURL?: string;
|
|
2555
|
+
activeIconURL?: string;
|
|
2539
2556
|
}
|
|
2540
2557
|
export declare const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000;
|
|
2541
2558
|
export declare const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: {
|