@stack-spot/portal-network 0.197.0 → 0.198.0-beta.1
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 +152 -0
- package/dist/api/agent-tools.d.ts +139 -148
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +41 -4
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +288 -19
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +196 -11
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +316 -32
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +172 -8
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +291 -1
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +254 -0
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/discover.d.ts +95 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +78 -2
- package/dist/api/discover.js.map +1 -1
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/client/account.d.ts +233 -233
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/agent-tools.d.ts +159 -126
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +35 -4
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +243 -108
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +102 -2
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +2 -2
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +50 -50
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +379 -265
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +100 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +85 -55
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +22 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +29 -9
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +236 -1
- package/dist/client/discover.js.map +1 -1
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +10 -10
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +14 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-manager.d.ts +77 -77
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +6 -0
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +6 -0
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +9 -1
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.json +2 -2
- package/src/api/agent-tools.ts +186 -150
- package/src/api/ai.ts +521 -24
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +631 -37
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +180 -14
- package/src/client/agent-tools.ts +26 -4
- package/src/client/ai.ts +81 -10
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/code-shift.ts +64 -1
- package/src/client/data-integration.ts +15 -1
- package/src/client/discover.ts +233 -3
- package/src/client/secrets.ts +1 -1
- package/src/client/types.ts +17 -2
- package/src/error/dictionary/cloud-platform.ts +6 -0
- package/src/utils/StreamedJson.tsx +9 -2
package/dist/client/ai.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
12
12
|
*/
|
|
13
13
|
runQuickAction: import("../network/types.js").MutationObject<Omit<{
|
|
14
14
|
authorization: string;
|
|
15
|
-
xAccountId?: string | null
|
|
16
|
-
xMemberId?: string | null
|
|
17
|
-
xUsername?: string | null
|
|
15
|
+
xAccountId?: string | null;
|
|
16
|
+
xMemberId?: string | null;
|
|
17
|
+
xUsername?: string | null;
|
|
18
18
|
quickActionsRequest: import("../api/ai.js").QuickActionsRequest;
|
|
19
19
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").SimpleResponse>;
|
|
20
20
|
/**
|
|
@@ -30,7 +30,7 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
30
30
|
*/
|
|
31
31
|
deleteKnowledgeObjectsByStandalone: import("../network/types.js").MutationObject<Omit<{
|
|
32
32
|
slug: string;
|
|
33
|
-
standalone?: boolean | null
|
|
33
|
+
standalone?: boolean | null;
|
|
34
34
|
authorization: string;
|
|
35
35
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
36
36
|
/**
|
|
@@ -46,40 +46,40 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
46
46
|
vectorizeCustomKS: import("../network/types.js").MutationObject<Omit<{
|
|
47
47
|
slug: string;
|
|
48
48
|
authorization: string;
|
|
49
|
-
xAccountId?: string | null
|
|
50
|
-
xMemberId?: string | null
|
|
51
|
-
xUsername?: string | null
|
|
49
|
+
xAccountId?: string | null;
|
|
50
|
+
xMemberId?: string | null;
|
|
51
|
+
xUsername?: string | null;
|
|
52
52
|
customKnowledgeSourceRequest: import("../api/ai.js").CustomKnowledgeSourceRequest;
|
|
53
53
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
54
54
|
/**
|
|
55
55
|
* Lists the AI Stacks according to their visibilities.
|
|
56
56
|
*/
|
|
57
57
|
aiStacks: import("../network/types.js").QueryObject<Omit<{
|
|
58
|
-
visibility?: import("../api/ai.js").VisibilityLevelEnum
|
|
58
|
+
visibility?: import("../api/ai.js").VisibilityLevelEnum;
|
|
59
59
|
authorization: string;
|
|
60
|
-
xAccountId?: string | null
|
|
61
|
-
xMemberId?: string | null
|
|
62
|
-
xUsername?: string | null
|
|
60
|
+
xAccountId?: string | null;
|
|
61
|
+
xMemberId?: string | null;
|
|
62
|
+
xUsername?: string | null;
|
|
63
63
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").GetAiStackResponse[]>;
|
|
64
64
|
/**
|
|
65
65
|
* Gets total tokens usage
|
|
66
66
|
*/
|
|
67
67
|
totalTokensUsage: import("../network/types.js").QueryObject<Omit<{
|
|
68
68
|
authorization: string;
|
|
69
|
-
xAccountId?: string | null
|
|
70
|
-
xMemberId?: string | null
|
|
71
|
-
xUsername?: string | null
|
|
69
|
+
xAccountId?: string | null;
|
|
70
|
+
xMemberId?: string | null;
|
|
71
|
+
xUsername?: string | null;
|
|
72
72
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").TokensCurrentUsageResponse>;
|
|
73
73
|
/**
|
|
74
74
|
* Gets current tokens usage
|
|
75
75
|
*/
|
|
76
76
|
currentTokensUsage: import("../network/types.js").QueryObject<Omit<{
|
|
77
|
-
year
|
|
78
|
-
month
|
|
77
|
+
year?: number | null;
|
|
78
|
+
month?: number | null;
|
|
79
79
|
authorization: string;
|
|
80
|
-
xAccountId?: string | null
|
|
81
|
-
xMemberId?: string | null
|
|
82
|
-
xUsername?: string | null
|
|
80
|
+
xAccountId?: string | null;
|
|
81
|
+
xMemberId?: string | null;
|
|
82
|
+
xUsername?: string | null;
|
|
83
83
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").TokensCurrentUsageResponse>;
|
|
84
84
|
/**
|
|
85
85
|
* Gets a workspace by its id.
|
|
@@ -87,57 +87,74 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
87
87
|
workspace: import("../network/types.js").QueryObject<Omit<{
|
|
88
88
|
workspaceId: string;
|
|
89
89
|
authorization: string;
|
|
90
|
-
xAccountId?: string | null
|
|
91
|
-
xMemberId?: string | null
|
|
92
|
-
xUsername?: string | null
|
|
90
|
+
xAccountId?: string | null;
|
|
91
|
+
xMemberId?: string | null;
|
|
92
|
+
xUsername?: string | null;
|
|
93
93
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").KnowledgeSourceResponse[]>;
|
|
94
94
|
/**
|
|
95
95
|
* @deprecated
|
|
96
96
|
* Lists the quick commands according to filters passed as parameter (QC with secrets will not be returned).
|
|
97
97
|
*/
|
|
98
98
|
quickCommands: import("../network/types.js").QueryObject<Omit<{
|
|
99
|
-
visibility?: import("../api/ai.js").VisibilityLevelEnum | null
|
|
100
|
-
order?: import("../api/ai.js").OrderEnum
|
|
101
|
-
types?: import("../api/ai.js").QuickCommandTypeRequest[] | null
|
|
99
|
+
visibility?: import("../api/ai.js").VisibilityLevelEnum | null;
|
|
100
|
+
order?: import("../api/ai.js").OrderEnum;
|
|
101
|
+
types?: import("../api/ai.js").QuickCommandTypeRequest[] | null;
|
|
102
102
|
authorization: string;
|
|
103
|
-
xAccountId?: string | null
|
|
104
|
-
xMemberId?: string | null
|
|
105
|
-
xUsername?: string | null
|
|
103
|
+
xAccountId?: string | null;
|
|
104
|
+
xMemberId?: string | null;
|
|
105
|
+
xUsername?: string | null;
|
|
106
106
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandListResponse[]>;
|
|
107
107
|
/**
|
|
108
108
|
* Lists all the quick commands according to filters passed as parameter (including QC with secrets).
|
|
109
109
|
*/
|
|
110
110
|
allQuickCommands: import("../network/types.js").QueryObject<Omit<{
|
|
111
|
-
visibility?: import("../api/ai.js").VisibilityLevelEnum | null
|
|
112
|
-
order?: import("../api/ai.js").OrderEnum
|
|
113
|
-
types?: import("../api/ai.js").QuickCommandTypeRequest[] | null
|
|
111
|
+
visibility?: import("../api/ai.js").VisibilityLevelEnum | null;
|
|
112
|
+
order?: import("../api/ai.js").OrderEnum;
|
|
113
|
+
types?: import("../api/ai.js").QuickCommandTypeRequest[] | null;
|
|
114
114
|
authorization: string;
|
|
115
|
-
xAccountId?: string | null
|
|
116
|
-
xMemberId?: string | null
|
|
117
|
-
xUsername?: string | null
|
|
115
|
+
xAccountId?: string | null;
|
|
116
|
+
xMemberId?: string | null;
|
|
117
|
+
xUsername?: string | null;
|
|
118
118
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandListResponse[]>;
|
|
119
|
+
/**
|
|
120
|
+
* Lists all the quick commands according to filters passed as parameter (including QC with secrets) with pagination.
|
|
121
|
+
*/
|
|
122
|
+
allQuickCommandsV3: import("../network/types.js").InfiniteQueryObject<Omit<{
|
|
123
|
+
name?: string | null;
|
|
124
|
+
slug?: string | null;
|
|
125
|
+
size?: number;
|
|
126
|
+
page?: number;
|
|
127
|
+
visibilityList?: import("../api/ai.js").VisibilityLevelEnum[] | null;
|
|
128
|
+
order?: import("../api/ai.js").OrderEnum | null;
|
|
129
|
+
isRemote?: boolean;
|
|
130
|
+
types?: import("../api/ai.js").QuickCommandTypeRequest[] | null;
|
|
131
|
+
authorization: string;
|
|
132
|
+
xAccountId?: string | null;
|
|
133
|
+
xMemberId?: string | null;
|
|
134
|
+
xUsername?: string | null;
|
|
135
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").PaginatedResponseQuickCommandListResponseV3, "items">;
|
|
119
136
|
/**
|
|
120
137
|
* Gets a quick command by its slug.
|
|
121
138
|
*/
|
|
122
139
|
quickCommand: import("../network/types.js").QueryObject<Omit<{
|
|
123
140
|
slug: string;
|
|
124
|
-
findAgents?: boolean
|
|
141
|
+
findAgents?: boolean;
|
|
125
142
|
authorization: string;
|
|
126
|
-
xAccountId?: string | null
|
|
127
|
-
xMemberId?: string | null
|
|
128
|
-
xUsername?: string | null
|
|
143
|
+
xAccountId?: string | null;
|
|
144
|
+
xMemberId?: string | null;
|
|
145
|
+
xUsername?: string | null;
|
|
129
146
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandResponse>;
|
|
130
147
|
/**
|
|
131
148
|
* Creates a new execution for a quick command by its slug.
|
|
132
149
|
*/
|
|
133
150
|
quickCommandCreateExecution: import("../network/types.js").MutationObject<Omit<{
|
|
134
151
|
slug: string;
|
|
135
|
-
conversationId?: string | null
|
|
152
|
+
conversationId?: string | null;
|
|
136
153
|
authorization: string;
|
|
137
|
-
xAccountId?: string | null
|
|
138
|
-
xMemberId?: string | null
|
|
139
|
-
xUsername?: string | null
|
|
140
|
-
quickCommandCreateRequest?: import("../api/ai.js").QuickCommandCreateRequest
|
|
154
|
+
xAccountId?: string | null;
|
|
155
|
+
xMemberId?: string | null;
|
|
156
|
+
xUsername?: string | null;
|
|
157
|
+
quickCommandCreateRequest?: import("../api/ai.js").QuickCommandCreateRequest;
|
|
141
158
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
142
159
|
/**
|
|
143
160
|
* Gets the execution status and result of a quick command by its execution ID.
|
|
@@ -145,22 +162,22 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
145
162
|
quickCommandCallbackExecutionId: import("../network/types.js").QueryObject<Omit<{
|
|
146
163
|
executionId: string;
|
|
147
164
|
authorization: string;
|
|
148
|
-
xAccountId?: string | null
|
|
149
|
-
xMemberId?: string | null
|
|
150
|
-
xUsername?: string | null
|
|
165
|
+
xAccountId?: string | null;
|
|
166
|
+
xMemberId?: string | null;
|
|
167
|
+
xUsername?: string | null;
|
|
151
168
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandExecutionResponse>;
|
|
152
169
|
/**
|
|
153
170
|
* Lists the knowledge sources according to filters passed as parameter.
|
|
154
171
|
*/
|
|
155
172
|
knowledgeSources: import("../network/types.js").QueryObject<Omit<{
|
|
156
|
-
visibility?: import("../api/ai.js").VisibilityLevelEnum
|
|
157
|
-
order?: import("../api/ai.js").OrderEnum
|
|
158
|
-
$default?: boolean | null
|
|
159
|
-
types?: import("../api/ai.js").KnowledgeSourceTypeEnum[] | null
|
|
160
|
-
authorization: string;
|
|
161
|
-
xAccountId?: string | null
|
|
162
|
-
xMemberId?: string | null
|
|
163
|
-
xUsername?: string | null
|
|
173
|
+
visibility?: import("../api/ai.js").VisibilityLevelEnum;
|
|
174
|
+
order?: import("../api/ai.js").OrderEnum;
|
|
175
|
+
$default?: boolean | null;
|
|
176
|
+
types?: import("../api/ai.js").KnowledgeSourceTypeEnum[] | null;
|
|
177
|
+
authorization: string;
|
|
178
|
+
xAccountId?: string | null;
|
|
179
|
+
xMemberId?: string | null;
|
|
180
|
+
xUsername?: string | null;
|
|
164
181
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").KnowledgeSourceItemResponse[]>;
|
|
165
182
|
/**
|
|
166
183
|
* Gets a knowledge source by its slug.
|
|
@@ -188,12 +205,12 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
188
205
|
* Gets the chat history. This is a paginated resource.
|
|
189
206
|
*/
|
|
190
207
|
chats: import("../network/types.js").InfiniteQueryObject<Omit<{
|
|
191
|
-
size?: number
|
|
192
|
-
page?: number
|
|
208
|
+
size?: number;
|
|
209
|
+
page?: number;
|
|
193
210
|
authorization: string;
|
|
194
|
-
xAccountId?: string | null
|
|
195
|
-
xMemberId?: string | null
|
|
196
|
-
xUsername?: string | null
|
|
211
|
+
xAccountId?: string | null;
|
|
212
|
+
xMemberId?: string | null;
|
|
213
|
+
xUsername?: string | null;
|
|
197
214
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").ConversationResponse[], "">;
|
|
198
215
|
/**
|
|
199
216
|
* Gets a specific chat from the history according to its id.
|
|
@@ -201,9 +218,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
201
218
|
chat: import("../network/types.js").QueryObject<Omit<{
|
|
202
219
|
conversationId: string;
|
|
203
220
|
authorization: string;
|
|
204
|
-
xAccountId?: string | null
|
|
205
|
-
xMemberId?: string | null
|
|
206
|
-
xUsername?: string | null
|
|
221
|
+
xAccountId?: string | null;
|
|
222
|
+
xMemberId?: string | null;
|
|
223
|
+
xUsername?: string | null;
|
|
207
224
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, FixedConversationResponse>;
|
|
208
225
|
/**
|
|
209
226
|
* Deletes a chat from the chat history.
|
|
@@ -211,9 +228,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
211
228
|
deleteChat: import("../network/types.js").MutationObject<Omit<{
|
|
212
229
|
conversationId: string;
|
|
213
230
|
authorization: string;
|
|
214
|
-
xAccountId?: string | null
|
|
215
|
-
xMemberId?: string | null
|
|
216
|
-
xUsername?: string | null
|
|
231
|
+
xAccountId?: string | null;
|
|
232
|
+
xMemberId?: string | null;
|
|
233
|
+
xUsername?: string | null;
|
|
217
234
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
218
235
|
/**
|
|
219
236
|
* Gets a plain text version of the chat with id passed as parameter.
|
|
@@ -221,9 +238,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
221
238
|
downloadChat: import("../network/types.js").MutationObject<Omit<{
|
|
222
239
|
conversationId: string;
|
|
223
240
|
authorization: string;
|
|
224
|
-
xAccountId?: string | null
|
|
225
|
-
xMemberId?: string | null
|
|
226
|
-
xUsername?: string | null
|
|
241
|
+
xAccountId?: string | null;
|
|
242
|
+
xMemberId?: string | null;
|
|
243
|
+
xUsername?: string | null;
|
|
227
244
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
228
245
|
/**
|
|
229
246
|
* Renames a chat.
|
|
@@ -231,9 +248,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
231
248
|
renameChat: import("../network/types.js").MutationObject<Omit<{
|
|
232
249
|
conversationId: string;
|
|
233
250
|
authorization: string;
|
|
234
|
-
xAccountId?: string | null
|
|
235
|
-
xMemberId?: string | null
|
|
236
|
-
xUsername?: string | null
|
|
251
|
+
xAccountId?: string | null;
|
|
252
|
+
xMemberId?: string | null;
|
|
253
|
+
xUsername?: string | null;
|
|
237
254
|
conversationUpdateTitleRequest: import("../api/ai.js").ConversationUpdateTitleRequest;
|
|
238
255
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").ConversationResponse>;
|
|
239
256
|
/**
|
|
@@ -241,9 +258,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
241
258
|
*/
|
|
242
259
|
createEvent: import("../network/types.js").MutationObject<Omit<{
|
|
243
260
|
authorization: string;
|
|
244
|
-
xAccountId?: string | null
|
|
245
|
-
xMemberId?: string | null
|
|
246
|
-
xUsername?: string | null
|
|
261
|
+
xAccountId?: string | null;
|
|
262
|
+
xMemberId?: string | null;
|
|
263
|
+
xUsername?: string | null;
|
|
247
264
|
body: import("../api/ai.js").GenericEventRequest[];
|
|
248
265
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
249
266
|
/**
|
|
@@ -253,9 +270,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
253
270
|
slug: string;
|
|
254
271
|
stepSlug: string;
|
|
255
272
|
authorization: string;
|
|
256
|
-
xAccountId?: string | null
|
|
257
|
-
xMemberId?: string | null
|
|
258
|
-
xUsername?: string | null
|
|
273
|
+
xAccountId?: string | null;
|
|
274
|
+
xMemberId?: string | null;
|
|
275
|
+
xUsername?: string | null;
|
|
259
276
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
260
277
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandStepFetchResponse>;
|
|
261
278
|
/**
|
|
@@ -265,12 +282,12 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
265
282
|
slug: string;
|
|
266
283
|
stepSlug: string;
|
|
267
284
|
authorization: string;
|
|
268
|
-
xAccountId?: string | null
|
|
269
|
-
xMemberId?: string | null
|
|
270
|
-
xUsername?: string | null
|
|
285
|
+
xAccountId?: string | null;
|
|
286
|
+
xMemberId?: string | null;
|
|
287
|
+
xUsername?: string | null;
|
|
271
288
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
272
289
|
}, "authorization"> & {
|
|
273
|
-
headers?: Record<string, any
|
|
290
|
+
headers?: Record<string, any>;
|
|
274
291
|
}, import("../api/ai.js").QuickCommandStepFetchResponse>;
|
|
275
292
|
/**
|
|
276
293
|
* @deprecated This method does not use stream, only json. The json support has been removed
|
|
@@ -281,9 +298,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
281
298
|
slug: string;
|
|
282
299
|
stepSlug: string;
|
|
283
300
|
authorization: string;
|
|
284
|
-
xAccountId?: string | null
|
|
285
|
-
xMemberId?: string | null
|
|
286
|
-
xUsername?: string | null
|
|
301
|
+
xAccountId?: string | null;
|
|
302
|
+
xMemberId?: string | null;
|
|
303
|
+
xUsername?: string | null;
|
|
287
304
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
288
305
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, string | QuickCommandPromptResponse2>;
|
|
289
306
|
/**
|
|
@@ -293,9 +310,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
293
310
|
slug: string;
|
|
294
311
|
stepSlug: string;
|
|
295
312
|
authorization: string;
|
|
296
|
-
xAccountId?: string | null
|
|
297
|
-
xMemberId?: string | null
|
|
298
|
-
xUsername?: string | null
|
|
313
|
+
xAccountId?: string | null;
|
|
314
|
+
xMemberId?: string | null;
|
|
315
|
+
xUsername?: string | null;
|
|
299
316
|
quickCommandEvaluateStepRouterRequest: import("../api/ai.js").QuickCommandEvaluateStepRouterRequest;
|
|
300
317
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandEvaluateStepRouterResponse>;
|
|
301
318
|
/**
|
|
@@ -308,9 +325,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
308
325
|
formatResultOfQuickCommand: import("../network/types.js").MutationObject<Omit<{
|
|
309
326
|
slug: string;
|
|
310
327
|
authorization: string;
|
|
311
|
-
xAccountId?: string | null
|
|
312
|
-
xMemberId?: string | null
|
|
313
|
-
xUsername?: string | null
|
|
328
|
+
xAccountId?: string | null;
|
|
329
|
+
xMemberId?: string | null;
|
|
330
|
+
xUsername?: string | null;
|
|
314
331
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
315
332
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandFinalResultResponse>;
|
|
316
333
|
/**
|
|
@@ -319,9 +336,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
319
336
|
addFavoriteStackAi: import("../network/types.js").MutationObject<Omit<{
|
|
320
337
|
stackId: string;
|
|
321
338
|
authorization: string;
|
|
322
|
-
xAccountId?: string | null
|
|
323
|
-
xMemberId?: string | null
|
|
324
|
-
xUsername?: string | null
|
|
339
|
+
xAccountId?: string | null;
|
|
340
|
+
xMemberId?: string | null;
|
|
341
|
+
xUsername?: string | null;
|
|
325
342
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
326
343
|
/**
|
|
327
344
|
* Removes the resource of type Stack AI from the list of favorites.
|
|
@@ -329,9 +346,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
329
346
|
removeFavoriteStackAi: import("../network/types.js").MutationObject<Omit<{
|
|
330
347
|
stackId: string;
|
|
331
348
|
authorization: string;
|
|
332
|
-
xAccountId?: string | null
|
|
333
|
-
xMemberId?: string | null
|
|
334
|
-
xUsername?: string | null
|
|
349
|
+
xAccountId?: string | null;
|
|
350
|
+
xMemberId?: string | null;
|
|
351
|
+
xUsername?: string | null;
|
|
335
352
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
336
353
|
/**
|
|
337
354
|
* Updates a Quick Command
|
|
@@ -339,9 +356,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
339
356
|
updateQuickCommand: import("../network/types.js").MutationObject<Omit<{
|
|
340
357
|
slug: string;
|
|
341
358
|
authorization: string;
|
|
342
|
-
xAccountId?: string | null
|
|
343
|
-
xMemberId?: string | null
|
|
344
|
-
xUsername?: string | null
|
|
359
|
+
xAccountId?: string | null;
|
|
360
|
+
xMemberId?: string | null;
|
|
361
|
+
xUsername?: string | null;
|
|
345
362
|
quickCommandsUpdateRequest: import("../api/ai.js").QuickCommandsUpdateRequest;
|
|
346
363
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
347
364
|
/**
|
|
@@ -350,9 +367,9 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
350
367
|
addFavoriteQuickCommand: import("../network/types.js").MutationObject<Omit<{
|
|
351
368
|
slug: string;
|
|
352
369
|
authorization: string;
|
|
353
|
-
xAccountId?: string | null
|
|
354
|
-
xMemberId?: string | null
|
|
355
|
-
xUsername?: string | null
|
|
370
|
+
xAccountId?: string | null;
|
|
371
|
+
xMemberId?: string | null;
|
|
372
|
+
xUsername?: string | null;
|
|
356
373
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
357
374
|
/**
|
|
358
375
|
* Removes the resource of type Quick Command from the list of favorites.
|
|
@@ -360,19 +377,137 @@ declare class AIClient extends ReactQueryNetworkClient {
|
|
|
360
377
|
removeFavoriteQuickCommand: import("../network/types.js").MutationObject<Omit<{
|
|
361
378
|
slug: string;
|
|
362
379
|
authorization: string;
|
|
363
|
-
xAccountId?: string | null
|
|
364
|
-
xMemberId?: string | null
|
|
365
|
-
xUsername?: string | null
|
|
380
|
+
xAccountId?: string | null;
|
|
381
|
+
xMemberId?: string | null;
|
|
382
|
+
xUsername?: string | null;
|
|
366
383
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
384
|
+
/**
|
|
385
|
+
* Lists all the feature flags for this user.
|
|
386
|
+
*/
|
|
387
|
+
flags: import("../network/types.js").QueryObject<void, import("../api/ai.js").FeatureFlagResponse[]>;
|
|
388
|
+
/**
|
|
389
|
+
* Starts the execution of a script step
|
|
390
|
+
*/
|
|
391
|
+
startScriptStep: import("../network/types.js").MutationObject<Omit<{
|
|
392
|
+
slug: string;
|
|
393
|
+
stepSlug: string;
|
|
394
|
+
authorization: string;
|
|
395
|
+
xAccountId?: string | null;
|
|
396
|
+
xMemberId?: string | null;
|
|
397
|
+
xUsername?: string | null;
|
|
398
|
+
quickCommandStartScriptRequest: import("../api/ai.js").QuickCommandStartScriptRequest;
|
|
399
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandStartScriptResponse>;
|
|
400
|
+
/**
|
|
401
|
+
* Gets the status of the execution of a script step
|
|
402
|
+
*/
|
|
403
|
+
getStatusScriptStep: import("../network/types.js").QueryObject<Omit<{
|
|
404
|
+
scriptExecutionId: string;
|
|
405
|
+
authorization: string;
|
|
406
|
+
xAccountId?: string | null;
|
|
407
|
+
xMemberId?: string | null;
|
|
408
|
+
xUsername?: string | null;
|
|
409
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").QuickCommandScriptExecutionResponse>;
|
|
410
|
+
/**
|
|
411
|
+
* Get reviews by resource
|
|
412
|
+
*/
|
|
413
|
+
getReviewsByResource: import("../network/types.js").QueryObject<Omit<{
|
|
414
|
+
resourceSlug: string;
|
|
415
|
+
resourceTypeSlug: string;
|
|
416
|
+
size?: number | null;
|
|
417
|
+
page?: number | null;
|
|
418
|
+
sort?: string | null;
|
|
419
|
+
direction?: import("../api/ai.js").SortDirection | null;
|
|
420
|
+
authorization: string;
|
|
421
|
+
xAccountId?: string | null;
|
|
422
|
+
xMemberId?: string | null;
|
|
423
|
+
xUsername?: string | null;
|
|
424
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/ai.js").ResourceReviewResponse>;
|
|
425
|
+
/**
|
|
426
|
+
* Create a resource review
|
|
427
|
+
*/
|
|
428
|
+
createResourceReview: import("../network/types.js").MutationObject<Omit<{
|
|
429
|
+
resourceSlug: string;
|
|
430
|
+
resourceTypeSlug: string;
|
|
431
|
+
authorization: string;
|
|
432
|
+
xAccountId?: string | null;
|
|
433
|
+
xMemberId?: string | null;
|
|
434
|
+
xUsername?: string | null;
|
|
435
|
+
resourceReviewRequest: import("../api/ai.js").ResourceReviewRequest;
|
|
436
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
437
|
+
/**
|
|
438
|
+
* Create an answer for a review
|
|
439
|
+
*/
|
|
440
|
+
createAnswerForReview: import("../network/types.js").MutationObject<Omit<{
|
|
441
|
+
resourceSlug: string;
|
|
442
|
+
resourceTypeSlug: string;
|
|
443
|
+
reviewId: string;
|
|
444
|
+
authorization: string;
|
|
445
|
+
xAccountId?: string | null;
|
|
446
|
+
xMemberId?: string | null;
|
|
447
|
+
xUsername?: string | null;
|
|
448
|
+
reviewAnswer: import("../api/ai.js").ReviewAnswer;
|
|
449
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
450
|
+
/**
|
|
451
|
+
* Update a resource review
|
|
452
|
+
*/
|
|
453
|
+
updateResourceReview: import("../network/types.js").MutationObject<Omit<{
|
|
454
|
+
resourceSlug: string;
|
|
455
|
+
resourceTypeSlug: string;
|
|
456
|
+
reviewId: string;
|
|
457
|
+
authorization: string;
|
|
458
|
+
xAccountId?: string | null;
|
|
459
|
+
xMemberId?: string | null;
|
|
460
|
+
xUsername?: string | null;
|
|
461
|
+
resourceReviewRequest: import("../api/ai.js").ResourceReviewRequest;
|
|
462
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
463
|
+
/**
|
|
464
|
+
* Delete a resource review
|
|
465
|
+
*/
|
|
466
|
+
deleteResourceReview: import("../network/types.js").MutationObject<Omit<{
|
|
467
|
+
resourceSlug: string;
|
|
468
|
+
resourceTypeSlug: string;
|
|
469
|
+
reviewId: string;
|
|
470
|
+
authorization: string;
|
|
471
|
+
xAccountId?: string | null;
|
|
472
|
+
xMemberId?: string | null;
|
|
473
|
+
xUsername?: string | null;
|
|
474
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
475
|
+
/**
|
|
476
|
+
* Update a review comment (answer)
|
|
477
|
+
*/
|
|
478
|
+
updateReviewComment: import("../network/types.js").MutationObject<Omit<{
|
|
479
|
+
resourceSlug: string;
|
|
480
|
+
resourceTypeSlug: string;
|
|
481
|
+
reviewId: string;
|
|
482
|
+
answerId: string;
|
|
483
|
+
authorization: string;
|
|
484
|
+
xAccountId?: string | null;
|
|
485
|
+
xMemberId?: string | null;
|
|
486
|
+
xUsername?: string | null;
|
|
487
|
+
reviewAnswer: import("../api/ai.js").ReviewAnswer;
|
|
488
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
489
|
+
/**
|
|
490
|
+
* Delete a review comment (answer)
|
|
491
|
+
*/
|
|
492
|
+
deleteReviewComment: import("../network/types.js").MutationObject<Omit<{
|
|
493
|
+
resourceSlug: string;
|
|
494
|
+
resourceTypeSlug: string;
|
|
495
|
+
reviewId: string;
|
|
496
|
+
answerId: string;
|
|
497
|
+
authorization: string;
|
|
498
|
+
xAccountId?: string | null;
|
|
499
|
+
xMemberId?: string | null;
|
|
500
|
+
xUsername?: string | null;
|
|
501
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
367
502
|
private static toolsOfAgent;
|
|
368
503
|
sendChatMessage(request: FixedChatRequest, minChangeIntervalMS?: number): StreamedJson<ChatResponseWithSteps>;
|
|
369
504
|
contentDependencies: import("../network/types.js").QueryObject<Omit<{
|
|
370
505
|
contentType: import("../api/ai.js").ContentDependencyType;
|
|
371
506
|
contentId: string;
|
|
372
507
|
authorization: string;
|
|
373
|
-
xAccountId?: string | null
|
|
374
|
-
xMemberId?: string | null
|
|
375
|
-
xUsername?: string | null
|
|
508
|
+
xAccountId?: string | null;
|
|
509
|
+
xMemberId?: string | null;
|
|
510
|
+
xUsername?: string | null;
|
|
376
511
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, FixedDependencyResponse>;
|
|
377
512
|
}
|
|
378
513
|
export declare const aiClient: AIClient;
|
package/dist/client/ai.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../src/client/ai.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAG7C,OAAO,
|
|
1
|
+
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../src/client/ai.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAG7C,OAAO,EAsCL,2BAA2B,EAC3B,6BAA6B,EAY9B,MAAM,WAAW,CAAA;AAGlB,OAAO,EAAE,iBAAiB,E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