@lessly/sdk-app 15.1.0 → 15.1.1

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-BeFnNb6g.d.cts → client.gen-CxFsxxHW.d.cts} +232 -3042
  10. package/dist/{client.gen-BeFnNb6g.d.ts → client.gen-CxFsxxHW.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": {
@@ -4370,110 +4383,6 @@ var bindings = {
4370
4383
  }
4371
4384
  }
4372
4385
  },
4373
- "playground": {
4374
- "analytics": {
4375
- "overview": {
4376
- "method": "POST",
4377
- "params": [
4378
- {
4379
- "in": "body",
4380
- "name": "limit"
4381
- }
4382
- ],
4383
- "path": "/playground/analytics/overview",
4384
- "readOnly": true
4385
- }
4386
- },
4387
- "billing": {
4388
- "entitlements": {
4389
- "method": "POST",
4390
- "path": "/playground/billing/entitlements",
4391
- "readOnly": true
4392
- },
4393
- "record-usage": {
4394
- "method": "POST",
4395
- "params": [
4396
- {
4397
- "in": "body",
4398
- "name": "value"
4399
- }
4400
- ],
4401
- "path": "/playground/billing/usage",
4402
- "readOnly": false
4403
- }
4404
- },
4405
- "clickup": {
4406
- "create-task": {
4407
- "method": "POST",
4408
- "params": [
4409
- {
4410
- "in": "body",
4411
- "name": "listId"
4412
- },
4413
- {
4414
- "in": "body",
4415
- "name": "name"
4416
- }
4417
- ],
4418
- "path": "/playground/clickup/tasks",
4419
- "readOnly": false
4420
- },
4421
- "get-last-webhook": {
4422
- "method": "GET",
4423
- "path": "/playground/clickup/webhooks/last",
4424
- "readOnly": true
4425
- },
4426
- "get-overview": {
4427
- "method": "GET",
4428
- "path": "/playground/clickup/overview",
4429
- "readOnly": true
4430
- }
4431
- },
4432
- "gdrive": {
4433
- "get-last-change": {
4434
- "method": "GET",
4435
- "path": "/playground/gdrive/changes/last",
4436
- "readOnly": true
4437
- },
4438
- "read-file": {
4439
- "method": "POST",
4440
- "params": [
4441
- {
4442
- "in": "body",
4443
- "name": "fileId"
4444
- }
4445
- ],
4446
- "path": "/playground/gdrive/file",
4447
- "readOnly": true
4448
- }
4449
- },
4450
- "googleads": {
4451
- "read-customer": {
4452
- "method": "POST",
4453
- "path": "/playground/googleads/customer",
4454
- "readOnly": true
4455
- }
4456
- },
4457
- "lifecycle": {
4458
- "get-state": {
4459
- "method": "GET",
4460
- "path": "/playground/lifecycle/state",
4461
- "readOnly": true
4462
- },
4463
- "list-events": {
4464
- "method": "GET",
4465
- "path": "/playground/lifecycle/events",
4466
- "readOnly": true
4467
- }
4468
- },
4469
- "webhook": {
4470
- "get-last": {
4471
- "method": "GET",
4472
- "path": "/playground/webhooks/last",
4473
- "readOnly": true
4474
- }
4475
- }
4476
- },
4477
4386
  "realtime": {
4478
4387
  "apikey": {
4479
4388
  "create": {
@@ -5571,748 +5480,6 @@ var bindings = {
5571
5480
  }
5572
5481
  }
5573
5482
  },
5574
- "users": {
5575
- "apikeys": {
5576
- "create": {
5577
- "method": "POST",
5578
- "params": [
5579
- {
5580
- "in": "body",
5581
- "name": "name"
5582
- },
5583
- {
5584
- "in": "body",
5585
- "name": "type"
5586
- }
5587
- ],
5588
- "path": "/users/api-keys",
5589
- "readOnly": false
5590
- },
5591
- "list": {
5592
- "method": "GET",
5593
- "path": "/users/api-keys",
5594
- "readOnly": true
5595
- },
5596
- "revoke": {
5597
- "method": "DELETE",
5598
- "params": [
5599
- {
5600
- "in": "path",
5601
- "name": "id"
5602
- }
5603
- ],
5604
- "path": "/users/api-keys/:id",
5605
- "readOnly": false
5606
- }
5607
- },
5608
- "audit": {
5609
- "list": {
5610
- "method": "GET",
5611
- "params": [
5612
- {
5613
- "in": "query",
5614
- "name": "action"
5615
- },
5616
- {
5617
- "in": "query",
5618
- "name": "targetType"
5619
- },
5620
- {
5621
- "in": "query",
5622
- "name": "targetId"
5623
- },
5624
- {
5625
- "in": "query",
5626
- "name": "since"
5627
- },
5628
- {
5629
- "in": "query",
5630
- "name": "until"
5631
- },
5632
- {
5633
- "in": "query",
5634
- "name": "limit"
5635
- },
5636
- {
5637
- "in": "query",
5638
- "name": "cursor"
5639
- }
5640
- ],
5641
- "path": "/users/audit",
5642
- "readOnly": true
5643
- }
5644
- },
5645
- "config": {
5646
- "get": {
5647
- "method": "GET",
5648
- "path": "/users/config",
5649
- "readOnly": true
5650
- },
5651
- "upsert": {
5652
- "method": "PUT",
5653
- "params": [
5654
- {
5655
- "in": "body",
5656
- "name": "signupMode"
5657
- },
5658
- {
5659
- "in": "body",
5660
- "name": "passwordPolicy"
5661
- },
5662
- {
5663
- "in": "body",
5664
- "name": "sessionTtlHours"
5665
- },
5666
- {
5667
- "in": "body",
5668
- "name": "accessTokenTtlMinutes"
5669
- },
5670
- {
5671
- "in": "body",
5672
- "name": "refreshSlidingDays"
5673
- },
5674
- {
5675
- "in": "body",
5676
- "name": "refreshAbsoluteDays"
5677
- },
5678
- {
5679
- "in": "body",
5680
- "name": "redirectUriAllowlist"
5681
- },
5682
- {
5683
- "in": "body",
5684
- "name": "allowedOrigins"
5685
- },
5686
- {
5687
- "in": "body",
5688
- "name": "protection"
5689
- },
5690
- {
5691
- "in": "body",
5692
- "name": "captcha"
5693
- },
5694
- {
5695
- "in": "body",
5696
- "name": "email"
5697
- },
5698
- {
5699
- "in": "body",
5700
- "name": "recovery"
5701
- },
5702
- {
5703
- "in": "body",
5704
- "name": "emailChange"
5705
- },
5706
- {
5707
- "in": "body",
5708
- "name": "invite"
5709
- },
5710
- {
5711
- "in": "body",
5712
- "name": "waitlist"
5713
- },
5714
- {
5715
- "in": "body",
5716
- "name": "testMode"
5717
- },
5718
- {
5719
- "in": "body",
5720
- "name": "retention"
5721
- },
5722
- {
5723
- "in": "body",
5724
- "name": "hosted"
5725
- },
5726
- {
5727
- "in": "body",
5728
- "name": "mfa"
5729
- },
5730
- {
5731
- "in": "body",
5732
- "name": "notifications"
5733
- },
5734
- {
5735
- "in": "body",
5736
- "name": "oauth"
5737
- }
5738
- ],
5739
- "path": "/users/config",
5740
- "readOnly": false
5741
- }
5742
- },
5743
- "factors": {
5744
- "list": {
5745
- "method": "GET",
5746
- "params": [
5747
- {
5748
- "in": "path",
5749
- "name": "userId"
5750
- }
5751
- ],
5752
- "path": "/users/users/:userId/factors",
5753
- "readOnly": true
5754
- },
5755
- "reset": {
5756
- "method": "POST",
5757
- "params": [
5758
- {
5759
- "in": "path",
5760
- "name": "userId"
5761
- },
5762
- {
5763
- "in": "body",
5764
- "name": "reason"
5765
- }
5766
- ],
5767
- "path": "/users/users/:userId/factors/reset",
5768
- "readOnly": false
5769
- }
5770
- },
5771
- "keys": {
5772
- "list": {
5773
- "method": "GET",
5774
- "path": "/users/keys",
5775
- "readOnly": true
5776
- },
5777
- "revoke": {
5778
- "method": "POST",
5779
- "params": [
5780
- {
5781
- "in": "body",
5782
- "name": "kid"
5783
- },
5784
- {
5785
- "in": "body",
5786
- "name": "reason"
5787
- },
5788
- {
5789
- "in": "body",
5790
- "name": "revokeSessions"
5791
- }
5792
- ],
5793
- "path": "/users/keys/revoke",
5794
- "readOnly": false
5795
- },
5796
- "rotate": {
5797
- "method": "POST",
5798
- "path": "/users/keys/rotate",
5799
- "readOnly": false
5800
- }
5801
- },
5802
- "ops-retention": {
5803
- "get": {
5804
- "method": "POST",
5805
- "path": "/users/ops/retention",
5806
- "readOnly": false
5807
- }
5808
- },
5809
- "ops-slo": {
5810
- "get": {
5811
- "method": "POST",
5812
- "path": "/users/ops/slo",
5813
- "readOnly": false
5814
- }
5815
- },
5816
- "sessions": {
5817
- "get": {
5818
- "method": "GET",
5819
- "params": [
5820
- {
5821
- "in": "path",
5822
- "name": "sessionId"
5823
- }
5824
- ],
5825
- "path": "/users/sessions/:sessionId",
5826
- "readOnly": true
5827
- },
5828
- "impersonate": {
5829
- "method": "POST",
5830
- "params": [
5831
- {
5832
- "in": "body",
5833
- "name": "userId"
5834
- },
5835
- {
5836
- "in": "body",
5837
- "name": "reason"
5838
- }
5839
- ],
5840
- "path": "/users/sessions/impersonate",
5841
- "readOnly": false
5842
- },
5843
- "list": {
5844
- "method": "GET",
5845
- "params": [
5846
- {
5847
- "in": "query",
5848
- "name": "userId"
5849
- }
5850
- ],
5851
- "path": "/users/sessions",
5852
- "readOnly": true
5853
- },
5854
- "revoke": {
5855
- "method": "POST",
5856
- "params": [
5857
- {
5858
- "in": "body",
5859
- "name": "sessionId"
5860
- },
5861
- {
5862
- "in": "body",
5863
- "name": "userId"
5864
- }
5865
- ],
5866
- "path": "/users/sessions/revoke",
5867
- "readOnly": false
5868
- }
5869
- },
5870
- "stats": {
5871
- "get": {
5872
- "method": "POST",
5873
- "params": [
5874
- {
5875
- "in": "body",
5876
- "name": "window"
5877
- }
5878
- ],
5879
- "path": "/users/stats/get",
5880
- "readOnly": false
5881
- }
5882
- },
5883
- "users": {
5884
- "ban": {
5885
- "method": "POST",
5886
- "params": [
5887
- {
5888
- "in": "path",
5889
- "name": "userId"
5890
- }
5891
- ],
5892
- "path": "/users/users/:userId/ban",
5893
- "readOnly": false
5894
- },
5895
- "create": {
5896
- "method": "POST",
5897
- "params": [
5898
- {
5899
- "in": "body",
5900
- "name": "name"
5901
- },
5902
- {
5903
- "in": "body",
5904
- "name": "imageUrl"
5905
- },
5906
- {
5907
- "in": "body",
5908
- "name": "identifiers"
5909
- },
5910
- {
5911
- "in": "body",
5912
- "name": "password"
5913
- },
5914
- {
5915
- "in": "body",
5916
- "name": "waitlisted"
5917
- },
5918
- {
5919
- "in": "body",
5920
- "name": "testUser"
5921
- },
5922
- {
5923
- "in": "body",
5924
- "name": "requiresReset"
5925
- },
5926
- {
5927
- "in": "body",
5928
- "name": "publicMetadata"
5929
- },
5930
- {
5931
- "in": "body",
5932
- "name": "privateMetadata"
5933
- },
5934
- {
5935
- "in": "body",
5936
- "name": "unsafeMetadata"
5937
- }
5938
- ],
5939
- "path": "/users/users",
5940
- "readOnly": false
5941
- },
5942
- "delete": {
5943
- "method": "DELETE",
5944
- "params": [
5945
- {
5946
- "in": "path",
5947
- "name": "userId"
5948
- }
5949
- ],
5950
- "path": "/users/users/:userId",
5951
- "readOnly": false
5952
- },
5953
- "erase": {
5954
- "method": "POST",
5955
- "params": [
5956
- {
5957
- "in": "path",
5958
- "name": "userId"
5959
- }
5960
- ],
5961
- "path": "/users/users/:userId/erase",
5962
- "readOnly": false
5963
- },
5964
- "export": {
5965
- "method": "GET",
5966
- "params": [
5967
- {
5968
- "in": "query",
5969
- "name": "query"
5970
- },
5971
- {
5972
- "in": "query",
5973
- "name": "status"
5974
- },
5975
- {
5976
- "in": "query",
5977
- "name": "includeDeleted"
5978
- },
5979
- {
5980
- "in": "query",
5981
- "name": "limit"
5982
- },
5983
- {
5984
- "in": "query",
5985
- "name": "cursor"
5986
- }
5987
- ],
5988
- "path": "/users/users/export",
5989
- "readOnly": false
5990
- },
5991
- "get": {
5992
- "method": "GET",
5993
- "params": [
5994
- {
5995
- "in": "path",
5996
- "name": "userId"
5997
- }
5998
- ],
5999
- "path": "/users/users/:userId",
6000
- "readOnly": true
6001
- },
6002
- "import": {
6003
- "method": "POST",
6004
- "params": [
6005
- {
6006
- "in": "body",
6007
- "name": "users"
6008
- }
6009
- ],
6010
- "path": "/users/users/import",
6011
- "readOnly": false
6012
- },
6013
- "invite": {
6014
- "method": "POST",
6015
- "params": [
6016
- {
6017
- "in": "body",
6018
- "name": "email"
6019
- },
6020
- {
6021
- "in": "body",
6022
- "name": "name"
6023
- },
6024
- {
6025
- "in": "body",
6026
- "name": "publicMetadata"
6027
- },
6028
- {
6029
- "in": "body",
6030
- "name": "privateMetadata"
6031
- }
6032
- ],
6033
- "path": "/users/users/invite",
6034
- "readOnly": false
6035
- },
6036
- "list": {
6037
- "method": "GET",
6038
- "params": [
6039
- {
6040
- "in": "query",
6041
- "name": "query"
6042
- },
6043
- {
6044
- "in": "query",
6045
- "name": "status"
6046
- },
6047
- {
6048
- "in": "query",
6049
- "name": "includeDeleted"
6050
- },
6051
- {
6052
- "in": "query",
6053
- "name": "includeWaitlisted"
6054
- },
6055
- {
6056
- "in": "query",
6057
- "name": "includeTestUsers"
6058
- },
6059
- {
6060
- "in": "query",
6061
- "name": "limit"
6062
- },
6063
- {
6064
- "in": "query",
6065
- "name": "cursor"
6066
- }
6067
- ],
6068
- "path": "/users/users",
6069
- "readOnly": true
6070
- },
6071
- "unban": {
6072
- "method": "POST",
6073
- "params": [
6074
- {
6075
- "in": "path",
6076
- "name": "userId"
6077
- }
6078
- ],
6079
- "path": "/users/users/:userId/unban",
6080
- "readOnly": false
6081
- },
6082
- "update": {
6083
- "method": "PATCH",
6084
- "params": [
6085
- {
6086
- "in": "path",
6087
- "name": "userId"
6088
- },
6089
- {
6090
- "in": "body",
6091
- "name": "name"
6092
- },
6093
- {
6094
- "in": "body",
6095
- "name": "imageUrl"
6096
- },
6097
- {
6098
- "in": "body",
6099
- "name": "waitlisted"
6100
- },
6101
- {
6102
- "in": "body",
6103
- "name": "requiresReset"
6104
- },
6105
- {
6106
- "in": "body",
6107
- "name": "lockedUntil"
6108
- },
6109
- {
6110
- "in": "body",
6111
- "name": "publicMetadata"
6112
- },
6113
- {
6114
- "in": "body",
6115
- "name": "privateMetadata"
6116
- },
6117
- {
6118
- "in": "body",
6119
- "name": "unsafeMetadata"
6120
- }
6121
- ],
6122
- "path": "/users/users/:userId",
6123
- "readOnly": false
6124
- }
6125
- },
6126
- "users-set-primary": {
6127
- "identifier": {
6128
- "method": "POST",
6129
- "params": [
6130
- {
6131
- "in": "path",
6132
- "name": "userId"
6133
- },
6134
- {
6135
- "in": "body",
6136
- "name": "email"
6137
- },
6138
- {
6139
- "in": "body",
6140
- "name": "reason"
6141
- }
6142
- ],
6143
- "path": "/users/users/:userId/primary-identifier",
6144
- "readOnly": false
6145
- }
6146
- },
6147
- "waitlist": {
6148
- "erase": {
6149
- "method": "POST",
6150
- "params": [
6151
- {
6152
- "in": "body",
6153
- "name": "userId"
6154
- }
6155
- ],
6156
- "path": "/users/waitlist/erase",
6157
- "readOnly": false
6158
- },
6159
- "funnel": {
6160
- "method": "POST",
6161
- "path": "/users/waitlist/funnel",
6162
- "readOnly": false
6163
- },
6164
- "import": {
6165
- "method": "POST",
6166
- "params": [
6167
- {
6168
- "in": "body",
6169
- "name": "entries"
6170
- }
6171
- ],
6172
- "path": "/users/waitlist/import",
6173
- "readOnly": false
6174
- },
6175
- "invite": {
6176
- "method": "POST",
6177
- "params": [
6178
- {
6179
- "in": "body",
6180
- "name": "userIds"
6181
- }
6182
- ],
6183
- "path": "/users/waitlist/invite",
6184
- "readOnly": false
6185
- },
6186
- "list": {
6187
- "method": "POST",
6188
- "params": [
6189
- {
6190
- "in": "body",
6191
- "name": "status"
6192
- },
6193
- {
6194
- "in": "body",
6195
- "name": "confirmed"
6196
- },
6197
- {
6198
- "in": "body",
6199
- "name": "limit"
6200
- },
6201
- {
6202
- "in": "body",
6203
- "name": "cursor"
6204
- }
6205
- ],
6206
- "path": "/users/waitlist/list",
6207
- "readOnly": false
6208
- }
6209
- },
6210
- "webhooks": {
6211
- "create": {
6212
- "method": "POST",
6213
- "params": [
6214
- {
6215
- "in": "body",
6216
- "name": "url"
6217
- },
6218
- {
6219
- "in": "body",
6220
- "name": "events"
6221
- },
6222
- {
6223
- "in": "body",
6224
- "name": "description"
6225
- }
6226
- ],
6227
- "path": "/users/webhooks",
6228
- "readOnly": false
6229
- },
6230
- "delete": {
6231
- "method": "DELETE",
6232
- "params": [
6233
- {
6234
- "in": "path",
6235
- "name": "id"
6236
- }
6237
- ],
6238
- "path": "/users/webhooks/:id",
6239
- "readOnly": false
6240
- },
6241
- "get": {
6242
- "method": "GET",
6243
- "params": [
6244
- {
6245
- "in": "path",
6246
- "name": "id"
6247
- }
6248
- ],
6249
- "path": "/users/webhooks/:id",
6250
- "readOnly": true
6251
- },
6252
- "list": {
6253
- "method": "GET",
6254
- "path": "/users/webhooks",
6255
- "readOnly": true
6256
- },
6257
- "update": {
6258
- "method": "PATCH",
6259
- "params": [
6260
- {
6261
- "in": "path",
6262
- "name": "id"
6263
- },
6264
- {
6265
- "in": "body",
6266
- "name": "url"
6267
- },
6268
- {
6269
- "in": "body",
6270
- "name": "events"
6271
- },
6272
- {
6273
- "in": "body",
6274
- "name": "description"
6275
- },
6276
- {
6277
- "in": "body",
6278
- "name": "active"
6279
- }
6280
- ],
6281
- "path": "/users/webhooks/:id",
6282
- "readOnly": false
6283
- }
6284
- },
6285
- "webhooks-deliveries": {
6286
- "list": {
6287
- "method": "GET",
6288
- "params": [
6289
- {
6290
- "in": "path",
6291
- "name": "id"
6292
- },
6293
- {
6294
- "in": "query",
6295
- "name": "limit"
6296
- }
6297
- ],
6298
- "path": "/users/webhooks/:id/deliveries",
6299
- "readOnly": true
6300
- }
6301
- },
6302
- "webhooks-rotate": {
6303
- "secret": {
6304
- "method": "POST",
6305
- "params": [
6306
- {
6307
- "in": "path",
6308
- "name": "id"
6309
- }
6310
- ],
6311
- "path": "/users/webhooks/:id/rotate-secret",
6312
- "readOnly": false
6313
- }
6314
- }
6315
- },
6316
5483
  "waitlist": {
6317
5484
  "config": {
6318
5485
  "get": {