@zinn-digital/sdk 0.1.2041 → 0.1.2044
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.
- package/dist/generated/schema.d.ts +17 -5
- package/package.json +1 -1
|
@@ -85363,7 +85363,7 @@ export interface components {
|
|
|
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 Zinn location id an order sends back (e.g. `falkenstein`), never a supplier zone code. */
|
|
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: {
|
|
@@ -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, as the Zinn location id (e.g. `falkenstein`); staff tools keep the supplier zone. */
|
|
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
|
/**
|
|
@@ -86116,7 +86116,7 @@ export interface components {
|
|
|
86116
86116
|
* @enum {string}
|
|
86117
86117
|
*/
|
|
86118
86118
|
kind?: "vm" | "gpu" | "metal";
|
|
86119
|
-
/** @description The size's display name: on a customer response the Zinn plan name that sells this size, else `""` — never the supplier's product name. */
|
|
86119
|
+
/** @description The size's display name: on a customer response the Zinn® plan name that sells this size, else `""` — never the supplier's product name. */
|
|
86120
86120
|
label: string;
|
|
86121
86121
|
/**
|
|
86122
86122
|
* @description `windows` for a licence-included Windows size, else `""`, read server-side from the real size. A resize keeps the licence.
|
|
@@ -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,7 +86461,7 @@ export interface components {
|
|
|
86449
86461
|
};
|
|
86450
86462
|
/** @description One data centre a machine can be placed in. */
|
|
86451
86463
|
ComputeZone: {
|
|
86452
|
-
/** @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. */
|
|
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
86466
|
/** @description The place's display name (city and country); never a supplier zone code. */
|
|
86455
86467
|
label: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2044",
|
|
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>",
|