@delopay/sdk 0.304.0 → 0.306.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/internal.cjs CHANGED
@@ -5997,6 +5997,20 @@ var Analytics = class {
5997
5997
  query: params
5998
5998
  });
5999
5999
  }
6000
+ /**
6001
+ * Period Reports: the scoped daily series, pinned exactly like `scope`, but
6002
+ * gated on the Period Reports permission area instead of Payment
6003
+ * Performance. Pass `timezone` and each day bucket is a local calendar day,
6004
+ * which sums exactly into calendar weeks and months. Answers only the
6005
+ * `series`, `previous` and `children` blocks and ignores country and device
6006
+ * filters. Accepts a dashboard session or an API key, including a
6007
+ * `statistics_read` key. `GET /analytics/reports`
6008
+ */
6009
+ async reports(params) {
6010
+ return this.request("GET", "/analytics/reports", {
6011
+ query: params
6012
+ });
6013
+ }
6000
6014
  /**
6001
6015
  * Shop comparison: one series per shop over one window, with whole-window
6002
6016
  * and previous-window totals, so shops can be drawn side by side. Pinned