@delopay/sdk 0.400.0 → 0.403.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/internal.js CHANGED
@@ -306,7 +306,7 @@ import {
306
306
  visibleCustomFields,
307
307
  whopAccentSwatch,
308
308
  whopCardElement
309
- } from "./chunk-AZRXI3FB.js";
309
+ } from "./chunk-JJE7PY3K.js";
310
310
 
311
311
  // src/internal/resources/admin.ts
312
312
  var Admin = class {
@@ -1195,13 +1195,32 @@ var AdminPortal = class {
1195
1195
  });
1196
1196
  }
1197
1197
  /**
1198
- * Every shop's device intelligence account, with its assessments per environment and
1199
- * its error rate over the last `window_days` days. The error rate counts finished
1200
- * assessments: one still running and a payment naming no buyer are not errors.
1198
+ * Every shop's device intelligence account, with its merchant's and its own
1199
+ * name and its assessments per environment over the last `days` days: counts
1200
+ * and error rate, failures by reason, finished assessments per day and
1201
+ * provider, the last recorded assessment, browser payments against assessed
1202
+ * ones, and the payments held for a missing assessment. The error rate counts
1203
+ * finished assessments: one still running and a payment naming no buyer are
1204
+ * not errors.
1201
1205
  * `GET /admin-portal/device-intelligence`
1202
1206
  */
1203
- async deviceIntelligenceUsage() {
1204
- return this.request("GET", "/admin-portal/device-intelligence");
1207
+ async deviceIntelligenceUsage(params = {}) {
1208
+ return this.request("GET", "/admin-portal/device-intelligence", {
1209
+ query: params
1210
+ });
1211
+ }
1212
+ /**
1213
+ * The payments behind one number of the device intelligence overview, one
1214
+ * page at a time: the assessments it counts, the payments held for a missing
1215
+ * assessment, or the browser payments without a device signal. With the same
1216
+ * `days` a list's `total` is the count it was opened from. A row carries
1217
+ * nothing about the buyer.
1218
+ * `GET /admin-portal/device-intelligence/payments`
1219
+ */
1220
+ async deviceIntelligencePayments(params = {}) {
1221
+ return this.request("GET", "/admin-portal/device-intelligence/payments", {
1222
+ query: params
1223
+ });
1205
1224
  }
1206
1225
  /**
1207
1226
  * PSP analytics across merchants: the merchant surface's