fusio-sdk 6.4.0 → 7.0.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 CHANGED
@@ -209,6 +209,33 @@ interface CommonCollection<T> {
209
209
  interface BackendActionCollection extends CommonCollection<BackendAction> {
210
210
  }
211
211
 
212
+ /**
213
+ * BackendActionCommit automatically generated by SDKgen please do not edit this file manually
214
+ * {@link https://sdkgen.app}
215
+ */
216
+
217
+ /**
218
+ * An action commit which represents a change in the action configuration
219
+ */
220
+ interface BackendActionCommit {
221
+ id?: number;
222
+ user?: BackendUser;
223
+ commitHash?: string;
224
+ config?: BackendActionConfig;
225
+ insertDate?: string;
226
+ }
227
+
228
+ /**
229
+ * BackendActionCommitCollection automatically generated by SDKgen please do not edit this file manually
230
+ * {@link https://sdkgen.app}
231
+ */
232
+
233
+ /**
234
+ * A paginated collection of action commit objects
235
+ */
236
+ interface BackendActionCommitCollection extends CommonCollection<BackendActionCommit> {
237
+ }
238
+
212
239
  /**
213
240
  * BackendActionCreate automatically generated by SDKgen please do not edit this file manually
214
241
  * {@link https://sdkgen.app}
@@ -313,21 +340,88 @@ interface BackendActionUpdate extends BackendAction {
313
340
  * CommonFormElement automatically generated by SDKgen please do not edit this file manually
314
341
  * {@link https://sdkgen.app}
315
342
  */
343
+ /**
344
+ * Form base element
345
+ */
316
346
  interface CommonFormElement {
317
- type?: string;
318
347
  element?: string;
319
348
  name?: string;
320
349
  title?: string;
321
350
  help?: string;
322
351
  }
323
352
 
353
+ /**
354
+ * CommonFormElementInput automatically generated by SDKgen please do not edit this file manually
355
+ * {@link https://sdkgen.app}
356
+ */
357
+
358
+ /**
359
+ * Form element which represents an input element
360
+ */
361
+ interface CommonFormElementInput extends CommonFormElement {
362
+ type: "http://fusio-project.org/ns/2015/form/input";
363
+ }
364
+
365
+ /**
366
+ * CommonFormElementSelectOption automatically generated by SDKgen please do not edit this file manually
367
+ * {@link https://sdkgen.app}
368
+ */
369
+ /**
370
+ * Represents a concrete option entry
371
+ */
372
+ interface CommonFormElementSelectOption {
373
+ key?: string;
374
+ value?: string;
375
+ }
376
+
377
+ /**
378
+ * CommonFormElementSelect automatically generated by SDKgen please do not edit this file manually
379
+ * {@link https://sdkgen.app}
380
+ */
381
+
382
+ /**
383
+ * Form element which represents a select element
384
+ */
385
+ interface CommonFormElementSelect extends CommonFormElement {
386
+ type: "http://fusio-project.org/ns/2015/form/select";
387
+ options?: Array<CommonFormElementSelectOption>;
388
+ }
389
+
390
+ /**
391
+ * CommonFormElementTag automatically generated by SDKgen please do not edit this file manually
392
+ * {@link https://sdkgen.app}
393
+ */
394
+
395
+ /**
396
+ * Form element which represents an input tag editor to enter comma-separated values
397
+ */
398
+ interface CommonFormElementTag extends CommonFormElement {
399
+ type: "http://fusio-project.org/ns/2015/form/tag";
400
+ }
401
+
402
+ /**
403
+ * CommonFormElementTextArea automatically generated by SDKgen please do not edit this file manually
404
+ * {@link https://sdkgen.app}
405
+ */
406
+
407
+ /**
408
+ * Form element which represents a textarea
409
+ */
410
+ interface CommonFormElementTextArea extends CommonFormElement {
411
+ type: "http://fusio-project.org/ns/2015/form/textarea";
412
+ mode?: string;
413
+ }
414
+
324
415
  /**
325
416
  * CommonFormContainer automatically generated by SDKgen please do not edit this file manually
326
417
  * {@link https://sdkgen.app}
327
418
  */
328
419
 
420
+ /**
421
+ * Represents a config form with a list of elements
422
+ */
329
423
  interface CommonFormContainer {
330
- element?: Array<CommonFormElement>;
424
+ element?: Array<CommonFormElementInput | CommonFormElementSelect | CommonFormElementTag | CommonFormElementTextArea>;
331
425
  }
332
426
 
333
427
  /**
@@ -353,7 +447,7 @@ declare class BackendActionTag extends TagAbstract {
353
447
  */
354
448
  delete(actionId: string): Promise<CommonMessage>;
355
449
  /**
356
- * Executes a specific action
450
+ * Executes a specific action. This method should be used to test an action configuration
357
451
  *
358
452
  * @returns {Promise<BackendActionExecuteResponse>}
359
453
  * @throws {CommonMessageException}
@@ -384,6 +478,14 @@ declare class BackendActionTag extends TagAbstract {
384
478
  * @throws {ClientException}
385
479
  */
386
480
  getClasses(): Promise<BackendActionIndex>;
481
+ /**
482
+ * Returns a paginated list of action commits
483
+ *
484
+ * @returns {Promise<BackendActionCommitCollection>}
485
+ * @throws {CommonMessageException}
486
+ * @throws {ClientException}
487
+ */
488
+ getCommits(actionId: string, startIndex?: number, count?: number, search?: string): Promise<BackendActionCommitCollection>;
387
489
  /**
388
490
  * Returns the action config form
389
491
  *
@@ -402,6 +504,277 @@ declare class BackendActionTag extends TagAbstract {
402
504
  update(actionId: string, payload: BackendActionUpdate): Promise<CommonMessage>;
403
505
  }
404
506
 
507
+ /**
508
+ * BackendAgent automatically generated by SDKgen please do not edit this file manually
509
+ * {@link https://sdkgen.app}
510
+ */
511
+
512
+ /**
513
+ * This object represents an agent
514
+ */
515
+ interface BackendAgent {
516
+ id?: number;
517
+ connection?: number;
518
+ type?: number;
519
+ name?: string;
520
+ description?: string;
521
+ introduction?: string;
522
+ tools?: Array<string>;
523
+ outgoing?: string;
524
+ action?: string;
525
+ insertDate?: string;
526
+ metadata?: CommonMetadata;
527
+ }
528
+
529
+ /**
530
+ * BackendAgentCollection automatically generated by SDKgen please do not edit this file manually
531
+ * {@link https://sdkgen.app}
532
+ */
533
+
534
+ /**
535
+ * Represents a collection of agent messages
536
+ */
537
+ interface BackendAgentCollection extends CommonCollection<BackendAgent> {
538
+ }
539
+
540
+ /**
541
+ * BackendAgentContent automatically generated by SDKgen please do not edit this file manually
542
+ * {@link https://sdkgen.app}
543
+ */
544
+ /**
545
+ * Agent message
546
+ */
547
+ interface BackendAgentContent {
548
+ type?: string;
549
+ metadata?: Record<string, any>;
550
+ }
551
+
552
+ /**
553
+ * BackendAgentContentBinary automatically generated by SDKgen please do not edit this file manually
554
+ * {@link https://sdkgen.app}
555
+ */
556
+
557
+ /**
558
+ * Binary agent message
559
+ */
560
+ interface BackendAgentContentBinary extends BackendAgentContent {
561
+ type: "binary";
562
+ mime?: string;
563
+ data?: string;
564
+ }
565
+
566
+ /**
567
+ * BackendAgentContentObject automatically generated by SDKgen please do not edit this file manually
568
+ * {@link https://sdkgen.app}
569
+ */
570
+
571
+ /**
572
+ * Structured agent message
573
+ */
574
+ interface BackendAgentContentObject extends BackendAgentContent {
575
+ type: "object";
576
+ payload?: any;
577
+ }
578
+
579
+ /**
580
+ * BackendAgentContentText automatically generated by SDKgen please do not edit this file manually
581
+ * {@link https://sdkgen.app}
582
+ */
583
+
584
+ /**
585
+ * Text agent message
586
+ */
587
+ interface BackendAgentContentText extends BackendAgentContent {
588
+ type: "text";
589
+ content?: string;
590
+ }
591
+
592
+ /**
593
+ * BackendAgentContentToolCallFunction automatically generated by SDKgen please do not edit this file manually
594
+ * {@link https://sdkgen.app}
595
+ */
596
+ /**
597
+ * Concrete values for a function tool call
598
+ */
599
+ interface BackendAgentContentToolCallFunction {
600
+ id?: string;
601
+ name?: string;
602
+ arguments?: string;
603
+ }
604
+
605
+ /**
606
+ * BackendAgentContentToolCall automatically generated by SDKgen please do not edit this file manually
607
+ * {@link https://sdkgen.app}
608
+ */
609
+
610
+ /**
611
+ * Tool call agent message
612
+ */
613
+ interface BackendAgentContentToolCall extends BackendAgentContent {
614
+ type: "tool_call";
615
+ functions?: Array<BackendAgentContentToolCallFunction>;
616
+ }
617
+
618
+ /**
619
+ * BackendAgentContentChoice automatically generated by SDKgen please do not edit this file manually
620
+ * {@link https://sdkgen.app}
621
+ */
622
+
623
+ /**
624
+ * Choice agent message
625
+ */
626
+ interface BackendAgentContentChoice extends BackendAgentContent {
627
+ type: "choice";
628
+ items?: Array<BackendAgentContentBinary | BackendAgentContentChoice | BackendAgentContentObject | BackendAgentContentText | BackendAgentContentToolCall>;
629
+ }
630
+
631
+ /**
632
+ * BackendAgentCreate automatically generated by SDKgen please do not edit this file manually
633
+ * {@link https://sdkgen.app}
634
+ */
635
+
636
+ interface BackendAgentCreate extends BackendAgent {
637
+ }
638
+
639
+ /**
640
+ * BackendAgentMessage automatically generated by SDKgen please do not edit this file manually
641
+ * {@link https://sdkgen.app}
642
+ */
643
+
644
+ /**
645
+ * This object represents an agent message
646
+ */
647
+ interface BackendAgentMessage {
648
+ id?: number;
649
+ role?: string;
650
+ content?: BackendAgentContentBinary | BackendAgentContentChoice | BackendAgentContentObject | BackendAgentContentText | BackendAgentContentToolCall;
651
+ insertDate?: string;
652
+ }
653
+
654
+ /**
655
+ * BackendAgentMessageCollection automatically generated by SDKgen please do not edit this file manually
656
+ * {@link https://sdkgen.app}
657
+ */
658
+
659
+ /**
660
+ * Represents a collection of agent messages
661
+ */
662
+ interface BackendAgentMessageCollection extends CommonCollection<BackendAgentMessage> {
663
+ }
664
+
665
+ /**
666
+ * BackendAgentMessageTag automatically generated by SDKgen please do not edit this file manually
667
+ * {@link https://sdkgen.app}
668
+ */
669
+
670
+ declare class BackendAgentMessageTag extends TagAbstract {
671
+ /**
672
+ * Returns a paginated list of agent messages
673
+ *
674
+ * @returns {Promise<BackendAgentMessageCollection>}
675
+ * @throws {CommonMessageException}
676
+ * @throws {ClientException}
677
+ */
678
+ getAll(agentId: string, parent?: number): Promise<BackendAgentMessageCollection>;
679
+ /**
680
+ * Submits a new agent message
681
+ *
682
+ * @returns {Promise<BackendAgentMessage>}
683
+ * @throws {CommonMessageException}
684
+ * @throws {ClientException}
685
+ */
686
+ submit(agentId: string, payload: BackendAgentContent): Promise<BackendAgentMessage>;
687
+ }
688
+
689
+ /**
690
+ * BackendAgentTool automatically generated by SDKgen please do not edit this file manually
691
+ * {@link https://sdkgen.app}
692
+ */
693
+ /**
694
+ * Represents a concrete tool
695
+ */
696
+ interface BackendAgentTool {
697
+ name?: string;
698
+ description?: string;
699
+ }
700
+
701
+ /**
702
+ * BackendAgentTools automatically generated by SDKgen please do not edit this file manually
703
+ * {@link https://sdkgen.app}
704
+ */
705
+
706
+ /**
707
+ * Represents a collection of available tools
708
+ */
709
+ interface BackendAgentTools {
710
+ tools?: Array<BackendAgentTool>;
711
+ }
712
+
713
+ /**
714
+ * BackendAgentUpdate automatically generated by SDKgen please do not edit this file manually
715
+ * {@link https://sdkgen.app}
716
+ */
717
+
718
+ interface BackendAgentUpdate extends BackendAgent {
719
+ }
720
+
721
+ /**
722
+ * BackendAgentTag automatically generated by SDKgen please do not edit this file manually
723
+ * {@link https://sdkgen.app}
724
+ */
725
+
726
+ declare class BackendAgentTag extends TagAbstract {
727
+ message(): BackendAgentMessageTag;
728
+ /**
729
+ * Creates a new agent
730
+ *
731
+ * @returns {Promise<CommonMessage>}
732
+ * @throws {CommonMessageException}
733
+ * @throws {ClientException}
734
+ */
735
+ create(payload: BackendAgentCreate): Promise<CommonMessage>;
736
+ /**
737
+ * Deletes an existing agent
738
+ *
739
+ * @returns {Promise<CommonMessage>}
740
+ * @throws {CommonMessageException}
741
+ * @throws {ClientException}
742
+ */
743
+ delete(agentId: string): Promise<CommonMessage>;
744
+ /**
745
+ * Returns a specific agent
746
+ *
747
+ * @returns {Promise<BackendAgent>}
748
+ * @throws {CommonMessageException}
749
+ * @throws {ClientException}
750
+ */
751
+ get(agentId: string): Promise<BackendAgent>;
752
+ /**
753
+ * Returns a paginated list of agents
754
+ *
755
+ * @returns {Promise<BackendAgentCollection>}
756
+ * @throws {CommonMessageException}
757
+ * @throws {ClientException}
758
+ */
759
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendAgentCollection>;
760
+ /**
761
+ * Returns available tools for an agent
762
+ *
763
+ * @returns {Promise<BackendAgentTools>}
764
+ * @throws {CommonMessageException}
765
+ * @throws {ClientException}
766
+ */
767
+ getTools(): Promise<BackendAgentTools>;
768
+ /**
769
+ * Updates an existing agent
770
+ *
771
+ * @returns {Promise<CommonMessage>}
772
+ * @throws {CommonMessageException}
773
+ * @throws {ClientException}
774
+ */
775
+ update(agentId: string, payload: BackendAgentUpdate): Promise<CommonMessage>;
776
+ }
777
+
405
778
  /**
406
779
  * BackendAppCollection automatically generated by SDKgen please do not edit this file manually
407
780
  * {@link https://sdkgen.app}
@@ -897,6 +1270,22 @@ interface BackendConnection {
897
1270
  metadata?: CommonMetadata;
898
1271
  }
899
1272
 
1273
+ /**
1274
+ * BackendConnectionAgentTag automatically generated by SDKgen please do not edit this file manually
1275
+ * {@link https://sdkgen.app}
1276
+ */
1277
+
1278
+ declare class BackendConnectionAgentTag extends TagAbstract {
1279
+ /**
1280
+ * Sends a message to an agent
1281
+ *
1282
+ * @returns {Promise<BackendAgentContent>}
1283
+ * @throws {CommonMessageException}
1284
+ * @throws {ClientException}
1285
+ */
1286
+ send(connectionId: string, payload: BackendAgentContent): Promise<BackendAgentContent>;
1287
+ }
1288
+
900
1289
  /**
901
1290
  * BackendConnectionCollection automatically generated by SDKgen please do not edit this file manually
902
1291
  * {@link https://sdkgen.app}
@@ -1289,6 +1678,7 @@ interface BackendConnectionUpdate extends BackendConnection {
1289
1678
  */
1290
1679
 
1291
1680
  declare class BackendConnectionTag extends TagAbstract {
1681
+ agent(): BackendConnectionAgentTag;
1292
1682
  database(): BackendConnectionDatabaseTag;
1293
1683
  filesystem(): BackendConnectionFilesystemTag;
1294
1684
  http(): BackendConnectionHttpTag;
@@ -1456,7 +1846,7 @@ declare class BackendCronjobTag extends TagAbstract {
1456
1846
  * @throws {CommonMessageException}
1457
1847
  * @throws {ClientException}
1458
1848
  */
1459
- getAll(startIndex?: number, count?: number, search?: string): Promise<BackendCronjobCollection>;
1849
+ getAll(startIndex?: number, count?: number, search?: string, taxonomy?: number): Promise<BackendCronjobCollection>;
1460
1850
  /**
1461
1851
  * Updates an existing cronjob
1462
1852
  *
@@ -1602,7 +1992,7 @@ declare class BackendEventTag extends TagAbstract {
1602
1992
  * @throws {CommonMessageException}
1603
1993
  * @throws {ClientException}
1604
1994
  */
1605
- getAll(startIndex?: number, count?: number, search?: string): Promise<BackendEventCollection>;
1995
+ getAll(startIndex?: number, count?: number, search?: string, taxonomy?: number): Promise<BackendEventCollection>;
1606
1996
  /**
1607
1997
  * Updates an existing event
1608
1998
  *
@@ -2294,6 +2684,7 @@ interface MarketplaceInstall {
2294
2684
  interface MarketplaceMessage {
2295
2685
  success?: boolean;
2296
2686
  message?: string;
2687
+ id?: string;
2297
2688
  }
2298
2689
 
2299
2690
  /**
@@ -2605,7 +2996,7 @@ declare class BackendOperationTag extends TagAbstract {
2605
2996
  * @throws {CommonMessageException}
2606
2997
  * @throws {ClientException}
2607
2998
  */
2608
- getAll(startIndex?: number, count?: number, search?: string): Promise<BackendOperationCollection>;
2999
+ getAll(startIndex?: number, count?: number, search?: string, taxonomy?: number): Promise<BackendOperationCollection>;
2609
3000
  /**
2610
3001
  * Updates an existing operation
2611
3002
  *
@@ -3012,6 +3403,33 @@ declare class BackendRoleTag extends TagAbstract {
3012
3403
  interface BackendSchemaCollection extends CommonCollection<BackendSchema> {
3013
3404
  }
3014
3405
 
3406
+ /**
3407
+ * BackendSchemaCommit automatically generated by SDKgen please do not edit this file manually
3408
+ * {@link https://sdkgen.app}
3409
+ */
3410
+
3411
+ /**
3412
+ * A schema commit which represents a change in the schema source
3413
+ */
3414
+ interface BackendSchemaCommit {
3415
+ id?: number;
3416
+ user?: BackendUser;
3417
+ commitHash?: string;
3418
+ schema?: BackendSchemaSource;
3419
+ insertDate?: string;
3420
+ }
3421
+
3422
+ /**
3423
+ * BackendSchemaCommitCollection automatically generated by SDKgen please do not edit this file manually
3424
+ * {@link https://sdkgen.app}
3425
+ */
3426
+
3427
+ /**
3428
+ * A paginated collection of schema commit objects
3429
+ */
3430
+ interface BackendSchemaCommitCollection extends CommonCollection<BackendSchemaCommit> {
3431
+ }
3432
+
3015
3433
  /**
3016
3434
  * BackendSchemaCreate automatically generated by SDKgen please do not edit this file manually
3017
3435
  * {@link https://sdkgen.app}
@@ -3073,7 +3491,15 @@ declare class BackendSchemaTag extends TagAbstract {
3073
3491
  * @throws {CommonMessageException}
3074
3492
  * @throws {ClientException}
3075
3493
  */
3076
- getAll(startIndex?: number, count?: number, search?: string): Promise<BackendSchemaCollection>;
3494
+ getAll(startIndex?: number, count?: number, search?: string, taxonomy?: number): Promise<BackendSchemaCollection>;
3495
+ /**
3496
+ * Returns a paginated list of schema commits
3497
+ *
3498
+ * @returns {Promise<BackendSchemaCommitCollection>}
3499
+ * @throws {CommonMessageException}
3500
+ * @throws {ClientException}
3501
+ */
3502
+ getCommits(schemaId: string, startIndex?: number, count?: number, search?: string): Promise<BackendSchemaCommitCollection>;
3077
3503
  /**
3078
3504
  * Returns a HTML preview of the provided schema
3079
3505
  *
@@ -3446,6 +3872,117 @@ declare class BackendStatisticTag extends TagAbstract {
3446
3872
  getUserRegistrations(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3447
3873
  }
3448
3874
 
3875
+ /**
3876
+ * BackendTaxonomy automatically generated by SDKgen please do not edit this file manually
3877
+ * {@link https://sdkgen.app}
3878
+ */
3879
+ /**
3880
+ * This object represents a taxonomy. A taxonomy helps to internally organize operations, actions and other entities
3881
+ */
3882
+ interface BackendTaxonomy {
3883
+ id?: number;
3884
+ parentId?: number;
3885
+ name?: string;
3886
+ }
3887
+
3888
+ /**
3889
+ * BackendTaxonomyCollection automatically generated by SDKgen please do not edit this file manually
3890
+ * {@link https://sdkgen.app}
3891
+ */
3892
+
3893
+ /**
3894
+ * A paginated collection of taxonomy objects
3895
+ */
3896
+ interface BackendTaxonomyCollection extends CommonCollection<BackendTaxonomy> {
3897
+ }
3898
+
3899
+ /**
3900
+ * BackendTaxonomyCreate automatically generated by SDKgen please do not edit this file manually
3901
+ * {@link https://sdkgen.app}
3902
+ */
3903
+
3904
+ interface BackendTaxonomyCreate extends BackendTaxonomy {
3905
+ }
3906
+
3907
+ /**
3908
+ * BackendTaxonomyMove automatically generated by SDKgen please do not edit this file manually
3909
+ * {@link https://sdkgen.app}
3910
+ */
3911
+ /**
3912
+ * Moves the provided objects to a taxonomy
3913
+ */
3914
+ interface BackendTaxonomyMove {
3915
+ operations?: Array<number>;
3916
+ actions?: Array<number>;
3917
+ events?: Array<number>;
3918
+ cronjobs?: Array<number>;
3919
+ triggers?: Array<number>;
3920
+ }
3921
+
3922
+ /**
3923
+ * BackendTaxonomyUpdate automatically generated by SDKgen please do not edit this file manually
3924
+ * {@link https://sdkgen.app}
3925
+ */
3926
+
3927
+ interface BackendTaxonomyUpdate extends BackendTaxonomy {
3928
+ }
3929
+
3930
+ /**
3931
+ * BackendTaxonomyTag automatically generated by SDKgen please do not edit this file manually
3932
+ * {@link https://sdkgen.app}
3933
+ */
3934
+
3935
+ declare class BackendTaxonomyTag extends TagAbstract {
3936
+ /**
3937
+ * Creates a new taxonomy
3938
+ *
3939
+ * @returns {Promise<CommonMessage>}
3940
+ * @throws {CommonMessageException}
3941
+ * @throws {ClientException}
3942
+ */
3943
+ create(payload: BackendTaxonomyCreate): Promise<CommonMessage>;
3944
+ /**
3945
+ * Deletes an existing taxonomy
3946
+ *
3947
+ * @returns {Promise<CommonMessage>}
3948
+ * @throws {CommonMessageException}
3949
+ * @throws {ClientException}
3950
+ */
3951
+ delete(taxonomyId: string): Promise<CommonMessage>;
3952
+ /**
3953
+ * Returns a specific taxonomy
3954
+ *
3955
+ * @returns {Promise<BackendTaxonomy>}
3956
+ * @throws {CommonMessageException}
3957
+ * @throws {ClientException}
3958
+ */
3959
+ get(taxonomyId: string): Promise<BackendTaxonomy>;
3960
+ /**
3961
+ * Returns a paginated list of taxonomies
3962
+ *
3963
+ * @returns {Promise<BackendTaxonomyCollection>}
3964
+ * @throws {CommonMessageException}
3965
+ * @throws {ClientException}
3966
+ */
3967
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendTaxonomyCollection>;
3968
+ /**
3969
+ * Moves the provided ids to the taxonomy
3970
+ *
3971
+ * @returns {Promise<CommonMessage>}
3972
+ * @throws {CommonMessageException}
3973
+ * @throws {ClientException}
3974
+ */
3975
+ move(taxonomyId: string, payload: BackendTaxonomyMove): Promise<CommonMessage>;
3976
+ /**
3977
+ * Updates an existing taxonomy
3978
+ *
3979
+ * @returns {Promise<CommonMessage>}
3980
+ * @throws {CommonMessageException}
3981
+ * @throws {ClientException}
3982
+ */
3983
+ update(taxonomyId: string, payload: BackendTaxonomyUpdate): Promise<CommonMessage>;
3984
+ }
3985
+
3449
3986
  /**
3450
3987
  * BackendTenantTag automatically generated by SDKgen please do not edit this file manually
3451
3988
  * {@link https://sdkgen.app}
@@ -3640,7 +4177,7 @@ declare class BackendTransactionTag extends TagAbstract {
3640
4177
  * @throws {CommonMessageException}
3641
4178
  * @throws {ClientException}
3642
4179
  */
3643
- getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, planId?: number, userId?: number, appId?: number, status?: string, provider?: string): Promise<BackendTransactionCollection>;
4180
+ getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, planId?: number, userId?: number, appId?: number, status?: string, provider?: string, taxonomy?: number): Promise<BackendTransactionCollection>;
3644
4181
  }
