@tellescope/types-models 1.178.0 → 1.180.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 +30 -6
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +30 -6
- 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 +3 -3
- package/src/index.ts +27 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -191,6 +191,8 @@ export type OrganizationSettings = {
|
|
|
191
191
|
showDiagnoses?: boolean;
|
|
192
192
|
showDeviceOrders?: boolean;
|
|
193
193
|
requireObservationInvalidationReason?: boolean;
|
|
194
|
+
defaultHideFilesFromPortal?: boolean;
|
|
195
|
+
hideUnorderedFullscriptMeds?: boolean;
|
|
194
196
|
};
|
|
195
197
|
tickets?: {
|
|
196
198
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -228,6 +230,9 @@ export type OrganizationSettings = {
|
|
|
228
230
|
users?: {
|
|
229
231
|
sessionDurationInHours?: number;
|
|
230
232
|
};
|
|
233
|
+
integrations?: {
|
|
234
|
+
vitalLabOrderPhysicianOptional?: boolean;
|
|
235
|
+
};
|
|
231
236
|
};
|
|
232
237
|
export type OrganizationLimits = {
|
|
233
238
|
[K in ModelName]?: number;
|
|
@@ -397,6 +402,8 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
397
402
|
chargebeeEnvironments?: string[];
|
|
398
403
|
customNotificationTypes?: string[];
|
|
399
404
|
hasConnectedMedplum?: boolean;
|
|
405
|
+
customPortalLoginEmailSubject?: string;
|
|
406
|
+
customPortalLoginEmailHTML?: string;
|
|
400
407
|
}
|
|
401
408
|
export type OrganizationTheme = {
|
|
402
409
|
name: string;
|
|
@@ -1031,6 +1038,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
1031
1038
|
assignedTo?: string[];
|
|
1032
1039
|
canvasId?: string;
|
|
1033
1040
|
discussionRoomId?: string;
|
|
1041
|
+
markedUnreadForAll?: boolean;
|
|
1034
1042
|
}
|
|
1035
1043
|
export interface SMSMessage_readonly extends ClientRecord {
|
|
1036
1044
|
delivered: boolean;
|
|
@@ -1086,6 +1094,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
1086
1094
|
canvasId?: string;
|
|
1087
1095
|
discussionRoomId?: string;
|
|
1088
1096
|
mediaURLs?: string[];
|
|
1097
|
+
markedUnreadForAll?: boolean;
|
|
1089
1098
|
}
|
|
1090
1099
|
export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
|
|
1091
1100
|
export interface ChatRoom_readonly extends ClientRecord {
|
|
@@ -1104,6 +1113,7 @@ export interface ChatRoom_required {
|
|
|
1104
1113
|
export interface ChatRoom_updatesDisabled {
|
|
1105
1114
|
}
|
|
1106
1115
|
export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom_updatesDisabled {
|
|
1116
|
+
markedUnreadForAll?: boolean;
|
|
1107
1117
|
description?: string;
|
|
1108
1118
|
type?: ChatRoomType;
|
|
1109
1119
|
userIds?: string[];
|
|
@@ -1127,6 +1137,7 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
|
|
|
1127
1137
|
source?: string;
|
|
1128
1138
|
externalId?: string;
|
|
1129
1139
|
references?: RelatedRecord[];
|
|
1140
|
+
journeyId?: string;
|
|
1130
1141
|
}
|
|
1131
1142
|
export type ChatAttachmentType = 'image' | 'video' | 'file' | string;
|
|
1132
1143
|
export type ChatAttachment = {
|
|
@@ -1176,6 +1187,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1176
1187
|
references?: RelatedRecord[];
|
|
1177
1188
|
sendAt?: Date | '';
|
|
1178
1189
|
isDraft?: boolean;
|
|
1190
|
+
journeyId?: string;
|
|
1179
1191
|
}
|
|
1180
1192
|
export type MessageTemplateType = 'enduser' | 'Reply' | 'team';
|
|
1181
1193
|
export type MessageTemplateMode = 'html' | 'richtext';
|
|
@@ -1201,6 +1213,7 @@ export interface MessageTemplate extends MessageTemplate_readonly, MessageTempla
|
|
|
1201
1213
|
hideFromCompose?: boolean;
|
|
1202
1214
|
tags?: string[];
|
|
1203
1215
|
archivedAt?: Date | '';
|
|
1216
|
+
mmsAttachmentURLs?: string[];
|
|
1204
1217
|
}
|
|
1205
1218
|
export interface MessageTemplateSnippet_readonly extends ClientRecord {
|
|
1206
1219
|
}
|
|
@@ -1397,6 +1410,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1397
1410
|
discussionRoomId?: string;
|
|
1398
1411
|
source?: string;
|
|
1399
1412
|
externalId?: string;
|
|
1413
|
+
hiddenFromTimeline?: boolean;
|
|
1400
1414
|
}
|
|
1401
1415
|
export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1402
1416
|
export type FormFieldComplexType = "Conditions" | "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Chargebee" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
|
|
@@ -1651,6 +1665,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1651
1665
|
allowPortalSubmission?: boolean;
|
|
1652
1666
|
canvasNoteCoding?: Partial<CanvasCoding>;
|
|
1653
1667
|
syncToCanvasAsDataImport?: boolean;
|
|
1668
|
+
matchCareTeamTagsForCanvasPractitionerResolution?: ListOfStringsWithQualifier;
|
|
1654
1669
|
}
|
|
1655
1670
|
export interface FormGroup_readonly extends ClientRecord {
|
|
1656
1671
|
}
|
|
@@ -1984,6 +1999,7 @@ export interface FormResponse_updatesDisabled {
|
|
|
1984
1999
|
automationStepId?: string;
|
|
1985
2000
|
}
|
|
1986
2001
|
export interface FormResponse extends FormResponse_readonly, FormResponse_required, FormResponse_updatesDisabled, EnduserPortalVisibility {
|
|
2002
|
+
hiddenFromTimeline?: boolean;
|
|
1987
2003
|
draftSavedAt?: Date;
|
|
1988
2004
|
draftSavedBy?: string;
|
|
1989
2005
|
sharedVia?: CommunicationsChannel;
|
|
@@ -3232,6 +3248,7 @@ export interface PhoneCall_required {
|
|
|
3232
3248
|
export interface PhoneCall_updatesDisabled {
|
|
3233
3249
|
}
|
|
3234
3250
|
export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, PhoneCall_updatesDisabled {
|
|
3251
|
+
markedUnreadForAll?: boolean;
|
|
3235
3252
|
enduserId: string;
|
|
3236
3253
|
externalId: string;
|
|
3237
3254
|
from: string;
|
|
@@ -3340,6 +3357,12 @@ export type AnalyticsQueryInfoForType = {
|
|
|
3340
3357
|
export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType;
|
|
3341
3358
|
export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType];
|
|
3342
3359
|
export type ListQueryQualifier = 'All Of' | 'One Of';
|
|
3360
|
+
export type AnalyticsEnduserFilterField = {
|
|
3361
|
+
key: string;
|
|
3362
|
+
value: string;
|
|
3363
|
+
operator?: string;
|
|
3364
|
+
range?: DateRange | '';
|
|
3365
|
+
};
|
|
3343
3366
|
export type AnalyticsQueryFilterForType = {
|
|
3344
3367
|
"Endusers": {
|
|
3345
3368
|
activeSince?: Date | '';
|
|
@@ -3348,12 +3371,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3348
3371
|
formIds: string[];
|
|
3349
3372
|
formResponseCondition?: CompoundFilter<string>;
|
|
3350
3373
|
};
|
|
3351
|
-
fields?:
|
|
3352
|
-
key: string;
|
|
3353
|
-
value: string;
|
|
3354
|
-
operator?: string;
|
|
3355
|
-
range?: DateRange | '';
|
|
3356
|
-
}[];
|
|
3374
|
+
fields?: AnalyticsEnduserFilterField[];
|
|
3357
3375
|
gender?: TellescopeGender;
|
|
3358
3376
|
assignedTo?: {
|
|
3359
3377
|
qualifier: ListQueryQualifier;
|
|
@@ -3384,6 +3402,8 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3384
3402
|
"Tickets": {
|
|
3385
3403
|
titles?: string[];
|
|
3386
3404
|
closeReasons?: string[];
|
|
3405
|
+
userTags?: ListOfStringsWithQualifier;
|
|
3406
|
+
enduserFields?: AnalyticsEnduserFilterField[];
|
|
3387
3407
|
};
|
|
3388
3408
|
"Phone Calls": {};
|
|
3389
3409
|
"Meetings": {};
|
|
@@ -3414,6 +3434,7 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3414
3434
|
"Calendar Events": {
|
|
3415
3435
|
Type: boolean;
|
|
3416
3436
|
"Scheduled By"?: boolean;
|
|
3437
|
+
alsoGroupByHost?: boolean;
|
|
3417
3438
|
} & EnduserGrouping & {
|
|
3418
3439
|
Enduser: string;
|
|
3419
3440
|
};
|
|
@@ -3513,6 +3534,7 @@ export declare const resource_to_modelName: {
|
|
|
3513
3534
|
};
|
|
3514
3535
|
export type AnalyticsQueryOptions = {
|
|
3515
3536
|
createdRange?: DateRange;
|
|
3537
|
+
createdAvailabilities?: WeeklyAvailability[];
|
|
3516
3538
|
updatedRange?: DateRange;
|
|
3517
3539
|
overrideGlobalRange?: boolean;
|
|
3518
3540
|
groupByCareTeam?: boolean;
|
|
@@ -4130,6 +4152,7 @@ export interface TicketThreadComment extends TicketThreadComment_readonly, Ticke
|
|
|
4130
4152
|
hiddenForAll?: boolean;
|
|
4131
4153
|
ticketIds?: string[];
|
|
4132
4154
|
tags?: string[];
|
|
4155
|
+
markedUnreadForAll?: boolean;
|
|
4133
4156
|
}
|
|
4134
4157
|
export interface Configuration_readonly extends ClientRecord {
|
|
4135
4158
|
}
|
|
@@ -4311,6 +4334,7 @@ export interface GroupMMSConversation_updatesDisabled {
|
|
|
4311
4334
|
export interface GroupMMSConversation_required {
|
|
4312
4335
|
}
|
|
4313
4336
|
export interface GroupMMSConversation extends GroupMMSConversation_readonly, GroupMMSConversation_required, GroupMMSConversation_updatesDisabled {
|
|
4337
|
+
markedUnreadForAll?: boolean;
|
|
4314
4338
|
}
|
|
4315
4339
|
export type VitalComparisons = {
|
|
4316
4340
|
'Less Than': {
|