@lessly/sdk-app 35.1.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-B_GMJlI1.d.cts → client.gen-BSiYBjET.d.cts} +255 -1651
  10. package/dist/{client.gen-B_GMJlI1.d.ts → client.gen-BSiYBjET.d.ts} +255 -1651
  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 -541
  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 -541
  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 -541
  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 -159
  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 -1654
  48. package/dist/observe/index.cjs +0 -116
  49. package/dist/observe/index.cjs.map +0 -1
  50. package/dist/observe/index.d.cts +0 -92
  51. package/dist/observe/index.d.ts +0 -92
  52. package/dist/observe/index.js +0 -93
  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 -147
  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-B_GMJlI1.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-B_GMJlI1.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,358 +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
- "facets": {
3765
- "method": "GET",
3766
- "params": [
3767
- {
3768
- "in": "query",
3769
- "name": "window"
3770
- }
3771
- ],
3772
- "path": "/observe/logs/facets",
3773
- "readOnly": true
3774
- },
3775
- "search": {
3776
- "method": "GET",
3777
- "params": [
3778
- {
3779
- "in": "query",
3780
- "name": "environment"
3781
- },
3782
- {
3783
- "in": "query",
3784
- "name": "service"
3785
- },
3786
- {
3787
- "in": "query",
3788
- "name": "severityIn"
3789
- },
3790
- {
3791
- "in": "query",
3792
- "name": "search"
3793
- },
3794
- {
3795
- "in": "query",
3796
- "name": "traceId"
3797
- },
3798
- {
3799
- "in": "query",
3800
- "name": "q"
3801
- },
3802
- {
3803
- "in": "query",
3804
- "name": "from"
3805
- },
3806
- {
3807
- "in": "query",
3808
- "name": "to"
3809
- },
3810
- {
3811
- "in": "query",
3812
- "name": "limit"
3813
- },
3814
- {
3815
- "in": "query",
3816
- "name": "cursor"
3817
- }
3818
- ],
3819
- "path": "/observe/logs/search",
3820
- "readOnly": true
3821
- },
3822
- "tail": {
3823
- "method": "GET",
3824
- "params": [
3825
- {
3826
- "in": "query",
3827
- "name": "environment"
3828
- },
3829
- {
3830
- "in": "query",
3831
- "name": "service"
3832
- },
3833
- {
3834
- "in": "query",
3835
- "name": "severityIn"
3836
- },
3837
- {
3838
- "in": "query",
3839
- "name": "cursor"
3840
- }
3841
- ],
3842
- "path": "/observe/logs/tail",
3843
- "readOnly": true
3844
- }
3845
- },
3846
- "webhooks": {
3847
- "create": {
3848
- "method": "POST",
3849
- "params": [
3850
- {
3851
- "in": "body",
3852
- "name": "url"
3853
- },
3854
- {
3855
- "in": "body",
3856
- "name": "description"
3857
- }
3858
- ],
3859
- "path": "/observe/webhooks",
3860
- "readOnly": false
3861
- },
3862
- "delete": {
3863
- "method": "DELETE",
3864
- "params": [
3865
- {
3866
- "in": "path",
3867
- "name": "id"
3868
- }
3869
- ],
3870
- "path": "/observe/webhooks/:id",
3871
- "readOnly": false
3872
- },
3873
- "get": {
3874
- "method": "GET",
3875
- "params": [
3876
- {
3877
- "in": "path",
3878
- "name": "id"
3879
- }
3880
- ],
3881
- "path": "/observe/webhooks/:id",
3882
- "readOnly": true
3883
- },
3884
- "list": {
3885
- "method": "GET",
3886
- "path": "/observe/webhooks",
3887
- "readOnly": true
3888
- },
3889
- "redeliver": {
3890
- "method": "POST",
3891
- "params": [
3892
- {
3893
- "in": "path",
3894
- "name": "id"
3895
- }
3896
- ],
3897
- "path": "/observe/webhooks/deliveries/:id/redeliver",
3898
- "readOnly": false
3899
- },
3900
- "update": {
3901
- "method": "PATCH",
3902
- "params": [
3903
- {
3904
- "in": "path",
3905
- "name": "id"
3906
- },
3907
- {
3908
- "in": "body",
3909
- "name": "url"
3910
- },
3911
- {
3912
- "in": "body",
3913
- "name": "active"
3914
- },
3915
- {
3916
- "in": "body",
3917
- "name": "description"
3918
- }
3919
- ],
3920
- "path": "/observe/webhooks/:id",
3921
- "readOnly": false
3922
- }
3923
- },
3924
- "webhooks-deliveries": {
3925
- "list": {
3926
- "method": "GET",
3927
- "params": [
3928
- {
3929
- "in": "query",
3930
- "name": "webhookId"
3931
- },
3932
- {
3933
- "in": "query",
3934
- "name": "status"
3935
- },
3936
- {
3937
- "in": "query",
3938
- "name": "limit"
3939
- },
3940
- {
3941
- "in": "query",
3942
- "name": "offset"
3943
- }
3944
- ],
3945
- "path": "/observe/webhooks/deliveries",
3946
- "readOnly": true
3947
- }
3948
- },
3949
- "webhooks-rotate": {
3950
- "secret": {
3951
- "method": "POST",
3952
- "params": [
3953
- {
3954
- "in": "path",
3955
- "name": "id"
3956
- }
3957
- ],
3958
- "path": "/observe/webhooks/:id/rotate-secret",
3959
- "readOnly": false
3960
- }
3961
- }
3962
- },
3963
3624
  "organization": {
3964
3625
  "$root": {
3965
3626
  "create": {
@@ -4613,6 +4274,17 @@ var bindings = {
4613
4274
  }
4614
4275
  },
4615
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
+ },
4616
4288
  "create": {
4617
4289
  "method": "POST",
4618
4290
  "params": [
@@ -4632,6 +4304,25 @@ var bindings = {
4632
4304
  "path": "/governance/api/v1/products",
4633
4305
  "readOnly": false
4634
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
+ },
4635
4326
  "list": {
4636
4327
  "method": "GET",
4637
4328
  "params": [
@@ -4643,7 +4334,7 @@ var bindings = {
4643
4334
  "path": "/governance/api/v1/products",
4644
4335
  "readOnly": true
4645
4336
  },
4646
- "list-access": {
4337
+ "list-invitations": {
4647
4338
  "method": "GET",
4648
4339
  "params": [
4649
4340
  {
@@ -4651,7 +4342,7 @@ var bindings = {
4651
4342
  "name": "productId"
4652
4343
  }
4653
4344
  ],
4654
- "path": "/governance/api/v1/products/:productId/access",
4345
+ "path": "/governance/api/v1/products/:productId/invitations",
4655
4346
  "readOnly": true
4656
4347
  },
4657
4348
  "list-members": {
@@ -4676,19 +4367,19 @@ var bindings = {
4676
4367
  "path": "/governance/api/v1/products/:productId/roles",
4677
4368
  "readOnly": true
4678
4369
  },
4679
- "revoke-access": {
4680
- "method": "DELETE",
4370
+ "revoke-invitation": {
4371
+ "method": "POST",
4681
4372
  "params": [
4682
4373
  {
4683
- "in": "path",
4374
+ "in": "body",
4684
4375
  "name": "productId"
4685
4376
  },
4686
4377
  {
4687
- "in": "path",
4688
- "name": "userId"
4378
+ "in": "body",
4379
+ "name": "invitationId"
4689
4380
  }
4690
4381
  ],
4691
- "path": "/governance/api/v1/products/:productId/access/:userId",
4382
+ "path": "/governance/api/v1/products/revoke-invitation",
4692
4383
  "readOnly": false
4693
4384
  },
4694
4385
  "select": {
@@ -4702,29 +4393,6 @@ var bindings = {
4702
4393
  "path": "/governance/api/v1/products/select",
4703
4394
  "readOnly": false
4704
4395
  },
4705
- "set-access": {
4706
- "method": "PUT",
4707
- "params": [
4708
- {
4709
- "in": "path",
4710
- "name": "productId"
4711
- },
4712
- {
4713
- "in": "path",
4714
- "name": "userId"
4715
- },
4716
- {
4717
- "in": "body",
4718
- "name": "role"
4719
- },
4720
- {
4721
- "in": "body",
4722
- "name": "roleId"
4723
- }
4724
- ],
4725
- "path": "/governance/api/v1/products/:productId/access/:userId",
4726
- "readOnly": false
4727
- },
4728
4396
  "update": {
4729
4397
  "method": "PATCH",
4730
4398
  "params": [
@@ -4735,10 +4403,6 @@ var bindings = {
4735
4403
  {
4736
4404
  "in": "body",
4737
4405
  "name": "name"
4738
- },
4739
- {
4740
- "in": "body",
4741
- "name": "description"
4742
4406
  }
4743
4407
  ],
4744
4408
  "path": "/governance/api/v1/products/:productId",
@@ -4929,160 +4593,6 @@ var bindings = {
4929
4593
  "path": "/governance/api/v1/organizations/:organizationId/security/mfa/enable",
4930
4594
  "readOnly": false
4931
4595
  }
4932
- },
4933
- "support-thread": {
4934
- "create": {
4935
- "method": "POST",
4936
- "params": [
4937
- {
4938
- "in": "body",
4939
- "name": "title"
4940
- },
4941
- {
4942
- "in": "body",
4943
- "name": "body"
4944
- }
4945
- ],
4946
- "path": "/governance/api/v1/support/threads",
4947
- "readOnly": false
4948
- },
4949
- "get": {
4950
- "method": "GET",
4951
- "params": [
4952
- {
4953
- "in": "path",
4954
- "name": "id"
4955
- }
4956
- ],
4957
- "path": "/governance/api/v1/support/threads/:id",
4958
- "readOnly": true
4959
- },
4960
- "reply": {
4961
- "method": "POST",
4962
- "params": [
4963
- {
4964
- "in": "path",
4965
- "name": "id"
4966
- },
4967
- {
4968
- "in": "body",
4969
- "name": "body"
4970
- }
4971
- ],
4972
- "path": "/governance/api/v1/support/threads/:id/messages",
4973
- "readOnly": false
4974
- }
4975
- },
4976
- "support-threads": {
4977
- "list": {
4978
- "method": "GET",
4979
- "path": "/governance/api/v1/support/threads",
4980
- "readOnly": true
4981
- }
4982
- }
4983
- },
4984
- "playground": {
4985
- "analytics": {
4986
- "overview": {
4987
- "method": "POST",
4988
- "params": [
4989
- {
4990
- "in": "body",
4991
- "name": "limit"
4992
- }
4993
- ],
4994
- "path": "/playground/analytics/overview",
4995
- "readOnly": true
4996
- }
4997
- },
4998
- "billing": {
4999
- "entitlements": {
5000
- "method": "POST",
5001
- "path": "/playground/billing/entitlements",
5002
- "readOnly": true
5003
- },
5004
- "record-usage": {
5005
- "method": "POST",
5006
- "params": [
5007
- {
5008
- "in": "body",
5009
- "name": "value"
5010
- }
5011
- ],
5012
- "path": "/playground/billing/usage",
5013
- "readOnly": false
5014
- }
5015
- },
5016
- "clickup": {
5017
- "create-task": {
5018
- "method": "POST",
5019
- "params": [
5020
- {
5021
- "in": "body",
5022
- "name": "listId"
5023
- },
5024
- {
5025
- "in": "body",
5026
- "name": "name"
5027
- }
5028
- ],
5029
- "path": "/playground/clickup/tasks",
5030
- "readOnly": false
5031
- },
5032
- "get-last-webhook": {
5033
- "method": "GET",
5034
- "path": "/playground/clickup/webhooks/last",
5035
- "readOnly": true
5036
- },
5037
- "get-overview": {
5038
- "method": "GET",
5039
- "path": "/playground/clickup/overview",
5040
- "readOnly": true
5041
- }
5042
- },
5043
- "gdrive": {
5044
- "get-last-change": {
5045
- "method": "GET",
5046
- "path": "/playground/gdrive/changes/last",
5047
- "readOnly": true
5048
- },
5049
- "read-file": {
5050
- "method": "POST",
5051
- "params": [
5052
- {
5053
- "in": "body",
5054
- "name": "fileId"
5055
- }
5056
- ],
5057
- "path": "/playground/gdrive/file",
5058
- "readOnly": true
5059
- }
5060
- },
5061
- "googleads": {
5062
- "read-customer": {
5063
- "method": "POST",
5064
- "path": "/playground/googleads/customer",
5065
- "readOnly": true
5066
- }
5067
- },
5068
- "lifecycle": {
5069
- "get-state": {
5070
- "method": "GET",
5071
- "path": "/playground/lifecycle/state",
5072
- "readOnly": true
5073
- },
5074
- "list-events": {
5075
- "method": "GET",
5076
- "path": "/playground/lifecycle/events",
5077
- "readOnly": true
5078
- }
5079
- },
5080
- "webhook": {
5081
- "get-last": {
5082
- "method": "GET",
5083
- "path": "/playground/webhooks/last",
5084
- "readOnly": true
5085
- }
5086
4596
  }
5087
4597
  },
5088
4598
  "realtime": {