@tellescope/types-models 1.118.1 → 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 +33 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +33 -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 +24 -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,6 +1378,9 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1371
1378
|
holdAppointmentMinutes?: number;
|
|
1372
1379
|
rangeStepSize?: number;
|
|
1373
1380
|
redirectFormId?: string;
|
|
1381
|
+
redirectExternalUrl?: string;
|
|
1382
|
+
groupPadding?: number;
|
|
1383
|
+
saveIntakeOnPartial?: boolean;
|
|
1374
1384
|
};
|
|
1375
1385
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1376
1386
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1534,6 +1544,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1534
1544
|
fhirAccessToken?: string;
|
|
1535
1545
|
fhirExpiryDate?: number;
|
|
1536
1546
|
defaultAttendeeId?: string;
|
|
1547
|
+
sendEmailOnSync?: boolean;
|
|
1537
1548
|
}
|
|
1538
1549
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1539
1550
|
type: K;
|
|
@@ -1775,6 +1786,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
1775
1786
|
groupId?: string;
|
|
1776
1787
|
groupInstance?: string;
|
|
1777
1788
|
groupPosition?: number;
|
|
1789
|
+
utm?: LabeledField[];
|
|
1778
1790
|
}
|
|
1779
1791
|
export interface WebHook_readonly extends ClientRecord {
|
|
1780
1792
|
}
|
|
@@ -1854,6 +1866,7 @@ export interface CalendarEvent_required {
|
|
|
1854
1866
|
export interface CalendarEvent_updatesDisabled {
|
|
1855
1867
|
}
|
|
1856
1868
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
1869
|
+
reason?: string;
|
|
1857
1870
|
attendees: UserIdentity[];
|
|
1858
1871
|
color?: string;
|
|
1859
1872
|
enableVideoCall?: boolean;
|
|
@@ -1915,6 +1928,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1915
1928
|
useUserURL?: boolean;
|
|
1916
1929
|
healthieZoomStartURL?: string;
|
|
1917
1930
|
healthieZoomJoinURL?: string;
|
|
1931
|
+
instructions?: string;
|
|
1918
1932
|
}
|
|
1919
1933
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1920
1934
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2023,6 +2037,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2023
2037
|
tags?: string[];
|
|
2024
2038
|
matchToHealthieTemplate?: boolean;
|
|
2025
2039
|
useUserURL?: boolean;
|
|
2040
|
+
instructions?: string;
|
|
2026
2041
|
}
|
|
2027
2042
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2028
2043
|
}
|
|
@@ -2033,6 +2048,7 @@ export interface AppointmentLocation_updatesDisabled {
|
|
|
2033
2048
|
}
|
|
2034
2049
|
export interface AppointmentLocation extends AppointmentLocation_readonly, AppointmentLocation_required, AppointmentLocation_updatesDisabled {
|
|
2035
2050
|
address?: string;
|
|
2051
|
+
city?: string;
|
|
2036
2052
|
zipCode?: string;
|
|
2037
2053
|
state?: string;
|
|
2038
2054
|
phone?: string;
|
|
@@ -2041,6 +2057,7 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
|
|
|
2041
2057
|
healthieContactType?: string;
|
|
2042
2058
|
healthieLocationId?: string;
|
|
2043
2059
|
healthieUseZoom?: boolean;
|
|
2060
|
+
instructions?: string;
|
|
2044
2061
|
}
|
|
2045
2062
|
export type AppointmentTerm = {
|
|
2046
2063
|
title: string;
|
|
@@ -2081,6 +2098,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2081
2098
|
limitedByState?: boolean;
|
|
2082
2099
|
limitedByTagsPortal?: string[];
|
|
2083
2100
|
requireLocationSelection?: boolean;
|
|
2101
|
+
collectReason?: "Do Not Collect" | 'Optional' | 'Required';
|
|
2084
2102
|
}
|
|
2085
2103
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
2086
2104
|
creatorType: SessionType;
|
|
@@ -2370,6 +2388,14 @@ export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smar
|
|
|
2370
2388
|
shipping?: string;
|
|
2371
2389
|
}>;
|
|
2372
2390
|
export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>;
|
|
2391
|
+
export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', {
|
|
2392
|
+
courseId: string;
|
|
2393
|
+
}>;
|
|
2394
|
+
export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthieSendChat', {
|
|
2395
|
+
templateId: string;
|
|
2396
|
+
identifier: string;
|
|
2397
|
+
includeCareTeam?: boolean;
|
|
2398
|
+
}>;
|
|
2373
2399
|
export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', {
|
|
2374
2400
|
journeyIds?: string[];
|
|
2375
2401
|
}>;
|
|
@@ -2424,6 +2450,8 @@ export type AutomationActionForType = {
|
|
|
2424
2450
|
'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
|
|
2425
2451
|
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2426
2452
|
'healthieSync': HealthieSyncAutomationAction;
|
|
2453
|
+
healthieAddToCourse: HealthieAddToCourseAutomationAction;
|
|
2454
|
+
healthieSendChat: HealthieSendChatAutomationAction;
|
|
2427
2455
|
'completeTickets': CompleteTicketsAutomationAction;
|
|
2428
2456
|
'changeContactType': ChangeContactTypeAutomationAction;
|
|
2429
2457
|
};
|
|
@@ -3196,7 +3224,10 @@ export type AutomationTriggerEvents = {
|
|
|
3196
3224
|
intervalInMS: number;
|
|
3197
3225
|
}, {}>;
|
|
3198
3226
|
'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", {}, {}>;
|
|
3199
|
-
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
3227
|
+
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
3228
|
+
titles?: string[];
|
|
3229
|
+
templateIds?: string[];
|
|
3230
|
+
}, {}>;
|
|
3200
3231
|
'Field Equals': AutomationTriggerEventBuilder<"Field Equals", {
|
|
3201
3232
|
field: string;
|
|
3202
3233
|
value: string;
|
|
@@ -3566,6 +3597,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
|
|
|
3566
3597
|
type?: string;
|
|
3567
3598
|
defaultFromNumber?: string;
|
|
3568
3599
|
enduserFields?: string[];
|
|
3600
|
+
lastRefreshedCountAt?: Date;
|
|
3569
3601
|
}
|
|
3570
3602
|
export interface EnduserOrder_readonly extends ClientRecord {
|
|
3571
3603
|
}
|