@fastgpt-plugin/sdk-client 0.1.0-alpha.4 → 1.1.0
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 +67 -41
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ declare const PluginBaseDTOSchema: z.ZodObject<{
|
|
|
148
148
|
author: z.ZodOptional<z.ZodString>;
|
|
149
149
|
name: z.ZodObject<{
|
|
150
150
|
en: z.ZodString;
|
|
151
|
-
"zh-CN": z.
|
|
151
|
+
"zh-CN": z.ZodString;
|
|
152
152
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
153
153
|
}, z.core.$strip>;
|
|
154
154
|
icon: z.ZodString;
|
|
@@ -158,13 +158,13 @@ declare const PluginBaseDTOSchema: z.ZodObject<{
|
|
|
158
158
|
permission: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
159
|
description: z.ZodOptional<z.ZodObject<{
|
|
160
160
|
en: z.ZodString;
|
|
161
|
-
"zh-CN": z.
|
|
161
|
+
"zh-CN": z.ZodString;
|
|
162
162
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
163
163
|
}, z.core.$strip>>;
|
|
164
164
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
165
|
versionDescription: z.ZodOptional<z.ZodObject<{
|
|
166
166
|
en: z.ZodString;
|
|
167
|
-
"zh-CN": z.
|
|
167
|
+
"zh-CN": z.ZodString;
|
|
168
168
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
169
169
|
}, z.core.$strip>>;
|
|
170
170
|
}, z.core.$strip>;
|
|
@@ -172,12 +172,12 @@ declare const PluginListItemDTOSchema: z.ZodObject<{
|
|
|
172
172
|
type: z.ZodString;
|
|
173
173
|
name: z.ZodObject<{
|
|
174
174
|
en: z.ZodString;
|
|
175
|
-
"zh-CN": z.
|
|
175
|
+
"zh-CN": z.ZodString;
|
|
176
176
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
177
177
|
}, z.core.$strip>;
|
|
178
178
|
description: z.ZodOptional<z.ZodObject<{
|
|
179
179
|
en: z.ZodString;
|
|
180
|
-
"zh-CN": z.
|
|
180
|
+
"zh-CN": z.ZodString;
|
|
181
181
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
182
182
|
}, z.core.$strip>>;
|
|
183
183
|
pluginId: z.ZodString;
|
|
@@ -195,12 +195,12 @@ declare const PluginListDTOSchema: z.ZodArray<z.ZodObject<{
|
|
|
195
195
|
type: z.ZodString;
|
|
196
196
|
name: z.ZodObject<{
|
|
197
197
|
en: z.ZodString;
|
|
198
|
-
"zh-CN": z.
|
|
198
|
+
"zh-CN": z.ZodString;
|
|
199
199
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
200
200
|
}, z.core.$strip>;
|
|
201
201
|
description: z.ZodOptional<z.ZodObject<{
|
|
202
202
|
en: z.ZodString;
|
|
203
|
-
"zh-CN": z.
|
|
203
|
+
"zh-CN": z.ZodString;
|
|
204
204
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
205
205
|
}, z.core.$strip>>;
|
|
206
206
|
pluginId: z.ZodString;
|
|
@@ -218,7 +218,7 @@ declare const PluginUploadFailureDTOSchema: z.ZodObject<{
|
|
|
218
218
|
fileName: z.ZodOptional<z.ZodString>;
|
|
219
219
|
reason: z.ZodObject<{
|
|
220
220
|
en: z.ZodString;
|
|
221
|
-
"zh-CN": z.
|
|
221
|
+
"zh-CN": z.ZodString;
|
|
222
222
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
223
223
|
}, z.core.$strip>;
|
|
224
224
|
}, z.core.$strip>;
|
|
@@ -231,7 +231,7 @@ declare const PluginUploadResponseDTOSchema: z.ZodObject<{
|
|
|
231
231
|
author: z.ZodOptional<z.ZodString>;
|
|
232
232
|
name: z.ZodObject<{
|
|
233
233
|
en: z.ZodString;
|
|
234
|
-
"zh-CN": z.
|
|
234
|
+
"zh-CN": z.ZodString;
|
|
235
235
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
236
236
|
}, z.core.$strip>;
|
|
237
237
|
icon: z.ZodString;
|
|
@@ -241,13 +241,13 @@ declare const PluginUploadResponseDTOSchema: z.ZodObject<{
|
|
|
241
241
|
permission: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
242
242
|
description: z.ZodOptional<z.ZodObject<{
|
|
243
243
|
en: z.ZodString;
|
|
244
|
-
"zh-CN": z.
|
|
244
|
+
"zh-CN": z.ZodString;
|
|
245
245
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
246
246
|
}, z.core.$strip>>;
|
|
247
247
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
248
|
versionDescription: z.ZodOptional<z.ZodObject<{
|
|
249
249
|
en: z.ZodString;
|
|
250
|
-
"zh-CN": z.
|
|
250
|
+
"zh-CN": z.ZodString;
|
|
251
251
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
252
252
|
}, z.core.$strip>>;
|
|
253
253
|
}, z.core.$strip>>;
|
|
@@ -255,11 +255,30 @@ declare const PluginUploadResponseDTOSchema: z.ZodObject<{
|
|
|
255
255
|
fileName: z.ZodOptional<z.ZodString>;
|
|
256
256
|
reason: z.ZodObject<{
|
|
257
257
|
en: z.ZodString;
|
|
258
|
-
"zh-CN": z.
|
|
258
|
+
"zh-CN": z.ZodString;
|
|
259
259
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
260
260
|
}, z.core.$strip>;
|
|
261
261
|
}, z.core.$strip>>>;
|
|
262
262
|
}, z.core.$strip>;
|
|
263
|
+
declare const PluginConfirmResultDTOSchema: z.ZodObject<{
|
|
264
|
+
confirmed: z.ZodArray<z.ZodObject<{
|
|
265
|
+
pluginId: z.ZodString;
|
|
266
|
+
version: z.ZodString;
|
|
267
|
+
etag: z.ZodString;
|
|
268
|
+
}, z.core.$strip>>;
|
|
269
|
+
failed: z.ZodArray<z.ZodObject<{
|
|
270
|
+
uniqueId: z.ZodObject<{
|
|
271
|
+
pluginId: z.ZodString;
|
|
272
|
+
version: z.ZodString;
|
|
273
|
+
etag: z.ZodString;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
reason: z.ZodObject<{
|
|
276
|
+
en: z.ZodString;
|
|
277
|
+
"zh-CN": z.ZodString;
|
|
278
|
+
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
}, z.core.$strip>>;
|
|
281
|
+
}, z.core.$strip>;
|
|
263
282
|
declare const PluginPruneDisabledResponseDTOSchema: z.ZodObject<{
|
|
264
283
|
count: z.ZodNumber;
|
|
265
284
|
plugins: z.ZodArray<z.ZodObject<{
|
|
@@ -268,16 +287,21 @@ declare const PluginPruneDisabledResponseDTOSchema: z.ZodObject<{
|
|
|
268
287
|
etag: z.ZodString;
|
|
269
288
|
}, z.core.$strip>>;
|
|
270
289
|
}, z.core.$strip>;
|
|
271
|
-
declare const PluginDeleteParamsSchema: z.ZodObject<{
|
|
290
|
+
declare const PluginDeleteParamsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
272
291
|
pluginId: z.ZodString;
|
|
273
292
|
source: z.ZodString;
|
|
274
293
|
version: z.ZodString;
|
|
275
|
-
|
|
294
|
+
scope: z.ZodOptional<z.ZodLiteral<"version">>;
|
|
295
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
296
|
+
pluginId: z.ZodString;
|
|
297
|
+
source: z.ZodString;
|
|
298
|
+
scope: z.ZodLiteral<"allVersions">;
|
|
299
|
+
}, z.core.$strip>]>;
|
|
276
300
|
declare const PluginInstallFailureDTOSchema: z.ZodObject<{
|
|
277
301
|
url: z.ZodString;
|
|
278
302
|
reason: z.ZodObject<{
|
|
279
303
|
en: z.ZodString;
|
|
280
|
-
"zh-CN": z.
|
|
304
|
+
"zh-CN": z.ZodString;
|
|
281
305
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
282
306
|
}, z.core.$strip>;
|
|
283
307
|
}, z.core.$strip>;
|
|
@@ -291,7 +315,7 @@ declare const PluginInstallDTOSchema: {
|
|
|
291
315
|
url: z.ZodString;
|
|
292
316
|
reason: z.ZodObject<{
|
|
293
317
|
en: z.ZodString;
|
|
294
|
-
"zh-CN": z.
|
|
318
|
+
"zh-CN": z.ZodString;
|
|
295
319
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
296
320
|
}, z.core.$strip>;
|
|
297
321
|
}, z.core.$strip>>>;
|
|
@@ -325,7 +349,7 @@ declare const PluginVersionItemDTOSchema: z.ZodObject<{
|
|
|
325
349
|
version: z.ZodString;
|
|
326
350
|
versionDescription: z.ZodOptional<z.ZodObject<{
|
|
327
351
|
en: z.ZodString;
|
|
328
|
-
"zh-CN": z.
|
|
352
|
+
"zh-CN": z.ZodString;
|
|
329
353
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
330
354
|
}, z.core.$strip>>;
|
|
331
355
|
}, z.core.$strip>;
|
|
@@ -333,7 +357,7 @@ declare const PluginVersionListDTOSchema: z.ZodArray<z.ZodObject<{
|
|
|
333
357
|
version: z.ZodString;
|
|
334
358
|
versionDescription: z.ZodOptional<z.ZodObject<{
|
|
335
359
|
en: z.ZodString;
|
|
336
|
-
"zh-CN": z.
|
|
360
|
+
"zh-CN": z.ZodString;
|
|
337
361
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
338
362
|
}, z.core.$strip>>;
|
|
339
363
|
}, z.core.$strip>>;
|
|
@@ -352,6 +376,7 @@ type PluginUploadFailureDTOType = z.infer<typeof PluginUploadFailureDTOSchema>;
|
|
|
352
376
|
type PluginUploadResponseDTOType = z.infer<typeof PluginUploadResponseDTOSchema>;
|
|
353
377
|
type PluginListDTOType = z.infer<typeof PluginListDTOSchema>;
|
|
354
378
|
type PluginListItemDTOType = z.infer<typeof PluginListItemDTOSchema>;
|
|
379
|
+
type PluginConfirmResultDTOType = z.infer<typeof PluginConfirmResultDTOSchema>;
|
|
355
380
|
type PluginPruneDisabledResponseDTOType = z.infer<typeof PluginPruneDisabledResponseDTOSchema>;
|
|
356
381
|
type PluginDeleteParamsDTOType = z.infer<typeof PluginDeleteParamsSchema>;
|
|
357
382
|
type PluginInstallFailureDTOType = z.infer<typeof PluginInstallFailureDTOSchema>;
|
|
@@ -417,12 +442,12 @@ declare const PluginDebugSessionStatusResponseDTOSchema: z$1.ZodObject<{
|
|
|
417
442
|
type: z$1.ZodString;
|
|
418
443
|
name: z$1.ZodObject<{
|
|
419
444
|
en: z$1.ZodString;
|
|
420
|
-
"zh-CN": z$1.
|
|
445
|
+
"zh-CN": z$1.ZodString;
|
|
421
446
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
422
447
|
}, z$1.core.$strip>;
|
|
423
448
|
description: z$1.ZodOptional<z$1.ZodObject<{
|
|
424
449
|
en: z$1.ZodString;
|
|
425
|
-
"zh-CN": z$1.
|
|
450
|
+
"zh-CN": z$1.ZodString;
|
|
426
451
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
427
452
|
}, z$1.core.$strip>>;
|
|
428
453
|
pluginId: z$1.ZodString;
|
|
@@ -495,12 +520,12 @@ declare const ToolListItemDTOSchema: z.ZodObject<{
|
|
|
495
520
|
id: z.ZodString;
|
|
496
521
|
name: z.ZodObject<{
|
|
497
522
|
en: z.ZodString;
|
|
498
|
-
"zh-CN": z.
|
|
523
|
+
"zh-CN": z.ZodString;
|
|
499
524
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
500
525
|
}, z.core.$strip>;
|
|
501
526
|
description: z.ZodOptional<z.ZodObject<{
|
|
502
527
|
en: z.ZodString;
|
|
503
|
-
"zh-CN": z.
|
|
528
|
+
"zh-CN": z.ZodString;
|
|
504
529
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
505
530
|
}, z.core.$strip>>;
|
|
506
531
|
toolDescription: z.ZodString;
|
|
@@ -511,12 +536,12 @@ declare const ToolListItemDTOSchema: z.ZodObject<{
|
|
|
511
536
|
type: z.ZodLiteral<"tool">;
|
|
512
537
|
name: z.ZodObject<{
|
|
513
538
|
en: z.ZodString;
|
|
514
|
-
"zh-CN": z.
|
|
539
|
+
"zh-CN": z.ZodString;
|
|
515
540
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
516
541
|
}, z.core.$strip>;
|
|
517
542
|
description: z.ZodObject<{
|
|
518
543
|
en: z.ZodString;
|
|
519
|
-
"zh-CN": z.
|
|
544
|
+
"zh-CN": z.ZodString;
|
|
520
545
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
521
546
|
}, z.core.$strip>;
|
|
522
547
|
pluginId: z.ZodString;
|
|
@@ -549,12 +574,12 @@ declare const ToolListDTOSchema: z.ZodArray<z.ZodObject<{
|
|
|
549
574
|
id: z.ZodString;
|
|
550
575
|
name: z.ZodObject<{
|
|
551
576
|
en: z.ZodString;
|
|
552
|
-
"zh-CN": z.
|
|
577
|
+
"zh-CN": z.ZodString;
|
|
553
578
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
554
579
|
}, z.core.$strip>;
|
|
555
580
|
description: z.ZodOptional<z.ZodObject<{
|
|
556
581
|
en: z.ZodString;
|
|
557
|
-
"zh-CN": z.
|
|
582
|
+
"zh-CN": z.ZodString;
|
|
558
583
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
559
584
|
}, z.core.$strip>>;
|
|
560
585
|
toolDescription: z.ZodString;
|
|
@@ -565,12 +590,12 @@ declare const ToolListDTOSchema: z.ZodArray<z.ZodObject<{
|
|
|
565
590
|
type: z.ZodLiteral<"tool">;
|
|
566
591
|
name: z.ZodObject<{
|
|
567
592
|
en: z.ZodString;
|
|
568
|
-
"zh-CN": z.
|
|
593
|
+
"zh-CN": z.ZodString;
|
|
569
594
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
570
595
|
}, z.core.$strip>;
|
|
571
596
|
description: z.ZodObject<{
|
|
572
597
|
en: z.ZodString;
|
|
573
|
-
"zh-CN": z.
|
|
598
|
+
"zh-CN": z.ZodString;
|
|
574
599
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
575
600
|
}, z.core.$strip>;
|
|
576
601
|
pluginId: z.ZodString;
|
|
@@ -611,12 +636,12 @@ declare const ToolDetailDTOSchema: z.ZodObject<{
|
|
|
611
636
|
id: z.ZodString;
|
|
612
637
|
name: z.ZodObject<{
|
|
613
638
|
en: z.ZodString;
|
|
614
|
-
"zh-CN": z.
|
|
639
|
+
"zh-CN": z.ZodString;
|
|
615
640
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
616
641
|
}, z.core.$strip>;
|
|
617
642
|
description: z.ZodOptional<z.ZodObject<{
|
|
618
643
|
en: z.ZodString;
|
|
619
|
-
"zh-CN": z.
|
|
644
|
+
"zh-CN": z.ZodString;
|
|
620
645
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
621
646
|
}, z.core.$strip>>;
|
|
622
647
|
icon: z.ZodString;
|
|
@@ -631,7 +656,7 @@ declare const ToolDetailDTOSchema: z.ZodObject<{
|
|
|
631
656
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
632
657
|
name: z.ZodObject<{
|
|
633
658
|
en: z.ZodString;
|
|
634
|
-
"zh-CN": z.
|
|
659
|
+
"zh-CN": z.ZodString;
|
|
635
660
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
636
661
|
}, z.core.$strip>;
|
|
637
662
|
icon: z.ZodString;
|
|
@@ -639,7 +664,7 @@ declare const ToolDetailDTOSchema: z.ZodObject<{
|
|
|
639
664
|
readmeUrl: z.ZodOptional<z.ZodURL>;
|
|
640
665
|
description: z.ZodObject<{
|
|
641
666
|
en: z.ZodString;
|
|
642
|
-
"zh-CN": z.
|
|
667
|
+
"zh-CN": z.ZodString;
|
|
643
668
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
644
669
|
}, z.core.$strip>;
|
|
645
670
|
tags: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -658,7 +683,7 @@ declare const ToolDetailDTOSchema: z.ZodObject<{
|
|
|
658
683
|
}>>>;
|
|
659
684
|
versionDescription: z.ZodOptional<z.ZodObject<{
|
|
660
685
|
en: z.ZodString;
|
|
661
|
-
"zh-CN": z.
|
|
686
|
+
"zh-CN": z.ZodString;
|
|
662
687
|
"zh-Hant": z.ZodOptional<z.ZodString>;
|
|
663
688
|
}, z.core.$strip>>;
|
|
664
689
|
permission: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -923,12 +948,12 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
923
948
|
id: z$1.ZodString;
|
|
924
949
|
name: z$1.ZodObject<{
|
|
925
950
|
en: z$1.ZodString;
|
|
926
|
-
"zh-CN": z$1.
|
|
951
|
+
"zh-CN": z$1.ZodString;
|
|
927
952
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
928
953
|
}, z$1.core.$strip>;
|
|
929
954
|
description: z$1.ZodOptional<z$1.ZodObject<{
|
|
930
955
|
en: z$1.ZodString;
|
|
931
|
-
"zh-CN": z$1.
|
|
956
|
+
"zh-CN": z$1.ZodString;
|
|
932
957
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
933
958
|
}, z$1.core.$strip>>;
|
|
934
959
|
icon: z$1.ZodString;
|
|
@@ -943,7 +968,7 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
943
968
|
repoUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
944
969
|
name: z$1.ZodObject<{
|
|
945
970
|
en: z$1.ZodString;
|
|
946
|
-
"zh-CN": z$1.
|
|
971
|
+
"zh-CN": z$1.ZodString;
|
|
947
972
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
948
973
|
}, z$1.core.$strip>;
|
|
949
974
|
icon: z$1.ZodString;
|
|
@@ -951,7 +976,7 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
951
976
|
readmeUrl: z$1.ZodOptional<z$1.ZodURL>;
|
|
952
977
|
description: z$1.ZodObject<{
|
|
953
978
|
en: z$1.ZodString;
|
|
954
|
-
"zh-CN": z$1.
|
|
979
|
+
"zh-CN": z$1.ZodString;
|
|
955
980
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
956
981
|
}, z$1.core.$strip>;
|
|
957
982
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -970,7 +995,7 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
970
995
|
}>>>;
|
|
971
996
|
versionDescription: z$1.ZodOptional<z$1.ZodObject<{
|
|
972
997
|
en: z$1.ZodString;
|
|
973
|
-
"zh-CN": z$1.
|
|
998
|
+
"zh-CN": z$1.ZodString;
|
|
974
999
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
975
1000
|
}, z$1.core.$strip>>;
|
|
976
1001
|
permission: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -1010,7 +1035,7 @@ type PluginType = ToolType;
|
|
|
1010
1035
|
//#region ../../packages/domain/src/value-objects/i18n-string.vo.d.ts
|
|
1011
1036
|
declare const I18nStringSchema: z$1.ZodObject<{
|
|
1012
1037
|
en: z$1.ZodString;
|
|
1013
|
-
"zh-CN": z$1.
|
|
1038
|
+
"zh-CN": z$1.ZodString;
|
|
1014
1039
|
"zh-Hant": z$1.ZodOptional<z$1.ZodString>;
|
|
1015
1040
|
}, z$1.core.$strip>;
|
|
1016
1041
|
type I18nStringType = z$1.infer<typeof I18nStringSchema>;
|
|
@@ -1098,6 +1123,7 @@ type PluginListParamsType = Partial<PluginListParamsDTOType>;
|
|
|
1098
1123
|
type PluginInstallFailureType = PluginInstallFailureDTOType;
|
|
1099
1124
|
type PluginInstallResultType = PluginInstallResponseDTOType;
|
|
1100
1125
|
type PluginDeleteParamsType = PluginDeleteParamsDTOType;
|
|
1126
|
+
type PluginConfirmResultType = PluginConfirmResultDTOType;
|
|
1101
1127
|
type PluginUploadFailureType = PluginUploadFailureDTOType;
|
|
1102
1128
|
type PluginTagListItemType = PluginTagListType[number];
|
|
1103
1129
|
type PluginPruneDisabledResultType = PluginPruneDisabledResponseDTOType;
|
|
@@ -1153,7 +1179,7 @@ declare class FastGPTPluginClient {
|
|
|
1153
1179
|
})[], requestOptions?: ClientRequestOptions & {
|
|
1154
1180
|
source?: PluginSourceType;
|
|
1155
1181
|
}): Promise<PluginUploadResultType>;
|
|
1156
|
-
confirmPlugin(uniqueIds: PluginUniqueIdType[], requestOptions?: PluginSourceRequestOptions): Promise<
|
|
1182
|
+
confirmPlugin(uniqueIds: PluginUniqueIdType[], requestOptions?: PluginSourceRequestOptions): Promise<PluginConfirmResultType>;
|
|
1157
1183
|
pruneDisabledPlugins(requestOptions?: ClientRequestOptions): Promise<PluginPruneDisabledResultType>;
|
|
1158
1184
|
installPlugins(urls: string[], requestOptions?: PluginSourceRequestOptions): Promise<PluginInstallResultType>;
|
|
1159
1185
|
deletePlugin(params: PluginDeleteParamsType, requestOptions?: ClientRequestOptions): Promise<void>;
|
|
@@ -1267,5 +1293,5 @@ type AIProxyChannelsType = {
|
|
|
1267
1293
|
avatar: string;
|
|
1268
1294
|
}[];
|
|
1269
1295
|
//#endregion
|
|
1270
|
-
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 PluginDebugSessionConnectionKeyExchangeParamsType, type PluginDebugSessionConnectionKeyExchangeResultType, type PluginDebugSessionCreateParamsType, type PluginDebugSessionCreateResultType, type PluginDebugSessionRevokeParamsType, type PluginDebugSessionRevokeResultType, type PluginDebugSessionStatusParamsType, type PluginDebugSessionStatusResultType, type PluginDebugSessionStatusType, type PluginDeleteParamsType, type PluginInstallFailureType, type PluginInstallResultType, type PluginListItemType, type PluginListParamsType, type PluginListType, PluginPermissionEnum, PluginPermissionEnumSchema, type PluginPermissionEnumType, type PluginPruneDisabledResultType, type PluginRuntimeConfigType, type PluginServiceFeaturesType, type PluginSourceRequestOptions, 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 };
|
|
1296
|
+
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 PluginConfirmResultType, type PluginDebugSessionConnectionKeyExchangeParamsType, type PluginDebugSessionConnectionKeyExchangeResultType, type PluginDebugSessionCreateParamsType, type PluginDebugSessionCreateResultType, type PluginDebugSessionRevokeParamsType, type PluginDebugSessionRevokeResultType, type PluginDebugSessionStatusParamsType, type PluginDebugSessionStatusResultType, type PluginDebugSessionStatusType, type PluginDeleteParamsType, type PluginInstallFailureType, type PluginInstallResultType, type PluginListItemType, type PluginListParamsType, type PluginListType, PluginPermissionEnum, PluginPermissionEnumSchema, type PluginPermissionEnumType, type PluginPruneDisabledResultType, type PluginRuntimeConfigType, type PluginServiceFeaturesType, type PluginSourceRequestOptions, 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 };
|
|
1271
1297
|
//# sourceMappingURL=index.d.ts.map
|