@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/lib/cjs/index.d.ts
CHANGED
|
@@ -288,9 +288,11 @@ export type OrganizationSettings = {
|
|
|
288
288
|
cancelReasons?: string[];
|
|
289
289
|
copyRemindersByDefault?: boolean;
|
|
290
290
|
showMakeRecurringOnProfile?: boolean;
|
|
291
|
+
hideProviderTab?: boolean;
|
|
291
292
|
};
|
|
292
293
|
users?: {
|
|
293
294
|
sessionDurationInHours?: number;
|
|
295
|
+
enableResourceAccessTags?: boolean;
|
|
294
296
|
};
|
|
295
297
|
integrations?: {
|
|
296
298
|
vitalLabOrderPhysicianOptional?: boolean;
|
|
@@ -305,6 +307,7 @@ export type OrganizationSettings = {
|
|
|
305
307
|
};
|
|
306
308
|
timeTracking?: {
|
|
307
309
|
enabled?: boolean;
|
|
310
|
+
setAppointmentDurationOnTimeTrackClose?: boolean;
|
|
308
311
|
inactivityThresholdInSeconds?: number;
|
|
309
312
|
};
|
|
310
313
|
};
|
|
@@ -667,9 +670,11 @@ export interface UserSession extends Session, OrganizationLimits {
|
|
|
667
670
|
limits?: OrganizationLimits;
|
|
668
671
|
uiRestrictions?: UserUIRestrictions;
|
|
669
672
|
fieldRedactions?: UserFieldRedactions;
|
|
673
|
+
portalSchemaRestrictions?: PortalSchemaRestrictions;
|
|
670
674
|
dashboardView?: CustomDashboardView;
|
|
671
675
|
hasTicketQueues?: boolean;
|
|
672
676
|
eat?: boolean;
|
|
677
|
+
erat?: boolean;
|
|
673
678
|
lockedOutUntil?: number;
|
|
674
679
|
duration?: number;
|
|
675
680
|
doseSpotUserId?: string;
|
|
@@ -1268,6 +1273,7 @@ export interface Journey_required {
|
|
|
1268
1273
|
title: string;
|
|
1269
1274
|
}
|
|
1270
1275
|
export interface Journey extends Journey_readonly, Journey_required, Journey_updatesDisabled {
|
|
1276
|
+
accessTags?: string[];
|
|
1271
1277
|
defaultState: string;
|
|
1272
1278
|
states: JourneyState[];
|
|
1273
1279
|
description?: string;
|
|
@@ -1523,6 +1529,7 @@ export interface MessageTemplate_required {
|
|
|
1523
1529
|
export interface MessageTemplate_updatesDisabled {
|
|
1524
1530
|
}
|
|
1525
1531
|
export interface MessageTemplate extends MessageTemplate_readonly, MessageTemplate_required, MessageTemplate_updatesDisabled {
|
|
1532
|
+
accessTags?: string[];
|
|
1526
1533
|
html: string;
|
|
1527
1534
|
type?: MessageTemplateType;
|
|
1528
1535
|
editorState?: string;
|
|
@@ -1567,6 +1574,7 @@ export interface File_required {
|
|
|
1567
1574
|
export interface File_updatesDisabled {
|
|
1568
1575
|
}
|
|
1569
1576
|
export interface File extends File_readonly, File_required, File_updatesDisabled, EnduserPortalVisibility {
|
|
1577
|
+
accessTags?: string[];
|
|
1570
1578
|
enduserId?: string;
|
|
1571
1579
|
formResponseId?: string;
|
|
1572
1580
|
pushedToClientPortal?: boolean;
|
|
@@ -2029,6 +2037,7 @@ export type FormCustomization = {
|
|
|
2029
2037
|
publicFormSubmitHTMLDescription?: string;
|
|
2030
2038
|
logoURL?: string;
|
|
2031
2039
|
logoHeight?: number;
|
|
2040
|
+
logoAlignment?: 'left' | 'center' | 'right';
|
|
2032
2041
|
publicLabelPrefix?: string;
|
|
2033
2042
|
publicFnameLabel?: string;
|
|
2034
2043
|
publicLnameLabel?: string;
|
|
@@ -2057,6 +2066,7 @@ export interface Form_required {
|
|
|
2057
2066
|
export interface Form_updatesDisabled {
|
|
2058
2067
|
}
|
|
2059
2068
|
export interface Form extends Form_readonly, Form_required, Form_updatesDisabled {
|
|
2069
|
+
accessTags?: string[];
|
|
2060
2070
|
gtmTag?: string;
|
|
2061
2071
|
ipAddressCustomField: string;
|
|
2062
2072
|
archivedAt?: Date | '';
|
|
@@ -2125,6 +2135,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
2125
2135
|
version?: 'v1' | 'v2';
|
|
2126
2136
|
mdiCaseOfferings?: {
|
|
2127
2137
|
offering_id: string;
|
|
2138
|
+
conditions?: CompoundFilter<string>;
|
|
2128
2139
|
}[];
|
|
2129
2140
|
autoMergeOnSubmission?: boolean;
|
|
2130
2141
|
aiSummaryConfiguration?: AISummaryConfiguration;
|
|
@@ -2664,10 +2675,19 @@ export type AttendeeStatus = {
|
|
|
2664
2675
|
export interface CalendarEventPortalSettings {
|
|
2665
2676
|
hideUsers?: boolean;
|
|
2666
2677
|
}
|
|
2678
|
+
export type VideoCallParticipantEvent = {
|
|
2679
|
+
id: string;
|
|
2680
|
+
type: 'connected' | 'disconnected';
|
|
2681
|
+
timestamp: Date;
|
|
2682
|
+
meetingId: string;
|
|
2683
|
+
participantSid?: string;
|
|
2684
|
+
durationSeconds?: number;
|
|
2685
|
+
};
|
|
2667
2686
|
export interface CalendarEvent_readonly extends ClientRecord {
|
|
2668
2687
|
meetingId?: string;
|
|
2669
2688
|
meetingStatus?: MeetingStatus;
|
|
2670
2689
|
references?: RelatedRecord[];
|
|
2690
|
+
videoCallAttendance?: VideoCallParticipantEvent[];
|
|
2671
2691
|
}
|
|
2672
2692
|
export interface CalendarEvent_required {
|
|
2673
2693
|
title: string;
|
|
@@ -2869,6 +2889,7 @@ export interface CalendarEventTemplate_required {
|
|
|
2869
2889
|
export interface CalendarEventTemplate_updatesDisabled {
|
|
2870
2890
|
}
|
|
2871
2891
|
export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, CalendarEventTemplate_required, CalendarEventTemplate_updatesDisabled {
|
|
2892
|
+
accessTags?: string[];
|
|
2872
2893
|
dontSyncToElation?: boolean;
|
|
2873
2894
|
sendIcsEmail?: boolean;
|
|
2874
2895
|
createAndBookAthenaSlot?: boolean;
|
|
@@ -2970,6 +2991,7 @@ export interface AppointmentBookingPage_required {
|
|
|
2970
2991
|
export interface AppointmentBookingPage_updatesDisabled {
|
|
2971
2992
|
}
|
|
2972
2993
|
export interface AppointmentBookingPage extends AppointmentBookingPage_readonly, AppointmentBookingPage_required, AppointmentBookingPage_updatesDisabled {
|
|
2994
|
+
accessTags?: string[];
|
|
2973
2995
|
startDate?: Date;
|
|
2974
2996
|
endDate?: Date;
|
|
2975
2997
|
primaryColor?: string;
|
|
@@ -3761,6 +3783,7 @@ export interface ManagedContentRecord_updatesDisabled {
|
|
|
3761
3783
|
type?: ManagedContentRecordType;
|
|
3762
3784
|
}
|
|
3763
3785
|
export interface ManagedContentRecord extends ManagedContentRecord_readonly, ManagedContentRecord_required, ManagedContentRecord_updatesDisabled {
|
|
3786
|
+
accessTags?: string[];
|
|
3764
3787
|
index?: number;
|
|
3765
3788
|
headerPhoto?: string;
|
|
3766
3789
|
publicRead?: boolean;
|
|
@@ -4031,6 +4054,11 @@ export type TypedField = {
|
|
|
4031
4054
|
export type UserFieldRedactions = {
|
|
4032
4055
|
[modelName: string]: string[];
|
|
4033
4056
|
};
|
|
4057
|
+
export type PortalSchemaRestrictions = {
|
|
4058
|
+
disableEditContent?: boolean;
|
|
4059
|
+
disableEditTheming?: boolean;
|
|
4060
|
+
disableEditSnippets?: boolean;
|
|
4061
|
+
};
|
|
4034
4062
|
export type UserUIRestrictions = {
|
|
4035
4063
|
hideDashboard?: boolean;
|
|
4036
4064
|
hideInbox?: boolean;
|
|
@@ -4062,6 +4090,9 @@ export interface RoleBasedAccessPermission_required {
|
|
|
4062
4090
|
permissions: Partial<AccessPermissions>;
|
|
4063
4091
|
uiRestrictions?: UserUIRestrictions;
|
|
4064
4092
|
fieldRedactions?: UserFieldRedactions;
|
|
4093
|
+
portalSchemaRestrictions?: PortalSchemaRestrictions;
|
|
4094
|
+
color?: string;
|
|
4095
|
+
description?: string;
|
|
4065
4096
|
}
|
|
4066
4097
|
export interface RoleBasedAccessPermission_updatesDisabled {
|
|
4067
4098
|
}
|
|
@@ -4810,7 +4841,7 @@ export type AutomationTriggerEvents = {
|
|
|
4810
4841
|
}, {}>;
|
|
4811
4842
|
'Order Status Equals': AutomationTriggerEventBuilder<"Order Status Equals", {
|
|
4812
4843
|
source: string;
|
|
4813
|
-
status
|
|
4844
|
+
status?: string;
|
|
4814
4845
|
fills?: string[];
|
|
4815
4846
|
skus?: string[];
|
|
4816
4847
|
skuPartials?: string[];
|
|
@@ -4900,6 +4931,7 @@ export interface AutomationTrigger_required {
|
|
|
4900
4931
|
export interface AutomationTrigger_updatesDisabled {
|
|
4901
4932
|
}
|
|
4902
4933
|
export interface AutomationTrigger extends AutomationTrigger_readonly, AutomationTrigger_required, AutomationTrigger_updatesDisabled {
|
|
4934
|
+
accessTags?: string[];
|
|
4903
4935
|
enduserCondition?: Record<string, any>;
|
|
4904
4936
|
journeyId?: string;
|
|
4905
4937
|
oncePerEnduser?: boolean;
|
|
@@ -5064,7 +5096,10 @@ export type PhoneTreeActions = {
|
|
|
5064
5096
|
playbackVoicemail?: Partial<PhonePlayback>;
|
|
5065
5097
|
}>;
|
|
5066
5098
|
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
5067
|
-
to
|
|
5099
|
+
to?: string;
|
|
5100
|
+
sipUrl?: string;
|
|
5101
|
+
sipUsername?: string;
|
|
5102
|
+
sipPassword?: string;
|
|
5068
5103
|
playback?: Partial<PhonePlayback>;
|
|
5069
5104
|
}>;
|
|
5070
5105
|
'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
|
|
@@ -5132,6 +5167,7 @@ export interface TableView_required {
|
|
|
5132
5167
|
export interface TableView_updatesDisabled {
|
|
5133
5168
|
}
|
|
5134
5169
|
export interface TableView extends TableView_readonly, TableView_required, TableView_updatesDisabled {
|
|
5170
|
+
accessTags?: string[];
|
|
5135
5171
|
defaultForRoles?: string[];
|
|
5136
5172
|
defaultForUserIds?: string[];
|
|
5137
5173
|
filter?: Indexable;
|
|
@@ -5226,6 +5262,14 @@ export type TimeTrackTimestamp = {
|
|
|
5226
5262
|
type: 'start' | 'pause' | 'resume';
|
|
5227
5263
|
timestamp: Date;
|
|
5228
5264
|
};
|
|
5265
|
+
export type TimeTrackReviewHistoryItem = {
|
|
5266
|
+
reviewedAt: Date;
|
|
5267
|
+
reviewedByUserId?: string;
|
|
5268
|
+
reviewApproved?: boolean;
|
|
5269
|
+
reviewNote?: string;
|
|
5270
|
+
resubmittedAt?: Date;
|
|
5271
|
+
resubmittedByUserId?: string;
|
|
5272
|
+
};
|
|
5229
5273
|
export interface TimeTrack_readonly extends ClientRecord {
|
|
5230
5274
|
}
|
|
5231
5275
|
export interface TimeTrack_updatesDisabled {
|
|
@@ -5255,6 +5299,7 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
|
|
|
5255
5299
|
reviewNote?: string;
|
|
5256
5300
|
lockedAt?: Date | '';
|
|
5257
5301
|
lockedByUserId?: string;
|
|
5302
|
+
reviewHistory?: TimeTrackReviewHistoryItem[];
|
|
5258
5303
|
}
|
|
5259
5304
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
5260
5305
|
count?: number;
|
|
@@ -5593,7 +5638,7 @@ export interface AllergyCode extends AllergyCode_readonly, AllergyCode_required,
|
|
|
5593
5638
|
}
|
|
5594
5639
|
export interface IntegrationLog_readonly extends ClientRecord {
|
|
5595
5640
|
integration: string;
|
|
5596
|
-
status: "Success" | "Error";
|
|
5641
|
+
status: "Success" | "Error" | "Info";
|
|
5597
5642
|
type: string;
|
|
5598
5643
|
url?: string;
|
|
5599
5644
|
payload?: string;
|