@delopay/sdk 0.302.0 → 0.305.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.
@@ -5691,6 +5691,34 @@ var Analytics = class {
5691
5691
  query: params
5692
5692
  });
5693
5693
  }
5694
+ /**
5695
+ * Period Reports: the scoped daily series, pinned exactly like `scope`, but
5696
+ * gated on the Period Reports permission area instead of Payment
5697
+ * Performance. Pass `timezone` and each day bucket is a local calendar day,
5698
+ * which sums exactly into calendar weeks and months. Answers only the
5699
+ * `series`, `previous` and `children` blocks and ignores country and device
5700
+ * filters. Accepts a dashboard session or an API key, including a
5701
+ * `statistics_read` key. `GET /analytics/reports`
5702
+ */
5703
+ async reports(params) {
5704
+ return this.request("GET", "/analytics/reports", {
5705
+ query: params
5706
+ });
5707
+ }
5708
+ /**
5709
+ * Shop comparison: one series per shop over one window, with whole-window
5710
+ * and previous-window totals, so shops can be drawn side by side. Pinned
5711
+ * server-side to your own merchant (`merchant_id` is ignored), and to your
5712
+ * single shop for a shop-scoped user; `project_id` / `shop_id` narrow it.
5713
+ * Shops without activity are included, sorted by name. Hourly buckets are
5714
+ * refused for windows over 7 days. Accepts an API key like `scope`.
5715
+ * `GET /analytics/shops`
5716
+ */
5717
+ async shops(params) {
5718
+ return this.request("GET", "/analytics/shops", {
5719
+ query: params
5720
+ });
5721
+ }
5694
5722
  /**
5695
5723
  * Device analytics over the canonical client-context observation per
5696
5724
  * payment (browser/platform families, device classes and models, checkout
@@ -15637,4 +15665,4 @@ export {
15637
15665
  decodeNativePanes,
15638
15666
  encodeNativePanes
15639
15667
  };
15640
- //# sourceMappingURL=chunk-32VR22VH.js.map
15668
+ //# sourceMappingURL=chunk-45D6N4NJ.js.map