@lessly/sdk-app 9.1.0 → 10.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 (51) 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 -10
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -10
  6. package/dist/brain/index.d.ts +2 -10
  7. package/dist/brain/index.js +1 -9
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-LEUVRZRQ.d.cts → client.gen-XqieBmDz.d.cts} +1102 -223
  10. package/dist/{client.gen-LEUVRZRQ.d.ts → client.gen-XqieBmDz.d.ts} +1102 -223
  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 +512 -40
  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 +512 -40
  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 +126 -0
  32. package/dist/realtime/index.cjs.map +1 -0
  33. package/dist/realtime/index.d.cts +100 -0
  34. package/dist/realtime/index.d.ts +100 -0
  35. package/dist/realtime/index.js +101 -0
  36. package/dist/realtime/index.js.map +1 -0
  37. package/dist/tracking/index.d.cts +1 -1
  38. package/dist/tracking/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 +12 -2
  42. package/src/gen/bindings.gen.ts +512 -40
  43. package/src/gen/brain/index.ts +1 -1
  44. package/src/gen/brain/queryOptions.gen.ts +0 -14
  45. package/src/gen/client.gen.ts +146 -8
  46. package/src/gen/manifest.gen.ts +1 -1
  47. package/src/gen/playground/index.ts +3 -0
  48. package/src/gen/playground/queryOptions.gen.ts +86 -0
  49. package/src/gen/realtime/index.ts +3 -0
  50. package/src/gen/realtime/queryOptions.gen.ts +158 -0
  51. package/src/gen/types.gen.ts +994 -106
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-LEUVRZRQ.cjs';
1
+ import { G as GeneratedClient } from './client.gen-XqieBmDz.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-LEUVRZRQ.js';
1
+ import { G as GeneratedClient } from './client.gen-XqieBmDz.js';
2
2
 
3
3
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
4
4
  type ParamIn = 'path' | 'query' | 'body';
package/dist/index.js CHANGED
@@ -521,21 +521,6 @@ var bindings = {
521
521
  }
522
522
  },
