@lessly/sdk-app 15.0.1 → 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 (41) 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.d.cts +1 -1
  4. package/dist/brain/index.d.ts +1 -1
  5. package/dist/{client.gen-ClvT4E7P.d.cts → client.gen-BeFnNb6g.d.cts} +2688 -1
  6. package/dist/{client.gen-ClvT4E7P.d.ts → client.gen-BeFnNb6g.d.ts} +2688 -1
  7. package/dist/consent/index.d.cts +1 -1
  8. package/dist/consent/index.d.ts +1 -1
  9. package/dist/deployment/index.d.cts +1 -1
  10. package/dist/deployment/index.d.ts +1 -1
  11. package/dist/index.cjs +742 -0
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +1 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +742 -0
  16. package/dist/index.js.map +1 -1
  17. package/dist/mail/index.d.cts +2 -2
  18. package/dist/mail/index.d.ts +2 -2
  19. package/dist/organization/index.d.cts +1 -1
  20. package/dist/organization/index.d.ts +1 -1
  21. package/dist/playground/index.d.cts +1 -1
  22. package/dist/playground/index.d.ts +1 -1
  23. package/dist/realtime/index.d.cts +1 -1
  24. package/dist/realtime/index.d.ts +1 -1
  25. package/dist/tracking/index.d.cts +1 -1
  26. package/dist/tracking/index.d.ts +1 -1
  27. package/dist/users/index.cjs +216 -0
  28. package/dist/users/index.cjs.map +1 -0
  29. package/dist/users/index.d.cts +172 -0
  30. package/dist/users/index.d.ts +172 -0
  31. package/dist/users/index.js +173 -0
  32. package/dist/users/index.js.map +1 -0
  33. package/dist/waitlist/index.d.cts +1 -1
  34. package/dist/waitlist/index.d.ts +1 -1
  35. package/package.json +7 -2
  36. package/src/gen/bindings.gen.ts +742 -0
  37. package/src/gen/client.gen.ts +158 -0
  38. package/src/gen/manifest.gen.ts +1 -1
  39. package/src/gen/types.gen.ts +2699 -0
  40. package/src/gen/users/index.ts +3 -0
  41. package/src/gen/users/queryOptions.gen.ts +268 -0
@@ -5457,6 +5457,748 @@ export const bindings: BindingsMap = {
5457
5457
  }
5458
5458
  }
5459
5459
  },
