@lessly/sdk-app 16.0.0 → 17.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.
Files changed (53) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +5 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +6 -2
  6. package/dist/brain/index.d.ts +6 -2
  7. package/dist/brain/index.js +5 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-lpkpZleM.d.cts → client.gen-DYlVp4ZF.d.cts} +232 -3042
  10. package/dist/{client.gen-lpkpZleM.d.ts → client.gen-DYlVp4ZF.d.ts} +232 -3042
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +13 -846
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +13 -846
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/realtime/index.d.cts +1 -1
  26. package/dist/realtime/index.d.ts +1 -1
  27. package/dist/tracking/index.d.cts +1 -1
  28. package/dist/tracking/index.d.ts +1 -1
  29. package/dist/waitlist/index.d.cts +1 -1
  30. package/dist/waitlist/index.d.ts +1 -1
  31. package/package.json +2 -12
  32. package/src/gen/bindings.gen.ts +13 -846
  33. package/src/gen/brain/index.ts +1 -1
  34. package/src/gen/brain/queryOptions.gen.ts +7 -0
  35. package/src/gen/client.gen.ts +5 -210
  36. package/src/gen/manifest.gen.ts +1 -1
  37. package/src/gen/types.gen.ts +96 -2923
  38. package/dist/playground/index.cjs +0 -66
  39. package/dist/playground/index.cjs.map +0 -1
  40. package/dist/playground/index.d.cts +0 -52
  41. package/dist/playground/index.d.ts +0 -52
  42. package/dist/playground/index.js +0 -53
  43. package/dist/playground/index.js.map +0 -1
  44. package/dist/users/index.cjs +0 -216
  45. package/dist/users/index.cjs.map +0 -1
  46. package/dist/users/index.d.cts +0 -172
  47. package/dist/users/index.d.ts +0 -172
  48. package/dist/users/index.js +0 -173
  49. package/dist/users/index.js.map +0 -1
  50. package/src/gen/playground/index.ts +0 -3
  51. package/src/gen/playground/queryOptions.gen.ts +0 -86
  52. package/src/gen/users/index.ts +0 -3
  53. package/src/gen/users/queryOptions.gen.ts +0 -268
package/dist/index.js CHANGED
@@ -795,6 +795,19 @@ 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
+ }
798
811
  }
799
812
  },
800
813
  "consent": {
@@ -4428,110 +4441,6 @@ var bindings = {
4428
4441
  }
4429
4442
  }
4430
4443
  },
