@yuntijs/arcadia-bff-sdk 1.2.34 → 1.2.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +102 -4
- package/dist/cjs/sdk.d.ts +375 -4
- package/dist/cjs/sdk.js +115 -2
- package/dist/cjs/taro.d.ts +73 -3
- package/dist/esm/index.d.ts +102 -4
- package/dist/esm/sdk.d.ts +375 -4
- package/dist/esm/sdk.js +108 -75
- package/dist/esm/taro.d.ts +73 -3
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/sdk.js
CHANGED
|
@@ -65,6 +65,9 @@ __export(sdk_exports, {
|
|
|
65
65
|
DeleteVersionedDatasetsDocument: () => DeleteVersionedDatasetsDocument,
|
|
66
66
|
DeleteWorkersDocument: () => DeleteWorkersDocument,
|
|
67
67
|
GetAgentDocument: () => GetAgentDocument,
|
|
68
|
+
GetAgentLatestReleaseInEachPlatformDocument: () => GetAgentLatestReleaseInEachPlatformDocument,
|
|
69
|
+
GetAgentReleaseHistoryDocument: () => GetAgentReleaseHistoryDocument,
|
|
70
|
+
GetAgentReleaseStatusDocument: () => GetAgentReleaseStatusDocument,
|
|
68
71
|
GetDatasetDocument: () => GetDatasetDocument,
|
|
69
72
|
GetDatasourceDocument: () => GetDatasourceDocument,
|
|
70
73
|
GetEmbedderDocument: () => GetEmbedderDocument,
|
|
@@ -163,6 +166,12 @@ var UpdateAgentDocument = import_graphql_tag.default`
|
|
|
163
166
|
status
|
|
164
167
|
category
|
|
165
168
|
notReadyReasonCode
|
|
169
|
+
platformStatus
|
|
170
|
+
platforms {
|
|
171
|
+
icon
|
|
172
|
+
name
|
|
173
|
+
displayName
|
|
174
|
+
}
|
|
166
175
|
}
|
|
167
176
|
}
|
|
168
177
|
}
|
|
@@ -175,9 +184,9 @@ var DeleteAgentDocument = import_graphql_tag.default`
|
|
|
175
184
|
}
|
|
176
185
|
`;
|
|
177
186
|
var ReleaseAgentDocument = import_graphql_tag.default`
|
|
178
|
-
mutation releaseAgent($name: String!, $namespace: String!, $
|
|
187
|
+
mutation releaseAgent($name: String!, $namespace: String!, $input: ReleaseAgentInput!) {
|
|
179
188
|
Agent {
|
|
180
|
-
releaseAgent(name: $name, namespace: $namespace,
|
|
189
|
+
releaseAgent(name: $name, namespace: $namespace, input: $input) {
|
|
181
190
|
name
|
|
182
191
|
namespace
|
|
183
192
|
id
|
|
@@ -195,6 +204,12 @@ var ReleaseAgentDocument = import_graphql_tag.default`
|
|
|
195
204
|
status
|
|
196
205
|
category
|
|
197
206
|
notReadyReasonCode
|
|
207
|
+
platformStatus
|
|
208
|
+
platforms {
|
|
209
|
+
icon
|
|
210
|
+
name
|
|
211
|
+
displayName
|
|
212
|
+
}
|
|
198
213
|
}
|
|
199
214
|
}
|
|
200
215
|
}
|
|
@@ -241,6 +256,24 @@ var DeleteAgentPromptDocument = import_graphql_tag.default`
|
|
|
241
256
|
}
|
|
242
257
|
}
|
|
243
258
|
`;
|
|
259
|
+
var GetAgentReleaseStatusDocument = import_graphql_tag.default`
|
|
260
|
+
query getAgentReleaseStatus($name: String!, $namespace: String!) {
|
|
261
|
+
Agent {
|
|
262
|
+
getAgent(name: $name, namespace: $namespace) {
|
|
263
|
+
metadata {
|
|
264
|
+
name
|
|
265
|
+
namespace
|
|
266
|
+
platformStatus
|
|
267
|
+
platforms {
|
|
268
|
+
icon
|
|
269
|
+
name
|
|
270
|
+
displayName
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
`;
|
|
244
277
|
var GetAgentDocument = import_graphql_tag.default`
|
|
245
278
|
query getAgent($name: String!, $namespace: String!) {
|
|
246
279
|
Agent {
|
|
@@ -263,6 +296,12 @@ var GetAgentDocument = import_graphql_tag.default`
|
|
|
263
296
|
status
|
|
264
297
|
category
|
|
265
298
|
notReadyReasonCode
|
|
299
|
+
platformStatus
|
|
300
|
+
platforms {
|
|
301
|
+
icon
|
|
302
|
+
name
|
|
303
|
+
displayName
|
|
304
|
+
}
|
|
266
305
|
}
|
|
267
306
|
prologue
|
|
268
307
|
model
|
|
@@ -290,6 +329,59 @@ var GetAgentDocument = import_graphql_tag.default`
|
|
|
290
329
|
}
|
|
291
330
|
}
|
|
292
331
|
`;
|
|
332
|
+
var GetAgentLatestReleaseInEachPlatformDocument = import_graphql_tag.default`
|
|
333
|
+
query getAgentLatestReleaseInEachPlatform($name: String!, $namespace: String!) {
|
|
334
|
+
Agent {
|
|
335
|
+
getAgentLatestReleaseInEachPlatform(name: $name, namespace: $namespace) {
|
|
336
|
+
hasNextPage
|
|
337
|
+
totalCount
|
|
338
|
+
nodes {
|
|
339
|
+
... on AgentRelease {
|
|
340
|
+
id
|
|
341
|
+
platform
|
|
342
|
+
name
|
|
343
|
+
namesapce
|
|
344
|
+
status
|
|
345
|
+
log
|
|
346
|
+
createdAt
|
|
347
|
+
username
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
`;
|
|
354
|
+
var GetAgentReleaseHistoryDocument = import_graphql_tag.default`
|
|
355
|
+
query getAgentReleaseHistory($name: String!, $namespace: String!, $page: Int, $pageSize: Int) {
|
|
356
|
+
Agent {
|
|
357
|
+
getAgentReleaseHistory(
|
|
358
|
+
name: $name
|
|
359
|
+
namespace: $namespace
|
|
360
|
+
page: $page
|
|
361
|
+
pageSize: $pageSize
|
|
362
|
+
) {
|
|
363
|
+
hasNextPage
|
|
364
|
+
totalCount
|
|
365
|
+
nodes {
|
|
366
|
+
... on AgentReleaseHistory {
|
|
367
|
+
date
|
|
368
|
+
items {
|
|
369
|
+
log
|
|
370
|
+
time
|
|
371
|
+
username
|
|
372
|
+
platforms {
|
|
373
|
+
name
|
|
374
|
+
displayName
|
|
375
|
+
icon
|
|
376
|
+
status
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
`;
|
|
293
385
|
var ListAgentsDocument = import_graphql_tag.default`
|
|
294
386
|
query listAgents($input: ListCommonInput!) {
|
|
295
387
|
Agent {
|
|
@@ -2332,9 +2424,18 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2332
2424
|
deleteAgentPrompt(variables, requestHeaders) {
|
|
2333
2425
|
return withWrapper((wrappedRequestHeaders) => client.request(DeleteAgentPromptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "deleteAgentPrompt", "mutation", variables);
|
|
2334
2426
|
},
|
|
2427
|
+
getAgentReleaseStatus(variables, requestHeaders) {
|
|
2428
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetAgentReleaseStatusDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getAgentReleaseStatus", "query", variables);
|
|
2429
|
+
},
|
|
2335
2430
|
getAgent(variables, requestHeaders) {
|
|
2336
2431
|
return withWrapper((wrappedRequestHeaders) => client.request(GetAgentDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getAgent", "query", variables);
|
|
2337
2432
|
},
|
|
2433
|
+
getAgentLatestReleaseInEachPlatform(variables, requestHeaders) {
|
|
2434
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetAgentLatestReleaseInEachPlatformDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getAgentLatestReleaseInEachPlatform", "query", variables);
|
|
2435
|
+
},
|
|
2436
|
+
getAgentReleaseHistory(variables, requestHeaders) {
|
|
2437
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetAgentReleaseHistoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getAgentReleaseHistory", "query", variables);
|
|
2438
|
+
},
|
|
2338
2439
|
listAgents(variables, requestHeaders) {
|
|
2339
2440
|
return withWrapper((wrappedRequestHeaders) => client.request(ListAgentsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listAgents", "query", variables);
|
|
2340
2441
|
},
|
|
@@ -2555,9 +2656,18 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2555
2656
|
const genKey = (name, object = {}) => [name, ...Object.keys(object).sort().map((key) => object[key])];
|
|
2556
2657
|
return {
|
|
2557
2658
|
...sdk,
|
|
2659
|
+
useGetAgentReleaseStatus(variables, config) {
|
|
2660
|
+
return (0, import_useSWR.default)(genKey("GetAgentReleaseStatus", variables), () => sdk.getAgentReleaseStatus(variables), config);
|
|
2661
|
+
},
|
|
2558
2662
|
useGetAgent(variables, config) {
|
|
2559
2663
|
return (0, import_useSWR.default)(genKey("GetAgent", variables), () => sdk.getAgent(variables), config);
|
|
2560
2664
|
},
|
|
2665
|
+
useGetAgentLatestReleaseInEachPlatform(variables, config) {
|
|
2666
|
+
return (0, import_useSWR.default)(genKey("GetAgentLatestReleaseInEachPlatform", variables), () => sdk.getAgentLatestReleaseInEachPlatform(variables), config);
|
|
2667
|
+
},
|
|
2668
|
+
useGetAgentReleaseHistory(variables, config) {
|
|
2669
|
+
return (0, import_useSWR.default)(genKey("GetAgentReleaseHistory", variables), () => sdk.getAgentReleaseHistory(variables), config);
|
|
2670
|
+
},
|
|
2561
2671
|
useListAgents(variables, config) {
|
|
2562
2672
|
return (0, import_useSWR.default)(genKey("ListAgents", variables), () => sdk.listAgents(variables), config);
|
|
2563
2673
|
},
|
|
@@ -2715,6 +2825,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2715
2825
|
DeleteVersionedDatasetsDocument,
|
|
2716
2826
|
DeleteWorkersDocument,
|
|
2717
2827
|
GetAgentDocument,
|
|
2828
|
+
GetAgentLatestReleaseInEachPlatformDocument,
|
|
2829
|
+
GetAgentReleaseHistoryDocument,
|
|
2830
|
+
GetAgentReleaseStatusDocument,
|
|
2718
2831
|
GetDatasetDocument,
|
|
2719
2832
|
GetDatasourceDocument,
|
|
2720
2833
|
GetEmbedderDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
44
44
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
45
45
|
name: string;
|
|
46
46
|
namespace: string;
|
|
47
|
-
|
|
47
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
48
48
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
49
49
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
50
50
|
namespacedname: string;
|
|
@@ -66,10 +66,24 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
66
66
|
namespacedname: string;
|
|
67
67
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
68
68
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
69
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
70
|
+
name: string;
|
|
71
|
+
namespace: string;
|
|
72
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
69
73
|
getAgent(variables: import("./sdk").Exact<{
|
|
70
74
|
name: string;
|
|
71
75
|
namespace: string;
|
|
72
76
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
77
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
78
|
+
name: string;
|
|
79
|
+
namespace: string;
|
|
80
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
81
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
82
|
+
name: string;
|
|
83
|
+
namespace: string;
|
|
84
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
85
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
86
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
73
87
|
listAgents(variables: import("./sdk").Exact<{
|
|
74
88
|
input: import("./sdk").ListCommonInput;
|
|
75
89
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
@@ -311,10 +325,24 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
311
325
|
* @param {SdkOptions} options 配置项
|
|
312
326
|
*/
|
|
313
327
|
export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
328
|
+
useGetAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
329
|
+
name: string;
|
|
330
|
+
namespace: string;
|
|
331
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError>;
|
|
314
332
|
useGetAgent(variables: import("./sdk").Exact<{
|
|
315
333
|
name: string;
|
|
316
334
|
namespace: string;
|
|
317
335
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError>;
|
|
336
|
+
useGetAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
337
|
+
name: string;
|
|
338
|
+
namespace: string;
|
|
339
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError>;
|
|
340
|
+
useGetAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
341
|
+
name: string;
|
|
342
|
+
namespace: string;
|
|
343
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
344
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
345
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
318
346
|
useListAgents(variables: import("./sdk").Exact<{
|
|
319
347
|
input: import("./sdk").ListCommonInput;
|
|
320
348
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -465,7 +493,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
465
493
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
466
494
|
name: string;
|
|
467
495
|
namespace: string;
|
|
468
|
-
|
|
496
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
469
497
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
470
498
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
471
499
|
namespacedname: string;
|
|
@@ -487,10 +515,24 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
487
515
|
namespacedname: string;
|
|
488
516
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
489
517
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
518
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
519
|
+
name: string;
|
|
520
|
+
namespace: string;
|
|
521
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
490
522
|
getAgent(variables: import("./sdk").Exact<{
|
|
491
523
|
name: string;
|
|
492
524
|
namespace: string;
|
|
493
525
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
526
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
527
|
+
name: string;
|
|
528
|
+
namespace: string;
|
|
529
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
530
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
531
|
+
name: string;
|
|
532
|
+
namespace: string;
|
|
533
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
534
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
535
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
494
536
|
listAgents(variables: import("./sdk").Exact<{
|
|
495
537
|
input: import("./sdk").ListCommonInput;
|
|
496
538
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
@@ -732,10 +774,24 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
732
774
|
* @param {SdkOptions} options 配置项
|
|
733
775
|
*/
|
|
734
776
|
export declare const useSdk: (options?: SdkOptions) => {
|
|
777
|
+
useGetAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
778
|
+
name: string;
|
|
779
|
+
namespace: string;
|
|
780
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError>;
|
|
735
781
|
useGetAgent(variables: import("./sdk").Exact<{
|
|
736
782
|
name: string;
|
|
737
783
|
namespace: string;
|
|
738
784
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError>;
|
|
785
|
+
useGetAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
786
|
+
name: string;
|
|
787
|
+
namespace: string;
|
|
788
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError>;
|
|
789
|
+
useGetAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
790
|
+
name: string;
|
|
791
|
+
namespace: string;
|
|
792
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
793
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
794
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
739
795
|
useListAgents(variables: import("./sdk").Exact<{
|
|
740
796
|
input: import("./sdk").ListCommonInput;
|
|
741
797
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -886,7 +942,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
886
942
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
887
943
|
name: string;
|
|
888
944
|
namespace: string;
|
|
889
|
-
|
|
945
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
890
946
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
891
947
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
892
948
|
namespacedname: string;
|
|
@@ -908,10 +964,24 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
908
964
|
namespacedname: string;
|
|
909
965
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
910
966
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
967
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
968
|
+
name: string;
|
|
969
|
+
namespace: string;
|
|
970
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
911
971
|
getAgent(variables: import("./sdk").Exact<{
|
|
912
972
|
name: string;
|
|
913
973
|
namespace: string;
|
|
914
974
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
975
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
976
|
+
name: string;
|
|
977
|
+
namespace: string;
|
|
978
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
979
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
980
|
+
name: string;
|
|
981
|
+
namespace: string;
|
|
982
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
983
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
984
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
915
985
|
listAgents(variables: import("./sdk").Exact<{
|
|
916
986
|
input: import("./sdk").ListCommonInput;
|
|
917
987
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -11,10 +11,24 @@ export declare const responseMiddleware: (response: Response<any> | Error) => vo
|
|
|
11
11
|
export declare let endpoint: string;
|
|
12
12
|
export declare const client: GraphQLClient;
|
|
13
13
|
export declare const sdk: {
|
|
14
|
+
useGetAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
15
|
+
name: string;
|
|
16
|
+
namespace: string;
|
|
17
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError>;
|
|
14
18
|
useGetAgent(variables: import("./sdk").Exact<{
|
|
15
19
|
name: string;
|
|
16
20
|
namespace: string;
|
|
17
21
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError>;
|
|
22
|
+
useGetAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
23
|
+
name: string;
|
|
24
|
+
namespace: string;
|
|
25
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError>;
|
|
26
|
+
useGetAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
27
|
+
name: string;
|
|
28
|
+
namespace: string;
|
|
29
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
30
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
31
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
18
32
|
useListAgents(variables: import("./sdk").Exact<{
|
|
19
33
|
input: import("./sdk").ListCommonInput;
|
|
20
34
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -165,7 +179,7 @@ export declare const sdk: {
|
|
|
165
179
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
166
180
|
name: string;
|
|
167
181
|
namespace: string;
|
|
168
|
-
|
|
182
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
169
183
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
170
184
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
171
185
|
namespacedname: string;
|
|
@@ -187,10 +201,24 @@ export declare const sdk: {
|
|
|
187
201
|
namespacedname: string;
|
|
188
202
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
189
203
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
204
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
205
|
+
name: string;
|
|
206
|
+
namespace: string;
|
|
207
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
190
208
|
getAgent(variables: import("./sdk").Exact<{
|
|
191
209
|
name: string;
|
|
192
210
|
namespace: string;
|
|
193
211
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
212
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
213
|
+
name: string;
|
|
214
|
+
namespace: string;
|
|
215
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
216
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
217
|
+
name: string;
|
|
218
|
+
namespace: string;
|
|
219
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
220
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
221
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
194
222
|
listAgents(variables: import("./sdk").Exact<{
|
|
195
223
|
input: import("./sdk").ListCommonInput;
|
|
196
224
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
@@ -462,7 +490,7 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
462
490
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
463
491
|
name: string;
|
|
464
492
|
namespace: string;
|
|
465
|
-
|
|
493
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
466
494
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
467
495
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
468
496
|
namespacedname: string;
|
|
@@ -484,10 +512,24 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
484
512
|
namespacedname: string;
|
|
485
513
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
486
514
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
515
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
516
|
+
name: string;
|
|
517
|
+
namespace: string;
|
|
518
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
487
519
|
getAgent(variables: import("./sdk").Exact<{
|
|
488
520
|
name: string;
|
|
489
521
|
namespace: string;
|
|
490
522
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
523
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
524
|
+
name: string;
|
|
525
|
+
namespace: string;
|
|
526
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
527
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
528
|
+
name: string;
|
|
529
|
+
namespace: string;
|
|
530
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
531
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
532
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
491
533
|
listAgents(variables: import("./sdk").Exact<{
|
|
492
534
|
input: import("./sdk").ListCommonInput;
|
|
493
535
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
@@ -729,10 +771,24 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
729
771
|
* @param {SdkOptions} options 配置项
|
|
730
772
|
*/
|
|
731
773
|
export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
774
|
+
useGetAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
775
|
+
name: string;
|
|
776
|
+
namespace: string;
|
|
777
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError>;
|
|
732
778
|
useGetAgent(variables: import("./sdk").Exact<{
|
|
733
779
|
name: string;
|
|
734
780
|
namespace: string;
|
|
735
781
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError>;
|
|
782
|
+
useGetAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
783
|
+
name: string;
|
|
784
|
+
namespace: string;
|
|
785
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError>;
|
|
786
|
+
useGetAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
787
|
+
name: string;
|
|
788
|
+
namespace: string;
|
|
789
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
790
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
791
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
736
792
|
useListAgents(variables: import("./sdk").Exact<{
|
|
737
793
|
input: import("./sdk").ListCommonInput;
|
|
738
794
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -883,7 +939,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
883
939
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
884
940
|
name: string;
|
|
885
941
|
namespace: string;
|
|
886
|
-
|
|
942
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
887
943
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
888
944
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
889
945
|
namespacedname: string;
|
|
@@ -905,10 +961,24 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
905
961
|
namespacedname: string;
|
|
906
962
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
907
963
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
964
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
965
|
+
name: string;
|
|
966
|
+
namespace: string;
|
|
967
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
908
968
|
getAgent(variables: import("./sdk").Exact<{
|
|
909
969
|
name: string;
|
|
910
970
|
namespace: string;
|
|
911
971
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
972
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
973
|
+
name: string;
|
|
974
|
+
namespace: string;
|
|
975
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
976
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
977
|
+
name: string;
|
|
978
|
+
namespace: string;
|
|
979
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
980
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
981
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
912
982
|
listAgents(variables: import("./sdk").Exact<{
|
|
913
983
|
input: import("./sdk").ListCommonInput;
|
|
914
984
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
@@ -1150,10 +1220,24 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1150
1220
|
* @param {SdkOptions} options 配置项
|
|
1151
1221
|
*/
|
|
1152
1222
|
export declare const useSdk: (options?: SdkOptions) => {
|
|
1223
|
+
useGetAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
1224
|
+
name: string;
|
|
1225
|
+
namespace: string;
|
|
1226
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError>;
|
|
1153
1227
|
useGetAgent(variables: import("./sdk").Exact<{
|
|
1154
1228
|
name: string;
|
|
1155
1229
|
namespace: string;
|
|
1156
1230
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError>;
|
|
1231
|
+
useGetAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
1232
|
+
name: string;
|
|
1233
|
+
namespace: string;
|
|
1234
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError>;
|
|
1235
|
+
useGetAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
1236
|
+
name: string;
|
|
1237
|
+
namespace: string;
|
|
1238
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
1239
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1240
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
1157
1241
|
useListAgents(variables: import("./sdk").Exact<{
|
|
1158
1242
|
input: import("./sdk").ListCommonInput;
|
|
1159
1243
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1304,7 +1388,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1304
1388
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
1305
1389
|
name: string;
|
|
1306
1390
|
namespace: string;
|
|
1307
|
-
|
|
1391
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
1308
1392
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
1309
1393
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
1310
1394
|
namespacedname: string;
|
|
@@ -1326,10 +1410,24 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1326
1410
|
namespacedname: string;
|
|
1327
1411
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
1328
1412
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
1413
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
1414
|
+
name: string;
|
|
1415
|
+
namespace: string;
|
|
1416
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
1329
1417
|
getAgent(variables: import("./sdk").Exact<{
|
|
1330
1418
|
name: string;
|
|
1331
1419
|
namespace: string;
|
|
1332
1420
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
1421
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
1422
|
+
name: string;
|
|
1423
|
+
namespace: string;
|
|
1424
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
1425
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
1426
|
+
name: string;
|
|
1427
|
+
namespace: string;
|
|
1428
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
1429
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1430
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
1333
1431
|
listAgents(variables: import("./sdk").Exact<{
|
|
1334
1432
|
input: import("./sdk").ListCommonInput;
|
|
1335
1433
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|