@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.cjs CHANGED
@@ -972,7 +972,11 @@ var autocompleteMedia = (options) => (options.client ?? client).get({
972
972
  ...options
973
973
  });
974
974
  var getSegmentByUuid = (options) => (options.client ?? client).get({
975
- security: [{ scheme: "bearer", type: "http" }],
975
+ security: [{ scheme: "bearer", type: "http" }, {
976
+ in: "cookie",
977
+ name: "nadeshiko.session_token",
978
+ type: "apiKey"
979
+ }],
976
980
  url: "/v1/media/segments/{uuid}",
977
981
  ...options
978
982
  });
@@ -990,7 +994,11 @@ var updateSegmentByUuid = (options) => (options.client ?? client).patch({
990
994
  }
991
995
  });
992
996
  var getSegmentContext = (options) => (options.client ?? client).get({
993
- security: [{ scheme: "bearer", type: "http" }],
997
+ security: [{ scheme: "bearer", type: "http" }, {
998
+ in: "cookie",
999
+ name: "nadeshiko.session_token",
1000
+ type: "apiKey"
1001
+ }],
994
1002
  url: "/v1/media/segments/{uuid}/context",
995
1003
  ...options
996
1004
  });
@@ -1399,17 +1407,29 @@ var getCollectionStats = (options) => (options.client ?? client).get({
1399
1407
  ...options
1400
1408
  });
1401
1409
  var getAdminDashboard = (options) => (options?.client ?? client).get({
1402
- security: [{ scheme: "bearer", type: "http" }],
1410
+ security: [{
1411
+ in: "cookie",
1412
+ name: "nadeshiko.session_token",
1413
+ type: "apiKey"
1414
+ }],
1403
1415
  url: "/v1/admin/dashboard",
1404
1416
  ...options
1405
1417
  });
1406
1418
  var getAdminHealth = (options) => (options?.client ?? client).get({
1407
- security: [{ scheme: "bearer", type: "http" }],
1419
+ security: [{
1420
+ in: "cookie",
1421
+ name: "nadeshiko.session_token",
1422
+ type: "apiKey"
1423
+ }],
1408
1424
  url: "/v1/admin/health",
1409
1425
  ...options
1410
1426
  });
1411
1427
  var triggerReindex = (options) => (options?.client ?? client).post({
1412
- security: [{ scheme: "bearer", type: "http" }],
1428
+ security: [{
1429
+ in: "cookie",
1430
+ name: "nadeshiko.session_token",
1431
+ type: "apiKey"
1432
+ }],
1413
1433
  url: "/v1/admin/reindex",
1414
1434
  ...options,
1415
1435
  headers: {
@@ -1418,45 +1438,52 @@ var triggerReindex = (options) => (options?.client ?? client).post({
1418
1438
  }
1419
1439
  });
1420
1440
  var listAdminQueueStats = (options) => (options?.client ?? client).get({
1421
- security: [{ scheme: "bearer", type: "http" }],
1441
+ security: [{
1442
+ in: "cookie",
1443
+ name: "nadeshiko.session_token",
1444
+ type: "apiKey"
1445
+ }],
1422
1446
  url: "/v1/admin/queues/stats",
1423
1447
  ...options
1424
1448
  });
1425
1449
  var getAdminQueue = (options) => (options.client ?? client).get({
1426
- security: [{ scheme: "bearer", type: "http" }],
1450
+ security: [{
1451
+ in: "cookie",
1452
+ name: "nadeshiko.session_token",
1453
+ type: "apiKey"
1454
+ }],
1427
1455
  url: "/v1/admin/queues/{queueName}",
1428
1456
  ...options
1429
1457
  });
1430
1458
  var listAdminQueueFailed = (options) => (options.client ?? client).get({
1431
- security: [{ scheme: "bearer", type: "http" }],
1459
+ security: [{
1460
+ in: "cookie",
1461
+ name: "nadeshiko.session_token",
1462
+ type: "apiKey"
1463
+ }],
1432
1464
  url: "/v1/admin/queues/{queueName}/failed",
1433
1465
  ...options
1434
1466
  });
1435
1467
  var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1436
- security: [{ scheme: "bearer", type: "http" }],
1437
- url: "/v1/admin/queues/{queueName}/retry",
1438
- ...options
1439
- });
1440
- var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1441
- security: [{ scheme: "bearer", type: "http" }],
1442
- url: "/v1/admin/queues/{queueName}/purge",
1443
- ...options
1444
- });
1445
- var clearAdminImpersonation = (options) => (options?.client ?? client).delete({
1446
1468
  security: [{
1447
1469
  in: "cookie",
1448
1470
  name: "nadeshiko.session_token",
1449
1471
  type: "apiKey"
1450
1472
  }],
1451
- url: "/v1/admin/impersonation",
1473
+ url: "/v1/admin/queues/{queueName}/retry",
1452
1474
  ...options
1453
1475
  });