523
523
  "knowledge": {
524
- "graph": {
525
- "method": "GET",
526
- "params": [
527
- {
528
- "in": "query",
529
- "name": "limit"
530
- },
531
- {
532
- "in": "query",
533
- "name": "scope"
534
- }
535
- ],
536
- "path": "/brain/knowledge/graph",
537
- "readOnly": true
538
- },
539
524
  "neighborhood": {
540
525
  "method": "GET",
541
526
  "params": [
@@ -622,31 +607,6 @@ var bindings = {
622
607
  "readOnly": true
623
608
  }
624
609
  },
625
- "knowledge-entity": {
626
- "memories": {
627
- "method": "GET",
628
- "params": [
629
- {
630
- "in": "path",
631
- "name": "entity_ref"
632
- },
633
- {
634
- "in": "query",
635
- "name": "limit"
636
- },
637
- {
638
- "in": "query",
639
- "name": "offset"
640
- },
641
- {
642
- "in": "query",
643
- "name": "scope"
644
- }
645
- ],
646
- "path": "/brain/knowledge/entities/:entity_ref/memories",
647
- "readOnly": true
648
- }
649
- },
650
610
  "memory": {
651
611
  "add": {
652
612
  "method": "POST",
@@ -4349,6 +4309,518 @@ var bindings = {
4349
4309
  }
4350
4310
  }
4351
4311
  },
4312
+ "playground": {
4313
+ "analytics": {
4314
+ "overview": {
4315
+ "method": "POST",
4316
+ "params": [
4317
+ {
4318
+ "in": "body",
4319
+ "name": "limit"
4320
+ }
4321
+ ],
4322
+ "path": "/playground/analytics/overview",
4323
+ "readOnly": true
4324
+ }
4325
+ },
4326
+ "billing": {
4327
+ "entitlements": {
4328
+ "method": "POST",
4329
+ "path": "/playground/billing/entitlements",
4330
+ "readOnly": true
4331
+ },
4332
+ "record-usage": {
4333
+ "method": "POST",
4334
+ "params": [
4335
+ {
4336
+ "in": "body",
4337
+ "name": "value"
4338
+ }
4339
+ ],
4340
+ "path": "/playground/billing/usage",
4341
+ "readOnly": false
4342
+ }
4343
+ },
4344
+ "clickup": {
4345
+ "create-task": {
4346
+ "method": "POST",
4347
+ "params": [
4348
+ {
4349
+ "in": "body",
4350
+ "name": "listId"
4351
+ },
4352
+ {
4353
+ "in": "body",
4354
+ "name": "name"
4355
+ }
4356
+ ],
4357
+ "path": "/playground/clickup/tasks",
4358
+ "readOnly": false
4359
+ },
4360
+ "get-last-webhook": {
4361
+ "method": "GET",
4362
+ "path": "/playground/clickup/webhooks/last",
4363
+ "readOnly": true
4364
+ },
4365
+ "get-overview": {
4366
+ "method": "GET",
4367
+ "path": "/playground/clickup/overview",
4368
+ "readOnly": true
4369
+ }
4370
+ },
4371
+ "gdrive": {
4372
+ "get-last-change": {
4373
+ "method": "GET",
4374
+ "path": "/playground/gdrive/changes/last",
4375
+ "readOnly": true
4376
+ },
4377
+ "read-file": {
4378
+ "method": "POST",
4379
+ "params": [
4380
+ {
4381
+ "in": "body",
4382
+ "name": "fileId"
4383
+ }
4384
+ ],
4385
+ "path": "/playground/gdrive/file",
4386
+ "readOnly": true
4387
+ }
4388
+ },
4389
+ "googleads": {
4390
+ "read-customer": {
4391
+ "method": "POST",
4392
+ "path": "/playground/googleads/customer",
4393
+ "readOnly": true
4394
+ }
4395
+ },
4396
+ "lifecycle": {
4397
+ "get-state": {
4398
+ "method": "GET",
4399
+ "path": "/playground/lifecycle/state",
4400
+ "readOnly": true
4401
+ },
4402
+ "list-events": {
4403
+ "method": "GET",
4404
+ "path": "/playground/lifecycle/events",
4405
+ "readOnly": true
4406
+ }
4407
+ },
4408
+ "webhook": {
4409
+ "get-last": {
4410
+ "method": "GET",
4411
+ "path": "/playground/webhooks/last",
4412
+ "readOnly": true
4413
+ }
4414
+ }
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
+ "presence": {
4614
+ "enter": {
4615
+ "method": "POST",
4616
+ "params": [
4617
+ {
4618
+ "in": "body",
4619
+ "name": "channel"
4620
+ },
4621
+ {
4622
+ "in": "body",
4623
+ "name": "info"
4624
+ },
4625
+ {
4626
+ "in": "body",
4627
+ "name": "ttl_seconds"
4628
+ },
4629
+ {
4630
+ "in": "body",
4631
+ "name": "member_id"
4632
+ }
4633
+ ],
4634
+ "path": "/realtime/presence/enter",
4635
+ "readOnly": false
4636
+ },
4637
+ "get": {
4638
+ "method": "GET",
4639
+ "params": [
4640
+ {
4641
+ "in": "query",
4642
+ "name": "channel"
4643
+ }
4644
+ ],
4645
+ "path": "/realtime/presence",
4646
+ "readOnly": true
4647
+ },
4648
+ "leave": {
4649
+ "method": "POST",
4650
+ "params": [
4651
+ {
4652
+ "in": "body",
4653
+ "name": "channel"
4654
+ },
4655
+ {
4656
+ "in": "body",
4657
+ "name": "member_id"
4658
+ }
4659
+ ],
4660
+ "path": "/realtime/presence/leave",
4661
+ "readOnly": false
4662
+ },
4663
+ "stats": {
4664
+ "method": "GET",
4665
+ "params": [
4666
+ {
4667
+ "in": "query",
4668
+ "name": "channel"
4669
+ }
4670
+ ],
4671
+ "path": "/realtime/presence/stats",
4672
+ "readOnly": true
4673
+ },
4674
+ "update": {
4675
+ "method": "POST",
4676
+ "params": [
4677
+ {
4678
+ "in": "body",
4679
+ "name": "channel"
4680
+ },
4681
+ {
4682
+ "in": "body",
4683
+ "name": "info"
4684
+ },
4685
+ {
4686
+ "in": "body",
4687
+ "name": "ttl_seconds"
4688
+ },
4689
+ {
4690
+ "in": "body",
4691
+ "name": "member_id"
4692
+ }
4693
+ ],
4694
+ "path": "/realtime/presence/update",
4695
+ "readOnly": false
4696
+ }
4697
+ },
4698
+ "status": {
4699
+ "get": {
4700
+ "method": "GET",
4701
+ "path": "/realtime/status",
4702
+ "readOnly": true
4703
+ }
4704
+ },
4705
+ "tokens": {
4706
+ "create": {
4707
+ "method": "POST",
4708
+ "params": [
4709
+ {
4710
+ "in": "body",
4711
+ "name": "channels"
4712
+ }
4713
+ ],
4714
+ "path": "/realtime/tokens",
4715
+ "readOnly": false
4716
+ }
4717
+ },
4718
+ "webhook": {
4719
+ "create": {
4720
+ "method": "POST",
4721
+ "params": [
4722
+ {
4723
+ "in": "body",
4724
+ "name": "url"
4725
+ },
4726
+ {
4727
+ "in": "body",
4728
+ "name": "events"
4729
+ },
4730
+ {
4731
+ "in": "body",
4732
+ "name": "description"
4733
+ }
4734
+ ],
4735
+ "path": "/realtime/webhooks",
4736
+ "readOnly": false
4737
+ },
4738
+ "delete": {
4739
+ "method": "DELETE",
4740
+ "params": [
4741
+ {
4742
+ "in": "path",
4743
+ "name": "webhookId"
4744
+ }
4745
+ ],
4746
+ "path": "/realtime/webhooks/:webhookId",
4747
+ "readOnly": false
4748
+ },
4749
+ "get": {
4750
+ "method": "GET",
4751
+ "params": [
4752
+ {
4753
+ "in": "path",
4754
+ "name": "webhookId"
4755
+ }
4756
+ ],
4757
+ "path": "/realtime/webhooks/:webhookId",
4758
+ "readOnly": true
4759
+ },
4760
+ "list": {
4761
+ "method": "GET",
4762
+ "path": "/realtime/webhooks",
4763
+ "readOnly": true
4764
+ },
4765
+ "update": {
4766
+ "method": "PATCH",
4767
+ "params": [
4768
+ {
4769
+ "in": "body",
4770
+ "name": "url"
4771
+ },
4772
+ {
4773
+ "in": "body",
4774
+ "name": "events"
4775
+ },
4776
+ {
4777
+ "in": "body",
4778
+ "name": "description"
4779
+ },
4780
+ {
4781
+ "in": "body",
4782
+ "name": "active"
4783
+ },
4784
+ {
4785
+ "in": "path",
4786
+ "name": "webhookId"
4787
+ }
4788
+ ],
4789
+ "path": "/realtime/webhooks/:webhookId",
4790
+ "readOnly": false
4791
+ }
4792
+ },
4793
+ "webhook-deliveries": {
4794
+ "list": {
4795
+ "method": "GET",
4796
+ "params": [
4797
+ {
4798
+ "in": "path",
4799
+ "name": "webhookId"
4800
+ },
4801
+ {
4802
+ "in": "query",
4803
+ "name": "limit"
4804
+ }
4805
+ ],
4806
+ "path": "/realtime/webhooks/:webhookId/deliveries",
4807
+ "readOnly": true
4808
+ }
4809
+ },
4810
+ "webhook-secret": {
4811
+ "rotate": {
4812
+ "method": "POST",
4813
+ "params": [
4814
+ {
4815
+ "in": "path",
4816
+ "name": "webhookId"
4817
+ }
4818
+ ],
4819
+ "path": "/realtime/webhooks/:webhookId/secret/rotate",
4820
+ "readOnly": false
4821
+ }
4822
+ }
4823
+ },
4352
4824
  "tracking": {
4353
4825
  "api-keys": {
4354
4826
  "create": {