@brigadasos/nadeshiko-sdk 1.5.0-dev.fe381ff → 1.5.1-dev.dd2d823

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
@@ -119,6 +119,7 @@ __export(exports_dev, {
119
119
  collections: () => exports_collections_gen,
120
120
  client: () => client,
121
121
  clearAdminImpersonation: () => clearAdminImpersonation,
122
+ batchUpdateAdminReports: () => batchUpdateAdminReports,
122
123
  autocompleteMedia: () => autocompleteMedia,
123
124
  admin: () => exports_admin_gen,
124
125
  addSegmentToCollection: () => addSegmentToCollection,
@@ -1642,6 +1643,19 @@ var listAdminReports = (options) => (options?.client ?? client).get({
1642
1643
  url: "/v1/admin/reports",
1643
1644
  ...options
1644
1645
  });
1646
+ var batchUpdateAdminReports = (options) => (options.client ?? client).patch({
1647
+ security: [{
1648
+ in: "cookie",
1649
+ name: "nadeshiko.session_token",
1650
+ type: "apiKey"
1651
+ }],
1652
+ url: "/v1/admin/reports/batch",
1653
+ ...options,
1654
+ headers: {
1655
+ "Content-Type": "application/json",
1656
+ ...options.headers
1657
+ }
1658
+ });
1645
1659
  var updateAdminReport = (options) => (options.client ?? client).patch({
1646
1660
  security: [{
1647
1661
  in: "cookie",
@@ -1821,6 +1835,7 @@ function createNadeshikoClient(config) {
1821
1835
  impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
1822
1836
  clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
1823
1837
  listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
1838
+ batchUpdateAdminReports: (options) => batchUpdateAdminReports({ ...options, client: clientInstance }),
1824
1839
  updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
1825
1840
  listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
1826
1841
  updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
@@ -1909,8 +1924,9 @@ __export(exports_admin_gen, {
1909
1924
  getAdminMediaAuditRun: () => getAdminMediaAuditRun,
1910
1925
  getAdminHealth: () => getAdminHealth,
1911
1926
  getAdminDashboard: () => getAdminDashboard,
1912
- clearAdminImpersonation: () => clearAdminImpersonation
1927
+ clearAdminImpersonation: () => clearAdminImpersonation,
1928
+ batchUpdateAdminReports: () => batchUpdateAdminReports
1913
1929
  });
1914
1930
 
1915
- //# debugId=8ABA5B3A395A47F564756E2164756E21
1931
+ //# debugId=4A1D906EF6A4392464756E2164756E21
1916
1932
  //# sourceMappingURL=index.js.map