@brigadasos/nadeshiko-sdk 1.5.0-dev.996fd6f → 1.5.0-dev.c2b9767

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/dist/index.js CHANGED
@@ -863,7 +863,11 @@ var autocompleteMedia = (options) => (options.client ?? client).get({
863
863
  ...options
864
864
  });
865
865
  var getSegmentByUuid = (options) => (options.client ?? client).get({
866
- security: [{ scheme: "bearer", type: "http" }],
866
+ security: [{ scheme: "bearer", type: "http" }, {
867
+ in: "cookie",
868
+ name: "nadeshiko.session_token",
869
+ type: "apiKey"
870
+ }],
867
871
  url: "/v1/media/segments/{uuid}",
868
872
  ...options
869
873
  });
@@ -881,7 +885,11 @@ var updateSegmentByUuid = (options) => (options.client ?? client).patch({
881
885
  }
882
886
  });
883
887
  var getSegmentContext = (options) => (options.client ?? client).get({
884
- security: [{ scheme: "bearer", type: "http" }],
888
+ security: [{ scheme: "bearer", type: "http" }, {
889
+ in: "cookie",
890
+ name: "nadeshiko.session_token",
891
+ type: "apiKey"
892
+ }],
885
893
  url: "/v1/media/segments/{uuid}/context",
886
894
  ...options
887
895
  });
@@ -1290,17 +1298,29 @@ var getCollectionStats = (options) => (options.client ?? client).get({
1290
1298
  ...options
1291
1299
  });
1292
1300
  var getAdminDashboard = (options) => (options?.client ?? client).get({
1293
- security: [{ scheme: "bearer", type: "http" }],
1301
+ security: [{
1302
+ in: "cookie",
1303
+ name: "nadeshiko.session_token",
1304
+ type: "apiKey"
1305
+ }],
1294
1306
  url: "/v1/admin/dashboard",
1295
1307
  ...options
1296
1308
  });
1297
1309
  var getAdminHealth = (options) => (options?.client ?? client).get({
1298
- security: [{ scheme: "bearer", type: "http" }],
1310
+ security: [{
1311
+ in: "cookie",
1312
+ name: "nadeshiko.session_token",
1313
+ type: "apiKey"
1314
+ }],
1299
1315
  url: "/v1/admin/health",
1300
1316
  ...options
1301
1317
  });
1302
1318
  var triggerReindex = (options) => (options?.client ?? client).post({
1303
- security: [{ scheme: "bearer", type: "http" }],
1319
+ security: [{
1320
+ in: "cookie",
1321
+ name: "nadeshiko.session_token",
1322
+ type: "apiKey"
1323
+ }],
1304
1324
  url: "/v1/admin/reindex",
1305
1325
  ...options,
1306
1326
  headers: {
@@ -1309,45 +1329,52 @@ var triggerReindex = (options) => (options?.client ?? client).post({
1309
1329
  }
1310
1330
  });
1311
1331
  var listAdminQueueStats = (options) => (options?.client ?? client).get({
1312
- security: [{ scheme: "bearer", type: "http" }],
1332
+ security: [{
1333
+ in: "cookie",
1334
+ name: "nadeshiko.session_token",
1335
+ type: "apiKey"
1336
+ }],
1313
1337
  url: "/v1/admin/queues/stats",
1314
1338
  ...options
1315
1339
  });
1316
1340
  var getAdminQueue = (options) => (options.client ?? client).get({
1317
- security: [{ scheme: "bearer", type: "http" }],
1341
+ security: [{
1342
+ in: "cookie",
1343
+ name: "nadeshiko.session_token",
1344
+ type: "apiKey"
1345
+ }],
1318
1346
  url: "/v1/admin/queues/{queueName}",
1319
1347
  ...options
1320
1348
  });
1321
1349
  var listAdminQueueFailed = (options) => (options.client ?? client).get({
1322
- security: [{ scheme: "bearer", type: "http" }],
1350
+ security: [{
1351
+ in: "cookie",
1352
+ name: "nadeshiko.session_token",
1353
+ type: "apiKey"
1354
+ }],
1323
1355
  url: "/v1/admin/queues/{queueName}/failed",
1324
1356
  ...options
1325
1357
  });
1326
1358
  var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1327
- security: [{ scheme: "bearer", type: "http" }],
1328
- url: "/v1/admin/queues/{queueName}/retry",
1329
- ...options
1330
- });
1331
- var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1332
- security: [{ scheme: "bearer", type: "http" }],
1333
- url: "/v1/admin/queues/{queueName}/purge",
1334
- ...options
1335
- });
1336
- var clearAdminImpersonation = (options) => (options?.client ?? client).delete({
1337
1359
  security: [{
1338
1360
  in: "cookie",
1339
1361
  name: "nadeshiko.session_token",
1340
1362
  type: "apiKey"
1341
1363
  }],
1342
- url: "/v1/admin/impersonation",
1364
+ url: "/v1/admin/queues/{queueName}/retry",
1343
1365
  ...options
1344
1366
  });
