@tellescope/types-models 1.119.0 → 1.120.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 +22 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +22 -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 +15 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -166,6 +166,7 @@ export type OrganizationSettings = {
|
|
|
166
166
|
autofillSignature?: boolean;
|
|
167
167
|
showFullVitalsTab?: boolean;
|
|
168
168
|
canMoveCalls?: boolean;
|
|
169
|
+
canMoveSMS?: boolean;
|
|
169
170
|
inboxRepliesMarkRead?: boolean;
|
|
170
171
|
};
|
|
171
172
|
tickets?: {
|
|
@@ -616,6 +617,7 @@ export interface Enduser_updatesDisabled {
|
|
|
616
617
|
references?: RelatedRecord[];
|
|
617
618
|
}
|
|
618
619
|
export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_updatesDisabled {
|
|
620
|
+
healthie_dietitian_id?: string;
|
|
619
621
|
unsubscribePhone?: boolean;
|
|
620
622
|
externalId?: string;
|
|
621
623
|
humanReadableId?: string;
|
|
@@ -1031,6 +1033,10 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
|
|
|
1031
1033
|
suggestedReply?: string;
|
|
1032
1034
|
assignedTo?: string[];
|
|
1033
1035
|
discussionRoomId?: string;
|
|
1036
|
+
identifier?: string;
|
|
1037
|
+
source?: string;
|
|
1038
|
+
externalId?: string;
|
|
1039
|
+
references?: RelatedRecord[];
|
|
1034
1040
|
}
|
|
1035
1041
|
export type ChatAttachmentType = 'image' | 'video' | 'file' | string;
|
|
1036
1042
|
export type ChatAttachment = {
|
|
@@ -1076,6 +1082,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1076
1082
|
canvasId?: string;
|
|
1077
1083
|
isAutoreply?: boolean;
|
|
1078
1084
|
quote?: string[];
|
|
1085
|
+
references?: RelatedRecord[];
|
|
1079
1086
|
}
|
|
1080
1087
|
export type MessageTemplateType = 'enduser' | 'Reply' | 'team';
|
|
1081
1088
|
export type MessageTemplateMode = 'html' | 'richtext';
|
|
@@ -1371,7 +1378,9 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1371
1378
|
holdAppointmentMinutes?: number;
|
|
1372
1379
|
rangeStepSize?: number;
|
|
1373
1380
|
redirectFormId?: string;
|
|
1381
|
+
redirectExternalUrl?: string;
|
|
1374
1382
|
groupPadding?: number;
|
|
1383
|
+
saveIntakeOnPartial?: boolean;
|
|
1375
1384
|
};
|
|
1376
1385
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1377
1386
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1535,6 +1544,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1535
1544
|
fhirAccessToken?: string;
|
|
1536
1545
|
fhirExpiryDate?: number;
|
|
1537
1546
|
defaultAttendeeId?: string;
|
|
1547
|
+
sendEmailOnSync?: boolean;
|
|
1538
1548
|
}
|
|
1539
1549
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1540
1550
|
type: K;
|
|
@@ -1856,6 +1866,7 @@ export interface CalendarEvent_required {
|
|
|
1856
1866
|
export interface CalendarEvent_updatesDisabled {
|
|
1857
1867
|
}
|
|
1858
1868
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
1869
|
+
reason?: string;
|
|
1859
1870
|
attendees: UserIdentity[];
|
|
1860
1871
|
color?: string;
|
|
1861
1872
|
enableVideoCall?: boolean;
|
|
@@ -2087,6 +2098,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2087
2098
|
limitedByState?: boolean;
|
|
2088
2099
|
limitedByTagsPortal?: string[];
|
|
2089
2100
|
requireLocationSelection?: boolean;
|
|
2101
|
+
collectReason?: "Do Not Collect" | 'Optional' | 'Required';
|
|
2090
2102
|
}
|
|
2091
2103
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
2092
2104
|
creatorType: SessionType;
|
|
@@ -2379,6 +2391,11 @@ export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync
|
|
|
2379
2391
|
export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', {
|
|
2380
2392
|
courseId: string;
|
|
2381
2393
|
}>;
|
|
2394
|
+
export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthieSendChat', {
|
|
2395
|
+
templateId: string;
|
|
2396
|
+
identifier: string;
|
|
2397
|
+
includeCareTeam?: boolean;
|
|
2398
|
+
}>;
|
|
2382
2399
|
export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', {
|
|
2383
2400
|
journeyIds?: string[];
|
|
2384
2401
|
}>;
|
|
@@ -2434,6 +2451,7 @@ export type AutomationActionForType = {
|
|
|
2434
2451
|
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2435
2452
|
'healthieSync': HealthieSyncAutomationAction;
|
|
2436
2453
|
healthieAddToCourse: HealthieAddToCourseAutomationAction;
|
|
2454
|
+
healthieSendChat: HealthieSendChatAutomationAction;
|
|
2437
2455
|
'completeTickets': CompleteTicketsAutomationAction;
|
|
2438
2456
|
'changeContactType': ChangeContactTypeAutomationAction;
|
|
2439
2457
|
};
|
|
@@ -3206,7 +3224,10 @@ export type AutomationTriggerEvents = {
|
|
|
3206
3224
|
intervalInMS: number;
|
|
3207
3225
|
}, {}>;
|
|
3208
3226
|
'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", {}, {}>;
|
|
3209
|
-
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
3227
|
+
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
3228
|
+
titles?: string[];
|
|
3229
|
+
templateIds?: string[];
|
|
3230
|
+
}, {}>;
|
|
3210
3231
|
'Field Equals': AutomationTriggerEventBuilder<"Field Equals", {
|
|
3211
3232
|
field: string;
|
|
3212
3233
|
value: string;
|