@lessly/sdk-app 15.0.0 → 15.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.
Files changed (55) hide show
  1. package/README.md +12 -8
  2. package/dist/analytics/index.d.cts +1 -1
  3. package/dist/analytics/index.d.ts +1 -1
  4. package/dist/brain/index.cjs +0 -5
  5. package/dist/brain/index.cjs.map +1 -1
  6. package/dist/brain/index.d.cts +2 -6
  7. package/dist/brain/index.d.ts +2 -6
  8. package/dist/brain/index.js +1 -5
  9. package/dist/brain/index.js.map +1 -1
  10. package/dist/{client.gen-CxFsxxHW.d.cts → client.gen-BeFnNb6g.d.cts} +3042 -232
  11. package/dist/{client.gen-CxFsxxHW.d.ts → client.gen-BeFnNb6g.d.ts} +3042 -232
  12. package/dist/consent/index.d.cts +1 -1
  13. package/dist/consent/index.d.ts +1 -1
  14. package/dist/deployment/index.d.cts +1 -1
  15. package/dist/deployment/index.d.ts +1 -1
  16. package/dist/index.cjs +846 -13
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +1 -1
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.js +846 -13
  21. package/dist/index.js.map +1 -1
  22. package/dist/mail/index.d.cts +2 -2
  23. package/dist/mail/index.d.ts +2 -2
  24. package/dist/organization/index.d.cts +1 -1
  25. package/dist/organization/index.d.ts +1 -1
  26. package/dist/playground/index.cjs +66 -0
  27. package/dist/playground/index.cjs.map +1 -0
  28. package/dist/playground/index.d.cts +52 -0
  29. package/dist/playground/index.d.ts +52 -0
  30. package/dist/playground/index.js +53 -0
  31. package/dist/playground/index.js.map +1 -0
  32. package/dist/realtime/index.d.cts +1 -1
  33. package/dist/realtime/index.d.ts +1 -1
  34. package/dist/tracking/index.d.cts +1 -1
  35. package/dist/tracking/index.d.ts +1 -1
  36. package/dist/users/index.cjs +216 -0
  37. package/dist/users/index.cjs.map +1 -0
  38. package/dist/users/index.d.cts +172 -0
  39. package/dist/users/index.d.ts +172 -0
  40. package/dist/users/index.js +173 -0
  41. package/dist/users/index.js.map +1 -0
  42. package/dist/waitlist/index.d.cts +1 -1
  43. package/dist/waitlist/index.d.ts +1 -1
  44. package/docs/recipes/sdk-usage.md +1 -1
  45. package/package.json +13 -2
  46. package/src/gen/bindings.gen.ts +846 -13
  47. package/src/gen/brain/index.ts +1 -1
  48. package/src/gen/brain/queryOptions.gen.ts +0 -7
  49. package/src/gen/client.gen.ts +210 -5
  50. package/src/gen/manifest.gen.ts +1 -1
  51. package/src/gen/playground/index.ts +3 -0
  52. package/src/gen/playground/queryOptions.gen.ts +86 -0
  53. package/src/gen/types.gen.ts +2923 -96
  54. package/src/gen/users/index.ts +3 -0
  55. package/src/gen/users/queryOptions.gen.ts +268 -0
package/dist/index.js CHANGED
@@ -795,19 +795,6 @@ var bindings = {
795
795
  "path": "/brain/restores/:restoreId",
796
796
  "readOnly": true
797
797
  }
798
- },
799
- "usage": {
800
- "report": {
801
- "method": "GET",
802
- "params": [
803
- {
804
- "in": "query",
805
- "name": "days"
806
- }
807
- ],
808
- "path": "/brain/usage/report",
809
- "readOnly": true
810
- }
811
798
  }
812
799
  },
813
800
  "consent": {
@@ -4381,6 +4368,110 @@ var bindings = {
4381
4368
  }
4382
4369
  }
4383
4370
  },
