@lessly/sdk-app 63.7.0 → 63.8.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.cjs CHANGED
@@ -10676,6 +10676,304 @@ var bindings = {
10676
10676
  }
10677
10677
  },
10678
10678
  "workflow": {
10679
+ "capability": {
10680
+ "get": {
10681
+ "level": "read",
10682
+ "method": "GET",
10683
+ "operationKey": "workflow_capability_get",
10684
+ "params": [
10685
+ {
10686
+ "in": "query",
10687
+ "name": "key"
10688
+ }
10689
+ ],
10690
+ "path": "/workflow/capability/get",
10691
+ "readOnly": true
10692
+ },
10693
+ "list": {
10694
+ "level": "read",
10695
+ "method": "GET",
10696
+ "operationKey": "workflow_capability_list",
10697
+ "params": [
10698
+ {
10699
+ "in": "query",
10700
+ "name": "toolkit"
10701
+ },
10702
+ {
10703
+ "in": "query",
10704
+ "name": "kind"
10705
+ },
10706
+ {
10707
+ "in": "query",
10708
+ "name": "query"
10709
+ },
10710
+ {
10711
+ "in": "query",
10712
+ "name": "cursor"
10713
+ },
10714
+ {
10715
+ "in": "query",
10716
+ "name": "limit"
10717
+ }
10718
+ ],
10719
+ "path": "/workflow/capability",
10720
+ "readOnly": true
10721
+ }
10722
+ },
10723
+ "config": {
10724
+ "delete": {
10725
+ "level": "admin",
10726
+ "method": "DELETE",
10727
+ "operationKey": "workflow_config_delete",
10728
+ "params": [
10729
+ {
10730
+ "in": "query",
10731
+ "name": "key"
10732
+ }
10733
+ ],
10734
+ "path": "/workflow/config",
10735
+ "readOnly": false
10736
+ },
10737
+ "list": {
10738
+ "level": "read",
10739
+ "method": "GET",
10740
+ "operationKey": "workflow_config_list",
10741
+ "params": [
10742
+ {
10743
+ "in": "query",
10744
+ "name": "cursor"
10745
+ },
10746
+ {
10747
+ "in": "query",
10748
+ "name": "limit"
10749
+ }
10750
+ ],
10751
+ "path": "/workflow/config",
10752
+ "readOnly": true
10753
+ },
10754
+ "set": {
10755
+ "level": "write",
10756
+ "method": "POST",
10757
+ "operationKey": "workflow_config_set",
10758
+ "params": [
10759
+ {
10760
+ "in": "body",
10761
+ "name": "key"
10762
+ },
10763
+ {
10764
+ "in": "body",
10765
+ "name": "value"
10766
+ },
10767
+ {
10768
+ "in": "body",
10769
+ "name": "secret"
10770
+ }
10771
+ ],
10772
+ "path": "/workflow/config",
10773
+ "readOnly": false
10774
+ }
10775
+ },
10776
+ "definition": {
10777
+ "create": {
10778
+ "level": "write",
10779
+ "method": "POST",
10780
+ "operationKey": "workflow_definition_create",
10781
+ "params": [
10782
+ {
10783
+ "in": "body",
10784
+ "name": "name"
10785
+ },
10786
+ {
10787
+ "in": "body",
10788
+ "name": "description"
10789
+ },
10790
+ {
10791
+ "in": "body",
10792
+ "name": "definition"
10793
+ }
10794
+ ],
10795
+ "path": "/workflow/definition",
10796
+ "readOnly": false
10797
+ },
10798
+ "disable": {
10799
+ "level": "write",
10800
+ "method": "POST",
10801
+ "operationKey": "workflow_definition_disable",
10802
+ "params": [
10803
+ {
10804
+ "in": "body",
10805
+ "name": "workflow_id"
10806
+ }
10807
+ ],
10808
+ "path": "/workflow/definition/disable",
10809
+ "readOnly": false
10810
+ },
10811
+ "dryrun": {
10812
+ "level": "read",
10813
+ "method": "POST",
10814
+ "operationKey": "workflow_definition_dryrun",
10815
+ "params": [
10816
+ {
10817
+ "in": "body",
10818
+ "name": "workflow_id"
10819
+ },
10820
+ {
10821
+ "in": "body",
10822
+ "name": "definition"
10823
+ },
10824
+ {
10825
+ "in": "body",
10826
+ "name": "trigger_payload"
10827
+ },
10828
+ {
10829
+ "in": "body",
10830
+ "name": "assumptions"
10831
+ }
10832
+ ],
10833
+ "path": "/workflow/definition/dryrun",
10834
+ "readOnly": true
10835
+ },
10836
+ "enable": {
10837
+ "level": "write",
10838
+ "method": "POST",
10839
+ "operationKey": "workflow_definition_enable",
10840
+ "params": [
10841
+ {
10842
+ "in": "body",
10843
+ "name": "workflow_id"
10844
+ }
10845
+ ],
10846
+ "path": "/workflow/definition/enable",
10847
+ "readOnly": false
10848
+ },
10849
+ "export": {
10850
+ "level": "read",
10851
+ "method": "GET",
10852
+ "operationKey": "workflow_definition_export",
10853
+ "params": [
10854
+ {
10855
+ "in": "query",
10856
+ "name": "workflow_id"
10857
+ },
10858
+ {
10859
+ "in": "query",
10860
+ "name": "version"
10861
+ }
10862
+ ],
10863
+ "path": "/workflow/definition/export",
10864
+ "readOnly": true
10865
+ },
10866
+ "get": {
10867
+ "level": "read",
10868
+ "method": "GET",
10869
+ "operationKey": "workflow_definition_get",
10870
+ "params": [
10871
+ {
10872
+ "in": "query",
10873
+ "name": "workflow_id"
10874
+ }
10875
+ ],
10876
+ "path": "/workflow/definition/get",
10877
+ "readOnly": true
10878
+ },
10879
+ "import": {
10880
+ "level": "write",
10881
+ "method": "POST",
10882
+ "operationKey": "workflow_definition_import",
10883
+ "params": [
10884
+ {
10885
+ "in": "body",
10886
+ "name": "name"
10887
+ },
10888
+ {
10889
+ "in": "body",
10890
+ "name": "definition"
10891
+ }
10892
+ ],
10893
+ "path": "/workflow/definition/import",
10894
+ "readOnly": false
10895
+ },
10896
+ "list": {
10897
+ "level": "read",
10898
+ "method": "GET",
10899
+ "operationKey": "workflow_definition_list",
10900
+ "params": [
10901
+ {
10902
+ "in": "query",
10903
+ "name": "status"
10904
+ },
10905
+ {
10906
+ "in": "query",
10907
+ "name": "cursor"
10908
+ },
10909
+ {
10910
+ "in": "query",
10911
+ "name": "limit"
10912
+ }
10913
+ ],
10914
+ "path": "/workflow/definition",
10915
+ "readOnly": true
10916
+ },
10917
+ "publish": {
10918
+ "level": "write",
10919
+ "method": "POST",
10920
+ "operationKey": "workflow_definition_publish",
10921
+ "params": [
10922
+ {
10923
+ "in": "body",
10924
+ "name": "workflow_id"
10925
+ },
10926
+ {
10927
+ "in": "body",
10928
+ "name": "note"
10929
+ }
10930
+ ],
10931
+ "path": "/workflow/definition/publish",
10932
+ "readOnly": false
10933
+ },
10934
+ "update": {
10935
+ "level": "write",
10936
+ "method": "POST",
10937
+ "operationKey": "workflow_definition_update",
10938
+ "params": [
10939
+ {
10940
+ "in": "body",
10941
+ "name": "workflow_id"
10942
+ },
10943
+ {
10944
+ "in": "body",
10945
+ "name": "name"
10946
+ },
10947
+ {
10948
+ "in": "body",
10949
+ "name": "description"
10950
+ },
10951
+ {
10952
+ "in": "body",
10953
+ "name": "definition"
10954
+ }
10955
+ ],
10956
+ "path": "/workflow/definition/update",
10957
+ "readOnly": false
10958
+ },
10959
+ "validate": {
10960
+ "level": "read",
10961
+ "method": "POST",
10962
+ "operationKey": "workflow_definition_validate",
10963
+ "params": [
10964
+ {
10965
+ "in": "body",
10966
+ "name": "workflow_id"
10967
+ },
10968
+ {
10969
+ "in": "body",
10970
+ "name": "definition"
10971
+ }
10972
+ ],
10973
+ "path": "/workflow/definition/validate",
10974
+ "readOnly": true
10975
+ }
10976
+ },
10679
10977
  "health": {
10680
10978
  "ping": {
10681
10979
  "level": "read",
@@ -10684,6 +10982,123 @@ var bindings = {
10684
10982
  "path": "/workflow/health/ping",
10685
10983
  "readOnly": true
10686
10984
  }
10985
+ },
10986
+ "run": {
10987
+ "cancel": {
10988
+ "level": "write",
10989
+ "method": "POST",
10990
+ "operationKey": "workflow_run_cancel",
10991
+ "params": [
10992
+ {
10993
+ "in": "body",
10994
+ "name": "run_id"
10995
+ }
10996
+ ],
10997
+ "path": "/workflow/runs/cancel",
10998
+ "readOnly": false
10999
+ },
11000
+ "get": {
11001
+ "level": "read",
11002
+ "method": "GET",
11003
+ "operationKey": "workflow_run_get",
11004
+ "params": [
11005
+ {
11006
+ "in": "query",
11007
+ "name": "run_id"
11008
+ }
11009
+ ],
11010
+ "path": "/workflow/runs/get",
11011
+ "readOnly": true
11012
+ },
11013
+ "list": {
11014
+ "level": "read",
11015
+ "method": "GET",
11016
+ "operationKey": "workflow_run_list",
11017
+ "params": [
11018
+ {
11019
+ "in": "query",
11020
+ "name": "workflow_id"
11021
+ },
11022
+ {
11023
+ "in": "query",
11024
+ "name": "status"
11025
+ },
11026
+ {
11027
+ "in": "query",
11028
+ "name": "cursor"
11029
+ },
11030
+ {
11031
+ "in": "query",
11032
+ "name": "limit"
11033
+ }
11034
+ ],
11035
+ "path": "/workflow/runs",
11036
+ "readOnly": true
11037
+ },
11038
+ "replay": {
11039
+ "level": "write",
11040
+ "method": "POST",
11041
+ "operationKey": "workflow_run_replay",
11042
+ "params": [
11043
+ {
11044
+ "in": "body",
11045
+ "name": "run_id"
11046
+ },
11047
+ {
11048
+ "in": "body",
11049
+ "name": "reexecute"
11050
+ }
11051
+ ],
11052
+ "path": "/workflow/runs/replay",
11053
+ "readOnly": false
11054
+ },
11055
+ "start": {
11056
+ "level": "write",
11057
+ "method": "POST",
11058
+ "operationKey": "workflow_run_start",
11059
+ "path": "/workflow/runs/start",
11060
+ "readOnly": false
11061
+ }
11062
+ },
11063
+ "version": {
11064
+ "get": {
11065
+ "level": "read",
11066
+ "method": "GET",
11067
+ "operationKey": "workflow_version_get",
11068
+ "params": [
11069
+ {
11070
+ "in": "query",
11071
+ "name": "workflow_id"
11072
+ },
11073
+ {
11074
+ "in": "query",
11075
+ "name": "version"
11076
+ }
11077
+ ],
11078
+ "path": "/workflow/version/get",
11079
+ "readOnly": true
11080
+ },
11081
+ "list": {
11082
+ "level": "read",
11083
+ "method": "GET",
11084
+ "operationKey": "workflow_version_list",
11085
+ "params": [
11086
+ {
11087
+ "in": "query",
11088
+ "name": "workflow_id"
11089
+ },
11090
+ {
11091
+ "in": "query",
11092
+ "name": "cursor"
11093
+ },
11094
+ {
11095
+ "in": "query",
11096
+ "name": "limit"
11097
+ }
11098
+ ],
11099
+ "path": "/workflow/version",
11100
+ "readOnly": true
11101
+ }
10687
11102
  }
10688
11103
  }
10689
11104
  };
