@mushi-mushi/core 1.10.0 → 1.11.0

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
@@ -140,12 +140,20 @@ function createApiClient(options) {
140
140
  reporterToken
141
141
  );
142
142
  },
143
- async replyToReporterReport(reportId, reporterToken, body) {
143
+ async replyToReporterReport(reportId, reporterToken, body, feedbackSignal) {
144
144
  return requestForReporter(
145
145
  "POST",
146
146
  `/v1/reporter/reports/${reportId}/reply`,
147
147
  reporterToken,
148
- { body }
148
+ { body, ...feedbackSignal ? { feedback_signal: feedbackSignal } : {} }
149
+ );
150
+ },
151
+ async reopenReporterReport(reportId, reporterToken, note) {
152
+ return requestForReporter(
153
+ "POST",
154
+ `/v1/reporter/reports/${reportId}/reopen`,
155
+ reporterToken,
156
+ { note: note ?? "" }
149
157
  );
150
158
  },
151
159
  // ─── Rewards program (P1) ──────────────────────────────────