tsarr 1.3.0 → 1.5.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.
@@ -801,6 +801,61 @@ var createClient = (config = {}) => {
801
801
  var client = createClient(createConfig());
802
802
 
803
803
  // src/generated/prowlarr/sdk.gen.ts
804
+ var deleteApiV1ApplicationsById = (options) => {
805
+ return (options.client ?? client).delete({
806
+ security: [
807
+ {
808
+ name: "X-Api-Key",
809
+ type: "apiKey"
810
+ },
811
+ {
812
+ in: "query",
813
+ name: "apikey",
814
+ type: "apiKey"
815
+ }
816
+ ],
817
+ url: "/api/v1/applications/{id}",
818
+ ...options
819
+ });
820
+ };
821
+ var getApiV1ApplicationsById = (options) => {
822
+ return (options.client ?? client).get({
823
+ security: [
824
+ {
825
+ name: "X-Api-Key",
826
+ type: "apiKey"
827
+ },
828
+ {
829
+ in: "query",
830
+ name: "apikey",
831
+ type: "apiKey"
832
+ }
833
+ ],
834
+ url: "/api/v1/applications/{id}",
835
+ ...options
836
+ });
837
+ };
838
+ var putApiV1ApplicationsById = (options) => {
839
+ return (options.client ?? client).put({
840
+ security: [
841
+ {
842
+ name: "X-Api-Key",
843
+ type: "apiKey"
844
+ },
845
+ {
846
+ in: "query",
847
+ name: "apikey",
848
+ type: "apiKey"
849
+ }
850
+ ],
851
+ url: "/api/v1/applications/{id}",
852
+ ...options,
853
+ headers: {
854
+ "Content-Type": "application/json",
855
+ ...options.headers
856
+ }
857
+ });
858
+ };
804
859
  var getApiV1Applications = (options) => {
805
860
  return (options?.client ?? client).get({
806
861
  security: [
@@ -814,11 +869,612 @@ var getApiV1Applications = (options) => {
814
869
  type: "apiKey"
815
870
  }
816
871
  ],
817
- url: "/api/v1/applications",
872
+ url: "/api/v1/applications",
873
+ ...options
874
+ });
875
+ };
876
+ var postApiV1Applications = (options) => {
877
+ return (options?.client ?? client).post({
878
+ security: [
879
+ {
880
+ name: "X-Api-Key",
881
+ type: "apiKey"
882
+ },
883
+ {
884
+ in: "query",
885
+ name: "apikey",
886
+ type: "apiKey"
887
+ }
888
+ ],
889
+ url: "/api/v1/applications",
890
+ ...options,
891
+ headers: {
892
+ "Content-Type": "application/json",
893
+ ...options?.headers
894
+ }
895
+ });
896
+ };
897
+ var getApiV1ApplicationsSchema = (options) => {
898
+ return (options?.client ?? client).get({
899
+ security: [
900
+ {
901
+ name: "X-Api-Key",
902
+ type: "apiKey"
903
+ },
904
+ {
905
+ in: "query",
906
+ name: "apikey",
907
+ type: "apiKey"
908
+ }
909
+ ],
910
+ url: "/api/v1/applications/schema",
911
+ ...options
912
+ });
913
+ };
914
+ var postApiV1ApplicationsTest = (options) => {
915
+ return (options?.client ?? client).post({
916
+ security: [
917
+ {
918
+ name: "X-Api-Key",
919
+ type: "apiKey"
920
+ },
921
+ {
922
+ in: "query",
923
+ name: "apikey",
924
+ type: "apiKey"
925
+ }
926
+ ],
927
+ url: "/api/v1/applications/test",
928
+ ...options,
929
+ headers: {
930
+ "Content-Type": "application/json",
931
+ ...options?.headers
932
+ }
933
+ });
934
+ };
935
+ var postApiV1ApplicationsTestall = (options) => {
936
+ return (options?.client ?? client).post({
937
+ security: [
938
+ {
939
+ name: "X-Api-Key",
940
+ type: "apiKey"
941
+ },
942
+ {
943
+ in: "query",
944
+ name: "apikey",
945
+ type: "apiKey"
946
+ }
947
+ ],
948
+ url: "/api/v1/applications/testall",
949
+ ...options
950
+ });
951
+ };
952
+ var getApiV1SystemBackup = (options) => {
953
+ return (options?.client ?? client).get({
954
+ security: [
955
+ {
956
+ name: "X-Api-Key",
957
+ type: "apiKey"
958
+ },
959
+ {
960
+ in: "query",
961
+ name: "apikey",
962
+ type: "apiKey"
963
+ }
964
+ ],
965
+ url: "/api/v1/system/backup",
966
+ ...options
967
+ });
968
+ };
969
+ var deleteApiV1SystemBackupById = (options) => {
970
+ return (options.client ?? client).delete({
971
+ security: [
972
+ {
973
+ name: "X-Api-Key",
974
+ type: "apiKey"
975
+ },
976
+ {
977
+ in: "query",
978
+ name: "apikey",
979
+ type: "apiKey"
980
+ }
981
+ ],
982
+ url: "/api/v1/system/backup/{id}",
983
+ ...options
984
+ });
985
+ };
986
+ var postApiV1SystemBackupRestoreById = (options) => {
987
+ return (options.client ?? client).post({
988
+ security: [
989
+ {
990
+ name: "X-Api-Key",
991
+ type: "apiKey"
992
+ },
993
+ {
994
+ in: "query",
995
+ name: "apikey",
996
+ type: "apiKey"
997
+ }
998
+ ],
999
+ url: "/api/v1/system/backup/restore/{id}",
1000
+ ...options
1001
+ });
1002
+ };
1003
+ var postApiV1SystemBackupRestoreUpload = (options) => {
1004
+ return (options?.client ?? client).post({
1005
+ security: [
1006
+ {
1007
+ name: "X-Api-Key",
1008
+ type: "apiKey"
1009
+ },
1010
+ {
1011
+ in: "query",
1012
+ name: "apikey",
1013
+ type: "apiKey"
1014
+ }
1015
+ ],
1016
+ url: "/api/v1/system/backup/restore/upload",
1017
+ ...options
1018
+ });
1019
+ };
1020
+ var getApiV1Command = (options) => {
1021
+ return (options?.client ?? client).get({
1022
+ security: [
1023
+ {
1024
+ name: "X-Api-Key",
1025
+ type: "apiKey"
1026
+ },
1027
+ {
1028
+ in: "query",
1029
+ name: "apikey",
1030
+ type: "apiKey"
1031
+ }
1032
+ ],
1033
+ url: "/api/v1/command",
1034
+ ...options
1035
+ });
1036
+ };
1037
+ var postApiV1Command = (options) => {
1038
+ return (options?.client ?? client).post({
1039
+ security: [
1040
+ {
1041
+ name: "X-Api-Key",
1042
+ type: "apiKey"
1043
+ },
1044
+ {
1045
+ in: "query",
1046
+ name: "apikey",
1047
+ type: "apiKey"
1048
+ }
1049
+ ],
1050
+ url: "/api/v1/command",
1051
+ ...options,
1052
+ headers: {
1053
+ "Content-Type": "application/json",
1054
+ ...options?.headers
1055
+ }
1056
+ });
1057
+ };
1058
+ var getApiV1ConfigDevelopmentById = (options) => {
1059
+ return (options.client ?? client).get({
1060
+ security: [
1061
+ {
1062
+ name: "X-Api-Key",
1063
+ type: "apiKey"
1064
+ },
1065
+ {
1066
+ in: "query",
1067
+ name: "apikey",
1068
+ type: "apiKey"
1069
+ }
1070
+ ],
1071
+ url: "/api/v1/config/development/{id}",
1072
+ ...options
1073
+ });
1074
+ };
1075
+ var putApiV1ConfigDevelopmentById = (options) => {
1076
+ return (options.client ?? client).put({
1077
+ security: [
1078
+ {
1079
+ name: "X-Api-Key",
1080
+ type: "apiKey"
1081
+ },
1082
+ {
1083
+ in: "query",
1084
+ name: "apikey",
1085
+ type: "apiKey"
1086
+ }
1087
+ ],
1088
+ url: "/api/v1/config/development/{id}",
1089
+ ...options,
1090
+ headers: {
1091
+ "Content-Type": "application/json",
1092
+ ...options.headers
1093
+ }
1094
+ });
1095
+ };
1096
+ var getApiV1ConfigDevelopment = (options) => {
1097
+ return (options?.client ?? client).get({
1098
+ security: [
1099
+ {
1100
+ name: "X-Api-Key",
1101
+ type: "apiKey"
1102
+ },
1103
+ {
1104
+ in: "query",
1105
+ name: "apikey",
1106
+ type: "apiKey"
1107
+ }
1108
+ ],
1109
+ url: "/api/v1/config/development",
1110
+ ...options
1111
+ });
1112
+ };
1113
+ var getApiV1Health = (options) => {
1114
+ return (options?.client ?? client).get({
1115
+ security: [
1116
+ {
1117
+ name: "X-Api-Key",
1118
+ type: "apiKey"
1119
+ },
1120
+ {
1121
+ in: "query",
1122
+ name: "apikey",
1123
+ type: "apiKey"
1124
+ }
1125
+ ],
1126
+ url: "/api/v1/health",
1127
+ ...options
1128
+ });
1129
+ };
1130
+ var getApiV1ConfigHostById = (options) => {
1131
+ return (options.client ?? client).get({
1132
+ security: [
1133
+ {
1134
+ name: "X-Api-Key",
1135
+ type: "apiKey"
1136
+ },
1137
+ {
1138
+ in: "query",
1139
+ name: "apikey",
1140
+ type: "apiKey"
1141
+ }
1142
+ ],
1143
+ url: "/api/v1/config/host/{id}",
1144
+ ...options
1145
+ });
1146
+ };
1147
+ var putApiV1ConfigHostById = (options) => {
1148
+ return (options.client ?? client).put({
1149
+ security: [
1150
+ {
1151
+ name: "X-Api-Key",
1152
+ type: "apiKey"
1153
+ },
1154
+ {
1155
+ in: "query",
1156
+ name: "apikey",
1157
+ type: "apiKey"
1158
+ }
1159
+ ],
1160
+ url: "/api/v1/config/host/{id}",
1161
+ ...options,
1162
+ headers: {
1163
+ "Content-Type": "application/json",
1164
+ ...options.headers
1165
+ }
1166
+ });
1167
+ };
1168
+ var getApiV1ConfigHost = (options) => {
1169
+ return (options?.client ?? client).get({
1170
+ security: [
1171
+ {
1172
+ name: "X-Api-Key",
1173
+ type: "apiKey"
1174
+ },
1175
+ {
1176
+ in: "query",
1177
+ name: "apikey",
1178
+ type: "apiKey"
1179
+ }
1180
+ ],
1181
+ url: "/api/v1/config/host",
1182
+ ...options
1183
+ });
1184
+ };
1185
+ var deleteApiV1IndexerById = (options) => {
1186
+ return (options.client ?? client).delete({
1187
+ security: [
1188
+ {
1189
+ name: "X-Api-Key",
1190
+ type: "apiKey"
1191
+ },
1192
+ {
1193
+ in: "query",
1194
+ name: "apikey",
1195
+ type: "apiKey"
1196
+ }
1197
+ ],
1198
+ url: "/api/v1/indexer/{id}",
1199
+ ...options
1200
+ });
1201
+ };
1202
+ var getApiV1IndexerById = (options) => {
1203
+ return (options.client ?? client).get({
1204
+ security: [
1205
+ {
1206
+ name: "X-Api-Key",
1207
+ type: "apiKey"
1208
+ },
1209
+ {
1210
+ in: "query",
1211
+ name: "apikey",
1212
+ type: "apiKey"
1213
+ }
1214
+ ],
1215
+ url: "/api/v1/indexer/{id}",
1216
+ ...options
1217
+ });
1218
+ };
1219
+ var putApiV1IndexerById = (options) => {
1220
+ return (options.client ?? client).put({
1221
+ security: [
1222
+ {
1223
+ name: "X-Api-Key",
1224
+ type: "apiKey"
1225
+ },
1226
+ {
1227
+ in: "query",
1228
+ name: "apikey",
1229
+ type: "apiKey"
1230
+ }
1231
+ ],
1232
+ url: "/api/v1/indexer/{id}",
1233
+ ...options,
1234
+ headers: {
1235
+ "Content-Type": "application/json",
1236
+ ...options.headers
1237
+ }
1238
+ });
1239
+ };
1240
+ var getApiV1Indexer = (options) => {
1241
+ return (options?.client ?? client).get({
1242
+ security: [
1243
+ {
1244
+ name: "X-Api-Key",
1245
+ type: "apiKey"
1246
+ },
1247
+ {
1248
+ in: "query",
1249
+ name: "apikey",
1250
+ type: "apiKey"
1251
+ }
1252
+ ],
1253
+ url: "/api/v1/indexer",
1254
+ ...options
1255
+ });
1256
+ };
1257
+ var postApiV1Indexer = (options) => {
1258
+ return (options?.client ?? client).post({
1259
+ security: [
1260
+ {
1261
+ name: "X-Api-Key",
1262
+ type: "apiKey"
1263
+ },
1264
+ {
1265
+ in: "query",
1266
+ name: "apikey",
1267
+ type: "apiKey"
1268
+ }
1269
+ ],
1270
+ url: "/api/v1/indexer",
1271
+ ...options,
1272
+ headers: {
1273
+ "Content-Type": "application/json",
1274
+ ...options?.headers
1275
+ }
1276
+ });
1277
+ };
1278
+ var getApiV1IndexerSchema = (options) => {
1279
+ return (options?.client ?? client).get({
1280
+ security: [
1281
+ {
1282
+ name: "X-Api-Key",
1283
+ type: "apiKey"
1284
+ },
1285
+ {
1286
+ in: "query",
1287
+ name: "apikey",
1288
+ type: "apiKey"
1289
+ }
1290
+ ],
1291
+ url: "/api/v1/indexer/schema",
1292
+ ...options
1293
+ });
1294
+ };
1295
+ var postApiV1IndexerTest = (options) => {
1296
+ return (options?.client ?? client).post({
1297
+ security: [
1298
+ {
1299
+ name: "X-Api-Key",
1300
+ type: "apiKey"
1301
+ },
1302
+ {
1303
+ in: "query",
1304
+ name: "apikey",
1305
+ type: "apiKey"
1306
+ }
1307
+ ],
1308
+ url: "/api/v1/indexer/test",
1309
+ ...options,
1310
+ headers: {
1311
+ "Content-Type": "application/json",
1312
+ ...options?.headers
1313
+ }
1314
+ });
1315
+ };
1316
+ var postApiV1IndexerTestall = (options) => {
1317
+ return (options?.client ?? client).post({
1318
+ security: [
1319
+ {
1320
+ name: "X-Api-Key",
1321
+ type: "apiKey"
1322
+ },
1323
+ {
1324
+ in: "query",
1325
+ name: "apikey",
1326
+ type: "apiKey"
1327
+ }
1328
+ ],
1329
+ url: "/api/v1/indexer/testall",
1330
+ ...options
1331
+ });
1332
+ };
1333
+ var getApiV1Log = (options) => {
1334
+ return (options?.client ?? client).get({
1335
+ security: [
1336
+ {
1337
+ name: "X-Api-Key",
1338
+ type: "apiKey"
1339
+ },
1340
+ {
1341
+ in: "query",
1342
+ name: "apikey",
1343
+ type: "apiKey"
1344
+ }
1345
+ ],
1346
+ url: "/api/v1/log",
1347
+ ...options
1348
+ });
1349
+ };
1350
+ var getApiV1LogFile = (options) => {
1351
+ return (options?.client ?? client).get({
1352
+ security: [
1353
+ {
1354
+ name: "X-Api-Key",
1355
+ type: "apiKey"
1356
+ },
1357
+ {
1358
+ in: "query",
1359
+ name: "apikey",
1360
+ type: "apiKey"
1361
+ }
1362
+ ],
1363
+ url: "/api/v1/log/file",
1364
+ ...options
1365
+ });
1366
+ };
1367
+ var getApiV1LogFileByFilename = (options) => {
1368
+ return (options.client ?? client).get({
1369
+ security: [
1370
+ {
1371
+ name: "X-Api-Key",
1372
+ type: "apiKey"
1373
+ },
1374
+ {
1375
+ in: "query",
1376
+ name: "apikey",
1377
+ type: "apiKey"
1378
+ }
1379
+ ],
1380
+ url: "/api/v1/log/file/{filename}",
1381
+ ...options
1382
+ });
1383
+ };
1384
+ var deleteApiV1NotificationById = (options) => {
1385
+ return (options.client ?? client).delete({
1386
+ security: [
1387
+ {
1388
+ name: "X-Api-Key",
1389
+ type: "apiKey"
1390
+ },
1391
+ {
1392
+ in: "query",
1393
+ name: "apikey",
1394
+ type: "apiKey"
1395
+ }
1396
+ ],
1397
+ url: "/api/v1/notification/{id}",
1398
+ ...options
1399
+ });
1400
+ };
1401
+ var getApiV1NotificationById = (options) => {
1402
+ return (options.client ?? client).get({
1403
+ security: [
1404
+ {
1405
+ name: "X-Api-Key",
1406
+ type: "apiKey"
1407
+ },
1408
+ {
1409
+ in: "query",
1410
+ name: "apikey",
1411
+ type: "apiKey"
1412
+ }
1413
+ ],
1414
+ url: "/api/v1/notification/{id}",
1415
+ ...options
1416
+ });
1417
+ };
1418
+ var putApiV1NotificationById = (options) => {
1419
+ return (options.client ?? client).put({
1420
+ security: [
1421
+ {
1422
+ name: "X-Api-Key",
1423
+ type: "apiKey"
1424
+ },
1425
+ {
1426
+ in: "query",
1427
+ name: "apikey",
1428
+ type: "apiKey"
1429
+ }
1430
+ ],
1431
+ url: "/api/v1/notification/{id}",
1432
+ ...options,
1433
+ headers: {
1434
+ "Content-Type": "application/json",
1435
+ ...options.headers
1436
+ }
1437
+ });
1438
+ };
1439
+ var getApiV1Notification = (options) => {
1440
+ return (options?.client ?? client).get({
1441
+ security: [
1442
+ {
1443
+ name: "X-Api-Key",
1444
+ type: "apiKey"
1445
+ },
1446
+ {
1447
+ in: "query",
1448
+ name: "apikey",
1449
+ type: "apiKey"
1450
+ }
1451
+ ],
1452
+ url: "/api/v1/notification",
818
1453
  ...options
819
1454
  });
820
1455
  };
821
- var getApiV1Command = (options) => {
1456
+ var postApiV1Notification = (options) => {
1457
+ return (options?.client ?? client).post({
1458
+ security: [
1459
+ {
1460
+ name: "X-Api-Key",
1461
+ type: "apiKey"
1462
+ },
1463
+ {
1464
+ in: "query",
1465
+ name: "apikey",
1466
+ type: "apiKey"
1467
+ }
1468
+ ],
1469
+ url: "/api/v1/notification",
1470
+ ...options,
1471
+ headers: {
1472
+ "Content-Type": "application/json",
1473
+ ...options?.headers
1474
+ }
1475
+ });
1476
+ };
1477
+ var getApiV1NotificationSchema = (options) => {
822
1478
  return (options?.client ?? client).get({
823
1479
  security: [
824
1480
  {
@@ -831,11 +1487,11 @@ var getApiV1Command = (options) => {
831
1487
  type: "apiKey"
832
1488
  }
833
1489
  ],
834
- url: "/api/v1/command",
1490
+ url: "/api/v1/notification/schema",
835
1491
  ...options
836
1492
  });
837
1493
  };
838
- var postApiV1Command = (options) => {
1494
+ var postApiV1NotificationTest = (options) => {
839
1495
  return (options?.client ?? client).post({
840
1496
  security: [
841
1497
  {
@@ -848,7 +1504,7 @@ var postApiV1Command = (options) => {
848
1504
  type: "apiKey"
849
1505
  }
850
1506
  ],
851
- url: "/api/v1/command",
1507
+ url: "/api/v1/notification/test",
852
1508
  ...options,
853
1509
  headers: {
854
1510
  "Content-Type": "application/json",
@@ -856,7 +1512,24 @@ var postApiV1Command = (options) => {
856
1512
  }
857
1513
  });
858
1514
  };
859
- var getApiV1Health = (options) => {
1515
+ var postApiV1NotificationTestall = (options) => {
1516
+ return (options?.client ?? client).post({
1517
+ security: [
1518
+ {
1519
+ name: "X-Api-Key",
1520
+ type: "apiKey"
1521
+ },
1522
+ {
1523
+ in: "query",
1524
+ name: "apikey",
1525
+ type: "apiKey"
1526
+ }
1527
+ ],
1528
+ url: "/api/v1/notification/testall",
1529
+ ...options
1530
+ });
1531
+ };
1532
+ var getApiV1Search = (options) => {
860
1533
  return (options?.client ?? client).get({
861
1534
  security: [
862
1535
  {
@@ -869,11 +1542,62 @@ var getApiV1Health = (options) => {
869
1542
  type: "apiKey"
870
1543
  }
871
1544
  ],
872
- url: "/api/v1/health",
1545
+ url: "/api/v1/search",
873
1546
  ...options
874
1547
  });
875
1548
  };
876
- var deleteApiV1IndexerById = (options) => {
1549
+ var getApiV1SystemStatus = (options) => {
1550
+ return (options?.client ?? client).get({
1551
+ security: [
1552
+ {
1553
+ name: "X-Api-Key",
1554
+ type: "apiKey"
1555
+ },
1556
+ {
1557
+ in: "query",
1558
+ name: "apikey",
1559
+ type: "apiKey"
1560
+ }
1561
+ ],
1562
+ url: "/api/v1/system/status",
1563
+ ...options
1564
+ });
1565
+ };
1566
+ var postApiV1SystemShutdown = (options) => {
1567
+ return (options?.client ?? client).post({
1568
+ security: [
1569
+ {
1570
+ name: "X-Api-Key",
1571
+ type: "apiKey"
1572
+ },
1573
+ {
1574
+ in: "query",
1575
+ name: "apikey",
1576
+ type: "apiKey"
1577
+ }
1578
+ ],
1579
+ url: "/api/v1/system/shutdown",
1580
+ ...options
1581
+ });
1582
+ };
1583
+ var postApiV1SystemRestart = (options) => {
1584
+ return (options?.client ?? client).post({
1585
+ security: [
1586
+ {
1587
+ name: "X-Api-Key",
1588
+ type: "apiKey"
1589
+ },
1590
+ {
1591
+ in: "query",
1592
+ name: "apikey",
1593
+ type: "apiKey"
1594
+ }
1595
+ ],
1596
+ url: "/api/v1/system/restart",
1597
+ ...options
1598
+ });
1599
+ };
1600
+ var deleteApiV1TagById = (options) => {
877
1601
  return (options.client ?? client).delete({
878
1602
  security: [
879
1603
  {
@@ -886,11 +1610,11 @@ var deleteApiV1IndexerById = (options) => {
886
1610
  type: "apiKey"
887
1611
  }
888
1612
  ],
889
- url: "/api/v1/indexer/{id}",
1613
+ url: "/api/v1/tag/{id}",
890
1614
  ...options
891
1615
  });
892
1616
  };
893
- var getApiV1IndexerById = (options) => {
1617
+ var getApiV1TagById = (options) => {
894
1618
  return (options.client ?? client).get({
895
1619
  security: [
896
1620
  {
@@ -903,11 +1627,11 @@ var getApiV1IndexerById = (options) => {
903
1627
  type: "apiKey"
904
1628
  }
905
1629
  ],
906
- url: "/api/v1/indexer/{id}",
1630
+ url: "/api/v1/tag/{id}",
907
1631
  ...options
908
1632
  });
909
1633
  };
910
- var putApiV1IndexerById = (options) => {
1634
+ var putApiV1TagById = (options) => {
911
1635
  return (options.client ?? client).put({
912
1636
  security: [
913
1637
  {
@@ -920,7 +1644,7 @@ var putApiV1IndexerById = (options) => {
920
1644
  type: "apiKey"
921
1645
  }
922
1646
  ],
923
- url: "/api/v1/indexer/{id}",
1647
+ url: "/api/v1/tag/{id}",
924
1648
  ...options,
925
1649
  headers: {
926
1650
  "Content-Type": "application/json",
@@ -928,7 +1652,7 @@ var putApiV1IndexerById = (options) => {
928
1652
  }
929
1653
  });
930
1654
  };
931
- var getApiV1Indexer = (options) => {
1655
+ var getApiV1Tag = (options) => {
932
1656
  return (options?.client ?? client).get({
933
1657
  security: [
934
1658
  {
@@ -941,11 +1665,11 @@ var getApiV1Indexer = (options) => {
941
1665
  type: "apiKey"
942
1666
  }
943
1667
  ],
944
- url: "/api/v1/indexer",
1668
+ url: "/api/v1/tag",
945
1669
  ...options
946
1670
  });
947
1671
  };
948
- var postApiV1Indexer = (options) => {
1672
+ var postApiV1Tag = (options) => {
949
1673
  return (options?.client ?? client).post({
950
1674
  security: [
951
1675
  {
@@ -958,7 +1682,7 @@ var postApiV1Indexer = (options) => {
958
1682
  type: "apiKey"
959
1683
  }
960
1684
  ],
961
- url: "/api/v1/indexer",
1685
+ url: "/api/v1/tag",
962
1686
  ...options,
963
1687
  headers: {
964
1688
  "Content-Type": "application/json",
@@ -966,7 +1690,24 @@ var postApiV1Indexer = (options) => {
966
1690
  }
967
1691
  });
968
1692
  };
969
- var getApiV1Search = (options) => {
1693
+ var getApiV1TagDetailById = (options) => {
1694
+ return (options.client ?? client).get({
1695
+ security: [
1696
+ {
1697
+ name: "X-Api-Key",
1698
+ type: "apiKey"
1699
+ },
1700
+ {
1701
+ in: "query",
1702
+ name: "apikey",
1703
+ type: "apiKey"
1704
+ }
1705
+ ],
1706
+ url: "/api/v1/tag/detail/{id}",
1707
+ ...options
1708
+ });
1709
+ };
1710
+ var getApiV1TagDetail = (options) => {
970
1711
  return (options?.client ?? client).get({
971
1712
  security: [
972
1713
  {
@@ -979,11 +1720,49 @@ var getApiV1Search = (options) => {
979
1720
  type: "apiKey"
980
1721
  }
981
1722
  ],
982
- url: "/api/v1/search",
1723
+ url: "/api/v1/tag/detail",
983
1724
  ...options
984
1725
  });
985
1726
  };
986
- var getApiV1SystemStatus = (options) => {
1727
+ var getApiV1ConfigUiById = (options) => {
1728
+ return (options.client ?? client).get({
1729
+ security: [
1730
+ {
1731
+ name: "X-Api-Key",
1732
+ type: "apiKey"
1733
+ },
1734
+ {
1735
+ in: "query",
1736
+ name: "apikey",
1737
+ type: "apiKey"
1738
+ }
1739
+ ],
1740
+ url: "/api/v1/config/ui/{id}",
1741
+ ...options
1742
+ });
1743
+ };
1744
+ var putApiV1ConfigUiById = (options) => {
1745
+ return (options.client ?? client).put({
1746
+ security: [
1747
+ {
1748
+ name: "X-Api-Key",
1749
+ type: "apiKey"
1750
+ },
1751
+ {
1752
+ in: "query",
1753
+ name: "apikey",
1754
+ type: "apiKey"
1755
+ }
1756
+ ],
1757
+ url: "/api/v1/config/ui/{id}",
1758
+ ...options,
1759
+ headers: {
1760
+ "Content-Type": "application/json",
1761
+ ...options.headers
1762
+ }
1763
+ });
1764
+ };
1765
+ var getApiV1ConfigUi = (options) => {
987
1766
  return (options?.client ?? client).get({
988
1767
  security: [
989
1768
  {
@@ -996,7 +1775,7 @@ var getApiV1SystemStatus = (options) => {
996
1775
  type: "apiKey"
997
1776
  }
998
1777
  ],
999
- url: "/api/v1/system/status",
1778
+ url: "/api/v1/config/ui",
1000
1779
  ...options
1001
1780
  });
1002
1781
  };
@@ -1045,6 +1824,135 @@ class ProwlarrClient {
1045
1824
  async getCommands() {
1046
1825
  return getApiV1Command();
1047
1826
  }
1827
+ async getHostConfig() {
1828
+ return getApiV1ConfigHost();
1829
+ }
1830
+ async getHostConfigById(id) {
1831
+ return getApiV1ConfigHostById({ path: { id } });
1832
+ }
1833
+ async updateHostConfig(id, config) {
1834
+ return putApiV1ConfigHostById({ path: { id: String(id) }, body: config });
1835
+ }
1836
+ async getUiConfig() {
1837
+ return getApiV1ConfigUi();
1838
+ }
1839
+ async getUiConfigById(id) {
1840
+ return getApiV1ConfigUiById({ path: { id } });
1841
+ }
1842
+ async updateUiConfig(id, config) {
1843
+ return putApiV1ConfigUiById({ path: { id: String(id) }, body: config });
1844
+ }
1845
+ async getDevelopmentConfig() {
1846
+ return getApiV1ConfigDevelopment();
1847
+ }
1848
+ async getDevelopmentConfigById(id) {
1849
+ return getApiV1ConfigDevelopmentById({ path: { id } });
1850
+ }
1851
+ async updateDevelopmentConfig(id, config) {
1852
+ return putApiV1ConfigDevelopmentById({ path: { id: String(id) }, body: config });
1853
+ }
1854
+ async restartSystem() {
1855
+ return postApiV1SystemRestart();
1856
+ }
1857
+ async shutdownSystem() {
1858
+ return postApiV1SystemShutdown();
1859
+ }
1860
+ async getSystemBackups() {
1861
+ return getApiV1SystemBackup();
1862
+ }
1863
+ async deleteSystemBackup(id) {
1864
+ return deleteApiV1SystemBackupById({ path: { id } });
1865
+ }
1866
+ async restoreSystemBackup(id) {
1867
+ return postApiV1SystemBackupRestoreById({ path: { id } });
1868
+ }
1869
+ async uploadSystemBackup() {
1870
+ return postApiV1SystemBackupRestoreUpload();
1871
+ }
1872
+ async getSystemLogs() {
1873
+ return getApiV1Log();
1874
+ }
1875
+ async getLogFiles() {
1876
+ return getApiV1LogFile();
1877
+ }
1878
+ async getLogFileByName(filename) {
1879
+ return getApiV1LogFileByFilename({ path: { filename } });
1880
+ }
1881
+ async getTags() {
1882
+ return getApiV1Tag();
1883
+ }
1884
+ async addTag(tag) {
1885
+ return postApiV1Tag({ body: tag });
1886
+ }
1887
+ async getTag(id) {
1888
+ return getApiV1TagById({ path: { id } });
1889
+ }
1890
+ async updateTag(id, tag) {
1891
+ return putApiV1TagById({ path: { id: String(id) }, body: tag });
1892
+ }
1893
+ async deleteTag(id) {
1894
+ return deleteApiV1TagById({ path: { id } });
1895
+ }
1896
+ async getTagDetails() {
1897
+ return getApiV1TagDetail();
1898
+ }
1899
+ async getTagDetailById(id) {
1900
+ return getApiV1TagDetailById({ path: { id } });
1901
+ }
1902
+ async getApplication(id) {
1903
+ return getApiV1ApplicationsById({ path: { id } });
1904
+ }
1905
+ async addApplication(application) {
1906
+ return postApiV1Applications({ body: application });
1907
+ }
1908
+ async updateApplication(id, application) {
1909
+ return putApiV1ApplicationsById({ path: { id: String(id) }, body: application });
1910
+ }
1911
+ async deleteApplication(id) {
1912
+ return deleteApiV1ApplicationsById({ path: { id } });
1913
+ }
1914
+ async testApplication(application) {
1915
+ return postApiV1ApplicationsTest({ body: application });
1916
+ }
1917
+ async testAllApplications() {
1918
+ return postApiV1ApplicationsTestall();
1919
+ }
1920
+ async getApplicationSchema() {
1921
+ return getApiV1ApplicationsSchema();
1922
+ }
1923
+ async getIndexerSchema() {
1924
+ return getApiV1IndexerSchema();
1925
+ }
1926
+ async testIndexer(indexer) {
1927
+ return postApiV1IndexerTest({ body: indexer });
1928
+ }
1929
+ async testAllIndexers() {
1930
+ return postApiV1IndexerTestall();
1931
+ }
1932
+ async getNotifications() {
1933
+ return getApiV1Notification();
1934
+ }
1935
+ async getNotification(id) {
1936
+ return getApiV1NotificationById({ path: { id } });
1937
+ }
1938
+ async addNotification(notification) {
1939
+ return postApiV1Notification({ body: notification });
1940
+ }
1941
+ async updateNotification(id, notification) {
1942
+ return putApiV1NotificationById({ path: { id: String(id) }, body: notification });
1943
+ }
1944
+ async deleteNotification(id) {
1945
+ return deleteApiV1NotificationById({ path: { id } });
1946
+ }
1947
+ async getNotificationSchema() {
1948
+ return getApiV1NotificationSchema();
1949
+ }
1950
+ async testNotification(notification) {
1951
+ return postApiV1NotificationTest({ body: notification });
1952
+ }
1953
+ async testAllNotifications() {
1954
+ return postApiV1NotificationTestall();
1955
+ }
1048
1956
  updateConfig(newConfig) {
1049
1957
  const updatedConfig = { ...this.clientConfig.config, ...newConfig };
1050
1958
  this.clientConfig = createServarrClient(updatedConfig);