4371
+ "playground": {
4372
+ "analytics": {
4373
+ "overview": {
4374
+ "method": "POST",
4375
+ "params": [
4376
+ {
4377
+ "in": "body",
4378
+ "name": "limit"
4379
+ }
4380
+ ],
4381
+ "path": "/playground/analytics/overview",
4382
+ "readOnly": true
4383
+ }
4384
+ },
4385
+ "billing": {
4386
+ "entitlements": {
4387
+ "method": "POST",
4388
+ "path": "/playground/billing/entitlements",
4389
+ "readOnly": true
4390
+ },
4391
+ "record-usage": {
4392
+ "method": "POST",
4393
+ "params": [
4394
+ {
4395
+ "in": "body",
4396
+ "name": "value"
4397
+ }
4398
+ ],
4399
+ "path": "/playground/billing/usage",
4400
+ "readOnly": false
4401
+ }
4402
+ },
4403
+ "clickup": {
4404
+ "create-task": {
4405
+ "method": "POST",
4406
+ "params": [
4407
+ {
4408
+ "in": "body",
4409
+ "name": "listId"
4410
+ },
4411
+ {
4412
+ "in": "body",
4413
+ "name": "name"
4414
+ }
4415
+ ],
4416
+ "path": "/playground/clickup/tasks",
4417
+ "readOnly": false
4418
+ },
4419
+ "get-last-webhook": {
4420
+ "method": "GET",
4421
+ "path": "/playground/clickup/webhooks/last",
4422
+ "readOnly": true
4423
+ },
4424
+ "get-overview": {
4425
+ "method": "GET",
4426
+ "path": "/playground/clickup/overview",
4427
+ "readOnly": true
4428
+ }
4429
+ },
4430
+ "gdrive": {
4431
+ "get-last-change": {
4432
+ "method": "GET",
4433
+ "path": "/playground/gdrive/changes/last",
4434
+ "readOnly": true
4435
+ },
4436
+ "read-file": {
4437
+ "method": "POST",
4438
+ "params": [
4439
+ {
4440
+ "in": "body",
4441
+ "name": "fileId"
4442
+ }
4443
+ ],
4444
+ "path": "/playground/gdrive/file",
4445
+ "readOnly": true
4446
+ }
4447
+ },
4448
+ "googleads": {
4449
+ "read-customer": {
4450
+ "method": "POST",
4451
+ "path": "/playground/googleads/customer",
4452
+ "readOnly": true
4453
+ }
4454
+ },
4455
+ "lifecycle": {
4456
+ "get-state": {
4457
+ "method": "GET",
4458
+ "path": "/playground/lifecycle/state",
4459
+ "readOnly": true
4460
+ },
4461
+ "list-events": {
4462
+ "method": "GET",
4463
+ "path": "/playground/lifecycle/events",
4464
+ "readOnly": true
4465
+ }
4466
+ },
4467
+ "webhook": {
4468
+ "get-last": {
4469
+ "method": "GET",
4470
+ "path": "/playground/webhooks/last",
4471
+ "readOnly": true
4472
+ }
4473
+ }
4474
+ },
4384
4475
  "realtime": {
4385
4476
  "apikey": {
4386
4477
  "create": {
@@ -5478,6 +5569,748 @@ var bindings = {
5478
5569
  }
5479
5570
  }
5480
5571
  },
5572
+ "users": {
5573
+ "apikeys": {
5574
+ "create": {
5575
+ "method": "POST",
5576
+ "params": [
5577
+ {
5578
+ "in": "body",
5579
+ "name": "name"
5580
+ },
5581
+ {
5582
+ "in": "body",
5583
+ "name": "type"
5584
+ }
5585
+ ],
5586
+ "path": "/users/api-keys",
5587
+ "readOnly": false
5588
+ },
5589
+ "list": {
5590
+ "method": "GET",
5591
+ "path": "/users/api-keys",
5592
+ "readOnly": true
5593
+ },
5594
+ "revoke": {
5595
+ "method": "DELETE",
5596
+ "params": [
5597
+ {
5598
+ "in": "path",
5599
+ "name": "id"
5600
+ }
5601
+ ],
5602
+ "path": "/users/api-keys/:id",
5603
+ "readOnly": false
5604
+ }
5605
+ },
5606
+ "audit": {
5607
+ "list": {
5608
+ "method": "GET",
5609
+ "params": [
5610
+ {
5611
+ "in": "query",
5612
+ "name": "action"
5613
+ },
5614
+ {
5615
+ "in": "query",
5616
+ "name": "targetType"
5617
+ },
5618
+ {
5619
+ "in": "query",
5620
+ "name": "targetId"
5621
+ },
5622
+ {
5623
+ "in": "query",
5624
+ "name": "since"
5625
+ },
5626
+ {
5627
+ "in": "query",
5628
+ "name": "until"
5629
+ },
5630
+ {
5631
+ "in": "query",
5632
+ "name": "limit"
5633
+ },
5634
+ {
5635
+ "in": "query",
5636
+ "name": "cursor"
5637
+ }
5638
+ ],
5639
+ "path": "/users/audit",
5640
+ "readOnly": true
5641
+ }
5642
+ },
5643
+ "config": {
5644
+ "get": {
5645
+ "method": "GET",
5646
+ "path": "/users/config",
5647
+ "readOnly": true
5648
+ },
5649
+ "upsert": {
5650
+ "method": "PUT",
5651
+ "params": [
5652
+ {
5653
+ "in": "body",
5654
+ "name": "signupMode"
5655
+ },
5656
+ {
5657
+ "in": "body",
5658
+ "name": "passwordPolicy"
5659
+ },
5660
+ {
5661
+ "in": "body",
5662
+ "name": "sessionTtlHours"
5663
+ },
5664
+ {
5665
+ "in": "body",
5666
+ "name": "accessTokenTtlMinutes"
5667
+ },
5668
+ {
5669
+ "in": "body",
5670
+ "name": "refreshSlidingDays"
5671
+ },
5672
+ {
5673
+ "in": "body",
5674
+ "name": "refreshAbsoluteDays"
5675
+ },
5676
+ {
5677
+ "in": "body",
5678
+ "name": "redirectUriAllowlist"
5679
+ },
5680
+ {
5681
+ "in": "body",
5682
+ "name": "allowedOrigins"
5683
+ },
5684
+ {
5685
+ "in": "body",
5686
+ "name": "protection"
5687
+ },
5688
+ {
5689
+ "in": "body",
5690
+ "name": "captcha"
5691
+ },
5692
+ {
5693
+ "in": "body",
5694
+ "name": "email"
5695
+ },
5696
+ {
5697
+ "in": "body",
5698
+ "name": "recovery"
5699
+ },
5700
+ {
5701
+ "in": "body",
5702
+ "name": "emailChange"
5703
+ },
5704
+ {
5705
+ "in": "body",
5706
+ "name": "invite"
5707
+ },
5708
+ {
5709
+ "in": "body",
5710
+ "name": "waitlist"
5711
+ },
5712
+ {
5713
+ "in": "body",
5714
+ "name": "testMode"
5715
+ },
5716
+ {
5717
+ "in": "body",
5718
+ "name": "retention"
5719
+ },
5720
+ {
5721
+ "in": "body",
5722
+ "name": "hosted"
5723
+ },
5724
+ {
5725
+ "in": "body",
5726
+ "name": "mfa"
5727
+ },
5728
+ {
5729
+ "in": "body",
5730
+ "name": "notifications"
5731
+ },
5732
+ {
5733
+ "in": "body",
5734
+ "name": "oauth"
5735
+ }
5736
+ ],
5737
+ "path": "/users/config",
5738
+ "readOnly": false
5739
+ }
5740
+ },
5741
+ "factors": {
5742
+ "list": {
5743
+ "method": "GET",
5744
+ "params": [
5745
+ {
5746
+ "in": "path",
5747
+ "name": "userId"
5748
+ }
5749
+ ],
5750
+ "path": "/users/users/:userId/factors",
5751
+ "readOnly": true
5752
+ },
5753
+ "reset": {
5754
+ "method": "POST",
5755
+ "params": [
5756
+ {
5757
+ "in": "path",
5758
+ "name": "userId"
5759
+ },
5760
+ {
5761
+ "in": "body",
5762
+ "name": "reason"
5763
+ }
5764
+ ],
5765
+ "path": "/users/users/:userId/factors/reset",
5766
+ "readOnly": false
5767
+ }
5768
+ },
5769
+ "keys": {
5770
+ "list": {
5771
+ "method": "GET",
5772
+ "path": "/users/keys",
5773
+ "readOnly": true
5774
+ },
5775
+ "revoke": {
5776
+ "method": "POST",
5777
+ "params": [
5778
+ {
5779
+ "in": "body",
5780
+ "name": "kid"
5781
+ },
5782
+ {
5783
+ "in": "body",
5784
+ "name": "reason"
5785
+ },
5786
+ {
5787
+ "in": "body",
5788
+ "name": "revokeSessions"
5789
+ }
5790
+ ],
5791
+ "path": "/users/keys/revoke",
5792
+ "readOnly": false
5793
+ },
5794
+ "rotate": {
5795
+ "method": "POST",
5796
+ "path": "/users/keys/rotate",
5797
+ "readOnly": false
5798
+ }
5799
+ },
5800
+ "ops-retention": {
5801
+ "get": {
5802
+ "method": "POST",
5803
+ "path": "/users/ops/retention",
5804
+ "readOnly": false
5805
+ }
5806
+ },
5807
+ "ops-slo": {
5808
+ "get": {
5809
+ "method": "POST",
5810
+ "path": "/users/ops/slo",
5811
+ "readOnly": false
5812
+ }
5813
+ },
5814
+ "sessions": {
5815
+ "get": {
5816
+ "method": "GET",
5817
+ "params": [
5818
+ {
5819
+ "in": "path",
5820
+ "name": "sessionId"
5821
+ }
5822
+ ],
5823
+ "path": "/users/sessions/:sessionId",
5824
+ "readOnly": true
5825
+ },
5826
+ "impersonate": {
5827
+ "method": "POST",
5828
+ "params": [
5829
+ {
5830
+ "in": "body",
5831
+ "name": "userId"
5832
+ },
5833
+ {
5834
+ "in": "body",
5835
+ "name": "reason"
5836
+ }
5837
+ ],
5838
+ "path": "/users/sessions/impersonate",
5839
+ "readOnly": false
5840
+ },
5841
+ "list": {
5842
+ "method": "GET",
5843
+ "params": [
5844
+ {
5845
+ "in": "query",
5846
+ "name": "userId"
5847
+ }
5848
+ ],
5849
+ "path": "/users/sessions",
5850
+ "readOnly": true
5851
+ },
5852
+ "revoke": {
5853
+ "method": "POST",
5854
+ "params": [
5855
+ {
5856
+ "in": "body",
5857
+ "name": "sessionId"
5858
+ },
5859
+ {
5860
+ "in": "body",
5861
+ "name": "userId"
5862
+ }
5863
+ ],
5864
+ "path": "/users/sessions/revoke",
5865
+ "readOnly": false
5866
+ }
5867
+ },
5868
+ "stats": {
5869
+ "get": {
5870
+ "method": "POST",
5871
+ "params": [
5872
+ {
5873
+ "in": "body",
5874
+ "name": "window"
5875
+ }
5876
+ ],
5877
+ "path": "/users/stats/get",
5878
+ "readOnly": false
5879
+ }
5880
+ },
5881
+ "users": {
5882
+ "ban": {
5883
+ "method": "POST",
5884
+ "params": [
5885
+ {
5886
+ "in": "path",
5887
+ "name": "userId"
5888
+ }
5889
+ ],
5890
+ "path": "/users/users/:userId/ban",
5891
+ "readOnly": false
5892
+ },
5893
+ "create": {
5894
+ "method": "POST",
5895
+ "params": [
5896
+ {
5897
+ "in": "body",
5898
+ "name": "name"
5899
+ },
5900
+ {
5901
+ "in": "body",
5902
+ "name": "imageUrl"
5903
+ },
5904
+ {
5905
+ "in": "body",
5906
+ "name": "identifiers"
5907
+ },
5908
+ {
5909
+ "in": "body",
5910
+ "name": "password"
5911
+ },
5912
+ {
5913
+ "in": "body",
5914
+ "name": "waitlisted"
5915
+ },
5916
+ {
5917
+ "in": "body",
5918
+ "name": "testUser"
5919
+ },
5920
+ {
5921
+ "in": "body",
5922
+ "name": "requiresReset"
5923
+ },
5924
+ {
5925
+ "in": "body",
5926
+ "name": "publicMetadata"
5927
+ },
5928
+ {
5929
+ "in": "body",
5930
+ "name": "privateMetadata"
5931
+ },
5932
+ {
5933
+ "in": "body",
5934
+ "name": "unsafeMetadata"
5935
+ }
5936
+ ],
5937
+ "path": "/users/users",
5938
+ "readOnly": false
5939
+ },
5940
+ "delete": {
5941
+ "method": "DELETE",
5942
+ "params": [
5943
+ {
5944
+ "in": "path",
5945
+ "name": "userId"
5946
+ }
5947
+ ],
5948
+ "path": "/users/users/:userId",
5949
+ "readOnly": false
5950
+ },
5951
+ "erase": {
5952
+ "method": "POST",
5953
+ "params": [
5954
+ {
5955
+ "in": "path",
5956
+ "name": "userId"
5957
+ }
5958
+ ],
5959
+ "path": "/users/users/:userId/erase",
5960
+ "readOnly": false
5961
+ },
5962
+ "export": {
5963
+ "method": "GET",
5964
+ "params": [
5965
+ {
5966
+ "in": "query",
5967
+ "name": "query"
5968
+ },
5969
+ {
5970
+ "in": "query",
5971
+ "name": "status"
5972
+ },
5973
+ {
5974
+ "in": "query",
5975
+ "name": "includeDeleted"
5976
+ },
5977
+ {
5978
+ "in": "query",
5979
+ "name": "limit"
5980
+ },
5981
+ {
5982
+ "in": "query",
5983
+ "name": "cursor"
5984
+ }
5985
+ ],
5986
+ "path": "/users/users/export",
5987
+ "readOnly": false
5988
+ },
5989
+ "get": {
5990
+ "method": "GET",
5991
+ "params": [
5992
+ {
5993
+ "in": "path",
5994
+ "name": "userId"
5995
+ }
5996
+ ],
5997
+ "path": "/users/users/:userId",
5998
+ "readOnly": true
5999
+ },
6000
+ "import": {
6001
+ "method": "POST",
6002
+ "params": [
6003
+ {
6004
+ "in": "body",
6005
+ "name": "users"
6006
+ }
6007
+ ],
6008
+ "path": "/users/users/import",
6009
+ "readOnly": false
6010
+ },
6011
+ "invite": {
6012
+ "method": "POST",
6013
+ "params": [
6014
+ {
6015
+ "in": "body",
6016
+ "name": "email"
6017
+ },
6018
+ {
6019
+ "in": "body",
6020
+ "name": "name"
6021
+ },
6022
+ {
6023
+ "in": "body",
6024
+ "name": "publicMetadata"
6025
+ },
6026
+ {
6027
+ "in": "body",
6028
+ "name": "privateMetadata"
6029
+ }
6030
+ ],
6031
+ "path": "/users/users/invite",
6032
+ "readOnly": false
6033
+ },
6034
+ "list": {
6035
+ "method": "GET",
6036
+ "params": [
6037
+ {
6038
+ "in": "query",
6039
+ "name": "query"
6040
+ },
6041
+ {
6042
+ "in": "query",
6043
+ "name": "status"
6044
+ },
6045
+ {
6046
+ "in": "query",
6047
+ "name": "includeDeleted"
6048
+ },
6049
+ {
6050
+ "in": "query",
6051
+ "name": "includeWaitlisted"
6052
+ },
6053
+ {
6054
+ "in": "query",
6055
+ "name": "includeTestUsers"
6056
+ },
6057
+ {
6058
+ "in": "query",
6059
+ "name": "limit"
6060
+ },
6061
+ {
6062
+ "in": "query",
6063
+ "name": "cursor"
6064
+ }
6065
+ ],
6066
+ "path": "/users/users",
6067
+ "readOnly": true
6068
+ },
6069
+ "unban": {
6070
+ "method": "POST",
6071
+ "params": [
6072
+ {
6073
+ "in": "path",
6074
+ "name": "userId"
6075
+ }
6076
+ ],
6077
+ "path": "/users/users/:userId/unban",
6078
+ "readOnly": false
6079
+ },
6080
+ "update": {
6081
+ "method": "PATCH",
6082
+ "params": [
6083
+ {
6084
+ "in": "path",
6085
+ "name": "userId"
6086
+ },
6087
+ {
6088
+ "in": "body",
6089
+ "name": "name"
6090
+ },
6091
+ {
6092
+ "in": "body",
6093
+ "name": "imageUrl"
6094
+ },
6095
+ {
6096
+ "in": "body",
6097
+ "name": "waitlisted"
6098
+ },
6099
+ {
6100
+ "in": "body",
6101
+ "name": "requiresReset"
6102
+ },
6103
+ {
6104
+ "in": "body",
6105
+ "name": "lockedUntil"
6106
+ },
6107
+ {
6108
+ "in": "body",
6109
+ "name": "publicMetadata"
6110
+ },
6111
+ {
6112
+ "in": "body",
6113
+ "name": "privateMetadata"
6114
+ },
6115
+ {
6116
+ "in": "body",
6117
+ "name": "unsafeMetadata"
6118
+ }
6119
+ ],
6120
+ "path": "/users/users/:userId",
6121
+ "readOnly": false
6122
+ }
6123
+ },
6124
+ "users-set-primary": {
6125
+ "identifier": {
6126
+ "method": "POST",
6127
+ "params": [
6128
+ {
6129
+ "in": "path",
6130
+ "name": "userId"
6131
+ },
6132
+ {
6133
+ "in": "body",
6134
+ "name": "email"
6135
+ },
6136
+ {
6137
+ "in": "body",
6138
+ "name": "reason"
6139
+ }
6140
+ ],
6141
+ "path": "/users/users/:userId/primary-identifier",
6142
+ "readOnly": false
6143
+ }
6144
+ },
6145
+ "waitlist": {
6146
+ "erase": {
6147
+ "method": "POST",
6148
+ "params": [
6149
+ {
6150
+ "in": "body",
6151
+ "name": "userId"
6152
+ }
6153
+ ],
6154
+ "path": "/users/waitlist/erase",
6155
+ "readOnly": false
6156
+ },
6157
+ "funnel": {
6158
+ "method": "POST",
6159
+ "path": "/users/waitlist/funnel",
6160
+ "readOnly": false
6161
+ },
6162
+ "import": {
6163
+ "method": "POST",
6164
+ "params": [
6165
+ {
6166
+ "in": "body",
6167
+ "name": "entries"
6168
+ }
6169
+ ],
6170
+ "path": "/users/waitlist/import",
6171
+ "readOnly": false
6172
+ },
6173
+ "invite": {
6174
+ "method": "POST",
6175
+ "params": [
6176
+ {
6177
+ "in": "body",
6178
+ "name": "userIds"
6179
+ }
6180
+ ],
6181
+ "path": "/users/waitlist/invite",
6182
+ "readOnly": false
6183
+ },
6184
+ "list": {
6185
+ "method": "POST",
6186
+ "params": [
6187
+ {
6188
+ "in": "body",
6189
+ "name": "status"
6190
+ },
6191
+ {
6192
+ "in": "body",
6193
+ "name": "confirmed"
6194
+ },
6195
+ {
6196
+ "in": "body",
6197
+ "name": "limit"
6198
+ },
6199
+ {
6200
+ "in": "body",
6201
+ "name": "cursor"
6202
+ }
6203
+ ],
6204
+ "path": "/users/waitlist/list",
6205
+ "readOnly": false
6206
+ }
6207
+ },
6208
+ "webhooks": {
6209
+ "create": {
6210
+ "method": "POST",
6211
+ "params": [
6212
+ {
6213
+ "in": "body",
6214
+ "name": "url"
6215
+ },
6216
+ {
6217
+ "in": "body",
6218
+ "name": "events"
6219
+ },
6220
+ {
6221
+ "in": "body",
6222
+ "name": "description"
6223
+ }
6224
+ ],
6225
+ "path": "/users/webhooks",
6226
+ "readOnly": false
6227
+ },
6228
+ "delete": {
6229
+ "method": "DELETE",
6230
+ "params": [
6231
+ {
6232
+ "in": "path",
6233
+ "name": "id"
6234
+ }
6235
+ ],
6236
+ "path": "/users/webhooks/:id",
6237
+ "readOnly": false
6238
+ },
6239
+ "get": {
6240
+ "method": "GET",
6241
+ "params": [
6242
+ {
6243
+ "in": "path",
6244
+ "name": "id"
6245
+ }
6246
+ ],
6247
+ "path": "/users/webhooks/:id",
6248
+ "readOnly": true
6249
+ },
6250
+ "list": {
6251
+ "method": "GET",
6252
+ "path": "/users/webhooks",
6253
+ "readOnly": true
6254
+ },
6255
+ "update": {
6256
+ "method": "PATCH",
6257
+ "params": [
6258
+ {
6259
+ "in": "path",
6260
+ "name": "id"
6261
+ },
6262
+ {
6263
+ "in": "body",
6264
+ "name": "url"
6265
+ },
6266
+ {
6267
+ "in": "body",
6268
+ "name": "events"
6269
+ },
6270
+ {
6271
+ "in": "body",
6272
+ "name": "description"
6273
+ },
6274
+ {
6275
+ "in": "body",
6276
+ "name": "active"
6277
+ }
6278
+ ],
6279
+ "path": "/users/webhooks/:id",
6280
+ "readOnly": false
6281
+ }
6282
+ },
6283
+ "webhooks-deliveries": {
6284
+ "list": {
6285
+ "method": "GET",
6286
+ "params": [
6287
+ {
6288
+ "in": "path",
6289
+ "name": "id"
6290
+ },
6291
+ {
6292
+ "in": "query",
6293
+ "name": "limit"
6294
+ }
6295
+ ],
6296
+ "path": "/users/webhooks/:id/deliveries",
6297
+ "readOnly": true
6298
+ }
6299
+ },
6300
+ "webhooks-rotate": {
6301
+ "secret": {
6302
+ "method": "POST",
6303
+ "params": [
6304
+ {
6305
+ "in": "path",
6306
+ "name": "id"
6307
+ }
6308
+ ],
6309
+ "path": "/users/webhooks/:id/rotate-secret",
6310
+ "readOnly": false
6311
+ }
6312
+ }
6313
+ },
5481
6314
  "waitlist": {
5482
6315
  "config": {
5483
6316
  "get": {