@lessly/sdk-app 63.7.0 → 63.8.1

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.
@@ -1,6 +1,98 @@
1
1
  import type { GeneratedClient } from '../client.gen.js';
2
- import type { WorkflowHealthPingInput, WorkflowHealthPingOutput } from '../types.gen.js';
2
+ import type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowDefinitionCreateInput, WorkflowDefinitionDisableInput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionUpdateInput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowRunCancelInput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayInput, WorkflowRunStartInput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen.js';
3
+ export declare const workflowCapabilityGetQueryOptions: (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => {
4
+ queryKey: readonly ["workflow", "capability", "get", WorkflowCapabilityGetInput];
5
+ queryFn: () => Promise<WorkflowCapabilityGetOutput>;
6
+ };
7
+ export declare const workflowCapabilityListQueryOptions: (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => {
8
+ queryKey: readonly ["workflow", "capability", "list", WorkflowCapabilityListInput];
9
+ queryFn: () => Promise<WorkflowCapabilityListOutput>;
10
+ };
11
+ export declare const workflowConfigDeleteMutationOptions: (sdk: GeneratedClient) => {
12
+ mutationKey: string[];
13
+ mutationFn: (input: WorkflowConfigDeleteInput) => Promise<import(".").WorkflowConfigDeleteOutput>;
14
+ };
15
+ export declare const workflowConfigListQueryOptions: (sdk: GeneratedClient, input: WorkflowConfigListInput) => {
16
+ queryKey: readonly ["workflow", "config", "list", WorkflowConfigListInput];
17
+ queryFn: () => Promise<WorkflowConfigListOutput>;
18
+ };
19
+ export declare const workflowConfigSetMutationOptions: (sdk: GeneratedClient) => {
20
+ mutationKey: string[];
21
+ mutationFn: (input: WorkflowConfigSetInput) => Promise<import(".").WorkflowConfigSetOutput>;
22
+ };
23
+ export declare const workflowDefinitionCreateMutationOptions: (sdk: GeneratedClient) => {
24
+ mutationKey: string[];
25
+ mutationFn: (input: WorkflowDefinitionCreateInput) => Promise<import(".").WorkflowDefinitionCreateOutput>;
26
+ };
27
+ export declare const workflowDefinitionDisableMutationOptions: (sdk: GeneratedClient) => {
28
+ mutationKey: string[];
29
+ mutationFn: (input: WorkflowDefinitionDisableInput) => Promise<import(".").WorkflowDefinitionDisableOutput>;
30
+ };
31
+ export declare const workflowDefinitionDryrunQueryOptions: (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => {
32
+ queryKey: readonly ["workflow", "definition", "dryrun", WorkflowDefinitionDryrunInput];
33
+ queryFn: () => Promise<WorkflowDefinitionDryrunOutput>;
34
+ };
35
+ export declare const workflowDefinitionEnableMutationOptions: (sdk: GeneratedClient) => {
36
+ mutationKey: string[];
37
+ mutationFn: (input: WorkflowDefinitionEnableInput) => Promise<import(".").WorkflowDefinitionEnableOutput>;
38
+ };
39
+ export declare const workflowDefinitionExportQueryOptions: (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => {
40
+ queryKey: readonly ["workflow", "definition", "export", WorkflowDefinitionExportInput];
41
+ queryFn: () => Promise<WorkflowDefinitionExportOutput>;
42
+ };
43
+ export declare const workflowDefinitionGetQueryOptions: (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => {
44
+ queryKey: readonly ["workflow", "definition", "get", WorkflowDefinitionGetInput];
45
+ queryFn: () => Promise<WorkflowDefinitionGetOutput>;
46
+ };
47
+ export declare const workflowDefinitionImportMutationOptions: (sdk: GeneratedClient) => {
48
+ mutationKey: string[];
49
+ mutationFn: (input: WorkflowDefinitionImportInput) => Promise<import(".").WorkflowDefinitionImportOutput>;
50
+ };
51
+ export declare const workflowDefinitionListQueryOptions: (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => {
52
+ queryKey: readonly ["workflow", "definition", "list", WorkflowDefinitionListInput];
53
+ queryFn: () => Promise<WorkflowDefinitionListOutput>;
54
+ };
55
+ export declare const workflowDefinitionPublishMutationOptions: (sdk: GeneratedClient) => {
56
+ mutationKey: string[];
57
+ mutationFn: (input: WorkflowDefinitionPublishInput) => Promise<import(".").WorkflowDefinitionPublishOutput>;
58
+ };
59
+ export declare const workflowDefinitionUpdateMutationOptions: (sdk: GeneratedClient) => {
60
+ mutationKey: string[];
61
+ mutationFn: (input: WorkflowDefinitionUpdateInput) => Promise<import(".").WorkflowDefinitionUpdateOutput>;
62
+ };
63
+ export declare const workflowDefinitionValidateQueryOptions: (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => {
64
+ queryKey: readonly ["workflow", "definition", "validate", WorkflowDefinitionValidateInput];
65
+ queryFn: () => Promise<WorkflowDefinitionValidateOutput>;
66
+ };
3
67
  export declare const workflowHealthPingQueryOptions: (sdk: GeneratedClient, input: WorkflowHealthPingInput) => {
4
68
  queryKey: readonly ["workflow", "health", "ping", WorkflowHealthPingInput];
5
69
  queryFn: () => Promise<WorkflowHealthPingOutput>;
6
70
  };
71
+ export declare const workflowRunCancelMutationOptions: (sdk: GeneratedClient) => {
72
+ mutationKey: string[];
73
+ mutationFn: (input: WorkflowRunCancelInput) => Promise<import(".").WorkflowRunCancelOutput>;
74
+ };
75
+ export declare const workflowRunGetQueryOptions: (sdk: GeneratedClient, input: WorkflowRunGetInput) => {
76
+ queryKey: readonly ["workflow", "run", "get", WorkflowRunGetInput];
77
+ queryFn: () => Promise<WorkflowRunGetOutput>;
78
+ };
79
+ export declare const workflowRunListQueryOptions: (sdk: GeneratedClient, input: WorkflowRunListInput) => {
80
+ queryKey: readonly ["workflow", "run", "list", WorkflowRunListInput];
81
+ queryFn: () => Promise<WorkflowRunListOutput>;
82
+ };
83
+ export declare const workflowRunReplayMutationOptions: (sdk: GeneratedClient) => {
84
+ mutationKey: string[];
85
+ mutationFn: (input: WorkflowRunReplayInput) => Promise<import(".").WorkflowRunReplayOutput>;
86
+ };
87
+ export declare const workflowRunStartMutationOptions: (sdk: GeneratedClient) => {
88
+ mutationKey: string[];
89
+ mutationFn: (input: WorkflowRunStartInput) => Promise<import(".").WorkflowRunStartOutput>;
90
+ };
91
+ export declare const workflowVersionGetQueryOptions: (sdk: GeneratedClient, input: WorkflowVersionGetInput) => {
92
+ queryKey: readonly ["workflow", "version", "get", WorkflowVersionGetInput];
93
+ queryFn: () => Promise<WorkflowVersionGetOutput>;
94
+ };
95
+ export declare const workflowVersionListQueryOptions: (sdk: GeneratedClient, input: WorkflowVersionListInput) => {
96
+ queryKey: readonly ["workflow", "version", "list", WorkflowVersionListInput];
97
+ queryFn: () => Promise<WorkflowVersionListOutput>;
98
+ };
@@ -10461,6 +10461,304 @@ var bindings = {
10461
10461
  }
10462
10462
  },
10463
10463
  "workflow": {
10464
+ "capability": {
10465
+ "get": {
10466
+ "level": "read",
10467
+ "method": "GET",
10468
+ "operationKey": "workflow_capability_get",
10469
+ "params": [
10470
+ {
10471
+ "in": "query",
10472
+ "name": "key"
10473
+ }
10474
+ ],
10475
+ "path": "/workflow/capability/get",
10476
+ "readOnly": true
10477
+ },
10478
+ "list": {
10479
+ "level": "read",
10480
+ "method": "GET",
10481
+ "operationKey": "workflow_capability_list",
10482
+ "params": [
10483
+ {
10484
+ "in": "query",
10485
+ "name": "toolkit"
10486
+ },
10487
+ {
10488
+ "in": "query",
10489
+ "name": "kind"
10490
+ },
10491
+ {
10492
+ "in": "query",
10493
+ "name": "query"
10494
+ },
10495
+ {
10496
+ "in": "query",
10497
+ "name": "cursor"
10498
+ },
10499
+ {
10500
+ "in": "query",
10501
+ "name": "limit"
10502
+ }
10503
+ ],
10504
+ "path": "/workflow/capability",
10505
+ "readOnly": true
10506
+ }
10507
+ },
10508
+ "config": {
10509
+ "delete": {
10510
+ "level": "admin",
10511
+ "method": "DELETE",
10512
+ "operationKey": "workflow_config_delete",
10513
+ "params": [
10514
+ {
10515
+ "in": "query",
10516
+ "name": "key"
10517
+ }
10518
+ ],
10519
+ "path": "/workflow/config",
10520
+ "readOnly": false
10521
+ },
10522
+ "list": {
10523
+ "level": "read",
10524
+ "method": "GET",
10525
+ "operationKey": "workflow_config_list",
10526
+ "params": [
10527
+ {
10528
+ "in": "query",
10529
+ "name": "cursor"
10530
+ },
10531
+ {
10532
+ "in": "query",
10533
+ "name": "limit"
10534
+ }
10535
+ ],
10536
+ "path": "/workflow/config",
10537
+ "readOnly": true
10538
+ },
10539
+ "set": {
10540
+ "level": "write",
10541
+ "method": "POST",
10542
+ "operationKey": "workflow_config_set",
10543
+ "params": [
10544
+ {
10545
+ "in": "body",
10546
+ "name": "key"
10547
+ },
10548
+ {
10549
+ "in": "body",
10550
+ "name": "value"
10551
+ },
10552
+ {
10553
+ "in": "body",
10554
+ "name": "secret"
10555
+ }
10556
+ ],
10557
+ "path": "/workflow/config",
10558
+ "readOnly": false
10559
+ }
10560
+ },
10561
+ "definition": {
10562
+ "create": {
10563
+ "level": "write",
10564
+ "method": "POST",
10565
+ "operationKey": "workflow_definition_create",
10566
+ "params": [
10567
+ {
10568
+ "in": "body",
10569
+ "name": "name"
10570
+ },
10571
+ {
10572
+ "in": "body",
10573
+ "name": "description"
10574
+ },
10575
+ {
10576
+ "in": "body",
10577
+ "name": "definition"
10578
+ }
10579
+ ],
10580
+ "path": "/workflow/definition",
10581
+ "readOnly": false
10582
+ },
10583
+ "disable": {
10584
+ "level": "write",
10585
+ "method": "POST",
10586
+ "operationKey": "workflow_definition_disable",
10587
+ "params": [
10588
+ {
10589
+ "in": "body",
10590
+ "name": "workflow_id"
10591
+ }
10592
+ ],
10593
+ "path": "/workflow/definition/disable",
10594
+ "readOnly": false
10595
+ },
10596
+ "dryrun": {
10597
+ "level": "read",
10598
+ "method": "POST",
10599
+ "operationKey": "workflow_definition_dryrun",
10600
+ "params": [
10601
+ {
10602
+ "in": "body",
10603
+ "name": "workflow_id"
10604
+ },
10605
+ {
10606
+ "in": "body",
10607
+ "name": "definition"
10608
+ },
10609
+ {
10610
+ "in": "body",
10611
+ "name": "trigger_payload"
10612
+ },
10613
+ {
10614
+ "in": "body",
10615
+ "name": "assumptions"
10616
+ }
10617
+ ],
10618
+ "path": "/workflow/definition/dryrun",
10619
+ "readOnly": true
10620
+ },
10621
+ "enable": {
10622
+ "level": "write",
10623
+ "method": "POST",
10624
+ "operationKey": "workflow_definition_enable",
10625
+ "params": [
10626
+ {
10627
+ "in": "body",
10628
+ "name": "workflow_id"
10629
+ }
10630
+ ],
10631
+ "path": "/workflow/definition/enable",
10632
+ "readOnly": false
10633
+ },
10634
+ "export": {
10635
+ "level": "read",
10636
+ "method": "GET",
10637
+ "operationKey": "workflow_definition_export",
10638
+ "params": [
10639
+ {
10640
+ "in": "query",
10641
+ "name": "workflow_id"
10642
+ },
10643
+ {
10644
+ "in": "query",
10645
+ "name": "version"
10646
+ }
10647
+ ],
10648
+ "path": "/workflow/definition/export",
10649
+ "readOnly": true
10650
+ },
10651
+ "get": {
10652
+ "level": "read",
10653
+ "method": "GET",
10654
+ "operationKey": "workflow_definition_get",
10655
+ "params": [
10656
+ {
10657
+ "in": "query",
10658
+ "name": "workflow_id"
10659
+ }
10660
+ ],
10661
+ "path": "/workflow/definition/get",
10662
+ "readOnly": true
10663
+ },
10664
+ "import": {
10665
+ "level": "write",
10666
+ "method": "POST",
10667
+ "operationKey": "workflow_definition_import",
10668
+ "params": [
10669
+ {
10670
+ "in": "body",
10671
+ "name": "name"
10672
+ },
10673
+ {
10674
+ "in": "body",
10675
+ "name": "definition"
10676
+ }
10677
+ ],
10678
+ "path": "/workflow/definition/import",
10679
+ "readOnly": false
10680
+ },
10681
+ "list": {
10682
+ "level": "read",
10683
+ "method": "GET",
10684
+ "operationKey": "workflow_definition_list",
10685
+ "params": [
10686
+ {
10687
+ "in": "query",
10688
+ "name": "status"
10689
+ },
10690
+ {
10691
+ "in": "query",
10692
+ "name": "cursor"
10693
+ },
10694
+ {
10695
+ "in": "query",
10696
+ "name": "limit"
10697
+ }
10698
+ ],
10699
+ "path": "/workflow/definition",
10700
+ "readOnly": true
10701
+ },
10702
+ "publish": {
10703
+ "level": "write",
10704
+ "method": "POST",
10705
+ "operationKey": "workflow_definition_publish",
10706
+ "params": [
10707
+ {
10708
+ "in": "body",
10709
+ "name": "workflow_id"
10710
+ },
10711
+ {
10712
+ "in": "body",
10713
+ "name": "note"
10714
+ }
10715
+ ],
10716
+ "path": "/workflow/definition/publish",
10717
+ "readOnly": false
10718
+ },
10719
+ "update": {
10720
+ "level": "write",
10721
+ "method": "POST",
10722
+ "operationKey": "workflow_definition_update",
10723
+ "params": [
10724
+ {
10725
+ "in": "body",
10726
+ "name": "workflow_id"
10727
+ },
10728
+ {
10729
+ "in": "body",
10730
+ "name": "name"
10731
+ },
10732
+ {
10733
+ "in": "body",
10734
+ "name": "description"
10735
+ },
10736
+ {
10737
+ "in": "body",
10738
+ "name": "definition"
10739
+ }
10740
+ ],
10741
+ "path": "/workflow/definition/update",
10742
+ "readOnly": false
10743
+ },
10744
+ "validate": {
10745
+ "level": "read",
10746
+ "method": "POST",
10747
+ "operationKey": "workflow_definition_validate",
10748
+ "params": [
10749
+ {
10750
+ "in": "body",
10751
+ "name": "workflow_id"
10752
+ },
10753
+ {
10754
+ "in": "body",
10755
+ "name": "definition"
10756
+ }
10757
+ ],
10758
+ "path": "/workflow/definition/validate",
10759
+ "readOnly": true
10760
+ }
10761
+ },
10464
10762
  "health": {
10465
10763
  "ping": {
10466
10764
  "level": "read",
@@ -10469,6 +10767,137 @@ var bindings = {
10469
10767
  "path": "/workflow/health/ping",
10470
10768
  "readOnly": true
10471
10769
  }
10770
+ },
10771
+ "run": {
10772
+ "cancel": {
10773
+ "level": "write",
10774
+ "method": "POST",
10775
+ "operationKey": "workflow_run_cancel",
10776
+ "params": [
10777
+ {
10778
+ "in": "body",
10779
+ "name": "run_id"
10780
+ }
10781
+ ],
10782
+ "path": "/workflow/runs/cancel",
10783
+ "readOnly": false
10784
+ },
10785
+ "get": {
10786
+ "level": "read",
10787
+ "method": "GET",
10788
+ "operationKey": "workflow_run_get",
10789
+ "params": [
10790
+ {
10791
+ "in": "query",
10792
+ "name": "run_id"
10793
+ }
10794
+ ],
10795
+ "path": "/workflow/runs/get",
10796
+ "readOnly": true
10797
+ },
10798
+ "list": {
10799
+ "level": "read",
10800
+ "method": "GET",
10801
+ "operationKey": "workflow_run_list",
10802
+ "params": [
10803
+ {
10804
+ "in": "query",
10805
+ "name": "workflow_id"
10806
+ },
10807
+ {
10808
+ "in": "query",
10809
+ "name": "status"
10810
+ },
10811
+ {
10812
+ "in": "query",
10813
+ "name": "cursor"
10814
+ },
10815
+ {
10816
+ "in": "query",
10817
+ "name": "limit"
10818
+ }
10819
+ ],
10820
+ "path": "/workflow/runs",
10821
+ "readOnly": true
10822
+ },
10823
+ "replay": {
10824
+ "level": "write",
10825
+ "method": "POST",
10826
+ "operationKey": "workflow_run_replay",
10827
+ "params": [
10828
+ {
10829
+ "in": "body",
10830
+ "name": "run_id"
10831
+ },
10832
+ {
10833
+ "in": "body",
10834
+ "name": "reexecute"
10835
+ }
10836
+ ],
10837
+ "path": "/workflow/runs/replay",
10838
+ "readOnly": false
10839
+ },
10840
+ "start": {
10841
+ "level": "write",
10842
+ "method": "POST",
10843
+ "operationKey": "workflow_run_start",
10844
+ "params": [
10845
+ {
10846
+ "in": "body",
10847
+ "name": "workflow_id"
10848
+ },
10849
+ {
10850
+ "in": "body",
10851
+ "name": "idempotency_key"
10852
+ },
10853
+ {
10854
+ "in": "body",
10855
+ "name": "input"
10856
+ }
10857
+ ],
10858
+ "path": "/workflow/runs/start",
10859
+ "readOnly": false
10860
+ }
10861
+ },
10862
+ "version": {
10863
+ "get": {
10864
+ "level": "read",
10865
+ "method": "GET",
10866
+ "operationKey": "workflow_version_get",
10867
+ "params": [
10868
+ {
10869
+ "in": "query",
10870
+ "name": "workflow_id"
10871
+ },
10872
+ {
10873
+ "in": "query",
10874
+ "name": "version"
10875
+ }
10876
+ ],
10877
+ "path": "/workflow/version/get",
10878
+ "readOnly": true
10879
+ },
10880
+ "list": {
10881
+ "level": "read",
10882
+ "method": "GET",
10883
+ "operationKey": "workflow_version_list",
10884
+ "params": [
10885
+ {
10886
+ "in": "query",
10887
+ "name": "workflow_id"
10888
+ },
10889
+ {
10890
+ "in": "query",
10891
+ "name": "cursor"
10892
+ },
10893
+ {
10894
+ "in": "query",
10895
+ "name": "limit"
10896
+ }
10897
+ ],
10898
+ "path": "/workflow/version",
10899
+ "readOnly": true
10900
+ }
10472
10901
  }
10473
10902
  }
10474
10903
  };
@@ -10483,5 +10912,5 @@ var wsBindings = {
10483
10912
  };
10484
10913
 
10485
10914
  export { bindings, wsBindings };
10486
- //# sourceMappingURL=chunk-FVKBKCNN.js.map
10487
- //# sourceMappingURL=chunk-FVKBKCNN.js.map
10915
+ //# sourceMappingURL=chunk-NC3E6KPQ.js.map
10916
+ //# sourceMappingURL=chunk-NC3E6KPQ.js.map