@yuntijs/arcadia-bff-sdk 1.2.25 → 1.2.26

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
@@ -538,7 +538,7 @@ export type CreatePluginInput = {
538
538
  * 目前只有BasicAuth和Bearer Token支持。
539
539
  * auth的格式Basic xxxx, Bearer xxxx。
540
540
  */
541
- authSecret?: InputMaybe<Scalars['String']['input']>;
541
+ auth?: InputMaybe<PluginAuthInput>;
542
542
  /** 插件所属的分类 */
543
543
  category: Scalars['String']['input'];
544
544
  /** 描述信息 */
@@ -1874,12 +1874,8 @@ export type Plugin = {
1874
1874
  annotations?: Maybe<Scalars['Map']['output']>;
1875
1875
  /** 用户提供openapi格式的API文档 */
1876
1876
  apiDoc: Scalars['String']['output'];
1877
- /**
1878
- * 如果不需要认证,这个字段必须要填写
1879
- * 目前只有BasicAuth和Bearer Token支持。
1880
- * auth的格式Basic xxxx, Bearer xxxx。
1881
- */
1882
- authSecret?: Maybe<Scalars['String']['output']>;
1877
+ /** 如果需要认证,这个字段必须要填写。目前只有BasicAuth和Bearer Token支持。 */
1878
+ auth?: Maybe<PluginAuth>;
1883
1879
  /** 插件所属的分类 */
1884
1880
  category: Scalars['String']['output'];
1885
1881
  /** 创建时间 */
@@ -1920,6 +1916,23 @@ export type Plugin = {
1920
1916
  /** 更新时间 */
1921
1917
  updateTimestamp?: Maybe<Scalars['Time']['output']>;
1922
1918
  };
1919
+ export type PluginAuth = {
1920
+ __typename?: 'PluginAuth';
1921
+ /** header or query. Use `header` by default */
1922
+ in: Scalars['String']['output'];
1923
+ /** auth's parameter name. Use Authorization by default */
1924
+ name: Scalars['String']['output'];
1925
+ /** auth's token */
1926
+ token: Scalars['String']['output'];
1927
+ };
1928
+ export type PluginAuthInput = {
1929
+ /** header or query. Use `header` by default */
1930
+ in: Scalars['String']['input'];
1931
+ /** auth's parameter name. Use Authorization by default */
1932
+ name: Scalars['String']['input'];
1933
+ /** auth's token */
1934
+ token: Scalars['String']['input'];
1935
+ };
1923
1936
  export type PluginMutation = {
1924
1937
  __typename?: 'PluginMutation';
1925
1938
  createPlugin: Plugin;
@@ -2588,12 +2601,8 @@ export type UpdatePluginInput = {
2588
2601
  annotations?: InputMaybe<Scalars['Map']['input']>;
2589
2602
  /** 用户提供openapi格式的API文档 */
2590
2603
  apiDoc?: InputMaybe<Scalars['String']['input']>;
2591
- /**
2592
- * 如果不需要认证,这个字段必须要填写
2593
- * 目前只有BasicAuth和Bearer Token支持。
2594
- * auth的格式Basic xxxx, Bearer xxxx。
2595
- */
2596
- authSecret?: InputMaybe<Scalars['String']['input']>;
2604
+ /** 如果需要认证,这个字段必须要填写.目前只有BasicAuth和Bearer Token支持。 */
2605
+ auth?: InputMaybe<PluginAuthInput>;
2597
2606
  /** 插件所属的分类 */
2598
2607
  category?: InputMaybe<Scalars['String']['input']>;
2599
2608
  /** 描述信息 */
@@ -5181,8 +5190,13 @@ export type ListPluginsQuery = {
5181
5190
  updateTimestamp?: any | null;
5182
5191
  category: string;
5183
5192
  apiDoc: string;
5184
- authSecret?: string | null;
5185
5193
  enabled: boolean;
5194
+ auth?: {
5195
+ __typename?: 'PluginAuth';
5196
+ in: string;
5197
+ name: string;
5198
+ token: string;
5199
+ } | null;
5186
5200
  } | {
5187
5201
  __typename: 'RAG';
5188
5202
  } | {
@@ -5221,8 +5235,13 @@ export type GetPluginQuery = {
5221
5235
  updateTimestamp?: any | null;
5222
5236
  category: string;
5223
5237
  apiDoc: string;
5224
- authSecret?: string | null;
5225
5238
  enabled: boolean;
5239
+ auth?: {
5240
+ __typename?: 'PluginAuth';
5241
+ in: string;
5242
+ name: string;
5243
+ token: string;
5244
+ } | null;
5226
5245
  };
5227
5246
  } | null;
5228
5247
  };
@@ -5251,8 +5270,13 @@ export type CreatePluginMutation = {
5251
5270
  updateTimestamp?: any | null;
5252
5271
  category: string;
5253
5272
  apiDoc: string;
5254
- authSecret?: string | null;
5255
5273
  enabled: boolean;
5274
+ auth?: {
5275
+ __typename?: 'PluginAuth';
5276
+ in: string;
5277
+ name: string;
5278
+ token: string;
5279
+ } | null;
5256
5280
  };
5257
5281
  } | null;
5258
5282
  };
@@ -5281,8 +5305,13 @@ export type UpdatePluginMutation = {
5281
5305
  updateTimestamp?: any | null;
5282
5306
  category: string;
5283
5307
  apiDoc: string;
5284
- authSecret?: string | null;
5285
5308
  enabled: boolean;
5309
+ auth?: {
5310
+ __typename?: 'PluginAuth';
5311
+ in: string;
5312
+ name: string;
5313
+ token: string;
5314
+ } | null;
5286
5315
  };
5287
5316
  } | null;
