@lessly/sdk-app 14.3.0 → 15.0.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/README.md +12 -8
  2. package/dist/analytics/index.d.cts +1 -1
  3. package/dist/analytics/index.d.ts +1 -1
  4. package/dist/brain/index.cjs +0 -5
  5. package/dist/brain/index.cjs.map +1 -1
  6. package/dist/brain/index.d.cts +2 -6
  7. package/dist/brain/index.d.ts +2 -6
  8. package/dist/brain/index.js +1 -5
  9. package/dist/brain/index.js.map +1 -1
  10. package/dist/{client.gen-DJUaKWF_.d.cts → client.gen-ClvT4E7P.d.cts} +286 -103
  11. package/dist/{client.gen-DJUaKWF_.d.ts → client.gen-ClvT4E7P.d.ts} +286 -103
  12. package/dist/consent/index.d.cts +1 -1
  13. package/dist/consent/index.d.ts +1 -1
  14. package/dist/deployment/index.cjs +5 -0
  15. package/dist/deployment/index.cjs.map +1 -1
  16. package/dist/deployment/index.d.cts +6 -2
  17. package/dist/deployment/index.d.ts +6 -2
  18. package/dist/deployment/index.js +5 -1
  19. package/dist/deployment/index.js.map +1 -1
  20. package/dist/index.cjs +123 -13
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +1 -1
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.js +123 -13
  25. package/dist/index.js.map +1 -1
  26. package/dist/mail/index.d.cts +2 -2
  27. package/dist/mail/index.d.ts +2 -2
  28. package/dist/organization/index.d.cts +1 -1
  29. package/dist/organization/index.d.ts +1 -1
  30. package/dist/playground/index.cjs +66 -0
  31. package/dist/playground/index.cjs.map +1 -0
  32. package/dist/playground/index.d.cts +52 -0
  33. package/dist/playground/index.d.ts +52 -0
  34. package/dist/playground/index.js +53 -0
  35. package/dist/playground/index.js.map +1 -0
  36. package/dist/realtime/index.d.cts +1 -1
  37. package/dist/realtime/index.d.ts +1 -1
  38. package/dist/tracking/index.d.cts +1 -1
  39. package/dist/tracking/index.d.ts +1 -1
  40. package/dist/waitlist/index.d.cts +1 -1
  41. package/dist/waitlist/index.d.ts +1 -1
  42. package/docs/recipes/sdk-usage.md +1 -1
  43. package/package.json +8 -2
  44. package/src/gen/bindings.gen.ts +123 -13
  45. package/src/gen/brain/index.ts +1 -1
  46. package/src/gen/brain/queryOptions.gen.ts +0 -7
  47. package/src/gen/client.gen.ts +55 -5
  48. package/src/gen/deployment/index.ts +1 -1
  49. package/src/gen/deployment/queryOptions.gen.ts +6 -0
  50. package/src/gen/manifest.gen.ts +1 -1
  51. package/src/gen/playground/index.ts +3 -0
  52. package/src/gen/playground/queryOptions.gen.ts +86 -0
  53. package/src/gen/types.gen.ts +290 -101
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-DJUaKWF_.cjs';
1
+ import { G as GeneratedClient } from './client.gen-ClvT4E7P.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-DJUaKWF_.js';
1
+ import { G as GeneratedClient } from './client.gen-ClvT4E7P.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": {
@@ -2390,6 +2377,14 @@ var bindings = {
2390
2377
  "in": "body",
2391
2378
  "name": "resources"
2392
2379
  },
2380
+ {
2381
+ "in": "body",
2382
+ "name": "scaleToZero"
2383
+ },
2384
+ {
2385
+ "in": "body",
2386
+ "name": "idleMinutes"
2387
+ },
2393
2388
  {
2394
2389
  "in": "path",
2395
2390
  "name": "id"
@@ -2397,6 +2392,17 @@ var bindings = {
2397
2392
  ],
2398
2393
  "path": "/deployment/services/:id",
2399
2394
  "readOnly": false
2395
+ },
2396
+ "wake": {
2397
+ "method": "POST",
2398
+ "params": [
2399
+ {
2400
+ "in": "path",
2401
+ "name": "id"
2402
+ }
2403
+ ],
2404
+ "path": "/deployment/services/:id/wake",
2405
+ "readOnly": false
2400
2406
  }
2401
2407
  },
2402
2408
  "ssh": {
@@ -4362,6 +4368,110 @@ var bindings = {
4362
4368
  }
4363
4369
  }
4364
4370
  },
4371
+ "playground": {
4372
+ "analytics": {
4373
+ "overview": {
4374
+ "method": "POST",
4375
+ "params": [
4376
+ {
4377
+ "in": "body",
4378
+ "name": "limit"
4379
+ }
4380
+ ],
4381
+ "path": "/playground/analytics/overview",
4382
+ "readOnly": true
4383
+ }
4384
+ },
4385
+ "billing": {
4386
+ "entitlements": {
4387
+ "method": "POST",
4388
+ "path": "/playground/billing/entitlements",
4389
+ "readOnly": true
4390
+ },
4391
+ "record-usage": {
4392
+ "method": "POST",
4393
+ "params": [
4394
+ {
4395
+ "in": "body",
4396
+ "name": "value"
4397
+ }
4398
+ ],
4399
+ "path": "/playground/billing/usage",
4400
+ "readOnly": false
4401
+ }
4402
+ },
4403
+ "clickup": {
4404
+ "create-task": {
4405
+ "method": "POST",
4406
+ "params": [
4407
+ {
4408
+ "in": "body",
4409
+ "name": "listId"
4410
+ },
4411
+ {
4412
+ "in": "body",
4413
+ "name": "name"
4414
+ }
4415
+ ],
4416
+ "path": "/playground/clickup/tasks",
4417
+ "readOnly": false
4418
+ },
4419
+ "get-last-webhook": {
4420
+ "method": "GET",
4421
+ "path": "/playground/clickup/webhooks/last",
4422
+ "readOnly": true
4423
+ },
4424
+ "get-overview": {
4425
+ "method": "GET",
4426
+ "path": "/playground/clickup/overview",
4427
+ "readOnly": true
4428
+ }
4429
+ },
4430
+ "gdrive": {
4431
+ "get-last-change": {
4432
+ "method": "GET",
4433
+ "path": "/playground/gdrive/changes/last",
4434
+ "readOnly": true
4435
+ },
4436
+ "read-file": {
4437
+ "method": "POST",
4438
+ "params": [
4439
+ {
4440
+ "in": "body",
4441
+ "name": "fileId"
4442
+ }
4443
+ ],
4444
+ "path": "/playground/gdrive/file",
4445
+ "readOnly": true
4446
+ }
4447
+ },
4448
+ "googleads": {
4449
+ "read-customer": {
4450
+ "method": "POST",
4451
+ "path": "/playground/googleads/customer",
4452
+ "readOnly": true
4453
+ }
4454
+ },
4455
+ "lifecycle": {
4456
+ "get-state": {
4457
+ "method": "GET",
4458
+ "path": "/playground/lifecycle/state",
4459
+ "readOnly": true
4460
+ },
4461
+ "list-events": {
4462
+ "method": "GET",
4463
+ "path": "/playground/lifecycle/events",
4464
+ "readOnly": true
4465
+ }
4466
+ },
4467
+ "webhook": {
4468
+ "get-last": {
4469
+ "method": "GET",
4470
+ "path": "/playground/webhooks/last",
4471
+ "readOnly": true
4472
+ }
4473
+ }
4474
+ },
4365
4475
  "realtime": {
4366
4476
  "apikey": {
4367
4477
  "create": {