@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.cjs CHANGED
@@ -30,10 +30,10 @@ var __export = (target, all) => {
30
30
  var exports_dev = {};
31
31
  __export(exports_dev, {
32
32
  user: () => exports_user_gen,
33
+ updateUserPreferences: () => updateUserPreferences,
33
34
  updateSeriesMedia: () => updateSeriesMedia,
34
35
  updateSeries: () => updateSeries,
35
36
  updateSegment: () => updateSegment,
36
- updatePreferences: () => updatePreferences,
37
37
  updateMedia: () => updateMedia,
38
38
  updateEpisode: () => updateEpisode,
39
39
  updateCollectionSegment: () => updateCollectionSegment,
@@ -49,11 +49,12 @@ __export(exports_dev, {
49
49
  removeMediaFromSeries: () => removeMediaFromSeries,
50
50
  purgeAdminQueueFailed: () => purgeAdminQueueFailed,
51
51
  media: () => exports_media_gen,
52
+ listUserReports: () => listUserReports,
53
+ listUserLabs: () => listUserLabs,
54
+ listUserActivity: () => listUserActivity,
52
55
  listSeries: () => listSeries,
53
56
  listSegments: () => listSegments,
54
- listReports: () => listReports,
55
57
  listMedia: () => listMedia,
56
- listLabs: () => listLabs,
57
58
  listEpisodes: () => listEpisodes,
58
59
  listCollections: () => listCollections,
59
60
  listAdminReviewRuns: () => listAdminReviewRuns,
@@ -62,15 +63,16 @@ __export(exports_dev, {
62
63
  listAdminReports: () => listAdminReports,
63
64
  listAdminQueueStats: () => listAdminQueueStats,
64
65
  listAdminQueueFailed: () => listAdminQueueFailed,
65
- listActivity: () => listActivity,
66
+ getUserQuota: () => getUserQuota,
67
+ getUserPreferences: () => getUserPreferences,
68
+ getUserActivityStats: () => getUserActivityStats,
69
+ getUserActivityHeatmap: () => getUserActivityHeatmap,
66
70
  getSeries: () => getSeries,
67
71
  getSeiyuu: () => getSeiyuu,
68
72
  getSegmentContext: () => getSegmentContext,
69
73
  getSegmentByUuid: () => getSegmentByUuid,
70
74
  getSegment: () => getSegment,
71
75
  getSearchStats: () => getSearchStats,
72
- getQuota: () => getQuota,
73
- getPreferences: () => getPreferences,
74
76
  getMedia: () => getMedia,
75
77
  getEpisode: () => getEpisode,
76
78
  getCollection: () => getCollection,
@@ -79,19 +81,17 @@ __export(exports_dev, {
79
81
  getAdminQueue: () => getAdminQueue,
80
82
  getAdminHealth: () => getAdminHealth,
81
83
  getAdminDashboard: () => getAdminDashboard,
82
- getActivityStats: () => getActivityStats,
83
- getActivityHeatmap: () => getActivityHeatmap,
84
- exportData: () => exportData,
84
+ exportUserData: () => exportUserData,
85
+ deleteUserActivity: () => deleteUserActivity,
85
86
  deleteSeries: () => deleteSeries,
86
87
  deleteSegment: () => deleteSegment,
87
88
  deleteMedia: () => deleteMedia,
88
89
  deleteEpisode: () => deleteEpisode,
89
90
  deleteCollection: () => deleteCollection,
90
91
  deleteAdminReviewAllowlistEntry: () => deleteAdminReviewAllowlistEntry,
91
- deleteActivity: () => deleteActivity,
92
+ createUserReport: () => createUserReport,
92
93
  createSeries: () => createSeries,
93
94
  createSegment: () => createSegment,
94
- createReport: () => createReport,
95
95
  createNadeshikoClient: () => createNadeshikoClient,
96
96
  createMedia: () => createMedia,
97
97
  createEpisode: () => createEpisode,
@@ -1130,7 +1130,7 @@ var getSeiyuu = (options) => (options.client ?? client).get({
1130
1130
  url: "/v1/media/seiyuu/{id}",
1131
1131
  ...options
1132
1132
  });
1133
- var getQuota = (options) => (options?.client ?? client).get({
1133
+ var getUserQuota = (options) => (options?.client ?? client).get({
1134
1134
  security: [{
1135
1135
  in: "cookie",
1136
1136
  name: "nadeshiko.session_token",
@@ -1139,7 +1139,7 @@ var getQuota = (options) => (options?.client ?? client).get({
1139
1139
  url: "/v1/user/quota",
1140
1140
  ...options
1141
1141
  });
1142
- var listReports = (options) => (options?.client ?? client).get({
1142
+ var listUserReports = (options) => (options?.client ?? client).get({
1143
1143
  security: [{
1144
1144
  in: "cookie",
1145
1145
  name: "nadeshiko.session_token",
@@ -1148,7 +1148,7 @@ var listReports = (options) => (options?.client ?? client).get({
1148
1148
  url: "/v1/user/reports",
1149
1149
  ...options
1150
1150
  });
1151
- var createReport = (options) => (options.client ?? client).post({
1151
+ var createUserReport = (options) => (options.client ?? client).post({
1152
1152
  security: [{
1153
1153
  in: "cookie",
1154
1154
  name: "nadeshiko.session_token",
@@ -1161,7 +1161,7 @@ var createReport = (options) => (options.client ?? client).post({
1161
1161
  ...options.headers
1162
1162
  }
1163
1163
  });
1164
- var getPreferences = (options) => (options?.client ?? client).get({
1164
+ var getUserPreferences = (options) => (options?.client ?? client).get({
1165
1165
  security: [{
1166
1166
  in: "cookie",
1167
1167
  name: "nadeshiko.session_token",
@@ -1170,7 +1170,7 @@ var getPreferences = (options) => (options?.client ?? client).get({
1170
1170
  url: "/v1/user/preferences",
1171
1171
  ...options
1172
1172
  });
1173
- var updatePreferences = (options) => (options.client ?? client).patch({
1173
+ var updateUserPreferences = (options) => (options.client ?? client).patch({
1174
1174
  security: [{
1175
1175
  in: "cookie",
1176
1176
  name: "nadeshiko.session_token",
@@ -1183,7 +1183,7 @@ var updatePreferences = (options) => (options.client ?? client).patch({
1183
1183
  ...options.headers
1184
1184
  }
1185
1185
  });
1186
- var deleteActivity = (options) => (options?.client ?? client).delete({
1186
+ var deleteUserActivity = (options) => (options?.client ?? client).delete({
1187
1187
  security: [{
1188
1188
  in: "cookie",
1189
1189
  name: "nadeshiko.session_token",
@@ -1192,7 +1192,7 @@ var deleteActivity = (options) => (options?.client ?? client).delete({
1192
1192
  url: "/v1/user/activity",
1193
1193
  ...options
1194
1194
  });
1195
- var listActivity = (options) => (options?.client ?? client).get({
1195
+ var listUserActivity = (options) => (options?.client ?? client).get({
1196
1196
  security: [{
1197
1197
  in: "cookie",
1198
1198
  name: "nadeshiko.session_token",
@@ -1201,7 +1201,7 @@ var listActivity = (options) => (options?.client ?? client).get({
1201
1201
  url: "/v1/user/activity",
1202
1202
  ...options
1203
1203
  });
1204
- var getActivityHeatmap = (options) => (options?.client ?? client).get({
1204
+ var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1205
1205
  security: [{
1206
1206
  in: "cookie",
1207
1207
  name: "nadeshiko.session_token",
@@ -1210,7 +1210,7 @@ var getActivityHeatmap = (options) => (options?.client ?? client).get({
1210
1210
  url: "/v1/user/activity/heatmap",
1211
1211
  ...options
1212
1212
  });
1213
- var getActivityStats = (options) => (options?.client ?? client).get({
1213
+ var getUserActivityStats = (options) => (options?.client ?? client).get({
1214
1214
  security: [{
1215
1215
  in: "cookie",
1216
1216
  name: "nadeshiko.session_token",
@@ -1219,7 +1219,7 @@ var getActivityStats = (options) => (options?.client ?? client).get({
1219
1219
  url: "/v1/user/activity/stats",
1220
1220
  ...options
1221
1221
  });
1222
- var exportData = (options) => (options?.client ?? client).get({
1222
+ var exportUserData = (options) => (options?.client ?? client).get({
1223
1223
  security: [{
1224
1224
  in: "cookie",
1225
1225
  name: "nadeshiko.session_token",
@@ -1228,7 +1228,7 @@ var exportData = (options) => (options?.client ?? client).get({
1228
1228
  url: "/v1/user/export",
1229
1229
  ...options
1230
1230
  });
1231
- var listLabs = (options) => (options?.client ?? client).get({
1231
+ var listUserLabs = (options) => (options?.client ?? client).get({
1232
1232
  security: [{
1233
1233
  in: "cookie",
1234
1234
  name: "nadeshiko.session_token",
@@ -1459,7 +1459,7 @@ function createNadeshikoClient(config) {
1459
1459
  getSeries: (options) => getSeries({ ...options, client: clientInstance }),
1460
1460
  getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
1461
1461
  getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
1462
- getQuota: (options) => getQuota({ ...options, client: clientInstance }),
1462
+ getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
1463
1463
  listCollections: (options) => listCollections({ ...options, client: clientInstance }),
1464
1464
  createCollection: (options) => createCollection({ ...options, client: clientInstance }),
1465
1465
  getCollection: (options) => getCollection({ ...options, client: clientInstance }),
@@ -1500,16 +1500,16 @@ function createNadeshikoClient(config) {
1500
1500
  addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
1501
1501
  updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
1502
1502
  removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
1503
- createReport: (options) => createReport({ ...options, client: clientInstance }),
1504
- listReports: (options) => listReports({ ...options, client: clientInstance }),
1505
- getPreferences: (options) => getPreferences({ ...options, client: clientInstance }),
1506
- updatePreferences: (options) => updatePreferences({ ...options, client: clientInstance }),
1507
- listActivity: (options) => listActivity({ ...options, client: clientInstance }),
1508
- deleteActivity: (options) => deleteActivity({ ...options, client: clientInstance }),
1509
- getActivityHeatmap: (options) => getActivityHeatmap({ ...options, client: clientInstance }),
1510
- getActivityStats: (options) => getActivityStats({ ...options, client: clientInstance }),
1511
- exportData: (options) => exportData({ ...options, client: clientInstance }),
1512
- listLabs: (options) => listLabs({ ...options, client: clientInstance }),
1503
+ createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
1504
+ listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
1505
+ getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
1506
+ updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
1507
+ listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
1508
+ deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
1509
+ getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
1510
+ getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
1511
+ exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
1512
+ listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
1513
1513
  getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
1514
1514
  getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
1515
1515
  };
@@ -1538,16 +1538,16 @@ __export(exports_media_gen, {
1538
1538
  // generated/dev/internal/user.gen.ts
1539
1539
  var exports_user_gen = {};
1540
1540
  __export(exports_user_gen, {
1541
- updatePreferences: () => updatePreferences,
1542
- listReports: () => listReports,
1543
- listLabs: () => listLabs,
1544
- listActivity: () => listActivity,
1545
- getPreferences: () => getPreferences,
1546
- getActivityStats: () => getActivityStats,
1547
- getActivityHeatmap: () => getActivityHeatmap,
1548
- exportData: () => exportData,
1549
- deleteActivity: () => deleteActivity,
1550
- createReport: () => createReport
1541
+ updateUserPreferences: () => updateUserPreferences,
1542
+ listUserReports: () => listUserReports,
1543
+ listUserLabs: () => listUserLabs,
1544
+ listUserActivity: () => listUserActivity,
1545
+ getUserPreferences: () => getUserPreferences,
1546
+ getUserActivityStats: () => getUserActivityStats,
1547
+ getUserActivityHeatmap: () => getUserActivityHeatmap,
1548
+ exportUserData: () => exportUserData,
1549
+ deleteUserActivity: () => deleteUserActivity,
1550
+ createUserReport: () => createUserReport
1551
1551
  });
1552
1552
  // generated/dev/internal/admin.gen.ts
1553
1553
  var exports_admin_gen = {};
@@ -1556,5 +1556,5 @@ __export(exports_admin_gen, {
1556
1556
  getAdminDashboard: () => getAdminDashboard
1557
1557
  });
1558
1558
 
1559
- //# debugId=1A71ABED851E7ACE64756E2164756E21
1559
+ //# debugId=885F26339D4C354164756E2164756E21
1560
1560
  //# sourceMappingURL=index.js.map