5288
5317
  };
package/dist/cjs/sdk.js CHANGED
@@ -1606,7 +1606,11 @@ var ListPluginsDocument = import_graphql_tag.default`
1606
1606
  updateTimestamp
1607
1607
  category
1608
1608
  apiDoc
1609
- authSecret
1609
+ auth {
1610
+ in
1611
+ name
1612
+ token
1613
+ }
1610
1614
  enabled
1611
1615
  }
1612
1616
  }
@@ -1634,7 +1638,11 @@ var GetPluginDocument = import_graphql_tag.default`
1634
1638
  updateTimestamp
1635
1639
  category
1636
1640
  apiDoc
1637
- authSecret
1641
+ auth {
1642
+ in
1643
+ name
1644
+ token
1645
+ }
1638
1646
  enabled
1639
1647
  }
1640
1648
  }
@@ -1660,7 +1668,11 @@ var CreatePluginDocument = import_graphql_tag.default`
1660
1668
  updateTimestamp
1661
1669
  category
1662
1670
  apiDoc
1663
- authSecret
1671
+ auth {
1672
+ in
1673
+ name
1674
+ token
1675
+ }
1664
1676
  enabled
1665
1677
  }
1666
1678
  }
@@ -1686,7 +1698,11 @@ var UpdatePluginDocument = import_graphql_tag.default`
1686
1698
  updateTimestamp
1687
1699
  category
1688
1700
  apiDoc
1689
- authSecret
1701
+ auth {
1702
+ in
1703
+ name
1704
+ token
1705
+ }
1690
1706
  enabled
1691
1707
  }
1692
1708
  }
