@tellescope/types-models 1.255.12 → 1.255.14
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 +22 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +2 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +22 -1
- 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 +3 -3
- package/src/index.ts +21 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -695,6 +695,7 @@ export interface UserSession extends Session, OrganizationLimits {
|
|
|
695
695
|
actorUserId?: string;
|
|
696
696
|
actorEmail?: string;
|
|
697
697
|
actorBusinessId?: string;
|
|
698
|
+
allowedMFAMethods?: MFAMethod[];
|
|
698
699
|
}
|
|
699
700
|
export type StateCredentialInfo = {
|
|
700
701
|
state: string;
|
|
@@ -731,7 +732,10 @@ export type AccountType = string;
|
|
|
731
732
|
export type UserCallRoutingBehavior = ('' | 'Assigned' | 'Unassigned' | 'All');
|
|
732
733
|
export type MFASettings = {
|
|
733
734
|
email?: boolean;
|
|
735
|
+
authenticator?: boolean;
|
|
734
736
|
};
|
|
737
|
+
export type MFAMethod = 'email' | 'authenticator';
|
|
738
|
+
export declare const MFA_METHODS: MFAMethod[];
|
|
735
739
|
export interface LinkedAccount {
|
|
736
740
|
id: string;
|
|
737
741
|
email: string;
|
|
@@ -844,6 +848,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
844
848
|
dashboardView?: CustomDashboardView;
|
|
845
849
|
hideFromCalendarView?: boolean;
|
|
846
850
|
requireSSO?: string[];
|
|
851
|
+
allowedMFAMethods?: MFAMethod[];
|
|
847
852
|
linkedAccountAccess?: LinkedAccountAccessEntry[];
|
|
848
853
|
}
|
|
849
854
|
export type Preference = 'email' | 'sms' | 'call' | 'chat';
|
|
@@ -2056,6 +2061,7 @@ export type AISummaryConfiguration = {
|
|
|
2056
2061
|
dataSources?: AISummaryDataSourceConfig[];
|
|
2057
2062
|
maxOutputTokens?: number;
|
|
2058
2063
|
includeProfileFields?: boolean;
|
|
2064
|
+
model?: string;
|
|
2059
2065
|
};
|
|
2060
2066
|
export type FormCustomization = {
|
|
2061
2067
|
publicFormHTMLDescription?: string;
|
|
@@ -2713,7 +2719,6 @@ export type VideoCallParticipantEvent = {
|
|
|
2713
2719
|
export interface CalendarEvent_readonly extends ClientRecord {
|
|
2714
2720
|
meetingId?: string;
|
|
2715
2721
|
meetingStatus?: MeetingStatus;
|
|
2716
|
-
references?: RelatedRecord[];
|
|
2717
2722
|
videoCallAttendance?: VideoCallParticipantEvent[];
|
|
2718
2723
|
}
|
|
2719
2724
|
export interface CalendarEvent_required {
|
|
@@ -2725,6 +2730,7 @@ export interface CalendarEvent_updatesDisabled {
|
|
|
2725
2730
|
}
|
|
2726
2731
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
2727
2732
|
updateKey?: string;
|
|
2733
|
+
references?: RelatedRecord[];
|
|
2728
2734
|
dontSyncToElation?: boolean;
|
|
2729
2735
|
createAndBookAthenaSlot?: boolean;
|
|
2730
2736
|
athenaDepartmentId?: string;
|
|
@@ -4192,6 +4198,11 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
4192
4198
|
timestamp?: Date;
|
|
4193
4199
|
dialedUserIds?: string[][];
|
|
4194
4200
|
ignoredUserIds?: string[][];
|
|
4201
|
+
lastDialedUserIds?: string[];
|
|
4202
|
+
coldTransfers?: {
|
|
4203
|
+
transferredAt: Date;
|
|
4204
|
+
userId: string;
|
|
4205
|
+
}[];
|
|
4195
4206
|
ticketId?: string;
|
|
4196
4207
|
hungUpByCaller?: boolean;
|
|
4197
4208
|
archivedAt?: Date | '';
|
|
@@ -5085,6 +5096,9 @@ export type PhoneTreeEvents = {
|
|
|
5085
5096
|
'On Agent Outcome': PhoneTreeEventBuilder<'On Agent Outcome', {
|
|
5086
5097
|
outcome: string;
|
|
5087
5098
|
}>;
|
|
5099
|
+
'On Condition Branch': PhoneTreeEventBuilder<'On Condition Branch', {
|
|
5100
|
+
branch: string;
|
|
5101
|
+
}>;
|
|
5088
5102
|
};
|
|
5089
5103
|
export type PhoneTreeEventType = keyof PhoneTreeEvents;
|
|
5090
5104
|
export type PhoneTreeEvent = PhoneTreeEvents[PhoneTreeEventType];
|
|
@@ -5161,6 +5175,12 @@ export type PhoneTreeActions = {
|
|
|
5161
5175
|
hasCareTeam?: boolean;
|
|
5162
5176
|
hasOneCareTeamMember?: boolean;
|
|
5163
5177
|
}>;
|
|
5178
|
+
'Enduser Condition Split': PhoneTreeActionBuilder<"Enduser Condition Split", {
|
|
5179
|
+
branches: {
|
|
5180
|
+
name: string;
|
|
5181
|
+
enduserCondition?: Record<string, any>;
|
|
5182
|
+
}[];
|
|
5183
|
+
}>;
|
|
5164
5184
|
'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", {
|
|
5165
5185
|
queueId: string;
|
|
5166
5186
|
playback?: Partial<PhonePlayback>;
|
|
@@ -5186,6 +5206,7 @@ export type PhoneTreeActions = {
|
|
|
5186
5206
|
maxTurns?: number;
|
|
5187
5207
|
maxDurationSeconds?: number;
|
|
5188
5208
|
maxCreditsPerCall?: number;
|
|
5209
|
+
model?: string;
|
|
5189
5210
|
outcomes: {
|
|
5190
5211
|
value: string;
|
|
5191
5212
|
description: string;
|