@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.
- package/dist/{chunk-32VR22VH.js → chunk-45D6N4NJ.js} +29 -1
- package/dist/chunk-45D6N4NJ.js.map +1 -0
- package/dist/{index-B2ilGXPx.d.cts → index-DR2pMx-H.d.cts} +205 -3
- package/dist/{index-B2ilGXPx.d.ts → index-DR2pMx-H.d.ts} +205 -3
- package/dist/index.cjs +28 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +60 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +23 -3
- package/dist/internal.d.ts +23 -3
- package/dist/internal.js +33 -1
- package/dist/internal.js.map +1 -1
- package/package.json +18 -17
- package/dist/chunk-32VR22VH.js.map +0 -1
|
@@ -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-
|
|
15668
|
+
//# sourceMappingURL=chunk-45D6N4NJ.js.map
|