@lessly/sdk-app 48.0.4 → 49.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 (53) 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 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-BsjxuDLy.d.cts → client.gen-CLRsCNvG.d.cts} +4630 -531
  10. package/dist/{client.gen-BsjxuDLy.d.ts → client.gen-CLRsCNvG.d.ts} +4630 -531
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/content/index.cjs +161 -0
  14. package/dist/content/index.cjs.map +1 -0
  15. package/dist/content/index.d.cts +128 -0
  16. package/dist/content/index.d.ts +128 -0
  17. package/dist/content/index.js +129 -0
  18. package/dist/content/index.js.map +1 -0
  19. package/dist/deployment/index.d.cts +1 -1
  20. package/dist/deployment/index.d.ts +1 -1
  21. package/dist/index.cjs +600 -13
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +72 -3
  24. package/dist/index.d.ts +72 -3
  25. package/dist/index.js +600 -14
  26. package/dist/index.js.map +1 -1
  27. package/dist/mail/index.d.cts +2 -2
  28. package/dist/mail/index.d.ts +2 -2
  29. package/dist/observe/index.d.cts +1 -1
  30. package/dist/observe/index.d.ts +1 -1
  31. package/dist/organization/index.d.cts +1 -1
  32. package/dist/organization/index.d.ts +1 -1
  33. package/dist/realtime/index.d.cts +1 -1
  34. package/dist/realtime/index.d.ts +1 -1
  35. package/dist/support/index.d.cts +1 -1
  36. package/dist/support/index.d.ts +1 -1
  37. package/dist/tracking/index.d.cts +1 -1
  38. package/dist/tracking/index.d.ts +1 -1
  39. package/dist/users/index.d.cts +1 -1
  40. package/dist/users/index.d.ts +1 -1
  41. package/dist/waitlist/index.d.cts +1 -1
  42. package/dist/waitlist/index.d.ts +1 -1
  43. package/docs/recipes/sdk-usage.md +50 -0
  44. package/docs/rules.md +13 -0
  45. package/package.json +7 -2
  46. package/src/gen/bindings.gen.ts +536 -14
  47. package/src/gen/brain/index.ts +1 -1
  48. package/src/gen/brain/queryOptions.gen.ts +0 -7
  49. package/src/gen/client.gen.ts +113 -5
  50. package/src/gen/content/index.ts +3 -0
  51. package/src/gen/content/queryOptions.gen.ts +202 -0
  52. package/src/gen/manifest.gen.ts +1 -1
  53. package/src/gen/types.gen.ts +4155 -274
@@ -1,5 +1,5 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
- import type { BindingsMap } from '../runtime/types';
2
+ import type { BindingsMap, WsBindingsMap } from '../runtime/types';
3
3
 
4
4
  export const bindings: BindingsMap = {
5
5
  "analytics": {
@@ -683,19 +683,6 @@ 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
- }
699
686
  }
700
687
  },
701
688
  "consent": {
@@ -963,6 +950,535 @@ export const bindings: BindingsMap = {
963
950
  }
964
951
  }
965
952
  },
