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