@leaflow/sdk 0.0.0-dev.355.g42152f5 → 0.0.0-dev.357.gf8331d0
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/account/v1/generated/functions.d.ts +85 -1
- package/dist/account/v1/generated/functions.js +65 -0
- package/dist/account/v1/generated/models.d.ts +31 -1
- package/dist/account/v1/generated/models.js +5 -0
- package/dist/account/v1/generated/schemas.zod.d.ts +45 -0
- package/dist/account/v1/generated/schemas.zod.js +45 -1
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +5 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/accountResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/accountResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/consentBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/consentBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/consentResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/consentResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/countryOption.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/countryOption.zod.js +4 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +10 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.js +4 -0
- package/dist/account/v1/generated/validators/error.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/error.zod.js +4 -0
- package/dist/account/v1/generated/validators/grantResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/grantResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/languageOption.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/languageOption.zod.js +4 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +5 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +4 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.js +5 -1
- package/dist/account/v1/generated/validators/locale.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/locale.zod.js +4 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.js +4 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +4 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +5 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/projectResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/projectResource.zod.js +10 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +34 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +30 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +5 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.js +4 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +4 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +4 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +4 -0
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +3 -3
- package/dist/compute/v1/generated/validators/portResource.zod.d.ts +3 -3
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +1 -1
- package/dist/iam/v1/generated/functions.d.ts +31 -1
- package/dist/iam/v1/generated/functions.js +42 -0
- package/dist/iam/v1/generated/models.d.ts +14 -0
- package/dist/iam/v1/generated/schemas.zod.d.ts +16 -0
- package/dist/iam/v1/generated/schemas.zod.js +15 -0
- package/dist/iam/v1/generated/validators/projectAccessResource.zod.d.ts +1 -0
- package/dist/iam/v1/generated/validators/projectResource.zod.d.ts +2 -0
- package/dist/iam/v1/generated/validators/projectResource.zod.js +6 -0
- package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.d.ts +22 -0
- package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.js +24 -0
- package/dist/routes.d.ts +32 -0
- package/dist/routes.js +36 -0
- package/dist/type/resource/v1/generated/validators/attachment.zod.d.ts +1 -1
- package/dist/type/resource/v1/generated/validators/attachmentList.zod.d.ts +1 -1
- package/dist/type/resource/v1/generated/validators/resourceUsage.zod.d.ts +1 -1
- package/dist/type/resource/v1/generated/validators/resourceUsageList.zod.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -53,6 +57,7 @@ export declare const ScopedTokenResponseBody: zod.ZodObject<{
|
|
|
53
57
|
deleted_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
54
58
|
description: zod.ZodString;
|
|
55
59
|
id: zod.ZodUUID;
|
|
60
|
+
slug: zod.ZodString;
|
|
56
61
|
name: zod.ZodString;
|
|
57
62
|
updated_at: zod.z.ZodISODateTime;
|
|
58
63
|
}, zod.z.core.$strict>;
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
17
17
|
* A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
|
|
18
|
+
*
|
|
19
|
+
* ## Project slugs
|
|
20
|
+
*
|
|
21
|
+
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
18
22
|
* OpenAPI spec version: 1.0.0
|
|
19
23
|
*/
|
|
20
24
|
import * as zod from "zod";
|
|
@@ -30,13 +30,13 @@ export declare const AllocateFloatingIPResponseBody: zod.ZodObject<{
|
|
|
30
30
|
id: zod.ZodUUID;
|
|
31
31
|
region_id: zod.ZodUUID;
|
|
32
32
|
status: zod.ZodEnum<{
|
|
33
|
+
available: "available";
|
|
33
34
|
error: "error";
|
|
34
35
|
unknown: "unknown";
|
|
35
36
|
pending: "pending";
|
|
36
37
|
failed: "failed";
|
|
37
38
|
deleted: "deleted";
|
|
38
39
|
provisioning: "provisioning";
|
|
39
|
-
available: "available";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
42
42
|
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
@@ -32,11 +32,11 @@ export declare const BackupListResponseBody: zod.ZodObject<{
|
|
|
32
32
|
capacity_gib: zod.ZodInt;
|
|
33
33
|
source_disk_id: zod.ZodUUID;
|
|
34
34
|
status: zod.ZodEnum<{
|
|
35
|
+
available: "available";
|
|
35
36
|
error: "error";
|
|
36
37
|
failed: "failed";
|
|
37
38
|
deleted: "deleted";
|
|
38
39
|
provisioning: "provisioning";
|
|
39
|
-
available: "available";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
42
42
|
operation: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -31,11 +31,11 @@ export declare const BackupResource: zod.ZodObject<{
|
|
|
31
31
|
capacity_gib: zod.ZodInt;
|
|
32
32
|
source_disk_id: zod.ZodUUID;
|
|
33
33
|
status: zod.ZodEnum<{
|
|
34
|
+
available: "available";
|
|
34
35
|
error: "error";
|
|
35
36
|
failed: "failed";
|
|
36
37
|
deleted: "deleted";
|
|
37
38
|
provisioning: "provisioning";
|
|
38
|
-
available: "available";
|
|
39
39
|
missing: "missing";
|
|
40
40
|
}>;
|
|
41
41
|
operation: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -34,12 +34,12 @@ export declare const CreateDiskResponseBody: zod.ZodObject<{
|
|
|
34
34
|
iops: zod.ZodNullable<zod.ZodInt>;
|
|
35
35
|
throughput_bytes_per_sec: zod.ZodNullable<zod.ZodInt>;
|
|
36
36
|
status: zod.ZodEnum<{
|
|
37
|
+
available: "available";
|
|
37
38
|
error: "error";
|
|
38
39
|
pending: "pending";
|
|
39
40
|
failed: "failed";
|
|
40
41
|
deleted: "deleted";
|
|
41
42
|
provisioning: "provisioning";
|
|
42
|
-
available: "available";
|
|
43
43
|
missing: "missing";
|
|
44
44
|
in_use: "in_use";
|
|
45
45
|
}>;
|
|
@@ -88,8 +88,8 @@ export declare const CreateDiskResponseBody: zod.ZodObject<{
|
|
|
88
88
|
}>;
|
|
89
89
|
delete_with_instance: zod.ZodBoolean;
|
|
90
90
|
state: zod.ZodEnum<{
|
|
91
|
-
unknown: "unknown";
|
|
92
91
|
reserved: "reserved";
|
|
92
|
+
unknown: "unknown";
|
|
93
93
|
attached: "attached";
|
|
94
94
|
released: "released";
|
|
95
95
|
}>;
|
|
@@ -39,12 +39,12 @@ export declare const CreateImageResponseBody: zod.ZodObject<{
|
|
|
39
39
|
min_ram_mb: zod.ZodInt;
|
|
40
40
|
supports_password_reset: zod.ZodBoolean;
|
|
41
41
|
status: zod.ZodEnum<{
|
|
42
|
+
available: "available";
|
|
42
43
|
error: "error";
|
|
43
44
|
pending: "pending";
|
|
44
45
|
failed: "failed";
|
|
45
46
|
deleted: "deleted";
|
|
46
47
|
provisioning: "provisioning";
|
|
47
|
-
available: "available";
|
|
48
48
|
missing: "missing";
|
|
49
49
|
uploading: "uploading";
|
|
50
50
|
}>;
|
|
@@ -34,12 +34,12 @@ export declare const DiskListResponseBody: zod.ZodObject<{
|
|
|
34
34
|
iops: zod.ZodNullable<zod.ZodInt>;
|
|
35
35
|
throughput_bytes_per_sec: zod.ZodNullable<zod.ZodInt>;
|
|
36
36
|
status: zod.ZodEnum<{
|
|
37
|
+
available: "available";
|
|
37
38
|
error: "error";
|
|
38
39
|
pending: "pending";
|
|
39
40
|
failed: "failed";
|
|
40
41
|
deleted: "deleted";
|
|
41
42
|
provisioning: "provisioning";
|
|
42
|
-
available: "available";
|
|
43
43
|
missing: "missing";
|
|
44
44
|
in_use: "in_use";
|
|
45
45
|
}>;
|
|
@@ -88,8 +88,8 @@ export declare const DiskListResponseBody: zod.ZodObject<{
|
|
|
88
88
|
}>;
|
|
89
89
|
delete_with_instance: zod.ZodBoolean;
|
|
90
90
|
state: zod.ZodEnum<{
|
|
91
|
-
unknown: "unknown";
|
|
92
91
|
reserved: "reserved";
|
|
92
|
+
unknown: "unknown";
|
|
93
93
|
attached: "attached";
|
|
94
94
|
released: "released";
|
|
95
95
|
}>;
|
|
@@ -33,12 +33,12 @@ export declare const DiskResource: zod.ZodObject<{
|
|
|
33
33
|
iops: zod.ZodNullable<zod.ZodInt>;
|
|
34
34
|
throughput_bytes_per_sec: zod.ZodNullable<zod.ZodInt>;
|
|
35
35
|
status: zod.ZodEnum<{
|
|
36
|
+
available: "available";
|
|
36
37
|
error: "error";
|
|
37
38
|
pending: "pending";
|
|
38
39
|
failed: "failed";
|
|
39
40
|
deleted: "deleted";
|
|
40
41
|
provisioning: "provisioning";
|
|
41
|
-
available: "available";
|
|
42
42
|
missing: "missing";
|
|
43
43
|
in_use: "in_use";
|
|
44
44
|
}>;
|
|
@@ -87,8 +87,8 @@ export declare const DiskResource: zod.ZodObject<{
|
|
|
87
87
|
}>;
|
|
88
88
|
delete_with_instance: zod.ZodBoolean;
|
|
89
89
|
state: zod.ZodEnum<{
|
|
90
|
-
unknown: "unknown";
|
|
91
90
|
reserved: "reserved";
|
|
91
|
+
unknown: "unknown";
|
|
92
92
|
attached: "attached";
|
|
93
93
|
released: "released";
|
|
94
94
|
}>;
|
|
@@ -30,13 +30,13 @@ export declare const FloatingIPListResponseBody: zod.ZodObject<{
|
|
|
30
30
|
id: zod.ZodUUID;
|
|
31
31
|
region_id: zod.ZodUUID;
|
|
32
32
|
status: zod.ZodEnum<{
|
|
33
|
+
available: "available";
|
|
33
34
|
error: "error";
|
|
34
35
|
unknown: "unknown";
|
|
35
36
|
pending: "pending";
|
|
36
37
|
failed: "failed";
|
|
37
38
|
deleted: "deleted";
|
|
38
39
|
provisioning: "provisioning";
|
|
39
|
-
available: "available";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
42
42
|
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
@@ -29,13 +29,13 @@ export declare const FloatingIPResource: zod.ZodObject<{
|
|
|
29
29
|
id: zod.ZodUUID;
|
|
30
30
|
region_id: zod.ZodUUID;
|
|
31
31
|
status: zod.ZodEnum<{
|
|
32
|
+
available: "available";
|
|
32
33
|
error: "error";
|
|
33
34
|
unknown: "unknown";
|
|
34
35
|
pending: "pending";
|
|
35
36
|
failed: "failed";
|
|
36
37
|
deleted: "deleted";
|
|
37
38
|
provisioning: "provisioning";
|
|
38
|
-
available: "available";
|
|
39
39
|
missing: "missing";
|
|
40
40
|
}>;
|
|
41
41
|
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
@@ -39,12 +39,12 @@ export declare const ImageListResponseBody: zod.ZodObject<{
|
|
|
39
39
|
min_ram_mb: zod.ZodInt;
|
|
40
40
|
supports_password_reset: zod.ZodBoolean;
|
|
41
41
|
status: zod.ZodEnum<{
|
|
42
|
+
available: "available";
|
|
42
43
|
error: "error";
|
|
43
44
|
pending: "pending";
|
|
44
45
|
failed: "failed";
|
|
45
46
|
deleted: "deleted";
|
|
46
47
|
provisioning: "provisioning";
|
|
47
|
-
available: "available";
|
|
48
48
|
missing: "missing";
|
|
49
49
|
uploading: "uploading";
|
|
50
50
|
}>;
|
|
@@ -39,12 +39,12 @@ export declare const ImageResource: zod.ZodObject<{
|
|
|
39
39
|
min_ram_mb: zod.ZodInt;
|
|
40
40
|
supports_password_reset: zod.ZodBoolean;
|
|
41
41
|
status: zod.ZodEnum<{
|
|
42
|
+
available: "available";
|
|
42
43
|
error: "error";
|
|
43
44
|
pending: "pending";
|
|
44
45
|
failed: "failed";
|
|
45
46
|
deleted: "deleted";
|
|
46
47
|
provisioning: "provisioning";
|
|
47
|
-
available: "available";
|
|
48
48
|
missing: "missing";
|
|
49
49
|
uploading: "uploading";
|
|
50
50
|
}>;
|
|
@@ -29,8 +29,8 @@ export declare const PortAddress: zod.ZodObject<{
|
|
|
29
29
|
address: zod.ZodString;
|
|
30
30
|
is_primary: zod.ZodBoolean;
|
|
31
31
|
state: zod.ZodEnum<{
|
|
32
|
-
unknown: "unknown";
|
|
33
32
|
reserved: "reserved";
|
|
33
|
+
unknown: "unknown";
|
|
34
34
|
released: "released";
|
|
35
35
|
assigned: "assigned";
|
|
36
36
|
}>;
|
|
@@ -35,8 +35,8 @@ export declare const PortListResponseBody: zod.ZodObject<{
|
|
|
35
35
|
address: zod.ZodString;
|
|
36
36
|
is_primary: zod.ZodBoolean;
|
|
37
37
|
state: zod.ZodEnum<{
|
|
38
|
-
unknown: "unknown";
|
|
39
38
|
reserved: "reserved";
|
|
39
|
+
unknown: "unknown";
|
|
40
40
|
released: "released";
|
|
41
41
|
assigned: "assigned";
|
|
42
42
|
}>;
|
|
@@ -53,8 +53,8 @@ export declare const PortListResponseBody: zod.ZodObject<{
|
|
|
53
53
|
}>;
|
|
54
54
|
delete_with_instance: zod.ZodBoolean;
|
|
55
55
|
state: zod.ZodEnum<{
|
|
56
|
-
unknown: "unknown";
|
|
57
56
|
reserved: "reserved";
|
|
57
|
+
unknown: "unknown";
|
|
58
58
|
attached: "attached";
|
|
59
59
|
released: "released";
|
|
60
60
|
}>;
|
|
@@ -63,10 +63,10 @@ export declare const PortListResponseBody: zod.ZodObject<{
|
|
|
63
63
|
released_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
64
64
|
}, zod.z.core.$strict>, zod.ZodNull]>>;
|
|
65
65
|
status: zod.ZodEnum<{
|
|
66
|
+
available: "available";
|
|
66
67
|
error: "error";
|
|
67
68
|
unknown: "unknown";
|
|
68
69
|
pending: "pending";
|
|
69
|
-
available: "available";
|
|
70
70
|
missing: "missing";
|
|
71
71
|
}>;
|
|
72
72
|
generation: zod.ZodInt;
|
|
@@ -34,8 +34,8 @@ export declare const PortResource: zod.ZodObject<{
|
|
|
34
34
|
address: zod.ZodString;
|
|
35
35
|
is_primary: zod.ZodBoolean;
|
|
36
36
|
state: zod.ZodEnum<{
|
|
37
|
-
unknown: "unknown";
|
|
38
37
|
reserved: "reserved";
|
|
38
|
+
unknown: "unknown";
|
|
39
39
|
released: "released";
|
|
40
40
|
assigned: "assigned";
|
|
41
41
|
}>;
|
|
@@ -52,8 +52,8 @@ export declare const PortResource: zod.ZodObject<{
|
|
|
52
52
|
}>;
|
|
53
53
|
delete_with_instance: zod.ZodBoolean;
|
|
54
54
|
state: zod.ZodEnum<{
|
|
55
|
-
unknown: "unknown";
|
|
56
55
|
reserved: "reserved";
|
|
56
|
+
unknown: "unknown";
|
|
57
57
|
attached: "attached";
|
|
58
58
|
released: "released";
|
|
59
59
|
}>;
|
|
@@ -62,10 +62,10 @@ export declare const PortResource: zod.ZodObject<{
|
|
|
62
62
|
released_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
63
63
|
}, zod.z.core.$strict>, zod.ZodNull]>>;
|
|
64
64
|
status: zod.ZodEnum<{
|
|
65
|
+
available: "available";
|
|
65
66
|
error: "error";
|
|
66
67
|
unknown: "unknown";
|
|
67
68
|
pending: "pending";
|
|
68
|
-
available: "available";
|
|
69
69
|
missing: "missing";
|
|
70
70
|
}>;
|
|
71
71
|
generation: zod.ZodInt;
|
|
@@ -34,12 +34,12 @@ export declare const ResizeDiskResponseBody: zod.ZodObject<{
|
|
|
34
34
|
iops: zod.ZodNullable<zod.ZodInt>;
|
|
35
35
|
throughput_bytes_per_sec: zod.ZodNullable<zod.ZodInt>;
|
|
36
36
|
status: zod.ZodEnum<{
|
|
37
|
+
available: "available";
|
|
37
38
|
error: "error";
|
|
38
39
|
pending: "pending";
|
|
39
40
|
failed: "failed";
|
|
40
41
|
deleted: "deleted";
|
|
41
42
|
provisioning: "provisioning";
|
|
42
|
-
available: "available";
|
|
43
43
|
missing: "missing";
|
|
44
44
|
in_use: "in_use";
|
|
45
45
|
}>;
|
|
@@ -88,8 +88,8 @@ export declare const ResizeDiskResponseBody: zod.ZodObject<{
|
|
|
88
88
|
}>;
|
|
89
89
|
delete_with_instance: zod.ZodBoolean;
|
|
90
90
|
state: zod.ZodEnum<{
|
|
91
|
-
unknown: "unknown";
|
|
92
91
|
reserved: "reserved";
|
|
92
|
+
unknown: "unknown";
|
|
93
93
|
attached: "attached";
|
|
94
94
|
released: "released";
|
|
95
95
|
}>;
|
|
@@ -30,13 +30,13 @@ export declare const SetFloatingIPBandwidthResponseBody: zod.ZodObject<{
|
|
|
30
30
|
id: zod.ZodUUID;
|
|
31
31
|
region_id: zod.ZodUUID;
|
|
32
32
|
status: zod.ZodEnum<{
|
|
33
|
+
available: "available";
|
|
33
34
|
error: "error";
|
|
34
35
|
unknown: "unknown";
|
|
35
36
|
pending: "pending";
|
|
36
37
|
failed: "failed";
|
|
37
38
|
deleted: "deleted";
|
|
38
39
|
provisioning: "provisioning";
|
|
39
|
-
available: "available";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
42
42
|
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
@@ -32,12 +32,12 @@ export declare const SnapshotListResponseBody: zod.ZodObject<{
|
|
|
32
32
|
region_id: zod.ZodUUID;
|
|
33
33
|
size_gb: zod.ZodInt;
|
|
34
34
|
status: zod.ZodEnum<{
|
|
35
|
+
available: "available";
|
|
35
36
|
error: "error";
|
|
36
37
|
pending: "pending";
|
|
37
38
|
failed: "failed";
|
|
38
39
|
deleted: "deleted";
|
|
39
40
|
provisioning: "provisioning";
|
|
40
|
-
available: "available";
|
|
41
41
|
missing: "missing";
|
|
42
42
|
}>;
|
|
43
43
|
operation: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -31,12 +31,12 @@ export declare const SnapshotResource: zod.ZodObject<{
|
|
|
31
31
|
region_id: zod.ZodUUID;
|
|
32
32
|
size_gb: zod.ZodInt;
|
|
33
33
|
status: zod.ZodEnum<{
|
|
34
|
+
available: "available";
|
|
34
35
|
error: "error";
|
|
35
36
|
pending: "pending";
|
|
36
37
|
failed: "failed";
|
|
37
38
|
deleted: "deleted";
|
|
38
39
|
provisioning: "provisioning";
|
|
39
|
-
available: "available";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
42
42
|
operation: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
13
|
* OpenAPI spec version: 1.0.0
|
|
14
14
|
*/
|
|
15
|
-
import type { AttachPolicyRequestBody, BatchGetMembersRequestBody, BatchGetMembersResponseBody, CatalogListResponseBody, CreateRoleRequestBody, CreateSSHKeyRequestBody, Error, IssueInvitationRequestBody, IssuedInvitationResponseBody, LengthAwarePageInvitationResource, LengthAwarePageMemberResource, LengthAwarePageSSHKeyResource, ListMembersParams, ListPoliciesParams, ListProjectInvitationsParams, ListSshKeysParams, MemberResource, MembershipResource, OwnershipTransferResponseBody, PolicyListResponseBody, PolicyResource, ProjectAccessResource, QuotaListResponseBody, RenameSSHKeyRequestBody, RoleListResponseBody, RoleResource, SSHKeyResource, SetMemberPermissionsRequestBody, SetMemberRolesRequestBody, TransferOwnershipRequestBody, UpdatePolicyRequestBody, UpdateProjectRequestBody, UpdateRoleRequestBody } from "./models.js";
|
|
15
|
+
import type { AttachPolicyRequestBody, BatchGetMembersRequestBody, BatchGetMembersResponseBody, CatalogListResponseBody, CreateRoleRequestBody, CreateSSHKeyRequestBody, Error, IssueInvitationRequestBody, IssuedInvitationResponseBody, LengthAwarePageInvitationResource, LengthAwarePageMemberResource, LengthAwarePageSSHKeyResource, ListMembersParams, ListPoliciesParams, ListProjectInvitationsParams, ListSshKeysParams, MemberResource, MembershipResource, OwnershipTransferResponseBody, PolicyListResponseBody, PolicyResource, ProjectAccessResource, QuotaListResponseBody, RenameSSHKeyRequestBody, RoleListResponseBody, RoleResource, SSHKeyResource, SetMemberPermissionsRequestBody, SetMemberRolesRequestBody, SetProjectSlugRequestBody, TransferOwnershipRequestBody, UpdatePolicyRequestBody, UpdateProjectRequestBody, UpdateRoleRequestBody } from "./models.js";
|
|
16
16
|
export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
|
|
17
17
|
export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
|
|
18
18
|
export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
|
|
@@ -78,6 +78,7 @@ export type updateProjectResponseError = updateProjectResponseDefault & {
|
|
|
78
78
|
export type updateProjectResponse = updateProjectResponseSuccess | updateProjectResponseError;
|
|
79
79
|
export declare const getUpdateProjectUrl: () => string;
|
|
80
80
|
/**
|
|
81
|
+
* The slug is not affected; it is set through `PUT /api/v1/project/slug`.
|
|
81
82
|
* @summary Update the name and description of a project
|
|
82
83
|
*/
|
|
83
84
|
export declare const updateProject: (updateProjectRequestBody: UpdateProjectRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateProjectResponse>;
|
|
@@ -102,6 +103,35 @@ export declare const getDeleteProjectUrl: () => string;
|
|
|
102
103
|
* @summary Delete a project
|
|
103
104
|
*/
|
|
104
105
|
export declare const deleteProject: (options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteProjectResponse>;
|
|
106
|
+
export type setProjectSlugResponse200 = {
|
|
107
|
+
data: ProjectAccessResource;
|
|
108
|
+
status: 200;
|
|
109
|
+
};
|
|
110
|
+
export type setProjectSlugResponseDefault = {
|
|
111
|
+
data: Error;
|
|
112
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
113
|
+
};
|
|
114
|
+
export type setProjectSlugResponseSuccess = setProjectSlugResponse200 & {
|
|
115
|
+
headers: Headers;
|
|
116
|
+
};
|
|
117
|
+
export type setProjectSlugResponseError = setProjectSlugResponseDefault & {
|
|
118
|
+
headers: Headers;
|
|
119
|
+
};
|
|
120
|
+
export type setProjectSlugResponse = setProjectSlugResponseSuccess | setProjectSlugResponseError;
|
|
121
|
+
export declare const getSetProjectSlugUrl: () => string;
|
|
122
|
+
/**
|
|
123
|
+
* Replaces the default slug, which is the project's `id`, with a custom one. Only the owner can do this, and only once: a custom slug cannot be changed or removed afterwards. The address under the `id` keeps working.
|
|
124
|
+
*
|
|
125
|
+
* Setting the slug the project already holds succeeds without change. Fails with:
|
|
126
|
+
*
|
|
127
|
+
* - 400 `PROJECT_SLUG_INVALID` when the slug does not follow the format described on `slug`;
|
|
128
|
+
* - 422 `PROJECT_SLUG_RESERVED` when the name is reserved;
|
|
129
|
+
* - 409 `PROJECT_SLUG_TAKEN` when another project, including a deleted one, holds it;
|
|
130
|
+
* - 412 `PROJECT_SLUG_ALREADY_SET` when the project already holds a different custom slug;
|
|
131
|
+
* - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner.
|
|
132
|
+
* @summary Set the custom slug of a project
|
|
133
|
+
*/
|
|
134
|
+
export declare const setProjectSlug: (setProjectSlugRequestBody: SetProjectSlugRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setProjectSlugResponse>;
|
|
105
135
|
export type getProjectMembershipResponse200 = {
|
|
106
136
|
data: MembershipResource;
|
|
107
137
|
status: 200;
|