1345
- var impersonateAdminUser = (options) => (options.client ?? client).post({
1367
+ var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1346
1368
  security: [{
1347
1369
  in: "cookie",
1348
1370
  name: "nadeshiko.session_token",
1349
1371
  type: "apiKey"
1350
1372
  }],
1373
+ url: "/v1/admin/queues/{queueName}/purge",
1374
+ ...options
1375
+ });
1376
+ var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
1377
+ var impersonateAdminUser = (options) => (options.client ?? client).post({
1351
1378
  url: "/v1/admin/impersonation",
1352
1379
  ...options,
1353
1380
  headers: {
@@ -1356,12 +1383,20 @@ var impersonateAdminUser = (options) => (options.client ?? client).post({
1356
1383
  }
1357
1384
  });
1358
1385
  var listAdminReports = (options) => (options?.client ?? client).get({
1359
- security: [{ scheme: "bearer", type: "http" }],
1386
+ security: [{
1387
+ in: "cookie",
1388
+ name: "nadeshiko.session_token",
1389
+ type: "apiKey"
1390
+ }],
1360
1391
  url: "/v1/admin/reports",
1361
1392
  ...options
1362
1393
  });
1363
1394
  var updateAdminReport = (options) => (options.client ?? client).patch({
1364
- security: [{ scheme: "bearer", type: "http" }],
1395
+ security: [{
1396
+ in: "cookie",
1397
+ name: "nadeshiko.session_token",
1398
+ type: "apiKey"
1399
+ }],
1365
1400
  url: "/v1/admin/reports/{id}",
1366
1401
  ...options,
1367
1402
  headers: {
@@ -1370,12 +1405,20 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
1370
1405
  }
1371
1406
  });
1372
1407
  var listAdminMediaAudits = (options) => (options?.client ?? client).get({
1373
- security: [{ scheme: "bearer", type: "http" }],
1408
+ security: [{
1409
+ in: "cookie",
1410
+ name: "nadeshiko.session_token",
1411
+ type: "apiKey"
1412
+ }],
1374
1413
  url: "/v1/admin/media/audits",
1375
1414
  ...options
1376
1415
  });
1377
1416
  var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1378
- security: [{ scheme: "bearer", type: "http" }],
1417
+ security: [{
1418
+ in: "cookie",
1419
+ name: "nadeshiko.session_token",
1420
+ type: "apiKey"
1421
+ }],
1379
1422
  url: "/v1/admin/media/audits/{name}",
1380
1423
  ...options,
1381
1424
  headers: {
@@ -1384,17 +1427,29 @@ var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1384
1427
  }
1385
1428
  });
1386
1429
  var runAdminMediaAudit = (options) => (options.client ?? client).post({
1387
- security: [{ scheme: "bearer", type: "http" }],
1430
+ security: [{
1431
+ in: "cookie",
1432
+ name: "nadeshiko.session_token",
1433
+ type: "apiKey"
1434
+ }],
1388
1435
  url: "/v1/admin/media/audits/{name}/run",
1389
1436
  ...options
1390
1437
  });
1391
1438
  var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
1392
- security: [{ scheme: "bearer", type: "http" }],
1439
+ security: [{
1440
+ in: "cookie",
1441
+ name: "nadeshiko.session_token",
1442
+ type: "apiKey"
1443
+ }],
1393
1444
  url: "/v1/admin/media/audits/runs",
1394
1445
  ...options
1395
1446
  });
1396
1447
  var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
1397
- security: [{ scheme: "bearer", type: "http" }],
1448
+ security: [{
1449
+ in: "cookie",
1450
+ name: "nadeshiko.session_token",
1451
+ type: "apiKey"
1452
+ }],
1398
1453
  url: "/v1/admin/media/audits/runs/{id}",
1399
1454
  ...options
1400
1455
  });
@@ -1665,5 +1720,5 @@ export {
1665
1720
  addMediaToSeries
1666
1721
  };
1667
1722
 
1668
- //# debugId=C69D13708BB631FE64756E2164756E21
1723
+ //# debugId=0F6D8F5370A3363364756E2164756E21
1669
1724
  //# sourceMappingURL=index.js.map