@tellescope/types-models 1.255.13 → 1.255.17
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 +20 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +3 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +20 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +2 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +19 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1161,9 +1161,13 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
|
|
|
1161
1161
|
controlledSubstance?: ControlledSubstanceCode;
|
|
1162
1162
|
};
|
|
1163
1163
|
}
|
|
1164
|
+
export declare const FORM_INGESTION_API_KEY_SCOPE: "form-ingestion";
|
|
1165
|
+
export declare const API_KEY_SCOPES: readonly ["form-ingestion"];
|
|
1166
|
+
export type APIKeyScope = typeof API_KEY_SCOPES[number];
|
|
1164
1167
|
export interface APIKey_readonly extends ClientRecord {
|
|
1165
1168
|
hashedKey: string;
|
|
1166
1169
|
approvedBusinessIds?: string[];
|
|
1170
|
+
scopes?: APIKeyScope[];
|
|
1167
1171
|
}
|
|
1168
1172
|
export interface APIKey_required {
|
|
1169
1173
|
}
|
|
@@ -2061,6 +2065,7 @@ export type AISummaryConfiguration = {
|
|
|
2061
2065
|
dataSources?: AISummaryDataSourceConfig[];
|
|
2062
2066
|
maxOutputTokens?: number;
|
|
2063
2067
|
includeProfileFields?: boolean;
|
|
2068
|
+
model?: string;
|
|
2064
2069
|
};
|
|
2065
2070
|
export type FormCustomization = {
|
|
2066
2071
|
publicFormHTMLDescription?: string;
|
|
@@ -2718,7 +2723,6 @@ export type VideoCallParticipantEvent = {
|
|
|
2718
2723
|
export interface CalendarEvent_readonly extends ClientRecord {
|
|
2719
2724
|
meetingId?: string;
|
|
2720
2725
|
meetingStatus?: MeetingStatus;
|
|
2721
|
-
references?: RelatedRecord[];
|
|
2722
2726
|
videoCallAttendance?: VideoCallParticipantEvent[];
|
|
2723
2727
|
}
|
|
2724
2728
|
export interface CalendarEvent_required {
|
|
@@ -2730,6 +2734,7 @@ export interface CalendarEvent_updatesDisabled {
|
|
|
2730
2734
|
}
|
|
2731
2735
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
2732
2736
|
updateKey?: string;
|
|
2737
|
+
references?: RelatedRecord[];
|
|
2733
2738
|
dontSyncToElation?: boolean;
|
|
2734
2739
|
createAndBookAthenaSlot?: boolean;
|
|
2735
2740
|
athenaDepartmentId?: string;
|
|
@@ -4198,6 +4203,10 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
4198
4203
|
dialedUserIds?: string[][];
|
|
4199
4204
|
ignoredUserIds?: string[][];
|
|
4200
4205
|
lastDialedUserIds?: string[];
|
|
4206
|
+
coldTransfers?: {
|
|
4207
|
+
transferredAt: Date;
|
|
4208
|
+
userId: string;
|
|
4209
|
+
}[];
|
|
4201
4210
|
ticketId?: string;
|
|
4202
4211
|
hungUpByCaller?: boolean;
|
|
4203
4212
|
archivedAt?: Date | '';
|
|
@@ -5091,6 +5100,9 @@ export type PhoneTreeEvents = {
|
|
|
5091
5100
|
'On Agent Outcome': PhoneTreeEventBuilder<'On Agent Outcome', {
|
|
5092
5101
|
outcome: string;
|
|
5093
5102
|
}>;
|
|
5103
|
+
'On Condition Branch': PhoneTreeEventBuilder<'On Condition Branch', {
|
|
5104
|
+
branch: string;
|
|
5105
|
+
}>;
|
|
5094
5106
|
};
|
|
5095
5107
|
export type PhoneTreeEventType = keyof PhoneTreeEvents;
|
|
5096
5108
|
export type PhoneTreeEvent = PhoneTreeEvents[PhoneTreeEventType];
|
|
@@ -5167,6 +5179,12 @@ export type PhoneTreeActions = {
|
|
|
5167
5179
|
hasCareTeam?: boolean;
|
|
5168
5180
|
hasOneCareTeamMember?: boolean;
|
|
5169
5181
|
}>;
|
|
5182
|
+
'Enduser Condition Split': PhoneTreeActionBuilder<"Enduser Condition Split", {
|
|
5183
|
+
branches: {
|
|
5184
|
+
name: string;
|
|
5185
|
+
enduserCondition?: Record<string, any>;
|
|
5186
|
+
}[];
|
|
5187
|
+
}>;
|
|
5170
5188
|
'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", {
|
|
5171
5189
|
queueId: string;
|
|
5172
5190
|
playback?: Partial<PhonePlayback>;
|
|
@@ -5192,6 +5210,7 @@ export type PhoneTreeActions = {
|
|
|
5192
5210
|
maxTurns?: number;
|
|
5193
5211
|
maxDurationSeconds?: number;
|
|
5194
5212
|
maxCreditsPerCall?: number;
|
|
5213
|
+
model?: string;
|
|
5195
5214
|
outcomes: {
|
|
5196
5215
|
value: string;
|
|
5197
5216
|
description: string;
|