@lessly/sdk-app 9.2.0 → 11.0.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 (38) 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-BLMudoVx.d.cts → client.gen-BfMz1akk.d.cts} +455 -2
  6. package/dist/{client.gen-BLMudoVx.d.ts → client.gen-BfMz1akk.d.ts} +455 -2
  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 +198 -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 +198 -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 +60 -0
  24. package/dist/realtime/index.cjs.map +1 -1
  25. package/dist/realtime/index.d.cts +50 -2
  26. package/dist/realtime/index.d.ts +50 -2
  27. package/dist/realtime/index.js +49 -1
  28. package/dist/realtime/index.js.map +1 -1
  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 +2 -2
  34. package/src/gen/bindings.gen.ts +198 -0
  35. package/src/gen/client.gen.ts +44 -0
  36. package/src/gen/realtime/index.ts +1 -1
  37. package/src/gen/realtime/queryOptions.gen.ts +77 -0
  38. package/src/gen/types.gen.ts +459 -1
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-BLMudoVx.cjs';
1
+ import { G as GeneratedClient } from './client.gen-BfMz1akk.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-BLMudoVx.js';
1
+ import { G as GeneratedClient } from './client.gen-BfMz1akk.js';
2
2
 
3
3
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
4
4
  type ParamIn = 'path' | 'query' | 'body';
package/dist/index.js CHANGED
@@ -4538,6 +4538,10 @@ var bindings = {
4538
4538
  {
4539
4539
  "in": "body",
4540
4540
  "name": "identifiedOnly"
4541
+ },
4542
+ {
4543
+ "in": "body",
4544
+ "name": "subscribeProxyUrl"
4541
4545
  }
4542
4546
  ],
4543
4547
  "path": "/realtime/namespaces",
@@ -4604,12 +4608,101 @@ var bindings = {
4604
4608
  {
4605
4609
  "in": "body",
4606
4610
  "name": "identifiedOnly"
4611
+ },
4612
+ {
4613
+ "in": "body",
4614
+ "name": "subscribeProxyUrl"
4607
4615
  }
4608
4616
  ],
4609
4617
  "path": "/realtime/namespaces/:name",
4610
4618
  "readOnly": false
4611
4619
  }
4612
4620
  },
