@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
@@ -683,6 +683,19 @@ export const bindings: BindingsMap = {
683
683
  "path": "/brain/restores/:restoreId",
684
684
  "readOnly": true
685
685
  }
686
+ },
687
+ "usage": {
688
+ "report": {
689
+ "method": "GET",
690
+ "params": [
691
+ {
692
+ "in": "query",
693
+ "name": "days"
694
+ }
695
+ ],
696
+ "path": "/brain/usage/report",
697
+ "readOnly": true
698
+ }
686
699
  }
687
700
  },
688
701
  "consent": {
@@ -3470,358 +3483,6 @@ export const bindings: BindingsMap = {
3470
3483
  }
3471
3484
  }
3472
3485
  },
3473
- "observe": {
3474
- "artifacts": {
3475
- "delete": {
3476
- "method": "DELETE",
3477
- "params": [
3478
- {
3479
- "in": "path",
3480
- "name": "id"
3481
- }
3482
- ],
3483
- "path": "/observe/artifacts/:id",
3484
- "readOnly": false
3485
- },
3486
- "list": {
3487
- "method": "GET",
3488
- "params": [
3489
- {
3490
- "in": "query",
3491
- "name": "debugId"
3492
- },
3493
- {
3494
- "in": "query",
3495
- "name": "limit"
3496
- }
3497
- ],
3498
- "path": "/observe/artifacts",
3499
- "readOnly": true
3500
- },
3501
- "resolve": {
3502
- "method": "GET",
3503
- "params": [
3504
- {
3505
- "in": "path",
3506
- "name": "issueId"
3507
- }
3508
- ],
3509
- "path": "/observe/artifacts/:issueId/resolve",
3510
- "readOnly": true
3511
- }
3512
- },
3513
- "issues": {
3514
- "archive": {
3515
- "method": "POST",
3516
- "params": [
3517
- {
3518
- "in": "path",
3519
- "name": "id"
3520
- }
3521
- ],
3522
- "path": "/observe/issues/:id/archive",
3523
- "readOnly": false
3524
- },
3525
- "assign": {
3526
- "method": "POST",
3527
- "params": [
3528
- {
3529
- "in": "path",
3530
- "name": "id"
3531
- },
3532
- {
3533
- "in": "body",
3534
- "name": "assignee"
3535
- }
3536
- ],
3537
- "path": "/observe/issues/:id/assign",
3538
- "readOnly": false
3539
- },
3540
- "get": {
3541
- "method": "GET",
3542
- "params": [
3543
- {
3544
- "in": "path",
3545
- "name": "id"
3546
- }
3547
- ],
3548
- "path": "/observe/issues/:id",
3549
- "readOnly": true
3550
- },
3551
- "list": {
3552
- "method": "GET",
3553
- "params": [
3554
- {
3555
- "in": "query",
3556
- "name": "status"
3557
- },
3558
- {
3559
- "in": "query",
3560
- "name": "assignee"
3561
- },
3562
- {
3563
- "in": "query",
3564
- "name": "limit"
3565
- }
3566
- ],
3567
- "path": "/observe/issues",
3568
- "readOnly": true
3569
- },
3570
- "resolve": {
3571
- "method": "POST",
3572
- "params": [
3573
- {
3574
- "in": "path",
3575
- "name": "id"
3576
- }
3577
- ],
3578
- "path": "/observe/issues/:id/resolve",
3579
- "readOnly": false
3580
- }
3581
- },
3582
- "keys": {
3583
- "create": {
3584
- "method": "POST",
3585
- "params": [
3586
- {
3587
- "in": "body",
3588
- "name": "environment"
3589
- },
3590
- {
3591
- "in": "body",
3592
- "name": "name"
3593
- },
3594
- {
3595
- "in": "body",
3596
- "name": "kind"
3597
- }
3598
- ],
3599
- "path": "/observe/keys",
3600
- "readOnly": false
3601
- },
3602
- "list": {
3603
- "method": "GET",
3604
- "params": [
3605
- {
3606
- "in": "query",
3607
- "name": "environment"
3608
- }
3609
- ],
3610
- "path": "/observe/keys",
3611
- "readOnly": true
3612
- },
3613
- "revoke": {
3614
- "method": "POST",
3615
- "params": [
3616
- {
3617
- "in": "path",
3618
- "name": "id"
3619
- }
3620
- ],
3621
- "path": "/observe/keys/:id/revoke",
3622
- "readOnly": false
3623
- }
3624
- },
3625
- "logs": {
3626
- "facets": {
3627
- "method": "GET",
3628
- "params": [
3629
- {
3630
- "in": "query",
3631
- "name": "window"
3632
- }
3633
- ],
3634
- "path": "/observe/logs/facets",
3635
- "readOnly": true
3636
- },
3637
- "search": {
3638
- "method": "GET",
3639
- "params": [
3640
- {
3641
- "in": "query",
3642
- "name": "environment"
3643
- },
3644
- {
3645
- "in": "query",
3646
- "name": "service"
3647
- },
3648
- {
3649
- "in": "query",
3650
- "name": "severityIn"
3651
- },
3652
- {
3653
- "in": "query",
3654
- "name": "search"
3655
- },
3656
- {
3657
- "in": "query",
3658
- "name": "traceId"
3659
- },
3660
- {
3661
- "in": "query",
3662
- "name": "q"
3663
- },
3664
- {
3665
- "in": "query",
3666
- "name": "from"
3667
- },
3668
- {
3669
- "in": "query",
3670
- "name": "to"
3671
- },
3672
- {
3673
- "in": "query",
3674
- "name": "limit"
3675
- },
3676
- {
3677
- "in": "query",
3678
- "name": "cursor"
3679
- }
3680
- ],
3681
- "path": "/observe/logs/search",
3682
- "readOnly": true
3683
- },
3684
- "tail": {
3685
- "method": "GET",
3686
- "params": [
3687
- {
3688
- "in": "query",
3689
- "name": "environment"
3690
- },
3691
- {
3692
- "in": "query",
3693
- "name": "service"
3694
- },
3695
- {
3696
- "in": "query",
3697
- "name": "severityIn"
3698
- },
3699
- {
3700
- "in": "query",
3701
- "name": "cursor"
3702
- }
3703
- ],
3704
- "path": "/observe/logs/tail",
3705
- "readOnly": true
3706
- }
3707
- },
3708
- "webhooks": {
3709
- "create": {
3710
- "method": "POST",
3711
- "params": [
3712
- {
3713
- "in": "body",
3714
- "name": "url"
3715
- },
3716
- {
3717
- "in": "body",
3718
- "name": "description"
3719
- }
3720
- ],
3721
- "path": "/observe/webhooks",
3722
- "readOnly": false
3723
- },
3724
- "delete": {
3725
- "method": "DELETE",
3726
- "params": [
3727
- {
3728
- "in": "path",
3729
- "name": "id"
3730
- }
3731
- ],
3732
- "path": "/observe/webhooks/:id",
3733
- "readOnly": false
3734
- },
3735
- "get": {
3736
- "method": "GET",
3737
- "params": [
3738
- {
3739
- "in": "path",
3740
- "name": "id"
3741
- }
3742
- ],
3743
- "path": "/observe/webhooks/:id",
3744
- "readOnly": true
3745
- },
3746
- "list": {
3747
- "method": "GET",
3748
- "path": "/observe/webhooks",
3749
- "readOnly": true
3750
- },
3751
- "redeliver": {
3752
- "method": "POST",
3753
- "params": [
3754
- {
3755
- "in": "path",
3756
- "name": "id"
3757
- }
3758
- ],
3759
- "path": "/observe/webhooks/deliveries/:id/redeliver",
3760
- "readOnly": false
3761
- },
3762
- "update": {
3763
- "method": "PATCH",
3764
- "params": [
3765
- {
3766
- "in": "path",
3767
- "name": "id"
3768
- },
3769
- {
3770
- "in": "body",
3771
- "name": "url"
3772
- },
3773
- {
3774
- "in": "body",
3775
- "name": "active"
3776
- },
3777
- {
3778
- "in": "body",
3779
- "name": "description"
3780
- }
3781
- ],
3782
- "path": "/observe/webhooks/:id",
3783
- "readOnly": false
3784
- }
3785
- },
3786
- "webhooks-deliveries": {
3787
- "list": {
3788
- "method": "GET",
3789
- "params": [
3790
- {
3791
- "in": "query",
3792
- "name": "webhookId"
3793
- },
3794
- {
3795
- "in": "query",
3796
- "name": "status"
3797
- },
3798
- {
3799
- "in": "query",
3800
- "name": "limit"
3801
- },
3802
- {
3803
- "in": "query",
3804
- "name": "offset"
3805
- }
3806
- ],
3807
- "path": "/observe/webhooks/deliveries",
3808
- "readOnly": true
3809
- }
3810
- },
3811
- "webhooks-rotate": {
3812
- "secret": {
3813
- "method": "POST",
3814
- "params": [
3815
- {
3816
- "in": "path",
3817
- "name": "id"
3818
- }
3819
- ],
3820
- "path": "/observe/webhooks/:id/rotate-secret",
3821
- "readOnly": false
3822
- }
3823
- }
3824
- },
3825
3486
  "organization": {
3826
3487
  "$root": {
3827
3488
  "create": {
@@ -4475,6 +4136,17 @@ export const bindings: BindingsMap = {
4475
4136
  }
4476
4137
  },
4477
4138
  "product": {
4139
+ "accept-invitation": {
4140
+ "method": "POST",
4141
+ "params": [
4142
+ {
4143
+ "in": "path",
4144
+ "name": "token"
4145
+ }
4146
+ ],
4147
+ "path": "/governance/api/v1/invitations/:token/accept",
4148
+ "readOnly": false
4149
+ },
4478
4150
  "create": {
4479
4151
  "method": "POST",
4480
4152
  "params": [
@@ -4494,6 +4166,25 @@ export const bindings: BindingsMap = {
4494
4166
  "path": "/governance/api/v1/products",
4495
4167
  "readOnly": false
4496
4168
  },
4169
+ "invite": {
4170
+ "method": "POST",
4171
+ "params": [
4172
+ {
4173
+ "in": "path",
4174
+ "name": "productId"
4175
+ },
4176
+ {
4177
+ "in": "body",
4178
+ "name": "email"
4179
+ },
4180
+ {
4181
+ "in": "body",
4182
+ "name": "role"
4183
+ }
4184
+ ],
4185
+ "path": "/governance/api/v1/products/:productId/invitations",
4186
+ "readOnly": false
4187
+ },
4497
4188
  "list": {
4498
4189
  "method": "GET",
4499
4190
  "params": [
@@ -4505,7 +4196,7 @@ export const bindings: BindingsMap = {
4505
4196
  "path": "/governance/api/v1/products",
4506
4197
  "readOnly": true
4507
4198
  },
4508
- "list-access": {
4199
+ "list-invitations": {
4509
4200
  "method": "GET",
4510
4201
  "params": [
4511
4202
  {
@@ -4513,7 +4204,7 @@ export const bindings: BindingsMap = {
4513
4204
  "name": "productId"
4514
4205
  }
4515
4206
  ],
4516
- "path": "/governance/api/v1/products/:productId/access",
4207
+ "path": "/governance/api/v1/products/:productId/invitations",
4517
4208
  "readOnly": true
4518
4209
  },
4519
4210
  "list-members": {
@@ -4538,19 +4229,19 @@ export const bindings: BindingsMap = {
4538
4229
  "path": "/governance/api/v1/products/:productId/roles",
4539
4230
  "readOnly": true
4540
4231
  },
4541
- "revoke-access": {
4542
- "method": "DELETE",
4232
+ "revoke-invitation": {
4233
+ "method": "POST",
4543
4234
  "params": [
4544
4235
  {
4545
- "in": "path",
4236
+ "in": "body",
4546
4237
  "name": "productId"
4547
4238
  },
4548
4239
  {
4549
- "in": "path",
4550
- "name": "userId"
4240
+ "in": "body",
4241
+ "name": "invitationId"
4551
4242
  }
4552
4243
  ],
4553
- "path": "/governance/api/v1/products/:productId/access/:userId",
4244
+ "path": "/governance/api/v1/products/revoke-invitation",
4554
4245
  "readOnly": false
4555
4246
  },
4556
4247
  "select": {
@@ -4564,29 +4255,6 @@ export const bindings: BindingsMap = {
4564
4255
  "path": "/governance/api/v1/products/select",
4565
4256
  "readOnly": false
4566
4257
  },
4567
- "set-access": {
4568
- "method": "PUT",
4569
- "params": [
4570
- {
4571
- "in": "path",
4572
- "name": "productId"
4573
- },
4574
- {
4575
- "in": "path",
4576
- "name": "userId"
4577
- },
4578
- {
4579
- "in": "body",
4580
- "name": "role"
4581
- },
4582
- {
4583
- "in": "body",
4584
- "name": "roleId"
4585
- }
4586
- ],
4587
- "path": "/governance/api/v1/products/:productId/access/:userId",
4588
- "readOnly": false
4589
- },
4590
4258
  "update": {
4591
4259
  "method": "PATCH",
4592
4260
  "params": [
@@ -4597,10 +4265,6 @@ export const bindings: BindingsMap = {
4597
4265
  {
4598
4266
  "in": "body",
4599
4267
  "name": "name"
4600
- },
4601
- {
4602
- "in": "body",
4603
- "name": "description"
4604
4268
  }
4605
4269
  ],
4606
4270
  "path": "/governance/api/v1/products/:productId",
@@ -4791,160 +4455,6 @@ export const bindings: BindingsMap = {
4791
4455
  "path": "/governance/api/v1/organizations/:organizationId/security/mfa/enable",
4792
4456
  "readOnly": false
4793
4457
  }
4794
- },
4795
- "support-thread": {
4796
- "create": {
4797
- "method": "POST",
4798
- "params": [
4799
- {
4800
- "in": "body",
4801
- "name": "title"
4802
- },
4803
- {
4804
- "in": "body",
4805
- "name": "body"
4806
- }
4807
- ],
4808
- "path": "/governance/api/v1/support/threads",
4809
- "readOnly": false
4810
- },
4811
- "get": {
4812
- "method": "GET",
4813
- "params": [
4814
- {
4815
- "in": "path",
4816
- "name": "id"
4817
- }
4818
- ],
4819
- "path": "/governance/api/v1/support/threads/:id",
4820
- "readOnly": true
4821
- },
4822
- "reply": {
4823
- "method": "POST",
4824
- "params": [
4825
- {
4826
- "in": "path",
4827
- "name": "id"
4828
- },
4829
- {
4830
- "in": "body",
4831
- "name": "body"
4832
- }
4833
- ],
4834
- "path": "/governance/api/v1/support/threads/:id/messages",
4835
- "readOnly": false
4836
- }
4837
- },
4838
- "support-threads": {
4839
- "list": {
4840
- "method": "GET",
4841
- "path": "/governance/api/v1/support/threads",
4842
- "readOnly": true
4843
- }
4844
- }
4845
- },
4846
- "playground": {
4847
- "analytics": {
4848
- "overview": {
4849
- "method": "POST",
4850
- "params": [
4851
- {
4852
- "in": "body",
4853
- "name": "limit"
4854
- }
4855
- ],
4856
- "path": "/playground/analytics/overview",
4857
- "readOnly": true
4858
- }
4859
- },
4860
- "billing": {
4861
- "entitlements": {
4862
- "method": "POST",
4863
- "path": "/playground/billing/entitlements",
4864
- "readOnly": true
4865
- },
4866
- "record-usage": {
4867
- "method": "POST",
4868
- "params": [
4869
- {
4870
- "in": "body",
4871
- "name": "value"
4872
- }
4873
- ],
4874
- "path": "/playground/billing/usage",
4875
- "readOnly": false
4876
- }
4877
- },
4878
- "clickup": {
4879
- "create-task": {
4880
- "method": "POST",
4881
- "params": [
4882
- {
4883
- "in": "body",
4884
- "name": "listId"
4885
- },
4886
- {
4887
- "in": "body",
4888
- "name": "name"
4889
- }
4890
- ],
4891
- "path": "/playground/clickup/tasks",
4892
- "readOnly": false
4893
- },
4894
- "get-last-webhook": {
4895
- "method": "GET",
4896
- "path": "/playground/clickup/webhooks/last",
4897
- "readOnly": true
4898
- },
4899
- "get-overview": {
4900
- "method": "GET",
4901
- "path": "/playground/clickup/overview",
4902
- "readOnly": true
4903
- }
4904
- },
4905
- "gdrive": {
4906
- "get-last-change": {
4907
- "method": "GET",
4908
- "path": "/playground/gdrive/changes/last",
4909
- "readOnly": true
4910
- },
4911
- "read-file": {
4912
- "method": "POST",
4913
- "params": [
4914
- {
4915
- "in": "body",
4916
- "name": "fileId"
4917
- }
4918
- ],
4919
- "path": "/playground/gdrive/file",
4920
- "readOnly": true
4921
- }
4922
- },
4923
- "googleads": {
4924
- "read-customer": {
4925
- "method": "POST",
4926
- "path": "/playground/googleads/customer",
4927
- "readOnly": true
4928
- }
4929
- },
4930
- "lifecycle": {
4931
- "get-state": {
4932
- "method": "GET",
4933
- "path": "/playground/lifecycle/state",
4934
- "readOnly": true
4935
- },
4936
- "list-events": {
4937
- "method": "GET",
4938
- "path": "/playground/lifecycle/events",
4939
- "readOnly": true
4940
- }
4941
- },
4942
- "webhook": {
4943
- "get-last": {
4944
- "method": "GET",
4945
- "path": "/playground/webhooks/last",
4946
- "readOnly": true
4947
- }
4948
4458
  }
4949
4459
  },
4950
4460
  "realtime": {
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput } from '../types.gen';
3
+ export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput, BrainUsageReportInput, BrainUsageReportOutput } from '../types.gen';
@@ -68,6 +68,8 @@ import type {
68
68
  BrainProductSharedMemoryResetInput,
69
69
  BrainRestoreStatusInput,
70
70
  BrainRestoreStatusOutput,
71
+ BrainUsageReportInput,
72
+ BrainUsageReportOutput,
71
73
  } from '../types.gen';
72
74
 
73
75
  export const brainBackupCreateMutationOptions = (sdk: GeneratedClient) => ({
@@ -269,3 +271,8 @@ export const brainRestoreStatusQueryOptions = (sdk: GeneratedClient, input: Brai
269
271
  queryKey: ['brain', 'restore', 'status', input] as const,
270
272
  queryFn: () => sdk['brain']['restore']['status'](input),
271
273
  });
274
+
275
+ export const brainUsageReportQueryOptions = (sdk: GeneratedClient, input: BrainUsageReportInput) => ({
276
+ queryKey: ['brain', 'usage', 'report', input] as const,
277
+ queryFn: () => sdk['brain']['usage']['report'](input),
278
+ });