@yuntijs/arcadia-bff-sdk 1.2.74 → 1.2.75

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.
@@ -204,6 +204,10 @@ export declare const sdk: {
204
204
  name: string;
205
205
  namespace: string;
206
206
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
207
+ useGetExportedSft(variables: import("./sdk").Exact<{
208
+ name: string;
209
+ namespace: string;
210
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
207
211
  useGetVersionedDataset(variables: import("./sdk").Exact<{
208
212
  name: string;
209
213
  namespace: string;
@@ -582,6 +586,10 @@ export declare const sdk: {
582
586
  name: string;
583
587
  namespace: string;
584
588
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
589
+ getExportedSFT(variables: import("./sdk").Exact<{
590
+ name: string;
591
+ namespace: string;
592
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
585
593
  createSFT(variables: import("./sdk").Exact<{
586
594
  input: import("./sdk").CreateSftInput;
587
595
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -594,6 +602,7 @@ export declare const sdk: {
594
602
  exportSFT(variables: import("./sdk").Exact<{
595
603
  name: string;
596
604
  namespace: string;
605
+ input: import("./sdk").ExportSftInput;
597
606
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
598
607
  createVersionedDataset(variables: import("./sdk").Exact<{
599
608
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -1028,6 +1037,10 @@ export declare const initSdk: (options?: SdkOptions) => {
1028
1037
  name: string;
1029
1038
  namespace: string;
1030
1039
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
1040
+ getExportedSFT(variables: import("./sdk").Exact<{
1041
+ name: string;
1042
+ namespace: string;
1043
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
1031
1044
  createSFT(variables: import("./sdk").Exact<{
1032
1045
  input: import("./sdk").CreateSftInput;
1033
1046
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -1040,6 +1053,7 @@ export declare const initSdk: (options?: SdkOptions) => {
1040
1053
  exportSFT(variables: import("./sdk").Exact<{
1041
1054
  name: string;
1042
1055
  namespace: string;
1056
+ input: import("./sdk").ExportSftInput;
1043
1057
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
1044
1058
  createVersionedDataset(variables: import("./sdk").Exact<{
1045
1059
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -1294,6 +1308,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1294
1308
  name: string;
1295
1309
  namespace: string;
1296
1310
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
1311
+ useGetExportedSft(variables: import("./sdk").Exact<{
1312
+ name: string;
1313
+ namespace: string;
1314
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
1297
1315
  useGetVersionedDataset(variables: import("./sdk").Exact<{
1298
1316
  name: string;
1299
1317
  namespace: string;
@@ -1672,6 +1690,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1672
1690
  name: string;
1673
1691
  namespace: string;
1674
1692
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
1693
+ getExportedSFT(variables: import("./sdk").Exact<{
1694
+ name: string;
1695
+ namespace: string;
1696
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
1675
1697
  createSFT(variables: import("./sdk").Exact<{
1676
1698
  input: import("./sdk").CreateSftInput;
1677
1699
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -1684,6 +1706,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1684
1706
  exportSFT(variables: import("./sdk").Exact<{
1685
1707
  name: string;
1686
1708
  namespace: string;
1709
+ input: import("./sdk").ExportSftInput;
1687
1710
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
1688
1711
  createVersionedDataset(variables: import("./sdk").Exact<{
1689
1712
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -1938,6 +1961,10 @@ export declare const useSdk: (options?: SdkOptions) => {
1938
1961
  name: string;
1939
1962
  namespace: string;
1940
1963
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
1964
+ useGetExportedSft(variables: import("./sdk").Exact<{
1965
+ name: string;
1966
+ namespace: string;
1967
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
1941
1968
  useGetVersionedDataset(variables: import("./sdk").Exact<{
1942
1969
  name: string;
1943
1970
  namespace: string;
@@ -2316,6 +2343,10 @@ export declare const useSdk: (options?: SdkOptions) => {
2316
2343
  name: string;
2317
2344
  namespace: string;
2318
2345
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
2346
+ getExportedSFT(variables: import("./sdk").Exact<{
2347
+ name: string;
2348
+ namespace: string;
2349
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
2319
2350
  createSFT(variables: import("./sdk").Exact<{
2320
2351
  input: import("./sdk").CreateSftInput;
2321
2352
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -2328,6 +2359,7 @@ export declare const useSdk: (options?: SdkOptions) => {
2328
2359
  exportSFT(variables: import("./sdk").Exact<{
2329
2360
  name: string;
2330
2361
  namespace: string;
2362
+ input: import("./sdk").ExportSftInput;
2331
2363
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
2332
2364
  createVersionedDataset(variables: import("./sdk").Exact<{
2333
2365
  input: import("./sdk").CreateVersionedDatasetInput;
package/dist/cjs/sdk.d.ts CHANGED
@@ -1225,6 +1225,29 @@ export type EndpointInput = {
1225
1225
  /** 地址(必填) */
1226
1226
  url: Scalars['String']['input'];
1227
1227
  };
1228
+ export type ExportSftInput = {
1229
+ exportModelDescription?: InputMaybe<Scalars['String']['input']>;
1230
+ /** 导出后模型展示名 */
1231
+ exportModelName?: InputMaybe<Scalars['String']['input']>;
1232
+ exportPartSize?: InputMaybe<Scalars['Int']['input']>;
1233
+ };
1234
+ export type ExportedModel = {
1235
+ __typename?: 'ExportedModel';
1236
+ /** 导出后模型描述 */
1237
+ description: Scalars['String']['output'];
1238
+ /**
1239
+ * 导出后模型展示名
1240
+ * 规则
1241
+ */
1242
+ displayName: Scalars['String']['output'];
1243
+ /**
1244
+ * 导出后模型名
1245
+ * 规则:k8s 规范,自动拼接
1246
+ */
1247
+ name: Scalars['String']['output'];
1248
+ /** 导出分块大小 */
1249
+ partSize: Scalars['Int']['output'];
1250
+ };
1228
1251
  /**
1229
1252
  * File
1230
1253
  * 展示某个版本的所有文件。
@@ -2587,6 +2610,12 @@ export type Sft = {
2587
2610
  description?: Maybe<Scalars['String']['output']>;
2588
2611
  /** 展示名 */
2589
2612
  displayName?: Maybe<Scalars['String']['output']>;
2613
+ /** 导出模型的描述 */
2614
+ exportDescription?: Maybe<Scalars['String']['output']>;
2615
+ /** 导出模型的展示名 */
2616
+ exportName: Scalars['String']['output'];
2617
+ /** 导出的分块大小 */
2618
+ exportPartSize?: Maybe<Scalars['Int']['output']>;
2590
2619
  /** 一些用于标记,选择的的标签 */
2591
2620
  labels?: Maybe<Scalars['Map']['output']>;
2592
2621
  /** SFT 微调节点亲合度配置 */
@@ -2633,13 +2662,16 @@ export type Sft = {
2633
2662
  /**
2634
2663
  * SFT 微调状态
2635
2664
  * 规则:状态分为以下几种:
2665
+ * - 正常:
2636
2666
  * - "preparing":微调任务准备中
2637
2667
  * - "processing":微调任务正在进行中
2638
- * - "closed":微调任务流程全部结束,已关闭
2639
2668
  * - "standby":微调完成,可供测试对话或导出
2640
2669
  * - "exporting": 微调后模型合并导出中
2670
+ * - "closed":微调任务流程全部结束,已关闭
2671
+ * - 异常:
2641
2672
  * - "failed":微调失败
2642
2673
  * - "suspended": 微调任务被终止
2674
+ * - "unknown":未知状态
2643
2675
  */
2644
2676
  status: Scalars['String']['output'];
2645
2677
  /** SFT 微调阶段之间需要通过pvc传递数据 */
@@ -2693,6 +2725,7 @@ export type SftMutationDeleteSftArgs = {
2693
2725
  input: DeleteCommonInput;
2694
2726
  };
2695
2727
  export type SftMutationExportSftArgs = {
2728
+ input: ExportSftInput;
2696
2729
  name: Scalars['String']['input'];
2697
2730
  namespace: Scalars['String']['input'];
2698
2731
  };
@@ -2701,6 +2734,11 @@ export type SftMutationUpdateSftArgs = {
2701
2734
  };
2702
2735
  export type SftQuery = {
2703
2736
  __typename?: 'SFTQuery';
2737
+ /**
2738
+ * 获取导出后模型设置
2739
+ * 规则:由 SFT Annotation 生成,不一定存在于模型仓库
2740
+ */
2741
+ getExportedSFT: ExportedModel;
2704
2742
  getSFT: Sft;
2705
2743
  getSFTMonitor: Scalars['String']['output'];
2706
2744
  listSFT: PaginatedResult;
@@ -2712,6 +2750,10 @@ export type SftQuery = {
2712
2750
  */
2713
2751
  listSFTMetric: Array<Maybe<SftMetric>>;
2714
2752
  };
2753
+ export type SftQueryGetExportedSftArgs = {
2754
+ name: Scalars['String']['input'];
2755
+ namespace: Scalars['String']['input'];
2756
+ };
2715
2757
  export type SftQueryGetSftArgs = {
2716
2758
  name: Scalars['String']['input'];
2717
2759
  namespace: Scalars['String']['input'];
@@ -7935,6 +7977,9 @@ export type ListSftQuery = {
7935
7977
  phase?: string | null;
7936
7978
  phaseMessage?: string | null;
7937
7979
  additionalEnvs?: any | null;
7980
+ exportName: string;
7981
+ exportDescription?: string | null;
7982
+ exportPartSize?: number | null;
7938
7983
  storage: {
7939
7984
  __typename?: 'PersistentVolumeClaimSpec';
7940
7985
  accessModes: Array<string>;
@@ -8054,6 +8099,9 @@ export type GetSftQuery = {
8054
8099
  phase?: string | null;
8055
8100
  phaseMessage?: string | null;
8056
8101
  additionalEnvs?: any | null;
8102
+ exportName: string;
8103
+ exportDescription?: string | null;
8104
+ exportPartSize?: number | null;
8057
8105
  storage: {
8058
8106
  __typename?: 'PersistentVolumeClaimSpec';
8059
8107
  accessModes: Array<string>;
@@ -8163,6 +8211,23 @@ export type GetSftMonitorQuery = {
8163
8211
  getSFTMonitor: string;
8164
8212
  } | null;
8165
8213
  };
8214
+ export type GetExportedSftQueryVariables = Exact<{
8215
+ name: Scalars['String']['input'];
8216
+ namespace: Scalars['String']['input'];
8217
+ }>;
8218
+ export type GetExportedSftQuery = {
8219
+ __typename?: 'Query';
8220
+ SFT?: {
8221
+ __typename?: 'SFTQuery';
8222
+ getExportedSFT: {
8223
+ __typename?: 'ExportedModel';
8224
+ name: string;
8225
+ displayName: string;
8226
+ description: string;
8227
+ partSize: number;
8228
+ };
8229
+ } | null;
8230
+ };
8166
8231
  export type CreateSftMutationVariables = Exact<{
8167
8232
  input: CreateSftInput;
8168
8233
  }>;
@@ -8382,6 +8447,7 @@ export type DeleteSftMutation = {
8382
8447
  export type ExportSftMutationVariables = Exact<{
8383
8448
  name: Scalars['String']['input'];
8384
8449
  namespace: Scalars['String']['input'];
8450
+ input: ExportSftInput;
8385
8451
  }>;
8386
8452
  export type ExportSftMutation = {
8387
8453
  __typename?: 'Mutation';
@@ -9278,6 +9344,7 @@ export declare const ListSftDocument: import("../node_modules/.pnpm/graphql@16.8
9278
9344
  export declare const GetSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9279
9345
  export declare const ListSftMetricDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9280
9346
  export declare const GetSftMonitorDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9347
+ export declare const GetExportedSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9281
9348
  export declare const CreateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9282
9349
  export declare const UpdateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9283
9350
  export declare const DeleteSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -9407,6 +9474,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
9407
9474
  getSFT(variables: GetSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetSftQuery>;
9408
9475
  listSFTMetric(variables: ListSftMetricQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListSftMetricQuery>;
9409
9476
  getSFTMonitor(variables: GetSftMonitorQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetSftMonitorQuery>;
9477
+ getExportedSFT(variables: GetExportedSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetExportedSftQuery>;
9410
9478
  createSFT(variables: CreateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateSftMutation>;
9411
9479
  updateSFT(variables: UpdateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateSftMutation>;
9412
9480
  deleteSFT(variables: DeleteSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteSftMutation>;
@@ -9485,6 +9553,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
9485
9553
  useGetSft(variables: GetSftQueryVariables, config?: SWRConfigInterface<GetSftQuery, ClientError>): import("./useSWR").SWRResponsePro<GetSftQuery, ClientError>;
9486
9554
  useListSftMetric(variables: ListSftMetricQueryVariables, config?: SWRConfigInterface<ListSftMetricQuery, ClientError>): import("./useSWR").SWRResponsePro<ListSftMetricQuery, ClientError>;
9487
9555
  useGetSftMonitor(variables: GetSftMonitorQueryVariables, config?: SWRConfigInterface<GetSftMonitorQuery, ClientError>): import("./useSWR").SWRResponsePro<GetSftMonitorQuery, ClientError>;
9556
+ useGetExportedSft(variables: GetExportedSftQueryVariables, config?: SWRConfigInterface<GetExportedSftQuery, ClientError>): import("./useSWR").SWRResponsePro<GetExportedSftQuery, ClientError>;
9488
9557
  useGetVersionedDataset(variables: GetVersionedDatasetQueryVariables, config?: SWRConfigInterface<GetVersionedDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetVersionedDatasetQuery, ClientError>;
9489
9558
  useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
9490
9559
  useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
@@ -9846,6 +9915,10 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
9846
9915
  name: string;
9847
9916
  namespace: string;
9848
9917
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetSftMonitorQuery>;
9918
+ getExportedSFT(variables: Exact<{
9919
+ name: string;
9920
+ namespace: string;
9921
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetExportedSftQuery>;
9849
9922
  createSFT(variables: Exact<{
9850
9923
  input: CreateSftInput;
9851
9924
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateSftMutation>;
@@ -9858,6 +9931,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
9858
9931
  exportSFT(variables: Exact<{
9859
9932
  name: string;
9860
9933
  namespace: string;
9934
+ input: ExportSftInput;
9861
9935
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ExportSftMutation>;
9862
9936
  createVersionedDataset(variables: Exact<{
9863
9937
  input: CreateVersionedDatasetInput;
package/dist/cjs/sdk.js CHANGED
@@ -87,6 +87,7 @@ __export(sdk_exports, {
87
87
  GetDatasetDocument: () => GetDatasetDocument,
88
88
  GetDatasourceDocument: () => GetDatasourceDocument,
89
89
  GetEmbedderDocument: () => GetEmbedderDocument,
90
+ GetExportedSftDocument: () => GetExportedSftDocument,
90
91
  GetGptStoreDocument: () => GetGptStoreDocument,
91
92
  GetKnowledgeBaseDocument: () => GetKnowledgeBaseDocument,
92
93
  GetKnowledgeBaseFileDocument: () => GetKnowledgeBaseFileDocument,
@@ -2559,6 +2560,9 @@ var ListSftDocument = import_graphql_tag.default`
2559
2560
  values
2560
2561
  }
2561
2562
  additionalEnvs
2563
+ exportName
2564
+ exportDescription
2565
+ exportPartSize
2562
2566
  }
2563
2567
  }
2564
2568
  }
@@ -2651,6 +2655,9 @@ var GetSftDocument = import_graphql_tag.default`
2651
2655
  values
2652
2656
  }
2653
2657
  additionalEnvs
2658
+ exportName
2659
+ exportDescription
2660
+ exportPartSize
2654
2661
  }
2655
2662
  }
2656
2663
  }
@@ -2680,6 +2687,18 @@ var GetSftMonitorDocument = import_graphql_tag.default`
2680
2687
  }
2681
2688
  }
2682
2689
  `;
2690
+ var GetExportedSftDocument = import_graphql_tag.default`
2691
+ query getExportedSFT($name: String!, $namespace: String!) {
2692
+ SFT {
2693
+ getExportedSFT(name: $name, namespace: $namespace) {
2694
+ name
2695
+ displayName
2696
+ description
2697
+ partSize
2698
+ }
2699
+ }
2700
+ }
2701
+ `;
2683
2702
  var CreateSftDocument = import_graphql_tag.default`
2684
2703
  mutation createSFT($input: CreateSFTInput!) {
2685
2704
  SFT {
@@ -2868,9 +2887,9 @@ var DeleteSftDocument = import_graphql_tag.default`
2868
2887
  }
2869
2888
  `;
2870
2889
  var ExportSftDocument = import_graphql_tag.default`
2871
- mutation exportSFT($name: String!, $namespace: String!) {
2890
+ mutation exportSFT($name: String!, $namespace: String!, $input: ExportSFTInput!) {
2872
2891
  SFT {
2873
- exportSFT(name: $name, namespace: $namespace)
2892
+ exportSFT(name: $name, namespace: $namespace, input: $input)
2874
2893
  }
2875
2894
  }
2876
2895
  `;
@@ -3633,6 +3652,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
3633
3652
  getSFTMonitor(variables, requestHeaders) {
3634
3653
  return withWrapper((wrappedRequestHeaders) => client.request(GetSftMonitorDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getSFTMonitor", "query", variables);
3635
3654
  },
3655
+ getExportedSFT(variables, requestHeaders) {
3656
+ return withWrapper((wrappedRequestHeaders) => client.request(GetExportedSftDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getExportedSFT", "query", variables);
3657
+ },
3636
3658
  createSFT(variables, requestHeaders) {
3637
3659
  return withWrapper((wrappedRequestHeaders) => client.request(CreateSftDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "createSFT", "mutation", variables);
3638
3660
  },
@@ -3865,6 +3887,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
3865
3887
  useGetSftMonitor(variables, config) {
3866
3888
  return (0, import_useSWR.default)(genKey("GetSftMonitor", variables), () => sdk.getSFTMonitor(variables), config);
3867
3889
  },
3890
+ useGetExportedSft(variables, config) {
3891
+ return (0, import_useSWR.default)(genKey("GetExportedSft", variables), () => sdk.getExportedSFT(variables), config);
3892
+ },
3868
3893
  useGetVersionedDataset(variables, config) {
3869
3894
  return (0, import_useSWR.default)(genKey("GetVersionedDataset", variables), () => sdk.getVersionedDataset(variables), config);
3870
3895
  },
@@ -3945,6 +3970,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
3945
3970
  GetDatasetDocument,
3946
3971
  GetDatasourceDocument,
3947
3972
  GetEmbedderDocument,
3973
+ GetExportedSftDocument,
3948
3974
  GetGptStoreDocument,
3949
3975
  GetKnowledgeBaseDocument,
3950
3976
  GetKnowledgeBaseFileDocument,
@@ -387,6 +387,10 @@ export declare const initSdk: (options?: SdkOptions) => {
387
387
  name: string;
388
388
  namespace: string;
389
389
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
390
+ getExportedSFT(variables: import("./sdk").Exact<{
391
+ name: string;
392
+ namespace: string;
393
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
390
394
  createSFT(variables: import("./sdk").Exact<{
391
395
  input: import("./sdk").CreateSftInput;
392
396
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -399,6 +403,7 @@ export declare const initSdk: (options?: SdkOptions) => {
399
403
  exportSFT(variables: import("./sdk").Exact<{
400
404
  name: string;
401
405
  namespace: string;
406
+ input: import("./sdk").ExportSftInput;
402
407
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
403
408
  createVersionedDataset(variables: import("./sdk").Exact<{
404
409
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -653,6 +658,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
653
658
  name: string;
654
659
  namespace: string;
655
660
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
661
+ useGetExportedSft(variables: import("./sdk").Exact<{
662
+ name: string;
663
+ namespace: string;
664
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
656
665
  useGetVersionedDataset(variables: import("./sdk").Exact<{
657
666
  name: string;
658
667
  namespace: string;
@@ -1031,6 +1040,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1031
1040
  name: string;
1032
1041
  namespace: string;
1033
1042
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
1043
+ getExportedSFT(variables: import("./sdk").Exact<{
1044
+ name: string;
1045
+ namespace: string;
1046
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
1034
1047
  createSFT(variables: import("./sdk").Exact<{
1035
1048
  input: import("./sdk").CreateSftInput;
1036
1049
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -1043,6 +1056,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1043
1056
  exportSFT(variables: import("./sdk").Exact<{
1044
1057
  name: string;
1045
1058
  namespace: string;
1059
+ input: import("./sdk").ExportSftInput;
1046
1060
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
1047
1061
  createVersionedDataset(variables: import("./sdk").Exact<{
1048
1062
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -1297,6 +1311,10 @@ export declare const useSdk: (options?: SdkOptions) => {
1297
1311
  name: string;
1298
1312
  namespace: string;
1299
1313
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
1314
+ useGetExportedSft(variables: import("./sdk").Exact<{
1315
+ name: string;
1316
+ namespace: string;
1317
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
1300
1318
  useGetVersionedDataset(variables: import("./sdk").Exact<{
1301
1319
  name: string;
1302
1320
  namespace: string;
@@ -1675,6 +1693,10 @@ export declare const useSdk: (options?: SdkOptions) => {
1675
1693
  name: string;
1676
1694
  namespace: string;
1677
1695
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
1696
+ getExportedSFT(variables: import("./sdk").Exact<{
1697
+ name: string;
1698
+ namespace: string;
1699
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
1678
1700
  createSFT(variables: import("./sdk").Exact<{
1679
1701
  input: import("./sdk").CreateSftInput;
1680
1702
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -1687,6 +1709,7 @@ export declare const useSdk: (options?: SdkOptions) => {
1687
1709
  exportSFT(variables: import("./sdk").Exact<{
1688
1710
  name: string;
1689
1711
  namespace: string;
1712
+ input: import("./sdk").ExportSftInput;
1690
1713
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
1691
1714
  createVersionedDataset(variables: import("./sdk").Exact<{
1692
1715
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -204,6 +204,10 @@ export declare const sdk: {
204
204
  name: string;
205
205
  namespace: string;
206
206
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
207
+ useGetExportedSft(variables: import("./sdk").Exact<{
208
+ name: string;
209
+ namespace: string;
210
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
207
211
  useGetVersionedDataset(variables: import("./sdk").Exact<{
208
212
  name: string;
209
213
  namespace: string;
@@ -582,6 +586,10 @@ export declare const sdk: {
582
586
  name: string;
583
587
  namespace: string;
584
588
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
589
+ getExportedSFT(variables: import("./sdk").Exact<{
590
+ name: string;
591
+ namespace: string;
592
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
585
593
  createSFT(variables: import("./sdk").Exact<{
586
594
  input: import("./sdk").CreateSftInput;
587
595
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -594,6 +602,7 @@ export declare const sdk: {
594
602
  exportSFT(variables: import("./sdk").Exact<{
595
603
  name: string;
596
604
  namespace: string;
605
+ input: import("./sdk").ExportSftInput;
597
606
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
598
607
  createVersionedDataset(variables: import("./sdk").Exact<{
599
608
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -1028,6 +1037,10 @@ export declare const initSdk: (options?: SdkOptions) => {
1028
1037
  name: string;
1029
1038
  namespace: string;
1030
1039
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
1040
+ getExportedSFT(variables: import("./sdk").Exact<{
1041
+ name: string;
1042
+ namespace: string;
1043
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
1031
1044
  createSFT(variables: import("./sdk").Exact<{
1032
1045
  input: import("./sdk").CreateSftInput;
1033
1046
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -1040,6 +1053,7 @@ export declare const initSdk: (options?: SdkOptions) => {
1040
1053
  exportSFT(variables: import("./sdk").Exact<{
1041
1054
  name: string;
1042
1055
  namespace: string;
1056
+ input: import("./sdk").ExportSftInput;
1043
1057
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
1044
1058
  createVersionedDataset(variables: import("./sdk").Exact<{
1045
1059
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -1294,6 +1308,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1294
1308
  name: string;
1295
1309
  namespace: string;
1296
1310
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
1311
+ useGetExportedSft(variables: import("./sdk").Exact<{
1312
+ name: string;
1313
+ namespace: string;
1314
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
1297
1315
  useGetVersionedDataset(variables: import("./sdk").Exact<{
1298
1316
  name: string;
1299
1317
  namespace: string;
@@ -1672,6 +1690,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1672
1690
  name: string;
1673
1691
  namespace: string;
1674
1692
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
1693
+ getExportedSFT(variables: import("./sdk").Exact<{
1694
+ name: string;
1695
+ namespace: string;
1696
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
1675
1697
  createSFT(variables: import("./sdk").Exact<{
1676
1698
  input: import("./sdk").CreateSftInput;
1677
1699
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -1684,6 +1706,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
1684
1706
  exportSFT(variables: import("./sdk").Exact<{
1685
1707
  name: string;
1686
1708
  namespace: string;
1709
+ input: import("./sdk").ExportSftInput;
1687
1710
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
1688
1711
  createVersionedDataset(variables: import("./sdk").Exact<{
1689
1712
  input: import("./sdk").CreateVersionedDatasetInput;
@@ -1938,6 +1961,10 @@ export declare const useSdk: (options?: SdkOptions) => {
1938
1961
  name: string;
1939
1962
  namespace: string;
1940
1963
  }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
1964
+ useGetExportedSft(variables: import("./sdk").Exact<{
1965
+ name: string;
1966
+ namespace: string;
1967
+ }>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetExportedSftQuery, import("graphql-request/src/types").ClientError>;
1941
1968
  useGetVersionedDataset(variables: import("./sdk").Exact<{
1942
1969
  name: string;
1943
1970
  namespace: string;
@@ -2316,6 +2343,10 @@ export declare const useSdk: (options?: SdkOptions) => {
2316
2343
  name: string;
2317
2344
  namespace: string;
2318
2345
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
2346
+ getExportedSFT(variables: import("./sdk").Exact<{
2347
+ name: string;
2348
+ namespace: string;
2349
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetExportedSftQuery>;
2319
2350
  createSFT(variables: import("./sdk").Exact<{
2320
2351
  input: import("./sdk").CreateSftInput;
2321
2352
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
@@ -2328,6 +2359,7 @@ export declare const useSdk: (options?: SdkOptions) => {
2328
2359
  exportSFT(variables: import("./sdk").Exact<{
2329
2360
  name: string;
2330
2361
  namespace: string;
2362
+ input: import("./sdk").ExportSftInput;
2331
2363
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ExportSftMutation>;
2332
2364
  createVersionedDataset(variables: import("./sdk").Exact<{
2333
2365
  input: import("./sdk").CreateVersionedDatasetInput;