@stack-spot/portal-network 0.1.0 → 0.2.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 +9 -0
- package/package.json +7 -6
- package/src/apis.json +2 -10
- package/src/client/account.ts +44 -2
- package/src/error/CanceledError.ts +3 -0
- package/src/error/DefaultAPIError.ts +27 -1
- package/src/error/StackspotAPIError.ts +33 -1
- package/src/network/AutoInfiniteQuery.ts +97 -0
- package/src/network/AutoQuery.ts +2 -1
- package/src/network/ManualInfiniteQuery.ts +88 -0
- package/src/network/ManualQuery.ts +2 -2
- package/src/network/NetworkClient.ts +79 -13
- package/src/network/ReactQueryNetworkClient.ts +130 -12
- package/src/network/react-query-client.ts +3 -0
- package/src/network/types.ts +208 -2
- package/.generate-api.failed.json +0 -1
- package/dist/api/account.d.ts +0 -2368
- package/dist/api/account.d.ts.map +0 -1
- package/dist/api/account.js +0 -1521
- package/dist/api/account.js.map +0 -1
- package/dist/api/ai.d.ts +0 -1432
- package/dist/api/ai.d.ts.map +0 -1
- package/dist/api/ai.js +0 -1342
- package/dist/api/ai.js.map +0 -1
- package/dist/api/apiRuntime.d.ts +0 -922
- package/dist/api/apiRuntime.d.ts.map +0 -1
- package/dist/api/apiRuntime.js +0 -599
- package/dist/api/apiRuntime.js.map +0 -1
- package/dist/api/cloudAccount.d.ts +0 -473
- package/dist/api/cloudAccount.d.ts.map +0 -1
- package/dist/api/cloudAccount.js +0 -300
- package/dist/api/cloudAccount.js.map +0 -1
- package/dist/api/cloudServices.d.ts +0 -1233
- package/dist/api/cloudServices.d.ts.map +0 -1
- package/dist/api/cloudServices.js +0 -715
- package/dist/api/cloudServices.js.map +0 -1
- package/dist/api/insights.d.ts +0 -123
- package/dist/api/insights.d.ts.map +0 -1
- package/dist/api/insights.js +0 -112
- package/dist/api/insights.js.map +0 -1
- package/dist/api/plugin.d.ts +0 -368
- package/dist/api/plugin.d.ts.map +0 -1
- package/dist/api/plugin.js +0 -218
- package/dist/api/plugin.js.map +0 -1
- package/dist/api/serviceCatalog.d.ts +0 -737
- package/dist/api/serviceCatalog.d.ts.map +0 -1
- package/dist/api/serviceCatalog.js +0 -611
- package/dist/api/serviceCatalog.js.map +0 -1
- package/dist/api/workflows.d.ts +0 -366
- package/dist/api/workflows.d.ts.map +0 -1
- package/dist/api/workflows.js +0 -175
- package/dist/api/workflows.js.map +0 -1
- package/dist/api/workspace.js +0 -1476
- package/dist/api/workspace.js.map +0 -1
- package/dist/api/workspaceManager.d.ts +0 -1121
- package/dist/api/workspaceManager.d.ts.map +0 -1
- package/dist/api/workspaceManager.js +0 -357
- package/dist/api/workspaceManager.js.map +0 -1
- package/dist/api/workspaceSearchEngine.d.ts +0 -93
- package/dist/api/workspaceSearchEngine.d.ts.map +0 -1
- package/dist/api/workspaceSearchEngine.js +0 -55
- package/dist/api/workspaceSearchEngine.js.map +0 -1
- package/dist/apis.json +0 -129
- package/dist/client/account.d.ts +0 -46
- package/dist/client/account.d.ts.map +0 -1
- package/dist/client/account.js +0 -104
- package/dist/client/account.js.map +0 -1
- package/dist/error/CanceledError.d.ts +0 -5
- package/dist/error/CanceledError.d.ts.map +0 -1
- package/dist/error/CanceledError.js +0 -7
- package/dist/error/CanceledError.js.map +0 -1
- package/dist/error/DefaultAPIError.d.ts +0 -9
- package/dist/error/DefaultAPIError.d.ts.map +0 -1
- package/dist/error/DefaultAPIError.js +0 -58
- package/dist/error/DefaultAPIError.js.map +0 -1
- package/dist/error/StackspotAPIError.d.ts +0 -19
- package/dist/error/StackspotAPIError.d.ts.map +0 -1
- package/dist/error/StackspotAPIError.js +0 -39
- package/dist/error/StackspotAPIError.js.map +0 -1
- package/dist/error/dictionary/account.d.ts +0 -55
- package/dist/error/dictionary/account.d.ts.map +0 -1
- package/dist/error/dictionary/account.js +0 -55
- package/dist/error/dictionary/account.js.map +0 -1
- package/dist/error/dictionary/action.d.ts +0 -163
- package/dist/error/dictionary/action.d.ts.map +0 -1
- package/dist/error/dictionary/action.js +0 -163
- package/dist/error/dictionary/action.js.map +0 -1
- package/dist/error/dictionary/base.d.ts +0 -21
- package/dist/error/dictionary/base.d.ts.map +0 -1
- package/dist/error/dictionary/base.js +0 -21
- package/dist/error/dictionary/base.js.map +0 -1
- package/dist/error/dictionary/cnt-fields.d.ts +0 -13
- package/dist/error/dictionary/cnt-fields.d.ts.map +0 -1
- package/dist/error/dictionary/cnt-fields.js +0 -13
- package/dist/error/dictionary/cnt-fields.js.map +0 -1
- package/dist/error/dictionary/cnt.d.ts +0 -79
- package/dist/error/dictionary/cnt.d.ts.map +0 -1
- package/dist/error/dictionary/cnt.js +0 -79
- package/dist/error/dictionary/cnt.js.map +0 -1
- package/dist/error/dictionary/rte.d.ts +0 -23
- package/dist/error/dictionary/rte.d.ts.map +0 -1
- package/dist/error/dictionary/rte.js +0 -23
- package/dist/error/dictionary/rte.js.map +0 -1
- package/dist/error/dictionary/rtm.d.ts +0 -9
- package/dist/error/dictionary/rtm.d.ts.map +0 -1
- package/dist/error/dictionary/rtm.js +0 -9
- package/dist/error/dictionary/rtm.js.map +0 -1
- package/dist/error/dictionary/workspace-fields.d.ts +0 -9
- package/dist/error/dictionary/workspace-fields.d.ts.map +0 -1
- package/dist/error/dictionary/workspace-fields.js +0 -9
- package/dist/error/dictionary/workspace-fields.js.map +0 -1
- package/dist/error/dictionary/workspace.d.ts +0 -99
- package/dist/error/dictionary/workspace.d.ts.map +0 -1
- package/dist/error/dictionary/workspace.js +0 -99
- package/dist/error/dictionary/workspace.js.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -6
- package/dist/index.js.map +0 -1
- package/dist/network/AutoMutation.d.ts +0 -10
- package/dist/network/AutoMutation.d.ts.map +0 -1
- package/dist/network/AutoMutation.js +0 -20
- package/dist/network/AutoMutation.js.map +0 -1
- package/dist/network/AutoOperation.d.ts +0 -19
- package/dist/network/AutoOperation.d.ts.map +0 -1
- package/dist/network/AutoOperation.js +0 -99
- package/dist/network/AutoOperation.js.map +0 -1
- package/dist/network/AutoQuery.d.ts +0 -19
- package/dist/network/AutoQuery.d.ts.map +0 -1
- package/dist/network/AutoQuery.js +0 -70
- package/dist/network/AutoQuery.js.map +0 -1
- package/dist/network/ManualMutation.d.ts +0 -11
- package/dist/network/ManualMutation.d.ts.map +0 -1
- package/dist/network/ManualMutation.js +0 -32
- package/dist/network/ManualMutation.js.map +0 -1
- package/dist/network/ManualOperation.d.ts +0 -13
- package/dist/network/ManualOperation.d.ts.map +0 -1
- package/dist/network/ManualOperation.js +0 -53
- package/dist/network/ManualOperation.js.map +0 -1
- package/dist/network/ManualQuery.d.ts +0 -20
- package/dist/network/ManualQuery.d.ts.map +0 -1
- package/dist/network/ManualQuery.js +0 -77
- package/dist/network/ManualQuery.js.map +0 -1
- package/dist/network/NetworkClient.d.ts +0 -20
- package/dist/network/NetworkClient.d.ts.map +0 -1
- package/dist/network/NetworkClient.js +0 -85
- package/dist/network/NetworkClient.js.map +0 -1
- package/dist/network/ReactQueryNetworkClient.d.ts +0 -16
- package/dist/network/ReactQueryNetworkClient.d.ts.map +0 -1
- package/dist/network/ReactQueryNetworkClient.js +0 -125
- package/dist/network/ReactQueryNetworkClient.js.map +0 -1
- package/dist/network/react-query-client.d.ts +0 -3
- package/dist/network/react-query-client.d.ts.map +0 -1
- package/dist/network/react-query-client.js +0 -3
- package/dist/network/react-query-client.js.map +0 -1
- package/dist/network/types.d.ts +0 -55
- package/dist/network/types.d.ts.map +0 -1
- package/dist/network/types.js +0 -2
- package/dist/network/types.js.map +0 -1
- package/src/api/plugin.ts +0 -685
package/dist/api/ai.d.ts
DELETED
|
@@ -1,1432 +0,0 @@
|
|
|
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 ValidationError = {
|
|
11
|
-
loc: (string | number)[];
|
|
12
|
-
msg: string;
|
|
13
|
-
"type": string;
|
|
14
|
-
};
|
|
15
|
-
export type HttpValidationError = {
|
|
16
|
-
detail?: ValidationError[];
|
|
17
|
-
};
|
|
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
|
-
export type NewAiStackRequest = {
|
|
41
|
-
name: string;
|
|
42
|
-
use_case: string;
|
|
43
|
-
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[];
|
|
52
|
-
};
|
|
53
|
-
export type NewAiStackResponse = {
|
|
54
|
-
id: string;
|
|
55
|
-
};
|
|
56
|
-
export type UpdateAiStackRequest = {
|
|
57
|
-
name?: string;
|
|
58
|
-
use_case?: string;
|
|
59
|
-
programming_language?: string;
|
|
60
|
-
framework?: string;
|
|
61
|
-
test_framework?: string;
|
|
62
|
-
observability?: string;
|
|
63
|
-
patterns?: string[];
|
|
64
|
-
dependencies?: string[];
|
|
65
|
-
image?: string;
|
|
66
|
-
cloud_provider?: string;
|
|
67
|
-
cloud_attributes?: string[];
|
|
68
|
-
};
|
|
69
|
-
export type AiStacksDependenciesResponse = {
|
|
70
|
-
studios?: string[];
|
|
71
|
-
workspaces?: string[];
|
|
72
|
-
};
|
|
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
|
-
export type AiStackForkRequest = {
|
|
94
|
-
name: string;
|
|
95
|
-
description?: string;
|
|
96
|
-
};
|
|
97
|
-
export type ShareContentRequest = {
|
|
98
|
-
visibility: "account";
|
|
99
|
-
};
|
|
100
|
-
export type NewProjectFilesRequest = {
|
|
101
|
-
context?: object;
|
|
102
|
-
project_id: string;
|
|
103
|
-
encoded_project_files: string;
|
|
104
|
-
};
|
|
105
|
-
export type CodeUnderstandingRequest = {
|
|
106
|
-
context?: object;
|
|
107
|
-
project_id: string;
|
|
108
|
-
user_prompt: string;
|
|
109
|
-
};
|
|
110
|
-
export type SourceStackAi = {
|
|
111
|
-
"type": "ai_stack";
|
|
112
|
-
name: string;
|
|
113
|
-
id: string;
|
|
114
|
-
};
|
|
115
|
-
export type SourceKnowledgeSource = {
|
|
116
|
-
"type": "knowledge_source";
|
|
117
|
-
name: string;
|
|
118
|
-
slug: string;
|
|
119
|
-
document_type?: string;
|
|
120
|
-
document_score: number;
|
|
121
|
-
document_id: string;
|
|
122
|
-
};
|
|
123
|
-
export type SourceProjectFile = {
|
|
124
|
-
"type": "project_file";
|
|
125
|
-
path: string;
|
|
126
|
-
document_score: number;
|
|
127
|
-
};
|
|
128
|
-
export type CodeUnderstandingResponse = {
|
|
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;
|
|
155
|
-
};
|
|
156
|
-
export type ChatResponse = {
|
|
157
|
-
answer: string;
|
|
158
|
-
prompt_tokens: number;
|
|
159
|
-
completion_tokens: number;
|
|
160
|
-
total_cost?: number;
|
|
161
|
-
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile)[];
|
|
162
|
-
};
|
|
163
|
-
export type AutocompleteCodeGeneratorRequest = {
|
|
164
|
-
context?: object;
|
|
165
|
-
code_to_complete: string;
|
|
166
|
-
};
|
|
167
|
-
export type EventTypeEnum = "code_injected" | "code_copied" | "custom_quick_command_execution" | "user_feedback_provided";
|
|
168
|
-
export type QuickCommandEvent = {
|
|
169
|
-
slug: string;
|
|
170
|
-
"type": string;
|
|
171
|
-
duration_execution: number;
|
|
172
|
-
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;
|
|
189
|
-
};
|
|
190
|
-
export type GenericEventRequest = {
|
|
191
|
-
context?: object;
|
|
192
|
-
"type": EventTypeEnum;
|
|
193
|
-
knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile)[];
|
|
194
|
-
code: string;
|
|
195
|
-
size: number;
|
|
196
|
-
generated_at: number;
|
|
197
|
-
quick_command_event?: QuickCommandEvent;
|
|
198
|
-
};
|
|
199
|
-
export type FileUploadType = "PROJECT" | "KNOWLEDGE_SOURCE";
|
|
200
|
-
export type NewFileUploadUrlRequest = {
|
|
201
|
-
file_name: string;
|
|
202
|
-
target_id: string;
|
|
203
|
-
target_type: FileUploadType;
|
|
204
|
-
expiration?: number;
|
|
205
|
-
};
|
|
206
|
-
export type NewFileUploadUrlResponse = {
|
|
207
|
-
id: string;
|
|
208
|
-
upload_url: string;
|
|
209
|
-
};
|
|
210
|
-
export type NewFileUploadFormResponse = {
|
|
211
|
-
id: string;
|
|
212
|
-
url: string;
|
|
213
|
-
form: {
|
|
214
|
-
[key: string]: string;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
export type FileUploadStatus = "NEW" | "PROCESSING" | "INDEXED" | "EXPIRED" | "ERROR" | "INDEXED_BUT_CLEANUP_FAILED";
|
|
218
|
-
export type SummaryPartResponse = {
|
|
219
|
-
added: number;
|
|
220
|
-
preserved: number;
|
|
221
|
-
removed: number;
|
|
222
|
-
errors: {
|
|
223
|
-
[key: string]: string;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
export type FileUploadStatusResponse = {
|
|
227
|
-
id: string;
|
|
228
|
-
file_name: string;
|
|
229
|
-
target_id: string;
|
|
230
|
-
target_type: FileUploadType;
|
|
231
|
-
status: FileUploadStatus;
|
|
232
|
-
error_description?: string;
|
|
233
|
-
summary?: SummaryPartResponse;
|
|
234
|
-
};
|
|
235
|
-
export type KnowledgeSourceTypeEnum = "snippet" | "api" | "event" | "custom" | "project_file" | "memory";
|
|
236
|
-
export type KnowledgeSourceItemResponse = {
|
|
237
|
-
slug: string;
|
|
238
|
-
name: string;
|
|
239
|
-
description: string;
|
|
240
|
-
"type": string;
|
|
241
|
-
object_count: number;
|
|
242
|
-
creator?: string;
|
|
243
|
-
visibility_level: string;
|
|
244
|
-
};
|
|
245
|
-
export type NewKnowledgeSourceRequest = {
|
|
246
|
-
slug: string;
|
|
247
|
-
name: string;
|
|
248
|
-
description: string;
|
|
249
|
-
"type": "API" | "SNIPPET" | "CUSTOM";
|
|
250
|
-
};
|
|
251
|
-
export type KnowledgeSourceResponse = {
|
|
252
|
-
slug: string;
|
|
253
|
-
name: string;
|
|
254
|
-
description: string;
|
|
255
|
-
"type": string;
|
|
256
|
-
creator?: string;
|
|
257
|
-
"default": boolean;
|
|
258
|
-
visibility_level: string;
|
|
259
|
-
};
|
|
260
|
-
export type KnowledgeSourcePatchesRequest = {
|
|
261
|
-
name: string;
|
|
262
|
-
description: string;
|
|
263
|
-
};
|
|
264
|
-
export type KnowledgeSourceDependenciesResponse = {
|
|
265
|
-
workspaces?: string[];
|
|
266
|
-
};
|
|
267
|
-
export type KnowledgeSourceSimilaritySearchItemResponse = {
|
|
268
|
-
doc: string;
|
|
269
|
-
score: number;
|
|
270
|
-
file_path?: string;
|
|
271
|
-
};
|
|
272
|
-
export type ForkKnowledgeSourceRequest = {
|
|
273
|
-
slug: string;
|
|
274
|
-
name: string;
|
|
275
|
-
description: string;
|
|
276
|
-
};
|
|
277
|
-
export type DocumentResponse = {
|
|
278
|
-
page_content: string;
|
|
279
|
-
metadata: object;
|
|
280
|
-
};
|
|
281
|
-
export type BodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost = {
|
|
282
|
-
upload: Blob;
|
|
283
|
-
};
|
|
284
|
-
export type BodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost = {
|
|
285
|
-
objects_zip: Blob;
|
|
286
|
-
};
|
|
287
|
-
export type SnippetKnowledgeSourceRequest = {
|
|
288
|
-
use_case: string;
|
|
289
|
-
code: string;
|
|
290
|
-
language?: string;
|
|
291
|
-
};
|
|
292
|
-
export type CustomKnowledgeSourceRequest = {
|
|
293
|
-
content: string;
|
|
294
|
-
};
|
|
295
|
-
export type AccountSettingsChangeLlmRequest = {
|
|
296
|
-
llm_type?: string;
|
|
297
|
-
llm_data?: object;
|
|
298
|
-
};
|
|
299
|
-
export type AccountSettingsChangeLimitRequest = {
|
|
300
|
-
limit: number;
|
|
301
|
-
};
|
|
302
|
-
export type TokensCurrentUsageResponse = {
|
|
303
|
-
used: number;
|
|
304
|
-
limit: number;
|
|
305
|
-
renewal_date: string;
|
|
306
|
-
};
|
|
307
|
-
export type TokensMonthlyUsageResponse = {
|
|
308
|
-
used: number;
|
|
309
|
-
month: number;
|
|
310
|
-
};
|
|
311
|
-
export type AddWorkspaceKnowledgeSourceRequest = {
|
|
312
|
-
knowledge_source_slugs: string[];
|
|
313
|
-
};
|
|
314
|
-
export type QuickCommandTypeRequest = "IDE" | "REMOTE";
|
|
315
|
-
export type Method = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
316
|
-
export type QuickCommandsStepFetchRequest = {
|
|
317
|
-
slug: string;
|
|
318
|
-
knowledge_source_slugs?: string[];
|
|
319
|
-
url: string;
|
|
320
|
-
method: Method;
|
|
321
|
-
headers?: {
|
|
322
|
-
[key: string]: string;
|
|
323
|
-
};
|
|
324
|
-
data?: string;
|
|
325
|
-
};
|
|
326
|
-
export type QuickCommandsStepPromptRequest = {
|
|
327
|
-
slug: string;
|
|
328
|
-
knowledge_source_slugs?: string[];
|
|
329
|
-
prompt: string;
|
|
330
|
-
use_stack?: boolean;
|
|
331
|
-
use_project_files?: boolean;
|
|
332
|
-
};
|
|
333
|
-
export type QuickCommandsReturnType = "CHAT" | "REPLACE_CODE" | "BEFORE_CODE" | "AFTER_CODE";
|
|
334
|
-
export type CustomInputRequest = {
|
|
335
|
-
slug: string;
|
|
336
|
-
question: string;
|
|
337
|
-
mandatory?: boolean;
|
|
338
|
-
};
|
|
339
|
-
export type QuickCommandsCreateRequest = {
|
|
340
|
-
slug: string;
|
|
341
|
-
name: string;
|
|
342
|
-
"type"?: QuickCommandTypeRequest;
|
|
343
|
-
description: string;
|
|
344
|
-
final_result: string;
|
|
345
|
-
steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest)[];
|
|
346
|
-
return_type?: QuickCommandsReturnType;
|
|
347
|
-
preserve_conversation?: boolean;
|
|
348
|
-
custom_inputs?: CustomInputRequest[];
|
|
349
|
-
flow?: object;
|
|
350
|
-
};
|
|
351
|
-
export type QuickCommandListResponse = {
|
|
352
|
-
slug: string;
|
|
353
|
-
name: string;
|
|
354
|
-
"type": QuickCommandTypeRequest;
|
|
355
|
-
description: string;
|
|
356
|
-
studio_id?: string;
|
|
357
|
-
flow?: object;
|
|
358
|
-
preserve_conversation: boolean;
|
|
359
|
-
use_selected_code: boolean;
|
|
360
|
-
return_type?: QuickCommandsReturnType;
|
|
361
|
-
creator?: string;
|
|
362
|
-
visibility_level: string;
|
|
363
|
-
};
|
|
364
|
-
export type BaseContextualRequest = {
|
|
365
|
-
context?: object;
|
|
366
|
-
};
|
|
367
|
-
export type QuickCommandReturnType = "CHAT" | "REPLACE_CODE" | "BEFORE_CODE" | "AFTER_CODE";
|
|
368
|
-
export type QuickCommandStepType = "LLM" | "FETCH";
|
|
369
|
-
export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
370
|
-
export type QuickCommandStepFetchResponse = {
|
|
371
|
-
slug: string;
|
|
372
|
-
"type": QuickCommandStepType;
|
|
373
|
-
url: string;
|
|
374
|
-
method: Method2;
|
|
375
|
-
headers?: {
|
|
376
|
-
[key: string]: string;
|
|
377
|
-
};
|
|
378
|
-
data?: string;
|
|
379
|
-
};
|
|
380
|
-
export type QuickCommandStepType2 = "LLM" | "FETCH";
|
|
381
|
-
export type QuickCommandStepLlmResponse = {
|
|
382
|
-
slug: string;
|
|
383
|
-
"type": QuickCommandStepType2;
|
|
384
|
-
knowledge_source_slugs?: string[];
|
|
385
|
-
prompt: string;
|
|
386
|
-
use_stack?: boolean;
|
|
387
|
-
use_project_files?: boolean;
|
|
388
|
-
};
|
|
389
|
-
export type CustomInputResponse = {
|
|
390
|
-
slug: string;
|
|
391
|
-
question: string;
|
|
392
|
-
mandatory?: boolean;
|
|
393
|
-
};
|
|
394
|
-
export type QuickCommandResponse = {
|
|
395
|
-
slug: string;
|
|
396
|
-
name?: string;
|
|
397
|
-
"type"?: QuickCommandTypeRequest;
|
|
398
|
-
description?: string;
|
|
399
|
-
studio_id?: string;
|
|
400
|
-
return_type?: QuickCommandReturnType;
|
|
401
|
-
final_result?: string;
|
|
402
|
-
steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse)[];
|
|
403
|
-
flow?: object;
|
|
404
|
-
preserve_conversation?: boolean;
|
|
405
|
-
use_selected_code?: boolean;
|
|
406
|
-
creator?: string;
|
|
407
|
-
custom_inputs?: CustomInputResponse[];
|
|
408
|
-
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;
|
|
420
|
-
};
|
|
421
|
-
export type QuickCommandsMakeACopyRequest = {
|
|
422
|
-
suggested_slug: string;
|
|
423
|
-
name: string;
|
|
424
|
-
description: string;
|
|
425
|
-
};
|
|
426
|
-
export type QuickCommandDependenciesResponse = {
|
|
427
|
-
studios?: string[];
|
|
428
|
-
workspaces?: string[];
|
|
429
|
-
};
|
|
430
|
-
export type QuickCommandFetchResponseResult = {
|
|
431
|
-
headers?: {
|
|
432
|
-
[key: string]: string;
|
|
433
|
-
};
|
|
434
|
-
data?: string;
|
|
435
|
-
status: number;
|
|
436
|
-
};
|
|
437
|
-
export type QuickCommandsExecutionRequest = {
|
|
438
|
-
context?: object;
|
|
439
|
-
/** This field is deprecated and will be removed in future releases. Use 'input_data' instead. */
|
|
440
|
-
code_selection?: string;
|
|
441
|
-
input_data?: string;
|
|
442
|
-
slugs_executions?: {
|
|
443
|
-
[key: string]: SimpleResponse | QuickCommandFetchResponseResult;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
export type QuickCommandFinalResultResponse = {
|
|
447
|
-
result: string;
|
|
448
|
-
};
|
|
449
|
-
export type QuickCommandCreateRequest = {
|
|
450
|
-
input_data?: string | object;
|
|
451
|
-
ai_stack_id?: string;
|
|
452
|
-
custom_inputs?: object;
|
|
453
|
-
};
|
|
454
|
-
export type Progress = {
|
|
455
|
-
start: string;
|
|
456
|
-
end?: string;
|
|
457
|
-
duration?: number;
|
|
458
|
-
execution_percentage: number;
|
|
459
|
-
status: string;
|
|
460
|
-
};
|
|
461
|
-
export type StepFetch = {
|
|
462
|
-
status_code: number;
|
|
463
|
-
headers?: {
|
|
464
|
-
[key: string]: string;
|
|
465
|
-
};
|
|
466
|
-
data?: string;
|
|
467
|
-
json_data?: object;
|
|
468
|
-
};
|
|
469
|
-
export type StepLlm = {
|
|
470
|
-
answer: string;
|
|
471
|
-
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile)[];
|
|
472
|
-
};
|
|
473
|
-
export type Step = {
|
|
474
|
-
step_name: string;
|
|
475
|
-
execution_order: number;
|
|
476
|
-
"type": QuickCommandStepType2;
|
|
477
|
-
step_result: StepFetch | StepLlm;
|
|
478
|
-
};
|
|
479
|
-
export type QuickCommandExecutionResponse = {
|
|
480
|
-
execution_id: string;
|
|
481
|
-
quick_command_slug: string;
|
|
482
|
-
conversation_id: string;
|
|
483
|
-
progress: Progress;
|
|
484
|
-
steps?: Step[];
|
|
485
|
-
result?: string;
|
|
486
|
-
};
|
|
487
|
-
export type ImportContentType = "ai_stack" | "knowledge_source" | "quick_command";
|
|
488
|
-
export type ImportPublicContent = {
|
|
489
|
-
"type": ImportContentType;
|
|
490
|
-
content_id: string;
|
|
491
|
-
content_slug_name: string;
|
|
492
|
-
studio_id?: string;
|
|
493
|
-
workspace_ids?: string[];
|
|
494
|
-
};
|
|
495
|
-
export type ContentVisibility = "private" | "public";
|
|
496
|
-
export type ChangeContentVisibility = {
|
|
497
|
-
visibility: ContentVisibility;
|
|
498
|
-
};
|
|
499
|
-
export type ConversationHistoryAgentEnum = "AI" | "USER";
|
|
500
|
-
export type ConversationHistoryResponse = {
|
|
501
|
-
message_id: string;
|
|
502
|
-
agent: ConversationHistoryAgentEnum;
|
|
503
|
-
content: string;
|
|
504
|
-
sources: any[];
|
|
505
|
-
updated: string;
|
|
506
|
-
};
|
|
507
|
-
export type ConversationResponse = {
|
|
508
|
-
id: string;
|
|
509
|
-
title: string;
|
|
510
|
-
workspace_id?: string;
|
|
511
|
-
ai_stack_id?: string;
|
|
512
|
-
created?: string;
|
|
513
|
-
updated?: string;
|
|
514
|
-
history?: ConversationHistoryResponse[];
|
|
515
|
-
};
|
|
516
|
-
export type ConversationUpdateTitleRequest = {
|
|
517
|
-
title: string;
|
|
518
|
-
};
|
|
519
|
-
export type BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost = {
|
|
520
|
-
objects_zip: Blob;
|
|
521
|
-
};
|
|
522
|
-
export type ChatRequest2 = {
|
|
523
|
-
context?: object;
|
|
524
|
-
user_prompt: string;
|
|
525
|
-
project_id?: string;
|
|
526
|
-
};
|
|
527
|
-
export type SourceStackAi2 = {
|
|
528
|
-
"type": "ai_stack";
|
|
529
|
-
name: string;
|
|
530
|
-
id: string;
|
|
531
|
-
};
|
|
532
|
-
export type SourceKnowledgeSource2 = {
|
|
533
|
-
"type": "knowledge_source";
|
|
534
|
-
name: string;
|
|
535
|
-
slug: string;
|
|
536
|
-
document_type: string;
|
|
537
|
-
document_score: number;
|
|
538
|
-
document_id: string;
|
|
539
|
-
};
|
|
540
|
-
export type SourceProjectFile2 = {
|
|
541
|
-
"type": "project_file";
|
|
542
|
-
path: string;
|
|
543
|
-
document_score: number;
|
|
544
|
-
};
|
|
545
|
-
export type ChatResponse2 = {
|
|
546
|
-
answer: string;
|
|
547
|
-
sources: (SourceStackAi2 | SourceKnowledgeSource2 | SourceProjectFile2)[];
|
|
548
|
-
};
|
|
549
|
-
export type BodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost = {
|
|
550
|
-
upload: Blob;
|
|
551
|
-
};
|
|
552
|
-
export type SyncResponse = {
|
|
553
|
-
added: number;
|
|
554
|
-
preserved: number;
|
|
555
|
-
removed: number;
|
|
556
|
-
errors?: {
|
|
557
|
-
[key: string]: string;
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
export type BodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost = {
|
|
561
|
-
objects_zip: Blob;
|
|
562
|
-
};
|
|
563
|
-
export type SourceStackAi3 = {
|
|
564
|
-
"type": "ai_stack";
|
|
565
|
-
name: string;
|
|
566
|
-
id: string;
|
|
567
|
-
};
|
|
568
|
-
export type SourceKnowledgeSource3 = {
|
|
569
|
-
"type": "knowledge_source";
|
|
570
|
-
name: string;
|
|
571
|
-
slug: string;
|
|
572
|
-
document_type: string;
|
|
573
|
-
document_score: number;
|
|
574
|
-
document_id: string;
|
|
575
|
-
};
|
|
576
|
-
export type SourceProjectFile3 = {
|
|
577
|
-
"type": "project_file";
|
|
578
|
-
path: string;
|
|
579
|
-
document_score: number;
|
|
580
|
-
};
|
|
581
|
-
export type ChatResponse3 = {
|
|
582
|
-
answer: string;
|
|
583
|
-
sources: (SourceStackAi3 | SourceKnowledgeSource3 | SourceProjectFile3)[];
|
|
584
|
-
message_id?: string;
|
|
585
|
-
};
|
|
586
|
-
/**
|
|
587
|
-
* Metrics
|
|
588
|
-
*/
|
|
589
|
-
export declare function metricsMetricsGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
590
|
-
/**
|
|
591
|
-
* Request Access
|
|
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
|
|
606
|
-
*/
|
|
607
|
-
export declare function listAiStacksByStudioV1StudiosStudioIdAiStacksGet({ studioId, authorization, xAccountId }: {
|
|
608
|
-
studioId: string;
|
|
609
|
-
authorization: string;
|
|
610
|
-
xAccountId?: string;
|
|
611
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
|
|
612
|
-
/**
|
|
613
|
-
* Create Ai Stack
|
|
614
|
-
*/
|
|
615
|
-
export declare function createAiStackV1StudiosStudioIdAiStacksPost({ studioId, authorization, xAccountId, newAiStackRequest }: {
|
|
616
|
-
studioId: string;
|
|
617
|
-
authorization: string;
|
|
618
|
-
xAccountId?: string;
|
|
619
|
-
newAiStackRequest: NewAiStackRequest;
|
|
620
|
-
}, 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
|
-
/**
|
|
640
|
-
* Update Ai Stack
|
|
641
|
-
*/
|
|
642
|
-
export declare function updateAiStackV1StudiosStudioIdAiStacksStackIdPatch({ studioId, stackId, authorization, xAccountId, updateAiStackRequest }: {
|
|
643
|
-
studioId: string;
|
|
644
|
-
stackId: string;
|
|
645
|
-
authorization: string;
|
|
646
|
-
xAccountId?: string;
|
|
647
|
-
updateAiStackRequest: UpdateAiStackRequest;
|
|
648
|
-
}, 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
|
-
/**
|
|
711
|
-
* Get Ai Stack
|
|
712
|
-
*/
|
|
713
|
-
export declare function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId }: {
|
|
714
|
-
stackId: string;
|
|
715
|
-
authorization: string;
|
|
716
|
-
xAccountId?: string;
|
|
717
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse>;
|
|
718
|
-
/**
|
|
719
|
-
* Remove Ai Stack
|
|
720
|
-
*/
|
|
721
|
-
export declare function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId }: {
|
|
722
|
-
stackId: string;
|
|
723
|
-
authorization: string;
|
|
724
|
-
xAccountId?: string;
|
|
725
|
-
}, 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
|
-
/**
|
|
736
|
-
* Fork
|
|
737
|
-
*/
|
|
738
|
-
export declare function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, aiStackForkRequest }: {
|
|
739
|
-
stackId: string;
|
|
740
|
-
authorization: string;
|
|
741
|
-
xAccountId?: string;
|
|
742
|
-
aiStackForkRequest: AiStackForkRequest;
|
|
743
|
-
}, opts?: Oazapfts.RequestOpts): Promise<NewAiStackResponse>;
|
|
744
|
-
/**
|
|
745
|
-
* Share
|
|
746
|
-
*/
|
|
747
|
-
export declare function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, shareContentRequest }: {
|
|
748
|
-
stackId: string;
|
|
749
|
-
authorization: string;
|
|
750
|
-
xAccountId?: string;
|
|
751
|
-
shareContentRequest: ShareContentRequest;
|
|
752
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
753
|
-
/**
|
|
754
|
-
* Project Files
|
|
755
|
-
*/
|
|
756
|
-
export declare function projectFilesV1ProjectFilesPost({ authorization, xAccountId, newProjectFilesRequest }: {
|
|
757
|
-
authorization: string;
|
|
758
|
-
xAccountId?: string;
|
|
759
|
-
newProjectFilesRequest: NewProjectFilesRequest;
|
|
760
|
-
}, 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
|
-
/**
|
|
778
|
-
* Quick Actions
|
|
779
|
-
*/
|
|
780
|
-
export declare function quickActionsV1QuickActionsPost({ authorization, xAccountId, quickActionsRequest }: {
|
|
781
|
-
authorization: string;
|
|
782
|
-
xAccountId?: string;
|
|
783
|
-
quickActionsRequest: QuickActionsRequest;
|
|
784
|
-
}, opts?: Oazapfts.RequestOpts): Promise<SimpleResponse>;
|
|
785
|
-
/**
|
|
786
|
-
* Dev Assistant
|
|
787
|
-
*/
|
|
788
|
-
export declare function devAssistantV1ChatPost({ authorization, xAccountId, codeBuddyApiV1SchemasChatRequest }: {
|
|
789
|
-
authorization: string;
|
|
790
|
-
xAccountId?: string;
|
|
791
|
-
codeBuddyApiV1SchemasChatRequest: ChatRequest;
|
|
792
|
-
}, 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
|
-
/**
|
|
802
|
-
* Post Event
|
|
803
|
-
*/
|
|
804
|
-
export declare function postEventV1EventsPost({ authorization, xAccountId, body }: {
|
|
805
|
-
authorization: string;
|
|
806
|
-
xAccountId?: string;
|
|
807
|
-
body: (UserFeedbackProvidedEventRequest | GenericEventRequest)[];
|
|
808
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
809
|
-
/**
|
|
810
|
-
* Get Upload Url
|
|
811
|
-
*/
|
|
812
|
-
export declare function getUploadUrlV1FileUploadUrlPost({ authorization, xAccountId, newFileUploadUrlRequest }: {
|
|
813
|
-
authorization: string;
|
|
814
|
-
xAccountId?: string;
|
|
815
|
-
newFileUploadUrlRequest: NewFileUploadUrlRequest;
|
|
816
|
-
}, opts?: Oazapfts.RequestOpts): Promise<NewFileUploadUrlResponse>;
|
|
817
|
-
/**
|
|
818
|
-
* Get Upload Form
|
|
819
|
-
*/
|
|
820
|
-
export declare function getUploadFormV1FileUploadFormPost({ authorization, xAccountId, newFileUploadUrlRequest }: {
|
|
821
|
-
authorization: string;
|
|
822
|
-
xAccountId?: string;
|
|
823
|
-
newFileUploadUrlRequest: NewFileUploadUrlRequest;
|
|
824
|
-
}, opts?: Oazapfts.RequestOpts): Promise<NewFileUploadFormResponse>;
|
|
825
|
-
/**
|
|
826
|
-
* Get File Upload Status
|
|
827
|
-
*/
|
|
828
|
-
export declare function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUploadId, authorization, xAccountId }: {
|
|
829
|
-
fileUploadId: string;
|
|
830
|
-
authorization: string;
|
|
831
|
-
xAccountId?: string;
|
|
832
|
-
}, opts?: Oazapfts.RequestOpts): Promise<FileUploadStatusResponse>;
|
|
833
|
-
/**
|
|
834
|
-
* Report Health
|
|
835
|
-
*/
|
|
836
|
-
export declare function reportHealthHealthzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
837
|
-
/**
|
|
838
|
-
* List Knowledge Sources
|
|
839
|
-
*/
|
|
840
|
-
export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId }: {
|
|
841
|
-
visibility?: VisibilityLevelEnum;
|
|
842
|
-
order?: OrderEnum;
|
|
843
|
-
$default?: boolean;
|
|
844
|
-
types?: KnowledgeSourceTypeEnum[];
|
|
845
|
-
authorization: string;
|
|
846
|
-
xAccountId?: string;
|
|
847
|
-
}, 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
|
-
/**
|
|
857
|
-
* Find Knowledge Source
|
|
858
|
-
*/
|
|
859
|
-
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugGet({ slug, authorization, xAccountId }: {
|
|
860
|
-
slug: string;
|
|
861
|
-
authorization: string;
|
|
862
|
-
xAccountId?: string;
|
|
863
|
-
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse>;
|
|
864
|
-
/**
|
|
865
|
-
* Delete Knowledge Source
|
|
866
|
-
*/
|
|
867
|
-
export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId }: {
|
|
868
|
-
slug: string;
|
|
869
|
-
authorization: string;
|
|
870
|
-
xAccountId?: string;
|
|
871
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
872
|
-
/**
|
|
873
|
-
* Update Knowledge Source
|
|
874
|
-
*/
|
|
875
|
-
export declare function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authorization, xAccountId, knowledgeSourcePatchesRequest }: {
|
|
876
|
-
slug: string;
|
|
877
|
-
authorization: string;
|
|
878
|
-
xAccountId?: string;
|
|
879
|
-
knowledgeSourcePatchesRequest: KnowledgeSourcePatchesRequest;
|
|
880
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
881
|
-
/**
|
|
882
|
-
* Find Knowledge Source Dependencies
|
|
883
|
-
*/
|
|
884
|
-
export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId }: {
|
|
885
|
-
slug: string;
|
|
886
|
-
authorization: string;
|
|
887
|
-
xAccountId?: string;
|
|
888
|
-
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceDependenciesResponse>;
|
|
889
|
-
/**
|
|
890
|
-
* Search
|
|
891
|
-
*/
|
|
892
|
-
export declare function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId }: {
|
|
893
|
-
slug: string;
|
|
894
|
-
q: string;
|
|
895
|
-
size?: number;
|
|
896
|
-
authorization: string;
|
|
897
|
-
xAccountId?: string;
|
|
898
|
-
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceSimilaritySearchItemResponse[]>;
|
|
899
|
-
/**
|
|
900
|
-
* Share Knowledge Source
|
|
901
|
-
*/
|
|
902
|
-
export declare function shareKnowledgeSourceV1KnowledgeSourcesSlugSharePost({ slug, authorization, xAccountId }: {
|
|
903
|
-
slug: string;
|
|
904
|
-
authorization: string;
|
|
905
|
-
xAccountId?: string;
|
|
906
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
907
|
-
/**
|
|
908
|
-
* Configure Knowledge Source Default Flag
|
|
909
|
-
*/
|
|
910
|
-
export declare function configureKnowledgeSourceDefaultFlagV1KnowledgeSourcesSlugDefaultPut({ slug, value, authorization, xAccountId }: {
|
|
911
|
-
slug: string;
|
|
912
|
-
value: boolean;
|
|
913
|
-
authorization: string;
|
|
914
|
-
xAccountId?: string;
|
|
915
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
916
|
-
/**
|
|
917
|
-
* Fork Knowledge Source
|
|
918
|
-
*/
|
|
919
|
-
export declare function forkKnowledgeSourceV1KnowledgeSourcesSlugForkPost({ slug, authorization, xAccountId, forkKnowledgeSourceRequest }: {
|
|
920
|
-
slug: string;
|
|
921
|
-
authorization: string;
|
|
922
|
-
xAccountId?: string;
|
|
923
|
-
forkKnowledgeSourceRequest: ForkKnowledgeSourceRequest;
|
|
924
|
-
}, 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
|
-
/**
|
|
935
|
-
* Vectorize Objects From File
|
|
936
|
-
*/
|
|
937
|
-
export declare function vectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost({ slug, authorization, xAccountId, bodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost }: {
|
|
938
|
-
slug: string;
|
|
939
|
-
authorization: string;
|
|
940
|
-
xAccountId?: string;
|
|
941
|
-
bodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost: BodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost;
|
|
942
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
943
|
-
/**
|
|
944
|
-
* Reset Knowledge Objects
|
|
945
|
-
*/
|
|
946
|
-
export declare function resetKnowledgeObjectsV1KnowledgeSourcesSlugObjectsDelete({ slug, standalone, authorization, xAccountId }: {
|
|
947
|
-
slug: string;
|
|
948
|
-
standalone?: boolean;
|
|
949
|
-
authorization: string;
|
|
950
|
-
xAccountId?: string;
|
|
951
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
952
|
-
/**
|
|
953
|
-
* Upload Knowledge Objects Zip
|
|
954
|
-
*/
|
|
955
|
-
export declare function uploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, authorization, xAccountId, bodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost }: {
|
|
956
|
-
slug: string;
|
|
957
|
-
autoDelete?: boolean;
|
|
958
|
-
authorization: string;
|
|
959
|
-
xAccountId?: string;
|
|
960
|
-
bodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost;
|
|
961
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
962
|
-
/**
|
|
963
|
-
* Find Knowledge Object By Custom Id
|
|
964
|
-
*/
|
|
965
|
-
export declare function findKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdGet({ slug, customId, authorization, xAccountId }: {
|
|
966
|
-
slug: string;
|
|
967
|
-
customId: string;
|
|
968
|
-
authorization: string;
|
|
969
|
-
xAccountId?: string;
|
|
970
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
971
|
-
/**
|
|
972
|
-
* Delete Knowledge Object By Custom Id
|
|
973
|
-
*/
|
|
974
|
-
export declare function deleteKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdDelete({ customId, slug, authorization, xAccountId }: {
|
|
975
|
-
customId: string;
|
|
976
|
-
slug: string;
|
|
977
|
-
authorization: string;
|
|
978
|
-
xAccountId?: string;
|
|
979
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
980
|
-
/**
|
|
981
|
-
* Find Snippet Doc By Custom Id
|
|
982
|
-
*/
|
|
983
|
-
export declare function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ slug, id, authorization, xAccountId }: {
|
|
984
|
-
slug: string;
|
|
985
|
-
id: string;
|
|
986
|
-
authorization: string;
|
|
987
|
-
xAccountId?: string;
|
|
988
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
989
|
-
/**
|
|
990
|
-
* Vectorize Snippet Knowledge Source
|
|
991
|
-
*/
|
|
992
|
-
export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, snippetKnowledgeSourceRequest }: {
|
|
993
|
-
slug: string;
|
|
994
|
-
authorization: string;
|
|
995
|
-
xAccountId?: string;
|
|
996
|
-
snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
|
|
997
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
998
|
-
/**
|
|
999
|
-
* Find Api Doc By Custom Id
|
|
1000
|
-
*/
|
|
1001
|
-
export declare function findApiDocByCustomIdV1KnowledgeSourcesSlugApisIdGet({ slug, id, authorization, xAccountId }: {
|
|
1002
|
-
slug: string;
|
|
1003
|
-
id: string;
|
|
1004
|
-
authorization: string;
|
|
1005
|
-
xAccountId?: string;
|
|
1006
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
1007
|
-
/**
|
|
1008
|
-
* Vectorize Api Knowledge Source
|
|
1009
|
-
*/
|
|
1010
|
-
export declare function vectorizeApiKnowledgeSourceV1KnowledgeSourcesSlugApisPost({ slug, authorization, xAccountId, body }: {
|
|
1011
|
-
slug: string;
|
|
1012
|
-
authorization: string;
|
|
1013
|
-
xAccountId?: string;
|
|
1014
|
-
body: object;
|
|
1015
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1016
|
-
/**
|
|
1017
|
-
* Find Event Doc By Custom Id
|
|
1018
|
-
*/
|
|
1019
|
-
export declare function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug, id, authorization, xAccountId }: {
|
|
1020
|
-
slug: string;
|
|
1021
|
-
id: string;
|
|
1022
|
-
authorization: string;
|
|
1023
|
-
xAccountId?: string;
|
|
1024
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
1025
|
-
/**
|
|
1026
|
-
* Vectorize Event Knowledge Source
|
|
1027
|
-
*/
|
|
1028
|
-
export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, body }: {
|
|
1029
|
-
slug: string;
|
|
1030
|
-
authorization: string;
|
|
1031
|
-
xAccountId?: string;
|
|
1032
|
-
body: object;
|
|
1033
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1034
|
-
/**
|
|
1035
|
-
* Find Custom Doc By Custom Id
|
|
1036
|
-
*/
|
|
1037
|
-
export declare function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug, id, authorization, xAccountId }: {
|
|
1038
|
-
slug: string;
|
|
1039
|
-
id: string;
|
|
1040
|
-
authorization: string;
|
|
1041
|
-
xAccountId?: string;
|
|
1042
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
1043
|
-
/**
|
|
1044
|
-
* Vectorize Custom Knowledge Source
|
|
1045
|
-
*/
|
|
1046
|
-
export declare function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, customKnowledgeSourceRequest }: {
|
|
1047
|
-
slug: string;
|
|
1048
|
-
authorization: string;
|
|
1049
|
-
xAccountId?: string;
|
|
1050
|
-
customKnowledgeSourceRequest: CustomKnowledgeSourceRequest;
|
|
1051
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1052
|
-
/**
|
|
1053
|
-
* Sync Embedding Model
|
|
1054
|
-
*/
|
|
1055
|
-
export declare function syncEmbeddingModelV1KnowledgeSourcesSyncPost(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1056
|
-
/**
|
|
1057
|
-
* Change Llm
|
|
1058
|
-
*/
|
|
1059
|
-
export declare function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, accountSettingsChangeLlmRequest }: {
|
|
1060
|
-
authorization: string;
|
|
1061
|
-
xAccountId?: string;
|
|
1062
|
-
accountSettingsChangeLlmRequest: AccountSettingsChangeLlmRequest;
|
|
1063
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1064
|
-
/**
|
|
1065
|
-
* Change Limit
|
|
1066
|
-
*/
|
|
1067
|
-
export declare function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, accountSettingsChangeLimitRequest }: {
|
|
1068
|
-
authorization: string;
|
|
1069
|
-
xAccountId?: string;
|
|
1070
|
-
accountSettingsChangeLimitRequest: AccountSettingsChangeLimitRequest;
|
|
1071
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1072
|
-
/**
|
|
1073
|
-
* Reset Limit
|
|
1074
|
-
*/
|
|
1075
|
-
export declare function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId }: {
|
|
1076
|
-
authorization: string;
|
|
1077
|
-
xAccountId?: string;
|
|
1078
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1079
|
-
/**
|
|
1080
|
-
* Current
|
|
1081
|
-
*/
|
|
1082
|
-
export declare function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId }: {
|
|
1083
|
-
year: number;
|
|
1084
|
-
month: number;
|
|
1085
|
-
authorization: string;
|
|
1086
|
-
xAccountId?: string;
|
|
1087
|
-
}, opts?: Oazapfts.RequestOpts): Promise<TokensCurrentUsageResponse>;
|
|
1088
|
-
/**
|
|
1089
|
-
* Monthly
|
|
1090
|
-
*/
|
|
1091
|
-
export declare function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId }: {
|
|
1092
|
-
year: number;
|
|
1093
|
-
authorization: string;
|
|
1094
|
-
xAccountId?: string;
|
|
1095
|
-
}, opts?: Oazapfts.RequestOpts): Promise<TokensMonthlyUsageResponse[]>;
|
|
1096
|
-
/**
|
|
1097
|
-
* Top Users
|
|
1098
|
-
*/
|
|
1099
|
-
export declare function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId }: {
|
|
1100
|
-
year: number;
|
|
1101
|
-
month: number;
|
|
1102
|
-
authorization: string;
|
|
1103
|
-
xAccountId?: string;
|
|
1104
|
-
}, 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
|
-
/**
|
|
1114
|
-
* Add Association
|
|
1115
|
-
*/
|
|
1116
|
-
export declare function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, addWorkspaceKnowledgeSourceRequest }: {
|
|
1117
|
-
workspaceId: string;
|
|
1118
|
-
authorization: string;
|
|
1119
|
-
xAccountId?: string;
|
|
1120
|
-
addWorkspaceKnowledgeSourceRequest: AddWorkspaceKnowledgeSourceRequest;
|
|
1121
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1122
|
-
/**
|
|
1123
|
-
* Delete Association
|
|
1124
|
-
*/
|
|
1125
|
-
export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId }: {
|
|
1126
|
-
workspaceId: string;
|
|
1127
|
-
knowledgeSourceSlug: string;
|
|
1128
|
-
authorization: string;
|
|
1129
|
-
xAccountId?: string;
|
|
1130
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1131
|
-
/**
|
|
1132
|
-
* Create Quick Command
|
|
1133
|
-
*/
|
|
1134
|
-
export declare function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, quickCommandsCreateRequest }: {
|
|
1135
|
-
authorization: string;
|
|
1136
|
-
xAccountId?: string;
|
|
1137
|
-
quickCommandsCreateRequest: QuickCommandsCreateRequest;
|
|
1138
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1139
|
-
/**
|
|
1140
|
-
* List All
|
|
1141
|
-
*/
|
|
1142
|
-
export declare function listAllV1QuickCommandsAllGet({ visibility, order, workspaceId, types, authorization, xAccountId }: {
|
|
1143
|
-
visibility?: VisibilityLevelEnum;
|
|
1144
|
-
order?: OrderEnum;
|
|
1145
|
-
workspaceId?: string;
|
|
1146
|
-
types?: QuickCommandTypeRequest[];
|
|
1147
|
-
authorization: string;
|
|
1148
|
-
xAccountId?: string;
|
|
1149
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1150
|
-
/**
|
|
1151
|
-
* List All Deprecated
|
|
1152
|
-
*/
|
|
1153
|
-
export declare function listAllDeprecatedV1QuickCommandsAllPost({ origin, authorization, xAccountId, baseContextualRequest }: {
|
|
1154
|
-
origin?: string;
|
|
1155
|
-
authorization: string;
|
|
1156
|
-
xAccountId?: string;
|
|
1157
|
-
baseContextualRequest: BaseContextualRequest;
|
|
1158
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1159
|
-
/**
|
|
1160
|
-
* Get Quick Command
|
|
1161
|
-
*/
|
|
1162
|
-
export declare function getQuickCommandV1QuickCommandsSlugGet({ slug, authorization, xAccountId }: {
|
|
1163
|
-
slug: string;
|
|
1164
|
-
authorization: string;
|
|
1165
|
-
xAccountId?: string;
|
|
1166
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandResponse>;
|
|
1167
|
-
/**
|
|
1168
|
-
* Delete Quick Command
|
|
1169
|
-
*/
|
|
1170
|
-
export declare function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId }: {
|
|
1171
|
-
slug: string;
|
|
1172
|
-
authorization: string;
|
|
1173
|
-
xAccountId?: string;
|
|
1174
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1175
|
-
/**
|
|
1176
|
-
* Update Quick Command
|
|
1177
|
-
*/
|
|
1178
|
-
export declare function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, quickCommandsUpdateRequest }: {
|
|
1179
|
-
slug: string;
|
|
1180
|
-
authorization: string;
|
|
1181
|
-
xAccountId?: string;
|
|
1182
|
-
quickCommandsUpdateRequest: QuickCommandsUpdateRequest;
|
|
1183
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1184
|
-
/**
|
|
1185
|
-
* Share
|
|
1186
|
-
*/
|
|
1187
|
-
export declare function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, shareContentRequest }: {
|
|
1188
|
-
slug: string;
|
|
1189
|
-
authorization: string;
|
|
1190
|
-
xAccountId?: string;
|
|
1191
|
-
shareContentRequest: ShareContentRequest;
|
|
1192
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1193
|
-
/**
|
|
1194
|
-
* Fork
|
|
1195
|
-
*/
|
|
1196
|
-
export declare function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, quickCommandsMakeACopyRequest }: {
|
|
1197
|
-
slug: string;
|
|
1198
|
-
authorization: string;
|
|
1199
|
-
xAccountId?: string;
|
|
1200
|
-
quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
|
|
1201
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1202
|
-
/**
|
|
1203
|
-
* Get Quick Command By Ks Slug
|
|
1204
|
-
*/
|
|
1205
|
-
export declare function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId }: {
|
|
1206
|
-
slug: string;
|
|
1207
|
-
authorization: string;
|
|
1208
|
-
xAccountId?: string;
|
|
1209
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1210
|
-
/**
|
|
1211
|
-
* List By Workspace Id
|
|
1212
|
-
*/
|
|
1213
|
-
export declare function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId }: {
|
|
1214
|
-
workspaceId: string;
|
|
1215
|
-
authorization: string;
|
|
1216
|
-
xAccountId?: string;
|
|
1217
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1218
|
-
/**
|
|
1219
|
-
* Dependencies
|
|
1220
|
-
*/
|
|
1221
|
-
export declare function dependenciesV1QuickCommandsSlugDependenciesGet({ slug, authorization, xAccountId }: {
|
|
1222
|
-
slug: string;
|
|
1223
|
-
authorization: string;
|
|
1224
|
-
xAccountId?: string;
|
|
1225
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandDependenciesResponse>;
|
|
1226
|
-
/**
|
|
1227
|
-
* Quick Commands Run
|
|
1228
|
-
*/
|
|
1229
|
-
export declare function quickCommandsRunV1QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1230
|
-
slug: string;
|
|
1231
|
-
stepSlug: string;
|
|
1232
|
-
authorization: string;
|
|
1233
|
-
xAccountId?: string;
|
|
1234
|
-
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1235
|
-
}, opts?: Oazapfts.RequestOpts): Promise<SimpleResponse>;
|
|
1236
|
-
/**
|
|
1237
|
-
* Format Fetch Step
|
|
1238
|
-
*/
|
|
1239
|
-
export declare function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1240
|
-
slug: string;
|
|
1241
|
-
stepSlug: string;
|
|
1242
|
-
authorization: string;
|
|
1243
|
-
xAccountId?: string;
|
|
1244
|
-
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1245
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandStepFetchResponse>;
|
|
1246
|
-
/**
|
|
1247
|
-
* Format Result
|
|
1248
|
-
*/
|
|
1249
|
-
export declare function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1250
|
-
slug: string;
|
|
1251
|
-
authorization: string;
|
|
1252
|
-
xAccountId?: string;
|
|
1253
|
-
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1254
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandFinalResultResponse>;
|
|
1255
|
-
/**
|
|
1256
|
-
* Add Workspace
|
|
1257
|
-
*/
|
|
1258
|
-
export declare function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId }: {
|
|
1259
|
-
slug: string;
|
|
1260
|
-
workspaceId: string;
|
|
1261
|
-
authorization: string;
|
|
1262
|
-
xAccountId?: string;
|
|
1263
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1264
|
-
/**
|
|
1265
|
-
* Remove Workspace
|
|
1266
|
-
*/
|
|
1267
|
-
export declare function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId }: {
|
|
1268
|
-
slug: string;
|
|
1269
|
-
workspaceId: string;
|
|
1270
|
-
authorization: string;
|
|
1271
|
-
xAccountId?: string;
|
|
1272
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1273
|
-
/**
|
|
1274
|
-
* Create Execution
|
|
1275
|
-
*/
|
|
1276
|
-
export declare function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, quickCommandCreateRequest }: {
|
|
1277
|
-
slug: string;
|
|
1278
|
-
conversationId?: string;
|
|
1279
|
-
authorization: string;
|
|
1280
|
-
xAccountId?: string;
|
|
1281
|
-
quickCommandCreateRequest?: QuickCommandCreateRequest;
|
|
1282
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1283
|
-
/**
|
|
1284
|
-
* Callback
|
|
1285
|
-
*/
|
|
1286
|
-
export declare function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId }: {
|
|
1287
|
-
executionId: string;
|
|
1288
|
-
authorization: string;
|
|
1289
|
-
xAccountId?: string;
|
|
1290
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandExecutionResponse>;
|
|
1291
|
-
/**
|
|
1292
|
-
* Import Content
|
|
1293
|
-
*/
|
|
1294
|
-
export declare function importContentV1ImportPost({ authorization, xAccountId, importPublicContent }: {
|
|
1295
|
-
authorization: string;
|
|
1296
|
-
xAccountId?: string;
|
|
1297
|
-
importPublicContent: ImportPublicContent;
|
|
1298
|
-
}, 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
|
-
/**
|
|
1322
|
-
* List Conversations
|
|
1323
|
-
*/
|
|
1324
|
-
export declare function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId }: {
|
|
1325
|
-
size?: number;
|
|
1326
|
-
page?: number;
|
|
1327
|
-
authorization: string;
|
|
1328
|
-
xAccountId?: string;
|
|
1329
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse[]>;
|
|
1330
|
-
/**
|
|
1331
|
-
* Conversation History
|
|
1332
|
-
*/
|
|
1333
|
-
export declare function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId }: {
|
|
1334
|
-
conversationId: string;
|
|
1335
|
-
authorization: string;
|
|
1336
|
-
xAccountId?: string;
|
|
1337
|
-
}, 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
|
-
/**
|
|
1347
|
-
* Update Title
|
|
1348
|
-
*/
|
|
1349
|
-
export declare function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, conversationUpdateTitleRequest }: {
|
|
1350
|
-
conversationId: string;
|
|
1351
|
-
authorization: string;
|
|
1352
|
-
xAccountId?: string;
|
|
1353
|
-
conversationUpdateTitleRequest: ConversationUpdateTitleRequest;
|
|
1354
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse>;
|
|
1355
|
-
/**
|
|
1356
|
-
* Download Conversation
|
|
1357
|
-
*/
|
|
1358
|
-
export declare function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId }: {
|
|
1359
|
-
conversationId: string;
|
|
1360
|
-
authorization: string;
|
|
1361
|
-
xAccountId?: string;
|
|
1362
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1363
|
-
/**
|
|
1364
|
-
* Create Knowledge Source
|
|
1365
|
-
*/
|
|
1366
|
-
export declare function createKnowledgeSourceV1DefaultKnowledgeSourcesPost({ authorization, newKnowledgeSourceRequest }: {
|
|
1367
|
-
authorization: string;
|
|
1368
|
-
newKnowledgeSourceRequest: NewKnowledgeSourceRequest;
|
|
1369
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1370
|
-
/**
|
|
1371
|
-
* Delete Knowledge Source
|
|
1372
|
-
*/
|
|
1373
|
-
export declare function deleteKnowledgeSourceV1DefaultKnowledgeSourcesSlugDelete({ slug }: {
|
|
1374
|
-
slug: string;
|
|
1375
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1376
|
-
/**
|
|
1377
|
-
* Upload Knowledge Objects Zip
|
|
1378
|
-
*/
|
|
1379
|
-
export declare function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, bodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost }: {
|
|
1380
|
-
slug: string;
|
|
1381
|
-
autoDelete?: boolean;
|
|
1382
|
-
bodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost;
|
|
1383
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1384
|
-
/**
|
|
1385
|
-
* Dev Assistant V2
|
|
1386
|
-
*/
|
|
1387
|
-
export declare function devAssistantV2V2ChatPost({ accept, authorization, xAccountId, codeBuddyApiV2SchemasChatRequest }: {
|
|
1388
|
-
accept?: string;
|
|
1389
|
-
authorization: string;
|
|
1390
|
-
xAccountId?: string;
|
|
1391
|
-
codeBuddyApiV2SchemasChatRequest: ChatRequest2;
|
|
1392
|
-
}, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse2>;
|
|
1393
|
-
/**
|
|
1394
|
-
* Quick Commands Run V2
|
|
1395
|
-
*/
|
|
1396
|
-
export declare function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, accept, authorization, xAccountId, quickCommandsExecutionRequest }: {
|
|
1397
|
-
slug: string;
|
|
1398
|
-
stepSlug: string;
|
|
1399
|
-
accept?: string;
|
|
1400
|
-
authorization: string;
|
|
1401
|
-
xAccountId?: string;
|
|
1402
|
-
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1403
|
-
}, opts?: Oazapfts.RequestOpts): Promise<string | SimpleResponse>;
|
|
1404
|
-
/**
|
|
1405
|
-
* Vectorize Objects From File
|
|
1406
|
-
*/
|
|
1407
|
-
export declare function vectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost({ slug, authorization, xAccountId, bodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost }: {
|
|
1408
|
-
slug: string;
|
|
1409
|
-
authorization: string;
|
|
1410
|
-
xAccountId?: string;
|
|
1411
|
-
bodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost: BodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost;
|
|
1412
|
-
}, opts?: Oazapfts.RequestOpts): Promise<SyncResponse>;
|
|
1413
|
-
/**
|
|
1414
|
-
* Upload Knowledge Objects Zip
|
|
1415
|
-
*/
|
|
1416
|
-
export declare function uploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, authorization, xAccountId, bodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost }: {
|
|
1417
|
-
slug: string;
|
|
1418
|
-
autoDelete?: boolean;
|
|
1419
|
-
authorization: string;
|
|
1420
|
-
xAccountId?: string;
|
|
1421
|
-
bodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost;
|
|
1422
|
-
}, opts?: Oazapfts.RequestOpts): Promise<SyncResponse>;
|
|
1423
|
-
/**
|
|
1424
|
-
* Dev Assistant V3
|
|
1425
|
-
*/
|
|
1426
|
-
export declare function devAssistantV3V3ChatPost({ accept, authorization, xAccountId, codeBuddyApiV2SchemasChatRequest }: {
|
|
1427
|
-
accept?: string;
|
|
1428
|
-
authorization: string;
|
|
1429
|
-
xAccountId?: string;
|
|
1430
|
-
codeBuddyApiV2SchemasChatRequest: ChatRequest2;
|
|
1431
|
-
}, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse3>;
|
|
1432
|
-
//# sourceMappingURL=ai.d.ts.map
|