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