@yuntijs/arcadia-bff-sdk 1.2.143 → 1.2.145
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 +12 -0
- package/dist/cjs/sdk.d.ts +77 -38
- package/dist/cjs/sdk.js +22 -25
- package/dist/cjs/taro.d.ts +9 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/sdk.d.ts +77 -38
- package/dist/esm/sdk.js +75 -69
- package/dist/esm/taro.d.ts +9 -0
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -535,6 +535,9 @@ export declare const sdk: {
|
|
|
535
535
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
536
536
|
input: import("./sdk").DeleteCommonInput;
|
|
537
537
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
538
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
539
|
+
input: import("./sdk").AuthPluginInput;
|
|
540
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
538
541
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
539
542
|
input: import("./sdk").ListCommonInput;
|
|
540
543
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -1063,6 +1066,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
1063
1066
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
1064
1067
|
input: import("./sdk").DeleteCommonInput;
|
|
1065
1068
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
1069
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
1070
|
+
input: import("./sdk").AuthPluginInput;
|
|
1071
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
1066
1072
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1067
1073
|
input: import("./sdk").ListCommonInput;
|
|
1068
1074
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -1805,6 +1811,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1805
1811
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
1806
1812
|
input: import("./sdk").DeleteCommonInput;
|
|
1807
1813
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
1814
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
1815
|
+
input: import("./sdk").AuthPluginInput;
|
|
1816
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
1808
1817
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1809
1818
|
input: import("./sdk").ListCommonInput;
|
|
1810
1819
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -2547,6 +2556,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2547
2556
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
2548
2557
|
input: import("./sdk").DeleteCommonInput;
|
|
2549
2558
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
2559
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
2560
|
+
input: import("./sdk").AuthPluginInput;
|
|
2561
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
2550
2562
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
2551
2563
|
input: import("./sdk").ListCommonInput;
|
|
2552
2564
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -939,7 +939,7 @@ export type CreatePluginInput = {
|
|
|
939
939
|
* 目前只有BasicAuth和Bearer Token支持。
|
|
940
940
|
* auth的格式Basic xxxx, Bearer xxxx。
|
|
941
941
|
*/
|
|
942
|
-
auth
|
|
942
|
+
auth: PluginAuthInput;
|
|
943
943
|
/** 插件所属的分类 */
|
|
944
944
|
category: Scalars['String']['input'];
|
|
945
945
|
/** 描述信息 */
|
|
@@ -2474,6 +2474,18 @@ export type Plugin = {
|
|
|
2474
2474
|
apiDoc: Scalars['String']['output'];
|
|
2475
2475
|
/** 如果需要认证,这个字段必须要填写。目前只有BasicAuth和Bearer Token支持。 */
|
|
2476
2476
|
auth?: Maybe<PluginAuth>;
|
|
2477
|
+
/**
|
|
2478
|
+
* none: 不需要授权
|
|
2479
|
+
* basic: basicauth
|
|
2480
|
+
* bearer: bearer token
|
|
2481
|
+
* custom: 自定义
|
|
2482
|
+
*/
|
|
2483
|
+
authorization_type: Scalars['String']['output'];
|
|
2484
|
+
/**
|
|
2485
|
+
* 插件是否已经授权了
|
|
2486
|
+
* 插件无需要授权,或者已经授权返回true,否则返回false
|
|
2487
|
+
*/
|
|
2488
|
+
authorized: Scalars['Boolean']['output'];
|
|
2477
2489
|
/** 插件所属的分类 */
|
|
2478
2490
|
category: Scalars['String']['output'];
|
|
2479
2491
|
/** 创建时间 */
|
|
@@ -2528,12 +2540,24 @@ export type PluginAuth = {
|
|
|
2528
2540
|
token: Scalars['String']['output'];
|
|
2529
2541
|
};
|
|
2530
2542
|
export type PluginAuthInput = {
|
|
2531
|
-
/**
|
|
2532
|
-
|
|
2533
|
-
/**
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2543
|
+
/** apikey 直接写bearer token或者其他类型的key */
|
|
2544
|
+
apikey?: InputMaybe<Scalars['String']['input']>;
|
|
2545
|
+
/**
|
|
2546
|
+
* 请求头字段名字
|
|
2547
|
+
* Authorization, X-API-KEY ...
|
|
2548
|
+
*/
|
|
2549
|
+
header?: InputMaybe<Scalars['String']['input']>;
|
|
2550
|
+
/** basic password */
|
|
2551
|
+
password?: InputMaybe<Scalars['String']['input']>;
|
|
2552
|
+
/**
|
|
2553
|
+
* 插件认证类型
|
|
2554
|
+
* basic: basic auth 需要提供username和password字段
|
|
2555
|
+
* bearer: bearer token 需要提供api_key字段
|
|
2556
|
+
* custom: 自定义 需要提供header和api_key字段
|
|
2557
|
+
*/
|
|
2558
|
+
type: Scalars['String']['input'];
|
|
2559
|
+
/** basic username */
|
|
2560
|
+
username?: InputMaybe<Scalars['String']['input']>;
|
|
2537
2561
|
};
|
|
2538
2562
|
export type PluginCategory = {
|
|
2539
2563
|
__typename?: 'PluginCategory';
|
|
@@ -2552,10 +2576,14 @@ export type PluginConfigInput = {
|
|
|
2552
2576
|
};
|
|
2553
2577
|
export type PluginMutation = {
|
|
2554
2578
|
__typename?: 'PluginMutation';
|
|
2579
|
+
authPlugin?: Maybe<Scalars['Void']['output']>;
|
|
2555
2580
|
createPlugin: Plugin;
|
|
2556
2581
|
deletePlugin?: Maybe<Scalars['Void']['output']>;
|
|
2557
2582
|
updatePlugin: Plugin;
|
|
2558
2583
|
};
|
|
2584
|
+
export type PluginMutationAuthPluginArgs = {
|
|
2585
|
+
input: AuthPluginInput;
|
|
2586
|
+
};
|
|
2559
2587
|
export type PluginMutationCreatePluginArgs = {
|
|
2560
2588
|
input: CreatePluginInput;
|
|
2561
2589
|
};
|
|
@@ -3682,7 +3710,7 @@ export type UpdatePluginInput = {
|
|
|
3682
3710
|
*/
|
|
3683
3711
|
name: Scalars['String']['input'];
|
|
3684
3712
|
/**
|
|
3685
|
-
*
|
|
3713
|
+
* 插件所在的namespace
|
|
3686
3714
|
* 规则: 非空
|
|
3687
3715
|
*/
|
|
3688
3716
|
namespace: Scalars['String']['input'];
|
|
@@ -4147,6 +4175,22 @@ export type WorkflowTemplateQueryGetWorkflowTemplateArgs = {
|
|
|
4147
4175
|
export type WorkflowTemplateQueryListWorkflowTemplatesArgs = {
|
|
4148
4176
|
input: ListTemplatesInput;
|
|
4149
4177
|
};
|
|
4178
|
+
export type AuthPluginInput = {
|
|
4179
|
+
/** 如果需要认证,这个字段必须要填写.目前只有BasicAuth和Bearer Token支持。 */
|
|
4180
|
+
auth: PluginAuthInput;
|
|
4181
|
+
/** 当前所在的项目, 这个主要用于给插件做授权使用 */
|
|
4182
|
+
currentNamespace: Scalars['String']['input'];
|
|
4183
|
+
/**
|
|
4184
|
+
* 应用名称, 用于确定要更新哪个应用
|
|
4185
|
+
* 规则: 遵循 k8s 命名
|
|
4186
|
+
*/
|
|
4187
|
+
name: Scalars['String']['input'];
|
|
4188
|
+
/**
|
|
4189
|
+
* 插件所在的namespace
|
|
4190
|
+
* 规则: 非空
|
|
4191
|
+
*/
|
|
4192
|
+
namespace: Scalars['String']['input'];
|
|
4193
|
+
};
|
|
4150
4194
|
export type UpdateContentInput = {
|
|
4151
4195
|
content: ContentTemplateInput;
|
|
4152
4196
|
contentID: Scalars['String']['input'];
|
|
@@ -7575,14 +7619,10 @@ export type ListPluginsQuery = {
|
|
|
7575
7619
|
status?: string | null;
|
|
7576
7620
|
updateTimestamp?: any | null;
|
|
7577
7621
|
category: string;
|
|
7622
|
+
authorized: boolean;
|
|
7623
|
+
authorization_type: string;
|
|
7578
7624
|
enabled: boolean;
|
|
7579
7625
|
link?: string | null;
|
|
7580
|
-
auth?: {
|
|
7581
|
-
__typename?: 'PluginAuth';
|
|
7582
|
-
in: string;
|
|
7583
|
-
name: string;
|
|
7584
|
-
token: string;
|
|
7585
|
-
} | null;
|
|
7586
7626
|
} | {
|
|
7587
7627
|
__typename: 'PrecisionTestingRecord';
|
|
7588
7628
|
} | {
|
|
@@ -7677,14 +7717,10 @@ export type ListPluginsWithToolsQuery = {
|
|
|
7677
7717
|
status?: string | null;
|
|
7678
7718
|
updateTimestamp?: any | null;
|
|
7679
7719
|
category: string;
|
|
7720
|
+
authorized: boolean;
|
|
7721
|
+
authorization_type: string;
|
|
7680
7722
|
enabled: boolean;
|
|
7681
7723
|
link?: string | null;
|
|
7682
|
-
auth?: {
|
|
7683
|
-
__typename?: 'PluginAuth';
|
|
7684
|
-
in: string;
|
|
7685
|
-
name: string;
|
|
7686
|
-
token: string;
|
|
7687
|
-
} | null;
|
|
7688
7724
|
tools?: Array<{
|
|
7689
7725
|
__typename?: 'PluginTool';
|
|
7690
7726
|
name: string;
|
|
@@ -7762,14 +7798,10 @@ export type GetPluginQuery = {
|
|
|
7762
7798
|
updateTimestamp?: any | null;
|
|
7763
7799
|
category: string;
|
|
7764
7800
|
apiDoc: string;
|
|
7801
|
+
authorized: boolean;
|
|
7802
|
+
authorization_type: string;
|
|
7765
7803
|
enabled: boolean;
|
|
7766
7804
|
link?: string | null;
|
|
7767
|
-
auth?: {
|
|
7768
|
-
__typename?: 'PluginAuth';
|
|
7769
|
-
in: string;
|
|
7770
|
-
name: string;
|
|
7771
|
-
token: string;
|
|
7772
|
-
} | null;
|
|
7773
7805
|
};
|
|
7774
7806
|
} | null;
|
|
7775
7807
|
};
|
|
@@ -7798,14 +7830,10 @@ export type CreatePluginMutation = {
|
|
|
7798
7830
|
updateTimestamp?: any | null;
|
|
7799
7831
|
category: string;
|
|
7800
7832
|
apiDoc: string;
|
|
7833
|
+
authorized: boolean;
|
|
7834
|
+
authorization_type: string;
|
|
7801
7835
|
enabled: boolean;
|
|
7802
7836
|
link?: string | null;
|
|
7803
|
-
auth?: {
|
|
7804
|
-
__typename?: 'PluginAuth';
|
|
7805
|
-
in: string;
|
|
7806
|
-
name: string;
|
|
7807
|
-
token: string;
|
|
7808
|
-
} | null;
|
|
7809
7837
|
};
|
|
7810
7838
|
} | null;
|
|
7811
7839
|
};
|
|
@@ -7834,14 +7862,10 @@ export type UpdatePluginMutation = {
|
|
|
7834
7862
|
updateTimestamp?: any | null;
|
|
7835
7863
|
category: string;
|
|
7836
7864
|
apiDoc: string;
|
|
7865
|
+
authorized: boolean;
|
|
7866
|
+
authorization_type: string;
|
|
7837
7867
|
enabled: boolean;
|
|
7838
7868
|
link?: string | null;
|
|
7839
|
-
auth?: {
|
|
7840
|
-
__typename?: 'PluginAuth';
|
|
7841
|
-
in: string;
|
|
7842
|
-
name: string;
|
|
7843
|
-
token: string;
|
|
7844
|
-
} | null;
|
|
7845
7869
|
};
|
|
7846
7870
|
} | null;
|
|
7847
7871
|
};
|
|
@@ -7855,6 +7879,16 @@ export type DeletePluginMutation = {
|
|
|
7855
7879
|
deletePlugin?: any | null;
|
|
7856
7880
|
} | null;
|
|
7857
7881
|
};
|
|
7882
|
+
export type AuthPluginMutationVariables = Exact<{
|
|
7883
|
+
input: AuthPluginInput;
|
|
7884
|
+
}>;
|
|
7885
|
+
export type AuthPluginMutation = {
|
|
7886
|
+
__typename?: 'Mutation';
|
|
7887
|
+
Plugin?: {
|
|
7888
|
+
__typename?: 'PluginMutation';
|
|
7889
|
+
authPlugin?: any | null;
|
|
7890
|
+
} | null;
|
|
7891
|
+
};
|
|
7858
7892
|
export type ListRayClustersQueryVariables = Exact<{
|
|
7859
7893
|
input: ListCommonInput;
|
|
7860
7894
|
}>;
|
|
@@ -10885,6 +10919,7 @@ export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16
|
|
|
10885
10919
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10886
10920
|
export declare const UpdatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10887
10921
|
export declare const DeletePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10922
|
+
export declare const AuthPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10888
10923
|
export declare const ListRayClustersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10889
10924
|
export declare const ListRerankersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10890
10925
|
export declare const GetRerankerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -11037,6 +11072,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
11037
11072
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
11038
11073
|
updatePlugin(variables: UpdatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdatePluginMutation>;
|
|
11039
11074
|
deletePlugin(variables: DeletePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeletePluginMutation>;
|
|
11075
|
+
authPlugin(variables: AuthPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<AuthPluginMutation>;
|
|
11040
11076
|
listRayClusters(variables: ListRayClustersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListRayClustersQuery>;
|
|
11041
11077
|
listRerankers(variables: ListRerankersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListRerankersQuery>;
|
|
11042
11078
|
getReranker(variables: GetRerankerQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetRerankerQuery>;
|
|
@@ -11460,6 +11496,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11460
11496
|
deletePlugin(variables: Exact<{
|
|
11461
11497
|
input: DeleteCommonInput;
|
|
11462
11498
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeletePluginMutation>;
|
|
11499
|
+
authPlugin(variables: Exact<{
|
|
11500
|
+
input: AuthPluginInput;
|
|
11501
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<AuthPluginMutation>;
|
|
11463
11502
|
listRayClusters(variables: Exact<{
|
|
11464
11503
|
input: ListCommonInput;
|
|
11465
11504
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListRayClustersQuery>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -33,6 +33,7 @@ __export(sdk_exports, {
|
|
|
33
33
|
AddShareGptContentDocument: () => AddShareGptContentDocument,
|
|
34
34
|
AddVersionDocument: () => AddVersionDocument,
|
|
35
35
|
AgentMode: () => AgentMode,
|
|
36
|
+
AuthPluginDocument: () => AuthPluginDocument,
|
|
36
37
|
ChatSftDocument: () => ChatSftDocument,
|
|
37
38
|
CheckDatasourceDocument: () => CheckDatasourceDocument,
|
|
38
39
|
CheckModelServiceDocument: () => CheckModelServiceDocument,
|
|
@@ -1943,11 +1944,8 @@ var ListPluginsDocument = import_graphql_tag.default`
|
|
|
1943
1944
|
status
|
|
1944
1945
|
updateTimestamp
|
|
1945
1946
|
category
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
name
|
|
1949
|
-
token
|
|
1950
|
-
}
|
|
1947
|
+
authorized
|
|
1948
|
+
authorization_type
|
|
1951
1949
|
enabled
|
|
1952
1950
|
link
|
|
1953
1951
|
}
|
|
@@ -1980,11 +1978,8 @@ var ListPluginsWithToolsDocument = import_graphql_tag.default`
|
|
|
1980
1978
|
status
|
|
1981
1979
|
updateTimestamp
|
|
1982
1980
|
category
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
name
|
|
1986
|
-
token
|
|
1987
|
-
}
|
|
1981
|
+
authorized
|
|
1982
|
+
authorization_type
|
|
1988
1983
|
enabled
|
|
1989
1984
|
tools {
|
|
1990
1985
|
name
|
|
@@ -2029,11 +2024,8 @@ var GetPluginDocument = import_graphql_tag.default`
|
|
|
2029
2024
|
updateTimestamp
|
|
2030
2025
|
category
|
|
2031
2026
|
apiDoc
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
name
|
|
2035
|
-
token
|
|
2036
|
-
}
|
|
2027
|
+
authorized
|
|
2028
|
+
authorization_type
|
|
2037
2029
|
enabled
|
|
2038
2030
|
link
|
|
2039
2031
|
}
|
|
@@ -2060,11 +2052,8 @@ var CreatePluginDocument = import_graphql_tag.default`
|
|
|
2060
2052
|
updateTimestamp
|
|
2061
2053
|
category
|
|
2062
2054
|
apiDoc
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
name
|
|
2066
|
-
token
|
|
2067
|
-
}
|
|
2055
|
+
authorized
|
|
2056
|
+
authorization_type
|
|
2068
2057
|
enabled
|
|
2069
2058
|
link
|
|
2070
2059
|
}
|
|
@@ -2091,11 +2080,8 @@ var UpdatePluginDocument = import_graphql_tag.default`
|
|
|
2091
2080
|
updateTimestamp
|
|
2092
2081
|
category
|
|
2093
2082
|
apiDoc
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
name
|
|
2097
|
-
token
|
|
2098
|
-
}
|
|
2083
|
+
authorized
|
|
2084
|
+
authorization_type
|
|
2099
2085
|
enabled
|
|
2100
2086
|
link
|
|
2101
2087
|
}
|
|
@@ -2109,6 +2095,13 @@ var DeletePluginDocument = import_graphql_tag.default`
|
|
|
2109
2095
|
}
|
|
2110
2096
|
}
|
|
2111
2097
|
`;
|
|
2098
|
+
var AuthPluginDocument = import_graphql_tag.default`
|
|
2099
|
+
mutation authPlugin($input: authPluginInput!) {
|
|
2100
|
+
Plugin {
|
|
2101
|
+
authPlugin(input: $input)
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
`;
|
|
2112
2105
|
var ListRayClustersDocument = import_graphql_tag.default`
|
|
2113
2106
|
query listRayClusters($input: ListCommonInput!) {
|
|
2114
2107
|
RayCluster {
|
|
@@ -4021,6 +4014,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
4021
4014
|
deletePlugin(variables, requestHeaders) {
|
|
4022
4015
|
return withWrapper((wrappedRequestHeaders) => client.request(DeletePluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "deletePlugin", "mutation", variables);
|
|
4023
4016
|
},
|
|
4017
|
+
authPlugin(variables, requestHeaders) {
|
|
4018
|
+
return withWrapper((wrappedRequestHeaders) => client.request(AuthPluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "authPlugin", "mutation", variables);
|
|
4019
|
+
},
|
|
4024
4020
|
listRayClusters(variables, requestHeaders) {
|
|
4025
4021
|
return withWrapper((wrappedRequestHeaders) => client.request(ListRayClustersDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listRayClusters", "query", variables);
|
|
4026
4022
|
},
|
|
@@ -4420,6 +4416,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
4420
4416
|
AddShareGptContentDocument,
|
|
4421
4417
|
AddVersionDocument,
|
|
4422
4418
|
AgentMode,
|
|
4419
|
+
AuthPluginDocument,
|
|
4423
4420
|
ChatSftDocument,
|
|
4424
4421
|
CheckDatasourceDocument,
|
|
4425
4422
|
CheckModelServiceDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -324,6 +324,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
324
324
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
325
325
|
input: import("./sdk").DeleteCommonInput;
|
|
326
326
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
327
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
328
|
+
input: import("./sdk").AuthPluginInput;
|
|
329
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
327
330
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
328
331
|
input: import("./sdk").ListCommonInput;
|
|
329
332
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -1066,6 +1069,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1066
1069
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
1067
1070
|
input: import("./sdk").DeleteCommonInput;
|
|
1068
1071
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
1072
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
1073
|
+
input: import("./sdk").AuthPluginInput;
|
|
1074
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
1069
1075
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1070
1076
|
input: import("./sdk").ListCommonInput;
|
|
1071
1077
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -1808,6 +1814,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1808
1814
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
1809
1815
|
input: import("./sdk").DeleteCommonInput;
|
|
1810
1816
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
1817
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
1818
|
+
input: import("./sdk").AuthPluginInput;
|
|
1819
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
1811
1820
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1812
1821
|
input: import("./sdk").ListCommonInput;
|
|
1813
1822
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -535,6 +535,9 @@ export declare const sdk: {
|
|
|
535
535
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
536
536
|
input: import("./sdk").DeleteCommonInput;
|
|
537
537
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
538
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
539
|
+
input: import("./sdk").AuthPluginInput;
|
|
540
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
538
541
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
539
542
|
input: import("./sdk").ListCommonInput;
|
|
540
543
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -1063,6 +1066,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
1063
1066
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
1064
1067
|
input: import("./sdk").DeleteCommonInput;
|
|
1065
1068
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
1069
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
1070
|
+
input: import("./sdk").AuthPluginInput;
|
|
1071
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
1066
1072
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1067
1073
|
input: import("./sdk").ListCommonInput;
|
|
1068
1074
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -1805,6 +1811,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1805
1811
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
1806
1812
|
input: import("./sdk").DeleteCommonInput;
|
|
1807
1813
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
1814
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
1815
|
+
input: import("./sdk").AuthPluginInput;
|
|
1816
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
1808
1817
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
1809
1818
|
input: import("./sdk").ListCommonInput;
|
|
1810
1819
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|
|
@@ -2547,6 +2556,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2547
2556
|
deletePlugin(variables: import("./sdk").Exact<{
|
|
2548
2557
|
input: import("./sdk").DeleteCommonInput;
|
|
2549
2558
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeletePluginMutation>;
|
|
2559
|
+
authPlugin(variables: import("./sdk").Exact<{
|
|
2560
|
+
input: import("./sdk").AuthPluginInput;
|
|
2561
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").AuthPluginMutation>;
|
|
2550
2562
|
listRayClusters(variables: import("./sdk").Exact<{
|
|
2551
2563
|
input: import("./sdk").ListCommonInput;
|
|
2552
2564
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListRayClustersQuery>;
|