@zinn-digital/sdk 0.1.2109 → 0.1.2110

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
  };
@@ -133438,10 +133440,14 @@ export interface operations {
133438
133440
  include_internal?: boolean;
133439
133441
  /** @description Maximum items to return (page size). */
133440
133442
  limit?: components["parameters"]["Limit"];
133443
+ /** @description Sort key, `-` prefix for descending (`created` = sign-up order). */
133444
+ ordering?: "created" | "-created" | "name" | "-name";
133445
+ /** @description Only customers holding a live subscription to this plan code. */
133446
+ plan?: string;
133441
133447
  /** @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
133448
  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";
133449
+ /** @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. */
133450
+ state?: "paying" | "overdue" | "suspended" | "trial" | "never_bought" | "lapsed" | "closed";
133445
133451
  };
133446
133452
  header?: never;
133447
133453
  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.2110",
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>",