@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
@@ -683,6 +683,19 @@ export const bindings: BindingsMap = {
683
683
  "path": "/brain/restores/:restoreId",
684
684
  "readOnly": true
685
685
  }
686
+ },
687
+ "usage": {
688
+ "report": {
689
+ "method": "GET",
690
+ "params": [
691
+ {
692
+ "in": "query",
693
+ "name": "days"
694
+ }
695
+ ],
696
+ "path": "/brain/usage/report",
697
+ "readOnly": true
698
+ }
686
699
  }
687
700
  },
688
701
  "consent": {
@@ -4316,110 +4329,6 @@ export const bindings: BindingsMap = {
4316
4329
  }
4317
4330
  }
4318
4331
  },
4319
- "playground": {
4320
- "analytics": {
4321
- "overview": {
4322
- "method": "POST",
4323
- "params": [
4324
- {
4325
- "in": "body",
4326
- "name": "limit"
4327
- }
4328
- ],
4329
- "path": "/playground/analytics/overview",
4330
- "readOnly": true
4331
- }
4332
- },
4333
- "billing": {
4334
- "entitlements": {
4335
- "method": "POST",
4336
- "path": "/playground/billing/entitlements",
4337
- "readOnly": true
4338
- },
4339
- "record-usage": {
4340
- "method": "POST",
4341
- "params": [
4342
- {
4343
- "in": "body",
4344
- "name": "value"
4345
- }
4346
- ],
4347
- "path": "/playground/billing/usage",
4348
- "readOnly": false
4349
- }
4350
- },
4351
- "clickup": {
4352
- "create-task": {
4353
- "method": "POST",
4354
- "params": [
4355
- {
4356
- "in": "body",
4357
- "name": "listId"
4358
- },
4359
- {
4360
- "in": "body",
4361
- "name": "name"
4362
- }
4363
- ],
4364
- "path": "/playground/clickup/tasks",
4365
- "readOnly": false
4366
- },
4367
- "get-last-webhook": {
4368
- "method": "GET",
4369
- "path": "/playground/clickup/webhooks/last",
4370
- "readOnly": true
4371
- },
4372
- "get-overview": {
4373
- "method": "GET",
4374
- "path": "/playground/clickup/overview",
4375
- "readOnly": true
4376
- }
4377
- },
4378
- "gdrive": {
4379
- "get-last-change": {
4380
- "method": "GET",
4381
- "path": "/playground/gdrive/changes/last",
4382
- "readOnly": true
4383
- },
4384
- "read-file": {
4385
- "method": "POST",
4386
- "params": [
4387
- {
4388
- "in": "body",
4389
- "name": "fileId"
4390
- }
4391
- ],
4392
- "path": "/playground/gdrive/file",
4393
- "readOnly": true
4394
- }
4395
- },
4396
- "googleads": {
4397
- "read-customer": {
4398
- "method": "POST",
4399
- "path": "/playground/googleads/customer",
4400
- "readOnly": true
4401
- }
4402
- },
4403
- "lifecycle": {
4404
- "get-state": {
4405
- "method": "GET",
4406
- "path": "/playground/lifecycle/state",
4407
- "readOnly": true
4408
- },
4409
- "list-events": {
4410
- "method": "GET",
4411
- "path": "/playground/lifecycle/events",
4412
- "readOnly": true
4413
- }
4414
- },
4415
- "webhook": {
4416
- "get-last": {
4417
- "method": "GET",
4418
- "path": "/playground/webhooks/last",
4419
- "readOnly": true
4420
- }
4421
- }
4422
- },
4423
4332
  "realtime": {
4424
4333
  "apikey": {
4425
4334
  "create": {
@@ -5517,748 +5426,6 @@ export const bindings: BindingsMap = {
5517
5426
  }
5518
5427
  }
5519
5428
  },
5520
- "users": {
5521
- "apikeys": {
5522
- "create": {
5523
- "method": "POST",
5524
- "params": [
5525
- {
5526
- "in": "body",
5527
- "name": "name"
5528
- },
5529
- {
5530
- "in": "body",
5531
- "name": "type"
5532
- }
5533
- ],
5534
- "path": "/users/api-keys",
5535
- "readOnly": false
5536
- },
5537
- "list": {
5538
- "method": "GET",
5539
- "path": "/users/api-keys",
5540
- "readOnly": true
5541
- },
5542
- "revoke": {
5543
- "method": "DELETE",
5544
- "params": [
5545
- {
5546
- "in": "path",
5547
- "name": "id"
5548
- }
5549
- ],
5550
- "path": "/users/api-keys/:id",
5551
- "readOnly": false
5552
- }
5553
- },
5554
- "audit": {
5555
- "list": {
5556
- "method": "GET",
5557
- "params": [
5558
- {
5559
- "in": "query",
5560
- "name": "action"
5561
- },
5562
- {
5563
- "in": "query",
5564
- "name": "targetType"
5565
- },
5566
- {
5567
- "in": "query",
5568
- "name": "targetId"
5569
- },
5570
- {
5571
- "in": "query",
5572
- "name": "since"
5573
- },
5574
- {
5575
- "in": "query",
5576
- "name": "until"
5577
- },
5578
- {
5579
- "in": "query",
5580
- "name": "limit"
5581
- },
5582
- {
5583
- "in": "query",
5584
- "name": "cursor"
5585
- }
5586
- ],
5587
- "path": "/users/audit",
5588
- "readOnly": true
5589
- }
5590
- },
5591
- "config": {
5592
- "get": {
5593
- "method": "GET",
5594
- "path": "/users/config",
5595
- "readOnly": true
5596
- },
5597
- "upsert": {
5598
- "method": "PUT",
5599
- "params": [
5600
- {
5601
- "in": "body",
5602
- "name": "signupMode"
5603
- },
5604
- {
5605
- "in": "body",
5606
- "name": "passwordPolicy"
5607
- },
5608
- {
5609
- "in": "body",
5610
- "name": "sessionTtlHours"
5611
- },
5612
- {
5613
- "in": "body",
5614
- "name": "accessTokenTtlMinutes"
5615
- },
5616
- {
5617
- "in": "body",
5618
- "name": "refreshSlidingDays"
5619
- },
5620
- {
5621
- "in": "body",
5622
- "name": "refreshAbsoluteDays"
5623
- },
5624
- {
5625
- "in": "body",
5626
- "name": "redirectUriAllowlist"
5627
- },
5628
- {
5629
- "in": "body",
5630
- "name": "allowedOrigins"
5631
- },
5632
- {
5633
- "in": "body",
5634
- "name": "protection"
5635
- },
5636
- {
5637
- "in": "body",
5638
- "name": "captcha"
5639
- },
5640
- {
5641
- "in": "body",
5642
- "name": "email"
5643
- },
5644
- {
5645
- "in": "body",
5646
- "name": "recovery"
5647
- },
5648
- {
5649
- "in": "body",
5650
- "name": "emailChange"
5651
- },
5652
- {
5653
- "in": "body",
5654
- "name": "invite"
5655
- },
5656
- {
5657
- "in": "body",
5658
- "name": "waitlist"
5659
- },
5660
- {
5661
- "in": "body",
5662
- "name": "testMode"
5663
- },
5664
- {
5665
- "in": "body",
5666
- "name": "retention"
5667
- },
5668
- {
5669
- "in": "body",
5670
- "name": "hosted"
5671
- },
5672
- {
5673
- "in": "body",
5674
- "name": "mfa"
5675
- },
5676
- {
5677
- "in": "body",
5678
- "name": "notifications"
5679
- },
5680
- {
5681
- "in": "body",
5682
- "name": "oauth"
5683
- }
5684
- ],
5685
- "path": "/users/config",
5686
- "readOnly": false
5687
- }
5688
- },
5689
- "factors": {
5690
- "list": {
5691
- "method": "GET",
5692
- "params": [
5693
- {
5694
- "in": "path",
5695
- "name": "userId"
5696
- }
5697
- ],
5698
- "path": "/users/users/:userId/factors",
5699
- "readOnly": true
5700
- },
5701
- "reset": {
5702
- "method": "POST",
5703
- "params": [
5704
- {
5705
- "in": "path",
5706
- "name": "userId"
5707
- },
5708
- {
5709
- "in": "body",
5710
- "name": "reason"
5711
- }
5712
- ],
5713
- "path": "/users/users/:userId/factors/reset",
5714
- "readOnly": false
5715
- }
5716
- },
5717
- "keys": {
5718
- "list": {
5719
- "method": "GET",
5720
- "path": "/users/keys",
5721
- "readOnly": true
5722
- },
5723
- "revoke": {
5724
- "method": "POST",
5725
- "params": [
5726
- {
5727
- "in": "body",
5728
- "name": "kid"
5729
- },
5730
- {
5731
- "in": "body",
5732
- "name": "reason"
5733
- },
5734
- {
5735
- "in": "body",
5736
- "name": "revokeSessions"
5737
- }
5738
- ],
5739
- "path": "/users/keys/revoke",
5740
- "readOnly": false
5741
- },
5742
- "rotate": {
5743
- "method": "POST",
5744
- "path": "/users/keys/rotate",
5745
- "readOnly": false
5746
- }
5747
- },
5748
- "ops-retention": {
5749
- "get": {
5750
- "method": "POST",
5751
- "path": "/users/ops/retention",
5752
- "readOnly": false
5753
- }
5754
- },
5755
- "ops-slo": {
5756
- "get": {
5757
- "method": "POST",
5758
- "path": "/users/ops/slo",
5759
- "readOnly": false
5760
- }
5761
- },
5762
- "sessions": {
5763
- "get": {
5764
- "method": "GET",
5765
- "params": [
5766
- {
5767
- "in": "path",
5768
- "name": "sessionId"
5769
- }
5770
- ],
5771
- "path": "/users/sessions/:sessionId",
5772
- "readOnly": true
5773
- },
5774
- "impersonate": {
5775
- "method": "POST",
5776
- "params": [
5777
- {
5778
- "in": "body",
5779
- "name": "userId"
5780
- },
5781
- {
5782
- "in": "body",
5783
- "name": "reason"
5784
- }
5785
- ],
5786
- "path": "/users/sessions/impersonate",
5787
- "readOnly": false
5788
- },
5789
- "list": {
5790
- "method": "GET",
5791
- "params": [
5792
- {
5793
- "in": "query",
5794
- "name": "userId"
5795
- }
5796
- ],
5797
- "path": "/users/sessions",
5798
- "readOnly": true
5799
- },
5800
- "revoke": {
5801
- "method": "POST",
5802
- "params": [
5803
- {
5804
- "in": "body",
5805
- "name": "sessionId"
5806
- },
5807
- {
5808
- "in": "body",
5809
- "name": "userId"
5810
- }
5811
- ],
5812
- "path": "/users/sessions/revoke",
5813
- "readOnly": false
5814
- }
5815
- },
5816
- "stats": {
5817
- "get": {
5818
- "method": "POST",
5819
- "params": [
5820
- {
5821
- "in": "body",
5822
- "name": "window"
5823
- }
5824
- ],
5825
- "path": "/users/stats/get",
5826
- "readOnly": false
5827
- }
5828
- },
5829
- "users": {
5830
- "ban": {
5831
- "method": "POST",
5832
- "params": [
5833
- {
5834
- "in": "path",
5835
- "name": "userId"
5836
- }
5837
- ],
5838
- "path": "/users/users/:userId/ban",
5839
- "readOnly": false
5840
- },
5841
- "create": {
5842
- "method": "POST",
5843
- "params": [
5844
- {
5845
- "in": "body",
5846
- "name": "name"
5847
- },
5848
- {
5849
- "in": "body",
5850
- "name": "imageUrl"
5851
- },
5852
- {
5853
- "in": "body",
5854
- "name": "identifiers"
5855
- },
5856
- {
5857
- "in": "body",
5858
- "name": "password"
5859
- },
5860
- {
5861
- "in": "body",
5862
- "name": "waitlisted"
5863
- },
5864
- {
5865
- "in": "body",
5866
- "name": "testUser"
5867
- },
5868
- {
5869
- "in": "body",
5870
- "name": "requiresReset"
5871
- },
5872
- {
5873
- "in": "body",
5874
- "name": "publicMetadata"
5875
- },
5876
- {
5877
- "in": "body",
5878
- "name": "privateMetadata"
5879
- },
5880
- {
5881
- "in": "body",
5882
- "name": "unsafeMetadata"
5883
- }
5884
- ],
5885
- "path": "/users/users",
5886
- "readOnly": false
5887
- },
5888
- "delete": {
5889
- "method": "DELETE",
5890
- "params": [
5891
- {
5892
- "in": "path",
5893
- "name": "userId"
5894
- }
5895
- ],
5896
- "path": "/users/users/:userId",
5897
- "readOnly": false
5898
- },
5899
- "erase": {
5900
- "method": "POST",
5901
- "params": [
5902
- {
5903
- "in": "path",
5904
- "name": "userId"
5905
- }
5906
- ],
5907
- "path": "/users/users/:userId/erase",
5908
- "readOnly": false
5909
- },
5910
- "export": {
5911
- "method": "GET",
5912
- "params": [
5913
- {
5914
- "in": "query",
5915
- "name": "query"
5916
- },
5917
- {
5918
- "in": "query",
5919
- "name": "status"
5920
- },
5921
- {
5922
- "in": "query",
5923
- "name": "includeDeleted"
5924
- },
5925
- {
5926
- "in": "query",
5927
- "name": "limit"
5928
- },
5929
- {
5930
- "in": "query",
5931
- "name": "cursor"
5932
- }
5933
- ],
5934
- "path": "/users/users/export",
5935
- "readOnly": false
5936
- },
5937
- "get": {
5938
- "method": "GET",
5939
- "params": [
5940
- {
5941
- "in": "path",
5942
- "name": "userId"
5943
- }
5944
- ],
5945
- "path": "/users/users/:userId",
5946
- "readOnly": true
5947
- },
5948
- "import": {
5949
- "method": "POST",
5950
- "params": [
5951
- {
5952
- "in": "body",
5953
- "name": "users"
5954
- }
5955
- ],
5956
- "path": "/users/users/import",
5957
- "readOnly": false
5958
- },
5959
- "invite": {
5960
- "method": "POST",
5961
- "params": [
5962
- {
5963
- "in": "body",
5964
- "name": "email"
5965
- },
5966
- {
5967
- "in": "body",
5968
- "name": "name"
5969
- },
5970
- {
5971
- "in": "body",
5972
- "name": "publicMetadata"
5973
- },
5974
- {
5975
- "in": "body",
5976
- "name": "privateMetadata"
5977
- }
5978
- ],
5979
- "path": "/users/users/invite",
5980
- "readOnly": false
5981
- },
5982
- "list": {
5983
- "method": "GET",
5984
- "params": [
5985
- {
5986
- "in": "query",
5987
- "name": "query"
5988
- },
5989
- {
5990
- "in": "query",
5991
- "name": "status"
5992
- },
5993
- {
5994
- "in": "query",
5995
- "name": "includeDeleted"
5996
- },
5997
- {
5998
- "in": "query",
5999
- "name": "includeWaitlisted"
6000
- },
6001
- {
6002
- "in": "query",
6003
- "name": "includeTestUsers"
6004
- },
6005
- {
6006
- "in": "query",
6007
- "name": "limit"
6008
- },
6009
- {
6010
- "in": "query",
6011
- "name": "cursor"
6012
- }
6013
- ],
6014
- "path": "/users/users",
6015
- "readOnly": true
6016
- },
6017
- "unban": {
6018
- "method": "POST",
6019
- "params": [
6020
- {
6021
- "in": "path",
6022
- "name": "userId"
6023
- }
6024
- ],
6025
- "path": "/users/users/:userId/unban",
6026
- "readOnly": false
6027
- },
6028
- "update": {
6029
- "method": "PATCH",
6030
- "params": [
6031
- {
6032
- "in": "path",
6033
- "name": "userId"
6034
- },
6035
- {
6036
- "in": "body",
6037
- "name": "name"
6038
- },
6039
- {
6040
- "in": "body",
6041
- "name": "imageUrl"
6042
- },
6043
- {
6044
- "in": "body",
6045
- "name": "waitlisted"
6046
- },
6047
- {
6048
- "in": "body",
6049
- "name": "requiresReset"
6050
- },
6051
- {
6052
- "in": "body",
6053
- "name": "lockedUntil"
6054
- },
6055
- {
6056
- "in": "body",
6057
- "name": "publicMetadata"
6058
- },
6059
- {
6060
- "in": "body",
6061
- "name": "privateMetadata"
6062
- },
6063
- {
6064
- "in": "body",
6065
- "name": "unsafeMetadata"
6066
- }
6067
- ],
6068
- "path": "/users/users/:userId",
6069
- "readOnly": false
6070
- }
6071
- },
6072
- "users-set-primary": {
6073
- "identifier": {
6074
- "method": "POST",
6075
- "params": [
6076
- {
6077
- "in": "path",
6078
- "name": "userId"
6079
- },
6080
- {
6081
- "in": "body",
6082
- "name": "email"
6083
- },
6084
- {
6085
- "in": "body",
6086
- "name": "reason"
6087
- }
6088
- ],
6089
- "path": "/users/users/:userId/primary-identifier",
6090
- "readOnly": false
6091
- }
6092
- },
6093
- "waitlist": {
6094
- "erase": {
6095
- "method": "POST",
6096
- "params": [
6097
- {
6098
- "in": "body",
6099
- "name": "userId"
6100
- }
6101
- ],
6102
- "path": "/users/waitlist/erase",
6103
- "readOnly": false
6104
- },
6105
- "funnel": {
6106
- "method": "POST",
6107
- "path": "/users/waitlist/funnel",
6108
- "readOnly": false
6109
- },
6110
- "import": {
6111
- "method": "POST",
6112
- "params": [
6113
- {
6114
- "in": "body",
6115
- "name": "entries"
6116
- }
6117
- ],
6118
- "path": "/users/waitlist/import",
6119
- "readOnly": false
6120
- },
6121
- "invite": {
6122
- "method": "POST",
6123
- "params": [
6124
- {
6125
- "in": "body",
6126
- "name": "userIds"
6127
- }
6128
- ],
6129
- "path": "/users/waitlist/invite",
6130
- "readOnly": false
6131
- },
6132
- "list": {
6133
- "method": "POST",
6134
- "params": [
6135
- {
6136
- "in": "body",
6137
- "name": "status"
6138
- },
6139
- {
6140
- "in": "body",
6141
- "name": "confirmed"
6142
- },
6143
- {
6144
- "in": "body",
6145
- "name": "limit"
6146
- },
6147
- {
6148
- "in": "body",
6149
- "name": "cursor"
6150
- }
6151
- ],
6152
- "path": "/users/waitlist/list",
6153
- "readOnly": false
6154
- }
6155
- },
6156
- "webhooks": {
6157
- "create": {
6158
- "method": "POST",
6159
- "params": [
6160
- {
6161
- "in": "body",
6162
- "name": "url"
6163
- },
6164
- {
6165
- "in": "body",
6166
- "name": "events"
6167
- },
6168
- {
6169
- "in": "body",
6170
- "name": "description"
6171
- }
6172
- ],
6173
- "path": "/users/webhooks",
6174
- "readOnly": false
6175
- },
6176
- "delete": {
6177
- "method": "DELETE",
6178
- "params": [
6179
- {
6180
- "in": "path",
6181
- "name": "id"
6182
- }
6183
- ],
6184
- "path": "/users/webhooks/:id",
6185
- "readOnly": false
6186
- },
6187
- "get": {
6188
- "method": "GET",
6189
- "params": [
6190
- {
6191
- "in": "path",
6192
- "name": "id"
6193
- }
6194
- ],
6195
- "path": "/users/webhooks/:id",
6196
- "readOnly": true
6197
- },
6198
- "list": {
6199
- "method": "GET",
6200
- "path": "/users/webhooks",
6201
- "readOnly": true
6202
- },
6203
- "update": {
6204
- "method": "PATCH",
6205
- "params": [
6206
- {
6207
- "in": "path",
6208
- "name": "id"
6209
- },
6210
- {
6211
- "in": "body",
6212
- "name": "url"
6213
- },
6214
- {
6215
- "in": "body",
6216
- "name": "events"
6217
- },
6218
- {
6219
- "in": "body",
6220
- "name": "description"
6221
- },
6222
- {
6223
- "in": "body",
6224
- "name": "active"
6225
- }
6226
- ],
6227
- "path": "/users/webhooks/:id",
6228
- "readOnly": false
6229
- }
6230
- },
6231
- "webhooks-deliveries": {
6232
- "list": {
6233
- "method": "GET",
6234
- "params": [
6235
- {
6236
- "in": "path",
6237
- "name": "id"
6238
- },
6239
- {
6240
- "in": "query",
6241
- "name": "limit"
6242
- }
6243
- ],
6244
- "path": "/users/webhooks/:id/deliveries",
6245
- "readOnly": true
6246
- }
6247
- },
6248
- "webhooks-rotate": {
6249
- "secret": {
6250
- "method": "POST",
6251
- "params": [
6252
- {
6253
- "in": "path",
6254
- "name": "id"
6255
- }
6256
- ],
6257
- "path": "/users/webhooks/:id/rotate-secret",
6258
- "readOnly": false
6259
- }
6260
- }
6261
- },
6262
5429
  "waitlist": {
6263
5430
  "config": {
6264
5431
  "get": {