@zinn-digital/sdk 0.1.2109 → 0.1.2111

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.
@@ -66431,6 +66431,8 @@ export interface components {
66431
66431
  internal: boolean;
66432
66432
  /** Format: date-time */
66433
66433
  last_paid_at: string | null;
66434
+ /** @description DAY-0024: monthly value of every active plan in USD minor units (yearly / 12, other currencies at the stored rate); null when a price has no rate. */
66435
+ monthly_usd_minor: number | null;
66434
66436
  /** Format: int64 */
66435
66437
  mrr_minor: number;
66436
66438
  org: components["schemas"]["Organization"];
@@ -66448,7 +66450,7 @@ export interface components {
66448
66450
  * @description Has this customer bought anything — see the `state` filter.
66449
66451
  * @enum {string}
66450
66452
  */
66451
- state: "paying" | "trial" | "never_bought" | "lapsed" | "closed";
66453
+ state: "paying" | "overdue" | "suspended" | "trial" | "never_bought" | "lapsed" | "closed";
66452
66454
  /** @description Real money taken by a gateway in live mode, net of refunds, per currency (never wallet spend or test-mode payments). Empty when nothing was ever paid. */
66453
66455
  total_spent: components["schemas"]["AdminMoneyAmount"][];
66454
66456
  };
@@ -121079,6 +121081,8 @@ export interface components {
121079
121081
  * @enum {string}
121080
121082
  */
121081
121083
  notice: "vat_included" | "reverse_charge" | "no_vat" | "vat_at_checkout";
121084
+ /** @description COUNTRYFIELD (owner 2026-11-25): the billing country a purchase form should PRE-FILL for the signed-in buyer: their saved billing country, else their primary card's issuing country, else `""` (the field is then required). A suggestion for the form only, never the country this quote was rated on. Present on the authenticated route only. */
121085
+ prefill_country?: string;
121082
121086
  /** @description The single rate behind `notice`, or `0` where the basket carries more than one. A mixed basket (hosting at the buyer's rate, a website build at UK 20%) genuinely has no single rate, and naming one of them would be a false statement. */
121083
121087
  rate_bps: number;
121084
121088
  tax_total_minor: number;
@@ -133438,10 +133442,14 @@ export interface operations {
133438
133442
  include_internal?: boolean;
133439
133443
  /** @description Maximum items to return (page size). */
133440
133444
  limit?: components["parameters"]["Limit"];
133445
+ /** @description Sort key, `-` prefix for descending (`created` = sign-up order). */
133446
+ ordering?: "created" | "-created" | "name" | "-name";
133447
+ /** @description Only customers holding a live subscription to this plan code. */
133448
+ plan?: string;
133441
133449
  /** @description Case-insensitive substring over the org name and the owner's email and name. It does NOT match the org id: fetch one org by id with `GET /v1/admin/customers/{orgId}`. */
133442
133450
  search?: string;
133443
- /** @description Only customers in this state. "Paid" means a live gateway payment, the same money as `total_spent`; a $0 trial order or an order covered by credit is not one. `paying` = paid, not fully refunded, and holds something live (plan, domain, site or server); `trial` = on a live trial and not paying; `never_bought` = has never paid (includes finished trials, free plans and comped orders); `lapsed` = paid once, and holds nothing live or was fully refunded; `closed` = account closed (the only way to list those). */
133444
- state?: "paying" | "trial" | "never_bought" | "lapsed" | "closed";
133451
+ /** @description Only customers in this state. "Paid" means a live gateway payment, the same money as `total_spent`; a $0 trial order or an order covered by credit is not one. `paying` = paid, not fully refunded, and holds something live (plan, domain, site or server); `trial` = on a live trial and not paying; `never_bought` = has never paid (includes finished trials, free plans and comped orders); `lapsed` = paid once, and holds nothing live or was fully refunded; `closed` = account closed (the only way to list those). DAY-0024: `paying` also needs good standing; `overdue` = would be paying but holds a past-due plan; `suspended` = the account is suspended. */
133452
+ state?: "paying" | "overdue" | "suspended" | "trial" | "never_bought" | "lapsed" | "closed";
133445
133453
  };
133446
133454
  header?: never;
133447
133455
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2109",
3
+ "version": "0.1.2111",
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>",