@lessly/sdk-app 22.2.0 → 23.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 (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 +0 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-Cfmw2W7q.d.cts → client.gen-D8-4iBy1.d.cts} +394 -178
  10. package/dist/{client.gen-Cfmw2W7q.d.ts → client.gen-D8-4iBy1.d.ts} +394 -178
  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 +112 -65
  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 +112 -65
  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/playground/index.cjs +66 -0
  26. package/dist/playground/index.cjs.map +1 -0
  27. package/dist/playground/index.d.cts +52 -0
  28. package/dist/playground/index.d.ts +52 -0
  29. package/dist/playground/index.js +53 -0
  30. package/dist/playground/index.js.map +1 -0
  31. package/dist/realtime/index.cjs +0 -15
  32. package/dist/realtime/index.cjs.map +1 -1
  33. package/dist/realtime/index.d.cts +2 -14
  34. package/dist/realtime/index.d.ts +2 -14
  35. package/dist/realtime/index.js +1 -13
  36. package/dist/realtime/index.js.map +1 -1
  37. package/dist/tracking/index.cjs +5 -20
  38. package/dist/tracking/index.cjs.map +1 -1
  39. package/dist/tracking/index.d.cts +6 -18
  40. package/dist/tracking/index.d.ts +6 -18
  41. package/dist/tracking/index.js +5 -17
  42. package/dist/tracking/index.js.map +1 -1
  43. package/dist/users/index.d.cts +1 -1
  44. package/dist/users/index.d.ts +1 -1
  45. package/dist/waitlist/index.d.cts +1 -1
  46. package/dist/waitlist/index.d.ts +1 -1
  47. package/package.json +7 -2
  48. package/src/gen/bindings.gen.ts +112 -65
  49. package/src/gen/brain/index.ts +1 -1
  50. package/src/gen/brain/queryOptions.gen.ts +0 -7
  51. package/src/gen/client.gen.ts +57 -30
  52. package/src/gen/manifest.gen.ts +1 -1
  53. package/src/gen/playground/index.ts +3 -0
  54. package/src/gen/playground/queryOptions.gen.ts +86 -0
  55. package/src/gen/realtime/index.ts +1 -1
  56. package/src/gen/realtime/queryOptions.gen.ts +0 -19
  57. package/src/gen/tracking/index.ts +1 -1
  58. package/src/gen/tracking/queryOptions.gen.ts +7 -25
  59. package/src/gen/types.gen.ts +386 -171
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-Cfmw2W7q.cjs';
1
+ import { G as GeneratedClient } from './client.gen-D8-4iBy1.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-Cfmw2W7q.js';
1
+ import { G as GeneratedClient } from './client.gen-D8-4iBy1.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,19 +795,6 @@ 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
- }
811
798
  }
812
799
  },
813
800
  "consent": {
@@ -4490,36 +4477,111 @@ var bindings = {
4490
4477
  }
4491
4478
  }
4492
4479
  },