@@ -11248,7 +11663,30 @@ var operations = {
11248
11663
  "waitlist_signups_erase": "write",
11249
11664
  "waitlist_signups_funnel": "read",
11250
11665
  "waitlist_signups_list": "read",
11251
- "workflow_health_ping": "read"
11666
+ "workflow_capability_get": "read",
11667
+ "workflow_capability_list": "read",
11668
+ "workflow_config_delete": "admin",
11669
+ "workflow_config_list": "read",
11670
+ "workflow_config_set": "write",
11671
+ "workflow_definition_create": "write",
11672
+ "workflow_definition_disable": "write",
11673
+ "workflow_definition_dryrun": "read",
11674
+ "workflow_definition_enable": "write",
11675
+ "workflow_definition_export": "read",
11676
+ "workflow_definition_get": "read",
11677
+ "workflow_definition_import": "write",
11678
+ "workflow_definition_list": "read",
11679
+ "workflow_definition_publish": "write",
11680
+ "workflow_definition_update": "write",
11681
+ "workflow_definition_validate": "read",
11682
+ "workflow_health_ping": "read",
11683
+ "workflow_run_cancel": "write",
11684
+ "workflow_run_get": "read",
11685
+ "workflow_run_list": "read",
11686
+ "workflow_run_replay": "write",
11687
+ "workflow_run_start": "write",
11688
+ "workflow_version_get": "read",
11689
+ "workflow_version_list": "read"
11252
11690
  };
11253
11691
  var compositions = {
11254
11692
  "mail_audience_create": { "label": "Create audience" },