@fastgpt-plugin/sdk-client 0.0.1-alpha.4 → 0.0.1-alpha.5

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/index.d.ts CHANGED
@@ -469,34 +469,52 @@ declare const PluginListDTOSchema: z$2.ZodArray<z$2.ZodObject<{
469
469
  tags: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
470
470
  source: z$2.ZodString;
471
471
  }, z$2.core.$strip>>;
472
- declare const PluginUploadResponseDTOSchema: z$2.ZodArray<z$2.ZodObject<{
473
- pluginId: z$2.ZodString;
474
- version: z$2.ZodString;
475
- etag: z$2.ZodString;
476
- type: z$2.ZodString;
477
- author: z$2.ZodOptional<z$2.ZodString>;
478
- name: z$2.ZodObject<{
472
+ declare const PluginUploadFailureDTOSchema: z$2.ZodObject<{
473
+ fileName: z$2.ZodOptional<z$2.ZodString>;
474
+ reason: z$2.ZodObject<{
479
475
  en: z$2.ZodString;
480
476
  "zh-CN": z$2.ZodOptional<z$2.ZodString>;
481
477
  "zh-Hant": z$2.ZodOptional<z$2.ZodString>;
482
478
  }, z$2.core.$strip>;
483
- icon: z$2.ZodString;
484
- tutorialUrl: z$2.ZodOptional<z$2.ZodURL>;
485
- readmeUrl: z$2.ZodOptional<z$2.ZodURL>;
486
- repoUrl: z$2.ZodOptional<z$2.ZodURL>;
487
- permission: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
488
- description: z$2.ZodOptional<z$2.ZodObject<{
489
- en: z$2.ZodString;
490
- "zh-CN": z$2.ZodOptional<z$2.ZodString>;
491
- "zh-Hant": z$2.ZodOptional<z$2.ZodString>;
492
- }, z$2.core.$strip>>;
493
- tags: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
494
- versionDescription: z$2.ZodOptional<z$2.ZodObject<{
495
- en: z$2.ZodString;
496
- "zh-CN": z$2.ZodOptional<z$2.ZodString>;
497
- "zh-Hant": z$2.ZodOptional<z$2.ZodString>;
479
+ }, z$2.core.$strip>;
480
+ declare const PluginUploadResponseDTOSchema: z$2.ZodObject<{
481
+ plugins: z$2.ZodArray<z$2.ZodObject<{
482
+ pluginId: z$2.ZodString;
483
+ version: z$2.ZodString;
484
+ etag: z$2.ZodString;
485
+ type: z$2.ZodString;
486
+ author: z$2.ZodOptional<z$2.ZodString>;
487
+ name: z$2.ZodObject<{
488
+ en: z$2.ZodString;
489
+ "zh-CN": z$2.ZodOptional<z$2.ZodString>;
490
+ "zh-Hant": z$2.ZodOptional<z$2.ZodString>;
491
+ }, z$2.core.$strip>;
492
+ icon: z$2.ZodString;
493
+ tutorialUrl: z$2.ZodOptional<z$2.ZodURL>;
494
+ readmeUrl: z$2.ZodOptional<z$2.ZodURL>;
495
+ repoUrl: z$2.ZodOptional<z$2.ZodURL>;
496
+ permission: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
497
+ description: z$2.ZodOptional<z$2.ZodObject<{
498
+ en: z$2.ZodString;
499
+ "zh-CN": z$2.ZodOptional<z$2.ZodString>;
500
+ "zh-Hant": z$2.ZodOptional<z$2.ZodString>;
501
+ }, z$2.core.$strip>>;
502
+ tags: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
503
+ versionDescription: z$2.ZodOptional<z$2.ZodObject<{
504
+ en: z$2.ZodString;
505
+ "zh-CN": z$2.ZodOptional<z$2.ZodString>;
506
+ "zh-Hant": z$2.ZodOptional<z$2.ZodString>;
507
+ }, z$2.core.$strip>>;
498
508
  }, z$2.core.$strip>>;
499
- }, z$2.core.$strip>>;
509
+ failed: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
510
+ fileName: z$2.ZodOptional<z$2.ZodString>;
511
+ reason: z$2.ZodObject<{
512
+ en: z$2.ZodString;
513
+ "zh-CN": z$2.ZodOptional<z$2.ZodString>;
514
+ "zh-Hant": z$2.ZodOptional<z$2.ZodString>;
515
+ }, z$2.core.$strip>;
516
+ }, z$2.core.$strip>>>;
517
+ }, z$2.core.$strip>;
500
518
  declare const PluginPruneDisabledResponseDTOSchema: z$2.ZodObject<{
501
519
  count: z$2.ZodNumber;
502
520
  plugins: z$2.ZodArray<z$2.ZodObject<{
@@ -574,6 +592,7 @@ declare const PluginVersionListParamsSchema: z$2.ZodObject<{
574
592
  }, z$2.core.$strip>;
575
593
  declare const PluginRuntimeConfigSchema: z$2.ZodObject<{}, z$2.core.$catchall<z$2.ZodUnknown>>;
576
594
  type PluginDTOType = z$2.infer<typeof PluginBaseDTOSchema>;
595
+ type PluginUploadFailureDTOType = z$2.infer<typeof PluginUploadFailureDTOSchema>;
577
596
  type PluginUploadResponseDTOType = z$2.infer<typeof PluginUploadResponseDTOSchema>;
578
597
  type PluginListDTOType = z$2.infer<typeof PluginListDTOSchema>;
579
598
  type PluginListItemDTOType = z$2.infer<typeof PluginListItemDTOSchema>;
@@ -1220,6 +1239,7 @@ type PluginListItemType = PluginListItemDTOType;
1220
1239
  type PluginListParamsType = Partial<PluginListParamsDTOType>;
1221
1240
  type PluginInstallFailureType = PluginInstallFailureDTOType;
1222
1241
  type PluginInstallResultType = PluginInstallResponseDTOType;
1242
+ type PluginUploadFailureType = PluginUploadFailureDTOType;
1223
1243
  type PluginTagListItemType = PluginTagListType[number];
1224
1244
  type PluginPruneDisabledResultType = PluginPruneDisabledResponseDTOType;
1225
1245
  type PluginRuntimeConfigType = PluginRuntimeConfigDTOType;
@@ -1362,5 +1382,5 @@ type AIProxyChannelsType = {
1362
1382
  avatar: string;
1363
1383
  }[];
1364
1384
  //#endregion
1365
- export { type AIProxyChannelsType, type AIProxyChannelItemType as AiproxyMapProviderItemType, type ClientRequestOptions, type EmbeddingModelItemType, FastGPTPluginClient, type FastGPTPluginClientOptions, type I18nStringStrictType, type I18nStringType, type JsonObject, type LLMModelItemType, type ModelItemType, type ModelListType, type ModelProviderItemType, type ModelProviderListType, type ParsePkgParams, type ParsedPkgFile, type ParsedPkgFiles, type PluginInstallFailureType, type PluginInstallResultType, type PluginListItemType, type PluginListParamsType, type PluginListType, PluginPermissionEnum, PluginPermissionEnumSchema, type PluginPermissionEnumType, type PluginPruneDisabledResultType, type PluginRuntimeConfigType, type PluginSourceType, type PluginSummaryType, type PluginTagListItemType, type PluginTagListType, type PluginTagType, type PluginTypeType, type PluginUniqueIdType, type PluginUploadResultType, type PluginVersionItemType, type PluginVersionListParamsType, type PluginVersionListType, type RerankModelItemType, type RunToolStreamParams, RunToolWithStream, type STTModelItemType, type SystemVarType, type TTSModelItemType, type ToolAnswerType, type ToolDetailType, type ToolGetParamsType, type ToolHandlerReturnType, type ToolListItemType, type ToolListParamsType, type ToolListType, type ToolRunInputType, type ToolStreamMessageType, type WorkflowListType, type WorkflowTemplateType, parsePkg, pluginTagList };
1385
+ export { type AIProxyChannelsType, type AIProxyChannelItemType as AiproxyMapProviderItemType, type ClientRequestOptions, type EmbeddingModelItemType, FastGPTPluginClient, type FastGPTPluginClientOptions, type I18nStringStrictType, type I18nStringType, type JsonObject, type LLMModelItemType, type ModelItemType, type ModelListType, type ModelProviderItemType, type ModelProviderListType, type ParsePkgParams, type ParsedPkgFile, type ParsedPkgFiles, type PluginInstallFailureType, type PluginInstallResultType, type PluginListItemType, type PluginListParamsType, type PluginListType, PluginPermissionEnum, PluginPermissionEnumSchema, type PluginPermissionEnumType, type PluginPruneDisabledResultType, type PluginRuntimeConfigType, type PluginSourceType, type PluginSummaryType, type PluginTagListItemType, type PluginTagListType, type PluginTagType, type PluginTypeType, type PluginUniqueIdType, type PluginUploadFailureType, type PluginUploadResultType, type PluginVersionItemType, type PluginVersionListParamsType, type PluginVersionListType, type RerankModelItemType, type RunToolStreamParams, RunToolWithStream, type STTModelItemType, type SystemVarType, type TTSModelItemType, type ToolAnswerType, type ToolDetailType, type ToolGetParamsType, type ToolHandlerReturnType, type ToolListItemType, type ToolListParamsType, type ToolListType, type ToolRunInputType, type ToolStreamMessageType, type WorkflowListType, type WorkflowTemplateType, parsePkg, pluginTagList };
1366
1386
  //# sourceMappingURL=index.d.ts.map