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