@delopay/sdk 0.304.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-ZAYJIXX6.js → chunk-45D6N4NJ.js} +15 -1
- package/dist/chunk-45D6N4NJ.js.map +1 -0
- package/dist/{index-CX18XhHn.d.cts → index-DR2pMx-H.d.cts} +34 -0
- package/dist/{index-CX18XhHn.d.ts → index-DR2pMx-H.d.ts} +34 -0
- package/dist/index.cjs +14 -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 +14 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +1 -1
- package/package.json +18 -17
- package/dist/chunk-ZAYJIXX6.js.map +0 -1
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
|