@leaflow/sdk 0.0.0-dev.355.g42152f5 → 0.0.0-dev.358.gbb34078
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 +92 -1
- package/dist/account/v1/generated/functions.js +70 -0
- package/dist/account/v1/generated/models.d.ts +33 -1
- package/dist/account/v1/generated/models.js +5 -0
- package/dist/account/v1/generated/schemas.zod.d.ts +52 -0
- package/dist/account/v1/generated/schemas.zod.js +52 -1
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +7 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/accountResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/accountResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/consentBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/consentBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/consentResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/consentResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/countryOption.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/countryOption.zod.js +6 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +8 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +12 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.js +6 -0
- package/dist/account/v1/generated/validators/error.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/error.zod.js +6 -0
- package/dist/account/v1/generated/validators/grantResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/grantResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/languageOption.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/languageOption.zod.js +6 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +7 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +6 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.js +7 -1
- package/dist/account/v1/generated/validators/locale.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/locale.zod.js +6 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.js +6 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +6 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +7 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/projectResource.zod.d.ts +8 -0
- package/dist/account/v1/generated/validators/projectResource.zod.js +12 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +36 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +32 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +7 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.js +6 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +6 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +6 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +6 -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 +32 -1
- package/dist/iam/v1/generated/functions.js +43 -0
- package/dist/iam/v1/generated/models.d.ts +14 -0
- package/dist/iam/v1/generated/schemas.zod.d.ts +17 -0
- package/dist/iam/v1/generated/schemas.zod.js +16 -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,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,14 +15,22 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
21
27
|
export declare const createProjectRequestBodyDescriptionMax = 2000;
|
|
22
28
|
export declare const createProjectRequestBodyNameMax = 128;
|
|
29
|
+
export declare const createProjectRequestBodySlugMax = 32;
|
|
23
30
|
export declare const CreateProjectRequestBody: zod.ZodObject<{
|
|
24
31
|
description: zod.ZodOptional<zod.ZodString>;
|
|
25
32
|
name: zod.ZodString;
|
|
33
|
+
slug: zod.ZodOptional<zod.ZodString>;
|
|
26
34
|
}, zod.z.core.$strict>;
|
|
27
35
|
export type CreateProjectRequestBody = zod.input<typeof CreateProjectRequestBody>;
|
|
28
36
|
export type CreateProjectRequestBodyOutput = zod.output<typeof CreateProjectRequestBody>;
|
|
@@ -15,12 +15,24 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
21
27
|
export const createProjectRequestBodyDescriptionMax = 2000;
|
|
22
28
|
export const createProjectRequestBodyNameMax = 128;
|
|
29
|
+
export const createProjectRequestBodySlugMax = 32;
|
|
23
30
|
export const CreateProjectRequestBody = zod.strictObject({
|
|
24
31
|
description: zod.string().max(createProjectRequestBodyDescriptionMax).optional(),
|
|
25
32
|
name: zod.string().min(1).max(createProjectRequestBodyNameMax),
|
|
33
|
+
slug: zod
|
|
34
|
+
.string()
|
|
35
|
+
.max(createProjectRequestBodySlugMax)
|
|
36
|
+
.optional()
|
|
37
|
+
.describe("A custom slug of 6 to 32 characters made of lower-case letters, digits and single hyphens, beginning with a letter and ending with a letter or digit. Omitted or empty, the slug is the new project's `id`, and a custom slug can be set once later"),
|
|
26
38
|
});
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -52,6 +58,7 @@ export declare const LengthAwarePageProjectAccessResource: zod.ZodObject<{
|
|
|
52
58
|
deleted_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
53
59
|
description: zod.ZodString;
|
|
54
60
|
id: zod.ZodUUID;
|
|
61
|
+
slug: zod.ZodString;
|
|
55
62
|
name: zod.ZodString;
|
|
56
63
|
updated_at: zod.z.ZodISODateTime;
|
|
57
64
|
}, zod.z.core.$strict>;
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -36,6 +42,6 @@ export const ListProjectsParams = zod.strictObject({
|
|
|
36
42
|
.string()
|
|
37
43
|
.max(listProjectsParamsKeywordMax)
|
|
38
44
|
.optional()
|
|
39
|
-
.describe("Matches against name or description"),
|
|
45
|
+
.describe("Matches against name, slug or description, and against the id when it is a complete project id"),
|
|
40
46
|
include_deleted: zod.boolean().default(listProjectsParamsIncludeDeletedDefault),
|
|
41
47
|
});
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -51,6 +57,7 @@ export declare const ProjectAccessResource: zod.ZodObject<{
|
|
|
51
57
|
deleted_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
52
58
|
description: zod.ZodString;
|
|
53
59
|
id: zod.ZodUUID;
|
|
60
|
+
slug: zod.ZodString;
|
|
54
61
|
name: zod.ZodString;
|
|
55
62
|
updated_at: zod.z.ZodISODateTime;
|
|
56
63
|
}, zod.z.core.$strict>;
|
|
@@ -15,6 +15,12 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
@@ -15,9 +15,16 @@
|
|
|
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.
|
|
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.
|
|
18
24
|
* OpenAPI spec version: 1.0.0
|
|
19
25
|
*/
|
|
20
26
|
import * as zod from "zod";
|
|
27
|
+
export declare const projectResourceSlugMax = 36;
|
|
21
28
|
export declare const ProjectResource: zod.ZodObject<{
|
|
22
29
|
traits: zod.ZodArray<zod.ZodObject<{
|
|
23
30
|
key: zod.ZodString;
|
|
@@ -34,6 +41,7 @@ export declare const ProjectResource: zod.ZodObject<{
|
|
|
34
41
|
deleted_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
35
42
|
description: zod.ZodString;
|
|
36
43
|
id: zod.ZodUUID;
|
|
44
|
+
slug: zod.ZodString;
|
|
37
45
|
name: zod.ZodString;
|
|
38
46
|
updated_at: zod.z.ZodISODateTime;
|
|
39
47
|
}, zod.z.core.$strict>;
|