package/dist/esm/sdk.d.ts CHANGED
@@ -538,7 +538,7 @@ export type CreatePluginInput = {
538
538
  * 目前只有BasicAuth和Bearer Token支持。
539
539
  * auth的格式Basic xxxx, Bearer xxxx。
540
540
  */
541
- authSecret?: InputMaybe<Scalars['String']['input']>;
541
+ auth?: InputMaybe<PluginAuthInput>;
542
542
  /** 插件所属的分类 */
543
543
  category: Scalars['String']['input'];
544
544
  /** 描述信息 */
@@ -1874,12 +1874,8 @@ export type Plugin = {
1874
1874
  annotations?: Maybe<Scalars['Map']['output']>;
1875
1875
  /** 用户提供openapi格式的API文档 */
1876
1876
  apiDoc: Scalars['String']['output'];
1877
- /**
1878
- * 如果不需要认证,这个字段必须要填写
1879
- * 目前只有BasicAuth和Bearer Token支持。
1880
- * auth的格式Basic xxxx, Bearer xxxx。
1881
- */
1882
- authSecret?: Maybe<Scalars['String']['output']>;
1877
+ /** 如果需要认证,这个字段必须要填写。目前只有BasicAuth和Bearer Token支持。 */
1878
+ auth?: Maybe<PluginAuth>;
1883
1879
  /** 插件所属的分类 */
1884
1880
  category: Scalars['String']['output'];
1885
1881
  /** 创建时间 */
@@ -1920,6 +1916,23 @@ export type Plugin = {
1920
1916
  /** 更新时间 */
1921
1917
  updateTimestamp?: Maybe<Scalars['Time']['output']>;
1922
1918
  };
1919
+ export type PluginAuth = {
1920
+ __typename?: 'PluginAuth';
1921
+ /** header or query. Use `header` by default */
1922
+ in: Scalars['String']['output'];
1923
+ /** auth's parameter name. Use Authorization by default */
1924
+ name: Scalars['String']['output'];
1925
+ /** auth's token */
1926
+ token: Scalars['String']['output'];
1927
+ };
1928
+ export type PluginAuthInput = {
1929
+ /** header or query. Use `header` by default */
1930
+ in: Scalars['String']['input'];
1931
+ /** auth's parameter name. Use Authorization by default */
1932
+ name: Scalars['String']['input'];
1933
+ /** auth's token */
1934
+ token: Scalars['String']['input'];
1935
+ };
1923
1936
  export type PluginMutation = {
1924
1937
  __typename?: 'PluginMutation';
1925
1938
  createPlugin: Plugin;
@@ -2588,12 +2601,8 @@ export type UpdatePluginInput = {
2588
2601
  annotations?: InputMaybe<Scalars['Map']['input']>;
2589
2602
  /** 用户提供openapi格式的API文档 */
2590
2603
  apiDoc?: InputMaybe<Scalars['String']['input']>;
2591
- /**
2592
- * 如果不需要认证,这个字段必须要填写
2593
- * 目前只有BasicAuth和Bearer Token支持。
2594
- * auth的格式Basic xxxx, Bearer xxxx。
2595
- */
2596
- authSecret?: InputMaybe<Scalars['String']['input']>;
2604
+ /** 如果需要认证,这个字段必须要填写.目前只有BasicAuth和Bearer Token支持。 */
2605
+ auth?: InputMaybe<PluginAuthInput>;
2597
2606
  /** 插件所属的分类 */
2598
2607
  category?: InputMaybe<Scalars['String']['input']>;
2599
2608
  /** 描述信息 */
@@ -5181,8 +5190,13 @@ export type ListPluginsQuery = {
5181
5190
  updateTimestamp?: any | null;
5182
5191
  category: string;
5183
5192
  apiDoc: string;
5184
- authSecret?: string | null;
5185
5193
  enabled: boolean;
5194
+ auth?: {
5195
+ __typename?: 'PluginAuth';
5196
+ in: string;
5197
+ name: string;
5198
+ token: string;
5199
+ } | null;
5186
5200
  } | {
5187
5201
  __typename: 'RAG';
5188
5202
  } | {
@@ -5221,8 +5235,13 @@ export type GetPluginQuery = {
5221
5235
  updateTimestamp?: any | null;
5222
5236
  category: string;
5223
5237
  apiDoc: string;
5224
- authSecret?: string | null;
5225
5238
  enabled: boolean;
5239
+ auth?: {
5240
+ __typename?: 'PluginAuth';
5241
+ in: string;
5242
+ name: string;
5243
+ token: string;
5244
+ } | null;
5226
5245
  };
5227
5246
  } | null;
5228
5247
  };
@@ -5251,8 +5270,13 @@ export type CreatePluginMutation = {
5251
5270
  updateTimestamp?: any | null;
5252
5271
  category: string;
5253
5272
  apiDoc: string;
5254
- authSecret?: string | null;
5255
5273
  enabled: boolean;
5274
+ auth?: {
5275
+ __typename?: 'PluginAuth';
5276
+ in: string;
5277
+ name: string;
5278
+ token: string;
5279
+ } | null;
5256
5280
  };
5257
5281
  } | null;
5258
5282
  };
@@ -5281,8 +5305,13 @@ export type UpdatePluginMutation = {
5281
5305
  updateTimestamp?: any | null;
5282
5306
  category: string;
5283
5307
  apiDoc: string;
5284
- authSecret?: string | null;
5285
5308
  enabled: boolean;
5309
+ auth?: {
5310
+ __typename?: 'PluginAuth';
5311
+ in: string;
5312
+ name: string;
5313
+ token: string;
5314
+ } | null;
5286
5315
  };
5287
5316
  } | null;
