@brigadasos/nadeshiko-sdk 1.4.2-dev.a13aba0 → 1.4.3-dev.2dd948a

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
@@ -1034,7 +1034,7 @@ var getSeiyuu = (options) => (options.client ?? client).get({
1034
1034
  url: "/v1/media/seiyuu/{id}",
1035
1035
  ...options
1036
1036
  });
1037
- var getQuota = (options) => (options?.client ?? client).get({
1037
+ var getUserQuota = (options) => (options?.client ?? client).get({
1038
1038
  security: [{
1039
1039
  in: "cookie",
1040
1040
  name: "nadeshiko.session_token",
@@ -1043,7 +1043,7 @@ var getQuota = (options) => (options?.client ?? client).get({
1043
1043
  url: "/v1/user/quota",
1044
1044
  ...options
1045
1045
  });
1046
- var listReports = (options) => (options?.client ?? client).get({
1046
+ var listUserReports = (options) => (options?.client ?? client).get({
1047
1047
  security: [{
1048
1048
  in: "cookie",
1049
1049
  name: "nadeshiko.session_token",
@@ -1052,7 +1052,7 @@ var listReports = (options) => (options?.client ?? client).get({
1052
1052
  url: "/v1/user/reports",
1053
1053
  ...options
1054
1054
  });
1055
- var createReport = (options) => (options.client ?? client).post({
1055
+ var createUserReport = (options) => (options.client ?? client).post({
1056
1056
  security: [{
1057
1057
  in: "cookie",
1058
1058
  name: "nadeshiko.session_token",
@@ -1065,7 +1065,7 @@ var createReport = (options) => (options.client ?? client).post({
1065
1065
  ...options.headers
1066
1066
  }
1067
1067
  });
1068
- var getPreferences = (options) => (options?.client ?? client).get({
1068
+ var getUserPreferences = (options) => (options?.client ?? client).get({
1069
1069
  security: [{
1070
1070
  in: "cookie",
1071
1071
  name: "nadeshiko.session_token",
@@ -1074,7 +1074,7 @@ var getPreferences = (options) => (options?.client ?? client).get({
1074
1074
  url: "/v1/user/preferences",
1075
1075
  ...options
1076
1076
  });
1077
- var updatePreferences = (options) => (options.client ?? client).patch({
1077
+ var updateUserPreferences = (options) => (options.client ?? client).patch({
1078
1078
  security: [{
1079
1079
  in: "cookie",
1080
1080
  name: "nadeshiko.session_token",
@@ -1087,7 +1087,7 @@ var updatePreferences = (options) => (options.client ?? client).patch({
1087
1087
  ...options.headers
1088
1088
  }
1089
1089
  });
1090
- var deleteActivity = (options) => (options?.client ?? client).delete({
1090
+ var deleteUserActivity = (options) => (options?.client ?? client).delete({
1091
1091
  security: [{
1092
1092
  in: "cookie",
1093
1093
  name: "nadeshiko.session_token",
@@ -1096,7 +1096,7 @@ var deleteActivity = (options) => (options?.client ?? client).delete({
1096
1096
  url: "/v1/user/activity",
1097
1097
  ...options
1098
1098
  });
1099
- var listActivity = (options) => (options?.client ?? client).get({
1099
+ var listUserActivity = (options) => (options?.client ?? client).get({
1100
1100
  security: [{
1101
1101
  in: "cookie",
1102
1102
  name: "nadeshiko.session_token",
@@ -1105,7 +1105,7 @@ var listActivity = (options) => (options?.client ?? client).get({
1105
1105
  url: "/v1/user/activity",
1106
1106
  ...options
1107
1107
  });
1108
- var getActivityHeatmap = (options) => (options?.client ?? client).get({
1108
+ var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1109
1109
  security: [{
1110
1110
  in: "cookie",
1111
1111
  name: "nadeshiko.session_token",
@@ -1114,7 +1114,7 @@ var getActivityHeatmap = (options) => (options?.client ?? client).get({
1114
1114
  url: "/v1/user/activity/heatmap",
1115
1115
  ...options
1116
1116
  });
1117
- var getActivityStats = (options) => (options?.client ?? client).get({
1117
+ var getUserActivityStats = (options) => (options?.client ?? client).get({
1118
1118
  security: [{
1119
1119
  in: "cookie",
1120
1120
  name: "nadeshiko.session_token",
@@ -1123,7 +1123,7 @@ var getActivityStats = (options) => (options?.client ?? client).get({
1123
1123
  url: "/v1/user/activity/stats",
1124
1124
  ...options
1125
1125
  });
1126
- var exportData = (options) => (options?.client ?? client).get({
1126
+ var exportUserData = (options) => (options?.client ?? client).get({
1127
1127
  security: [{
1128
1128
  in: "cookie",
1129
1129
  name: "nadeshiko.session_token",
@@ -1132,7 +1132,7 @@ var exportData = (options) => (options?.client ?? client).get({
1132
1132
  url: "/v1/user/export",
1133
1133
  ...options
1134
1134
  });
1135
- var listLabs = (options) => (options?.client ?? client).get({
1135
+ var listUserLabs = (options) => (options?.client ?? client).get({
1136
1136
  security: [{
1137
1137
  in: "cookie",
1138
1138
  name: "nadeshiko.session_token",
@@ -1363,7 +1363,7 @@ function createNadeshikoClient(config) {
1363
1363
  getSeries: (options) => getSeries({ ...options, client: clientInstance }),
1364
1364
  getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
1365
1365
  getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
1366
- getQuota: (options) => getQuota({ ...options, client: clientInstance }),
1366
+ getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
1367
1367
  listCollections: (options) => listCollections({ ...options, client: clientInstance }),
1368
1368
  createCollection: (options) => createCollection({ ...options, client: clientInstance }),
1369
1369
  getCollection: (options) => getCollection({ ...options, client: clientInstance }),
@@ -1404,16 +1404,16 @@ function createNadeshikoClient(config) {
1404
1404
  addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
1405
1405
  updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
1406
1406
  removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
1407
- createReport: (options) => createReport({ ...options, client: clientInstance }),
1408
- listReports: (options) => listReports({ ...options, client: clientInstance }),
1409
- getPreferences: (options) => getPreferences({ ...options, client: clientInstance }),
1410
- updatePreferences: (options) => updatePreferences({ ...options, client: clientInstance }),
1411
- listActivity: (options) => listActivity({ ...options, client: clientInstance }),
1412
- deleteActivity: (options) => deleteActivity({ ...options, client: clientInstance }),
1413
- getActivityHeatmap: (options) => getActivityHeatmap({ ...options, client: clientInstance }),
1414
- getActivityStats: (options) => getActivityStats({ ...options, client: clientInstance }),
1415
- exportData: (options) => exportData({ ...options, client: clientInstance }),
1416
- listLabs: (options) => listLabs({ ...options, client: clientInstance }),
1407
+ createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
1408
+ listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
1409
+ getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
1410
+ updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
1411
+ listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
1412
+ deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
1413
+ getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
1414
+ getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
1415
+ exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
1416
+ listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
1417
1417
  getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
1418
1418
  getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
1419
1419
  };
@@ -1442,16 +1442,16 @@ __export(exports_media_gen, {
1442
1442
  // generated/dev/internal/user.gen.ts
1443
1443
  var exports_user_gen = {};
1444
1444
  __export(exports_user_gen, {
1445
- updatePreferences: () => updatePreferences,
1446
- listReports: () => listReports,
1447
- listLabs: () => listLabs,
1448
- listActivity: () => listActivity,
1449
- getPreferences: () => getPreferences,
1450
- getActivityStats: () => getActivityStats,
1451
- getActivityHeatmap: () => getActivityHeatmap,
1452
- exportData: () => exportData,
1453
- deleteActivity: () => deleteActivity,
1454
- createReport: () => createReport
1445
+ updateUserPreferences: () => updateUserPreferences,
1446
+ listUserReports: () => listUserReports,
1447
+ listUserLabs: () => listUserLabs,
1448
+ listUserActivity: () => listUserActivity,
1449
+ getUserPreferences: () => getUserPreferences,
1450
+ getUserActivityStats: () => getUserActivityStats,
1451
+ getUserActivityHeatmap: () => getUserActivityHeatmap,
1452
+ exportUserData: () => exportUserData,
1453
+ deleteUserActivity: () => deleteUserActivity,
1454
+ createUserReport: () => createUserReport
1455
1455
  });
1456
1456
  // generated/dev/internal/admin.gen.ts
1457
1457
  var exports_admin_gen = {};
@@ -1461,10 +1461,10 @@ __export(exports_admin_gen, {
1461
1461
  });
1462
1462
  export {
1463
1463
  exports_user_gen as user,
1464
+ updateUserPreferences,
1464
1465
  updateSeriesMedia,
1465
1466
  updateSeries,
1466
1467
  updateSegment,
1467
- updatePreferences,
1468
1468
  updateMedia,
1469
1469
  updateEpisode,
1470
1470
  updateCollectionSegment,
@@ -1480,11 +1480,12 @@ export {
1480
1480
  removeMediaFromSeries,
1481
1481
  purgeAdminQueueFailed,
1482
1482
  exports_media_gen as media,
1483
+ listUserReports,
1484
+ listUserLabs,
1485
+ listUserActivity,
1483
1486
  listSeries,
1484
1487
  listSegments,
1485
- listReports,
1486
1488
  listMedia,
1487
- listLabs,
1488
1489
  listEpisodes,
1489
1490
  listCollections,
1490
1491
  listAdminReviewRuns,
@@ -1493,15 +1494,16 @@ export {
1493
1494
  listAdminReports,
1494
1495
  listAdminQueueStats,
1495
1496
  listAdminQueueFailed,
1496
- listActivity,
1497
+ getUserQuota,
1498
+ getUserPreferences,
1499
+ getUserActivityStats,
1500
+ getUserActivityHeatmap,
1497
1501
  getSeries,
1498
1502
  getSeiyuu,
1499
1503
  getSegmentContext,
1500
1504
  getSegmentByUuid,
1501
1505
  getSegment,
1502
1506
  getSearchStats,
1503
- getQuota,
1504
- getPreferences,
1505
1507
  getMedia,
1506
1508
  getEpisode,
1507
1509
  getCollection,
@@ -1510,19 +1512,17 @@ export {
1510
1512
  getAdminQueue,
1511
1513
  getAdminHealth,
1512
1514
  getAdminDashboard,
1513
- getActivityStats,
1514
- getActivityHeatmap,
1515
- exportData,
1515
+ exportUserData,
1516
+ deleteUserActivity,
1516
1517
  deleteSeries,
1517
1518
  deleteSegment,
1518
1519
  deleteMedia,
1519
1520
  deleteEpisode,
1520
1521
  deleteCollection,
1521
1522
  deleteAdminReviewAllowlistEntry,
1522
- deleteActivity,
1523
+ createUserReport,
1523
1524
  createSeries,
1524
1525
  createSegment,
1525
- createReport,
1526
1526
  createNadeshikoClient,
1527
1527
  createMedia,
1528
1528
  createEpisode,
@@ -1535,5 +1535,5 @@ export {
1535
1535
  addMediaToSeries
1536
1536
  };
1537
1537
 
1538
- //# debugId=6DCBA6AB10BC445664756E2164756E21
1538
+ //# debugId=E118223126A4E24764756E2164756E21
1539
1539
  //# sourceMappingURL=index.js.map