@tellescope/types-models 1.253.1 → 1.254.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 +48 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +48 -3
- 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 +3 -3
- package/src/index.ts +57 -7
package/src/index.ts
CHANGED
|
@@ -309,9 +309,11 @@ export type OrganizationSettings = {
|
|
|
309
309
|
cancelReasons?: string[],
|
|
310
310
|
copyRemindersByDefault?: boolean,
|
|
311
311
|
showMakeRecurringOnProfile?: boolean,
|
|
312
|
+
hideProviderTab?: boolean, // org-wide: hide the "Provider Calendar" tab in the webapp calendar
|
|
312
313
|
},
|
|
313
314
|
users?: {
|
|
314
315
|
sessionDurationInHours?: number,
|
|
316
|
+
enableResourceAccessTags?: boolean,
|
|
315
317
|
},
|
|
316
318
|
integrations?: {
|
|
317
319
|
vitalLabOrderPhysicianOptional?: boolean,
|
|
@@ -326,6 +328,7 @@ export type OrganizationSettings = {
|
|
|
326
328
|
},
|
|
327
329
|
timeTracking?: {
|
|
328
330
|
enabled?: boolean,
|
|
331
|
+
setAppointmentDurationOnTimeTrackClose?: boolean,
|
|
329
332
|
inactivityThresholdInSeconds?: number, // when > 0: prompts on inactivity, auto-pauses (excluding idle time), and guards tab close
|
|
330
333
|
}
|
|
331
334
|
}
|
|
@@ -671,12 +674,14 @@ export interface UserSession extends Session, OrganizationLimits { // User joine
|
|
|
671
674
|
fromEmail?: string,
|
|
672
675
|
verifiedEmail: boolean;
|
|
673
676
|
wasAutomated: boolean;
|
|
674
|
-
limits?: OrganizationLimits,
|
|
677
|
+
limits?: OrganizationLimits,
|
|
675
678
|
uiRestrictions?: UserUIRestrictions,
|
|
676
679
|
fieldRedactions?: UserFieldRedactions,
|
|
680
|
+
portalSchemaRestrictions?: PortalSchemaRestrictions,
|
|
677
681
|
dashboardView?: CustomDashboardView,
|
|
678
682
|
hasTicketQueues?: boolean,
|
|
679
683
|
eat?: boolean, // enableAccessTags
|
|
684
|
+
erat?: boolean, // enableResourceAccessTags
|
|
680
685
|
lockedOutUntil?: number,
|
|
681
686
|
duration?: number,
|
|
682
687
|
doseSpotUserId?: string,
|
|
@@ -1355,6 +1360,7 @@ export interface Journey_required {
|
|
|
1355
1360
|
title: string;
|
|
1356
1361
|
}
|
|
1357
1362
|
export interface Journey extends Journey_readonly, Journey_required, Journey_updatesDisabled {
|
|
1363
|
+
accessTags?: string[],
|
|
1358
1364
|
defaultState: string;
|
|
1359
1365
|
states: JourneyState[];
|
|
1360
1366
|
description?: string;
|
|
@@ -1600,6 +1606,7 @@ export interface MessageTemplate_required {
|
|
|
1600
1606
|
}
|
|
1601
1607
|
export interface MessageTemplate_updatesDisabled {}
|
|
1602
1608
|
export interface MessageTemplate extends MessageTemplate_readonly, MessageTemplate_required, MessageTemplate_updatesDisabled {
|
|
1609
|
+
accessTags?: string[],
|
|
1603
1610
|
html: string;
|
|
1604
1611
|
type?: MessageTemplateType;
|
|
1605
1612
|
editorState?: string
|
|
@@ -1642,6 +1649,7 @@ export interface File_required {
|
|
|
1642
1649
|
}
|
|
1643
1650
|
export interface File_updatesDisabled {}
|
|
1644
1651
|
export interface File extends File_readonly, File_required, File_updatesDisabled, EnduserPortalVisibility {
|
|
1652
|
+
accessTags?: string[],
|
|
1645
1653
|
enduserId?: string;
|
|
1646
1654
|
formResponseId?: string,
|
|
1647
1655
|
pushedToClientPortal?: boolean,
|
|
@@ -2093,6 +2101,7 @@ export type FormCustomization = {
|
|
|
2093
2101
|
publicFormSubmitHTMLDescription?: string,
|
|
2094
2102
|
logoURL?: string, // Custom logo URL to override organization logo on this form
|
|
2095
2103
|
logoHeight?: number,
|
|
2104
|
+
logoAlignment?: 'left' | 'center' | 'right', // V2 forms: logo horizontal alignment, default left
|
|
2096
2105
|
publicLabelPrefix?: string,
|
|
2097
2106
|
publicFnameLabel?: string,
|
|
2098
2107
|
publicLnameLabel?: string,
|
|
@@ -2121,6 +2130,7 @@ export interface Form_required {
|
|
|
2121
2130
|
}
|
|
2122
2131
|
export interface Form_updatesDisabled {}
|
|
2123
2132
|
export interface Form extends Form_readonly, Form_required, Form_updatesDisabled {
|
|
2133
|
+
accessTags?: string[],
|
|
2124
2134
|
gtmTag?: string, // for Google Tag Manager
|
|
2125
2135
|
ipAddressCustomField: string,
|
|
2126
2136
|
archivedAt?: Date | '',
|
|
@@ -2187,7 +2197,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
2187
2197
|
belugaCombineMatchingPharmacyMappings?: boolean,
|
|
2188
2198
|
showByUserTags?: string[],
|
|
2189
2199
|
version?: 'v1' | 'v2',
|
|
2190
|
-
mdiCaseOfferings?: { offering_id: string }[],
|
|
2200
|
+
mdiCaseOfferings?: { offering_id: string, conditions?: CompoundFilter<string> }[],
|
|
2191
2201
|
autoMergeOnSubmission?: boolean,
|
|
2192
2202
|
aiSummaryConfiguration?: AISummaryConfiguration,
|
|
2193
2203
|
procedureCodes?: FormResponseProcedureCode[],
|
|
@@ -2761,10 +2771,20 @@ export interface CalendarEventPortalSettings {
|
|
|
2761
2771
|
hideUsers?: boolean,
|
|
2762
2772
|
}
|
|
2763
2773
|
|
|
2764
|
-
export
|
|
2765
|
-
|
|
2774
|
+
export type VideoCallParticipantEvent = {
|
|
2775
|
+
id: string, // attendee id (Twilio ParticipantIdentity); '' if unmatched
|
|
2776
|
+
type: 'connected' | 'disconnected',
|
|
2777
|
+
timestamp: Date, // from Twilio Timestamp, fallback new Date()
|
|
2778
|
+
meetingId: string, // the Meeting this event belongs to (combined-history tag)
|
|
2779
|
+
participantSid?: string, // Twilio ParticipantSid
|
|
2780
|
+
durationSeconds?: number, // Twilio ParticipantDuration, present on 'disconnected'
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
export interface CalendarEvent_readonly extends ClientRecord {
|
|
2784
|
+
meetingId?: string
|
|
2766
2785
|
meetingStatus?: MeetingStatus,
|
|
2767
2786
|
references?: RelatedRecord[]
|
|
2787
|
+
videoCallAttendance?: VideoCallParticipantEvent[], // server-written join/leave log for video calls
|
|
2768
2788
|
}
|
|
2769
2789
|
export interface CalendarEvent_required {
|
|
2770
2790
|
title: string,
|
|
@@ -2955,6 +2975,7 @@ export interface CalendarEventTemplate_required {
|
|
|
2955
2975
|
}
|
|
2956
2976
|
export interface CalendarEventTemplate_updatesDisabled {}
|
|
2957
2977
|
export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, CalendarEventTemplate_required, CalendarEventTemplate_updatesDisabled {
|
|
2978
|
+
accessTags?: string[],
|
|
2958
2979
|
dontSyncToElation?: boolean,
|
|
2959
2980
|
sendIcsEmail?: boolean,
|
|
2960
2981
|
createAndBookAthenaSlot?: boolean,
|
|
@@ -3059,6 +3080,7 @@ export interface AppointmentBookingPage_required {
|
|
|
3059
3080
|
}
|
|
3060
3081
|
export interface AppointmentBookingPage_updatesDisabled {}
|
|
3061
3082
|
export interface AppointmentBookingPage extends AppointmentBookingPage_readonly, AppointmentBookingPage_required, AppointmentBookingPage_updatesDisabled {
|
|
3083
|
+
accessTags?: string[],
|
|
3062
3084
|
startDate?: Date,
|
|
3063
3085
|
endDate?: Date,
|
|
3064
3086
|
primaryColor?: string,
|
|
@@ -3802,6 +3824,7 @@ export interface ManagedContentRecord_updatesDisabled {
|
|
|
3802
3824
|
type?: ManagedContentRecordType,
|
|
3803
3825
|
}
|
|
3804
3826
|
export interface ManagedContentRecord extends ManagedContentRecord_readonly, ManagedContentRecord_required, ManagedContentRecord_updatesDisabled {
|
|
3827
|
+
accessTags?: string[],
|
|
3805
3828
|
index?: number,
|
|
3806
3829
|
headerPhoto?: string,
|
|
3807
3830
|
publicRead?: boolean,
|
|
@@ -4066,6 +4089,12 @@ export interface CarePlan extends CarePlan_readonly, CarePlan_required, CarePlan
|
|
|
4066
4089
|
export type TypedField = { type?: string, field?: string, }
|
|
4067
4090
|
export type UserFieldRedactions = { [modelName: string]: string[] }
|
|
4068
4091
|
|
|
4092
|
+
export type PortalSchemaRestrictions = {
|
|
4093
|
+
disableEditContent?: boolean,
|
|
4094
|
+
disableEditTheming?: boolean,
|
|
4095
|
+
disableEditSnippets?: boolean,
|
|
4096
|
+
}
|
|
4097
|
+
|
|
4069
4098
|
export type UserUIRestrictions = {
|
|
4070
4099
|
hideDashboard?: boolean,
|
|
4071
4100
|
hideInbox?: boolean,
|
|
@@ -4097,6 +4126,9 @@ export interface RoleBasedAccessPermission_required {
|
|
|
4097
4126
|
permissions: Partial<AccessPermissions>,
|
|
4098
4127
|
uiRestrictions?: UserUIRestrictions,
|
|
4099
4128
|
fieldRedactions?: UserFieldRedactions,
|
|
4129
|
+
portalSchemaRestrictions?: PortalSchemaRestrictions,
|
|
4130
|
+
color?: string,
|
|
4131
|
+
description?: string,
|
|
4100
4132
|
}
|
|
4101
4133
|
export interface RoleBasedAccessPermission_updatesDisabled {}
|
|
4102
4134
|
export interface RoleBasedAccessPermission extends RoleBasedAccessPermission_readonly, RoleBasedAccessPermission_required, RoleBasedAccessPermission_updatesDisabled {}
|
|
@@ -4824,7 +4856,7 @@ export type AutomationTriggerEvents = {
|
|
|
4824
4856
|
'SMS Reply': AutomationTriggerEventBuilder<"SMS Reply", { templateIds: string[], replyKeywords?: string[] }, {}>,
|
|
4825
4857
|
'Order Status Equals': AutomationTriggerEventBuilder<"Order Status Equals", {
|
|
4826
4858
|
source: string,
|
|
4827
|
-
status
|
|
4859
|
+
status?: string,
|
|
4828
4860
|
fills?: string[],
|
|
4829
4861
|
skus?: string[],
|
|
4830
4862
|
skuPartials?: string[],
|
|
@@ -4887,6 +4919,7 @@ export interface AutomationTrigger_required {
|
|
|
4887
4919
|
}
|
|
4888
4920
|
export interface AutomationTrigger_updatesDisabled {}
|
|
4889
4921
|
export interface AutomationTrigger extends AutomationTrigger_readonly, AutomationTrigger_required, AutomationTrigger_updatesDisabled {
|
|
4922
|
+
accessTags?: string[],
|
|
4890
4923
|
enduserCondition?: Record<string, any>,
|
|
4891
4924
|
journeyId?: string,
|
|
4892
4925
|
oncePerEnduser?: boolean,
|
|
@@ -5014,7 +5047,13 @@ export type PhoneTreeActions = {
|
|
|
5014
5047
|
playback?: Partial<PhonePlayback>,
|
|
5015
5048
|
playbackVoicemail?: Partial<PhonePlayback>,
|
|
5016
5049
|
}>,
|
|
5017
|
-
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
5050
|
+
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
5051
|
+
to?: string, // phone number (now optional — one of two modes)
|
|
5052
|
+
sipUrl?: string, // when set, forward via SIP instead of phone number
|
|
5053
|
+
sipUsername?: string, // optional SIP auth
|
|
5054
|
+
sipPassword?: string, // optional SIP auth
|
|
5055
|
+
playback?: Partial<PhonePlayback>,
|
|
5056
|
+
}>
|
|
5018
5057
|
'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
|
|
5019
5058
|
timezone?: Timezone,
|
|
5020
5059
|
weeklyAvailabilities?: WeeklyAvailability[],
|
|
@@ -5078,6 +5117,7 @@ export interface TableView_required {
|
|
|
5078
5117
|
}
|
|
5079
5118
|
export interface TableView_updatesDisabled {}
|
|
5080
5119
|
export interface TableView extends TableView_readonly, TableView_required, TableView_updatesDisabled {
|
|
5120
|
+
accessTags?: string[],
|
|
5081
5121
|
defaultForRoles?: string[],
|
|
5082
5122
|
defaultForUserIds?: string[],
|
|
5083
5123
|
filter?: Indexable,
|
|
@@ -5166,6 +5206,15 @@ export type TimeTrackTimestamp = {
|
|
|
5166
5206
|
timestamp: Date,
|
|
5167
5207
|
}
|
|
5168
5208
|
|
|
5209
|
+
export type TimeTrackReviewHistoryItem = {
|
|
5210
|
+
reviewedAt: Date,
|
|
5211
|
+
reviewedByUserId?: string,
|
|
5212
|
+
reviewApproved?: boolean,
|
|
5213
|
+
reviewNote?: string,
|
|
5214
|
+
resubmittedAt?: Date,
|
|
5215
|
+
resubmittedByUserId?: string,
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5169
5218
|
export interface TimeTrack_readonly extends ClientRecord {}
|
|
5170
5219
|
export interface TimeTrack_updatesDisabled {
|
|
5171
5220
|
isHistorical?: boolean,
|
|
@@ -5194,6 +5243,7 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
|
|
|
5194
5243
|
reviewNote?: string,
|
|
5195
5244
|
lockedAt?: Date | '',
|
|
5196
5245
|
lockedByUserId?: string,
|
|
5246
|
+
reviewHistory?: TimeTrackReviewHistoryItem[],
|
|
5197
5247
|
}
|
|
5198
5248
|
|
|
5199
5249
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
@@ -5502,7 +5552,7 @@ export interface AllergyCode extends AllergyCode_readonly, AllergyCode_required,
|
|
|
5502
5552
|
|
|
5503
5553
|
export interface IntegrationLog_readonly extends ClientRecord {
|
|
5504
5554
|
integration: string,
|
|
5505
|
-
status: "Success" | "Error",
|
|
5555
|
+
status: "Success" | "Error" | "Info",
|
|
5506
5556
|
type: string, // e.g. Create Patient
|
|
5507
5557
|
url?: string, // for logging endpoint
|
|
5508
5558
|
payload?: string, // for logging payload sent (if not too space-intensive)
|