@zinn-digital/sdk 0.1.2040 → 0.1.2042

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.
@@ -85359,11 +85359,11 @@ export interface components {
85359
85359
  continent: string;
85360
85360
  /** @description ISO 3166-1 alpha-2 country code. */
85361
85361
  country: string;
85362
- /** @description The provider id an order sends back. */
85362
+ /** @description The provider id an order sends back; our own fleet's is `zinn-<location id>`. */
85363
85363
  provider: string;
85364
85364
  /** @description Our identifier for the city, e.g. `nuremberg`. The client translates it. */
85365
85365
  slug: string;
85366
- /** @description The data-centre token an order sends back. */
85366
+ /** @description The Zinn location id an order sends back (e.g. `falkenstein`), never a supplier zone code. */
85367
85367
  zone: string;
85368
85368
  };
85369
85369
  ComputeRegionList: {
@@ -85555,7 +85555,7 @@ export interface components {
85555
85555
  * @enum {string}
85556
85556
  */
85557
85557
  power_state: "unknown" | "on" | "off" | "starting" | "stopping" | "rebooting";
85558
- /** @description Our provider id. */
85558
+ /** @description Our provider id (our own fleet's is `zinn-<location id>`, never a supplier zone code). */
85559
85559
  provider: string;
85560
85560
  /** @description ⛔ **Always null today, and honestly so**: the provider publishes no renewal date, and one computed from the order plus the term would be our arithmetic rendered as the provider's fact. */
85561
85561
  renews_at: string | null;
@@ -85579,7 +85579,7 @@ export interface components {
85579
85579
  terminated_at?: string | null;
85580
85580
  /** @description The provider's own word, verbatim and unrounded. Staff-facing detail; a customer client renders `status` and never this. */
85581
85581
  vendor_status: string;
85582
- /** @description The data centre it runs in. */
85582
+ /** @description The data centre it runs in, as the Zinn location id (e.g. `falkenstein`); staff tools keep the supplier zone. */
85583
85583
  zone: string;
85584
85584
  };
85585
85585
  /**
@@ -86346,16 +86346,28 @@ export interface components {
86346
86346
  claimed: boolean;
86347
86347
  currency: string;
86348
86348
  eligible: boolean;
86349
+ /**
86350
+ * Format: date-time
86351
+ * @description When a claimed credit stops being spendable (the end of day 14).
86352
+ */
86353
+ expires_at: string | null;
86354
+ /** @description The first real charge on the card or PayPal was declined, so the remaining credit is frozen and the trial server is powered off until a working payment method is added or a payment goes through. */
86355
+ held: boolean;
86349
86356
  /** @description The credit a claim gives now, minor units of currency. */
86350
86357
  offer_minor: number | null;
86351
86358
  /**
86352
- * @description Why the credit cannot be claimed, empty when it can. email_not_verified and no_card are steps the customer can take.
86359
+ * @description Why the credit cannot be claimed, empty when it can. email_not_verified and no_card are steps the customer can take; no_card means no verified payment route yet (a card or PayPal on file, checked and never charged, or a crypto top-up of at least $5).
86353
86360
  * @enum {string}
86354
86361
  */
86355
86362
  reason: "" | "already_granted" | "no_policy" | "not_customer" | "reseller_client" | "not_in_good_standing" | "email_not_verified" | "no_card" | "paid_before" | "used_elsewhere" | "card_used_elsewhere" | "no_fx_rate";
86356
86363
  /** @description What is left of a claimed credit, minor units of currency. */
86357
86364
  remaining_minor: number | null;
86358
86365
  used_up: boolean;
86366
+ /**
86367
+ * @description How the organisation proved a payment route; null when it has none.
86368
+ * @enum {string|null}
86369
+ */
86370
+ via: "card" | "paypal" | "crypto" | null;
86359
86371
  };
86360
86372
  /**
86361
86373
  * @description One machine that exists at a provider, and whether the platform holds a row for it.
@@ -86449,9 +86461,9 @@ export interface components {
86449
86461
  };
86450
86462
  /** @description One data centre a machine can be placed in. */
86451
86463
  ComputeZone: {
86452
- /** @description The zone's id at the provider, and what an order names. */
86464
+ /** @description The Zinn location id (a city, e.g. `falkenstein`; a dedicated pool `falkenstein-dedi`), never the supplier's zone code; an order sends it back as given. */
86453
86465
  id: string;
86454
- /** @description The zone's own display name, as the provider publishes it. */
86466
+ /** @description The place's display name (city and country); never a supplier zone code. */
86455
86467
  label: string;
86456
86468
  };
86457
86469
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2040",
3
+ "version": "0.1.2042",
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>",