4621
+ "presence": {
4622
+ "enter": {
4623
+ "method": "POST",
4624
+ "params": [
4625
+ {
4626
+ "in": "body",
4627
+ "name": "channel"
4628
+ },
4629
+ {
4630
+ "in": "body",
4631
+ "name": "info"
4632
+ },
4633
+ {
4634
+ "in": "body",
4635
+ "name": "ttl_seconds"
4636
+ },
4637
+ {
4638
+ "in": "body",
4639
+ "name": "member_id"
4640
+ }
4641
+ ],
4642
+ "path": "/realtime/presence/enter",
4643
+ "readOnly": false
4644
+ },
4645
+ "get": {
4646
+ "method": "GET",
4647
+ "params": [
4648
+ {
4649
+ "in": "query",
4650
+ "name": "channel"
4651
+ }
4652
+ ],
4653
+ "path": "/realtime/presence",
4654
+ "readOnly": true
4655
+ },
4656
+ "leave": {
4657
+ "method": "POST",
4658
+ "params": [
4659
+ {
4660
+ "in": "body",
4661
+ "name": "channel"
4662
+ },
4663
+ {
4664
+ "in": "body",
4665
+ "name": "member_id"
4666
+ }
4667
+ ],
4668
+ "path": "/realtime/presence/leave",
4669
+ "readOnly": false
4670
+ },
4671
+ "stats": {
4672
+ "method": "GET",
4673
+ "params": [
4674
+ {
4675
+ "in": "query",
4676
+ "name": "channel"
4677
+ }
4678
+ ],
4679
+ "path": "/realtime/presence/stats",
4680
+ "readOnly": true
4681
+ },
4682
+ "update": {
4683
+ "method": "POST",
4684
+ "params": [
4685
+ {
4686
+ "in": "body",
4687
+ "name": "channel"
4688
+ },
4689
+ {
4690
+ "in": "body",
4691
+ "name": "info"
4692
+ },
4693
+ {
4694
+ "in": "body",
4695
+ "name": "ttl_seconds"
4696
+ },
4697
+ {
4698
+ "in": "body",
4699
+ "name": "member_id"
4700
+ }
4701
+ ],
4702
+ "path": "/realtime/presence/update",
4703
+ "readOnly": false
4704
+ }
4705
+ },
4613
4706
  "status": {
4614
4707
  "get": {
4615
4708
  "method": "GET",
@@ -4629,6 +4722,111 @@ var bindings = {
4629
4722
  "path": "/realtime/tokens",
4630
4723
  "readOnly": false
4631
4724
  }
4725
+ },
4726
+ "webhook": {
4727
+ "create": {
4728
+ "method": "POST",
4729
+ "params": [
4730
+ {
4731
+ "in": "body",
4732
+ "name": "url"
4733
+ },
4734
+ {
4735
+ "in": "body",
4736
+ "name": "events"
4737
+ },
4738
+ {
4739
+ "in": "body",
4740
+ "name": "description"
4741
+ }
4742
+ ],
4743
+ "path": "/realtime/webhooks",
4744
+ "readOnly": false
4745
+ },
4746
+ "delete": {
4747
+ "method": "DELETE",
4748
+ "params": [
4749
+ {
4750
+ "in": "path",
4751
+ "name": "webhookId"
4752
+ }
4753
+ ],
4754
+ "path": "/realtime/webhooks/:webhookId",
4755
+ "readOnly": false
4756
+ },
4757
+ "get": {
4758
+ "method": "GET",
4759
+ "params": [
4760
+ {
4761
+ "in": "path",
4762
+ "name": "webhookId"
4763
+ }
4764
+ ],
4765
+ "path": "/realtime/webhooks/:webhookId",
4766
+ "readOnly": true
4767
+ },
4768
+ "list": {
4769
+ "method": "GET",
4770
+ "path": "/realtime/webhooks",
4771
+ "readOnly": true
4772
+ },
4773
+ "update": {
4774
+ "method": "PATCH",
4775
+ "params": [
4776
+ {
4777
+ "in": "body",
4778
+ "name": "url"
4779
+ },
4780
+ {
4781
+ "in": "body",
4782
+ "name": "events"
4783
+ },
4784
+ {
4785
+ "in": "body",
4786
+ "name": "description"
4787
+ },
4788
+ {
4789
+ "in": "body",
4790
+ "name": "active"
4791
+ },
4792
+ {
4793
+ "in": "path",
4794
+ "name": "webhookId"
4795
+ }
4796
+ ],
4797
+ "path": "/realtime/webhooks/:webhookId",
4798
+ "readOnly": false
4799
+ }
4800
+ },
4801
+ "webhook-deliveries": {
4802
+ "list": {
4803
+ "method": "GET",
4804
+ "params": [
4805
+ {
4806
+ "in": "path",
4807
+ "name": "webhookId"
4808
+ },
4809
+ {
4810
+ "in": "query",
4811
+ "name": "limit"
4812
+ }
4813
+ ],
4814
+ "path": "/realtime/webhooks/:webhookId/deliveries",
4815
+ "readOnly": true
4816
+ }
4817
+ },
4818
+ "webhook-secret": {
4819
+ "rotate": {
4820
+ "method": "POST",
4821
+ "params": [
4822
+ {
4823
+ "in": "path",
4824
+ "name": "webhookId"
4825
+ }
4826
+ ],
4827
+ "path": "/realtime/webhooks/:webhookId/secret/rotate",
4828
+ "readOnly": false
4829
+ }
4632
4830
  }
4633
4831
  },
4634
4832
  "tracking": {