@zinn-digital/sdk 0.1.2046 → 0.1.2048

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.
@@ -82541,6 +82541,11 @@ export interface components {
82541
82541
  default: components["schemas"]["CardReuse"];
82542
82542
  /** @description The non-card methods that can renew automatically on this platform right now (PayPal when its gateway is enabled; crypto when crypto auto-renew is switched on and NOWPayments is configured). The card step names them in its one-line warning when a card cannot renew (`shown: false`) or the bank refused the recurring mandate. */
82543
82543
  other_auto_renew?: ("paypal" | "crypto")[];
82544
+ /**
82545
+ * @description Why a card cannot renew when `shown` is false: `market` (this country's rule) or `reseller` (the account buys under an active reseller, so no mandate is kept). Empty when `shown` is true. Display only: it decides nothing about the payment.
82546
+ * @enum {string}
82547
+ */
82548
+ reason?: "" | "market" | "reseller";
82544
82549
  /** @description Whether this account's market allows an unattended card charge, so "Renew automatically" is offered for a card. `false` in a market where it cannot be made (the `BillingMarketRule` table): the card pays once, and PayPal or crypto may still renew automatically. */
82545
82550
  shown: boolean;
82546
82551
  };
@@ -110164,13 +110169,28 @@ export interface components {
110164
110169
  accepts_deploys: boolean | null;
110165
110170
  /** @description False for groups that carry no V2 agent by design (customer_compute, launch, v1). */
110166
110171
  agent_expected: boolean;
110172
+ /**
110173
+ * @description The resource that runs out first.
110174
+ * @enum {string|null}
110175
+ */
110176
+ binding: "disk" | "ram" | "cpu" | null;
110167
110177
  /** @description The server's hostname. */
110168
110178
  box: string;
110169
110179
  cores: number;
110170
110180
  cpu_busy_fraction: number | null;
110181
+ /** @description Busy share of all cores at the 7-day 95th percentile; null when it could not be read. */
110182
+ cpu_busy_p95_fraction: number | null;
110171
110183
  days_to_full: number | null;
110172
110184
  disk_used_fraction: number;
110173
110185
  filesystems: components["schemas"]["ServerFilesystem"][];
110186
+ /** @description Sites that fit on CPU alone. */
110187
+ fit_cpu: number | null;
110188
+ /** @description Sites that fit on disk alone. */
110189
+ fit_disk: number | null;
110190
+ /** @description True when the per-site cost was measured on this box; false when the fleet median was used. */
110191
+ fit_measured: boolean;
110192
+ /** @description Sites that fit in RAM alone. */
110193
+ fit_ram: number | null;
110174
110194
  /** @enum {string} */
110175
110195
  group: "hosting" | "magento" | "mail" | "cluster" | "ci" | "network" | "launch" | "customer_compute" | "v1" | "other";
110176
110196
  inode_used_fraction: number;
@@ -110194,6 +110214,8 @@ export interface components {
110194
110214
  seconds_since_report: number | null;
110195
110215
  site_capacity: number | null;
110196
110216
  sites: number | null;
110217
+ /** @description How many more sites fit on real resources: the smallest of disk, RAM and CPU. Null on a box that hosts no sites or has no measurement. */
110218
+ sites_fit: number | null;
110197
110219
  /** @description Plan or product from the supplier (`cpx32`, `AX102-3-LTD`); empty when unknown. */
110198
110220
  size: string;
110199
110221
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2046",
3
+ "version": "0.1.2048",
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>",