@tellescope/types-models 1.225.0 → 1.226.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 +15 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +15 -0
- 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 +21 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ type BuildCustomEnduserField<T, I> = {
|
|
|
116
116
|
required?: boolean;
|
|
117
117
|
hiddenFromProfile?: boolean;
|
|
118
118
|
requireConfirmation?: boolean;
|
|
119
|
+
tags?: string[];
|
|
119
120
|
};
|
|
120
121
|
export type CustomEnduserFields = {
|
|
121
122
|
"Select": BuildCustomEnduserField<'Select', {
|
|
@@ -568,6 +569,9 @@ export type StateCredentialInfo = {
|
|
|
568
569
|
licenseId?: string;
|
|
569
570
|
expiresAt?: Date;
|
|
570
571
|
};
|
|
572
|
+
export type MonthlyRestriction = {
|
|
573
|
+
occurrences: (1 | 2 | 3 | 4 | 5)[];
|
|
574
|
+
};
|
|
571
575
|
export type WeeklyAvailability = {
|
|
572
576
|
dayOfWeekStartingSundayIndexedByZero: number;
|
|
573
577
|
startTimeInMinutes: number;
|
|
@@ -579,6 +583,7 @@ export type WeeklyAvailability = {
|
|
|
579
583
|
locationIds?: string[];
|
|
580
584
|
validTemplateIds?: string[];
|
|
581
585
|
priority?: number;
|
|
586
|
+
monthlyRestriction?: MonthlyRestriction;
|
|
582
587
|
};
|
|
583
588
|
export type NotificationPreference = {
|
|
584
589
|
email?: boolean;
|
|
@@ -838,6 +843,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
838
843
|
markedReadAt?: Date | '';
|
|
839
844
|
markedUnreadAt?: Date | '';
|
|
840
845
|
note?: string;
|
|
846
|
+
noteIsFlagged?: boolean;
|
|
841
847
|
mfa?: MFASettings;
|
|
842
848
|
lastZendeskSyncAt?: Date;
|
|
843
849
|
accessTags?: string[];
|
|
@@ -2366,6 +2372,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2366
2372
|
canvasReasonCoding?: CanvasCoding;
|
|
2367
2373
|
canvasLocationId?: string;
|
|
2368
2374
|
completedAt?: Date | '';
|
|
2375
|
+
completedBy?: string;
|
|
2369
2376
|
holdUntil?: Date;
|
|
2370
2377
|
holdFormResponseId?: string;
|
|
2371
2378
|
tags?: string[];
|
|
@@ -2770,6 +2777,11 @@ export type AfterActionAutomationEvent = AutomationEventBuilder<'afterAction', A
|
|
|
2770
2777
|
eventCondition?: {
|
|
2771
2778
|
before?: boolean;
|
|
2772
2779
|
};
|
|
2780
|
+
dayOfMonthCondition?: {
|
|
2781
|
+
dayOfMonth: number;
|
|
2782
|
+
hour?: number;
|
|
2783
|
+
minute?: number;
|
|
2784
|
+
};
|
|
2773
2785
|
skipIfDelayPassed?: boolean;
|
|
2774
2786
|
}>;
|
|
2775
2787
|
export type FormUnsubmittedEvent = AutomationEventBuilder<'formUnsubmitted', FormUnsubmittedEventInfo>;
|
|
@@ -3765,6 +3777,7 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3765
3777
|
"Calendar Events": {
|
|
3766
3778
|
Type: boolean;
|
|
3767
3779
|
"Scheduled By"?: boolean;
|
|
3780
|
+
"Completed By"?: boolean;
|
|
3768
3781
|
alsoGroupByHost?: boolean;
|
|
3769
3782
|
"Cancel Reason"?: boolean;
|
|
3770
3783
|
} & EnduserGrouping & {
|
|
@@ -3912,6 +3925,7 @@ export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_
|
|
|
3912
3925
|
visibleForRoles?: string[];
|
|
3913
3926
|
visibleForUserIds?: string[];
|
|
3914
3927
|
index?: number;
|
|
3928
|
+
tags?: string[];
|
|
3915
3929
|
}
|
|
3916
3930
|
export interface BackgroundError_readonly extends ClientRecord {
|
|
3917
3931
|
}
|
|
@@ -4153,6 +4167,7 @@ export type AutomationTriggerEvents = {
|
|
|
4153
4167
|
}, {}>;
|
|
4154
4168
|
'Appointment Rescheduled': AutomationTriggerEventBuilder<"Appointment Rescheduled", {
|
|
4155
4169
|
titles?: string[];
|
|
4170
|
+
detectManualReschedules?: boolean;
|
|
4156
4171
|
}, {}>;
|
|
4157
4172
|
'Medication Added': AutomationTriggerEventBuilder<"Medication Added", {
|
|
4158
4173
|
titles: string[];
|