@zinn-digital/sdk 0.1.1918 → 0.1.1920

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.
@@ -86283,6 +86283,11 @@ export interface components {
86283
86283
  origin_served?: boolean | null;
86284
86284
  /** @enum {string} */
86285
86285
  ownership_mode: "registered" | "connected" | "transferring_in";
86286
+ /**
86287
+ * Format: uuid
86288
+ * @description The automatic renewal's still-unpaid order for the current period, or null. Set only when `renewal_blocker` is `no_payment_method`. "Renew now" pays this order, so a customer acting by hand never buys a second renewal of the same period.
86289
+ */
86290
+ pending_renewal_order_id?: string | null;
86286
86291
  privacy_enabled?: boolean;
86287
86292
  /**
86288
86293
  * @description The product line this domain was created on. **Not decoration** — it is what decides whether the shared fleet A/AAAA records are hidden from the customer (register #93), so the dashboard gates its record editor on it and **fails closed when it is absent**. Omitted for weeks, which meant a connected domain with no linked site could never resolve a line and the editor refused to offer A/AAAA at all — on exactly the customers who came to point a domain at their server.
@@ -86293,6 +86298,7 @@ export interface components {
86293
86298
  registered_at?: string | null;
86294
86299
  registrar_lock?: boolean;
86295
86300
  renew_years: number;
86301
+ renewal_blocker?: components["schemas"]["DomainRenewalBlocker"];
86296
86302
  /** @description The site this domain points at, if any. */
86297
86303
  site_id?: components["schemas"]["Uuid"] | null;
86298
86304
  /** @description True when the linked site really answers on this name (its primary domain or an alias). False for an unlinked domain, and for one whose move onto the site has not completed. */
@@ -86634,6 +86640,11 @@ export interface components {
86634
86640
  data: components["schemas"]["Domain"][];
86635
86641
  page: components["schemas"]["PageMeta"];
86636
86642
  };
86643
+ /**
86644
+ * @description Why this domain will NOT renew at expiry with nobody acting, or `null` when it will. `auto_renew_off`: auto-renew is switched off. `not_in_good_standing`: auto-renew is on but the account is not in good standing, so the platform will not spend on it. `no_payment_method`: auto-renew is on and the account is in good standing, but there is no chargeable stored payment method (for example a customer who pays once at checkout) and wallet credit does not cover the renewal's taxed total (when it does, the domain renews from credit and reads `null`). A platform claim or a staff organisation renews at the platform's expense and reads `null`.
86645
+ * @enum {string|null}
86646
+ */
86647
+ DomainRenewalBlocker: "auto_renew_off" | "not_in_good_standing" | "no_payment_method" | null;
86637
86648
  DomainSearchRequest: {
86638
86649
  /**
86639
86650
  * @description A bare name (`acme`) checked across `tlds`, or a full FQDN (`acme.com`).
@@ -88632,7 +88643,7 @@ export interface components {
88632
88643
  };
88633
88644
  /** @description One domain whose term is running out, with everything the keep-or-drop decision needs. Every authority metric is nullable and `null` means **unmeasured**, which is not the same as zero. */
88634
88645
  ExpiringDomain: {
88635
- /** @description Whether doing nothing loses the domain. Derived from days remaining, auto-renew, good standing and any active claim — never from days remaining alone. */
88646
+ /** @description Whether doing nothing loses the domain. Derived from days remaining and `renewal_blocker` — never from days remaining alone. */
88636
88647
  at_risk: boolean;
88637
88648
  auto_renew: boolean;
88638
88649
  citation_flow: number | null;
@@ -88662,6 +88673,7 @@ export interface components {
88662
88673
  * @description One more year at today's catalogue price, in minor units. `null` where the catalogue cannot price the extension — never `0`, which would advertise a free renewal.
88663
88674
  */
88664
88675
  renewal_amount_minor: number | null;
88676
+ renewal_blocker: components["schemas"]["DomainRenewalBlocker"];
88665
88677
  renewal_currency: string | null;
88666
88678
  route: components["schemas"]["RegistrationRouteKey"];
88667
88679
  status: string;
@@ -173750,10 +173762,7 @@ export interface operations {
173750
173762
  };
173751
173763
  /** @description The add-on's catalogue code. `bare` records nothing. */
173752
173764
  code: string;
173753
- /**
173754
- * @description The currency to charge in. ⛔ Frozen onto the assignment at purchase, so a later admin repricing does not move an existing customer's bill.
173755
- * @default USD
173756
- */
173765
+ /** @description Optional and only CHECKED. The add-on is always priced in the currency the machine is billed in (its subscription, or its meter when hourly); a value naming another currency is refused `422` (`refusal.compute.addOnBilledInOtherCurrency`) and never converted. Omitted on a machine nothing bills, it defaults to USD. ⛔ Frozen onto the assignment at purchase, so a later admin repricing does not move an existing customer's bill. */
173757
173766
  currency?: string;
173758
173767
  };
173759
173768
  };
@@ -174573,7 +174582,7 @@ export interface operations {
174573
174582
  getComputeServerManagedCare: {
174574
174583
  parameters: {
174575
174584
  query?: {
174576
- /** @description ISO currency to price the offer in. Defaults to USD. */
174585
+ /** @description ISO currency to price the offer in when nothing bills the machine (defaults to USD). A machine with a bill is always quoted in its billed currency, and `offer.currency` says which. */
174577
174586
  currency?: string;
174578
174587
  };
174579
174588
  header?: never;
@@ -174616,6 +174625,7 @@ export interface operations {
174616
174625
  requestBody?: {
174617
174626
  content: {
174618
174627
  "application/json": {
174628
+ /** @description Optional and only CHECKED: care is priced in the machine's billed currency; a value naming another is refused `422` (`refusal.compute.addOnBilledInOtherCurrency`), never converted. */
174619
174629
  currency?: string;
174620
174630
  };
174621
174631
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1918",
3
+ "version": "0.1.1920",
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>",