@stack-spot/portal-network 0.97.2 → 0.98.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/CHANGELOG.md +7 -0
- package/dist/api/codeBuddy.d.ts +1326 -0
- package/dist/api/codeBuddy.d.ts.map +1 -0
- package/dist/api/codeBuddy.js +1199 -0
- package/dist/api/codeBuddy.js.map +1 -0
- package/dist/apis.json +8 -0
- package/dist/client/code-buddy.d.ts +34 -0
- package/dist/client/code-buddy.d.ts.map +1 -0
- package/dist/client/code-buddy.js +42 -0
- package/dist/client/code-buddy.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/codeBuddy.ts +2822 -0
- package/src/apis.json +8 -0
- package/src/client/code-buddy.ts +33 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,1326 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FastAPI
|
|
3
|
+
* 0.1.0
|
|
4
|
+
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
|
+
* See https://www.npmjs.com/package/oazapfts
|
|
6
|
+
*/
|
|
7
|
+
import * as Oazapfts from "@oazapfts/runtime";
|
|
8
|
+
export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
|
|
9
|
+
export declare const servers: {};
|
|
10
|
+
export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace";
|
|
11
|
+
export type GetAiStackResponse = {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
use_case: string;
|
|
15
|
+
programming_language: string;
|
|
16
|
+
framework: string | null;
|
|
17
|
+
test_framework: string | null;
|
|
18
|
+
observability: string | null;
|
|
19
|
+
patterns?: string[] | null;
|
|
20
|
+
dependencies?: string[] | null;
|
|
21
|
+
studio_id: string | null;
|
|
22
|
+
image: string | null;
|
|
23
|
+
cloud_provider: string | null;
|
|
24
|
+
cloud_attributes: string[] | null;
|
|
25
|
+
creator: string | null;
|
|
26
|
+
visibility_level: string;
|
|
27
|
+
use_only?: boolean | null;
|
|
28
|
+
};
|
|
29
|
+
export type ValidationError = {
|
|
30
|
+
loc: (string | number)[];
|
|
31
|
+
msg: string;
|
|
32
|
+
"type": string;
|
|
33
|
+
};
|
|
34
|
+
export type HttpValidationError = {
|
|
35
|
+
detail?: ValidationError[];
|
|
36
|
+
};
|
|
37
|
+
export type NewAiStackRequest = {
|
|
38
|
+
name: string;
|
|
39
|
+
use_case: string;
|
|
40
|
+
programming_language: string;
|
|
41
|
+
framework?: string | null;
|
|
42
|
+
test_framework?: string | null;
|
|
43
|
+
observability?: string | null;
|
|
44
|
+
patterns?: string[] | null;
|
|
45
|
+
dependencies?: string[] | null;
|
|
46
|
+
image?: string | null;
|
|
47
|
+
cloud_provider?: string | null;
|
|
48
|
+
cloud_attributes?: string[] | null;
|
|
49
|
+
};
|
|
50
|
+
export type NewAiStackResponse = {
|
|
51
|
+
id: string;
|
|
52
|
+
};
|
|
53
|
+
export type UpdateAiStackRequest = {
|
|
54
|
+
name: string | null;
|
|
55
|
+
use_case: string | null;
|
|
56
|
+
programming_language: string | null;
|
|
57
|
+
framework: string | null;
|
|
58
|
+
test_framework: string | null;
|
|
59
|
+
observability: string | null;
|
|
60
|
+
patterns: string[] | null;
|
|
61
|
+
dependencies: string[] | null;
|
|
62
|
+
image: string | null;
|
|
63
|
+
cloud_provider: string | null;
|
|
64
|
+
cloud_attributes: string[] | null;
|
|
65
|
+
use_only?: boolean | null;
|
|
66
|
+
};
|
|
67
|
+
export type AiStackForkRequest = {
|
|
68
|
+
name: string;
|
|
69
|
+
description: string | null;
|
|
70
|
+
};
|
|
71
|
+
export type AiStackPublishRequest = {
|
|
72
|
+
use_only?: boolean | null;
|
|
73
|
+
};
|
|
74
|
+
export type NewProjectFilesRequest = {
|
|
75
|
+
context?: object | null;
|
|
76
|
+
project_id: string;
|
|
77
|
+
encoded_project_files: string;
|
|
78
|
+
};
|
|
79
|
+
export type QuickActionsRequest = {
|
|
80
|
+
context?: object | null;
|
|
81
|
+
action: string;
|
|
82
|
+
code: string;
|
|
83
|
+
qc_execution_id?: string | null;
|
|
84
|
+
};
|
|
85
|
+
export type SimpleResponse = {
|
|
86
|
+
answer: string;
|
|
87
|
+
prompt_tokens: number;
|
|
88
|
+
completion_tokens: number;
|
|
89
|
+
total_cost?: string | null;
|
|
90
|
+
};
|
|
91
|
+
export type SourceStackAi = {
|
|
92
|
+
"type": "ai_stack";
|
|
93
|
+
name: string;
|
|
94
|
+
id: string;
|
|
95
|
+
};
|
|
96
|
+
export type SourceKnowledgeSource = {
|
|
97
|
+
"type": "knowledge_source" | "cross_account";
|
|
98
|
+
name: string;
|
|
99
|
+
slug: string;
|
|
100
|
+
document_type: string;
|
|
101
|
+
document_score: number;
|
|
102
|
+
document_id: string;
|
|
103
|
+
id?: string | null;
|
|
104
|
+
};
|
|
105
|
+
export type SourceProjectFile = {
|
|
106
|
+
"type"?: "project_file";
|
|
107
|
+
name: string;
|
|
108
|
+
slug: string;
|
|
109
|
+
document_score: number;
|
|
110
|
+
document_id: string;
|
|
111
|
+
path: string;
|
|
112
|
+
};
|
|
113
|
+
export type KnowledgeSourceEvent = {
|
|
114
|
+
"type": "knowledge_source";
|
|
115
|
+
document_type?: string | null;
|
|
116
|
+
name: string;
|
|
117
|
+
slug: string;
|
|
118
|
+
document_score?: number | null;
|
|
119
|
+
document_id?: string | null;
|
|
120
|
+
id?: string | null;
|
|
121
|
+
};
|
|
122
|
+
export type ChatResponse = {
|
|
123
|
+
answer: string;
|
|
124
|
+
prompt_tokens: number;
|
|
125
|
+
completion_tokens: number;
|
|
126
|
+
total_cost?: string | null;
|
|
127
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
|
|
128
|
+
};
|
|
129
|
+
export type EventTypeEnum = "code_injected" | "code_copied" | "custom_quick_command_execution" | "user_feedback_provided" | "copied_all";
|
|
130
|
+
export type SourceProjectFile2 = {
|
|
131
|
+
"type"?: "project_file";
|
|
132
|
+
name: string;
|
|
133
|
+
slug: string;
|
|
134
|
+
document_score: number;
|
|
135
|
+
document_id: string;
|
|
136
|
+
path: string;
|
|
137
|
+
};
|
|
138
|
+
export type QuickCommandEvent = {
|
|
139
|
+
slug: string;
|
|
140
|
+
"type": string;
|
|
141
|
+
duration_execution: number;
|
|
142
|
+
status_execution: string;
|
|
143
|
+
message_error?: string | null;
|
|
144
|
+
tokens_consumed?: string | null;
|
|
145
|
+
execution_id?: string | null;
|
|
146
|
+
qc_execution_id?: string | null;
|
|
147
|
+
id?: string | null;
|
|
148
|
+
};
|
|
149
|
+
export type GenericEventRequest = {
|
|
150
|
+
"type": EventTypeEnum;
|
|
151
|
+
code: string;
|
|
152
|
+
size: number;
|
|
153
|
+
generated_at: number;
|
|
154
|
+
feedback?: ("LIKE" | "DISLIKE") | null;
|
|
155
|
+
chosen_feedback_options?: string[] | null;
|
|
156
|
+
additional_feedback?: string | null;
|
|
157
|
+
message_id?: string | null;
|
|
158
|
+
knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
|
|
159
|
+
quick_command_event?: QuickCommandEvent | null;
|
|
160
|
+
context?: object | null;
|
|
161
|
+
};
|
|
162
|
+
export type FileUploadType = "PROJECT" | "KNOWLEDGE_SOURCE";
|
|
163
|
+
export type NewFileUploadUrlRequest = {
|
|
164
|
+
file_name: string;
|
|
165
|
+
target_id: string;
|
|
166
|
+
target_type: FileUploadType;
|
|
167
|
+
expiration?: number | null;
|
|
168
|
+
};
|
|
169
|
+
export type NewFileUploadFormResponse = {
|
|
170
|
+
id: string;
|
|
171
|
+
url: string;
|
|
172
|
+
form: {
|
|
173
|
+
[key: string]: string;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
export type FileUploadStatus = "NEW" | "PROCESSING" | "INDEXED" | "EXPIRED" | "ERROR" | "INDEXED_BUT_CLEANUP_FAILED";
|
|
177
|
+
export type SummaryPartResponse = {
|
|
178
|
+
added: number;
|
|
179
|
+
preserved: number;
|
|
180
|
+
removed: number;
|
|
181
|
+
errors: {
|
|
182
|
+
[key: string]: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
export type FileUploadStatusResponse = {
|
|
186
|
+
id: string;
|
|
187
|
+
file_name: string;
|
|
188
|
+
target_id: string;
|
|
189
|
+
target_type: FileUploadType;
|
|
190
|
+
status: FileUploadStatus;
|
|
191
|
+
error_description: string | null;
|
|
192
|
+
summary: SummaryPartResponse | null;
|
|
193
|
+
};
|
|
194
|
+
export type NewKnowledgeSourceRequest = {
|
|
195
|
+
slug: string;
|
|
196
|
+
name: string;
|
|
197
|
+
description: string;
|
|
198
|
+
"type": "API" | "SNIPPET" | "CUSTOM";
|
|
199
|
+
};
|
|
200
|
+
export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
|
|
201
|
+
export type KnowledgeSourceTypeEnum = "snippet" | "api" | "event" | "custom" | "project_file" | "memory";
|
|
202
|
+
export type KnowledgeSourceItemResponse = {
|
|
203
|
+
id: string;
|
|
204
|
+
slug: string;
|
|
205
|
+
name: string;
|
|
206
|
+
description: string;
|
|
207
|
+
"type": string;
|
|
208
|
+
object_count: number;
|
|
209
|
+
creator: string | null;
|
|
210
|
+
visibility_level: string;
|
|
211
|
+
use_only: boolean;
|
|
212
|
+
};
|
|
213
|
+
export type KnowledgeSourceResponse = {
|
|
214
|
+
slug: string;
|
|
215
|
+
name: string;
|
|
216
|
+
description: string;
|
|
217
|
+
"type": string;
|
|
218
|
+
creator: string | null;
|
|
219
|
+
"default": boolean;
|
|
220
|
+
visibility_level: string;
|
|
221
|
+
use_only: boolean;
|
|
222
|
+
id: string;
|
|
223
|
+
};
|
|
224
|
+
export type KnowledgeSourcePatchesRequest = {
|
|
225
|
+
name: string;
|
|
226
|
+
description: string;
|
|
227
|
+
use_only?: boolean | null;
|
|
228
|
+
};
|
|
229
|
+
export type KnowledgeSourceSimilaritySearchItemResponse = {
|
|
230
|
+
doc: string;
|
|
231
|
+
score: number;
|
|
232
|
+
file_path: string | null;
|
|
233
|
+
};
|
|
234
|
+
export type KnowledgeSourcesPublishRequest = {
|
|
235
|
+
use_only?: boolean;
|
|
236
|
+
};
|
|
237
|
+
export type KnowSourcePublishBatchRequest = {
|
|
238
|
+
ids: string[];
|
|
239
|
+
};
|
|
240
|
+
export type ForkKnowledgeSourceRequest = {
|
|
241
|
+
slug: string;
|
|
242
|
+
name: string;
|
|
243
|
+
description: string;
|
|
244
|
+
};
|
|
245
|
+
export type DocumentResponse = {
|
|
246
|
+
page_content: string;
|
|
247
|
+
metadata: object;
|
|
248
|
+
};
|
|
249
|
+
export type SnippetKnowledgeSourceRequest = {
|
|
250
|
+
use_case: string;
|
|
251
|
+
code: string;
|
|
252
|
+
language?: string | null;
|
|
253
|
+
};
|
|
254
|
+
export type CustomKnowledgeSourceRequest = {
|
|
255
|
+
content: string;
|
|
256
|
+
};
|
|
257
|
+
export type SearchKnowledgeSourcesRequest = {
|
|
258
|
+
knowledge_source_ids: string[];
|
|
259
|
+
};
|
|
260
|
+
export type AccountSettingsChangeLlmRequest = {
|
|
261
|
+
llm_type: string | null;
|
|
262
|
+
llm_data: object | null;
|
|
263
|
+
};
|
|
264
|
+
export type AccountSettingsChangeLimitRequest = {
|
|
265
|
+
limit: number;
|
|
266
|
+
};
|
|
267
|
+
export type AccountSettingsChangeErqcRequest = {
|
|
268
|
+
active: boolean;
|
|
269
|
+
endpoint: string;
|
|
270
|
+
headers?: object | null;
|
|
271
|
+
auth_endpoint?: string | null;
|
|
272
|
+
client_id?: string | null;
|
|
273
|
+
client_secret?: string | null;
|
|
274
|
+
client_cert?: string | null;
|
|
275
|
+
client_key?: string | null;
|
|
276
|
+
};
|
|
277
|
+
export type TokensCurrentUsageResponse = {
|
|
278
|
+
used: number;
|
|
279
|
+
limit: number;
|
|
280
|
+
renewal_date: string;
|
|
281
|
+
};
|
|
282
|
+
export type TokensMonthlyUsageResponse = {
|
|
283
|
+
used: number;
|
|
284
|
+
month: number;
|
|
285
|
+
};
|
|
286
|
+
export type AddWorkspaceKnowledgeSourceRequest = {
|
|
287
|
+
knowledge_source_slugs: string[];
|
|
288
|
+
};
|
|
289
|
+
export type QuickCommandTypeRequest = "IDE" | "REMOTE";
|
|
290
|
+
export type Method = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
291
|
+
export type QuickCommandsStepFetchRequest = {
|
|
292
|
+
slug: string;
|
|
293
|
+
url: string;
|
|
294
|
+
method: Method;
|
|
295
|
+
headers?: {
|
|
296
|
+
[key: string]: string;
|
|
297
|
+
} | null;
|
|
298
|
+
data?: string | null;
|
|
299
|
+
};
|
|
300
|
+
export type QuickCommandsStepPromptRequest = {
|
|
301
|
+
slug: string;
|
|
302
|
+
prompt: string;
|
|
303
|
+
use_stack?: boolean;
|
|
304
|
+
use_project_files?: boolean;
|
|
305
|
+
allow_use_current_workspace?: boolean;
|
|
306
|
+
knowledge_source_slugs?: string[] | null;
|
|
307
|
+
agent_id?: string | null;
|
|
308
|
+
agent_built_in?: boolean | null;
|
|
309
|
+
};
|
|
310
|
+
export type QuickCommandsReturnType = "CHAT" | "REPLACE_CODE" | "BEFORE_CODE" | "AFTER_CODE";
|
|
311
|
+
export type CustomInputRequest = {
|
|
312
|
+
slug: string;
|
|
313
|
+
question: string;
|
|
314
|
+
mandatory?: boolean;
|
|
315
|
+
};
|
|
316
|
+
export type QuickCommandsCreateRequest = {
|
|
317
|
+
slug: string;
|
|
318
|
+
name: string;
|
|
319
|
+
"type"?: QuickCommandTypeRequest;
|
|
320
|
+
description: string;
|
|
321
|
+
final_result: string;
|
|
322
|
+
steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest)[];
|
|
323
|
+
return_type?: QuickCommandsReturnType | null;
|
|
324
|
+
preserve_conversation?: boolean;
|
|
325
|
+
custom_inputs?: CustomInputRequest[] | null;
|
|
326
|
+
flow?: object | null;
|
|
327
|
+
};
|
|
328
|
+
export type BaseContextualRequest = {
|
|
329
|
+
context?: object | null;
|
|
330
|
+
};
|
|
331
|
+
export type QuickCommandListResponse = {
|
|
332
|
+
slug: string;
|
|
333
|
+
name: string;
|
|
334
|
+
"type": QuickCommandTypeRequest;
|
|
335
|
+
description: string;
|
|
336
|
+
studio_id?: string | null;
|
|
337
|
+
flow?: object | null;
|
|
338
|
+
preserve_conversation: boolean;
|
|
339
|
+
use_selected_code: boolean;
|
|
340
|
+
return_type?: QuickCommandsReturnType | null;
|
|
341
|
+
creator: string | null;
|
|
342
|
+
visibility_level: string;
|
|
343
|
+
use_only: boolean;
|
|
344
|
+
id: string;
|
|
345
|
+
};
|
|
346
|
+
export type QuickCommandsUpdateRequest = {
|
|
347
|
+
name?: string | null;
|
|
348
|
+
description?: string | null;
|
|
349
|
+
steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest)[] | null;
|
|
350
|
+
return_type?: QuickCommandsReturnType | null;
|
|
351
|
+
knowledge_source_slugs?: string[] | null;
|
|
352
|
+
final_result?: string | null;
|
|
353
|
+
preserve_conversation?: boolean;
|
|
354
|
+
custom_inputs?: CustomInputRequest[] | null;
|
|
355
|
+
flow?: object | null;
|
|
356
|
+
use_only?: boolean | null;
|
|
357
|
+
};
|
|
358
|
+
export type QuickCommandStepType = "LLM" | "FETCH";
|
|
359
|
+
export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
360
|
+
export type QuickCommandStepFetchResponse = {
|
|
361
|
+
slug: string;
|
|
362
|
+
"type": QuickCommandStepType;
|
|
363
|
+
url: string;
|
|
364
|
+
method: Method2;
|
|
365
|
+
headers?: {
|
|
366
|
+
[key: string]: string;
|
|
367
|
+
} | null;
|
|
368
|
+
data?: string | null;
|
|
369
|
+
};
|
|
370
|
+
export type AgentType = "CONVERSATIONAL" | "SINGLE_ANSWER";
|
|
371
|
+
export type LlmConfig = {
|
|
372
|
+
model_slug: string;
|
|
373
|
+
temperature?: number;
|
|
374
|
+
};
|
|
375
|
+
export type KnowledgeSource = {
|
|
376
|
+
similarity_function: string;
|
|
377
|
+
max_number_of_kos: number;
|
|
378
|
+
relevancy_threshold?: number;
|
|
379
|
+
post_processing?: boolean;
|
|
380
|
+
knowledge_sources: string[] | null;
|
|
381
|
+
sealed?: boolean;
|
|
382
|
+
};
|
|
383
|
+
export type AgentDefinitionResponse = {
|
|
384
|
+
id: string;
|
|
385
|
+
name: string;
|
|
386
|
+
slug: string;
|
|
387
|
+
description?: string | null;
|
|
388
|
+
system_prompt?: string | null;
|
|
389
|
+
avatar?: string | null;
|
|
390
|
+
suggested_prompts?: string[] | null;
|
|
391
|
+
"type": AgentType;
|
|
392
|
+
llm_config?: LlmConfig | null;
|
|
393
|
+
visibility_level?: string | null;
|
|
394
|
+
knowledge_sources_config?: KnowledgeSource | null;
|
|
395
|
+
built_in?: boolean;
|
|
396
|
+
creator_name: string;
|
|
397
|
+
created_by: string;
|
|
398
|
+
created_at: string;
|
|
399
|
+
updated_by?: string | null;
|
|
400
|
+
updated_at?: string | null;
|
|
401
|
+
};
|
|
402
|
+
export type QuickCommandStepLlmResponse = {
|
|
403
|
+
slug: string;
|
|
404
|
+
"type": QuickCommandStepType;
|
|
405
|
+
knowledge_source_slugs?: string[] | null;
|
|
406
|
+
prompt: string;
|
|
407
|
+
use_stack?: boolean;
|
|
408
|
+
use_project_files?: boolean;
|
|
409
|
+
agent_id?: string | null;
|
|
410
|
+
agent_built_in?: boolean | null;
|
|
411
|
+
agent_data?: AgentDefinitionResponse | null;
|
|
412
|
+
};
|
|
413
|
+
export type CustomInputResponse = {
|
|
414
|
+
slug: string;
|
|
415
|
+
question: string;
|
|
416
|
+
mandatory?: boolean;
|
|
417
|
+
};
|
|
418
|
+
export type QuickCommandResponse = {
|
|
419
|
+
slug: string;
|
|
420
|
+
name?: string | null;
|
|
421
|
+
"type"?: QuickCommandTypeRequest | null;
|
|
422
|
+
description?: string | null;
|
|
423
|
+
studio_id?: string | null;
|
|
424
|
+
return_type?: QuickCommandsReturnType | null;
|
|
425
|
+
final_result?: string | null;
|
|
426
|
+
steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse)[] | null;
|
|
427
|
+
flow?: object | null;
|
|
428
|
+
preserve_conversation?: boolean | null;
|
|
429
|
+
use_selected_code?: boolean | null;
|
|
430
|
+
creator: string | null;
|
|
431
|
+
visibility_level: string;
|
|
432
|
+
use_only: boolean;
|
|
433
|
+
custom_inputs?: CustomInputResponse[] | null;
|
|
434
|
+
id: string;
|
|
435
|
+
};
|
|
436
|
+
export type QuickCommandPublishRequest = {
|
|
437
|
+
use_only?: boolean | null;
|
|
438
|
+
};
|
|
439
|
+
export type QuickCommandsMakeACopyRequest = {
|
|
440
|
+
suggested_slug: string;
|
|
441
|
+
name: string;
|
|
442
|
+
description: string;
|
|
443
|
+
};
|
|
444
|
+
export type QuickCommandPromptResponse = {
|
|
445
|
+
answer: string;
|
|
446
|
+
sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
|
|
447
|
+
};
|
|
448
|
+
export type QuickCommandFetchResponseResult = {
|
|
449
|
+
headers?: {
|
|
450
|
+
[key: string]: string;
|
|
451
|
+
} | null;
|
|
452
|
+
data?: string | null;
|
|
453
|
+
status: number;
|
|
454
|
+
};
|
|
455
|
+
export type QuickCommandsExecutionRequest = {
|
|
456
|
+
context?: object | null;
|
|
457
|
+
/** This field is deprecated and will be removed in future releases. Use 'input_data' instead. */
|
|
458
|
+
code_selection?: string | null;
|
|
459
|
+
input_data?: string | null;
|
|
460
|
+
slugs_executions?: {
|
|
461
|
+
[key: string]: string | QuickCommandPromptResponse | QuickCommandFetchResponseResult;
|
|
462
|
+
} | null;
|
|
463
|
+
qc_execution_id?: string | null;
|
|
464
|
+
};
|
|
465
|
+
export type QuickCommandPromptResponse2 = {
|
|
466
|
+
answer: string;
|
|
467
|
+
sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
|
|
468
|
+
};
|
|
469
|
+
export type QuickCommandFinalResultResponse = {
|
|
470
|
+
result: string;
|
|
471
|
+
};
|
|
472
|
+
export type QuickCommandCreateRequest = {
|
|
473
|
+
input_data?: string | object | null;
|
|
474
|
+
ai_stack_id?: string | null;
|
|
475
|
+
custom_inputs?: object | null;
|
|
476
|
+
};
|
|
477
|
+
export type Progress = {
|
|
478
|
+
start: string;
|
|
479
|
+
end?: string | null;
|
|
480
|
+
duration?: number | null;
|
|
481
|
+
execution_percentage: number;
|
|
482
|
+
status: string;
|
|
483
|
+
};
|
|
484
|
+
export type StepFetch = {
|
|
485
|
+
status_code: number;
|
|
486
|
+
headers?: {
|
|
487
|
+
[key: string]: string;
|
|
488
|
+
} | null;
|
|
489
|
+
data?: string | null;
|
|
490
|
+
json_data?: object | null;
|
|
491
|
+
};
|
|
492
|
+
export type StepLlm = {
|
|
493
|
+
answer: string;
|
|
494
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
|
|
495
|
+
};
|
|
496
|
+
export type Step = {
|
|
497
|
+
step_name: string;
|
|
498
|
+
execution_order: number;
|
|
499
|
+
"type": QuickCommandStepType;
|
|
500
|
+
step_result: StepFetch | StepLlm;
|
|
501
|
+
};
|
|
502
|
+
export type QuickCommandExecutionResponse = {
|
|
503
|
+
execution_id: string;
|
|
504
|
+
quick_command_slug: string;
|
|
505
|
+
conversation_id: string;
|
|
506
|
+
progress: Progress;
|
|
507
|
+
steps?: Step[] | null;
|
|
508
|
+
result?: string | null;
|
|
509
|
+
};
|
|
510
|
+
export type ImportContentType = "ai_stack" | "knowledge_source" | "quick_command";
|
|
511
|
+
export type ImportPublicContent = {
|
|
512
|
+
"type": ImportContentType;
|
|
513
|
+
content_id: string;
|
|
514
|
+
content_slug_name: string;
|
|
515
|
+
studio_id: string | null;
|
|
516
|
+
workspace_ids?: string[] | null;
|
|
517
|
+
};
|
|
518
|
+
export type ConversationHistoryAgentEnum = "AI" | "USER";
|
|
519
|
+
export type ConversationHistoryResponse = {
|
|
520
|
+
message_id: string;
|
|
521
|
+
agent: ConversationHistoryAgentEnum;
|
|
522
|
+
content: string;
|
|
523
|
+
sources: any[];
|
|
524
|
+
custom_agent?: object | null;
|
|
525
|
+
updated: string;
|
|
526
|
+
};
|
|
527
|
+
export type ConversationResponse = {
|
|
528
|
+
id: string;
|
|
529
|
+
title: string;
|
|
530
|
+
workspace_id: string | null;
|
|
531
|
+
ai_stack_id: string | null;
|
|
532
|
+
created: string | null;
|
|
533
|
+
updated: string | null;
|
|
534
|
+
history?: ConversationHistoryResponse[];
|
|
535
|
+
};
|
|
536
|
+
export type ConversationUpdateTitleRequest = {
|
|
537
|
+
title: string;
|
|
538
|
+
};
|
|
539
|
+
export type BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost = {
|
|
540
|
+
objects_zip: Blob;
|
|
541
|
+
};
|
|
542
|
+
export type KnowledgeSourceDependenciesResponse = {
|
|
543
|
+
workspaces?: string[];
|
|
544
|
+
};
|
|
545
|
+
export type FeatureFlagResponse = {
|
|
546
|
+
domain: string;
|
|
547
|
+
action: string;
|
|
548
|
+
active: boolean;
|
|
549
|
+
};
|
|
550
|
+
export type FavoriteTypeEnum = "agent" | "ks" | "qc" | "stack" | "workspace";
|
|
551
|
+
export type FavoriteRequest = {
|
|
552
|
+
id: string;
|
|
553
|
+
"type": FavoriteTypeEnum;
|
|
554
|
+
};
|
|
555
|
+
export type ContentDependencyType = "agent" | "knowledge-source" | "quick-command";
|
|
556
|
+
export type ContentDependencyResponse = {
|
|
557
|
+
id: string;
|
|
558
|
+
slug: string;
|
|
559
|
+
name: string;
|
|
560
|
+
"type": string;
|
|
561
|
+
visibility: string;
|
|
562
|
+
};
|
|
563
|
+
export type DependencyResponse = {
|
|
564
|
+
promote_contents?: ContentDependencyResponse[] | null;
|
|
565
|
+
promote_error_list?: ContentDependencyResponse[] | null;
|
|
566
|
+
delete_contents?: ContentDependencyResponse[] | null;
|
|
567
|
+
missing_list?: ContentDependencyResponse[] | null;
|
|
568
|
+
};
|
|
569
|
+
export type SourceProjectFile3 = {
|
|
570
|
+
"type": "project_file";
|
|
571
|
+
path: string;
|
|
572
|
+
document_score: number;
|
|
573
|
+
};
|
|
574
|
+
export type ChatResponse2 = {
|
|
575
|
+
answer: string;
|
|
576
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
|
|
577
|
+
};
|
|
578
|
+
export type ChatRequest = {
|
|
579
|
+
context?: object | null;
|
|
580
|
+
user_prompt: string;
|
|
581
|
+
project_id?: string | null;
|
|
582
|
+
};
|
|
583
|
+
export type SourceProjectFile4 = {
|
|
584
|
+
"type": "project_file";
|
|
585
|
+
path: string;
|
|
586
|
+
document_score: number;
|
|
587
|
+
};
|
|
588
|
+
export type ChatResponse3 = {
|
|
589
|
+
answer: string;
|
|
590
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile4)[];
|
|
591
|
+
message_id: string | null;
|
|
592
|
+
};
|
|
593
|
+
/**
|
|
594
|
+
* Metrics
|
|
595
|
+
*/
|
|
596
|
+
export declare function metricsMetricsGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
597
|
+
/**
|
|
598
|
+
* List Ai Stacks
|
|
599
|
+
*/
|
|
600
|
+
export declare function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId }: {
|
|
601
|
+
visibility?: VisibilityLevelEnum;
|
|
602
|
+
authorization: string;
|
|
603
|
+
xAccountId?: string | null;
|
|
604
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
|
|
605
|
+
/**
|
|
606
|
+
* Create Ai Stack
|
|
607
|
+
*/
|
|
608
|
+
export declare function createAiStackV1AiStacksPost({ authorization, xAccountId, newAiStackRequest }: {
|
|
609
|
+
authorization: string;
|
|
610
|
+
xAccountId?: string | null;
|
|
611
|
+
newAiStackRequest: NewAiStackRequest;
|
|
612
|
+
}, opts?: Oazapfts.RequestOpts): Promise<NewAiStackResponse>;
|
|
613
|
+
/**
|
|
614
|
+
* Update Ai Stack
|
|
615
|
+
*/
|
|
616
|
+
export declare function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, updateAiStackRequest }: {
|
|
617
|
+
stackId: string;
|
|
618
|
+
authorization: string;
|
|
619
|
+
xAccountId?: string | null;
|
|
620
|
+
updateAiStackRequest: UpdateAiStackRequest;
|
|
621
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
622
|
+
/**
|
|
623
|
+
* Get Ai Stack
|
|
624
|
+
*/
|
|
625
|
+
export declare function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId }: {
|
|
626
|
+
stackId: string;
|
|
627
|
+
authorization: string;
|
|
628
|
+
xAccountId?: string | null;
|
|
629
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse>;
|
|
630
|
+
/**
|
|
631
|
+
* Remove Ai Stack
|
|
632
|
+
*/
|
|
633
|
+
export declare function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId }: {
|
|
634
|
+
stackId: string;
|
|
635
|
+
authorization: string;
|
|
636
|
+
xAccountId?: string | null;
|
|
637
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
638
|
+
/**
|
|
639
|
+
* Get Ai Stack
|
|
640
|
+
*/
|
|
641
|
+
export declare function getAiStackV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId }: {
|
|
642
|
+
stackName: string;
|
|
643
|
+
authorization: string;
|
|
644
|
+
xAccountId?: string | null;
|
|
645
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
646
|
+
/**
|
|
647
|
+
* Fork
|
|
648
|
+
*/
|
|
649
|
+
export declare function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, aiStackForkRequest }: {
|
|
650
|
+
stackId: string;
|
|
651
|
+
authorization: string;
|
|
652
|
+
xAccountId?: string | null;
|
|
653
|
+
aiStackForkRequest: AiStackForkRequest;
|
|
654
|
+
}, opts?: Oazapfts.RequestOpts): Promise<NewAiStackResponse>;
|
|
655
|
+
/**
|
|
656
|
+
* Share
|
|
657
|
+
*/
|
|
658
|
+
export declare function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId }: {
|
|
659
|
+
stackId: string;
|
|
660
|
+
authorization: string;
|
|
661
|
+
xAccountId?: string | null;
|
|
662
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
663
|
+
/**
|
|
664
|
+
* Publish
|
|
665
|
+
*/
|
|
666
|
+
export declare function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, aiStackPublishRequest }: {
|
|
667
|
+
stackId: string;
|
|
668
|
+
authorization: string;
|
|
669
|
+
xAccountId?: string | null;
|
|
670
|
+
aiStackPublishRequest?: AiStackPublishRequest;
|
|
671
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
672
|
+
/**
|
|
673
|
+
* Project Files
|
|
674
|
+
*/
|
|
675
|
+
export declare function projectFilesV1ProjectFilesPost({ authorization, newProjectFilesRequest }: {
|
|
676
|
+
authorization: string;
|
|
677
|
+
newProjectFilesRequest: NewProjectFilesRequest;
|
|
678
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
679
|
+
/**
|
|
680
|
+
* Quick Actions
|
|
681
|
+
*/
|
|
682
|
+
export declare function quickActionsV1QuickActionsPost({ authorization, xAccountId, quickActionsRequest }: {
|
|
683
|
+
authorization: string;
|
|
684
|
+
xAccountId?: string | null;
|
|
685
|
+
quickActionsRequest: QuickActionsRequest;
|
|
686
|
+
}, opts?: Oazapfts.RequestOpts): Promise<SimpleResponse>;
|
|
687
|
+
/**
|
|
688
|
+
* Dev Assistant
|
|
689
|
+
*/
|
|
690
|
+
export declare function devAssistantV1ChatPost(opts?: Oazapfts.RequestOpts): Promise<ChatResponse>;
|
|
691
|
+
/**
|
|
692
|
+
* Post Event
|
|
693
|
+
*/
|
|
694
|
+
export declare function postEventV1EventsPost({ authorization, xAccountId, body }: {
|
|
695
|
+
authorization: string;
|
|
696
|
+
xAccountId?: string | null;
|
|
697
|
+
body: GenericEventRequest[];
|
|
698
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
699
|
+
/**
|
|
700
|
+
* Get Upload Form
|
|
701
|
+
*/
|
|
702
|
+
export declare function getUploadFormV1FileUploadFormPost({ authorization, newFileUploadUrlRequest }: {
|
|
703
|
+
authorization: string;
|
|
704
|
+
newFileUploadUrlRequest: NewFileUploadUrlRequest;
|
|
705
|
+
}, opts?: Oazapfts.RequestOpts): Promise<NewFileUploadFormResponse>;
|
|
706
|
+
/**
|
|
707
|
+
* Get File Upload Status
|
|
708
|
+
*/
|
|
709
|
+
export declare function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUploadId, authorization }: {
|
|
710
|
+
fileUploadId: string;
|
|
711
|
+
authorization: string;
|
|
712
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FileUploadStatusResponse>;
|
|
713
|
+
/**
|
|
714
|
+
* Report Health
|
|
715
|
+
*/
|
|
716
|
+
export declare function reportHealthHealthzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
717
|
+
/**
|
|
718
|
+
* Create Knowledge Source
|
|
719
|
+
*/
|
|
720
|
+
export declare function createKnowledgeSourceV1KnowledgeSourcesPost({ authorization, newKnowledgeSourceRequest }: {
|
|
721
|
+
authorization: string;
|
|
722
|
+
newKnowledgeSourceRequest: NewKnowledgeSourceRequest;
|
|
723
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
724
|
+
/**
|
|
725
|
+
* List Knowledge Sources
|
|
726
|
+
*/
|
|
727
|
+
export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId }: {
|
|
728
|
+
visibility?: VisibilityLevelEnum;
|
|
729
|
+
order?: OrderEnum;
|
|
730
|
+
$default?: boolean | null;
|
|
731
|
+
types?: KnowledgeSourceTypeEnum[] | null;
|
|
732
|
+
authorization: string;
|
|
733
|
+
xAccountId?: string | null;
|
|
734
|
+
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceItemResponse[]>;
|
|
735
|
+
/**
|
|
736
|
+
* Find Knowledge Source
|
|
737
|
+
*/
|
|
738
|
+
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugGet({ slug, authorization }: {
|
|
739
|
+
slug: string;
|
|
740
|
+
authorization: string;
|
|
741
|
+
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse>;
|
|
742
|
+
/**
|
|
743
|
+
* Update Knowledge Source
|
|
744
|
+
*/
|
|
745
|
+
export declare function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authorization, knowledgeSourcePatchesRequest }: {
|
|
746
|
+
slug: string;
|
|
747
|
+
authorization: string;
|
|
748
|
+
knowledgeSourcePatchesRequest: KnowledgeSourcePatchesRequest;
|
|
749
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
750
|
+
/**
|
|
751
|
+
* Delete Knowledge Source
|
|
752
|
+
*/
|
|
753
|
+
export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId }: {
|
|
754
|
+
slug: string;
|
|
755
|
+
authorization: string;
|
|
756
|
+
xAccountId?: string | null;
|
|
757
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
758
|
+
/**
|
|
759
|
+
* Find Knowledge Source
|
|
760
|
+
*/
|
|
761
|
+
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, authorization }: {
|
|
762
|
+
slug: string;
|
|
763
|
+
authorization: string;
|
|
764
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
765
|
+
/**
|
|
766
|
+
* Search
|
|
767
|
+
*/
|
|
768
|
+
export declare function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId }: {
|
|
769
|
+
slug: string;
|
|
770
|
+
q: string;
|
|
771
|
+
size?: number;
|
|
772
|
+
authorization: string;
|
|
773
|
+
xAccountId?: string | null;
|
|
774
|
+
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceSimilaritySearchItemResponse[]>;
|
|
775
|
+
/**
|
|
776
|
+
* Share Knowledge Source
|
|
777
|
+
*/
|
|
778
|
+
export declare function shareKnowledgeSourceV1KnowledgeSourcesSlugSharePost({ slug, authorization }: {
|
|
779
|
+
slug: string;
|
|
780
|
+
authorization: string;
|
|
781
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
782
|
+
/**
|
|
783
|
+
* Publish Knowledge Source
|
|
784
|
+
*/
|
|
785
|
+
export declare function publishKnowledgeSourceV1KnowledgeSourcesSlugPublishPost({ slug, authorization, knowledgeSourcesPublishRequest }: {
|
|
786
|
+
slug: string;
|
|
787
|
+
authorization: string;
|
|
788
|
+
knowledgeSourcesPublishRequest?: KnowledgeSourcesPublishRequest;
|
|
789
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
790
|
+
/**
|
|
791
|
+
* Publish Knowledge Source In Batch
|
|
792
|
+
*/
|
|
793
|
+
export declare function publishKnowledgeSourceInBatchV1KnowledgeSourcesPublishBatchPost({ authorization, knowSourcePublishBatchRequest }: {
|
|
794
|
+
authorization: string;
|
|
795
|
+
knowSourcePublishBatchRequest: KnowSourcePublishBatchRequest;
|
|
796
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
797
|
+
/**
|
|
798
|
+
* Fork Knowledge Source
|
|
799
|
+
*/
|
|
800
|
+
export declare function forkKnowledgeSourceV1KnowledgeSourcesSlugForkPost({ slug, authorization, forkKnowledgeSourceRequest }: {
|
|
801
|
+
slug: string;
|
|
802
|
+
authorization: string;
|
|
803
|
+
forkKnowledgeSourceRequest: ForkKnowledgeSourceRequest;
|
|
804
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
805
|
+
/**
|
|
806
|
+
* List Knowledge Objects
|
|
807
|
+
*/
|
|
808
|
+
export declare function listKnowledgeObjectsV1KnowledgeSourcesSlugObjectsGet({ slug, standalone, authorization }: {
|
|
809
|
+
slug: string;
|
|
810
|
+
standalone?: boolean | null;
|
|
811
|
+
authorization: string;
|
|
812
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse[]>;
|
|
813
|
+
/**
|
|
814
|
+
* Reset Knowledge Objects
|
|
815
|
+
*/
|
|
816
|
+
export declare function resetKnowledgeObjectsV1KnowledgeSourcesSlugObjectsDelete({ slug, standalone, authorization }: {
|
|
817
|
+
slug: string;
|
|
818
|
+
standalone?: boolean | null;
|
|
819
|
+
authorization: string;
|
|
820
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
821
|
+
/**
|
|
822
|
+
* Find Knowledge Object By Custom Id
|
|
823
|
+
*/
|
|
824
|
+
export declare function findKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdGet({ slug, customId, authorization }: {
|
|
825
|
+
slug: string;
|
|
826
|
+
customId: string;
|
|
827
|
+
authorization: string;
|
|
828
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
829
|
+
/**
|
|
830
|
+
* Delete Knowledge Object By Custom Id
|
|
831
|
+
*/
|
|
832
|
+
export declare function deleteKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdDelete({ customId, slug, authorization }: {
|
|
833
|
+
customId: string;
|
|
834
|
+
slug: string;
|
|
835
|
+
authorization: string;
|
|
836
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
837
|
+
/**
|
|
838
|
+
* Find Snippet Doc By Custom Id
|
|
839
|
+
*/
|
|
840
|
+
export declare function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ slug, id, authorization }: {
|
|
841
|
+
slug: string;
|
|
842
|
+
id: string;
|
|
843
|
+
authorization: string;
|
|
844
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
845
|
+
/**
|
|
846
|
+
* Vectorize Snippet Knowledge Source
|
|
847
|
+
*/
|
|
848
|
+
export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, snippetKnowledgeSourceRequest }: {
|
|
849
|
+
slug: string;
|
|
850
|
+
authorization: string;
|
|
851
|
+
xAccountId?: string | null;
|
|
852
|
+
snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
|
|
853
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
854
|
+
/**
|
|
855
|
+
* Find Api Doc By Custom Id
|
|
856
|
+
*/
|
|
857
|
+
export declare function findApiDocByCustomIdV1KnowledgeSourcesSlugApisIdGet({ slug, id, authorization }: {
|
|
858
|
+
slug: string;
|
|
859
|
+
id: string;
|
|
860
|
+
authorization: string;
|
|
861
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
862
|
+
/**
|
|
863
|
+
* Find Event Doc By Custom Id
|
|
864
|
+
*/
|
|
865
|
+
export declare function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug, id, authorization }: {
|
|
866
|
+
slug: string;
|
|
867
|
+
id: string;
|
|
868
|
+
authorization: string;
|
|
869
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
870
|
+
/**
|
|
871
|
+
* Vectorize Event Knowledge Source
|
|
872
|
+
*/
|
|
873
|
+
export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, body }: {
|
|
874
|
+
slug: string;
|
|
875
|
+
authorization: string;
|
|
876
|
+
xAccountId?: string | null;
|
|
877
|
+
body: object;
|
|
878
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
879
|
+
/**
|
|
880
|
+
* Find Custom Doc By Custom Id
|
|
881
|
+
*/
|
|
882
|
+
export declare function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug, id, authorization }: {
|
|
883
|
+
slug: string;
|
|
884
|
+
id: string;
|
|
885
|
+
authorization: string;
|
|
886
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
887
|
+
/**
|
|
888
|
+
* Vectorize Custom Knowledge Source
|
|
889
|
+
*/
|
|
890
|
+
export declare function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, customKnowledgeSourceRequest }: {
|
|
891
|
+
slug: string;
|
|
892
|
+
authorization: string;
|
|
893
|
+
xAccountId?: string | null;
|
|
894
|
+
customKnowledgeSourceRequest: CustomKnowledgeSourceRequest;
|
|
895
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
896
|
+
/**
|
|
897
|
+
* Sync Embedding Model
|
|
898
|
+
*/
|
|
899
|
+
export declare function syncEmbeddingModelV1KnowledgeSourcesSyncPost(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
900
|
+
/**
|
|
901
|
+
* Search Knowledge Sources
|
|
902
|
+
*/
|
|
903
|
+
export declare function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ authorization, searchKnowledgeSourcesRequest }: {
|
|
904
|
+
authorization: string;
|
|
905
|
+
searchKnowledgeSourcesRequest: SearchKnowledgeSourcesRequest;
|
|
906
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
907
|
+
/**
|
|
908
|
+
* Change Llm
|
|
909
|
+
*/
|
|
910
|
+
export declare function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, accountSettingsChangeLlmRequest }: {
|
|
911
|
+
authorization: string;
|
|
912
|
+
xAccountId?: string | null;
|
|
913
|
+
accountSettingsChangeLlmRequest: AccountSettingsChangeLlmRequest;
|
|
914
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
915
|
+
/**
|
|
916
|
+
* Change Limit
|
|
917
|
+
*/
|
|
918
|
+
export declare function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, accountSettingsChangeLimitRequest }: {
|
|
919
|
+
authorization: string;
|
|
920
|
+
xAccountId?: string | null;
|
|
921
|
+
accountSettingsChangeLimitRequest: AccountSettingsChangeLimitRequest;
|
|
922
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
923
|
+
/**
|
|
924
|
+
* Reset Limit
|
|
925
|
+
*/
|
|
926
|
+
export declare function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId }: {
|
|
927
|
+
authorization: string;
|
|
928
|
+
xAccountId?: string | null;
|
|
929
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
930
|
+
/**
|
|
931
|
+
* Change External Rqc
|
|
932
|
+
*/
|
|
933
|
+
export declare function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, accountSettingsChangeErqcRequest }: {
|
|
934
|
+
authorization: string;
|
|
935
|
+
xAccountId?: string | null;
|
|
936
|
+
accountSettingsChangeErqcRequest: AccountSettingsChangeErqcRequest;
|
|
937
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
938
|
+
/**
|
|
939
|
+
* Get External Configs
|
|
940
|
+
*/
|
|
941
|
+
export declare function getExternalConfigsV1AccountsExternalConfigGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
942
|
+
/**
|
|
943
|
+
* Change External Configs
|
|
944
|
+
*/
|
|
945
|
+
export declare function changeExternalConfigsV1AccountsExternalConfigPatch({ body }: {
|
|
946
|
+
body: object;
|
|
947
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
948
|
+
/**
|
|
949
|
+
* Current
|
|
950
|
+
*/
|
|
951
|
+
export declare function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId }: {
|
|
952
|
+
year: number;
|
|
953
|
+
month: number;
|
|
954
|
+
authorization: string;
|
|
955
|
+
xAccountId?: string | null;
|
|
956
|
+
}, opts?: Oazapfts.RequestOpts): Promise<TokensCurrentUsageResponse>;
|
|
957
|
+
/**
|
|
958
|
+
* Monthly
|
|
959
|
+
*/
|
|
960
|
+
export declare function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId }: {
|
|
961
|
+
year: number;
|
|
962
|
+
authorization: string;
|
|
963
|
+
xAccountId?: string | null;
|
|
964
|
+
}, opts?: Oazapfts.RequestOpts): Promise<TokensMonthlyUsageResponse[]>;
|
|
965
|
+
/**
|
|
966
|
+
* Top Users
|
|
967
|
+
*/
|
|
968
|
+
export declare function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId }: {
|
|
969
|
+
year: number;
|
|
970
|
+
month: number;
|
|
971
|
+
authorization: string;
|
|
972
|
+
xAccountId?: string | null;
|
|
973
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
974
|
+
/**
|
|
975
|
+
* Add Association
|
|
976
|
+
*/
|
|
977
|
+
export declare function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, addWorkspaceKnowledgeSourceRequest }: {
|
|
978
|
+
workspaceId: string;
|
|
979
|
+
authorization: string;
|
|
980
|
+
xAccountId?: string | null;
|
|
981
|
+
addWorkspaceKnowledgeSourceRequest: AddWorkspaceKnowledgeSourceRequest;
|
|
982
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
983
|
+
/**
|
|
984
|
+
* List Association
|
|
985
|
+
*/
|
|
986
|
+
export declare function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId }: {
|
|
987
|
+
workspaceId: string;
|
|
988
|
+
authorization: string;
|
|
989
|
+
xAccountId?: string | null;
|
|
990
|
+
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse[]>;
|
|
991
|
+
/**
|
|
992
|
+
* Delete Association
|
|
993
|
+
*/
|
|
994
|
+
export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId }: {
|
|
995
|
+
workspaceId: string;
|
|
996
|
+
knowledgeSourceSlug: string;
|
|
997
|
+
authorization: string;
|
|
998
|
+
xAccountId?: string | null;
|
|
999
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Create Quick Command
|
|
1002
|
+
*/
|
|
1003
|
+
export declare function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, quickCommandsCreateRequest }: {
|
|
1004
|
+
authorization: string;
|
|
1005
|
+
xAccountId?: string | null;
|
|
1006
|
+
quickCommandsCreateRequest: QuickCommandsCreateRequest;
|
|
1007
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1008
|
+
/**
|
|
1009
|
+
* List All Deprecated
|
|
1010
|
+
*/
|
|
1011
|
+
export declare function listAllDeprecatedV1QuickCommandsAllPost({ origin, authorization, xAccountId, baseContextualRequest }: {
|
|
1012
|
+
origin?: string;
|
|
1013
|
+
authorization: string;
|
|
1014
|
+
xAccountId?: string | null;
|
|
1015
|
+
baseContextualRequest: BaseContextualRequest;
|
|
1016
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1017
|
+
/**
|
|
1018
|
+
* List All
|
|
1019
|
+
*/
|
|
1020
|
+
export declare function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId }: {
|
|
1021
|
+
visibility?: VisibilityLevelEnum | null;
|
|
1022
|
+
order?: OrderEnum;
|
|
1023
|
+
types?: QuickCommandTypeRequest[] | null;
|
|
1024
|
+
authorization: string;
|
|
1025
|
+
xAccountId?: string | null;
|
|
1026
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Update Quick Command
|
|
1029
|
+
*/
|
|
1030
|
+
export declare function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, quickCommandsUpdateRequest }: {
|
|
1031
|
+
slug: string;
|
|
1032
|
+
authorization: string;
|
|
1033
|
+
xAccountId?: string | null;
|
|
1034
|
+
quickCommandsUpdateRequest: QuickCommandsUpdateRequest;
|
|
1035
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1036
|
+
/**
|
|
1037
|
+
* Get Quick Command
|
|
1038
|
+
*/
|
|
1039
|
+
export declare function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId }: {
|
|
1040
|
+
slug: string;
|
|
1041
|
+
findAgents?: boolean;
|
|
1042
|
+
authorization: string;
|
|
1043
|
+
xAccountId?: string | null;
|
|
1044
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandResponse>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Delete Quick Command
|
|
1047
|
+
*/
|
|
1048
|
+
export declare function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId }: {
|
|
1049
|
+
slug: string;
|
|
1050
|
+
authorization: string;
|
|
1051
|
+
xAccountId?: string | null;
|
|
1052
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1053
|
+
/**
|
|
1054
|
+
* Share
|
|
1055
|
+
*/
|
|
1056
|
+
export declare function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId }: {
|
|
1057
|
+
slug: string;
|
|
1058
|
+
authorization: string;
|
|
1059
|
+
xAccountId?: string | null;
|
|
1060
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Publish
|
|
1063
|
+
*/
|
|
1064
|
+
export declare function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, quickCommandPublishRequest }: {
|
|
1065
|
+
slug: string;
|
|
1066
|
+
authorization: string;
|
|
1067
|
+
xAccountId?: string | null;
|
|
1068
|
+
quickCommandPublishRequest?: QuickCommandPublishRequest;
|
|
1069
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Fork
|
|
1072
|
+
*/
|
|
1073
|
+
export declare function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, quickCommandsMakeACopyRequest }: {
|
|
1074
|
+
slug: string;
|
|
1075
|
+
authorization: string;
|
|
1076
|
+
xAccountId?: string | null;
|
|
1077
|
+
quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
|
|
1078
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Get Quick Command
|
|
1081
|
+
*/
|
|
1082
|
+
export declare function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId }: {
|
|
1083
|
+
slug: string;
|
|
1084
|
+
authorization: string;
|
|
1085
|
+
xAccountId?: string | null;
|
|
1086
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Get Quick Command By Ks Slug
|
|
1089
|
+
*/
|
|
1090
|
+
export declare function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId }: {
|
|
1091
|
+
slug: string;
|
|
1092
|
+
authorization: string;
|
|
1093
|
+
xAccountId?: string | null;
|
|
1094
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Get Quick Commands By Agent Id
|
|
1097
|
+
*/
|
|
1098
|
+
export declare function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId }: {
|
|
1099
|
+
agentId: string;
|
|
1100
|
+
authorization: string;
|
|
1101
|
+
xAccountId?: string | null;
|
|
1102
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Disassociate Agent
|
|
1105
|
+
*/
|
|
1106
|
+
export declare function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId }: {
|
|
1107
|
+
agentId: string;
|
|
1108
|
+
authorization: string;
|
|
1109
|
+
xAccountId?: string | null;
|
|
1110
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1111
|
+
/**
|
|
1112
|
+
* List By Workspace Id
|
|
1113
|
+
*/
|
|
1114
|
+
export declare function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId }: {
|
|
1115
|
+
workspaceId: string;
|
|
1116
|
+
authorization: string;
|
|
1117
|
+
xAccountId?: string | null;
|
|
1118
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Quick Commands Run
|
|
1121
|
+
*/
|
|
1122
|
+
export declare function quickCommandsRunV1QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1123
|
+
slug: string;
|
|
1124
|
+
stepSlug: string;
|
|
1125
|
+
authorization: string;
|
|
1126
|
+
xAccountId?: string | null;
|
|
1127
|
+
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1128
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandPromptResponse2>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Format Fetch Step
|
|
1131
|
+
*/
|
|
1132
|
+
export declare function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1133
|
+
slug: string;
|
|
1134
|
+
stepSlug: string;
|
|
1135
|
+
authorization: string;
|
|
1136
|
+
xAccountId?: string | null;
|
|
1137
|
+
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1138
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandStepFetchResponse>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Format Result
|
|
1141
|
+
*/
|
|
1142
|
+
export declare function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1143
|
+
slug: string;
|
|
1144
|
+
authorization: string;
|
|
1145
|
+
xAccountId?: string | null;
|
|
1146
|
+
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1147
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandFinalResultResponse>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Add Workspace
|
|
1150
|
+
*/
|
|
1151
|
+
export declare function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId }: {
|
|
1152
|
+
slug: string;
|
|
1153
|
+
workspaceId: string;
|
|
1154
|
+
authorization: string;
|
|
1155
|
+
xAccountId?: string | null;
|
|
1156
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Remove Workspace
|
|
1159
|
+
*/
|
|
1160
|
+
export declare function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId }: {
|
|
1161
|
+
slug: string;
|
|
1162
|
+
workspaceId: string;
|
|
1163
|
+
authorization: string;
|
|
1164
|
+
xAccountId?: string | null;
|
|
1165
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Create Execution
|
|
1168
|
+
*/
|
|
1169
|
+
export declare function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, quickCommandCreateRequest }: {
|
|
1170
|
+
slug: string;
|
|
1171
|
+
conversationId?: string | null;
|
|
1172
|
+
authorization: string;
|
|
1173
|
+
xAccountId?: string | null;
|
|
1174
|
+
quickCommandCreateRequest?: QuickCommandCreateRequest;
|
|
1175
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Callback
|
|
1178
|
+
*/
|
|
1179
|
+
export declare function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId }: {
|
|
1180
|
+
executionId: string;
|
|
1181
|
+
authorization: string;
|
|
1182
|
+
xAccountId?: string | null;
|
|
1183
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandExecutionResponse>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Import Content
|
|
1186
|
+
*/
|
|
1187
|
+
export declare function importContentV1ImportPost({ authorization, xAccountId, importPublicContent }: {
|
|
1188
|
+
authorization: string;
|
|
1189
|
+
xAccountId?: string | null;
|
|
1190
|
+
importPublicContent: ImportPublicContent;
|
|
1191
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1192
|
+
/**
|
|
1193
|
+
* List Conversations
|
|
1194
|
+
*/
|
|
1195
|
+
export declare function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId }: {
|
|
1196
|
+
size?: number;
|
|
1197
|
+
page?: number;
|
|
1198
|
+
authorization: string;
|
|
1199
|
+
xAccountId?: string | null;
|
|
1200
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse[]>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Conversation History
|
|
1203
|
+
*/
|
|
1204
|
+
export declare function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId }: {
|
|
1205
|
+
conversationId: string;
|
|
1206
|
+
authorization: string;
|
|
1207
|
+
xAccountId?: string | null;
|
|
1208
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse>;
|
|
1209
|
+
/**
|
|
1210
|
+
* Update Title
|
|
1211
|
+
*/
|
|
1212
|
+
export declare function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, conversationUpdateTitleRequest }: {
|
|
1213
|
+
conversationId: string;
|
|
1214
|
+
authorization: string;
|
|
1215
|
+
xAccountId?: string | null;
|
|
1216
|
+
conversationUpdateTitleRequest: ConversationUpdateTitleRequest;
|
|
1217
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Delete Conversation
|
|
1220
|
+
*/
|
|
1221
|
+
export declare function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId }: {
|
|
1222
|
+
conversationId: string;
|
|
1223
|
+
authorization: string;
|
|
1224
|
+
xAccountId?: string | null;
|
|
1225
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Download Conversation
|
|
1228
|
+
*/
|
|
1229
|
+
export declare function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId }: {
|
|
1230
|
+
conversationId: string;
|
|
1231
|
+
authorization: string;
|
|
1232
|
+
xAccountId?: string | null;
|
|
1233
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Create Knowledge Source
|
|
1236
|
+
*/
|
|
1237
|
+
export declare function createKnowledgeSourceV1DefaultKnowledgeSourcesPost({ authorization, newKnowledgeSourceRequest }: {
|
|
1238
|
+
authorization: string;
|
|
1239
|
+
newKnowledgeSourceRequest: NewKnowledgeSourceRequest;
|
|
1240
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Delete Knowledge Source
|
|
1243
|
+
*/
|
|
1244
|
+
export declare function deleteKnowledgeSourceV1DefaultKnowledgeSourcesSlugDelete({ slug, authorization }: {
|
|
1245
|
+
slug: string;
|
|
1246
|
+
authorization: string;
|
|
1247
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Upload Knowledge Objects Zip
|
|
1250
|
+
*/
|
|
1251
|
+
export declare function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, bodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost }: {
|
|
1252
|
+
slug: string;
|
|
1253
|
+
autoDelete?: boolean;
|
|
1254
|
+
bodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost;
|
|
1255
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Find Knowledge Source Dependencies
|
|
1258
|
+
*/
|
|
1259
|
+
export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId }: {
|
|
1260
|
+
slug: string;
|
|
1261
|
+
authorization: string;
|
|
1262
|
+
xAccountId?: string | null;
|
|
1263
|
+
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceDependenciesResponse>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Get Flags
|
|
1266
|
+
*/
|
|
1267
|
+
export declare function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts): Promise<FeatureFlagResponse[]>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Get Favorites By Type
|
|
1270
|
+
*/
|
|
1271
|
+
export declare function getFavoritesByTypeV1FavoritesGet({ $type, authorization, xAccountId }: {
|
|
1272
|
+
$type: FavoriteTypeEnum;
|
|
1273
|
+
authorization: string;
|
|
1274
|
+
xAccountId?: string | null;
|
|
1275
|
+
}, opts?: Oazapfts.RequestOpts): Promise<string[]>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Add Favorite
|
|
1278
|
+
*/
|
|
1279
|
+
export declare function addFavoriteV1FavoritesPost({ authorization, xAccountId, favoriteRequest }: {
|
|
1280
|
+
authorization: string;
|
|
1281
|
+
xAccountId?: string | null;
|
|
1282
|
+
favoriteRequest: FavoriteRequest;
|
|
1283
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Delete Favorite
|
|
1286
|
+
*/
|
|
1287
|
+
export declare function deleteFavoriteV1FavoritesDelete({ authorization, xAccountId, favoriteRequest }: {
|
|
1288
|
+
authorization: string;
|
|
1289
|
+
xAccountId?: string | null;
|
|
1290
|
+
favoriteRequest: FavoriteRequest;
|
|
1291
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1292
|
+
/**
|
|
1293
|
+
* Get Content Dependencies
|
|
1294
|
+
*/
|
|
1295
|
+
export declare function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId }: {
|
|
1296
|
+
contentType: ContentDependencyType;
|
|
1297
|
+
contentId: string;
|
|
1298
|
+
authorization: string;
|
|
1299
|
+
xAccountId?: string | null;
|
|
1300
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DependencyResponse>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Dev Assistant V2
|
|
1303
|
+
*/
|
|
1304
|
+
export declare function devAssistantV2V2ChatPost({ accept }: {
|
|
1305
|
+
accept?: string | null;
|
|
1306
|
+
}, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse2>;
|
|
1307
|
+
/**
|
|
1308
|
+
* Quick Commands Run V2
|
|
1309
|
+
*/
|
|
1310
|
+
export declare function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, accept, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1311
|
+
slug: string;
|
|
1312
|
+
stepSlug: string;
|
|
1313
|
+
accept?: string | null;
|
|
1314
|
+
authorization: string;
|
|
1315
|
+
xAccountId?: string | null;
|
|
1316
|
+
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1317
|
+
}, opts?: Oazapfts.RequestOpts): Promise<string | QuickCommandPromptResponse2>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Dev Assistant V3
|
|
1320
|
+
*/
|
|
1321
|
+
export declare function devAssistantV3V3ChatPost({ authorization, xAccountId, chatRequest }: {
|
|
1322
|
+
authorization: string;
|
|
1323
|
+
xAccountId?: string | null;
|
|
1324
|
+
chatRequest: ChatRequest;
|
|
1325
|
+
}, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse3>;
|
|
1326
|
+
//# sourceMappingURL=codeBuddy.d.ts.map
|