@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
package/dist/index.js CHANGED
@@ -5538,6 +5538,748 @@ var bindings = {
5538
5538
  }
5539
5539
  }
5540
5540
  },
5541
+ "users": {
5542
+ "apikeys": {
5543
+ "create": {
5544
+ "method": "POST",
5545
+ "params": [
5546
+ {
5547
+ "in": "body",
5548
+ "name": "name"
5549
+ },
5550
+ {
5551
+ "in": "body",
5552
+ "name": "type"
5553
+ }
5554
+ ],
5555
+ "path": "/users/api-keys",
5556
+ "readOnly": false
5557
+ },
5558
+ "list": {
5559
+ "method": "GET",
5560
+ "path": "/users/api-keys",
5561
+ "readOnly": true
5562
+ },
5563
+ "revoke": {
5564
+ "method": "DELETE",
5565
+ "params": [
5566
+ {
5567
+ "in": "path",
5568
+ "name": "id"
5569
+ }
5570
+ ],
5571
+ "path": "/users/api-keys/:id",
5572
+ "readOnly": false
5573
+ }
5574
+ },
5575
+ "audit": {
5576
+ "list": {
5577
+ "method": "GET",
5578
+ "params": [
5579
+ {
5580
+ "in": "query",
5581
+ "name": "action"
5582
+ },
5583
+ {
5584
+ "in": "query",
5585
+ "name": "targetType"
5586
+ },
5587
+ {
5588
+ "in": "query",
5589
+ "name": "targetId"
5590
+ },
5591
+ {
5592
+ "in": "query",
5593
+ "name": "since"
5594
+ },
5595
+ {
5596
+ "in": "query",
5597
+ "name": "until"
5598
+ },
5599
+ {
5600
+ "in": "query",
5601
+ "name": "limit"
5602
+ },
5603
+ {
5604
+ "in": "query",
5605
+ "name": "cursor"
5606
+ }
5607
+ ],
5608
+ "path": "/users/audit",
5609
+ "readOnly": true
5610
+ }
5611
+ },
5612
+ "config": {
5613
+ "get": {
5614
+ "method": "GET",
5615
+ "path": "/users/config",
5616
+ "readOnly": true
5617
+ },
5618
+ "upsert": {
5619
+ "method": "PUT",
5620
+ "params": [
5621
+ {
5622
+ "in": "body",
5623
+ "name": "signupMode"
5624
+ },
5625
+ {
5626
+ "in": "body",
5627
+ "name": "passwordPolicy"
5628
+ },
5629
+ {
5630
+ "in": "body",
5631
+ "name": "sessionTtlHours"
5632
+ },
5633
+ {
5634
+ "in": "body",
5635
+ "name": "accessTokenTtlMinutes"
5636
+ },
5637
+ {
5638
+ "in": "body",
5639
+ "name": "refreshSlidingDays"
5640
+ },
5641
+ {
5642
+ "in": "body",
5643
+ "name": "refreshAbsoluteDays"
5644
+ },
5645
+ {
5646
+ "in": "body",
5647
+ "name": "redirectUriAllowlist"
5648
+ },
5649
+ {
5650
+ "in": "body",
5651
+ "name": "allowedOrigins"
5652
+ },
5653
+ {
5654
+ "in": "body",
5655
+ "name": "protection"
5656
+ },
5657
+ {
5658
+ "in": "body",
5659
+ "name": "captcha"
5660
+ },
5661
+ {
5662
+ "in": "body",
5663
+ "name": "email"
5664
+ },
5665
+ {
5666
+ "in": "body",
5667
+ "name": "recovery"
5668
+ },
5669
+ {
5670
+ "in": "body",
5671
+ "name": "emailChange"
5672
+ },
5673
+ {
5674
+ "in": "body",
5675
+ "name": "invite"
5676
+ },
5677
+ {
5678
+ "in": "body",
5679
+ "name": "waitlist"
5680
+ },
5681
+ {
5682
+ "in": "body",
5683
+ "name": "testMode"
5684
+ },
5685
+ {
5686
+ "in": "body",
5687
+ "name": "retention"
5688
+ },
5689
+ {
5690
+ "in": "body",
5691
+ "name": "hosted"
5692
+ },
5693
+ {
5694
+ "in": "body",
5695
+ "name": "mfa"
5696
+ },
5697
+ {
5698
+ "in": "body",
5699
+ "name": "notifications"
5700
+ },
5701
+ {
5702
+ "in": "body",
5703
+ "name": "oauth"
5704
+ }
5705
+ ],
5706
+ "path": "/users/config",
5707
+ "readOnly": false
5708
+ }
5709
+ },
5710
+ "factors": {
5711
+ "list": {
5712
+ "method": "GET",
5713
+ "params": [
5714
+ {
5715
+ "in": "path",
5716
+ "name": "userId"
5717
+ }
5718
+ ],
5719
+ "path": "/users/users/:userId/factors",
5720
+ "readOnly": true
5721
+ },
5722
+ "reset": {
5723
+ "method": "POST",
5724
+ "params": [
5725
+ {
5726
+ "in": "path",
5727
+ "name": "userId"
5728
+ },
5729
+ {
5730
+ "in": "body",
5731
+ "name": "reason"
5732
+ }
5733
+ ],
5734
+ "path": "/users/users/:userId/factors/reset",
5735
+ "readOnly": false
5736
+ }
5737
+ },
5738
+ "keys": {
5739
+ "list": {
5740
+ "method": "GET",
5741
+ "path": "/users/keys",
5742
+ "readOnly": true
5743
+ },
5744
+ "revoke": {
5745
+ "method": "POST",
5746
+ "params": [
5747
+ {
5748
+ "in": "body",
5749
+ "name": "kid"
5750
+ },
5751
+ {
5752
+ "in": "body",
5753
+ "name": "reason"
5754
+ },
5755
+ {
5756
+ "in": "body",
5757
+ "name": "revokeSessions"
5758
+ }
5759
+ ],
5760
+ "path": "/users/keys/revoke",
5761
+ "readOnly": false
5762
+ },
5763
+ "rotate": {
5764
+ "method": "POST",
5765
+ "path": "/users/keys/rotate",
5766
+ "readOnly": false
5767
+ }
5768
+ },
5769
+ "ops-retention": {
5770
+ "get": {
5771
+ "method": "POST",
5772
+ "path": "/users/ops/retention",
5773
+ "readOnly": false
5774
+ }
5775
+ },
5776
+ "ops-slo": {
5777
+ "get": {
5778
+ "method": "POST",
5779
+ "path": "/users/ops/slo",
5780
+ "readOnly": false
5781
+ }
5782
+ },
5783
+ "sessions": {
5784
+ "get": {
5785
+ "method": "GET",
5786
+ "params": [
5787
+ {
5788
+ "in": "path",
5789
+ "name": "sessionId"
5790
+ }
5791
+ ],
5792
+ "path": "/users/sessions/:sessionId",
5793
+ "readOnly": true
5794
+ },
5795
+ "impersonate": {
5796
+ "method": "POST",
5797
+ "params": [
5798
+ {
5799
+ "in": "body",
5800
+ "name": "userId"
5801
+ },
5802
+ {
5803
+ "in": "body",
5804
+ "name": "reason"
5805
+ }
5806
+ ],
5807
+ "path": "/users/sessions/impersonate",
5808
+ "readOnly": false
5809
+ },
5810
+ "list": {
5811
+ "method": "GET",
5812
+ "params": [
5813
+ {
5814
+ "in": "query",
5815
+ "name": "userId"
5816
+ }
5817
+ ],
5818
+ "path": "/users/sessions",
5819
+ "readOnly": true
5820
+ },
5821
+ "revoke": {
5822
+ "method": "POST",
5823
+ "params": [
5824
+ {
5825
+ "in": "body",
5826
+ "name": "sessionId"
5827
+ },
5828
+ {
5829
+ "in": "body",
5830
+ "name": "userId"
5831
+ }
5832
+ ],
5833
+ "path": "/users/sessions/revoke",
5834
+ "readOnly": false
5835
+ }
5836
+ },
5837
+ "stats": {
5838
+ "get": {
5839
+ "method": "POST",
5840
+ "params": [
5841
+ {
5842
+ "in": "body",
5843
+ "name": "window"
5844
+ }
5845
+ ],
5846
+ "path": "/users/stats/get",
5847
+ "readOnly": false
5848
+ }
5849
+ },
5850
+ "users": {
5851
+ "ban": {
5852
+ "method": "POST",
5853
+ "params": [
5854
+ {
5855
+ "in": "path",
5856
+ "name": "userId"
5857
+ }
5858
+ ],
5859
+ "path": "/users/users/:userId/ban",
5860
+ "readOnly": false
5861
+ },
5862
+ "create": {
5863
+ "method": "POST",
5864
+ "params": [
5865
+ {
5866
+ "in": "body",
5867
+ "name": "name"
5868
+ },
5869
+ {
5870
+ "in": "body",
5871
+ "name": "imageUrl"
5872
+ },
5873
+ {
5874
+ "in": "body",
5875
+ "name": "identifiers"
5876
+ },
5877
+ {
5878
+ "in": "body",
5879
+ "name": "password"
5880
+ },
5881
+ {
5882
+ "in": "body",
5883
+ "name": "waitlisted"
5884
+ },
5885
+ {
5886
+ "in": "body",
5887
+ "name": "testUser"
5888
+ },
5889
+ {
5890
+ "in": "body",
5891
+ "name": "requiresReset"
5892
+ },
5893
+ {
5894
+ "in": "body",
5895
+ "name": "publicMetadata"
5896
+ },
5897
+ {
5898
+ "in": "body",
5899
+ "name": "privateMetadata"
5900
+ },
5901
+ {
5902
+ "in": "body",
5903
+ "name": "unsafeMetadata"
5904
+ }
5905
+ ],
5906
+ "path": "/users/users",
5907
+ "readOnly": false
5908
+ },
5909
+ "delete": {
5910
+ "method": "DELETE",
5911
+ "params": [
5912
+ {
5913
+ "in": "path",
5914
+ "name": "userId"
5915
+ }
5916
+ ],
5917
+ "path": "/users/users/:userId",
5918
+ "readOnly": false
5919
+ },
5920
+ "erase": {
5921
+ "method": "POST",
5922
+ "params": [
5923
+ {
5924
+ "in": "path",
5925
+ "name": "userId"
5926
+ }
5927
+ ],
5928
+ "path": "/users/users/:userId/erase",
5929
+ "readOnly": false
5930
+ },
5931
+ "export": {
5932
+ "method": "GET",
5933
+ "params": [
5934
+ {
5935
+ "in": "query",
5936
+ "name": "query"
5937
+ },
5938
+ {
5939
+ "in": "query",
5940
+ "name": "status"
5941
+ },
5942
+ {
5943
+ "in": "query",
5944
+ "name": "includeDeleted"
5945
+ },
5946
+ {
5947
+ "in": "query",
5948
+ "name": "limit"
5949
+ },
5950
+ {
5951
+ "in": "query",
5952
+ "name": "cursor"
5953
+ }
5954
+ ],
5955
+ "path": "/users/users/export",
5956
+ "readOnly": false
5957
+ },
5958
+ "get": {
5959
+ "method": "GET",
5960
+ "params": [
5961
+ {
5962
+ "in": "path",
5963
+ "name": "userId"
5964
+ }
5965
+ ],
5966
+ "path": "/users/users/:userId",
5967
+ "readOnly": true
5968
+ },
5969
+ "import": {
5970
+ "method": "POST",
5971
+ "params": [
5972
+ {
5973
+ "in": "body",
5974
+ "name": "users"
5975
+ }
5976
+ ],
5977
+ "path": "/users/users/import",
5978
+ "readOnly": false
5979
+ },
5980
+ "invite": {
5981
+ "method": "POST",
5982
+ "params": [
5983
+ {
5984
+ "in": "body",
5985
+ "name": "email"
5986
+ },
5987
+ {
5988
+ "in": "body",
5989
+ "name": "name"
5990
+ },
5991
+ {
5992
+ "in": "body",
5993
+ "name": "publicMetadata"
5994
+ },
5995
+ {
5996
+ "in": "body",
5997
+ "name": "privateMetadata"
5998
+ }
5999
+ ],
6000
+ "path": "/users/users/invite",
6001
+ "readOnly": false
6002
+ },
6003
+ "list": {
6004
+ "method": "GET",
6005
+ "params": [
6006
+ {
6007
+ "in": "query",
6008
+ "name": "query"
6009
+ },
6010
+ {
6011
+ "in": "query",
6012
+ "name": "status"
6013
+ },
6014
+ {
6015
+ "in": "query",
6016
+ "name": "includeDeleted"
6017
+ },
6018
+ {
6019
+ "in": "query",
6020
+ "name": "includeWaitlisted"
6021
+ },
6022
+ {
6023
+ "in": "query",
6024
+ "name": "includeTestUsers"
6025
+ },
6026
+ {
6027
+ "in": "query",
6028
+ "name": "limit"
6029
+ },
6030
+ {
6031
+ "in": "query",
6032
+ "name": "cursor"
6033
+ }
6034
+ ],
6035
+ "path": "/users/users",
6036
+ "readOnly": true
6037
+ },
6038
+ "unban": {
6039
+ "method": "POST",
6040
+ "params": [
6041
+ {
6042
+ "in": "path",
6043
+ "name": "userId"
6044
+ }
6045
+ ],
6046
+ "path": "/users/users/:userId/unban",
6047
+ "readOnly": false
6048
+ },
6049
+ "update": {
6050
+ "method": "PATCH",
6051
+ "params": [
6052
+ {
6053
+ "in": "path",
6054
+ "name": "userId"
6055
+ },
6056
+ {
6057
+ "in": "body",
6058
+ "name": "name"
6059
+ },
6060
+ {
6061
+ "in": "body",
6062
+ "name": "imageUrl"
6063
+ },
6064
+ {
6065
+ "in": "body",
6066
+ "name": "waitlisted"
6067
+ },
6068
+ {
6069
+ "in": "body",
6070
+ "name": "requiresReset"
6071
+ },
6072
+ {
6073
+ "in": "body",
6074
+ "name": "lockedUntil"
6075
+ },
6076
+ {
6077
+ "in": "body",
6078
+ "name": "publicMetadata"
6079
+ },
6080
+ {
6081
+ "in": "body",
6082
+ "name": "privateMetadata"
6083
+ },
6084
+ {
6085
+ "in": "body",
6086
+ "name": "unsafeMetadata"
6087
+ }
6088
+ ],
6089
+ "path": "/users/users/:userId",
6090
+ "readOnly": false
6091
+ }
6092
+ },
6093
+ "users-set-primary": {
6094
+ "identifier": {
6095
+ "method": "POST",
6096
+ "params": [
6097
+ {
6098
+ "in": "path",
6099
+ "name": "userId"
6100
+ },
6101
+ {
6102
+ "in": "body",
6103
+ "name": "email"
6104
+ },
6105
+ {
6106
+ "in": "body",
6107
+ "name": "reason"
6108
+ }
6109
+ ],
6110
+ "path": "/users/users/:userId/primary-identifier",
6111
+ "readOnly": false
6112
+ }
6113
+ },
6114
+ "waitlist": {
6115
+ "erase": {
6116
+ "method": "POST",
6117
+ "params": [
6118
+ {
6119
+ "in": "body",
6120
+ "name": "userId"
6121
+ }
6122
+ ],
6123
+ "path": "/users/waitlist/erase",
6124
+ "readOnly": false
6125
+ },
6126
+ "funnel": {
6127
+ "method": "POST",
6128
+ "path": "/users/waitlist/funnel",
6129
+ "readOnly": false
6130
+ },
6131
+ "import": {
6132
+ "method": "POST",
6133
+ "params": [
6134
+ {
6135
+ "in": "body",
6136
+ "name": "entries"
6137
+ }
6138
+ ],
6139
+ "path": "/users/waitlist/import",
6140
+ "readOnly": false
6141
+ },
6142
+ "invite": {
6143
+ "method": "POST",
6144
+ "params": [
6145
+ {
6146
+ "in": "body",
6147
+ "name": "userIds"
6148
+ }
6149
+ ],
6150
+ "path": "/users/waitlist/invite",
6151
+ "readOnly": false
6152
+ },
6153
+ "list": {
6154
+ "method": "POST",
6155
+ "params": [
6156
+ {
6157
+ "in": "body",
6158
+ "name": "status"
6159
+ },
6160
+ {
6161
+ "in": "body",
6162
+ "name": "confirmed"
6163
+ },
6164
+ {
6165
+ "in": "body",
6166
+ "name": "limit"
6167
+ },
6168
+ {
6169
+ "in": "body",
6170
+ "name": "cursor"
6171
+ }
6172
+ ],
6173
+ "path": "/users/waitlist/list",
6174
+ "readOnly": false
6175
+ }
6176
+ },
6177
+ "webhooks": {
6178
+ "create": {
6179
+ "method": "POST",
6180
+ "params": [
6181
+ {
6182
+ "in": "body",
6183
+ "name": "url"
6184
+ },
6185
+ {
6186
+ "in": "body",
6187
+ "name": "events"
6188
+ },
6189
+ {
6190
+ "in": "body",
6191
+ "name": "description"
6192
+ }
6193
+ ],
6194
+ "path": "/users/webhooks",
6195
+ "readOnly": false
6196
+ },
6197
+ "delete": {
6198
+ "method": "DELETE",
6199
+ "params": [
6200
+ {
6201
+ "in": "path",
6202
+ "name": "id"
6203
+ }
6204
+ ],
6205
+ "path": "/users/webhooks/:id",
6206
+ "readOnly": false
6207
+ },
6208
+ "get": {
6209
+ "method": "GET",
6210
+ "params": [
6211
+ {
6212
+ "in": "path",
6213
+ "name": "id"
6214
+ }
6215
+ ],
6216
+ "path": "/users/webhooks/:id",
6217
+ "readOnly": true
6218
+ },
6219
+ "list": {
6220
+ "method": "GET",
6221
+ "path": "/users/webhooks",
6222
+ "readOnly": true
6223
+ },
6224
+ "update": {
6225
+ "method": "PATCH",
6226
+ "params": [
6227
+ {
6228
+ "in": "path",
6229
+ "name": "id"
6230
+ },
6231
+ {
6232
+ "in": "body",
6233
+ "name": "url"
6234
+ },
6235
+ {
6236
+ "in": "body",
6237
+ "name": "events"
6238
+ },
6239
+ {
6240
+ "in": "body",
6241
+ "name": "description"
6242
+ },
6243
+ {
6244
+ "in": "body",
6245
+ "name": "active"
6246
+ }
6247
+ ],
6248
+ "path": "/users/webhooks/:id",
6249
+ "readOnly": false
6250
+ }
6251
+ },
6252
+ "webhooks-deliveries": {
6253
+ "list": {
6254
+ "method": "GET",
6255
+ "params": [
6256
+ {
6257
+ "in": "path",
6258
+ "name": "id"
6259
+ },
6260
+ {
6261
+ "in": "query",
6262
+ "name": "limit"
6263
+ }
6264
+ ],
6265
+ "path": "/users/webhooks/:id/deliveries",
6266
+ "readOnly": true
6267
+ }
6268
+ },
6269
+ "webhooks-rotate": {
6270
+ "secret": {
6271
+ "method": "POST",
6272
+ "params": [
6273
+ {
6274
+ "in": "path",
6275
+ "name": "id"
6276
+ }
6277
+ ],
6278
+ "path": "/users/webhooks/:id/rotate-secret",
6279
+ "readOnly": false
6280
+ }
6281
+ }
6282
+ },
5541
6283
  "waitlist": {
5542
6284
  "config": {
5543
6285
  "get": {