@yuntijs/arcadia-bff-sdk 1.2.26 → 1.2.28

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
- auth?: InputMaybe<PluginAuthInput>;
541
+ authSecret?: InputMaybe<Scalars['String']['input']>;
542
542
  /** 插件所属的分类 */
543
543
  category: Scalars['String']['input'];
544
544
  /** 描述信息 */
@@ -1874,8 +1874,12 @@ export type Plugin = {
1874
1874
  annotations?: Maybe<Scalars['Map']['output']>;
1875
1875
  /** 用户提供openapi格式的API文档 */
1876
1876
  apiDoc: Scalars['String']['output'];
1877
- /** 如果需要认证,这个字段必须要填写。目前只有BasicAuth和Bearer Token支持。 */
1878
- auth?: Maybe<PluginAuth>;
1877
+ /**
1878
+ * 如果不需要认证,这个字段必须要填写
1879
+ * 目前只有BasicAuth和Bearer Token支持。
1880
+ * auth的格式Basic xxxx, Bearer xxxx。
1881
+ */
1882
+ authSecret?: Maybe<Scalars['String']['output']>;
1879
1883
  /** 插件所属的分类 */
1880
1884
  category: Scalars['String']['output'];
1881
1885
  /** 创建时间 */
@@ -1916,23 +1920,6 @@ export type Plugin = {
1916
1920
  /** 更新时间 */
1917
1921
  updateTimestamp?: Maybe<Scalars['Time']['output']>;
1918
1922
  };
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
- };
1936
1923
  export type PluginMutation = {
1937
1924
  __typename?: 'PluginMutation';
1938
1925
  createPlugin: Plugin;
@@ -2601,8 +2588,12 @@ export type UpdatePluginInput = {
2601
2588
  annotations?: InputMaybe<Scalars['Map']['input']>;
2602
2589
  /** 用户提供openapi格式的API文档 */
2603
2590
  apiDoc?: InputMaybe<Scalars['String']['input']>;
2604
- /** 如果需要认证,这个字段必须要填写.目前只有BasicAuth和Bearer Token支持。 */
2605
- auth?: InputMaybe<PluginAuthInput>;
2591
+ /**
2592
+ * 如果不需要认证,这个字段必须要填写
2593
+ * 目前只有BasicAuth和Bearer Token支持。
2594
+ * auth的格式Basic xxxx, Bearer xxxx。
2595
+ */
2596
+ authSecret?: InputMaybe<Scalars['String']['input']>;
2606
2597
  /** 插件所属的分类 */
2607
2598
  category?: InputMaybe<Scalars['String']['input']>;
2608
2599
  /** 描述信息 */
@@ -5190,13 +5181,8 @@ export type ListPluginsQuery = {
5190
5181
  updateTimestamp?: any | null;
5191
5182
  category: string;
5192
5183
  apiDoc: string;
5184
+ authSecret?: string | null;
5193
5185
  enabled: boolean;
5194
- auth?: {
5195
- __typename?: 'PluginAuth';
5196
- in: string;
5197
- name: string;
5198
- token: string;
5199
- } | null;
5200
5186
  } | {
5201
5187
  __typename: 'RAG';
5202
5188
  } | {
@@ -5235,13 +5221,8 @@ export type GetPluginQuery = {
5235
5221
  updateTimestamp?: any | null;
5236
5222
  category: string;
5237
5223
  apiDoc: string;
5224
+ authSecret?: string | null;
5238
5225
  enabled: boolean;
5239
- auth?: {
5240
- __typename?: 'PluginAuth';
5241
- in: string;
5242
- name: string;
5243
- token: string;
5244
- } | null;
5245
5226
  };
5246
5227
  } | null;
5247
5228
  };
@@ -5270,13 +5251,8 @@ export type CreatePluginMutation = {
5270
5251
  updateTimestamp?: any | null;
5271
5252
  category: string;
5272
5253
  apiDoc: string;
5254
+ authSecret?: string | null;
5273
5255
  enabled: boolean;
5274
- auth?: {
5275
- __typename?: 'PluginAuth';
5276
- in: string;
5277
- name: string;
5278
- token: string;
5279
- } | null;
5280
5256
  };
5281
5257
  } | null;
5282
5258
  };
@@ -5305,13 +5281,8 @@ export type UpdatePluginMutation = {
5305
5281
  updateTimestamp?: any | null;
5306
5282
  category: string;
5307
5283
  apiDoc: string;
5284
+ authSecret?: string | null;
5308
5285
  enabled: boolean;
5309
- auth?: {
5310
- __typename?: 'PluginAuth';
5311
- in: string;
5312
- name: string;
5313
- token: string;
5314
- } | null;
5315
5286
  };
5316
5287
  } | null;
5317
5288
  };
package/dist/cjs/sdk.js CHANGED
@@ -1606,11 +1606,7 @@ var ListPluginsDocument = import_graphql_tag.default`
1606
1606
  updateTimestamp
1607
1607
  category
1608
1608
  apiDoc
1609
- auth {
1610
- in
1611
- name
1612
- token
1613
- }
1609
+ authSecret
1614
1610
  enabled
1615
1611
  }
1616
1612
  }
@@ -1638,11 +1634,7 @@ var GetPluginDocument = import_graphql_tag.default`
1638
1634
  updateTimestamp
1639
1635
  category
1640
1636
  apiDoc
1641
- auth {
1642
- in
1643
- name
1644
- token
1645
- }
1637
+ authSecret
1646
1638
  enabled
