@yuntijs/arcadia-bff-sdk 1.2.36 → 1.2.38

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/sdk.d.ts CHANGED
@@ -695,6 +695,26 @@ export type CreateWorkerInput = {
695
695
  */
696
696
  type?: InputMaybe<Scalars['String']['input']>;
697
697
  };
698
+ export type CreateWorkflowInput = {
699
+ /** 背景图片 */
700
+ background?: InputMaybe<Scalars['String']['input']>;
701
+ /** 描述信息 */
702
+ description?: InputMaybe<Scalars['String']['input']>;
703
+ /** 展示名,别名 */
704
+ displayName: Scalars['String']['input'];
705
+ /** 图标 */
706
+ icon?: InputMaybe<Scalars['String']['input']>;
707
+ /**
708
+ * 应用名称
709
+ * 规则: 遵循 k8s 命名
710
+ */
711
+ name: Scalars['String']['input'];
712
+ /**
713
+ * 应用所在的namespace
714
+ * 规则: 非空
715
+ */
716
+ namespace: Scalars['String']['input'];
717
+ };
698
718
  export type DataProcessConfig = {
699
719
  __typename?: 'DataProcessConfig';
700
720
  children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
@@ -1833,6 +1853,7 @@ export type Mutation = {
1833
1853
  Reranker?: Maybe<RerankerMutation>;
1834
1854
  VersionedDataset?: Maybe<VersionedDatasetMutation>;
1835
1855
  Worker?: Maybe<WorkerMutation>;
1856
+ Workflow?: Maybe<WorkflowMutation>;
1836
1857
  dataProcess?: Maybe<DataProcessMutation>;
1837
1858
  hello: Scalars['String']['output'];
1838
1859
  };
@@ -1875,7 +1896,7 @@ export type OssInput = {
1875
1896
  bucket: Scalars['String']['input'];
1876
1897
  object?: InputMaybe<Scalars['String']['input']>;
1877
1898
  };
1878
- export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | VersionedDataset | Worker;
1899
+ export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | VersionedDataset | Worker | Workflow;
1879
1900
  export type PaginatedDataProcessItem = {
1880
1901
  __typename?: 'PaginatedDataProcessItem';
1881
1902
  data?: Maybe<Array<DataProcessItem>>;
@@ -2005,7 +2026,7 @@ export type Plugin = {
2005
2026
  };
2006
2027
  export type PluginAuth = {
2007
2028
  __typename?: 'PluginAuth';
2008
- /** header or query. Use `header` by default */
2029
+ /** header or query.If empty or none,it means no auth required */
2009
2030
  in: Scalars['String']['output'];
2010
2031
  /** auth's parameter name. Use Authorization by default */
2011
2032
  name: Scalars['String']['output'];
@@ -2013,7 +2034,7 @@ export type PluginAuth = {
2013
2034
  token: Scalars['String']['output'];
2014
2035
  };
2015
2036
  export type PluginAuthInput = {
2016
- /** header or query. Use `header` by default */
2037
+ /** header or query.If empty or none,it means no auth required */
2017
2038
  in: Scalars['String']['input'];
2018
2039
  /** auth's parameter name. Use Authorization by default */
2019
2040
  name: Scalars['String']['input'];
@@ -2071,6 +2092,7 @@ export type Query = {
2071
2092
  Reranker?: Maybe<RerankerQuery>;
2072
2093
  VersionedDataset?: Maybe<VersionedDatasetQuery>;
2073
2094
  Worker?: Maybe<WorkerQuery>;
2095
+ Workflow?: Maybe<WorkflowQuery>;
2074
2096
  dataProcess?: Maybe<DataProcessQuery>;
2075
2097
  hello: Scalars['String']['output'];
2076
2098
  };
@@ -2777,6 +2799,28 @@ export type UpdateWorkerInput = {
2777
2799
  */
2778
2800
  type?: InputMaybe<Scalars['String']['input']>;
2779
2801
  };
2802
+ export type UpdateWorkflowInput = {
2803
+ /** 背景图片 */
2804
+ background?: InputMaybe<Scalars['String']['input']>;
2805
+ /** 描述信息 */
2806
+ description?: InputMaybe<Scalars['String']['input']>;
2807
+ /** 展示名,别名 */
2808
+ displayName?: InputMaybe<Scalars['String']['input']>;
2809
+ /** 流水线编排的react-flow画布 */
2810
+ graph?: InputMaybe<Scalars['Map']['input']>;
2811
+ /** 图标 */
2812
+ icon?: InputMaybe<Scalars['String']['input']>;
2813
+ /**
2814
+ * 应用名称
2815
+ * 规则: 遵循 k8s 命名
2816
+ */
2817
+ name: Scalars['String']['input'];
2818
+ /**
2819
+ * 应用所在的namespace
2820
+ * 规则: 非空
2821
+ */
2822
+ namespace: Scalars['String']['input'];
2823
+ };
2780
2824
  /**
2781
2825
  * VersionedDataset
2782
2826
  * 数据集的版本信息。
@@ -2969,6 +3013,74 @@ export type WorkerQueryGetWorkerArgs = {
2969
3013
  export type WorkerQueryListWorkersArgs = {
2970
3014
  input: ListWorkerInput;
2971
3015
  };
3016
+ /** Workflow应用编排流水线 */
3017
+ export type Workflow = {
3018
+ __typename?: 'Workflow';
3019
+ /** 添加一些辅助性记录信息 */
3020
+ annotations?: Maybe<Scalars['Map']['output']>;
3021
+ /** Background, 图片ID */
3022
+ background?: Maybe<Scalars['String']['output']>;
3023
+ /** 创建时间 */
3024
+ creationTimestamp?: Maybe<Scalars['Time']['output']>;
3025
+ /**
3026
+ * 创建者,为当前用户的用户名
3027
+ * 规则: webhook启用后自动添加,默认为空
3028
+ */
3029
+ creator?: Maybe<Scalars['String']['output']>;
3030
+ /** 描述信息 */
3031
+ description?: Maybe<Scalars['String']['output']>;
3032
+ /** 展示名,别名 */
3033
+ displayName?: Maybe<Scalars['String']['output']>;
3034
+ /** 流水线编排的react-flow画布 */
3035
+ graph?: Maybe<Scalars['Map']['output']>;
3036
+ /** Icon,图片ID */
3037
+ icon?: Maybe<Scalars['String']['output']>;
3038
+ /** 应用id,为CR资源中的metadata.uid */
3039
+ id?: Maybe<Scalars['String']['output']>;
3040
+ /** 一些用于标记,选择的的标签 */
3041
+ labels?: Maybe<Scalars['Map']['output']>;
3042
+ /**
3043
+ * 应用名称
3044
+ * 规则: 遵循 k8s 命名
3045
+ */
3046
+ name: Scalars['String']['output'];
3047
+ /**
3048
+ * 应用所在的 namespace
3049
+ * 规则: 非空
3050
+ */
3051
+ namespace: Scalars['String']['output'];
3052
+ /** 状态 */
3053
+ status?: Maybe<Scalars['String']['output']>;
3054
+ /** 更新时间 */
3055
+ updateTimestamp?: Maybe<Scalars['Time']['output']>;
3056
+ };
3057
+ export type WorkflowMutation = {
3058
+ __typename?: 'WorkflowMutation';
3059
+ createWorkflow: Workflow;
3060
+ deleteWorkflow?: Maybe<Scalars['Void']['output']>;
3061
+ updateWorkflow: Workflow;
3062
+ };
3063
+ export type WorkflowMutationCreateWorkflowArgs = {
3064
+ input: CreateWorkflowInput;
3065
+ };
3066
+ export type WorkflowMutationDeleteWorkflowArgs = {
3067
+ input: DeleteCommonInput;
3068
+ };
3069
+ export type WorkflowMutationUpdateWorkflowArgs = {
3070
+ input: UpdateWorkflowInput;
3071
+ };
3072
+ export type WorkflowQuery = {
3073
+ __typename?: 'WorkflowQuery';
3074
+ getWorkflow: Workflow;
3075
+ listWorkflows: PaginatedResult;
3076
+ };
3077
+ export type WorkflowQueryGetWorkflowArgs = {
3078
+ name: Scalars['String']['input'];
3079
+ namespace: Scalars['String']['input'];
3080
+ };
3081
+ export type WorkflowQueryListWorkflowsArgs = {
3082
+ input: ListCommonInput;
3083
+ };
2972
3084
  /**
2973
3085
  * 文件详情
2974
3086
  * 描述: 文件在知识库中的详细状态
@@ -3357,6 +3469,8 @@ export type GetAgentLatestReleaseInEachPlatformQuery = {
3357
3469
  __typename?: 'VersionedDataset';
3358
3470
  } | {
3359
3471
  __typename?: 'Worker';
3472
+ } | {
3473
+ __typename?: 'Workflow';
3360
3474
  }> | null;
3361
3475
  };
3362
3476
  } | null;
@@ -3427,6 +3541,8 @@ export type GetAgentReleaseHistoryQuery = {
3427
3541
  __typename?: 'VersionedDataset';
3428
3542
  } | {
3429
3543
  __typename?: 'Worker';
3544
+ } | {
3545
+ __typename?: 'Workflow';
3430
3546
  }> | null;
3431
3547
  };
3432
3548
  } | null;
@@ -3499,6 +3615,8 @@ export type ListAgentsQuery = {
3499
3615
  __typename?: 'VersionedDataset';
3500
3616
  } | {
3501
3617
  __typename?: 'Worker';
3618
+ } | {
3619
+ __typename?: 'Workflow';
3502
3620
  }> | null;
3503
3621
  };
3504
3622
  } | null;
@@ -3560,6 +3678,8 @@ export type ListAgentPromptQuery = {
3560
3678
  __typename?: 'VersionedDataset';
3561
3679
  } | {
3562
3680
  __typename?: 'Worker';
3681
+ } | {
3682
+ __typename?: 'Workflow';
3563
3683
  }> | null;
3564
3684
  };
3565
3685
  } | null;
@@ -3943,6 +4063,8 @@ export type ListDatasetsQuery = {
3943
4063
  };
3944
4064
  } | {
3945
4065
  __typename?: 'Worker';
4066
+ } | {
4067
+ __typename?: 'Workflow';
3946
4068
  }> | null;
3947
4069
  };
3948
4070
  } | {
@@ -3973,6 +4095,8 @@ export type ListDatasetsQuery = {
3973
4095
  __typename?: 'VersionedDataset';
3974
4096
  } | {
3975
4097
  __typename?: 'Worker';
4098
+ } | {
4099
+ __typename?: 'Workflow';
3976
4100
  }> | null;
3977
4101
  };
3978
4102
  } | null;
@@ -4052,6 +4176,8 @@ export type GetDatasetQuery = {
4052
4176
  };
4053
4177
  } | {
4054
4178
  __typename?: 'Worker';
4179
+ } | {
4180
+ __typename?: 'Workflow';
4055
4181
  }> | null;
4056
4182
  };
4057
4183
  };
@@ -4282,6 +4408,8 @@ export type ListDatasourcesQuery = {
4282
4408
  __typename: 'VersionedDataset';
4283
4409
  } | {
4284
4410
  __typename: 'Worker';
4411
+ } | {
4412
+ __typename: 'Workflow';
4285
4413
  }> | null;
4286
4414
  };
4287
4415
  } | null;
@@ -4471,6 +4599,8 @@ export type ListEmbeddersQuery = {
4471
4599
  __typename?: 'VersionedDataset';
4472
4600
  } | {
4473
4601
  __typename?: 'Worker';
4602
+ } | {
4603
+ __typename?: 'Workflow';
4474
4604
  }> | null;
4475
4605
  };
4476
4606
  } | null;
@@ -4597,6 +4727,8 @@ export type ListKnowledgeBasesQuery = {
4597
4727
  __typename?: 'VersionedDataset';
4598
4728
  } | {
4599
4729
  __typename?: 'Worker';
4730
+ } | {
4731
+ __typename?: 'Workflow';
4600
4732
  }> | null;
4601
4733
  };
4602
4734
  } | null;
@@ -4857,6 +4989,8 @@ export type ListLlMsQuery = {
4857
4989
  __typename?: 'VersionedDataset';
4858
4990
  } | {
4859
4991
  __typename?: 'Worker';
4992
+ } | {
4993
+ __typename?: 'Workflow';
4860
4994
  }> | null;
4861
4995
  };
4862
4996
  } | null;
@@ -4987,6 +5121,8 @@ export type ListModelsQuery = {
4987
5121
  __typename?: 'VersionedDataset';
4988
5122
  } | {
4989
5123
  __typename?: 'Worker';
5124
+ } | {
5125
+ __typename?: 'Workflow';
4990
5126
  }> | null;
4991
5127
  };
4992
5128
  } | {
@@ -5005,6 +5141,8 @@ export type ListModelsQuery = {
5005
5141
  __typename: 'VersionedDataset';
5006
5142
  } | {
5007
5143
  __typename: 'Worker';
5144
+ } | {
5145
+ __typename: 'Workflow';
5008
5146
  }> | null;
5009
5147
  };
5010
5148
  } | null;
@@ -5086,6 +5224,8 @@ export type GetModelQuery = {
5086
5224
  __typename?: 'VersionedDataset';
5087
5225
  } | {
5088
5226
  __typename?: 'Worker';
5227
+ } | {
5228
+ __typename?: 'Workflow';
5089
5229
  }> | null;
5090
5230
  };
5091
5231
  };
@@ -5333,6 +5473,8 @@ export type ListModelServicesQuery = {
5333
5473
  __typename: 'VersionedDataset';
5334
5474
  } | {
5335
5475
  __typename: 'Worker';
5476
+ } | {
5477
+ __typename: 'Workflow';
5336
5478
  }> | null;
5337
5479
  };
5338
5480
  } | null;
@@ -5404,6 +5546,8 @@ export type ListNodesQuery = {
5404
5546
  __typename: 'VersionedDataset';
5405
5547
  } | {
5406
5548
  __typename: 'Worker';
5549
+ } | {
5550
+ __typename: 'Workflow';
5407
5551
  }> | null;
5408
5552
  };
5409
5553
  } | null;
@@ -5480,6 +5624,8 @@ export type ListPluginsQuery = {
5480
5624
  __typename: 'VersionedDataset';
5481
5625
  } | {
5482
5626
  __typename: 'Worker';
5627
+ } | {
5628
+ __typename: 'Workflow';
5483
5629
  }> | null;
5484
5630
  };
5485
5631
  } | null;
@@ -5737,6 +5883,8 @@ export type ListRagQuery = {
5737
5883
  __typename?: 'VersionedDataset';
5738
5884
  } | {
5739
5885
  __typename?: 'Worker';
5886
+ } | {
5887
+ __typename?: 'Workflow';
5740
5888
  }> | null;
5741
5889
  };
5742
5890
  } | null;
@@ -6071,6 +6219,8 @@ export type ListRayClustersQuery = {
6071
6219
  __typename: 'VersionedDataset';
6072
6220
  } | {
6073
6221
  __typename: 'Worker';
6222
+ } | {
6223
+ __typename: 'Workflow';
6074
6224
  }> | null;
6075
6225
  };
6076
6226
  } | null;
@@ -6197,6 +6347,8 @@ export type ListRerankersQuery = {
6197
6347
  __typename?: 'VersionedDataset';
6198
6348
  } | {
6199
6349
  __typename?: 'Worker';
6350
+ } | {
6351
+ __typename?: 'Workflow';
6200
6352
  }> | null;
6201
6353
  };
6202
6354
  } | null;
@@ -6346,6 +6498,8 @@ export type GetVersionedDatasetQuery = {
6346
6498
  __typename?: 'VersionedDataset';
6347
6499
  } | {
6348
6500
  __typename?: 'Worker';
6501
+ } | {
6502
+ __typename?: 'Workflow';
6349
6503
  }> | null;
6350
6504
  };
6351
6505
  };
@@ -6463,10 +6617,14 @@ export type ListVersionedDatasetsQuery = {
6463
6617
  __typename?: 'VersionedDataset';
6464
6618
  } | {
6465
6619
  __typename?: 'Worker';
6620
+ } | {
6621
+ __typename?: 'Workflow';
6466
6622
  }> | null;
6467
6623
  };
6468
6624
  } | {
6469
6625
  __typename?: 'Worker';
6626
+ } | {
6627
+ __typename?: 'Workflow';
6470
6628
  }> | null;
6471
6629
  };
6472
6630
  } | null;
@@ -6556,6 +6714,8 @@ export type ListWorkersQuery = {
6556
6714
  operator: string;
6557
6715
  values: Array<string>;
6558
6716
  } | null> | null;
6717
+ } | {
6718
+ __typename: 'Workflow';
6559
6719
  }> | null;
6560
6720
  };
6561
6721
  } | null;
@@ -6735,6 +6895,160 @@ export type DeleteWorkersMutation = {
6735
6895
  deleteWorkers?: any | null;
6736
6896
  } | null;
6737
6897
  };
6898
+ export type ListWorkflowsQueryVariables = Exact<{
6899
+ input: ListCommonInput;
6900
+ }>;
6901
+ export type ListWorkflowsQuery = {
6902
+ __typename?: 'Query';
6903
+ Workflow?: {
6904
+ __typename?: 'WorkflowQuery';
6905
+ listWorkflows: {
6906
+ __typename?: 'PaginatedResult';
6907
+ totalCount: number;
6908
+ hasNextPage: boolean;
6909
+ nodes?: Array<{
6910
+ __typename: 'AgentMetadata';
6911
+ } | {
6912
+ __typename: 'AgentPrompt';
6913
+ } | {
6914
+ __typename: 'AgentRelease';
6915
+ } | {
6916
+ __typename: 'AgentReleaseHistory';
6917
+ } | {
6918
+ __typename: 'Dataset';
6919
+ } | {
6920
+ __typename: 'Datasource';
6921
+ } | {
6922
+ __typename: 'Embedder';
6923
+ } | {
6924
+ __typename: 'F';
6925
+ } | {
6926
+ __typename: 'KnowledgeBase';
6927
+ } | {
6928
+ __typename: 'LLM';
6929
+ } | {
6930
+ __typename: 'Model';
6931
+ } | {
6932
+ __typename: 'ModelService';
6933
+ } | {
6934
+ __typename: 'Node';
6935
+ } | {
6936
+ __typename: 'Plugin';
6937
+ } | {
6938
+ __typename: 'RAG';
6939
+ } | {
6940
+ __typename: 'RayCluster';
6941
+ } | {
6942
+ __typename: 'Reranker';
6943
+ } | {
6944
+ __typename: 'VersionedDataset';
6945
+ } | {
6946
+ __typename: 'Worker';
6947
+ } | {
6948
+ __typename: 'Workflow';
6949
+ id?: string | null;
6950
+ creationTimestamp?: any | null;
6951
+ name: string;
6952
+ namespace: string;
6953
+ labels?: any | null;
6954
+ annotations?: any | null;
6955
+ creator?: string | null;
6956
+ displayName?: string | null;
6957
+ description?: string | null;
6958
+ icon?: string | null;
6959
+ status?: string | null;
6960
+ updateTimestamp?: any | null;
6961
+ graph?: any | null;
6962
+ }> | null;
6963
+ };
6964
+ } | null;
6965
+ };
6966
+ export type GetWorkflowQueryVariables = Exact<{
6967
+ name: Scalars['String']['input'];
6968
+ namespace: Scalars['String']['input'];
6969
+ }>;
6970
+ export type GetWorkflowQuery = {
6971
+ __typename?: 'Query';
6972
+ Workflow?: {
6973
+ __typename?: 'WorkflowQuery';
6974
+ getWorkflow: {
6975
+ __typename?: 'Workflow';
6976
+ id?: string | null;
6977
+ creationTimestamp?: any | null;
6978
+ name: string;
6979
+ namespace: string;
6980
+ labels?: any | null;
6981
+ annotations?: any | null;
6982
+ creator?: string | null;
6983
+ displayName?: string | null;
6984
+ description?: string | null;
6985
+ icon?: string | null;
6986
+ status?: string | null;
6987
+ updateTimestamp?: any | null;
6988
+ graph?: any | null;
6989
+ };
6990
+ } | null;
6991
+ };
6992
+ export type CreateWorkflowMutationVariables = Exact<{
6993
+ input: CreateWorkflowInput;
6994
+ }>;
6995
+ export type CreateWorkflowMutation = {
6996
+ __typename?: 'Mutation';
6997
+ Workflow?: {
6998
+ __typename?: 'WorkflowMutation';
6999
+ createWorkflow: {
7000
+ __typename?: 'Workflow';
7001
+ id?: string | null;
7002
+ creationTimestamp?: any | null;
7003
+ name: string;
7004
+ namespace: string;
7005
+ labels?: any | null;
7006
+ annotations?: any | null;
7007
+ creator?: string | null;
7008
+ displayName?: string | null;
7009
+ description?: string | null;
7010
+ icon?: string | null;
7011
+ status?: string | null;
7012
+ updateTimestamp?: any | null;
7013
+ graph?: any | null;
7014
+ };
7015
+ } | null;
7016
+ };
7017
+ export type UpdateWorkflowMutationVariables = Exact<{
7018
+ input: UpdateWorkflowInput;
7019
+ }>;
7020
+ export type UpdateWorkflowMutation = {
7021
+ __typename?: 'Mutation';
7022
+ Workflow?: {
7023
+ __typename?: 'WorkflowMutation';
7024
+ updateWorkflow: {
7025
+ __typename?: 'Workflow';
7026
+ id?: string | null;
7027
+ creationTimestamp?: any | null;
7028
+ name: string;
7029
+ namespace: string;
7030
+ labels?: any | null;
7031
+ annotations?: any | null;
7032
+ creator?: string | null;
7033
+ displayName?: string | null;
7034
+ description?: string | null;
7035
+ icon?: string | null;
7036
+ status?: string | null;
7037
+ updateTimestamp?: any | null;
7038
+ graph?: any | null;
7039
+ };
7040
+ } | null;
7041
+ };
7042
+ export type DeleteWorkflowMutationVariables = Exact<{
7043
+ input: DeleteCommonInput;
7044
+ }>;
7045
+ export type DeleteWorkflowMutation = {
7046
+ __typename?: 'Mutation';
7047
+ Workflow?: {
7048
+ __typename?: 'WorkflowMutation';
7049
+ deleteWorkflow?: any | null;
7050
+ } | null;
7051
+ };
6738
7052
  export declare const CreateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6739
7053
  export declare const UpdateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6740
7054
  export declare const DeleteAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -6825,6 +7139,11 @@ export declare const GetWorkerDocument: import("../node_modules/.pnpm/graphql@16
6825
7139
  export declare const CreateWorkerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6826
7140
  export declare const UpdateWorkerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6827
7141
  export declare const DeleteWorkersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
7142
+ export declare const ListWorkflowsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
7143
+ export declare const GetWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
7144
+ export declare const CreateWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
7145
+ export declare const UpdateWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
7146
+ export declare const DeleteWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6828
7147
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
6829
7148
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
6830
7149
  createAgent(variables: CreateAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateAgentMutation>;
@@ -6917,6 +7236,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
6917
7236
  createWorker(variables: CreateWorkerMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateWorkerMutation>;
6918
7237
  updateWorker(variables?: UpdateWorkerMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateWorkerMutation>;
6919
7238
  deleteWorkers(variables?: DeleteWorkersMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteWorkersMutation>;
7239
+ listWorkflows(variables: ListWorkflowsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListWorkflowsQuery>;
7240
+ getWorkflow(variables: GetWorkflowQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetWorkflowQuery>;
7241
+ createWorkflow(variables: CreateWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateWorkflowMutation>;
7242
+ updateWorkflow(variables: UpdateWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateWorkflowMutation>;
7243
+ deleteWorkflow(variables: DeleteWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteWorkflowMutation>;
6920
7244
  };
6921
7245
  export type Sdk = ReturnType<typeof getSdk>;
6922
7246
  export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
@@ -6965,6 +7289,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6965
7289
  useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
6966
7290
  useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
6967
7291
  useGetWorker(variables: GetWorkerQueryVariables, config?: SWRConfigInterface<GetWorkerQuery, ClientError>): import("./useSWR").SWRResponsePro<GetWorkerQuery, ClientError>;
7292
+ useListWorkflows(variables: ListWorkflowsQueryVariables, config?: SWRConfigInterface<ListWorkflowsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkflowsQuery, ClientError>;
7293
+ useGetWorkflow(variables: GetWorkflowQueryVariables, config?: SWRConfigInterface<GetWorkflowQuery, ClientError>): import("./useSWR").SWRResponsePro<GetWorkflowQuery, ClientError>;
6968
7294
  createAgent(variables: Exact<{
6969
7295
  input: CreateAgentMetadataInput;
6970
7296
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateAgentMutation>;
@@ -7267,5 +7593,21 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
7267
7593
  deleteWorkers(variables?: Exact<{
7268
7594
  input?: InputMaybe<DeleteCommonInput> | undefined;
7269
7595
  }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteWorkersMutation>;
7596
+ listWorkflows(variables: Exact<{
7597
+ input: ListCommonInput;
7598
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListWorkflowsQuery>;
7599
+ getWorkflow(variables: Exact<{
7600
+ name: string;
7601
+ namespace: string;
7602
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetWorkflowQuery>;
7603
+ createWorkflow(variables: Exact<{
7604
+ input: CreateWorkflowInput;
7605
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateWorkflowMutation>;
7606
+ updateWorkflow(variables: Exact<{
7607
+ input: UpdateWorkflowInput;
7608
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateWorkflowMutation>;
7609
+ deleteWorkflow(variables: Exact<{
7610
+ input: DeleteCommonInput;
7611
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteWorkflowMutation>;
7270
7612
  };
7271
7613
  export type SdkWithHooks = ReturnType<typeof getSdkWithHooks>;