The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
perf: pass org slug / project ref to resource warnings endpoint (#39471)
Kevin Grüneberg15c9a6ced3a4
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel.tsxindex 812ad66d7b8..102a14e09fe 100644--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel.tsx+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel.tsx@@ -123,20 +123,24 @@ export const DestinationPanel = ({pipelineId: existingDestination?.pipelineId,})- const defaultValues = useMemo(- () => ({+ const defaultValues = useMemo(() => {+ const bigQueryConfig =+ destinationData && 'big_query' in destinationData.config+ ? destinationData?.config.big_query+ : null++ return {type: TypeEnum.enum.BigQuery,name: destinationData?.name ?? '',- projectId: destinationData?.config?.big_query?.project_id ?? '',- datasetId: destinationData?.config?.big_query?.dataset_id ?? '',+ projectId: bigQueryConfig?.project_id ?? '',+ datasetId: bigQueryConfig?.dataset_id ?? '',// For now, the password will always be set as empty for security reasons.- serviceAccountKey: destinationData?.config?.big_query?.service_account_key ?? '',+ serviceAccountKey: bigQueryConfig?.service_account_key ?? '',publicationName: pipelineData?.config.publication_name ?? '',maxFillMs: pipelineData?.config?.batch?.max_fill_ms,- maxStalenessMins: destinationData?.config?.big_query?.max_staleness_mins,- }),- [destinationData, pipelineData]- )+ maxStalenessMins: bigQueryConfig?.max_staleness_mins,+ }+ }, [destinationData, pipelineData])const form = useForm<z.infer<typeof FormSchema>>({mode: 'onBlur',diff --git a/apps/studio/components/interfaces/Database/Replication/Destinations.tsx b/apps/studio/components/interfaces/Database/Replication/Destinations.tsxindex 88a6a254588..7cef5dd364b 100644--- a/apps/studio/components/interfaces/Database/Replication/Destinations.tsx+++ b/apps/studio/components/interfaces/Database/Replication/Destinations.tsx@@ -159,7 +159,7 @@ export const Destinations = () => {sourceId={sourceId}destinationId={destination.id}destinationName={destination.name}- type={destination.config.big_query ? 'BigQuery' : 'Other'}+ type={'big_query' in destination.config ? 'BigQuery' : 'Other'}pipeline={pipeline}error={pipelinesError}isLoading={isPipelinesLoading}diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx b/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsxindex f02ce81f0ad..34b228bc60e 100644--- a/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx@@ -71,7 +71,8 @@ export function DiskManagementForm() {const { data: org } = useSelectedOrganizationQuery()const { setProjectStatus } = useSetProjectStatus()- const { data: resourceWarnings } = useResourceWarningsQuery()+ const { data: resourceWarnings } = useResourceWarningsQuery({ ref: projectRef })+ // [Joshen Cleanup] JFYI this client side filtering can be cleaned up once BE changes are live which will only return the warnings based on the provided refconst projectResourceWarnings = (resourceWarnings ?? [])?.find((warning) => warning.project === project?.ref)diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectList.tsxindex 5bfb9b0214d..98b05396dc6 100644--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectList.tsx+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectList.tsx@@ -86,7 +86,7 @@ export const ProjectList = ({ organization: organization_, rewriteHref }: ProjecisError: isErrorPermissions,error: permissionsError,} = usePermissionsQuery()- const { data: resourceWarnings } = useResourceWarningsQuery()+ const { data: resourceWarnings } = useResourceWarningsQuery({ slug })// Move all hooks to the top to comply with Rules of Hooksconst { data: integrations } = useOrgIntegrationsQuery({ orgSlug: organization?.slug })diff --git a/apps/studio/components/interfaces/Settings/Database/DatabaseReadOnlyAlert.tsx b/apps/studio/components/interfaces/Settings/Database/DatabaseReadOnlyAlert.tsxindex 79beef58d7c..2c0ad328f65 100644--- a/apps/studio/components/interfaces/Settings/Database/DatabaseReadOnlyAlert.tsx+++ b/apps/studio/components/interfaces/Settings/Database/DatabaseReadOnlyAlert.tsx@@ -14,8 +14,9 @@ export const DatabaseReadOnlyAlert = () => {const { data: organization } = useSelectedOrganizationQuery()const [showConfirmationModal, setShowConfirmationModal] = useState(false)- const { data: resourceWarnings } = useResourceWarningsQuery()-+ const { data: resourceWarnings } = useResourceWarningsQuery({ ref: projectRef })+ // [Joshen Cleanup] JFYI this can be cleaned up once BE changes are live which will only return the warnings based on the provided ref+ // No longer need to filter by ref on the client sideconst isReadOnlyMode =(resourceWarnings ?? [])?.find((warning) => warning.project === projectRef)?.is_readonly_mode_enabled ?? falsediff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsxindex 582c7b2f823..04840ec30df 100644--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx@@ -59,7 +59,8 @@ export const InfrastructureActivity = () => {})const isFreePlan = organization?.plan?.id === 'free'- const { data: resourceWarnings } = useResourceWarningsQuery()+ const { data: resourceWarnings } = useResourceWarningsQuery({ ref: projectRef })+ // [Joshen Cleanup] JFYI this client side filtering can be cleaned up once BE changes are live which will only return the warnings based on the provided refconst projectResourceWarnings = resourceWarnings?.find((x) => x.project === projectRef)const { data: addons } = useProjectAddonsQuery({ projectRef })diff --git a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsxindex 60c1ce45da7..bb8f56feff9 100644--- a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx+++ b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx@@ -11,7 +11,8 @@ import { getWarningContent } from './ResourceExhaustionWarningBanner.utils'export const ResourceExhaustionWarningBanner = () => {const { ref } = useParams()const router = useRouter()- const { data: resourceWarnings } = useResourceWarningsQuery()+ const { data: resourceWarnings } = useResourceWarningsQuery({ ref: ref })+ // [Joshen Cleanup] JFYI this client side filtering can be cleaned up once BE changes are live which will only return the warnings based on the provided refconst projectResourceWarnings = (resourceWarnings ?? [])?.find((warning) => warning.project === ref)diff --git a/apps/studio/data/integrations/github-branch-check-query.ts b/apps/studio/data/integrations/github-branch-check-query.tsindex 05f21499c67..b7f98fbe416 100644--- a/apps/studio/data/integrations/github-branch-check-query.ts+++ b/apps/studio/data/integrations/github-branch-check-query.ts@@ -14,12 +14,12 @@ export async function checkGithubBranchValidity(signal?: AbortSignal) {const { data, error } = await get(- '/platform/integrations/github/repositories/{repositoryId}/branches/{branchName}',+ '/platform/integrations/github/repositories/{repository_id}/branches/{branch_name}',{params: {path: {- repositoryId,- branchName,+ repository_id: repositoryId,+ branch_name: branchName,},},signal,diff --git a/apps/studio/data/integrations/github-branches-query.ts b/apps/studio/data/integrations/github-branches-query.tsindex 342238466c5..361039e1397 100644--- a/apps/studio/data/integrations/github-branches-query.ts+++ b/apps/studio/data/integrations/github-branches-query.ts@@ -13,8 +13,8 @@ export async function getGitHubBranches() {if (!connectionId) throw new Error('connectionId is required')- const { data, error } = await get(`/platform/integrations/github/branches/{connectionId}`, {- params: { path: { connectionId } },+ const { data, error } = await get(`/platform/integrations/github/branches/{connection_id}`, {+ params: { path: { connection_id: connectionId } },signal,})diff --git a/apps/studio/data/invoices/invoice-payment-link-mutation.ts b/apps/studio/data/invoices/invoice-payment-link-mutation.tsindex 35fcdbdd939..d4ea25ca3e5 100644--- a/apps/studio/data/invoices/invoice-payment-link-mutation.ts+++ b/apps/studio/data/invoices/invoice-payment-link-mutation.ts@@ -18,12 +18,12 @@ export async function updateInvoicePaymentLink({if (!invoiceId) throw new Error('Invoice ID is required')const { data, error } = await get(- '/platform/organizations/{slug}/billing/invoices/{invoiceId}/payment-link',+ '/platform/organizations/{slug}/billing/invoices/{invoice_id}/payment-link',{params: {path: {slug,- invoiceId,+ invoice_id: invoiceId,},},}diff --git a/apps/studio/data/invoices/invoice-query.ts b/apps/studio/data/invoices/invoice-query.tsindex 770957f5bed..d3e09dcf0f0 100644--- a/apps/studio/data/invoices/invoice-query.ts+++ b/apps/studio/data/invoices/invoice-query.ts@@ -12,10 +12,13 @@ export async function getInvoice({ invoiceId, slug }: InvoiceVariables, signal?:if (!invoiceId) throw new Error('Invoice ID is required')if (!slug) throw new Error('Slug is required')- const { data, error } = await get(`/platform/organizations/{slug}/billing/invoices/{invoiceId}`, {- params: { path: { invoiceId, slug } },- signal,- })+ const { data, error } = await get(+ `/platform/organizations/{slug}/billing/invoices/{invoice_id}`,+ {+ params: { path: { invoice_id: invoiceId, slug } },+ signal,+ }+ )if (error) handleError(error)return datadiff --git a/apps/studio/data/usage/keys.ts b/apps/studio/data/usage/keys.tsindex 066dca1bc6f..bddb545c550 100644--- a/apps/studio/data/usage/keys.ts+++ b/apps/studio/data/usage/keys.ts@@ -2,5 +2,6 @@ export const usageKeys = {usage: (projectRef: string | undefined) => ['projects', projectRef, 'usage'] as const,orgUsage: (orgSlug: string | undefined, projectRef?: string, start?: string, end?: string) =>['organizations', orgSlug, 'usage', projectRef, start, end] as const,- resourceWarnings: () => ['projects', 'resource-warnings'] as const,+ resourceWarnings: (slug?: string, projectRef?: string) =>+ ['projects', 'resource-warnings', { slug, projectRef }] as const,}diff --git a/apps/studio/data/usage/resource-warnings-query.ts b/apps/studio/data/usage/resource-warnings-query.tsindex 9248c2dc9d5..cf69871c80b 100644--- a/apps/studio/data/usage/resource-warnings-query.ts+++ b/apps/studio/data/usage/resource-warnings-query.ts@@ -6,8 +6,24 @@ import { get, handleError } from 'data/fetchers'import type { ResponseError } from 'types'import { usageKeys } from './keys'-export async function getResourceWarnings(signal?: AbortSignal) {- const { data, error } = await get(`/platform/projects-resource-warnings`, { signal })+export type ResourceWarningsVariables = {+ ref?: string+ slug?: string+}++export async function getResourceWarnings(+ variables?: ResourceWarningsVariables,+ signal?: AbortSignal+) {+ const { data, error } = await get(`/platform/projects-resource-warnings`, {+ params: {+ query: {+ ref: variables?.ref,+ slug: variables?.slug,+ },+ },+ signal,+ })if (error) handleError(error)return data@@ -17,15 +33,19 @@ export type ResourceWarning = components['schemas']['ProjectResourceWarningsRespexport type ResourceWarningsData = Awaited<ReturnType<typeof getResourceWarnings>>export type ResourceWarningsError = ResponseError-export const useResourceWarningsQuery = <TData = ResourceWarningsData>({- enabled = true,- ...options-}: UseQueryOptions<ResourceWarningsData, ResourceWarningsError, TData> = {}) =>+export const useResourceWarningsQuery = <TData = ResourceWarningsData>(+ variables: ResourceWarningsVariables,+ {+ enabled = true,+ ...options+ }: UseQueryOptions<ResourceWarningsData, ResourceWarningsError, TData> = {}+) =>useQuery<ResourceWarningsData, ResourceWarningsError, TData>(- usageKeys.resourceWarnings(),- ({ signal }) => getResourceWarnings(signal),+ usageKeys.resourceWarnings(variables.slug, variables.ref),+ ({ signal }) => getResourceWarnings(variables, signal),{- enabled: IS_PLATFORM && enabled,+ enabled:+ IS_PLATFORM && enabled && (variables.ref !== undefined || variables.slug !== undefined),staleTime: 1000 * 60 * 60, // default 60 minutes...options,}diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.tsindex 6bfe7cfbaa4..e43f935e651 100644--- a/packages/api-types/types/api.d.ts+++ b/packages/api-types/types/api.d.ts@@ -1729,6 +1729,23 @@ export interface paths {patch?: nevertrace?: never}+ '/v1/projects/available-regions': {+ parameters: {+ query?: never+ header?: never+ path?: never+ cookie?: never+ }+ /** [Beta] Gets the list of available regions that can be used for a new project */+ get: operations['v1-get-available-regions']+ put?: never+ post?: never+ delete?: never+ options?: never+ head?: never+ patch?: never+ trace?: never+ }'/v1/snippets': {parameters: {query?: never@@ -1951,6 +1968,9 @@ export interface components {external_zoom_email_optional: boolean | nullexternal_zoom_enabled: boolean | nullexternal_zoom_secret: string | null+ hook_after_user_created_enabled: boolean | null+ hook_after_user_created_secrets: string | null+ hook_after_user_created_uri: string | nullhook_before_user_created_enabled: boolean | nullhook_before_user_created_secrets: string | nullhook_before_user_created_uri: string | null@@ -2139,6 +2159,8 @@ export interface components {*/latest_check_run_id?: numbername: string+ /** Format: uri */+ notify_url?: stringparent_project_ref: stringpersistent: boolean/** Format: int32 */@@ -2232,6 +2254,11 @@ export interface components {| '48xlarge_high_memory'git_branch?: stringis_default?: boolean+ /**+ * Format: uri+ * @description HTTP endpoint to receive branch status updates.+ */+ notify_url?: stringpersistent?: boolean/*** @description Postgres engine version. If not provided, the latest version will be used.@@ -2900,10 +2927,11 @@ export interface components {redirect_uri?: stringrefresh_token?: string/**+ * Format: uri* @description Resource indicator for MCP (Model Context Protocol) clients- * @enum {string}*/- resource?: 'https://api.supabase.green/mcp' | 'https://mcp.supabase.green/mcp'+ resource?: string+ scope?: string}OAuthTokenResponse: {access_token: string@@ -2932,8 +2960,6 @@ export interface components {}[]/** @enum {string} */source_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise'- target_organization_eligible: boolean | null- target_organization_has_free_project_slots: boolean | null/** @enum {string|null} */target_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise' | nullvalid: boolean@@ -3028,6 +3054,46 @@ export interface components {override_active_until: stringoverride_enabled: boolean}+ RegionsInfo: {+ all: {+ smartGroup: {+ /** @enum {string} */+ code: 'americas' | 'emea' | 'apac'+ name: string+ /** @enum {string} */+ type: 'smartGroup'+ }[]+ specific: {+ code: string+ name: string+ /** @enum {string} */+ provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'+ /** @enum {string} */+ status?: 'capacity' | 'other'+ /** @enum {string} */+ type: 'specific'+ }[]+ }+ recommendations: {+ smartGroup: {+ /** @enum {string} */+ code: 'americas' | 'emea' | 'apac'+ name: string+ /** @enum {string} */+ type: 'smartGroup'+ }+ specific: {+ code: string+ name: string+ /** @enum {string} */+ provider: 'AWS' | 'FLY' | 'AWS_K8S' | 'AWS_NIMBUS'+ /** @enum {string} */+ status?: 'capacity' | 'other'+ /** @enum {string} */+ type: 'specific'+ }[]+ }+ }RemoveNetworkBanRequest: {identifier?: string/** @description List of IP addresses to unban. */@@ -3332,6 +3398,9 @@ export interface components {external_zoom_email_optional?: boolean | nullexternal_zoom_enabled?: boolean | nullexternal_zoom_secret?: string | null+ hook_after_user_created_enabled?: boolean | null+ hook_after_user_created_secrets?: string | null+ hook_after_user_created_uri?: string | nullhook_before_user_created_enabled?: boolean | nullhook_before_user_created_secrets?: string | nullhook_before_user_created_uri?: string | null@@ -3469,6 +3538,11 @@ export interface components {UpdateBranchBody: {branch_name?: stringgit_branch?: string+ /**+ * Format: uri+ * @description HTTP endpoint to receive branch status updates.+ */+ notify_url?: stringpersistent?: booleanrequest_review?: boolean/**@@ -3751,10 +3825,17 @@ export interface components {*/plan?: 'free' | 'pro'/**- * @description Region you want your server to reside in+ * @deprecated+ * @description Postgres engine version. If not provided, the latest version will be used.* @enum {string}*/- region:+ postgres_engine?: '15' | '17' | '17-oriole'+ /**+ * @deprecated+ * @description Region you want your server to reside in. Use region_selection instead.+ * @enum {string}+ */+ region?:| 'us-east-1'| 'us-east-2'| 'us-west-1'@@ -3773,6 +3854,54 @@ export interface components {| 'ca-central-1'| 'ap-south-1'| 'sa-east-1'+ /**+ * @description Region selection. Only one of region or region_selection can be specified.+ * @example { type: 'smartGroup', code: 'americas' }+ */+ region_selection?:+ | {+ /**+ * @description Specific region code. The codes supported are not a stable API, and should be retrieved from the /available-regions endpoint.+ * @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'+ }+ | {+ /**+ * @description The Smart Region Group's code. The codes supported are not a stable API, and should be retrieved from the /available-regions endpoint.+ * @example apac+ * @enum {string}+ */+ code: 'americas' | 'emea' | 'apac'+ /** @enum {string} */+ type: 'smartGroup'+ }+ /**+ * @deprecated+ * @description Release channel. If not provided, GA will be used.+ * @enum {string}+ */+ release_channel?: 'internal' | 'alpha' | 'beta' | 'ga' | 'withdrawn' | 'preview'/*** Format: uri* @description Template URL used to create the project from the CLI.@@ -4322,7 +4451,7 @@ export interface operations {organization_slug?: stringredirect_uri: string/** @description Resource indicator for MCP (Model Context Protocol) clients */- resource?: 'https://api.supabase.green/mcp' | 'https://mcp.supabase.green/mcp'+ resource?: stringresponse_mode?: stringresponse_type: 'code' | 'token' | 'id_token token'scope?: string@@ -10675,6 +10804,30 @@ export interface operations {}}}+ 'v1-get-available-regions': {+ parameters: {+ query: {+ /** @description Continent code to determine regional recommendations: NA (North America), SA (South America), EU (Europe), AF (Africa), AS (Asia), OC (Oceania), AN (Antarctica) */+ continent?: 'NA' | 'SA' | 'EU' | 'AF' | 'AS' | 'OC' | 'AN'+ /** @description Slug of your organization */+ organization_slug: string+ }+ header?: never+ path?: never+ cookie?: never+ }+ requestBody?: never+ responses: {+ 200: {+ headers: {+ [name: string]: unknown+ }+ content: {+ 'application/json': components['schemas']['RegionsInfo']+ }+ }+ }+ }'v1-list-all-snippets': {parameters: {query?: {diff --git a/packages/api-types/types/platform.d.ts b/packages/api-types/types/platform.d.tsindex 924e77e68b3..b2a53293795 100644--- a/packages/api-types/types/platform.d.ts+++ b/packages/api-types/types/platform.d.ts@@ -552,7 +552,7 @@ export interface paths {patch?: nevertrace?: never}- '/platform/integrations/github/branches/{connectionId}': {+ '/platform/integrations/github/branches/{connection_id}': {parameters: {query?: neverheader?: never@@ -569,7 +569,7 @@ export interface paths {patch?: nevertrace?: never}- '/platform/integrations/github/branches/{connectionId}/{branchName}': {+ '/platform/integrations/github/branches/{connection_id}/{branch_name}': {parameters: {query?: neverheader?: never@@ -639,7 +639,7 @@ export interface paths {patch?: nevertrace?: never}- '/platform/integrations/github/repositories/{repositoryId}/branches': {+ '/platform/integrations/github/repositories/{repository_id}/branches': {parameters: {query?: neverheader?: never@@ -656,7 +656,7 @@ export interface paths {patch?: nevertrace?: never}- '/platform/integrations/github/repositories/{repositoryId}/branches/{branchName}': {+ '/platform/integrations/github/repositories/{repository_id}/branches/{branch_name}': {parameters: {query?: neverheader?: never@@ -801,7 +801,7 @@ export interface paths {patch?: nevertrace?: never}- '/platform/integrations/vercel/connections/project/{project_ref}': {+ '/platform/integrations/vercel/connections/project/{ref}': {parameters: {query?: neverheader?: never@@ -1028,7 +1028,7 @@ export interface paths {patch?: nevertrace?: never}- '/platform/organizations/{slug}/billing/invoices/{invoiceId}': {+ '/platform/organizations/{slug}/billing/invoices/{invoice_id}': {parameters: {query?: neverheader?: never@@ -1045,7 +1045,7 @@ export interface paths {patch?: nevertrace?: never}- '/platform/organizations/{slug}/billing/invoices/{invoiceId}/payment-link': {+ '/platform/organizations/{slug}/billing/invoices/{invoice_id}/payment-link': {parameters: {query?: neverheader?: never@@ -1200,40 +1200,6 @@ export interface paths {patch?: nevertrace?: never}- '/platform/organizations/{slug}/daily-stats': {- parameters: {- query?: never- header?: never- path?: never- cookie?: never- }- /** Gets daily organization stats */- get: operations['OrgDailyStatsController_getDailyStats']- put?: never- post?: never- delete?: never- options?: never- head?: never- patch?: never- trace?: never- }- '/platform/organizations/{slug}/daily-stats/compute': {- parameters: {- query?: never- header?: never- path?: never- cookie?: never- }- /** Gets daily organization stats for compute */- get: operations['OrgDailyStatsController_getDailyStatsCompute']- put?: never- post?: never- delete?: never- options?: never- head?: never- patch?: never- trace?: never- }'/platform/organizations/{slug}/documents/dpa': {parameters: {query?: never@@ -2168,6 +2134,42 @@ export interface paths {patch?: nevertrace?: never}+ '/platform/profile/scoped-access-tokens': {+ parameters: {+ query?: never+ header?: never+ path?: never+ cookie?: never+ }+ /** Gets the user's scoped access tokens */+ get: operations['ScopedAccessTokensController_getAccessTokens']+ put?: never+ /** Creates a new scoped access token */+ post: operations['ScopedAccessTokensController_createAccessToken']+ delete?: never+ options?: never+ head?: never+ patch?: never+ trace?: never+ }+ '/platform/profile/scoped-access-tokens/{id}': {+ parameters: {+ query?: never+ header?: never+ path?: never+ cookie?: never+ }+ /** Gets the scoped access token with the given ID */+ get: operations['ScopedAccessTokensController_getAccessToken']+ put?: never+ post?: never+ /** Deletes the scoped access token with the given ID */+ delete: operations['ScopedAccessTokensController_deleteAccessToken']+ options?: never+ head?: never+ patch?: never+ trace?: never+ }'/platform/projects': {parameters: {query?: never@@ -4730,6 +4732,9 @@ export interface components {url: stringusername?: string | null}+ | {+ dsn: string+ }description?: stringname: string/** @enum {string} */@@ -5168,32 +5173,74 @@ export interface components {}CreateReplicationDestinationBody: {/** @description Destination configuration */- config: {- big_query: {- /**- * @description BigQuery dataset id- * @example analytics- */- dataset_id: string- /**- * @description Maximum number of concurrent write streams- * @example 8- */- max_concurrent_streams?: number- /**- * @description Maximum data staleness in minutes- * @example 5- */- max_staleness_mins?: number- /**- * @description BigQuery project id- * @example my-gcp-project- */- project_id: string- /** @description BigQuery service account key */- service_account_key: string- }- }+ config:+ | {+ big_query: {+ /**+ * @description BigQuery dataset id+ * @example analytics+ */+ dataset_id: string+ /**+ * @description Maximum number of concurrent write streams+ * @example 8+ */+ max_concurrent_streams?: number+ /**+ * @description Maximum data staleness in minutes+ * @example 5+ */+ max_staleness_mins?: number+ /**+ * @description BigQuery project id+ * @example my-gcp-project+ */+ project_id: string+ /** @description BigQuery service account key */+ service_account_key: string+ }+ }+ | {+ iceberg: {+ supabase: {+ /**+ * @description Catalog token+ * @example A jwt secret+ */+ catalog_token: string+ /**+ * @description Namespace+ * @example my-namespace+ */+ namespace: string+ /**+ * @description Project ref+ * @example abcdefghijklmnopqrst+ */+ project_ref: string+ /**+ * @description S3 access key ID+ * @example 53383b1d0cdb16a3afa63152656aa3cc+ */+ s3_access_key_id: string+ /**+ * @description S3 region+ * @example ap-southeast-1+ */+ s3_region: string+ /**+ * @description S3 secret access key+ * @example 25a0c5e69d847088a3e6ffb901adf4d19bbf74a400dec2ee49f46401039b3258+ */+ s3_secret_access_key: string+ /**+ * @description Warehouse name+ * @example my-warehouse+ */+ warehouse_name: string+ }+ }+ }/*** @description Destination name* @example bq-analytics@@ -5202,32 +5249,74 @@ export interface components {}CreateReplicationDestinationPipelineBody: {/** @description Destination configuration */- destination_config: {- big_query: {- /**- * @description BigQuery dataset id- * @example analytics- */- dataset_id: string- /**- * @description Maximum number of concurrent write streams- * @example 8- */- max_concurrent_streams?: number- /**- * @description Maximum data staleness in minutes- * @example 5- */- max_staleness_mins?: number- /**- * @description BigQuery project id- * @example my-gcp-project- */- project_id: string- /** @description BigQuery service account key */- service_account_key: string- }- }+ destination_config:+ | {+ big_query: {+ /**+ * @description BigQuery dataset id+ * @example analytics+ */+ dataset_id: string+ /**+ * @description Maximum number of concurrent write streams+ * @example 8+ */+ max_concurrent_streams?: number+ /**+ * @description Maximum data staleness in minutes+ * @example 5+ */+ max_staleness_mins?: number+ /**+ * @description BigQuery project id+ * @example my-gcp-project+ */+ project_id: string+ /** @description BigQuery service account key */+ service_account_key: string+ }+ }+ | {+ iceberg: {+ supabase: {+ /**+ * @description Catalog token+ * @example A jwt secret+ */+ catalog_token: string+ /**+ * @description Namespace+ * @example my-namespace+ */+ namespace: string+ /**+ * @description Project ref+ * @example abcdefghijklmnopqrst+ */+ project_ref: string+ /**+ * @description S3 access key ID+ * @example 53383b1d0cdb16a3afa63152656aa3cc+ */+ s3_access_key_id: string+ /**+ * @description S3 region+ * @example ap-southeast-1+ */+ s3_region: string+ /**+ * @description S3 secret access key+ * @example 25a0c5e69d847088a3e6ffb901adf4d19bbf74a400dec2ee49f46401039b3258+ */+ s3_secret_access_key: string+ /**+ * @description Warehouse name+ * @example my-warehouse+ */+ warehouse_name: string+ }+ }+ }/*** @description Destination name* @example bq-analytics@@ -5317,6 +5406,89 @@ export interface components {name: stringowner: string}+ CreateScopedAccessTokenBody: {+ /** Format: date-time */+ expires_at?: string+ name: string+ organization_slugs?: string[]+ permissions: (+ | 'organizations_read'+ | 'organizations_write'+ | 'projects_read'+ | 'available_regions_read'+ | 'snippets_read'+ | 'organization_admin_read'+ | 'organization_admin_write'+ | 'members_read'+ | 'members_write'+ | 'project_admin_read'+ | 'project_admin_write'+ | 'advisors_read'+ | 'api_gateway_keys_read'+ | 'api_gateway_keys_write'+ | 'auth_config_read'+ | 'auth_config_write'+ | 'auth_signing_keys_read'+ | 'auth_signing_keys_write'+ | 'backups_read'+ | 'backups_write'+ | 'branching_development_read'+ | 'branching_development_write'+ | 'branching_production_read'+ | 'branching_production_write'+ | 'custom_domain_read'+ | 'custom_domain_write'+ | 'data_api_config_read'+ | 'data_api_config_write'+ | 'database_read'+ | 'database_write'+ | 'database_config_read'+ | 'database_config_write'+ | 'database_network_bans_read'+ | 'database_network_bans_write'+ | 'database_network_restrictions_read'+ | 'database_network_restrictions_write'+ | 'database_migrations_read'+ | 'database_migrations_write'+ | 'database_pooling_config_read'+ | 'database_pooling_config_write'+ | 'database_readonly_config_read'+ | 'database_readonly_config_write'+ | 'database_ssl_config_read'+ | 'database_ssl_config_write'+ | 'database_webhooks_config_read'+ | 'database_webhooks_config_write'+ | 'edge_functions_read'+ | 'edge_functions_write'+ | 'edge_functions_secrets_read'+ | 'edge_functions_secrets_write'+ | 'infra_add-ons_read'+ | 'infra_add-ons_write'+ | 'infra_read_replicas_read'+ | 'infra_read_replicas_write'+ | 'project_snippets_read'+ | 'project_snippets_write'+ | 'storage_read'+ | 'storage_write'+ | 'storage_config_read'+ | 'storage_config_write'+ | 'telemetry_logs_read'+ | 'telemetry_usage_read'+ )[]+ project_refs?: string[]+ }+ CreateScopedAccessTokenResponse: {+ created_at: string+ expires_at: string | null+ id: string+ last_used_at: string | null+ name: string+ organization_slugs?: string[]+ permissions: string[]+ project_refs?: string[]+ token: string+ token_alias: string+ }CreateSourceResponse: {/** @description Source ID */id: number@@ -6095,6 +6267,27 @@ export interface components {}path: string}+ GetScopedAccessTokenResponse: {+ created_at: string+ expires_at: string | null+ id: string+ last_used_at: string | null+ name: string+ organization_slugs?: string[]+ permissions: string[]+ project_refs?: string[]+ token_alias: string+ }+ GetScopedAccessTokensResponse: {+ tokens: {+ created_at: string+ expires_at: string | null+ id: string+ last_used_at: string | null+ name: string+ token_alias: string+ }[]+ }GetSignedUrlBody: {expiresIn: numberoptions?: {@@ -6471,6 +6664,9 @@ export interface components {EXTERNAL_ZOOM_EMAIL_OPTIONAL: booleanEXTERNAL_ZOOM_ENABLED: booleanEXTERNAL_ZOOM_SECRET: string+ HOOK_AFTER_USER_CREATED_ENABLED: boolean+ HOOK_AFTER_USER_CREATED_SECRETS: string+ HOOK_AFTER_USER_CREATED_URI: stringHOOK_BEFORE_USER_CREATED_ENABLED: booleanHOOK_BEFORE_USER_CREATED_SECRETS: stringHOOK_BEFORE_USER_CREATED_URI: string@@ -6541,6 +6737,9 @@ export interface components {MFA_WEB_AUTHN_VERIFY_ENABLED: booleanNIMBUS_OAUTH_CLIENT_ID: string | nullNIMBUS_OAUTH_CLIENT_SECRET: string | null+ OAUTH_SERVER_ALLOW_DYNAMIC_REGISTRATION: boolean+ OAUTH_SERVER_AUTHORIZATION_PATH: string | null+ OAUTH_SERVER_ENABLED: booleanPASSWORD_HIBP_ENABLED: booleanPASSWORD_MIN_LENGTH: numberPASSWORD_REQUIRED_CHARACTERS: string@@ -6683,6 +6882,9 @@ export interface components {url: stringusername?: string | null}+ | {+ dsn: string+ }description?: stringid: numbermetadata: {@@ -7318,6 +7520,7 @@ export interface components {}PauseStatusResponse: {can_restore: boolean+ last_paused_on: string | nulllatest_downloadable_backup_id: number | nullmax_days_till_restore_disabled: numberremaining_days_till_restore_disabled: number | null@@ -7671,11 +7874,8 @@ export interface components {limit: numbername: string}[]- source_project_eligible: boolean/** @enum {string} */source_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise'- target_organization_eligible: boolean | null- target_organization_has_free_project_slots: boolean | null/** @enum {string|null} */target_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise' | nullvalid: boolean@@ -8091,32 +8291,74 @@ export interface components {}ReplicationDestinationResponse: {/** @description Destination configuration */- config: {- big_query: {- /**- * @description BigQuery dataset id- * @example analytics- */- dataset_id: string- /**- * @description Maximum number of concurrent write streams- * @example 8- */- max_concurrent_streams?: number- /**- * @description Maximum data staleness in minutes- * @example 5- */- max_staleness_mins?: number- /**- * @description BigQuery project id- * @example my-gcp-project- */- project_id: string- /** @description BigQuery service account key */- service_account_key: string- }- }+ config:+ | {+ big_query: {+ /**+ * @description BigQuery dataset id+ * @example analytics+ */+ dataset_id: string+ /**+ * @description Maximum number of concurrent write streams+ * @example 8+ */+ max_concurrent_streams?: number+ /**+ * @description Maximum data staleness in minutes+ * @example 5+ */+ max_staleness_mins?: number+ /**+ * @description BigQuery project id+ * @example my-gcp-project+ */+ project_id: string+ /** @description BigQuery service account key */+ service_account_key: string+ }+ }+ | {+ iceberg: {+ supabase: {+ /**+ * @description Catalog token+ * @example A jwt secret+ */+ catalog_token: string+ /**+ * @description Namespace+ * @example my-namespace+ */+ namespace: string+ /**+ * @description Project ref+ * @example abcdefghijklmnopqrst+ */+ project_ref: string+ /**+ * @description S3 access key ID+ * @example 53383b1d0cdb16a3afa63152656aa3cc+ */+ s3_access_key_id: string+ /**+ * @description S3 region+ * @example ap-southeast-1+ */+ s3_region: string+ /**+ * @description S3 secret access key+ * @example 25a0c5e69d847088a3e6ffb901adf4d19bbf74a400dec2ee49f46401039b3258+ */+ s3_secret_access_key: string+ /**+ * @description Warehouse name+ * @example my-warehouse+ */+ warehouse_name: string+ }+ }+ }/*** @description Destination id* @example 2001@@ -8137,32 +8379,74 @@ export interface components {/** @description List of destinations */destinations: {/** @description Destination configuration */- config: {- big_query: {- /**- * @description BigQuery dataset id- * @example analytics- */- dataset_id: string- /**- * @description Maximum number of concurrent write streams- * @example 8- */- max_concurrent_streams?: number- /**- * @description Maximum data staleness in minutes- * @example 5- */- max_staleness_mins?: number- /**- * @description BigQuery project id- * @example my-gcp-project- */- project_id: string- /** @description BigQuery service account key */- service_account_key: string- }- }+ config:+ | {+ big_query: {+ /**+ * @description BigQuery dataset id+ * @example analytics+ */+ dataset_id: string+ /**+ * @description Maximum number of concurrent write streams+ * @example 8+ */+ max_concurrent_streams?: number+ /**+ * @description Maximum data staleness in minutes+ * @example 5+ */+ max_staleness_mins?: number+ /**+ * @description BigQuery project id+ * @example my-gcp-project+ */+ project_id: string+ /** @description BigQuery service account key */+ service_account_key: string+ }+ }+ | {+ iceberg: {+ supabase: {+ /**+ * @description Catalog token+ * @example A jwt secret+ */+ catalog_token: string+ /**+ * @description Namespace+ * @example my-namespace+ */+ namespace: string+ /**+ * @description Project ref+ * @example abcdefghijklmnopqrst+ */+ project_ref: string+ /**+ * @description S3 access key ID+ * @example 53383b1d0cdb16a3afa63152656aa3cc+ */+ s3_access_key_id: string+ /**+ * @description S3 region+ * @example ap-southeast-1+ */+ s3_region: string+ /**+ * @description S3 secret access key+ * @example 25a0c5e69d847088a3e6ffb901adf4d19bbf74a400dec2ee49f46401039b3258+ */+ s3_secret_access_key: string+ /**+ * @description Warehouse name+ * @example my-warehouse+ */+ warehouse_name: string+ }+ }+ }/*** @description Destination id* @example 2001@@ -9192,10 +9476,22 @@ export interface components {url: stringusername?: string | null}+ | {+ dsn: string+ }description?: stringname?: string/** @enum {string} */- type: 'postgres' | 'bigquery' | 'webhook' | 'datadog' | 'elastic' | 'loki'+ type:+ | 'postgres'+ | 'bigquery'+ | 'clickhouse'+ | 'webhook'+ | 'datadog'+ | 'elastic'+ | 'loki'+ | 'sentry'+ | 's3'}UpdateCollectionBody: {name: string@@ -9357,6 +9653,9 @@ export interface components {EXTERNAL_ZOOM_EMAIL_OPTIONAL?: boolean | nullEXTERNAL_ZOOM_ENABLED?: boolean | nullEXTERNAL_ZOOM_SECRET?: string | null+ HOOK_AFTER_USER_CREATED_ENABLED?: boolean | null+ HOOK_AFTER_USER_CREATED_SECRETS?: string | null+ HOOK_AFTER_USER_CREATED_URI?: string | nullHOOK_BEFORE_USER_CREATED_ENABLED?: boolean | nullHOOK_BEFORE_USER_CREATED_SECRETS?: string | nullHOOK_BEFORE_USER_CREATED_URI?: string | null@@ -9427,6 +9726,9 @@ export interface components {MFA_WEB_AUTHN_VERIFY_ENABLED?: boolean | nullNIMBUS_OAUTH_CLIENT_ID?: string | nullNIMBUS_OAUTH_CLIENT_SECRET?: string | null+ OAUTH_SERVER_ALLOW_DYNAMIC_REGISTRATION?: boolean | null+ OAUTH_SERVER_AUTHORIZATION_PATH?: string | null+ OAUTH_SERVER_ENABLED?: boolean | nullPASSWORD_HIBP_ENABLED?: boolean | nullPASSWORD_MIN_LENGTH?: number | null/** @enum {string|null} */@@ -9494,6 +9796,9 @@ export interface components {URI_ALLOW_LIST?: string | null}UpdateGoTrueConfigHooksBody: {+ HOOK_AFTER_USER_CREATED_ENABLED?: boolean | null+ HOOK_AFTER_USER_CREATED_SECRETS?: string | null+ HOOK_AFTER_USER_CREATED_URI?: string | nullHOOK_BEFORE_USER_CREATED_ENABLED?: boolean | nullHOOK_BEFORE_USER_CREATED_SECRETS?: string | nullHOOK_BEFORE_USER_CREATED_URI?: string | null@@ -9689,32 +9994,74 @@ export interface components {}UpdateReplicationDestinationBody: {/** @description Destination configuration */- config: {- big_query: {- /**- * @description BigQuery dataset id- * @example analytics- */- dataset_id: string- /**- * @description Maximum number of concurrent write streams- * @example 8- */- max_concurrent_streams?: number- /**- * @description Maximum data staleness in minutes- * @example 5- */- max_staleness_mins?: number- /**- * @description BigQuery project id- * @example my-gcp-project- */- project_id: string- /** @description BigQuery service account key */- service_account_key: string- }- }+ config:+ | {+ big_query: {+ /**+ * @description BigQuery dataset id+ * @example analytics+ */+ dataset_id: string+ /**+ * @description Maximum number of concurrent write streams+ * @example 8+ */+ max_concurrent_streams?: number+ /**+ * @description Maximum data staleness in minutes+ * @example 5+ */+ max_staleness_mins?: number+ /**+ * @description BigQuery project id+ * @example my-gcp-project+ */+ project_id: string+ /** @description BigQuery service account key */+ service_account_key: string+ }+ }+ | {+ iceberg: {+ supabase: {+ /**+ * @description Catalog token+ * @example A jwt secret+ */+ catalog_token: string+ /**+ * @description Namespace+ * @example my-namespace+ */+ namespace: string+ /**+ * @description Project ref+ * @example abcdefghijklmnopqrst+ */+ project_ref: string+ /**+ * @description S3 access key ID+ * @example 53383b1d0cdb16a3afa63152656aa3cc+ */+ s3_access_key_id: string+ /**+ * @description S3 region+ * @example ap-southeast-1+ */+ s3_region: string+ /**+ * @description S3 secret access key+ * @example 25a0c5e69d847088a3e6ffb901adf4d19bbf74a400dec2ee49f46401039b3258+ */+ s3_secret_access_key: string+ /**+ * @description Warehouse name+ * @example my-warehouse+ */+ warehouse_name: string+ }+ }+ }/*** @description Destination name* @example bq-analytics@@ -9723,32 +10070,74 @@ export interface components {}UpdateReplicationDestinationPipelineBody: {/** @description Destination configuration */- destination_config: {- big_query: {- /**- * @description BigQuery dataset id- * @example analytics- */- dataset_id: string- /**- * @description Maximum number of concurrent write streams- * @example 8- */- max_concurrent_streams?: number- /**- * @description Maximum data staleness in minutes- * @example 5- */- max_staleness_mins?: number- /**- * @description BigQuery project id- * @example my-gcp-project- */- project_id: string- /** @description BigQuery service account key */- service_account_key: string- }- }+ destination_config:+ | {+ big_query: {+ /**+ * @description BigQuery dataset id+ * @example analytics+ */+ dataset_id: string+ /**+ * @description Maximum number of concurrent write streams+ * @example 8+ */+ max_concurrent_streams?: number+ /**+ * @description Maximum data staleness in minutes+ * @example 5+ */+ max_staleness_mins?: number+ /**+ * @description BigQuery project id+ * @example my-gcp-project+ */+ project_id: string+ /** @description BigQuery service account key */+ service_account_key: string+ }+ }+ | {+ iceberg: {+ supabase: {+ /**+ * @description Catalog token+ * @example A jwt secret+ */+ catalog_token: string+ /**+ * @description Namespace+ * @example my-namespace+ */+ namespace: string+ /**+ * @description Project ref+ * @example abcdefghijklmnopqrst+ */+ project_ref: string+ /**+ * @description S3 access key ID+ * @example 53383b1d0cdb16a3afa63152656aa3cc+ */+ s3_access_key_id: string+ /**+ * @description S3 region+ * @example ap-southeast-1+ */+ s3_region: string+ /**+ * @description S3 secret access key+ * @example 25a0c5e69d847088a3e6ffb901adf4d19bbf74a400dec2ee49f46401039b3258+ */+ s3_secret_access_key: string+ /**+ * @description Warehouse name+ * @example my-warehouse+ */+ warehouse_name: string+ }+ }+ }/*** @description Destination name* @example bq-analytics@@ -11775,7 +12164,7 @@ export interface operations {}header?: neverpath: {- connectionId: number+ connection_id: number}cookie?: never}@@ -11803,8 +12192,8 @@ export interface operations {query?: neverheader?: neverpath: {- branchName: string- connectionId: number+ branch_name: string+ connection_id: number}cookie?: never}@@ -11972,7 +12361,7 @@ export interface operations {query?: neverheader?: neverpath: {- repositoryId: number+ repository_id: number}cookie?: never}@@ -12000,8 +12389,8 @@ export interface operations {query?: neverheader?: neverpath: {- branchName: string- repositoryId: number+ branch_name: string+ repository_id: number}cookie?: never}@@ -12327,7 +12716,7 @@ export interface operations {query?: neverheader?: neverpath: {- project_ref: string+ ref: string}cookie?: never}@@ -13036,7 +13425,7 @@ export interface operations {query?: neverheader?: neverpath: {- invoiceId: string+ invoice_id: string/** @description Organization slug */slug: string}@@ -13087,7 +13476,7 @@ export interface operations {query?: neverheader?: neverpath: {- invoiceId: string+ invoice_id: string/** @description Organization slug */slug: string}@@ -13645,157 +14034,6 @@ export interface operations {}}}- OrgDailyStatsController_getDailyStats: {- parameters: {- query: {- endDate: string- interval?: string- metric:- | 'EGRESS'- | 'CACHED_EGRESS'- | 'DATABASE_SIZE'- | 'STORAGE_SIZE'- | 'MONTHLY_ACTIVE_USERS'- | 'MONTHLY_ACTIVE_SSO_USERS'- | 'FUNCTION_INVOCATIONS'- | 'FUNCTION_CPU_MILLISECONDS'- | 'STORAGE_IMAGES_TRANSFORMED'- | 'REALTIME_MESSAGE_COUNT'- | 'REALTIME_PEAK_CONNECTIONS'- | 'DISK_SIZE_GB_HOURS_GP3'- | 'DISK_SIZE_GB_HOURS_IO2'- | 'AUTH_MFA_PHONE'- | 'AUTH_MFA_WEB_AUTHN'- | 'LOG_DRAIN_EVENTS'- | 'MONTHLY_ACTIVE_THIRD_PARTY_USERS'- | 'DISK_THROUGHPUT_GP3'- | 'DISK_IOPS_GP3'- | 'DISK_IOPS_IO2'- | 'COMPUTE_HOURS_BRANCH'- | 'COMPUTE_HOURS_XS'- | 'COMPUTE_HOURS_SM'- | 'COMPUTE_HOURS_MD'- | 'COMPUTE_HOURS_L'- | 'COMPUTE_HOURS_XL'- | 'COMPUTE_HOURS_2XL'- | 'COMPUTE_HOURS_4XL'- | 'COMPUTE_HOURS_8XL'- | 'COMPUTE_HOURS_12XL'- | 'COMPUTE_HOURS_16XL'- | 'COMPUTE_HOURS_24XL'- | 'COMPUTE_HOURS_24XL_OPTIMIZED_CPU'- | 'COMPUTE_HOURS_24XL_OPTIMIZED_MEMORY'- | 'COMPUTE_HOURS_24XL_HIGH_MEMORY'- | 'COMPUTE_HOURS_48XL'- | 'COMPUTE_HOURS_48XL_OPTIMIZED_CPU'- | 'COMPUTE_HOURS_48XL_OPTIMIZED_MEMORY'- | 'COMPUTE_HOURS_48XL_HIGH_MEMORY'- | 'CUSTOM_DOMAIN'- | 'PITR_7'- | 'PITR_14'- | 'PITR_28'- | 'IPV4'- | 'LOG_DRAIN'- projectRef?: string- startDate: string- }- header?: never- path: {- /** @description Organization slug */- slug: 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 get daily organization stats */- 500: {- headers: {- [name: string]: unknown- }- content?: never- }- }- }- OrgDailyStatsController_getDailyStatsCompute: {- parameters: {- query: {- endDate: string- projectRef?: string- startDate: string- }- header?: never- path: {- /** @description Organization slug */- slug: 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 get daily organization stats for compute */- 500: {- headers: {- [name: string]: unknown- }- content?: never- }- }- }OrgDocumentsController_createDpaDocument: {parameters: {query?: never@@ -18480,6 +18718,116 @@ export interface operations {}}}+ ScopedAccessTokensController_getAccessTokens: {+ parameters: {+ query?: never+ header?: never+ path?: never+ cookie?: never+ }+ requestBody?: never+ responses: {+ 200: {+ headers: {+ [name: string]: unknown+ }+ content: {+ 'application/json': components['schemas']['GetScopedAccessTokensResponse']+ }+ }+ /** @description Failed to get user's scoped access tokens */+ 500: {+ headers: {+ [name: string]: unknown+ }+ content?: never+ }+ }+ }+ ScopedAccessTokensController_createAccessToken: {+ parameters: {+ query?: never+ header?: never+ path?: never+ cookie?: never+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['CreateScopedAccessTokenBody']+ }+ }+ responses: {+ 201: {+ headers: {+ [name: string]: unknown+ }+ content: {+ 'application/json': components['schemas']['CreateScopedAccessTokenResponse']+ }+ }+ /** @description Failed to create scoped access token */+ 500: {+ headers: {+ [name: string]: unknown+ }+ content?: never+ }+ }+ }+ ScopedAccessTokensController_getAccessToken: {+ parameters: {+ query?: never+ header?: never+ path: {+ id: string+ }+ cookie?: never+ }+ requestBody?: never+ responses: {+ 200: {+ headers: {+ [name: string]: unknown+ }+ content: {+ 'application/json': components['schemas']['GetScopedAccessTokenResponse']+ }+ }+ /** @description Failed to get scoped access token */+ 500: {+ headers: {+ [name: string]: unknown+ }+ content?: never+ }+ }+ }+ ScopedAccessTokensController_deleteAccessToken: {+ parameters: {+ query?: never+ header?: never+ path: {+ id: string+ }+ cookie?: never+ }+ requestBody?: never+ responses: {+ 200: {+ headers: {+ [name: string]: unknown+ }+ content?: never+ }+ /** @description Failed to delete scoped access token */+ 500: {+ headers: {+ [name: string]: unknown+ }+ content?: never+ }+ }+ }ProjectsController_getProjects: {parameters: {query?: never@@ -18524,7 +18872,12 @@ export interface operations {}ProjectsResourceWarningsController_getProjectsResourceWarnings: {parameters: {- query?: never+ query?: {+ /** @description Project ref */+ ref?: string+ /** @description Organization slug */+ slug?: string+ }header?: neverpath?: nevercookie?: never