@delopay/sdk 0.511.0 → 0.512.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/types.d.cts CHANGED
@@ -18425,6 +18425,11 @@ interface AnalyticsShopsRequest {
18425
18425
  * top 50 across all merchants.
18426
18426
  */
18427
18427
  limit?: number | null;
18428
+ /**
18429
+ * Comma-separated optional blocks: `authorization` adds each bucket's
18430
+ * `authorization` counts. Omit for none; a block not asked for is null.
18431
+ */
18432
+ sections?: string | null;
18428
18433
  }
18429
18434
  /**
18430
18435
  * `AnalyticsShopsRequest` for the admin route. Without `merchant_id` it
@@ -18477,6 +18482,16 @@ interface AnalyticsShopBucket {
18477
18482
  buyers?: number | null;
18478
18483
  /** Of `buyers`, those who paid. Eff. conversion is `buyers_converted / buyers`. */
18479
18484
  buyers_converted?: number | null;
18485
+ /**
18486
+ * Attempts of the shop's payments that reached a processor and how many it
18487
+ * authorized, counted as in the processor comparison. The authorization
18488
+ * rate is `authorized / attempts`. Null when the request did not ask for
18489
+ * the `authorization` section, and also when it asked but the server could
18490
+ * not read the counts: null means unavailable, never zero attempts (zero
18491
+ * attempts is `{ attempts: 0, authorized: 0 }`). Absent on servers that
18492
+ * predate it.
18493
+ */
18494
+ authorization?: AnalyticsAuthorizationCounts | null;
18480
18495
  }
18481
18496
  /** One shop's series and window totals. */
18482
18497
  interface AnalyticsShop {
package/dist/types.d.ts CHANGED
@@ -18425,6 +18425,11 @@ interface AnalyticsShopsRequest {
18425
18425
  * top 50 across all merchants.
18426
18426
  */
18427
18427
  limit?: number | null;
18428
+ /**
18429
+ * Comma-separated optional blocks: `authorization` adds each bucket's
18430
+ * `authorization` counts. Omit for none; a block not asked for is null.
18431
+ */
18432
+ sections?: string | null;
18428
18433
  }
18429
18434
  /**
18430
18435
  * `AnalyticsShopsRequest` for the admin route. Without `merchant_id` it
@@ -18477,6 +18482,16 @@ interface AnalyticsShopBucket {
18477
18482
  buyers?: number | null;
18478
18483
  /** Of `buyers`, those who paid. Eff. conversion is `buyers_converted / buyers`. */
18479
18484
  buyers_converted?: number | null;
18485
+ /**
18486
+ * Attempts of the shop's payments that reached a processor and how many it
18487
+ * authorized, counted as in the processor comparison. The authorization
18488
+ * rate is `authorized / attempts`. Null when the request did not ask for
18489
+ * the `authorization` section, and also when it asked but the server could
18490
+ * not read the counts: null means unavailable, never zero attempts (zero
18491
+ * attempts is `{ attempts: 0, authorized: 0 }`). Absent on servers that
18492
+ * predate it.
18493
+ */
18494
+ authorization?: AnalyticsAuthorizationCounts | null;
18480
18495
  }
18481
18496
  /** One shop's series and window totals. */
18482
18497
  interface AnalyticsShop {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delopay/sdk",
3
- "version": "0.511.0",
3
+ "version": "0.512.0",
4
4
  "description": "Official Delopay TypeScript SDK",
5
5
  "repository": {
6
6
  "type": "git",