@lessly/sdk-app 9.0.0 → 9.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-D7QDqI8G.d.cts → client.gen-BLMudoVx.d.cts} +341 -1
  6. package/dist/{client.gen-D7QDqI8G.d.ts → client.gen-BLMudoVx.d.ts} +341 -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 +218 -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 +218 -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.cjs +66 -0
  24. package/dist/realtime/index.cjs.map +1 -0
  25. package/dist/realtime/index.d.cts +52 -0
  26. package/dist/realtime/index.d.ts +52 -0
  27. package/dist/realtime/index.js +53 -0
  28. package/dist/realtime/index.js.map +1 -0
  29. package/dist/tracking/index.d.cts +1 -1
  30. package/dist/tracking/index.d.ts +1 -1
  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 +218 -0
  35. package/src/gen/client.gen.ts +50 -0
  36. package/src/gen/manifest.gen.ts +1 -1
  37. package/src/gen/realtime/index.ts +3 -0
  38. package/src/gen/realtime/queryOptions.gen.ts +81 -0
  39. package/src/gen/types.gen.ts +340 -0
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-D7QDqI8G.cjs';
1
+ import { G as GeneratedClient } from './client.gen-BLMudoVx.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-D7QDqI8G.js';
1
+ import { G as GeneratedClient } from './client.gen-BLMudoVx.js';
2
2
 
3
3
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
4
4
  type ParamIn = 'path' | 'query' | 'body';
package/dist/index.js CHANGED
@@ -4413,6 +4413,224 @@ var bindings = {
4413
4413
  }
4414
4414
  }
4415
4415
  },
4416
+ "realtime": {
4417
+ "grant": {
4418
+ "create": {
4419
+ "method": "POST",
4420
+ "params": [
4421
+ {
4422
+ "in": "body",
4423
+ "name": "subject"
4424
+ },
4425
+ {
4426
+ "in": "body",
4427
+ "name": "pattern"
4428
+ },
4429
+ {
4430
+ "in": "body",
4431
+ "name": "ops"
4432
+ }
4433
+ ],
4434
+ "path": "/realtime/grants",
4435
+ "readOnly": false
4436
+ },
4437
+ "list": {
4438
+ "method": "GET",
4439
+ "params": [
4440
+ {
4441
+ "in": "query",
4442
+ "name": "subject"
4443
+ }
4444
+ ],
4445
+ "path": "/realtime/grants",
4446
+ "readOnly": true
4447
+ },
4448
+ "revoke": {
4449
+ "method": "DELETE",
4450
+ "params": [
4451
+ {
4452
+ "in": "path",
4453
+ "name": "id"
4454
+ }
4455
+ ],
4456
+ "path": "/realtime/grants/:id",
4457
+ "readOnly": false
4458
+ }
4459
+ },
4460
+ "history": {
4461
+ "get": {
4462
+ "method": "GET",
4463
+ "params": [
4464
+ {
4465
+ "in": "query",
4466
+ "name": "channel"
4467
+ },
4468
+ {
4469
+ "in": "query",
4470
+ "name": "offset"
4471
+ },
4472
+ {
4473
+ "in": "query",
4474
+ "name": "epoch"
4475
+ },
4476
+ {
4477
+ "in": "query",
4478
+ "name": "last_n"
4479
+ },
4480
+ {
4481
+ "in": "query",
4482
+ "name": "last_ms"
4483
+ }
4484
+ ],
4485
+ "path": "/realtime/messages/history",
4486
+ "readOnly": true
4487
+ }
4488
+ },
4489
+ "messages": {
4490
+ "publish": {
4491
+ "method": "POST",
4492
+ "params": [
4493
+ {
4494
+ "in": "body",
4495
+ "name": "channel"
4496
+ },
4497
+ {
4498
+ "in": "body",
4499
+ "name": "data"
4500
+ }
4501
+ ],
4502
+ "path": "/realtime/messages",
4503
+ "readOnly": false
4504
+ }
4505
+ },
4506
+ "namespace": {
4507
+ "create": {
4508
+ "method": "POST",
4509
+ "params": [
4510
+ {
4511
+ "in": "body",
4512
+ "name": "name"
4513
+ },
4514
+ {
4515
+ "in": "body",
4516
+ "name": "visibility"
4517
+ },
4518
+ {
4519
+ "in": "body",
4520
+ "name": "presence"
4521
+ },
4522
+ {
4523
+ "in": "body",
4524
+ "name": "clientEvents"
4525
+ },
4526
+ {
4527
+ "in": "body",
4528
+ "name": "history"
4529
+ },
4530
+ {
4531
+ "in": "body",
4532
+ "name": "historyWindowSeconds"
4533
+ },
4534
+ {
4535
+ "in": "body",
4536
+ "name": "encryptionRequired"
4537
+ },
4538
+ {
4539
+ "in": "body",
4540
+ "name": "identifiedOnly"
4541
+ }
4542
+ ],
4543
+ "path": "/realtime/namespaces",
4544
+ "readOnly": false
4545
+ },
4546
+ "delete": {
4547
+ "method": "DELETE",
4548
+ "params": [
4549
+ {
4550
+ "in": "path",
4551
+ "name": "name"
4552
+ }
4553
+ ],
4554
+ "path": "/realtime/namespaces/:name",
4555
+ "readOnly": false
4556
+ },
4557
+ "get": {
4558
+ "method": "GET",
4559
+ "params": [
4560
+ {
4561
+ "in": "path",
4562
+ "name": "name"
4563
+ }
4564
+ ],
4565
+ "path": "/realtime/namespaces/:name",
4566
+ "readOnly": true
4567
+ },
4568
+ "list": {
4569
+ "method": "GET",
4570
+ "path": "/realtime/namespaces",
4571
+ "readOnly": true
4572
+ },
4573
+ "update": {
4574
+ "method": "PATCH",
4575
+ "params": [
4576
+ {
4577
+ "in": "path",
4578
+ "name": "name"
4579
+ },
4580
+ {
4581
+ "in": "body",
4582
+ "name": "visibility"
4583
+ },
4584
+ {
4585
+ "in": "body",
4586
+ "name": "presence"
4587
+ },
4588
+ {
4589
+ "in": "body",
4590
+ "name": "clientEvents"
4591
+ },
4592
+ {
4593
+ "in": "body",
4594
+ "name": "history"
4595
+ },
4596
+ {
4597
+ "in": "body",
4598
+ "name": "historyWindowSeconds"
4599
+ },
4600
+ {
4601
+ "in": "body",
4602
+ "name": "encryptionRequired"
4603
+ },
4604
+ {
4605
+ "in": "body",
4606
+ "name": "identifiedOnly"
4607
+ }
4608
+ ],
4609
+ "path": "/realtime/namespaces/:name",
4610
+ "readOnly": false
4611
+ }
4612
+ },
4613
+ "status": {
4614
+ "get": {
4615
+ "method": "GET",
4616
+ "path": "/realtime/status",
4617
+ "readOnly": true
4618
+ }
4619
+ },
4620
+ "tokens": {
4621
+ "create": {
4622
+ "method": "POST",
4623
+ "params": [
4624
+ {
4625
+ "in": "body",
4626
+ "name": "channels"
4627
+ }
4628
+ ],
4629
+ "path": "/realtime/tokens",
4630
+ "readOnly": false
4631
+ }
4632
+ }
4633
+ },
4416
4634
  "tracking": {
4417
4635
  "api-keys": {
4418
4636
  "create": {