3645
4182
 
3646
4183
  /**
@@ -3792,7 +4329,7 @@ declare class BackendTriggerTag extends TagAbstract {
3792
4329
  * @throws {CommonMessageException}
3793
4330
  * @throws {ClientException}
3794
4331
  */
3795
- getAll(startIndex?: number, count?: number, search?: string): Promise<BackendTriggerCollection>;
4332
+ getAll(startIndex?: number, count?: number, search?: string, taxonomy?: number): Promise<BackendTriggerCollection>;
3796
4333
  /**
3797
4334
  * Updates an existing trigger
3798
4335
  *
@@ -3992,6 +4529,7 @@ declare class BackendWebhookTag extends TagAbstract {
3992
4529
  declare class BackendTag extends TagAbstract {
3993
4530
  account(): BackendAccountTag;
3994
4531
  action(): BackendActionTag;
4532
+ agent(): BackendAgentTag;
3995
4533
  app(): BackendAppTag;
3996
4534
  audit(): BackendAuditTag;
3997
4535
  backup(): BackendBackupTag;
@@ -4017,6 +4555,7 @@ declare class BackendTag extends TagAbstract {
4017
4555
  scope(): BackendScopeTag;
4018
4556
  sdk(): BackendSdkTag;
4019
4557
  statistic(): BackendStatisticTag;
4558
+ taxonomy(): BackendTaxonomyTag;
4020
4559
  tenant(): BackendTenantTag;
4021
4560
  test(): BackendTestTag;
4022
4561
  token(): BackendTokenTag;
@@ -5278,49 +5817,6 @@ declare class Client extends ClientAbstract {
5278
5817
  static buildAnonymous(baseUrl: string): Client;
5279
5818
  }
5280
5819
 
5281
- /**
5282
- * CommonFormElementInput automatically generated by SDKgen please do not edit this file manually
5283
- * {@link https://sdkgen.app}
5284
- */
5285
-
5286
- interface CommonFormElementInput extends CommonFormElement {
5287
- }
5288
-
5289
- /**
5290
- * CommonFormElementSelectOption automatically generated by SDKgen please do not edit this file manually
5291
- * {@link https://sdkgen.app}
5292
- */
5293
- interface CommonFormElementSelectOption {
5294
- key?: string;
5295
- value?: string;
5296
- }
5297
-
5298
- /**
5299
- * CommonFormElementSelect automatically generated by SDKgen please do not edit this file manually
5300
- * {@link https://sdkgen.app}
5301
- */
5302
-
5303
- interface CommonFormElementSelect extends CommonFormElement {
5304
- options?: Array<CommonFormElementSelectOption>;
5305
- }
5306
-
5307
- /**
5308
- * CommonFormElementTag automatically generated by SDKgen please do not edit this file manually
5309
- * {@link https://sdkgen.app}
5310
- */
5311
-
5312
- interface CommonFormElementTag extends CommonFormElement {
5313
- }
5314
-
5315
- /**
5316
- * CommonFormElementTextArea automatically generated by SDKgen please do not edit this file manually
5317
- * {@link https://sdkgen.app}
5318
- */
5319
-
5320
- interface CommonFormElementTextArea extends CommonFormElement {
5321
- mode?: string;
5322
- }
5323
-
5324
5820
  /**
5325
5821
  * CommonMessageException automatically generated by SDKgen please do not edit this file manually
5326
5822
  * {@link https://sdkgen.app}
@@ -5332,4 +5828,4 @@ declare class CommonMessageException extends KnownStatusCodeException {
5332
5828
  getPayload(): CommonMessage;
5333
5829
  }
5334
5830
 
5335
- export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceBundleTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementInput, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTag, type CommonFormElementTextArea, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };
5831
+ export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentContent, type BackendAgentContentBinary, type BackendAgentContentChoice, type BackendAgentContentObject, type BackendAgentContentText, type BackendAgentContentToolCall, type BackendAgentContentToolCallFunction, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceBundleTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCommit, type BackendSchemaCommitCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementInput, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTag, type CommonFormElementTextArea, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };