@tellescope/types-models 1.130.0 → 1.131.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 +37 -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 +37 -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 +2 -2
- package/src/index.ts +37 -2
package/src/index.ts
CHANGED
|
@@ -562,6 +562,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
562
562
|
templateFields?: LabeledField[]
|
|
563
563
|
dashboardView?: CustomDashboardView,
|
|
564
564
|
hideFromCalendarView?: boolean,
|
|
565
|
+
requireSSO?: string[],
|
|
565
566
|
}
|
|
566
567
|
|
|
567
568
|
export type Preference = 'email' | 'sms' | 'call' | 'chat'
|
|
@@ -1230,6 +1231,7 @@ export interface File extends File_readonly, File_required, File_updatesDisabled
|
|
|
1230
1231
|
// ocrResult?: string,
|
|
1231
1232
|
ocrType?: string,
|
|
1232
1233
|
references?: RelatedRecord[] // internal, for storing built-in integrations info
|
|
1234
|
+
tags?: string[],
|
|
1233
1235
|
}
|
|
1234
1236
|
|
|
1235
1237
|
|
|
@@ -1840,6 +1842,7 @@ export type FormResponseValue = {
|
|
|
1840
1842
|
disabled?: boolean,
|
|
1841
1843
|
isHighlightedOnTimeline?: boolean,
|
|
1842
1844
|
computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender",
|
|
1845
|
+
intakeField?: string,
|
|
1843
1846
|
}
|
|
1844
1847
|
|
|
1845
1848
|
export type AnswerForType = {
|
|
@@ -2086,6 +2089,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2086
2089
|
identifier: string,
|
|
2087
2090
|
},
|
|
2088
2091
|
dontAutoSyncPatientToHealthie?: boolean,
|
|
2092
|
+
displayTitle?: string,
|
|
2093
|
+
displayDescription?: string,
|
|
2089
2094
|
// isAllDay?: boolean,
|
|
2090
2095
|
}
|
|
2091
2096
|
|
|
@@ -2198,6 +2203,8 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2198
2203
|
useUserURL?: boolean,
|
|
2199
2204
|
instructions?: string,
|
|
2200
2205
|
dontAutoSyncPatientToHealthie?: boolean,
|
|
2206
|
+
displayTitle?: string,
|
|
2207
|
+
displayDescription?: string,
|
|
2201
2208
|
}
|
|
2202
2209
|
|
|
2203
2210
|
export interface AppointmentLocation_readonly extends ClientRecord {}
|
|
@@ -2547,7 +2554,7 @@ export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthie
|
|
|
2547
2554
|
export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', { journeyIds?: string[] }>
|
|
2548
2555
|
export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', { type: string }>
|
|
2549
2556
|
export type ActiveCampaignSyncAutomationAction = AutomationActionBuilder<'activeCampaignSync', { }>
|
|
2550
|
-
export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'switchToRelatedContact', { type: string }>
|
|
2557
|
+
export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'switchToRelatedContact', { type: string, otherTypes?: string[] }>
|
|
2551
2558
|
|
|
2552
2559
|
export type IterableFieldsMapping = {
|
|
2553
2560
|
iterable: string,
|
|
@@ -2939,6 +2946,26 @@ export interface EnduserTask extends EnduserTask_readonly, EnduserTask_required,
|
|
|
2939
2946
|
completedAt?: Date;
|
|
2940
2947
|
}
|
|
2941
2948
|
|
|
2949
|
+
export interface FaxLog_readonly extends ClientRecord {}
|
|
2950
|
+
export interface FaxLog_required {
|
|
2951
|
+
externalId: string,
|
|
2952
|
+
source: string,
|
|
2953
|
+
from: string,
|
|
2954
|
+
to: string,
|
|
2955
|
+
fileId: string,
|
|
2956
|
+
inbound: boolean,
|
|
2957
|
+
title: string,
|
|
2958
|
+
}
|
|
2959
|
+
export interface FaxLog_updatesDisabled {}
|
|
2960
|
+
export interface FaxLog extends FaxLog_readonly, FaxLog_required, FaxLog_updatesDisabled {
|
|
2961
|
+
userId?: string,
|
|
2962
|
+
enduserId?: string,
|
|
2963
|
+
status?: string,
|
|
2964
|
+
errorMessage?: string,
|
|
2965
|
+
pageCount?: string,
|
|
2966
|
+
tags?: string[],
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2942
2969
|
export interface CarePlan_readonly extends ClientRecord {}
|
|
2943
2970
|
export interface CarePlan_required {
|
|
2944
2971
|
title: string,
|
|
@@ -2969,6 +2996,7 @@ export type UserUIRestrictions = {
|
|
|
2969
2996
|
hideUnsubmittedForms?: boolean,
|
|
2970
2997
|
hideMergeEndusers?: boolean,
|
|
2971
2998
|
hideQueuedTicketsViewer?: boolean,
|
|
2999
|
+
hideIncomingFaxesIcon?: boolean,
|
|
2972
3000
|
}
|
|
2973
3001
|
|
|
2974
3002
|
export interface RoleBasedAccessPermission_readonly extends ClientRecord {}
|
|
@@ -3295,6 +3323,7 @@ export interface AnalyticsFrame extends
|
|
|
3295
3323
|
analyticsFrameGroupingCategory?: AnalyticsFrameGroupingCategory[],
|
|
3296
3324
|
truncationLength?: number,
|
|
3297
3325
|
showEllipsis?: boolean,
|
|
3326
|
+
orderedLabels?: string[],
|
|
3298
3327
|
}
|
|
3299
3328
|
|
|
3300
3329
|
|
|
@@ -3552,7 +3581,7 @@ export type PhoneTreeActionBuilder <T, V> = { type: T, info: V }
|
|
|
3552
3581
|
export type PhoneTreeActions = {
|
|
3553
3582
|
// 'Play': PhoneTreeActionBuilder<"Play", { playback: PhonePlayback }>
|
|
3554
3583
|
'Gather': PhoneTreeActionBuilder<"Gather", { digits: boolean, speech: boolean, playback: PhonePlayback }>
|
|
3555
|
-
'Voicemail': PhoneTreeActionBuilder<"Voicemail", { playback: PhonePlayback }>
|
|
3584
|
+
'Voicemail': PhoneTreeActionBuilder<"Voicemail", { playback: PhonePlayback, journeyId?: string }>
|
|
3556
3585
|
'Play Message': PhoneTreeActionBuilder<"Play Message", { playback: PhonePlayback, journeyId?: string }>
|
|
3557
3586
|
'Dial Users': PhoneTreeActionBuilder<"Dial Users", { userIds: string[], playback?: Partial<PhonePlayback>, duration?: number }>
|
|
3558
3587
|
'Route Call': PhoneTreeActionBuilder<"Route Call", {
|
|
@@ -3707,6 +3736,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
|
|
|
3707
3736
|
enduserFields?: string[],
|
|
3708
3737
|
lastRefreshedCountAt?: Date,
|
|
3709
3738
|
preventPull?: string[],
|
|
3739
|
+
index?: number,
|
|
3710
3740
|
}
|
|
3711
3741
|
|
|
3712
3742
|
export interface EnduserOrder_readonly extends ClientRecord {}
|
|
@@ -3923,6 +3953,7 @@ export interface WebhookLog_updatesDisabled {}
|
|
|
3923
3953
|
export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {}
|
|
3924
3954
|
|
|
3925
3955
|
export type ModelForName_required = {
|
|
3956
|
+
fax_logs: FaxLog_required,
|
|
3926
3957
|
message_template_snippets: MessageTemplateSnippet_required
|
|
3927
3958
|
portal_brandings: PortalBranding_required
|
|
3928
3959
|
form_groups: FormGroup_required,
|
|
@@ -4004,6 +4035,7 @@ export type ModelForName_required = {
|
|
|
4004
4035
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required]
|
|
4005
4036
|
|
|
4006
4037
|
export interface ModelForName_readonly {
|
|
4038
|
+
fax_logs: FaxLog_readonly,
|
|
4007
4039
|
message_template_snippets: MessageTemplateSnippet_readonly,
|
|
4008
4040
|
portal_brandings: PortalBranding_readonly,
|
|
4009
4041
|
form_groups: FormGroup_readonly,
|
|
@@ -4085,6 +4117,7 @@ export interface ModelForName_readonly {
|
|
|
4085
4117
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly]
|
|
4086
4118
|
|
|
4087
4119
|
export interface ModelForName_updatesDisabled {
|
|
4120
|
+
fax_logs: FaxLog_updatesDisabled,
|
|
4088
4121
|
message_template_snippets: MessageTemplateSnippet_updatesDisabled,
|
|
4089
4122
|
portal_brandings: PortalBranding_updatesDisabled,
|
|
4090
4123
|
form_groups: FormGroup_updatesDisabled,
|
|
@@ -4166,6 +4199,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
4166
4199
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled]
|
|
4167
4200
|
|
|
4168
4201
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
4202
|
+
fax_logs: FaxLog,
|
|
4169
4203
|
message_template_snippets: MessageTemplateSnippet,
|
|
4170
4204
|
portal_brandings: PortalBranding,
|
|
4171
4205
|
form_groups: FormGroup,
|
|
@@ -4257,6 +4291,7 @@ export interface UserActivityInfo {
|
|
|
4257
4291
|
export type UserActivityStatus = 'Active' | 'Away' | 'Unavailable'
|
|
4258
4292
|
|
|
4259
4293
|
export const modelNameChecker: { [K in ModelName] : true } = {
|
|
4294
|
+
fax_logs: true,
|
|
4260
4295
|
message_template_snippets: true,
|
|
4261
4296
|
portal_brandings: true,
|
|
4262
4297
|
form_groups: true,
|