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