@tellescope/types-models 1.99.0 → 1.101.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 +23 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +23 -1
- 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 +19 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -284,6 +284,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
284
284
|
hasConnectedPagerDuty?: boolean;
|
|
285
285
|
hasConnectedSmartMeter?: boolean;
|
|
286
286
|
hasConnectedAthena?: boolean;
|
|
287
|
+
hasConnectedDocsumo?: boolean;
|
|
287
288
|
hasConfiguredZoom?: boolean;
|
|
288
289
|
hasTicketQueues?: boolean;
|
|
289
290
|
vitalTeamId?: string;
|
|
@@ -875,6 +876,7 @@ export interface Email_updatesDisabled {
|
|
|
875
876
|
userId: string;
|
|
876
877
|
}
|
|
877
878
|
export interface Email extends Email_required, Email_readonly, Email_updatesDisabled, TextCommunication {
|
|
879
|
+
isAutoreply?: boolean;
|
|
878
880
|
replyTo?: string | null;
|
|
879
881
|
isBounce?: boolean;
|
|
880
882
|
via?: string;
|
|
@@ -927,6 +929,7 @@ export interface SMSMessage_updatesDisabled {
|
|
|
927
929
|
logOnly?: boolean;
|
|
928
930
|
}
|
|
929
931
|
export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SMSMessage_updatesDisabled, TextCommunication, WithLinkOpenTrackingIds {
|
|
932
|
+
isAutoreply?: boolean;
|
|
930
933
|
userId?: string;
|
|
931
934
|
readBy?: {
|
|
932
935
|
[index: string]: Date;
|
|
@@ -1028,6 +1031,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1028
1031
|
userId?: string;
|
|
1029
1032
|
enduserId?: string;
|
|
1030
1033
|
canvasId?: string;
|
|
1034
|
+
isAutoreply?: boolean;
|
|
1031
1035
|
}
|
|
1032
1036
|
export type MessageTemplateType = 'enduser' | 'Reply' | 'team';
|
|
1033
1037
|
export type MessageTemplateMode = 'html' | 'richtext';
|
|
@@ -1077,6 +1081,8 @@ export interface File extends File_readonly, File_required, File_updatesDisabled
|
|
|
1077
1081
|
hiddenFromEnduser?: boolean;
|
|
1078
1082
|
source?: string;
|
|
1079
1083
|
isCalledOut?: boolean;
|
|
1084
|
+
ocrType?: string;
|
|
1085
|
+
references?: RelatedRecord[];
|
|
1080
1086
|
}
|
|
1081
1087
|
export type TicketActionBuilder<T, I> = {
|
|
1082
1088
|
type: T;
|
|
@@ -1165,6 +1171,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1165
1171
|
phoneCallId?: string;
|
|
1166
1172
|
calendarEventId?: string;
|
|
1167
1173
|
observationId?: string;
|
|
1174
|
+
tags?: string[];
|
|
1168
1175
|
}
|
|
1169
1176
|
export type AttendeeInfo = {
|
|
1170
1177
|
ExternalUserId: string;
|
|
@@ -1309,6 +1316,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1309
1316
|
autoAdvance?: boolean;
|
|
1310
1317
|
prefillSignature?: boolean;
|
|
1311
1318
|
includeGroupNumber?: boolean;
|
|
1319
|
+
holdAppointmentMinutes?: number;
|
|
1312
1320
|
};
|
|
1313
1321
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1314
1322
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1387,6 +1395,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1387
1395
|
intakePhone?: 'required' | 'optional' | 'hidden';
|
|
1388
1396
|
intakeDateOfBirth?: 'required' | 'optional' | 'hidden';
|
|
1389
1397
|
intakeState?: 'required' | 'optional' | 'hidden';
|
|
1398
|
+
intakeGender?: 'required' | 'optional' | 'hidden';
|
|
1390
1399
|
thanksMessage?: string;
|
|
1391
1400
|
htmlThanksMessage?: string;
|
|
1392
1401
|
type?: FormType;
|
|
@@ -1815,6 +1824,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1815
1824
|
canvasCoding?: CanvasCoding;
|
|
1816
1825
|
canvasLocationId?: string;
|
|
1817
1826
|
completedAt?: Date | '';
|
|
1827
|
+
holdUntil?: Date;
|
|
1828
|
+
holdFormResponseId?: string;
|
|
1818
1829
|
}
|
|
1819
1830
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1820
1831
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2199,6 +2210,7 @@ export type CreateTicketActionInfo = {
|
|
|
2199
2210
|
reminders?: TicketReminder[];
|
|
2200
2211
|
priority?: number;
|
|
2201
2212
|
preserveContext?: boolean;
|
|
2213
|
+
tags?: string[];
|
|
2202
2214
|
};
|
|
2203
2215
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage>;
|
|
2204
2216
|
export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
@@ -2383,6 +2395,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2383
2395
|
classification: string;
|
|
2384
2396
|
}[];
|
|
2385
2397
|
beforeMeal?: boolean;
|
|
2398
|
+
dontTrigger?: boolean;
|
|
2386
2399
|
}
|
|
2387
2400
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2388
2401
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -2826,6 +2839,7 @@ export type EnduserGrouping = {
|
|
|
2826
2839
|
"Assigned To"?: boolean;
|
|
2827
2840
|
Tags?: boolean;
|
|
2828
2841
|
Age?: boolean;
|
|
2842
|
+
Phone?: boolean;
|
|
2829
2843
|
State?: string;
|
|
2830
2844
|
};
|
|
2831
2845
|
export type AnalyticsQueryGroupingForType = {
|
|
@@ -2982,6 +2996,7 @@ export type EnduserProfileViewBlockBuilder<T, I> = {
|
|
|
2982
2996
|
type: T;
|
|
2983
2997
|
info: I;
|
|
2984
2998
|
width?: string;
|
|
2999
|
+
maxHeight?: number;
|
|
2985
3000
|
};
|
|
2986
3001
|
export type EnduserProfileViewBlocks = {
|
|
2987
3002
|
"Field Group": EnduserProfileViewBlockBuilder<"Field Group", {
|
|
@@ -3042,6 +3057,9 @@ export type AutomationTriggerActions = {
|
|
|
3042
3057
|
limitToOneUser?: boolean;
|
|
3043
3058
|
}>;
|
|
3044
3059
|
"Canvas: Add Patient": AutomationTriggerActionBuilder<'Canvas: Add Patient', {}>;
|
|
3060
|
+
"Zus: Delete Enrollment": AutomationTriggerActionBuilder<'Zus: Delete Enrollment', {
|
|
3061
|
+
packageId: string;
|
|
3062
|
+
}>;
|
|
3045
3063
|
};
|
|
3046
3064
|
export type AutomationTriggerActionType = keyof AutomationTriggerActions;
|
|
3047
3065
|
export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
|
|
@@ -3121,7 +3139,11 @@ export type AutomationTriggerEvents = {
|
|
|
3121
3139
|
titles?: string[];
|
|
3122
3140
|
}, {}>;
|
|
3123
3141
|
'Message Delivery Failure': AutomationTriggerEventBuilder<"Message Delivery Failure", {}, {}>;
|
|
3124
|
-
'Incoming Message
|
|
3142
|
+
'Incoming Message': AutomationTriggerEventBuilder<"Incoming Message", {
|
|
3143
|
+
noCareTeam?: boolean;
|
|
3144
|
+
destinations?: string[];
|
|
3145
|
+
channels?: string[];
|
|
3146
|
+
}, {}>;
|
|
3125
3147
|
'Pregnancy Ended': AutomationTriggerEventBuilder<"Pregnancy Ended", {
|
|
3126
3148
|
reason?: string;
|
|
3127
3149
|
}, {}>;
|