@getsupervisor/agents-studio-sdk 1.41.1-beta.169 → 1.41.1-beta.170
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/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +177 -168
- package/dist/index.d.ts +177 -168
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ type WithRequired<T, K extends keyof T> = T & {
|
|
|
4
4
|
type Without<T, U> = {
|
|
5
5
|
[P in Exclude<keyof T, keyof U>]?: never;
|
|
6
6
|
};
|
|
7
|
-
type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
|
7
|
+
type XOR<T, U> = (T | U) extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
|
8
8
|
type OneOf<T extends any[]> = T extends [infer Only] ? Only : T extends [infer A, infer B, ...infer Rest] ? OneOf<[XOR<A, B>, ...Rest]> : never;
|
|
9
9
|
type components = {
|
|
10
10
|
schemas: {
|
|
11
11
|
AgentDetail: {
|
|
12
12
|
agentId: string;
|
|
13
13
|
name: string;
|
|
14
|
-
agentType:
|
|
14
|
+
agentType: "chat" | "voice";
|
|
15
15
|
workspaceId: string;
|
|
16
16
|
versionId?: string;
|
|
17
|
-
status:
|
|
17
|
+
status: "inactive" | "training" | "active" | "archived" | "building" | "failed";
|
|
18
18
|
description?: string | null;
|
|
19
19
|
avatarUrl?: string | null;
|
|
20
20
|
debounceDelayMs?: number | null;
|
|
@@ -28,11 +28,11 @@ type components = {
|
|
|
28
28
|
displayName: string;
|
|
29
29
|
enabled: boolean;
|
|
30
30
|
}[];
|
|
31
|
-
voiceConfig?: {
|
|
31
|
+
voiceConfig?: ({
|
|
32
32
|
voiceId?: string;
|
|
33
33
|
webhookUrl?: string;
|
|
34
34
|
llmId?: string | null;
|
|
35
|
-
} | null;
|
|
35
|
+
}) | null;
|
|
36
36
|
createdAt: string;
|
|
37
37
|
updatedAt: string;
|
|
38
38
|
totalCalls: number;
|
|
@@ -55,21 +55,21 @@ type components = {
|
|
|
55
55
|
agentId: string;
|
|
56
56
|
name: string;
|
|
57
57
|
description?: string | null;
|
|
58
|
-
agentType:
|
|
59
|
-
status:
|
|
58
|
+
agentType: "chat" | "voice";
|
|
59
|
+
status: "inactive" | "training" | "active" | "archived" | "building" | "failed";
|
|
60
60
|
workspaceId: string;
|
|
61
61
|
createdAt: string;
|
|
62
62
|
updatedAt: string;
|
|
63
63
|
};
|
|
64
64
|
AgentListResponse: {
|
|
65
|
-
data: components[
|
|
66
|
-
meta: components[
|
|
65
|
+
data: components["schemas"]["AgentSummary"][];
|
|
66
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
67
67
|
};
|
|
68
68
|
CreateAgentRequest: {
|
|
69
69
|
name: string;
|
|
70
70
|
description?: string | null;
|
|
71
|
-
agentType:
|
|
72
|
-
status?:
|
|
71
|
+
agentType: "voice" | "chat";
|
|
72
|
+
status?: "inactive" | "training" | "active";
|
|
73
73
|
avatarUrl?: string | null;
|
|
74
74
|
debounceDelayMs?: number | null;
|
|
75
75
|
brief?: string | null;
|
|
@@ -88,7 +88,7 @@ type components = {
|
|
|
88
88
|
};
|
|
89
89
|
UpdateAgentRequest: {
|
|
90
90
|
name?: string;
|
|
91
|
-
status?:
|
|
91
|
+
status?: "inactive" | "training" | "active" | "archived" | "building" | "failed";
|
|
92
92
|
description?: string | null;
|
|
93
93
|
toneId?: string | null;
|
|
94
94
|
messageStyleId?: string | null;
|
|
@@ -105,57 +105,57 @@ type components = {
|
|
|
105
105
|
versionId: string;
|
|
106
106
|
order: number;
|
|
107
107
|
content: string;
|
|
108
|
-
status:
|
|
108
|
+
status: "active" | "inactive";
|
|
109
109
|
createdAt: string;
|
|
110
110
|
updatedAt: string;
|
|
111
111
|
deletedAt?: string | null;
|
|
112
112
|
};
|
|
113
113
|
InstructionListResponse: {
|
|
114
|
-
data: components[
|
|
115
|
-
meta?: components[
|
|
114
|
+
data: components["schemas"]["Instruction"][];
|
|
115
|
+
meta?: components["schemas"]["PaginationMeta"];
|
|
116
116
|
};
|
|
117
117
|
CreateInstructionRequest: {
|
|
118
118
|
order: number;
|
|
119
119
|
content: string;
|
|
120
|
-
status?:
|
|
120
|
+
status?: "active" | "inactive";
|
|
121
121
|
};
|
|
122
|
-
InstructionCreatedResponse: components[
|
|
122
|
+
InstructionCreatedResponse: components["schemas"]["Instruction"];
|
|
123
123
|
UpdateInstructionRequest: {
|
|
124
124
|
order?: number;
|
|
125
125
|
content?: string;
|
|
126
|
-
status?:
|
|
126
|
+
status?: "active" | "inactive";
|
|
127
127
|
};
|
|
128
128
|
VoiceSummary: {
|
|
129
129
|
id: string;
|
|
130
130
|
providerVoiceId?: string;
|
|
131
131
|
name: string;
|
|
132
|
-
gender?:
|
|
132
|
+
gender?: "female" | "male" | "neutral";
|
|
133
133
|
locale: string;
|
|
134
134
|
tags?: string[];
|
|
135
135
|
previewUrl?: string;
|
|
136
136
|
provider: string;
|
|
137
137
|
};
|
|
138
138
|
VoiceListResponse: {
|
|
139
|
-
data: components[
|
|
140
|
-
meta: components[
|
|
139
|
+
data: components["schemas"]["VoiceSummary"][];
|
|
140
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
141
141
|
};
|
|
142
142
|
AgentScheduleSlot: {
|
|
143
143
|
startTime: string;
|
|
144
144
|
endTime: string;
|
|
145
145
|
};
|
|
146
146
|
AgentScheduleRule: {
|
|
147
|
-
dayOfWeek:
|
|
147
|
+
dayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
148
148
|
isEnabled: boolean;
|
|
149
|
-
slot?: components[
|
|
149
|
+
slot?: components["schemas"]["AgentScheduleSlot"] | null;
|
|
150
150
|
};
|
|
151
151
|
AgentSchedule: {
|
|
152
152
|
id: string;
|
|
153
153
|
agentId: string;
|
|
154
154
|
isEnabled: boolean;
|
|
155
155
|
timezone: string;
|
|
156
|
-
outOfHoursBehavior:
|
|
156
|
+
outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
|
|
157
157
|
outOfHoursMessage?: string | null;
|
|
158
|
-
rules: components[
|
|
158
|
+
rules: components["schemas"]["AgentScheduleRule"][];
|
|
159
159
|
metadata?: {
|
|
160
160
|
[key: string]: unknown;
|
|
161
161
|
};
|
|
@@ -165,9 +165,9 @@ type components = {
|
|
|
165
165
|
UpdateAgentScheduleRequest: {
|
|
166
166
|
isEnabled: boolean;
|
|
167
167
|
timezone: string;
|
|
168
|
-
outOfHoursBehavior:
|
|
168
|
+
outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
|
|
169
169
|
outOfHoursMessage?: string | null;
|
|
170
|
-
rules: components[
|
|
170
|
+
rules: components["schemas"]["AgentScheduleRule"][];
|
|
171
171
|
metadata?: {
|
|
172
172
|
[key: string]: unknown;
|
|
173
173
|
};
|
|
@@ -183,8 +183,8 @@ type components = {
|
|
|
183
183
|
createdAt: string;
|
|
184
184
|
};
|
|
185
185
|
AgentScheduleExceptionListResponse: {
|
|
186
|
-
data: components[
|
|
187
|
-
meta: components[
|
|
186
|
+
data: components["schemas"]["AgentScheduleException"][];
|
|
187
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
188
188
|
};
|
|
189
189
|
CreateAgentScheduleExceptionRequest: {
|
|
190
190
|
exceptionDate: string;
|
|
@@ -203,20 +203,20 @@ type components = {
|
|
|
203
203
|
AgentVersionSummary: {
|
|
204
204
|
id: string;
|
|
205
205
|
agentId: string;
|
|
206
|
-
status:
|
|
206
|
+
status: "draft" | "active" | "archived";
|
|
207
207
|
versionNumber: number;
|
|
208
208
|
notes?: string | null;
|
|
209
209
|
createdAt: string;
|
|
210
210
|
updatedAt: string;
|
|
211
211
|
publishedAt?: string | null;
|
|
212
212
|
};
|
|
213
|
-
AgentVersionDetail: components[
|
|
213
|
+
AgentVersionDetail: components["schemas"]["AgentVersionSummary"] & {
|
|
214
214
|
versionHash: string;
|
|
215
215
|
createdBy: string;
|
|
216
216
|
};
|
|
217
217
|
AgentVersionListResponse: {
|
|
218
|
-
data: components[
|
|
219
|
-
meta: components[
|
|
218
|
+
data: components["schemas"]["AgentVersionSummary"][];
|
|
219
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
220
220
|
};
|
|
221
221
|
CreateAgentVersionRequest: {
|
|
222
222
|
notes?: string;
|
|
@@ -232,7 +232,7 @@ type components = {
|
|
|
232
232
|
version: {
|
|
233
233
|
id: string;
|
|
234
234
|
number: number;
|
|
235
|
-
status:
|
|
235
|
+
status: "draft" | "active" | "archived";
|
|
236
236
|
hash: string;
|
|
237
237
|
createdAt: string;
|
|
238
238
|
};
|
|
@@ -247,7 +247,7 @@ type components = {
|
|
|
247
247
|
personalityMessageStyleId: string;
|
|
248
248
|
personalityToneStyleId: string;
|
|
249
249
|
voiceId?: string | null;
|
|
250
|
-
startSpeaker:
|
|
250
|
+
startSpeaker: "user" | "agent";
|
|
251
251
|
requiredData: string[];
|
|
252
252
|
criticalRules?: string[];
|
|
253
253
|
topicsAllowed?: string[];
|
|
@@ -260,13 +260,13 @@ type components = {
|
|
|
260
260
|
};
|
|
261
261
|
AgentBlueprintListItem: {
|
|
262
262
|
versionId: string;
|
|
263
|
-
status:
|
|
263
|
+
status: "draft" | "active" | "archived";
|
|
264
264
|
createdAt: string;
|
|
265
265
|
updatedAt: string;
|
|
266
|
-
blueprint: components[
|
|
266
|
+
blueprint: components["schemas"]["AgentBlueprint"];
|
|
267
267
|
};
|
|
268
268
|
AgentBlueprintListResponse: {
|
|
269
|
-
data: components[
|
|
269
|
+
data: components["schemas"]["AgentBlueprintListItem"][];
|
|
270
270
|
};
|
|
271
271
|
CreateAgentBlueprintRequest: {
|
|
272
272
|
languageId: string;
|
|
@@ -278,7 +278,7 @@ type components = {
|
|
|
278
278
|
personalityMessageStyleId: string;
|
|
279
279
|
personalityToneStyleId: string;
|
|
280
280
|
voiceId?: string | null;
|
|
281
|
-
startSpeaker:
|
|
281
|
+
startSpeaker: "user" | "agent";
|
|
282
282
|
requiredData?: string[];
|
|
283
283
|
criticalRules?: string[];
|
|
284
284
|
topicsAllowed?: string[];
|
|
@@ -294,7 +294,7 @@ type components = {
|
|
|
294
294
|
personalityMessageStyleId?: string;
|
|
295
295
|
personalityToneStyleId?: string;
|
|
296
296
|
voiceId?: string | null;
|
|
297
|
-
startSpeaker?:
|
|
297
|
+
startSpeaker?: "user" | "agent";
|
|
298
298
|
requiredData?: string[];
|
|
299
299
|
criticalRules?: string[];
|
|
300
300
|
topicsAllowed?: string[];
|
|
@@ -309,7 +309,7 @@ type components = {
|
|
|
309
309
|
goalPrompt: string;
|
|
310
310
|
promptInstructions: string[];
|
|
311
311
|
order: number;
|
|
312
|
-
triggers: components[
|
|
312
|
+
triggers: components["schemas"]["BlueprintStageTrigger"][];
|
|
313
313
|
metadata?: {
|
|
314
314
|
[key: string]: unknown;
|
|
315
315
|
} | null;
|
|
@@ -319,8 +319,8 @@ type components = {
|
|
|
319
319
|
updatedAt: string;
|
|
320
320
|
};
|
|
321
321
|
BlueprintStageListResponse: {
|
|
322
|
-
data: components[
|
|
323
|
-
meta: components[
|
|
322
|
+
data: components["schemas"]["BlueprintStage"][];
|
|
323
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
324
324
|
};
|
|
325
325
|
CreateBlueprintStageRequest: {
|
|
326
326
|
name: string;
|
|
@@ -328,7 +328,7 @@ type components = {
|
|
|
328
328
|
goalPrompt: string;
|
|
329
329
|
promptInstructions?: string[];
|
|
330
330
|
order?: number | null;
|
|
331
|
-
triggers?: components[
|
|
331
|
+
triggers?: components["schemas"]["BlueprintStageTriggerInput"][] | null;
|
|
332
332
|
metadata?: {
|
|
333
333
|
[key: string]: unknown;
|
|
334
334
|
} | null;
|
|
@@ -351,23 +351,23 @@ type components = {
|
|
|
351
351
|
id: string;
|
|
352
352
|
stageId: string;
|
|
353
353
|
blueprintId: string;
|
|
354
|
-
condition: components[
|
|
354
|
+
condition: components["schemas"]["BlueprintStageTriggerCondition"];
|
|
355
355
|
nextStageName: string;
|
|
356
356
|
createdAt: string;
|
|
357
357
|
updatedAt: string;
|
|
358
358
|
};
|
|
359
359
|
BlueprintStageTriggerListResponse: {
|
|
360
|
-
data: components[
|
|
361
|
-
meta: components[
|
|
360
|
+
data: components["schemas"]["BlueprintStageTrigger"][];
|
|
361
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
362
362
|
};
|
|
363
|
-
CreateBlueprintStageTriggerRequest: components[
|
|
363
|
+
CreateBlueprintStageTriggerRequest: components["schemas"]["BlueprintStageTriggerInput"];
|
|
364
364
|
UpdateBlueprintStageTriggerRequest: {
|
|
365
|
-
condition?: components[
|
|
365
|
+
condition?: components["schemas"]["BlueprintStageTriggerCondition"];
|
|
366
366
|
nextStageName?: string | null;
|
|
367
367
|
};
|
|
368
368
|
BlueprintGraphDraft: {
|
|
369
369
|
startingStage: string;
|
|
370
|
-
stages: components[
|
|
370
|
+
stages: components["schemas"]["BlueprintStageDraft"][];
|
|
371
371
|
};
|
|
372
372
|
BlueprintStageDraft: {
|
|
373
373
|
name: string;
|
|
@@ -375,7 +375,7 @@ type components = {
|
|
|
375
375
|
goalPrompt: string;
|
|
376
376
|
promptInstructions?: string[];
|
|
377
377
|
order?: number | null;
|
|
378
|
-
triggers?: components[
|
|
378
|
+
triggers?: components["schemas"]["BlueprintStageTriggerInput"][] | null;
|
|
379
379
|
metadata?: {
|
|
380
380
|
[key: string]: unknown;
|
|
381
381
|
} | null;
|
|
@@ -397,14 +397,14 @@ type components = {
|
|
|
397
397
|
WorkspacePhone: {
|
|
398
398
|
id: string;
|
|
399
399
|
external_id: string;
|
|
400
|
-
channel?:
|
|
400
|
+
channel?: "voice";
|
|
401
401
|
supports_outbound?: boolean | null;
|
|
402
402
|
assigned_to?: string | null;
|
|
403
403
|
last_used_at?: string | null;
|
|
404
404
|
requires_qr_reauth?: boolean | null;
|
|
405
405
|
};
|
|
406
406
|
WorkspacePhonesResponse: {
|
|
407
|
-
data: components[
|
|
407
|
+
data: components["schemas"]["WorkspacePhone"][];
|
|
408
408
|
};
|
|
409
409
|
ToolSummary: {
|
|
410
410
|
id: string;
|
|
@@ -414,21 +414,21 @@ type components = {
|
|
|
414
414
|
enabled: boolean;
|
|
415
415
|
visible: boolean;
|
|
416
416
|
category?: string | null;
|
|
417
|
-
auth:
|
|
417
|
+
auth: "none" | "oauth2" | "api_key" | "custom";
|
|
418
418
|
requiresUserAuth: boolean;
|
|
419
|
-
configSchema?: components[
|
|
420
|
-
catalogMetadata: components[
|
|
419
|
+
configSchema?: components["schemas"]["ToolConfigSchema"] | null;
|
|
420
|
+
catalogMetadata: components["schemas"]["ToolCatalogMetadata"];
|
|
421
421
|
};
|
|
422
422
|
ToolListResponse: {
|
|
423
|
-
data: components[
|
|
424
|
-
meta: components[
|
|
423
|
+
data: components["schemas"]["ToolSummary"][];
|
|
424
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
425
425
|
};
|
|
426
426
|
ToolResourceSummary: {
|
|
427
427
|
id: string;
|
|
428
428
|
toolId: string;
|
|
429
|
-
type:
|
|
429
|
+
type: "document" | "media" | "file";
|
|
430
430
|
title?: string;
|
|
431
|
-
status:
|
|
431
|
+
status: "pending" | "processing" | "ready" | "failed";
|
|
432
432
|
sizeBytes?: number | null;
|
|
433
433
|
createdAt: string;
|
|
434
434
|
updatedAt?: string | null;
|
|
@@ -437,12 +437,12 @@ type components = {
|
|
|
437
437
|
};
|
|
438
438
|
};
|
|
439
439
|
ToolResourceListResponse: {
|
|
440
|
-
data: components[
|
|
441
|
-
meta: components[
|
|
440
|
+
data: components["schemas"]["ToolResourceSummary"][];
|
|
441
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
442
442
|
};
|
|
443
443
|
ToolResourceUploadRequest: {
|
|
444
444
|
file: string;
|
|
445
|
-
type?:
|
|
445
|
+
type?: "document" | "media" | "file";
|
|
446
446
|
title?: string;
|
|
447
447
|
metadata?: {
|
|
448
448
|
[key: string]: unknown;
|
|
@@ -450,13 +450,13 @@ type components = {
|
|
|
450
450
|
};
|
|
451
451
|
ToolResourceUploadResponse: {
|
|
452
452
|
resourceId: string;
|
|
453
|
-
status:
|
|
453
|
+
status: "queued" | "processing" | "completed" | "failed";
|
|
454
454
|
message?: string;
|
|
455
455
|
toolId?: string;
|
|
456
456
|
};
|
|
457
457
|
ToolResourceReloadResponse: {
|
|
458
458
|
resourceId: string;
|
|
459
|
-
status:
|
|
459
|
+
status: "queued" | "processing" | "completed" | "failed";
|
|
460
460
|
toolId?: string;
|
|
461
461
|
message?: string;
|
|
462
462
|
};
|
|
@@ -468,10 +468,10 @@ type components = {
|
|
|
468
468
|
};
|
|
469
469
|
descriptionUsage?: string;
|
|
470
470
|
usageExample?: string;
|
|
471
|
-
auth?: components[
|
|
471
|
+
auth?: components["schemas"]["ToolConnectionAuth"];
|
|
472
472
|
};
|
|
473
473
|
ToolConnectionResponse: {
|
|
474
|
-
status:
|
|
474
|
+
status: "connected" | "pending" | "error" | "revoked";
|
|
475
475
|
toolAgentConnectionId?: string | null;
|
|
476
476
|
toolId: string;
|
|
477
477
|
workspaceId: string;
|
|
@@ -486,7 +486,7 @@ type components = {
|
|
|
486
486
|
usageExample?: string | null;
|
|
487
487
|
};
|
|
488
488
|
ToolConnectionAuth: {
|
|
489
|
-
type:
|
|
489
|
+
type: "none" | "oauth2" | "api_key" | "custom";
|
|
490
490
|
data?: {
|
|
491
491
|
[key: string]: unknown;
|
|
492
492
|
};
|
|
@@ -499,7 +499,7 @@ type components = {
|
|
|
499
499
|
};
|
|
500
500
|
};
|
|
501
501
|
ExecuteToolResponse: {
|
|
502
|
-
status:
|
|
502
|
+
status: "ok" | "queued" | "error";
|
|
503
503
|
result?: {
|
|
504
504
|
[key: string]: unknown;
|
|
505
505
|
};
|
|
@@ -518,9 +518,9 @@ type components = {
|
|
|
518
518
|
};
|
|
519
519
|
CatalogItemSummary: WithRequired<{
|
|
520
520
|
id: string;
|
|
521
|
-
type:
|
|
521
|
+
type: "language" | "message_style" | "tone_style" | "tag" | "voice";
|
|
522
522
|
systemIdentifier: string;
|
|
523
|
-
scope:
|
|
523
|
+
scope: "global" | "workspace";
|
|
524
524
|
workspaceId?: string | null;
|
|
525
525
|
name: string;
|
|
526
526
|
description: string;
|
|
@@ -528,30 +528,30 @@ type components = {
|
|
|
528
528
|
metadata: Record<string, never>;
|
|
529
529
|
createdAt: string;
|
|
530
530
|
updatedAt: string;
|
|
531
|
-
links: components[
|
|
532
|
-
},
|
|
533
|
-
CatalogItemDetail: components[
|
|
531
|
+
links: components["schemas"]["CatalogItemLinks"];
|
|
532
|
+
}, "id" | "type" | "systemIdentifier" | "scope" | "name" | "description" | "isActive" | "metadata" | "createdAt" | "updatedAt" | "links">;
|
|
533
|
+
CatalogItemDetail: components["schemas"]["CatalogItemSummary"];
|
|
534
534
|
CatalogItemListResponse: {
|
|
535
|
-
data: components[
|
|
536
|
-
meta: components[
|
|
535
|
+
data: components["schemas"]["CatalogItemSummary"][];
|
|
536
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
537
537
|
};
|
|
538
538
|
CatalogItemCreateRequest: WithRequired<{
|
|
539
|
-
type:
|
|
540
|
-
scope:
|
|
539
|
+
type: "language" | "message_style" | "tone_style" | "tag" | "voice";
|
|
540
|
+
scope: "global" | "workspace";
|
|
541
541
|
workspaceId?: string;
|
|
542
542
|
name: string;
|
|
543
543
|
description: string;
|
|
544
544
|
systemIdentifier?: string;
|
|
545
545
|
metadata: Record<string, never>;
|
|
546
546
|
isActive?: boolean;
|
|
547
|
-
},
|
|
547
|
+
}, "type" | "scope" | "name" | "description" | "metadata">;
|
|
548
548
|
WorkspaceEnableRequest: {
|
|
549
549
|
apiKey: string;
|
|
550
550
|
phone: string;
|
|
551
551
|
speechAnalyticsAgentId: string;
|
|
552
552
|
};
|
|
553
553
|
WorkspaceEnableResponse: {
|
|
554
|
-
status:
|
|
554
|
+
status: "enabled";
|
|
555
555
|
provider: string;
|
|
556
556
|
workspaceId: string;
|
|
557
557
|
};
|
|
@@ -569,7 +569,7 @@ type components = {
|
|
|
569
569
|
contentType: string;
|
|
570
570
|
};
|
|
571
571
|
CreateDocumentSlotsRequest: {
|
|
572
|
-
files: components[
|
|
572
|
+
files: components["schemas"]["DocumentFileItem"][];
|
|
573
573
|
};
|
|
574
574
|
DocumentSlot: {
|
|
575
575
|
key: string;
|
|
@@ -577,7 +577,7 @@ type components = {
|
|
|
577
577
|
filename: string;
|
|
578
578
|
};
|
|
579
579
|
CreateDocumentSlotsResponse: {
|
|
580
|
-
documents: components[
|
|
580
|
+
documents: components["schemas"]["DocumentSlot"][];
|
|
581
581
|
};
|
|
582
582
|
DocumentRef: {
|
|
583
583
|
key: string;
|
|
@@ -588,14 +588,14 @@ type components = {
|
|
|
588
588
|
url: string;
|
|
589
589
|
agentId?: string | null;
|
|
590
590
|
description?: string | null;
|
|
591
|
-
method?:
|
|
591
|
+
method?: "GET" | "POST";
|
|
592
592
|
isActive: boolean;
|
|
593
593
|
secretPreview?: string | null;
|
|
594
594
|
createdAt: string;
|
|
595
595
|
updatedAt: string;
|
|
596
596
|
lastDeliveryAt?: string | null;
|
|
597
597
|
};
|
|
598
|
-
WebhookDetail: components[
|
|
598
|
+
WebhookDetail: components["schemas"]["WebhookSummary"] & {
|
|
599
599
|
headers?: {
|
|
600
600
|
[key: string]: string;
|
|
601
601
|
};
|
|
@@ -603,8 +603,8 @@ type components = {
|
|
|
603
603
|
failureCount?: number;
|
|
604
604
|
};
|
|
605
605
|
WebhookListResponse: {
|
|
606
|
-
data: components[
|
|
607
|
-
meta: components[
|
|
606
|
+
data: components["schemas"]["WebhookSummary"][];
|
|
607
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
608
608
|
};
|
|
609
609
|
CreateWebhookRequest: {
|
|
610
610
|
url: string;
|
|
@@ -615,7 +615,7 @@ type components = {
|
|
|
615
615
|
[key: string]: string;
|
|
616
616
|
};
|
|
617
617
|
secret?: string;
|
|
618
|
-
method?:
|
|
618
|
+
method?: "GET" | "POST";
|
|
619
619
|
};
|
|
620
620
|
UpdateWebhookRequest: {
|
|
621
621
|
url?: string;
|
|
@@ -625,7 +625,7 @@ type components = {
|
|
|
625
625
|
headers?: {
|
|
626
626
|
[key: string]: string;
|
|
627
627
|
};
|
|
628
|
-
method?:
|
|
628
|
+
method?: "GET" | "POST";
|
|
629
629
|
};
|
|
630
630
|
EventSubscriptionSummary: {
|
|
631
631
|
id: string;
|
|
@@ -635,10 +635,10 @@ type components = {
|
|
|
635
635
|
createdAt: string;
|
|
636
636
|
updatedAt: string;
|
|
637
637
|
};
|
|
638
|
-
EventSubscriptionDetail: components[
|
|
638
|
+
EventSubscriptionDetail: components["schemas"]["EventSubscriptionSummary"] & Record<string, never>;
|
|
639
639
|
EventSubscriptionListResponse: {
|
|
640
|
-
data: components[
|
|
641
|
-
meta: components[
|
|
640
|
+
data: components["schemas"]["EventSubscriptionDetail"][];
|
|
641
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
642
642
|
};
|
|
643
643
|
CreateEventSubscriptionRequest: {
|
|
644
644
|
eventKey: string;
|
|
@@ -654,7 +654,7 @@ type components = {
|
|
|
654
654
|
agentVersionId: string;
|
|
655
655
|
name: string;
|
|
656
656
|
objective?: string | null;
|
|
657
|
-
status: components[
|
|
657
|
+
status: components["schemas"]["CampaignStatus"];
|
|
658
658
|
inputFileKey: string;
|
|
659
659
|
totalRecords: number;
|
|
660
660
|
processedRecords: number;
|
|
@@ -664,7 +664,7 @@ type components = {
|
|
|
664
664
|
goalAchievedRecords: number;
|
|
665
665
|
pendingRetriesCount: number;
|
|
666
666
|
terminalFailures: number;
|
|
667
|
-
pausedFromStatus?: components[
|
|
667
|
+
pausedFromStatus?: components["schemas"]["CampaignStatus"] | null;
|
|
668
668
|
nextRetryAt?: string | null;
|
|
669
669
|
createdBy: string;
|
|
670
670
|
createdAt: string;
|
|
@@ -675,15 +675,15 @@ type components = {
|
|
|
675
675
|
cancelledAt?: string | null;
|
|
676
676
|
};
|
|
677
677
|
CampaignListResponse: {
|
|
678
|
-
data: components[
|
|
679
|
-
meta: components[
|
|
678
|
+
data: components["schemas"]["Campaign"][];
|
|
679
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
680
680
|
};
|
|
681
681
|
CampaignExecution: {
|
|
682
682
|
campaignExecutionId: string;
|
|
683
683
|
campaignId: string;
|
|
684
684
|
workspaceId: string;
|
|
685
685
|
rowNumber: number;
|
|
686
|
-
status:
|
|
686
|
+
status: "PENDING" | "SUCCESS" | "ERROR";
|
|
687
687
|
agentExecutionId?: string | null;
|
|
688
688
|
input: {
|
|
689
689
|
[key: string]: unknown;
|
|
@@ -699,17 +699,17 @@ type components = {
|
|
|
699
699
|
createdAt: string;
|
|
700
700
|
};
|
|
701
701
|
CampaignExecutionListResponse: {
|
|
702
|
-
data: components[
|
|
703
|
-
meta: components[
|
|
702
|
+
data: components["schemas"]["CampaignExecution"][];
|
|
703
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
704
704
|
};
|
|
705
|
-
CampaignStatus:
|
|
705
|
+
CampaignStatus: "PENDING" | "PROCESSING" | "RETRYING" | "COMPLETED" | "PARTIALLY_COMPLETED" | "FAILED" | "PAUSED" | "CANCELLED";
|
|
706
706
|
Call: {
|
|
707
707
|
id: string;
|
|
708
708
|
title: string;
|
|
709
709
|
customerPhone: string | null;
|
|
710
710
|
durationSeconds: number | null;
|
|
711
|
-
supervisors: components[
|
|
712
|
-
goal: components[
|
|
711
|
+
supervisors: components["schemas"]["CallSupervisors"];
|
|
712
|
+
goal: components["schemas"]["CallGoal"];
|
|
713
713
|
startedAt: string;
|
|
714
714
|
recordingUrl: string | null;
|
|
715
715
|
agentBatchId: string | null;
|
|
@@ -725,21 +725,21 @@ type components = {
|
|
|
725
725
|
discoveries: number | null;
|
|
726
726
|
risks: number | null;
|
|
727
727
|
};
|
|
728
|
-
CallsListMeta: components[
|
|
728
|
+
CallsListMeta: components["schemas"]["PaginationMeta"] & {
|
|
729
729
|
sort: string[];
|
|
730
730
|
appliedFilters: string[];
|
|
731
731
|
};
|
|
732
732
|
CallsListResponse: {
|
|
733
|
-
data: components[
|
|
734
|
-
meta: components[
|
|
733
|
+
data: components["schemas"]["Call"][];
|
|
734
|
+
meta: components["schemas"]["CallsListMeta"];
|
|
735
735
|
};
|
|
736
736
|
CallsStreamMeta: {
|
|
737
737
|
limit: number;
|
|
738
738
|
nextAfter: string | null;
|
|
739
739
|
};
|
|
740
740
|
CallsStreamResponse: {
|
|
741
|
-
data: components[
|
|
742
|
-
meta: components[
|
|
741
|
+
data: components["schemas"]["Call"][];
|
|
742
|
+
meta: components["schemas"]["CallsStreamMeta"];
|
|
743
743
|
};
|
|
744
744
|
SipTrunk: {
|
|
745
745
|
id: string;
|
|
@@ -749,29 +749,29 @@ type components = {
|
|
|
749
749
|
domain: string;
|
|
750
750
|
carrierAddress: string;
|
|
751
751
|
carrierPort: number;
|
|
752
|
-
carrierTransport:
|
|
752
|
+
carrierTransport: "udp" | "tcp" | "tls";
|
|
753
753
|
phoneNumbers: string[];
|
|
754
|
-
status:
|
|
754
|
+
status: "active" | "inactive";
|
|
755
755
|
createdAt: string;
|
|
756
756
|
updatedAt: string;
|
|
757
757
|
};
|
|
758
|
-
SipTrunkWithPassword: components[
|
|
758
|
+
SipTrunkWithPassword: components["schemas"]["SipTrunk"] & {
|
|
759
759
|
password: string;
|
|
760
760
|
};
|
|
761
761
|
CreateSipTrunkRequest: {
|
|
762
762
|
name: string;
|
|
763
763
|
carrierAddress: string;
|
|
764
764
|
carrierPort?: number;
|
|
765
|
-
carrierTransport?:
|
|
765
|
+
carrierTransport?: "udp" | "tcp" | "tls";
|
|
766
766
|
phoneNumbers?: string[];
|
|
767
767
|
};
|
|
768
768
|
UpdateSipTrunkRequest: {
|
|
769
769
|
name?: string;
|
|
770
770
|
carrierAddress?: string;
|
|
771
771
|
carrierPort?: number;
|
|
772
|
-
carrierTransport?:
|
|
772
|
+
carrierTransport?: "udp" | "tcp" | "tls";
|
|
773
773
|
phoneNumbers?: string[];
|
|
774
|
-
status?:
|
|
774
|
+
status?: "active" | "inactive";
|
|
775
775
|
};
|
|
776
776
|
ResourceProjection: {
|
|
777
777
|
estimatedAtClose: number;
|
|
@@ -785,23 +785,23 @@ type components = {
|
|
|
785
785
|
used: number;
|
|
786
786
|
remaining: number;
|
|
787
787
|
unit: string;
|
|
788
|
-
projection: components[
|
|
788
|
+
projection: components["schemas"]["ResourceProjection"];
|
|
789
789
|
};
|
|
790
790
|
SubscriptionInfo: {
|
|
791
791
|
id: string;
|
|
792
|
-
status:
|
|
793
|
-
billingCycle:
|
|
792
|
+
status: "active" | "paused";
|
|
793
|
+
billingCycle: "monthly" | "yearly";
|
|
794
794
|
currentPeriodStart: string;
|
|
795
795
|
currentPeriodEnd: string;
|
|
796
796
|
};
|
|
797
797
|
BillingBalanceResponse: {
|
|
798
|
-
subscription: components[
|
|
799
|
-
resources: components[
|
|
798
|
+
subscription: components["schemas"]["SubscriptionInfo"];
|
|
799
|
+
resources: components["schemas"]["ResourceBalance"][];
|
|
800
800
|
};
|
|
801
801
|
UsageAgentRow: {
|
|
802
802
|
agentId: string;
|
|
803
803
|
agentName: string | null;
|
|
804
|
-
status:
|
|
804
|
+
status: "inactive" | "training" | "active" | "archived" | "building" | "failed" | null;
|
|
805
805
|
totalQuantity: number;
|
|
806
806
|
totalEvents: number;
|
|
807
807
|
percentOfTotal: number;
|
|
@@ -813,42 +813,42 @@ type components = {
|
|
|
813
813
|
limit: number;
|
|
814
814
|
hasNext: boolean;
|
|
815
815
|
hasPrevious: boolean;
|
|
816
|
-
aggregations: components[
|
|
816
|
+
aggregations: components["schemas"]["UsageAgentsAggregations"];
|
|
817
817
|
};
|
|
818
818
|
UsageAgentsAggregations: {
|
|
819
819
|
totalUsage: number;
|
|
820
820
|
planLimit: number | null;
|
|
821
821
|
};
|
|
822
822
|
UsageAgentsResponse: {
|
|
823
|
-
data: components[
|
|
824
|
-
meta: components[
|
|
823
|
+
data: components["schemas"]["UsageAgentRow"][];
|
|
824
|
+
meta: components["schemas"]["UsageAgentsMeta"];
|
|
825
825
|
};
|
|
826
826
|
MessageTemplateResponse: {
|
|
827
827
|
id: string;
|
|
828
|
-
channel:
|
|
828
|
+
channel: "whatsapp";
|
|
829
829
|
name: string;
|
|
830
|
-
category:
|
|
830
|
+
category: "utility" | "marketing" | "authentication";
|
|
831
831
|
status: string;
|
|
832
832
|
language: string;
|
|
833
833
|
body: string;
|
|
834
834
|
};
|
|
835
835
|
WhatsAppButtonRequest: {
|
|
836
|
-
type:
|
|
836
|
+
type: "quick_reply" | "url" | "phone";
|
|
837
837
|
text: string;
|
|
838
838
|
value?: string;
|
|
839
839
|
};
|
|
840
840
|
WhatsAppMetadataRequest: {
|
|
841
|
-
category?:
|
|
842
|
-
language?:
|
|
841
|
+
category?: "utility" | "marketing" | "authentication";
|
|
842
|
+
language?: "es_MX" | "es_ES";
|
|
843
843
|
header?: string;
|
|
844
844
|
footer?: string;
|
|
845
|
-
buttons?: components[
|
|
845
|
+
buttons?: components["schemas"]["WhatsAppButtonRequest"][];
|
|
846
846
|
};
|
|
847
847
|
CreateMessageTemplateRequest: {
|
|
848
|
-
channel:
|
|
848
|
+
channel: "whatsapp";
|
|
849
849
|
name: string;
|
|
850
850
|
body: string;
|
|
851
|
-
metadata?: components[
|
|
851
|
+
metadata?: components["schemas"]["WhatsAppMetadataRequest"];
|
|
852
852
|
};
|
|
853
853
|
MessageTemplateConnectionResponse: {
|
|
854
854
|
phoneNumber: string;
|
|
@@ -858,33 +858,33 @@ type components = {
|
|
|
858
858
|
templateVersionId?: string;
|
|
859
859
|
name?: string | null;
|
|
860
860
|
description?: string | null;
|
|
861
|
-
status?:
|
|
861
|
+
status?: "inactive" | "training" | "active";
|
|
862
862
|
debounceDelayMs?: number | null;
|
|
863
863
|
brief?: string | null;
|
|
864
864
|
researchUrl?: string | null;
|
|
865
865
|
voiceId?: string | null;
|
|
866
|
-
documentRefs?: components[
|
|
866
|
+
documentRefs?: components["schemas"]["DocumentRef"][] | null;
|
|
867
867
|
};
|
|
868
868
|
CloneAgentRequest: {
|
|
869
869
|
name: string;
|
|
870
870
|
description?: string | null;
|
|
871
|
-
status?:
|
|
871
|
+
status?: "inactive" | "training" | "active";
|
|
872
872
|
versionId: string;
|
|
873
|
-
clone: (
|
|
873
|
+
clone: ("instructions" | "tools" | "webhooks" | "stages" | "triggers" | "businessHours" | "businessHourExceptions")[];
|
|
874
874
|
};
|
|
875
875
|
AgentScheduleListResponse: {
|
|
876
|
-
data: components[
|
|
877
|
-
meta: components[
|
|
876
|
+
data: components["schemas"]["AgentSchedule"][];
|
|
877
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
878
878
|
};
|
|
879
879
|
BlueprintStageTriggerCondition: {
|
|
880
|
-
type:
|
|
880
|
+
type: "intent" | "rule" | "expression";
|
|
881
881
|
value: string;
|
|
882
882
|
metadata?: {
|
|
883
883
|
[key: string]: unknown;
|
|
884
884
|
} | null;
|
|
885
885
|
};
|
|
886
886
|
BlueprintStageTriggerInput: {
|
|
887
|
-
condition: components[
|
|
887
|
+
condition: components["schemas"]["BlueprintStageTriggerCondition"];
|
|
888
888
|
nextStageName: string;
|
|
889
889
|
};
|
|
890
890
|
ApiKeySummary: {
|
|
@@ -892,7 +892,7 @@ type components = {
|
|
|
892
892
|
name: string;
|
|
893
893
|
description?: string | null;
|
|
894
894
|
scopes: string[];
|
|
895
|
-
environment:
|
|
895
|
+
environment: "production" | "sandbox" | "staging" | "development";
|
|
896
896
|
keyPreview: string;
|
|
897
897
|
createdAt: string;
|
|
898
898
|
updatedAt: string;
|
|
@@ -902,10 +902,10 @@ type components = {
|
|
|
902
902
|
CreateApiKeyRequest: {
|
|
903
903
|
name: string;
|
|
904
904
|
description?: string | null;
|
|
905
|
-
environment?:
|
|
905
|
+
environment?: "production" | "sandbox" | "staging" | "development";
|
|
906
906
|
scopes?: string[];
|
|
907
907
|
};
|
|
908
|
-
CreateApiKeyResponse: components[
|
|
908
|
+
CreateApiKeyResponse: components["schemas"]["ApiKeySummary"] & {
|
|
909
909
|
key: string;
|
|
910
910
|
};
|
|
911
911
|
WorkspaceSummary: {
|
|
@@ -913,8 +913,8 @@ type components = {
|
|
|
913
913
|
name: string;
|
|
914
914
|
};
|
|
915
915
|
WorkspaceListResponse: {
|
|
916
|
-
data: components[
|
|
917
|
-
meta: components[
|
|
916
|
+
data: components["schemas"]["WorkspaceSummary"][];
|
|
917
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
918
918
|
};
|
|
919
919
|
WorkspaceCreateRequest: {
|
|
920
920
|
fullName: string;
|
|
@@ -933,7 +933,7 @@ type components = {
|
|
|
933
933
|
summary?: string;
|
|
934
934
|
description?: string;
|
|
935
935
|
notes?: string[];
|
|
936
|
-
prompts?: components[
|
|
936
|
+
prompts?: components["schemas"]["ToolConfigSchemaActionPrompts"];
|
|
937
937
|
schema: OneOf<[
|
|
938
938
|
{
|
|
939
939
|
[key: string]: unknown;
|
|
@@ -942,9 +942,9 @@ type components = {
|
|
|
942
942
|
]>;
|
|
943
943
|
};
|
|
944
944
|
ToolConfigSchema: {
|
|
945
|
-
schemaVersion:
|
|
945
|
+
schemaVersion: "json-schema/2020-12";
|
|
946
946
|
actions: {
|
|
947
|
-
[key: string]: components[
|
|
947
|
+
[key: string]: components["schemas"]["ToolConfigSchemaAction"];
|
|
948
948
|
};
|
|
949
949
|
};
|
|
950
950
|
ToolCatalogAuthor: {
|
|
@@ -975,19 +975,19 @@ type components = {
|
|
|
975
975
|
termsUrl: string | null;
|
|
976
976
|
};
|
|
977
977
|
ToolCatalogCard: {
|
|
978
|
-
author: components[
|
|
979
|
-
media: components[
|
|
980
|
-
description: components[
|
|
978
|
+
author: components["schemas"]["ToolCatalogAuthor"];
|
|
979
|
+
media: components["schemas"]["ToolCatalogMedia"];
|
|
980
|
+
description: components["schemas"]["ToolCatalogDescription"];
|
|
981
981
|
features: string[];
|
|
982
982
|
useCases: string[];
|
|
983
|
-
installation: components[
|
|
984
|
-
appliesTo: components[
|
|
985
|
-
links: components[
|
|
983
|
+
installation: components["schemas"]["ToolCatalogInstallation"];
|
|
984
|
+
appliesTo: components["schemas"]["ToolCatalogAppliesTo"];
|
|
985
|
+
links: components["schemas"]["ToolCatalogLinks"];
|
|
986
986
|
};
|
|
987
987
|
ToolCatalogMetadata: {
|
|
988
988
|
version: 1;
|
|
989
989
|
i18n: {
|
|
990
|
-
[key: string]: components[
|
|
990
|
+
[key: string]: components["schemas"]["ToolCatalogCard"];
|
|
991
991
|
};
|
|
992
992
|
};
|
|
993
993
|
ToolConnectionListItem: {
|
|
@@ -996,14 +996,14 @@ type components = {
|
|
|
996
996
|
workspaceId: string;
|
|
997
997
|
agentId: string;
|
|
998
998
|
connectionKey: string;
|
|
999
|
-
status:
|
|
999
|
+
status: "connected" | "pending" | "error" | "revoked";
|
|
1000
1000
|
providerRef?: string | null;
|
|
1001
1001
|
descriptionUsage?: string | null;
|
|
1002
1002
|
usageExample?: string | null;
|
|
1003
1003
|
};
|
|
1004
1004
|
ToolConnectionListResponse: {
|
|
1005
|
-
data: components[
|
|
1006
|
-
meta: components[
|
|
1005
|
+
data: components["schemas"]["ToolConnectionListItem"][];
|
|
1006
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
1007
1007
|
};
|
|
1008
1008
|
CreateToolConnectionRequest: {
|
|
1009
1009
|
toolId: string;
|
|
@@ -1014,7 +1014,7 @@ type components = {
|
|
|
1014
1014
|
};
|
|
1015
1015
|
descriptionUsage?: string;
|
|
1016
1016
|
usageExample?: string;
|
|
1017
|
-
auth?: components[
|
|
1017
|
+
auth?: components["schemas"]["ToolConnectionAuth"];
|
|
1018
1018
|
};
|
|
1019
1019
|
ExecuteToolConnectionRequest: {
|
|
1020
1020
|
action: string;
|
|
@@ -1041,31 +1041,31 @@ type components = {
|
|
|
1041
1041
|
};
|
|
1042
1042
|
CatalogItemVoiceMetadata: {
|
|
1043
1043
|
language: string;
|
|
1044
|
-
gender:
|
|
1044
|
+
gender: "female" | "male" | "neutral";
|
|
1045
1045
|
tone: string;
|
|
1046
1046
|
provider?: string | null;
|
|
1047
1047
|
previewUrl?: string | null;
|
|
1048
1048
|
};
|
|
1049
|
-
WebhookDeliveryStatus:
|
|
1049
|
+
WebhookDeliveryStatus: "queued" | "sending" | "success" | "failed";
|
|
1050
1050
|
WebhookDeliverySummary: {
|
|
1051
1051
|
id: string;
|
|
1052
1052
|
webhookId: string;
|
|
1053
1053
|
subscriptionId: string;
|
|
1054
1054
|
eventKey: string;
|
|
1055
|
-
status: components[
|
|
1055
|
+
status: components["schemas"]["WebhookDeliveryStatus"];
|
|
1056
1056
|
attempts: number;
|
|
1057
1057
|
nextAttemptAt?: string | null;
|
|
1058
1058
|
lastError?: string | null;
|
|
1059
|
-
requestMethod:
|
|
1059
|
+
requestMethod: "GET" | "POST";
|
|
1060
1060
|
responseStatus?: number | null;
|
|
1061
1061
|
createdAt: string;
|
|
1062
1062
|
updatedAt: string;
|
|
1063
1063
|
};
|
|
1064
1064
|
WebhookDeliveryListResponse: {
|
|
1065
|
-
data: components[
|
|
1066
|
-
meta: components[
|
|
1065
|
+
data: components["schemas"]["WebhookDeliverySummary"][];
|
|
1066
|
+
meta: components["schemas"]["PaginationMeta"];
|
|
1067
1067
|
};
|
|
1068
|
-
WebhookDeliveryDetail: components[
|
|
1068
|
+
WebhookDeliveryDetail: components["schemas"]["WebhookDeliverySummary"] & ({
|
|
1069
1069
|
requestHeaders?: {
|
|
1070
1070
|
[key: string]: string;
|
|
1071
1071
|
};
|
|
@@ -1073,7 +1073,7 @@ type components = {
|
|
|
1073
1073
|
[key: string]: unknown;
|
|
1074
1074
|
} | null;
|
|
1075
1075
|
responseBody?: string | null;
|
|
1076
|
-
};
|
|
1076
|
+
});
|
|
1077
1077
|
};
|
|
1078
1078
|
responses: never;
|
|
1079
1079
|
parameters: {
|
|
@@ -1099,7 +1099,7 @@ type components = {
|
|
|
1099
1099
|
FieldsParam?: string;
|
|
1100
1100
|
IncludeParam?: string;
|
|
1101
1101
|
SearchParam?: string;
|
|
1102
|
-
FilterParam?: components[
|
|
1102
|
+
FilterParam?: components["schemas"]["QueryFilters"];
|
|
1103
1103
|
WebhookId: string;
|
|
1104
1104
|
SubscriptionId: string;
|
|
1105
1105
|
CallId: string;
|
|
@@ -1114,14 +1114,14 @@ type components = {
|
|
|
1114
1114
|
UsageResourceQuery?: string;
|
|
1115
1115
|
UsageFromQuery?: string;
|
|
1116
1116
|
UsageToQuery?: string;
|
|
1117
|
-
OrParam?: components[
|
|
1117
|
+
OrParam?: components["schemas"]["QueryOrGroups"];
|
|
1118
1118
|
ScheduleId: string;
|
|
1119
1119
|
ApiKeyId: string;
|
|
1120
1120
|
XCacheRefresh?: boolean;
|
|
1121
1121
|
IdempotencyKey: string;
|
|
1122
1122
|
XApiKey?: string;
|
|
1123
|
-
DurationBucketQuery?:
|
|
1124
|
-
GoalStatusQuery?:
|
|
1123
|
+
DurationBucketQuery?: "short" | "medium" | "long";
|
|
1124
|
+
GoalStatusQuery?: "achieved" | "not_achieved";
|
|
1125
1125
|
SearchQuery?: string;
|
|
1126
1126
|
DeliveryId: string;
|
|
1127
1127
|
};
|
|
@@ -2248,9 +2248,11 @@ declare function createToolsApi(cfg: ClientConfig & {
|
|
|
2248
2248
|
connections: {
|
|
2249
2249
|
readonly connect: (toolId: string, payload: ToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
|
|
2250
2250
|
readonly create: (payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
|
|
2251
|
+
readonly delete: (toolAgentConnectionId: string) => Promise<void>;
|
|
2251
2252
|
readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ExecuteToolResponse>;
|
|
2252
2253
|
readonly list: (options?: ListToolConnectionsOptions) => Promise<PaginatedResult<ToolConnectionListResponse, ListToolConnectionsOptions>>;
|
|
2253
2254
|
readonly createConnection: (payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
|
|
2255
|
+
readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
|
|
2254
2256
|
readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ExecuteToolResponse>;
|
|
2255
2257
|
};
|
|
2256
2258
|
list(options?: ListToolsOptions): Promise<PaginatedResult<ToolListResponse, ListToolsOptions>>;
|
|
@@ -2263,6 +2265,7 @@ declare function createToolsApi(cfg: ClientConfig & {
|
|
|
2263
2265
|
connect(toolId: string, payload: ToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ToolConnectionResponse>;
|
|
2264
2266
|
createConnection(payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ToolConnectionResponse>;
|
|
2265
2267
|
executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ExecuteToolResponse>;
|
|
2268
|
+
deleteConnection(toolAgentConnectionId: string): Promise<void>;
|
|
2266
2269
|
};
|
|
2267
2270
|
|
|
2268
2271
|
type ListUsageAgentsOptions = ListQueryOptions & Partial<{
|
|
@@ -2428,6 +2431,7 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2428
2431
|
readonly create: (payload: CreateToolConnectionRequest, options?: {
|
|
2429
2432
|
idempotencyKey?: string;
|
|
2430
2433
|
}) => Promise<ToolConnectionResponse>;
|
|
2434
|
+
readonly delete: (toolAgentConnectionId: string) => Promise<void>;
|
|
2431
2435
|
readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
|
|
2432
2436
|
idempotencyKey?: string;
|
|
2433
2437
|
}) => Promise<ExecuteToolResponse>;
|
|
@@ -2435,6 +2439,7 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2435
2439
|
readonly createConnection: (payload: CreateToolConnectionRequest, options?: {
|
|
2436
2440
|
idempotencyKey?: string;
|
|
2437
2441
|
}) => Promise<ToolConnectionResponse>;
|
|
2442
|
+
readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
|
|
2438
2443
|
readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
|
|
2439
2444
|
idempotencyKey?: string;
|
|
2440
2445
|
}) => Promise<ExecuteToolResponse>;
|
|
@@ -2466,6 +2471,7 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2466
2471
|
executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
|
|
2467
2472
|
idempotencyKey?: string;
|
|
2468
2473
|
}): Promise<ExecuteToolResponse>;
|
|
2474
|
+
deleteConnection(toolAgentConnectionId: string): Promise<void>;
|
|
2469
2475
|
};
|
|
2470
2476
|
catalogs: {
|
|
2471
2477
|
templates: {
|
|
@@ -2602,6 +2608,7 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2602
2608
|
readonly create: (payload: CreateToolConnectionRequest, options?: {
|
|
2603
2609
|
idempotencyKey?: string;
|
|
2604
2610
|
}) => Promise<ToolConnectionResponse>;
|
|
2611
|
+
readonly delete: (toolAgentConnectionId: string) => Promise<void>;
|
|
2605
2612
|
readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
|
|
2606
2613
|
idempotencyKey?: string;
|
|
2607
2614
|
}) => Promise<ExecuteToolResponse>;
|
|
@@ -2609,6 +2616,7 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2609
2616
|
readonly createConnection: (payload: CreateToolConnectionRequest, options?: {
|
|
2610
2617
|
idempotencyKey?: string;
|
|
2611
2618
|
}) => Promise<ToolConnectionResponse>;
|
|
2619
|
+
readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
|
|
2612
2620
|
readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
|
|
2613
2621
|
idempotencyKey?: string;
|
|
2614
2622
|
}) => Promise<ExecuteToolResponse>;
|
|
@@ -2640,6 +2648,7 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2640
2648
|
executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
|
|
2641
2649
|
idempotencyKey?: string;
|
|
2642
2650
|
}): Promise<ExecuteToolResponse>;
|
|
2651
|
+
deleteConnection(toolAgentConnectionId: string): Promise<void>;
|
|
2643
2652
|
};
|
|
2644
2653
|
catalogs: {
|
|
2645
2654
|
templates: {
|