1647
1639
  }
1648
1640
  }
@@ -1668,11 +1660,7 @@ var CreatePluginDocument = import_graphql_tag.default`
1668
1660
  updateTimestamp
1669
1661
  category
1670
1662
  apiDoc
1671
- auth {
1672
- in
1673
- name
1674
- token
1675
- }
1663
+ authSecret
1676
1664
  enabled
1677
1665
  }
1678
1666
  }
@@ -1698,11 +1686,7 @@ var UpdatePluginDocument = import_graphql_tag.default`
1698
1686
  updateTimestamp
1699
1687
  category
1700
1688
  apiDoc
1701
- auth {
1702
- in
1703
- name
1704
- token
1705
- }
1689
+ authSecret
1706
1690
  enabled
1707
1691
  }
1708
1692
  }
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
- auth?: InputMaybe<PluginAuthInput>;
541
+ authSecret?: InputMaybe<Scalars['String']['input']>;
542
542
  /** 插件所属的分类 */
543
543
  category: Scalars['String']['input'];
544
544
  /** 描述信息 */
@@ -1874,8 +1874,12 @@ export type Plugin = {
1874
1874
  annotations?: Maybe<Scalars['Map']['output']>;
1875
1875
  /** 用户提供openapi格式的API文档 */
1876
1876
  apiDoc: Scalars['String']['output'];
1877
- /** 如果需要认证,这个字段必须要填写。目前只有BasicAuth和Bearer Token支持。 */
1878
- auth?: Maybe<PluginAuth>;
1877
+ /**
1878
+ * 如果不需要认证,这个字段必须要填写
1879
+ * 目前只有BasicAuth和Bearer Token支持。
1880
+ * auth的格式Basic xxxx, Bearer xxxx。
1881
+ */
1882
+ authSecret?: Maybe<Scalars['String']['output']>;
1879
1883
  /** 插件所属的分类 */
1880
1884
  category: Scalars['String']['output'];
1881
1885
  /** 创建时间 */
@@ -1916,23 +1920,6 @@ export type Plugin = {
1916
1920
  /** 更新时间 */
1917
1921
  updateTimestamp?: Maybe<Scalars['Time']['output']>;
1918
1922
  };
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
- };
1936
1923
  export type PluginMutation = {
1937
1924
  __typename?: 'PluginMutation';
1938
1925
  createPlugin: Plugin;
@@ -2601,8 +2588,12 @@ export type UpdatePluginInput = {
2601
2588
  annotations?: InputMaybe<Scalars['Map']['input']>;
2602
2589
  /** 用户提供openapi格式的API文档 */
2603
2590
  apiDoc?: InputMaybe<Scalars['String']['input']>;
2604
- /** 如果需要认证,这个字段必须要填写.目前只有BasicAuth和Bearer Token支持。 */
2605
- auth?: InputMaybe<PluginAuthInput>;
2591
+ /**
2592
+ * 如果不需要认证,这个字段必须要填写
2593
+ * 目前只有BasicAuth和Bearer Token支持。
2594
+ * auth的格式Basic xxxx, Bearer xxxx。
2595
+ */
2596
+ authSecret?: InputMaybe<Scalars['String']['input']>;
2606
2597
  /** 插件所属的分类 */
2607
2598
  category?: InputMaybe<Scalars['String']['input']>;
2608
2599
  /** 描述信息 */
@@ -5190,13 +5181,8 @@ export type ListPluginsQuery = {
5190
5181
  updateTimestamp?: any | null;
5191
5182
  category: string;
5192
5183
  apiDoc: string;
5184
+ authSecret?: string | null;
5193
5185
  enabled: boolean;
5194
- auth?: {
5195
- __typename?: 'PluginAuth';
5196
- in: string;
5197
- name: string;
5198
- token: string;
5199
- } | null;
5200
5186
  } | {
5201
5187
  __typename: 'RAG';
5202
5188
  } | {
@@ -5235,13 +5221,8 @@ export type GetPluginQuery = {
5235
5221
  updateTimestamp?: any | null;
5236
5222
  category: string;
5237
5223
  apiDoc: string;
5224
+ authSecret?: string | null;
5238
5225
  enabled: boolean;
5239
- auth?: {
5240
- __typename?: 'PluginAuth';
5241
- in: string;
5242
- name: string;
5243
- token: string;
5244
- } | null;
5245
5226
  };
5246
5227
  } | null;
5247
5228
  };
@@ -5270,13 +5251,8 @@ export type CreatePluginMutation = {
5270
5251
  updateTimestamp?: any | null;
5271
5252
  category: string;
5272
5253
  apiDoc: string;
5254
+ authSecret?: string | null;
5273
5255
  enabled: boolean;
5274
- auth?: {
5275
- __typename?: 'PluginAuth';
5276
- in: string;
5277
- name: string;
5278
- token: string;
5279
- } | null;
5280
5256
  };
5281
5257
  } | null;
5282
5258
  };
@@ -5305,13 +5281,8 @@ export type UpdatePluginMutation = {
5305
5281
  updateTimestamp?: any | null;
5306
5282
  category: string;
5307
5283
  apiDoc: string;
5284
+ authSecret?: string | null;
5308
5285
  enabled: boolean;
5309
- auth?: {
5310
- __typename?: 'PluginAuth';
5311
- in: string;
5312
- name: string;
5313
- token: string;
5314
- } | null;
5315
5286
  };
5316
5287
  } | null;
5317
5288
  };
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 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 "])));
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 "])));
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 "])));