@leaflow/sdk 0.0.0-dev.361.gefdc428 → 0.0.0-dev.363.gedb261b
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 +25 -3
- package/dist/account/v1/generated/functions.js +35 -1
- package/dist/account/v1/generated/models.d.ts +50 -12
- package/dist/account/v1/generated/models.js +5 -0
- package/dist/account/v1/generated/schemas.zod.d.ts +3 -2
- package/dist/account/v1/generated/schemas.zod.js +3 -2
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +6 -1
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/accountResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/accountResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/agreementResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/consentBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/consentBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/consentResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/consentResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/countryOption.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/countryOption.zod.js +1 -1
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/account/v1/generated/validators/error.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/error.zod.js +1 -1
- package/dist/account/v1/generated/validators/grantResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/grantResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/invitationResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/languageOption.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/languageOption.zod.js +1 -1
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +6 -1
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +1 -1
- package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/listProjectsParams.zod.js +1 -1
- package/dist/account/v1/generated/validators/locale.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/locale.zod.js +1 -1
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +1 -1
- package/dist/account/v1/generated/validators/projectAccessList.zod.d.ts +78 -0
- package/dist/account/v1/generated/validators/projectAccessList.zod.js +32 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +6 -1
- package/dist/account/v1/generated/validators/projectAccessResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/projectResource.zod.d.ts +6 -1
- package/dist/account/v1/generated/validators/projectResource.zod.js +3 -1
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/projectStatus.zod.d.ts +33 -0
- package/dist/account/v1/generated/validators/projectStatus.zod.js +29 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/projectTraitResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/registerRequestBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/resourceRefResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/ruleResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +6 -1
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.d.ts +41 -0
- package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.js +54 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/settingsResource.zod.js +1 -1
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +1 -1
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +1 -1
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +1 -1
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/realtimeExchange.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +1 -1
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +1 -1
- package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.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/backupService.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +1 -1
- 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/iPv6ResponseBody.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/instanceListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +2 -2
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +1 -1
- package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +1 -1
- package/dist/iam/v1/generated/models.d.ts +11 -0
- package/dist/iam/v1/generated/models.js +5 -0
- package/dist/iam/v1/generated/validators/projectAccessResource.zod.d.ts +5 -0
- package/dist/iam/v1/generated/validators/projectResource.zod.d.ts +5 -0
- package/dist/iam/v1/generated/validators/projectResource.zod.js +3 -0
- package/dist/membership/v1/generated/validators/membership.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/membershipList.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/subscription.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
- package/dist/routes.d.ts +8 -0
- package/dist/routes.js +9 -0
- package/dist/type/resource/v1/generated/validators/reclamationState.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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Account API
|
|
5
|
+
* Everything that comes before a project is chosen: registration, the account itself, the projects the caller belongs to, and entry into one of them.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries `Authorization: Bearer <access token>`, obtained by signing in at auth.leaflow.net. The endpoints that need no token say so.
|
|
10
|
+
*
|
|
11
|
+
* ## Entering a project
|
|
12
|
+
*
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
|
+
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
|
+
* 3. Every other service is called with that scoped token.
|
|
16
|
+
*
|
|
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.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
24
|
+
* OpenAPI spec version: 1.0.0
|
|
25
|
+
*/
|
|
26
|
+
import * as zod from "zod";
|
|
27
|
+
export declare const searchProjectsRequestBodyKeywordMax = 128;
|
|
28
|
+
export declare const searchProjectsRequestBodyPageMax = 2147483647;
|
|
29
|
+
export declare const searchProjectsRequestBodyPageSizeMax = 200;
|
|
30
|
+
export declare const SearchProjectsRequestBody: zod.ZodObject<{
|
|
31
|
+
keyword: zod.ZodOptional<zod.ZodString>;
|
|
32
|
+
statuses: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
33
|
+
active: "active";
|
|
34
|
+
deleting: "deleting";
|
|
35
|
+
deleted: "deleted";
|
|
36
|
+
}>>>;
|
|
37
|
+
page: zod.ZodOptional<zod.ZodInt>;
|
|
38
|
+
page_size: zod.ZodOptional<zod.ZodInt>;
|
|
39
|
+
}, zod.z.core.$strict>;
|
|
40
|
+
export type SearchProjectsRequestBody = zod.input<typeof SearchProjectsRequestBody>;
|
|
41
|
+
export type SearchProjectsRequestBodyOutput = zod.output<typeof SearchProjectsRequestBody>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Account API
|
|
5
|
+
* Everything that comes before a project is chosen: registration, the account itself, the projects the caller belongs to, and entry into one of them.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries `Authorization: Bearer <access token>`, obtained by signing in at auth.leaflow.net. The endpoints that need no token say so.
|
|
10
|
+
*
|
|
11
|
+
* ## Entering a project
|
|
12
|
+
*
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
|
+
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
|
+
* 3. Every other service is called with that scoped token.
|
|
16
|
+
*
|
|
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.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
24
|
+
* OpenAPI spec version: 1.0.0
|
|
25
|
+
*/
|
|
26
|
+
import * as zod from "zod";
|
|
27
|
+
import { ProjectStatus } from "./projectStatus.zod.js";
|
|
28
|
+
export const searchProjectsRequestBodyKeywordMax = 128;
|
|
29
|
+
export const searchProjectsRequestBodyPageMax = 2147483647;
|
|
30
|
+
export const searchProjectsRequestBodyPageSizeMax = 200;
|
|
31
|
+
export const SearchProjectsRequestBody = zod.strictObject({
|
|
32
|
+
keyword: zod
|
|
33
|
+
.string()
|
|
34
|
+
.max(searchProjectsRequestBodyKeywordMax)
|
|
35
|
+
.optional()
|
|
36
|
+
.describe("Matches against name, slug or description, and against the id when it is a complete project id"),
|
|
37
|
+
statuses: zod
|
|
38
|
+
.array(ProjectStatus)
|
|
39
|
+
.min(1)
|
|
40
|
+
.optional()
|
|
41
|
+
.describe("The statuses to include. Omitted, only `active` projects are returned"),
|
|
42
|
+
page: zod
|
|
43
|
+
.int()
|
|
44
|
+
.min(1)
|
|
45
|
+
.max(searchProjectsRequestBodyPageMax)
|
|
46
|
+
.optional()
|
|
47
|
+
.describe("1-based page number. Defaults to 1"),
|
|
48
|
+
page_size: zod
|
|
49
|
+
.int()
|
|
50
|
+
.min(1)
|
|
51
|
+
.max(searchProjectsRequestBodyPageSizeMax)
|
|
52
|
+
.optional()
|
|
53
|
+
.describe("Items per page. Defaults to 50; at most 200"),
|
|
54
|
+
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Entering a project
|
|
12
12
|
*
|
|
13
|
-
* 1. `
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
14
|
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Entering a project
|
|
12
12
|
*
|
|
13
|
-
* 1. `
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
14
|
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Entering a project
|
|
12
12
|
*
|
|
13
|
-
* 1. `
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
14
|
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Entering a project
|
|
12
12
|
*
|
|
13
|
-
* 1. `
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
14
|
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Entering a project
|
|
12
12
|
*
|
|
13
|
-
* 1. `
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
14
|
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Entering a project
|
|
12
12
|
*
|
|
13
|
-
* 1. `
|
|
13
|
+
* 1. `QUERY /account/v1/projects` searches the projects the caller belongs to. The first call registers the account, taking the name and email address from the sign-in claims.
|
|
14
14
|
* 2. `POST /account/v1/projects/{projectId}/scoped-tokens` returns a scoped token for the project chosen.
|
|
15
15
|
* 3. Every other service is called with that scoped token.
|
|
16
16
|
*
|
|
@@ -36,8 +36,8 @@ export declare const BindingResource: zod.ZodObject<{
|
|
|
36
36
|
peerName: zod.ZodString;
|
|
37
37
|
platform: zod.ZodString;
|
|
38
38
|
status: zod.ZodEnum<{
|
|
39
|
-
pending: "pending";
|
|
40
39
|
active: "active";
|
|
40
|
+
pending: "pending";
|
|
41
41
|
revoked: "revoked";
|
|
42
42
|
}>;
|
|
43
43
|
verifiedAt: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
@@ -26,9 +26,9 @@ import * as zod from "zod";
|
|
|
26
26
|
export declare const FileDiffResource: zod.ZodObject<{
|
|
27
27
|
path: zod.ZodString;
|
|
28
28
|
status: zod.ZodEnum<{
|
|
29
|
+
deleted: "deleted";
|
|
29
30
|
added: "added";
|
|
30
31
|
modified: "modified";
|
|
31
|
-
deleted: "deleted";
|
|
32
32
|
}>;
|
|
33
33
|
added: zod.ZodInt;
|
|
34
34
|
removed: zod.ZodInt;
|
|
@@ -37,8 +37,8 @@ export declare const LengthAwarePageBindingResource: zod.ZodObject<{
|
|
|
37
37
|
peerName: zod.ZodString;
|
|
38
38
|
platform: zod.ZodString;
|
|
39
39
|
status: zod.ZodEnum<{
|
|
40
|
-
pending: "pending";
|
|
41
40
|
active: "active";
|
|
41
|
+
pending: "pending";
|
|
42
42
|
revoked: "revoked";
|
|
43
43
|
}>;
|
|
44
44
|
verifiedAt: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
@@ -30,9 +30,9 @@ export declare const PresentationResource: zod.ZodObject<{
|
|
|
30
30
|
fileDiff: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
31
31
|
path: zod.ZodString;
|
|
32
32
|
status: zod.ZodEnum<{
|
|
33
|
+
deleted: "deleted";
|
|
33
34
|
added: "added";
|
|
34
35
|
modified: "modified";
|
|
35
|
-
deleted: "deleted";
|
|
36
36
|
}>;
|
|
37
37
|
added: zod.ZodInt;
|
|
38
38
|
removed: zod.ZodInt;
|
|
@@ -205,9 +205,9 @@ export declare const RealtimeExchange: zod.ZodObject<{
|
|
|
205
205
|
threadId: zod.ZodString;
|
|
206
206
|
name: zod.ZodString;
|
|
207
207
|
status: zod.ZodEnum<{
|
|
208
|
+
active: "active";
|
|
208
209
|
completed: "completed";
|
|
209
210
|
cancelled: "cancelled";
|
|
210
|
-
active: "active";
|
|
211
211
|
paused: "paused";
|
|
212
212
|
}>;
|
|
213
213
|
trigger: zod.ZodObject<{
|
|
@@ -195,9 +195,9 @@ export declare const RealtimeServerMessage: zod.ZodObject<{
|
|
|
195
195
|
threadId: zod.ZodString;
|
|
196
196
|
name: zod.ZodString;
|
|
197
197
|
status: zod.ZodEnum<{
|
|
198
|
+
active: "active";
|
|
198
199
|
completed: "completed";
|
|
199
200
|
cancelled: "cancelled";
|
|
200
|
-
active: "active";
|
|
201
201
|
paused: "paused";
|
|
202
202
|
}>;
|
|
203
203
|
trigger: zod.ZodObject<{
|
|
@@ -30,9 +30,9 @@ export declare const searchTasksRequestBodyLimitMax = 200;
|
|
|
30
30
|
export declare const SearchTasksRequestBody: zod.ZodObject<{
|
|
31
31
|
threadId: zod.ZodOptional<zod.ZodString>;
|
|
32
32
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
33
|
+
active: "active";
|
|
33
34
|
completed: "completed";
|
|
34
35
|
cancelled: "cancelled";
|
|
35
|
-
active: "active";
|
|
36
36
|
paused: "paused";
|
|
37
37
|
}>>;
|
|
38
38
|
triggerType: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -29,9 +29,9 @@ export declare const TaskListResponseBody: zod.ZodObject<{
|
|
|
29
29
|
threadId: zod.ZodString;
|
|
30
30
|
name: zod.ZodString;
|
|
31
31
|
status: zod.ZodEnum<{
|
|
32
|
+
active: "active";
|
|
32
33
|
completed: "completed";
|
|
33
34
|
cancelled: "cancelled";
|
|
34
|
-
active: "active";
|
|
35
35
|
paused: "paused";
|
|
36
36
|
}>;
|
|
37
37
|
trigger: zod.ZodObject<{
|
|
@@ -28,9 +28,9 @@ export declare const TaskResource: zod.ZodObject<{
|
|
|
28
28
|
threadId: zod.ZodString;
|
|
29
29
|
name: zod.ZodString;
|
|
30
30
|
status: zod.ZodEnum<{
|
|
31
|
+
active: "active";
|
|
31
32
|
completed: "completed";
|
|
32
33
|
cancelled: "cancelled";
|
|
33
|
-
active: "active";
|
|
34
34
|
paused: "paused";
|
|
35
35
|
}>;
|
|
36
36
|
trigger: zod.ZodObject<{
|
|
@@ -98,9 +98,9 @@ export declare const ThreadItemListResponseBody: zod.ZodObject<{
|
|
|
98
98
|
fileDiff: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
99
99
|
path: zod.ZodString;
|
|
100
100
|
status: zod.ZodEnum<{
|
|
101
|
+
deleted: "deleted";
|
|
101
102
|
added: "added";
|
|
102
103
|
modified: "modified";
|
|
103
|
-
deleted: "deleted";
|
|
104
104
|
}>;
|
|
105
105
|
added: zod.ZodInt;
|
|
106
106
|
removed: zod.ZodInt;
|
|
@@ -202,9 +202,9 @@ export declare const ThreadItemListResponseBody: zod.ZodObject<{
|
|
|
202
202
|
fileDiff: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
203
203
|
path: zod.ZodString;
|
|
204
204
|
status: zod.ZodEnum<{
|
|
205
|
+
deleted: "deleted";
|
|
205
206
|
added: "added";
|
|
206
207
|
modified: "modified";
|
|
207
|
-
deleted: "deleted";
|
|
208
208
|
}>;
|
|
209
209
|
added: zod.ZodInt;
|
|
210
210
|
removed: zod.ZodInt;
|
|
@@ -97,9 +97,9 @@ export declare const ThreadItemResource: zod.ZodObject<{
|
|
|
97
97
|
fileDiff: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
98
98
|
path: zod.ZodString;
|
|
99
99
|
status: zod.ZodEnum<{
|
|
100
|
+
deleted: "deleted";
|
|
100
101
|
added: "added";
|
|
101
102
|
modified: "modified";
|
|
102
|
-
deleted: "deleted";
|
|
103
103
|
}>;
|
|
104
104
|
added: zod.ZodInt;
|
|
105
105
|
removed: zod.ZodInt;
|
|
@@ -36,9 +36,9 @@ export declare const ToolCallResource: zod.ZodObject<{
|
|
|
36
36
|
fileDiff: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
37
37
|
path: zod.ZodString;
|
|
38
38
|
status: zod.ZodEnum<{
|
|
39
|
+
deleted: "deleted";
|
|
39
40
|
added: "added";
|
|
40
41
|
modified: "modified";
|
|
41
|
-
deleted: "deleted";
|
|
42
42
|
}>;
|
|
43
43
|
added: zod.ZodInt;
|
|
44
44
|
removed: zod.ZodInt;
|
|
@@ -135,8 +135,8 @@ export declare const Subscription: zod.ZodObject<{
|
|
|
135
135
|
current_period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
136
136
|
auto_renew: zod.ZodBoolean;
|
|
137
137
|
status: zod.ZodEnum<{
|
|
138
|
-
pending: "pending";
|
|
139
138
|
active: "active";
|
|
139
|
+
pending: "pending";
|
|
140
140
|
suspended: "suspended";
|
|
141
141
|
canceled: "canceled";
|
|
142
142
|
provisioning: "provisioning";
|
|
@@ -135,8 +135,8 @@ export declare const SubscriptionList: zod.ZodObject<{
|
|
|
135
135
|
current_period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
136
136
|
auto_renew: zod.ZodBoolean;
|
|
137
137
|
status: zod.ZodEnum<{
|
|
138
|
-
pending: "pending";
|
|
139
138
|
active: "active";
|
|
139
|
+
pending: "pending";
|
|
140
140
|
suspended: "suspended";
|
|
141
141
|
canceled: "canceled";
|
|
142
142
|
provisioning: "provisioning";
|
|
@@ -135,8 +135,8 @@ export declare const Subscription: zod.ZodObject<{
|
|
|
135
135
|
current_period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
136
136
|
auto_renew: zod.ZodBoolean;
|
|
137
137
|
status: zod.ZodEnum<{
|
|
138
|
-
pending: "pending";
|
|
139
138
|
active: "active";
|
|
139
|
+
pending: "pending";
|
|
140
140
|
suspended: "suspended";
|
|
141
141
|
canceled: "canceled";
|
|
142
142
|
provisioning: "provisioning";
|
|
@@ -135,8 +135,8 @@ export declare const SubscriptionList: zod.ZodObject<{
|
|
|
135
135
|
current_period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
136
136
|
auto_renew: zod.ZodBoolean;
|
|
137
137
|
status: zod.ZodEnum<{
|
|
138
|
-
pending: "pending";
|
|
139
138
|
active: "active";
|
|
139
|
+
pending: "pending";
|
|
140
140
|
suspended: "suspended";
|
|
141
141
|
canceled: "canceled";
|
|
142
142
|
provisioning: "provisioning";
|
|
@@ -42,9 +42,9 @@ import * as zod from "zod";
|
|
|
42
42
|
export declare const CreateServiceResponseBody: zod.ZodObject<{
|
|
43
43
|
service: zod.ZodObject<{
|
|
44
44
|
status: zod.ZodEnum<{
|
|
45
|
+
active: "active";
|
|
45
46
|
failed: "failed";
|
|
46
47
|
pending: "pending";
|
|
47
|
-
active: "active";
|
|
48
48
|
inactive: "inactive";
|
|
49
49
|
}>;
|
|
50
50
|
failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<null>]>>;
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
import * as zod from "zod";
|
|
42
42
|
export declare const ServiceResource: zod.ZodObject<{
|
|
43
43
|
status: zod.ZodEnum<{
|
|
44
|
+
active: "active";
|
|
44
45
|
failed: "failed";
|
|
45
46
|
pending: "pending";
|
|
46
|
-
active: "active";
|
|
47
47
|
inactive: "inactive";
|
|
48
48
|
}>;
|
|
49
49
|
failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<null>]>>;
|
|
@@ -168,8 +168,8 @@ export declare const Subscription: zod.ZodObject<{
|
|
|
168
168
|
current_period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
169
169
|
auto_renew: zod.ZodBoolean;
|
|
170
170
|
status: zod.ZodEnum<{
|
|
171
|
-
pending: "pending";
|
|
172
171
|
active: "active";
|
|
172
|
+
pending: "pending";
|
|
173
173
|
suspended: "suspended";
|
|
174
174
|
canceled: "canceled";
|
|
175
175
|
provisioning: "provisioning";
|
|
@@ -168,8 +168,8 @@ export declare const SubscriptionList: zod.ZodObject<{
|
|
|
168
168
|
current_period_end: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
169
169
|
auto_renew: zod.ZodBoolean;
|
|
170
170
|
status: zod.ZodEnum<{
|
|
171
|
-
pending: "pending";
|
|
172
171
|
active: "active";
|
|
172
|
+
pending: "pending";
|
|
173
173
|
suspended: "suspended";
|
|
174
174
|
canceled: "canceled";
|
|
175
175
|
provisioning: "provisioning";
|
|
@@ -30,12 +30,12 @@ export declare const AllocateFloatingIPResponseBody: zod.ZodObject<{
|
|
|
30
30
|
id: zod.ZodUUID;
|
|
31
31
|
region_id: zod.ZodUUID;
|
|
32
32
|
status: zod.ZodEnum<{
|
|
33
|
+
deleted: "deleted";
|
|
33
34
|
available: "available";
|
|
34
35
|
error: "error";
|
|
35
36
|
unknown: "unknown";
|
|
36
37
|
failed: "failed";
|
|
37
38
|
pending: "pending";
|
|
38
|
-
deleted: "deleted";
|
|
39
39
|
provisioning: "provisioning";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
@@ -27,9 +27,9 @@ export declare const BackupCapacityPack: zod.ZodObject<{
|
|
|
27
27
|
region_id: zod.ZodUUID;
|
|
28
28
|
capacity_gib: zod.ZodInt;
|
|
29
29
|
status: zod.ZodEnum<{
|
|
30
|
+
active: "active";
|
|
30
31
|
failed: "failed";
|
|
31
32
|
pending: "pending";
|
|
32
|
-
active: "active";
|
|
33
33
|
provisioning: "provisioning";
|
|
34
34
|
ended: "ended";
|
|
35
35
|
}>;
|
|
@@ -28,9 +28,9 @@ export declare const BackupCapacityPackListResponseBody: zod.ZodObject<{
|
|
|
28
28
|
region_id: zod.ZodUUID;
|
|
29
29
|
capacity_gib: zod.ZodInt;
|
|
30
30
|
status: zod.ZodEnum<{
|
|
31
|
+
active: "active";
|
|
31
32
|
failed: "failed";
|
|
32
33
|
pending: "pending";
|
|
33
|
-
active: "active";
|
|
34
34
|
provisioning: "provisioning";
|
|
35
35
|
ended: "ended";
|
|
36
36
|
}>;
|
|
@@ -32,10 +32,10 @@ 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
|
+
deleted: "deleted";
|
|
35
36
|
available: "available";
|
|
36
37
|
error: "error";
|
|
37
38
|
failed: "failed";
|
|
38
|
-
deleted: "deleted";
|
|
39
39
|
provisioning: "provisioning";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
@@ -31,10 +31,10 @@ 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
|
+
deleted: "deleted";
|
|
34
35
|
available: "available";
|
|
35
36
|
error: "error";
|
|
36
37
|
failed: "failed";
|
|
37
|
-
deleted: "deleted";
|
|
38
38
|
provisioning: "provisioning";
|
|
39
39
|
missing: "missing";
|
|
40
40
|
}>;
|
|
@@ -27,9 +27,9 @@ export declare const backupServicePackCapacityGibMin = 0;
|
|
|
27
27
|
export declare const BackupService: zod.ZodObject<{
|
|
28
28
|
region_id: zod.ZodUUID;
|
|
29
29
|
status: zod.ZodEnum<{
|
|
30
|
+
active: "active";
|
|
30
31
|
failed: "failed";
|
|
31
32
|
pending: "pending";
|
|
32
|
-
active: "active";
|
|
33
33
|
suspended: "suspended";
|
|
34
34
|
provisioning: "provisioning";
|
|
35
35
|
inactive: "inactive";
|
|
@@ -28,9 +28,9 @@ export declare const CreateBackupCapacityPackResponseBody: zod.ZodObject<{
|
|
|
28
28
|
region_id: zod.ZodUUID;
|
|
29
29
|
capacity_gib: zod.ZodInt;
|
|
30
30
|
status: zod.ZodEnum<{
|
|
31
|
+
active: "active";
|
|
31
32
|
failed: "failed";
|
|
32
33
|
pending: "pending";
|
|
33
|
-
active: "active";
|
|
34
34
|
provisioning: "provisioning";
|
|
35
35
|
ended: "ended";
|
|
36
36
|
}>;
|
|
@@ -26,9 +26,9 @@ export declare const CreateBackupServiceResponseBody: zod.ZodObject<{
|
|
|
26
26
|
backup_service: zod.ZodObject<{
|
|
27
27
|
region_id: zod.ZodUUID;
|
|
28
28
|
status: zod.ZodEnum<{
|
|
29
|
+
active: "active";
|
|
29
30
|
failed: "failed";
|
|
30
31
|
pending: "pending";
|
|
31
|
-
active: "active";
|
|
32
32
|
suspended: "suspended";
|
|
33
33
|
provisioning: "provisioning";
|
|
34
34
|
inactive: "inactive";
|
|
@@ -34,11 +34,11 @@ 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
|
+
deleted: "deleted";
|
|
37
38
|
available: "available";
|
|
38
39
|
error: "error";
|
|
39
40
|
failed: "failed";
|
|
40
41
|
pending: "pending";
|
|
41
|
-
deleted: "deleted";
|
|
42
42
|
provisioning: "provisioning";
|
|
43
43
|
missing: "missing";
|
|
44
44
|
in_use: "in_use";
|
|
@@ -39,11 +39,11 @@ 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
|
+
deleted: "deleted";
|
|
42
43
|
available: "available";
|
|
43
44
|
error: "error";
|
|
44
45
|
failed: "failed";
|
|
45
46
|
pending: "pending";
|
|
46
|
-
deleted: "deleted";
|
|
47
47
|
provisioning: "provisioning";
|
|
48
48
|
missing: "missing";
|
|
49
49
|
uploading: "uploading";
|
|
@@ -34,11 +34,11 @@ 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
|
+
deleted: "deleted";
|
|
37
38
|
available: "available";
|
|
38
39
|
error: "error";
|
|
39
40
|
failed: "failed";
|
|
40
41
|
pending: "pending";
|
|
41
|
-
deleted: "deleted";
|
|
42
42
|
provisioning: "provisioning";
|
|
43
43
|
missing: "missing";
|
|
44
44
|
in_use: "in_use";
|
|
@@ -33,11 +33,11 @@ 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
|
+
deleted: "deleted";
|
|
36
37
|
available: "available";
|
|
37
38
|
error: "error";
|
|
38
39
|
failed: "failed";
|
|
39
40
|
pending: "pending";
|
|
40
|
-
deleted: "deleted";
|
|
41
41
|
provisioning: "provisioning";
|
|
42
42
|
missing: "missing";
|
|
43
43
|
in_use: "in_use";
|
|
@@ -30,12 +30,12 @@ export declare const FloatingIPListResponseBody: zod.ZodObject<{
|
|
|
30
30
|
id: zod.ZodUUID;
|
|
31
31
|
region_id: zod.ZodUUID;
|
|
32
32
|
status: zod.ZodEnum<{
|
|
33
|
+
deleted: "deleted";
|
|
33
34
|
available: "available";
|
|
34
35
|
error: "error";
|
|
35
36
|
unknown: "unknown";
|
|
36
37
|
failed: "failed";
|
|
37
38
|
pending: "pending";
|
|
38
|
-
deleted: "deleted";
|
|
39
39
|
provisioning: "provisioning";
|
|
40
40
|
missing: "missing";
|
|
41
41
|
}>;
|
|
@@ -29,12 +29,12 @@ export declare const FloatingIPResource: zod.ZodObject<{
|
|
|
29
29
|
id: zod.ZodUUID;
|
|
30
30
|
region_id: zod.ZodUUID;
|
|
31
31
|
status: zod.ZodEnum<{
|
|
32
|
+
deleted: "deleted";
|
|
32
33
|
available: "available";
|
|
33
34
|
error: "error";
|
|
34
35
|
unknown: "unknown";
|
|
35
36
|
failed: "failed";
|
|
36
37
|
pending: "pending";
|
|
37
|
-
deleted: "deleted";
|
|
38
38
|
provisioning: "provisioning";
|
|
39
39
|
missing: "missing";
|
|
40
40
|
}>;
|
|
@@ -26,8 +26,8 @@ export declare const IPv6ResponseBody: zod.ZodObject<{
|
|
|
26
26
|
cidr: zod.ZodString;
|
|
27
27
|
enabled: zod.ZodBoolean;
|
|
28
28
|
status: zod.ZodEnum<{
|
|
29
|
-
pending: "pending";
|
|
30
29
|
active: "active";
|
|
30
|
+
pending: "pending";
|
|
31
31
|
draining: "draining";
|
|
32
32
|
}>;
|
|
33
33
|
}, zod.z.core.$strict>;
|
|
@@ -39,11 +39,11 @@ 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
|
+
deleted: "deleted";
|
|
42
43
|
available: "available";
|
|
43
44
|
error: "error";
|
|
44
45
|
failed: "failed";
|
|
45
46
|
pending: "pending";
|
|
46
|
-
deleted: "deleted";
|
|
47
47
|
provisioning: "provisioning";
|
|
48
48
|
missing: "missing";
|
|
49
49
|
uploading: "uploading";
|
|
@@ -39,11 +39,11 @@ 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
|
+
deleted: "deleted";
|
|
42
43
|
available: "available";
|
|
43
44
|
error: "error";
|
|
44
45
|
failed: "failed";
|
|
45
46
|
pending: "pending";
|
|
46
|
-
deleted: "deleted";
|
|
47
47
|
provisioning: "provisioning";
|
|
48
48
|
missing: "missing";
|
|
49
49
|
uploading: "uploading";
|