1454
- var impersonateAdminUser = (options) => (options.client ?? client).post({
1476
+ var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1455
1477
  security: [{
1456
1478
  in: "cookie",
1457
1479
  name: "nadeshiko.session_token",
1458
1480
  type: "apiKey"
1459
1481
  }],
1482
+ url: "/v1/admin/queues/{queueName}/purge",
1483
+ ...options
1484
+ });
1485
+ var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
1486
+ var impersonateAdminUser = (options) => (options.client ?? client).post({
1460
1487
  url: "/v1/admin/impersonation",
1461
1488
  ...options,
1462
1489
  headers: {
@@ -1465,12 +1492,20 @@ var impersonateAdminUser = (options) => (options.client ?? client).post({
1465
1492
  }
1466
1493
  });
1467
1494
  var listAdminReports = (options) => (options?.client ?? client).get({
1468
- security: [{ scheme: "bearer", type: "http" }],
1495
+ security: [{
1496
+ in: "cookie",
1497
+ name: "nadeshiko.session_token",
1498
+ type: "apiKey"
1499
+ }],
1469
1500
  url: "/v1/admin/reports",
1470
1501
  ...options
1471
1502
  });
1472
1503
  var updateAdminReport = (options) => (options.client ?? client).patch({
1473
- security: [{ scheme: "bearer", type: "http" }],
1504
+ security: [{
1505
+ in: "cookie",
1506
+ name: "nadeshiko.session_token",
1507
+ type: "apiKey"
1508
+ }],
1474
1509
  url: "/v1/admin/reports/{id}",
1475
1510
  ...options,
1476
1511
  headers: {
@@ -1479,12 +1514,20 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
1479
1514
  }
1480
1515
  });
1481
1516
  var listAdminMediaAudits = (options) => (options?.client ?? client).get({
1482
- security: [{ scheme: "bearer", type: "http" }],
1517
+ security: [{
1518
+ in: "cookie",
1519
+ name: "nadeshiko.session_token",
1520
+ type: "apiKey"
1521
+ }],
1483
1522
  url: "/v1/admin/media/audits",
1484
1523
  ...options
1485
1524
  });
1486
1525
  var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1487
- security: [{ scheme: "bearer", type: "http" }],
1526
+ security: [{
1527
+ in: "cookie",
1528
+ name: "nadeshiko.session_token",
1529
+ type: "apiKey"
1530
+ }],
1488
1531
  url: "/v1/admin/media/audits/{name}",
1489
1532
  ...options,
1490
1533
  headers: {
@@ -1493,17 +1536,29 @@ var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1493
1536
  }
1494
1537
  });
1495
1538
  var runAdminMediaAudit = (options) => (options.client ?? client).post({
1496
- security: [{ scheme: "bearer", type: "http" }],
1539
+ security: [{
1540
+ in: "cookie",
1541
+ name: "nadeshiko.session_token",
1542
+ type: "apiKey"
1543
+ }],
1497
1544
  url: "/v1/admin/media/audits/{name}/run",
1498
1545
  ...options
1499
1546
  });
1500
1547
  var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
1501
- security: [{ scheme: "bearer", type: "http" }],
1548
+ security: [{
1549
+ in: "cookie",
1550
+ name: "nadeshiko.session_token",
1551
+ type: "apiKey"
1552
+ }],
1502
1553
  url: "/v1/admin/media/audits/runs",
1503
1554
  ...options
1504
1555
  });
1505
1556
  var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
1506
- security: [{ scheme: "bearer", type: "http" }],
1557
+ security: [{
1558
+ in: "cookie",
1559
+ name: "nadeshiko.session_token",
1560
+ type: "apiKey"
1561
+ }],
1507
1562
  url: "/v1/admin/media/audits/runs/{id}",
1508
1563
  ...options
1509
1564
  });
@@ -1692,5 +1747,5 @@ __export(exports_admin_gen, {
1692
1747
  clearAdminImpersonation: () => clearAdminImpersonation
1693
1748
  });
1694
1749
 
1695
- //# debugId=E0B764FAF727DFB864756E2164756E21
1750
+ //# debugId=C46407DD30C813FE64756E2164756E21
1696
1751
  //# sourceMappingURL=index.js.map