5288
5317
  };
package/dist/esm/sdk.js CHANGED
@@ -226,10 +226,10 @@ export var GetModelServiceDocument = gql(_templateObject59 || (_templateObject59
226
226
  export var ListModelServicesDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n query listModelServices($input: ListModelServiceInput) {\n ModelService {\n listModelServices(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on ModelService {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n types\n apiType\n llmModels\n embeddingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n }\n }\n}\n "])));
227
227
  export var CheckModelServiceDocument = gql(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["\n query checkModelService($input: CreateModelServiceInput!) {\n ModelService {\n checkModelService(input: $input) {\n name\n namespace\n apiType\n description\n }\n }\n}\n "])));
228
228
  export var ListNodesDocument = gql(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["\n query listNodes($input: ListNodeInput) {\n Node {\n listNodes(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Node {\n name\n labels\n }\n }\n }\n }\n}\n "])));
229
- export var ListPluginsDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query listPlugins($input: ListPluginInput!) {\n Plugin {\n listPlugins(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Plugin {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n }\n }\n}\n "])));
230
- export var GetPluginDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query getPlugin($name: String!, $namespace: String!) {\n Plugin {\n getPlugin(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n}\n "])));
231
- export var CreatePluginDocument = gql(_templateObject65 || (_templateObject65 = _taggedTemplateLiteral(["\n mutation createPlugin($input: CreatePluginInput!) {\n Plugin {\n createPlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n}\n "])));
232
- export var UpdatePluginDocument = gql(_templateObject66 || (_templateObject66 = _taggedTemplateLiteral(["\n mutation updatePlugin($input: UpdatePluginInput!) {\n Plugin {\n updatePlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n}\n "])));
229
+ export var ListPluginsDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query listPlugins($input: ListPluginInput!) {\n Plugin {\n listPlugins(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Plugin {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n }\n }\n}\n "])));
230
+ export var GetPluginDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query getPlugin($name: String!, $namespace: String!) {\n Plugin {\n getPlugin(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
231
+ export var CreatePluginDocument = gql(_templateObject65 || (_templateObject65 = _taggedTemplateLiteral(["\n mutation createPlugin($input: CreatePluginInput!) {\n Plugin {\n createPlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
232
+ export var UpdatePluginDocument = gql(_templateObject66 || (_templateObject66 = _taggedTemplateLiteral(["\n mutation updatePlugin($input: UpdatePluginInput!) {\n Plugin {\n updatePlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
233
233
  export var DeletePluginDocument = gql(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["\n mutation deletePlugin($input: DeleteCommonInput!) {\n Plugin {\n deletePlugin(input: $input)\n }\n}\n "])));
234
234
  export var ListRagDocument = gql(_templateObject68 || (_templateObject68 = _taggedTemplateLiteral(["\n query listRAG($input: ListRAGInput!) {\n RAG {\n listRAG(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on RAG {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n judgeLLM {\n name\n namespace\n baseUrl\n models\n provider\n type\n status\n message\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n }\n }\n}\n "])));
235
235
  export var GetRagDocument = gql(_templateObject69 || (_templateObject69 = _taggedTemplateLiteral(["\n query getRAG($name: String!, $namespace: String!) {\n RAG {\n getRAG(name: $name, namespace: $namespace) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n application {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n files {\n path\n fileType\n }\n }\n judgeLLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n metrics {\n metricKind\n parameters {\n key\n value\n }\n toleranceThreshbold\n }\n }\n }\n}\n "])));