@tellescope/types-models 1.159.0 → 1.160.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 +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/lib/cjs/index.d.ts
CHANGED
|
@@ -787,6 +787,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
|
|
|
787
787
|
startedTakingAt?: Date | '';
|
|
788
788
|
stoppedTakingAt?: Date | '';
|
|
789
789
|
rxNormCode?: string;
|
|
790
|
+
fdbCode?: string;
|
|
790
791
|
dispensing?: {
|
|
791
792
|
quantity: number;
|
|
792
793
|
unit?: string;
|
|
@@ -796,6 +797,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
|
|
|
796
797
|
unit: string;
|
|
797
798
|
quantity?: string;
|
|
798
799
|
frequency?: string;
|
|
800
|
+
frequencyDescriptor?: string;
|
|
799
801
|
};
|
|
800
802
|
notes?: string;
|
|
801
803
|
pharmacyName?: string;
|
|
@@ -997,6 +999,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
997
999
|
hiddenBy?: {
|
|
998
1000
|
[index: string]: Date | '';
|
|
999
1001
|
};
|
|
1002
|
+
hiddenForAll?: boolean;
|
|
1000
1003
|
suggestedReply?: string;
|
|
1001
1004
|
tags?: string[];
|
|
1002
1005
|
batchId?: string;
|
|
@@ -1041,6 +1044,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
1041
1044
|
hiddenBy?: {
|
|
1042
1045
|
[index: string]: Date | '';
|
|
1043
1046
|
};
|
|
1047
|
+
hiddenForAll?: boolean;
|
|
1044
1048
|
error?: string;
|
|
1045
1049
|
journeyContext?: JourneyContext;
|
|
1046
1050
|
sendAt?: Date | '';
|
|
@@ -1134,6 +1138,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1134
1138
|
hiddenBy?: {
|
|
1135
1139
|
[index: string]: Date | '';
|
|
1136
1140
|
};
|
|
1141
|
+
hiddenForAll?: boolean;
|
|
1137
1142
|
attachments?: ChatAttachment[];
|
|
1138
1143
|
timestamp?: Date;
|
|
1139
1144
|
ticketIds?: string[];
|
|
@@ -1756,11 +1761,13 @@ export type MedicationResponse = {
|
|
|
1756
1761
|
otherDrug?: string;
|
|
1757
1762
|
drugSynonym?: string;
|
|
1758
1763
|
rxNormCode?: string;
|
|
1764
|
+
fdbCode?: string;
|
|
1759
1765
|
dosage?: {
|
|
1760
1766
|
value: string;
|
|
1761
1767
|
unit: string;
|
|
1762
1768
|
quantity?: string;
|
|
1763
1769
|
frequency?: string;
|
|
1770
|
+
frequencyDescriptor?: string;
|
|
1764
1771
|
};
|
|
1765
1772
|
NDCs?: string[];
|
|
1766
1773
|
reasonForTaking?: string;
|
|
@@ -1952,6 +1959,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
1952
1959
|
formsort?: string;
|
|
1953
1960
|
hideAfterUnsubmittedInMS?: number;
|
|
1954
1961
|
addenda?: Addendum[];
|
|
1962
|
+
canvasEncounterId?: string;
|
|
1955
1963
|
}
|
|
1956
1964
|
export interface WebHook_readonly extends ClientRecord {
|
|
1957
1965
|
}
|
|
@@ -2111,6 +2119,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2111
2119
|
previousStartTimes?: (number | string)[];
|
|
2112
2120
|
requirePortalCancelReason?: boolean;
|
|
2113
2121
|
startLinkToken?: string;
|
|
2122
|
+
canvasEncounterId?: string;
|
|
2114
2123
|
}
|
|
2115
2124
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2116
2125
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -3131,6 +3140,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
3131
3140
|
hiddenBy?: {
|
|
3132
3141
|
[index: string]: Date | '';
|
|
3133
3142
|
};
|
|
3143
|
+
hiddenForAll?: boolean;
|
|
3134
3144
|
ticketIds?: string[];
|
|
3135
3145
|
tags?: string[];
|
|
3136
3146
|
inputs?: string[];
|
|
@@ -3206,6 +3216,9 @@ export type AnalyticsQueryInfoForType = {
|
|
|
3206
3216
|
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
3207
3217
|
Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>;
|
|
3208
3218
|
};
|
|
3219
|
+
"Journey Logs": {
|
|
3220
|
+
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
3221
|
+
};
|
|
3209
3222
|
};
|
|
3210
3223
|
export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType;
|
|
3211
3224
|
export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType];
|
|
@@ -3264,6 +3277,9 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3264
3277
|
Files: {
|
|
3265
3278
|
names?: string[];
|
|
3266
3279
|
};
|
|
3280
|
+
"Journey Logs": {
|
|
3281
|
+
automationStepIds?: string[];
|
|
3282
|
+
};
|
|
3267
3283
|
};
|
|
3268
3284
|
export type EnduserGrouping = {
|
|
3269
3285
|
Field?: string;
|
|
@@ -3320,6 +3336,9 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3320
3336
|
"Files": {} & EnduserGrouping & {
|
|
3321
3337
|
Enduser: string;
|
|
3322
3338
|
};
|
|
3339
|
+
"Journey Logs": {} & EnduserGrouping & {
|
|
3340
|
+
Enduser: string;
|
|
3341
|
+
};
|
|
3323
3342
|
"Meetings": {
|
|
3324
3343
|
Host?: boolean;
|
|
3325
3344
|
};
|
|
@@ -3338,6 +3357,7 @@ export type AnalyticsQueryRangeKeyForType = {
|
|
|
3338
3357
|
"Medications": DefaultRangeKey;
|
|
3339
3358
|
"Files": DefaultRangeKey;
|
|
3340
3359
|
"Meetings": DefaultRangeKey;
|
|
3360
|
+
"Journey Logs": DefaultRangeKey;
|
|
3341
3361
|
};
|
|
3342
3362
|
export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At";
|
|
3343
3363
|
export type AnalyticsQueryRangeInterval = 'Hourly' | 'Daily' | 'Weekly' | 'Monthly';
|
|
@@ -3365,6 +3385,7 @@ export type AnalyticsQueryForType = {
|
|
|
3365
3385
|
"Medications": AnalyticsQueryBuilder<"Medications", AnalyticsQueryInfoForType['Medications'][keyof AnalyticsQueryInfoForType['Medications']], AnalyticsQueryFilterForType['Medications'], AnalyticsQueryGroupingForType['Medications'], AnalyticsQueryRangeKeyForType['Medications']>;
|
|
3366
3386
|
"Files": AnalyticsQueryBuilder<"Files", AnalyticsQueryInfoForType['Files'][keyof AnalyticsQueryInfoForType['Files']], AnalyticsQueryFilterForType['Files'], AnalyticsQueryGroupingForType['Files'], AnalyticsQueryRangeKeyForType['Files']>;
|
|
3367
3387
|
"Meetings": AnalyticsQueryBuilder<"Meetings", AnalyticsQueryInfoForType['Meetings'][keyof AnalyticsQueryInfoForType['Meetings']], AnalyticsQueryFilterForType['Meetings'], AnalyticsQueryGroupingForType['Meetings'], AnalyticsQueryRangeKeyForType['Meetings']>;
|
|
3388
|
+
"Journey Logs": AnalyticsQueryBuilder<"Journey Logs", AnalyticsQueryInfoForType['Journey Logs'][keyof AnalyticsQueryInfoForType['Journey Logs']], AnalyticsQueryFilterForType['Journey Logs'], AnalyticsQueryGroupingForType['Journey Logs'], AnalyticsQueryRangeKeyForType['Journey Logs']>;
|
|
3368
3389
|
};
|
|
3369
3390
|
export type AnalyticsQueryType = keyof AnalyticsQueryForType;
|
|
3370
3391
|
export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType];
|
|
@@ -3401,6 +3422,8 @@ export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_
|
|
|
3401
3422
|
truncationLength?: number;
|
|
3402
3423
|
showEllipsis?: boolean;
|
|
3403
3424
|
orderedLabels?: string[];
|
|
3425
|
+
visibleForRoles?: string[];
|
|
3426
|
+
visibleForUserIds?: string[];
|
|
3404
3427
|
}
|
|
3405
3428
|
export interface BackgroundError_readonly extends ClientRecord {
|
|
3406
3429
|
}
|
|
@@ -3957,6 +3980,7 @@ export interface TicketThreadComment extends TicketThreadComment_readonly, Ticke
|
|
|
3957
3980
|
hiddenBy?: {
|
|
3958
3981
|
[index: string]: Date | '';
|
|
3959
3982
|
};
|
|
3983
|
+
hiddenForAll?: boolean;
|
|
3960
3984
|
ticketIds?: string[];
|
|
3961
3985
|
tags?: string[];
|
|
3962
3986
|
}
|
|
@@ -4131,6 +4155,7 @@ export interface GroupMMSConversation_readonly extends ClientRecord {
|
|
|
4131
4155
|
hiddenBy?: {
|
|
4132
4156
|
[index: string]: Date | '';
|
|
4133
4157
|
};
|
|
4158
|
+
hiddenForAll?: boolean;
|
|
4134
4159
|
assignedTo?: string[];
|
|
4135
4160
|
}
|
|
4136
4161
|
export interface GroupMMSConversation_updatesDisabled {
|