5460
+ "users": {
5461
+ "apikeys": {
5462
+ "create": {
5463
+ "method": "POST",
5464
+ "params": [
5465
+ {
5466
+ "in": "body",
5467
+ "name": "name"
5468
+ },
5469
+ {
5470
+ "in": "body",
5471
+ "name": "type"
5472
+ }
5473
+ ],
5474
+ "path": "/users/api-keys",
5475
+ "readOnly": false
5476
+ },
5477
+ "list": {
5478
+ "method": "GET",
5479
+ "path": "/users/api-keys",
5480
+ "readOnly": true
5481
+ },
5482
+ "revoke": {
5483
+ "method": "DELETE",
5484
+ "params": [
5485
+ {
5486
+ "in": "path",
5487
+ "name": "id"
5488
+ }
5489
+ ],
5490
+ "path": "/users/api-keys/:id",
5491
+ "readOnly": false
5492
+ }
5493
+ },
5494
+ "audit": {
5495
+ "list": {
5496
+ "method": "GET",
5497
+ "params": [
5498
+ {
5499
+ "in": "query",
5500
+ "name": "action"
5501
+ },
5502
+ {
5503
+ "in": "query",
5504
+ "name": "targetType"
5505
+ },
5506
+ {
5507
+ "in": "query",
5508
+ "name": "targetId"
5509
+ },
5510
+ {
5511
+ "in": "query",
5512
+ "name": "since"
5513
+ },
5514
+ {
5515
+ "in": "query",
5516
+ "name": "until"
5517
+ },
5518
+ {
5519
+ "in": "query",
5520
+ "name": "limit"
5521
+ },
5522
+ {
5523
+ "in": "query",
5524
+ "name": "cursor"
5525
+ }
5526
+ ],
5527
+ "path": "/users/audit",
5528
+ "readOnly": true
5529
+ }
5530
+ },
5531
+ "config": {
5532
+ "get": {
5533
+ "method": "GET",
5534
+ "path": "/users/config",
5535
+ "readOnly": true
5536
+ },
5537
+ "upsert": {
5538
+ "method": "PUT",
5539
+ "params": [
5540
+ {
5541
+ "in": "body",
5542
+ "name": "signupMode"
5543
+ },
5544
+ {
5545
+ "in": "body",
5546
+ "name": "passwordPolicy"
5547
+ },
5548
+ {
5549
+ "in": "body",
5550
+ "name": "sessionTtlHours"
5551
+ },
5552
+ {
5553
+ "in": "body",
5554
+ "name": "accessTokenTtlMinutes"
5555
+ },
5556
+ {
5557
+ "in": "body",
5558
+ "name": "refreshSlidingDays"
5559
+ },
5560
+ {
5561
+ "in": "body",
5562
+ "name": "refreshAbsoluteDays"
5563
+ },
5564
+ {
5565
+ "in": "body",
5566
+ "name": "redirectUriAllowlist"
5567
+ },
5568
+ {
5569
+ "in": "body",
5570
+ "name": "allowedOrigins"
5571
+ },
5572
+ {
5573
+ "in": "body",
5574
+ "name": "protection"
5575
+ },
5576
+ {
5577
+ "in": "body",
5578
+ "name": "captcha"
5579
+ },
5580
+ {
5581
+ "in": "body",
5582
+ "name": "email"
5583
+ },
5584
+ {
5585
+ "in": "body",
5586
+ "name": "recovery"
5587
+ },
5588
+ {
5589
+ "in": "body",
5590
+ "name": "emailChange"
5591
+ },
5592
+ {
5593
+ "in": "body",
5594
+ "name": "invite"
5595
+ },
5596
+ {
5597
+ "in": "body",
5598
+ "name": "waitlist"
5599
+ },
5600
+ {
5601
+ "in": "body",
5602
+ "name": "testMode"
5603
+ },
5604
+ {
5605
+ "in": "body",
5606
+ "name": "retention"
5607
+ },
5608
+ {
5609
+ "in": "body",
5610
+ "name": "hosted"
5611
+ },
5612
+ {
5613
+ "in": "body",
5614
+ "name": "mfa"
5615
+ },
5616
+ {
5617
+ "in": "body",
5618
+ "name": "notifications"
5619
+ },
5620
+ {
5621
+ "in": "body",
5622
+ "name": "oauth"
5623
+ }
5624
+ ],
5625
+ "path": "/users/config",
5626
+ "readOnly": false
5627
+ }
5628
+ },
5629
+ "factors": {
5630
+ "list": {
5631
+ "method": "GET",
5632
+ "params": [
5633
+ {
5634
+ "in": "path",
5635
+ "name": "userId"
5636
+ }
5637
+ ],
5638
+ "path": "/users/users/:userId/factors",
5639
+ "readOnly": true
5640
+ },
5641
+ "reset": {
5642
+ "method": "POST",
5643
+ "params": [
5644
+ {
5645
+ "in": "path",
5646
+ "name": "userId"
5647
+ },
5648
+ {
5649
+ "in": "body",
5650
+ "name": "reason"
5651
+ }
5652
+ ],
5653
+ "path": "/users/users/:userId/factors/reset",
5654
+ "readOnly": false
5655
+ }
5656
+ },
5657
+ "keys": {
5658
+ "list": {
5659
+ "method": "GET",
5660
+ "path": "/users/keys",
5661
+ "readOnly": true
5662
+ },
5663
+ "revoke": {
5664
+ "method": "POST",
5665
+ "params": [
5666
+ {
5667
+ "in": "body",
5668
+ "name": "kid"
5669
+ },
5670
+ {
5671
+ "in": "body",
5672
+ "name": "reason"
5673
+ },
5674
+ {
5675
+ "in": "body",
5676
+ "name": "revokeSessions"
5677
+ }
5678
+ ],
5679
+ "path": "/users/keys/revoke",
5680
+ "readOnly": false
5681
+ },
5682
+ "rotate": {
5683
+ "method": "POST",
5684
+ "path": "/users/keys/rotate",
5685
+ "readOnly": false
5686
+ }
5687
+ },
5688
+ "ops-retention": {
5689
+ "get": {
5690
+ "method": "POST",
5691
+ "path": "/users/ops/retention",
5692
+ "readOnly": false
5693
+ }
5694
+ },
5695
+ "ops-slo": {
5696
+ "get": {
5697
+ "method": "POST",
5698
+ "path": "/users/ops/slo",
5699
+ "readOnly": false
5700
+ }
5701
+ },
5702
+ "sessions": {
5703
+ "get": {
5704
+ "method": "GET",
5705
+ "params": [
5706
+ {
5707
+ "in": "path",
5708
+ "name": "sessionId"
5709
+ }
5710
+ ],
5711
+ "path": "/users/sessions/:sessionId",
5712
+ "readOnly": true
5713
+ },
5714
+ "impersonate": {
5715
+ "method": "POST",
5716
+ "params": [
5717
+ {
5718
+ "in": "body",
5719
+ "name": "userId"
5720
+ },
5721
+ {
5722
+ "in": "body",
5723
+ "name": "reason"
5724
+ }
5725
+ ],
5726
+ "path": "/users/sessions/impersonate",
5727
+ "readOnly": false
5728
+ },
5729
+ "list": {
5730
+ "method": "GET",
5731
+ "params": [
5732
+ {
5733
+ "in": "query",
5734
+ "name": "userId"
5735
+ }
5736
+ ],
5737
+ "path": "/users/sessions",
5738
+ "readOnly": true
5739
+ },
5740
+ "revoke": {
5741
+ "method": "POST",
5742
+ "params": [
5743
+ {
5744
+ "in": "body",
5745
+ "name": "sessionId"
5746
+ },
5747
+ {
5748
+ "in": "body",
5749
+ "name": "userId"
5750
+ }
5751
+ ],
5752
+ "path": "/users/sessions/revoke",
5753
+ "readOnly": false
5754
+ }
5755
+ },
5756
+ "stats": {
5757
+ "get": {
5758
+ "method": "POST",
5759
+ "params": [
5760
+ {
5761
+ "in": "body",
5762
+ "name": "window"
5763
+ }
5764
+ ],
5765
+ "path": "/users/stats/get",
5766
+ "readOnly": false
5767
+ }
5768
+ },
5769
+ "users": {
5770
+ "ban": {
5771
+ "method": "POST",
5772
+ "params": [
5773
+ {
5774
+ "in": "path",
5775
+ "name": "userId"
5776
+ }
5777
+ ],
5778
+ "path": "/users/users/:userId/ban",
5779
+ "readOnly": false
5780
+ },
5781
+ "create": {
5782
+ "method": "POST",
5783
+ "params": [
5784
+ {
5785
+ "in": "body",
5786
+ "name": "name"
5787
+ },
5788
+ {
5789
+ "in": "body",
5790
+ "name": "imageUrl"
5791
+ },
5792
+ {
5793
+ "in": "body",
5794
+ "name": "identifiers"
5795
+ },
5796
+ {
5797
+ "in": "body",
5798
+ "name": "password"
5799
+ },
5800
+ {
5801
+ "in": "body",
5802
+ "name": "waitlisted"
5803
+ },
5804
+ {
5805
+ "in": "body",
5806
+ "name": "testUser"
5807
+ },
5808
+ {
5809
+ "in": "body",
5810
+ "name": "requiresReset"
5811
+ },
5812
+ {
5813
+ "in": "body",
5814
+ "name": "publicMetadata"
5815
+ },
5816
+ {
5817
+ "in": "body",
5818
+ "name": "privateMetadata"
5819
+ },
5820
+ {
5821
+ "in": "body",
5822
+ "name": "unsafeMetadata"
5823
+ }
5824
+ ],
5825
+ "path": "/users/users",
5826
+ "readOnly": false
5827
+ },
5828
+ "delete": {
5829
+ "method": "DELETE",
5830
+ "params": [
5831
+ {
5832
+ "in": "path",
5833
+ "name": "userId"
5834
+ }
5835
+ ],
5836
+ "path": "/users/users/:userId",
5837
+ "readOnly": false
5838
+ },
5839
+ "erase": {
5840
+ "method": "POST",
5841
+ "params": [
5842
+ {
5843
+ "in": "path",
5844
+ "name": "userId"
5845
+ }
5846
+ ],
5847
+ "path": "/users/users/:userId/erase",
5848
+ "readOnly": false
5849
+ },
5850
+ "export": {
5851
+ "method": "GET",
5852
+ "params": [
5853
+ {
5854
+ "in": "query",
5855
+ "name": "query"
5856
+ },
5857
+ {
5858
+ "in": "query",
5859
+ "name": "status"
5860
+ },
5861
+ {
5862
+ "in": "query",
5863
+ "name": "includeDeleted"
5864
+ },
5865
+ {
5866
+ "in": "query",
5867
+ "name": "limit"
5868
+ },
5869
+ {
5870
+ "in": "query",
5871
+ "name": "cursor"
5872
+ }
5873
+ ],
5874
+ "path": "/users/users/export",
5875
+ "readOnly": false
5876
+ },
5877
+ "get": {
5878
+ "method": "GET",
5879
+ "params": [
5880
+ {
5881
+ "in": "path",
5882
+ "name": "userId"
5883
+ }
5884
+ ],
5885
+ "path": "/users/users/:userId",
5886
+ "readOnly": true
5887
+ },
5888
+ "import": {
5889
+ "method": "POST",
5890
+ "params": [
5891
+ {
5892
+ "in": "body",
5893
+ "name": "users"
5894
+ }
5895
+ ],
5896
+ "path": "/users/users/import",
5897
+ "readOnly": false
5898
+ },
5899
+ "invite": {
5900
+ "method": "POST",
5901
+ "params": [
5902
+ {
5903
+ "in": "body",
5904
+ "name": "email"
5905
+ },
5906
+ {
5907
+ "in": "body",
5908
+ "name": "name"
5909
+ },
5910
+ {
5911
+ "in": "body",
5912
+ "name": "publicMetadata"
5913
+ },
5914
+ {
5915
+ "in": "body",
5916
+ "name": "privateMetadata"
5917
+ }
5918
+ ],
5919
+ "path": "/users/users/invite",
5920
+ "readOnly": false
5921
+ },
5922
+ "list": {
5923
+ "method": "GET",
5924
+ "params": [
5925
+ {
5926
+ "in": "query",
5927
+ "name": "query"
5928
+ },
5929
+ {
5930
+ "in": "query",
5931
+ "name": "status"
5932
+ },
5933
+ {
5934
+ "in": "query",
5935
+ "name": "includeDeleted"
5936
+ },
5937
+ {
5938
+ "in": "query",
5939
+ "name": "includeWaitlisted"
5940
+ },
5941
+ {
5942
+ "in": "query",
5943
+ "name": "includeTestUsers"
5944
+ },
5945
+ {
5946
+ "in": "query",
5947
+ "name": "limit"
5948
+ },
5949
+ {
5950
+ "in": "query",
5951
+ "name": "cursor"
5952
+ }
5953
+ ],
5954
+ "path": "/users/users",
5955
+ "readOnly": true
5956
+ },
5957
+ "unban": {
5958
+ "method": "POST",
5959
+ "params": [
5960
+ {
5961
+ "in": "path",
5962
+ "name": "userId"
5963
+ }
5964
+ ],
5965
+ "path": "/users/users/:userId/unban",
5966
+ "readOnly": false
5967
+ },
5968
+ "update": {
5969
+ "method": "PATCH",
5970
+ "params": [
5971
+ {
5972
+ "in": "path",
5973
+ "name": "userId"
5974
+ },
5975
+ {
5976
+ "in": "body",
5977
+ "name": "name"
5978
+ },
5979
+ {
5980
+ "in": "body",
5981
+ "name": "imageUrl"
5982
+ },
5983
+ {
5984
+ "in": "body",
5985
+ "name": "waitlisted"
5986
+ },
5987
+ {
5988
+ "in": "body",
5989
+ "name": "requiresReset"
5990
+ },
5991
+ {
5992
+ "in": "body",
5993
+ "name": "lockedUntil"
5994
+ },
5995
+ {
5996
+ "in": "body",
5997
+ "name": "publicMetadata"
5998
+ },
5999
+ {
6000
+ "in": "body",
6001
+ "name": "privateMetadata"
6002
+ },
6003
+ {
6004
+ "in": "body",
6005
+ "name": "unsafeMetadata"
6006
+ }
6007
+ ],
6008
+ "path": "/users/users/:userId",
6009
+ "readOnly": false
6010
+ }
6011
+ },
6012
+ "users-set-primary": {
6013
+ "identifier": {
6014
+ "method": "POST",
6015
+ "params": [
6016
+ {
6017
+ "in": "path",
6018
+ "name": "userId"
6019
+ },
6020
+ {
6021
+ "in": "body",
6022
+ "name": "email"
6023
+ },
6024
+ {
6025
+ "in": "body",
6026
+ "name": "reason"
6027
+ }
6028
+ ],
6029
+ "path": "/users/users/:userId/primary-identifier",
6030
+ "readOnly": false
6031
+ }
6032
+ },
6033
+ "waitlist": {
6034
+ "erase": {
6035
+ "method": "POST",
6036
+ "params": [
6037
+ {
6038
+ "in": "body",
6039
+ "name": "userId"
6040
+ }
6041
+ ],
6042
+ "path": "/users/waitlist/erase",
6043
+ "readOnly": false
6044
+ },
6045
+ "funnel": {
6046
+ "method": "POST",
6047
+ "path": "/users/waitlist/funnel",
6048
+ "readOnly": false
6049
+ },
6050
+ "import": {
6051
+ "method": "POST",
6052
+ "params": [
6053
+ {
6054
+ "in": "body",
6055
+ "name": "entries"
6056
+ }
6057
+ ],
6058
+ "path": "/users/waitlist/import",
6059
+ "readOnly": false
6060
+ },
6061
+ "invite": {
6062
+ "method": "POST",
6063
+ "params": [
6064
+ {
6065
+ "in": "body",
6066
+ "name": "userIds"
6067
+ }
6068
+ ],
6069
+ "path": "/users/waitlist/invite",
6070
+ "readOnly": false
6071
+ },
6072
+ "list": {
6073
+ "method": "POST",
6074
+ "params": [
6075
+ {
6076
+ "in": "body",
6077
+ "name": "status"
6078
+ },
6079
+ {
6080
+ "in": "body",
6081
+ "name": "confirmed"
6082
+ },
6083
+ {
6084
+ "in": "body",
6085
+ "name": "limit"
6086
+ },
6087
+ {
6088
+ "in": "body",
6089
+ "name": "cursor"
6090
+ }
6091
+ ],
6092
+ "path": "/users/waitlist/list",
6093
+ "readOnly": false
6094
+ }
6095
+ },
6096
+ "webhooks": {
6097
+ "create": {
6098
+ "method": "POST",
6099
+ "params": [
6100
+ {
6101
+ "in": "body",
6102
+ "name": "url"
6103
+ },
6104
+ {
6105
+ "in": "body",
6106
+ "name": "events"
6107
+ },
6108
+ {
6109
+ "in": "body",
6110
+ "name": "description"
6111
+ }
6112
+ ],
6113
+ "path": "/users/webhooks",
6114
+ "readOnly": false
6115
+ },
6116
+ "delete": {
6117
+ "method": "DELETE",
6118
+ "params": [
6119
+ {
6120
+ "in": "path",
6121
+ "name": "id"
6122
+ }
6123
+ ],
6124
+ "path": "/users/webhooks/:id",
6125
+ "readOnly": false
6126
+ },
6127
+ "get": {
6128
+ "method": "GET",
6129
+ "params": [
6130
+ {
6131
+ "in": "path",
6132
+ "name": "id"
6133
+ }
6134
+ ],
6135
+ "path": "/users/webhooks/:id",
6136
+ "readOnly": true
6137
+ },
6138
+ "list": {
6139
+ "method": "GET",
6140
+ "path": "/users/webhooks",
6141
+ "readOnly": true
6142
+ },
6143
+ "update": {
6144
+ "method": "PATCH",
6145
+ "params": [
6146
+ {
6147
+ "in": "path",
6148
+ "name": "id"
6149
+ },
6150
+ {
6151
+ "in": "body",
6152
+ "name": "url"
6153
+ },
6154
+ {
6155
+ "in": "body",
6156
+ "name": "events"
6157
+ },
6158
+ {
6159
+ "in": "body",
6160
+ "name": "description"
6161
+ },
6162
+ {
6163
+ "in": "body",
6164
+ "name": "active"
6165
+ }
6166
+ ],
6167
+ "path": "/users/webhooks/:id",
6168
+ "readOnly": false
6169
+ }
6170
+ },
6171
+ "webhooks-deliveries": {
6172
+ "list": {
6173
+ "method": "GET",
6174
+ "params": [
6175
+ {
6176
+ "in": "path",
6177
+ "name": "id"
6178
+ },
6179
+ {
6180
+ "in": "query",
6181
+ "name": "limit"
6182
+ }
6183
+ ],
6184
+ "path": "/users/webhooks/:id/deliveries",
6185
+ "readOnly": true
6186
+ }
6187
+ },
6188
+ "webhooks-rotate": {
6189
+ "secret": {
6190
+ "method": "POST",
6191
+ "params": [
6192
+ {
6193
+ "in": "path",
6194
+ "name": "id"
6195
+ }
6196
+ ],
6197
+ "path": "/users/webhooks/:id/rotate-secret",
6198
+ "readOnly": false
6199
+ }
6200
+ }
6201
+ },
5460
6202
  "waitlist": {
5461
6203
  "config": {
5462
6204
  "get": {