@delopay/sdk 0.54.0 → 0.55.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/index.d.cts CHANGED
@@ -335,6 +335,12 @@ interface PaymentResponse {
335
335
  statement_descriptor_name?: string | null;
336
336
  /** Bank statement descriptor (suffix portion). */
337
337
  statement_descriptor_suffix?: string | null;
338
+ /**
339
+ * Whether this payment ran in test mode (against a sandbox/test connector).
340
+ * Set at confirm from the connector account's test mode; `null` for payments
341
+ * created but never confirmed against a connector.
342
+ */
343
+ test_mode?: boolean | null;
338
344
  [key: string]: unknown;
339
345
  }
340
346
  interface PaymentListParams {
@@ -2594,6 +2600,12 @@ interface AnalyticsScopeRequest {
2594
2600
  * back as empty arrays.
2595
2601
  */
2596
2602
  sections?: string | null;
2603
+ /**
2604
+ * Filter by test mode: `false` returns only live payments (the usual view
2605
+ * for real analytics), `true` only test/sandbox payments. Omit to include
2606
+ * both. Applies to the payment series/connectors; refunds are always included.
2607
+ */
2608
+ test_mode?: boolean | null;
2597
2609
  }
2598
2610
  /** One day of aggregated payment activity. Volumes are in USD major units. */
2599
2611
  interface AnalyticsDayBucket {
package/dist/index.d.ts CHANGED
@@ -335,6 +335,12 @@ interface PaymentResponse {
335
335
  statement_descriptor_name?: string | null;
336
336
  /** Bank statement descriptor (suffix portion). */
337
337
  statement_descriptor_suffix?: string | null;
338
+ /**
339
+ * Whether this payment ran in test mode (against a sandbox/test connector).
340
+ * Set at confirm from the connector account's test mode; `null` for payments
341
+ * created but never confirmed against a connector.
342
+ */
343
+ test_mode?: boolean | null;
338
344
  [key: string]: unknown;
339
345
  }
340
346
  interface PaymentListParams {
@@ -2594,6 +2600,12 @@ interface AnalyticsScopeRequest {
2594
2600
  * back as empty arrays.
2595
2601
  */
2596
2602
  sections?: string | null;
2603
+ /**
2604
+ * Filter by test mode: `false` returns only live payments (the usual view
2605
+ * for real analytics), `true` only test/sandbox payments. Omit to include
2606
+ * both. Applies to the payment series/connectors; refunds are always included.
2607
+ */
2608
+ test_mode?: boolean | null;
2597
2609
  }
2598
2610
  /** One day of aggregated payment activity. Volumes are in USD major units. */
2599
2611
  interface AnalyticsDayBucket {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delopay/sdk",
3
- "version": "0.54.0",
3
+ "version": "0.55.0",
4
4
  "description": "Official Delopay TypeScript SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,