4493
- "realtime": {
4494
- "apikey": {
4495
- "create": {
4480
+ "playground": {
4481
+ "analytics": {
4482
+ "overview": {
4483
+ "method": "POST",
4484
+ "params": [
4485
+ {
4486
+ "in": "body",
4487
+ "name": "limit"
4488
+ }
4489
+ ],
4490
+ "path": "/playground/analytics/overview",
4491
+ "readOnly": true
4492
+ }
4493
+ },
4494
+ "billing": {
4495
+ "entitlements": {
4496
+ "method": "POST",
4497
+ "path": "/playground/billing/entitlements",
4498
+ "readOnly": true
4499
+ },
4500
+ "record-usage": {
4501
+ "method": "POST",
4502
+ "params": [
4503
+ {
4504
+ "in": "body",
4505
+ "name": "value"
4506
+ }
4507
+ ],
4508
+ "path": "/playground/billing/usage",
4509
+ "readOnly": false
4510
+ }
4511
+ },
4512
+ "clickup": {
4513
+ "create-task": {
4496
4514
  "method": "POST",
4497
4515
  "params": [
4516
+ {
4517
+ "in": "body",
4518
+ "name": "listId"
4519
+ },
4498
4520
  {
4499
4521
  "in": "body",
4500
4522
  "name": "name"
4501
4523
  }
4502
4524
  ],
4503
- "path": "/realtime/api-keys",
4525
+ "path": "/playground/clickup/tasks",
4504
4526
  "readOnly": false
4505
4527
  },
4506
- "list": {
4528
+ "get-last-webhook": {
4507
4529
  "method": "GET",
4508
- "path": "/realtime/api-keys",
4530
+ "path": "/playground/clickup/webhooks/last",
4509
4531
  "readOnly": true
4510
4532
  },
4511
- "revoke": {
4512
- "method": "DELETE",
4533
+ "get-overview": {
4534
+ "method": "GET",
4535
+ "path": "/playground/clickup/overview",
4536
+ "readOnly": true
4537
+ }
4538
+ },
4539
+ "gdrive": {
4540
+ "get-last-change": {
4541
+ "method": "GET",
4542
+ "path": "/playground/gdrive/changes/last",
4543
+ "readOnly": true
4544
+ },
4545
+ "read-file": {
4546
+ "method": "POST",
4513
4547
  "params": [
4514
4548
  {
4515
- "in": "path",
4516
- "name": "id"
4549
+ "in": "body",
4550
+ "name": "fileId"
4517
4551
  }
4518
4552
  ],
4519
- "path": "/realtime/api-keys/:id",
4520
- "readOnly": false
4553
+ "path": "/playground/gdrive/file",
4554
+ "readOnly": true
4555
+ }
4556
+ },
4557
+ "googleads": {
4558
+ "read-customer": {
4559
+ "method": "POST",
4560
+ "path": "/playground/googleads/customer",
4561
+ "readOnly": true
4562
+ }
4563
+ },
4564
+ "lifecycle": {
4565
+ "get-state": {
4566
+ "method": "GET",
4567
+ "path": "/playground/lifecycle/state",
4568
+ "readOnly": true
4569
+ },
4570
+ "list-events": {
4571
+ "method": "GET",
4572
+ "path": "/playground/lifecycle/events",
4573
+ "readOnly": true
4521
4574
  }
4522
4575
  },
4576
+ "webhook": {
4577
+ "get-last": {
4578
+ "method": "GET",
4579
+ "path": "/playground/webhooks/last",
4580
+ "readOnly": true
4581
+ }
4582
+ }
4583
+ },
4584
+ "realtime": {
4523
4585
  "archive": {
4524
4586
  "export": {
4525
4587
  "method": "POST",
@@ -4997,46 +5059,6 @@ var bindings = {
4997
5059
  }
4998
5060
  },
4999
5061
  "tracking": {
5000
- "api-keys": {
5001
- "create": {
5002
- "method": "POST",
5003
- "params": [
5004
- {
5005
- "in": "body",
5006
- "name": "name"
5007
- }
5008
- ],
5009
- "path": "/tracking/api-keys/create",
5010
- "readOnly": false
5011
- },
5012
- "list": {
5013
- "method": "GET",
5014
- "path": "/tracking/api-keys",
5015
- "readOnly": true
5016
- },
5017
- "revoke": {
5018
- "method": "POST",
5019
- "params": [
5020
- {
5021
- "in": "path",
5022
- "name": "keyId"
5023
- }
5024
- ],
5025
- "path": "/tracking/api-keys/:keyId/revoke",
5026
- "readOnly": false
5027
- },
5028
- "rotate": {
5029
- "method": "POST",
5030
- "params": [
5031
- {
5032
- "in": "body",
5033
- "name": "keyId"
5034
- }
5035
- ],
5036
- "path": "/tracking/api-keys/rotate",
5037
- "readOnly": false
5038
- }
5039
- },
5040
5062
  "domains": {
5041
5063
  "create": {
5042
5064
  "method": "POST",
@@ -5489,6 +5511,27 @@ var bindings = {
5489
5511
  "readOnly": true
5490
5512
  }
5491
5513
  },
5514
+ "reports-event": {
5515
+ "volume": {
5516
+ "method": "GET",
5517
+ "params": [
5518
+ {
5519
+ "in": "query",
5520
+ "name": "from"
5521
+ },
5522
+ {
5523
+ "in": "query",
5524
+ "name": "to"
5525
+ },
5526
+ {
5527
+ "in": "query",
5528
+ "name": "domain"
5529
+ }
5530
+ ],
5531
+ "path": "/tracking/reports/event-volume",
5532
+ "readOnly": true
5533
+ }
5534
+ },
5492
5535
  "reports-revenue-by": {
5493
5536
  "source": {
5494
5537
  "method": "GET",
@@ -5735,6 +5778,10 @@ var bindings = {
5735
5778
  "in": "body",
5736
5779
  "name": "retention"
5737
5780
  },
5781
+ {
5782
+ "in": "body",
5783
+ "name": "hosted"
5784
+ },
5738
5785
  {
5739
5786
  "in": "body",
5740
5787
  "name": "mfa"