@brigadasos/nadeshiko-sdk 1.5.0-dev.ba43c52 → 1.5.0-dev.bf6e674

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",
@@ -1721,8 +1735,9 @@ var updateAnnouncement = (options) => (options.client ?? client).put({
1721
1735
  // generated/dev/nadeshiko.gen.ts
1722
1736
  var environments = {
1723
1737
  LOCAL: "http://localhost:5000/api",
1724
- DEVELOPMENT: "https://api.dev.brigadasos.xyz/api",
1725
- PRODUCTION: "https://api.brigadasos.xyz/api"
1738
+ DEVELOPMENT: "https://api-dev.nadeshiko.co",
1739
+ PRODUCTION: "https://api.nadeshiko.co",
1740
+ PROXY: ""
1726
1741
  };
1727
1742
  var defaultSessionTokenGetter = () => {
1728
1743
  if (typeof document === "undefined")
@@ -1820,6 +1835,7 @@ function createNadeshikoClient(config) {
1820
1835
  impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
1821
1836
  clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
1822
1837
  listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
1838
+ batchUpdateAdminReports: (options) => batchUpdateAdminReports({ ...options, client: clientInstance }),
1823
1839
  updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
1824
1840
  listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
1825
1841
  updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
@@ -1908,8 +1924,9 @@ __export(exports_admin_gen, {
1908
1924
  getAdminMediaAuditRun: () => getAdminMediaAuditRun,
1909
1925
  getAdminHealth: () => getAdminHealth,
1910
1926
  getAdminDashboard: () => getAdminDashboard,
1911
- clearAdminImpersonation: () => clearAdminImpersonation
1927
+ clearAdminImpersonation: () => clearAdminImpersonation,
1928
+ batchUpdateAdminReports: () => batchUpdateAdminReports
1912
1929
  });
1913
1930
 
1914
- //# debugId=2A761910B609C11D64756E2164756E21
1931
+ //# debugId=4A1D906EF6A4392464756E2164756E21
1915
1932
  //# sourceMappingURL=index.js.map