@lessly/sdk-app 35.0.0 → 36.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 (63) 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 +5 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +6 -2
  6. package/dist/brain/index.d.ts +6 -2
  7. package/dist/brain/index.js +5 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-CvgJUdcU.d.cts → client.gen-BSiYBjET.d.cts} +255 -1274
  10. package/dist/{client.gen-CvgJUdcU.d.ts → client.gen-BSiYBjET.d.ts} +255 -1274
  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 +51 -410
  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 +51 -410
  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.cjs +18 -33
  24. package/dist/organization/index.cjs.map +1 -1
  25. package/dist/organization/index.d.cts +15 -27
  26. package/dist/organization/index.d.ts +15 -27
  27. package/dist/organization/index.js +15 -27
  28. package/dist/organization/index.js.map +1 -1
  29. package/dist/realtime/index.d.cts +1 -1
  30. package/dist/realtime/index.d.ts +1 -1
  31. package/dist/support/index.d.cts +1 -1
  32. package/dist/support/index.d.ts +1 -1
  33. package/dist/tracking/index.d.cts +1 -1
  34. package/dist/tracking/index.d.ts +1 -1
  35. package/dist/users/index.d.cts +1 -1
  36. package/dist/users/index.d.ts +1 -1
  37. package/dist/waitlist/index.d.cts +1 -1
  38. package/dist/waitlist/index.d.ts +1 -1
  39. package/package.json +2 -12
  40. package/src/gen/bindings.gen.ts +51 -410
  41. package/src/gen/brain/index.ts +1 -1
  42. package/src/gen/brain/queryOptions.gen.ts +7 -0
  43. package/src/gen/client.gen.ts +17 -126
  44. package/src/gen/manifest.gen.ts +1 -1
  45. package/src/gen/organization/index.ts +1 -1
  46. package/src/gen/organization/queryOptions.gen.ts +21 -41
  47. package/src/gen/types.gen.ts +246 -1273
  48. package/dist/observe/index.cjs +0 -71
  49. package/dist/observe/index.cjs.map +0 -1
  50. package/dist/observe/index.d.cts +0 -56
  51. package/dist/observe/index.d.ts +0 -56
  52. package/dist/observe/index.js +0 -57
  53. package/dist/observe/index.js.map +0 -1
  54. package/dist/playground/index.cjs +0 -66
  55. package/dist/playground/index.cjs.map +0 -1
  56. package/dist/playground/index.d.cts +0 -52
  57. package/dist/playground/index.d.ts +0 -52
  58. package/dist/playground/index.js +0 -53
  59. package/dist/playground/index.js.map +0 -1
  60. package/src/gen/observe/index.ts +0 -3
  61. package/src/gen/observe/queryOptions.gen.ts +0 -89
  62. package/src/gen/playground/index.ts +0 -3
  63. package/src/gen/playground/queryOptions.gen.ts +0 -86
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient } from './client.gen-CvgJUdcU.cjs';
1
+ import { G as GeneratedClient } from './client.gen-BSiYBjET.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-CvgJUdcU.js';
1
+ import { G as GeneratedClient } from './client.gen-BSiYBjET.js';
2
2
 
3
3
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
4
4
  type ParamIn = 'path' | 'query' | 'body';
package/dist/index.js CHANGED
@@ -821,6 +821,19 @@ var bindings = {
821
821
  "path": "/brain/restores/:restoreId",
822
822
  "readOnly": true
823
823
  }
824
+ },
825
+ "usage": {
826
+ "report": {
827
+ "method": "GET",
828
+ "params": [
829
+ {
830
+ "in": "query",
831
+ "name": "days"
832
+ }
833
+ ],
834
+ "path": "/brain/usage/report",
835
+ "readOnly": true
836
+ }
824
837
  }
825
838
  },
826
839
  "consent": {
@@ -3608,227 +3621,6 @@ var bindings = {
3608
3621
  }
3609
3622
  }
3610
3623
  },
