@zinn-digital/sdk 0.1.1988 → 0.1.1989
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 +64 -0
- package/package.json +1 -1
|
@@ -31351,6 +31351,31 @@ export interface paths {
|
|
|
31351
31351
|
patch?: never;
|
|
31352
31352
|
trace?: never;
|
|
31353
31353
|
};
|
|
31354
|
+
"/v1/compute/servers/{serverId}/floating-ips/{floatingIpId}/move": {
|
|
31355
|
+
parameters: {
|
|
31356
|
+
query?: never;
|
|
31357
|
+
header?: never;
|
|
31358
|
+
path: {
|
|
31359
|
+
/** @description The floating IP's id, as `listComputeServerFloatingIps` reports it. */
|
|
31360
|
+
floatingIpId: components["schemas"]["Uuid"];
|
|
31361
|
+
/** @description The server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine. */
|
|
31362
|
+
serverId: components["parameters"]["ComputeServerId"];
|
|
31363
|
+
};
|
|
31364
|
+
cookie?: never;
|
|
31365
|
+
};
|
|
31366
|
+
get?: never;
|
|
31367
|
+
put?: never;
|
|
31368
|
+
/**
|
|
31369
|
+
* Move a floating IP to another server.
|
|
31370
|
+
* @description Routes the address to another of the organisation's pay-by-the-hour servers with the same provider and in the same region group. The address does not change. Its price comes off this server's rate and goes onto the target's from the next hour. Requires `billing.payment.manage`.
|
|
31371
|
+
*/
|
|
31372
|
+
post: operations["moveComputeServerFloatingIp"];
|
|
31373
|
+
delete?: never;
|
|
31374
|
+
options?: never;
|
|
31375
|
+
head?: never;
|
|
31376
|
+
patch?: never;
|
|
31377
|
+
trace?: never;
|
|
31378
|
+
};
|
|
31354
31379
|
"/v1/compute/servers/{serverId}/floating-ips/quote": {
|
|
31355
31380
|
parameters: {
|
|
31356
31381
|
query?: never;
|
|
@@ -84494,6 +84519,9 @@ export interface components {
|
|
|
84494
84519
|
/** @description The data centre. ⛔ Zone counts are wildly asymmetric between providers (Zinn® Cloud has 8 where AWS and GCP have dozens), so a picker must read the catalogue rather than imply parity. */
|
|
84495
84520
|
zone: string;
|
|
84496
84521
|
};
|
|
84522
|
+
ComputeMoveFloatingIpRequest: {
|
|
84523
|
+
to_server_id: components["schemas"]["Uuid"];
|
|
84524
|
+
};
|
|
84497
84525
|
ComputeNetworkAttachment: {
|
|
84498
84526
|
ip: string;
|
|
84499
84527
|
network_id: components["schemas"]["Uuid"];
|
|
@@ -176904,6 +176932,42 @@ export interface operations {
|
|
|
176904
176932
|
503: components["responses"]["ServiceUnavailable"];
|
|
176905
176933
|
};
|
|
176906
176934
|
};
|
|
176935
|
+
moveComputeServerFloatingIp: {
|
|
176936
|
+
parameters: {
|
|
176937
|
+
query?: never;
|
|
176938
|
+
header?: never;
|
|
176939
|
+
path: {
|
|
176940
|
+
/** @description The floating IP's id, as `listComputeServerFloatingIps` reports it. */
|
|
176941
|
+
floatingIpId: components["schemas"]["Uuid"];
|
|
176942
|
+
/** @description The server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine. */
|
|
176943
|
+
serverId: components["parameters"]["ComputeServerId"];
|
|
176944
|
+
};
|
|
176945
|
+
cookie?: never;
|
|
176946
|
+
};
|
|
176947
|
+
requestBody: {
|
|
176948
|
+
content: {
|
|
176949
|
+
"application/json": components["schemas"]["ComputeMoveFloatingIpRequest"];
|
|
176950
|
+
};
|
|
176951
|
+
};
|
|
176952
|
+
responses: {
|
|
176953
|
+
/** @description The address, now on the target server. */
|
|
176954
|
+
200: {
|
|
176955
|
+
headers: {
|
|
176956
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
176957
|
+
[name: string]: unknown;
|
|
176958
|
+
};
|
|
176959
|
+
content: {
|
|
176960
|
+
"application/json": components["schemas"]["ComputeFloatingIp"];
|
|
176961
|
+
};
|
|
176962
|
+
};
|
|
176963
|
+
401: components["responses"]["Unauthorized"];
|
|
176964
|
+
403: components["responses"]["Forbidden"];
|
|
176965
|
+
404: components["responses"]["NotFound"];
|
|
176966
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
176967
|
+
429: components["responses"]["TooManyRequests"];
|
|
176968
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
176969
|
+
};
|
|
176970
|
+
};
|
|
176907
176971
|
quoteComputeServerFloatingIp: {
|
|
176908
176972
|
parameters: {
|
|
176909
176973
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1989",
|
|
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>",
|