@delopay/sdk 0.126.0 → 0.127.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
@@ -6445,7 +6445,12 @@ interface ProfitCostTerm {
6445
6445
  unavailable_count: number;
6446
6446
  /** Rows that carry a figure this term deliberately does not sum. */
6447
6447
  excluded_count: number;
6448
- /** Either count above is non-zero: the total is a floor. */
6448
+ /** Rows whose stored source matched none of the values this build knows
6449
+ * a third state, weaker than either count above: not a figure nobody has,
6450
+ * not a figure belonging to another term, but a row that cannot be placed
6451
+ * at all. Published on its own because the remedy is its own. */
6452
+ unclassified_count: number;
6453
+ /** Any count above is non-zero: the total is a floor. */
6449
6454
  incomplete: boolean;
6450
6455
  /** A figure exists in a currency no USD reporting rate covered, so it is missing from `amount_usd` entirely. */
6451
6456
  fx_incomplete: boolean;
@@ -7034,6 +7039,19 @@ interface PaymentClientContextEntry {
7034
7039
  device_model?: string | null;
7035
7040
  /** Capture-point-specific extras (client hints, screen size, referrer …). */
7036
7041
  extra?: Record<string, unknown> | null;
7042
+ /**
7043
+ * The session-replay session this observation was captured during, when the
7044
+ * buyer consented to recording and the checkout reported it. `null` is the
7045
+ * ordinary case — no consent, no hosted checkout, or a payment older than
7046
+ * the feature — and means "no recording", never "not loaded yet".
7047
+ *
7048
+ * Ahead of the vendored contract: published in 0.126.0 against the backend
7049
+ * release that serves it, which has not reached the contract snapshot this
7050
+ * SDK carries. Until it does, the backend simply omits the field, which the
7051
+ * optional type already allows. Kept rather than removed because dropping a
7052
+ * published field is a breaking change for consumers already reading it.
7053
+ */
7054
+ replay_session_id?: string | null;
7037
7055
  created_at: string;
7038
7056
  }
7039
7057
  interface PaymentClientContextListResponse {
@@ -7307,6 +7325,34 @@ interface ConnectorHealthResponse {
7307
7325
  * processor account commonly backs several connector accounts, so a
7308
7326
  * restriction on it takes down every shop that shares it at once. */
7309
7327
  processor_account_id?: string | null;
7328
+ /**
7329
+ * The account's own name at the processor — its dashboard display name, or
7330
+ * its business name when there is no dashboard. Never a label typed into
7331
+ * DeloPay. Absent when the processor did not report one; render that as
7332
+ * "not reported", never as blank and never as your own connector label.
7333
+ */
7334
+ processor_account_name?: string | null;
7335
+ /** The account's country as the processor reports it (ISO 3166-1 alpha-2
7336
+ * for Stripe). Absent when unreported. */
7337
+ processor_account_country?: string | null;
7338
+ /** The account's default currency as an upper-case ISO 4217 code. The
7339
+ * account default only — not a promise about which currency a given payout
7340
+ * settles in. Absent when unreported. */
7341
+ processor_default_currency?: string | null;
7342
+ /** The email address the processor associates with the account. Not a
7343
+ * login: Stripe documents it as unused for authentication. Absent when
7344
+ * unreported. */
7345
+ processor_account_email?: string | null;
7346
+ /** The processor's account type, verbatim — for Stripe the legacy
7347
+ * `standard` / `express` / `custom` configuration, or `none`. Describes
7348
+ * how the account is configured, not whether it is a platform or a
7349
+ * connected account. A string rather than a union so a value this SDK does
7350
+ * not know still passes through. Absent when unreported. */
7351
+ processor_account_type?: string | null;
7352
+ /** Whether the processor will pay out to the merchant. Informational
7353
+ * beside `can_accept_charges` and does not move `state`. `null` and absent
7354
+ * both mean unreported — read neither as `false`. */
7355
+ payouts_enabled?: boolean | null;
7310
7356
  /** Why nothing could be established. Always present when `state` is
7311
7357
  * `'unknown'`, never present otherwise. A stable code, not copy — render
7312
7358
  * your own words for it. */
package/dist/index.d.ts CHANGED
@@ -6445,7 +6445,12 @@ interface ProfitCostTerm {
6445
6445
  unavailable_count: number;
6446
6446
  /** Rows that carry a figure this term deliberately does not sum. */
6447
6447
  excluded_count: number;
6448
- /** Either count above is non-zero: the total is a floor. */
6448
+ /** Rows whose stored source matched none of the values this build knows
6449
+ * a third state, weaker than either count above: not a figure nobody has,
6450
+ * not a figure belonging to another term, but a row that cannot be placed
6451
+ * at all. Published on its own because the remedy is its own. */
6452
+ unclassified_count: number;
6453
+ /** Any count above is non-zero: the total is a floor. */
6449
6454
  incomplete: boolean;
6450
6455
  /** A figure exists in a currency no USD reporting rate covered, so it is missing from `amount_usd` entirely. */
6451
6456
  fx_incomplete: boolean;
@@ -7034,6 +7039,19 @@ interface PaymentClientContextEntry {
7034
7039
  device_model?: string | null;
7035
7040
  /** Capture-point-specific extras (client hints, screen size, referrer …). */
7036
7041
  extra?: Record<string, unknown> | null;
7042
+ /**
7043
+ * The session-replay session this observation was captured during, when the
7044
+ * buyer consented to recording and the checkout reported it. `null` is the
7045
+ * ordinary case — no consent, no hosted checkout, or a payment older than
7046
+ * the feature — and means "no recording", never "not loaded yet".
7047
+ *
7048
+ * Ahead of the vendored contract: published in 0.126.0 against the backend
7049
+ * release that serves it, which has not reached the contract snapshot this
7050
+ * SDK carries. Until it does, the backend simply omits the field, which the
7051
+ * optional type already allows. Kept rather than removed because dropping a
7052
+ * published field is a breaking change for consumers already reading it.
7053
+ */
7054
+ replay_session_id?: string | null;
7037
7055
  created_at: string;
7038
7056
  }
7039
7057
  interface PaymentClientContextListResponse {
@@ -7307,6 +7325,34 @@ interface ConnectorHealthResponse {
7307
7325
  * processor account commonly backs several connector accounts, so a
7308
7326
  * restriction on it takes down every shop that shares it at once. */
7309
7327
  processor_account_id?: string | null;
7328
+ /**
7329
+ * The account's own name at the processor — its dashboard display name, or
7330
+ * its business name when there is no dashboard. Never a label typed into
7331
+ * DeloPay. Absent when the processor did not report one; render that as
7332
+ * "not reported", never as blank and never as your own connector label.
7333
+ */
7334
+ processor_account_name?: string | null;
7335
+ /** The account's country as the processor reports it (ISO 3166-1 alpha-2
7336
+ * for Stripe). Absent when unreported. */
7337
+ processor_account_country?: string | null;
7338
+ /** The account's default currency as an upper-case ISO 4217 code. The
7339
+ * account default only — not a promise about which currency a given payout
7340
+ * settles in. Absent when unreported. */
7341
+ processor_default_currency?: string | null;
7342
+ /** The email address the processor associates with the account. Not a
7343
+ * login: Stripe documents it as unused for authentication. Absent when
7344
+ * unreported. */
7345
+ processor_account_email?: string | null;
7346
+ /** The processor's account type, verbatim — for Stripe the legacy
7347
+ * `standard` / `express` / `custom` configuration, or `none`. Describes
7348
+ * how the account is configured, not whether it is a platform or a
7349
+ * connected account. A string rather than a union so a value this SDK does
7350
+ * not know still passes through. Absent when unreported. */
7351
+ processor_account_type?: string | null;
7352
+ /** Whether the processor will pay out to the merchant. Informational
7353
+ * beside `can_accept_charges` and does not move `state`. `null` and absent
7354
+ * both mean unreported — read neither as `false`. */
7355
+ payouts_enabled?: boolean | null;
7310
7356
  /** Why nothing could be established. Always present when `state` is
7311
7357
  * `'unknown'`, never present otherwise. A stable code, not copy — render
7312
7358
  * your own words for it. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delopay/sdk",
3
- "version": "0.126.0",
3
+ "version": "0.127.0",
4
4
  "description": "Official Delopay TypeScript SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,