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