@brigadasos/nadeshiko-sdk 1.4.3-dev.d3424ba → 1.5.0-dev.7d15241
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/client.gen.d.ts.map +1 -1
- package/dist/index.cjs +62 -53
- package/dist/index.cjs.map +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -53
- package/dist/index.js.map +5 -5
- package/dist/internal/admin.gen.d.ts +1 -1
- package/dist/internal/admin.gen.d.ts.map +1 -1
- package/dist/internal/collections.gen.d.ts +2 -0
- package/dist/internal/collections.gen.d.ts.map +1 -0
- package/dist/internal/user.gen.d.ts +1 -1
- package/dist/internal/user.gen.d.ts.map +1 -1
- package/dist/internal.gen.d.ts +1 -0
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +25 -25
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +22 -7
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +182 -192
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -813,15 +813,11 @@ var createClient = (config = {}) => {
|
|
|
813
813
|
};
|
|
814
814
|
};
|
|
815
815
|
// generated/dev/client.gen.ts
|
|
816
|
-
var client = createClient(createConfig({ baseUrl: "
|
|
816
|
+
var client = createClient(createConfig({ baseUrl: "https://api.nadeshiko.co" }));
|
|
817
817
|
|
|
818
818
|
// generated/dev/sdk.gen.ts
|
|
819
819
|
var search = (options) => (options?.client ?? client).post({
|
|
820
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
821
|
-
in: "cookie",
|
|
822
|
-
name: "nadeshiko.session_token",
|
|
823
|
-
type: "apiKey"
|
|
824
|
-
}],
|
|
820
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
825
821
|
url: "/v1/search",
|
|
826
822
|
...options,
|
|
827
823
|
headers: {
|
|
@@ -830,11 +826,7 @@ var search = (options) => (options?.client ?? client).post({
|
|
|
830
826
|
}
|
|
831
827
|
});
|
|
832
828
|
var getSearchStats = (options) => (options?.client ?? client).post({
|
|
833
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
834
|
-
in: "cookie",
|
|
835
|
-
name: "nadeshiko.session_token",
|
|
836
|
-
type: "apiKey"
|
|
837
|
-
}],
|
|
829
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
838
830
|
url: "/v1/search/stats",
|
|
839
831
|
...options,
|
|
840
832
|
headers: {
|
|
@@ -843,11 +835,7 @@ var getSearchStats = (options) => (options?.client ?? client).post({
|
|
|
843
835
|
}
|
|
844
836
|
});
|
|
845
837
|
var searchWords = (options) => (options.client ?? client).post({
|
|
846
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
847
|
-
in: "cookie",
|
|
848
|
-
name: "nadeshiko.session_token",
|
|
849
|
-
type: "apiKey"
|
|
850
|
-
}],
|
|
838
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
851
839
|
url: "/v1/search/words",
|
|
852
840
|
...options,
|
|
853
841
|
headers: {
|
|
@@ -898,11 +886,7 @@ var getSegmentContext = (options) => (options.client ?? client).get({
|
|
|
898
886
|
...options
|
|
899
887
|
});
|
|
900
888
|
var listSeries = (options) => (options?.client ?? client).get({
|
|
901
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
902
|
-
in: "cookie",
|
|
903
|
-
name: "nadeshiko.session_token",
|
|
904
|
-
type: "apiKey"
|
|
905
|
-
}],
|
|
889
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
906
890
|
url: "/v1/media/series",
|
|
907
891
|
...options
|
|
908
892
|
});
|
|
@@ -921,11 +905,7 @@ var deleteSeries = (options) => (options.client ?? client).delete({
|
|
|
921
905
|
...options
|
|
922
906
|
});
|
|
923
907
|
var getSeries = (options) => (options.client ?? client).get({
|
|
924
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
925
|
-
in: "cookie",
|
|
926
|
-
name: "nadeshiko.session_token",
|
|
927
|
-
type: "apiKey"
|
|
928
|
-
}],
|
|
908
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
929
909
|
url: "/v1/media/series/{id}",
|
|
930
910
|
...options
|
|
931
911
|
});
|
|
@@ -1061,7 +1041,7 @@ var getUserQuota = (options) => (options?.client ?? client).get({
|
|
|
1061
1041
|
in: "cookie",
|
|
1062
1042
|
name: "nadeshiko.session_token",
|
|
1063
1043
|
type: "apiKey"
|
|
1064
|
-
}
|
|
1044
|
+
}],
|
|
1065
1045
|
url: "/v1/user/quota",
|
|
1066
1046
|
...options
|
|
1067
1047
|
});
|
|
@@ -1458,30 +1438,6 @@ function createNadeshikoClient(config) {
|
|
|
1458
1438
|
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1459
1439
|
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1460
1440
|
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1461
|
-
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1462
|
-
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1463
|
-
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1464
|
-
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1465
|
-
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1466
|
-
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1467
|
-
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1468
|
-
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1469
|
-
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1470
|
-
searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
|
|
1471
|
-
getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
|
|
1472
|
-
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1473
|
-
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1474
|
-
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1475
|
-
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1476
|
-
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1477
|
-
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1478
|
-
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1479
|
-
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1480
|
-
listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
|
|
1481
|
-
updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1482
|
-
runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1483
|
-
listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
|
|
1484
|
-
getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance }),
|
|
1485
1441
|
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1486
1442
|
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1487
1443
|
updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
|
|
@@ -1500,6 +1456,7 @@ function createNadeshikoClient(config) {
|
|
|
1500
1456
|
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1501
1457
|
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1502
1458
|
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1459
|
+
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1503
1460
|
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1504
1461
|
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1505
1462
|
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
@@ -1514,10 +1471,33 @@ function createNadeshikoClient(config) {
|
|
|
1514
1471
|
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1515
1472
|
enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
|
|
1516
1473
|
unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
|
|
1474
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1475
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1476
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1477
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1478
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1479
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1480
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1481
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1482
|
+
searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
|
|
1483
|
+
getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
|
|
1517
1484
|
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1518
1485
|
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
|
|
1486
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1487
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1488
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1489
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1490
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1491
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1519
1492
|
impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
|
|
1520
|
-
clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance })
|
|
1493
|
+
clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
|
|
1494
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1495
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1496
|
+
listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
|
|
1497
|
+
updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1498
|
+
runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1499
|
+
listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
|
|
1500
|
+
getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance })
|
|
1521
1501
|
};
|
|
1522
1502
|
}
|
|
1523
1503
|
// generated/dev/internal/media.gen.ts
|
|
@@ -1550,6 +1530,7 @@ __export(exports_user_gen, {
|
|
|
1550
1530
|
trackUserActivity: () => trackUserActivity,
|
|
1551
1531
|
listUserLabs: () => listUserLabs,
|
|
1552
1532
|
listUserActivity: () => listUserActivity,
|
|
1533
|
+
getUserQuota: () => getUserQuota,
|
|
1553
1534
|
getUserPreferences: () => getUserPreferences,
|
|
1554
1535
|
getUserActivityStats: () => getUserActivityStats,
|
|
1555
1536
|
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
@@ -1560,10 +1541,37 @@ __export(exports_user_gen, {
|
|
|
1560
1541
|
deleteUserActivity: () => deleteUserActivity,
|
|
1561
1542
|
createUserReport: () => createUserReport
|
|
1562
1543
|
});
|
|
1544
|
+
// generated/dev/internal/collections.gen.ts
|
|
1545
|
+
var exports_collections_gen = {};
|
|
1546
|
+
__export(exports_collections_gen, {
|
|
1547
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
1548
|
+
updateCollection: () => updateCollection,
|
|
1549
|
+
searchCollectionSegments: () => searchCollectionSegments,
|
|
1550
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
1551
|
+
listCollections: () => listCollections,
|
|
1552
|
+
getCollectionStats: () => getCollectionStats,
|
|
1553
|
+
getCollection: () => getCollection,
|
|
1554
|
+
deleteCollection: () => deleteCollection,
|
|
1555
|
+
createCollection: () => createCollection,
|
|
1556
|
+
addSegmentToCollection: () => addSegmentToCollection
|
|
1557
|
+
});
|
|
1563
1558
|
// generated/dev/internal/admin.gen.ts
|
|
1564
1559
|
var exports_admin_gen = {};
|
|
1565
1560
|
__export(exports_admin_gen, {
|
|
1561
|
+
updateAdminReport: () => updateAdminReport,
|
|
1562
|
+
updateAdminMediaAudit: () => updateAdminMediaAudit,
|
|
1563
|
+
triggerReindex: () => triggerReindex,
|
|
1564
|
+
runAdminMediaAudit: () => runAdminMediaAudit,
|
|
1565
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
1566
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
1567
|
+
listAdminReports: () => listAdminReports,
|
|
1568
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
1569
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
1570
|
+
listAdminMediaAudits: () => listAdminMediaAudits,
|
|
1571
|
+
listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
|
|
1566
1572
|
impersonateAdminUser: () => impersonateAdminUser,
|
|
1573
|
+
getAdminQueue: () => getAdminQueue,
|
|
1574
|
+
getAdminMediaAuditRun: () => getAdminMediaAuditRun,
|
|
1567
1575
|
getAdminHealth: () => getAdminHealth,
|
|
1568
1576
|
getAdminDashboard: () => getAdminDashboard,
|
|
1569
1577
|
clearAdminImpersonation: () => clearAdminImpersonation
|
|
@@ -1642,6 +1650,7 @@ export {
|
|
|
1642
1650
|
createMedia,
|
|
1643
1651
|
createEpisode,
|
|
1644
1652
|
createCollection,
|
|
1653
|
+
exports_collections_gen as collections,
|
|
1645
1654
|
client,
|
|
1646
1655
|
clearAdminImpersonation,
|
|
1647
1656
|
autocompleteMedia,
|
|
@@ -1650,5 +1659,5 @@ export {
|
|
|
1650
1659
|
addMediaToSeries
|
|
1651
1660
|
};
|
|
1652
1661
|
|
|
1653
|
-
//# debugId=
|
|
1662
|
+
//# debugId=B4E32849EFACC53A64756E2164756E21
|
|
1654
1663
|
//# sourceMappingURL=index.js.map
|