@zinn-digital/sdk 0.1.1931 → 0.1.1934

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.
@@ -112100,7 +112100,7 @@ export interface components {
112100
112100
  reason: "own_vps" | "own_vps_rollback";
112101
112101
  /** @description Whether the server's money is back — asked of the ledger (the order refunded, or the line's Zinn® credit written), never of the move's state. A move that ended (the box removed) is refunded a little after, so the screen says the refund is on its way until this is true. */
112102
112102
  refunded: boolean;
112103
- /** @description `preparing` (the server is being built, then our panel set up on it — `step` says which), the site move's own states (`pending`, `running`, `holding`, `succeeded`), or `failed`/`cancelled`. A failed forward move names where it stopped in `step`: `server` (the server could not be built), `setup` (our panel could not be set up on it) or `move` (the copy or its checks did not pass) — every one left the website where it was and refunds the server (`refunded` says when the money is back), and the offer (`sizes`) is there to try again. */
112103
+ /** @description `preparing` (the server is being built, then our panel set up on it, then its secure monitoring login is confirmed working — `step` says which: `server`, `setup` or `secure`), the site move's own states (`pending`, `running`, `holding`, `succeeded`), or `failed`/`cancelled`. A failed forward move names where it stopped in `step`: `server` (the server could not be built), `setup` (our panel could not be set up on it) or `move` (the copy or its checks did not pass) — every one left the website where it was and refunds the server (`refunded` says when the money is back), and the offer (`sizes`) is there to try again. */
112104
112104
  status: string;
112105
112105
  step: string;
112106
112106
  } | null;
@@ -121851,6 +121851,11 @@ export interface components {
121851
121851
  crypto_variance_account_code: string;
121852
121852
  /** @description Where gateway fees post. `404` (Bank Fees) — an **expense**, which is why fees can never be a sales-invoice line. */
121853
121853
  fee_account_code: string;
121854
+ /**
121855
+ * Format: date
121856
+ * @description DAY-0308 (docs/311 §21): D, the first UTC day whose daily PayPal USD document is paid from its clearing account (`clearing_account_ids["PAYPAL:USD"]`). A day before D was matched by hand and is never paid by code. `null` means the route pays nothing. Never before `2026-11-01` (the hard floor; no PayPal USD document dated before it is ever paid by code, daily or monthly).
121857
+ */
121858
+ paypal_usd_from: string | null;
121854
121859
  /** @description ⛔ **Where the lines will ACTUALLY post** — the field above, or `fee_account_code` when it is empty. Read-only, and returned beside the raw value rather than instead of it: a screen showing only the raw value renders an empty box beside a live export posting to `404`, and one showing only this cannot tell an operator whether that is a deliberate override or the default following along behind them. */
121855
121860
  resolved_crypto_variance_account_code: string;
121856
121861
  /** @description Nominal code every sales line posts to. `200` (Sales) in the live Xero. */
@@ -121879,9 +121884,16 @@ export interface components {
121879
121884
  clearing_account_ids?: {
121880
121885
  [key: string]: string;
121881
121886
  };
121887
+ /** @description Required as `true` to move `paypal_usd_from` earlier. Ignored otherwise. Never stored. */
121888
+ confirm_backdate?: boolean;
121882
121889
  /** @description ⭐ An empty string is a real edit, not a no-op: it clears an override and returns the variance to following `fee_account_code`. */
121883
121890
  crypto_variance_account_code?: string;
121884
121891
  fee_account_code?: string;
121892
+ /**
121893
+ * Format: date
121894
+ * @description D for the PayPal USD clearing route (`YYYY-MM-DD`, or `null` to pay nothing). A date before `2026-11-01` is always refused with 422 `refusal.accounting.paypalUsdFromBeforeFloor` (first set or change, with or without `confirm_backdate`): nothing dated before that day is ever paid from the clearing. Setting it the first time, moving it later or clearing it is allowed. Moving it EARLIER makes every day in between payable on the next run that covers it, so it is refused with 422 `refusal.accounting.paypalUsdFromBackdate` unless `confirm_backdate` is `true`; a confirmed backdate is audit-logged with the old and the new date.
121895
+ */
121896
+ paypal_usd_from?: string | null;
121885
121897
  revenue_account_code?: string;
121886
121898
  tax_rate_map?: {
121887
121899
  [key: string]: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1931",
3
+ "version": "0.1.1934",
4
4
  "description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",