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.
- package/README.md +5 -6
- package/dist/clients/lidarr.d.ts +872 -1
- package/dist/clients/lidarr.d.ts.map +1 -1
- package/dist/clients/lidarr.js +1496 -72
- package/dist/clients/prowlarr.d.ts +560 -1
- package/dist/clients/prowlarr.d.ts.map +1 -1
- package/dist/clients/prowlarr.js +929 -21
- package/dist/clients/radarr.d.ts +391 -1
- package/dist/clients/radarr.d.ts.map +1 -1
- package/dist/clients/radarr.js +624 -0
- package/dist/clients/readarr.d.ts +1093 -1
- package/dist/clients/readarr.d.ts.map +1 -1
- package/dist/clients/readarr.js +1806 -19
- package/dist/clients/sonarr.d.ts +1059 -6
- package/dist/clients/sonarr.d.ts.map +1 -1
- package/dist/clients/sonarr.js +1732 -34
- package/dist/generated/sonarr/sdk.gen.d.ts +245 -13
- package/dist/generated/sonarr/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/types.gen.d.ts +4251 -115
- package/dist/generated/sonarr/types.gen.d.ts.map +1 -1
- package/dist/index.js +16 -16
- package/dist/tsarr-1.5.0.tgz +0 -0
- package/package.json +1 -1
- package/dist/tsarr-1.3.0.tgz +0 -0
package/dist/clients/lidarr.js
CHANGED
|
@@ -1021,6 +1021,74 @@ var getApiV1ArtistLookup = (options) => {
|
|
|
1021
1021
|
...options
|
|
1022
1022
|
});
|
|
1023
1023
|
};
|
|
1024
|
+
var getApiV1SystemBackup = (options) => {
|
|
1025
|
+
return (options?.client ?? client).get({
|
|
1026
|
+
security: [
|
|
1027
|
+
{
|
|
1028
|
+
name: "X-Api-Key",
|
|
1029
|
+
type: "apiKey"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
in: "query",
|
|
1033
|
+
name: "apikey",
|
|
1034
|
+
type: "apiKey"
|
|
1035
|
+
}
|
|
1036
|
+
],
|
|
1037
|
+
url: "/api/v1/system/backup",
|
|
1038
|
+
...options
|
|
1039
|
+
});
|
|
1040
|
+
};
|
|
1041
|
+
var deleteApiV1SystemBackupById = (options) => {
|
|
1042
|
+
return (options.client ?? client).delete({
|
|
1043
|
+
security: [
|
|
1044
|
+
{
|
|
1045
|
+
name: "X-Api-Key",
|
|
1046
|
+
type: "apiKey"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
in: "query",
|
|
1050
|
+
name: "apikey",
|
|
1051
|
+
type: "apiKey"
|
|
1052
|
+
}
|
|
1053
|
+
],
|
|
1054
|
+
url: "/api/v1/system/backup/{id}",
|
|
1055
|
+
...options
|
|
1056
|
+
});
|
|
1057
|
+
};
|
|
1058
|
+
var postApiV1SystemBackupRestoreById = (options) => {
|
|
1059
|
+
return (options.client ?? client).post({
|
|
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/system/backup/restore/{id}",
|
|
1072
|
+
...options
|
|
1073
|
+
});
|
|
1074
|
+
};
|
|
1075
|
+
var postApiV1SystemBackupRestoreUpload = (options) => {
|
|
1076
|
+
return (options?.client ?? client).post({
|
|
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/system/backup/restore/upload",
|
|
1089
|
+
...options
|
|
1090
|
+
});
|
|
1091
|
+
};
|
|
1024
1092
|
var getApiV1Calendar = (options) => {
|
|
1025
1093
|
return (options?.client ?? client).get({
|
|
1026
1094
|
security: [
|
|
@@ -1034,12 +1102,1099 @@ var getApiV1Calendar = (options) => {
|
|
|
1034
1102
|
type: "apiKey"
|
|
1035
1103
|
}
|
|
1036
1104
|
],
|
|
1037
|
-
url: "/api/v1/calendar",
|
|
1105
|
+
url: "/api/v1/calendar",
|
|
1106
|
+
...options
|
|
1107
|
+
});
|
|
1108
|
+
};
|
|
1109
|
+
var getFeedV1CalendarLidarrIcs = (options) => {
|
|
1110
|
+
return (options?.client ?? client).get({
|
|
1111
|
+
security: [
|
|
1112
|
+
{
|
|
1113
|
+
name: "X-Api-Key",
|
|
1114
|
+
type: "apiKey"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
in: "query",
|
|
1118
|
+
name: "apikey",
|
|
1119
|
+
type: "apiKey"
|
|
1120
|
+
}
|
|
1121
|
+
],
|
|
1122
|
+
url: "/feed/v1/calendar/lidarr.ics",
|
|
1123
|
+
...options
|
|
1124
|
+
});
|
|
1125
|
+
};
|
|
1126
|
+
var getApiV1Command = (options) => {
|
|
1127
|
+
return (options?.client ?? client).get({
|
|
1128
|
+
security: [
|
|
1129
|
+
{
|
|
1130
|
+
name: "X-Api-Key",
|
|
1131
|
+
type: "apiKey"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
in: "query",
|
|
1135
|
+
name: "apikey",
|
|
1136
|
+
type: "apiKey"
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
url: "/api/v1/command",
|
|
1140
|
+
...options
|
|
1141
|
+
});
|
|
1142
|
+
};
|
|
1143
|
+
var postApiV1Command = (options) => {
|
|
1144
|
+
return (options?.client ?? client).post({
|
|
1145
|
+
security: [
|
|
1146
|
+
{
|
|
1147
|
+
name: "X-Api-Key",
|
|
1148
|
+
type: "apiKey"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
in: "query",
|
|
1152
|
+
name: "apikey",
|
|
1153
|
+
type: "apiKey"
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
url: "/api/v1/command",
|
|
1157
|
+
...options,
|
|
1158
|
+
headers: {
|
|
1159
|
+
"Content-Type": "application/json",
|
|
1160
|
+
...options?.headers
|
|
1161
|
+
}
|
|
1162
|
+
});
|
|
1163
|
+
};
|
|
1164
|
+
var deleteApiV1CustomformatById = (options) => {
|
|
1165
|
+
return (options.client ?? client).delete({
|
|
1166
|
+
security: [
|
|
1167
|
+
{
|
|
1168
|
+
name: "X-Api-Key",
|
|
1169
|
+
type: "apiKey"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
in: "query",
|
|
1173
|
+
name: "apikey",
|
|
1174
|
+
type: "apiKey"
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
url: "/api/v1/customformat/{id}",
|
|
1178
|
+
...options
|
|
1179
|
+
});
|
|
1180
|
+
};
|
|
1181
|
+
var getApiV1CustomformatById = (options) => {
|
|
1182
|
+
return (options.client ?? client).get({
|
|
1183
|
+
security: [
|
|
1184
|
+
{
|
|
1185
|
+
name: "X-Api-Key",
|
|
1186
|
+
type: "apiKey"
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
in: "query",
|
|
1190
|
+
name: "apikey",
|
|
1191
|
+
type: "apiKey"
|
|
1192
|
+
}
|
|
1193
|
+
],
|
|
1194
|
+
url: "/api/v1/customformat/{id}",
|
|
1195
|
+
...options
|
|
1196
|
+
});
|
|
1197
|
+
};
|
|
1198
|
+
var putApiV1CustomformatById = (options) => {
|
|
1199
|
+
return (options.client ?? client).put({
|
|
1200
|
+
security: [
|
|
1201
|
+
{
|
|
1202
|
+
name: "X-Api-Key",
|
|
1203
|
+
type: "apiKey"
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
in: "query",
|
|
1207
|
+
name: "apikey",
|
|
1208
|
+
type: "apiKey"
|
|
1209
|
+
}
|
|
1210
|
+
],
|
|
1211
|
+
url: "/api/v1/customformat/{id}",
|
|
1212
|
+
...options,
|
|
1213
|
+
headers: {
|
|
1214
|
+
"Content-Type": "application/json",
|
|
1215
|
+
...options.headers
|
|
1216
|
+
}
|
|
1217
|
+
});
|
|
1218
|
+
};
|
|
1219
|
+
var getApiV1Customformat = (options) => {
|
|
1220
|
+
return (options?.client ?? client).get({
|
|
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/customformat",
|
|
1233
|
+
...options
|
|
1234
|
+
});
|
|
1235
|
+
};
|
|
1236
|
+
var postApiV1Customformat = (options) => {
|
|
1237
|
+
return (options?.client ?? client).post({
|
|
1238
|
+
security: [
|
|
1239
|
+
{
|
|
1240
|
+
name: "X-Api-Key",
|
|
1241
|
+
type: "apiKey"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
in: "query",
|
|
1245
|
+
name: "apikey",
|
|
1246
|
+
type: "apiKey"
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
url: "/api/v1/customformat",
|
|
1250
|
+
...options,
|
|
1251
|
+
headers: {
|
|
1252
|
+
"Content-Type": "application/json",
|
|
1253
|
+
...options?.headers
|
|
1254
|
+
}
|
|
1255
|
+
});
|
|
1256
|
+
};
|
|
1257
|
+
var deleteApiV1CustomformatBulk = (options) => {
|
|
1258
|
+
return (options?.client ?? client).delete({
|
|
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/customformat/bulk",
|
|
1271
|
+
...options,
|
|
1272
|
+
headers: {
|
|
1273
|
+
"Content-Type": "application/json",
|
|
1274
|
+
...options?.headers
|
|
1275
|
+
}
|
|
1276
|
+
});
|
|
1277
|
+
};
|
|
1278
|
+
var putApiV1CustomformatBulk = (options) => {
|
|
1279
|
+
return (options?.client ?? client).put({
|
|
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/customformat/bulk",
|
|
1292
|
+
...options,
|
|
1293
|
+
headers: {
|
|
1294
|
+
"Content-Type": "application/json",
|
|
1295
|
+
...options?.headers
|
|
1296
|
+
}
|
|
1297
|
+
});
|
|
1298
|
+
};
|
|
1299
|
+
var getApiV1CustomformatSchema = (options) => {
|
|
1300
|
+
return (options?.client ?? client).get({
|
|
1301
|
+
security: [
|
|
1302
|
+
{
|
|
1303
|
+
name: "X-Api-Key",
|
|
1304
|
+
type: "apiKey"
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
in: "query",
|
|
1308
|
+
name: "apikey",
|
|
1309
|
+
type: "apiKey"
|
|
1310
|
+
}
|
|
1311
|
+
],
|
|
1312
|
+
url: "/api/v1/customformat/schema",
|
|
1313
|
+
...options
|
|
1314
|
+
});
|
|
1315
|
+
};
|
|
1316
|
+
var getApiV1Diskspace = (options) => {
|
|
1317
|
+
return (options?.client ?? client).get({
|
|
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/diskspace",
|
|
1330
|
+
...options
|
|
1331
|
+
});
|
|
1332
|
+
};
|
|
1333
|
+
var deleteApiV1DownloadclientById = (options) => {
|
|
1334
|
+
return (options.client ?? client).delete({
|
|
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/downloadclient/{id}",
|
|
1347
|
+
...options
|
|
1348
|
+
});
|
|
1349
|
+
};
|
|
1350
|
+
var getApiV1DownloadclientById = (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/downloadclient/{id}",
|
|
1364
|
+
...options
|
|
1365
|
+
});
|
|
1366
|
+
};
|
|
1367
|
+
var putApiV1DownloadclientById = (options) => {
|
|
1368
|
+
return (options.client ?? client).put({
|
|
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/downloadclient/{id}",
|
|
1381
|
+
...options,
|
|
1382
|
+
headers: {
|
|
1383
|
+
"Content-Type": "application/json",
|
|
1384
|
+
...options.headers
|
|
1385
|
+
}
|
|
1386
|
+
});
|
|
1387
|
+
};
|
|
1388
|
+
var getApiV1Downloadclient = (options) => {
|
|
1389
|
+
return (options?.client ?? client).get({
|
|
1390
|
+
security: [
|
|
1391
|
+
{
|
|
1392
|
+
name: "X-Api-Key",
|
|
1393
|
+
type: "apiKey"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
in: "query",
|
|
1397
|
+
name: "apikey",
|
|
1398
|
+
type: "apiKey"
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
url: "/api/v1/downloadclient",
|
|
1402
|
+
...options
|
|
1403
|
+
});
|
|
1404
|
+
};
|
|
1405
|
+
var postApiV1Downloadclient = (options) => {
|
|
1406
|
+
return (options?.client ?? client).post({
|
|
1407
|
+
security: [
|
|
1408
|
+
{
|
|
1409
|
+
name: "X-Api-Key",
|
|
1410
|
+
type: "apiKey"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
in: "query",
|
|
1414
|
+
name: "apikey",
|
|
1415
|
+
type: "apiKey"
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
url: "/api/v1/downloadclient",
|
|
1419
|
+
...options,
|
|
1420
|
+
headers: {
|
|
1421
|
+
"Content-Type": "application/json",
|
|
1422
|
+
...options?.headers
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
};
|
|
1426
|
+
var deleteApiV1DownloadclientBulk = (options) => {
|
|
1427
|
+
return (options?.client ?? client).delete({
|
|
1428
|
+
security: [
|
|
1429
|
+
{
|
|
1430
|
+
name: "X-Api-Key",
|
|
1431
|
+
type: "apiKey"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
in: "query",
|
|
1435
|
+
name: "apikey",
|
|
1436
|
+
type: "apiKey"
|
|
1437
|
+
}
|
|
1438
|
+
],
|
|
1439
|
+
url: "/api/v1/downloadclient/bulk",
|
|
1440
|
+
...options,
|
|
1441
|
+
headers: {
|
|
1442
|
+
"Content-Type": "application/json",
|
|
1443
|
+
...options?.headers
|
|
1444
|
+
}
|
|
1445
|
+
});
|
|
1446
|
+
};
|
|
1447
|
+
var putApiV1DownloadclientBulk = (options) => {
|
|
1448
|
+
return (options?.client ?? client).put({
|
|
1449
|
+
security: [
|
|
1450
|
+
{
|
|
1451
|
+
name: "X-Api-Key",
|
|
1452
|
+
type: "apiKey"
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
in: "query",
|
|
1456
|
+
name: "apikey",
|
|
1457
|
+
type: "apiKey"
|
|
1458
|
+
}
|
|
1459
|
+
],
|
|
1460
|
+
url: "/api/v1/downloadclient/bulk",
|
|
1461
|
+
...options,
|
|
1462
|
+
headers: {
|
|
1463
|
+
"Content-Type": "application/json",
|
|
1464
|
+
...options?.headers
|
|
1465
|
+
}
|
|
1466
|
+
});
|
|
1467
|
+
};
|
|
1468
|
+
var getApiV1DownloadclientSchema = (options) => {
|
|
1469
|
+
return (options?.client ?? client).get({
|
|
1470
|
+
security: [
|
|
1471
|
+
{
|
|
1472
|
+
name: "X-Api-Key",
|
|
1473
|
+
type: "apiKey"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
in: "query",
|
|
1477
|
+
name: "apikey",
|
|
1478
|
+
type: "apiKey"
|
|
1479
|
+
}
|
|
1480
|
+
],
|
|
1481
|
+
url: "/api/v1/downloadclient/schema",
|
|
1482
|
+
...options
|
|
1483
|
+
});
|
|
1484
|
+
};
|
|
1485
|
+
var postApiV1DownloadclientTest = (options) => {
|
|
1486
|
+
return (options?.client ?? client).post({
|
|
1487
|
+
security: [
|
|
1488
|
+
{
|
|
1489
|
+
name: "X-Api-Key",
|
|
1490
|
+
type: "apiKey"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
in: "query",
|
|
1494
|
+
name: "apikey",
|
|
1495
|
+
type: "apiKey"
|
|
1496
|
+
}
|
|
1497
|
+
],
|
|
1498
|
+
url: "/api/v1/downloadclient/test",
|
|
1499
|
+
...options,
|
|
1500
|
+
headers: {
|
|
1501
|
+
"Content-Type": "application/json",
|
|
1502
|
+
...options?.headers
|
|
1503
|
+
}
|
|
1504
|
+
});
|
|
1505
|
+
};
|
|
1506
|
+
var postApiV1DownloadclientTestall = (options) => {
|
|
1507
|
+
return (options?.client ?? client).post({
|
|
1508
|
+
security: [
|
|
1509
|
+
{
|
|
1510
|
+
name: "X-Api-Key",
|
|
1511
|
+
type: "apiKey"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
in: "query",
|
|
1515
|
+
name: "apikey",
|
|
1516
|
+
type: "apiKey"
|
|
1517
|
+
}
|
|
1518
|
+
],
|
|
1519
|
+
url: "/api/v1/downloadclient/testall",
|
|
1520
|
+
...options
|
|
1521
|
+
});
|
|
1522
|
+
};
|
|
1523
|
+
var getApiV1Health = (options) => {
|
|
1524
|
+
return (options?.client ?? client).get({
|
|
1525
|
+
security: [
|
|
1526
|
+
{
|
|
1527
|
+
name: "X-Api-Key",
|
|
1528
|
+
type: "apiKey"
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
in: "query",
|
|
1532
|
+
name: "apikey",
|
|
1533
|
+
type: "apiKey"
|
|
1534
|
+
}
|
|
1535
|
+
],
|
|
1536
|
+
url: "/api/v1/health",
|
|
1537
|
+
...options
|
|
1538
|
+
});
|
|
1539
|
+
};
|
|
1540
|
+
var getApiV1ConfigHostById = (options) => {
|
|
1541
|
+
return (options.client ?? client).get({
|
|
1542
|
+
security: [
|
|
1543
|
+
{
|
|
1544
|
+
name: "X-Api-Key",
|
|
1545
|
+
type: "apiKey"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
in: "query",
|
|
1549
|
+
name: "apikey",
|
|
1550
|
+
type: "apiKey"
|
|
1551
|
+
}
|
|
1552
|
+
],
|
|
1553
|
+
url: "/api/v1/config/host/{id}",
|
|
1554
|
+
...options
|
|
1555
|
+
});
|
|
1556
|
+
};
|
|
1557
|
+
var putApiV1ConfigHostById = (options) => {
|
|
1558
|
+
return (options.client ?? client).put({
|
|
1559
|
+
security: [
|
|
1560
|
+
{
|
|
1561
|
+
name: "X-Api-Key",
|
|
1562
|
+
type: "apiKey"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
in: "query",
|
|
1566
|
+
name: "apikey",
|
|
1567
|
+
type: "apiKey"
|
|
1568
|
+
}
|
|
1569
|
+
],
|
|
1570
|
+
url: "/api/v1/config/host/{id}",
|
|
1571
|
+
...options,
|
|
1572
|
+
headers: {
|
|
1573
|
+
"Content-Type": "application/json",
|
|
1574
|
+
...options.headers
|
|
1575
|
+
}
|
|
1576
|
+
});
|
|
1577
|
+
};
|
|
1578
|
+
var getApiV1ConfigHost = (options) => {
|
|
1579
|
+
return (options?.client ?? client).get({
|
|
1580
|
+
security: [
|
|
1581
|
+
{
|
|
1582
|
+
name: "X-Api-Key",
|
|
1583
|
+
type: "apiKey"
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
in: "query",
|
|
1587
|
+
name: "apikey",
|
|
1588
|
+
type: "apiKey"
|
|
1589
|
+
}
|
|
1590
|
+
],
|
|
1591
|
+
url: "/api/v1/config/host",
|
|
1592
|
+
...options
|
|
1593
|
+
});
|
|
1594
|
+
};
|
|
1595
|
+
var deleteApiV1ImportlistById = (options) => {
|
|
1596
|
+
return (options.client ?? client).delete({
|
|
1597
|
+
security: [
|
|
1598
|
+
{
|
|
1599
|
+
name: "X-Api-Key",
|
|
1600
|
+
type: "apiKey"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
in: "query",
|
|
1604
|
+
name: "apikey",
|
|
1605
|
+
type: "apiKey"
|
|
1606
|
+
}
|
|
1607
|
+
],
|
|
1608
|
+
url: "/api/v1/importlist/{id}",
|
|
1609
|
+
...options
|
|
1610
|
+
});
|
|
1611
|
+
};
|
|
1612
|
+
var getApiV1ImportlistById = (options) => {
|
|
1613
|
+
return (options.client ?? client).get({
|
|
1614
|
+
security: [
|
|
1615
|
+
{
|
|
1616
|
+
name: "X-Api-Key",
|
|
1617
|
+
type: "apiKey"
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
in: "query",
|
|
1621
|
+
name: "apikey",
|
|
1622
|
+
type: "apiKey"
|
|
1623
|
+
}
|
|
1624
|
+
],
|
|
1625
|
+
url: "/api/v1/importlist/{id}",
|
|
1626
|
+
...options
|
|
1627
|
+
});
|
|
1628
|
+
};
|
|
1629
|
+
var putApiV1ImportlistById = (options) => {
|
|
1630
|
+
return (options.client ?? client).put({
|
|
1631
|
+
security: [
|
|
1632
|
+
{
|
|
1633
|
+
name: "X-Api-Key",
|
|
1634
|
+
type: "apiKey"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
in: "query",
|
|
1638
|
+
name: "apikey",
|
|
1639
|
+
type: "apiKey"
|
|
1640
|
+
}
|
|
1641
|
+
],
|
|
1642
|
+
url: "/api/v1/importlist/{id}",
|
|
1643
|
+
...options,
|
|
1644
|
+
headers: {
|
|
1645
|
+
"Content-Type": "application/json",
|
|
1646
|
+
...options.headers
|
|
1647
|
+
}
|
|
1648
|
+
});
|
|
1649
|
+
};
|
|
1650
|
+
var getApiV1Importlist = (options) => {
|
|
1651
|
+
return (options?.client ?? client).get({
|
|
1652
|
+
security: [
|
|
1653
|
+
{
|
|
1654
|
+
name: "X-Api-Key",
|
|
1655
|
+
type: "apiKey"
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
in: "query",
|
|
1659
|
+
name: "apikey",
|
|
1660
|
+
type: "apiKey"
|
|
1661
|
+
}
|
|
1662
|
+
],
|
|
1663
|
+
url: "/api/v1/importlist",
|
|
1664
|
+
...options
|
|
1665
|
+
});
|
|
1666
|
+
};
|
|
1667
|
+
var postApiV1Importlist = (options) => {
|
|
1668
|
+
return (options?.client ?? client).post({
|
|
1669
|
+
security: [
|
|
1670
|
+
{
|
|
1671
|
+
name: "X-Api-Key",
|
|
1672
|
+
type: "apiKey"
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
in: "query",
|
|
1676
|
+
name: "apikey",
|
|
1677
|
+
type: "apiKey"
|
|
1678
|
+
}
|
|
1679
|
+
],
|
|
1680
|
+
url: "/api/v1/importlist",
|
|
1681
|
+
...options,
|
|
1682
|
+
headers: {
|
|
1683
|
+
"Content-Type": "application/json",
|
|
1684
|
+
...options?.headers
|
|
1685
|
+
}
|
|
1686
|
+
});
|
|
1687
|
+
};
|
|
1688
|
+
var getApiV1ImportlistSchema = (options) => {
|
|
1689
|
+
return (options?.client ?? client).get({
|
|
1690
|
+
security: [
|
|
1691
|
+
{
|
|
1692
|
+
name: "X-Api-Key",
|
|
1693
|
+
type: "apiKey"
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
in: "query",
|
|
1697
|
+
name: "apikey",
|
|
1698
|
+
type: "apiKey"
|
|
1699
|
+
}
|
|
1700
|
+
],
|
|
1701
|
+
url: "/api/v1/importlist/schema",
|
|
1702
|
+
...options
|
|
1703
|
+
});
|
|
1704
|
+
};
|
|
1705
|
+
var postApiV1ImportlistTest = (options) => {
|
|
1706
|
+
return (options?.client ?? client).post({
|
|
1707
|
+
security: [
|
|
1708
|
+
{
|
|
1709
|
+
name: "X-Api-Key",
|
|
1710
|
+
type: "apiKey"
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
in: "query",
|
|
1714
|
+
name: "apikey",
|
|
1715
|
+
type: "apiKey"
|
|
1716
|
+
}
|
|
1717
|
+
],
|
|
1718
|
+
url: "/api/v1/importlist/test",
|
|
1719
|
+
...options,
|
|
1720
|
+
headers: {
|
|
1721
|
+
"Content-Type": "application/json",
|
|
1722
|
+
...options?.headers
|
|
1723
|
+
}
|
|
1724
|
+
});
|
|
1725
|
+
};
|
|
1726
|
+
var postApiV1ImportlistTestall = (options) => {
|
|
1727
|
+
return (options?.client ?? client).post({
|
|
1728
|
+
security: [
|
|
1729
|
+
{
|
|
1730
|
+
name: "X-Api-Key",
|
|
1731
|
+
type: "apiKey"
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
in: "query",
|
|
1735
|
+
name: "apikey",
|
|
1736
|
+
type: "apiKey"
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
url: "/api/v1/importlist/testall",
|
|
1740
|
+
...options
|
|
1741
|
+
});
|
|
1742
|
+
};
|
|
1743
|
+
var deleteApiV1IndexerById = (options) => {
|
|
1744
|
+
return (options.client ?? client).delete({
|
|
1745
|
+
security: [
|
|
1746
|
+
{
|
|
1747
|
+
name: "X-Api-Key",
|
|
1748
|
+
type: "apiKey"
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
in: "query",
|
|
1752
|
+
name: "apikey",
|
|
1753
|
+
type: "apiKey"
|
|
1754
|
+
}
|
|
1755
|
+
],
|
|
1756
|
+
url: "/api/v1/indexer/{id}",
|
|
1757
|
+
...options
|
|
1758
|
+
});
|
|
1759
|
+
};
|
|
1760
|
+
var getApiV1IndexerById = (options) => {
|
|
1761
|
+
return (options.client ?? client).get({
|
|
1762
|
+
security: [
|
|
1763
|
+
{
|
|
1764
|
+
name: "X-Api-Key",
|
|
1765
|
+
type: "apiKey"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
in: "query",
|
|
1769
|
+
name: "apikey",
|
|
1770
|
+
type: "apiKey"
|
|
1771
|
+
}
|
|
1772
|
+
],
|
|
1773
|
+
url: "/api/v1/indexer/{id}",
|
|
1774
|
+
...options
|
|
1775
|
+
});
|
|
1776
|
+
};
|
|
1777
|
+
var putApiV1IndexerById = (options) => {
|
|
1778
|
+
return (options.client ?? client).put({
|
|
1779
|
+
security: [
|
|
1780
|
+
{
|
|
1781
|
+
name: "X-Api-Key",
|
|
1782
|
+
type: "apiKey"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
in: "query",
|
|
1786
|
+
name: "apikey",
|
|
1787
|
+
type: "apiKey"
|
|
1788
|
+
}
|
|
1789
|
+
],
|
|
1790
|
+
url: "/api/v1/indexer/{id}",
|
|
1791
|
+
...options,
|
|
1792
|
+
headers: {
|
|
1793
|
+
"Content-Type": "application/json",
|
|
1794
|
+
...options.headers
|
|
1795
|
+
}
|
|
1796
|
+
});
|
|
1797
|
+
};
|
|
1798
|
+
var getApiV1Indexer = (options) => {
|
|
1799
|
+
return (options?.client ?? client).get({
|
|
1800
|
+
security: [
|
|
1801
|
+
{
|
|
1802
|
+
name: "X-Api-Key",
|
|
1803
|
+
type: "apiKey"
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
in: "query",
|
|
1807
|
+
name: "apikey",
|
|
1808
|
+
type: "apiKey"
|
|
1809
|
+
}
|
|
1810
|
+
],
|
|
1811
|
+
url: "/api/v1/indexer",
|
|
1812
|
+
...options
|
|
1813
|
+
});
|
|
1814
|
+
};
|
|
1815
|
+
var postApiV1Indexer = (options) => {
|
|
1816
|
+
return (options?.client ?? client).post({
|
|
1817
|
+
security: [
|
|
1818
|
+
{
|
|
1819
|
+
name: "X-Api-Key",
|
|
1820
|
+
type: "apiKey"
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
in: "query",
|
|
1824
|
+
name: "apikey",
|
|
1825
|
+
type: "apiKey"
|
|
1826
|
+
}
|
|
1827
|
+
],
|
|
1828
|
+
url: "/api/v1/indexer",
|
|
1829
|
+
...options,
|
|
1830
|
+
headers: {
|
|
1831
|
+
"Content-Type": "application/json",
|
|
1832
|
+
...options?.headers
|
|
1833
|
+
}
|
|
1834
|
+
});
|
|
1835
|
+
};
|
|
1836
|
+
var getApiV1IndexerSchema = (options) => {
|
|
1837
|
+
return (options?.client ?? client).get({
|
|
1838
|
+
security: [
|
|
1839
|
+
{
|
|
1840
|
+
name: "X-Api-Key",
|
|
1841
|
+
type: "apiKey"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
in: "query",
|
|
1845
|
+
name: "apikey",
|
|
1846
|
+
type: "apiKey"
|
|
1847
|
+
}
|
|
1848
|
+
],
|
|
1849
|
+
url: "/api/v1/indexer/schema",
|
|
1850
|
+
...options
|
|
1851
|
+
});
|
|
1852
|
+
};
|
|
1853
|
+
var postApiV1IndexerTest = (options) => {
|
|
1854
|
+
return (options?.client ?? client).post({
|
|
1855
|
+
security: [
|
|
1856
|
+
{
|
|
1857
|
+
name: "X-Api-Key",
|
|
1858
|
+
type: "apiKey"
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
in: "query",
|
|
1862
|
+
name: "apikey",
|
|
1863
|
+
type: "apiKey"
|
|
1864
|
+
}
|
|
1865
|
+
],
|
|
1866
|
+
url: "/api/v1/indexer/test",
|
|
1867
|
+
...options,
|
|
1868
|
+
headers: {
|
|
1869
|
+
"Content-Type": "application/json",
|
|
1870
|
+
...options?.headers
|
|
1871
|
+
}
|
|
1872
|
+
});
|
|
1873
|
+
};
|
|
1874
|
+
var postApiV1IndexerTestall = (options) => {
|
|
1875
|
+
return (options?.client ?? client).post({
|
|
1876
|
+
security: [
|
|
1877
|
+
{
|
|
1878
|
+
name: "X-Api-Key",
|
|
1879
|
+
type: "apiKey"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
in: "query",
|
|
1883
|
+
name: "apikey",
|
|
1884
|
+
type: "apiKey"
|
|
1885
|
+
}
|
|
1886
|
+
],
|
|
1887
|
+
url: "/api/v1/indexer/testall",
|
|
1888
|
+
...options
|
|
1889
|
+
});
|
|
1890
|
+
};
|
|
1891
|
+
var getApiV1Log = (options) => {
|
|
1892
|
+
return (options?.client ?? client).get({
|
|
1893
|
+
security: [
|
|
1894
|
+
{
|
|
1895
|
+
name: "X-Api-Key",
|
|
1896
|
+
type: "apiKey"
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
in: "query",
|
|
1900
|
+
name: "apikey",
|
|
1901
|
+
type: "apiKey"
|
|
1902
|
+
}
|
|
1903
|
+
],
|
|
1904
|
+
url: "/api/v1/log",
|
|
1905
|
+
...options
|
|
1906
|
+
});
|
|
1907
|
+
};
|
|
1908
|
+
var getApiV1LogFile = (options) => {
|
|
1909
|
+
return (options?.client ?? client).get({
|
|
1910
|
+
security: [
|
|
1911
|
+
{
|
|
1912
|
+
name: "X-Api-Key",
|
|
1913
|
+
type: "apiKey"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
in: "query",
|
|
1917
|
+
name: "apikey",
|
|
1918
|
+
type: "apiKey"
|
|
1919
|
+
}
|
|
1920
|
+
],
|
|
1921
|
+
url: "/api/v1/log/file",
|
|
1922
|
+
...options
|
|
1923
|
+
});
|
|
1924
|
+
};
|
|
1925
|
+
var getApiV1LogFileByFilename = (options) => {
|
|
1926
|
+
return (options.client ?? client).get({
|
|
1927
|
+
security: [
|
|
1928
|
+
{
|
|
1929
|
+
name: "X-Api-Key",
|
|
1930
|
+
type: "apiKey"
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
in: "query",
|
|
1934
|
+
name: "apikey",
|
|
1935
|
+
type: "apiKey"
|
|
1936
|
+
}
|
|
1937
|
+
],
|
|
1938
|
+
url: "/api/v1/log/file/{filename}",
|
|
1939
|
+
...options
|
|
1940
|
+
});
|
|
1941
|
+
};
|
|
1942
|
+
var getApiV1ConfigMediamanagementById = (options) => {
|
|
1943
|
+
return (options.client ?? client).get({
|
|
1944
|
+
security: [
|
|
1945
|
+
{
|
|
1946
|
+
name: "X-Api-Key",
|
|
1947
|
+
type: "apiKey"
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
in: "query",
|
|
1951
|
+
name: "apikey",
|
|
1952
|
+
type: "apiKey"
|
|
1953
|
+
}
|
|
1954
|
+
],
|
|
1955
|
+
url: "/api/v1/config/mediamanagement/{id}",
|
|
1956
|
+
...options
|
|
1957
|
+
});
|
|
1958
|
+
};
|
|
1959
|
+
var putApiV1ConfigMediamanagementById = (options) => {
|
|
1960
|
+
return (options.client ?? client).put({
|
|
1961
|
+
security: [
|
|
1962
|
+
{
|
|
1963
|
+
name: "X-Api-Key",
|
|
1964
|
+
type: "apiKey"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
in: "query",
|
|
1968
|
+
name: "apikey",
|
|
1969
|
+
type: "apiKey"
|
|
1970
|
+
}
|
|
1971
|
+
],
|
|
1972
|
+
url: "/api/v1/config/mediamanagement/{id}",
|
|
1973
|
+
...options,
|
|
1974
|
+
headers: {
|
|
1975
|
+
"Content-Type": "application/json",
|
|
1976
|
+
...options.headers
|
|
1977
|
+
}
|
|
1978
|
+
});
|
|
1979
|
+
};
|
|
1980
|
+
var getApiV1ConfigMediamanagement = (options) => {
|
|
1981
|
+
return (options?.client ?? client).get({
|
|
1982
|
+
security: [
|
|
1983
|
+
{
|
|
1984
|
+
name: "X-Api-Key",
|
|
1985
|
+
type: "apiKey"
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
in: "query",
|
|
1989
|
+
name: "apikey",
|
|
1990
|
+
type: "apiKey"
|
|
1991
|
+
}
|
|
1992
|
+
],
|
|
1993
|
+
url: "/api/v1/config/mediamanagement",
|
|
1994
|
+
...options
|
|
1995
|
+
});
|
|
1996
|
+
};
|
|
1997
|
+
var getApiV1ConfigMetadataproviderById = (options) => {
|
|
1998
|
+
return (options.client ?? client).get({
|
|
1999
|
+
security: [
|
|
2000
|
+
{
|
|
2001
|
+
name: "X-Api-Key",
|
|
2002
|
+
type: "apiKey"
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
in: "query",
|
|
2006
|
+
name: "apikey",
|
|
2007
|
+
type: "apiKey"
|
|
2008
|
+
}
|
|
2009
|
+
],
|
|
2010
|
+
url: "/api/v1/config/metadataprovider/{id}",
|
|
2011
|
+
...options
|
|
2012
|
+
});
|
|
2013
|
+
};
|
|
2014
|
+
var putApiV1ConfigMetadataproviderById = (options) => {
|
|
2015
|
+
return (options.client ?? client).put({
|
|
2016
|
+
security: [
|
|
2017
|
+
{
|
|
2018
|
+
name: "X-Api-Key",
|
|
2019
|
+
type: "apiKey"
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
in: "query",
|
|
2023
|
+
name: "apikey",
|
|
2024
|
+
type: "apiKey"
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2027
|
+
url: "/api/v1/config/metadataprovider/{id}",
|
|
2028
|
+
...options,
|
|
2029
|
+
headers: {
|
|
2030
|
+
"Content-Type": "application/json",
|
|
2031
|
+
...options.headers
|
|
2032
|
+
}
|
|
2033
|
+
});
|
|
2034
|
+
};
|
|
2035
|
+
var getApiV1ConfigMetadataprovider = (options) => {
|
|
2036
|
+
return (options?.client ?? client).get({
|
|
2037
|
+
security: [
|
|
2038
|
+
{
|
|
2039
|
+
name: "X-Api-Key",
|
|
2040
|
+
type: "apiKey"
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
in: "query",
|
|
2044
|
+
name: "apikey",
|
|
2045
|
+
type: "apiKey"
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
url: "/api/v1/config/metadataprovider",
|
|
2049
|
+
...options
|
|
2050
|
+
});
|
|
2051
|
+
};
|
|
2052
|
+
var getApiV1ConfigNamingById = (options) => {
|
|
2053
|
+
return (options.client ?? client).get({
|
|
2054
|
+
security: [
|
|
2055
|
+
{
|
|
2056
|
+
name: "X-Api-Key",
|
|
2057
|
+
type: "apiKey"
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
in: "query",
|
|
2061
|
+
name: "apikey",
|
|
2062
|
+
type: "apiKey"
|
|
2063
|
+
}
|
|
2064
|
+
],
|
|
2065
|
+
url: "/api/v1/config/naming/{id}",
|
|
2066
|
+
...options
|
|
2067
|
+
});
|
|
2068
|
+
};
|
|
2069
|
+
var putApiV1ConfigNamingById = (options) => {
|
|
2070
|
+
return (options.client ?? client).put({
|
|
2071
|
+
security: [
|
|
2072
|
+
{
|
|
2073
|
+
name: "X-Api-Key",
|
|
2074
|
+
type: "apiKey"
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
in: "query",
|
|
2078
|
+
name: "apikey",
|
|
2079
|
+
type: "apiKey"
|
|
2080
|
+
}
|
|
2081
|
+
],
|
|
2082
|
+
url: "/api/v1/config/naming/{id}",
|
|
2083
|
+
...options,
|
|
2084
|
+
headers: {
|
|
2085
|
+
"Content-Type": "application/json",
|
|
2086
|
+
...options.headers
|
|
2087
|
+
}
|
|
2088
|
+
});
|
|
2089
|
+
};
|
|
2090
|
+
var getApiV1ConfigNaming = (options) => {
|
|
2091
|
+
return (options?.client ?? client).get({
|
|
2092
|
+
security: [
|
|
2093
|
+
{
|
|
2094
|
+
name: "X-Api-Key",
|
|
2095
|
+
type: "apiKey"
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
in: "query",
|
|
2099
|
+
name: "apikey",
|
|
2100
|
+
type: "apiKey"
|
|
2101
|
+
}
|
|
2102
|
+
],
|
|
2103
|
+
url: "/api/v1/config/naming",
|
|
2104
|
+
...options
|
|
2105
|
+
});
|
|
2106
|
+
};
|
|
2107
|
+
var getApiV1ConfigNamingExamples = (options) => {
|
|
2108
|
+
return (options?.client ?? client).get({
|
|
2109
|
+
security: [
|
|
2110
|
+
{
|
|
2111
|
+
name: "X-Api-Key",
|
|
2112
|
+
type: "apiKey"
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
in: "query",
|
|
2116
|
+
name: "apikey",
|
|
2117
|
+
type: "apiKey"
|
|
2118
|
+
}
|
|
2119
|
+
],
|
|
2120
|
+
url: "/api/v1/config/naming/examples",
|
|
2121
|
+
...options
|
|
2122
|
+
});
|
|
2123
|
+
};
|
|
2124
|
+
var deleteApiV1NotificationById = (options) => {
|
|
2125
|
+
return (options.client ?? client).delete({
|
|
2126
|
+
security: [
|
|
2127
|
+
{
|
|
2128
|
+
name: "X-Api-Key",
|
|
2129
|
+
type: "apiKey"
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
in: "query",
|
|
2133
|
+
name: "apikey",
|
|
2134
|
+
type: "apiKey"
|
|
2135
|
+
}
|
|
2136
|
+
],
|
|
2137
|
+
url: "/api/v1/notification/{id}",
|
|
2138
|
+
...options
|
|
2139
|
+
});
|
|
2140
|
+
};
|
|
2141
|
+
var getApiV1NotificationById = (options) => {
|
|
2142
|
+
return (options.client ?? client).get({
|
|
2143
|
+
security: [
|
|
2144
|
+
{
|
|
2145
|
+
name: "X-Api-Key",
|
|
2146
|
+
type: "apiKey"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
in: "query",
|
|
2150
|
+
name: "apikey",
|
|
2151
|
+
type: "apiKey"
|
|
2152
|
+
}
|
|
2153
|
+
],
|
|
2154
|
+
url: "/api/v1/notification/{id}",
|
|
2155
|
+
...options
|
|
2156
|
+
});
|
|
2157
|
+
};
|
|
2158
|
+
var putApiV1NotificationById = (options) => {
|
|
2159
|
+
return (options.client ?? client).put({
|
|
2160
|
+
security: [
|
|
2161
|
+
{
|
|
2162
|
+
name: "X-Api-Key",
|
|
2163
|
+
type: "apiKey"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
in: "query",
|
|
2167
|
+
name: "apikey",
|
|
2168
|
+
type: "apiKey"
|
|
2169
|
+
}
|
|
2170
|
+
],
|
|
2171
|
+
url: "/api/v1/notification/{id}",
|
|
2172
|
+
...options,
|
|
2173
|
+
headers: {
|
|
2174
|
+
"Content-Type": "application/json",
|
|
2175
|
+
...options.headers
|
|
2176
|
+
}
|
|
2177
|
+
});
|
|
2178
|
+
};
|
|
2179
|
+
var getApiV1Notification = (options) => {
|
|
2180
|
+
return (options?.client ?? client).get({
|
|
2181
|
+
security: [
|
|
2182
|
+
{
|
|
2183
|
+
name: "X-Api-Key",
|
|
2184
|
+
type: "apiKey"
|
|
2185
|
+
},
|
|
2186
|
+
{
|
|
2187
|
+
in: "query",
|
|
2188
|
+
name: "apikey",
|
|
2189
|
+
type: "apiKey"
|
|
2190
|
+
}
|
|
2191
|
+
],
|
|
2192
|
+
url: "/api/v1/notification",
|
|
1038
2193
|
...options
|
|
1039
2194
|
});
|
|
1040
2195
|
};
|
|
1041
|
-
var
|
|
1042
|
-
return (options?.client ?? client).
|
|
2196
|
+
var postApiV1Notification = (options) => {
|
|
2197
|
+
return (options?.client ?? client).post({
|
|
1043
2198
|
security: [
|
|
1044
2199
|
{
|
|
1045
2200
|
name: "X-Api-Key",
|
|
@@ -1051,11 +2206,15 @@ var getFeedV1CalendarLidarrIcs = (options) => {
|
|
|
1051
2206
|
type: "apiKey"
|
|
1052
2207
|
}
|
|
1053
2208
|
],
|
|
1054
|
-
url: "/
|
|
1055
|
-
...options
|
|
2209
|
+
url: "/api/v1/notification",
|
|
2210
|
+
...options,
|
|
2211
|
+
headers: {
|
|
2212
|
+
"Content-Type": "application/json",
|
|
2213
|
+
...options?.headers
|
|
2214
|
+
}
|
|
1056
2215
|
});
|
|
1057
2216
|
};
|
|
1058
|
-
var
|
|
2217
|
+
var getApiV1NotificationSchema = (options) => {
|
|
1059
2218
|
return (options?.client ?? client).get({
|
|
1060
2219
|
security: [
|
|
1061
2220
|
{
|
|
@@ -1068,11 +2227,11 @@ var getApiV1Command = (options) => {
|
|
|
1068
2227
|
type: "apiKey"
|
|
1069
2228
|
}
|
|
1070
2229
|
],
|
|
1071
|
-
url: "/api/v1/
|
|
2230
|
+
url: "/api/v1/notification/schema",
|
|
1072
2231
|
...options
|
|
1073
2232
|
});
|
|
1074
2233
|
};
|
|
1075
|
-
var
|
|
2234
|
+
var postApiV1NotificationTest = (options) => {
|
|
1076
2235
|
return (options?.client ?? client).post({
|
|
1077
2236
|
security: [
|
|
1078
2237
|
{
|
|
@@ -1085,7 +2244,7 @@ var postApiV1Command = (options) => {
|
|
|
1085
2244
|
type: "apiKey"
|
|
1086
2245
|
}
|
|
1087
2246
|
],
|
|
1088
|
-
url: "/api/v1/
|
|
2247
|
+
url: "/api/v1/notification/test",
|
|
1089
2248
|
...options,
|
|
1090
2249
|
headers: {
|
|
1091
2250
|
"Content-Type": "application/json",
|
|
@@ -1093,8 +2252,8 @@ var postApiV1Command = (options) => {
|
|
|
1093
2252
|
}
|
|
1094
2253
|
});
|
|
1095
2254
|
};
|
|
1096
|
-
var
|
|
1097
|
-
return (options
|
|
2255
|
+
var postApiV1NotificationTestall = (options) => {
|
|
2256
|
+
return (options?.client ?? client).post({
|
|
1098
2257
|
security: [
|
|
1099
2258
|
{
|
|
1100
2259
|
name: "X-Api-Key",
|
|
@@ -1106,12 +2265,12 @@ var deleteApiV1CustomformatById = (options) => {
|
|
|
1106
2265
|
type: "apiKey"
|
|
1107
2266
|
}
|
|
1108
2267
|
],
|
|
1109
|
-
url: "/api/v1/
|
|
2268
|
+
url: "/api/v1/notification/testall",
|
|
1110
2269
|
...options
|
|
1111
2270
|
});
|
|
1112
2271
|
};
|
|
1113
|
-
var
|
|
1114
|
-
return (options
|
|
2272
|
+
var getApiV1Qualityprofile = (options) => {
|
|
2273
|
+
return (options?.client ?? client).get({
|
|
1115
2274
|
security: [
|
|
1116
2275
|
{
|
|
1117
2276
|
name: "X-Api-Key",
|
|
@@ -1123,12 +2282,12 @@ var getApiV1CustomformatById = (options) => {
|
|
|
1123
2282
|
type: "apiKey"
|
|
1124
2283
|
}
|
|
1125
2284
|
],
|
|
1126
|
-
url: "/api/v1/
|
|
2285
|
+
url: "/api/v1/qualityprofile",
|
|
1127
2286
|
...options
|
|
1128
2287
|
});
|
|
1129
2288
|
};
|
|
1130
|
-
var
|
|
1131
|
-
return (options
|
|
2289
|
+
var postApiV1Qualityprofile = (options) => {
|
|
2290
|
+
return (options?.client ?? client).post({
|
|
1132
2291
|
security: [
|
|
1133
2292
|
{
|
|
1134
2293
|
name: "X-Api-Key",
|
|
@@ -1140,16 +2299,16 @@ var putApiV1CustomformatById = (options) => {
|
|
|
1140
2299
|
type: "apiKey"
|
|
1141
2300
|
}
|
|
1142
2301
|
],
|
|
1143
|
-
url: "/api/v1/
|
|
2302
|
+
url: "/api/v1/qualityprofile",
|
|
1144
2303
|
...options,
|
|
1145
2304
|
headers: {
|
|
1146
2305
|
"Content-Type": "application/json",
|
|
1147
|
-
...options
|
|
2306
|
+
...options?.headers
|
|
1148
2307
|
}
|
|
1149
2308
|
});
|
|
1150
2309
|
};
|
|
1151
|
-
var
|
|
1152
|
-
return (options
|
|
2310
|
+
var deleteApiV1QualityprofileById = (options) => {
|
|
2311
|
+
return (options.client ?? client).delete({
|
|
1153
2312
|
security: [
|
|
1154
2313
|
{
|
|
1155
2314
|
name: "X-Api-Key",
|
|
@@ -1161,12 +2320,12 @@ var getApiV1Customformat = (options) => {
|
|
|
1161
2320
|
type: "apiKey"
|
|
1162
2321
|
}
|
|
1163
2322
|
],
|
|
1164
|
-
url: "/api/v1/
|
|
2323
|
+
url: "/api/v1/qualityprofile/{id}",
|
|
1165
2324
|
...options
|
|
1166
2325
|
});
|
|
1167
2326
|
};
|
|
1168
|
-
var
|
|
1169
|
-
return (options
|
|
2327
|
+
var getApiV1QualityprofileById = (options) => {
|
|
2328
|
+
return (options.client ?? client).get({
|
|
1170
2329
|
security: [
|
|
1171
2330
|
{
|
|
1172
2331
|
name: "X-Api-Key",
|
|
@@ -1178,16 +2337,12 @@ var postApiV1Customformat = (options) => {
|
|
|
1178
2337
|
type: "apiKey"
|
|
1179
2338
|
}
|
|
1180
2339
|
],
|
|
1181
|
-
url: "/api/v1/
|
|
1182
|
-
...options
|
|
1183
|
-
headers: {
|
|
1184
|
-
"Content-Type": "application/json",
|
|
1185
|
-
...options?.headers
|
|
1186
|
-
}
|
|
2340
|
+
url: "/api/v1/qualityprofile/{id}",
|
|
2341
|
+
...options
|
|
1187
2342
|
});
|
|
1188
2343
|
};
|
|
1189
|
-
var
|
|
1190
|
-
return (options
|
|
2344
|
+
var putApiV1QualityprofileById = (options) => {
|
|
2345
|
+
return (options.client ?? client).put({
|
|
1191
2346
|
security: [
|
|
1192
2347
|
{
|
|
1193
2348
|
name: "X-Api-Key",
|
|
@@ -1199,16 +2354,16 @@ var deleteApiV1CustomformatBulk = (options) => {
|
|
|
1199
2354
|
type: "apiKey"
|
|
1200
2355
|
}
|
|
1201
2356
|
],
|
|
1202
|
-
url: "/api/v1/
|
|
2357
|
+
url: "/api/v1/qualityprofile/{id}",
|
|
1203
2358
|
...options,
|
|
1204
2359
|
headers: {
|
|
1205
2360
|
"Content-Type": "application/json",
|
|
1206
|
-
...options
|
|
2361
|
+
...options.headers
|
|
1207
2362
|
}
|
|
1208
2363
|
});
|
|
1209
2364
|
};
|
|
1210
|
-
var
|
|
1211
|
-
return (options?.client ?? client).
|
|
2365
|
+
var getApiV1QualityprofileSchema = (options) => {
|
|
2366
|
+
return (options?.client ?? client).get({
|
|
1212
2367
|
security: [
|
|
1213
2368
|
{
|
|
1214
2369
|
name: "X-Api-Key",
|
|
@@ -1220,15 +2375,11 @@ var putApiV1CustomformatBulk = (options) => {
|
|
|
1220
2375
|
type: "apiKey"
|
|
1221
2376
|
}
|
|
1222
2377
|
],
|
|
1223
|
-
url: "/api/v1/
|
|
1224
|
-
...options
|
|
1225
|
-
headers: {
|
|
1226
|
-
"Content-Type": "application/json",
|
|
1227
|
-
...options?.headers
|
|
1228
|
-
}
|
|
2378
|
+
url: "/api/v1/qualityprofile/schema",
|
|
2379
|
+
...options
|
|
1229
2380
|
});
|
|
1230
2381
|
};
|
|
1231
|
-
var
|
|
2382
|
+
var getApiV1Rootfolder = (options) => {
|
|
1232
2383
|
return (options?.client ?? client).get({
|
|
1233
2384
|
security: [
|
|
1234
2385
|
{
|
|
@@ -1241,11 +2392,32 @@ var getApiV1CustomformatSchema = (options) => {
|
|
|
1241
2392
|
type: "apiKey"
|
|
1242
2393
|
}
|
|
1243
2394
|
],
|
|
1244
|
-
url: "/api/v1/
|
|
2395
|
+
url: "/api/v1/rootfolder",
|
|
1245
2396
|
...options
|
|
1246
2397
|
});
|
|
1247
2398
|
};
|
|
1248
|
-
var
|
|
2399
|
+
var postApiV1Rootfolder = (options) => {
|
|
2400
|
+
return (options?.client ?? client).post({
|
|
2401
|
+
security: [
|
|
2402
|
+
{
|
|
2403
|
+
name: "X-Api-Key",
|
|
2404
|
+
type: "apiKey"
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
in: "query",
|
|
2408
|
+
name: "apikey",
|
|
2409
|
+
type: "apiKey"
|
|
2410
|
+
}
|
|
2411
|
+
],
|
|
2412
|
+
url: "/api/v1/rootfolder",
|
|
2413
|
+
...options,
|
|
2414
|
+
headers: {
|
|
2415
|
+
"Content-Type": "application/json",
|
|
2416
|
+
...options?.headers
|
|
2417
|
+
}
|
|
2418
|
+
});
|
|
2419
|
+
};
|
|
2420
|
+
var getApiV1SystemStatus = (options) => {
|
|
1249
2421
|
return (options?.client ?? client).get({
|
|
1250
2422
|
security: [
|
|
1251
2423
|
{
|
|
@@ -1258,12 +2430,12 @@ var getApiV1Health = (options) => {
|
|
|
1258
2430
|
type: "apiKey"
|
|
1259
2431
|
}
|
|
1260
2432
|
],
|
|
1261
|
-
url: "/api/v1/
|
|
2433
|
+
url: "/api/v1/system/status",
|
|
1262
2434
|
...options
|
|
1263
2435
|
});
|
|
1264
2436
|
};
|
|
1265
|
-
var
|
|
1266
|
-
return (options?.client ?? client).
|
|
2437
|
+
var postApiV1SystemShutdown = (options) => {
|
|
2438
|
+
return (options?.client ?? client).post({
|
|
1267
2439
|
security: [
|
|
1268
2440
|
{
|
|
1269
2441
|
name: "X-Api-Key",
|
|
@@ -1275,11 +2447,11 @@ var getApiV1Qualityprofile = (options) => {
|
|
|
1275
2447
|
type: "apiKey"
|
|
1276
2448
|
}
|
|
1277
2449
|
],
|
|
1278
|
-
url: "/api/v1/
|
|
2450
|
+
url: "/api/v1/system/shutdown",
|
|
1279
2451
|
...options
|
|
1280
2452
|
});
|
|
1281
2453
|
};
|
|
1282
|
-
var
|
|
2454
|
+
var postApiV1SystemRestart = (options) => {
|
|
1283
2455
|
return (options?.client ?? client).post({
|
|
1284
2456
|
security: [
|
|
1285
2457
|
{
|
|
@@ -1292,15 +2464,11 @@ var postApiV1Qualityprofile = (options) => {
|
|
|
1292
2464
|
type: "apiKey"
|
|
1293
2465
|
}
|
|
1294
2466
|
],
|
|
1295
|
-
url: "/api/v1/
|
|
1296
|
-
...options
|
|
1297
|
-
headers: {
|
|
1298
|
-
"Content-Type": "application/json",
|
|
1299
|
-
...options?.headers
|
|
1300
|
-
}
|
|
2467
|
+
url: "/api/v1/system/restart",
|
|
2468
|
+
...options
|
|
1301
2469
|
});
|
|
1302
2470
|
};
|
|
1303
|
-
var
|
|
2471
|
+
var deleteApiV1TagById = (options) => {
|
|
1304
2472
|
return (options.client ?? client).delete({
|
|
1305
2473
|
security: [
|
|
1306
2474
|
{
|
|
@@ -1313,11 +2481,11 @@ var deleteApiV1QualityprofileById = (options) => {
|
|
|
1313
2481
|
type: "apiKey"
|
|
1314
2482
|
}
|
|
1315
2483
|
],
|
|
1316
|
-
url: "/api/v1/
|
|
2484
|
+
url: "/api/v1/tag/{id}",
|
|
1317
2485
|
...options
|
|
1318
2486
|
});
|
|
1319
2487
|
};
|
|
1320
|
-
var
|
|
2488
|
+
var getApiV1TagById = (options) => {
|
|
1321
2489
|
return (options.client ?? client).get({
|
|
1322
2490
|
security: [
|
|
1323
2491
|
{
|
|
@@ -1330,11 +2498,11 @@ var getApiV1QualityprofileById = (options) => {
|
|
|
1330
2498
|
type: "apiKey"
|
|
1331
2499
|
}
|
|
1332
2500
|
],
|
|
1333
|
-
url: "/api/v1/
|
|
2501
|
+
url: "/api/v1/tag/{id}",
|
|
1334
2502
|
...options
|
|
1335
2503
|
});
|
|
1336
2504
|
};
|
|
1337
|
-
var
|
|
2505
|
+
var putApiV1TagById = (options) => {
|
|
1338
2506
|
return (options.client ?? client).put({
|
|
1339
2507
|
security: [
|
|
1340
2508
|
{
|
|
@@ -1347,7 +2515,7 @@ var putApiV1QualityprofileById = (options) => {
|
|
|
1347
2515
|
type: "apiKey"
|
|
1348
2516
|
}
|
|
1349
2517
|
],
|
|
1350
|
-
url: "/api/v1/
|
|
2518
|
+
url: "/api/v1/tag/{id}",
|
|
1351
2519
|
...options,
|
|
1352
2520
|
headers: {
|
|
1353
2521
|
"Content-Type": "application/json",
|
|
@@ -1355,7 +2523,7 @@ var putApiV1QualityprofileById = (options) => {
|
|
|
1355
2523
|
}
|
|
1356
2524
|
});
|
|
1357
2525
|
};
|
|
1358
|
-
var
|
|
2526
|
+
var getApiV1Tag = (options) => {
|
|
1359
2527
|
return (options?.client ?? client).get({
|
|
1360
2528
|
security: [
|
|
1361
2529
|
{
|
|
@@ -1368,11 +2536,49 @@ var getApiV1QualityprofileSchema = (options) => {
|
|
|
1368
2536
|
type: "apiKey"
|
|
1369
2537
|
}
|
|
1370
2538
|
],
|
|
1371
|
-
url: "/api/v1/
|
|
2539
|
+
url: "/api/v1/tag",
|
|
1372
2540
|
...options
|
|
1373
2541
|
});
|
|
1374
2542
|
};
|
|
1375
|
-
var
|
|
2543
|
+
var postApiV1Tag = (options) => {
|
|
2544
|
+
return (options?.client ?? client).post({
|
|
2545
|
+
security: [
|
|
2546
|
+
{
|
|
2547
|
+
name: "X-Api-Key",
|
|
2548
|
+
type: "apiKey"
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
in: "query",
|
|
2552
|
+
name: "apikey",
|
|
2553
|
+
type: "apiKey"
|
|
2554
|
+
}
|
|
2555
|
+
],
|
|
2556
|
+
url: "/api/v1/tag",
|
|
2557
|
+
...options,
|
|
2558
|
+
headers: {
|
|
2559
|
+
"Content-Type": "application/json",
|
|
2560
|
+
...options?.headers
|
|
2561
|
+
}
|
|
2562
|
+
});
|
|
2563
|
+
};
|
|
2564
|
+
var getApiV1TagDetailById = (options) => {
|
|
2565
|
+
return (options.client ?? client).get({
|
|
2566
|
+
security: [
|
|
2567
|
+
{
|
|
2568
|
+
name: "X-Api-Key",
|
|
2569
|
+
type: "apiKey"
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
in: "query",
|
|
2573
|
+
name: "apikey",
|
|
2574
|
+
type: "apiKey"
|
|
2575
|
+
}
|
|
2576
|
+
],
|
|
2577
|
+
url: "/api/v1/tag/detail/{id}",
|
|
2578
|
+
...options
|
|
2579
|
+
});
|
|
2580
|
+
};
|
|
2581
|
+
var getApiV1TagDetail = (options) => {
|
|
1376
2582
|
return (options?.client ?? client).get({
|
|
1377
2583
|
security: [
|
|
1378
2584
|
{
|
|
@@ -1385,12 +2591,12 @@ var getApiV1Rootfolder = (options) => {
|
|
|
1385
2591
|
type: "apiKey"
|
|
1386
2592
|
}
|
|
1387
2593
|
],
|
|
1388
|
-
url: "/api/v1/
|
|
2594
|
+
url: "/api/v1/tag/detail",
|
|
1389
2595
|
...options
|
|
1390
2596
|
});
|
|
1391
2597
|
};
|
|
1392
|
-
var
|
|
1393
|
-
return (options
|
|
2598
|
+
var getApiV1ConfigUiById = (options) => {
|
|
2599
|
+
return (options.client ?? client).get({
|
|
1394
2600
|
security: [
|
|
1395
2601
|
{
|
|
1396
2602
|
name: "X-Api-Key",
|
|
@@ -1402,15 +2608,32 @@ var postApiV1Rootfolder = (options) => {
|
|
|
1402
2608
|
type: "apiKey"
|
|
1403
2609
|
}
|
|
1404
2610
|
],
|
|
1405
|
-
url: "/api/v1/
|
|
2611
|
+
url: "/api/v1/config/ui/{id}",
|
|
2612
|
+
...options
|
|
2613
|
+
});
|
|
2614
|
+
};
|
|
2615
|
+
var putApiV1ConfigUiById = (options) => {
|
|
2616
|
+
return (options.client ?? client).put({
|
|
2617
|
+
security: [
|
|
2618
|
+
{
|
|
2619
|
+
name: "X-Api-Key",
|
|
2620
|
+
type: "apiKey"
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
in: "query",
|
|
2624
|
+
name: "apikey",
|
|
2625
|
+
type: "apiKey"
|
|
2626
|
+
}
|
|
2627
|
+
],
|
|
2628
|
+
url: "/api/v1/config/ui/{id}",
|
|
1406
2629
|
...options,
|
|
1407
2630
|
headers: {
|
|
1408
2631
|
"Content-Type": "application/json",
|
|
1409
|
-
...options
|
|
2632
|
+
...options.headers
|
|
1410
2633
|
}
|
|
1411
2634
|
});
|
|
1412
2635
|
};
|
|
1413
|
-
var
|
|
2636
|
+
var getApiV1ConfigUi = (options) => {
|
|
1414
2637
|
return (options?.client ?? client).get({
|
|
1415
2638
|
security: [
|
|
1416
2639
|
{
|
|
@@ -1423,7 +2646,7 @@ var getApiV1SystemStatus = (options) => {
|
|
|
1423
2646
|
type: "apiKey"
|
|
1424
2647
|
}
|
|
1425
2648
|
],
|
|
1426
|
-
url: "/api/v1/
|
|
2649
|
+
url: "/api/v1/config/ui",
|
|
1427
2650
|
...options
|
|
1428
2651
|
});
|
|
1429
2652
|
};
|
|
@@ -1552,6 +2775,207 @@ class LidarrClient {
|
|
|
1552
2775
|
async getCustomFormatSchema() {
|
|
1553
2776
|
return getApiV1CustomformatSchema();
|
|
1554
2777
|
}
|
|
2778
|
+
async getHostConfig() {
|
|
2779
|
+
return getApiV1ConfigHost();
|
|
2780
|
+
}
|
|
2781
|
+
async getHostConfigById(id) {
|
|
2782
|
+
return getApiV1ConfigHostById({ path: { id } });
|
|
2783
|
+
}
|
|
2784
|
+
async updateHostConfig(id, config) {
|
|
2785
|
+
return putApiV1ConfigHostById({ path: { id: String(id) }, body: config });
|
|
2786
|
+
}
|
|
2787
|
+
async getNamingConfig() {
|
|
2788
|
+
return getApiV1ConfigNaming();
|
|
2789
|
+
}
|
|
2790
|
+
async getNamingConfigById(id) {
|
|
2791
|
+
return getApiV1ConfigNamingById({ path: { id } });
|
|
2792
|
+
}
|
|
2793
|
+
async updateNamingConfig(id, config) {
|
|
2794
|
+
return putApiV1ConfigNamingById({ path: { id: String(id) }, body: config });
|
|
2795
|
+
}
|
|
2796
|
+
async getNamingConfigExamples() {
|
|
2797
|
+
return getApiV1ConfigNamingExamples();
|
|
2798
|
+
}
|
|
2799
|
+
async getMediaManagementConfig() {
|
|
2800
|
+
return getApiV1ConfigMediamanagement();
|
|
2801
|
+
}
|
|
2802
|
+
async getMediaManagementConfigById(id) {
|
|
2803
|
+
return getApiV1ConfigMediamanagementById({ path: { id } });
|
|
2804
|
+
}
|
|
2805
|
+
async updateMediaManagementConfig(id, config) {
|
|
2806
|
+
return putApiV1ConfigMediamanagementById({ path: { id: String(id) }, body: config });
|
|
2807
|
+
}
|
|
2808
|
+
async getUiConfig() {
|
|
2809
|
+
return getApiV1ConfigUi();
|
|
2810
|
+
}
|
|
2811
|
+
async getUiConfigById(id) {
|
|
2812
|
+
return getApiV1ConfigUiById({ path: { id } });
|
|
2813
|
+
}
|
|
2814
|
+
async updateUiConfig(id, config) {
|
|
2815
|
+
return putApiV1ConfigUiById({ path: { id: String(id) }, body: config });
|
|
2816
|
+
}
|
|
2817
|
+
async getMetadataProviderConfig() {
|
|
2818
|
+
return getApiV1ConfigMetadataprovider();
|
|
2819
|
+
}
|
|
2820
|
+
async getMetadataProviderConfigById(id) {
|
|
2821
|
+
return getApiV1ConfigMetadataproviderById({ path: { id } });
|
|
2822
|
+
}
|
|
2823
|
+
async updateMetadataProviderConfig(id, config) {
|
|
2824
|
+
return putApiV1ConfigMetadataproviderById({ path: { id: String(id) }, body: config });
|
|
2825
|
+
}
|
|
2826
|
+
async restartSystem() {
|
|
2827
|
+
return postApiV1SystemRestart();
|
|
2828
|
+
}
|
|
2829
|
+
async shutdownSystem() {
|
|
2830
|
+
return postApiV1SystemShutdown();
|
|
2831
|
+
}
|
|
2832
|
+
async getSystemBackups() {
|
|
2833
|
+
return getApiV1SystemBackup();
|
|
2834
|
+
}
|
|
2835
|
+
async deleteSystemBackup(id) {
|
|
2836
|
+
return deleteApiV1SystemBackupById({ path: { id } });
|
|
2837
|
+
}
|
|
2838
|
+
async restoreSystemBackup(id) {
|
|
2839
|
+
return postApiV1SystemBackupRestoreById({ path: { id } });
|
|
2840
|
+
}
|
|
2841
|
+
async uploadSystemBackup() {
|
|
2842
|
+
return postApiV1SystemBackupRestoreUpload();
|
|
2843
|
+
}
|
|
2844
|
+
async getSystemLogs() {
|
|
2845
|
+
return getApiV1Log();
|
|
2846
|
+
}
|
|
2847
|
+
async getLogFiles() {
|
|
2848
|
+
return getApiV1LogFile();
|
|
2849
|
+
}
|
|
2850
|
+
async getLogFileByName(filename) {
|
|
2851
|
+
return getApiV1LogFileByFilename({ path: { filename } });
|
|
2852
|
+
}
|
|
2853
|
+
async getDiskSpace() {
|
|
2854
|
+
return getApiV1Diskspace();
|
|
2855
|
+
}
|
|
2856
|
+
async getTags() {
|
|
2857
|
+
return getApiV1Tag();
|
|
2858
|
+
}
|
|
2859
|
+
async addTag(tag) {
|
|
2860
|
+
return postApiV1Tag({ body: tag });
|
|
2861
|
+
}
|
|
2862
|
+
async getTag(id) {
|
|
2863
|
+
return getApiV1TagById({ path: { id } });
|
|
2864
|
+
}
|
|
2865
|
+
async updateTag(id, tag) {
|
|
2866
|
+
return putApiV1TagById({ path: { id: String(id) }, body: tag });
|
|
2867
|
+
}
|
|
2868
|
+
async deleteTag(id) {
|
|
2869
|
+
return deleteApiV1TagById({ path: { id } });
|
|
2870
|
+
}
|
|
2871
|
+
async getTagDetails() {
|
|
2872
|
+
return getApiV1TagDetail();
|
|
2873
|
+
}
|
|
2874
|
+
async getTagDetailById(id) {
|
|
2875
|
+
return getApiV1TagDetailById({ path: { id } });
|
|
2876
|
+
}
|
|
2877
|
+
async getDownloadClients() {
|
|
2878
|
+
return getApiV1Downloadclient();
|
|
2879
|
+
}
|
|
2880
|
+
async getDownloadClient(id) {
|
|
2881
|
+
return getApiV1DownloadclientById({ path: { id } });
|
|
2882
|
+
}
|
|
2883
|
+
async addDownloadClient(client2) {
|
|
2884
|
+
return postApiV1Downloadclient({ body: client2 });
|
|
2885
|
+
}
|
|
2886
|
+
async updateDownloadClient(id, client2) {
|
|
2887
|
+
return putApiV1DownloadclientById({ path: { id }, body: client2 });
|
|
2888
|
+
}
|
|
2889
|
+
async deleteDownloadClient(id) {
|
|
2890
|
+
return deleteApiV1DownloadclientById({ path: { id } });
|
|
2891
|
+
}
|
|
2892
|
+
async updateDownloadClientsBulk(clients) {
|
|
2893
|
+
return putApiV1DownloadclientBulk({ body: clients });
|
|
2894
|
+
}
|
|
2895
|
+
async deleteDownloadClientsBulk(ids) {
|
|
2896
|
+
return deleteApiV1DownloadclientBulk({ body: { ids } });
|
|
2897
|
+
}
|
|
2898
|
+
async getDownloadClientSchema() {
|
|
2899
|
+
return getApiV1DownloadclientSchema();
|
|
2900
|
+
}
|
|
2901
|
+
async testDownloadClient(client2) {
|
|
2902
|
+
return postApiV1DownloadclientTest({ body: client2 });
|
|
2903
|
+
}
|
|
2904
|
+
async testAllDownloadClients() {
|
|
2905
|
+
return postApiV1DownloadclientTestall();
|
|
2906
|
+
}
|
|
2907
|
+
async getIndexers() {
|
|
2908
|
+
return getApiV1Indexer();
|
|
2909
|
+
}
|
|
2910
|
+
async getIndexer(id) {
|
|
2911
|
+
return getApiV1IndexerById({ path: { id } });
|
|
2912
|
+
}
|
|
2913
|
+
async addIndexer(indexer) {
|
|
2914
|
+
return postApiV1Indexer({ body: indexer });
|
|
2915
|
+
}
|
|
2916
|
+
async updateIndexer(id, indexer) {
|
|
2917
|
+
return putApiV1IndexerById({ path: { id }, body: indexer });
|
|
2918
|
+
}
|
|
2919
|
+
async deleteIndexer(id) {
|
|
2920
|
+
return deleteApiV1IndexerById({ path: { id } });
|
|
2921
|
+
}
|
|
2922
|
+
async getIndexerSchema() {
|
|
2923
|
+
return getApiV1IndexerSchema();
|
|
2924
|
+
}
|
|
2925
|
+
async testIndexer(indexer) {
|
|
2926
|
+
return postApiV1IndexerTest({ body: indexer });
|
|
2927
|
+
}
|
|
2928
|
+
async testAllIndexers() {
|
|
2929
|
+
return postApiV1IndexerTestall();
|
|
2930
|
+
}
|
|
2931
|
+
async getImportLists() {
|
|
2932
|
+
return getApiV1Importlist();
|
|
2933
|
+
}
|
|
2934
|
+
async getImportList(id) {
|
|
2935
|
+
return getApiV1ImportlistById({ path: { id } });
|
|
2936
|
+
}
|
|
2937
|
+
async addImportList(importList) {
|
|
2938
|
+
return postApiV1Importlist({ body: importList });
|
|
2939
|
+
}
|
|
2940
|
+
async updateImportList(id, importList) {
|
|
2941
|
+
return putApiV1ImportlistById({ path: { id }, body: importList });
|
|
2942
|
+
}
|
|
2943
|
+
async deleteImportList(id) {
|
|
2944
|
+
return deleteApiV1ImportlistById({ path: { id } });
|
|
2945
|
+
}
|
|
2946
|
+
async getImportListSchema() {
|
|
2947
|
+
return getApiV1ImportlistSchema();
|
|
2948
|
+
}
|
|
2949
|
+
async testImportList(importList) {
|
|
2950
|
+
return postApiV1ImportlistTest({ body: importList });
|
|
2951
|
+
}
|
|
2952
|
+
async testAllImportLists() {
|
|
2953
|
+
return postApiV1ImportlistTestall();
|
|
2954
|
+
}
|
|
2955
|
+
async getNotifications() {
|
|
2956
|
+
return getApiV1Notification();
|
|
2957
|
+
}
|
|
2958
|
+
async getNotification(id) {
|
|
2959
|
+
return getApiV1NotificationById({ path: { id } });
|
|
2960
|
+
}
|
|
2961
|
+
async addNotification(notification) {
|
|
2962
|
+
return postApiV1Notification({ body: notification });
|
|
2963
|
+
}
|
|
2964
|
+
async updateNotification(id, notification) {
|
|
2965
|
+
return putApiV1NotificationById({ path: { id }, body: notification });
|
|
2966
|
+
}
|
|
2967
|
+
async deleteNotification(id) {
|
|
2968
|
+
return deleteApiV1NotificationById({ path: { id } });
|
|
2969
|
+
}
|
|
2970
|
+
async getNotificationSchema() {
|
|
2971
|
+
return getApiV1NotificationSchema();
|
|
2972
|
+
}
|
|
2973
|
+
async testNotification(notification) {
|
|
2974
|
+
return postApiV1NotificationTest({ body: notification });
|
|
2975
|
+
}
|
|
2976
|
+
async testAllNotifications() {
|
|
2977
|
+
return postApiV1NotificationTestall();
|
|
2978
|
+
}
|
|
1555
2979
|
updateConfig(newConfig) {
|
|
1556
2980
|
const updatedConfig = { ...this.clientConfig.config, ...newConfig };
|
|
1557
2981
|
this.clientConfig = createServarrClient(updatedConfig);
|