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