4431
- "playground": {
4432
- "analytics": {
4433
- "overview": {
4434
- "method": "POST",
4435
- "params": [
4436
- {
4437
- "in": "body",
4438
- "name": "limit"
4439
- }
4440
- ],
4441
- "path": "/playground/analytics/overview",
4442
- "readOnly": true
4443
- }
4444
- },
4445
- "billing": {
4446
- "entitlements": {
4447
- "method": "POST",
4448
- "path": "/playground/billing/entitlements",
4449
- "readOnly": true
4450
- },
4451
- "record-usage": {
4452
- "method": "POST",
4453
- "params": [
4454
- {
4455
- "in": "body",
4456
- "name": "value"
4457
- }
4458
- ],
4459
- "path": "/playground/billing/usage",
4460
- "readOnly": false
4461
- }
4462
- },
4463
- "clickup": {
4464
- "create-task": {
4465
- "method": "POST",
4466
- "params": [
4467
- {
4468
- "in": "body",
4469
- "name": "listId"
4470
- },
4471
- {
4472
- "in": "body",
4473
- "name": "name"
4474
- }
4475
- ],
4476
- "path": "/playground/clickup/tasks",
4477
- "readOnly": false
4478
- },
4479
- "get-last-webhook": {
4480
- "method": "GET",
4481
- "path": "/playground/clickup/webhooks/last",
4482
- "readOnly": true
4483
- },
4484
- "get-overview": {
4485
- "method": "GET",
4486
- "path": "/playground/clickup/overview",
4487
- "readOnly": true
4488
- }
4489
- },
4490
- "gdrive": {
4491
- "get-last-change": {
4492
- "method": "GET",
4493
- "path": "/playground/gdrive/changes/last",
4494
- "readOnly": true
4495
- },
4496
- "read-file": {
4497
- "method": "POST",
4498
- "params": [
4499
- {
4500
- "in": "body",
4501
- "name": "fileId"
4502
- }
4503
- ],
4504
- "path": "/playground/gdrive/file",
4505
- "readOnly": true
4506
- }
4507
- },
4508
- "googleads": {
4509
- "read-customer": {
4510
- "method": "POST",
4511
- "path": "/playground/googleads/customer",
4512
- "readOnly": true
4513
- }
4514
- },
4515
- "lifecycle": {
4516
- "get-state": {
4517
- "method": "GET",
4518
- "path": "/playground/lifecycle/state",
4519
- "readOnly": true
4520
- },
4521
- "list-events": {
4522
- "method": "GET",
4523
- "path": "/playground/lifecycle/events",
4524
- "readOnly": true
4525
- }
4526
- },
4527
- "webhook": {
4528
- "get-last": {
4529
- "method": "GET",
4530
- "path": "/playground/webhooks/last",
4531
- "readOnly": true
4532
- }
4533
- }
4534
- },
4535
4444
  "realtime": {
4536
4445
  "apikey": {
4537
4446
  "create": {
@@ -5629,748 +5538,6 @@ var bindings = {
5629
5538
  }
5630
5539
  }
5631
5540
  },
5632
- "users": {
5633
- "apikeys": {
5634
- "create": {
5635
- "method": "POST",
5636
- "params": [
5637
- {
5638
- "in": "body",
5639
- "name": "name"
5640
- },
5641
- {
5642
- "in": "body",
5643
- "name": "type"
5644
- }
5645
- ],
5646
- "path": "/users/api-keys",
5647
- "readOnly": false
5648
- },
5649
- "list": {
5650
- "method": "GET",
5651
- "path": "/users/api-keys",
5652
- "readOnly": true
5653
- },
5654
- "revoke": {
5655
- "method": "DELETE",
5656
- "params": [
5657
- {
5658
- "in": "path",
5659
- "name": "id"
5660
- }
5661
- ],
5662
- "path": "/users/api-keys/:id",
5663
- "readOnly": false
5664
- }
5665
- },
5666
- "audit": {
5667
- "list": {
5668
- "method": "GET",
5669
- "params": [
5670
- {
5671
- "in": "query",
5672
- "name": "action"
5673
- },
5674
- {
5675
- "in": "query",
5676
- "name": "targetType"
5677
- },
5678
- {
5679
- "in": "query",
5680
- "name": "targetId"
5681
- },
5682
- {
5683
- "in": "query",
5684
- "name": "since"
5685
- },
5686
- {
5687
- "in": "query",
5688
- "name": "until"
5689
- },
5690
- {
5691
- "in": "query",
5692
- "name": "limit"
5693
- },
5694
- {
5695
- "in": "query",
5696
- "name": "cursor"
5697
- }
5698
- ],
5699
- "path": "/users/audit",
5700
- "readOnly": true
5701
- }
5702
- },
5703
- "config": {
5704
- "get": {
5705
- "method": "GET",
5706
- "path": "/users/config",
5707
- "readOnly": true
5708
- },
5709
- "upsert": {
5710
- "method": "PUT",
5711
- "params": [
5712
- {
5713
- "in": "body",
5714
- "name": "signupMode"
5715
- },
5716
- {
5717
- "in": "body",
5718
- "name": "passwordPolicy"
5719
- },
5720
- {
5721
- "in": "body",
5722
- "name": "sessionTtlHours"
5723
- },
5724
- {
5725
- "in": "body",
5726
- "name": "accessTokenTtlMinutes"
5727
- },
5728
- {
5729
- "in": "body",
5730
- "name": "refreshSlidingDays"
5731
- },
5732
- {
5733
- "in": "body",
5734
- "name": "refreshAbsoluteDays"
5735
- },
5736
- {
5737
- "in": "body",
5738
- "name": "redirectUriAllowlist"
5739
- },
5740
- {
5741
- "in": "body",
5742
- "name": "allowedOrigins"
5743
- },
5744
- {
5745
- "in": "body",
5746
- "name": "protection"
5747
- },
5748
- {
5749
- "in": "body",
5750
- "name": "captcha"
5751
- },
5752
- {
5753
- "in": "body",
5754
- "name": "email"
5755
- },
5756
- {
5757
- "in": "body",
5758
- "name": "recovery"
5759
- },
5760
- {
5761
- "in": "body",
5762
- "name": "emailChange"
5763
- },
5764
- {
5765
- "in": "body",
5766
- "name": "invite"
5767
- },
5768
- {
5769
- "in": "body",
5770
- "name": "waitlist"
5771
- },
5772
- {
5773
- "in": "body",
5774
- "name": "testMode"
5775
- },
5776
- {
5777
- "in": "body",
5778
- "name": "retention"
5779
- },
5780
- {
5781
- "in": "body",
5782
- "name": "hosted"
5783
- },
5784
- {
5785
- "in": "body",
5786
- "name": "mfa"
5787
- },
5788
- {
5789
- "in": "body",
5790
- "name": "notifications"
5791
- },
5792
- {
5793
- "in": "body",
5794
- "name": "oauth"
5795
- }
5796
- ],
5797
- "path": "/users/config",
5798
- "readOnly": false
5799
- }
5800
- },
5801
- "factors": {
5802
- "list": {
5803
- "method": "GET",
5804
- "params": [
5805
- {
5806
- "in": "path",
5807
- "name": "userId"
5808
- }
5809
- ],
5810
- "path": "/users/users/:userId/factors",
5811
- "readOnly": true
5812
- },
5813
- "reset": {
5814
- "method": "POST",
5815
- "params": [
5816
- {
5817
- "in": "path",
5818
- "name": "userId"
5819
- },
5820
- {
5821
- "in": "body",
5822
- "name": "reason"
5823
- }
5824
- ],
5825
- "path": "/users/users/:userId/factors/reset",
5826
- "readOnly": false
5827
- }
5828
- },
5829
- "keys": {
5830
- "list": {
5831
- "method": "GET",
5832
- "path": "/users/keys",
5833
- "readOnly": true
5834
- },
5835
- "revoke": {
5836
- "method": "POST",
5837
- "params": [
5838
- {
5839
- "in": "body",
5840
- "name": "kid"
5841
- },
5842
- {
5843
- "in": "body",
5844
- "name": "reason"
5845
- },
5846
- {
5847
- "in": "body",
5848
- "name": "revokeSessions"
5849
- }
5850
- ],
5851
- "path": "/users/keys/revoke",
5852
- "readOnly": false
5853
- },
5854
- "rotate": {
5855
- "method": "POST",
5856
- "path": "/users/keys/rotate",
5857
- "readOnly": false
5858
- }
5859
- },
5860
- "ops-retention": {
5861
- "get": {
5862
- "method": "POST",
5863
- "path": "/users/ops/retention",
5864
- "readOnly": false
5865
- }
5866
- },
5867
- "ops-slo": {
5868
- "get": {
5869
- "method": "POST",
5870
- "path": "/users/ops/slo",
5871
- "readOnly": false
5872
- }
5873
- },
5874
- "sessions": {
5875
- "get": {
5876
- "method": "GET",
5877
- "params": [
5878
- {
5879
- "in": "path",
5880
- "name": "sessionId"
5881
- }
5882
- ],
5883
- "path": "/users/sessions/:sessionId",
5884
- "readOnly": true
5885
- },
5886
- "impersonate": {
5887
- "method": "POST",
5888
- "params": [
5889
- {
5890
- "in": "body",
5891
- "name": "userId"
5892
- },
5893
- {
5894
- "in": "body",
5895
- "name": "reason"
5896
- }
5897
- ],
5898
- "path": "/users/sessions/impersonate",
5899
- "readOnly": false
5900
- },
5901
- "list": {
5902
- "method": "GET",
5903
- "params": [
5904
- {
5905
- "in": "query",
5906
- "name": "userId"
5907
- }
5908
- ],
5909
- "path": "/users/sessions",
5910
- "readOnly": true
5911
- },
5912
- "revoke": {
5913
- "method": "POST",
5914
- "params": [
5915
- {
5916
- "in": "body",
5917
- "name": "sessionId"
5918
- },
5919
- {
5920
- "in": "body",
5921
- "name": "userId"
5922
- }
5923
- ],
5924
- "path": "/users/sessions/revoke",
5925
- "readOnly": false
5926
- }
5927
- },
5928
- "stats": {
5929
- "get": {
5930
- "method": "POST",
5931
- "params": [
5932
- {
5933
- "in": "body",
5934
- "name": "window"
5935
- }
5936
- ],
5937
- "path": "/users/stats/get",
5938
- "readOnly": false
5939
- }
5940
- },
5941
- "users": {
5942
- "ban": {
5943
- "method": "POST",
5944
- "params": [
5945
- {
5946
- "in": "path",
5947
- "name": "userId"
5948
- }
5949
- ],
5950
- "path": "/users/users/:userId/ban",
5951
- "readOnly": false
5952
- },
5953
- "create": {
5954
- "method": "POST",
5955
- "params": [
5956
- {
5957
- "in": "body",
5958
- "name": "name"
5959
- },
5960
- {
5961
- "in": "body",
5962
- "name": "imageUrl"
5963
- },
5964
- {
5965
- "in": "body",
5966
- "name": "identifiers"
5967
- },
5968
- {
5969
- "in": "body",
5970
- "name": "password"
5971
- },
5972
- {
5973
- "in": "body",
5974
- "name": "waitlisted"
5975
- },
5976
- {
5977
- "in": "body",
5978
- "name": "testUser"
5979
- },
5980
- {
5981
- "in": "body",
5982
- "name": "requiresReset"
5983
- },
5984
- {
5985
- "in": "body",
5986
- "name": "publicMetadata"
5987
- },
5988
- {
5989
- "in": "body",
5990
- "name": "privateMetadata"
5991
- },
5992
- {
5993
- "in": "body",
5994
- "name": "unsafeMetadata"
5995
- }
5996
- ],
5997
- "path": "/users/users",
5998
- "readOnly": false
5999
- },
6000
- "delete": {
6001
- "method": "DELETE",
6002
- "params": [
6003
- {
6004
- "in": "path",
6005
- "name": "userId"
6006
- }
6007
- ],
6008
- "path": "/users/users/:userId",
6009
- "readOnly": false
6010
- },
6011
- "erase": {
6012
- "method": "POST",
6013
- "params": [
6014
- {
6015
- "in": "path",
6016
- "name": "userId"
6017
- }
6018
- ],
6019
- "path": "/users/users/:userId/erase",
6020
- "readOnly": false
6021
- },
6022
- "export": {
6023
- "method": "GET",
6024
- "params": [
6025
- {
6026
- "in": "query",
6027
- "name": "query"
6028
- },
6029
- {
6030
- "in": "query",
6031
- "name": "status"
6032
- },
6033
- {
6034
- "in": "query",
6035
- "name": "includeDeleted"
6036
- },
6037
- {
6038
- "in": "query",
6039
- "name": "limit"
6040
- },
6041
- {
6042
- "in": "query",
6043
- "name": "cursor"
6044
- }
6045
- ],
6046
- "path": "/users/users/export",
6047
- "readOnly": false
6048
- },
6049
- "get": {
6050
- "method": "GET",
6051
- "params": [
6052
- {
6053
- "in": "path",
6054
- "name": "userId"
6055
- }
6056
- ],
6057
- "path": "/users/users/:userId",
6058
- "readOnly": true
6059
- },
6060
- "import": {
6061
- "method": "POST",
6062
- "params": [
6063
- {
6064
- "in": "body",
6065
- "name": "users"
6066
- }
6067
- ],
6068
- "path": "/users/users/import",
6069
- "readOnly": false
6070
- },
6071
- "invite": {
6072
- "method": "POST",
6073
- "params": [
6074
- {
6075
- "in": "body",
6076
- "name": "email"
6077
- },
6078
- {
6079
- "in": "body",
6080
- "name": "name"
6081
- },
6082
- {
6083
- "in": "body",
6084
- "name": "publicMetadata"
6085
- },
6086
- {
6087
- "in": "body",
6088
- "name": "privateMetadata"
6089
- }
6090
- ],
6091
- "path": "/users/users/invite",
6092
- "readOnly": false
6093
- },
6094
- "list": {
6095
- "method": "GET",
6096
- "params": [
6097
- {
6098
- "in": "query",
6099
- "name": "query"
6100
- },
6101
- {
6102
- "in": "query",
6103
- "name": "status"
6104
- },
6105
- {
6106
- "in": "query",
6107
- "name": "includeDeleted"
6108
- },
6109
- {
6110
- "in": "query",
6111
- "name": "includeWaitlisted"
6112
- },
6113
- {
6114
- "in": "query",
6115
- "name": "includeTestUsers"
6116
- },
6117
- {
6118
- "in": "query",
6119
- "name": "limit"
6120
- },
6121
- {
6122
- "in": "query",
6123
- "name": "cursor"
6124
- }
6125
- ],
6126
- "path": "/users/users",
6127
- "readOnly": true
6128
- },
6129
- "unban": {
6130
- "method": "POST",
6131
- "params": [
6132
- {
6133
- "in": "path",
6134
- "name": "userId"
6135
- }
6136
- ],
6137
- "path": "/users/users/:userId/unban",
6138
- "readOnly": false
6139
- },
6140
- "update": {
6141
- "method": "PATCH",
6142
- "params": [
6143
- {
6144
- "in": "path",
6145
- "name": "userId"
6146
- },
6147
- {
6148
- "in": "body",
6149
- "name": "name"
6150
- },
6151
- {
6152
- "in": "body",
6153
- "name": "imageUrl"
6154
- },
6155
- {
6156
- "in": "body",
6157
- "name": "waitlisted"
6158
- },
6159
- {
6160
- "in": "body",
6161
- "name": "requiresReset"
6162
- },
6163
- {
6164
- "in": "body",
6165
- "name": "lockedUntil"
6166
- },
6167
- {
6168
- "in": "body",
6169
- "name": "publicMetadata"
6170
- },
6171
- {
6172
- "in": "body",
6173
- "name": "privateMetadata"
6174
- },
6175
- {
6176
- "in": "body",
6177
- "name": "unsafeMetadata"
6178
- }
6179
- ],
6180
- "path": "/users/users/:userId",
6181
- "readOnly": false
6182
- }
6183
- },
6184
- "users-set-primary": {
6185
- "identifier": {
6186
- "method": "POST",
6187
- "params": [
6188
- {
6189
- "in": "path",
6190
- "name": "userId"
6191
- },
6192
- {
6193
- "in": "body",
6194
- "name": "email"
6195
- },
6196
- {
6197
- "in": "body",
6198
- "name": "reason"
6199
- }
6200
- ],
6201
- "path": "/users/users/:userId/primary-identifier",
6202
- "readOnly": false
6203
- }
6204
- },
6205
- "waitlist": {
6206
- "erase": {
6207
- "method": "POST",
6208
- "params": [
6209
- {
6210
- "in": "body",
6211
- "name": "userId"
6212
- }
6213
- ],
6214
- "path": "/users/waitlist/erase",
6215
- "readOnly": false
6216
- },
6217
- "funnel": {
6218
- "method": "POST",
6219
- "path": "/users/waitlist/funnel",
6220
- "readOnly": false
6221
- },
6222
- "import": {
6223
- "method": "POST",
6224
- "params": [
6225
- {
6226
- "in": "body",
6227
- "name": "entries"
6228
- }
6229
- ],
6230
- "path": "/users/waitlist/import",
6231
- "readOnly": false
6232
- },
6233
- "invite": {
6234
- "method": "POST",
6235
- "params": [
6236
- {
6237
- "in": "body",
6238
- "name": "userIds"
6239
- }
6240
- ],
6241
- "path": "/users/waitlist/invite",
6242
- "readOnly": false
6243
- },
6244
- "list": {
6245
- "method": "POST",
6246
- "params": [
6247
- {
6248
- "in": "body",
6249
- "name": "status"
6250
- },
6251
- {
6252
- "in": "body",
6253
- "name": "confirmed"
6254
- },
6255
- {
6256
- "in": "body",
6257
- "name": "limit"
6258
- },
6259
- {
6260
- "in": "body",
6261
- "name": "cursor"
6262
- }
6263
- ],
6264
- "path": "/users/waitlist/list",
6265
- "readOnly": false
6266
- }
6267
- },
6268
- "webhooks": {
6269
- "create": {
6270
- "method": "POST",
6271
- "params": [
6272
- {
6273
- "in": "body",
6274
- "name": "url"
6275
- },
6276
- {
6277
- "in": "body",
6278
- "name": "events"
6279
- },
6280
- {
6281
- "in": "body",
6282
- "name": "description"
6283
- }
6284
- ],
6285
- "path": "/users/webhooks",
6286
- "readOnly": false
6287
- },
6288
- "delete": {
6289
- "method": "DELETE",
6290
- "params": [
6291
- {
6292
- "in": "path",
6293
- "name": "id"
6294
- }
6295
- ],
6296
- "path": "/users/webhooks/:id",
6297
- "readOnly": false
6298
- },
6299
- "get": {
6300
- "method": "GET",
6301
- "params": [
6302
- {
6303
- "in": "path",
6304
- "name": "id"
6305
- }
6306
- ],
6307
- "path": "/users/webhooks/:id",
6308
- "readOnly": true
6309
- },
6310
- "list": {
6311
- "method": "GET",
6312
- "path": "/users/webhooks",
6313
- "readOnly": true
6314
- },
6315
- "update": {
6316
- "method": "PATCH",
6317
- "params": [
6318
- {
6319
- "in": "path",
6320
- "name": "id"
6321
- },
6322
- {
6323
- "in": "body",
6324
- "name": "url"
6325
- },
6326
- {
6327
- "in": "body",
6328
- "name": "events"
6329
- },
6330
- {
6331
- "in": "body",
6332
- "name": "description"
6333
- },
6334
- {
6335
- "in": "body",
6336
- "name": "active"
6337
- }
6338
- ],
6339
- "path": "/users/webhooks/:id",
6340
- "readOnly": false
6341
- }
6342
- },
6343
- "webhooks-deliveries": {
6344
- "list": {
6345
- "method": "GET",
6346
- "params": [
6347
- {
6348
- "in": "path",
6349
- "name": "id"
6350
- },
6351
- {
6352
- "in": "query",
6353
- "name": "limit"
6354
- }
6355
- ],
6356
- "path": "/users/webhooks/:id/deliveries",
6357
- "readOnly": true
6358
- }
6359
- },
6360
- "webhooks-rotate": {
6361
- "secret": {
6362
- "method": "POST",
6363
- "params": [
6364
- {
6365
- "in": "path",
6366
- "name": "id"
6367
- }
6368
- ],
6369
- "path": "/users/webhooks/:id/rotate-secret",
6370
- "readOnly": false
6371
- }
6372
- }
6373
- },
6374
5541
  "waitlist": {
6375
5542
  "config": {
6376
5543
  "get": {