@lessly/sdk-app 22.0.0 → 22.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 (59) 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-Bh9hLF_d.d.cts → client.gen-Cfmw2W7q.d.cts} +239 -365
  10. package/dist/{client.gen-Bh9hLF_d.d.ts → client.gen-Cfmw2W7q.d.ts} +239 -365
  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 +104 -91
  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 +104 -91
  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.cjs +25 -0
  24. package/dist/organization/index.cjs.map +1 -1
  25. package/dist/organization/index.d.cts +22 -2
  26. package/dist/organization/index.d.ts +22 -2
  27. package/dist/organization/index.js +21 -1
  28. package/dist/organization/index.js.map +1 -1
  29. package/dist/realtime/index.cjs +15 -0
  30. package/dist/realtime/index.cjs.map +1 -1
  31. package/dist/realtime/index.d.cts +14 -2
  32. package/dist/realtime/index.d.ts +14 -2
  33. package/dist/realtime/index.js +13 -1
  34. package/dist/realtime/index.js.map +1 -1
  35. package/dist/tracking/index.d.cts +1 -1
  36. package/dist/tracking/index.d.ts +1 -1
  37. package/dist/users/index.d.cts +1 -1
  38. package/dist/users/index.d.ts +1 -1
  39. package/dist/waitlist/index.d.cts +1 -1
  40. package/dist/waitlist/index.d.ts +1 -1
  41. package/package.json +2 -7
  42. package/src/gen/bindings.gen.ts +104 -91
  43. package/src/gen/brain/index.ts +1 -1
  44. package/src/gen/brain/queryOptions.gen.ts +7 -0
  45. package/src/gen/client.gen.ts +35 -52
  46. package/src/gen/manifest.gen.ts +1 -1
  47. package/src/gen/organization/index.ts +1 -1
  48. package/src/gen/organization/queryOptions.gen.ts +32 -0
  49. package/src/gen/realtime/index.ts +1 -1
  50. package/src/gen/realtime/queryOptions.gen.ts +19 -0
  51. package/src/gen/types.gen.ts +230 -358
  52. package/dist/playground/index.cjs +0 -66
  53. package/dist/playground/index.cjs.map +0 -1
  54. package/dist/playground/index.d.cts +0 -52
  55. package/dist/playground/index.d.ts +0 -52
  56. package/dist/playground/index.js +0 -53
  57. package/dist/playground/index.js.map +0 -1
  58. package/src/gen/playground/index.ts +0 -3
  59. package/src/gen/playground/queryOptions.gen.ts +0 -86
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-Bh9hLF_d.cjs';
1
+ import { G as GeneratedClient } from './client.gen-Cfmw2W7q.cjs';
2
2
 
3
3
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
4
4
  type ParamIn = 'path' | 'query' | 'body';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-Bh9hLF_d.js';
1
+ import { G as GeneratedClient } from './client.gen-Cfmw2W7q.js';
2
2
 
3
3
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
4
4
  type ParamIn = 'path' | 'query' | 'body';
package/dist/index.js CHANGED
@@ -795,6 +795,19 @@ var bindings = {
795
795
  "path": "/brain/restores/:restoreId",
796
796
  "readOnly": true
797
797
  }
798
+ },
799
+ "usage": {
800
+ "report": {
801
+ "method": "GET",
802
+ "params": [
803
+ {
804
+ "in": "query",
805
+ "name": "days"
806
+ }
807
+ ],
808
+ "path": "/brain/usage/report",
809
+ "readOnly": true
810
+ }
798
811
  }
799
812
  },
800
813
  "consent": {
@@ -4291,6 +4304,85 @@ var bindings = {
4291
4304
  "readOnly": false
4292
4305
  }
4293
4306
  },
4307
+ "public-keys": {
4308
+ "create": {
4309
+ "method": "POST",
4310
+ "params": [
4311
+ {
4312
+ "in": "path",
4313
+ "name": "productId"
4314
+ },
4315
+ {
4316
+ "in": "body",
4317
+ "name": "name"
4318
+ },
4319
+ {
4320
+ "in": "body",
4321
+ "name": "scope"
4322
+ }
4323
+ ],
4324
+ "path": "/governance/api/v1/products/:productId/public-keys",
4325
+ "readOnly": false
4326
+ },
4327
+ "list": {
4328
+ "method": "GET",
4329
+ "params": [
4330
+ {
4331
+ "in": "path",
4332
+ "name": "productId"
4333
+ }
4334
+ ],
4335
+ "path": "/governance/api/v1/products/:productId/public-keys",
4336
+ "readOnly": true
4337
+ },
4338
+ "revoke": {
4339
+ "method": "POST",
4340
+ "params": [
4341
+ {
4342
+ "in": "path",
4343
+ "name": "productId"
4344
+ },
4345
+ {
4346
+ "in": "path",
4347
+ "name": "id"
4348
+ }
4349
+ ],
4350
+ "path": "/governance/api/v1/products/:productId/public-keys/:id/revoke",
4351
+ "readOnly": false
4352
+ },
4353
+ "update-scope": {
4354
+ "method": "PUT",
4355
+ "params": [
4356
+ {
4357
+ "in": "path",
4358
+ "name": "productId"
4359
+ },
4360
+ {
4361
+ "in": "path",
4362
+ "name": "id"
4363
+ },
4364
+ {
4365
+ "in": "body",
4366
+ "name": "scope"
4367
+ }
4368
+ ],
4369
+ "path": "/governance/api/v1/products/:productId/public-keys/:id/scope",
4370
+ "readOnly": false
4371
+ }
4372
+ },
4373
+ "public-routes": {
4374
+ "list": {
4375
+ "method": "GET",
4376
+ "params": [
4377
+ {
4378
+ "in": "path",
4379
+ "name": "productId"
4380
+ }
4381
+ ],
4382
+ "path": "/governance/api/v1/products/:productId/public-routes",
4383
+ "readOnly": true
4384
+ }
4385
+ },
4294
4386
  "roles": {
4295
4387
  "create": {
4296
4388
  "method": "POST",
@@ -4398,111 +4490,36 @@ var bindings = {
4398
4490
  }
4399
4491
  }
4400
4492
  },
