@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.cjs CHANGED
@@ -523,21 +523,6 @@ var bindings = {
523
523
  }
524
524
  },
525
525
  "knowledge": {
526
- "graph": {
527
- "method": "GET",
528
- "params": [
529
- {
530
- "in": "query",
531
- "name": "limit"
532
- },
533
- {
534
- "in": "query",
535
- "name": "scope"
536
- }
537
- ],
538
- "path": "/brain/knowledge/graph",
539
- "readOnly": true
540
- },
541
526
  "neighborhood": {
542
527
  "method": "GET",
543
528
  "params": [
@@ -624,31 +609,6 @@ var bindings = {
624
609
  "readOnly": true
625
610
  }
626
611
  },
627
- "knowledge-entity": {
628
- "memories": {
629
- "method": "GET",
630
- "params": [
631
- {
632
- "in": "path",
633
- "name": "entity_ref"
634
- },
635
- {
636
- "in": "query",
637
- "name": "limit"
638
- },
639
- {
640
- "in": "query",
641
- "name": "offset"
642
- },
643
- {
644
- "in": "query",
645
- "name": "scope"
646
- }
647
- ],
648
- "path": "/brain/knowledge/entities/:entity_ref/memories",
649
- "readOnly": true
650
- }
651
- },
652
612
  "memory": {
653
613
  "add": {
654
614
  "method": "POST",
@@ -4351,6 +4311,518 @@ var bindings = {
4351
4311
  }
4352
4312
  }
4353
4313
  },
4314
+ "playground": {
4315
+ "analytics": {
4316
+ "overview": {
4317
+ "method": "POST",
4318
+ "params": [
4319
+ {
4320
+ "in": "body",
4321
+ "name": "limit"
4322
+ }
4323
+ ],
4324
+ "path": "/playground/analytics/overview",
4325
+ "readOnly": true
4326
+ }
4327
+ },
4328
+ "billing": {
4329
+ "entitlements": {
4330
+ "method": "POST",
4331
+ "path": "/playground/billing/entitlements",
4332
+ "readOnly": true
4333
+ },
4334
+ "record-usage": {
4335
+ "method": "POST",
4336
+ "params": [
4337
+ {
4338
+ "in": "body",
4339
+ "name": "value"
4340
+ }
4341
+ ],
4342
+ "path": "/playground/billing/usage",
4343
+ "readOnly": false
4344
+ }
4345
+ },
4346
+ "clickup": {
4347
+ "create-task": {
4348
+ "method": "POST",
4349
+ "params": [
4350
+ {
4351
+ "in": "body",
4352
+ "name": "listId"
4353
+ },
4354
+ {
4355
+ "in": "body",
4356
+ "name": "name"
4357
+ }
4358
+ ],
4359
+ "path": "/playground/clickup/tasks",
4360
+ "readOnly": false
4361
+ },
4362
+ "get-last-webhook": {
4363
+ "method": "GET",
4364
+ "path": "/playground/clickup/webhooks/last",
4365
+ "readOnly": true
4366
+ },
4367
+ "get-overview": {
4368
+ "method": "GET",
4369
+ "path": "/playground/clickup/overview",
4370
+ "readOnly": true
4371
+ }
4372
+ },
4373
+ "gdrive": {
4374
+ "get-last-change": {
4375
+ "method": "GET",
4376
+ "path": "/playground/gdrive/changes/last",
4377
+ "readOnly": true
4378
+ },
4379
+ "read-file": {
4380
+ "method": "POST",
4381
+ "params": [
4382
+ {
4383
+ "in": "body",
4384
+ "name": "fileId"
4385
+ }
4386
+ ],
4387
+ "path": "/playground/gdrive/file",
4388
+ "readOnly": true
4389
+ }
4390
+ },
4391
+ "googleads": {
4392
+ "read-customer": {
4393
+ "method": "POST",
4394
+ "path": "/playground/googleads/customer",
4395
+ "readOnly": true
4396
+ }
4397
+ },
4398
+ "lifecycle": {
4399
+ "get-state": {
4400
+ "method": "GET",
4401
+ "path": "/playground/lifecycle/state",
4402
+ "readOnly": true
4403
+ },
4404
+ "list-events": {
4405
+ "method": "GET",
4406
+ "path": "/playground/lifecycle/events",
4407
+ "readOnly": true
4408
+ }
4409
+ },
4410
+ "webhook": {
4411
+ "get-last": {
4412
+ "method": "GET",
4413
+ "path": "/playground/webhooks/last",
4414
+ "readOnly": true
4415
+ }
4416
+ }
4417
+ },
4418
+ "realtime": {
4419
+ "grant": {
4420
+ "create": {
4421
+ "method": "POST",
4422
+ "params": [
4423
+ {
4424
+ "in": "body",
4425
+ "name": "subject"
4426
+ },
4427
+ {
4428
+ "in": "body",
4429
+ "name": "pattern"
4430
+ },
4431
+ {
4432
+ "in": "body",
4433
+ "name": "ops"
4434
+ }
4435
+ ],
4436
+ "path": "/realtime/grants",
4437
+ "readOnly": false
4438
+ },
4439
+ "list": {
4440
+ "method": "GET",
4441
+ "params": [
4442
+ {
4443
+ "in": "query",
4444
+ "name": "subject"
4445
+ }
4446
+ ],
4447
+ "path": "/realtime/grants",
4448
+ "readOnly": true
4449
+ },
4450
+ "revoke": {
4451
+ "method": "DELETE",
4452
+ "params": [
4453
+ {
4454
+ "in": "path",
4455
+ "name": "id"
4456
+ }
4457
+ ],
4458
+ "path": "/realtime/grants/:id",
4459
+ "readOnly": false
4460
+ }
4461
+ },
4462
+ "history": {
4463
+ "get": {
4464
+ "method": "GET",
4465
+ "params": [
4466
+ {
4467
+ "in": "query",
4468
+ "name": "channel"
4469
+ },
4470
+ {
4471
+ "in": "query",
4472
+ "name": "offset"
4473
+ },
4474
+ {
4475
+ "in": "query",
4476
+ "name": "epoch"
4477
+ },
4478
+ {
4479
+ "in": "query",
4480
+ "name": "last_n"
4481
+ },
4482
+ {
4483
+ "in": "query",
4484
+ "name": "last_ms"
4485
+ }
4486
+ ],
4487
+ "path": "/realtime/messages/history",
4488
+ "readOnly": true
4489
+ }
4490
+ },
4491
+ "messages": {
4492
+ "publish": {
4493
+ "method": "POST",
4494
+ "params": [
4495
+ {
4496
+ "in": "body",
4497
+ "name": "channel"
4498
+ },
4499
+ {
4500
+ "in": "body",
4501
+ "name": "data"
4502
+ }
4503
+ ],
4504
+ "path": "/realtime/messages",
4505
+ "readOnly": false
4506
+ }
4507
+ },
4508
+ "namespace": {
4509
+ "create": {
4510
+ "method": "POST",
4511
+ "params": [
4512
+ {
4513
+ "in": "body",
4514
+ "name": "name"
4515
+ },
4516
+ {
4517
+ "in": "body",
4518
+ "name": "visibility"
4519
+ },
4520
+ {
4521
+ "in": "body",
4522
+ "name": "presence"
4523
+ },
4524
+ {
4525
+ "in": "body",
4526
+ "name": "clientEvents"
4527
+ },
4528
+ {
4529
+ "in": "body",
4530
+ "name": "history"
4531
+ },
4532
+ {
4533
+ "in": "body",
4534
+ "name": "historyWindowSeconds"
4535
+ },
4536
+ {
4537
+ "in": "body",
4538
+ "name": "encryptionRequired"
4539
+ },
4540
+ {
4541
+ "in": "body",
4542
+ "name": "identifiedOnly"
4543
+ }
4544
+ ],
4545
+ "path": "/realtime/namespaces",
4546
+ "readOnly": false
4547
+ },
4548
+ "delete": {
4549
+ "method": "DELETE",
4550
+ "params": [
4551
+ {
4552
+ "in": "path",
4553
+ "name": "name"
4554
+ }
4555
+ ],
4556
+ "path": "/realtime/namespaces/:name",
4557
+ "readOnly": false
4558
+ },
4559
+ "get": {
4560
+ "method": "GET",
4561
+ "params": [
4562
+ {
4563
+ "in": "path",
4564
+ "name": "name"
4565
+ }
4566
+ ],
4567
+ "path": "/realtime/namespaces/:name",
4568
+ "readOnly": true
4569
+ },
4570
+ "list": {
4571
+ "method": "GET",
4572
+ "path": "/realtime/namespaces",
4573
+ "readOnly": true
4574
+ },
4575
+ "update": {
4576
+ "method": "PATCH",
4577
+ "params": [
4578
+ {
4579
+ "in": "path",
4580
+ "name": "name"
4581
+ },
4582
+ {
4583
+ "in": "body",
4584
+ "name": "visibility"
4585
+ },
4586
+ {
4587
+ "in": "body",
4588
+ "name": "presence"
4589
+ },
4590
+ {
4591
+ "in": "body",
4592
+ "name": "clientEvents"
4593
+ },
4594
+ {
4595
+ "in": "body",
4596
+ "name": "history"
4597
+ },
4598
+ {
4599
+ "in": "body",
4600
+ "name": "historyWindowSeconds"
4601
+ },
4602
+ {
4603
+ "in": "body",
4604
+ "name": "encryptionRequired"
4605
+ },
4606
+ {
4607
+ "in": "body",
4608
+ "name": "identifiedOnly"
4609
+ }
4610
+ ],
4611
+ "path": "/realtime/namespaces/:name",
4612
+ "readOnly": false
4613
+ }
4614
+ },
4615
+ "presence": {
4616
+ "enter": {
4617
+ "method": "POST",
4618
+ "params": [
4619
+ {
4620
+ "in": "body",
4621
+ "name": "channel"
4622
+ },
4623
+ {
4624
+ "in": "body",
4625
+ "name": "info"
4626
+ },
4627
+ {
4628
+ "in": "body",
4629
+ "name": "ttl_seconds"
4630
+ },
4631
+ {
4632
+ "in": "body",
4633
+ "name": "member_id"
4634
+ }
4635
+ ],
4636
+ "path": "/realtime/presence/enter",
4637
+ "readOnly": false
4638
+ },
4639
+ "get": {
4640
+ "method": "GET",
4641
+ "params": [
4642
+ {
4643
+ "in": "query",
4644
+ "name": "channel"
4645
+ }
4646
+ ],
4647
+ "path": "/realtime/presence",
4648
+ "readOnly": true
4649
+ },
4650
+ "leave": {
4651
+ "method": "POST",
4652
+ "params": [
4653
+ {
4654
+ "in": "body",
4655
+ "name": "channel"
4656
+ },
4657
+ {
4658
+ "in": "body",
4659
+ "name": "member_id"
4660
+ }
4661
+ ],
4662
+ "path": "/realtime/presence/leave",
4663
+ "readOnly": false
4664
+ },
4665
+ "stats": {
4666
+ "method": "GET",
4667
+ "params": [
4668
+ {
4669
+ "in": "query",
4670
+ "name": "channel"
4671
+ }
4672
+ ],
4673
+ "path": "/realtime/presence/stats",
4674
+ "readOnly": true
4675
+ },
4676
+ "update": {
4677
+ "method": "POST",
4678
+ "params": [
4679
+ {
4680
+ "in": "body",
4681
+ "name": "channel"
4682
+ },
4683
+ {
4684
+ "in": "body",
4685
+ "name": "info"
4686
+ },
4687
+ {
4688
+ "in": "body",
4689
+ "name": "ttl_seconds"
4690
+ },
4691
+ {
4692
+ "in": "body",
4693
+ "name": "member_id"
4694
+ }
4695
+ ],
4696
+ "path": "/realtime/presence/update",
4697
+ "readOnly": false
4698
+ }
4699
+ },
4700
+ "status": {
4701
+ "get": {
4702
+ "method": "GET",
4703
+ "path": "/realtime/status",
4704
+ "readOnly": true
4705
+ }
4706
+ },
4707
+ "tokens": {
4708
+ "create": {
4709
+ "method": "POST",
4710
+ "params": [
4711
+ {
4712
+ "in": "body",
4713
+ "name": "channels"
4714
+ }
4715
+ ],
4716
+ "path": "/realtime/tokens",
4717
+ "readOnly": false
4718
+ }
4719
+ },
4720
+ "webhook": {
4721
+ "create": {
4722
+ "method": "POST",
4723
+ "params": [
4724
+ {
4725
+ "in": "body",
4726
+ "name": "url"
4727
+ },
4728
+ {
4729
+ "in": "body",
4730
+ "name": "events"
4731
+ },
4732
+ {
4733
+ "in": "body",
4734
+ "name": "description"
4735
+ }
4736
+ ],
4737
+ "path": "/realtime/webhooks",
4738
+ "readOnly": false
4739
+ },
4740
+ "delete": {
4741
+ "method": "DELETE",
4742
+ "params": [
4743
+ {
4744
+ "in": "path",
4745
+ "name": "webhookId"
4746
+ }
4747
+ ],
4748
+ "path": "/realtime/webhooks/:webhookId",
4749
+ "readOnly": false
4750
+ },
4751
+ "get": {
4752
+ "method": "GET",
4753
+ "params": [
4754
+ {
4755
+ "in": "path",
4756
+ "name": "webhookId"
4757
+ }
4758
+ ],
4759
+ "path": "/realtime/webhooks/:webhookId",
4760
+ "readOnly": true
4761
+ },
4762
+ "list": {
4763
+ "method": "GET",
4764
+ "path": "/realtime/webhooks",
4765
+ "readOnly": true
4766
+ },
4767
+ "update": {
4768
+ "method": "PATCH",
4769
+ "params": [
4770
+ {
4771
+ "in": "body",
4772
+ "name": "url"
4773
+ },
4774
+ {
4775
+ "in": "body",
4776
+ "name": "events"
4777
+ },
4778
+ {
4779
+ "in": "body",
4780
+ "name": "description"
4781
+ },
4782
+ {
4783
+ "in": "body",
4784
+ "name": "active"
4785
+ },
4786
+ {
4787
+ "in": "path",
4788
+ "name": "webhookId"
4789
+ }
4790
+ ],
4791
+ "path": "/realtime/webhooks/:webhookId",
4792
+ "readOnly": false
4793
+ }
4794
+ },
4795
+ "webhook-deliveries": {
4796
+ "list": {
4797
+ "method": "GET",
4798
+ "params": [
4799
+ {
4800
+ "in": "path",
4801
+ "name": "webhookId"
4802
+ },
4803
+ {
4804
+ "in": "query",
4805
+ "name": "limit"
4806
+ }
4807
+ ],
4808
+ "path": "/realtime/webhooks/:webhookId/deliveries",
4809
+ "readOnly": true
4810
+ }
4811
+ },
4812
+ "webhook-secret": {
4813
+ "rotate": {
4814
+ "method": "POST",
4815
+ "params": [
4816
+ {
4817
+ "in": "path",
4818
+ "name": "webhookId"
4819
+ }
4820
+ ],
4821
+ "path": "/realtime/webhooks/:webhookId/secret/rotate",
4822
+ "readOnly": false
4823
+ }
4824
+ }
4825
+ },
4354
4826
  "tracking": {
4355
4827
  "api-keys": {
4356
4828
  "create": {