3611
- "observe": {
3612
- "artifacts": {
3613
- "delete": {
3614
- "method": "DELETE",
3615
- "params": [
3616
- {
3617
- "in": "path",
3618
- "name": "id"
3619
- }
3620
- ],
3621
- "path": "/observe/artifacts/:id",
3622
- "readOnly": false
3623
- },
3624
- "list": {
3625
- "method": "GET",
3626
- "params": [
3627
- {
3628
- "in": "query",
3629
- "name": "debugId"
3630
- },
3631
- {
3632
- "in": "query",
3633
- "name": "limit"
3634
- }
3635
- ],
3636
- "path": "/observe/artifacts",
3637
- "readOnly": true
3638
- },
3639
- "resolve": {
3640
- "method": "GET",
3641
- "params": [
3642
- {
3643
- "in": "path",
3644
- "name": "issueId"
3645
- }
3646
- ],
3647
- "path": "/observe/artifacts/:issueId/resolve",
3648
- "readOnly": true
3649
- }
3650
- },
3651
- "issues": {
3652
- "archive": {
3653
- "method": "POST",
3654
- "params": [
3655
- {
3656
- "in": "path",
3657
- "name": "id"
3658
- }
3659
- ],
3660
- "path": "/observe/issues/:id/archive",
3661
- "readOnly": false
3662
- },
3663
- "assign": {
3664
- "method": "POST",
3665
- "params": [
3666
- {
3667
- "in": "path",
3668
- "name": "id"
3669
- },
3670
- {
3671
- "in": "body",
3672
- "name": "assignee"
3673
- }
3674
- ],
3675
- "path": "/observe/issues/:id/assign",
3676
- "readOnly": false
3677
- },
3678
- "get": {
3679
- "method": "GET",
3680
- "params": [
3681
- {
3682
- "in": "path",
3683
- "name": "id"
3684
- }
3685
- ],
3686
- "path": "/observe/issues/:id",
3687
- "readOnly": true
3688
- },
3689
- "list": {
3690
- "method": "GET",
3691
- "params": [
3692
- {
3693
- "in": "query",
3694
- "name": "status"
3695
- },
3696
- {
3697
- "in": "query",
3698
- "name": "assignee"
3699
- },
3700
- {
3701
- "in": "query",
3702
- "name": "limit"
3703
- }
3704
- ],
3705
- "path": "/observe/issues",
3706
- "readOnly": true
3707
- },
3708
- "resolve": {
3709
- "method": "POST",
3710
- "params": [
3711
- {
3712
- "in": "path",
3713
- "name": "id"
3714
- }
3715
- ],
3716
- "path": "/observe/issues/:id/resolve",
3717
- "readOnly": false
3718
- }
3719
- },
3720
- "keys": {
3721
- "create": {
3722
- "method": "POST",
3723
- "params": [
3724
- {
3725
- "in": "body",
3726
- "name": "environment"
3727
- },
3728
- {
3729
- "in": "body",
3730
- "name": "name"
3731
- },
3732
- {
3733
- "in": "body",
3734
- "name": "kind"
3735
- }
3736
- ],
3737
- "path": "/observe/keys",
3738
- "readOnly": false
3739
- },
3740
- "list": {
3741
- "method": "GET",
3742
- "params": [
3743
- {
3744
- "in": "query",
3745
- "name": "environment"
3746
- }
3747
- ],
3748
- "path": "/observe/keys",
3749
- "readOnly": true
3750
- },
3751
- "revoke": {
3752
- "method": "POST",
3753
- "params": [
3754
- {
3755
- "in": "path",
3756
- "name": "id"
3757
- }
3758
- ],
3759
- "path": "/observe/keys/:id/revoke",
3760
- "readOnly": false
3761
- }
3762
- },
3763
- "logs": {
3764
- "search": {
3765
- "method": "GET",
3766
- "params": [
3767
- {
3768
- "in": "query",
3769
- "name": "environment"
3770
- },
3771
- {
3772
- "in": "query",
3773
- "name": "service"
3774
- },
3775
- {
3776
- "in": "query",
3777
- "name": "severityIn"
3778
- },
3779
- {
3780
- "in": "query",
3781
- "name": "search"
3782
- },
3783
- {
3784
- "in": "query",
3785
- "name": "traceId"
3786
- },
3787
- {
3788
- "in": "query",
3789
- "name": "from"
3790
- },
3791
- {
3792
- "in": "query",
3793
- "name": "to"
3794
- },
3795
- {
3796
- "in": "query",
3797
- "name": "limit"
3798
- },
3799
- {
3800
- "in": "query",
3801
- "name": "cursor"
3802
- }
3803
- ],
3804
- "path": "/observe/logs/search",
3805
- "readOnly": true
3806
- },
3807
- "tail": {
3808
- "method": "GET",
3809
- "params": [
3810
- {
3811
- "in": "query",
3812
- "name": "environment"
3813
- },
3814
- {
3815
- "in": "query",
3816
- "name": "service"
3817
- },
3818
- {
3819
- "in": "query",
3820
- "name": "severityIn"
3821
- },
3822
- {
3823
- "in": "query",
3824
- "name": "cursor"
3825
- }
3826
- ],
3827
- "path": "/observe/logs/tail",
3828
- "readOnly": true
3829
- }
3830
- }
3831
- },
3832
3624
  "organization": {
3833
3625
  "$root": {
3834
3626
  "create": {
@@ -4482,6 +4274,17 @@ var bindings = {
4482
4274
  }
4483
4275
  },
4484
4276
  "product": {
4277
+ "accept-invitation": {
4278
+ "method": "POST",
4279
+ "params": [
4280
+ {
4281
+ "in": "path",
4282
+ "name": "token"
4283
+ }
4284
+ ],
4285
+ "path": "/governance/api/v1/invitations/:token/accept",
4286
+ "readOnly": false
4287
+ },
4485
4288
  "create": {
4486
4289
  "method": "POST",
4487
4290
  "params": [
@@ -4501,6 +4304,25 @@ var bindings = {
4501
4304
  "path": "/governance/api/v1/products",
4502
4305
  "readOnly": false
4503
4306
  },
4307
+ "invite": {
4308
+ "method": "POST",
4309
+ "params": [
4310
+ {
4311
+ "in": "path",
4312
+ "name": "productId"
4313
+ },
4314
+ {
4315
+ "in": "body",
4316
+ "name": "email"
4317
+ },
4318
+ {
4319
+ "in": "body",
4320
+ "name": "role"
4321
+ }
4322
+ ],
4323
+ "path": "/governance/api/v1/products/:productId/invitations",
4324
+ "readOnly": false
4325
+ },
4504
4326
  "list": {
4505
4327
  "method": "GET",
4506
4328
  "params": [
@@ -4512,7 +4334,7 @@ var bindings = {
4512
4334
  "path": "/governance/api/v1/products",
4513
4335
  "readOnly": true
4514
4336
  },
4515
- "list-access": {
4337
+ "list-invitations": {
4516
4338
  "method": "GET",
4517
4339
  "params": [
4518
4340
  {
@@ -4520,7 +4342,7 @@ var bindings = {
4520
4342
  "name": "productId"
4521
4343
  }
4522
4344
  ],
4523
- "path": "/governance/api/v1/products/:productId/access",
4345
+ "path": "/governance/api/v1/products/:productId/invitations",
4524
4346
  "readOnly": true
4525
4347
  },
4526
4348
  "list-members": {
@@ -4545,19 +4367,19 @@ var bindings = {
4545
4367
  "path": "/governance/api/v1/products/:productId/roles",
4546
4368
  "readOnly": true
4547
4369
  },
4548
- "revoke-access": {
4549
- "method": "DELETE",
4370
+ "revoke-invitation": {
4371
+ "method": "POST",
4550
4372
  "params": [
4551
4373
  {
4552
- "in": "path",
4374
+ "in": "body",
4553
4375
  "name": "productId"
4554
4376
  },
4555
4377
  {
4556
- "in": "path",
4557
- "name": "userId"
4378
+ "in": "body",
4379
+ "name": "invitationId"
4558
4380
  }
4559
4381
  ],
4560
- "path": "/governance/api/v1/products/:productId/access/:userId",
4382
+ "path": "/governance/api/v1/products/revoke-invitation",
4561
4383
  "readOnly": false
4562
4384
  },
4563
4385
  "select": {
@@ -4571,29 +4393,6 @@ var bindings = {
4571
4393
  "path": "/governance/api/v1/products/select",
4572
4394
  "readOnly": false
4573
4395
  },
4574
- "set-access": {
4575
- "method": "PUT",
4576
- "params": [
4577
- {
4578
- "in": "path",
4579
- "name": "productId"
4580
- },
4581
- {
4582
- "in": "path",
4583
- "name": "userId"
4584
- },
4585
- {
4586
- "in": "body",
4587
- "name": "role"
4588
- },
4589
- {
4590
- "in": "body",
4591
- "name": "roleId"
4592
- }
4593
- ],
4594
- "path": "/governance/api/v1/products/:productId/access/:userId",
4595
- "readOnly": false
4596
- },
4597
4396
  "update": {
4598
4397
  "method": "PATCH",
4599
4398
  "params": [
@@ -4604,10 +4403,6 @@ var bindings = {
4604
4403
  {
4605
4404
  "in": "body",
4606
4405
  "name": "name"
4607
- },
4608
- {
4609
- "in": "body",
4610
- "name": "description"
4611
4406
  }
4612
4407
  ],
4613
4408
  "path": "/governance/api/v1/products/:productId",
@@ -4798,160 +4593,6 @@ var bindings = {
4798
4593
  "path": "/governance/api/v1/organizations/:organizationId/security/mfa/enable",
4799
4594
  "readOnly": false
4800
4595
  }
4801
- },
4802
- "support-thread": {
4803
- "create": {
4804
- "method": "POST",
4805
- "params": [
4806
- {
4807
- "in": "body",
4808
- "name": "title"
4809
- },
4810
- {
4811
- "in": "body",
4812
- "name": "body"
4813
- }
4814
- ],
4815
- "path": "/governance/api/v1/support/threads",
4816
- "readOnly": false
4817
- },
4818
- "get": {
4819
- "method": "GET",
4820
- "params": [
4821
- {
4822
- "in": "path",
4823
- "name": "id"
4824
- }
4825
- ],
4826
- "path": "/governance/api/v1/support/threads/:id",
4827
- "readOnly": true
4828
- },
4829
- "reply": {
4830
- "method": "POST",
4831
- "params": [
4832
- {
4833
- "in": "path",
4834
- "name": "id"
4835
- },
4836
- {
4837
- "in": "body",
4838
- "name": "body"
4839
- }
4840
- ],
4841
- "path": "/governance/api/v1/support/threads/:id/messages",
4842
- "readOnly": false
4843
- }
4844
- },
4845
- "support-threads": {
4846
- "list": {
4847
- "method": "GET",
4848
- "path": "/governance/api/v1/support/threads",
4849
- "readOnly": true
4850
- }
4851
- }
4852
- },
4853
- "playground": {
4854
- "analytics": {
4855
- "overview": {
4856
- "method": "POST",
4857
- "params": [
4858
- {
4859
- "in": "body",
4860
- "name": "limit"
4861
- }
4862
- ],
4863
- "path": "/playground/analytics/overview",
4864
- "readOnly": true
4865
- }
4866
- },
4867
- "billing": {
4868
- "entitlements": {
4869
- "method": "POST",
4870
- "path": "/playground/billing/entitlements",
4871
- "readOnly": true
4872
- },
4873
- "record-usage": {
4874
- "method": "POST",
4875
- "params": [
4876
- {
4877
- "in": "body",
4878
- "name": "value"
4879
- }
4880
- ],
4881
- "path": "/playground/billing/usage",
4882
- "readOnly": false
4883
- }
4884
- },
4885
- "clickup": {
4886
- "create-task": {
4887
- "method": "POST",
4888
- "params": [
4889
- {
4890
- "in": "body",
4891
- "name": "listId"
4892
- },
4893
- {
4894
- "in": "body",
4895
- "name": "name"
4896
- }
4897
- ],
4898
- "path": "/playground/clickup/tasks",
4899
- "readOnly": false
4900
- },
4901
- "get-last-webhook": {
4902
- "method": "GET",
4903
- "path": "/playground/clickup/webhooks/last",
4904
- "readOnly": true
4905
- },
4906
- "get-overview": {
4907
- "method": "GET",
4908
- "path": "/playground/clickup/overview",
4909
- "readOnly": true
4910
- }
4911
- },
4912
- "gdrive": {
4913
- "get-last-change": {
4914
- "method": "GET",
4915
- "path": "/playground/gdrive/changes/last",
4916
- "readOnly": true
4917
- },
4918
- "read-file": {
4919
- "method": "POST",
4920
- "params": [
4921
- {
4922
- "in": "body",
4923
- "name": "fileId"
4924
- }
4925
- ],
4926
- "path": "/playground/gdrive/file",
4927
- "readOnly": true
4928
- }
4929
- },
4930
- "googleads": {
4931
- "read-customer": {
4932
- "method": "POST",
4933
- "path": "/playground/googleads/customer",
4934
- "readOnly": true
4935
- }
4936
- },
4937
- "lifecycle": {
4938
- "get-state": {
4939
- "method": "GET",
4940
- "path": "/playground/lifecycle/state",
4941
- "readOnly": true
4942
- },
4943
- "list-events": {
4944
- "method": "GET",
4945
- "path": "/playground/lifecycle/events",
4946
- "readOnly": true
4947
- }
4948
- },
4949
- "webhook": {
4950
- "get-last": {
4951
- "method": "GET",
4952
- "path": "/playground/webhooks/last",
4953
- "readOnly": true
4954
- }
4955
4596
  }
4956
4597
  },
4957
4598
  "realtime": {