@getsupervisor/agents-studio-sdk 1.5.0 → 1.7.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/dist/index.d.cts +42 -46
- package/dist/index.d.ts +42 -46
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,11 +3,10 @@ type components = {
|
|
|
3
3
|
AgentDetail: {
|
|
4
4
|
agentId: string;
|
|
5
5
|
name: string;
|
|
6
|
-
agentType:
|
|
6
|
+
agentType: 'chat' | 'voice';
|
|
7
7
|
workspaceId: string;
|
|
8
|
-
provider?: string;
|
|
9
8
|
versionId?: string;
|
|
10
|
-
status:
|
|
9
|
+
status: 'inactive' | 'training' | 'active' | 'archived';
|
|
11
10
|
languageCode?: string;
|
|
12
11
|
description?: string | null;
|
|
13
12
|
toneId?: string | null;
|
|
@@ -20,11 +19,11 @@ type components = {
|
|
|
20
19
|
displayName: string;
|
|
21
20
|
enabled: boolean;
|
|
22
21
|
}[];
|
|
23
|
-
voiceConfig?:
|
|
22
|
+
voiceConfig?: {
|
|
24
23
|
voiceId?: string;
|
|
25
24
|
webhookUrl?: string;
|
|
26
25
|
llmId?: string | null;
|
|
27
|
-
}
|
|
26
|
+
} | null;
|
|
28
27
|
createdAt: string;
|
|
29
28
|
updatedAt: string;
|
|
30
29
|
metadata?: {
|
|
@@ -43,24 +42,22 @@ type components = {
|
|
|
43
42
|
AgentSummary: {
|
|
44
43
|
agentId: string;
|
|
45
44
|
name: string;
|
|
46
|
-
agentType:
|
|
47
|
-
status:
|
|
45
|
+
agentType: 'chat' | 'voice';
|
|
46
|
+
status: 'inactive' | 'training' | 'active' | 'archived';
|
|
48
47
|
workspaceId: string;
|
|
49
|
-
provider?: string | null;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
50
|
};
|
|
53
51
|
AgentListResponse: {
|
|
54
|
-
data: components[
|
|
55
|
-
meta: components[
|
|
52
|
+
data: components['schemas']['AgentSummary'][];
|
|
53
|
+
meta: components['schemas']['PaginationMeta'];
|
|
56
54
|
};
|
|
57
55
|
CreateAgentRequest: {
|
|
58
56
|
name: string;
|
|
59
57
|
description?: string | null;
|
|
60
|
-
agentType:
|
|
58
|
+
agentType: 'chat' | 'voice';
|
|
61
59
|
languageCode: string;
|
|
62
|
-
|
|
63
|
-
status?: "inactive" | "training" | "active";
|
|
60
|
+
status?: 'inactive' | 'training' | 'active';
|
|
64
61
|
avatarUrl?: string | null;
|
|
65
62
|
debounceDelayMs?: number | null;
|
|
66
63
|
metadata?: {
|
|
@@ -76,7 +73,7 @@ type components = {
|
|
|
76
73
|
};
|
|
77
74
|
UpdateAgentRequest: {
|
|
78
75
|
name?: string;
|
|
79
|
-
status?:
|
|
76
|
+
status?: 'inactive' | 'training' | 'active' | 'archived';
|
|
80
77
|
description?: string | null;
|
|
81
78
|
toneId?: string | null;
|
|
82
79
|
messageStyleId?: string | null;
|
|
@@ -86,7 +83,6 @@ type components = {
|
|
|
86
83
|
metadata?: {
|
|
87
84
|
[key: string]: unknown;
|
|
88
85
|
};
|
|
89
|
-
provider?: string | null;
|
|
90
86
|
};
|
|
91
87
|
Instruction: {
|
|
92
88
|
id: string;
|
|
@@ -97,9 +93,9 @@ type components = {
|
|
|
97
93
|
updatedAt?: string;
|
|
98
94
|
};
|
|
99
95
|
InstructionListResponse: {
|
|
100
|
-
data: components[
|
|
96
|
+
data: components['schemas']['Instruction'][];
|
|
101
97
|
versionId?: string | null;
|
|
102
|
-
meta?: components[
|
|
98
|
+
meta?: components['schemas']['PaginationMeta'];
|
|
103
99
|
};
|
|
104
100
|
CreateInstructionRequest: {
|
|
105
101
|
order: number;
|
|
@@ -125,36 +121,36 @@ type components = {
|
|
|
125
121
|
id: string;
|
|
126
122
|
providerVoiceId?: string;
|
|
127
123
|
name: string;
|
|
128
|
-
gender?:
|
|
124
|
+
gender?: 'female' | 'male' | 'neutral';
|
|
129
125
|
locale: string;
|
|
130
126
|
tags?: string[];
|
|
131
127
|
previewUrl?: string;
|
|
132
128
|
provider: string;
|
|
133
129
|
};
|
|
134
130
|
VoiceListResponse: {
|
|
135
|
-
data: components[
|
|
136
|
-
meta: components[
|
|
131
|
+
data: components['schemas']['VoiceSummary'][];
|
|
132
|
+
meta: components['schemas']['PaginationMeta'];
|
|
137
133
|
};
|
|
138
134
|
AgentScheduleSlot: {
|
|
139
135
|
startTime: string;
|
|
140
136
|
endTime: string;
|
|
141
137
|
};
|
|
142
138
|
AgentScheduleRule: {
|
|
143
|
-
dayOfWeek:
|
|
144
|
-
slots: components[
|
|
139
|
+
dayOfWeek: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
140
|
+
slots: components['schemas']['AgentScheduleSlot'][];
|
|
145
141
|
isClosed?: boolean;
|
|
146
142
|
};
|
|
147
143
|
AgentSchedule: {
|
|
148
144
|
agentId: string;
|
|
149
145
|
timezone: string;
|
|
150
|
-
rules: components[
|
|
146
|
+
rules: components['schemas']['AgentScheduleRule'][];
|
|
151
147
|
metadata?: {
|
|
152
148
|
[key: string]: unknown;
|
|
153
149
|
};
|
|
154
150
|
};
|
|
155
151
|
UpdateAgentScheduleRequest: {
|
|
156
152
|
timezone: string;
|
|
157
|
-
rules: components[
|
|
153
|
+
rules: components['schemas']['AgentScheduleRule'][];
|
|
158
154
|
metadata?: {
|
|
159
155
|
[key: string]: unknown;
|
|
160
156
|
};
|
|
@@ -163,13 +159,13 @@ type components = {
|
|
|
163
159
|
versionId: string;
|
|
164
160
|
agentId: string;
|
|
165
161
|
label: string;
|
|
166
|
-
status:
|
|
162
|
+
status: 'draft' | 'published' | 'archived';
|
|
167
163
|
isActive?: boolean;
|
|
168
164
|
createdAt: string;
|
|
169
165
|
updatedAt?: string;
|
|
170
166
|
publishedAt?: string | null;
|
|
171
167
|
};
|
|
172
|
-
AgentVersionDetail: components[
|
|
168
|
+
AgentVersionDetail: components['schemas']['AgentVersionSummary'] & {
|
|
173
169
|
description?: string;
|
|
174
170
|
metadata?: {
|
|
175
171
|
[key: string]: unknown;
|
|
@@ -177,8 +173,8 @@ type components = {
|
|
|
177
173
|
instructionsVersionId?: string;
|
|
178
174
|
};
|
|
179
175
|
AgentVersionListResponse: {
|
|
180
|
-
data: components[
|
|
181
|
-
meta?: components[
|
|
176
|
+
data: components['schemas']['AgentVersionSummary'][];
|
|
177
|
+
meta?: components['schemas']['PaginationMeta'];
|
|
182
178
|
};
|
|
183
179
|
CreateAgentVersionRequest: {
|
|
184
180
|
label: string;
|
|
@@ -191,7 +187,7 @@ type components = {
|
|
|
191
187
|
UpdateAgentVersionRequest: {
|
|
192
188
|
label?: string;
|
|
193
189
|
description?: string;
|
|
194
|
-
status?:
|
|
190
|
+
status?: 'draft' | 'published' | 'archived';
|
|
195
191
|
metadata?: {
|
|
196
192
|
[key: string]: unknown;
|
|
197
193
|
};
|
|
@@ -213,14 +209,14 @@ type components = {
|
|
|
213
209
|
WorkspacePhone: {
|
|
214
210
|
id: string;
|
|
215
211
|
external_id: string;
|
|
216
|
-
channel?:
|
|
212
|
+
channel?: 'voice';
|
|
217
213
|
supports_outbound?: boolean | null;
|
|
218
214
|
assigned_to?: string | null;
|
|
219
215
|
last_used_at?: string | null;
|
|
220
216
|
requires_qr_reauth?: boolean | null;
|
|
221
217
|
};
|
|
222
218
|
WorkspacePhonesResponse: {
|
|
223
|
-
data: components[
|
|
219
|
+
data: components['schemas']['WorkspacePhone'][];
|
|
224
220
|
};
|
|
225
221
|
ToolSummary: {
|
|
226
222
|
id: string;
|
|
@@ -230,15 +226,15 @@ type components = {
|
|
|
230
226
|
enabled: boolean;
|
|
231
227
|
};
|
|
232
228
|
ToolListResponse: {
|
|
233
|
-
data: components[
|
|
234
|
-
meta: components[
|
|
229
|
+
data: components['schemas']['ToolSummary'][];
|
|
230
|
+
meta: components['schemas']['PaginationMeta'];
|
|
235
231
|
};
|
|
236
232
|
ToolResourceSummary: {
|
|
237
233
|
id: string;
|
|
238
234
|
toolId: string;
|
|
239
|
-
type:
|
|
235
|
+
type: 'document' | 'media' | 'file';
|
|
240
236
|
title?: string;
|
|
241
|
-
status:
|
|
237
|
+
status: 'pending' | 'processing' | 'ready' | 'failed';
|
|
242
238
|
sizeBytes?: number | null;
|
|
243
239
|
createdAt: string;
|
|
244
240
|
updatedAt?: string | null;
|
|
@@ -247,12 +243,12 @@ type components = {
|
|
|
247
243
|
};
|
|
248
244
|
};
|
|
249
245
|
ToolResourceListResponse: {
|
|
250
|
-
data: components[
|
|
251
|
-
meta: components[
|
|
246
|
+
data: components['schemas']['ToolResourceSummary'][];
|
|
247
|
+
meta: components['schemas']['PaginationMeta'];
|
|
252
248
|
};
|
|
253
249
|
ToolResourceUploadRequest: {
|
|
254
250
|
file: string;
|
|
255
|
-
type?:
|
|
251
|
+
type?: 'document' | 'media' | 'file';
|
|
256
252
|
title?: string;
|
|
257
253
|
metadata?: {
|
|
258
254
|
[key: string]: unknown;
|
|
@@ -260,18 +256,18 @@ type components = {
|
|
|
260
256
|
};
|
|
261
257
|
ToolResourceUploadResponse: {
|
|
262
258
|
resourceId: string;
|
|
263
|
-
status:
|
|
259
|
+
status: 'queued' | 'processing' | 'completed' | 'failed';
|
|
264
260
|
message?: string;
|
|
265
261
|
toolId?: string;
|
|
266
262
|
};
|
|
267
263
|
ToolResourceReloadResponse: {
|
|
268
264
|
resourceId: string;
|
|
269
|
-
status:
|
|
265
|
+
status: 'queued' | 'processing' | 'completed' | 'failed';
|
|
270
266
|
toolId?: string;
|
|
271
267
|
message?: string;
|
|
272
268
|
};
|
|
273
269
|
ToolConnectionRequest: {
|
|
274
|
-
type?:
|
|
270
|
+
type?: 'oauth2' | 'api_key' | 'credentials';
|
|
275
271
|
authorizationCode?: string | null;
|
|
276
272
|
redirectUri?: string | null;
|
|
277
273
|
credentials?: {
|
|
@@ -282,7 +278,7 @@ type components = {
|
|
|
282
278
|
};
|
|
283
279
|
};
|
|
284
280
|
ToolConnectionResponse: {
|
|
285
|
-
status:
|
|
281
|
+
status: 'connected' | 'pending' | 'requires_action';
|
|
286
282
|
toolId?: string | null;
|
|
287
283
|
connectionId?: string | null;
|
|
288
284
|
authorizationUrl?: string | null;
|
|
@@ -310,14 +306,14 @@ type components = {
|
|
|
310
306
|
toolId: string;
|
|
311
307
|
};
|
|
312
308
|
WorkspaceEnableRequest: {
|
|
313
|
-
provider:
|
|
309
|
+
provider: 'provider';
|
|
314
310
|
apiKey: string;
|
|
315
311
|
metadata?: {
|
|
316
312
|
[key: string]: unknown;
|
|
317
313
|
};
|
|
318
314
|
};
|
|
319
315
|
WorkspaceEnableResponse: {
|
|
320
|
-
status:
|
|
316
|
+
status: 'enabled';
|
|
321
317
|
provider: string;
|
|
322
318
|
workspaceId: string;
|
|
323
319
|
};
|
|
@@ -348,8 +344,8 @@ type components = {
|
|
|
348
344
|
FieldsParam?: string;
|
|
349
345
|
IncludeParam?: string;
|
|
350
346
|
SearchParam?: string;
|
|
351
|
-
FilterParam?: components[
|
|
352
|
-
OrParam?: components[
|
|
347
|
+
FilterParam?: components['schemas']['QueryFilters'];
|
|
348
|
+
OrParam?: components['schemas']['QueryOrGroups'];
|
|
353
349
|
};
|
|
354
350
|
requestBodies: never;
|
|
355
351
|
headers: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,10 @@ type components = {
|
|
|
3
3
|
AgentDetail: {
|
|
4
4
|
agentId: string;
|
|
5
5
|
name: string;
|
|
6
|
-
agentType:
|
|
6
|
+
agentType: 'chat' | 'voice';
|
|
7
7
|
workspaceId: string;
|
|
8
|
-
provider?: string;
|
|
9
8
|
versionId?: string;
|
|
10
|
-
status:
|
|
9
|
+
status: 'inactive' | 'training' | 'active' | 'archived';
|
|
11
10
|
languageCode?: string;
|
|
12
11
|
description?: string | null;
|
|
13
12
|
toneId?: string | null;
|
|
@@ -20,11 +19,11 @@ type components = {
|
|
|
20
19
|
displayName: string;
|
|
21
20
|
enabled: boolean;
|
|
22
21
|
}[];
|
|
23
|
-
voiceConfig?:
|
|
22
|
+
voiceConfig?: {
|
|
24
23
|
voiceId?: string;
|
|
25
24
|
webhookUrl?: string;
|
|
26
25
|
llmId?: string | null;
|
|
27
|
-
}
|
|
26
|
+
} | null;
|
|
28
27
|
createdAt: string;
|
|
29
28
|
updatedAt: string;
|
|
30
29
|
metadata?: {
|
|
@@ -43,24 +42,22 @@ type components = {
|
|
|
43
42
|
AgentSummary: {
|
|
44
43
|
agentId: string;
|
|
45
44
|
name: string;
|
|
46
|
-
agentType:
|
|
47
|
-
status:
|
|
45
|
+
agentType: 'chat' | 'voice';
|
|
46
|
+
status: 'inactive' | 'training' | 'active' | 'archived';
|
|
48
47
|
workspaceId: string;
|
|
49
|
-
provider?: string | null;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
50
|
};
|
|
53
51
|
AgentListResponse: {
|
|
54
|
-
data: components[
|
|
55
|
-
meta: components[
|
|
52
|
+
data: components['schemas']['AgentSummary'][];
|
|
53
|
+
meta: components['schemas']['PaginationMeta'];
|
|
56
54
|
};
|
|
57
55
|
CreateAgentRequest: {
|
|
58
56
|
name: string;
|
|
59
57
|
description?: string | null;
|
|
60
|
-
agentType:
|
|
58
|
+
agentType: 'chat' | 'voice';
|
|
61
59
|
languageCode: string;
|
|
62
|
-
|
|
63
|
-
status?: "inactive" | "training" | "active";
|
|
60
|
+
status?: 'inactive' | 'training' | 'active';
|
|
64
61
|
avatarUrl?: string | null;
|
|
65
62
|
debounceDelayMs?: number | null;
|
|
66
63
|
metadata?: {
|
|
@@ -76,7 +73,7 @@ type components = {
|
|
|
76
73
|
};
|
|
77
74
|
UpdateAgentRequest: {
|
|
78
75
|
name?: string;
|
|
79
|
-
status?:
|
|
76
|
+
status?: 'inactive' | 'training' | 'active' | 'archived';
|
|
80
77
|
description?: string | null;
|
|
81
78
|
toneId?: string | null;
|
|
82
79
|
messageStyleId?: string | null;
|
|
@@ -86,7 +83,6 @@ type components = {
|
|
|
86
83
|
metadata?: {
|
|
87
84
|
[key: string]: unknown;
|
|
88
85
|
};
|
|
89
|
-
provider?: string | null;
|
|
90
86
|
};
|
|
91
87
|
Instruction: {
|
|
92
88
|
id: string;
|
|
@@ -97,9 +93,9 @@ type components = {
|
|
|
97
93
|
updatedAt?: string;
|
|
98
94
|
};
|
|
99
95
|
InstructionListResponse: {
|
|
100
|
-
data: components[
|
|
96
|
+
data: components['schemas']['Instruction'][];
|
|
101
97
|
versionId?: string | null;
|
|
102
|
-
meta?: components[
|
|
98
|
+
meta?: components['schemas']['PaginationMeta'];
|
|
103
99
|
};
|
|
104
100
|
CreateInstructionRequest: {
|
|
105
101
|
order: number;
|
|
@@ -125,36 +121,36 @@ type components = {
|
|
|
125
121
|
id: string;
|
|
126
122
|
providerVoiceId?: string;
|
|
127
123
|
name: string;
|
|
128
|
-
gender?:
|
|
124
|
+
gender?: 'female' | 'male' | 'neutral';
|
|
129
125
|
locale: string;
|
|
130
126
|
tags?: string[];
|
|
131
127
|
previewUrl?: string;
|
|
132
128
|
provider: string;
|
|
133
129
|
};
|
|
134
130
|
VoiceListResponse: {
|
|
135
|
-
data: components[
|
|
136
|
-
meta: components[
|
|
131
|
+
data: components['schemas']['VoiceSummary'][];
|
|
132
|
+
meta: components['schemas']['PaginationMeta'];
|
|
137
133
|
};
|
|
138
134
|
AgentScheduleSlot: {
|
|
139
135
|
startTime: string;
|
|
140
136
|
endTime: string;
|
|
141
137
|
};
|
|
142
138
|
AgentScheduleRule: {
|
|
143
|
-
dayOfWeek:
|
|
144
|
-
slots: components[
|
|
139
|
+
dayOfWeek: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
140
|
+
slots: components['schemas']['AgentScheduleSlot'][];
|
|
145
141
|
isClosed?: boolean;
|
|
146
142
|
};
|
|
147
143
|
AgentSchedule: {
|
|
148
144
|
agentId: string;
|
|
149
145
|
timezone: string;
|
|
150
|
-
rules: components[
|
|
146
|
+
rules: components['schemas']['AgentScheduleRule'][];
|
|
151
147
|
metadata?: {
|
|
152
148
|
[key: string]: unknown;
|
|
153
149
|
};
|
|
154
150
|
};
|
|
155
151
|
UpdateAgentScheduleRequest: {
|
|
156
152
|
timezone: string;
|
|
157
|
-
rules: components[
|
|
153
|
+
rules: components['schemas']['AgentScheduleRule'][];
|
|
158
154
|
metadata?: {
|
|
159
155
|
[key: string]: unknown;
|
|
160
156
|
};
|
|
@@ -163,13 +159,13 @@ type components = {
|
|
|
163
159
|
versionId: string;
|
|
164
160
|
agentId: string;
|
|
165
161
|
label: string;
|
|
166
|
-
status:
|
|
162
|
+
status: 'draft' | 'published' | 'archived';
|
|
167
163
|
isActive?: boolean;
|
|
168
164
|
createdAt: string;
|
|
169
165
|
updatedAt?: string;
|
|
170
166
|
publishedAt?: string | null;
|
|
171
167
|
};
|
|
172
|
-
AgentVersionDetail: components[
|
|
168
|
+
AgentVersionDetail: components['schemas']['AgentVersionSummary'] & {
|
|
173
169
|
description?: string;
|
|
174
170
|
metadata?: {
|
|
175
171
|
[key: string]: unknown;
|
|
@@ -177,8 +173,8 @@ type components = {
|
|
|
177
173
|
instructionsVersionId?: string;
|
|
178
174
|
};
|
|
179
175
|
AgentVersionListResponse: {
|
|
180
|
-
data: components[
|
|
181
|
-
meta?: components[
|
|
176
|
+
data: components['schemas']['AgentVersionSummary'][];
|
|
177
|
+
meta?: components['schemas']['PaginationMeta'];
|
|
182
178
|
};
|
|
183
179
|
CreateAgentVersionRequest: {
|
|
184
180
|
label: string;
|
|
@@ -191,7 +187,7 @@ type components = {
|
|
|
191
187
|
UpdateAgentVersionRequest: {
|
|
192
188
|
label?: string;
|
|
193
189
|
description?: string;
|
|
194
|
-
status?:
|
|
190
|
+
status?: 'draft' | 'published' | 'archived';
|
|
195
191
|
metadata?: {
|
|
196
192
|
[key: string]: unknown;
|
|
197
193
|
};
|
|
@@ -213,14 +209,14 @@ type components = {
|
|
|
213
209
|
WorkspacePhone: {
|
|
214
210
|
id: string;
|
|
215
211
|
external_id: string;
|
|
216
|
-
channel?:
|
|
212
|
+
channel?: 'voice';
|
|
217
213
|
supports_outbound?: boolean | null;
|
|
218
214
|
assigned_to?: string | null;
|
|
219
215
|
last_used_at?: string | null;
|
|
220
216
|
requires_qr_reauth?: boolean | null;
|
|
221
217
|
};
|
|
222
218
|
WorkspacePhonesResponse: {
|
|
223
|
-
data: components[
|
|
219
|
+
data: components['schemas']['WorkspacePhone'][];
|
|
224
220
|
};
|
|
225
221
|
ToolSummary: {
|
|
226
222
|
id: string;
|
|
@@ -230,15 +226,15 @@ type components = {
|
|
|
230
226
|
enabled: boolean;
|
|
231
227
|
};
|
|
232
228
|
ToolListResponse: {
|
|
233
|
-
data: components[
|
|
234
|
-
meta: components[
|
|
229
|
+
data: components['schemas']['ToolSummary'][];
|
|
230
|
+
meta: components['schemas']['PaginationMeta'];
|
|
235
231
|
};
|
|
236
232
|
ToolResourceSummary: {
|
|
237
233
|
id: string;
|
|
238
234
|
toolId: string;
|
|
239
|
-
type:
|
|
235
|
+
type: 'document' | 'media' | 'file';
|
|
240
236
|
title?: string;
|
|
241
|
-
status:
|
|
237
|
+
status: 'pending' | 'processing' | 'ready' | 'failed';
|
|
242
238
|
sizeBytes?: number | null;
|
|
243
239
|
createdAt: string;
|
|
244
240
|
updatedAt?: string | null;
|
|
@@ -247,12 +243,12 @@ type components = {
|
|
|
247
243
|
};
|
|
248
244
|
};
|
|
249
245
|
ToolResourceListResponse: {
|
|
250
|
-
data: components[
|
|
251
|
-
meta: components[
|
|
246
|
+
data: components['schemas']['ToolResourceSummary'][];
|
|
247
|
+
meta: components['schemas']['PaginationMeta'];
|
|
252
248
|
};
|
|
253
249
|
ToolResourceUploadRequest: {
|
|
254
250
|
file: string;
|
|
255
|
-
type?:
|
|
251
|
+
type?: 'document' | 'media' | 'file';
|
|
256
252
|
title?: string;
|
|
257
253
|
metadata?: {
|
|
258
254
|
[key: string]: unknown;
|
|
@@ -260,18 +256,18 @@ type components = {
|
|
|
260
256
|
};
|
|
261
257
|
ToolResourceUploadResponse: {
|
|
262
258
|
resourceId: string;
|
|
263
|
-
status:
|
|
259
|
+
status: 'queued' | 'processing' | 'completed' | 'failed';
|
|
264
260
|
message?: string;
|
|
265
261
|
toolId?: string;
|
|
266
262
|
};
|
|
267
263
|
ToolResourceReloadResponse: {
|
|
268
264
|
resourceId: string;
|
|
269
|
-
status:
|
|
265
|
+
status: 'queued' | 'processing' | 'completed' | 'failed';
|
|
270
266
|
toolId?: string;
|
|
271
267
|
message?: string;
|
|
272
268
|
};
|
|
273
269
|
ToolConnectionRequest: {
|
|
274
|
-
type?:
|
|
270
|
+
type?: 'oauth2' | 'api_key' | 'credentials';
|
|
275
271
|
authorizationCode?: string | null;
|
|
276
272
|
redirectUri?: string | null;
|
|
277
273
|
credentials?: {
|
|
@@ -282,7 +278,7 @@ type components = {
|
|
|
282
278
|
};
|
|
283
279
|
};
|
|
284
280
|
ToolConnectionResponse: {
|
|
285
|
-
status:
|
|
281
|
+
status: 'connected' | 'pending' | 'requires_action';
|
|
286
282
|
toolId?: string | null;
|
|
287
283
|
connectionId?: string | null;
|
|
288
284
|
authorizationUrl?: string | null;
|
|
@@ -310,14 +306,14 @@ type components = {
|
|
|
310
306
|
toolId: string;
|
|
311
307
|
};
|
|
312
308
|
WorkspaceEnableRequest: {
|
|
313
|
-
provider:
|
|
309
|
+
provider: 'provider';
|
|
314
310
|
apiKey: string;
|
|
315
311
|
metadata?: {
|
|
316
312
|
[key: string]: unknown;
|
|
317
313
|
};
|
|
318
314
|
};
|
|
319
315
|
WorkspaceEnableResponse: {
|
|
320
|
-
status:
|
|
316
|
+
status: 'enabled';
|
|
321
317
|
provider: string;
|
|
322
318
|
workspaceId: string;
|
|
323
319
|
};
|
|
@@ -348,8 +344,8 @@ type components = {
|
|
|
348
344
|
FieldsParam?: string;
|
|
349
345
|
IncludeParam?: string;
|
|
350
346
|
SearchParam?: string;
|
|
351
|
-
FilterParam?: components[
|
|
352
|
-
OrParam?: components[
|
|
347
|
+
FilterParam?: components['schemas']['QueryFilters'];
|
|
348
|
+
OrParam?: components['schemas']['QueryOrGroups'];
|
|
353
349
|
};
|
|
354
350
|
requestBodies: never;
|
|
355
351
|
headers: never;
|