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