@tellescope/types-models 1.129.2 → 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 +44 -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 +44 -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 +45 -3
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
|
|
|
@@ -1319,6 +1321,8 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1319
1321
|
restrictByTags?: string[],
|
|
1320
1322
|
restrictByTagsQualifier?: ListQueryQualifier,
|
|
1321
1323
|
archiveReason?: string,
|
|
1324
|
+
contextFormIds?: string[],
|
|
1325
|
+
contextEnduserFields?: string[],
|
|
1322
1326
|
}
|
|
1323
1327
|
|
|
1324
1328
|
export type AttendeeInfo = {
|
|
@@ -1573,6 +1577,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1573
1577
|
canvasId?: string,
|
|
1574
1578
|
canvasQuestionId?: string,
|
|
1575
1579
|
syncToOLH?: boolean,
|
|
1580
|
+
syncWithResponsesFromFormIds?: string[],
|
|
1576
1581
|
}
|
|
1577
1582
|
|
|
1578
1583
|
export interface FormGroup_readonly extends ClientRecord {}
|
|
@@ -1837,6 +1842,7 @@ export type FormResponseValue = {
|
|
|
1837
1842
|
disabled?: boolean,
|
|
1838
1843
|
isHighlightedOnTimeline?: boolean,
|
|
1839
1844
|
computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender",
|
|
1845
|
+
intakeField?: string,
|
|
1840
1846
|
}
|
|
1841
1847
|
|
|
1842
1848
|
export type AnswerForType = {
|
|
@@ -2081,7 +2087,10 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2081
2087
|
statusChangeSource?: {
|
|
2082
2088
|
source: string,
|
|
2083
2089
|
identifier: string,
|
|
2084
|
-
}
|
|
2090
|
+
},
|
|
2091
|
+
dontAutoSyncPatientToHealthie?: boolean,
|
|
2092
|
+
displayTitle?: string,
|
|
2093
|
+
displayDescription?: string,
|
|
2085
2094
|
// isAllDay?: boolean,
|
|
2086
2095
|
}
|
|
2087
2096
|
|
|
@@ -2193,6 +2202,9 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2193
2202
|
matchToHealthieTemplate?: boolean,
|
|
2194
2203
|
useUserURL?: boolean,
|
|
2195
2204
|
instructions?: string,
|
|
2205
|
+
dontAutoSyncPatientToHealthie?: boolean,
|
|
2206
|
+
displayTitle?: string,
|
|
2207
|
+
displayDescription?: string,
|
|
2196
2208
|
}
|
|
2197
2209
|
|
|
2198
2210
|
export interface AppointmentLocation_readonly extends ClientRecord {}
|
|
@@ -2493,6 +2505,8 @@ export type CreateTicketActionInfo = {
|
|
|
2493
2505
|
priority?: number,
|
|
2494
2506
|
preserveContext?: boolean,
|
|
2495
2507
|
tags?: string[],
|
|
2508
|
+
contextFormIds?: string[],
|
|
2509
|
+
contextEnduserFields?: string[],
|
|
2496
2510
|
}
|
|
2497
2511
|
|
|
2498
2512
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & { fromEmailOverride?: string }>
|
|
@@ -2540,7 +2554,7 @@ export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthie
|
|
|
2540
2554
|
export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', { journeyIds?: string[] }>
|
|
2541
2555
|
export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', { type: string }>
|
|
2542
2556
|
export type ActiveCampaignSyncAutomationAction = AutomationActionBuilder<'activeCampaignSync', { }>
|
|
2543
|
-
export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'switchToRelatedContact', { type: string }>
|
|
2557
|
+
export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'switchToRelatedContact', { type: string, otherTypes?: string[] }>
|
|
2544
2558
|
|
|
2545
2559
|
export type IterableFieldsMapping = {
|
|
2546
2560
|
iterable: string,
|
|
@@ -2932,6 +2946,26 @@ export interface EnduserTask extends EnduserTask_readonly, EnduserTask_required,
|
|
|
2932
2946
|
completedAt?: Date;
|
|
2933
2947
|
}
|
|
2934
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
|
+
|
|
2935
2969
|
export interface CarePlan_readonly extends ClientRecord {}
|
|
2936
2970
|
export interface CarePlan_required {
|
|
2937
2971
|
title: string,
|
|
@@ -2962,6 +2996,7 @@ export type UserUIRestrictions = {
|
|
|
2962
2996
|
hideUnsubmittedForms?: boolean,
|
|
2963
2997
|
hideMergeEndusers?: boolean,
|
|
2964
2998
|
hideQueuedTicketsViewer?: boolean,
|
|
2999
|
+
hideIncomingFaxesIcon?: boolean,
|
|
2965
3000
|
}
|
|
2966
3001
|
|
|
2967
3002
|
export interface RoleBasedAccessPermission_readonly extends ClientRecord {}
|
|
@@ -3288,6 +3323,7 @@ export interface AnalyticsFrame extends
|
|
|
3288
3323
|
analyticsFrameGroupingCategory?: AnalyticsFrameGroupingCategory[],
|
|
3289
3324
|
truncationLength?: number,
|
|
3290
3325
|
showEllipsis?: boolean,
|
|
3326
|
+
orderedLabels?: string[],
|
|
3291
3327
|
}
|
|
3292
3328
|
|
|
3293
3329
|
|
|
@@ -3545,7 +3581,7 @@ export type PhoneTreeActionBuilder <T, V> = { type: T, info: V }
|
|
|
3545
3581
|
export type PhoneTreeActions = {
|
|
3546
3582
|
// 'Play': PhoneTreeActionBuilder<"Play", { playback: PhonePlayback }>
|
|
3547
3583
|
'Gather': PhoneTreeActionBuilder<"Gather", { digits: boolean, speech: boolean, playback: PhonePlayback }>
|
|
3548
|
-
'Voicemail': PhoneTreeActionBuilder<"Voicemail", { playback: PhonePlayback }>
|
|
3584
|
+
'Voicemail': PhoneTreeActionBuilder<"Voicemail", { playback: PhonePlayback, journeyId?: string }>
|
|
3549
3585
|
'Play Message': PhoneTreeActionBuilder<"Play Message", { playback: PhonePlayback, journeyId?: string }>
|
|
3550
3586
|
'Dial Users': PhoneTreeActionBuilder<"Dial Users", { userIds: string[], playback?: Partial<PhonePlayback>, duration?: number }>
|
|
3551
3587
|
'Route Call': PhoneTreeActionBuilder<"Route Call", {
|
|
@@ -3700,6 +3736,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
|
|
|
3700
3736
|
enduserFields?: string[],
|
|
3701
3737
|
lastRefreshedCountAt?: Date,
|
|
3702
3738
|
preventPull?: string[],
|
|
3739
|
+
index?: number,
|
|
3703
3740
|
}
|
|
3704
3741
|
|
|
3705
3742
|
export interface EnduserOrder_readonly extends ClientRecord {}
|
|
@@ -3916,6 +3953,7 @@ export interface WebhookLog_updatesDisabled {}
|
|
|
3916
3953
|
export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {}
|
|
3917
3954
|
|
|
3918
3955
|
export type ModelForName_required = {
|
|
3956
|
+
fax_logs: FaxLog_required,
|
|
3919
3957
|
message_template_snippets: MessageTemplateSnippet_required
|
|
3920
3958
|
portal_brandings: PortalBranding_required
|
|
3921
3959
|
form_groups: FormGroup_required,
|
|
@@ -3997,6 +4035,7 @@ export type ModelForName_required = {
|
|
|
3997
4035
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required]
|
|
3998
4036
|
|
|
3999
4037
|
export interface ModelForName_readonly {
|
|
4038
|
+
fax_logs: FaxLog_readonly,
|
|
4000
4039
|
message_template_snippets: MessageTemplateSnippet_readonly,
|
|
4001
4040
|
portal_brandings: PortalBranding_readonly,
|
|
4002
4041
|
form_groups: FormGroup_readonly,
|
|
@@ -4078,6 +4117,7 @@ export interface ModelForName_readonly {
|
|
|
4078
4117
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly]
|
|
4079
4118
|
|
|
4080
4119
|
export interface ModelForName_updatesDisabled {
|
|
4120
|
+
fax_logs: FaxLog_updatesDisabled,
|
|
4081
4121
|
message_template_snippets: MessageTemplateSnippet_updatesDisabled,
|
|
4082
4122
|
portal_brandings: PortalBranding_updatesDisabled,
|
|
4083
4123
|
form_groups: FormGroup_updatesDisabled,
|
|
@@ -4159,6 +4199,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
4159
4199
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled]
|
|
4160
4200
|
|
|
4161
4201
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
4202
|
+
fax_logs: FaxLog,
|
|
4162
4203
|
message_template_snippets: MessageTemplateSnippet,
|
|
4163
4204
|
portal_brandings: PortalBranding,
|
|
4164
4205
|
form_groups: FormGroup,
|
|
@@ -4250,6 +4291,7 @@ export interface UserActivityInfo {
|
|
|
4250
4291
|
export type UserActivityStatus = 'Active' | 'Away' | 'Unavailable'
|
|
4251
4292
|
|
|
4252
4293
|
export const modelNameChecker: { [K in ModelName] : true } = {
|
|
4294
|
+
fax_logs: true,
|
|
4253
4295
|
message_template_snippets: true,
|
|
4254
4296
|
portal_brandings: true,
|
|
4255
4297
|
form_groups: true,
|