4401
- "playground": {
4402
- "analytics": {
4403
- "overview": {
4404
- "method": "POST",
4405
- "params": [
4406
- {
4407
- "in": "body",
4408
- "name": "limit"
4409
- }
4410
- ],
4411
- "path": "/playground/analytics/overview",
4412
- "readOnly": true
4413
- }
4414
- },
4415
- "billing": {
4416
- "entitlements": {
4417
- "method": "POST",
4418
- "path": "/playground/billing/entitlements",
4419
- "readOnly": true
4420
- },
4421
- "record-usage": {
4422
- "method": "POST",
4423
- "params": [
4424
- {
4425
- "in": "body",
4426
- "name": "value"
4427
- }
4428
- ],
4429
- "path": "/playground/billing/usage",
4430
- "readOnly": false
4431
- }
4432
- },
4433
- "clickup": {
4434
- "create-task": {
4493
+ "realtime": {
4494
+ "apikey": {
4495
+ "create": {
4435
4496
  "method": "POST",
4436
4497
  "params": [
4437
- {
4438
- "in": "body",
4439
- "name": "listId"
4440
- },
4441
4498
  {
4442
4499
  "in": "body",
4443
4500
  "name": "name"
4444
4501
  }
4445
4502
  ],
4446
- "path": "/playground/clickup/tasks",
4503
+ "path": "/realtime/api-keys",
4447
4504
  "readOnly": false
4448
4505
  },
4449
- "get-last-webhook": {
4450
- "method": "GET",
4451
- "path": "/playground/clickup/webhooks/last",
4452
- "readOnly": true
4453
- },
4454
- "get-overview": {
4455
- "method": "GET",
4456
- "path": "/playground/clickup/overview",
4457
- "readOnly": true
4458
- }
4459
- },
4460
- "gdrive": {
4461
- "get-last-change": {
4506
+ "list": {
4462
4507
  "method": "GET",
4463
- "path": "/playground/gdrive/changes/last",
4508
+ "path": "/realtime/api-keys",
4464
4509
  "readOnly": true
4465
4510
  },
4466
- "read-file": {
4467
- "method": "POST",
4511
+ "revoke": {
4512
+ "method": "DELETE",
4468
4513
  "params": [
4469
4514
  {
4470
- "in": "body",
4471
- "name": "fileId"
4515
+ "in": "path",
4516
+ "name": "id"
4472
4517
  }
4473
4518
  ],
4474
- "path": "/playground/gdrive/file",
4475
- "readOnly": true
4476
- }
4477
- },
4478
- "googleads": {
4479
- "read-customer": {
4480
- "method": "POST",
4481
- "path": "/playground/googleads/customer",
4482
- "readOnly": true
4483
- }
4484
- },
4485
- "lifecycle": {
4486
- "get-state": {
4487
- "method": "GET",
4488
- "path": "/playground/lifecycle/state",
4489
- "readOnly": true
4490
- },
4491
- "list-events": {
4492
- "method": "GET",
4493
- "path": "/playground/lifecycle/events",
4494
- "readOnly": true
4519
+ "path": "/realtime/api-keys/:id",
4520
+ "readOnly": false
4495
4521
  }
4496
4522
  },
4497
- "webhook": {
4498
- "get-last": {
4499
- "method": "GET",
4500
- "path": "/playground/webhooks/last",
4501
- "readOnly": true
4502
- }
4503
- }
4504
- },
4505
- "realtime": {
4506
4523
  "archive": {
4507
4524
  "export": {
4508
4525
  "method": "POST",
@@ -5718,10 +5735,6 @@ var bindings = {
5718
5735
  "in": "body",
5719
5736
  "name": "retention"
5720
5737
  },
5721
- {
5722
- "in": "body",
5723
- "name": "hosted"
5724
- },
5725
5738
  {
5726
5739
  "in": "body",
5727
5740
  "name": "mfa"