@delopay/sdk 0.95.0 → 0.96.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-6BVLBNEZ.js → chunk-MMDPBYRI.js} +28 -1
- package/dist/chunk-MMDPBYRI.js.map +1 -0
- package/dist/index.cjs +27 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +341 -1
- package/dist/index.d.ts +341 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +62 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +24 -3
- package/dist/internal.d.ts +24 -3
- package/dist/internal.js +36 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-6BVLBNEZ.js.map +0 -1
|
@@ -3217,6 +3217,33 @@ var Analytics = class {
|
|
|
3217
3217
|
query: params
|
|
3218
3218
|
});
|
|
3219
3219
|
}
|
|
3220
|
+
/**
|
|
3221
|
+
* Device analytics over the canonical client-context observation per
|
|
3222
|
+
* payment (browser/platform families, device classes and models, checkout
|
|
3223
|
+
* channel mix, time-to-pay), pinned server-side to your own merchant and
|
|
3224
|
+
* drillable via `project_id` / `shop_id` exactly like `scope`. Gated on the
|
|
3225
|
+
* client-context optimisation-use switch: when it is off the server answers
|
|
3226
|
+
* 200 with `enabled: false` and a caveat naming the switch.
|
|
3227
|
+
* `GET /analytics/devices`
|
|
3228
|
+
*/
|
|
3229
|
+
async devices(params) {
|
|
3230
|
+
return this.request("GET", "/analytics/devices", {
|
|
3231
|
+
query: params
|
|
3232
|
+
});
|
|
3233
|
+
}
|
|
3234
|
+
/**
|
|
3235
|
+
* Geo analytics over the canonical client-context observation per payment:
|
|
3236
|
+
* country totals, city bubbles (IP mode), buyer languages, buyer-local
|
|
3237
|
+
* purchase hours and the IP-vs-billing mismatch share. `mode` selects the
|
|
3238
|
+
* location claim (`ip` default, `billing`); the two are never coalesced.
|
|
3239
|
+
* Same drill, window and gating contract as `devices`.
|
|
3240
|
+
* `GET /analytics/geo`
|
|
3241
|
+
*/
|
|
3242
|
+
async geo(params) {
|
|
3243
|
+
return this.request("GET", "/analytics/geo", {
|
|
3244
|
+
query: params
|
|
3245
|
+
});
|
|
3246
|
+
}
|
|
3220
3247
|
/** Global search. `POST /analytics/search` */
|
|
3221
3248
|
async search(params) {
|
|
3222
3249
|
return this.request("POST", "/analytics/search", { body: params });
|
|
@@ -6033,4 +6060,4 @@ export {
|
|
|
6033
6060
|
focusedCheckoutUrl,
|
|
6034
6061
|
CHECKOUT_EVENT_KINDS
|
|
6035
6062
|
};
|
|
6036
|
-
//# sourceMappingURL=chunk-
|
|
6063
|
+
//# sourceMappingURL=chunk-MMDPBYRI.js.map
|