@tellescope/types-models 1.99.0 → 1.100.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 +17 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +17 -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 +12 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -875,6 +875,7 @@ export interface Email_updatesDisabled {
|
|
|
875
875
|
userId: string;
|
|
876
876
|
}
|
|
877
877
|
export interface Email extends Email_required, Email_readonly, Email_updatesDisabled, TextCommunication {
|
|
878
|
+
isAutoreply?: boolean;
|
|
878
879
|
replyTo?: string | null;
|
|
879
880
|
isBounce?: boolean;
|
|
880
881
|
via?: string;
|
|
@@ -927,6 +928,7 @@ export interface SMSMessage_updatesDisabled {
|
|
|
927
928
|
logOnly?: boolean;
|
|
928
929
|
}
|
|
929
930
|
export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SMSMessage_updatesDisabled, TextCommunication, WithLinkOpenTrackingIds {
|
|
931
|
+
isAutoreply?: boolean;
|
|
930
932
|
userId?: string;
|
|
931
933
|
readBy?: {
|
|
932
934
|
[index: string]: Date;
|
|
@@ -1028,6 +1030,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1028
1030
|
userId?: string;
|
|
1029
1031
|
enduserId?: string;
|
|
1030
1032
|
canvasId?: string;
|
|
1033
|
+
isAutoreply?: boolean;
|
|
1031
1034
|
}
|
|
1032
1035
|
export type MessageTemplateType = 'enduser' | 'Reply' | 'team';
|
|
1033
1036
|
export type MessageTemplateMode = 'html' | 'richtext';
|
|
@@ -1165,6 +1168,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1165
1168
|
phoneCallId?: string;
|
|
1166
1169
|
calendarEventId?: string;
|
|
1167
1170
|
observationId?: string;
|
|
1171
|
+
tags?: string[];
|
|
1168
1172
|
}
|
|
1169
1173
|
export type AttendeeInfo = {
|
|
1170
1174
|
ExternalUserId: string;
|
|
@@ -1387,6 +1391,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1387
1391
|
intakePhone?: 'required' | 'optional' | 'hidden';
|
|
1388
1392
|
intakeDateOfBirth?: 'required' | 'optional' | 'hidden';
|
|
1389
1393
|
intakeState?: 'required' | 'optional' | 'hidden';
|
|
1394
|
+
intakeGender?: 'required' | 'optional' | 'hidden';
|
|
1390
1395
|
thanksMessage?: string;
|
|
1391
1396
|
htmlThanksMessage?: string;
|
|
1392
1397
|
type?: FormType;
|
|
@@ -2199,6 +2204,7 @@ export type CreateTicketActionInfo = {
|
|
|
2199
2204
|
reminders?: TicketReminder[];
|
|
2200
2205
|
priority?: number;
|
|
2201
2206
|
preserveContext?: boolean;
|
|
2207
|
+
tags?: string[];
|
|
2202
2208
|
};
|
|
2203
2209
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage>;
|
|
2204
2210
|
export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
@@ -2383,6 +2389,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2383
2389
|
classification: string;
|
|
2384
2390
|
}[];
|
|
2385
2391
|
beforeMeal?: boolean;
|
|
2392
|
+
dontTrigger?: boolean;
|
|
2386
2393
|
}
|
|
2387
2394
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2388
2395
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -2826,6 +2833,7 @@ export type EnduserGrouping = {
|
|
|
2826
2833
|
"Assigned To"?: boolean;
|
|
2827
2834
|
Tags?: boolean;
|
|
2828
2835
|
Age?: boolean;
|
|
2836
|
+
Phone?: boolean;
|
|
2829
2837
|
State?: string;
|
|
2830
2838
|
};
|
|
2831
2839
|
export type AnalyticsQueryGroupingForType = {
|
|
@@ -2982,6 +2990,7 @@ export type EnduserProfileViewBlockBuilder<T, I> = {
|
|
|
2982
2990
|
type: T;
|
|
2983
2991
|
info: I;
|
|
2984
2992
|
width?: string;
|
|
2993
|
+
maxHeight?: number;
|
|
2985
2994
|
};
|
|
2986
2995
|
export type EnduserProfileViewBlocks = {
|
|
2987
2996
|
"Field Group": EnduserProfileViewBlockBuilder<"Field Group", {
|
|
@@ -3042,6 +3051,9 @@ export type AutomationTriggerActions = {
|
|
|
3042
3051
|
limitToOneUser?: boolean;
|
|
3043
3052
|
}>;
|
|
3044
3053
|
"Canvas: Add Patient": AutomationTriggerActionBuilder<'Canvas: Add Patient', {}>;
|
|
3054
|
+
"Zus: Delete Enrollment": AutomationTriggerActionBuilder<'Zus: Delete Enrollment', {
|
|
3055
|
+
packageId: string;
|
|
3056
|
+
}>;
|
|
3045
3057
|
};
|
|
3046
3058
|
export type AutomationTriggerActionType = keyof AutomationTriggerActions;
|
|
3047
3059
|
export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
|
|
@@ -3121,7 +3133,11 @@ export type AutomationTriggerEvents = {
|
|
|
3121
3133
|
titles?: string[];
|
|
3122
3134
|
}, {}>;
|
|
3123
3135
|
'Message Delivery Failure': AutomationTriggerEventBuilder<"Message Delivery Failure", {}, {}>;
|
|
3124
|
-
'Incoming Message
|
|
3136
|
+
'Incoming Message': AutomationTriggerEventBuilder<"Incoming Message", {
|
|
3137
|
+
noCareTeam?: boolean;
|
|
3138
|
+
destinations?: string[];
|
|
3139
|
+
channels?: string[];
|
|
3140
|
+
}, {}>;
|
|
3125
3141
|
'Pregnancy Ended': AutomationTriggerEventBuilder<"Pregnancy Ended", {
|
|
3126
3142
|
reason?: string;
|
|
3127
3143
|
}, {}>;
|