953
+ "content": {
954
+ "channels": {
955
+ "bind": {
956
+ "method": "POST",
957
+ "params": [
958
+ {
959
+ "in": "path",
960
+ "name": "id"
961
+ },
962
+ {
963
+ "in": "body",
964
+ "name": "connectorId"
965
+ },
966
+ {
967
+ "in": "body",
968
+ "name": "deliveryMode"
969
+ }
970
+ ],
971
+ "path": "/content/channels/:id/bind",
972
+ "readOnly": false
973
+ },
974
+ "get": {
975
+ "method": "GET",
976
+ "params": [
977
+ {
978
+ "in": "path",
979
+ "name": "id"
980
+ }
981
+ ],
982
+ "path": "/content/channels/:id",
983
+ "readOnly": true
984
+ },
985
+ "list": {
986
+ "method": "GET",
987
+ "params": [
988
+ {
989
+ "in": "query",
990
+ "name": "network"
991
+ },
992
+ {
993
+ "in": "query",
994
+ "name": "limit"
995
+ },
996
+ {
997
+ "in": "query",
998
+ "name": "offset"
999
+ }
1000
+ ],
1001
+ "path": "/content/channels",
1002
+ "readOnly": true
1003
+ },
1004
+ "resume": {
1005
+ "method": "POST",
1006
+ "params": [
1007
+ {
1008
+ "in": "path",
1009
+ "name": "id"
1010
+ }
1011
+ ],
1012
+ "path": "/content/channels/:id/resume",
1013
+ "readOnly": false
1014
+ },
1015
+ "unbind": {
1016
+ "method": "POST",
1017
+ "params": [
1018
+ {
1019
+ "in": "path",
1020
+ "name": "id"
1021
+ }
1022
+ ],
1023
+ "path": "/content/channels/:id/unbind",
1024
+ "readOnly": false
1025
+ },
1026
+ "update": {
1027
+ "method": "PATCH",
1028
+ "params": [
1029
+ {
1030
+ "in": "path",
1031
+ "name": "id"
1032
+ },
1033
+ {
1034
+ "in": "body",
1035
+ "name": "displayName"
1036
+ },
1037
+ {
1038
+ "in": "body",
1039
+ "name": "deliveryMode"
1040
+ },
1041
+ {
1042
+ "in": "body",
1043
+ "name": "capabilities"
1044
+ }
1045
+ ],
1046
+ "path": "/content/channels/:id",
1047
+ "readOnly": false
1048
+ }
1049
+ },
1050
+ "media": {
1051
+ "finalize": {
1052
+ "method": "POST",
1053
+ "params": [
1054
+ {
1055
+ "in": "path",
1056
+ "name": "id"
1057
+ }
1058
+ ],
1059
+ "path": "/content/media/:id/finalize",
1060
+ "readOnly": false
1061
+ },
1062
+ "get": {
1063
+ "method": "GET",
1064
+ "params": [
1065
+ {
1066
+ "in": "path",
1067
+ "name": "id"
1068
+ }
1069
+ ],
1070
+ "path": "/content/media/:id",
1071
+ "readOnly": true
1072
+ },
1073
+ "list": {
1074
+ "method": "GET",
1075
+ "params": [
1076
+ {
1077
+ "in": "query",
1078
+ "name": "status"
1079
+ },
1080
+ {
1081
+ "in": "query",
1082
+ "name": "limit"
1083
+ },
1084
+ {
1085
+ "in": "query",
1086
+ "name": "offset"
1087
+ }
1088
+ ],
1089
+ "path": "/content/media",
1090
+ "readOnly": true
1091
+ },
1092
+ "upload": {
1093
+ "method": "POST",
1094
+ "params": [
1095
+ {
1096
+ "in": "body",
1097
+ "name": "sourceUrl"
1098
+ },
1099
+ {
1100
+ "in": "body",
1101
+ "name": "filename"
1102
+ }
1103
+ ],
1104
+ "path": "/content/media",
1105
+ "readOnly": false
1106
+ }
1107
+ },
1108
+ "media-create-upload": {
1109
+ "url": {
1110
+ "method": "POST",
1111
+ "params": [
1112
+ {
1113
+ "in": "body",
1114
+ "name": "contentType"
1115
+ },
1116
+ {
1117
+ "in": "body",
1118
+ "name": "filename"
1119
+ }
1120
+ ],
1121
+ "path": "/content/media/upload-url",
1122
+ "readOnly": false
1123
+ }
1124
+ },
1125
+ "metrics-channel": {
1126
+ "series": {
1127
+ "method": "GET",
1128
+ "params": [
1129
+ {
1130
+ "in": "path",
1131
+ "name": "id"
1132
+ },
1133
+ {
1134
+ "in": "query",
1135
+ "name": "from"
1136
+ },
1137
+ {
1138
+ "in": "query",
1139
+ "name": "to"
1140
+ },
1141
+ {
1142
+ "in": "query",
1143
+ "name": "limit"
1144
+ }
1145
+ ],
1146
+ "path": "/content/metrics/channels/:id",
1147
+ "readOnly": true
1148
+ }
1149
+ },
1150
+ "metrics-post": {
1151
+ "series": {
1152
+ "method": "GET",
1153
+ "params": [
1154
+ {
1155
+ "in": "path",
1156
+ "name": "id"
1157
+ },
1158
+ {
1159
+ "in": "query",
1160
+ "name": "from"
1161
+ },
1162
+ {
1163
+ "in": "query",
1164
+ "name": "to"
1165
+ },
1166
+ {
1167
+ "in": "query",
1168
+ "name": "limit"
1169
+ }
1170
+ ],
1171
+ "path": "/content/metrics/posts/:id",
1172
+ "readOnly": true
1173
+ }
1174
+ },
1175
+ "posts": {
1176
+ "approve": {
1177
+ "method": "POST",
1178
+ "params": [
1179
+ {
1180
+ "in": "path",
1181
+ "name": "id"
1182
+ }
1183
+ ],
1184
+ "path": "/content/posts/:id/approve",
1185
+ "readOnly": false
1186
+ },
1187
+ "create": {
1188
+ "method": "POST",
1189
+ "params": [
1190
+ {
1191
+ "in": "body",
1192
+ "name": "text"
1193
+ },
1194
+ {
1195
+ "in": "body",
1196
+ "name": "media"
1197
+ }
1198
+ ],
1199
+ "path": "/content/posts",
1200
+ "readOnly": false
1201
+ },
1202
+ "get": {
1203
+ "method": "GET",
1204
+ "params": [
1205
+ {
1206
+ "in": "path",
1207
+ "name": "id"
1208
+ }
1209
+ ],
1210
+ "path": "/content/posts/:id",
1211
+ "readOnly": true
1212
+ },
1213
+ "list": {
1214
+ "method": "GET",
1215
+ "params": [
1216
+ {
1217
+ "in": "query",
1218
+ "name": "status"
1219
+ },
1220
+ {
1221
+ "in": "query",
1222
+ "name": "limit"
1223
+ },
1224
+ {
1225
+ "in": "query",
1226
+ "name": "offset"
1227
+ }
1228
+ ],
1229
+ "path": "/content/posts",
1230
+ "readOnly": true
1231
+ },
1232
+ "submit": {
1233
+ "method": "POST",
1234
+ "params": [
1235
+ {
1236
+ "in": "path",
1237
+ "name": "id"
1238
+ }
1239
+ ],
1240
+ "path": "/content/posts/:id/submit",
1241
+ "readOnly": false
1242
+ },
1243
+ "update": {
1244
+ "method": "PATCH",
1245
+ "params": [
1246
+ {
1247
+ "in": "path",
1248
+ "name": "id"
1249
+ },
1250
+ {
1251
+ "in": "body",
1252
+ "name": "text"
1253
+ },
1254
+ {
1255
+ "in": "body",
1256
+ "name": "media"
1257
+ }
1258
+ ],
1259
+ "path": "/content/posts/:id",
1260
+ "readOnly": false
1261
+ },
1262
+ "versions": {
1263
+ "method": "GET",
1264
+ "params": [
1265
+ {
1266
+ "in": "path",
1267
+ "name": "id"
1268
+ }
1269
+ ],
1270
+ "path": "/content/posts/:id/versions",
1271
+ "readOnly": true
1272
+ }
1273
+ },
1274
+ "posts-attach": {
1275
+ "media": {
1276
+ "method": "POST",
1277
+ "params": [
1278
+ {
1279
+ "in": "path",
1280
+ "name": "id"
1281
+ },
1282
+ {
1283
+ "in": "body",
1284
+ "name": "mediaIds"
1285
+ }
1286
+ ],
1287
+ "path": "/content/posts/:id/media/attach",
1288
+ "readOnly": false
1289
+ }
1290
+ },
1291
+ "posts-detach": {
1292
+ "media": {
1293
+ "method": "POST",
1294
+ "params": [
1295
+ {
1296
+ "in": "path",
1297
+ "name": "id"
1298
+ },
1299
+ {
1300
+ "in": "body",
1301
+ "name": "mediaIds"
1302
+ }
1303
+ ],
1304
+ "path": "/content/posts/:id/media/detach",
1305
+ "readOnly": false
1306
+ }
1307
+ },
1308
+ "publications": {
1309
+ "cancel": {
1310
+ "method": "POST",
1311
+ "params": [
1312
+ {
1313
+ "in": "path",
1314
+ "name": "id"
1315
+ }
1316
+ ],
1317
+ "path": "/content/publications/:id/cancel",
1318
+ "readOnly": false
1319
+ },
1320
+ "confirm": {
1321
+ "method": "POST",
1322
+ "params": [
1323
+ {
1324
+ "in": "path",
1325
+ "name": "id"
1326
+ },
1327
+ {
1328
+ "in": "body",
1329
+ "name": "externalUrl"
1330
+ },
1331
+ {
1332
+ "in": "body",
1333
+ "name": "externalId"
1334
+ }
1335
+ ],
1336
+ "path": "/content/publications/:id/confirm",
1337
+ "readOnly": false
1338
+ },
1339
+ "get": {
1340
+ "method": "GET",
1341
+ "params": [
1342
+ {
1343
+ "in": "path",
1344
+ "name": "id"
1345
+ }
1346
+ ],
1347
+ "path": "/content/publications/:id",
1348
+ "readOnly": true
1349
+ },
1350
+ "list": {
1351
+ "method": "GET",
1352
+ "params": [
1353
+ {
1354
+ "in": "query",
1355
+ "name": "state"
1356
+ },
1357
+ {
1358
+ "in": "query",
1359
+ "name": "postId"
1360
+ },
1361
+ {
1362
+ "in": "query",
1363
+ "name": "channelId"
1364
+ },
1365
+ {
1366
+ "in": "query",
1367
+ "name": "limit"
1368
+ },
1369
+ {
1370
+ "in": "query",
1371
+ "name": "offset"
1372
+ },
1373
+ {
1374
+ "in": "query",
1375
+ "name": "scheduledFrom"
1376
+ },
1377
+ {
1378
+ "in": "query",
1379
+ "name": "scheduledTo"
1380
+ }
1381
+ ],
1382
+ "path": "/content/publications",
1383
+ "readOnly": true
1384
+ },
1385
+ "publish": {
1386
+ "method": "POST",
1387
+ "params": [
1388
+ {
1389
+ "in": "body",
1390
+ "name": "postId"
1391
+ },
1392
+ {
1393
+ "in": "body",
1394
+ "name": "channelId"
1395
+ },
1396
+ {
1397
+ "in": "body",
1398
+ "name": "text"
1399
+ },
1400
+ {
1401
+ "in": "body",
1402
+ "name": "idempotencyKey"
1403
+ }
1404
+ ],
1405
+ "path": "/content/publications/publish",
1406
+ "readOnly": false
1407
+ },
1408
+ "remind": {
1409
+ "method": "POST",
1410
+ "params": [
1411
+ {
1412
+ "in": "path",
1413
+ "name": "id"
1414
+ }
1415
+ ],
1416
+ "path": "/content/publications/:id/remind",
1417
+ "readOnly": false
1418
+ },
1419
+ "reschedule": {
1420
+ "method": "POST",
1421
+ "params": [
1422
+ {
1423
+ "in": "path",
1424
+ "name": "id"
1425
+ },
1426
+ {
1427
+ "in": "body",
1428
+ "name": "scheduledAt"
1429
+ }
1430
+ ],
1431
+ "path": "/content/publications/:id/reschedule",
1432
+ "readOnly": false
1433
+ },
1434
+ "schedule": {
1435
+ "method": "POST",
1436
+ "params": [
1437
+ {
1438
+ "in": "body",
1439
+ "name": "postId"
1440
+ },
1441
+ {
1442
+ "in": "body",
1443
+ "name": "channelId"
1444
+ },
1445
+ {
1446
+ "in": "body",
1447
+ "name": "scheduledAt"
1448
+ },
1449
+ {
1450
+ "in": "body",
1451
+ "name": "text"
1452
+ },
1453
+ {
1454
+ "in": "body",
1455
+ "name": "idempotencyKey"
1456
+ }
1457
+ ],
1458
+ "path": "/content/publications",
1459
+ "readOnly": false
1460
+ },
1461
+ "validate": {
1462
+ "method": "POST",
1463
+ "params": [
1464
+ {
1465
+ "in": "body",
1466
+ "name": "postId"
1467
+ },
1468
+ {
1469
+ "in": "body",
1470
+ "name": "channels"
1471
+ },
1472
+ {
1473
+ "in": "body",
1474
+ "name": "scheduledAt"
1475
+ }
1476
+ ],
1477
+ "path": "/content/publications/validate",
1478
+ "readOnly": true
1479
+ }
1480
+ }
1481
+ },
966
1482
  "deployment": {
967
1483
  "alert": {
968
1484
  "create": {
@@ -2298,6 +2814,10 @@ export const bindings: BindingsMap = {
2298
2814
  "in": "body",
2299
2815
  "name": "tracing"
2300
2816
  },
2817
+ {
2818
+ "in": "body",
2819
+ "name": "autoDeploy"
2820
+ },
2301
2821
  {
2302
2822
  "in": "path",
2303
2823
  "name": "id"
@@ -8011,3 +8531,5 @@ export const bindings: BindingsMap = {
8011
8531
  }
8012
8532
  }
8013
8533
  };
8534
+
8535
+ export const wsBindings: WsBindingsMap = {};
@@ -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, BrainUsageReportInput, BrainUsageReportOutput } 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 } from '../types.gen';
@@ -68,8 +68,6 @@ import type {
68
68
  BrainProductSharedMemoryResetInput,
69
69
  BrainRestoreStatusInput,
70
70
  BrainRestoreStatusOutput,
71
- BrainUsageReportInput,
72
- BrainUsageReportOutput,
73
71
  } from '../types.gen';
74
72
 
75
73
  export const brainBackupCreateMutationOptions = (sdk: GeneratedClient) => ({
@@ -271,8 +269,3 @@ export const brainRestoreStatusQueryOptions = (sdk: GeneratedClient, input: Brai
271
269
  queryKey: ['brain', 'restore', 'status', input] as const,
272
270
  queryFn: () => sdk['brain']['restore']['status'](input),
273
271
  });
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
- });