@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
|
@@ -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
|
*
|
|
@@ -59,6 +59,11 @@ export declare const LengthAwarePageProjectAccessResource: zod.ZodObject<{
|
|
|
59
59
|
description: zod.ZodString;
|
|
60
60
|
id: zod.ZodUUID;
|
|
61
61
|
slug: zod.ZodString;
|
|
62
|
+
status: zod.ZodEnum<{
|
|
63
|
+
active: "active";
|
|
64
|
+
deleting: "deleting";
|
|
65
|
+
deleted: "deleted";
|
|
66
|
+
}>;
|
|
62
67
|
name: zod.ZodString;
|
|
63
68
|
updated_at: zod.z.ZodISODateTime;
|
|
64
69
|
}, zod.z.core.$strict>;
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -0,0 +1,78 @@
|
|
|
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 ProjectAccessList: zod.ZodObject<{
|
|
28
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
29
|
+
grant: zod.ZodObject<{
|
|
30
|
+
admin: zod.ZodBoolean;
|
|
31
|
+
owner: zod.ZodBoolean;
|
|
32
|
+
roles: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
|
|
33
|
+
rules: zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
34
|
+
effect: zod.ZodEnum<{
|
|
35
|
+
allow: "allow";
|
|
36
|
+
deny: "deny";
|
|
37
|
+
}>;
|
|
38
|
+
permissions: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
|
|
39
|
+
resources: zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
40
|
+
id: zod.ZodString;
|
|
41
|
+
type: zod.ZodString;
|
|
42
|
+
}, zod.z.core.$strict>>>;
|
|
43
|
+
}, zod.z.core.$strict>>>;
|
|
44
|
+
}, zod.z.core.$strict>;
|
|
45
|
+
project: zod.ZodObject<{
|
|
46
|
+
traits: zod.ZodArray<zod.ZodObject<{
|
|
47
|
+
key: zod.ZodString;
|
|
48
|
+
value: zod.ZodString;
|
|
49
|
+
effect: zod.ZodEnum<{
|
|
50
|
+
NoWrite: "NoWrite";
|
|
51
|
+
NoAccess: "NoAccess";
|
|
52
|
+
}>;
|
|
53
|
+
reason: zod.ZodString;
|
|
54
|
+
}, zod.z.core.$strict>>;
|
|
55
|
+
deletion_requested_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
56
|
+
created_at: zod.z.ZodISODateTime;
|
|
57
|
+
created_by: zod.ZodString;
|
|
58
|
+
deleted_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
59
|
+
description: zod.ZodString;
|
|
60
|
+
id: zod.ZodUUID;
|
|
61
|
+
slug: zod.ZodString;
|
|
62
|
+
status: zod.ZodEnum<{
|
|
63
|
+
active: "active";
|
|
64
|
+
deleting: "deleting";
|
|
65
|
+
deleted: "deleted";
|
|
66
|
+
}>;
|
|
67
|
+
name: zod.ZodString;
|
|
68
|
+
updated_at: zod.z.ZodISODateTime;
|
|
69
|
+
}, zod.z.core.$strict>;
|
|
70
|
+
}, zod.z.core.$strict>>;
|
|
71
|
+
pagination: zod.ZodObject<{
|
|
72
|
+
page: zod.ZodInt;
|
|
73
|
+
page_size: zod.ZodInt;
|
|
74
|
+
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
75
|
+
}, zod.z.core.$strict>;
|
|
76
|
+
}, zod.z.core.$strict>;
|
|
77
|
+
export type ProjectAccessList = zod.input<typeof ProjectAccessList>;
|
|
78
|
+
export type ProjectAccessListOutput = zod.output<typeof ProjectAccessList>;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { OffsetPagination } from "./offsetPagination.zod.js";
|
|
28
|
+
import { ProjectAccessResource } from "./projectAccessResource.zod.js";
|
|
29
|
+
export const ProjectAccessList = zod.strictObject({
|
|
30
|
+
items: zod.array(ProjectAccessResource),
|
|
31
|
+
pagination: OffsetPagination,
|
|
32
|
+
});
|
|
@@ -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
|
*
|
|
@@ -58,6 +58,11 @@ export declare const ProjectAccessResource: zod.ZodObject<{
|
|
|
58
58
|
description: zod.ZodString;
|
|
59
59
|
id: zod.ZodUUID;
|
|
60
60
|
slug: zod.ZodString;
|
|
61
|
+
status: zod.ZodEnum<{
|
|
62
|
+
active: "active";
|
|
63
|
+
deleting: "deleting";
|
|
64
|
+
deleted: "deleted";
|
|
65
|
+
}>;
|
|
61
66
|
name: zod.ZodString;
|
|
62
67
|
updated_at: zod.z.ZodISODateTime;
|
|
63
68
|
}, zod.z.core.$strict>;
|
|
@@ -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
|
*
|
|
@@ -42,6 +42,11 @@ export declare const ProjectResource: zod.ZodObject<{
|
|
|
42
42
|
description: zod.ZodString;
|
|
43
43
|
id: zod.ZodUUID;
|
|
44
44
|
slug: zod.ZodString;
|
|
45
|
+
status: zod.ZodEnum<{
|
|
46
|
+
active: "active";
|
|
47
|
+
deleting: "deleting";
|
|
48
|
+
deleted: "deleted";
|
|
49
|
+
}>;
|
|
45
50
|
name: zod.ZodString;
|
|
46
51
|
updated_at: zod.z.ZodISODateTime;
|
|
47
52
|
}, zod.z.core.$strict>;
|
|
@@ -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
|
*
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
* OpenAPI spec version: 1.0.0
|
|
25
25
|
*/
|
|
26
26
|
import * as zod from "zod";
|
|
27
|
+
import { ProjectStatus } from "./projectStatus.zod.js";
|
|
27
28
|
import { ProjectTraitResource } from "./projectTraitResource.zod.js";
|
|
28
29
|
export const projectResourceSlugMax = 36;
|
|
29
30
|
export const ProjectResource = zod.strictObject({
|
|
@@ -42,6 +43,7 @@ export const ProjectResource = zod.strictObject({
|
|
|
42
43
|
.min(1)
|
|
43
44
|
.max(projectResourceSlugMax)
|
|
44
45
|
.describe("The label naming the project in its address. It equals `id` until a custom slug is chosen. A custom slug does not change once set, and stays with the project after deletion"),
|
|
46
|
+
status: ProjectStatus,
|
|
45
47
|
name: zod.string(),
|
|
46
48
|
updated_at: zod.iso.datetime({ offset: true }),
|
|
47
49
|
});
|
|
@@ -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
|
*
|
|
@@ -0,0 +1,33 @@
|
|
|
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 ProjectStatus: zod.ZodEnum<{
|
|
28
|
+
active: "active";
|
|
29
|
+
deleting: "deleting";
|
|
30
|
+
deleted: "deleted";
|
|
31
|
+
}>;
|
|
32
|
+
export type ProjectStatus = zod.input<typeof ProjectStatus>;
|
|
33
|
+
export type ProjectStatusOutput = zod.output<typeof ProjectStatus>;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 const ProjectStatus = zod
|
|
28
|
+
.enum(["active", "deleting", "deleted"])
|
|
29
|
+
.describe("`active` until deletion is requested; `deleting` while the resources under the project are being removed, when `deletion_requested_at` is set; `deleted` once removal has finished, when `deleted_at` is set");
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -60,6 +60,11 @@ export declare const ScopedTokenResponseBody: zod.ZodObject<{
|
|
|
60
60
|
description: zod.ZodString;
|
|
61
61
|
id: zod.ZodUUID;
|
|
62
62
|
slug: zod.ZodString;
|
|
63
|
+
status: zod.ZodEnum<{
|
|
64
|
+
active: "active";
|
|
65
|
+
deleting: "deleting";
|
|
66
|
+
deleted: "deleted";
|
|
67
|
+
}>;
|
|
63
68
|
name: zod.ZodString;
|
|
64
69
|
updated_at: zod.z.ZodISODateTime;
|
|
65
70
|
}, zod.z.core.$strict>;
|
|
@@ -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
|
*
|