@zinn-digital/sdk 0.1.1842 → 0.1.1844

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.
@@ -101832,7 +101832,7 @@ export interface components {
101832
101832
  };
101833
101833
  /** @description MAILQUOTA (owner ruling 2026-11-11): this person's own address is a real mailbox whose inbox was FULL when they signed up, so our e-mails may bounce; the dashboard shows a banner asking them to clear it. `null` when there is nothing to say, and once the day-long check expires. */
101834
101834
  email_warning?: components["schemas"]["EmailWarning"] | null;
101835
- /** @description HOSTILE1116 (2026-11-16): whether this person is a member of a staff organisation, the same test the engine applies to every `/v1/admin/*` route. A membership `role` cannot answer it, because customer organisations have a `manager` role too. The admin console shows a "not a staff account" screen and calls no staff endpoint when this is `false`. `null` when the engine did not compute it. */
101835
+ /** @description HOSTILE1116 (2026-11-16): whether this person is a member of a staff organisation, the same test the engine applies to every `/v1/admin/*` route. A membership `role` cannot answer it, because customer organisations have a `manager` role too. The admin console shows a "not a staff account" screen and calls no staff endpoint unless this is `true`; it fails closed, so `null` (the engine did not compute it) is treated as not staff. */
101836
101836
  is_staff?: boolean | null;
101837
101837
  /** @description The user's org memberships and roles (docs/02 §1). */
101838
101838
  memberships: components["schemas"]["Membership"][];
@@ -117182,6 +117182,13 @@ export interface components {
117182
117182
  net_minor: number;
117183
117183
  /** @description Decimal as a string — an exact multiplier, never a float (§2.8). */
117184
117184
  rate: string;
117185
+ /**
117186
+ * Format: date
117187
+ * @description The date the rate is cited by: the ECB publication day, or the first day of the HMRC/InforEuro month it is valid for. On the UK return each tax-point month has its own row. `null` when nothing was converted.
117188
+ */
117189
+ rate_date?: string | null;
117190
+ /** @description Which published table `rate` came from: `frankfurter:ecb` (ECB, OSS), `inforeuro:monthly` (European Commission, OSS currencies the ECB does not publish), `hmrc:monthly` (HMRC period rate, UK), `inforeuro:monthly:via-EUR` (UK currencies HMRC does not publish: EUR/X over EUR/GBP of one month), or `exact` when the amount was already in the filing currency. */
117191
+ rate_source?: string;
117185
117192
  vat_minor: number;
117186
117193
  }[];
117187
117194
  vat_minor: number;
@@ -117206,10 +117213,10 @@ export interface components {
117206
117213
  period_start: string;
117207
117214
  /**
117208
117215
  * Format: date
117209
- * @description The date the ECB **published** the rates used, which is earlier than `period_end` whenever the quarter ends on a weekend or a holiday — every 31 December, and roughly half of all quarters. `null` when every supply was already in the filing currency and nothing was converted.
117216
+ * @description OSS: the date the ECB **published** the rate used for the period's last day — the next publication day when that day has none (Art. 369h(2), forward). UK: the first day of the latest HMRC month used; each source row carries its own date. `null` when every supply was already in the filing currency and nothing was converted.
117210
117217
  */
117211
117218
  rate_date?: string | null;
117212
- /** @description Which feed produced the rates, named so a figure on a filed return is attributable. `exact:no-conversion-required` where nothing was converted. */
117219
+ /** @description Which tables produced the rates, named so a figure on a filed return is attributable, e.g. `frankfurter:ecb+inforeuro:monthly:2026-12` (OSS) or `hmrc:monthly:2026-10..2026-12` (UK). `exact:no-conversion-required` where nothing was converted. */
117213
117220
  rate_source?: string;
117214
117221
  /** @enum {string} */
117215
117222
  return_type: "non_union_oss" | "uk_vat";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1842",
3
+ "version": "0.1.1844",
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>",