@tellescope/types-models 1.159.0 → 1.160.1
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 +25 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +25 -0
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +29 -1
package/src/index.ts
CHANGED
|
@@ -841,6 +841,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
|
|
|
841
841
|
startedTakingAt?: Date | '',
|
|
842
842
|
stoppedTakingAt?: Date | '',
|
|
843
843
|
rxNormCode?: string,
|
|
844
|
+
fdbCode?: string,
|
|
844
845
|
dispensing?: {
|
|
845
846
|
quantity: number,
|
|
846
847
|
unit?: string,
|
|
@@ -850,6 +851,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
|
|
|
850
851
|
unit: string,
|
|
851
852
|
quantity?: string,
|
|
852
853
|
frequency?: string,
|
|
854
|
+
frequencyDescriptor?: string,
|
|
853
855
|
},
|
|
854
856
|
notes?: string,
|
|
855
857
|
pharmacyName?: string,
|
|
@@ -1065,6 +1067,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
1065
1067
|
ticketIds?: string[],
|
|
1066
1068
|
alternateToAddress?: string,
|
|
1067
1069
|
hiddenBy?: { [index: string] : Date | '' };
|
|
1070
|
+
hiddenForAll?: boolean,
|
|
1068
1071
|
suggestedReply?: string,
|
|
1069
1072
|
tags?: string[],
|
|
1070
1073
|
batchId?: string,
|
|
@@ -1105,6 +1108,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
1105
1108
|
userId?: string, // defaults to self, but should allow future options to send as other user
|
|
1106
1109
|
readBy?: { [index: string] : Date };
|
|
1107
1110
|
hiddenBy?: { [index: string] : Date | '' };
|
|
1111
|
+
hiddenForAll?: boolean,
|
|
1108
1112
|
error?: string,
|
|
1109
1113
|
journeyContext?: JourneyContext,
|
|
1110
1114
|
sendAt?: Date | '',
|
|
@@ -1196,6 +1200,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1196
1200
|
html?: string,
|
|
1197
1201
|
readBy?: { [index: string] : Date };
|
|
1198
1202
|
hiddenBy?: { [index: string] : Date | '' };
|
|
1203
|
+
hiddenForAll?: boolean,
|
|
1199
1204
|
attachments?: ChatAttachment[]
|
|
1200
1205
|
timestamp?: Date,
|
|
1201
1206
|
ticketIds?: string[],
|
|
@@ -1802,11 +1807,13 @@ export type MedicationResponse = {
|
|
|
1802
1807
|
otherDrug?: string,
|
|
1803
1808
|
drugSynonym?: string,
|
|
1804
1809
|
rxNormCode?: string,
|
|
1810
|
+
fdbCode?: string,
|
|
1805
1811
|
dosage?: {
|
|
1806
1812
|
value: string,
|
|
1807
1813
|
unit: string,
|
|
1808
1814
|
quantity?: string, // how many per frequency
|
|
1809
1815
|
frequency?: string,
|
|
1816
|
+
frequencyDescriptor?: string,
|
|
1810
1817
|
},
|
|
1811
1818
|
NDCs?: string[],
|
|
1812
1819
|
reasonForTaking?: string,
|
|
@@ -2037,7 +2044,8 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
2037
2044
|
discussionRoomId?: string,
|
|
2038
2045
|
formsort?: string,
|
|
2039
2046
|
hideAfterUnsubmittedInMS?: number,
|
|
2040
|
-
addenda?: Addendum[]
|
|
2047
|
+
addenda?: Addendum[],
|
|
2048
|
+
canvasEncounterId?: string,
|
|
2041
2049
|
}
|
|
2042
2050
|
|
|
2043
2051
|
export interface WebHook_readonly extends ClientRecord {}
|
|
@@ -2188,6 +2196,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2188
2196
|
previousStartTimes?: (number | string)[],
|
|
2189
2197
|
requirePortalCancelReason?: boolean,
|
|
2190
2198
|
startLinkToken?: string,
|
|
2199
|
+
canvasEncounterId?: string,
|
|
2191
2200
|
// isAllDay?: boolean,
|
|
2192
2201
|
}
|
|
2193
2202
|
|
|
@@ -3161,6 +3170,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
3161
3170
|
pinnedAt?: Date | '',
|
|
3162
3171
|
readBy?: { [index: string] : Date | '' };
|
|
3163
3172
|
hiddenBy?: { [index: string] : Date | '' };
|
|
3173
|
+
hiddenForAll?: boolean,
|
|
3164
3174
|
ticketIds?: string[],
|
|
3165
3175
|
tags?: string[],
|
|
3166
3176
|
inputs?: string[],
|
|
@@ -3213,6 +3223,7 @@ export type AnalyticsQueryInfoForType = {
|
|
|
3213
3223
|
Total: AnalyticsQueryInfoBuilder<'Total', undefined>,
|
|
3214
3224
|
Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>,
|
|
3215
3225
|
},
|
|
3226
|
+
"Journey Logs": { Total: AnalyticsQueryInfoBuilder<'Total', undefined> },
|
|
3216
3227
|
}
|
|
3217
3228
|
export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType
|
|
3218
3229
|
export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType]
|
|
@@ -3268,6 +3279,9 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3268
3279
|
Files: {
|
|
3269
3280
|
names?: string[],
|
|
3270
3281
|
},
|
|
3282
|
+
"Journey Logs": {
|
|
3283
|
+
automationStepIds?: string[],
|
|
3284
|
+
},
|
|
3271
3285
|
}
|
|
3272
3286
|
|
|
3273
3287
|
export type EnduserGrouping = {
|
|
@@ -3306,6 +3320,7 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3306
3320
|
"Emails": {} & EnduserGrouping & { Enduser: string },
|
|
3307
3321
|
"Medications": {} & EnduserGrouping & { Enduser: string },
|
|
3308
3322
|
"Files": {} & EnduserGrouping & { Enduser: string },
|
|
3323
|
+
"Journey Logs": {} & EnduserGrouping & { Enduser: string },
|
|
3309
3324
|
"Meetings": { Host?: boolean },
|
|
3310
3325
|
}
|
|
3311
3326
|
|
|
@@ -3323,6 +3338,7 @@ export type AnalyticsQueryRangeKeyForType = {
|
|
|
3323
3338
|
"Medications": DefaultRangeKey,
|
|
3324
3339
|
"Files": DefaultRangeKey,
|
|
3325
3340
|
"Meetings": DefaultRangeKey,
|
|
3341
|
+
"Journey Logs": DefaultRangeKey,
|
|
3326
3342
|
}
|
|
3327
3343
|
export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At"
|
|
3328
3344
|
|
|
@@ -3424,6 +3440,13 @@ export type AnalyticsQueryForType = {
|
|
|
3424
3440
|
AnalyticsQueryGroupingForType['Meetings'],
|
|
3425
3441
|
AnalyticsQueryRangeKeyForType['Meetings']
|
|
3426
3442
|
>,
|
|
3443
|
+
"Journey Logs": AnalyticsQueryBuilder<
|
|
3444
|
+
"Journey Logs",
|
|
3445
|
+
AnalyticsQueryInfoForType['Journey Logs'][keyof AnalyticsQueryInfoForType['Journey Logs']],
|
|
3446
|
+
AnalyticsQueryFilterForType['Journey Logs'],
|
|
3447
|
+
AnalyticsQueryGroupingForType['Journey Logs'],
|
|
3448
|
+
AnalyticsQueryRangeKeyForType['Journey Logs']
|
|
3449
|
+
>,
|
|
3427
3450
|
}
|
|
3428
3451
|
export type AnalyticsQueryType = keyof AnalyticsQueryForType
|
|
3429
3452
|
export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType]
|
|
@@ -3441,6 +3464,7 @@ export const resource_to_modelName: { [K in AnalyticsQueryType] : ModelName } =
|
|
|
3441
3464
|
Medications: "enduser_medications",
|
|
3442
3465
|
Files: "files",
|
|
3443
3466
|
Meetings: "meetings",
|
|
3467
|
+
"Journey Logs": "automated_actions",
|
|
3444
3468
|
}
|
|
3445
3469
|
|
|
3446
3470
|
export type AnalyticsQueryOptions = {
|
|
@@ -3475,6 +3499,8 @@ export interface AnalyticsFrame extends
|
|
|
3475
3499
|
truncationLength?: number,
|
|
3476
3500
|
showEllipsis?: boolean,
|
|
3477
3501
|
orderedLabels?: string[],
|
|
3502
|
+
visibleForRoles?: string[],
|
|
3503
|
+
visibleForUserIds?: string[],
|
|
3478
3504
|
}
|
|
3479
3505
|
|
|
3480
3506
|
|
|
@@ -3891,6 +3917,7 @@ export interface TicketThreadComment extends TicketThreadComment_readonly, Ticke
|
|
|
3891
3917
|
transcription?: string,
|
|
3892
3918
|
},
|
|
3893
3919
|
hiddenBy?: { [index: string] : Date | '' };
|
|
3920
|
+
hiddenForAll?: boolean,
|
|
3894
3921
|
ticketIds?: string[],
|
|
3895
3922
|
tags?: string[],
|
|
3896
3923
|
}
|
|
@@ -4057,6 +4084,7 @@ export interface GroupMMSConversation_readonly extends ClientRecord {
|
|
|
4057
4084
|
tags?: string[]
|
|
4058
4085
|
suggestedReply?: string,
|
|
4059
4086
|
hiddenBy?: { [index: string] : Date | '' };
|
|
4087
|
+
hiddenForAll?: boolean,
|
|
4060
4088
|
assignedTo?: string[],
|
|
4061
4089
|
}
|
|
4062
4090
|
export interface GroupMMSConversation_updatesDisabled {}
|