@yuntijs/arcadia-bff-sdk 1.2.35 → 1.2.37
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 +170 -0
- package/dist/cjs/sdk.d.ts +691 -3
- package/dist/cjs/sdk.js +259 -0
- package/dist/cjs/taro.d.ts +124 -0
- package/dist/esm/index.d.ts +170 -0
- package/dist/esm/sdk.d.ts +691 -3
- package/dist/esm/sdk.js +97 -15
- package/dist/esm/taro.d.ts +124 -0
- 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/index.d.ts
CHANGED
|
@@ -151,6 +151,13 @@ export declare const sdk: {
|
|
|
151
151
|
useListRayClusters(variables: import("./sdk").Exact<{
|
|
152
152
|
input: import("./sdk").ListCommonInput;
|
|
153
153
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListRayClustersQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListRayClustersQuery, import("graphql-request/src/types").ClientError>;
|
|
154
|
+
useListRerankers(variables: import("./sdk").Exact<{
|
|
155
|
+
input: import("./sdk").ListCommonInput;
|
|
156
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListRerankersQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListRerankersQuery, import("graphql-request/src/types").ClientError>;
|
|
157
|
+
useGetReranker(variables: import("./sdk").Exact<{
|
|
158
|
+
name: string;
|
|
159
|
+
namespace: string;
|
|
160
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetRerankerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetRerankerQuery, import("graphql-request/src/types").ClientError>;
|
|
154
161
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
155
162
|
name: string;
|
|
156
163
|
namespace: string;
|
|
@@ -167,6 +174,13 @@ export declare const sdk: {
|
|
|
167
174
|
name: string;
|
|
168
175
|
namespace: string;
|
|
169
176
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError>;
|
|
177
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
178
|
+
input: import("./sdk").ListCommonInput;
|
|
179
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError>;
|
|
180
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
181
|
+
name: string;
|
|
182
|
+
namespace: string;
|
|
183
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError>;
|
|
170
184
|
createAgent(variables: import("./sdk").Exact<{
|
|
171
185
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
172
186
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -419,6 +433,22 @@ export declare const sdk: {
|
|
|
419
433
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
420
434
|
input: import("./sdk").ListCommonInput;
|
|
421
435
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
436
|
+
createReranker(variables: import("./sdk").Exact<{
|
|
437
|
+
input: import("./sdk").CreateRerankerInput;
|
|
438
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateRerankerMutation>;
|
|
439
|
+
updateReranker(variables?: import("./sdk").Exact<{
|
|
440
|
+
input?: import("./sdk").InputMaybe<import("./sdk").UpdateRerankerInput> | undefined;
|
|
441
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateRerankerMutation>;
|
|
442
|
+
deleteRerankers(variables: import("./sdk").Exact<{
|
|
443
|
+
input: import("./sdk").DeleteCommonInput;
|
|
444
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteRerankersMutation>;
|
|
445
|
+
listRerankers(variables: import("./sdk").Exact<{
|
|
446
|
+
input: import("./sdk").ListCommonInput;
|
|
447
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRerankersQuery>;
|
|
448
|
+
getReranker(variables: import("./sdk").Exact<{
|
|
449
|
+
name: string;
|
|
450
|
+
namespace: string;
|
|
451
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetRerankerQuery>;
|
|
422
452
|
createVersionedDataset(variables: import("./sdk").Exact<{
|
|
423
453
|
input: import("./sdk").CreateVersionedDatasetInput;
|
|
424
454
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateVersionedDatasetMutation>;
|
|
@@ -453,6 +483,22 @@ export declare const sdk: {
|
|
|
453
483
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
454
484
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
455
485
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
486
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
487
|
+
input: import("./sdk").ListCommonInput;
|
|
488
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
489
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
490
|
+
name: string;
|
|
491
|
+
namespace: string;
|
|
492
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
493
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
494
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
495
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
496
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
497
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
498
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
499
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
500
|
+
input: import("./sdk").DeleteCommonInput;
|
|
501
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
456
502
|
};
|
|
457
503
|
/** 初始化 sdk 的配置项 */
|
|
458
504
|
export interface SdkBaseOptions {
|
|
@@ -730,6 +776,22 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
730
776
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
731
777
|
input: import("./sdk").ListCommonInput;
|
|
732
778
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
779
|
+
createReranker(variables: import("./sdk").Exact<{
|
|
780
|
+
input: import("./sdk").CreateRerankerInput;
|
|
781
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateRerankerMutation>;
|
|
782
|
+
updateReranker(variables?: import("./sdk").Exact<{
|
|
783
|
+
input?: import("./sdk").InputMaybe<import("./sdk").UpdateRerankerInput> | undefined;
|
|
784
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateRerankerMutation>;
|
|
785
|
+
deleteRerankers(variables: import("./sdk").Exact<{
|
|
786
|
+
input: import("./sdk").DeleteCommonInput;
|
|
787
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteRerankersMutation>;
|
|
788
|
+
listRerankers(variables: import("./sdk").Exact<{
|
|
789
|
+
input: import("./sdk").ListCommonInput;
|
|
790
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRerankersQuery>;
|
|
791
|
+
getReranker(variables: import("./sdk").Exact<{
|
|
792
|
+
name: string;
|
|
793
|
+
namespace: string;
|
|
794
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetRerankerQuery>;
|
|
733
795
|
createVersionedDataset(variables: import("./sdk").Exact<{
|
|
734
796
|
input: import("./sdk").CreateVersionedDatasetInput;
|
|
735
797
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateVersionedDatasetMutation>;
|
|
@@ -764,6 +826,22 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
764
826
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
765
827
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
766
828
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
829
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
830
|
+
input: import("./sdk").ListCommonInput;
|
|
831
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
832
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
833
|
+
name: string;
|
|
834
|
+
namespace: string;
|
|
835
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
836
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
837
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
838
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
839
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
840
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
841
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
842
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
843
|
+
input: import("./sdk").DeleteCommonInput;
|
|
844
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
767
845
|
};
|
|
768
846
|
/**
|
|
769
847
|
* 初始化 sdk 实例 (包含 hooks)
|
|
@@ -911,6 +989,13 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
911
989
|
useListRayClusters(variables: import("./sdk").Exact<{
|
|
912
990
|
input: import("./sdk").ListCommonInput;
|
|
913
991
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListRayClustersQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListRayClustersQuery, import("graphql-request/src/types").ClientError>;
|
|
992
|
+
useListRerankers(variables: import("./sdk").Exact<{
|
|
993
|
+
input: import("./sdk").ListCommonInput;
|
|
994
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListRerankersQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListRerankersQuery, import("graphql-request/src/types").ClientError>;
|
|
995
|
+
useGetReranker(variables: import("./sdk").Exact<{
|
|
996
|
+
name: string;
|
|
997
|
+
namespace: string;
|
|
998
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetRerankerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetRerankerQuery, import("graphql-request/src/types").ClientError>;
|
|
914
999
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
915
1000
|
name: string;
|
|
916
1001
|
namespace: string;
|
|
@@ -927,6 +1012,13 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
927
1012
|
name: string;
|
|
928
1013
|
namespace: string;
|
|
929
1014
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError>;
|
|
1015
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
1016
|
+
input: import("./sdk").ListCommonInput;
|
|
1017
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError>;
|
|
1018
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
1019
|
+
name: string;
|
|
1020
|
+
namespace: string;
|
|
1021
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError>;
|
|
930
1022
|
createAgent(variables: import("./sdk").Exact<{
|
|
931
1023
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
932
1024
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -1179,6 +1271,22 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1179
1271
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1180
1272
|
input: import("./sdk").ListCommonInput;
|
|
1181
1273
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
1274
|
+
createReranker(variables: import("./sdk").Exact<{
|
|
1275
|
+
input: import("./sdk").CreateRerankerInput;
|
|
1276
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateRerankerMutation>;
|
|
1277
|
+
updateReranker(variables?: import("./sdk").Exact<{
|
|
1278
|
+
input?: import("./sdk").InputMaybe<import("./sdk").UpdateRerankerInput> | undefined;
|
|
1279
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateRerankerMutation>;
|
|
1280
|
+
deleteRerankers(variables: import("./sdk").Exact<{
|
|
1281
|
+
input: import("./sdk").DeleteCommonInput;
|
|
1282
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteRerankersMutation>;
|
|
1283
|
+
listRerankers(variables: import("./sdk").Exact<{
|
|
1284
|
+
input: import("./sdk").ListCommonInput;
|
|
1285
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRerankersQuery>;
|
|
1286
|
+
getReranker(variables: import("./sdk").Exact<{
|
|
1287
|
+
name: string;
|
|
1288
|
+
namespace: string;
|
|
1289
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetRerankerQuery>;
|
|
1182
1290
|
createVersionedDataset(variables: import("./sdk").Exact<{
|
|
1183
1291
|
input: import("./sdk").CreateVersionedDatasetInput;
|
|
1184
1292
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateVersionedDatasetMutation>;
|
|
@@ -1213,6 +1321,22 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1213
1321
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
1214
1322
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
1215
1323
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
1324
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
1325
|
+
input: import("./sdk").ListCommonInput;
|
|
1326
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
1327
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
1328
|
+
name: string;
|
|
1329
|
+
namespace: string;
|
|
1330
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
1331
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
1332
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
1333
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
1334
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
1335
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
1336
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
1337
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1338
|
+
input: import("./sdk").DeleteCommonInput;
|
|
1339
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1216
1340
|
};
|
|
1217
1341
|
/**
|
|
1218
1342
|
* hook 的方式获取 sdk 实例
|
|
@@ -1360,6 +1484,13 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1360
1484
|
useListRayClusters(variables: import("./sdk").Exact<{
|
|
1361
1485
|
input: import("./sdk").ListCommonInput;
|
|
1362
1486
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListRayClustersQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListRayClustersQuery, import("graphql-request/src/types").ClientError>;
|
|
1487
|
+
useListRerankers(variables: import("./sdk").Exact<{
|
|
1488
|
+
input: import("./sdk").ListCommonInput;
|
|
1489
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListRerankersQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListRerankersQuery, import("graphql-request/src/types").ClientError>;
|
|
1490
|
+
useGetReranker(variables: import("./sdk").Exact<{
|
|
1491
|
+
name: string;
|
|
1492
|
+
namespace: string;
|
|
1493
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetRerankerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetRerankerQuery, import("graphql-request/src/types").ClientError>;
|
|
1363
1494
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1364
1495
|
name: string;
|
|
1365
1496
|
namespace: string;
|
|
@@ -1376,6 +1507,13 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1376
1507
|
name: string;
|
|
1377
1508
|
namespace: string;
|
|
1378
1509
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError>;
|
|
1510
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
1511
|
+
input: import("./sdk").ListCommonInput;
|
|
1512
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError>;
|
|
1513
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
1514
|
+
name: string;
|
|
1515
|
+
namespace: string;
|
|
1516
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError>;
|
|
1379
1517
|
createAgent(variables: import("./sdk").Exact<{
|
|
1380
1518
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
1381
1519
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -1628,6 +1766,22 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1628
1766
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1629
1767
|
input: import("./sdk").ListCommonInput;
|
|
1630
1768
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
1769
|
+
createReranker(variables: import("./sdk").Exact<{
|
|
1770
|
+
input: import("./sdk").CreateRerankerInput;
|
|
1771
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateRerankerMutation>;
|
|
1772
|
+
updateReranker(variables?: import("./sdk").Exact<{
|
|
1773
|
+
input?: import("./sdk").InputMaybe<import("./sdk").UpdateRerankerInput> | undefined;
|
|
1774
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateRerankerMutation>;
|
|
1775
|
+
deleteRerankers(variables: import("./sdk").Exact<{
|
|
1776
|
+
input: import("./sdk").DeleteCommonInput;
|
|
1777
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteRerankersMutation>;
|
|
1778
|
+
listRerankers(variables: import("./sdk").Exact<{
|
|
1779
|
+
input: import("./sdk").ListCommonInput;
|
|
1780
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRerankersQuery>;
|
|
1781
|
+
getReranker(variables: import("./sdk").Exact<{
|
|
1782
|
+
name: string;
|
|
1783
|
+
namespace: string;
|
|
1784
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetRerankerQuery>;
|
|
1631
1785
|
createVersionedDataset(variables: import("./sdk").Exact<{
|
|
1632
1786
|
input: import("./sdk").CreateVersionedDatasetInput;
|
|
1633
1787
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateVersionedDatasetMutation>;
|
|
@@ -1662,4 +1816,20 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1662
1816
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
1663
1817
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
1664
1818
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
1819
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
1820
|
+
input: import("./sdk").ListCommonInput;
|
|
1821
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
1822
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
1823
|
+
name: string;
|
|
1824
|
+
namespace: string;
|
|
1825
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
1826
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
1827
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
1828
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
1829
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
1830
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
1831
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
1832
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1833
|
+
input: import("./sdk").DeleteCommonInput;
|
|
1834
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1665
1835
|
};
|