@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
package/dist/index.cjs
CHANGED
|
@@ -3331,6 +3331,33 @@ var Analytics = class {
|
|
|
3331
3331
|
query: params
|
|
3332
3332
|
});
|
|
3333
3333
|
}
|
|
3334
|
+
/**
|
|
3335
|
+
* Device analytics over the canonical client-context observation per
|
|
3336
|
+
* payment (browser/platform families, device classes and models, checkout
|
|
3337
|
+
* channel mix, time-to-pay), pinned server-side to your own merchant and
|
|
3338
|
+
* drillable via `project_id` / `shop_id` exactly like `scope`. Gated on the
|
|
3339
|
+
* client-context optimisation-use switch: when it is off the server answers
|
|
3340
|
+
* 200 with `enabled: false` and a caveat naming the switch.
|
|
3341
|
+
* `GET /analytics/devices`
|
|
3342
|
+
*/
|
|
3343
|
+
async devices(params) {
|
|
3344
|
+
return this.request("GET", "/analytics/devices", {
|
|
3345
|
+
query: params
|
|
3346
|
+
});
|
|
3347
|
+
}
|
|
3348
|
+
/**
|
|
3349
|
+
* Geo analytics over the canonical client-context observation per payment:
|
|
3350
|
+
* country totals, city bubbles (IP mode), buyer languages, buyer-local
|
|
3351
|
+
* purchase hours and the IP-vs-billing mismatch share. `mode` selects the
|
|
3352
|
+
* location claim (`ip` default, `billing`); the two are never coalesced.
|
|
3353
|
+
* Same drill, window and gating contract as `devices`.
|
|
3354
|
+
* `GET /analytics/geo`
|
|
3355
|
+
*/
|
|
3356
|
+
async geo(params) {
|
|
3357
|
+
return this.request("GET", "/analytics/geo", {
|
|
3358
|
+
query: params
|
|
3359
|
+
});
|
|
3360
|
+
}
|
|
3334
3361
|
/** Global search. `POST /analytics/search` */
|
|
3335
3362
|
async search(params) {
|
|
3336
3363
|
return this.request("POST", "/analytics/search", { body: params });
|