From b5477a89a3fb12840cc44046825cda4390b2f14c Mon Sep 17 00:00:00 2001
From: Ivan Vasilov
Date: Thu, 13 Aug 2026 09:48:13 +0200
Subject: [PATCH] chore: Update API types (#48981)
Update the API types by running `api:codegen`. Some of the changes are
fixed in code, some of the type changes had to be reverted (JIT Access,
SSO features).
## Summary by CodeRabbit
* **Billing**
* Updated subscription messaging to reflect AWS Marketplace billing.
* Removed outdated partner-billing downgrade notices.
* **Bug Fixes**
* Improved request handling for API keys, custom domains, SQL snippets,
branches, and storage operations.
* Improved legacy signing-key compatibility.
* Refined temporary database access availability messaging.
* **Updates**
* Removed Fly as an available cloud provider for region selection.
---
.../Subscription/DowngradeModal.tsx | 6 -
.../SubscriptionPlanUpdateDialog.tsx | 8 -
.../JitDbAccess.utils.test.ts | 2 +
.../JitDbAccessConfiguration.tsx | 23 +-
.../data/api-keys/api-key-create-mutation.ts | 4 +-
.../data/api-keys/api-key-delete-mutation.ts | 2 +-
apps/studio/data/api-keys/api-key-id-query.ts | 2 +-
apps/studio/data/api-keys/api-keys-query.ts | 2 +-
.../legacy-api-key-toggle-mutation.ts | 2 +-
.../studio/data/branches/branch-diff-query.ts | 5 +-
.../studio/data/content/sql-snippets-query.ts | 2 +-
.../custom-domains-delete-mutation.ts | 2 +-
.../organization-available-regions-query.ts | 2 +-
...iceberg-namespace-table-delete-mutation.ts | 2 +-
.../lib/api/self-hosted/signing-keys.test.ts | 1 +
.../lib/api/self-hosted/signing-keys.ts | 1 +
.../[slug]/billing/subscription.ts | 2 +-
.../InviteMemberButton.network.test.tsx | 1 +
.../UpdateRolesPanel.network.test.tsx | 1 +
packages/api-types/types/api.d.ts | 746 +++-
packages/api-types/types/platform.d.ts | 3395 ++++++++++++-----
21 files changed, 3001 insertions(+), 1210 deletions(-)
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx
index 5b4dd4f5ed9..13160f9235c 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx
@@ -170,12 +170,6 @@ export const DowngradeModal = ({
-
- {subscription?.billing_via_partner === true && subscription.billing_partner === 'fly' && (
-
- Your organization will be downgraded at the end of your current billing cycle.
-
- )}
- {billingViaPartner &&
- billingPartner === 'fly' &&
- subscriptionPreview?.plan_change_type === 'downgrade' && (
-
- Your organization will be downgraded at the end of your current billing
- cycle.
-
- )}
)}
diff --git a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccess.utils.test.ts b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccess.utils.test.ts
index edcdee317cd..9857f1069a6 100644
--- a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccess.utils.test.ts
+++ b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccess.utils.test.ts
@@ -121,6 +121,7 @@ describe('getJitMemberOptions', () => {
const organizationMembers: OrganizationMembersData = [
{
gotrue_id: 'de305d54-75b4-431b-adb2-eb6b9e546014',
+ avatar_url: null,
primary_email: 'active@example.com',
username: 'Active User',
is_sso_user: false,
@@ -130,6 +131,7 @@ describe('getJitMemberOptions', () => {
},
{
gotrue_id: '',
+ avatar_url: null,
invited_id: 123,
invited_at: '2026-03-01T00:00:00.000Z',
primary_email: 'expired-invite@example.com',
diff --git a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessConfiguration.tsx b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessConfiguration.tsx
index f6dd58a2907..dab3b686cd3 100644
--- a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessConfiguration.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessConfiguration.tsx
@@ -318,19 +318,15 @@ export const JitDbAccessConfiguration = () => {
const unavailableTitle =
unavailableReason === 'postgres_upgrade_required'
? 'Postgres upgrade required'
- : unavailableReason === 'manual_migration_required'
- ? 'Migration required'
- : unavailableReason === 'ssl_enforcement_required'
- ? 'SSL enforcement required'
- : 'Temporary access unavailable'
+ : unavailableReason === 'ssl_enforcement_required'
+ ? 'SSL enforcement required'
+ : 'Temporary access unavailable'
const unavailableDescription =
unavailableReason === 'postgres_upgrade_required'
? 'must be upgraded to Postgres 17 or later before temporary access can be enabled.'
- : unavailableReason === 'manual_migration_required'
- ? 'must be migrated before temporary access can be enabled. Contact support to migrate this project.'
- : unavailableReason === 'ssl_enforcement_required'
- ? 'must have SSL enforcement enabled before temporary access can be enabled.'
- : 'This feature is currently unavailable for this project. Contact support if you need help enabling it.'
+ : unavailableReason === 'ssl_enforcement_required'
+ ? 'must have SSL enforcement enabled before temporary access can be enabled.'
+ : 'This feature is currently unavailable for this project. Contact support if you need help enabling it.'
useEffect(() => {
if (!isLoadingConfiguration && jitDbAccessConfiguration) {
@@ -386,12 +382,13 @@ export const JitDbAccessConfiguration = () => {
layout="responsive"
title={unavailableTitle}
description={
- unavailableReason === 'temporarily_unavailable' ? (
- unavailableDescription
- ) : (
+ unavailableReason === 'postgres_upgrade_required' ||
+ unavailableReason === 'ssl_enforcement_required' ? (
<>
{projectReference} {unavailableDescription}
>
+ ) : (
+ unavailableDescription
)
}
actions={
diff --git a/apps/studio/data/api-keys/api-key-create-mutation.ts b/apps/studio/data/api-keys/api-key-create-mutation.ts
index 1aa32df38b2..3e07cfe8020 100644
--- a/apps/studio/data/api-keys/api-key-create-mutation.ts
+++ b/apps/studio/data/api-keys/api-key-create-mutation.ts
@@ -18,7 +18,7 @@ export async function createAPIKey(payload: APIKeyCreateVariables) {
params: {
path: { ref: payload.projectRef },
query: {
- reveal: false,
+ reveal: 'false',
},
},
body: {
@@ -29,7 +29,7 @@ export async function createAPIKey(payload: APIKeyCreateVariables) {
role: 'service_role',
},
}
- : name),
+ : {}),
type: payload.type,
name: payload.name,
diff --git a/apps/studio/data/api-keys/api-key-delete-mutation.ts b/apps/studio/data/api-keys/api-key-delete-mutation.ts
index 18d0e767c4f..10fb0eabff9 100644
--- a/apps/studio/data/api-keys/api-key-delete-mutation.ts
+++ b/apps/studio/data/api-keys/api-key-delete-mutation.ts
@@ -16,7 +16,7 @@ export async function deleteAPIKey(payload: APIKeyDeleteVariables) {
const { data, error } = await del('/v1/projects/{ref}/api-keys/{id}', {
params: {
path: { ref: payload.projectRef, id: payload.id },
- query: { reveal: false },
+ query: { reveal: 'false' },
},
})
diff --git a/apps/studio/data/api-keys/api-key-id-query.ts b/apps/studio/data/api-keys/api-key-id-query.ts
index 9149361f401..7340bafe069 100644
--- a/apps/studio/data/api-keys/api-key-id-query.ts
+++ b/apps/studio/data/api-keys/api-key-id-query.ts
@@ -16,7 +16,7 @@ export async function getAPIKeysById(
const { data, error } = await get('/v1/projects/{ref}/api-keys/{id}', {
params: {
path: { ref: projectRef, id },
- query: { reveal },
+ query: { reveal: reveal ? 'true' : 'false' },
},
signal,
})
diff --git a/apps/studio/data/api-keys/api-keys-query.ts b/apps/studio/data/api-keys/api-keys-query.ts
index a9f87625e38..5ce1f144417 100644
--- a/apps/studio/data/api-keys/api-keys-query.ts
+++ b/apps/studio/data/api-keys/api-keys-query.ts
@@ -55,7 +55,7 @@ async function getAPIKeys({ projectRef, reveal }: APIKeysVariables, signal?: Abo
if (!projectRef) throw new Error('projectRef is required')
const { data, error } = await get(`/v1/projects/{ref}/api-keys`, {
- params: { path: { ref: projectRef }, query: { reveal } },
+ params: { path: { ref: projectRef }, query: { reveal: reveal ? 'true' : 'false' } },
signal,
})
diff --git a/apps/studio/data/api-keys/legacy-api-key-toggle-mutation.ts b/apps/studio/data/api-keys/legacy-api-key-toggle-mutation.ts
index 72799e7686a..cc4c0849c71 100644
--- a/apps/studio/data/api-keys/legacy-api-key-toggle-mutation.ts
+++ b/apps/studio/data/api-keys/legacy-api-key-toggle-mutation.ts
@@ -16,7 +16,7 @@ export async function toggleLegacyAPIKeys(payload: ToggleLegacyAPIKeysVariables)
const { data, error } = await put('/v1/projects/{ref}/api-keys/legacy', {
params: {
path: { ref: payload.projectRef },
- query: { enabled: payload.enabled },
+ query: { enabled: payload.enabled ? 'true' : 'false' },
},
})
diff --git a/apps/studio/data/branches/branch-diff-query.ts b/apps/studio/data/branches/branch-diff-query.ts
index a858a48a3a4..4719993ac9c 100644
--- a/apps/studio/data/branches/branch-diff-query.ts
+++ b/apps/studio/data/branches/branch-diff-query.ts
@@ -24,10 +24,7 @@ export async function getBranchDiff({
const { data: diffData, error } = await get('/v1/branches/{branch_id_or_ref}/diff', {
params: {
path: { branch_id_or_ref: branchRef },
- query:
- Object.keys(query).length > 0
- ? (query as { included_schemas?: string; pgdelta?: boolean })
- : undefined,
+ query: Object.keys(query).length > 0 ? query : undefined,
},
headers: {
Accept: 'text/plain',
diff --git a/apps/studio/data/content/sql-snippets-query.ts b/apps/studio/data/content/sql-snippets-query.ts
index ec554a92b0c..dbc4643479d 100644
--- a/apps/studio/data/content/sql-snippets-query.ts
+++ b/apps/studio/data/content/sql-snippets-query.ts
@@ -40,7 +40,7 @@ export async function getSqlSnippets(
type,
cursor,
visibility,
- favorite,
+ favorite: favorite?.toString(),
name,
limit: SNIPPET_PAGE_LIMIT.toString(),
sort_by: sort,
diff --git a/apps/studio/data/custom-domains/custom-domains-delete-mutation.ts b/apps/studio/data/custom-domains/custom-domains-delete-mutation.ts
index 9d88c477b7f..56da08a1e15 100644
--- a/apps/studio/data/custom-domains/custom-domains-delete-mutation.ts
+++ b/apps/studio/data/custom-domains/custom-domains-delete-mutation.ts
@@ -18,7 +18,7 @@ export async function deleteCustomDomain({
const { data, error } = await del(`/v1/projects/{ref}/custom-hostname`, {
params: {
path: { ref: projectRef },
- query: { remove_addon: removeAddon },
+ query: { remove_addon: removeAddon ? 'true' : 'false' },
},
})
diff --git a/apps/studio/data/organizations/organization-available-regions-query.ts b/apps/studio/data/organizations/organization-available-regions-query.ts
index 0c7ec9ec51b..2dbb1a91542 100644
--- a/apps/studio/data/organizations/organization-available-regions-query.ts
+++ b/apps/studio/data/organizations/organization-available-regions-query.ts
@@ -10,7 +10,7 @@ export type DesiredInstanceSizeForAvailableRegions =
export type OrganizationAvailableRegionsVariables = {
slug?: string
- cloudProvider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ cloudProvider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
desiredInstanceSize?: DesiredInstanceSizeForAvailableRegions
}
diff --git a/apps/studio/data/storage/iceberg-namespace-table-delete-mutation.ts b/apps/studio/data/storage/iceberg-namespace-table-delete-mutation.ts
index d14f52fca5c..d78bd1d7678 100644
--- a/apps/studio/data/storage/iceberg-namespace-table-delete-mutation.ts
+++ b/apps/studio/data/storage/iceberg-namespace-table-delete-mutation.ts
@@ -25,7 +25,7 @@ async function deleteIcebergNamespaceTable({
{
params: {
path: { ref: projectRef, id: warehouse, namespace, table },
- query: { purge: true },
+ query: { purge: 'true' },
},
}
)
diff --git a/apps/studio/lib/api/self-hosted/signing-keys.test.ts b/apps/studio/lib/api/self-hosted/signing-keys.test.ts
index 69493f6509f..8e06231cb90 100644
--- a/apps/studio/lib/api/self-hosted/signing-keys.test.ts
+++ b/apps/studio/lib/api/self-hosted/signing-keys.test.ts
@@ -30,6 +30,7 @@ describe('api/self-hosted/signing-keys', () => {
expect(key).toEqual({
id: '00000000-0000-0000-0000-000000000000',
algorithm: 'HS256',
+ public_jwk: '',
status: 'in_use',
created_at: '1970-01-01T00:00:00.000Z',
updated_at: '1970-01-01T00:00:00.000Z',
diff --git a/apps/studio/lib/api/self-hosted/signing-keys.ts b/apps/studio/lib/api/self-hosted/signing-keys.ts
index 86eb60d58f3..3541f2e8e71 100644
--- a/apps/studio/lib/api/self-hosted/signing-keys.ts
+++ b/apps/studio/lib/api/self-hosted/signing-keys.ts
@@ -24,6 +24,7 @@ export function getLegacySigningKey(): SigningKeyResponse {
return {
id: LEGACY_KEY_ID,
algorithm: 'HS256',
+ public_jwk: '',
status: 'in_use',
created_at: LEGACY_KEY_CREATED_AT,
updated_at: LEGACY_KEY_CREATED_AT,
diff --git a/apps/studio/pages/api/platform/organizations/[slug]/billing/subscription.ts b/apps/studio/pages/api/platform/organizations/[slug]/billing/subscription.ts
index f585fc29b4e..d7cee03359e 100644
--- a/apps/studio/pages/api/platform/organizations/[slug]/billing/subscription.ts
+++ b/apps/studio/pages/api/platform/organizations/[slug]/billing/subscription.ts
@@ -35,7 +35,7 @@ const handleGet = async (_req: NextApiRequest, res: NextApiResponse): Member => ({
gotrue_id: 'gotrue-test',
+ avatar_url: null,
is_sso_user: false,
metadata: {},
mfa_enabled: false,
diff --git a/apps/studio/tests/components/Organization/TeamSettings/UpdateRolesPanel.network.test.tsx b/apps/studio/tests/components/Organization/TeamSettings/UpdateRolesPanel.network.test.tsx
index c8c4ca7bbab..0ab629a98b2 100644
--- a/apps/studio/tests/components/Organization/TeamSettings/UpdateRolesPanel.network.test.tsx
+++ b/apps/studio/tests/components/Organization/TeamSettings/UpdateRolesPanel.network.test.tsx
@@ -83,6 +83,7 @@ const buildPermission = (resource: string): AccessControlPermission => ({
const MEMBER: OrganizationMember = {
gotrue_id: 'gotrue-member',
+ avatar_url: null,
is_sso_user: false,
metadata: {},
mfa_enabled: false,
diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.ts
index eef705e690e..182549218ca 100644
--- a/packages/api-types/types/api.d.ts
+++ b/packages/api-types/types/api.d.ts
@@ -521,6 +521,35 @@ export interface paths {
patch?: never
trace?: never
}
+ '/v1/projects/{ref}/analytics/endpoints/logs': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * Gets all project's logs in a single log stream
+ * @description Executes an SQL or LQL query on the project's unified logs stream.
+ *
+ * Either the `iso_timestamp_start` and `iso_timestamp_end` parameters must be provided.
+ * If both are not provided, only the last 1 minute of logs will be queried.
+ * The timestamp range must be no more than 24 hours and is rounded to the nearest minute. If the range is more than 24 hours, a validation error will be thrown.
+ *
+ * Filter by the `source` column to specify specific log sources, such as edge_logs, postgres_logs, etc.
+ *
+ * Note: SQL must be written in **ClickHouse SQL dialect**.
+ *
+ */
+ get: operations['v1-get-project-logs']
+ put?: never
+ post?: never
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/v1/projects/{ref}/analytics/endpoints/logs.all': {
parameters: {
query?: never
@@ -530,6 +559,7 @@ export interface paths {
}
/**
* Gets project's logs
+ * @deprecated
* @description Executes a SQL query on the project's logs.
*
* Either the `iso_timestamp_start` and `iso_timestamp_end` parameters must be provided.
@@ -539,7 +569,27 @@ export interface paths {
* Note: Unless the `sql` parameter is provided, only edge_logs will be queried. See the [log query docs](/docs/guides/telemetry/logs?queryGroups=product&product=postgres&queryGroups=source&source=edge_logs#querying-with-the-logs-explorer:~:text=logs%20from%20the-,Sources,-drop%2Ddown%3A) for all available sources.
*
*/
- get: operations['v1-get-project-logs']
+ get: operations['v1-get-project-logs-all']
+ put?: never
+ post?: never
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/v1/projects/{ref}/analytics/endpoints/metrics': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * Scrape a project's metrics
+ * @description Prometheus scrape endpoint. Returns metrics of a customer project in the Prometheus open exposition format.
+ */
+ get: operations['v1-scrape-project-metrics']
put?: never
post?: never
delete?: never
@@ -1315,6 +1365,66 @@ export interface paths {
patch?: never
trace?: never
}
+ '/v1/projects/{ref}/database/jit/invite': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ /**
+ * Invites an external user to a database for JIT access
+ * @description Invites the external user and sets initial roles that can be assumed and for how long
+ */
+ post: operations['v1-invite-external-jit-access']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/v1/projects/{ref}/database/jit/invite/{invite_id}': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ post?: never
+ /**
+ * Deletes the invite for an external user to a database for JIT access
+ * @description Revokes and deletes the invitation
+ */
+ delete: operations['v1-delete-invite-external-jit-access']
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/v1/projects/{ref}/database/jit/invite/accept': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ /**
+ * Accepts invitation for JIT database access
+ * @description Accepts the invitation to JIT database access
+ */
+ post: operations['v1-accept-invite-external-jit-access']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/v1/projects/{ref}/database/jit/list': {
parameters: {
query?: never
@@ -1342,25 +1452,13 @@ export interface paths {
path?: never
cookie?: never
}
- /**
- * List applied migration versions
- * @description Only available to selected partner OAuth apps
- */
+ /** List applied migration versions */
get: operations['v1-list-migration-history']
- /**
- * Upsert a database migration without applying
- * @description Only available to selected partner OAuth apps
- */
+ /** Upsert a database migration without applying */
put: operations['v1-upsert-a-migration']
- /**
- * Apply a database migration
- * @description Only available to selected partner OAuth apps
- */
+ /** Apply a database migration */
post: operations['v1-apply-a-migration']
- /**
- * Rollback database migrations and remove them from history table
- * @description Only available to selected partner OAuth apps
- */
+ /** Rollback database migrations and remove them from history table */
delete: operations['v1-rollback-migrations']
options?: never
head?: never
@@ -1374,20 +1472,14 @@ export interface paths {
path?: never
cookie?: never
}
- /**
- * Fetch an existing entry from migration history
- * @description Only available to selected partner OAuth apps
- */
+ /** Fetch an existing entry from migration history */
get: operations['v1-get-a-migration']
put?: never
post?: never
delete?: never
options?: never
head?: never
- /**
- * Patch an existing entry in migration history
- * @description Only available to selected partner OAuth apps
- */
+ /** Patch an existing entry in migration history */
patch: operations['v1-patch-a-migration']
trace?: never
}
@@ -2114,6 +2206,15 @@ export interface paths {
export type webhooks = Record
export interface components {
schemas: {
+ /** @example {
+ * "email": "external-user@somedomain.xyz",
+ * "token": ""
+ * } */
+ AcceptInviteExternalUserJitAccessBody: {
+ /** Format: email */
+ email: string
+ token: string
+ }
ActionRunResponse: {
branch_id: string
check_run_id: number | null
@@ -2749,7 +2850,6 @@ export interface components {
domains?: {
created_at?: string
domain?: string
- id: string
updated_at?: string
}[]
id: string
@@ -2765,7 +2865,6 @@ export interface components {
}
}
entity_id: string
- id: string
metadata_url?: string
metadata_xml?: string
/** @enum {string} */
@@ -2932,7 +3031,6 @@ export interface components {
domains?: {
created_at?: string
domain?: string
- id: string
updated_at?: string
}[]
id: string
@@ -2948,7 +3046,6 @@ export interface components {
}
}
entity_id: string
- id: string
metadata_url?: string
metadata_xml?: string
/** @enum {string} */
@@ -3053,7 +3150,7 @@ export interface components {
* }
* } */
FunctionDeployBody: {
- file?: string[]
+ file: string[]
metadata: {
entrypoint_path: string
import_map_path?: string
@@ -3122,7 +3219,6 @@ export interface components {
domains?: {
created_at?: string
domain?: string
- id: string
updated_at?: string
}[]
id: string
@@ -3138,7 +3234,6 @@ export interface components {
}
}
entity_id: string
- id: string
metadata_url?: string
metadata_xml?: string
/** @enum {string} */
@@ -3150,6 +3245,63 @@ export interface components {
}
updated_at?: string
}
+ /** @example {
+ * "email": "external-user@somedomain.xyz",
+ * "roles": [
+ * {
+ * "role": "postgres",
+ * "expires_at": 1740787200,
+ * "allowed_networks": {
+ * "allowed_cidrs": [
+ * {
+ * "cidr": "203.0.113.0/24"
+ * }
+ * ]
+ * },
+ * "branches_only": false
+ * }
+ * ]
+ * } */
+ InviteExternalUserJitAccessBody: {
+ /** Format: email */
+ email: string
+ roles: {
+ allowed_networks?: {
+ allowed_cidrs?: {
+ /** Format: cidrv4 */
+ cidr: string
+ }[]
+ allowed_cidrs_v6?: {
+ /** Format: cidrv6 */
+ cidr: string
+ }[]
+ }
+ branches_only?: boolean
+ expires_at?: number
+ role: string
+ }[]
+ }
+ InviteExternalUserJitResponse: {
+ /** Format: email */
+ email: string
+ /** Format: uuid */
+ invite_id: string
+ user_roles: {
+ allowed_networks?: {
+ allowed_cidrs?: {
+ /** Format: cidrv4 */
+ cidr: string
+ }[]
+ allowed_cidrs_v6?: {
+ /** Format: cidrv6 */
+ cidr: string
+ }[]
+ }
+ branches_only?: boolean
+ expires_at?: number
+ role: string
+ }[]
+ }
/** @example {
* "state": "enabled"
* } */
@@ -3159,13 +3311,15 @@ export interface components {
}
JitAccessResponse: {
/** Format: uuid */
- user_id: string
+ user_id?: string
user_roles: {
allowed_networks?: {
allowed_cidrs?: {
+ /** Format: cidrv4 */
cidr: string
}[]
allowed_cidrs_v6?: {
+ /** Format: cidrv6 */
cidr: string
}[]
}
@@ -3180,9 +3334,11 @@ export interface components {
user_role: {
allowed_networks?: {
allowed_cidrs?: {
+ /** Format: cidrv4 */
cidr: string
}[]
allowed_cidrs_v6?: {
+ /** Format: cidrv6 */
cidr: string
}[]
}
@@ -3193,14 +3349,19 @@ export interface components {
}
JitListAccessResponse: {
items: {
+ expires_at: null
+ invite_id: null
+ primary_email: string | null
/** Format: uuid */
user_id: string
user_roles: {
allowed_networks?: {
allowed_cidrs?: {
+ /** Format: cidrv4 */
cidr: string
}[]
allowed_cidrs_v6?: {
+ /** Format: cidrv6 */
cidr: string
}[]
}
@@ -3210,22 +3371,6 @@ export interface components {
}[]
}[]
}
- JitStateResponse:
- | {
- appliedSuccessfully?: boolean
- /** @enum {string} */
- state: 'enabled' | 'disabled'
- }
- | {
- /** @enum {string} */
- state: 'unavailable'
- /** @enum {string} */
- unavailableReason:
- | 'manual_migration_required'
- | 'postgres_upgrade_required'
- | 'ssl_enforcement_required'
- | 'temporarily_unavailable'
- }
LegacyApiKeysResponse: {
enabled: boolean
}
@@ -3288,8 +3433,7 @@ export interface components {
| 'auth_mfa_web_authn_default'
| 'log_drain_default'
| 'etl_pipeline_default'
- /** @description Any JSON-serializable value */
- meta?: unknown
+ meta?: components['schemas']['ListProjectAddonsResponseJsonValue']
name: string
price: {
amount: number
@@ -3341,8 +3485,7 @@ export interface components {
| 'auth_mfa_web_authn_default'
| 'log_drain_default'
| 'etl_pipeline_default'
- /** @description Any JSON-serializable value */
- meta?: unknown
+ meta?: components['schemas']['ListProjectAddonsResponseJsonValue']
name: string
price: {
amount: number
@@ -3355,13 +3498,19 @@ export interface components {
}
}[]
}
+ /** @description Any JSON-serializable value */
+ ListProjectAddonsResponseJsonValue:
+ | ((string | number | boolean) | null)
+ | components['schemas']['ListProjectAddonsResponseJsonValue'][]
+ | {
+ [key: string]: components['schemas']['ListProjectAddonsResponseJsonValue']
+ }
ListProvidersResponse: {
items: {
created_at?: string
domains?: {
created_at?: string
domain?: string
- id: string
updated_at?: string
}[]
id: string
@@ -3377,7 +3526,6 @@ export interface components {
}
}
entity_id: string
- id: string
metadata_url?: string
metadata_xml?: string
/** @enum {string} */
@@ -3437,7 +3585,17 @@ export interface components {
NetworkRestrictionsResponse: {
/** Format: date-time */
applied_at?: string
- /** @description At any given point in time, this is the config that the user has requested be applied to their project. The `status` field indicates if it has been applied to the project, or is pending. When an updated config is received, the applied config is moved to `old_config`. */
+ /**
+ * @description At any given point in time, this is the config that the user has requested be applied to their project. The `status` field indicates if it has been applied to the project, or is pending. When an updated config is received, the applied config is moved to `old_config`.
+ * @example {
+ * "dbAllowedCidrs": [
+ * "203.0.113.0/24"
+ * ],
+ * "dbAllowedCidrsV6": [
+ * "2001:db8::/32"
+ * ]
+ * }
+ */
config: {
dbAllowedCidrs?: string[]
dbAllowedCidrsV6?: string[]
@@ -3669,9 +3827,29 @@ export interface components {
*/
slug: string
}
+ /** @example {
+ * "root_key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
+ * } */
PgsodiumConfigResponse: {
+ /** @description The pgsodium root key: 32 bytes, hex-encoded (64 characters). */
root_key: string
}
+ PlanGateErrorBody: {
+ /** @description Present on entitlement denials. Other errors with this status code (validation, billing state) carry only message. */
+ error?: {
+ /**
+ * @description Machine-readable marker for plan-gated denials
+ * @enum {string}
+ */
+ code: 'entitlement_required'
+ /** @description Entitlement feature key that failed the check */
+ feature: string
+ /** @description Billing page URL for the organization, present when the org is resolvable */
+ upgrade_url?: string
+ }
+ /** @description Human-readable explanation of the plan gate */
+ message: string
+ }
PostgresConfigResponse: {
/** @description Default unit: s */
checkpoint_timeout?: string
@@ -3694,6 +3872,7 @@ export interface components {
maintenance_work_mem?: string
max_connections?: number
max_locks_per_transaction?: number
+ max_logical_replication_workers?: number
max_parallel_maintenance_workers?: number
max_parallel_workers?: number
max_parallel_workers_per_gather?: number
@@ -3701,6 +3880,7 @@ export interface components {
max_slot_wal_keep_size?: string
max_standby_archive_delay?: string
max_standby_streaming_delay?: string
+ max_sync_workers_per_subscription?: number
max_wal_senders?: number
max_wal_size?: string
max_worker_processes?: number
@@ -3720,6 +3900,8 @@ export interface components {
db_extra_search_path: string
/** @description If `null`, the value is automatically configured based on compute size. */
db_pool: number | null
+ /** @description If `null`, the value is automatically configured to 10. */
+ db_pool_acquisition_timeout: number | null
db_schema: string
jwt_secret?: string
max_rows: number
@@ -3807,7 +3989,6 @@ export interface components {
}
| {
obj_name: string
- /** @enum {string} */
obj_type: 'table' | 'function'
schema_name: string
/** @enum {string} */
@@ -3906,7 +4087,7 @@ export interface components {
| 'sa-east-1'
name: string
/** @enum {string} */
- provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
/** @enum {string} */
status?: 'capacity' | 'other'
/** @enum {string} */
@@ -3944,7 +4125,7 @@ export interface components {
| 'sa-east-1'
name: string
/** @enum {string} */
- provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
/** @enum {string} */
status?: 'capacity' | 'other'
/** @enum {string} */
@@ -4014,7 +4195,7 @@ export interface components {
created_at: string
/** Format: uuid */
id: string
- public_jwk?: unknown
+ public_jwk: unknown
/** @enum {string} */
status: 'in_use' | 'previously_used' | 'revoked' | 'standby'
/** Format: date-time */
@@ -4028,7 +4209,7 @@ export interface components {
created_at: string
/** Format: uuid */
id: string
- public_jwk?: unknown
+ public_jwk: unknown
/** @enum {string} */
status: 'in_use' | 'previously_used' | 'revoked' | 'standby'
/** Format: date-time */
@@ -4131,6 +4312,9 @@ export interface components {
imageTransformation: {
enabled: boolean
}
+ purgeCache: {
+ enabled: boolean
+ }
s3Protocol: {
enabled: boolean
}
@@ -4483,8 +4667,8 @@ export interface components {
UpdateCustomHostnameResponse: {
custom_hostname: string
data: {
- errors: unknown[]
- messages: unknown[]
+ errors: components['schemas']['UpdateCustomHostnameResponseJsonValue'][]
+ messages: components['schemas']['UpdateCustomHostnameResponseJsonValue'][]
result: {
custom_origin_server: string
hostname: string
@@ -4517,6 +4701,13 @@ export interface components {
| '4_origin_setup_completed'
| '5_services_reconfigured'
}
+ /** @description Any JSON-serializable value */
+ UpdateCustomHostnameResponseJsonValue:
+ | ((string | number | boolean) | null)
+ | components['schemas']['UpdateCustomHostnameResponseJsonValue'][]
+ | {
+ [key: string]: components['schemas']['UpdateCustomHostnameResponseJsonValue']
+ }
/** @example {
* "user_id": "55555555-5555-4555-8555-555555555555",
* "roles": [
@@ -4538,9 +4729,11 @@ export interface components {
roles: {
allowed_networks?: {
allowed_cidrs?: {
+ /** Format: cidrv4 */
cidr: string
}[]
allowed_cidrs_v6?: {
+ /** Format: cidrv6 */
cidr: string
}[]
}
@@ -4552,9 +4745,10 @@ export interface components {
user_id: string
}
/** @example {
- * "root_key": "MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY="
+ * "root_key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
* } */
UpdatePgsodiumConfigBody: {
+ /** @description The pgsodium root key: 32 bytes, hex-encoded (64 characters). */
root_key: string
}
/** @example {
@@ -4585,6 +4779,7 @@ export interface components {
maintenance_work_mem?: string
max_connections?: number
max_locks_per_transaction?: number
+ max_logical_replication_workers?: number
max_parallel_maintenance_workers?: number
max_parallel_workers?: number
max_parallel_workers_per_gather?: number
@@ -4592,6 +4787,7 @@ export interface components {
max_slot_wal_keep_size?: string
max_standby_archive_delay?: string
max_standby_streaming_delay?: string
+ max_sync_workers_per_subscription?: number
max_wal_senders?: number
max_wal_size?: string
max_worker_processes?: number
@@ -4641,7 +4837,6 @@ export interface components {
domains?: {
created_at?: string
domain?: string
- id: string
updated_at?: string
}[]
id: string
@@ -4657,7 +4852,6 @@ export interface components {
}
}
entity_id: string
- id: string
metadata_url?: string
metadata_xml?: string
/** @enum {string} */
@@ -4754,6 +4948,9 @@ export interface components {
imageTransformation?: {
enabled: boolean
}
+ purgeCache?: {
+ enabled: boolean
+ }
s3Protocol?: {
enabled: boolean
}
@@ -4875,6 +5072,8 @@ export interface components {
| '48xlarge_optimized_memory'
| '48xlarge_optimized_cpu'
| '48xlarge_high_memory'
+ /** @description [Experimental] Whether to enable high availability for the project. */
+ high_availability?: boolean
/**
* @deprecated
* @description This field is deprecated and is ignored in this request
@@ -4898,6 +5097,8 @@ export interface components {
* @enum {string}
*/
plan?: 'free' | 'pro'
+ /** @deprecated */
+ postgres_engine?: null
/**
* @deprecated
* @description Region you want your server to reside in. Use region_selection instead.
@@ -4960,6 +5161,8 @@ export interface components {
/** @enum {string} */
type: 'smartGroup'
}
+ /** @deprecated */
+ release_channel?: null
/**
* Format: uri
* @description Template URL used to create the project from the CLI.
@@ -5047,6 +5250,7 @@ export interface components {
| 'storage.image_transformations'
| 'storage.vector_buckets'
| 'storage.iceberg_catalog'
+ | 'storage.purge_cache'
| 'security.audit_logs_days'
| 'security.questionnaire'
| 'security.soc2_report'
@@ -5096,6 +5300,8 @@ export interface components {
| 'integrations.github_connections'
| 'dedicated_pooler'
| 'observability.dashboard_advanced_metrics'
+ | 'api.members.invitations'
+ | 'api.members.roles'
/** @enum {string} */
type: 'boolean' | 'numeric' | 'set'
}
@@ -5109,6 +5315,7 @@ export interface components {
version: string
}[]
V1OrganizationMemberResponse: {
+ avatar_url: string | null
email?: string
mfa_enabled: boolean
role_name: string
@@ -5151,6 +5358,8 @@ export interface components {
db_extra_search_path: string
/** @description If `null`, the value is automatically configured based on compute size. */
db_pool: number | null
+ /** @description If `null`, the value is automatically configured to 10. */
+ db_pool_acquisition_timeout: number | null
db_schema: string
max_rows: number
}
@@ -5451,6 +5660,7 @@ export interface components {
V1UpdatePostgrestConfigBody: {
db_extra_search_path?: string
db_pool?: number
+ db_pool_acquisition_timeout?: number
db_schema?: string
max_rows?: number
}
@@ -5523,7 +5733,7 @@ export interface operations {
parameters: {
query?: {
/** @description If set to false, schedule deletion with 1-hour grace period (only when soft deletion is enabled). */
- force?: boolean
+ force?: string
}
header?: never
path: {
@@ -5588,8 +5798,13 @@ export interface operations {
parameters: {
query?: {
included_schemas?: string
- /** @description Use pg-delta instead of Migra for diffing when true */
- pgdelta?: boolean
+ /** @description Use pg-delta instead of Migra for diffing when true.
+ * Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ pgdelta?: string
}
header?: never
path: {
@@ -5760,6 +5975,7 @@ export interface operations {
response_type: 'code' | 'token' | 'id_token token'
scope?: string
state?: string
+ target_flow?: string
}
header?: never
path?: never
@@ -6908,6 +7124,13 @@ export interface operations {
}
content?: never
}
+ /** @description Usage exceeded. Enable additional usage to continue querying */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -6924,6 +7147,113 @@ export interface operations {
}
}
}
+ 'v1-get-project-logs-all': {
+ parameters: {
+ query?: {
+ iso_timestamp_end?: string
+ iso_timestamp_start?: string
+ /** @description Custom SQL query to execute on the logs. See [querying logs](/docs/guides/telemetry/logs?queryGroups=product&product=postgres&queryGroups=source&source=edge_logs#querying-with-the-logs-explorer) for more details. */
+ sql?: string
+ }
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['AnalyticsResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Usage exceeded. Enable additional usage to continue querying */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ 'v1-scrape-project-metrics': {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Prometheus / OpenMetrics text exposition */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/openmetrics-text': string
+ 'text/plain': string
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to fetch project's metrics */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
'v1-get-project-usage-api-count': {
parameters: {
query?: {
@@ -7029,8 +7359,12 @@ export interface operations {
'v1-get-project-api-keys': {
parameters: {
query?: {
- /** @description Boolean string, true or false */
- reveal?: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ reveal?: string
}
header?: never
path: {
@@ -7075,8 +7409,12 @@ export interface operations {
'v1-create-project-api-key': {
parameters: {
query?: {
- /** @description Boolean string, true or false */
- reveal?: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ reveal?: string
}
header?: never
path: {
@@ -7125,8 +7463,12 @@ export interface operations {
'v1-get-project-api-key': {
parameters: {
query?: {
- /** @description Boolean string, true or false */
- reveal?: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ reveal?: string
}
header?: never
path: {
@@ -7174,9 +7516,9 @@ export interface operations {
query?: {
reason?: string
/** @description Boolean string, true or false */
- reveal?: boolean
+ reveal?: string
/** @description Boolean string, true or false */
- was_compromised?: boolean
+ was_compromised?: string
}
header?: never
path: {
@@ -7222,8 +7564,12 @@ export interface operations {
'v1-update-project-api-key': {
parameters: {
query?: {
- /** @description Boolean string, true or false */
- reveal?: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ reveal?: string
}
header?: never
path: {
@@ -7316,8 +7662,12 @@ export interface operations {
'v1-update-project-legacy-api-keys': {
parameters: {
query: {
- /** @description Boolean string, true or false */
- enabled: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ enabled: string
}
header?: never
path: {
@@ -9513,7 +9863,7 @@ export interface operations {
parameters: {
query?: {
/** @description If true, also removes the custom domain add-on from the project subscription. */
- remove_addon?: boolean
+ remove_addon?: string
}
header?: never
path: {
@@ -9985,7 +10335,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -10060,7 +10412,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -10275,7 +10629,7 @@ export interface operations {
}
content?: never
}
- /** @description Failed to upsert database migration */
+ /** @description Failed to update JIT access */
500: {
headers: {
[name: string]: unknown
@@ -10387,6 +10741,142 @@ export interface operations {
}
}
}
+ 'v1-invite-external-jit-access': {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['InviteExternalUserJitAccessBody']
+ }
+ }
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['InviteExternalUserJitResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to invite external user */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ 'v1-delete-invite-external-jit-access': {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ invite_id: string
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to revoke invite for external user */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ 'v1-accept-invite-external-jit-access': {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['AcceptInviteExternalUserJitAccessBody']
+ }
+ }
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['JitAccessResponse']
+ }
+ }
+ /** @description Failed to accept invitation */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
'v1-list-jit-access': {
parameters: {
query?: never
@@ -11127,13 +11617,11 @@ export interface operations {
query?: {
entrypoint_path?: string
ezbr_sha256?: string
- /** @description Boolean string, true or false */
- import_map?: boolean
+ import_map?: string
import_map_path?: string
name?: string
slug?: string
- /** @description Boolean string, true or false */
- verify_jwt?: boolean
+ verify_jwt?: string
}
header?: never
path: {
@@ -11301,13 +11789,11 @@ export interface operations {
query?: {
entrypoint_path?: string
ezbr_sha256?: string
- /** @description Boolean string, true or false */
- import_map?: boolean
+ import_map?: string
import_map_path?: string
name?: string
slug?: string
- /** @description Boolean string, true or false */
- verify_jwt?: boolean
+ verify_jwt?: string
}
header?: never
path: {
@@ -11418,8 +11904,7 @@ export interface operations {
'v1-deploy-a-function': {
parameters: {
query?: {
- /** @description Boolean string, true or false */
- bundleOnly?: boolean
+ bundleOnly?: string
slug?: string
}
header?: never
@@ -11483,16 +11968,19 @@ export interface operations {
'v1-get-services-health': {
parameters: {
query: {
- services: (
- | 'auth'
- | 'db'
- | 'db_postgres_user'
- | 'pooler'
- | 'realtime'
- | 'rest'
- | 'storage'
- | 'pg_bouncer'
- )[]
+ /** @description Comma-separated list of enums or array of enums. */
+ services:
+ | string
+ | (
+ | 'auth'
+ | 'db'
+ | 'db_postgres_user'
+ | 'pooler'
+ | 'realtime'
+ | 'rest'
+ | 'storage'
+ | 'pg_bouncer'
+ )[]
timeout_ms?: number
}
header?: never
@@ -11559,7 +12047,21 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['JitStateResponse']
+ 'application/json':
+ | {
+ appliedSuccessfully?: boolean
+ /** @enum {string} */
+ state: 'enabled' | 'disabled'
+ }
+ | {
+ /** @constant */
+ state: 'unavailable'
+ /** @enum {string} */
+ unavailableReason:
+ | 'postgres_upgrade_required'
+ | 'ssl_enforcement_required'
+ | 'temporarily_unavailable'
+ }
}
}
/** @description Unauthorized */
@@ -11613,7 +12115,21 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['JitStateResponse']
+ 'application/json':
+ | {
+ appliedSuccessfully?: boolean
+ /** @enum {string} */
+ state: 'enabled' | 'disabled'
+ }
+ | {
+ /** @constant */
+ state: 'unavailable'
+ /** @enum {string} */
+ unavailableReason:
+ | 'postgres_upgrade_required'
+ | 'ssl_enforcement_required'
+ | 'temporarily_unavailable'
+ }
}
}
/** @description Unauthorized */
@@ -12291,7 +12807,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -13121,7 +13639,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Unauthorized */
401: {
@@ -13230,7 +13750,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Unauthorized */
401: {
@@ -13291,7 +13813,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Unauthorized */
401: {
diff --git a/packages/api-types/types/platform.d.ts b/packages/api-types/types/platform.d.ts
index 622b9dd1b78..7e852900927 100644
--- a/packages/api-types/types/platform.d.ts
+++ b/packages/api-types/types/platform.d.ts
@@ -520,23 +520,6 @@ export interface paths {
patch?: never
trace?: never
}
- '/platform/feedback/docs': {
- parameters: {
- query?: never
- header?: never
- path?: never
- cookie?: never
- }
- get?: never
- put?: never
- /** Send feedback on docs */
- post: operations['SendFeedbackController_sendDocsFeedback']
- delete?: never
- options?: never
- head?: never
- patch?: never
- trace?: never
- }
'/platform/feedback/downgrade': {
parameters: {
query?: never
@@ -683,6 +666,26 @@ export interface paths {
patch: operations['GitHubConnectionsController_updateGitHubConnection']
trace?: never
}
+ '/platform/integrations/github/connections/{connection_id}/config': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * Gets the Supabase config of a connected GitHub repository
+ * @description Reads `supabase/config.toml` from the workdir of the connected repository and returns it as JSON.
+ */
+ get: operations['GitHubConnectionsController_getGitHubConnectionConfig']
+ put?: never
+ post?: never
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/platform/integrations/github/repositories': {
parameters: {
query?: never
@@ -1984,11 +1987,9 @@ export interface paths {
}
/** Gets the given organization's tax ID */
get: operations['TaxIdsController_getTaxId']
- /** Creates or updates a tax ID for the given organization */
- put: operations['TaxIdsController_updateTaxId']
+ put?: never
post?: never
- /** Delete the tax ID with the given ID */
- delete: operations['TaxIdsController_deleteTaxId']
+ delete?: never
options?: never
head?: never
patch?: never
@@ -2592,6 +2593,24 @@ export interface paths {
patch?: never
trace?: never
}
+ '/platform/projects/{ref}/analytics/endpoints/logs': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /** Gets project's logs from the unified logs stream */
+ get: operations['LogsController_getProjectLogsViaGetNew']
+ put?: never
+ /** Gets project's logs from the unified logs stream */
+ post: operations['LogsController_getProjectLogsViaPostNew']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/platform/projects/{ref}/analytics/endpoints/logs.all': {
parameters: {
query?: never
@@ -2599,10 +2618,16 @@ export interface paths {
path?: never
cookie?: never
}
- /** Gets project's logs */
+ /**
+ * Gets project's logs from legacy logs tables
+ * @deprecated
+ */
get: operations['LogsController_getProjectLogsViaGet']
put?: never
- /** Gets project's logs */
+ /**
+ * Gets project's logs from legacy logs tables
+ * @deprecated
+ */
post: operations['LogsController_getProjectLogsViaPost']
delete?: never
options?: never
@@ -2617,10 +2642,16 @@ export interface paths {
path?: never
cookie?: never
}
- /** Gets project's logs from the ClickHouse-backed endpoint */
+ /**
+ * Gets project's logs from the unified logs stream
+ * @deprecated
+ */
get: operations['LogsController_getProjectLogsOtelViaGet']
put?: never
- /** Gets project's logs from the ClickHouse-backed endpoint */
+ /**
+ * Gets project's logs from the unified logs stream
+ * @deprecated
+ */
post: operations['LogsController_getProjectLogsOtelViaPost']
delete?: never
options?: never
@@ -2767,6 +2798,26 @@ export interface paths {
patch?: never
trace?: never
}
+ '/platform/projects/{ref}/analytics/metrics': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * Scrape a project's metrics
+ * @description Prometheus scrape endpoint. Returns metrics of a customer project in the Prometheus open exposition format. Replaces `/customer/v1/privileged/metrics`.
+ */
+ get: operations['scrape-project-metrics']
+ put?: never
+ post?: never
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/platform/projects/{ref}/api-keys/temporary': {
parameters: {
query?: never
@@ -3394,7 +3445,7 @@ export interface paths {
post?: never
/**
* Remove AWS account from PrivateLink share for the project
- * @description Removes an AWS account from the project's PrivateLink configuration. Cleans up associated AWS resources.
+ * @description Removes an AWS account from the project's PrivateLink configuration (targeting the primary database). Cleans up associated AWS resources.
*/
delete: operations['ProjectPrivateLinkController_removeAwsAccountFromPrivateLink']
options?: never
@@ -3402,6 +3453,26 @@ export interface paths {
patch?: never
trace?: never
}
+ '/platform/projects/{ref}/privatelink/associations/aws-account/{aws_account_id}/database/{database_identifier}': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ post?: never
+ /**
+ * Remove AWS account from a specific database PrivateLink share for the project
+ * @description Removes an AWS account from the project's PrivateLink configuration for the given read replica. Cleans up associated AWS resources.
+ */
+ delete: operations['ProjectPrivateLinkController_removeAwsAccountFromPrivateLinkForDatabase']
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/platform/projects/{ref}/resize': {
parameters: {
query?: never
@@ -3504,57 +3575,6 @@ export interface paths {
patch?: never
trace?: never
}
- '/platform/projects/{ref}/run-lints/{name}': {
- parameters: {
- query?: never
- header?: never
- path?: never
- cookie?: never
- }
- /** Run project lint by name */
- get: operations['ProjectRunLintsController_runLintByName']
- put?: never
- post?: never
- delete?: never
- options?: never
- head?: never
- patch?: never
- trace?: never
- }
- '/platform/projects/{ref}/run-lints/leaked-service-key': {
- parameters: {
- query?: never
- header?: never
- path?: never
- cookie?: never
- }
- /** Run project leaked service key lint */
- get: operations['ProjectRunLintsController_runLeakedServiceKeyLint']
- put?: never
- post?: never
- delete?: never
- options?: never
- head?: never
- patch?: never
- trace?: never
- }
- '/platform/projects/{ref}/run-lints/no-backup-admin': {
- parameters: {
- query?: never
- header?: never
- path?: never
- cookie?: never
- }
- /** Run project backup admin lint */
- get: operations['ProjectRunLintsController_runAuthBackupAdminLint']
- put?: never
- post?: never
- delete?: never
- options?: never
- head?: never
- patch?: never
- trace?: never
- }
'/platform/projects/{ref}/service-versions': {
parameters: {
query?: never
@@ -4104,7 +4124,7 @@ export interface paths {
}
/**
* Estimate replication cost for a publication
- * @description Estimate the cost of replicating a publication's tables. Returns the flat per-pipeline fee, a per-table breakdown of the one-time initial-copy cost derived from the tables’ on-disk size, and the usage-based streaming rate. Requires bearer auth and an active, healthy project.
+ * @description Estimate the cost of replicating a publication's tables. Returns the hourly (and projected monthly) per-pipeline fee, a per-table breakdown of the one-time initial-copy cost derived from the tables’ on-disk size, and the usage-based streaming rate. Requires bearer auth and an active, healthy project.
*/
get: operations['ReplicationSourcesController_getCostEstimate']
put?: never
@@ -4539,6 +4559,40 @@ export interface paths {
patch?: never
trace?: never
}
+ '/platform/storage/{ref}/cdn/purge-bucket': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ /** Purges CDN cache for an entire bucket */
+ post: operations['StorageCdnController_purgeBucketCache']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/platform/storage/{ref}/cdn/purge-object': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ /** Purges CDN cache for a single object */
+ post: operations['StorageCdnController_purgeObjectCache']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/platform/storage/{ref}/credentials': {
parameters: {
query?: never
@@ -4903,6 +4957,134 @@ export interface paths {
patch?: never
trace?: never
}
+ '/platform/warehouse/{ref}/catalog': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * Get Warehouse catalog access
+ * @description Return whether external Warehouse catalog access is enabled and credentials when enabled.
+ */
+ get: operations['WarehouseController_getCatalog']
+ put?: never
+ /**
+ * Update Warehouse catalog access
+ * @description Enable or disable external Warehouse catalog access for the project.
+ */
+ post: operations['WarehouseController_updateCatalog']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/platform/warehouse/{ref}/refresh-schema': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ /**
+ * Refresh the Warehouse foreign schema
+ * @description Reinstall the project Warehouse FDW schema asynchronously without restarting replication or waiting for a table copy.
+ */
+ post: operations['WarehouseController_refreshSchema']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/platform/warehouse/{ref}/setup-status': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * Get Warehouse setup status
+ * @description Return the async Warehouse setup status for the project. Overall completion follows the replication pipeline and table copy state; project database FDW markers are informational.
+ */
+ get: operations['WarehouseController_getSetupStatus']
+ put?: never
+ post?: never
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/platform/warehouse/{ref}/tables': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * List Warehouse linked tables
+ * @description List tables copied to Warehouse for the project. Requires bearer auth and an active, healthy project.
+ */
+ get: operations['WarehouseController_getTables']
+ put?: never
+ /**
+ * Copy a table to Warehouse
+ * @description Ensure the project Warehouse pipeline exists, add the table to its publication, and start syncing. Warehouse FDW installation is opt-in.
+ */
+ post: operations['WarehouseController_linkTable']
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/platform/warehouse/{ref}/tables/{schema}/{name}': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ get?: never
+ put?: never
+ post?: never
+ /**
+ * Detach a table from Warehouse
+ * @description Remove the table from the Warehouse publication so it stops syncing. Existing DuckLake data is left in place.
+ */
+ delete: operations['WarehouseController_detachTable']
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
+ '/platform/warehouse/{ref}/tables/{schema}/{name}/snapshots': {
+ parameters: {
+ query?: never
+ header?: never
+ path?: never
+ cookie?: never
+ }
+ /**
+ * List Warehouse snapshots for a table
+ * @description Return available DuckLake snapshots for a Warehouse-linked table. The snapshots are read from the Warehouse FDW in the project database.
+ */
+ get: operations['WarehouseController_getTableSnapshots']
+ put?: never
+ post?: never
+ delete?: never
+ options?: never
+ head?: never
+ patch?: never
+ trace?: never
+ }
'/platform/workflow-runs': {
parameters: {
query?: never
@@ -4987,6 +5169,8 @@ export interface components {
AddAwsAccountToPrivateLinkBody: {
account_name?: string
aws_account_id: string
+ /** @description Identifier of the read replica this PrivateLink share should target. Omit to target the primary database. */
+ database_identifier?: string
}
AnalyticsResponse: {
error?:
@@ -5020,6 +5204,9 @@ export interface components {
}
method: string
name: string
+ params?: {
+ [key: string]: unknown
+ }
route: string
status: number
}
@@ -5027,10 +5214,24 @@ export interface components {
app_id?: string
app_name?: string
email?: string
+ /** @description Only present when token_type=app */
+ installation_id?: string
ip?: string
+ /** @description JWT issuer. Only present for branching service JWTs */
+ jwt_issuer?: string
+ /** @description JWT subject. Only present for branching service JWTs */
+ jwt_subject?: string
oauth_app_id?: string
oauth_app_name?: string
+ /** @description Organization whose grant was used. Only present when token_type=oauth */
+ organization_id?: string
+ /** @description GoTrue login session. Only present when token_type=jwt */
+ session_id?: string
+ /** @description Access token alias, as shown in the dashboard. Only present when token_type=v0, token_type=v1 or token_type=scoped_pat */
+ token_alias?: string
token_hash?: string
+ /** @description Only present when token_type=scoped_pat */
+ token_scope?: string
token_type: string
user_id?: string
}
@@ -5041,60 +5242,6 @@ export interface components {
}[]
retention_period: number
}
- AuthBackupAdminLintResponse: {
- lints: {
- cache_key: string
- categories: ('PERFORMANCE' | 'SECURITY')[]
- description: string
- detail: string
- /** @enum {string} */
- facing: 'EXTERNAL'
- /** @enum {string} */
- level: 'ERROR' | 'WARN' | 'INFO'
- metadata?: {
- entity?: string
- fkey_columns?: number[]
- fkey_name?: string
- name?: string
- schema?: string
- /** @enum {string} */
- type?: 'table' | 'view' | 'auth' | 'function' | 'extension' | 'compliance'
- }
- /** @enum {string} */
- name:
- | 'unindexed_foreign_keys'
- | 'auth_users_exposed'
- | 'auth_rls_initplan'
- | 'no_primary_key'
- | 'unused_index'
- | 'multiple_permissive_policies'
- | 'policy_exists_rls_disabled'
- | 'rls_enabled_no_policy'
- | 'duplicate_index'
- | 'security_definer_view'
- | 'function_search_path_mutable'
- | 'rls_disabled_in_public'
- | 'extension_in_public'
- | 'rls_references_user_metadata'
- | 'materialized_view_in_api'
- | 'foreign_table_in_api'
- | 'unsupported_reg_types'
- | 'auth_otp_long_expiry'
- | 'auth_otp_short_length'
- | 'ssl_not_enforced'
- | 'network_restrictions_not_set'
- | 'password_requirements_min_length'
- | 'pitr_not_enabled'
- | 'auth_leaked_password_protection'
- | 'auth_insufficient_mfa_options'
- | 'auth_password_policy_missing'
- | 'leaked_service_key'
- | 'no_backup_admin'
- | 'vulnerable_postgres_version'
- remediation: string
- title: string
- }[]
- }
BackendConnectionTest: {
'connected?': boolean
reason: string
@@ -5131,7 +5278,7 @@ export interface components {
clear_tax_id?: true
dry_run?: boolean
tax_id?: {
- country?: string
+ country: string
type: string
value: string
}
@@ -5220,6 +5367,81 @@ export interface components {
CopyObjectResponse: {
path: string
}
+ CostEstimateResponse: {
+ /**
+ * @description Currency of all amounts
+ * @example usd
+ * @enum {string}
+ */
+ currency: 'usd'
+ /** @description Recurring per-pipeline cost */
+ pipeline: {
+ /**
+ * @description Hourly rate charged per active pipeline
+ * @example 0.053
+ */
+ hourly_cost: number
+ /**
+ * @description Projected monthly cost for an active pipeline, based on an average 730-hour month. Pipelines are billed hourly, so this is an estimate, not a metered amount.
+ * @example 38.69
+ */
+ monthly_cost: number
+ }
+ /** @description Usage-based streaming cost, expressed as a rate */
+ streaming: {
+ /**
+ * @description Usage-based streaming rate per GB. Actual cost depends on the change volume.
+ * @example 3
+ */
+ rate_per_gb: number
+ }
+ /** @description One-time cost for the initial table copy */
+ table_copy: {
+ /**
+ * @description One-time initial-copy rate per GB
+ * @example 0.6
+ */
+ rate_per_gb: number
+ /** @description Per-table initial-copy cost estimate */
+ tables: {
+ /**
+ * @description Estimated on-disk size of the table in bytes
+ * @example 10960896
+ */
+ estimated_bytes: number
+ /**
+ * @description Estimated one-time initial-copy cost for the table, in the response currency
+ * @example 0.01
+ */
+ estimated_cost: number
+ /**
+ * @description Whether this table has a row filter. The estimate does not account for how many rows the filter excludes, so the actual replicated volume may be lower than shown.
+ * @example false
+ */
+ is_row_filtered: boolean
+ /**
+ * @description Table name
+ * @example orders
+ */
+ name: string
+ /**
+ * @description Table schema
+ * @example public
+ */
+ schema: string
+ }[]
+ /**
+ * @description Total estimated bytes across all tables
+ * @example 11911168
+ */
+ total_bytes: number
+ /**
+ * @description Total estimated one-time initial-copy cost
+ * @example 0.01
+ */
+ total_cost: number
+ }
+ }
CreateAccessTokenBody: {
/** Format: date-time */
expires_at?: string
@@ -5389,12 +5611,7 @@ export interface components {
workdir: string
}
CreateInvitationBody: {
- /**
- * Format: email
- * @deprecated
- */
- email?: string
- emails?: string[]
+ emails: string[]
require_sso?: boolean
role_id: number
role_scoped_projects?: string[]
@@ -5566,7 +5783,7 @@ export interface components {
payment_method?: string
size?: string
tax_id?: {
- country?: string
+ country: string
type: string
value: string
}
@@ -5579,37 +5796,6 @@ export interface components {
| 'tier_enterprise'
| 'tier_platform'
}
- CreateOrganizationResponse:
- | {
- pending_payment_intent_secret: string | null
- }
- | {
- billing_email: string | null
- /** @enum {string|null} */
- billing_partner: 'fly' | 'aws_marketplace' | 'vercel_marketplace' | null
- id: number
- integration_source: string | null
- is_owner: boolean
- name: string
- opt_in_tags: string[]
- organization_missing_address: boolean
- organization_missing_tax_id: boolean
- organization_requires_mfa: boolean
- plan: {
- /** @enum {string} */
- id: 'free' | 'pro' | 'team' | 'enterprise' | 'platform'
- name: string
- }
- restriction_data: {
- [key: string]: string
- } | null
- /** @enum {string|null} */
- restriction_status: 'grace_period' | 'grace_period_over' | 'restricted' | null
- slug: string
- stripe_customer_id: string | null
- subscription_id: string | null
- usage_billing_enabled: boolean
- }
CreatePipelineResponse: {
/**
* @description Pipeline id
@@ -5631,6 +5817,8 @@ export interface components {
| 'members_write'
| 'organization_projects_read'
| 'organization_projects_create'
+ | 'platform_webhooks_organization_read'
+ | 'platform_webhooks_organization_write'
| 'project_admin_read'
| 'project_admin_write'
| 'action_runs_read'
@@ -5700,6 +5888,8 @@ export interface components {
| 'storage_config_write'
| 'vanity_subdomain_read'
| 'vanity_subdomain_write'
+ | 'platform_webhooks_projects_read'
+ | 'platform_webhooks_projects_write'
)[]
}
CreatePlatformAppResponse: {
@@ -5728,9 +5918,9 @@ export interface components {
CreateProjectBody: {
auth_site_url?: string
/** @enum {string} */
- cloud_provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ cloud_provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
custom_supabase_internal_requests?: {
- ami: {
+ ami?: {
/**
* @description Exact AWS instance type to provision (e.g. `t3.nano`, `t4g.nano`). Hard pin — no ODCR fallback. Only for internal use; rejected for user-facing requests in production.
* @enum {string}
@@ -5740,16 +5930,67 @@ export interface components {
| 't3a.nano'
| 't3.nano'
| 't4g.micro'
+ | 't3a.micro'
+ | 't3.micro'
| 't4g.small'
+ | 't3a.small'
+ | 't3.small'
| 't4g.medium'
+ | 't3a.medium'
+ | 't3.medium'
| 'm6g.medium'
+ | 'm7g.medium'
+ | 'm8g.medium'
+ | 'm9g.medium'
| 'm6g.large'
+ | 'm6a.large'
+ | 'm6i.large'
+ | 'm7i.large'
+ | 'm8i.large'
+ | 'm7a.large'
+ | 'm8a.large'
| 'm6g.xlarge'
+ | 'm6a.xlarge'
+ | 'm6i.xlarge'
+ | 'm7i.xlarge'
+ | 'm8i.xlarge'
+ | 'm7a.xlarge'
+ | 'm8a.xlarge'
| 'm6g.2xlarge'
+ | 'm6a.2xlarge'
+ | 'm6i.2xlarge'
+ | 'm7i.2xlarge'
+ | 'm8i.2xlarge'
+ | 'm7a.2xlarge'
+ | 'm8a.2xlarge'
| 'm6g.4xlarge'
+ | 'm6a.4xlarge'
+ | 'm6i.4xlarge'
+ | 'm7i.4xlarge'
+ | 'm8i.4xlarge'
+ | 'm7a.4xlarge'
+ | 'm8a.4xlarge'
| 'm6g.8xlarge'
+ | 'm6a.8xlarge'
+ | 'm6i.8xlarge'
+ | 'm7i.8xlarge'
+ | 'm8i.8xlarge'
+ | 'm7a.8xlarge'
+ | 'm8a.8xlarge'
| 'm6g.12xlarge'
+ | 'm6a.12xlarge'
+ | 'm6i.12xlarge'
+ | 'm7i.12xlarge'
+ | 'm8i.12xlarge'
+ | 'm7a.12xlarge'
+ | 'm8a.12xlarge'
| 'm6g.16xlarge'
+ | 'm6a.16xlarge'
+ | 'm6i.16xlarge'
+ | 'm7i.16xlarge'
+ | 'm8i.16xlarge'
+ | 'm7a.16xlarge'
+ | 'm8a.16xlarge'
| 'm8g.24xlarge'
| 'c8g.24xlarge'
| 'r8g.24xlarge'
@@ -5767,6 +6008,26 @@ export interface components {
[key: string]: string
}
}
+ warehouse_fdw?: {
+ /** @description AWS ACM Private CA ARN used by the worker to issue per-project warehouse FDW client certificates. Defaults to the worker environment configuration when omitted. */
+ client_certificate_authority_arn?: string
+ /** @description Optional URI SAN to place in the issued client certificate. Defaults to spiffe://supabase//postgres//. */
+ client_certificate_identity_uri?: string
+ client_certificate_ttl_days?: number
+ connect_timeout_ms?: number
+ enabled?: boolean
+ endpoint: string
+ jwt_audience?: string
+ jwt_issuer?: string
+ jwt_kid: string
+ jwt_ttl_secs?: number
+ request_timeout_ms?: number
+ /** @description Optional legacy input. The platform derives the runtime AWS Secrets Manager prefix from the project ref as warehouse-fdw/. */
+ secret_prefix?: string
+ secret_region?: string
+ stream_idle_timeout_ms?: number
+ tls_domain_name?: string
+ }
}
data_api_exposed_schemas?: string[]
data_api_revoke_default_privileges?: boolean
@@ -5815,7 +6076,29 @@ export interface components {
/** @description Provider region selection. Only one of db_region or region_selection can be specified. */
region_selection?:
| {
- code: string
+ /**
+ * @description The selected region code must be valid for the specified cloud provider.
+ * @enum {string}
+ */
+ code:
+ | 'us-east-1'
+ | 'us-east-2'
+ | 'us-west-1'
+ | 'us-west-2'
+ | 'ap-east-1'
+ | 'ap-southeast-1'
+ | 'ap-northeast-1'
+ | 'ap-northeast-2'
+ | 'ap-southeast-2'
+ | 'eu-west-1'
+ | 'eu-west-2'
+ | 'eu-west-3'
+ | 'eu-north-1'
+ | 'eu-central-1'
+ | 'eu-central-2'
+ | 'ca-central-1'
+ | 'ap-south-1'
+ | 'sa-east-1'
/** @enum {string} */
type: 'specific'
}
@@ -6167,7 +6450,7 @@ export interface components {
private_key_passphrase?: string | null
/**
* @description Optional Snowflake role
- * @example ETL_ROLE
+ * @example PIPELINES_ROLE
*/
role?: string | null
/**
@@ -6177,7 +6460,7 @@ export interface components {
schema: string
/**
* @description Snowflake user configured for key-pair authentication
- * @example ETL_USER
+ * @example PIPELINES_USER
*/
user: string
}
@@ -6479,7 +6762,7 @@ export interface components {
private_key_passphrase?: string | null
/**
* @description Optional Snowflake role
- * @example ETL_ROLE
+ * @example PIPELINES_ROLE
*/
role?: string | null
/**
@@ -6489,7 +6772,7 @@ export interface components {
schema: string
/**
* @description Snowflake user configured for key-pair authentication
- * @example ETL_USER
+ * @example PIPELINES_USER
*/
user: string
}
@@ -6530,7 +6813,7 @@ export interface components {
* @example info
* @enum {string|null}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn' | null
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | null
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number | null
/** @description Maximum number of table sync workers */
@@ -6605,7 +6888,7 @@ export interface components {
/** @enum {string} */
type: 'skip_tables'
}
- | (never | null)
+ | never
}
/**
* @description Source id
@@ -6645,7 +6928,7 @@ export interface components {
* @example info
* @enum {string|null}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn' | null
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | null
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number | null
/** @description Maximum number of table sync workers */
@@ -6720,7 +7003,7 @@ export interface components {
/** @enum {string} */
type: 'skip_tables'
}
- | (never | null)
+ | never
}
/**
* @description Destination id
@@ -6769,6 +7052,8 @@ export interface components {
| 'members_write'
| 'organization_projects_read'
| 'organization_projects_create'
+ | 'platform_webhooks_organization_read'
+ | 'platform_webhooks_organization_write'
| 'project_admin_read'
| 'project_admin_write'
| 'action_runs_read'
@@ -6838,6 +7123,8 @@ export interface components {
| 'storage_config_write'
| 'vanity_subdomain_read'
| 'vanity_subdomain_write'
+ | 'platform_webhooks_projects_read'
+ | 'platform_webhooks_projects_write'
)[]
project_refs?: string[]
}
@@ -6891,46 +7178,13 @@ export interface components {
metadata_xml_url: string
user_name_mapping?: string[]
}
- CreateSSOProviderResponse:
- | {
- /** @default [] */
- domains?: string[]
- email_mapping: string[]
- enabled: boolean
- first_name_mapping?: string[]
- /** Format: uri */
- idjag_issuer_url?: string | null
- join_org_on_signup_enabled: boolean
- /** @enum {string} */
- join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
- last_name_mapping?: string[]
- metadata_xml_file: string
- /** Format: uri */
- metadata_xml_url?: string
- user_name_mapping?: string[]
- }
- | {
- /** @default [] */
- domains?: string[]
- email_mapping: string[]
- enabled: boolean
- first_name_mapping?: string[]
- /** Format: uri */
- idjag_issuer_url?: string | null
- join_org_on_signup_enabled: boolean
- /** @enum {string} */
- join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
- last_name_mapping?: string[]
- metadata_xml_file?: string
- metadata_xml_url: string
- user_name_mapping?: string[]
- }
CreateStorageAnalyticsBucketBody: {
bucketName: string
}
CreateStorageBucketBody: {
allowed_mime_types?: string[]
file_size_limit?: number
+ /** @description Storage bucket id */
id: string
public: boolean
/** @enum {string} */
@@ -6948,11 +7202,6 @@ export interface components {
CreateStorageVectorBucketBody: {
bucketName: string
}
- CreateTaxIdBody: {
- country?: string
- type: string
- value: string
- }
CreateTenantSourceResponse: {
/**
* @description Source id
@@ -6977,7 +7226,7 @@ export interface components {
parent_id?: string | null
project_id: number
}
- CreateUserReponse: {
+ CreateUserResponse: {
aud?: string
banned_until?: string
confirmation_sent_at?: string
@@ -7055,7 +7304,6 @@ export interface components {
}
CreditRedemptionResponse: {
amount_cents: number
- /** Format: date-time */
credits_expire_at: string | null
}
CreditsTopUpRequest: {
@@ -7112,7 +7360,7 @@ export interface components {
}
DatabaseDetailResponse: {
/** @enum {string} */
- cloud_provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ cloud_provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
/** @default null */
connection_string_read_only?: string | null
/** @default null */
@@ -7325,7 +7573,6 @@ export interface components {
logo_uri?: string
redirect_uris: string[]
response_types?: string[]
- /** @default organizations:read projects:read projects:write database:write database:read analytics:read secrets:read edge_functions:read edge_functions:write environment:read environment:write storage:read */
scope?: string
token_endpoint_auth_method?: string
}
@@ -7346,71 +7593,26 @@ export interface components {
private: number
shared: number
}
+ GetGitHubConnectionConfigResponse: {
+ /** @description JSON representation of the parsed `supabase/config.toml`. Its shape is owned by the Supabase CLI and is passed through as-is. */
+ config: {
+ [key: string]: unknown
+ }
+ /** @description Path of the config file within the connected repository, relative to its root. */
+ path: string
+ /** @description Git ref the config was read from, or `null` when the default branch of the connected repository was used. */
+ ref: string | null
+ /** @description Blob SHA of the config file, to detect changes between requests. */
+ sha: string
+ }
GetJwtSecretUpdateStatus: {
update_status: {
change_tracking_id: string
- /** @enum {number} */
error?: 0 | 1 | 2 | 3 | 4 | 5
- /** @enum {number} */
progress: 0 | 1 | 2 | 3 | 4 | 5
- /** @enum {number} */
status: 0 | 1 | 2
} | null
}
- GetLeakedServiceKeyLintResponse: {
- lints: {
- cache_key: string
- categories: ('PERFORMANCE' | 'SECURITY')[]
- description: string
- detail: string
- /** @enum {string} */
- facing: 'EXTERNAL'
- /** @enum {string} */
- level: 'ERROR' | 'WARN' | 'INFO'
- metadata?: {
- entity?: string
- fkey_columns?: number[]
- fkey_name?: string
- name?: string
- schema?: string
- /** @enum {string} */
- type?: 'table' | 'view' | 'auth' | 'function' | 'extension' | 'compliance'
- }
- /** @enum {string} */
- name:
- | 'unindexed_foreign_keys'
- | 'auth_users_exposed'
- | 'auth_rls_initplan'
- | 'no_primary_key'
- | 'unused_index'
- | 'multiple_permissive_policies'
- | 'policy_exists_rls_disabled'
- | 'rls_enabled_no_policy'
- | 'duplicate_index'
- | 'security_definer_view'
- | 'function_search_path_mutable'
- | 'rls_disabled_in_public'
- | 'extension_in_public'
- | 'rls_references_user_metadata'
- | 'materialized_view_in_api'
- | 'foreign_table_in_api'
- | 'unsupported_reg_types'
- | 'auth_otp_long_expiry'
- | 'auth_otp_short_length'
- | 'ssl_not_enforced'
- | 'network_restrictions_not_set'
- | 'password_requirements_min_length'
- | 'pitr_not_enabled'
- | 'auth_leaked_password_protection'
- | 'auth_insufficient_mfa_options'
- | 'auth_password_policy_missing'
- | 'leaked_service_key'
- | 'no_backup_admin'
- | 'vulnerable_postgres_version'
- remediation: string
- title: string
- }[]
- }
GetOAuthAuthorizationResponse: {
approved_at?: string
approved_organization_slug?: string
@@ -7495,13 +7697,19 @@ export interface components {
integration: {
name: string
}
- /** @description Any JSON-serializable value */
- metadata: unknown
+ metadata: components['schemas']['GetOrganizationIntegrationResponseJsonValue']
organization: {
slug: string
}
updated_at: string
}
+ /** @description Any JSON-serializable value */
+ GetOrganizationIntegrationResponseJsonValue:
+ | ((string | number | boolean) | null)
+ | components['schemas']['GetOrganizationIntegrationResponseJsonValue'][]
+ | {
+ [key: string]: components['schemas']['GetOrganizationIntegrationResponseJsonValue']
+ }
GetPlatformAppInstallationResponse: {
/** Format: uuid */
app_id: string
@@ -7541,6 +7749,13 @@ export interface components {
private_link_associations: {
account_name?: string
aws_account_id: string
+ /** @description Identifier of the database this PrivateLink share targets - the project ref for the primary, or the read replica identifier. */
+ database_identifier: string
+ /**
+ * @description Whether this PrivateLink share targets the primary database or a read replica.
+ * @enum {string}
+ */
+ database_type: 'PRIMARY' | 'READ_REPLICA'
/**
* Format: date-time
* @description The time and date at which the AWS Resource Share Association was requested from Supabase. `null` means that the association was not yet requested while the PrivateLink Association is pending.
@@ -7750,40 +7965,6 @@ export interface components {
}
path: string[]
}
- GetSSOProviderResponse:
- | {
- /** @default [] */
- domains?: string[]
- email_mapping: string[]
- enabled: boolean
- first_name_mapping?: string[]
- /** Format: uri */
- idjag_issuer_url?: string | null
- join_org_on_signup_enabled: boolean
- /** @enum {string} */
- join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
- last_name_mapping?: string[]
- metadata_xml_file: string
- /** Format: uri */
- metadata_xml_url?: string
- user_name_mapping?: string[]
- }
- | {
- /** @default [] */
- domains?: string[]
- email_mapping: string[]
- enabled: boolean
- first_name_mapping?: string[]
- /** Format: uri */
- idjag_issuer_url?: string | null
- join_org_on_signup_enabled: boolean
- /** @enum {string} */
- join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
- last_name_mapping?: string[]
- metadata_xml_file?: string
- metadata_xml_url: string
- user_name_mapping?: string[]
- }
GetStorageCredentialsResponse: {
data: {
created_at: string
@@ -7799,7 +7980,7 @@ export interface components {
}[]
billing_cycle_anchor: number
/** @enum {string} */
- billing_partner?: 'fly' | 'aws_marketplace' | 'vercel_marketplace'
+ billing_partner?: 'aws_marketplace' | 'vercel_marketplace'
billing_via_partner: boolean
current_period_end: number
current_period_start: number
@@ -7854,8 +8035,7 @@ export interface components {
| 'auth_mfa_web_authn_default'
| 'log_drain_default'
| 'etl_pipeline_default'
- /** @description Any JSON-serializable value */
- meta?: unknown
+ meta?: components['schemas']['GetSubscriptionResponseJsonValue']
name: string
price: number
price_description: string
@@ -7869,7 +8049,6 @@ export interface components {
ref: string
}[]
scheduled_plan_change: {
- /** Format: date-time */
at: string
/** @enum {string} */
target_plan: 'free' | 'pro' | 'team' | 'enterprise' | 'platform'
@@ -7877,6 +8056,13 @@ export interface components {
} | null
usage_billing_enabled: boolean
}
+ /** @description Any JSON-serializable value */
+ GetSubscriptionResponseJsonValue:
+ | ((string | number | boolean) | null)
+ | components['schemas']['GetSubscriptionResponseJsonValue'][]
+ | {
+ [key: string]: components['schemas']['GetSubscriptionResponseJsonValue']
+ }
GetUserContentByIdResponse: {
content: {
[key: string]: unknown
@@ -7964,13 +8150,19 @@ export interface components {
integration: {
name: string
}
- /** @description Any JSON-serializable value */
- metadata: unknown
+ metadata: components['schemas']['GetUserOrganizationIntegrationResponseJsonValue']
organization: {
slug: string
}
updated_at: string
}
+ /** @description Any JSON-serializable value */
+ GetUserOrganizationIntegrationResponseJsonValue:
+ | ((string | number | boolean) | null)
+ | components['schemas']['GetUserOrganizationIntegrationResponseJsonValue'][]
+ | {
+ [key: string]: components['schemas']['GetUserOrganizationIntegrationResponseJsonValue']
+ }
GetVercelProjectsResponse: {
pagination: {
count: number
@@ -8380,14 +8572,14 @@ export interface components {
tls?: boolean
}
description?: string
- id: number
- metadata: {
+ readonly id: number
+ readonly metadata: {
project_ref: string
/** @enum {string} */
type: 'log-drain'
} | null
name: string
- token: string
+ readonly token: string
/** @enum {string} */
type:
| 'postgres'
@@ -8402,7 +8594,7 @@ export interface components {
| 'last9'
| 'otlp'
| 'syslog'
- user_id: number
+ readonly user_id: number
}
LinkClazarBuyerBody: {
buyer_id: string
@@ -8437,6 +8629,7 @@ export interface components {
| 'storage.image_transformations'
| 'storage.vector_buckets'
| 'storage.iceberg_catalog'
+ | 'storage.purge_cache'
| 'security.audit_logs_days'
| 'security.questionnaire'
| 'security.soc2_report'
@@ -8486,6 +8679,8 @@ export interface components {
| 'integrations.github_connections'
| 'dedicated_pooler'
| 'observability.dashboard_advanced_metrics'
+ | 'api.members.invitations'
+ | 'api.members.roles'
/** @enum {string} */
type: 'boolean' | 'numeric' | 'set'
}
@@ -8678,6 +8873,7 @@ export interface components {
is_sensitive: boolean
}
Member: {
+ avatar_url: string | null
gotrue_id: string
is_sso_user: boolean | null
metadata: {
@@ -8736,18 +8932,23 @@ export interface components {
'table-uuid'?: string
}
NotificationResponse: {
- /** @description Any JSON-serializable value */
- data: unknown
+ data: components['schemas']['NotificationResponseJsonValue']
id: string
inserted_at: string
- /** @description Any JSON-serializable value */
- meta: unknown
+ meta: components['schemas']['NotificationResponseJsonValue']
name: string
/** @enum {string} */
priority: 'Critical' | 'Warning' | 'Info'
/** @enum {string} */
status: 'new' | 'seen' | 'archived'
}
+ /** @description Any JSON-serializable value */
+ NotificationResponseJsonValue:
+ | ((string | number | boolean) | null)
+ | components['schemas']['NotificationResponseJsonValue'][]
+ | {
+ [key: string]: components['schemas']['NotificationResponseJsonValue']
+ }
NotificationsSummary: {
has_critical: boolean
has_warning: boolean
@@ -8887,7 +9088,7 @@ export interface components {
OrganizationResponse: {
billing_email: string | null
/** @enum {string|null} */
- billing_partner: 'fly' | 'aws_marketplace' | 'vercel_marketplace' | null
+ billing_partner: 'aws_marketplace' | 'vercel_marketplace' | null
id: number
integration_source: string | null
is_owner: boolean
@@ -8943,7 +9144,7 @@ export interface components {
}
OrganizationSlugAvailableVersionsBody: {
/** @enum {string} */
- provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
region: string
}
OrganizationSlugAvailableVersionsResponse: {
@@ -8958,7 +9159,7 @@ export interface components {
OrganizationSlugResponse: {
billing_email: string | null
/** @enum {string|null} */
- billing_partner: 'fly' | 'aws_marketplace' | 'vercel_marketplace' | null
+ billing_partner: 'aws_marketplace' | 'vercel_marketplace' | null
has_oriole_project: boolean
id: number
integration_source: string | null
@@ -8988,6 +9189,7 @@ export interface components {
egress_storage: number
egress_supavisor: number
} | null
+ /** Format: date */
date: string
/** @enum {string} */
metric:
@@ -9037,6 +9239,8 @@ export interface components {
| 'IPV4'
| 'LOG_DRAIN'
| 'ETL_PIPELINE'
+ | 'ETL_REPLICATED_DATA'
+ | 'ETL_COPY_BACKFILL_DATA'
| 'LOG_INGESTION'
| 'LOG_QUERYING'
| 'LOG_STORAGE'
@@ -9102,6 +9306,8 @@ export interface components {
| 'IPV4'
| 'LOG_DRAIN'
| 'ETL_PIPELINE'
+ | 'ETL_REPLICATED_DATA'
+ | 'ETL_COPY_BACKFILL_DATA'
| 'LOG_INGESTION'
| 'LOG_QUERYING'
| 'LOG_STORAGE'
@@ -9241,6 +9447,22 @@ export interface components {
}
}
}
+ PlanGateErrorBody: {
+ /** @description Present on entitlement denials. Other errors with this status code (validation, billing state) carry only message. */
+ error?: {
+ /**
+ * @description Machine-readable marker for plan-gated denials
+ * @enum {string}
+ */
+ code: 'entitlement_required'
+ /** @description Entitlement feature key that failed the check */
+ feature: string
+ /** @description Billing page URL for the organization, present when the org is resolvable */
+ upgrade_url?: string
+ }
+ /** @description Human-readable explanation of the plan gate */
+ message: string
+ }
PlansResponse: {
plans: {
/** @enum {string} */
@@ -9507,7 +9729,7 @@ export interface components {
state?: string | null
}
tax_id?: {
- country?: string
+ country: string
type: string
value: string
}
@@ -9682,23 +9904,7 @@ export interface components {
}
ProfileResponse: {
auth0_id: string
- disabled_features: (
- | 'organizations:create'
- | 'organizations:delete'
- | 'organization_members:create'
- | 'organization_members:delete'
- | 'projects:create'
- | 'projects:transfer'
- | 'project_auth:all'
- | 'project_storage:all'
- | 'project_edge_function:all'
- | 'profile:update'
- | 'billing:account_data'
- | 'billing:credits'
- | 'billing:invoices'
- | 'billing:payment_methods'
- | 'realtime:all'
- )[]
+ disabled_features: string[]
first_name: string | null
free_project_limit: number | null
gotrue_id: string
@@ -9753,8 +9959,7 @@ export interface components {
| 'auth_mfa_web_authn_default'
| 'log_drain_default'
| 'etl_pipeline_default'
- /** @description Any JSON-serializable value */
- meta?: unknown
+ meta?: components['schemas']['ProjectAddonsResponseJsonValue']
name: string
price: number
price_description: string
@@ -9806,8 +10011,7 @@ export interface components {
| 'auth_mfa_web_authn_default'
| 'log_drain_default'
| 'etl_pipeline_default'
- /** @description Any JSON-serializable value */
- meta?: unknown
+ meta?: components['schemas']['ProjectAddonsResponseJsonValue']
name: string
price: number
price_description: string
@@ -9818,6 +10022,13 @@ export interface components {
}
}[]
}
+ /** @description Any JSON-serializable value */
+ ProjectAddonsResponseJsonValue:
+ | ((string | number | boolean) | null)
+ | components['schemas']['ProjectAddonsResponseJsonValue'][]
+ | {
+ [key: string]: components['schemas']['ProjectAddonsResponseJsonValue']
+ }
ProjectClonedResponse: {
source_project_ref: string
target_disk_size_gb: number
@@ -9992,6 +10203,15 @@ export interface components {
PublicUrlResponse: {
publicUrl: string
}
+ PurgeBucketCacheBody: {
+ /** @description Storage bucket id */
+ bucket_id: string
+ }
+ PurgeObjectCacheBody: {
+ /** @description Storage bucket id */
+ bucket_id: string
+ path: string
+ }
PutOAuthAppResponse: {
client_id: string
created_at: string
@@ -10057,7 +10277,7 @@ export interface components {
| 'sa-east-1'
name: string
/** @enum {string} */
- provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
/** @enum {string} */
status?: 'capacity' | 'other'
/** @enum {string} */
@@ -10095,7 +10315,7 @@ export interface components {
| 'sa-east-1'
name: string
/** @enum {string} */
- provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
/** @enum {string} */
status?: 'capacity' | 'other'
/** @enum {string} */
@@ -10267,7 +10487,7 @@ export interface components {
database: string
/**
* @description Optional Snowflake role
- * @example ETL_ROLE
+ * @example PIPELINES_ROLE
*/
role?: string
/**
@@ -10277,7 +10497,7 @@ export interface components {
schema: string
/**
* @description Snowflake user configured for key-pair authentication
- * @example ETL_USER
+ * @example PIPELINES_USER
*/
user: string
}
@@ -10456,7 +10676,7 @@ export interface components {
database: string
/**
* @description Optional Snowflake role
- * @example ETL_ROLE
+ * @example PIPELINES_ROLE
*/
role?: string
/**
@@ -10466,7 +10686,7 @@ export interface components {
schema: string
/**
* @description Snowflake user configured for key-pair authentication
- * @example ETL_USER
+ * @example PIPELINES_USER
*/
user: string
}
@@ -10526,7 +10746,7 @@ export interface components {
* @example reserved
* @enum {string}
*/
- wal_status?: 'extended' | 'lost' | 'reserved' | 'unknown' | 'unreserved'
+ wal_status?: 'reserved' | 'extended' | 'unreserved' | 'lost' | 'unknown'
/**
* @description Write lag expressed in milliseconds.
* @example 1500
@@ -10646,7 +10866,7 @@ export interface components {
* @example reserved
* @enum {string}
*/
- wal_status?: 'extended' | 'lost' | 'reserved' | 'unknown' | 'unreserved'
+ wal_status?: 'reserved' | 'extended' | 'unreserved' | 'lost' | 'unknown'
/**
* @description Write lag expressed in milliseconds.
* @example 1500
@@ -10688,7 +10908,7 @@ export interface components {
* @example info
* @enum {string}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn'
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error'
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number
/** @description Maximum number of table sync workers */
@@ -10834,7 +11054,7 @@ export interface components {
* @example info
* @enum {string}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn'
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error'
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number
/** @description Maximum number of table sync workers */
@@ -10995,81 +11215,6 @@ export interface components {
name: string
}
}
- CostEstimateResponse: {
- /**
- * @description Currency of all amounts
- * @example usd
- * @enum {string}
- */
- currency: 'usd'
- /** @description Recurring per-pipeline cost */
- pipeline: {
- /**
- * @description Hourly rate charged per active pipeline
- * @example 0.053
- */
- hourly_cost: number
- /**
- * @description Projected monthly cost for an active pipeline, based on an average 730-hour month. Pipelines are billed hourly, so this is an estimate, not a metered amount.
- * @example 38.69
- */
- monthly_cost: number
- }
- /** @description Usage-based streaming cost, expressed as a rate */
- streaming: {
- /**
- * @description Usage-based streaming rate per GB. Actual cost depends on the change volume.
- * @example 3
- */
- rate_per_gb: number
- }
- /** @description One-time cost for the initial table copy */
- table_copy: {
- /**
- * @description One-time initial-copy rate per GB
- * @example 0.6
- */
- rate_per_gb: number
- /** @description Per-table initial-copy cost estimate */
- tables: {
- /**
- * @description Estimated on-disk size of the table in bytes
- * @example 10960896
- */
- estimated_bytes: number
- /**
- * @description Estimated one-time initial-copy cost for the table, in the response currency
- * @example 0.01
- */
- estimated_cost: number
- /**
- * @description Whether this table has a row filter. The estimate does not account for how many rows the filter excludes, so the actual replicated volume may be lower than shown.
- * @example false
- */
- is_row_filtered: boolean
- /**
- * @description Table name
- * @example orders
- */
- name: string
- /**
- * @description Table schema
- * @example public
- */
- schema: string
- }[]
- /**
- * @description Total estimated bytes across all tables
- * @example 11911168
- */
- total_bytes: number
- /**
- * @description Total estimated one-time initial-copy cost
- * @example 0.01
- */
- total_cost: number
- }
- }
ReplicationPublicationsResponse: {
/** @description List of publications */
publications: {
@@ -11308,73 +11453,12 @@ export interface components {
table_id: number
}[]
}
- RunLintByNameResponse: {
- lints: {
- cache_key: string
- categories: ('PERFORMANCE' | 'SECURITY')[]
- description: string
- detail: string
- /** @enum {string} */
- facing: 'EXTERNAL'
- /** @enum {string} */
- level: 'ERROR' | 'WARN' | 'INFO'
- metadata?: {
- entity?: string
- fkey_columns?: number[]
- fkey_name?: string
- name?: string
- schema?: string
- /** @enum {string} */
- type?: 'table' | 'view' | 'auth' | 'function' | 'extension' | 'compliance'
- }
- /** @enum {string} */
- name:
- | 'unindexed_foreign_keys'
- | 'auth_users_exposed'
- | 'auth_rls_initplan'
- | 'no_primary_key'
- | 'unused_index'
- | 'multiple_permissive_policies'
- | 'policy_exists_rls_disabled'
- | 'rls_enabled_no_policy'
- | 'duplicate_index'
- | 'security_definer_view'
- | 'function_search_path_mutable'
- | 'rls_disabled_in_public'
- | 'extension_in_public'
- | 'rls_references_user_metadata'
- | 'materialized_view_in_api'
- | 'foreign_table_in_api'
- | 'unsupported_reg_types'
- | 'auth_otp_long_expiry'
- | 'auth_otp_short_length'
- | 'ssl_not_enforced'
- | 'network_restrictions_not_set'
- | 'password_requirements_min_length'
- | 'pitr_not_enabled'
- | 'auth_leaked_password_protection'
- | 'auth_insufficient_mfa_options'
- | 'auth_password_policy_missing'
- | 'leaked_service_key'
- | 'no_backup_admin'
- | 'vulnerable_postgres_version'
- remediation: string
- title: string
- }[]
- }
RunQueryBody: {
/** @default false */
disable_statement_timeout?: boolean
parameters?: unknown[]
query: string
}
- SendDocsFeedbackBody: {
- feedback?: string
- isHelpful: boolean
- page: string
- team?: string
- title: string
- }
SendExitSurveyBody: {
additionalFeedback?: string
exitAction?: string
@@ -11494,6 +11578,9 @@ export interface components {
imageTransformation: {
enabled: boolean
}
+ purgeCache: {
+ enabled: boolean
+ }
s3Protocol: {
enabled: boolean
}
@@ -11654,7 +11741,7 @@ export interface components {
}
TelemetryFeatureFlagBody: {
feature_flag_name: string
- feature_flag_value?: unknown
+ feature_flag_value: unknown
}
TelemetryGroupsIdentityBody: {
organization_slug?: string
@@ -11710,9 +11797,7 @@ export interface components {
UpcomingInvoice: {
amount_projected?: number
amount_total: number
- /** Format: date-time */
billing_cycle_end: string
- /** Format: date-time */
billing_cycle_start: string
currency: string
customer_balance: number
@@ -11773,9 +11858,7 @@ export interface components {
is_read_replica?: boolean
}
period?: {
- /** Format: date-time */
end: string
- /** Format: date-time */
start: string
}
proration: boolean
@@ -11831,6 +11914,8 @@ export interface components {
| 'IPV4'
| 'LOG_DRAIN'
| 'ETL_PIPELINE'
+ | 'ETL_REPLICATED_DATA'
+ | 'ETL_COPY_BACKFILL_DATA'
| 'LOG_INGESTION'
| 'LOG_QUERYING'
| 'LOG_STORAGE'
@@ -12367,6 +12452,8 @@ export interface components {
| 'members_write'
| 'organization_projects_read'
| 'organization_projects_create'
+ | 'platform_webhooks_organization_read'
+ | 'platform_webhooks_organization_write'
| 'project_admin_read'
| 'project_admin_write'
| 'action_runs_read'
@@ -12436,6 +12523,8 @@ export interface components {
| 'storage_config_write'
| 'vanity_subdomain_read'
| 'vanity_subdomain_write'
+ | 'platform_webhooks_projects_read'
+ | 'platform_webhooks_projects_write'
)[]
}
UpdatePlatformAppInstallationResponse: {
@@ -12471,6 +12560,7 @@ export interface components {
UpdatePostgrestConfigBody: {
db_extra_search_path?: string
db_pool?: number
+ db_pool_acquisition_timeout?: number
db_schema?: string
max_rows?: number
}
@@ -12478,6 +12568,8 @@ export interface components {
db_extra_search_path: string
/** @description If `null`, the value is automatically configured based on compute size. */
db_pool: number | null
+ /** @description If `null`, the value is automatically configured to 10. */
+ db_pool_acquisition_timeout: number | null
db_schema: string
max_rows: number
}
@@ -12807,7 +12899,7 @@ export interface components {
private_key_passphrase?: string | null
/**
* @description Optional Snowflake role
- * @example ETL_ROLE
+ * @example PIPELINES_ROLE
*/
role?: string | null
/**
@@ -12817,7 +12909,7 @@ export interface components {
schema?: string | null
/**
* @description Snowflake user configured for key-pair authentication
- * @example ETL_USER
+ * @example PIPELINES_USER
*/
user?: string | null
}
@@ -13115,7 +13207,7 @@ export interface components {
private_key_passphrase?: string | null
/**
* @description Optional Snowflake role
- * @example ETL_ROLE
+ * @example PIPELINES_ROLE
*/
role?: string | null
/**
@@ -13125,7 +13217,7 @@ export interface components {
schema?: string | null
/**
* @description Snowflake user configured for key-pair authentication
- * @example ETL_USER
+ * @example PIPELINES_USER
*/
user?: string | null
}
@@ -13166,7 +13258,7 @@ export interface components {
* @example info
* @enum {string|null}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn' | null
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | null
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number | null
/** @description Maximum number of table sync workers */
@@ -13190,7 +13282,7 @@ export interface components {
*/
memory_refresh_interval_ms?: number | null
/**
- * @description Publication name. Omission preserves the stored value; ETL rejects clearing it with `null`.
+ * @description Publication name. Omission preserves the stored value; Pipelines rejects clearing it with `null`.
* @example pub_orders
*/
publication_name?: string | null
@@ -13241,7 +13333,7 @@ export interface components {
/** @enum {string} */
type: 'skip_tables'
}
- | (never | null)
+ | never
}
/**
* @description Source id
@@ -13281,7 +13373,7 @@ export interface components {
* @example info
* @enum {string|null}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn' | null
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | null
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number | null
/** @description Maximum number of table sync workers */
@@ -13305,7 +13397,7 @@ export interface components {
*/
memory_refresh_interval_ms?: number | null
/**
- * @description Publication name. Omission preserves the stored value; ETL rejects clearing it with `null`.
+ * @description Publication name. Omission preserves the stored value; Pipelines rejects clearing it with `null`.
* @example pub_orders
*/
publication_name?: string | null
@@ -13356,7 +13448,7 @@ export interface components {
/** @enum {string} */
type: 'skip_tables'
}
- | (never | null)
+ | never
}
/**
* @description Destination id
@@ -13432,40 +13524,6 @@ export interface components {
metadata_xml_url: string
user_name_mapping?: string[]
}
- UpdateSSOProviderResponse:
- | {
- /** @default [] */
- domains?: string[]
- email_mapping: string[]
- enabled: boolean
- first_name_mapping?: string[]
- /** Format: uri */
- idjag_issuer_url?: string | null
- join_org_on_signup_enabled: boolean
- /** @enum {string} */
- join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
- last_name_mapping?: string[]
- metadata_xml_file: string
- /** Format: uri */
- metadata_xml_url?: string
- user_name_mapping?: string[]
- }
- | {
- /** @default [] */
- domains?: string[]
- email_mapping: string[]
- enabled: boolean
- first_name_mapping?: string[]
- /** Format: uri */
- idjag_issuer_url?: string | null
- join_org_on_signup_enabled: boolean
- /** @enum {string} */
- join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
- last_name_mapping?: string[]
- metadata_xml_file?: string
- metadata_xml_url: string
- user_name_mapping?: string[]
- }
UpdateStorageBucketBody: {
allowed_mime_types?: string[] | null
file_size_limit?: number | null
@@ -13494,6 +13552,9 @@ export interface components {
imageTransformation?: {
enabled: boolean
}
+ purgeCache?: {
+ enabled: boolean
+ }
s3Protocol?: {
enabled: boolean
}
@@ -13537,7 +13598,7 @@ export interface components {
UpdateUserBody: {
ban_duration?: string
}
- UpdateUserReponse: {
+ UpdateUserResponse: {
aud?: string
banned_until?: string
confirmation_sent_at?: string
@@ -13584,6 +13645,10 @@ export interface components {
env_sync_targets?: ('production' | 'preview' | 'development')[]
public_env_var_prefix?: string
}
+ UpdateWarehouseCatalogBody: {
+ /** @description Whether external catalog access should be enabled */
+ enabled: boolean
+ }
UpsertContentBody: {
content?: {
[key: string]: unknown
@@ -13594,7 +13659,6 @@ export interface components {
* @default false
*/
favorite?: boolean
- /** Format: uuid */
folder_id?: (null | (string | null)) | null
id?: string
name: string
@@ -13613,6 +13677,9 @@ export interface components {
}
method: string
name: string
+ params?: {
+ [key: string]: unknown
+ }
route: string
status: number
}
@@ -13620,10 +13687,24 @@ export interface components {
app_id?: string
app_name?: string
email?: string
+ /** @description Only present when token_type=app */
+ installation_id?: string
ip?: string
+ /** @description JWT issuer. Only present for branching service JWTs */
+ jwt_issuer?: string
+ /** @description JWT subject. Only present for branching service JWTs */
+ jwt_subject?: string
oauth_app_id?: string
oauth_app_name?: string
+ /** @description Organization whose grant was used. Only present when token_type=oauth */
+ organization_id?: string
+ /** @description GoTrue login session. Only present when token_type=jwt */
+ session_id?: string
+ /** @description Access token alias, as shown in the dashboard. Only present when token_type=v0, token_type=v1 or token_type=scoped_pat */
+ token_alias?: string
token_hash?: string
+ /** @description Only present when token_type=scoped_pat */
+ token_scope?: string
token_type: string
user_id?: string
}
@@ -14010,7 +14091,7 @@ export interface components {
private_key_passphrase?: string | null
/**
* @description Optional Snowflake role
- * @example ETL_ROLE
+ * @example PIPELINES_ROLE
*/
role?: string | null
/**
@@ -14020,7 +14101,7 @@ export interface components {
schema: string
/**
* @description Snowflake user configured for key-pair authentication
- * @example ETL_USER
+ * @example PIPELINES_USER
*/
user: string
}
@@ -14056,7 +14137,7 @@ export interface components {
* @example info
* @enum {string|null}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn' | null
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | null
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number | null
/** @description Maximum number of table sync workers */
@@ -14131,7 +14212,7 @@ export interface components {
/** @enum {string} */
type: 'skip_tables'
}
- | (never | null)
+ | never
}
/**
* @description Source id
@@ -14171,7 +14252,7 @@ export interface components {
* @example info
* @enum {string|null}
*/
- log_level?: 'debug' | 'error' | 'info' | 'trace' | 'warn' | null
+ log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | null
/** @description Maximum number of copy connections per table */
max_copy_connections_per_table?: number | null
/** @description Maximum number of table sync workers */
@@ -14246,7 +14327,7 @@ export interface components {
/** @enum {string} */
type: 'skip_tables'
}
- | (never | null)
+ | never
}
/**
* @description Source id
@@ -14275,6 +14356,277 @@ export interface components {
/** @enum {string} */
result: 'success'
}
+ WarehouseCatalogResponse: {
+ /** @description External catalog credentials. Present only when enabled. */
+ credentials?: {
+ /**
+ * @description DuckLake catalog Postgres URL
+ * @example postgres://postgres:@db.example.supabase.co:5432/postgres
+ */
+ catalog_url: string
+ /**
+ * @description DuckLake object storage path
+ * @example s3://warehouse/
+ */
+ data_path: string
+ /**
+ * @description DuckLake metadata schema in the catalog database
+ * @example ducklake
+ */
+ metadata_schema: string
+ /** @description S3 access key id */
+ s3_access_key_id: string
+ /**
+ * @description S3-compatible storage endpoint without protocol
+ * @example abcjuqabhgwjjutfvtpa.storage.supabase.co/storage/v1/s3
+ */
+ s3_endpoint: string
+ /**
+ * @description S3-compatible storage region
+ * @example us-east-1
+ */
+ s3_region: string
+ /** @description S3 secret access key */
+ s3_secret_access_key: string
+ }
+ /** @description Whether external catalog access is enabled */
+ enabled: boolean
+ }
+ WarehouseLinkedTable: {
+ /**
+ * @description Warehouse-facing table name
+ * @example warehouse.orders
+ */
+ copy_name: string
+ /**
+ * @description Replication lag in milliseconds, when available
+ * @example 12000
+ */
+ lag_ms?: number
+ /**
+ * Format: date-time
+ * @description Last sync timestamp, when available
+ * @example 2026-06-23T17:48:00Z
+ */
+ last_synced_at?: string
+ /**
+ * @description Postgres table name
+ * @example orders
+ */
+ name: string
+ /**
+ * @description Postgres schema name
+ * @example public
+ */
+ schema: string
+ /**
+ * @description Warehouse copy sync state derived from replication status
+ * @example live
+ * @enum {string}
+ */
+ state: 'syncing' | 'live' | 'error'
+ /**
+ * @description Warehouse table size in bytes, when available
+ * @example 197912092672
+ */
+ warehouse_size_bytes?: number
+ }
+ WarehouseLinkTableBody: {
+ /**
+ * @description Whether to configure and install the Warehouse FDW in the project database. Defaults to false.
+ * @example false
+ */
+ install_fdw?: boolean
+ /**
+ * @description Postgres table name
+ * @example orders
+ */
+ name: string
+ /**
+ * @description Postgres schema name
+ * @example public
+ */
+ schema: string
+ }
+ WarehouseSetupStatusResponse: {
+ /** @description Project database FDW setup markers used to derive the Warehouse FDW phase */
+ fdw_status: {
+ /**
+ * @description Whether fdw_warehouse is available to install on the project database instance
+ * @example true
+ */
+ extension_available: boolean
+ /**
+ * @description Whether the fdw_warehouse extension exists in the project database
+ * @example true
+ */
+ extension_installed: boolean
+ /**
+ * @description Whether the Warehouse foreign schema import has exposed the Warehouse snapshots table
+ * @example true
+ */
+ foreign_schema_imported: boolean
+ /**
+ * @description Whether the local Warehouse schema exists in the project database
+ * @example true
+ */
+ schema_created: boolean
+ /**
+ * @description Whether the Warehouse foreign server exists in the project database
+ * @example true
+ */
+ server_configured: boolean
+ /**
+ * @description Whether the Warehouse foreign data wrapper exists in the project database
+ * @example true
+ */
+ wrapper_installed: boolean
+ }
+ /**
+ * @description Warehouse replication pipeline id when it exists
+ * @example 101
+ */
+ pipeline_id?: number
+ /**
+ * @description Overall Warehouse setup status derived from replication state
+ * @example copying
+ * @enum {string}
+ */
+ setup_status: 'not_started' | 'setting_up' | 'copying' | 'complete' | 'error'
+ /** @description Warehouse setup phases in execution order */
+ steps: {
+ /**
+ * @description Best-effort progress or error message derived from Warehouse state
+ * @example Pending initial copy: public.orders:copying_table
+ */
+ message?: string
+ /**
+ * @description Observable Warehouse setup phase
+ * @example warehouse_copy
+ * @enum {string}
+ */
+ name: 'warehouse_pipeline' | 'warehouse_copy' | 'warehouse_fdw'
+ /**
+ * @description Derived Warehouse setup step status
+ * @example running
+ * @enum {string}
+ */
+ status: 'waiting' | 'running' | 'completed' | 'skipped' | 'error'
+ }[]
+ /** @description Warehouse linked tables and replication-derived sync state */
+ tables: {
+ /**
+ * @description Warehouse-facing table name
+ * @example warehouse.orders
+ */
+ copy_name: string
+ /**
+ * @description Replication lag in milliseconds, when available
+ * @example 12000
+ */
+ lag_ms?: number
+ /**
+ * Format: date-time
+ * @description Last sync timestamp, when available
+ * @example 2026-06-23T17:48:00Z
+ */
+ last_synced_at?: string
+ /**
+ * @description Postgres table name
+ * @example orders
+ */
+ name: string
+ /**
+ * @description Postgres schema name
+ * @example public
+ */
+ schema: string
+ /**
+ * @description Warehouse copy sync state derived from replication status
+ * @example live
+ * @enum {string}
+ */
+ state: 'syncing' | 'live' | 'error'
+ /**
+ * @description Warehouse table size in bytes, when available
+ * @example 197912092672
+ */
+ warehouse_size_bytes?: number
+ }[]
+ }
+ WarehouseTableSnapshotsResponse: {
+ /** @description Available Warehouse snapshots for the project catalog. */
+ snapshots: {
+ /**
+ * @description Snapshot author, when available.
+ * @example postgres
+ */
+ author: string | null
+ /** @description Snapshot change metadata returned by the Warehouse FDW. */
+ changes: string | null
+ /** @description Additional snapshot commit metadata returned by the Warehouse FDW. */
+ commit_extra_info: string | null
+ /** @description Snapshot commit message, when available. */
+ commit_message: string | null
+ /**
+ * @description DuckLake schema version. Returned as a string because the source value is bigint.
+ * @example 7
+ */
+ schema_version: string | null
+ /**
+ * @description DuckLake snapshot id. Returned as a string because the source value is bigint.
+ * @example 42
+ */
+ snapshot_id: string
+ /**
+ * @description Snapshot timestamp returned by the Warehouse FDW.
+ * @example 2026-06-24 08:00:00+00
+ */
+ snapshot_time: string | null
+ }[]
+ }
+ WarehouseTablesResponse: {
+ /** @description Tables with Warehouse copies */
+ tables: {
+ /**
+ * @description Warehouse-facing table name
+ * @example warehouse.orders
+ */
+ copy_name: string
+ /**
+ * @description Replication lag in milliseconds, when available
+ * @example 12000
+ */
+ lag_ms?: number
+ /**
+ * Format: date-time
+ * @description Last sync timestamp, when available
+ * @example 2026-06-23T17:48:00Z
+ */
+ last_synced_at?: string
+ /**
+ * @description Postgres table name
+ * @example orders
+ */
+ name: string
+ /**
+ * @description Postgres schema name
+ * @example public
+ */
+ schema: string
+ /**
+ * @description Warehouse copy sync state derived from replication status
+ * @example live
+ * @enum {string}
+ */
+ state: 'syncing' | 'live' | 'error'
+ /**
+ * @description Warehouse table size in bytes, when available
+ * @example 197912092672
+ */
+ warehouse_size_bytes?: number
+ }[]
+ }
WorkflowRunResponse: {
branch_id: string
check_run_id: number | null
@@ -14791,7 +15143,7 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['CreateUserReponse']
+ 'application/json': components['schemas']['CreateUserResponse']
}
}
/** @description Unauthorized */
@@ -14827,8 +15179,12 @@ export interface operations {
UsersController_deleteUserById: {
parameters: {
query?: {
- /** @description Boolean string, true or false */
- soft_delete?: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ soft_delete?: string
}
header?: never
path: {
@@ -14898,7 +15254,7 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['UpdateUserReponse']
+ 'application/json': components['schemas']['UpdateUserResponse']
}
}
/** @description Unauthorized */
@@ -15587,7 +15943,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -15853,36 +16211,6 @@ export interface operations {
}
}
}
- SendFeedbackController_sendDocsFeedback: {
- parameters: {
- query?: never
- header?: never
- path?: never
- cookie?: never
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['SendDocsFeedbackBody']
- }
- }
- responses: {
- 201: {
- headers: {
- [name: string]: unknown
- }
- content: {
- 'application/json': components['schemas']['SendFeedbackResponse']
- }
- }
- /** @description Failed to send feedback for docs */
- 500: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
SendFeedbackController_sendExitSurvey: {
parameters: {
query?: never
@@ -16137,6 +16465,7 @@ export interface operations {
parameters: {
query: {
organization_id: number
+ project_ref?: string
}
header?: never
path?: never
@@ -16247,6 +16576,58 @@ export interface operations {
}
}
}
+ GitHubConnectionsController_getGitHubConnectionConfig: {
+ parameters: {
+ query?: {
+ /** @description Git branch, tag or commit SHA to read the config from. Defaults to the default branch of the connected repository. */
+ ref?: string
+ }
+ header?: never
+ path: {
+ connection_id: number
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['GetGitHubConnectionConfigResponse']
+ }
+ }
+ /** @description Not allowed to read the config of this connection */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description GitHub connection not found, or the repository has no config file */
+ 404: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description The config file could not be parsed as TOML */
+ 422: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to get the Supabase config of the connected GitHub repository */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
GitHubRepositoriesController_listRepositories: {
parameters: {
query?: never
@@ -16522,7 +16903,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -16582,7 +16965,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -17004,7 +17389,35 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['CreateOrganizationResponse']
+ 'application/json':
+ | {
+ pending_payment_intent_secret: string | null
+ }
+ | {
+ billing_email: string | null
+ billing_partner: ('aws_marketplace' | 'vercel_marketplace') | null
+ id: number
+ integration_source: string | null
+ is_owner: boolean
+ name: string
+ opt_in_tags: string[]
+ organization_missing_address: boolean
+ organization_missing_tax_id: boolean
+ organization_requires_mfa: boolean
+ plan: {
+ /** @enum {string} */
+ id: 'free' | 'pro' | 'team' | 'enterprise' | 'platform'
+ name: string
+ }
+ restriction_data: {
+ [key: string]: string
+ } | null
+ restriction_status: ('grace_period' | 'grace_period_over' | 'restricted') | null
+ slug: string
+ stripe_customer_id: string | null
+ subscription_id: string | null
+ usage_billing_enabled: boolean
+ }
}
}
/** @description Unexpected error creating an organization */
@@ -17247,7 +17660,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -19333,7 +19748,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Unauthorized */
401: {
@@ -19383,7 +19800,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Unauthorized */
401: {
@@ -19433,7 +19852,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Unauthorized */
401: {
@@ -19808,7 +20229,14 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['CreateInvitationResponse']
+ 'application/json': {
+ failed: {
+ /** Format: email */
+ email: string
+ error: string
+ }[]
+ succeeded: string[]
+ } | null
}
}
/** @description Unauthorized */
@@ -20036,7 +20464,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -20873,7 +21303,38 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['GetSSOProviderResponse']
+ 'application/json':
+ | {
+ /** @default [] */
+ domains: string[]
+ email_mapping: string[]
+ enabled: boolean
+ first_name_mapping?: string[]
+ idjag_issuer_url?: string | null
+ join_org_on_signup_enabled: boolean
+ /** @enum {string} */
+ join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
+ last_name_mapping?: string[]
+ metadata_xml_file: string
+ /** Format: uri */
+ metadata_xml_url?: string
+ user_name_mapping?: string[]
+ }
+ | {
+ /** @default [] */
+ domains: string[]
+ email_mapping: string[]
+ enabled: boolean
+ first_name_mapping?: string[]
+ idjag_issuer_url?: string | null
+ join_org_on_signup_enabled: boolean
+ /** @enum {string} */
+ join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
+ last_name_mapping?: string[]
+ metadata_xml_file?: string
+ metadata_xml_url: string
+ user_name_mapping?: string[]
+ }
}
}
/** @description Unauthorized */
@@ -20920,7 +21381,38 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['UpdateSSOProviderResponse']
+ 'application/json':
+ | {
+ /** @default [] */
+ domains: string[]
+ email_mapping: string[]
+ enabled: boolean
+ first_name_mapping?: string[]
+ idjag_issuer_url?: string | null
+ join_org_on_signup_enabled: boolean
+ /** @enum {string} */
+ join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
+ last_name_mapping?: string[]
+ metadata_xml_file: string
+ /** Format: uri */
+ metadata_xml_url?: string
+ user_name_mapping?: string[]
+ }
+ | {
+ /** @default [] */
+ domains: string[]
+ email_mapping: string[]
+ enabled: boolean
+ first_name_mapping?: string[]
+ idjag_issuer_url?: string | null
+ join_org_on_signup_enabled: boolean
+ /** @enum {string} */
+ join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
+ last_name_mapping?: string[]
+ metadata_xml_file?: string
+ metadata_xml_url: string
+ user_name_mapping?: string[]
+ }
}
}
/** @description Unauthorized */
@@ -20967,7 +21459,38 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['CreateSSOProviderResponse']
+ 'application/json':
+ | {
+ /** @default [] */
+ domains: string[]
+ email_mapping: string[]
+ enabled: boolean
+ first_name_mapping?: string[]
+ idjag_issuer_url?: string | null
+ join_org_on_signup_enabled: boolean
+ /** @enum {string} */
+ join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
+ last_name_mapping?: string[]
+ metadata_xml_file: string
+ /** Format: uri */
+ metadata_xml_url?: string
+ user_name_mapping?: string[]
+ }
+ | {
+ /** @default [] */
+ domains: string[]
+ email_mapping: string[]
+ enabled: boolean
+ first_name_mapping?: string[]
+ idjag_issuer_url?: string | null
+ join_org_on_signup_enabled: boolean
+ /** @enum {string} */
+ join_org_on_signup_role?: 'Administrator' | 'Developer' | 'Owner' | 'Read-only'
+ last_name_mapping?: string[]
+ metadata_xml_file?: string
+ metadata_xml_url: string
+ user_name_mapping?: string[]
+ }
}
}
/** @description Unauthorized */
@@ -20982,7 +21505,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -21091,108 +21616,6 @@ export interface operations {
}
}
}
- TaxIdsController_updateTaxId: {
- parameters: {
- query?: never
- header?: never
- path: {
- /** @description Organization slug */
- slug: string
- }
- cookie?: never
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['CreateTaxIdBody']
- }
- }
- responses: {
- 200: {
- headers: {
- [name: string]: unknown
- }
- content: {
- 'application/json': components['schemas']['TaxIdResponse']
- }
- }
- /** @description Unauthorized */
- 401: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Forbidden action */
- 403: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Rate limit exceeded */
- 429: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Failed to create the tax ID */
- 500: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
- TaxIdsController_deleteTaxId: {
- parameters: {
- query?: never
- header?: never
- path: {
- /** @description Organization slug */
- slug: string
- }
- cookie?: never
- }
- requestBody?: never
- responses: {
- 204: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Unauthorized */
- 401: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Forbidden action */
- 403: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Rate limit exceeded */
- 429: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Failed to delete the tax ID */
- 500: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
OrgUsageController_getOrgUsage: {
parameters: {
query?: {
@@ -21351,7 +21774,35 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['CreateOrganizationResponse']
+ 'application/json':
+ | {
+ pending_payment_intent_secret: string | null
+ }
+ | {
+ billing_email: string | null
+ billing_partner: ('aws_marketplace' | 'vercel_marketplace') | null
+ id: number
+ integration_source: string | null
+ is_owner: boolean
+ name: string
+ opt_in_tags: string[]
+ organization_missing_address: boolean
+ organization_missing_tax_id: boolean
+ organization_requires_mfa: boolean
+ plan: {
+ /** @enum {string} */
+ id: 'free' | 'pro' | 'team' | 'enterprise' | 'platform'
+ name: string
+ }
+ restriction_data: {
+ [key: string]: string
+ } | null
+ restriction_status: ('grace_period' | 'grace_period_over' | 'restricted') | null
+ slug: string
+ stripe_customer_id: string | null
+ subscription_id: string | null
+ usage_billing_enabled: boolean
+ }
}
}
202: {
@@ -22064,6 +22515,7 @@ export interface operations {
| 'storage.image_transformations'
| 'storage.vector_buckets'
| 'storage.iceberg_catalog'
+ | 'storage.purge_cache'
| 'security.audit_logs_days'
| 'security.questionnaire'
| 'security.soc2_report'
@@ -22113,6 +22565,8 @@ export interface operations {
| 'integrations.github_connections'
| 'dedicated_pooler'
| 'observability.dashboard_advanced_metrics'
+ | 'api.members.invitations'
+ | 'api.members.roles'
}
header?: never
path?: never
@@ -22726,9 +23180,9 @@ export interface operations {
ApiKeysLastUsedController_getApiKeysLastUsed: {
parameters: {
query?: {
- iso_timestamp_start?: string
- iso_timestamp_end?: string
days?: string
+ iso_timestamp_end?: string
+ iso_timestamp_start?: string
}
header?: never
path: {
@@ -22988,6 +23442,115 @@ export interface operations {
}
}
}
+ LogsController_getProjectLogsViaGetNew: {
+ parameters: {
+ query?: {
+ iso_timestamp_end?: string
+ iso_timestamp_start?: string
+ lql?: string
+ sql?: string
+ }
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['AnalyticsResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to get project's logs */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ LogsController_getProjectLogsViaPostNew: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['GetProjectLogsBody']
+ }
+ }
+ responses: {
+ 201: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['AnalyticsResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to get project's logs */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
LogsController_getProjectLogsViaGet: {
parameters: {
query?: {
@@ -23554,7 +24117,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -23793,6 +24358,61 @@ export interface operations {
}
}
}
+ 'scrape-project-metrics': {
+ parameters: {
+ query?: {
+ /** @description Project service to include in the scrape. Valid values are `database`. Defaults to `database`. */
+ services?: string
+ }
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Prometheus / OpenMetrics text exposition */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/openmetrics-text': string
+ 'text/plain': string
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to fetch project's metrics */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
ApiKeysController_createTemporaryApiKey: {
parameters: {
query: {
@@ -24778,8 +25398,12 @@ export interface operations {
parameters: {
query?: {
cursor?: string
- /** @description Boolean string, true or false */
- favorite?: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ favorite?: string
limit?: string
name?: string
sort_by?: 'name' | 'inserted_at'
@@ -25847,65 +26471,68 @@ export interface operations {
| 'physical_replication_lag_physical_replication_lag_seconds'
| 'pg_stat_database_num_backends'
| 'max_db_connections'
- attributes?: (
- | 'cpu_usage'
- | 'cpu_usage_busy_system'
- | 'cpu_usage_busy_user'
- | 'cpu_usage_busy_iowait'
- | 'cpu_usage_busy_irqs'
- | 'cpu_usage_busy_other'
- | 'cpu_usage_busy_idle'
- | 'max_cpu_usage'
- | 'avg_cpu_usage'
- | 'ram_usage'
- | 'ram_usage_total'
- | 'ram_usage_available'
- | 'ram_usage_used'
- | 'ram_usage_free'
- | 'ram_usage_cache_and_buffers'
- | 'ram_usage_swap'
- | 'ram_commit_used'
- | 'ram_commit_limit'
- | 'swap_usage'
- | 'client_connections_pgbouncer'
- | 'network_receive_bytes'
- | 'network_transmit_bytes'
- | 'pgbouncer_pools_client_active_connections'
- | 'supavisor_connections_active'
- | 'client_connections_postgres'
- | 'client_connections_authenticator'
- | 'client_connections_supabase_auth_admin'
- | 'client_connections_supabase_storage_admin'
- | 'client_connections_supabase_admin'
- | 'client_connections_other'
- | 'realtime_connections_connected'
- | 'realtime_channel_joins'
- | 'realtime_channel_events'
- | 'realtime_channel_presence_events'
- | 'realtime_channel_db_events'
- | 'realtime_authorization_rls_execution_time'
- | 'realtime_read_authorization_rls_execution_time'
- | 'realtime_write_authorization_rls_execution_time'
- | 'realtime_payload_size'
- | 'realtime_replication_connection_lag'
- | 'realtime_sum_connections_connected'
- | 'disk_io_budget'
- | 'disk_io_consumption'
- | 'disk_io_usage'
- | 'disk_iops_read'
- | 'disk_iops_write'
- | 'disk_bytes_read'
- | 'disk_bytes_written'
- | 'pg_database_size'
- | 'disk_fs_size'
- | 'disk_fs_avail'
- | 'disk_fs_used'
- | 'disk_fs_used_wal'
- | 'disk_fs_used_system'
- | 'physical_replication_lag_physical_replication_lag_seconds'
- | 'pg_stat_database_num_backends'
- | 'max_db_connections'
- )[]
+ /** @description Comma-separated list of enums or array of enums. */
+ attributes?:
+ | string
+ | (
+ | 'cpu_usage'
+ | 'cpu_usage_busy_system'
+ | 'cpu_usage_busy_user'
+ | 'cpu_usage_busy_iowait'
+ | 'cpu_usage_busy_irqs'
+ | 'cpu_usage_busy_other'
+ | 'cpu_usage_busy_idle'
+ | 'max_cpu_usage'
+ | 'avg_cpu_usage'
+ | 'ram_usage'
+ | 'ram_usage_total'
+ | 'ram_usage_available'
+ | 'ram_usage_used'
+ | 'ram_usage_free'
+ | 'ram_usage_cache_and_buffers'
+ | 'ram_usage_swap'
+ | 'ram_commit_used'
+ | 'ram_commit_limit'
+ | 'swap_usage'
+ | 'client_connections_pgbouncer'
+ | 'network_receive_bytes'
+ | 'network_transmit_bytes'
+ | 'pgbouncer_pools_client_active_connections'
+ | 'supavisor_connections_active'
+ | 'client_connections_postgres'
+ | 'client_connections_authenticator'
+ | 'client_connections_supabase_auth_admin'
+ | 'client_connections_supabase_storage_admin'
+ | 'client_connections_supabase_admin'
+ | 'client_connections_other'
+ | 'realtime_connections_connected'
+ | 'realtime_channel_joins'
+ | 'realtime_channel_events'
+ | 'realtime_channel_presence_events'
+ | 'realtime_channel_db_events'
+ | 'realtime_authorization_rls_execution_time'
+ | 'realtime_read_authorization_rls_execution_time'
+ | 'realtime_write_authorization_rls_execution_time'
+ | 'realtime_payload_size'
+ | 'realtime_replication_connection_lag'
+ | 'realtime_sum_connections_connected'
+ | 'disk_io_budget'
+ | 'disk_io_consumption'
+ | 'disk_io_usage'
+ | 'disk_iops_read'
+ | 'disk_iops_write'
+ | 'disk_bytes_read'
+ | 'disk_bytes_written'
+ | 'pg_database_size'
+ | 'disk_fs_size'
+ | 'disk_fs_avail'
+ | 'disk_fs_used'
+ | 'disk_fs_used_wal'
+ | 'disk_fs_used_system'
+ | 'physical_replication_lag_physical_replication_lag_seconds'
+ | 'pg_stat_database_num_backends'
+ | 'max_db_connections'
+ )[]
databaseIdentifier?: string
endDate: string
interval?: '1m' | '5m' | '10m' | '30m' | '1h' | '1d'
@@ -26432,7 +27059,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -26514,6 +27143,64 @@ export interface operations {
}
}
}
+ ProjectPrivateLinkController_removeAwsAccountFromPrivateLinkForDatabase: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ aws_account_id: string
+ database_identifier: string
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Scheduled AWS PrivateLink resources to be removed. */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Invalid AWS account ID format or association does not have a valid status for deletion. */
+ 400: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to remove AWS account from PrivateLink share */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
ResizeController_resizeDatabase: {
parameters: {
query?: never
@@ -26548,7 +27235,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -26824,165 +27513,6 @@ export interface operations {
}
}
}
- ProjectRunLintsController_runLintByName: {
- parameters: {
- query?: never
- header?: never
- path: {
- name:
- | 'unindexed_foreign_keys'
- | 'auth_users_exposed'
- | 'auth_rls_initplan'
- | 'no_primary_key'
- | 'unused_index'
- | 'multiple_permissive_policies'
- | 'policy_exists_rls_disabled'
- | 'rls_enabled_no_policy'
- | 'duplicate_index'
- | 'security_definer_view'
- | 'function_search_path_mutable'
- | 'rls_disabled_in_public'
- | 'extension_in_public'
- | 'rls_references_user_metadata'
- | 'materialized_view_in_api'
- | 'foreign_table_in_api'
- | 'unsupported_reg_types'
- | 'auth_otp_long_expiry'
- | 'auth_otp_short_length'
- | 'ssl_not_enforced'
- | 'network_restrictions_not_set'
- | 'password_requirements_min_length'
- | 'pitr_not_enabled'
- | 'auth_leaked_password_protection'
- | 'auth_insufficient_mfa_options'
- | 'auth_password_policy_missing'
- | 'leaked_service_key'
- | 'no_backup_admin'
- | 'vulnerable_postgres_version'
- /** @description Project ref */
- ref: string
- }
- cookie?: never
- }
- requestBody?: never
- responses: {
- 200: {
- headers: {
- [name: string]: unknown
- }
- content: {
- 'application/json': components['schemas']['RunLintByNameResponse']
- }
- }
- /** @description Unauthorized */
- 401: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Forbidden action */
- 403: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Rate limit exceeded */
- 429: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
- ProjectRunLintsController_runLeakedServiceKeyLint: {
- parameters: {
- query?: never
- header?: never
- path: {
- /** @description Project ref */
- ref: string
- }
- cookie?: never
- }
- requestBody?: never
- responses: {
- 200: {
- headers: {
- [name: string]: unknown
- }
- content: {
- 'application/json': components['schemas']['GetLeakedServiceKeyLintResponse']
- }
- }
- /** @description Unauthorized */
- 401: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Forbidden action */
- 403: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Rate limit exceeded */
- 429: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
- ProjectRunLintsController_runAuthBackupAdminLint: {
- parameters: {
- query?: never
- header?: never
- path: {
- /** @description Project ref */
- ref: string
- }
- cookie?: never
- }
- requestBody?: never
- responses: {
- 200: {
- headers: {
- [name: string]: unknown
- }
- content: {
- 'application/json': components['schemas']['AuthBackupAdminLintResponse']
- }
- }
- /** @description Unauthorized */
- 401: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Forbidden action */
- 403: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Rate limit exceeded */
- 429: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
ProjectServiceVersionsController_getServiceVersions: {
parameters: {
query?: never
@@ -27316,7 +27846,7 @@ export interface operations {
ProjectsController_getRegions: {
parameters: {
query: {
- cloud_provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'
+ cloud_provider: 'AWS' | 'AWS_K8S' | 'AWS_NIMBUS'
desired_instance_size?:
| 'micro'
| 'small'
@@ -27437,6 +27967,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -27492,6 +28031,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -27549,6 +28097,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -27604,6 +28161,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -27726,6 +28292,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -27777,6 +28352,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -27952,6 +28536,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28060,6 +28653,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28111,6 +28713,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28201,6 +28812,73 @@ export interface operations {
}
}
}
+ ReplicationPipelinesController_restartPipeline: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Pipeline id */
+ pipeline_id: number
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Pipeline restart accepted. */
+ 202: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Pipeline is not running. */
+ 409: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while restarting pipeline. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
ReplicationPipelinesController_rollbackTables: {
parameters: {
query?: never
@@ -28235,6 +28913,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28286,6 +28973,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28309,64 +29005,6 @@ export interface operations {
}
}
}
- ReplicationPipelinesController_restartPipeline: {
- parameters: {
- query?: never
- header?: never
- path: {
- /** @description Pipeline id */
- pipeline_id: number
- /** @description Project ref */
- ref: string
- }
- cookie?: never
- }
- requestBody?: never
- responses: {
- /** @description Pipeline restart accepted. */
- 202: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Unauthorized */
- 401: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Forbidden action */
- 403: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Pipeline is not running. */
- 409: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Rate limit exceeded */
- 429: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Unexpected error while restarting pipeline. */
- 500: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
ReplicationPipelinesController_getPipelineStatus: {
parameters: {
query?: never
@@ -28448,6 +29086,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28556,6 +29203,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28718,7 +29374,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -28796,61 +29454,6 @@ export interface operations {
}
}
}
- ReplicationSourcesController_getCostEstimate: {
- parameters: {
- query?: never
- header?: never
- path: {
- /** @description Publication name */
- publication_name: string
- /** @description Project ref */
- ref: string
- /** @description Source id */
- source_id: number
- }
- cookie?: never
- }
- requestBody?: never
- responses: {
- /** @description Cost estimate for replicating the publication. */
- 200: {
- headers: {
- [name: string]: unknown
- }
- content: {
- 'application/json': components['schemas']['CostEstimateResponse']
- }
- }
- /** @description Unauthorized */
- 401: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Forbidden action */
- 403: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Rate limit exceeded */
- 429: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Unexpected error while estimating replication cost. */
- 500: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
ReplicationSourcesController_createPublication: {
parameters: {
query?: never
@@ -28883,6 +29486,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28940,6 +29552,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -28993,6 +29614,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -29023,6 +29653,61 @@ export interface operations {
}
}
}
+ ReplicationSourcesController_getCostEstimate: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Publication name */
+ publication_name: string
+ /** @description Project ref */
+ ref: string
+ /** @description Source id */
+ source_id: number
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Cost estimate for replicating the publication. */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['CostEstimateResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while estimating replication cost. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
ReplicationSourcesController_getTables: {
parameters: {
query?: never
@@ -29102,6 +29787,15 @@ export interface operations {
}
content?: never
}
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
/** @description Forbidden action */
403: {
headers: {
@@ -29172,7 +29866,9 @@ export interface operations {
headers: {
[name: string]: unknown
}
- content?: never
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
}
/** @description Forbidden action */
403: {
@@ -29383,7 +30079,7 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Analytics Bucket ID */
+ /** @description Storage bucket id */
id: string
/** @description Project ref */
ref: string
@@ -29435,7 +30131,7 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Analytics Bucket ID */
+ /** @description Storage bucket id */
id: string
/** @description Project ref */
ref: string
@@ -29487,7 +30183,7 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Analytics Bucket ID */
+ /** @description Storage bucket id */
id: string
/** @description Project ref */
ref: string
@@ -29700,8 +30396,12 @@ export interface operations {
StorageAnalyticsBucketNamespaceTableController_dropTable: {
parameters: {
query?: {
- /** @description Boolean string, true or false */
- purge?: boolean
+ /** @description Boolean string.
+ *
+ * Truthy values: `true`, `1`, `yes`, `on`, `y`, `enabled`
+ *
+ * Falsy values: `false`, `0`, `no`, `off`, `n`, `disabled` */
+ purge?: string
}
header?: never
path: {
@@ -30608,6 +31308,128 @@ export interface operations {
}
}
}
+ StorageCdnController_purgeBucketCache: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['PurgeBucketCacheBody']
+ }
+ }
+ responses: {
+ 201: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to purge CDN cache for bucket */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ StorageCdnController_purgeObjectCache: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['PurgeObjectCacheBody']
+ }
+ }
+ responses: {
+ 201: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Failed to purge CDN cache for object */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
StorageS3CredentialsController_getAllCredentials: {
parameters: {
query?: never
@@ -31500,6 +32322,465 @@ export interface operations {
}
}
}
+ WarehouseController_getCatalog: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Warehouse catalog access. */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['WarehouseCatalogResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while retrieving Warehouse catalog. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ WarehouseController_updateCatalog: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateWarehouseCatalogBody']
+ }
+ }
+ responses: {
+ /** @description Warehouse catalog access updated. */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['WarehouseCatalogResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while updating Warehouse catalog. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ WarehouseController_refreshSchema: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Warehouse foreign schema refresh accepted. */
+ 202: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while refreshing the Warehouse foreign schema. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ WarehouseController_getSetupStatus: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Warehouse setup status. */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['WarehouseSetupStatusResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while retrieving Warehouse setup status. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ WarehouseController_getTables: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Warehouse linked tables. */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['WarehouseTablesResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while listing Warehouse tables. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ WarehouseController_linkTable: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ cookie?: never
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['WarehouseLinkTableBody']
+ }
+ }
+ responses: {
+ /** @description Warehouse table link accepted. */
+ 202: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['WarehouseLinkedTable']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while linking Warehouse table. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ WarehouseController_detachTable: {
+ parameters: {
+ query?: never
+ header?: never
+ path: {
+ /** @description Postgres table name */
+ name: string
+ /** @description Project ref */
+ ref: string
+ /** @description Postgres schema name */
+ schema: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Warehouse table detached. */
+ 204: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
+ 402: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['PlanGateErrorBody']
+ }
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while detaching Warehouse table. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
+ WarehouseController_getTableSnapshots: {
+ parameters: {
+ query?: {
+ /** @description Maximum number of snapshots to return. */
+ limit?: number
+ }
+ header?: never
+ path: {
+ /** @description Postgres table name */
+ name: string
+ /** @description Project ref */
+ ref: string
+ /** @description Postgres schema name */
+ schema: string
+ }
+ cookie?: never
+ }
+ requestBody?: never
+ responses: {
+ /** @description Warehouse snapshots. */
+ 200: {
+ headers: {
+ [name: string]: unknown
+ }
+ content: {
+ 'application/json': components['schemas']['WarehouseTableSnapshotsResponse']
+ }
+ }
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Forbidden action */
+ 403: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Rate limit exceeded */
+ 429: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ /** @description Unexpected error while listing Warehouse snapshots. */
+ 500: {
+ headers: {
+ [name: string]: unknown
+ }
+ content?: never
+ }
+ }
+ }
WorkflowRunController_listWorkflowRuns: {
parameters: {
query?: {