@yuntijs/arcadia-bff-sdk 1.2.21 → 1.2.23
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 +129 -84
- package/dist/cjs/sdk.d.ts +275 -266
- package/dist/cjs/sdk.js +130 -103
- package/dist/cjs/taro.d.ts +94 -60
- package/dist/esm/index.d.ts +129 -84
- package/dist/esm/sdk.d.ts +275 -266
- package/dist/esm/sdk.js +116 -114
- package/dist/esm/taro.d.ts +94 -60
- 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
|
@@ -42,6 +42,7 @@ __export(sdk_exports, {
|
|
|
42
42
|
CreateKnowledgeBaseDocument: () => CreateKnowledgeBaseDocument,
|
|
43
43
|
CreateModelDocument: () => CreateModelDocument,
|
|
44
44
|
CreateModelServiceDocument: () => CreateModelServiceDocument,
|
|
45
|
+
CreateOrUpdateApplicationPromptDocument: () => CreateOrUpdateApplicationPromptDocument,
|
|
45
46
|
CreateRagDocument: () => CreateRagDocument,
|
|
46
47
|
CreateVersionedDatasetDocument: () => CreateVersionedDatasetDocument,
|
|
47
48
|
CreateWorkerDocument: () => CreateWorkerDocument,
|
|
@@ -50,6 +51,7 @@ __export(sdk_exports, {
|
|
|
50
51
|
DataProcessRetryDocument: () => DataProcessRetryDocument,
|
|
51
52
|
DataProcessSupportTypeDocument: () => DataProcessSupportTypeDocument,
|
|
52
53
|
DeleteApplicationDocument: () => DeleteApplicationDocument,
|
|
54
|
+
DeleteApplicationPromptDocument: () => DeleteApplicationPromptDocument,
|
|
53
55
|
DeleteDataProcessTaskDocument: () => DeleteDataProcessTaskDocument,
|
|
54
56
|
DeleteDatasetsDocument: () => DeleteDatasetsDocument,
|
|
55
57
|
DeleteDatasourcesDocument: () => DeleteDatasourcesDocument,
|
|
@@ -64,7 +66,6 @@ __export(sdk_exports, {
|
|
|
64
66
|
GetDatasetDocument: () => GetDatasetDocument,
|
|
65
67
|
GetDatasourceDocument: () => GetDatasourceDocument,
|
|
66
68
|
GetEmbedderDocument: () => GetEmbedderDocument,
|
|
67
|
-
GetGptDocument: () => GetGptDocument,
|
|
68
69
|
GetGptStoreDocument: () => GetGptStoreDocument,
|
|
69
70
|
GetKnowledgeBaseDocument: () => GetKnowledgeBaseDocument,
|
|
70
71
|
GetLlmDocument: () => GetLlmDocument,
|
|
@@ -74,11 +75,11 @@ __export(sdk_exports, {
|
|
|
74
75
|
GetRagDocument: () => GetRagDocument,
|
|
75
76
|
GetVersionedDatasetDocument: () => GetVersionedDatasetDocument,
|
|
76
77
|
GetWorkerDocument: () => GetWorkerDocument,
|
|
78
|
+
ListApplicationPromptDocument: () => ListApplicationPromptDocument,
|
|
77
79
|
ListApplicationsDocument: () => ListApplicationsDocument,
|
|
78
80
|
ListDatasetsDocument: () => ListDatasetsDocument,
|
|
79
81
|
ListDatasourcesDocument: () => ListDatasourcesDocument,
|
|
80
82
|
ListEmbeddersDocument: () => ListEmbeddersDocument,
|
|
81
|
-
ListGpTsDocument: () => ListGpTsDocument,
|
|
82
83
|
ListGptCategoryDocument: () => ListGptCategoryDocument,
|
|
83
84
|
ListKnowledgeBasesDocument: () => ListKnowledgeBasesDocument,
|
|
84
85
|
ListLlMsDocument: () => ListLlMsDocument,
|
|
@@ -89,6 +90,7 @@ __export(sdk_exports, {
|
|
|
89
90
|
ListRayClustersDocument: () => ListRayClustersDocument,
|
|
90
91
|
ListVersionedDatasetsDocument: () => ListVersionedDatasetsDocument,
|
|
91
92
|
ListWorkersDocument: () => ListWorkersDocument,
|
|
93
|
+
ReleaseApplicationDocument: () => ReleaseApplicationDocument,
|
|
92
94
|
UpdateApplicationConfigDocument: () => UpdateApplicationConfigDocument,
|
|
93
95
|
UpdateApplicationDocument: () => UpdateApplicationDocument,
|
|
94
96
|
UpdateDatasetDocument: () => UpdateDatasetDocument,
|
|
@@ -191,7 +193,6 @@ var UpdateApplicationConfigDocument = import_graphql_tag.default`
|
|
|
191
193
|
maxTokens
|
|
192
194
|
conversionWindowSize
|
|
193
195
|
knowledgebase
|
|
194
|
-
knowledgebases
|
|
195
196
|
scoreThreshold
|
|
196
197
|
numDocuments
|
|
197
198
|
docNullReturn
|
|
@@ -216,6 +217,44 @@ var UpdateApplicationConfigDocument = import_graphql_tag.default`
|
|
|
216
217
|
}
|
|
217
218
|
}
|
|
218
219
|
`;
|
|
220
|
+
var ReleaseApplicationDocument = import_graphql_tag.default`
|
|
221
|
+
mutation releaseApplication($name: String!, $namespace: String!, $isPublic: Boolean!) {
|
|
222
|
+
Application {
|
|
223
|
+
releaseApplication(name: $name, namespace: $namespace, isPublic: $isPublic) {
|
|
224
|
+
name
|
|
225
|
+
namespace
|
|
226
|
+
id
|
|
227
|
+
labels
|
|
228
|
+
annotations
|
|
229
|
+
displayName
|
|
230
|
+
description
|
|
231
|
+
icon
|
|
232
|
+
creator
|
|
233
|
+
creationTimestamp
|
|
234
|
+
updateTimestamp
|
|
235
|
+
isPublic
|
|
236
|
+
isRecommended
|
|
237
|
+
status
|
|
238
|
+
category
|
|
239
|
+
notReadyReasonCode
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
`;
|
|
244
|
+
var CreateOrUpdateApplicationPromptDocument = import_graphql_tag.default`
|
|
245
|
+
mutation createOrUpdateApplicationPrompt($namespacedname: String!, $input: [ApplicationPromptInput!]) {
|
|
246
|
+
Application {
|
|
247
|
+
createOrUpdateApplicationPrompt(namespacedname: $namespacedname, input: $input)
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
`;
|
|
251
|
+
var DeleteApplicationPromptDocument = import_graphql_tag.default`
|
|
252
|
+
mutation deleteApplicationPrompt($namespacedname: String!, $ids: [String!]) {
|
|
253
|
+
Application {
|
|
254
|
+
deleteApplicationPrompt(namespacedname: $namespacedname, ids: $ids)
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
`;
|
|
219
258
|
var GetApplicationDocument = import_graphql_tag.default`
|
|
220
259
|
query getApplication($name: String!, $namespace: String!) {
|
|
221
260
|
Application {
|
|
@@ -246,7 +285,6 @@ var GetApplicationDocument = import_graphql_tag.default`
|
|
|
246
285
|
maxTokens
|
|
247
286
|
conversionWindowSize
|
|
248
287
|
knowledgebase
|
|
249
|
-
knowledgebases
|
|
250
288
|
scoreThreshold
|
|
251
289
|
numDocuments
|
|
252
290
|
docNullReturn
|
|
@@ -303,6 +341,47 @@ var ListApplicationsDocument = import_graphql_tag.default`
|
|
|
303
341
|
}
|
|
304
342
|
}
|
|
305
343
|
`;
|
|
344
|
+
var ListApplicationPromptDocument = import_graphql_tag.default`
|
|
345
|
+
query listApplicationPrompt($namespacedname: String!, $page: Int, $size: Int) {
|
|
346
|
+
Application {
|
|
347
|
+
listApplicationPrompt(namespacedname: $namespacedname, page: $page, size: $size) {
|
|
348
|
+
totalCount
|
|
349
|
+
page
|
|
350
|
+
pageSize
|
|
351
|
+
nodes {
|
|
352
|
+
... on ApplicationPrompt {
|
|
353
|
+
id
|
|
354
|
+
namespacedname
|
|
355
|
+
content
|
|
356
|
+
createdAt
|
|
357
|
+
updatedAt
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
`;
|
|
364
|
+
var ListGptCategoryDocument = import_graphql_tag.default`
|
|
365
|
+
query listGPTCategory {
|
|
366
|
+
Application {
|
|
367
|
+
listGPTCategory {
|
|
368
|
+
id
|
|
369
|
+
name
|
|
370
|
+
nameEn
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
`;
|
|
375
|
+
var GetGptStoreDocument = import_graphql_tag.default`
|
|
376
|
+
query getGPTStore {
|
|
377
|
+
Application {
|
|
378
|
+
getGPTStore {
|
|
379
|
+
url
|
|
380
|
+
public_namespace
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
`;
|
|
306
385
|
var AllDataProcessListByPageDocument = import_graphql_tag.default`
|
|
307
386
|
query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {
|
|
308
387
|
dataProcess {
|
|
@@ -889,79 +968,6 @@ var GetEmbedderDocument = import_graphql_tag.default`
|
|
|
889
968
|
}
|
|
890
969
|
}
|
|
891
970
|
`;
|
|
892
|
-
var GetGptDocument = import_graphql_tag.default`
|
|
893
|
-
query getGPT($name: String!) {
|
|
894
|
-
GPT {
|
|
895
|
-
getGPT(name: $name) {
|
|
896
|
-
name
|
|
897
|
-
displayName
|
|
898
|
-
description
|
|
899
|
-
hot
|
|
900
|
-
creator
|
|
901
|
-
isRecommended
|
|
902
|
-
category
|
|
903
|
-
icon
|
|
904
|
-
prologue
|
|
905
|
-
showRespInfo
|
|
906
|
-
showRetrievalInfo
|
|
907
|
-
showNextGuide
|
|
908
|
-
enableUploadFile
|
|
909
|
-
notReadyReasonCode
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
`;
|
|
914
|
-
var ListGpTsDocument = import_graphql_tag.default`
|
|
915
|
-
query listGPTs($input: ListGPTInput!) {
|
|
916
|
-
GPT {
|
|
917
|
-
listGPT(input: $input) {
|
|
918
|
-
page
|
|
919
|
-
pageSize
|
|
920
|
-
totalCount
|
|
921
|
-
hasNextPage
|
|
922
|
-
nodes {
|
|
923
|
-
... on GPT {
|
|
924
|
-
name
|
|
925
|
-
displayName
|
|
926
|
-
description
|
|
927
|
-
hot
|
|
928
|
-
creator
|
|
929
|
-
isRecommended
|
|
930
|
-
category
|
|
931
|
-
icon
|
|
932
|
-
prologue
|
|
933
|
-
showRespInfo
|
|
934
|
-
showRetrievalInfo
|
|
935
|
-
showNextGuide
|
|
936
|
-
enableUploadFile
|
|
937
|
-
notReadyReasonCode
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
`;
|
|
944
|
-
var ListGptCategoryDocument = import_graphql_tag.default`
|
|
945
|
-
query listGPTCategory {
|
|
946
|
-
GPT {
|
|
947
|
-
listGPTCategory {
|
|
948
|
-
id
|
|
949
|
-
name
|
|
950
|
-
nameEn
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
`;
|
|
955
|
-
var GetGptStoreDocument = import_graphql_tag.default`
|
|
956
|
-
query getGPTStore {
|
|
957
|
-
GPT {
|
|
958
|
-
getGPTStore {
|
|
959
|
-
url
|
|
960
|
-
public_namespace
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
`;
|
|
965
971
|
var ListKnowledgeBasesDocument = import_graphql_tag.default`
|
|
966
972
|
query listKnowledgeBases($input: ListKnowledgeBaseInput!) {
|
|
967
973
|
KnowledgeBase {
|
|
@@ -2055,6 +2061,14 @@ var GetWorkerDocument = import_graphql_tag.default`
|
|
|
2055
2061
|
values
|
|
2056
2062
|
}
|
|
2057
2063
|
additionalEnvs
|
|
2064
|
+
storage {
|
|
2065
|
+
accessModes
|
|
2066
|
+
resources {
|
|
2067
|
+
limits
|
|
2068
|
+
requests
|
|
2069
|
+
}
|
|
2070
|
+
storageClassName
|
|
2071
|
+
}
|
|
2058
2072
|
}
|
|
2059
2073
|
}
|
|
2060
2074
|
}
|
|
@@ -2096,6 +2110,14 @@ var CreateWorkerDocument = import_graphql_tag.default`
|
|
|
2096
2110
|
values
|
|
2097
2111
|
}
|
|
2098
2112
|
additionalEnvs
|
|
2113
|
+
storage {
|
|
2114
|
+
accessModes
|
|
2115
|
+
resources {
|
|
2116
|
+
limits
|
|
2117
|
+
requests
|
|
2118
|
+
}
|
|
2119
|
+
storageClassName
|
|
2120
|
+
}
|
|
2099
2121
|
}
|
|
2100
2122
|
}
|
|
2101
2123
|
}
|
|
@@ -2163,12 +2185,30 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2163
2185
|
updateApplicationConfig(variables, requestHeaders) {
|
|
2164
2186
|
return withWrapper((wrappedRequestHeaders) => client.request(UpdateApplicationConfigDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "updateApplicationConfig", "mutation", variables);
|
|
2165
2187
|
},
|
|
2188
|
+
releaseApplication(variables, requestHeaders) {
|
|
2189
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ReleaseApplicationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "releaseApplication", "mutation", variables);
|
|
2190
|
+
},
|
|
2191
|
+
createOrUpdateApplicationPrompt(variables, requestHeaders) {
|
|
2192
|
+
return withWrapper((wrappedRequestHeaders) => client.request(CreateOrUpdateApplicationPromptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "createOrUpdateApplicationPrompt", "mutation", variables);
|
|
2193
|
+
},
|
|
2194
|
+
deleteApplicationPrompt(variables, requestHeaders) {
|
|
2195
|
+
return withWrapper((wrappedRequestHeaders) => client.request(DeleteApplicationPromptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "deleteApplicationPrompt", "mutation", variables);
|
|
2196
|
+
},
|
|
2166
2197
|
getApplication(variables, requestHeaders) {
|
|
2167
2198
|
return withWrapper((wrappedRequestHeaders) => client.request(GetApplicationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getApplication", "query", variables);
|
|
2168
2199
|
},
|
|
2169
2200
|
listApplications(variables, requestHeaders) {
|
|
2170
2201
|
return withWrapper((wrappedRequestHeaders) => client.request(ListApplicationsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listApplications", "query", variables);
|
|
2171
2202
|
},
|
|
2203
|
+
listApplicationPrompt(variables, requestHeaders) {
|
|
2204
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListApplicationPromptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listApplicationPrompt", "query", variables);
|
|
2205
|
+
},
|
|
2206
|
+
listGPTCategory(variables, requestHeaders) {
|
|
2207
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListGptCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listGPTCategory", "query", variables);
|
|
2208
|
+
},
|
|
2209
|
+
getGPTStore(variables, requestHeaders) {
|
|
2210
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetGptStoreDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getGPTStore", "query", variables);
|
|
2211
|
+
},
|
|
2172
2212
|
allDataProcessListByPage(variables, requestHeaders) {
|
|
2173
2213
|
return withWrapper((wrappedRequestHeaders) => client.request(AllDataProcessListByPageDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "allDataProcessListByPage", "query", variables);
|
|
2174
2214
|
},
|
|
@@ -2247,18 +2287,6 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2247
2287
|
getEmbedder(variables, requestHeaders) {
|
|
2248
2288
|
return withWrapper((wrappedRequestHeaders) => client.request(GetEmbedderDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getEmbedder", "query", variables);
|
|
2249
2289
|
},
|
|
2250
|
-
getGPT(variables, requestHeaders) {
|
|
2251
|
-
return withWrapper((wrappedRequestHeaders) => client.request(GetGptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getGPT", "query", variables);
|
|
2252
|
-
},
|
|
2253
|
-
listGPTs(variables, requestHeaders) {
|
|
2254
|
-
return withWrapper((wrappedRequestHeaders) => client.request(ListGpTsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listGPTs", "query", variables);
|
|
2255
|
-
},
|
|
2256
|
-
listGPTCategory(variables, requestHeaders) {
|
|
2257
|
-
return withWrapper((wrappedRequestHeaders) => client.request(ListGptCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listGPTCategory", "query", variables);
|
|
2258
|
-
},
|
|
2259
|
-
getGPTStore(variables, requestHeaders) {
|
|
2260
|
-
return withWrapper((wrappedRequestHeaders) => client.request(GetGptStoreDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getGPTStore", "query", variables);
|
|
2261
|
-
},
|
|
2262
2290
|
listKnowledgeBases(variables, requestHeaders) {
|
|
2263
2291
|
return withWrapper((wrappedRequestHeaders) => client.request(ListKnowledgeBasesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listKnowledgeBases", "query", variables);
|
|
2264
2292
|
},
|
|
@@ -2377,6 +2405,15 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2377
2405
|
useListApplications(variables, config) {
|
|
2378
2406
|
return (0, import_useSWR.default)(genKey("ListApplications", variables), () => sdk.listApplications(variables), config);
|
|
2379
2407
|
},
|
|
2408
|
+
useListApplicationPrompt(variables, config) {
|
|
2409
|
+
return (0, import_useSWR.default)(genKey("ListApplicationPrompt", variables), () => sdk.listApplicationPrompt(variables), config);
|
|
2410
|
+
},
|
|
2411
|
+
useListGptCategory(variables, config) {
|
|
2412
|
+
return (0, import_useSWR.default)(genKey("ListGptCategory", variables), () => sdk.listGPTCategory(variables), config);
|
|
2413
|
+
},
|
|
2414
|
+
useGetGptStore(variables, config) {
|
|
2415
|
+
return (0, import_useSWR.default)(genKey("GetGptStore", variables), () => sdk.getGPTStore(variables), config);
|
|
2416
|
+
},
|
|
2380
2417
|
useAllDataProcessListByPage(variables, config) {
|
|
2381
2418
|
return (0, import_useSWR.default)(genKey("AllDataProcessListByPage", variables), () => sdk.allDataProcessListByPage(variables), config);
|
|
2382
2419
|
},
|
|
@@ -2422,18 +2459,6 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2422
2459
|
useGetEmbedder(variables, config) {
|
|
2423
2460
|
return (0, import_useSWR.default)(genKey("GetEmbedder", variables), () => sdk.getEmbedder(variables), config);
|
|
2424
2461
|
},
|
|
2425
|
-
useGetGpt(variables, config) {
|
|
2426
|
-
return (0, import_useSWR.default)(genKey("GetGpt", variables), () => sdk.getGPT(variables), config);
|
|
2427
|
-
},
|
|
2428
|
-
useListGpTs(variables, config) {
|
|
2429
|
-
return (0, import_useSWR.default)(genKey("ListGpTs", variables), () => sdk.listGPTs(variables), config);
|
|
2430
|
-
},
|
|
2431
|
-
useListGptCategory(variables, config) {
|
|
2432
|
-
return (0, import_useSWR.default)(genKey("ListGptCategory", variables), () => sdk.listGPTCategory(variables), config);
|
|
2433
|
-
},
|
|
2434
|
-
useGetGptStore(variables, config) {
|
|
2435
|
-
return (0, import_useSWR.default)(genKey("GetGptStore", variables), () => sdk.getGPTStore(variables), config);
|
|
2436
|
-
},
|
|
2437
2462
|
useListKnowledgeBases(variables, config) {
|
|
2438
2463
|
return (0, import_useSWR.default)(genKey("ListKnowledgeBases", variables), () => sdk.listKnowledgeBases(variables), config);
|
|
2439
2464
|
},
|
|
@@ -2502,6 +2527,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2502
2527
|
CreateKnowledgeBaseDocument,
|
|
2503
2528
|
CreateModelDocument,
|
|
2504
2529
|
CreateModelServiceDocument,
|
|
2530
|
+
CreateOrUpdateApplicationPromptDocument,
|
|
2505
2531
|
CreateRagDocument,
|
|
2506
2532
|
CreateVersionedDatasetDocument,
|
|
2507
2533
|
CreateWorkerDocument,
|
|
@@ -2510,6 +2536,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2510
2536
|
DataProcessRetryDocument,
|
|
2511
2537
|
DataProcessSupportTypeDocument,
|
|
2512
2538
|
DeleteApplicationDocument,
|
|
2539
|
+
DeleteApplicationPromptDocument,
|
|
2513
2540
|
DeleteDataProcessTaskDocument,
|
|
2514
2541
|
DeleteDatasetsDocument,
|
|
2515
2542
|
DeleteDatasourcesDocument,
|
|
@@ -2524,7 +2551,6 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2524
2551
|
GetDatasetDocument,
|
|
2525
2552
|
GetDatasourceDocument,
|
|
2526
2553
|
GetEmbedderDocument,
|
|
2527
|
-
GetGptDocument,
|
|
2528
2554
|
GetGptStoreDocument,
|
|
2529
2555
|
GetKnowledgeBaseDocument,
|
|
2530
2556
|
GetLlmDocument,
|
|
@@ -2534,11 +2560,11 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2534
2560
|
GetRagDocument,
|
|
2535
2561
|
GetVersionedDatasetDocument,
|
|
2536
2562
|
GetWorkerDocument,
|
|
2563
|
+
ListApplicationPromptDocument,
|
|
2537
2564
|
ListApplicationsDocument,
|
|
2538
2565
|
ListDatasetsDocument,
|
|
2539
2566
|
ListDatasourcesDocument,
|
|
2540
2567
|
ListEmbeddersDocument,
|
|
2541
|
-
ListGpTsDocument,
|
|
2542
2568
|
ListGptCategoryDocument,
|
|
2543
2569
|
ListKnowledgeBasesDocument,
|
|
2544
2570
|
ListLlMsDocument,
|
|
@@ -2549,6 +2575,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2549
2575
|
ListRayClustersDocument,
|
|
2550
2576
|
ListVersionedDatasetsDocument,
|
|
2551
2577
|
ListWorkersDocument,
|
|
2578
|
+
ReleaseApplicationDocument,
|
|
2552
2579
|
UpdateApplicationConfigDocument,
|
|
2553
2580
|
UpdateApplicationDocument,
|
|
2554
2581
|
UpdateDatasetDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -44,6 +44,19 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
44
44
|
updateApplicationConfig(variables: import("./sdk").Exact<{
|
|
45
45
|
input: import("./sdk").UpdateApplicationConfigInput;
|
|
46
46
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateApplicationConfigMutation>;
|
|
47
|
+
releaseApplication(variables: import("./sdk").Exact<{
|
|
48
|
+
name: string;
|
|
49
|
+
namespace: string;
|
|
50
|
+
isPublic: boolean;
|
|
51
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseApplicationMutation>;
|
|
52
|
+
createOrUpdateApplicationPrompt(variables: import("./sdk").Exact<{
|
|
53
|
+
namespacedname: string;
|
|
54
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ApplicationPromptInput | import("./sdk").ApplicationPromptInput[]> | undefined;
|
|
55
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateOrUpdateApplicationPromptMutation>;
|
|
56
|
+
deleteApplicationPrompt(variables: import("./sdk").Exact<{
|
|
57
|
+
namespacedname: string;
|
|
58
|
+
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
59
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteApplicationPromptMutation>;
|
|
47
60
|
getApplication(variables: import("./sdk").Exact<{
|
|
48
61
|
name: string;
|
|
49
62
|
namespace: string;
|
|
@@ -51,6 +64,17 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
51
64
|
listApplications(variables: import("./sdk").Exact<{
|
|
52
65
|
input: import("./sdk").ListCommonInput;
|
|
53
66
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListApplicationsQuery>;
|
|
67
|
+
listApplicationPrompt(variables: import("./sdk").Exact<{
|
|
68
|
+
namespacedname: string;
|
|
69
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
70
|
+
size?: import("./sdk").InputMaybe<number> | undefined;
|
|
71
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListApplicationPromptQuery>;
|
|
72
|
+
listGPTCategory(variables?: import("./sdk").Exact<{
|
|
73
|
+
[key: string]: never;
|
|
74
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGptCategoryQuery>;
|
|
75
|
+
getGPTStore(variables?: import("./sdk").Exact<{
|
|
76
|
+
[key: string]: never;
|
|
77
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptStoreQuery>;
|
|
54
78
|
allDataProcessListByPage(variables: import("./sdk").Exact<{
|
|
55
79
|
input: import("./sdk").AllDataProcessListByPageInput;
|
|
56
80
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AllDataProcessListByPageQuery>;
|
|
@@ -136,18 +160,6 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
136
160
|
name: string;
|
|
137
161
|
namespace: string;
|
|
138
162
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetEmbedderQuery>;
|
|
139
|
-
getGPT(variables: import("./sdk").Exact<{
|
|
140
|
-
name: string;
|
|
141
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptQuery>;
|
|
142
|
-
listGPTs(variables: import("./sdk").Exact<{
|
|
143
|
-
input: import("./sdk").ListGptInput;
|
|
144
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGpTsQuery>;
|
|
145
|
-
listGPTCategory(variables?: import("./sdk").Exact<{
|
|
146
|
-
[key: string]: never;
|
|
147
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGptCategoryQuery>;
|
|
148
|
-
getGPTStore(variables?: import("./sdk").Exact<{
|
|
149
|
-
[key: string]: never;
|
|
150
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptStoreQuery>;
|
|
151
163
|
listKnowledgeBases(variables: import("./sdk").Exact<{
|
|
152
164
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
153
165
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBasesQuery>;
|
|
@@ -278,6 +290,17 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
278
290
|
useListApplications(variables: import("./sdk").Exact<{
|
|
279
291
|
input: import("./sdk").ListCommonInput;
|
|
280
292
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListApplicationsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListApplicationsQuery, import("graphql-request/src/types").ClientError>;
|
|
293
|
+
useListApplicationPrompt(variables: import("./sdk").Exact<{
|
|
294
|
+
namespacedname: string;
|
|
295
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
296
|
+
size?: import("./sdk").InputMaybe<number> | undefined;
|
|
297
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListApplicationPromptQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListApplicationPromptQuery, import("graphql-request/src/types").ClientError>;
|
|
298
|
+
useListGptCategory(variables?: import("./sdk").Exact<{
|
|
299
|
+
[key: string]: never;
|
|
300
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
301
|
+
useGetGptStore(variables?: import("./sdk").Exact<{
|
|
302
|
+
[key: string]: never;
|
|
303
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError>;
|
|
281
304
|
useAllDataProcessListByPage(variables: import("./sdk").Exact<{
|
|
282
305
|
input: import("./sdk").AllDataProcessListByPageInput;
|
|
283
306
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").AllDataProcessListByPageQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").AllDataProcessListByPageQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -330,18 +353,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
330
353
|
name: string;
|
|
331
354
|
namespace: string;
|
|
332
355
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError>;
|
|
333
|
-
useGetGpt(variables: import("./sdk").Exact<{
|
|
334
|
-
name: string;
|
|
335
|
-
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError>;
|
|
336
|
-
useListGpTs(variables: import("./sdk").Exact<{
|
|
337
|
-
input: import("./sdk").ListGptInput;
|
|
338
|
-
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError>;
|
|
339
|
-
useListGptCategory(variables?: import("./sdk").Exact<{
|
|
340
|
-
[key: string]: never;
|
|
341
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
342
|
-
useGetGptStore(variables?: import("./sdk").Exact<{
|
|
343
|
-
[key: string]: never;
|
|
344
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError>;
|
|
345
356
|
useListKnowledgeBases(variables: import("./sdk").Exact<{
|
|
346
357
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
347
358
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -416,6 +427,19 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
416
427
|
updateApplicationConfig(variables: import("./sdk").Exact<{
|
|
417
428
|
input: import("./sdk").UpdateApplicationConfigInput;
|
|
418
429
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateApplicationConfigMutation>;
|
|
430
|
+
releaseApplication(variables: import("./sdk").Exact<{
|
|
431
|
+
name: string;
|
|
432
|
+
namespace: string;
|
|
433
|
+
isPublic: boolean;
|
|
434
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseApplicationMutation>;
|
|
435
|
+
createOrUpdateApplicationPrompt(variables: import("./sdk").Exact<{
|
|
436
|
+
namespacedname: string;
|
|
437
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ApplicationPromptInput | import("./sdk").ApplicationPromptInput[]> | undefined;
|
|
438
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateOrUpdateApplicationPromptMutation>;
|
|
439
|
+
deleteApplicationPrompt(variables: import("./sdk").Exact<{
|
|
440
|
+
namespacedname: string;
|
|
441
|
+
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
442
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteApplicationPromptMutation>;
|
|
419
443
|
getApplication(variables: import("./sdk").Exact<{
|
|
420
444
|
name: string;
|
|
421
445
|
namespace: string;
|
|
@@ -423,6 +447,17 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
423
447
|
listApplications(variables: import("./sdk").Exact<{
|
|
424
448
|
input: import("./sdk").ListCommonInput;
|
|
425
449
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListApplicationsQuery>;
|
|
450
|
+
listApplicationPrompt(variables: import("./sdk").Exact<{
|
|
451
|
+
namespacedname: string;
|
|
452
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
453
|
+
size?: import("./sdk").InputMaybe<number> | undefined;
|
|
454
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListApplicationPromptQuery>;
|
|
455
|
+
listGPTCategory(variables?: import("./sdk").Exact<{
|
|
456
|
+
[key: string]: never;
|
|
457
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGptCategoryQuery>;
|
|
458
|
+
getGPTStore(variables?: import("./sdk").Exact<{
|
|
459
|
+
[key: string]: never;
|
|
460
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptStoreQuery>;
|
|
426
461
|
allDataProcessListByPage(variables: import("./sdk").Exact<{
|
|
427
462
|
input: import("./sdk").AllDataProcessListByPageInput;
|
|
428
463
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AllDataProcessListByPageQuery>;
|
|
@@ -508,18 +543,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
508
543
|
name: string;
|
|
509
544
|
namespace: string;
|
|
510
545
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetEmbedderQuery>;
|
|
511
|
-
getGPT(variables: import("./sdk").Exact<{
|
|
512
|
-
name: string;
|
|
513
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptQuery>;
|
|
514
|
-
listGPTs(variables: import("./sdk").Exact<{
|
|
515
|
-
input: import("./sdk").ListGptInput;
|
|
516
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGpTsQuery>;
|
|
517
|
-
listGPTCategory(variables?: import("./sdk").Exact<{
|
|
518
|
-
[key: string]: never;
|
|
519
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGptCategoryQuery>;
|
|
520
|
-
getGPTStore(variables?: import("./sdk").Exact<{
|
|
521
|
-
[key: string]: never;
|
|
522
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptStoreQuery>;
|
|
523
546
|
listKnowledgeBases(variables: import("./sdk").Exact<{
|
|
524
547
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
525
548
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBasesQuery>;
|
|
@@ -650,6 +673,17 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
650
673
|
useListApplications(variables: import("./sdk").Exact<{
|
|
651
674
|
input: import("./sdk").ListCommonInput;
|
|
652
675
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListApplicationsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListApplicationsQuery, import("graphql-request/src/types").ClientError>;
|
|
676
|
+
useListApplicationPrompt(variables: import("./sdk").Exact<{
|
|
677
|
+
namespacedname: string;
|
|
678
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
679
|
+
size?: import("./sdk").InputMaybe<number> | undefined;
|
|
680
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListApplicationPromptQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListApplicationPromptQuery, import("graphql-request/src/types").ClientError>;
|
|
681
|
+
useListGptCategory(variables?: import("./sdk").Exact<{
|
|
682
|
+
[key: string]: never;
|
|
683
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
684
|
+
useGetGptStore(variables?: import("./sdk").Exact<{
|
|
685
|
+
[key: string]: never;
|
|
686
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError>;
|
|
653
687
|
useAllDataProcessListByPage(variables: import("./sdk").Exact<{
|
|
654
688
|
input: import("./sdk").AllDataProcessListByPageInput;
|
|
655
689
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").AllDataProcessListByPageQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").AllDataProcessListByPageQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -702,18 +736,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
702
736
|
name: string;
|
|
703
737
|
namespace: string;
|
|
704
738
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError>;
|
|
705
|
-
useGetGpt(variables: import("./sdk").Exact<{
|
|
706
|
-
name: string;
|
|
707
|
-
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError>;
|
|
708
|
-
useListGpTs(variables: import("./sdk").Exact<{
|
|
709
|
-
input: import("./sdk").ListGptInput;
|
|
710
|
-
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError>;
|
|
711
|
-
useListGptCategory(variables?: import("./sdk").Exact<{
|
|
712
|
-
[key: string]: never;
|
|
713
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGptCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
714
|
-
useGetGptStore(variables?: import("./sdk").Exact<{
|
|
715
|
-
[key: string]: never;
|
|
716
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptStoreQuery, import("graphql-request/src/types").ClientError>;
|
|
717
739
|
useListKnowledgeBases(variables: import("./sdk").Exact<{
|
|
718
740
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
719
741
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -788,6 +810,19 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
788
810
|
updateApplicationConfig(variables: import("./sdk").Exact<{
|
|
789
811
|
input: import("./sdk").UpdateApplicationConfigInput;
|
|
790
812
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateApplicationConfigMutation>;
|
|
813
|
+
releaseApplication(variables: import("./sdk").Exact<{
|
|
814
|
+
name: string;
|
|
815
|
+
namespace: string;
|
|
816
|
+
isPublic: boolean;
|
|
817
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseApplicationMutation>;
|
|
818
|
+
createOrUpdateApplicationPrompt(variables: import("./sdk").Exact<{
|
|
819
|
+
namespacedname: string;
|
|
820
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ApplicationPromptInput | import("./sdk").ApplicationPromptInput[]> | undefined;
|
|
821
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateOrUpdateApplicationPromptMutation>;
|
|
822
|
+
deleteApplicationPrompt(variables: import("./sdk").Exact<{
|
|
823
|
+
namespacedname: string;
|
|
824
|
+
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
825
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteApplicationPromptMutation>;
|
|
791
826
|
getApplication(variables: import("./sdk").Exact<{
|
|
792
827
|
name: string;
|
|
793
828
|
namespace: string;
|
|
@@ -795,6 +830,17 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
795
830
|
listApplications(variables: import("./sdk").Exact<{
|
|
796
831
|
input: import("./sdk").ListCommonInput;
|
|
797
832
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListApplicationsQuery>;
|
|
833
|
+
listApplicationPrompt(variables: import("./sdk").Exact<{
|
|
834
|
+
namespacedname: string;
|
|
835
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
836
|
+
size?: import("./sdk").InputMaybe<number> | undefined;
|
|
837
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListApplicationPromptQuery>;
|
|
838
|
+
listGPTCategory(variables?: import("./sdk").Exact<{
|
|
839
|
+
[key: string]: never;
|
|
840
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGptCategoryQuery>;
|
|
841
|
+
getGPTStore(variables?: import("./sdk").Exact<{
|
|
842
|
+
[key: string]: never;
|
|
843
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptStoreQuery>;
|
|
798
844
|
allDataProcessListByPage(variables: import("./sdk").Exact<{
|
|
799
845
|
input: import("./sdk").AllDataProcessListByPageInput;
|
|
800
846
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AllDataProcessListByPageQuery>;
|
|
@@ -880,18 +926,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
880
926
|
name: string;
|
|
881
927
|
namespace: string;
|
|
882
928
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetEmbedderQuery>;
|
|
883
|
-
getGPT(variables: import("./sdk").Exact<{
|
|
884
|
-
name: string;
|
|
885
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptQuery>;
|
|
886
|
-
listGPTs(variables: import("./sdk").Exact<{
|
|
887
|
-
input: import("./sdk").ListGptInput;
|
|
888
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGpTsQuery>;
|
|
889
|
-
listGPTCategory(variables?: import("./sdk").Exact<{
|
|
890
|
-
[key: string]: never;
|
|
891
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGptCategoryQuery>;
|
|
892
|
-
getGPTStore(variables?: import("./sdk").Exact<{
|
|
893
|
-
[key: string]: never;
|
|
894
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptStoreQuery>;
|
|
895
929
|
listKnowledgeBases(variables: import("./sdk").Exact<{
|
|
896
930
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
897
931
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBasesQuery>;
|