/** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ type BranchDetailResponseStatus = typeof BranchDetailResponseStatus[keyof typeof BranchDetailResponseStatus]; declare const BranchDetailResponseStatus: { readonly INACTIVE: "INACTIVE"; readonly ACTIVE_HEALTHY: "ACTIVE_HEALTHY"; readonly ACTIVE_UNHEALTHY: "ACTIVE_UNHEALTHY"; readonly COMING_UP: "COMING_UP"; readonly UNKNOWN: "UNKNOWN"; readonly GOING_DOWN: "GOING_DOWN"; readonly INIT_FAILED: "INIT_FAILED"; readonly REMOVED: "REMOVED"; readonly RESTORING: "RESTORING"; readonly UPGRADING: "UPGRADING"; readonly PAUSING: "PAUSING"; readonly RESTORE_FAILED: "RESTORE_FAILED"; readonly RESTARTING: "RESTARTING"; readonly PAUSE_FAILED: "PAUSE_FAILED"; readonly RESIZING: "RESIZING"; }; interface BranchDetailResponse { ref: string; postgres_version: string; postgres_engine: string; release_channel: string; status: BranchDetailResponseStatus; db_host: string; /** @exclusiveMinimum 0 */ db_port: number; db_user?: string; db_pass?: string; jwt_secret?: string; } type UpdateBranchBodyStatus = typeof UpdateBranchBodyStatus[keyof typeof UpdateBranchBodyStatus]; declare const UpdateBranchBodyStatus: { readonly CREATING_PROJECT: "CREATING_PROJECT"; readonly RUNNING_MIGRATIONS: "RUNNING_MIGRATIONS"; readonly MIGRATIONS_PASSED: "MIGRATIONS_PASSED"; readonly MIGRATIONS_FAILED: "MIGRATIONS_FAILED"; readonly FUNCTIONS_DEPLOYED: "FUNCTIONS_DEPLOYED"; readonly FUNCTIONS_FAILED: "FUNCTIONS_FAILED"; }; interface UpdateBranchBody { branch_name?: string; git_branch?: string; /** * This field is deprecated and will be ignored. Use v1-reset-a-branch endpoint directly instead. * @deprecated */ reset_on_push?: boolean; persistent?: boolean; status?: UpdateBranchBodyStatus; request_review?: boolean; /** HTTP endpoint to receive branch status updates. */ notify_url?: string; } type BranchResponseStatus = typeof BranchResponseStatus[keyof typeof BranchResponseStatus]; declare const BranchResponseStatus: { readonly CREATING_PROJECT: "CREATING_PROJECT"; readonly RUNNING_MIGRATIONS: "RUNNING_MIGRATIONS"; readonly MIGRATIONS_PASSED: "MIGRATIONS_PASSED"; readonly MIGRATIONS_FAILED: "MIGRATIONS_FAILED"; readonly FUNCTIONS_DEPLOYED: "FUNCTIONS_DEPLOYED"; readonly FUNCTIONS_FAILED: "FUNCTIONS_FAILED"; }; type BranchResponsePreviewProjectStatus = typeof BranchResponsePreviewProjectStatus[keyof typeof BranchResponsePreviewProjectStatus]; declare const BranchResponsePreviewProjectStatus: { readonly INACTIVE: "INACTIVE"; readonly ACTIVE_HEALTHY: "ACTIVE_HEALTHY"; readonly ACTIVE_UNHEALTHY: "ACTIVE_UNHEALTHY"; readonly COMING_UP: "COMING_UP"; readonly UNKNOWN: "UNKNOWN"; readonly GOING_DOWN: "GOING_DOWN"; readonly INIT_FAILED: "INIT_FAILED"; readonly REMOVED: "REMOVED"; readonly RESTORING: "RESTORING"; readonly UPGRADING: "UPGRADING"; readonly PAUSING: "PAUSING"; readonly RESTORE_FAILED: "RESTORE_FAILED"; readonly RESTARTING: "RESTARTING"; readonly PAUSE_FAILED: "PAUSE_FAILED"; readonly RESIZING: "RESIZING"; }; interface BranchResponse { id: string; name: string; project_ref: string; parent_project_ref: string; is_default: boolean; git_branch?: string; pr_number?: number; /** * This field is deprecated and will not be populated. * @deprecated */ latest_check_run_id?: number; persistent: boolean; status: BranchResponseStatus; created_at: string; updated_at: string; review_requested_at?: string; with_data: boolean; notify_url?: string; deletion_scheduled_at?: string; preview_project_status?: BranchResponsePreviewProjectStatus; } type BranchDeleteResponseMessage = typeof BranchDeleteResponseMessage[keyof typeof BranchDeleteResponseMessage]; declare const BranchDeleteResponseMessage: { readonly ok: "ok"; }; interface BranchDeleteResponse { message: BranchDeleteResponseMessage; } interface BranchActionBody { migration_version?: string; } type BranchUpdateResponseMessage = typeof BranchUpdateResponseMessage[keyof typeof BranchUpdateResponseMessage]; declare const BranchUpdateResponseMessage: { readonly ok: "ok"; }; interface BranchUpdateResponse { workflow_run_id: string; message: BranchUpdateResponseMessage; } type BranchRestoreResponseMessage = typeof BranchRestoreResponseMessage[keyof typeof BranchRestoreResponseMessage]; declare const BranchRestoreResponseMessage: { readonly Branch_restoration_initiated: "Branch restoration initiated"; }; interface BranchRestoreResponse { message: BranchRestoreResponseMessage; } type V1ListProjectsPaginatedResponseProjectsItemInfraComputeSize = typeof V1ListProjectsPaginatedResponseProjectsItemInfraComputeSize[keyof typeof V1ListProjectsPaginatedResponseProjectsItemInfraComputeSize]; declare const V1ListProjectsPaginatedResponseProjectsItemInfraComputeSize: { readonly pico: "pico"; readonly nano: "nano"; readonly micro: "micro"; readonly small: "small"; readonly medium: "medium"; readonly large: "large"; readonly xlarge: "xlarge"; readonly '2xlarge': "2xlarge"; readonly '4xlarge': "4xlarge"; readonly '8xlarge': "8xlarge"; readonly '12xlarge': "12xlarge"; readonly '16xlarge': "16xlarge"; readonly '24xlarge': "24xlarge"; readonly '24xlarge_optimized_memory': "24xlarge_optimized_memory"; readonly '24xlarge_optimized_cpu': "24xlarge_optimized_cpu"; readonly '24xlarge_high_memory': "24xlarge_high_memory"; readonly '48xlarge': "48xlarge"; readonly '48xlarge_optimized_memory': "48xlarge_optimized_memory"; readonly '48xlarge_optimized_cpu': "48xlarge_optimized_cpu"; readonly '48xlarge_high_memory': "48xlarge_high_memory"; }; type V1ListProjectsPaginatedResponseProjectsItem = { id: number; cloud_provider: string; /** @nullable */ inserted_at: string | null; name: string; organization_id: number; organization_slug: string; ref: string; region: string; status: string; /** @nullable */ subscription_id: string | null; is_branch_enabled: boolean; /** @nullable */ is_physical_backups_enabled: boolean | null; preview_branch_refs: string[]; disk_volume_size_gb?: number; infra_compute_size?: V1ListProjectsPaginatedResponseProjectsItemInfraComputeSize; }; type V1ListProjectsPaginatedResponsePagination = { /** Total number of projects. Use this to calculate the total number of pages. */ count: number; /** Maximum number of projects per page (actual number may be less) */ limit: number; /** Number of projects skipped in this response */ offset: number; }; interface V1ListProjectsPaginatedResponse { projects: V1ListProjectsPaginatedResponseProjectsItem[]; pagination: V1ListProjectsPaginatedResponsePagination; } type V1ProjectWithDatabaseResponseStatus = typeof V1ProjectWithDatabaseResponseStatus[keyof typeof V1ProjectWithDatabaseResponseStatus]; declare const V1ProjectWithDatabaseResponseStatus: { readonly INACTIVE: "INACTIVE"; readonly ACTIVE_HEALTHY: "ACTIVE_HEALTHY"; readonly ACTIVE_UNHEALTHY: "ACTIVE_UNHEALTHY"; readonly COMING_UP: "COMING_UP"; readonly UNKNOWN: "UNKNOWN"; readonly GOING_DOWN: "GOING_DOWN"; readonly INIT_FAILED: "INIT_FAILED"; readonly REMOVED: "REMOVED"; readonly RESTORING: "RESTORING"; readonly UPGRADING: "UPGRADING"; readonly PAUSING: "PAUSING"; readonly RESTORE_FAILED: "RESTORE_FAILED"; readonly RESTARTING: "RESTARTING"; readonly PAUSE_FAILED: "PAUSE_FAILED"; readonly RESIZING: "RESIZING"; }; type V1ProjectWithDatabaseResponseDatabase = { /** Database host */ host: string; /** Database version */ version: string; /** Database engine */ postgres_engine: string; /** Release channel */ release_channel: string; }; interface V1ProjectWithDatabaseResponse { /** * Deprecated: Use `ref` instead. * @deprecated */ id: string; /** * Project ref * @minLength 20 * @maxLength 20 * @pattern ^[a-z]+$ */ ref: string; /** * Deprecated: Use `organization_slug` instead. * @deprecated */ organization_id: string; /** * Organization slug * @pattern ^[\w-]+$ */ organization_slug: string; /** Name of your project */ name: string; /** Region of your project */ region: string; /** Creation timestamp */ created_at: string; status: V1ProjectWithDatabaseResponseStatus; database: V1ProjectWithDatabaseResponseDatabase; } /** * Subscription Plan is now set on organization level and is ignored in this request * @deprecated */ type V1CreateProjectBodyPlan = typeof V1CreateProjectBodyPlan[keyof typeof V1CreateProjectBodyPlan]; declare const V1CreateProjectBodyPlan: { readonly free: "free"; readonly pro: "pro"; }; /** * Region you want your server to reside in. Use region_selection instead. * @deprecated */ type V1CreateProjectBodyRegion = typeof V1CreateProjectBodyRegion[keyof typeof V1CreateProjectBodyRegion]; declare const V1CreateProjectBodyRegion: { readonly 'us-east-1': "us-east-1"; readonly 'us-east-2': "us-east-2"; readonly 'us-west-1': "us-west-1"; readonly 'us-west-2': "us-west-2"; readonly 'ap-east-1': "ap-east-1"; readonly 'ap-southeast-1': "ap-southeast-1"; readonly 'ap-northeast-1': "ap-northeast-1"; readonly 'ap-northeast-2': "ap-northeast-2"; readonly 'ap-southeast-2': "ap-southeast-2"; readonly 'eu-west-1': "eu-west-1"; readonly 'eu-west-2': "eu-west-2"; readonly 'eu-west-3': "eu-west-3"; readonly 'eu-north-1': "eu-north-1"; readonly 'eu-central-1': "eu-central-1"; readonly 'eu-central-2': "eu-central-2"; readonly 'ca-central-1': "ca-central-1"; readonly 'ap-south-1': "ap-south-1"; readonly 'sa-east-1': "sa-east-1"; }; /** * Region selection. Only one of region or region_selection can be specified. */ type V1CreateProjectBodyRegionSelection = { type: 'specific'; /** * Specific region code. The codes supported are not a stable API, and should be retrieved from the /available-regions endpoint. * @minLength 1 */ 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'; } | { type: 'smartGroup'; /** The Smart Region Group's code. The codes supported are not a stable API, and should be retrieved from the /available-regions endpoint. */ code: 'americas' | 'emea' | 'apac'; }; type V1CreateProjectBodyDesiredInstanceSize = typeof V1CreateProjectBodyDesiredInstanceSize[keyof typeof V1CreateProjectBodyDesiredInstanceSize]; declare const V1CreateProjectBodyDesiredInstanceSize: { readonly pico: "pico"; readonly nano: "nano"; readonly micro: "micro"; readonly small: "small"; readonly medium: "medium"; readonly large: "large"; readonly xlarge: "xlarge"; readonly '2xlarge': "2xlarge"; readonly '4xlarge': "4xlarge"; readonly '8xlarge': "8xlarge"; readonly '12xlarge': "12xlarge"; readonly '16xlarge': "16xlarge"; readonly '24xlarge': "24xlarge"; readonly '24xlarge_optimized_memory': "24xlarge_optimized_memory"; readonly '24xlarge_optimized_cpu': "24xlarge_optimized_cpu"; readonly '24xlarge_high_memory': "24xlarge_high_memory"; readonly '48xlarge': "48xlarge"; readonly '48xlarge_optimized_memory': "48xlarge_optimized_memory"; readonly '48xlarge_optimized_cpu': "48xlarge_optimized_cpu"; readonly '48xlarge_high_memory': "48xlarge_high_memory"; }; /** * Release channel. If not provided, GA will be used. * @deprecated */ type V1CreateProjectBodyReleaseChannel = typeof V1CreateProjectBodyReleaseChannel[keyof typeof V1CreateProjectBodyReleaseChannel]; declare const V1CreateProjectBodyReleaseChannel: { readonly internal: "internal"; readonly alpha: "alpha"; readonly beta: "beta"; readonly ga: "ga"; readonly withdrawn: "withdrawn"; readonly preview: "preview"; }; /** * Postgres engine version. If not provided, the latest version will be used. * @deprecated */ type V1CreateProjectBodyPostgresEngine = typeof V1CreateProjectBodyPostgresEngine[keyof typeof V1CreateProjectBodyPostgresEngine]; declare const V1CreateProjectBodyPostgresEngine: { readonly NUMBER_15: "15"; readonly NUMBER_17: "17"; readonly '17-oriole': "17-oriole"; }; interface V1CreateProjectBody { /** Database password */ db_pass: string; /** * Name of your project * @maxLength 256 */ name: string; /** * Deprecated: Use `organization_slug` instead. * @deprecated */ organization_id?: string; /** * Organization slug * @pattern ^[\w-]+$ */ organization_slug: string; /** * Subscription Plan is now set on organization level and is ignored in this request * @deprecated */ plan?: V1CreateProjectBodyPlan; /** * Region you want your server to reside in. Use region_selection instead. * @deprecated */ region?: V1CreateProjectBodyRegion; /** Region selection. Only one of region or region_selection can be specified. */ region_selection?: V1CreateProjectBodyRegionSelection; /** * This field is deprecated and is ignored in this request * @deprecated */ kps_enabled?: boolean; desired_instance_size?: V1CreateProjectBodyDesiredInstanceSize; /** Template URL used to create the project from the CLI. */ template_url?: string; /** * Release channel. If not provided, GA will be used. * @deprecated */ release_channel?: V1CreateProjectBodyReleaseChannel; /** * Postgres engine version. If not provided, the latest version will be used. * @deprecated */ postgres_engine?: V1CreateProjectBodyPostgresEngine; } type V1ProjectResponseStatus = typeof V1ProjectResponseStatus[keyof typeof V1ProjectResponseStatus]; declare const V1ProjectResponseStatus: { readonly INACTIVE: "INACTIVE"; readonly ACTIVE_HEALTHY: "ACTIVE_HEALTHY"; readonly ACTIVE_UNHEALTHY: "ACTIVE_UNHEALTHY"; readonly COMING_UP: "COMING_UP"; readonly UNKNOWN: "UNKNOWN"; readonly GOING_DOWN: "GOING_DOWN"; readonly INIT_FAILED: "INIT_FAILED"; readonly REMOVED: "REMOVED"; readonly RESTORING: "RESTORING"; readonly UPGRADING: "UPGRADING"; readonly PAUSING: "PAUSING"; readonly RESTORE_FAILED: "RESTORE_FAILED"; readonly RESTARTING: "RESTARTING"; readonly PAUSE_FAILED: "PAUSE_FAILED"; readonly RESIZING: "RESIZING"; }; interface V1ProjectResponse { /** * Deprecated: Use `ref` instead. * @deprecated */ id: string; /** * Project ref * @minLength 20 * @maxLength 20 * @pattern ^[a-z]+$ */ ref: string; /** * Deprecated: Use `organization_slug` instead. * @deprecated */ organization_id: string; /** * Organization slug * @pattern ^[\w-]+$ */ organization_slug: string; /** Name of your project */ name: string; /** Region of your project */ region: string; /** Creation timestamp */ created_at: string; status: V1ProjectResponseStatus; } type RegionsInfoRecommendationsSmartGroupCode = typeof RegionsInfoRecommendationsSmartGroupCode[keyof typeof RegionsInfoRecommendationsSmartGroupCode]; declare const RegionsInfoRecommendationsSmartGroupCode: { readonly americas: "americas"; readonly emea: "emea"; readonly apac: "apac"; }; type RegionsInfoRecommendationsSmartGroupType = typeof RegionsInfoRecommendationsSmartGroupType[keyof typeof RegionsInfoRecommendationsSmartGroupType]; declare const RegionsInfoRecommendationsSmartGroupType: { readonly smartGroup: "smartGroup"; }; type RegionsInfoRecommendationsSmartGroup = { name: string; code: RegionsInfoRecommendationsSmartGroupCode; type: RegionsInfoRecommendationsSmartGroupType; }; type RegionsInfoRecommendationsSpecificItemCode = typeof RegionsInfoRecommendationsSpecificItemCode[keyof typeof RegionsInfoRecommendationsSpecificItemCode]; declare const RegionsInfoRecommendationsSpecificItemCode: { readonly 'us-east-1': "us-east-1"; readonly 'us-east-2': "us-east-2"; readonly 'us-west-1': "us-west-1"; readonly 'us-west-2': "us-west-2"; readonly 'ap-southeast-1': "ap-southeast-1"; readonly 'ap-northeast-1': "ap-northeast-1"; readonly 'ap-northeast-2': "ap-northeast-2"; readonly 'ap-east-1': "ap-east-1"; readonly 'ap-southeast-2': "ap-southeast-2"; readonly 'eu-west-1': "eu-west-1"; readonly 'eu-west-2': "eu-west-2"; readonly 'eu-west-3': "eu-west-3"; readonly 'eu-north-1': "eu-north-1"; readonly 'eu-central-1': "eu-central-1"; readonly 'eu-central-2': "eu-central-2"; readonly 'ca-central-1': "ca-central-1"; readonly 'ap-south-1': "ap-south-1"; readonly 'sa-east-1': "sa-east-1"; }; type RegionsInfoRecommendationsSpecificItemType = typeof RegionsInfoRecommendationsSpecificItemType[keyof typeof RegionsInfoRecommendationsSpecificItemType]; declare const RegionsInfoRecommendationsSpecificItemType: { readonly specific: "specific"; }; type RegionsInfoRecommendationsSpecificItemProvider = typeof RegionsInfoRecommendationsSpecificItemProvider[keyof typeof RegionsInfoRecommendationsSpecificItemProvider]; declare const RegionsInfoRecommendationsSpecificItemProvider: { readonly AWS: "AWS"; readonly FLY: "FLY"; readonly AWS_K8S: "AWS_K8S"; readonly AWS_NIMBUS: "AWS_NIMBUS"; }; type RegionsInfoRecommendationsSpecificItemStatus = typeof RegionsInfoRecommendationsSpecificItemStatus[keyof typeof RegionsInfoRecommendationsSpecificItemStatus]; declare const RegionsInfoRecommendationsSpecificItemStatus: { readonly capacity: "capacity"; readonly other: "other"; }; type RegionsInfoRecommendationsSpecificItem = { name: string; code: RegionsInfoRecommendationsSpecificItemCode; type: RegionsInfoRecommendationsSpecificItemType; provider: RegionsInfoRecommendationsSpecificItemProvider; status?: RegionsInfoRecommendationsSpecificItemStatus; }; type RegionsInfoRecommendations = { smartGroup: RegionsInfoRecommendationsSmartGroup; specific: RegionsInfoRecommendationsSpecificItem[]; }; type RegionsInfoAllSmartGroupItemCode = typeof RegionsInfoAllSmartGroupItemCode[keyof typeof RegionsInfoAllSmartGroupItemCode]; declare const RegionsInfoAllSmartGroupItemCode: { readonly americas: "americas"; readonly emea: "emea"; readonly apac: "apac"; }; type RegionsInfoAllSmartGroupItemType = typeof RegionsInfoAllSmartGroupItemType[keyof typeof RegionsInfoAllSmartGroupItemType]; declare const RegionsInfoAllSmartGroupItemType: { readonly smartGroup: "smartGroup"; }; type RegionsInfoAllSmartGroupItem = { name: string; code: RegionsInfoAllSmartGroupItemCode; type: RegionsInfoAllSmartGroupItemType; }; type RegionsInfoAllSpecificItemCode = typeof RegionsInfoAllSpecificItemCode[keyof typeof RegionsInfoAllSpecificItemCode]; declare const RegionsInfoAllSpecificItemCode: { readonly 'us-east-1': "us-east-1"; readonly 'us-east-2': "us-east-2"; readonly 'us-west-1': "us-west-1"; readonly 'us-west-2': "us-west-2"; readonly 'ap-southeast-1': "ap-southeast-1"; readonly 'ap-northeast-1': "ap-northeast-1"; readonly 'ap-northeast-2': "ap-northeast-2"; readonly 'ap-east-1': "ap-east-1"; readonly 'ap-southeast-2': "ap-southeast-2"; readonly 'eu-west-1': "eu-west-1"; readonly 'eu-west-2': "eu-west-2"; readonly 'eu-west-3': "eu-west-3"; readonly 'eu-north-1': "eu-north-1"; readonly 'eu-central-1': "eu-central-1"; readonly 'eu-central-2': "eu-central-2"; readonly 'ca-central-1': "ca-central-1"; readonly 'ap-south-1': "ap-south-1"; readonly 'sa-east-1': "sa-east-1"; }; type RegionsInfoAllSpecificItemType = typeof RegionsInfoAllSpecificItemType[keyof typeof RegionsInfoAllSpecificItemType]; declare const RegionsInfoAllSpecificItemType: { readonly specific: "specific"; }; type RegionsInfoAllSpecificItemProvider = typeof RegionsInfoAllSpecificItemProvider[keyof typeof RegionsInfoAllSpecificItemProvider]; declare const RegionsInfoAllSpecificItemProvider: { readonly AWS: "AWS"; readonly FLY: "FLY"; readonly AWS_K8S: "AWS_K8S"; readonly AWS_NIMBUS: "AWS_NIMBUS"; }; type RegionsInfoAllSpecificItemStatus = typeof RegionsInfoAllSpecificItemStatus[keyof typeof RegionsInfoAllSpecificItemStatus]; declare const RegionsInfoAllSpecificItemStatus: { readonly capacity: "capacity"; readonly other: "other"; }; type RegionsInfoAllSpecificItem = { name: string; code: RegionsInfoAllSpecificItemCode; type: RegionsInfoAllSpecificItemType; provider: RegionsInfoAllSpecificItemProvider; status?: RegionsInfoAllSpecificItemStatus; }; type RegionsInfoAll = { smartGroup: RegionsInfoAllSmartGroupItem[]; specific: RegionsInfoAllSpecificItem[]; }; interface RegionsInfo { recommendations: RegionsInfoRecommendations; all: RegionsInfoAll; } interface OrganizationResponseV1 { /** * Deprecated: Use `slug` instead. * @deprecated */ id: string; /** * Organization slug * @pattern ^[\w-]+$ */ slug: string; name: string; } interface CreateOrganizationV1 { /** @maxLength 256 */ name: string; } type OAuthTokenBodyGrantType = typeof OAuthTokenBodyGrantType[keyof typeof OAuthTokenBodyGrantType]; declare const OAuthTokenBodyGrantType: { readonly authorization_code: "authorization_code"; readonly refresh_token: "refresh_token"; }; interface OAuthTokenBody { grant_type?: OAuthTokenBodyGrantType; client_id?: string; client_secret?: string; code?: string; code_verifier?: string; redirect_uri?: string; refresh_token?: string; /** Resource indicator for MCP (Model Context Protocol) clients */ resource?: string; scope?: string; } type OAuthTokenResponseTokenType = typeof OAuthTokenResponseTokenType[keyof typeof OAuthTokenResponseTokenType]; declare const OAuthTokenResponseTokenType: { readonly Bearer: "Bearer"; }; interface OAuthTokenResponse { access_token: string; refresh_token: string; expires_in: number; token_type: OAuthTokenResponseTokenType; } interface OAuthRevokeTokenBody { client_id: string; client_secret: string; refresh_token: string; } type SnippetListDataItemType = typeof SnippetListDataItemType[keyof typeof SnippetListDataItemType]; declare const SnippetListDataItemType: { readonly sql: "sql"; }; type SnippetListDataItemVisibility = typeof SnippetListDataItemVisibility[keyof typeof SnippetListDataItemVisibility]; declare const SnippetListDataItemVisibility: { readonly user: "user"; readonly project: "project"; readonly org: "org"; readonly public: "public"; }; type SnippetListDataItemProject = { id: number; name: string; }; type SnippetListDataItemOwner = { id: number; username: string; }; type SnippetListDataItemUpdatedBy = { id: number; username: string; }; type SnippetListDataItem = { id: string; inserted_at: string; updated_at: string; type: SnippetListDataItemType; visibility: SnippetListDataItemVisibility; name: string; /** @nullable */ description: string | null; project: SnippetListDataItemProject; owner: SnippetListDataItemOwner; updated_by: SnippetListDataItemUpdatedBy; favorite: boolean; }; interface SnippetList { data: SnippetListDataItem[]; cursor?: string; } type SnippetResponseType = typeof SnippetResponseType[keyof typeof SnippetResponseType]; declare const SnippetResponseType: { readonly sql: "sql"; }; type SnippetResponseVisibility = typeof SnippetResponseVisibility[keyof typeof SnippetResponseVisibility]; declare const SnippetResponseVisibility: { readonly user: "user"; readonly project: "project"; readonly org: "org"; readonly public: "public"; }; type SnippetResponseProject = { id: number; name: string; }; type SnippetResponseOwner = { id: number; username: string; }; type SnippetResponseUpdatedBy = { id: number; username: string; }; type SnippetResponseContent = { /** * Deprecated: Rely on root-level favorite property instead. * @deprecated */ favorite?: boolean; schema_version: string; sql: string; }; interface SnippetResponse { id: string; inserted_at: string; updated_at: string; type: SnippetResponseType; visibility: SnippetResponseVisibility; name: string; /** @nullable */ description: string | null; project: SnippetResponseProject; owner: SnippetResponseOwner; updated_by: SnippetResponseUpdatedBy; favorite: boolean; content: SnippetResponseContent; } type ListActionRunResponseItemRunStepsItemName = typeof ListActionRunResponseItemRunStepsItemName[keyof typeof ListActionRunResponseItemRunStepsItemName]; declare const ListActionRunResponseItemRunStepsItemName: { readonly clone: "clone"; readonly pull: "pull"; readonly health: "health"; readonly configure: "configure"; readonly migrate: "migrate"; readonly seed: "seed"; readonly deploy: "deploy"; }; type ListActionRunResponseItemRunStepsItemStatus = typeof ListActionRunResponseItemRunStepsItemStatus[keyof typeof ListActionRunResponseItemRunStepsItemStatus]; declare const ListActionRunResponseItemRunStepsItemStatus: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type ListActionRunResponseItemRunStepsItem = { name: ListActionRunResponseItemRunStepsItemName; status: ListActionRunResponseItemRunStepsItemStatus; created_at: string; updated_at: string; }; type ListActionRunResponseItem = { id: string; branch_id: string; run_steps: ListActionRunResponseItemRunStepsItem[]; git_config?: unknown | null; /** @nullable */ workdir: string | null; /** @nullable */ check_run_id: number | null; created_at: string; updated_at: string; }; type ListActionRunResponse = ListActionRunResponseItem[]; type ActionRunResponseRunStepsItemName = typeof ActionRunResponseRunStepsItemName[keyof typeof ActionRunResponseRunStepsItemName]; declare const ActionRunResponseRunStepsItemName: { readonly clone: "clone"; readonly pull: "pull"; readonly health: "health"; readonly configure: "configure"; readonly migrate: "migrate"; readonly seed: "seed"; readonly deploy: "deploy"; }; type ActionRunResponseRunStepsItemStatus = typeof ActionRunResponseRunStepsItemStatus[keyof typeof ActionRunResponseRunStepsItemStatus]; declare const ActionRunResponseRunStepsItemStatus: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type ActionRunResponseRunStepsItem = { name: ActionRunResponseRunStepsItemName; status: ActionRunResponseRunStepsItemStatus; created_at: string; updated_at: string; }; interface ActionRunResponse { id: string; branch_id: string; run_steps: ActionRunResponseRunStepsItem[]; git_config?: unknown | null; /** @nullable */ workdir: string | null; /** @nullable */ check_run_id: number | null; created_at: string; updated_at: string; } type UpdateRunStatusBodyClone = typeof UpdateRunStatusBodyClone[keyof typeof UpdateRunStatusBodyClone]; declare const UpdateRunStatusBodyClone: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type UpdateRunStatusBodyPull = typeof UpdateRunStatusBodyPull[keyof typeof UpdateRunStatusBodyPull]; declare const UpdateRunStatusBodyPull: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type UpdateRunStatusBodyHealth = typeof UpdateRunStatusBodyHealth[keyof typeof UpdateRunStatusBodyHealth]; declare const UpdateRunStatusBodyHealth: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type UpdateRunStatusBodyConfigure = typeof UpdateRunStatusBodyConfigure[keyof typeof UpdateRunStatusBodyConfigure]; declare const UpdateRunStatusBodyConfigure: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type UpdateRunStatusBodyMigrate = typeof UpdateRunStatusBodyMigrate[keyof typeof UpdateRunStatusBodyMigrate]; declare const UpdateRunStatusBodyMigrate: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type UpdateRunStatusBodySeed = typeof UpdateRunStatusBodySeed[keyof typeof UpdateRunStatusBodySeed]; declare const UpdateRunStatusBodySeed: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; type UpdateRunStatusBodyDeploy = typeof UpdateRunStatusBodyDeploy[keyof typeof UpdateRunStatusBodyDeploy]; declare const UpdateRunStatusBodyDeploy: { readonly CREATED: "CREATED"; readonly DEAD: "DEAD"; readonly EXITED: "EXITED"; readonly PAUSED: "PAUSED"; readonly REMOVING: "REMOVING"; readonly RESTARTING: "RESTARTING"; readonly RUNNING: "RUNNING"; }; interface UpdateRunStatusBody { clone?: UpdateRunStatusBodyClone; pull?: UpdateRunStatusBodyPull; health?: UpdateRunStatusBodyHealth; configure?: UpdateRunStatusBodyConfigure; migrate?: UpdateRunStatusBodyMigrate; seed?: UpdateRunStatusBodySeed; deploy?: UpdateRunStatusBodyDeploy; } type UpdateRunStatusResponseMessage = typeof UpdateRunStatusResponseMessage[keyof typeof UpdateRunStatusResponseMessage]; declare const UpdateRunStatusResponseMessage: { readonly ok: "ok"; }; interface UpdateRunStatusResponse { message: UpdateRunStatusResponseMessage; } /** * @nullable */ type ApiKeyResponseType = typeof ApiKeyResponseType[keyof typeof ApiKeyResponseType] | null; declare const ApiKeyResponseType: { readonly legacy: "legacy"; readonly publishable: "publishable"; readonly secret: "secret"; }; /** * @nullable */ type ApiKeyResponseSecretJwtTemplate = { [key: string]: unknown; } | null; interface ApiKeyResponse { /** @nullable */ api_key?: string | null; /** @nullable */ id?: string | null; /** @nullable */ type?: ApiKeyResponseType; /** @nullable */ prefix?: string | null; name: string; /** @nullable */ description?: string | null; /** @nullable */ hash?: string | null; /** @nullable */ secret_jwt_template?: ApiKeyResponseSecretJwtTemplate; /** @nullable */ inserted_at?: string | null; /** @nullable */ updated_at?: string | null; } interface LegacyApiKeysResponse { enabled: boolean; } type CreateApiKeyBodyType = typeof CreateApiKeyBodyType[keyof typeof CreateApiKeyBodyType]; declare const CreateApiKeyBodyType: { readonly publishable: "publishable"; readonly secret: "secret"; }; /** * @nullable */ type CreateApiKeyBodySecretJwtTemplate = { [key: string]: unknown; } | null; interface CreateApiKeyBody { type: CreateApiKeyBodyType; /** * @minLength 4 * @maxLength 64 * @pattern ^[a-z_][a-z0-9_]+$ */ name: string; /** @nullable */ description?: string | null; /** @nullable */ secret_jwt_template?: CreateApiKeyBodySecretJwtTemplate; } /** * @nullable */ type UpdateApiKeyBodySecretJwtTemplate = { [key: string]: unknown; } | null; interface UpdateApiKeyBody { /** * @minLength 4 * @maxLength 64 * @pattern ^[a-z_][a-z0-9_]+$ */ name?: string; /** @nullable */ description?: string | null; /** @nullable */ secret_jwt_template?: UpdateApiKeyBodySecretJwtTemplate; } type CreateBranchBodyDesiredInstanceSize = typeof CreateBranchBodyDesiredInstanceSize[keyof typeof CreateBranchBodyDesiredInstanceSize]; declare const CreateBranchBodyDesiredInstanceSize: { readonly pico: "pico"; readonly nano: "nano"; readonly micro: "micro"; readonly small: "small"; readonly medium: "medium"; readonly large: "large"; readonly xlarge: "xlarge"; readonly '2xlarge': "2xlarge"; readonly '4xlarge': "4xlarge"; readonly '8xlarge': "8xlarge"; readonly '12xlarge': "12xlarge"; readonly '16xlarge': "16xlarge"; readonly '24xlarge': "24xlarge"; readonly '24xlarge_optimized_memory': "24xlarge_optimized_memory"; readonly '24xlarge_optimized_cpu': "24xlarge_optimized_cpu"; readonly '24xlarge_high_memory': "24xlarge_high_memory"; readonly '48xlarge': "48xlarge"; readonly '48xlarge_optimized_memory': "48xlarge_optimized_memory"; readonly '48xlarge_optimized_cpu': "48xlarge_optimized_cpu"; readonly '48xlarge_high_memory': "48xlarge_high_memory"; }; /** * Release channel. If not provided, GA will be used. */ type CreateBranchBodyReleaseChannel = typeof CreateBranchBodyReleaseChannel[keyof typeof CreateBranchBodyReleaseChannel]; declare const CreateBranchBodyReleaseChannel: { readonly internal: "internal"; readonly alpha: "alpha"; readonly beta: "beta"; readonly ga: "ga"; readonly withdrawn: "withdrawn"; readonly preview: "preview"; }; /** * Postgres engine version. If not provided, the latest version will be used. */ type CreateBranchBodyPostgresEngine = typeof CreateBranchBodyPostgresEngine[keyof typeof CreateBranchBodyPostgresEngine]; declare const CreateBranchBodyPostgresEngine: { readonly NUMBER_15: "15"; readonly NUMBER_17: "17"; readonly '17-oriole': "17-oriole"; }; type CreateBranchBodySecrets = { [key: string]: string; }; interface CreateBranchBody { /** @minLength 1 */ branch_name: string; git_branch?: string; is_default?: boolean; persistent?: boolean; region?: string; desired_instance_size?: CreateBranchBodyDesiredInstanceSize; /** Release channel. If not provided, GA will be used. */ release_channel?: CreateBranchBodyReleaseChannel; /** Postgres engine version. If not provided, the latest version will be used. */ postgres_engine?: CreateBranchBodyPostgresEngine; secrets?: CreateBranchBodySecrets; with_data?: boolean; /** HTTP endpoint to receive branch status updates. */ notify_url?: string; } type UpdateCustomHostnameResponseStatus = typeof UpdateCustomHostnameResponseStatus[keyof typeof UpdateCustomHostnameResponseStatus]; declare const UpdateCustomHostnameResponseStatus: { readonly '1_not_started': "1_not_started"; readonly '2_initiated': "2_initiated"; readonly '3_challenge_verified': "3_challenge_verified"; readonly '4_origin_setup_completed': "4_origin_setup_completed"; readonly '5_services_reconfigured': "5_services_reconfigured"; }; type UpdateCustomHostnameResponseDataResultSslValidationRecordsItem = { txt_name: string; txt_value: string; }; type UpdateCustomHostnameResponseDataResultSslValidationErrorsItem = { message: string; }; type UpdateCustomHostnameResponseDataResultSsl = { status: string; validation_records: UpdateCustomHostnameResponseDataResultSslValidationRecordsItem[]; validation_errors?: UpdateCustomHostnameResponseDataResultSslValidationErrorsItem[]; }; type UpdateCustomHostnameResponseDataResultOwnershipVerification = { type: string; name: string; value: string; }; type UpdateCustomHostnameResponseDataResult = { id: string; hostname: string; ssl: UpdateCustomHostnameResponseDataResultSsl; ownership_verification: UpdateCustomHostnameResponseDataResultOwnershipVerification; custom_origin_server: string; verification_errors?: string[]; status: string; }; type UpdateCustomHostnameResponseData = { success: boolean; errors: unknown[]; messages: unknown[]; result: UpdateCustomHostnameResponseDataResult; }; interface UpdateCustomHostnameResponse { status: UpdateCustomHostnameResponseStatus; custom_hostname: string; data: UpdateCustomHostnameResponseData; } interface UpdateCustomHostnameBody { /** * @minLength 1 * @maxLength 253 */ custom_hostname: string; } type JitAccessResponseUserRolesItemAllowedNetworksAllowedCidrsItem = { cidr: string; }; type JitAccessResponseUserRolesItemAllowedNetworksAllowedCidrsV6Item = { cidr: string; }; type JitAccessResponseUserRolesItemAllowedNetworks = { allowed_cidrs?: JitAccessResponseUserRolesItemAllowedNetworksAllowedCidrsItem[]; allowed_cidrs_v6?: JitAccessResponseUserRolesItemAllowedNetworksAllowedCidrsV6Item[]; }; type JitAccessResponseUserRolesItem = { /** @minLength 1 */ role: string; expires_at?: number; allowed_networks?: JitAccessResponseUserRolesItemAllowedNetworks; }; interface JitAccessResponse { user_id: string; user_roles: JitAccessResponseUserRolesItem[]; } type JitAccessRequestRequestState = typeof JitAccessRequestRequestState[keyof typeof JitAccessRequestRequestState]; declare const JitAccessRequestRequestState: { readonly enabled: "enabled"; readonly disabled: "disabled"; readonly unavailable: "unavailable"; }; interface JitAccessRequestRequest { state: JitAccessRequestRequestState; } interface NetworkBanResponse { banned_ipv4_addresses: string[]; } type NetworkBanResponseEnrichedBannedIpv4AddressesItem = { banned_address: string; identifier: string; type: string; }; interface NetworkBanResponseEnriched { banned_ipv4_addresses: NetworkBanResponseEnrichedBannedIpv4AddressesItem[]; } interface RemoveNetworkBanRequest { /** List of IP addresses to unban. */ ipv4_addresses: string[]; /** Include requester's public IP in the list of addresses to unban. */ requester_ip?: boolean; identifier?: string; } type NetworkRestrictionsResponseEntitlement = typeof NetworkRestrictionsResponseEntitlement[keyof typeof NetworkRestrictionsResponseEntitlement]; declare const NetworkRestrictionsResponseEntitlement: { readonly disallowed: "disallowed"; readonly allowed: "allowed"; }; /** * 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`. */ type NetworkRestrictionsResponseConfig = { dbAllowedCidrs?: string[]; dbAllowedCidrsV6?: string[]; }; /** * Populated when a new config has been received, but not registered as successfully applied to a project. */ type NetworkRestrictionsResponseOldConfig = { dbAllowedCidrs?: string[]; dbAllowedCidrsV6?: string[]; }; type NetworkRestrictionsResponseStatus = typeof NetworkRestrictionsResponseStatus[keyof typeof NetworkRestrictionsResponseStatus]; declare const NetworkRestrictionsResponseStatus: { readonly stored: "stored"; readonly applied: "applied"; }; interface NetworkRestrictionsResponse { entitlement: NetworkRestrictionsResponseEntitlement; /** 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`. */ config: NetworkRestrictionsResponseConfig; /** Populated when a new config has been received, but not registered as successfully applied to a project. */ old_config?: NetworkRestrictionsResponseOldConfig; status: NetworkRestrictionsResponseStatus; updated_at?: string; applied_at?: string; } interface NetworkRestrictionsRequest { dbAllowedCidrs?: string[]; dbAllowedCidrsV6?: string[]; } type NetworkRestrictionsPatchRequestAdd = { dbAllowedCidrs?: string[]; dbAllowedCidrsV6?: string[]; }; type NetworkRestrictionsPatchRequestRemove = { dbAllowedCidrs?: string[]; dbAllowedCidrsV6?: string[]; }; interface NetworkRestrictionsPatchRequest { add?: NetworkRestrictionsPatchRequestAdd; remove?: NetworkRestrictionsPatchRequestRemove; } type NetworkRestrictionsV2ResponseEntitlement = typeof NetworkRestrictionsV2ResponseEntitlement[keyof typeof NetworkRestrictionsV2ResponseEntitlement]; declare const NetworkRestrictionsV2ResponseEntitlement: { readonly disallowed: "disallowed"; readonly allowed: "allowed"; }; type NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItemType = typeof NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItemType[keyof typeof NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItemType]; declare const NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItemType: { readonly v4: "v4"; readonly v6: "v6"; }; type NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItem = { address: string; type: NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItemType; }; /** * 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`. */ type NetworkRestrictionsV2ResponseConfig = { dbAllowedCidrs?: NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItem[]; }; type NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItemType = typeof NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItemType[keyof typeof NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItemType]; declare const NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItemType: { readonly v4: "v4"; readonly v6: "v6"; }; type NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItem = { address: string; type: NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItemType; }; /** * Populated when a new config has been received, but not registered as successfully applied to a project. */ type NetworkRestrictionsV2ResponseOldConfig = { dbAllowedCidrs?: NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItem[]; }; type NetworkRestrictionsV2ResponseStatus = typeof NetworkRestrictionsV2ResponseStatus[keyof typeof NetworkRestrictionsV2ResponseStatus]; declare const NetworkRestrictionsV2ResponseStatus: { readonly stored: "stored"; readonly applied: "applied"; }; interface NetworkRestrictionsV2Response { entitlement: NetworkRestrictionsV2ResponseEntitlement; /** 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`. */ config: NetworkRestrictionsV2ResponseConfig; /** Populated when a new config has been received, but not registered as successfully applied to a project. */ old_config?: NetworkRestrictionsV2ResponseOldConfig; updated_at?: string; applied_at?: string; status: NetworkRestrictionsV2ResponseStatus; } interface PgsodiumConfigResponse { root_key: string; } interface UpdatePgsodiumConfigBody { root_key: string; } interface PostgrestConfigWithJWTSecretResponse { db_schema: string; max_rows: number; db_extra_search_path: string; /** * If `null`, the value is automatically configured based on compute size. * @nullable */ db_pool: number | null; jwt_secret?: string; } interface V1UpdatePostgrestConfigBody { db_extra_search_path?: string; db_schema?: string; /** * @minimum 0 * @maximum 1000000 */ max_rows?: number; /** * @minimum 0 * @maximum 1000 */ db_pool?: number; } interface V1PostgrestConfigResponse { db_schema: string; max_rows: number; db_extra_search_path: string; /** * If `null`, the value is automatically configured based on compute size. * @nullable */ db_pool: number | null; } interface V1ProjectRefResponse { id: number; ref: string; name: string; } interface V1UpdateProjectBody { /** * @minLength 1 * @maxLength 256 */ name: string; } interface SecretResponse { name: string; value: string; updated_at?: string; } type CreateSecretBodyItem = { /** * Secret name must not start with the SUPABASE_ prefix. * @maxLength 256 * @pattern ^(?!SUPABASE_).* */ name: string; /** @maxLength 24576 */ value: string; }; type CreateSecretBody = CreateSecretBodyItem[]; type DeleteSecretsBody = string[]; type SslEnforcementResponseCurrentConfig = { database: boolean; }; interface SslEnforcementResponse { currentConfig: SslEnforcementResponseCurrentConfig; appliedSuccessfully: boolean; } type SslEnforcementRequestRequestedConfig = { database: boolean; }; interface SslEnforcementRequest { requestedConfig: SslEnforcementRequestRequestedConfig; } interface TypescriptResponse { types: string; } type VanitySubdomainConfigResponseStatus = typeof VanitySubdomainConfigResponseStatus[keyof typeof VanitySubdomainConfigResponseStatus]; declare const VanitySubdomainConfigResponseStatus: { readonly 'not-used': "not-used"; readonly 'custom-domain-used': "custom-domain-used"; readonly active: "active"; }; interface VanitySubdomainConfigResponse { status: VanitySubdomainConfigResponseStatus; /** @minLength 1 */ custom_domain?: string; } interface VanitySubdomainBody { /** @maxLength 63 */ vanity_subdomain: string; } interface SubdomainAvailabilityResponse { available: boolean; } interface ActivateVanitySubdomainResponse { custom_domain: string; } type UpgradeDatabaseBodyReleaseChannel = typeof UpgradeDatabaseBodyReleaseChannel[keyof typeof UpgradeDatabaseBodyReleaseChannel]; declare const UpgradeDatabaseBodyReleaseChannel: { readonly internal: "internal"; readonly alpha: "alpha"; readonly beta: "beta"; readonly ga: "ga"; readonly withdrawn: "withdrawn"; readonly preview: "preview"; }; interface UpgradeDatabaseBody { target_version: string; release_channel?: UpgradeDatabaseBodyReleaseChannel; } interface ProjectUpgradeInitiateResponse { tracking_id: string; } type ProjectUpgradeEligibilityResponseCurrentAppVersionReleaseChannel = typeof ProjectUpgradeEligibilityResponseCurrentAppVersionReleaseChannel[keyof typeof ProjectUpgradeEligibilityResponseCurrentAppVersionReleaseChannel]; declare const ProjectUpgradeEligibilityResponseCurrentAppVersionReleaseChannel: { readonly internal: "internal"; readonly alpha: "alpha"; readonly beta: "beta"; readonly ga: "ga"; readonly withdrawn: "withdrawn"; readonly preview: "preview"; }; type ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemPostgresVersion = typeof ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemPostgresVersion[keyof typeof ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemPostgresVersion]; declare const ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemPostgresVersion: { readonly NUMBER_13: "13"; readonly NUMBER_14: "14"; readonly NUMBER_15: "15"; readonly NUMBER_17: "17"; readonly '17-oriole': "17-oriole"; }; type ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemReleaseChannel = typeof ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemReleaseChannel[keyof typeof ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemReleaseChannel]; declare const ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemReleaseChannel: { readonly internal: "internal"; readonly alpha: "alpha"; readonly beta: "beta"; readonly ga: "ga"; readonly withdrawn: "withdrawn"; readonly preview: "preview"; }; type ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItem = { postgres_version: ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemPostgresVersion; release_channel: ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemReleaseChannel; app_version: string; }; type ProjectUpgradeEligibilityResponseValidationErrorsItem = { type: 'objects_depending_on_pg_cron'; dependents: string[]; } | { type: 'indexes_referencing_ll_to_earth'; schema_name: string; table_name: string; index_name: string; } | { type: 'function_using_obsolete_lang'; schema_name: string; function_name: string; lang_name: string; } | { type: 'unsupported_extension'; extension_name: string; } | { type: 'unsupported_fdw_handler'; fdw_name: string; fdw_handler_name: string; } | { type: 'unlogged_table_with_persistent_sequence'; schema_name: string; table_name: string; sequence_name: string; } | { type: 'user_defined_objects_in_internal_schemas'; obj_type: 'table' | 'function'; schema_name: string; obj_name: string; } | { type: 'active_replication_slot'; slot_name: string; }; interface ProjectUpgradeEligibilityResponse { eligible: boolean; current_app_version: string; current_app_version_release_channel: ProjectUpgradeEligibilityResponseCurrentAppVersionReleaseChannel; latest_app_version: string; target_upgrade_versions: ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItem[]; duration_estimate_hours: number; legacy_auth_custom_roles: string[]; /** * Use validation_errors instead. * @deprecated */ objects_to_be_dropped: string[]; /** * Use validation_errors instead. * @deprecated */ unsupported_extensions: string[]; /** * Use validation_errors instead. * @deprecated */ user_defined_objects_in_internal_schemas: string[]; validation_errors: ProjectUpgradeEligibilityResponseValidationErrorsItem[]; } /** * @nullable */ type DatabaseUpgradeStatusResponseDatabaseUpgradeStatus = { initiated_at: string; latest_status_at: string; target_version: number; error?: '1_upgraded_instance_launch_failed' | '2_volume_detachchment_from_upgraded_instance_failed' | '3_volume_attachment_to_original_instance_failed' | '4_data_upgrade_initiation_failed' | '5_data_upgrade_completion_failed' | '6_volume_detachchment_from_original_instance_failed' | '7_volume_attachment_to_upgraded_instance_failed' | '8_upgrade_completion_failed' | '9_post_physical_backup_failed'; progress?: '0_requested' | '1_started' | '2_launched_upgraded_instance' | '3_detached_volume_from_upgraded_instance' | '4_attached_volume_to_original_instance' | '5_initiated_data_upgrade' | '6_completed_data_upgrade' | '7_detached_volume_from_original_instance' | '8_attached_volume_to_upgraded_instance' | '9_completed_upgrade' | '10_completed_post_physical_backup'; status: number; } | null; interface DatabaseUpgradeStatusResponse { /** @nullable */ databaseUpgradeStatus: DatabaseUpgradeStatusResponseDatabaseUpgradeStatus; } interface ReadOnlyStatusResponse { enabled: boolean; override_enabled: boolean; override_active_until: string; } /** * Region you want your read replica to reside in */ type SetUpReadReplicaBodyReadReplicaRegion = typeof SetUpReadReplicaBodyReadReplicaRegion[keyof typeof SetUpReadReplicaBodyReadReplicaRegion]; declare const SetUpReadReplicaBodyReadReplicaRegion: { readonly 'us-east-1': "us-east-1"; readonly 'us-east-2': "us-east-2"; readonly 'us-west-1': "us-west-1"; readonly 'us-west-2': "us-west-2"; readonly 'ap-east-1': "ap-east-1"; readonly 'ap-southeast-1': "ap-southeast-1"; readonly 'ap-northeast-1': "ap-northeast-1"; readonly 'ap-northeast-2': "ap-northeast-2"; readonly 'ap-southeast-2': "ap-southeast-2"; readonly 'eu-west-1': "eu-west-1"; readonly 'eu-west-2': "eu-west-2"; readonly 'eu-west-3': "eu-west-3"; readonly 'eu-north-1': "eu-north-1"; readonly 'eu-central-1': "eu-central-1"; readonly 'eu-central-2': "eu-central-2"; readonly 'ca-central-1': "ca-central-1"; readonly 'ap-south-1': "ap-south-1"; readonly 'sa-east-1': "sa-east-1"; }; interface SetUpReadReplicaBody { /** Region you want your read replica to reside in */ read_replica_region: SetUpReadReplicaBodyReadReplicaRegion; } interface RemoveReadReplicaBody { database_identifier: string; } type V1ServiceHealthResponseName = typeof V1ServiceHealthResponseName[keyof typeof V1ServiceHealthResponseName]; declare const V1ServiceHealthResponseName: { readonly auth: "auth"; readonly db: "db"; readonly db_postgres_user: "db_postgres_user"; readonly pooler: "pooler"; readonly realtime: "realtime"; readonly rest: "rest"; readonly storage: "storage"; readonly pg_bouncer: "pg_bouncer"; }; type V1ServiceHealthResponseStatus = typeof V1ServiceHealthResponseStatus[keyof typeof V1ServiceHealthResponseStatus]; declare const V1ServiceHealthResponseStatus: { readonly COMING_UP: "COMING_UP"; readonly ACTIVE_HEALTHY: "ACTIVE_HEALTHY"; readonly UNHEALTHY: "UNHEALTHY"; }; type V1ServiceHealthResponseInfo = { name: 'GoTrue'; version: string; description: string; } | { /** * Deprecated. Use `status` instead. * @deprecated */ healthy: boolean; db_connected: boolean; replication_connected: boolean; connected_cluster: number; } | { db_schema: string; }; interface V1ServiceHealthResponse { name: V1ServiceHealthResponseName; /** * Deprecated. Use `status` instead. * @deprecated */ healthy: boolean; status: V1ServiceHealthResponseStatus; info?: V1ServiceHealthResponseInfo; error?: string; } type SigningKeyResponseAlgorithm = typeof SigningKeyResponseAlgorithm[keyof typeof SigningKeyResponseAlgorithm]; declare const SigningKeyResponseAlgorithm: { readonly EdDSA: "EdDSA"; readonly ES256: "ES256"; readonly RS256: "RS256"; readonly HS256: "HS256"; }; type SigningKeyResponseStatus = typeof SigningKeyResponseStatus[keyof typeof SigningKeyResponseStatus]; declare const SigningKeyResponseStatus: { readonly in_use: "in_use"; readonly previously_used: "previously_used"; readonly revoked: "revoked"; readonly standby: "standby"; }; interface SigningKeyResponse { id: string; algorithm: SigningKeyResponseAlgorithm; status: SigningKeyResponseStatus; public_jwk?: unknown | null; created_at: string; updated_at: string; } type CreateSigningKeyBodyAlgorithm = typeof CreateSigningKeyBodyAlgorithm[keyof typeof CreateSigningKeyBodyAlgorithm]; declare const CreateSigningKeyBodyAlgorithm: { readonly EdDSA: "EdDSA"; readonly ES256: "ES256"; readonly RS256: "RS256"; readonly HS256: "HS256"; }; type CreateSigningKeyBodyStatus = typeof CreateSigningKeyBodyStatus[keyof typeof CreateSigningKeyBodyStatus]; declare const CreateSigningKeyBodyStatus: { readonly in_use: "in_use"; readonly standby: "standby"; }; type CreateSigningKeyBodyPrivateJwk = { kid?: string; use?: 'sig'; /** * @minItems 2 * @maxItems 2 */ key_ops?: ('sign' | 'verify')[]; ext?: boolean; kty: 'RSA'; alg?: 'RS256'; n: string; e: 'AQAB'; d: string; p: string; q: string; dp: string; dq: string; qi: string; } | { kid?: string; use?: 'sig'; /** * @minItems 2 * @maxItems 2 */ key_ops?: ('sign' | 'verify')[]; ext?: boolean; kty: 'EC'; alg?: 'ES256'; crv: 'P-256'; x: string; y: string; d: string; } | { kid?: string; use?: 'sig'; /** * @minItems 2 * @maxItems 2 */ key_ops?: ('sign' | 'verify')[]; ext?: boolean; kty: 'OKP'; alg?: 'EdDSA'; crv: 'Ed25519'; x: string; d: string; } | { kid?: string; use?: 'sig'; /** * @minItems 2 * @maxItems 2 */ key_ops?: ('sign' | 'verify')[]; ext?: boolean; kty: 'oct'; alg?: 'HS256'; /** @minLength 16 */ k: string; }; interface CreateSigningKeyBody { algorithm: CreateSigningKeyBodyAlgorithm; status?: CreateSigningKeyBodyStatus; private_jwk?: CreateSigningKeyBodyPrivateJwk; } type SigningKeysResponseKeysItemAlgorithm = typeof SigningKeysResponseKeysItemAlgorithm[keyof typeof SigningKeysResponseKeysItemAlgorithm]; declare const SigningKeysResponseKeysItemAlgorithm: { readonly EdDSA: "EdDSA"; readonly ES256: "ES256"; readonly RS256: "RS256"; readonly HS256: "HS256"; }; type SigningKeysResponseKeysItemStatus = typeof SigningKeysResponseKeysItemStatus[keyof typeof SigningKeysResponseKeysItemStatus]; declare const SigningKeysResponseKeysItemStatus: { readonly in_use: "in_use"; readonly previously_used: "previously_used"; readonly revoked: "revoked"; readonly standby: "standby"; }; type SigningKeysResponseKeysItem = { id: string; algorithm: SigningKeysResponseKeysItemAlgorithm; status: SigningKeysResponseKeysItemStatus; public_jwk?: unknown | null; created_at: string; updated_at: string; }; interface SigningKeysResponse { keys: SigningKeysResponseKeysItem[]; } type UpdateSigningKeyBodyStatus = typeof UpdateSigningKeyBodyStatus[keyof typeof UpdateSigningKeyBodyStatus]; declare const UpdateSigningKeyBodyStatus: { readonly in_use: "in_use"; readonly previously_used: "previously_used"; readonly revoked: "revoked"; readonly standby: "standby"; }; interface UpdateSigningKeyBody { status: UpdateSigningKeyBodyStatus; } /** * @nullable */ type AuthConfigResponseDbMaxPoolSizeUnit = typeof AuthConfigResponseDbMaxPoolSizeUnit[keyof typeof AuthConfigResponseDbMaxPoolSizeUnit] | null; declare const AuthConfigResponseDbMaxPoolSizeUnit: { readonly connections: "connections"; readonly percent: "percent"; }; /** * @nullable */ type AuthConfigResponsePasswordRequiredCharacters = typeof AuthConfigResponsePasswordRequiredCharacters[keyof typeof AuthConfigResponsePasswordRequiredCharacters] | null; declare const AuthConfigResponsePasswordRequiredCharacters: { readonly 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789': "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"; readonly 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789': "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"; readonly 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\'\\:"|<>?,/`~': "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};'\\:\"|<>?,./`~"; readonly '': ""; }; /** * @nullable */ type AuthConfigResponseSecurityCaptchaProvider = typeof AuthConfigResponseSecurityCaptchaProvider[keyof typeof AuthConfigResponseSecurityCaptchaProvider] | null; declare const AuthConfigResponseSecurityCaptchaProvider: { readonly turnstile: "turnstile"; readonly hcaptcha: "hcaptcha"; }; /** * @nullable */ type AuthConfigResponseSmsProvider = typeof AuthConfigResponseSmsProvider[keyof typeof AuthConfigResponseSmsProvider] | null; declare const AuthConfigResponseSmsProvider: { readonly messagebird: "messagebird"; readonly textlocal: "textlocal"; readonly twilio: "twilio"; readonly twilio_verify: "twilio_verify"; readonly vonage: "vonage"; }; interface AuthConfigResponse { /** @nullable */ api_max_request_duration: number | null; /** @nullable */ db_max_pool_size: number | null; /** @nullable */ db_max_pool_size_unit: AuthConfigResponseDbMaxPoolSizeUnit; /** @nullable */ disable_signup: boolean | null; /** @nullable */ external_anonymous_users_enabled: boolean | null; /** @nullable */ external_apple_additional_client_ids: string | null; /** @nullable */ external_apple_client_id: string | null; /** @nullable */ external_apple_email_optional: boolean | null; /** @nullable */ external_apple_enabled: boolean | null; /** @nullable */ external_apple_secret: string | null; /** @nullable */ external_azure_client_id: string | null; /** @nullable */ external_azure_email_optional: boolean | null; /** @nullable */ external_azure_enabled: boolean | null; /** @nullable */ external_azure_secret: string | null; /** @nullable */ external_azure_url: string | null; /** @nullable */ external_bitbucket_client_id: string | null; /** @nullable */ external_bitbucket_email_optional: boolean | null; /** @nullable */ external_bitbucket_enabled: boolean | null; /** @nullable */ external_bitbucket_secret: string | null; /** @nullable */ external_discord_client_id: string | null; /** @nullable */ external_discord_email_optional: boolean | null; /** @nullable */ external_discord_enabled: boolean | null; /** @nullable */ external_discord_secret: string | null; /** @nullable */ external_email_enabled: boolean | null; /** @nullable */ external_facebook_client_id: string | null; /** @nullable */ external_facebook_email_optional: boolean | null; /** @nullable */ external_facebook_enabled: boolean | null; /** @nullable */ external_facebook_secret: string | null; /** @nullable */ external_figma_client_id: string | null; /** @nullable */ external_figma_email_optional: boolean | null; /** @nullable */ external_figma_enabled: boolean | null; /** @nullable */ external_figma_secret: string | null; /** @nullable */ external_github_client_id: string | null; /** @nullable */ external_github_email_optional: boolean | null; /** @nullable */ external_github_enabled: boolean | null; /** @nullable */ external_github_secret: string | null; /** @nullable */ external_gitlab_client_id: string | null; /** @nullable */ external_gitlab_email_optional: boolean | null; /** @nullable */ external_gitlab_enabled: boolean | null; /** @nullable */ external_gitlab_secret: string | null; /** @nullable */ external_gitlab_url: string | null; /** @nullable */ external_google_additional_client_ids: string | null; /** @nullable */ external_google_client_id: string | null; /** @nullable */ external_google_email_optional: boolean | null; /** @nullable */ external_google_enabled: boolean | null; /** @nullable */ external_google_secret: string | null; /** @nullable */ external_google_skip_nonce_check: boolean | null; /** @nullable */ external_kakao_client_id: string | null; /** @nullable */ external_kakao_email_optional: boolean | null; /** @nullable */ external_kakao_enabled: boolean | null; /** @nullable */ external_kakao_secret: string | null; /** @nullable */ external_keycloak_client_id: string | null; /** @nullable */ external_keycloak_email_optional: boolean | null; /** @nullable */ external_keycloak_enabled: boolean | null; /** @nullable */ external_keycloak_secret: string | null; /** @nullable */ external_keycloak_url: string | null; /** @nullable */ external_linkedin_oidc_client_id: string | null; /** @nullable */ external_linkedin_oidc_email_optional: boolean | null; /** @nullable */ external_linkedin_oidc_enabled: boolean | null; /** @nullable */ external_linkedin_oidc_secret: string | null; /** @nullable */ external_slack_oidc_client_id: string | null; /** @nullable */ external_slack_oidc_email_optional: boolean | null; /** @nullable */ external_slack_oidc_enabled: boolean | null; /** @nullable */ external_slack_oidc_secret: string | null; /** @nullable */ external_notion_client_id: string | null; /** @nullable */ external_notion_email_optional: boolean | null; /** @nullable */ external_notion_enabled: boolean | null; /** @nullable */ external_notion_secret: string | null; /** @nullable */ external_phone_enabled: boolean | null; /** @nullable */ external_slack_client_id: string | null; /** @nullable */ external_slack_email_optional: boolean | null; /** @nullable */ external_slack_enabled: boolean | null; /** @nullable */ external_slack_secret: string | null; /** @nullable */ external_spotify_client_id: string | null; /** @nullable */ external_spotify_email_optional: boolean | null; /** @nullable */ external_spotify_enabled: boolean | null; /** @nullable */ external_spotify_secret: string | null; /** @nullable */ external_twitch_client_id: string | null; /** @nullable */ external_twitch_email_optional: boolean | null; /** @nullable */ external_twitch_enabled: boolean | null; /** @nullable */ external_twitch_secret: string | null; /** @nullable */ external_twitter_client_id: string | null; /** @nullable */ external_twitter_email_optional: boolean | null; /** @nullable */ external_twitter_enabled: boolean | null; /** @nullable */ external_twitter_secret: string | null; /** @nullable */ external_x_client_id: string | null; /** @nullable */ external_x_email_optional: boolean | null; /** @nullable */ external_x_enabled: boolean | null; /** @nullable */ external_x_secret: string | null; /** @nullable */ external_workos_client_id: string | null; /** @nullable */ external_workos_enabled: boolean | null; /** @nullable */ external_workos_secret: string | null; /** @nullable */ external_workos_url: string | null; /** @nullable */ external_web3_solana_enabled: boolean | null; /** @nullable */ external_web3_ethereum_enabled: boolean | null; /** @nullable */ external_zoom_client_id: string | null; /** @nullable */ external_zoom_email_optional: boolean | null; /** @nullable */ external_zoom_enabled: boolean | null; /** @nullable */ external_zoom_secret: string | null; /** @nullable */ hook_custom_access_token_enabled: boolean | null; /** @nullable */ hook_custom_access_token_uri: string | null; /** @nullable */ hook_custom_access_token_secrets: string | null; /** @nullable */ hook_mfa_verification_attempt_enabled: boolean | null; /** @nullable */ hook_mfa_verification_attempt_uri: string | null; /** @nullable */ hook_mfa_verification_attempt_secrets: string | null; /** @nullable */ hook_password_verification_attempt_enabled: boolean | null; /** @nullable */ hook_password_verification_attempt_uri: string | null; /** @nullable */ hook_password_verification_attempt_secrets: string | null; /** @nullable */ hook_send_sms_enabled: boolean | null; /** @nullable */ hook_send_sms_uri: string | null; /** @nullable */ hook_send_sms_secrets: string | null; /** @nullable */ hook_send_email_enabled: boolean | null; /** @nullable */ hook_send_email_uri: string | null; /** @nullable */ hook_send_email_secrets: string | null; /** @nullable */ hook_before_user_created_enabled: boolean | null; /** @nullable */ hook_before_user_created_uri: string | null; /** @nullable */ hook_before_user_created_secrets: string | null; /** @nullable */ hook_after_user_created_enabled: boolean | null; /** @nullable */ hook_after_user_created_uri: string | null; /** @nullable */ hook_after_user_created_secrets: string | null; /** @nullable */ jwt_exp: number | null; /** @nullable */ mailer_allow_unverified_email_sign_ins: boolean | null; /** @nullable */ mailer_autoconfirm: boolean | null; mailer_otp_exp: number; /** @nullable */ mailer_otp_length: number | null; /** @nullable */ mailer_secure_email_change_enabled: boolean | null; /** @nullable */ mailer_subjects_confirmation: string | null; /** @nullable */ mailer_subjects_email_change: string | null; /** @nullable */ mailer_subjects_invite: string | null; /** @nullable */ mailer_subjects_magic_link: string | null; /** @nullable */ mailer_subjects_reauthentication: string | null; /** @nullable */ mailer_subjects_recovery: string | null; /** @nullable */ mailer_subjects_password_changed_notification: string | null; /** @nullable */ mailer_subjects_email_changed_notification: string | null; /** @nullable */ mailer_subjects_phone_changed_notification: string | null; /** @nullable */ mailer_subjects_mfa_factor_enrolled_notification: string | null; /** @nullable */ mailer_subjects_mfa_factor_unenrolled_notification: string | null; /** @nullable */ mailer_subjects_identity_linked_notification: string | null; /** @nullable */ mailer_subjects_identity_unlinked_notification: string | null; /** @nullable */ mailer_templates_confirmation_content: string | null; /** @nullable */ mailer_templates_email_change_content: string | null; /** @nullable */ mailer_templates_invite_content: string | null; /** @nullable */ mailer_templates_magic_link_content: string | null; /** @nullable */ mailer_templates_reauthentication_content: string | null; /** @nullable */ mailer_templates_recovery_content: string | null; /** @nullable */ mailer_templates_password_changed_notification_content: string | null; /** @nullable */ mailer_templates_email_changed_notification_content: string | null; /** @nullable */ mailer_templates_phone_changed_notification_content: string | null; /** @nullable */ mailer_templates_mfa_factor_enrolled_notification_content: string | null; /** @nullable */ mailer_templates_mfa_factor_unenrolled_notification_content: string | null; /** @nullable */ mailer_templates_identity_linked_notification_content: string | null; /** @nullable */ mailer_templates_identity_unlinked_notification_content: string | null; /** @nullable */ mailer_notifications_password_changed_enabled: boolean | null; /** @nullable */ mailer_notifications_email_changed_enabled: boolean | null; /** @nullable */ mailer_notifications_phone_changed_enabled: boolean | null; /** @nullable */ mailer_notifications_mfa_factor_enrolled_enabled: boolean | null; /** @nullable */ mailer_notifications_mfa_factor_unenrolled_enabled: boolean | null; /** @nullable */ mailer_notifications_identity_linked_enabled: boolean | null; /** @nullable */ mailer_notifications_identity_unlinked_enabled: boolean | null; /** @nullable */ mfa_max_enrolled_factors: number | null; /** @nullable */ mfa_totp_enroll_enabled: boolean | null; /** @nullable */ mfa_totp_verify_enabled: boolean | null; /** @nullable */ mfa_phone_enroll_enabled: boolean | null; /** @nullable */ mfa_phone_verify_enabled: boolean | null; /** @nullable */ mfa_web_authn_enroll_enabled: boolean | null; /** @nullable */ mfa_web_authn_verify_enabled: boolean | null; mfa_phone_otp_length: number; /** @nullable */ mfa_phone_template: string | null; /** @nullable */ mfa_phone_max_frequency: number | null; /** @nullable */ nimbus_oauth_client_id: string | null; /** @nullable */ nimbus_oauth_email_optional: boolean | null; /** @nullable */ nimbus_oauth_client_secret: string | null; /** @nullable */ password_hibp_enabled: boolean | null; /** @nullable */ password_min_length: number | null; /** @nullable */ password_required_characters: AuthConfigResponsePasswordRequiredCharacters; /** @nullable */ rate_limit_anonymous_users: number | null; /** @nullable */ rate_limit_email_sent: number | null; /** @nullable */ rate_limit_sms_sent: number | null; /** @nullable */ rate_limit_token_refresh: number | null; /** @nullable */ rate_limit_verify: number | null; /** @nullable */ rate_limit_otp: number | null; /** @nullable */ rate_limit_web3: number | null; /** @nullable */ refresh_token_rotation_enabled: boolean | null; /** @nullable */ saml_enabled: boolean | null; /** @nullable */ saml_external_url: string | null; /** @nullable */ saml_allow_encrypted_assertions: boolean | null; /** @nullable */ security_sb_forwarded_for_enabled: boolean | null; /** @nullable */ security_captcha_enabled: boolean | null; /** @nullable */ security_captcha_provider: AuthConfigResponseSecurityCaptchaProvider; /** @nullable */ security_captcha_secret: string | null; /** @nullable */ security_manual_linking_enabled: boolean | null; /** @nullable */ security_refresh_token_reuse_interval: number | null; /** @nullable */ security_update_password_require_reauthentication: boolean | null; /** @nullable */ sessions_inactivity_timeout: number | null; /** @nullable */ sessions_single_per_user: boolean | null; /** @nullable */ sessions_tags: string | null; /** @nullable */ sessions_timebox: number | null; /** @nullable */ site_url: string | null; /** @nullable */ sms_autoconfirm: boolean | null; /** @nullable */ sms_max_frequency: number | null; /** @nullable */ sms_messagebird_access_key: string | null; /** @nullable */ sms_messagebird_originator: string | null; /** @nullable */ sms_otp_exp: number | null; sms_otp_length: number; /** @nullable */ sms_provider: AuthConfigResponseSmsProvider; /** @nullable */ sms_template: string | null; /** @nullable */ sms_test_otp: string | null; /** @nullable */ sms_test_otp_valid_until: string | null; /** @nullable */ sms_textlocal_api_key: string | null; /** @nullable */ sms_textlocal_sender: string | null; /** @nullable */ sms_twilio_account_sid: string | null; /** @nullable */ sms_twilio_auth_token: string | null; /** @nullable */ sms_twilio_content_sid: string | null; /** @nullable */ sms_twilio_message_service_sid: string | null; /** @nullable */ sms_twilio_verify_account_sid: string | null; /** @nullable */ sms_twilio_verify_auth_token: string | null; /** @nullable */ sms_twilio_verify_message_service_sid: string | null; /** @nullable */ sms_vonage_api_key: string | null; /** @nullable */ sms_vonage_api_secret: string | null; /** @nullable */ sms_vonage_from: string | null; /** @nullable */ smtp_admin_email: string | null; /** @nullable */ smtp_host: string | null; /** @nullable */ smtp_max_frequency: number | null; /** @nullable */ smtp_pass: string | null; /** @nullable */ smtp_port: string | null; /** @nullable */ smtp_sender_name: string | null; /** @nullable */ smtp_user: string | null; /** @nullable */ uri_allow_list: string | null; oauth_server_enabled: boolean; oauth_server_allow_dynamic_registration: boolean; /** @nullable */ oauth_server_authorization_path: string | null; } /** * @nullable */ type UpdateAuthConfigBodySecurityCaptchaProvider = typeof UpdateAuthConfigBodySecurityCaptchaProvider[keyof typeof UpdateAuthConfigBodySecurityCaptchaProvider] | null; declare const UpdateAuthConfigBodySecurityCaptchaProvider: { readonly turnstile: "turnstile"; readonly hcaptcha: "hcaptcha"; }; /** * @nullable */ type UpdateAuthConfigBodyPasswordRequiredCharacters = typeof UpdateAuthConfigBodyPasswordRequiredCharacters[keyof typeof UpdateAuthConfigBodyPasswordRequiredCharacters] | null; declare const UpdateAuthConfigBodyPasswordRequiredCharacters: { readonly 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789': "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"; readonly 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789': "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"; readonly 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\'\\:"|<>?,/`~': "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};'\\:\"|<>?,./`~"; readonly '': ""; }; /** * @nullable */ type UpdateAuthConfigBodySmsProvider = typeof UpdateAuthConfigBodySmsProvider[keyof typeof UpdateAuthConfigBodySmsProvider] | null; declare const UpdateAuthConfigBodySmsProvider: { readonly messagebird: "messagebird"; readonly textlocal: "textlocal"; readonly twilio: "twilio"; readonly twilio_verify: "twilio_verify"; readonly vonage: "vonage"; }; /** * @nullable */ type UpdateAuthConfigBodyDbMaxPoolSizeUnit = typeof UpdateAuthConfigBodyDbMaxPoolSizeUnit[keyof typeof UpdateAuthConfigBodyDbMaxPoolSizeUnit] | null; declare const UpdateAuthConfigBodyDbMaxPoolSizeUnit: { readonly connections: "connections"; readonly percent: "percent"; }; interface UpdateAuthConfigBody { /** * @nullable * @pattern ^[^,]+$ */ site_url?: string | null; /** @nullable */ disable_signup?: boolean | null; /** * @minimum 0 * @maximum 604800 * @nullable */ jwt_exp?: number | null; /** @nullable */ smtp_admin_email?: string | null; /** @nullable */ smtp_host?: string | null; /** @nullable */ smtp_port?: string | null; /** @nullable */ smtp_user?: string | null; /** @nullable */ smtp_pass?: string | null; /** * @minimum 0 * @maximum 32767 * @nullable */ smtp_max_frequency?: number | null; /** @nullable */ smtp_sender_name?: string | null; /** @nullable */ mailer_allow_unverified_email_sign_ins?: boolean | null; /** @nullable */ mailer_autoconfirm?: boolean | null; /** @nullable */ mailer_subjects_invite?: string | null; /** @nullable */ mailer_subjects_confirmation?: string | null; /** @nullable */ mailer_subjects_recovery?: string | null; /** @nullable */ mailer_subjects_email_change?: string | null; /** @nullable */ mailer_subjects_magic_link?: string | null; /** @nullable */ mailer_subjects_reauthentication?: string | null; /** @nullable */ mailer_subjects_password_changed_notification?: string | null; /** @nullable */ mailer_subjects_email_changed_notification?: string | null; /** @nullable */ mailer_subjects_phone_changed_notification?: string | null; /** @nullable */ mailer_subjects_mfa_factor_enrolled_notification?: string | null; /** @nullable */ mailer_subjects_mfa_factor_unenrolled_notification?: string | null; /** @nullable */ mailer_subjects_identity_linked_notification?: string | null; /** @nullable */ mailer_subjects_identity_unlinked_notification?: string | null; /** @nullable */ mailer_templates_invite_content?: string | null; /** @nullable */ mailer_templates_confirmation_content?: string | null; /** @nullable */ mailer_templates_recovery_content?: string | null; /** @nullable */ mailer_templates_email_change_content?: string | null; /** @nullable */ mailer_templates_magic_link_content?: string | null; /** @nullable */ mailer_templates_reauthentication_content?: string | null; /** @nullable */ mailer_templates_password_changed_notification_content?: string | null; /** @nullable */ mailer_templates_email_changed_notification_content?: string | null; /** @nullable */ mailer_templates_phone_changed_notification_content?: string | null; /** @nullable */ mailer_templates_mfa_factor_enrolled_notification_content?: string | null; /** @nullable */ mailer_templates_mfa_factor_unenrolled_notification_content?: string | null; /** @nullable */ mailer_templates_identity_linked_notification_content?: string | null; /** @nullable */ mailer_templates_identity_unlinked_notification_content?: string | null; /** @nullable */ mailer_notifications_password_changed_enabled?: boolean | null; /** @nullable */ mailer_notifications_email_changed_enabled?: boolean | null; /** @nullable */ mailer_notifications_phone_changed_enabled?: boolean | null; /** @nullable */ mailer_notifications_mfa_factor_enrolled_enabled?: boolean | null; /** @nullable */ mailer_notifications_mfa_factor_unenrolled_enabled?: boolean | null; /** @nullable */ mailer_notifications_identity_linked_enabled?: boolean | null; /** @nullable */ mailer_notifications_identity_unlinked_enabled?: boolean | null; /** * @minimum 0 * @maximum 2147483647 * @nullable */ mfa_max_enrolled_factors?: number | null; /** @nullable */ uri_allow_list?: string | null; /** @nullable */ external_anonymous_users_enabled?: boolean | null; /** @nullable */ external_email_enabled?: boolean | null; /** @nullable */ external_phone_enabled?: boolean | null; /** @nullable */ saml_enabled?: boolean | null; /** * @nullable * @pattern ^[^,]+$ */ saml_external_url?: string | null; /** @nullable */ security_sb_forwarded_for_enabled?: boolean | null; /** @nullable */ security_captcha_enabled?: boolean | null; /** @nullable */ security_captcha_provider?: UpdateAuthConfigBodySecurityCaptchaProvider; /** @nullable */ security_captcha_secret?: string | null; /** * @minimum 0 * @nullable */ sessions_timebox?: number | null; /** * @minimum 0 * @nullable */ sessions_inactivity_timeout?: number | null; /** @nullable */ sessions_single_per_user?: boolean | null; /** * @nullable * @pattern ^\s*([a-zA-Z0-9_-]+(\s*,+\s*)?)*\s*$ */ sessions_tags?: string | null; /** * @minimum 1 * @maximum 2147483647 * @nullable */ rate_limit_anonymous_users?: number | null; /** * @minimum 1 * @maximum 2147483647 * @nullable */ rate_limit_email_sent?: number | null; /** * @minimum 1 * @maximum 2147483647 * @nullable */ rate_limit_sms_sent?: number | null; /** * @minimum 1 * @maximum 2147483647 * @nullable */ rate_limit_verify?: number | null; /** * @minimum 1 * @maximum 2147483647 * @nullable */ rate_limit_token_refresh?: number | null; /** * @minimum 1 * @maximum 2147483647 * @nullable */ rate_limit_otp?: number | null; /** * @minimum 1 * @maximum 2147483647 * @nullable */ rate_limit_web3?: number | null; /** @nullable */ mailer_secure_email_change_enabled?: boolean | null; /** @nullable */ refresh_token_rotation_enabled?: boolean | null; /** @nullable */ password_hibp_enabled?: boolean | null; /** * @minimum 6 * @maximum 32767 * @nullable */ password_min_length?: number | null; /** @nullable */ password_required_characters?: UpdateAuthConfigBodyPasswordRequiredCharacters; /** @nullable */ security_manual_linking_enabled?: boolean | null; /** @nullable */ security_update_password_require_reauthentication?: boolean | null; /** * @minimum 0 * @maximum 2147483647 * @nullable */ security_refresh_token_reuse_interval?: number | null; /** * @minimum 0 * @maximum 2147483647 */ mailer_otp_exp?: number; /** * @minimum 6 * @maximum 10 * @nullable */ mailer_otp_length?: number | null; /** @nullable */ sms_autoconfirm?: boolean | null; /** * @minimum 0 * @maximum 32767 * @nullable */ sms_max_frequency?: number | null; /** * @minimum 0 * @maximum 2147483647 * @nullable */ sms_otp_exp?: number | null; /** * @minimum 0 * @maximum 32767 */ sms_otp_length?: number; /** @nullable */ sms_provider?: UpdateAuthConfigBodySmsProvider; /** @nullable */ sms_messagebird_access_key?: string | null; /** @nullable */ sms_messagebird_originator?: string | null; /** * @nullable * @pattern ^([0-9]{1,15}=[0-9]+,?)*$ */ sms_test_otp?: string | null; /** @nullable */ sms_test_otp_valid_until?: string | null; /** @nullable */ sms_textlocal_api_key?: string | null; /** @nullable */ sms_textlocal_sender?: string | null; /** @nullable */ sms_twilio_account_sid?: string | null; /** @nullable */ sms_twilio_auth_token?: string | null; /** @nullable */ sms_twilio_content_sid?: string | null; /** @nullable */ sms_twilio_message_service_sid?: string | null; /** @nullable */ sms_twilio_verify_account_sid?: string | null; /** @nullable */ sms_twilio_verify_auth_token?: string | null; /** @nullable */ sms_twilio_verify_message_service_sid?: string | null; /** @nullable */ sms_vonage_api_key?: string | null; /** @nullable */ sms_vonage_api_secret?: string | null; /** @nullable */ sms_vonage_from?: string | null; /** @nullable */ sms_template?: string | null; /** @nullable */ hook_mfa_verification_attempt_enabled?: boolean | null; /** @nullable */ hook_mfa_verification_attempt_uri?: string | null; /** @nullable */ hook_mfa_verification_attempt_secrets?: string | null; /** @nullable */ hook_password_verification_attempt_enabled?: boolean | null; /** @nullable */ hook_password_verification_attempt_uri?: string | null; /** @nullable */ hook_password_verification_attempt_secrets?: string | null; /** @nullable */ hook_custom_access_token_enabled?: boolean | null; /** @nullable */ hook_custom_access_token_uri?: string | null; /** @nullable */ hook_custom_access_token_secrets?: string | null; /** @nullable */ hook_send_sms_enabled?: boolean | null; /** @nullable */ hook_send_sms_uri?: string | null; /** @nullable */ hook_send_sms_secrets?: string | null; /** @nullable */ hook_send_email_enabled?: boolean | null; /** @nullable */ hook_send_email_uri?: string | null; /** @nullable */ hook_send_email_secrets?: string | null; /** @nullable */ hook_before_user_created_enabled?: boolean | null; /** @nullable */ hook_before_user_created_uri?: string | null; /** @nullable */ hook_before_user_created_secrets?: string | null; /** @nullable */ hook_after_user_created_enabled?: boolean | null; /** @nullable */ hook_after_user_created_uri?: string | null; /** @nullable */ hook_after_user_created_secrets?: string | null; /** @nullable */ external_apple_enabled?: boolean | null; /** @nullable */ external_apple_client_id?: string | null; /** @nullable */ external_apple_email_optional?: boolean | null; /** @nullable */ external_apple_secret?: string | null; /** @nullable */ external_apple_additional_client_ids?: string | null; /** @nullable */ external_azure_enabled?: boolean | null; /** @nullable */ external_azure_client_id?: string | null; /** @nullable */ external_azure_email_optional?: boolean | null; /** @nullable */ external_azure_secret?: string | null; /** @nullable */ external_azure_url?: string | null; /** @nullable */ external_bitbucket_enabled?: boolean | null; /** @nullable */ external_bitbucket_client_id?: string | null; /** @nullable */ external_bitbucket_email_optional?: boolean | null; /** @nullable */ external_bitbucket_secret?: string | null; /** @nullable */ external_discord_enabled?: boolean | null; /** @nullable */ external_discord_client_id?: string | null; /** @nullable */ external_discord_email_optional?: boolean | null; /** @nullable */ external_discord_secret?: string | null; /** @nullable */ external_facebook_enabled?: boolean | null; /** @nullable */ external_facebook_client_id?: string | null; /** @nullable */ external_facebook_email_optional?: boolean | null; /** @nullable */ external_facebook_secret?: string | null; /** @nullable */ external_figma_enabled?: boolean | null; /** @nullable */ external_figma_client_id?: string | null; /** @nullable */ external_figma_email_optional?: boolean | null; /** @nullable */ external_figma_secret?: string | null; /** @nullable */ external_github_enabled?: boolean | null; /** @nullable */ external_github_client_id?: string | null; /** @nullable */ external_github_email_optional?: boolean | null; /** @nullable */ external_github_secret?: string | null; /** @nullable */ external_gitlab_enabled?: boolean | null; /** @nullable */ external_gitlab_client_id?: string | null; /** @nullable */ external_gitlab_email_optional?: boolean | null; /** @nullable */ external_gitlab_secret?: string | null; /** @nullable */ external_gitlab_url?: string | null; /** @nullable */ external_google_enabled?: boolean | null; /** @nullable */ external_google_client_id?: string | null; /** @nullable */ external_google_email_optional?: boolean | null; /** @nullable */ external_google_secret?: string | null; /** @nullable */ external_google_additional_client_ids?: string | null; /** @nullable */ external_google_skip_nonce_check?: boolean | null; /** @nullable */ external_kakao_enabled?: boolean | null; /** @nullable */ external_kakao_client_id?: string | null; /** @nullable */ external_kakao_email_optional?: boolean | null; /** @nullable */ external_kakao_secret?: string | null; /** @nullable */ external_keycloak_enabled?: boolean | null; /** @nullable */ external_keycloak_client_id?: string | null; /** @nullable */ external_keycloak_email_optional?: boolean | null; /** @nullable */ external_keycloak_secret?: string | null; /** @nullable */ external_keycloak_url?: string | null; /** @nullable */ external_linkedin_oidc_enabled?: boolean | null; /** @nullable */ external_linkedin_oidc_client_id?: string | null; /** @nullable */ external_linkedin_oidc_email_optional?: boolean | null; /** @nullable */ external_linkedin_oidc_secret?: string | null; /** @nullable */ external_slack_oidc_enabled?: boolean | null; /** @nullable */ external_slack_oidc_client_id?: string | null; /** @nullable */ external_slack_oidc_email_optional?: boolean | null; /** @nullable */ external_slack_oidc_secret?: string | null; /** @nullable */ external_notion_enabled?: boolean | null; /** @nullable */ external_notion_client_id?: string | null; /** @nullable */ external_notion_email_optional?: boolean | null; /** @nullable */ external_notion_secret?: string | null; /** @nullable */ external_slack_enabled?: boolean | null; /** @nullable */ external_slack_client_id?: string | null; /** @nullable */ external_slack_email_optional?: boolean | null; /** @nullable */ external_slack_secret?: string | null; /** @nullable */ external_spotify_enabled?: boolean | null; /** @nullable */ external_spotify_client_id?: string | null; /** @nullable */ external_spotify_email_optional?: boolean | null; /** @nullable */ external_spotify_secret?: string | null; /** @nullable */ external_twitch_enabled?: boolean | null; /** @nullable */ external_twitch_client_id?: string | null; /** @nullable */ external_twitch_email_optional?: boolean | null; /** @nullable */ external_twitch_secret?: string | null; /** @nullable */ external_twitter_enabled?: boolean | null; /** @nullable */ external_twitter_client_id?: string | null; /** @nullable */ external_twitter_email_optional?: boolean | null; /** @nullable */ external_twitter_secret?: string | null; /** @nullable */ external_x_enabled?: boolean | null; /** @nullable */ external_x_client_id?: string | null; /** @nullable */ external_x_email_optional?: boolean | null; /** @nullable */ external_x_secret?: string | null; /** @nullable */ external_workos_enabled?: boolean | null; /** @nullable */ external_workos_client_id?: string | null; /** @nullable */ external_workos_secret?: string | null; /** @nullable */ external_workos_url?: string | null; /** @nullable */ external_web3_solana_enabled?: boolean | null; /** @nullable */ external_web3_ethereum_enabled?: boolean | null; /** @nullable */ external_zoom_enabled?: boolean | null; /** @nullable */ external_zoom_client_id?: string | null; /** @nullable */ external_zoom_email_optional?: boolean | null; /** @nullable */ external_zoom_secret?: string | null; /** @nullable */ db_max_pool_size?: number | null; /** @nullable */ db_max_pool_size_unit?: UpdateAuthConfigBodyDbMaxPoolSizeUnit; /** @nullable */ api_max_request_duration?: number | null; /** @nullable */ mfa_totp_enroll_enabled?: boolean | null; /** @nullable */ mfa_totp_verify_enabled?: boolean | null; /** @nullable */ mfa_web_authn_enroll_enabled?: boolean | null; /** @nullable */ mfa_web_authn_verify_enabled?: boolean | null; /** @nullable */ mfa_phone_enroll_enabled?: boolean | null; /** @nullable */ mfa_phone_verify_enabled?: boolean | null; /** * @minimum 0 * @maximum 32767 * @nullable */ mfa_phone_max_frequency?: number | null; /** * @minimum 0 * @maximum 32767 * @nullable */ mfa_phone_otp_length?: number | null; /** @nullable */ mfa_phone_template?: string | null; /** @nullable */ nimbus_oauth_client_id?: string | null; /** @nullable */ nimbus_oauth_client_secret?: string | null; /** @nullable */ oauth_server_enabled?: boolean | null; /** @nullable */ oauth_server_allow_dynamic_registration?: boolean | null; /** @nullable */ oauth_server_authorization_path?: string | null; } interface CreateThirdPartyAuthBody { oidc_issuer_url?: string; jwks_url?: string; custom_jwks?: unknown; } interface ThirdPartyAuth { id: string; type: string; /** @nullable */ oidc_issuer_url?: string | null; /** @nullable */ jwks_url?: string | null; custom_jwks?: unknown | null; resolved_jwks?: unknown | null; inserted_at: string; updated_at: string; /** @nullable */ resolved_at?: string | null; } type GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemReleaseChannel = typeof GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemReleaseChannel[keyof typeof GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemReleaseChannel]; declare const GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemReleaseChannel: { readonly internal: "internal"; readonly alpha: "alpha"; readonly beta: "beta"; readonly ga: "ga"; readonly withdrawn: "withdrawn"; readonly preview: "preview"; }; type GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemPostgresEngine = typeof GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemPostgresEngine[keyof typeof GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemPostgresEngine]; declare const GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemPostgresEngine: { readonly NUMBER_13: "13"; readonly NUMBER_14: "14"; readonly NUMBER_15: "15"; readonly NUMBER_17: "17"; readonly '17-oriole': "17-oriole"; }; type GetProjectAvailableRestoreVersionsResponseAvailableVersionsItem = { version: string; release_channel: GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemReleaseChannel; postgres_engine: GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemPostgresEngine; }; interface GetProjectAvailableRestoreVersionsResponse { available_versions: GetProjectAvailableRestoreVersionsResponseAvailableVersionsItem[]; } type ListProjectAddonsResponseSelectedAddonsItemType = typeof ListProjectAddonsResponseSelectedAddonsItemType[keyof typeof ListProjectAddonsResponseSelectedAddonsItemType]; declare const ListProjectAddonsResponseSelectedAddonsItemType: { readonly custom_domain: "custom_domain"; readonly compute_instance: "compute_instance"; readonly pitr: "pitr"; readonly ipv4: "ipv4"; readonly auth_mfa_phone: "auth_mfa_phone"; readonly auth_mfa_web_authn: "auth_mfa_web_authn"; readonly log_drain: "log_drain"; }; declare const ListProjectAddonsResponseSelectedAddonsItemVariantId: { readonly ci_micro: "ci_micro"; readonly ci_small: "ci_small"; readonly ci_medium: "ci_medium"; readonly ci_large: "ci_large"; readonly ci_xlarge: "ci_xlarge"; readonly ci_2xlarge: "ci_2xlarge"; readonly ci_4xlarge: "ci_4xlarge"; readonly ci_8xlarge: "ci_8xlarge"; readonly ci_12xlarge: "ci_12xlarge"; readonly ci_16xlarge: "ci_16xlarge"; readonly ci_24xlarge: "ci_24xlarge"; readonly ci_24xlarge_optimized_cpu: "ci_24xlarge_optimized_cpu"; readonly ci_24xlarge_optimized_memory: "ci_24xlarge_optimized_memory"; readonly ci_24xlarge_high_memory: "ci_24xlarge_high_memory"; readonly ci_48xlarge: "ci_48xlarge"; readonly ci_48xlarge_optimized_cpu: "ci_48xlarge_optimized_cpu"; readonly ci_48xlarge_optimized_memory: "ci_48xlarge_optimized_memory"; readonly ci_48xlarge_high_memory: "ci_48xlarge_high_memory"; readonly cd_default: "cd_default"; readonly pitr_7: "pitr_7"; readonly pitr_14: "pitr_14"; readonly pitr_28: "pitr_28"; readonly ipv4_default: "ipv4_default"; readonly auth_mfa_phone_default: "auth_mfa_phone_default"; readonly auth_mfa_web_authn_default: "auth_mfa_web_authn_default"; readonly log_drain_default: "log_drain_default"; }; type ListProjectAddonsResponseSelectedAddonsItemVariantPriceType = typeof ListProjectAddonsResponseSelectedAddonsItemVariantPriceType[keyof typeof ListProjectAddonsResponseSelectedAddonsItemVariantPriceType]; declare const ListProjectAddonsResponseSelectedAddonsItemVariantPriceType: { readonly fixed: "fixed"; readonly usage: "usage"; }; type ListProjectAddonsResponseSelectedAddonsItemVariantPriceInterval = typeof ListProjectAddonsResponseSelectedAddonsItemVariantPriceInterval[keyof typeof ListProjectAddonsResponseSelectedAddonsItemVariantPriceInterval]; declare const ListProjectAddonsResponseSelectedAddonsItemVariantPriceInterval: { readonly monthly: "monthly"; readonly hourly: "hourly"; }; type ListProjectAddonsResponseSelectedAddonsItemVariantPrice = { description: string; type: ListProjectAddonsResponseSelectedAddonsItemVariantPriceType; interval: ListProjectAddonsResponseSelectedAddonsItemVariantPriceInterval; amount: number; }; type ListProjectAddonsResponseSelectedAddonsItemVariant = { id: typeof ListProjectAddonsResponseSelectedAddonsItemVariantId[keyof typeof ListProjectAddonsResponseSelectedAddonsItemVariantId]; name: string; price: ListProjectAddonsResponseSelectedAddonsItemVariantPrice; /** Any JSON-serializable value */ meta?: unknown; }; type ListProjectAddonsResponseSelectedAddonsItem = { type: ListProjectAddonsResponseSelectedAddonsItemType; variant: ListProjectAddonsResponseSelectedAddonsItemVariant; }; type ListProjectAddonsResponseAvailableAddonsItemType = typeof ListProjectAddonsResponseAvailableAddonsItemType[keyof typeof ListProjectAddonsResponseAvailableAddonsItemType]; declare const ListProjectAddonsResponseAvailableAddonsItemType: { readonly custom_domain: "custom_domain"; readonly compute_instance: "compute_instance"; readonly pitr: "pitr"; readonly ipv4: "ipv4"; readonly auth_mfa_phone: "auth_mfa_phone"; readonly auth_mfa_web_authn: "auth_mfa_web_authn"; readonly log_drain: "log_drain"; }; declare const ListProjectAddonsResponseAvailableAddonsItemVariantsItemId: { readonly ci_micro: "ci_micro"; readonly ci_small: "ci_small"; readonly ci_medium: "ci_medium"; readonly ci_large: "ci_large"; readonly ci_xlarge: "ci_xlarge"; readonly ci_2xlarge: "ci_2xlarge"; readonly ci_4xlarge: "ci_4xlarge"; readonly ci_8xlarge: "ci_8xlarge"; readonly ci_12xlarge: "ci_12xlarge"; readonly ci_16xlarge: "ci_16xlarge"; readonly ci_24xlarge: "ci_24xlarge"; readonly ci_24xlarge_optimized_cpu: "ci_24xlarge_optimized_cpu"; readonly ci_24xlarge_optimized_memory: "ci_24xlarge_optimized_memory"; readonly ci_24xlarge_high_memory: "ci_24xlarge_high_memory"; readonly ci_48xlarge: "ci_48xlarge"; readonly ci_48xlarge_optimized_cpu: "ci_48xlarge_optimized_cpu"; readonly ci_48xlarge_optimized_memory: "ci_48xlarge_optimized_memory"; readonly ci_48xlarge_high_memory: "ci_48xlarge_high_memory"; readonly cd_default: "cd_default"; readonly pitr_7: "pitr_7"; readonly pitr_14: "pitr_14"; readonly pitr_28: "pitr_28"; readonly ipv4_default: "ipv4_default"; readonly auth_mfa_phone_default: "auth_mfa_phone_default"; readonly auth_mfa_web_authn_default: "auth_mfa_web_authn_default"; readonly log_drain_default: "log_drain_default"; }; type ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceType = typeof ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceType[keyof typeof ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceType]; declare const ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceType: { readonly fixed: "fixed"; readonly usage: "usage"; }; type ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceInterval = typeof ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceInterval[keyof typeof ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceInterval]; declare const ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceInterval: { readonly monthly: "monthly"; readonly hourly: "hourly"; }; type ListProjectAddonsResponseAvailableAddonsItemVariantsItemPrice = { description: string; type: ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceType; interval: ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceInterval; amount: number; }; type ListProjectAddonsResponseAvailableAddonsItemVariantsItem = { id: typeof ListProjectAddonsResponseAvailableAddonsItemVariantsItemId[keyof typeof ListProjectAddonsResponseAvailableAddonsItemVariantsItemId]; name: string; price: ListProjectAddonsResponseAvailableAddonsItemVariantsItemPrice; /** Any JSON-serializable value */ meta?: unknown; }; type ListProjectAddonsResponseAvailableAddonsItem = { type: ListProjectAddonsResponseAvailableAddonsItemType; name: string; variants: ListProjectAddonsResponseAvailableAddonsItemVariantsItem[]; }; interface ListProjectAddonsResponse { selected_addons: ListProjectAddonsResponseSelectedAddonsItem[]; available_addons: ListProjectAddonsResponseAvailableAddonsItem[]; } declare const ApplyProjectAddonBodyAddonVariant: { readonly ci_micro: "ci_micro"; readonly ci_small: "ci_small"; readonly ci_medium: "ci_medium"; readonly ci_large: "ci_large"; readonly ci_xlarge: "ci_xlarge"; readonly ci_2xlarge: "ci_2xlarge"; readonly ci_4xlarge: "ci_4xlarge"; readonly ci_8xlarge: "ci_8xlarge"; readonly ci_12xlarge: "ci_12xlarge"; readonly ci_16xlarge: "ci_16xlarge"; readonly ci_24xlarge: "ci_24xlarge"; readonly ci_24xlarge_optimized_cpu: "ci_24xlarge_optimized_cpu"; readonly ci_24xlarge_optimized_memory: "ci_24xlarge_optimized_memory"; readonly ci_24xlarge_high_memory: "ci_24xlarge_high_memory"; readonly ci_48xlarge: "ci_48xlarge"; readonly ci_48xlarge_optimized_cpu: "ci_48xlarge_optimized_cpu"; readonly ci_48xlarge_optimized_memory: "ci_48xlarge_optimized_memory"; readonly ci_48xlarge_high_memory: "ci_48xlarge_high_memory"; readonly cd_default: "cd_default"; readonly pitr_7: "pitr_7"; readonly pitr_14: "pitr_14"; readonly pitr_28: "pitr_28"; readonly ipv4_default: "ipv4_default"; }; type ApplyProjectAddonBodyAddonType = typeof ApplyProjectAddonBodyAddonType[keyof typeof ApplyProjectAddonBodyAddonType]; declare const ApplyProjectAddonBodyAddonType: { readonly custom_domain: "custom_domain"; readonly compute_instance: "compute_instance"; readonly pitr: "pitr"; readonly ipv4: "ipv4"; readonly auth_mfa_phone: "auth_mfa_phone"; readonly auth_mfa_web_authn: "auth_mfa_web_authn"; readonly log_drain: "log_drain"; }; interface ApplyProjectAddonBody { addon_variant: typeof ApplyProjectAddonBodyAddonVariant[keyof typeof ApplyProjectAddonBodyAddonVariant]; addon_type: ApplyProjectAddonBodyAddonType; } interface ProjectClaimTokenResponse { token_alias: string; expires_at: string; created_at: string; created_by: string; } interface CreateProjectClaimTokenResponse { token: string; token_alias: string; expires_at: string; created_at: string; created_by: string; } type V1ProjectAdvisorsResponseLintsItemName = typeof V1ProjectAdvisorsResponseLintsItemName[keyof typeof V1ProjectAdvisorsResponseLintsItemName]; declare const V1ProjectAdvisorsResponseLintsItemName: { readonly unindexed_foreign_keys: "unindexed_foreign_keys"; readonly auth_users_exposed: "auth_users_exposed"; readonly auth_rls_initplan: "auth_rls_initplan"; readonly no_primary_key: "no_primary_key"; readonly unused_index: "unused_index"; readonly multiple_permissive_policies: "multiple_permissive_policies"; readonly policy_exists_rls_disabled: "policy_exists_rls_disabled"; readonly rls_enabled_no_policy: "rls_enabled_no_policy"; readonly duplicate_index: "duplicate_index"; readonly security_definer_view: "security_definer_view"; readonly function_search_path_mutable: "function_search_path_mutable"; readonly rls_disabled_in_public: "rls_disabled_in_public"; readonly extension_in_public: "extension_in_public"; readonly rls_references_user_metadata: "rls_references_user_metadata"; readonly materialized_view_in_api: "materialized_view_in_api"; readonly foreign_table_in_api: "foreign_table_in_api"; readonly unsupported_reg_types: "unsupported_reg_types"; readonly auth_otp_long_expiry: "auth_otp_long_expiry"; readonly auth_otp_short_length: "auth_otp_short_length"; readonly ssl_not_enforced: "ssl_not_enforced"; readonly network_restrictions_not_set: "network_restrictions_not_set"; readonly password_requirements_min_length: "password_requirements_min_length"; readonly pitr_not_enabled: "pitr_not_enabled"; readonly auth_leaked_password_protection: "auth_leaked_password_protection"; readonly auth_insufficient_mfa_options: "auth_insufficient_mfa_options"; readonly auth_password_policy_missing: "auth_password_policy_missing"; readonly leaked_service_key: "leaked_service_key"; readonly no_backup_admin: "no_backup_admin"; readonly vulnerable_postgres_version: "vulnerable_postgres_version"; }; type V1ProjectAdvisorsResponseLintsItemLevel = typeof V1ProjectAdvisorsResponseLintsItemLevel[keyof typeof V1ProjectAdvisorsResponseLintsItemLevel]; declare const V1ProjectAdvisorsResponseLintsItemLevel: { readonly ERROR: "ERROR"; readonly WARN: "WARN"; readonly INFO: "INFO"; }; type V1ProjectAdvisorsResponseLintsItemFacing = typeof V1ProjectAdvisorsResponseLintsItemFacing[keyof typeof V1ProjectAdvisorsResponseLintsItemFacing]; declare const V1ProjectAdvisorsResponseLintsItemFacing: { readonly EXTERNAL: "EXTERNAL"; }; type V1ProjectAdvisorsResponseLintsItemCategoriesItem = typeof V1ProjectAdvisorsResponseLintsItemCategoriesItem[keyof typeof V1ProjectAdvisorsResponseLintsItemCategoriesItem]; declare const V1ProjectAdvisorsResponseLintsItemCategoriesItem: { readonly PERFORMANCE: "PERFORMANCE"; readonly SECURITY: "SECURITY"; }; type V1ProjectAdvisorsResponseLintsItemMetadataType = typeof V1ProjectAdvisorsResponseLintsItemMetadataType[keyof typeof V1ProjectAdvisorsResponseLintsItemMetadataType]; declare const V1ProjectAdvisorsResponseLintsItemMetadataType: { readonly table: "table"; readonly view: "view"; readonly auth: "auth"; readonly function: "function"; readonly extension: "extension"; readonly compliance: "compliance"; }; type V1ProjectAdvisorsResponseLintsItemMetadata = { schema?: string; name?: string; entity?: string; type?: V1ProjectAdvisorsResponseLintsItemMetadataType; fkey_name?: string; fkey_columns?: number[]; }; type V1ProjectAdvisorsResponseLintsItem = { name: V1ProjectAdvisorsResponseLintsItemName; title: string; level: V1ProjectAdvisorsResponseLintsItemLevel; facing: V1ProjectAdvisorsResponseLintsItemFacing; categories: V1ProjectAdvisorsResponseLintsItemCategoriesItem[]; description: string; detail: string; remediation: string; metadata?: V1ProjectAdvisorsResponseLintsItemMetadata; cache_key: string; }; interface V1ProjectAdvisorsResponse { lints: V1ProjectAdvisorsResponseLintsItem[]; } type AnalyticsResponseError = string | { code: number; errors: { domain: string; location: string; locationType: string; message: string; reason: string; }[]; message: string; status: string; }; interface AnalyticsResponse { result?: unknown[]; error?: AnalyticsResponseError; } type V1GetUsageApiCountResponseResultItem = { timestamp: string; total_auth_requests: number; total_realtime_requests: number; total_rest_requests: number; total_storage_requests: number; }; type V1GetUsageApiCountResponseError = string | { code: number; errors: { domain: string; location: string; locationType: string; message: string; reason: string; }[]; message: string; status: string; }; interface V1GetUsageApiCountResponse { result?: V1GetUsageApiCountResponseResultItem[]; error?: V1GetUsageApiCountResponseError; } type V1GetUsageApiRequestsCountResponseResultItem = { count: number; }; type V1GetUsageApiRequestsCountResponseError = string | { code: number; errors: { domain: string; location: string; locationType: string; message: string; reason: string; }[]; message: string; status: string; }; interface V1GetUsageApiRequestsCountResponse { result?: V1GetUsageApiRequestsCountResponseResultItem[]; error?: V1GetUsageApiRequestsCountResponseError; } interface CreateRoleBody { read_only: boolean; } interface CreateRoleResponse { /** @minLength 1 */ role: string; /** @minLength 1 */ password: string; /** @minimum 1 */ ttl_seconds: number; } type DeleteRolesResponseMessage = typeof DeleteRolesResponseMessage[keyof typeof DeleteRolesResponseMessage]; declare const DeleteRolesResponseMessage: { readonly ok: "ok"; }; interface DeleteRolesResponse { message: DeleteRolesResponseMessage; } type V1ListMigrationsResponseItem = { /** @minLength 1 */ version: string; name?: string; }; type V1ListMigrationsResponse = V1ListMigrationsResponseItem[]; interface V1CreateMigrationBody { /** @minLength 1 */ query: string; name?: string; rollback?: string; } interface V1UpsertMigrationBody { /** @minLength 1 */ query: string; name?: string; rollback?: string; } interface V1GetMigrationResponse { /** @minLength 1 */ version: string; name?: string; statements?: string[]; rollback?: string[]; created_by?: string; idempotency_key?: string; } interface V1PatchMigrationBody { name?: string; rollback?: string; } interface V1RunQueryBody { /** @minLength 1 */ query: string; parameters?: unknown[]; read_only?: boolean; } interface V1ReadOnlyQueryBody { /** @minLength 1 */ query: string; parameters?: unknown[]; } type GetProjectDbMetadataResponseDatabasesItemSchemasItem = { name: string; [key: string]: unknown; }; type GetProjectDbMetadataResponseDatabasesItem = { name: string; schemas: GetProjectDbMetadataResponseDatabasesItemSchemasItem[]; [key: string]: unknown; }; interface GetProjectDbMetadataResponse { databases: GetProjectDbMetadataResponseDatabasesItem[]; } interface V1UpdatePasswordBody { /** @minLength 4 */ password: string; } interface V1UpdatePasswordResponse { message: string; } interface AuthorizeJitAccessBody { /** @minLength 1 */ role: string; /** @minLength 1 */ rhost: string; } type JitAuthorizeAccessResponseUserRoleAllowedNetworksAllowedCidrsItem = { cidr: string; }; type JitAuthorizeAccessResponseUserRoleAllowedNetworksAllowedCidrsV6Item = { cidr: string; }; type JitAuthorizeAccessResponseUserRoleAllowedNetworks = { allowed_cidrs?: JitAuthorizeAccessResponseUserRoleAllowedNetworksAllowedCidrsItem[]; allowed_cidrs_v6?: JitAuthorizeAccessResponseUserRoleAllowedNetworksAllowedCidrsV6Item[]; }; type JitAuthorizeAccessResponseUserRole = { /** @minLength 1 */ role: string; expires_at?: number; allowed_networks?: JitAuthorizeAccessResponseUserRoleAllowedNetworks; }; interface JitAuthorizeAccessResponse { user_id: string; user_role: JitAuthorizeAccessResponseUserRole; } type JitListAccessResponseItemsItemUserRolesItemAllowedNetworksAllowedCidrsItem = { cidr: string; }; type JitListAccessResponseItemsItemUserRolesItemAllowedNetworksAllowedCidrsV6Item = { cidr: string; }; type JitListAccessResponseItemsItemUserRolesItemAllowedNetworks = { allowed_cidrs?: JitListAccessResponseItemsItemUserRolesItemAllowedNetworksAllowedCidrsItem[]; allowed_cidrs_v6?: JitListAccessResponseItemsItemUserRolesItemAllowedNetworksAllowedCidrsV6Item[]; }; type JitListAccessResponseItemsItemUserRolesItem = { /** @minLength 1 */ role: string; expires_at?: number; allowed_networks?: JitListAccessResponseItemsItemUserRolesItemAllowedNetworks; }; type JitListAccessResponseItemsItem = { user_id: string; user_roles: JitListAccessResponseItemsItemUserRolesItem[]; }; interface JitListAccessResponse { items: JitListAccessResponseItemsItem[]; } type UpdateJitAccessBodyRolesItemAllowedNetworksAllowedCidrsItem = { cidr: string; }; type UpdateJitAccessBodyRolesItemAllowedNetworksAllowedCidrsV6Item = { cidr: string; }; type UpdateJitAccessBodyRolesItemAllowedNetworks = { allowed_cidrs?: UpdateJitAccessBodyRolesItemAllowedNetworksAllowedCidrsItem[]; allowed_cidrs_v6?: UpdateJitAccessBodyRolesItemAllowedNetworksAllowedCidrsV6Item[]; }; type UpdateJitAccessBodyRolesItem = { /** @minLength 1 */ role: string; expires_at?: number; allowed_networks?: UpdateJitAccessBodyRolesItemAllowedNetworks; }; interface UpdateJitAccessBody { /** @minLength 1 */ user_id: string; roles: UpdateJitAccessBodyRolesItem[]; } type FunctionResponseStatus = typeof FunctionResponseStatus[keyof typeof FunctionResponseStatus]; declare const FunctionResponseStatus: { readonly ACTIVE: "ACTIVE"; readonly REMOVED: "REMOVED"; readonly THROTTLED: "THROTTLED"; }; interface FunctionResponse { id: string; slug: string; name: string; status: FunctionResponseStatus; version: number; created_at: number; updated_at: number; verify_jwt?: boolean; import_map?: boolean; entrypoint_path?: string; import_map_path?: string; ezbr_sha256?: string; } interface V1CreateFunctionBody { /** @pattern ^[A-Za-z][A-Za-z0-9_-]*$ */ slug: string; name: string; body: string; verify_jwt?: boolean; } type BulkUpdateFunctionBodyItemStatus = typeof BulkUpdateFunctionBodyItemStatus[keyof typeof BulkUpdateFunctionBodyItemStatus]; declare const BulkUpdateFunctionBodyItemStatus: { readonly ACTIVE: "ACTIVE"; readonly REMOVED: "REMOVED"; readonly THROTTLED: "THROTTLED"; }; type BulkUpdateFunctionBodyItem = { id: string; /** @pattern ^[A-Za-z][A-Za-z0-9_-]*$ */ slug: string; name: string; status: BulkUpdateFunctionBodyItemStatus; version: number; created_at?: number; verify_jwt?: boolean; import_map?: boolean; entrypoint_path?: string; import_map_path?: string; ezbr_sha256?: string; }; type BulkUpdateFunctionBody = BulkUpdateFunctionBodyItem[]; type BulkUpdateFunctionResponseFunctionsItemStatus = typeof BulkUpdateFunctionResponseFunctionsItemStatus[keyof typeof BulkUpdateFunctionResponseFunctionsItemStatus]; declare const BulkUpdateFunctionResponseFunctionsItemStatus: { readonly ACTIVE: "ACTIVE"; readonly REMOVED: "REMOVED"; readonly THROTTLED: "THROTTLED"; }; type BulkUpdateFunctionResponseFunctionsItem = { id: string; slug: string; name: string; status: BulkUpdateFunctionResponseFunctionsItemStatus; version: number; created_at: number; updated_at: number; verify_jwt?: boolean; import_map?: boolean; entrypoint_path?: string; import_map_path?: string; ezbr_sha256?: string; }; interface BulkUpdateFunctionResponse { functions: BulkUpdateFunctionResponseFunctionsItem[]; } type FunctionDeployBodyMetadata = { entrypoint_path: string; import_map_path?: string; static_patterns?: string[]; verify_jwt?: boolean; name?: string; }; interface FunctionDeployBody { file?: string[]; metadata: FunctionDeployBodyMetadata; } type DeployFunctionResponseStatus = typeof DeployFunctionResponseStatus[keyof typeof DeployFunctionResponseStatus]; declare const DeployFunctionResponseStatus: { readonly ACTIVE: "ACTIVE"; readonly REMOVED: "REMOVED"; readonly THROTTLED: "THROTTLED"; }; interface DeployFunctionResponse { id: string; slug: string; name: string; status: DeployFunctionResponseStatus; version: number; created_at?: number; updated_at?: number; verify_jwt?: boolean; import_map?: boolean; entrypoint_path?: string; import_map_path?: string; ezbr_sha256?: string; } type FunctionSlugResponseStatus = typeof FunctionSlugResponseStatus[keyof typeof FunctionSlugResponseStatus]; declare const FunctionSlugResponseStatus: { readonly ACTIVE: "ACTIVE"; readonly REMOVED: "REMOVED"; readonly THROTTLED: "THROTTLED"; }; interface FunctionSlugResponse { id: string; slug: string; name: string; status: FunctionSlugResponseStatus; version: number; created_at: number; updated_at: number; verify_jwt?: boolean; import_map?: boolean; entrypoint_path?: string; import_map_path?: string; ezbr_sha256?: string; } interface StreamableFile { [key: string]: unknown; } interface V1UpdateFunctionBody { name?: string; body?: string; verify_jwt?: boolean; } interface V1StorageBucketResponse { id: string; name: string; owner: string; created_at: string; updated_at: string; public: boolean; } type DiskUtilMetricsResponseMetrics = { fs_size_bytes: number; fs_avail_bytes: number; fs_used_bytes: number; }; interface DiskUtilMetricsResponse { timestamp: string; metrics: DiskUtilMetricsResponseMetrics; } type DiskRequestBodyAttributes = { /** @exclusiveMinimum 0 */ iops: number; /** @exclusiveMinimum 0 */ size_gb: number; /** @exclusiveMinimum 0 */ throughput_mibps?: number; type: 'gp3'; } | { /** @exclusiveMinimum 0 */ iops: number; /** @exclusiveMinimum 0 */ size_gb: number; type: 'io2'; }; interface DiskRequestBody { attributes: DiskRequestBodyAttributes; } interface DiskAutoscaleConfig { /** * Growth percentage for disk autoscaling * @exclusiveMinimum 0 * @nullable */ growth_percent: number | null; /** * Minimum increment size for disk autoscaling in GB * @exclusiveMinimum 0 * @nullable */ min_increment_gb: number | null; /** * Maximum limit the disk size will grow to in GB * @exclusiveMinimum 0 * @nullable */ max_size_gb: number | null; } type StorageConfigResponseFeaturesImageTransformation = { enabled: boolean; }; type StorageConfigResponseFeaturesS3Protocol = { enabled: boolean; }; type StorageConfigResponseFeaturesIcebergCatalog = { enabled: boolean; /** @minimum 0 */ maxNamespaces: number; /** @minimum 0 */ maxTables: number; /** @minimum 0 */ maxCatalogs: number; }; type StorageConfigResponseFeaturesVectorBuckets = { enabled: boolean; /** @minimum 0 */ maxBuckets: number; /** @minimum 0 */ maxIndexes: number; }; type StorageConfigResponseFeatures = { imageTransformation: StorageConfigResponseFeaturesImageTransformation; s3Protocol: StorageConfigResponseFeaturesS3Protocol; icebergCatalog: StorageConfigResponseFeaturesIcebergCatalog; vectorBuckets: StorageConfigResponseFeaturesVectorBuckets; }; type StorageConfigResponseCapabilities = { list_v2: boolean; iceberg_catalog: boolean; }; type StorageConfigResponseExternalUpstreamTarget = typeof StorageConfigResponseExternalUpstreamTarget[keyof typeof StorageConfigResponseExternalUpstreamTarget]; declare const StorageConfigResponseExternalUpstreamTarget: { readonly main: "main"; readonly canary: "canary"; }; type StorageConfigResponseExternal = { upstreamTarget: StorageConfigResponseExternalUpstreamTarget; }; interface StorageConfigResponse { fileSizeLimit: number; features: StorageConfigResponseFeatures; capabilities: StorageConfigResponseCapabilities; external: StorageConfigResponseExternal; migrationVersion: string; databasePoolMode: string; } type UpdateStorageConfigBodyFeaturesImageTransformation = { enabled: boolean; }; type UpdateStorageConfigBodyFeaturesS3Protocol = { enabled: boolean; }; type UpdateStorageConfigBodyFeaturesIcebergCatalog = { enabled: boolean; /** @minimum 0 */ maxNamespaces: number; /** @minimum 0 */ maxTables: number; /** @minimum 0 */ maxCatalogs: number; }; type UpdateStorageConfigBodyFeaturesVectorBuckets = { enabled: boolean; /** @minimum 0 */ maxBuckets: number; /** @minimum 0 */ maxIndexes: number; }; type UpdateStorageConfigBodyFeatures = { imageTransformation?: UpdateStorageConfigBodyFeaturesImageTransformation; s3Protocol?: UpdateStorageConfigBodyFeaturesS3Protocol; icebergCatalog?: UpdateStorageConfigBodyFeaturesIcebergCatalog; vectorBuckets?: UpdateStorageConfigBodyFeaturesVectorBuckets; }; type UpdateStorageConfigBodyExternalUpstreamTarget = typeof UpdateStorageConfigBodyExternalUpstreamTarget[keyof typeof UpdateStorageConfigBodyExternalUpstreamTarget]; declare const UpdateStorageConfigBodyExternalUpstreamTarget: { readonly main: "main"; readonly canary: "canary"; }; type UpdateStorageConfigBodyExternal = { upstreamTarget: UpdateStorageConfigBodyExternalUpstreamTarget; }; interface UpdateStorageConfigBody { /** * @minimum 0 * @maximum 536870912000 */ fileSizeLimit?: number; features?: UpdateStorageConfigBodyFeatures; external?: UpdateStorageConfigBodyExternal; } type V1PgbouncerConfigResponsePoolMode = typeof V1PgbouncerConfigResponsePoolMode[keyof typeof V1PgbouncerConfigResponsePoolMode]; declare const V1PgbouncerConfigResponsePoolMode: { readonly transaction: "transaction"; readonly session: "session"; readonly statement: "statement"; }; interface V1PgbouncerConfigResponse { default_pool_size?: number; ignore_startup_parameters?: string; max_client_conn?: number; pool_mode?: V1PgbouncerConfigResponsePoolMode; connection_string?: string; server_idle_timeout?: number; server_lifetime?: number; query_wait_timeout?: number; reserve_pool_size?: number; } type SupavisorConfigResponseDatabaseType = typeof SupavisorConfigResponseDatabaseType[keyof typeof SupavisorConfigResponseDatabaseType]; declare const SupavisorConfigResponseDatabaseType: { readonly PRIMARY: "PRIMARY"; readonly READ_REPLICA: "READ_REPLICA"; }; type SupavisorConfigResponsePoolMode = typeof SupavisorConfigResponsePoolMode[keyof typeof SupavisorConfigResponsePoolMode]; declare const SupavisorConfigResponsePoolMode: { readonly transaction: "transaction"; readonly session: "session"; }; interface SupavisorConfigResponse { identifier: string; database_type: SupavisorConfigResponseDatabaseType; is_using_scram_auth: boolean; db_user: string; db_host: string; db_port: number; db_name: string; connection_string: string; /** Use connection_string instead */ connectionString: string; /** @nullable */ default_pool_size: number | null; /** @nullable */ max_client_conn: number | null; pool_mode: SupavisorConfigResponsePoolMode; } /** * Dedicated pooler mode for the project */ type UpdateSupavisorConfigBodyPoolMode = typeof UpdateSupavisorConfigBodyPoolMode[keyof typeof UpdateSupavisorConfigBodyPoolMode]; declare const UpdateSupavisorConfigBodyPoolMode: { readonly transaction: "transaction"; readonly session: "session"; }; interface UpdateSupavisorConfigBody { /** * @minimum 0 * @maximum 3000 * @nullable */ default_pool_size?: number | null; /** Dedicated pooler mode for the project */ pool_mode?: UpdateSupavisorConfigBodyPoolMode; } interface UpdateSupavisorConfigResponse { /** @nullable */ default_pool_size: number | null; pool_mode: string; } type PostgresConfigResponseSessionReplicationRole = typeof PostgresConfigResponseSessionReplicationRole[keyof typeof PostgresConfigResponseSessionReplicationRole]; declare const PostgresConfigResponseSessionReplicationRole: { readonly origin: "origin"; readonly replica: "replica"; readonly local: "local"; }; interface PostgresConfigResponse { effective_cache_size?: string; logical_decoding_work_mem?: string; maintenance_work_mem?: string; track_activity_query_size?: string; /** * @minimum 1 * @maximum 262143 */ max_connections?: number; /** * @minimum 10 * @maximum 2147483640 */ max_locks_per_transaction?: number; /** * @minimum 0 * @maximum 1024 */ max_parallel_maintenance_workers?: number; /** * @minimum 0 * @maximum 1024 */ max_parallel_workers?: number; /** * @minimum 0 * @maximum 1024 */ max_parallel_workers_per_gather?: number; max_replication_slots?: number; max_slot_wal_keep_size?: string; max_standby_archive_delay?: string; max_standby_streaming_delay?: string; max_wal_size?: string; max_wal_senders?: number; /** * @minimum 0 * @maximum 262143 */ max_worker_processes?: number; session_replication_role?: PostgresConfigResponseSessionReplicationRole; shared_buffers?: string; /** * Default unit: ms * @pattern ^(-?[0-9]+(?:\.[0-9]+)?)(us|ms|s|min|h|d)?$ */ statement_timeout?: string; track_commit_timestamp?: boolean; wal_keep_size?: string; /** * Default unit: ms * @pattern ^(-?[0-9]+(?:\.[0-9]+)?)(us|ms|s|min|h|d)?$ */ wal_sender_timeout?: string; work_mem?: string; /** * Default unit: s * @pattern ^(-?[0-9]+(?:\.[0-9]+)?)(us|ms|s|min|h|d)?$ */ checkpoint_timeout?: string; hot_standby_feedback?: boolean; } type UpdatePostgresConfigBodySessionReplicationRole = typeof UpdatePostgresConfigBodySessionReplicationRole[keyof typeof UpdatePostgresConfigBodySessionReplicationRole]; declare const UpdatePostgresConfigBodySessionReplicationRole: { readonly origin: "origin"; readonly replica: "replica"; readonly local: "local"; }; interface UpdatePostgresConfigBody { effective_cache_size?: string; logical_decoding_work_mem?: string; maintenance_work_mem?: string; track_activity_query_size?: string; /** * @minimum 1 * @maximum 262143 */ max_connections?: number; /** * @minimum 10 * @maximum 2147483640 */ max_locks_per_transaction?: number; /** * @minimum 0 * @maximum 1024 */ max_parallel_maintenance_workers?: number; /** * @minimum 0 * @maximum 1024 */ max_parallel_workers?: number; /** * @minimum 0 * @maximum 1024 */ max_parallel_workers_per_gather?: number; max_replication_slots?: number; max_slot_wal_keep_size?: string; max_standby_archive_delay?: string; max_standby_streaming_delay?: string; max_wal_size?: string; max_wal_senders?: number; /** * @minimum 0 * @maximum 262143 */ max_worker_processes?: number; session_replication_role?: UpdatePostgresConfigBodySessionReplicationRole; shared_buffers?: string; /** * Default unit: ms * @pattern ^(-?[0-9]+(?:\.[0-9]+)?)(us|ms|s|min|h|d)?$ */ statement_timeout?: string; track_commit_timestamp?: boolean; wal_keep_size?: string; /** * Default unit: ms * @pattern ^(-?[0-9]+(?:\.[0-9]+)?)(us|ms|s|min|h|d)?$ */ wal_sender_timeout?: string; work_mem?: string; /** * Default unit: s * @pattern ^(-?[0-9]+(?:\.[0-9]+)?)(us|ms|s|min|h|d)?$ */ checkpoint_timeout?: string; hot_standby_feedback?: boolean; restart_database?: boolean; } interface RealtimeConfigResponse { /** * Whether to only allow private channels * @nullable */ private_only: boolean | null; /** * Sets connection pool size for Realtime Authorization * @minimum 1 * @maximum 100 * @nullable */ connection_pool: number | null; /** * Sets maximum number of concurrent users rate limit * @minimum 1 * @maximum 50000 * @nullable */ max_concurrent_users: number | null; /** * Sets maximum number of events per second rate per channel limit * @minimum 1 * @maximum 50000 * @nullable */ max_events_per_second: number | null; /** * Sets maximum number of bytes per second rate per channel limit * @minimum 1 * @maximum 10000000 * @nullable */ max_bytes_per_second: number | null; /** * Sets maximum number of channels per client rate limit * @minimum 1 * @maximum 10000 * @nullable */ max_channels_per_client: number | null; /** * Sets maximum number of joins per second rate limit * @minimum 1 * @maximum 5000 * @nullable */ max_joins_per_second: number | null; /** * Sets maximum number of presence events per second rate limit * @minimum 1 * @maximum 5000 * @nullable */ max_presence_events_per_second: number | null; /** * Sets maximum number of payload size in KB rate limit * @minimum 1 * @maximum 10000 * @nullable */ max_payload_size_in_kb: number | null; /** * Whether to suspend realtime * @nullable */ suspend: boolean | null; } interface UpdateRealtimeConfigBody { /** Whether to only allow private channels */ private_only?: boolean; /** * Sets connection pool size for Realtime Authorization * @minimum 1 * @maximum 100 */ connection_pool?: number; /** * Sets maximum number of concurrent users rate limit * @minimum 1 * @maximum 50000 */ max_concurrent_users?: number; /** * Sets maximum number of events per second rate per channel limit * @minimum 1 * @maximum 50000 */ max_events_per_second?: number; /** * Sets maximum number of bytes per second rate per channel limit * @minimum 1 * @maximum 10000000 */ max_bytes_per_second?: number; /** * Sets maximum number of channels per client rate limit * @minimum 1 * @maximum 10000 */ max_channels_per_client?: number; /** * Sets maximum number of joins per second rate limit * @minimum 1 * @maximum 5000 */ max_joins_per_second?: number; /** * Sets maximum number of presence events per second rate limit * @minimum 1 * @maximum 5000 */ max_presence_events_per_second?: number; /** * Sets maximum number of payload size in KB rate limit * @minimum 1 * @maximum 10000 */ max_payload_size_in_kb?: number; /** Whether to suspend realtime */ suspend?: boolean; } /** * What type of provider will be created */ type CreateProviderBodyType = typeof CreateProviderBodyType[keyof typeof CreateProviderBodyType]; declare const CreateProviderBodyType: { readonly saml: "saml"; }; type CreateProviderBodyAttributeMappingKeysDefault = { [key: string]: unknown; } | number | string | boolean; type CreateProviderBodyAttributeMappingKeys = { [key: string]: { name?: string; names?: string[]; default?: CreateProviderBodyAttributeMappingKeysDefault; array?: boolean; }; }; type CreateProviderBodyAttributeMapping = { keys: CreateProviderBodyAttributeMappingKeys; }; type CreateProviderBodyNameIdFormat = typeof CreateProviderBodyNameIdFormat[keyof typeof CreateProviderBodyNameIdFormat]; declare const CreateProviderBodyNameIdFormat: { readonly 'urn:oasis:names:tc:SAML:11:nameid-format:unspecified': "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:transient': "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"; readonly 'urn:oasis:names:tc:SAML:11:nameid-format:emailAddress': "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:persistent': "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"; }; interface CreateProviderBody { /** What type of provider will be created */ type: CreateProviderBodyType; metadata_xml?: string; metadata_url?: string; domains?: string[]; attribute_mapping?: CreateProviderBodyAttributeMapping; name_id_format?: CreateProviderBodyNameIdFormat; } type CreateProviderResponseSamlAttributeMappingKeysDefault = { [key: string]: unknown; } | number | string | boolean; type CreateProviderResponseSamlAttributeMappingKeys = { [key: string]: { name?: string; names?: string[]; default?: CreateProviderResponseSamlAttributeMappingKeysDefault; array?: boolean; }; }; type CreateProviderResponseSamlAttributeMapping = { keys: CreateProviderResponseSamlAttributeMappingKeys; }; type CreateProviderResponseSamlNameIdFormat = typeof CreateProviderResponseSamlNameIdFormat[keyof typeof CreateProviderResponseSamlNameIdFormat]; declare const CreateProviderResponseSamlNameIdFormat: { readonly 'urn:oasis:names:tc:SAML:11:nameid-format:unspecified': "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:transient': "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"; readonly 'urn:oasis:names:tc:SAML:11:nameid-format:emailAddress': "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:persistent': "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"; }; type CreateProviderResponseSaml = { id: string; entity_id: string; metadata_url?: string; metadata_xml?: string; attribute_mapping?: CreateProviderResponseSamlAttributeMapping; name_id_format?: CreateProviderResponseSamlNameIdFormat; }; type CreateProviderResponseDomainsItem = { id: string; domain?: string; created_at?: string; updated_at?: string; }; interface CreateProviderResponse { id: string; saml?: CreateProviderResponseSaml; domains?: CreateProviderResponseDomainsItem[]; created_at?: string; updated_at?: string; } type ListProvidersResponseItemsItemSamlAttributeMappingKeysDefault = { [key: string]: unknown; } | number | string | boolean; type ListProvidersResponseItemsItemSamlAttributeMappingKeys = { [key: string]: { name?: string; names?: string[]; default?: ListProvidersResponseItemsItemSamlAttributeMappingKeysDefault; array?: boolean; }; }; type ListProvidersResponseItemsItemSamlAttributeMapping = { keys: ListProvidersResponseItemsItemSamlAttributeMappingKeys; }; type ListProvidersResponseItemsItemSamlNameIdFormat = typeof ListProvidersResponseItemsItemSamlNameIdFormat[keyof typeof ListProvidersResponseItemsItemSamlNameIdFormat]; declare const ListProvidersResponseItemsItemSamlNameIdFormat: { readonly 'urn:oasis:names:tc:SAML:11:nameid-format:unspecified': "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:transient': "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"; readonly 'urn:oasis:names:tc:SAML:11:nameid-format:emailAddress': "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:persistent': "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"; }; type ListProvidersResponseItemsItemSaml = { id: string; entity_id: string; metadata_url?: string; metadata_xml?: string; attribute_mapping?: ListProvidersResponseItemsItemSamlAttributeMapping; name_id_format?: ListProvidersResponseItemsItemSamlNameIdFormat; }; type ListProvidersResponseItemsItemDomainsItem = { id: string; domain?: string; created_at?: string; updated_at?: string; }; type ListProvidersResponseItemsItem = { id: string; saml?: ListProvidersResponseItemsItemSaml; domains?: ListProvidersResponseItemsItemDomainsItem[]; created_at?: string; updated_at?: string; }; interface ListProvidersResponse { items: ListProvidersResponseItemsItem[]; } type GetProviderResponseSamlAttributeMappingKeysDefault = { [key: string]: unknown; } | number | string | boolean; type GetProviderResponseSamlAttributeMappingKeys = { [key: string]: { name?: string; names?: string[]; default?: GetProviderResponseSamlAttributeMappingKeysDefault; array?: boolean; }; }; type GetProviderResponseSamlAttributeMapping = { keys: GetProviderResponseSamlAttributeMappingKeys; }; type GetProviderResponseSamlNameIdFormat = typeof GetProviderResponseSamlNameIdFormat[keyof typeof GetProviderResponseSamlNameIdFormat]; declare const GetProviderResponseSamlNameIdFormat: { readonly 'urn:oasis:names:tc:SAML:11:nameid-format:unspecified': "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:transient': "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"; readonly 'urn:oasis:names:tc:SAML:11:nameid-format:emailAddress': "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:persistent': "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"; }; type GetProviderResponseSaml = { id: string; entity_id: string; metadata_url?: string; metadata_xml?: string; attribute_mapping?: GetProviderResponseSamlAttributeMapping; name_id_format?: GetProviderResponseSamlNameIdFormat; }; type GetProviderResponseDomainsItem = { id: string; domain?: string; created_at?: string; updated_at?: string; }; interface GetProviderResponse { id: string; saml?: GetProviderResponseSaml; domains?: GetProviderResponseDomainsItem[]; created_at?: string; updated_at?: string; } type UpdateProviderBodyAttributeMappingKeysDefault = { [key: string]: unknown; } | number | string | boolean; type UpdateProviderBodyAttributeMappingKeys = { [key: string]: { name?: string; names?: string[]; default?: UpdateProviderBodyAttributeMappingKeysDefault; array?: boolean; }; }; type UpdateProviderBodyAttributeMapping = { keys: UpdateProviderBodyAttributeMappingKeys; }; type UpdateProviderBodyNameIdFormat = typeof UpdateProviderBodyNameIdFormat[keyof typeof UpdateProviderBodyNameIdFormat]; declare const UpdateProviderBodyNameIdFormat: { readonly 'urn:oasis:names:tc:SAML:11:nameid-format:unspecified': "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:transient': "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"; readonly 'urn:oasis:names:tc:SAML:11:nameid-format:emailAddress': "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:persistent': "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"; }; interface UpdateProviderBody { metadata_xml?: string; metadata_url?: string; domains?: string[]; attribute_mapping?: UpdateProviderBodyAttributeMapping; name_id_format?: UpdateProviderBodyNameIdFormat; } type UpdateProviderResponseSamlAttributeMappingKeysDefault = { [key: string]: unknown; } | number | string | boolean; type UpdateProviderResponseSamlAttributeMappingKeys = { [key: string]: { name?: string; names?: string[]; default?: UpdateProviderResponseSamlAttributeMappingKeysDefault; array?: boolean; }; }; type UpdateProviderResponseSamlAttributeMapping = { keys: UpdateProviderResponseSamlAttributeMappingKeys; }; type UpdateProviderResponseSamlNameIdFormat = typeof UpdateProviderResponseSamlNameIdFormat[keyof typeof UpdateProviderResponseSamlNameIdFormat]; declare const UpdateProviderResponseSamlNameIdFormat: { readonly 'urn:oasis:names:tc:SAML:11:nameid-format:unspecified': "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:transient': "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"; readonly 'urn:oasis:names:tc:SAML:11:nameid-format:emailAddress': "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:persistent': "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"; }; type UpdateProviderResponseSaml = { id: string; entity_id: string; metadata_url?: string; metadata_xml?: string; attribute_mapping?: UpdateProviderResponseSamlAttributeMapping; name_id_format?: UpdateProviderResponseSamlNameIdFormat; }; type UpdateProviderResponseDomainsItem = { id: string; domain?: string; created_at?: string; updated_at?: string; }; interface UpdateProviderResponse { id: string; saml?: UpdateProviderResponseSaml; domains?: UpdateProviderResponseDomainsItem[]; created_at?: string; updated_at?: string; } type DeleteProviderResponseSamlAttributeMappingKeysDefault = { [key: string]: unknown; } | number | string | boolean; type DeleteProviderResponseSamlAttributeMappingKeys = { [key: string]: { name?: string; names?: string[]; default?: DeleteProviderResponseSamlAttributeMappingKeysDefault; array?: boolean; }; }; type DeleteProviderResponseSamlAttributeMapping = { keys: DeleteProviderResponseSamlAttributeMappingKeys; }; type DeleteProviderResponseSamlNameIdFormat = typeof DeleteProviderResponseSamlNameIdFormat[keyof typeof DeleteProviderResponseSamlNameIdFormat]; declare const DeleteProviderResponseSamlNameIdFormat: { readonly 'urn:oasis:names:tc:SAML:11:nameid-format:unspecified': "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:transient': "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"; readonly 'urn:oasis:names:tc:SAML:11:nameid-format:emailAddress': "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"; readonly 'urn:oasis:names:tc:SAML:20:nameid-format:persistent': "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"; }; type DeleteProviderResponseSaml = { id: string; entity_id: string; metadata_url?: string; metadata_xml?: string; attribute_mapping?: DeleteProviderResponseSamlAttributeMapping; name_id_format?: DeleteProviderResponseSamlNameIdFormat; }; type DeleteProviderResponseDomainsItem = { id: string; domain?: string; created_at?: string; updated_at?: string; }; interface DeleteProviderResponse { id: string; saml?: DeleteProviderResponseSaml; domains?: DeleteProviderResponseDomainsItem[]; created_at?: string; updated_at?: string; } type V1BackupsResponseBackupsItemStatus = typeof V1BackupsResponseBackupsItemStatus[keyof typeof V1BackupsResponseBackupsItemStatus]; declare const V1BackupsResponseBackupsItemStatus: { readonly COMPLETED: "COMPLETED"; readonly FAILED: "FAILED"; readonly PENDING: "PENDING"; readonly REMOVED: "REMOVED"; readonly ARCHIVED: "ARCHIVED"; readonly CANCELLED: "CANCELLED"; }; type V1BackupsResponseBackupsItem = { is_physical_backup: boolean; status: V1BackupsResponseBackupsItemStatus; inserted_at: string; }; type V1BackupsResponsePhysicalBackupData = { earliest_physical_backup_date_unix?: number; latest_physical_backup_date_unix?: number; }; interface V1BackupsResponse { region: string; walg_enabled: boolean; pitr_enabled: boolean; backups: V1BackupsResponseBackupsItem[]; physical_backup_data: V1BackupsResponsePhysicalBackupData; } interface V1RestorePitrBody { /** @minimum 0 */ recovery_time_target_unix: number; } interface V1RestorePointPostBody { /** @maxLength 20 */ name: string; } type V1RestorePointResponseStatus = typeof V1RestorePointResponseStatus[keyof typeof V1RestorePointResponseStatus]; declare const V1RestorePointResponseStatus: { readonly AVAILABLE: "AVAILABLE"; readonly PENDING: "PENDING"; readonly REMOVED: "REMOVED"; readonly FAILED: "FAILED"; }; interface V1RestorePointResponse { name: string; status: V1RestorePointResponseStatus; } interface V1UndoBody { /** @maxLength 20 */ name: string; } interface V1OrganizationMemberResponse { user_id: string; user_name: string; email?: string; role_name: string; mfa_enabled: boolean; } type V1OrganizationSlugResponsePlan = typeof V1OrganizationSlugResponsePlan[keyof typeof V1OrganizationSlugResponsePlan]; declare const V1OrganizationSlugResponsePlan: { readonly free: "free"; readonly pro: "pro"; readonly team: "team"; readonly enterprise: "enterprise"; readonly platform: "platform"; }; type V1OrganizationSlugResponseOptInTagsItem = typeof V1OrganizationSlugResponseOptInTagsItem[keyof typeof V1OrganizationSlugResponseOptInTagsItem]; declare const V1OrganizationSlugResponseOptInTagsItem: { readonly AI_SQL_GENERATOR_OPT_IN: "AI_SQL_GENERATOR_OPT_IN"; readonly AI_DATA_GENERATOR_OPT_IN: "AI_DATA_GENERATOR_OPT_IN"; readonly AI_LOG_GENERATOR_OPT_IN: "AI_LOG_GENERATOR_OPT_IN"; }; type V1OrganizationSlugResponseAllowedReleaseChannelsItem = typeof V1OrganizationSlugResponseAllowedReleaseChannelsItem[keyof typeof V1OrganizationSlugResponseAllowedReleaseChannelsItem]; declare const V1OrganizationSlugResponseAllowedReleaseChannelsItem: { readonly internal: "internal"; readonly alpha: "alpha"; readonly beta: "beta"; readonly ga: "ga"; readonly withdrawn: "withdrawn"; readonly preview: "preview"; }; interface V1OrganizationSlugResponse { id: string; name: string; plan?: V1OrganizationSlugResponsePlan; opt_in_tags: V1OrganizationSlugResponseOptInTagsItem[]; allowed_release_channels: V1OrganizationSlugResponseAllowedReleaseChannelsItem[]; } type OrganizationProjectClaimResponseProject = { ref: string; name: string; }; type OrganizationProjectClaimResponsePreviewWarningsItem = { key: string; message: string; }; type OrganizationProjectClaimResponsePreviewErrorsItem = { key: string; message: string; }; type OrganizationProjectClaimResponsePreviewInfoItem = { key: string; message: string; }; type OrganizationProjectClaimResponsePreviewMembersExceedingFreeProjectLimitItem = { name: string; limit: number; }; type OrganizationProjectClaimResponsePreviewSourceSubscriptionPlan = typeof OrganizationProjectClaimResponsePreviewSourceSubscriptionPlan[keyof typeof OrganizationProjectClaimResponsePreviewSourceSubscriptionPlan]; declare const OrganizationProjectClaimResponsePreviewSourceSubscriptionPlan: { readonly free: "free"; readonly pro: "pro"; readonly team: "team"; readonly enterprise: "enterprise"; readonly platform: "platform"; }; /** * @nullable */ type OrganizationProjectClaimResponsePreviewTargetSubscriptionPlan = typeof OrganizationProjectClaimResponsePreviewTargetSubscriptionPlan[keyof typeof OrganizationProjectClaimResponsePreviewTargetSubscriptionPlan] | null; declare const OrganizationProjectClaimResponsePreviewTargetSubscriptionPlan: { readonly free: "free"; readonly pro: "pro"; readonly team: "team"; readonly enterprise: "enterprise"; readonly platform: "platform"; }; type OrganizationProjectClaimResponsePreview = { valid: boolean; warnings: OrganizationProjectClaimResponsePreviewWarningsItem[]; errors: OrganizationProjectClaimResponsePreviewErrorsItem[]; info: OrganizationProjectClaimResponsePreviewInfoItem[]; members_exceeding_free_project_limit: OrganizationProjectClaimResponsePreviewMembersExceedingFreeProjectLimitItem[]; source_subscription_plan: OrganizationProjectClaimResponsePreviewSourceSubscriptionPlan; /** @nullable */ target_subscription_plan: OrganizationProjectClaimResponsePreviewTargetSubscriptionPlan; }; interface OrganizationProjectClaimResponse { project: OrganizationProjectClaimResponseProject; preview: OrganizationProjectClaimResponsePreview; expires_at: string; created_at: string; created_by: string; } type OrganizationProjectsResponseProjectsItemStatus = typeof OrganizationProjectsResponseProjectsItemStatus[keyof typeof OrganizationProjectsResponseProjectsItemStatus]; declare const OrganizationProjectsResponseProjectsItemStatus: { readonly INACTIVE: "INACTIVE"; readonly ACTIVE_HEALTHY: "ACTIVE_HEALTHY"; readonly ACTIVE_UNHEALTHY: "ACTIVE_UNHEALTHY"; readonly COMING_UP: "COMING_UP"; readonly UNKNOWN: "UNKNOWN"; readonly GOING_DOWN: "GOING_DOWN"; readonly INIT_FAILED: "INIT_FAILED"; readonly REMOVED: "REMOVED"; readonly RESTORING: "RESTORING"; readonly UPGRADING: "UPGRADING"; readonly PAUSING: "PAUSING"; readonly RESTORE_FAILED: "RESTORE_FAILED"; readonly RESTARTING: "RESTARTING"; readonly PAUSE_FAILED: "PAUSE_FAILED"; readonly RESIZING: "RESIZING"; }; type OrganizationProjectsResponseProjectsItemDatabasesItemInfraComputeSize = typeof OrganizationProjectsResponseProjectsItemDatabasesItemInfraComputeSize[keyof typeof OrganizationProjectsResponseProjectsItemDatabasesItemInfraComputeSize]; declare const OrganizationProjectsResponseProjectsItemDatabasesItemInfraComputeSize: { readonly pico: "pico"; readonly nano: "nano"; readonly micro: "micro"; readonly small: "small"; readonly medium: "medium"; readonly large: "large"; readonly xlarge: "xlarge"; readonly '2xlarge': "2xlarge"; readonly '4xlarge': "4xlarge"; readonly '8xlarge': "8xlarge"; readonly '12xlarge': "12xlarge"; readonly '16xlarge': "16xlarge"; readonly '24xlarge': "24xlarge"; readonly '24xlarge_optimized_memory': "24xlarge_optimized_memory"; readonly '24xlarge_optimized_cpu': "24xlarge_optimized_cpu"; readonly '24xlarge_high_memory': "24xlarge_high_memory"; readonly '48xlarge': "48xlarge"; readonly '48xlarge_optimized_memory': "48xlarge_optimized_memory"; readonly '48xlarge_optimized_cpu': "48xlarge_optimized_cpu"; readonly '48xlarge_high_memory': "48xlarge_high_memory"; }; type OrganizationProjectsResponseProjectsItemDatabasesItemStatus = typeof OrganizationProjectsResponseProjectsItemDatabasesItemStatus[keyof typeof OrganizationProjectsResponseProjectsItemDatabasesItemStatus]; declare const OrganizationProjectsResponseProjectsItemDatabasesItemStatus: { readonly ACTIVE_HEALTHY: "ACTIVE_HEALTHY"; readonly ACTIVE_UNHEALTHY: "ACTIVE_UNHEALTHY"; readonly COMING_UP: "COMING_UP"; readonly GOING_DOWN: "GOING_DOWN"; readonly INIT_FAILED: "INIT_FAILED"; readonly REMOVED: "REMOVED"; readonly RESTORING: "RESTORING"; readonly UNKNOWN: "UNKNOWN"; readonly INIT_READ_REPLICA: "INIT_READ_REPLICA"; readonly INIT_READ_REPLICA_FAILED: "INIT_READ_REPLICA_FAILED"; readonly RESTARTING: "RESTARTING"; readonly RESIZING: "RESIZING"; }; type OrganizationProjectsResponseProjectsItemDatabasesItemType = typeof OrganizationProjectsResponseProjectsItemDatabasesItemType[keyof typeof OrganizationProjectsResponseProjectsItemDatabasesItemType]; declare const OrganizationProjectsResponseProjectsItemDatabasesItemType: { readonly PRIMARY: "PRIMARY"; readonly READ_REPLICA: "READ_REPLICA"; }; type OrganizationProjectsResponseProjectsItemDatabasesItemDiskType = typeof OrganizationProjectsResponseProjectsItemDatabasesItemDiskType[keyof typeof OrganizationProjectsResponseProjectsItemDatabasesItemDiskType]; declare const OrganizationProjectsResponseProjectsItemDatabasesItemDiskType: { readonly gp3: "gp3"; readonly io2: "io2"; }; type OrganizationProjectsResponseProjectsItemDatabasesItem = { infra_compute_size?: OrganizationProjectsResponseProjectsItemDatabasesItemInfraComputeSize; region: string; status: OrganizationProjectsResponseProjectsItemDatabasesItemStatus; cloud_provider: string; identifier: string; type: OrganizationProjectsResponseProjectsItemDatabasesItemType; disk_volume_size_gb?: number; disk_type?: OrganizationProjectsResponseProjectsItemDatabasesItemDiskType; disk_throughput_mbps?: number; disk_last_modified_at?: string; }; type OrganizationProjectsResponseProjectsItem = { ref: string; name: string; cloud_provider: string; region: string; is_branch: boolean; status: OrganizationProjectsResponseProjectsItemStatus; inserted_at: string; databases: OrganizationProjectsResponseProjectsItemDatabasesItem[]; }; type OrganizationProjectsResponsePagination = { /** Total number of projects. Use this to calculate the total number of pages. */ count: number; /** Maximum number of projects per page */ limit: number; /** Number of projects skipped in this response */ offset: number; }; interface OrganizationProjectsResponse { projects: OrganizationProjectsResponseProjectsItem[]; pagination: OrganizationProjectsResponsePagination; } type V1DeleteABranchParams = { /** * If set to false, schedule deletion with 1-hour grace period (only when soft deletion is enabled). */ force?: boolean; }; type V1DiffABranchParams = { included_schemas?: string; }; type V1GetAvailableRegionsParams = { /** * Slug of your organization */ organization_slug: string; /** * Continent code to determine regional recommendations: NA (North America), SA (South America), EU (Europe), AF (Africa), AS (Asia), OC (Oceania), AN (Antarctica) */ continent?: V1GetAvailableRegionsContinent; /** * Desired instance size */ desired_instance_size?: V1GetAvailableRegionsDesiredInstanceSize; }; type V1GetAvailableRegionsContinent = typeof V1GetAvailableRegionsContinent[keyof typeof V1GetAvailableRegionsContinent]; declare const V1GetAvailableRegionsContinent: { readonly NA: "NA"; readonly SA: "SA"; readonly EU: "EU"; readonly AF: "AF"; readonly AS: "AS"; readonly OC: "OC"; readonly AN: "AN"; }; type V1GetAvailableRegionsDesiredInstanceSize = typeof V1GetAvailableRegionsDesiredInstanceSize[keyof typeof V1GetAvailableRegionsDesiredInstanceSize]; declare const V1GetAvailableRegionsDesiredInstanceSize: { readonly pico: "pico"; readonly nano: "nano"; readonly micro: "micro"; readonly small: "small"; readonly medium: "medium"; readonly large: "large"; readonly xlarge: "xlarge"; readonly '2xlarge': "2xlarge"; readonly '4xlarge': "4xlarge"; readonly '8xlarge': "8xlarge"; readonly '12xlarge': "12xlarge"; readonly '16xlarge': "16xlarge"; readonly '24xlarge': "24xlarge"; readonly '24xlarge_optimized_memory': "24xlarge_optimized_memory"; readonly '24xlarge_optimized_cpu': "24xlarge_optimized_cpu"; readonly '24xlarge_high_memory': "24xlarge_high_memory"; readonly '48xlarge': "48xlarge"; readonly '48xlarge_optimized_memory': "48xlarge_optimized_memory"; readonly '48xlarge_optimized_cpu': "48xlarge_optimized_cpu"; readonly '48xlarge_high_memory': "48xlarge_high_memory"; }; type V1AuthorizeUserParams = { client_id: string; response_type: V1AuthorizeUserResponseType; redirect_uri: string; scope?: string; state?: string; response_mode?: string; code_challenge?: string; code_challenge_method?: V1AuthorizeUserCodeChallengeMethod; /** * Organization slug * @pattern ^[\w-]+$ */ organization_slug?: string; /** * Resource indicator for MCP (Model Context Protocol) clients */ resource?: string; }; type V1AuthorizeUserResponseType = typeof V1AuthorizeUserResponseType[keyof typeof V1AuthorizeUserResponseType]; declare const V1AuthorizeUserResponseType: { readonly code: "code"; readonly token: "token"; readonly id_token_token: "id_token token"; }; type V1AuthorizeUserCodeChallengeMethod = typeof V1AuthorizeUserCodeChallengeMethod[keyof typeof V1AuthorizeUserCodeChallengeMethod]; declare const V1AuthorizeUserCodeChallengeMethod: { readonly plain: "plain"; readonly sha256: "sha256"; readonly S256: "S256"; }; type V1OauthAuthorizeProjectClaimParams = { /** * Project ref * @minLength 20 * @maxLength 20 * @pattern ^[a-z]+$ */ project_ref: string; client_id: string; response_type: V1OauthAuthorizeProjectClaimResponseType; redirect_uri: string; state?: string; response_mode?: string; code_challenge?: string; code_challenge_method?: V1OauthAuthorizeProjectClaimCodeChallengeMethod; }; type V1OauthAuthorizeProjectClaimResponseType = typeof V1OauthAuthorizeProjectClaimResponseType[keyof typeof V1OauthAuthorizeProjectClaimResponseType]; declare const V1OauthAuthorizeProjectClaimResponseType: { readonly code: "code"; readonly token: "token"; readonly id_token_token: "id_token token"; }; type V1OauthAuthorizeProjectClaimCodeChallengeMethod = typeof V1OauthAuthorizeProjectClaimCodeChallengeMethod[keyof typeof V1OauthAuthorizeProjectClaimCodeChallengeMethod]; declare const V1OauthAuthorizeProjectClaimCodeChallengeMethod: { readonly plain: "plain"; readonly sha256: "sha256"; readonly S256: "S256"; }; type V1ListAllSnippetsParams = { /** * Project ref * @minLength 20 * @maxLength 20 * @pattern ^[a-z]+$ */ project_ref?: string; cursor?: string; /** * @minimum 1 * @maximum 100 */ limit?: string; sort_by?: V1ListAllSnippetsSortBy; sort_order?: V1ListAllSnippetsSortOrder; }; type V1ListAllSnippetsSortBy = typeof V1ListAllSnippetsSortBy[keyof typeof V1ListAllSnippetsSortBy]; declare const V1ListAllSnippetsSortBy: { readonly name: "name"; readonly inserted_at: "inserted_at"; }; type V1ListAllSnippetsSortOrder = typeof V1ListAllSnippetsSortOrder[keyof typeof V1ListAllSnippetsSortOrder]; declare const V1ListAllSnippetsSortOrder: { readonly asc: "asc"; readonly desc: "desc"; }; type V1ListActionRunsParams = { /** * @minimum 0 */ offset?: number; /** * @minimum 10 */ limit?: number; }; type V1GetProjectApiKeysParams = { /** * Boolean string, true or false */ reveal?: boolean; }; type V1CreateProjectApiKeyParams = { /** * Boolean string, true or false */ reveal?: boolean; }; type V1UpdateProjectLegacyApiKeysParams = { /** * Boolean string, true or false */ enabled: boolean; }; type V1UpdateProjectApiKeyParams = { /** * Boolean string, true or false */ reveal?: boolean; }; type V1GetProjectApiKeyParams = { /** * Boolean string, true or false */ reveal?: boolean; }; type V1DeleteProjectApiKeyParams = { /** * Boolean string, true or false */ reveal?: boolean; /** * Boolean string, true or false */ was_compromised?: boolean; reason?: string; }; type V1GenerateTypescriptTypesParams = { included_schemas?: string; }; type V1GetPostgresUpgradeStatusParams = { tracking_id?: string; }; type V1GetServicesHealthParams = { services: V1GetServicesHealthServicesItem[]; /** * @minimum 0 * @maximum 10000 */ timeout_ms?: number; }; type V1GetServicesHealthServicesItem = typeof V1GetServicesHealthServicesItem[keyof typeof V1GetServicesHealthServicesItem]; declare const V1GetServicesHealthServicesItem: { readonly auth: "auth"; readonly db: "db"; readonly db_postgres_user: "db_postgres_user"; readonly pooler: "pooler"; readonly realtime: "realtime"; readonly rest: "rest"; readonly storage: "storage"; readonly pg_bouncer: "pg_bouncer"; }; type V1GetSecurityAdvisorsParams = { lint_type?: V1GetSecurityAdvisorsLintType; }; type V1GetSecurityAdvisorsLintType = typeof V1GetSecurityAdvisorsLintType[keyof typeof V1GetSecurityAdvisorsLintType]; declare const V1GetSecurityAdvisorsLintType: { readonly sql: "sql"; }; type V1GetProjectLogsParams = { /** * 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; iso_timestamp_start?: string; iso_timestamp_end?: string; }; type V1GetProjectUsageApiCountParams = { interval?: V1GetProjectUsageApiCountInterval; }; type V1GetProjectUsageApiCountInterval = typeof V1GetProjectUsageApiCountInterval[keyof typeof V1GetProjectUsageApiCountInterval]; declare const V1GetProjectUsageApiCountInterval: { readonly '15min': "15min"; readonly '30min': "30min"; readonly '1hr': "1hr"; readonly '3hr': "3hr"; readonly '1day': "1day"; readonly '3day': "3day"; readonly '7day': "7day"; }; type V1GetProjectFunctionCombinedStatsParams = { interval: V1GetProjectFunctionCombinedStatsInterval; function_id: string; }; type V1GetProjectFunctionCombinedStatsInterval = typeof V1GetProjectFunctionCombinedStatsInterval[keyof typeof V1GetProjectFunctionCombinedStatsInterval]; declare const V1GetProjectFunctionCombinedStatsInterval: { readonly '15min': "15min"; readonly '1hr': "1hr"; readonly '3hr': "3hr"; readonly '1day': "1day"; }; type V1RollbackMigrationsParams = { /** * Rollback migrations greater or equal to this version * @pattern ^\d+$ */ gte: string; }; type V1CreateAFunctionParams = { /** * @pattern ^[A-Za-z0-9_-]+$ */ slug?: string; name?: string; /** * Boolean string, true or false */ verify_jwt?: boolean; /** * Boolean string, true or false */ import_map?: boolean; entrypoint_path?: string; import_map_path?: string; ezbr_sha256?: string; }; type V1DeployAFunctionParams = { /** * @pattern ^[A-Za-z][A-Za-z0-9_-]*$ */ slug?: string; /** * Boolean string, true or false */ bundleOnly?: boolean; }; type V1UpdateAFunctionParams = { /** * @pattern ^[A-Za-z0-9_-]+$ */ slug?: string; name?: string; /** * Boolean string, true or false */ verify_jwt?: boolean; /** * Boolean string, true or false */ import_map?: boolean; entrypoint_path?: string; import_map_path?: string; ezbr_sha256?: string; }; type V1GetRestorePointParams = { /** * @maxLength 20 */ name?: string; }; type V1GetAllProjectsForOrganizationParams = { /** * Number of projects to skip * @minimum 0 */ offset?: number; /** * Number of projects to return per page * @minimum 1 * @maximum 100 */ limit?: number; /** * Search projects by name */ search?: string; /** * Sort order for projects */ sort?: V1GetAllProjectsForOrganizationSort; /** * A comma-separated list of project statuses to filter by. The following values are supported: `ACTIVE_HEALTHY`, `INACTIVE`. */ statuses?: string; }; type V1GetAllProjectsForOrganizationSort = typeof V1GetAllProjectsForOrganizationSort[keyof typeof V1GetAllProjectsForOrganizationSort]; declare const V1GetAllProjectsForOrganizationSort: { readonly name_asc: "name_asc"; readonly name_desc: "name_desc"; readonly created_asc: "created_asc"; readonly created_desc: "created_desc"; }; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable. * @deprecated * @summary Gets project performance advisors. */ type v1GetPerformanceAdvisorsResponse200 = { data: V1ProjectAdvisorsResponse; status: 200; }; type v1GetPerformanceAdvisorsResponse401 = { data: void; status: 401; }; type v1GetPerformanceAdvisorsResponse403 = { data: void; status: 403; }; type v1GetPerformanceAdvisorsResponse429 = { data: void; status: 429; }; type v1GetPerformanceAdvisorsResponseSuccess = (v1GetPerformanceAdvisorsResponse200) & { headers: Headers; }; type v1GetPerformanceAdvisorsResponseError = (v1GetPerformanceAdvisorsResponse401 | v1GetPerformanceAdvisorsResponse403 | v1GetPerformanceAdvisorsResponse429) & { headers: Headers; }; type v1GetPerformanceAdvisorsResponse = (v1GetPerformanceAdvisorsResponseSuccess | v1GetPerformanceAdvisorsResponseError); declare const getV1GetPerformanceAdvisorsUrl: (ref: string) => string; declare const v1GetPerformanceAdvisors: (ref: string, options?: RequestInit) => Promise; /** * This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable. * @deprecated * @summary Gets project security advisors. */ type v1GetSecurityAdvisorsResponse200 = { data: V1ProjectAdvisorsResponse; status: 200; }; type v1GetSecurityAdvisorsResponse401 = { data: void; status: 401; }; type v1GetSecurityAdvisorsResponse403 = { data: void; status: 403; }; type v1GetSecurityAdvisorsResponse429 = { data: void; status: 429; }; type v1GetSecurityAdvisorsResponseSuccess = (v1GetSecurityAdvisorsResponse200) & { headers: Headers; }; type v1GetSecurityAdvisorsResponseError = (v1GetSecurityAdvisorsResponse401 | v1GetSecurityAdvisorsResponse403 | v1GetSecurityAdvisorsResponse429) & { headers: Headers; }; type v1GetSecurityAdvisorsResponse = (v1GetSecurityAdvisorsResponseSuccess | v1GetSecurityAdvisorsResponseError); declare const getV1GetSecurityAdvisorsUrl: (ref: string, params?: V1GetSecurityAdvisorsParams) => string; declare const v1GetSecurityAdvisors: (ref: string, params?: V1GetSecurityAdvisorsParams, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * Executes a SQL query on the project's logs. 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. 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. * @summary Gets project's logs */ type v1GetProjectLogsResponse200 = { data: AnalyticsResponse; status: 200; }; type v1GetProjectLogsResponse401 = { data: void; status: 401; }; type v1GetProjectLogsResponse403 = { data: void; status: 403; }; type v1GetProjectLogsResponse429 = { data: void; status: 429; }; type v1GetProjectLogsResponseSuccess = (v1GetProjectLogsResponse200) & { headers: Headers; }; type v1GetProjectLogsResponseError = (v1GetProjectLogsResponse401 | v1GetProjectLogsResponse403 | v1GetProjectLogsResponse429) & { headers: Headers; }; type v1GetProjectLogsResponse = (v1GetProjectLogsResponseSuccess | v1GetProjectLogsResponseError); declare const getV1GetProjectLogsUrl: (ref: string, params?: V1GetProjectLogsParams) => string; declare const v1GetProjectLogs: (ref: string, params?: V1GetProjectLogsParams, options?: RequestInit) => Promise; /** * @summary Gets project's usage api counts */ type v1GetProjectUsageApiCountResponse200 = { data: V1GetUsageApiCountResponse; status: 200; }; type v1GetProjectUsageApiCountResponse401 = { data: void; status: 401; }; type v1GetProjectUsageApiCountResponse403 = { data: void; status: 403; }; type v1GetProjectUsageApiCountResponse429 = { data: void; status: 429; }; type v1GetProjectUsageApiCountResponse500 = { data: void; status: 500; }; type v1GetProjectUsageApiCountResponseSuccess = (v1GetProjectUsageApiCountResponse200) & { headers: Headers; }; type v1GetProjectUsageApiCountResponseError = (v1GetProjectUsageApiCountResponse401 | v1GetProjectUsageApiCountResponse403 | v1GetProjectUsageApiCountResponse429 | v1GetProjectUsageApiCountResponse500) & { headers: Headers; }; type v1GetProjectUsageApiCountResponse = (v1GetProjectUsageApiCountResponseSuccess | v1GetProjectUsageApiCountResponseError); declare const getV1GetProjectUsageApiCountUrl: (ref: string, params?: V1GetProjectUsageApiCountParams) => string; declare const v1GetProjectUsageApiCount: (ref: string, params?: V1GetProjectUsageApiCountParams, options?: RequestInit) => Promise; /** * @summary Gets project's usage api requests count */ type v1GetProjectUsageRequestCountResponse200 = { data: V1GetUsageApiRequestsCountResponse; status: 200; }; type v1GetProjectUsageRequestCountResponse401 = { data: void; status: 401; }; type v1GetProjectUsageRequestCountResponse403 = { data: void; status: 403; }; type v1GetProjectUsageRequestCountResponse429 = { data: void; status: 429; }; type v1GetProjectUsageRequestCountResponse500 = { data: void; status: 500; }; type v1GetProjectUsageRequestCountResponseSuccess = (v1GetProjectUsageRequestCountResponse200) & { headers: Headers; }; type v1GetProjectUsageRequestCountResponseError = (v1GetProjectUsageRequestCountResponse401 | v1GetProjectUsageRequestCountResponse403 | v1GetProjectUsageRequestCountResponse429 | v1GetProjectUsageRequestCountResponse500) & { headers: Headers; }; type v1GetProjectUsageRequestCountResponse = (v1GetProjectUsageRequestCountResponseSuccess | v1GetProjectUsageRequestCountResponseError); declare const getV1GetProjectUsageRequestCountUrl: (ref: string) => string; declare const v1GetProjectUsageRequestCount: (ref: string, options?: RequestInit) => Promise; /** * @summary Gets a project's function combined statistics */ type v1GetProjectFunctionCombinedStatsResponse200 = { data: AnalyticsResponse; status: 200; }; type v1GetProjectFunctionCombinedStatsResponse401 = { data: void; status: 401; }; type v1GetProjectFunctionCombinedStatsResponse403 = { data: void; status: 403; }; type v1GetProjectFunctionCombinedStatsResponse429 = { data: void; status: 429; }; type v1GetProjectFunctionCombinedStatsResponse500 = { data: void; status: 500; }; type v1GetProjectFunctionCombinedStatsResponseSuccess = (v1GetProjectFunctionCombinedStatsResponse200) & { headers: Headers; }; type v1GetProjectFunctionCombinedStatsResponseError = (v1GetProjectFunctionCombinedStatsResponse401 | v1GetProjectFunctionCombinedStatsResponse403 | v1GetProjectFunctionCombinedStatsResponse429 | v1GetProjectFunctionCombinedStatsResponse500) & { headers: Headers; }; type v1GetProjectFunctionCombinedStatsResponse = (v1GetProjectFunctionCombinedStatsResponseSuccess | v1GetProjectFunctionCombinedStatsResponseError); declare const getV1GetProjectFunctionCombinedStatsUrl: (ref: string, params: V1GetProjectFunctionCombinedStatsParams) => string; declare const v1GetProjectFunctionCombinedStats: (ref: string, params: V1GetProjectFunctionCombinedStatsParams, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary Set up the project's existing JWT secret as an in_use JWT signing key. This endpoint will be removed in the future always check for HTTP 404 Not Found. */ type v1CreateLegacySigningKeyResponse201 = { data: SigningKeyResponse; status: 201; }; type v1CreateLegacySigningKeyResponse401 = { data: void; status: 401; }; type v1CreateLegacySigningKeyResponse403 = { data: void; status: 403; }; type v1CreateLegacySigningKeyResponse429 = { data: void; status: 429; }; type v1CreateLegacySigningKeyResponseSuccess = (v1CreateLegacySigningKeyResponse201) & { headers: Headers; }; type v1CreateLegacySigningKeyResponseError = (v1CreateLegacySigningKeyResponse401 | v1CreateLegacySigningKeyResponse403 | v1CreateLegacySigningKeyResponse429) & { headers: Headers; }; type v1CreateLegacySigningKeyResponse = (v1CreateLegacySigningKeyResponseSuccess | v1CreateLegacySigningKeyResponseError); declare const getV1CreateLegacySigningKeyUrl: (ref: string) => string; declare const v1CreateLegacySigningKey: (ref: string, options?: RequestInit) => Promise; /** * @summary Get the signing key information for the JWT secret imported as signing key for this project. This endpoint will be removed in the future, check for HTTP 404 Not Found. */ type v1GetLegacySigningKeyResponse200 = { data: SigningKeyResponse; status: 200; }; type v1GetLegacySigningKeyResponse401 = { data: void; status: 401; }; type v1GetLegacySigningKeyResponse403 = { data: void; status: 403; }; type v1GetLegacySigningKeyResponse429 = { data: void; status: 429; }; type v1GetLegacySigningKeyResponseSuccess = (v1GetLegacySigningKeyResponse200) & { headers: Headers; }; type v1GetLegacySigningKeyResponseError = (v1GetLegacySigningKeyResponse401 | v1GetLegacySigningKeyResponse403 | v1GetLegacySigningKeyResponse429) & { headers: Headers; }; type v1GetLegacySigningKeyResponse = (v1GetLegacySigningKeyResponseSuccess | v1GetLegacySigningKeyResponseError); declare const getV1GetLegacySigningKeyUrl: (ref: string) => string; declare const v1GetLegacySigningKey: (ref: string, options?: RequestInit) => Promise; /** * @summary Create a new signing key for the project in standby status */ type v1CreateProjectSigningKeyResponse201 = { data: SigningKeyResponse; status: 201; }; type v1CreateProjectSigningKeyResponse401 = { data: void; status: 401; }; type v1CreateProjectSigningKeyResponse403 = { data: void; status: 403; }; type v1CreateProjectSigningKeyResponse429 = { data: void; status: 429; }; type v1CreateProjectSigningKeyResponseSuccess = (v1CreateProjectSigningKeyResponse201) & { headers: Headers; }; type v1CreateProjectSigningKeyResponseError = (v1CreateProjectSigningKeyResponse401 | v1CreateProjectSigningKeyResponse403 | v1CreateProjectSigningKeyResponse429) & { headers: Headers; }; type v1CreateProjectSigningKeyResponse = (v1CreateProjectSigningKeyResponseSuccess | v1CreateProjectSigningKeyResponseError); declare const getV1CreateProjectSigningKeyUrl: (ref: string) => string; declare const v1CreateProjectSigningKey: (ref: string, createSigningKeyBody: CreateSigningKeyBody, options?: RequestInit) => Promise; /** * @summary List all signing keys for the project */ type v1GetProjectSigningKeysResponse200 = { data: SigningKeysResponse; status: 200; }; type v1GetProjectSigningKeysResponse401 = { data: void; status: 401; }; type v1GetProjectSigningKeysResponse403 = { data: void; status: 403; }; type v1GetProjectSigningKeysResponse429 = { data: void; status: 429; }; type v1GetProjectSigningKeysResponseSuccess = (v1GetProjectSigningKeysResponse200) & { headers: Headers; }; type v1GetProjectSigningKeysResponseError = (v1GetProjectSigningKeysResponse401 | v1GetProjectSigningKeysResponse403 | v1GetProjectSigningKeysResponse429) & { headers: Headers; }; type v1GetProjectSigningKeysResponse = (v1GetProjectSigningKeysResponseSuccess | v1GetProjectSigningKeysResponseError); declare const getV1GetProjectSigningKeysUrl: (ref: string) => string; declare const v1GetProjectSigningKeys: (ref: string, options?: RequestInit) => Promise; /** * @summary Get information about a signing key */ type v1GetProjectSigningKeyResponse200 = { data: SigningKeyResponse; status: 200; }; type v1GetProjectSigningKeyResponse401 = { data: void; status: 401; }; type v1GetProjectSigningKeyResponse403 = { data: void; status: 403; }; type v1GetProjectSigningKeyResponse429 = { data: void; status: 429; }; type v1GetProjectSigningKeyResponseSuccess = (v1GetProjectSigningKeyResponse200) & { headers: Headers; }; type v1GetProjectSigningKeyResponseError = (v1GetProjectSigningKeyResponse401 | v1GetProjectSigningKeyResponse403 | v1GetProjectSigningKeyResponse429) & { headers: Headers; }; type v1GetProjectSigningKeyResponse = (v1GetProjectSigningKeyResponseSuccess | v1GetProjectSigningKeyResponseError); declare const getV1GetProjectSigningKeyUrl: (ref: string, id: string) => string; declare const v1GetProjectSigningKey: (ref: string, id: string, options?: RequestInit) => Promise; /** * @summary Remove a signing key from a project. Only possible if the key has been in revoked status for a while. */ type v1RemoveProjectSigningKeyResponse200 = { data: SigningKeyResponse; status: 200; }; type v1RemoveProjectSigningKeyResponse401 = { data: void; status: 401; }; type v1RemoveProjectSigningKeyResponse403 = { data: void; status: 403; }; type v1RemoveProjectSigningKeyResponse429 = { data: void; status: 429; }; type v1RemoveProjectSigningKeyResponseSuccess = (v1RemoveProjectSigningKeyResponse200) & { headers: Headers; }; type v1RemoveProjectSigningKeyResponseError = (v1RemoveProjectSigningKeyResponse401 | v1RemoveProjectSigningKeyResponse403 | v1RemoveProjectSigningKeyResponse429) & { headers: Headers; }; type v1RemoveProjectSigningKeyResponse = (v1RemoveProjectSigningKeyResponseSuccess | v1RemoveProjectSigningKeyResponseError); declare const getV1RemoveProjectSigningKeyUrl: (ref: string, id: string) => string; declare const v1RemoveProjectSigningKey: (ref: string, id: string, options?: RequestInit) => Promise; /** * @summary Update a signing key, mainly its status */ type v1UpdateProjectSigningKeyResponse200 = { data: SigningKeyResponse; status: 200; }; type v1UpdateProjectSigningKeyResponse401 = { data: void; status: 401; }; type v1UpdateProjectSigningKeyResponse403 = { data: void; status: 403; }; type v1UpdateProjectSigningKeyResponse429 = { data: void; status: 429; }; type v1UpdateProjectSigningKeyResponseSuccess = (v1UpdateProjectSigningKeyResponse200) & { headers: Headers; }; type v1UpdateProjectSigningKeyResponseError = (v1UpdateProjectSigningKeyResponse401 | v1UpdateProjectSigningKeyResponse403 | v1UpdateProjectSigningKeyResponse429) & { headers: Headers; }; type v1UpdateProjectSigningKeyResponse = (v1UpdateProjectSigningKeyResponseSuccess | v1UpdateProjectSigningKeyResponseError); declare const getV1UpdateProjectSigningKeyUrl: (ref: string, id: string) => string; declare const v1UpdateProjectSigningKey: (ref: string, id: string, updateSigningKeyBody: UpdateSigningKeyBody, options?: RequestInit) => Promise; /** * @summary Gets project's auth config */ type v1GetAuthServiceConfigResponse200 = { data: AuthConfigResponse; status: 200; }; type v1GetAuthServiceConfigResponse401 = { data: void; status: 401; }; type v1GetAuthServiceConfigResponse403 = { data: void; status: 403; }; type v1GetAuthServiceConfigResponse429 = { data: void; status: 429; }; type v1GetAuthServiceConfigResponse500 = { data: void; status: 500; }; type v1GetAuthServiceConfigResponseSuccess = (v1GetAuthServiceConfigResponse200) & { headers: Headers; }; type v1GetAuthServiceConfigResponseError = (v1GetAuthServiceConfigResponse401 | v1GetAuthServiceConfigResponse403 | v1GetAuthServiceConfigResponse429 | v1GetAuthServiceConfigResponse500) & { headers: Headers; }; type v1GetAuthServiceConfigResponse = (v1GetAuthServiceConfigResponseSuccess | v1GetAuthServiceConfigResponseError); declare const getV1GetAuthServiceConfigUrl: (ref: string) => string; declare const v1GetAuthServiceConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates a project's auth config */ type v1UpdateAuthServiceConfigResponse200 = { data: AuthConfigResponse; status: 200; }; type v1UpdateAuthServiceConfigResponse401 = { data: void; status: 401; }; type v1UpdateAuthServiceConfigResponse403 = { data: void; status: 403; }; type v1UpdateAuthServiceConfigResponse429 = { data: void; status: 429; }; type v1UpdateAuthServiceConfigResponse500 = { data: void; status: 500; }; type v1UpdateAuthServiceConfigResponseSuccess = (v1UpdateAuthServiceConfigResponse200) & { headers: Headers; }; type v1UpdateAuthServiceConfigResponseError = (v1UpdateAuthServiceConfigResponse401 | v1UpdateAuthServiceConfigResponse403 | v1UpdateAuthServiceConfigResponse429 | v1UpdateAuthServiceConfigResponse500) & { headers: Headers; }; type v1UpdateAuthServiceConfigResponse = (v1UpdateAuthServiceConfigResponseSuccess | v1UpdateAuthServiceConfigResponseError); declare const getV1UpdateAuthServiceConfigUrl: (ref: string) => string; declare const v1UpdateAuthServiceConfig: (ref: string, updateAuthConfigBody: UpdateAuthConfigBody, options?: RequestInit) => Promise; /** * @summary Creates a new third-party auth integration */ type v1CreateProjectTpaIntegrationResponse201 = { data: ThirdPartyAuth; status: 201; }; type v1CreateProjectTpaIntegrationResponse401 = { data: void; status: 401; }; type v1CreateProjectTpaIntegrationResponse403 = { data: void; status: 403; }; type v1CreateProjectTpaIntegrationResponse429 = { data: void; status: 429; }; type v1CreateProjectTpaIntegrationResponseSuccess = (v1CreateProjectTpaIntegrationResponse201) & { headers: Headers; }; type v1CreateProjectTpaIntegrationResponseError = (v1CreateProjectTpaIntegrationResponse401 | v1CreateProjectTpaIntegrationResponse403 | v1CreateProjectTpaIntegrationResponse429) & { headers: Headers; }; type v1CreateProjectTpaIntegrationResponse = (v1CreateProjectTpaIntegrationResponseSuccess | v1CreateProjectTpaIntegrationResponseError); declare const getV1CreateProjectTpaIntegrationUrl: (ref: string) => string; declare const v1CreateProjectTpaIntegration: (ref: string, createThirdPartyAuthBody: CreateThirdPartyAuthBody, options?: RequestInit) => Promise; /** * @summary Lists all third-party auth integrations */ type v1ListProjectTpaIntegrationsResponse200 = { data: ThirdPartyAuth[]; status: 200; }; type v1ListProjectTpaIntegrationsResponse401 = { data: void; status: 401; }; type v1ListProjectTpaIntegrationsResponse403 = { data: void; status: 403; }; type v1ListProjectTpaIntegrationsResponse429 = { data: void; status: 429; }; type v1ListProjectTpaIntegrationsResponseSuccess = (v1ListProjectTpaIntegrationsResponse200) & { headers: Headers; }; type v1ListProjectTpaIntegrationsResponseError = (v1ListProjectTpaIntegrationsResponse401 | v1ListProjectTpaIntegrationsResponse403 | v1ListProjectTpaIntegrationsResponse429) & { headers: Headers; }; type v1ListProjectTpaIntegrationsResponse = (v1ListProjectTpaIntegrationsResponseSuccess | v1ListProjectTpaIntegrationsResponseError); declare const getV1ListProjectTpaIntegrationsUrl: (ref: string) => string; declare const v1ListProjectTpaIntegrations: (ref: string, options?: RequestInit) => Promise; /** * @summary Removes a third-party auth integration */ type v1DeleteProjectTpaIntegrationResponse200 = { data: ThirdPartyAuth; status: 200; }; type v1DeleteProjectTpaIntegrationResponse401 = { data: void; status: 401; }; type v1DeleteProjectTpaIntegrationResponse403 = { data: void; status: 403; }; type v1DeleteProjectTpaIntegrationResponse429 = { data: void; status: 429; }; type v1DeleteProjectTpaIntegrationResponseSuccess = (v1DeleteProjectTpaIntegrationResponse200) & { headers: Headers; }; type v1DeleteProjectTpaIntegrationResponseError = (v1DeleteProjectTpaIntegrationResponse401 | v1DeleteProjectTpaIntegrationResponse403 | v1DeleteProjectTpaIntegrationResponse429) & { headers: Headers; }; type v1DeleteProjectTpaIntegrationResponse = (v1DeleteProjectTpaIntegrationResponseSuccess | v1DeleteProjectTpaIntegrationResponseError); declare const getV1DeleteProjectTpaIntegrationUrl: (ref: string, tpaId: string) => string; declare const v1DeleteProjectTpaIntegration: (ref: string, tpaId: string, options?: RequestInit) => Promise; /** * @summary Get a third-party integration */ type v1GetProjectTpaIntegrationResponse200 = { data: ThirdPartyAuth; status: 200; }; type v1GetProjectTpaIntegrationResponse401 = { data: void; status: 401; }; type v1GetProjectTpaIntegrationResponse403 = { data: void; status: 403; }; type v1GetProjectTpaIntegrationResponse429 = { data: void; status: 429; }; type v1GetProjectTpaIntegrationResponseSuccess = (v1GetProjectTpaIntegrationResponse200) & { headers: Headers; }; type v1GetProjectTpaIntegrationResponseError = (v1GetProjectTpaIntegrationResponse401 | v1GetProjectTpaIntegrationResponse403 | v1GetProjectTpaIntegrationResponse429) & { headers: Headers; }; type v1GetProjectTpaIntegrationResponse = (v1GetProjectTpaIntegrationResponseSuccess | v1GetProjectTpaIntegrationResponseError); declare const getV1GetProjectTpaIntegrationUrl: (ref: string, tpaId: string) => string; declare const v1GetProjectTpaIntegration: (ref: string, tpaId: string, options?: RequestInit) => Promise; /** * @summary Creates a new SSO provider */ type v1CreateASsoProviderResponse201 = { data: CreateProviderResponse; status: 201; }; type v1CreateASsoProviderResponse401 = { data: void; status: 401; }; type v1CreateASsoProviderResponse403 = { data: void; status: 403; }; type v1CreateASsoProviderResponse404 = { data: void; status: 404; }; type v1CreateASsoProviderResponse429 = { data: void; status: 429; }; type v1CreateASsoProviderResponseSuccess = (v1CreateASsoProviderResponse201) & { headers: Headers; }; type v1CreateASsoProviderResponseError = (v1CreateASsoProviderResponse401 | v1CreateASsoProviderResponse403 | v1CreateASsoProviderResponse404 | v1CreateASsoProviderResponse429) & { headers: Headers; }; type v1CreateASsoProviderResponse = (v1CreateASsoProviderResponseSuccess | v1CreateASsoProviderResponseError); declare const getV1CreateASsoProviderUrl: (ref: string) => string; declare const v1CreateASsoProvider: (ref: string, createProviderBody: CreateProviderBody, options?: RequestInit) => Promise; /** * @summary Lists all SSO providers */ type v1ListAllSsoProviderResponse200 = { data: ListProvidersResponse; status: 200; }; type v1ListAllSsoProviderResponse401 = { data: void; status: 401; }; type v1ListAllSsoProviderResponse403 = { data: void; status: 403; }; type v1ListAllSsoProviderResponse404 = { data: void; status: 404; }; type v1ListAllSsoProviderResponse429 = { data: void; status: 429; }; type v1ListAllSsoProviderResponseSuccess = (v1ListAllSsoProviderResponse200) & { headers: Headers; }; type v1ListAllSsoProviderResponseError = (v1ListAllSsoProviderResponse401 | v1ListAllSsoProviderResponse403 | v1ListAllSsoProviderResponse404 | v1ListAllSsoProviderResponse429) & { headers: Headers; }; type v1ListAllSsoProviderResponse = (v1ListAllSsoProviderResponseSuccess | v1ListAllSsoProviderResponseError); declare const getV1ListAllSsoProviderUrl: (ref: string) => string; declare const v1ListAllSsoProvider: (ref: string, options?: RequestInit) => Promise; /** * @summary Gets a SSO provider by its UUID */ type v1GetASsoProviderResponse200 = { data: GetProviderResponse; status: 200; }; type v1GetASsoProviderResponse401 = { data: void; status: 401; }; type v1GetASsoProviderResponse403 = { data: void; status: 403; }; type v1GetASsoProviderResponse404 = { data: void; status: 404; }; type v1GetASsoProviderResponse429 = { data: void; status: 429; }; type v1GetASsoProviderResponseSuccess = (v1GetASsoProviderResponse200) & { headers: Headers; }; type v1GetASsoProviderResponseError = (v1GetASsoProviderResponse401 | v1GetASsoProviderResponse403 | v1GetASsoProviderResponse404 | v1GetASsoProviderResponse429) & { headers: Headers; }; type v1GetASsoProviderResponse = (v1GetASsoProviderResponseSuccess | v1GetASsoProviderResponseError); declare const getV1GetASsoProviderUrl: (ref: string, providerId: string) => string; declare const v1GetASsoProvider: (ref: string, providerId: string, options?: RequestInit) => Promise; /** * @summary Updates a SSO provider by its UUID */ type v1UpdateASsoProviderResponse200 = { data: UpdateProviderResponse; status: 200; }; type v1UpdateASsoProviderResponse401 = { data: void; status: 401; }; type v1UpdateASsoProviderResponse403 = { data: void; status: 403; }; type v1UpdateASsoProviderResponse404 = { data: void; status: 404; }; type v1UpdateASsoProviderResponse429 = { data: void; status: 429; }; type v1UpdateASsoProviderResponseSuccess = (v1UpdateASsoProviderResponse200) & { headers: Headers; }; type v1UpdateASsoProviderResponseError = (v1UpdateASsoProviderResponse401 | v1UpdateASsoProviderResponse403 | v1UpdateASsoProviderResponse404 | v1UpdateASsoProviderResponse429) & { headers: Headers; }; type v1UpdateASsoProviderResponse = (v1UpdateASsoProviderResponseSuccess | v1UpdateASsoProviderResponseError); declare const getV1UpdateASsoProviderUrl: (ref: string, providerId: string) => string; declare const v1UpdateASsoProvider: (ref: string, providerId: string, updateProviderBody: UpdateProviderBody, options?: RequestInit) => Promise; /** * @summary Removes a SSO provider by its UUID */ type v1DeleteASsoProviderResponse200 = { data: DeleteProviderResponse; status: 200; }; type v1DeleteASsoProviderResponse401 = { data: void; status: 401; }; type v1DeleteASsoProviderResponse403 = { data: void; status: 403; }; type v1DeleteASsoProviderResponse404 = { data: void; status: 404; }; type v1DeleteASsoProviderResponse429 = { data: void; status: 429; }; type v1DeleteASsoProviderResponseSuccess = (v1DeleteASsoProviderResponse200) & { headers: Headers; }; type v1DeleteASsoProviderResponseError = (v1DeleteASsoProviderResponse401 | v1DeleteASsoProviderResponse403 | v1DeleteASsoProviderResponse404 | v1DeleteASsoProviderResponse429) & { headers: Headers; }; type v1DeleteASsoProviderResponse = (v1DeleteASsoProviderResponseSuccess | v1DeleteASsoProviderResponseError); declare const getV1DeleteASsoProviderUrl: (ref: string, providerId: string) => string; declare const v1DeleteASsoProvider: (ref: string, providerId: string, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * Returns the billing addons that are currently applied, including the active compute instance size, and lists every addon option that can be provisioned with pricing metadata. * @summary List billing addons and compute instance selections */ type v1ListProjectAddonsResponse200 = { data: ListProjectAddonsResponse; status: 200; }; type v1ListProjectAddonsResponse401 = { data: void; status: 401; }; type v1ListProjectAddonsResponse403 = { data: void; status: 403; }; type v1ListProjectAddonsResponse429 = { data: void; status: 429; }; type v1ListProjectAddonsResponse500 = { data: void; status: 500; }; type v1ListProjectAddonsResponseSuccess = (v1ListProjectAddonsResponse200) & { headers: Headers; }; type v1ListProjectAddonsResponseError = (v1ListProjectAddonsResponse401 | v1ListProjectAddonsResponse403 | v1ListProjectAddonsResponse429 | v1ListProjectAddonsResponse500) & { headers: Headers; }; type v1ListProjectAddonsResponse = (v1ListProjectAddonsResponseSuccess | v1ListProjectAddonsResponseError); declare const getV1ListProjectAddonsUrl: (ref: string) => string; declare const v1ListProjectAddons: (ref: string, options?: RequestInit) => Promise; /** * Selects an addon variant, for example scaling the project’s compute instance up or down, and applies it to the project. * @summary Apply or update billing addons, including compute instance size */ type v1ApplyProjectAddonResponse200 = { data: void; status: 200; }; type v1ApplyProjectAddonResponse401 = { data: void; status: 401; }; type v1ApplyProjectAddonResponse403 = { data: void; status: 403; }; type v1ApplyProjectAddonResponse429 = { data: void; status: 429; }; type v1ApplyProjectAddonResponse500 = { data: void; status: 500; }; type v1ApplyProjectAddonResponseSuccess = (v1ApplyProjectAddonResponse200) & { headers: Headers; }; type v1ApplyProjectAddonResponseError = (v1ApplyProjectAddonResponse401 | v1ApplyProjectAddonResponse403 | v1ApplyProjectAddonResponse429 | v1ApplyProjectAddonResponse500) & { headers: Headers; }; type v1ApplyProjectAddonResponse = (v1ApplyProjectAddonResponseSuccess | v1ApplyProjectAddonResponseError); declare const getV1ApplyProjectAddonUrl: (ref: string) => string; declare const v1ApplyProjectAddon: (ref: string, applyProjectAddonBody: ApplyProjectAddonBody, options?: RequestInit) => Promise; /** * Disables the selected addon variant, including rolling the compute instance back to its previous size. * @summary Remove billing addons or revert compute instance sizing */ type v1RemoveProjectAddonResponse200 = { data: void; status: 200; }; type v1RemoveProjectAddonResponse401 = { data: void; status: 401; }; type v1RemoveProjectAddonResponse403 = { data: void; status: 403; }; type v1RemoveProjectAddonResponse429 = { data: void; status: 429; }; type v1RemoveProjectAddonResponse500 = { data: void; status: 500; }; type v1RemoveProjectAddonResponseSuccess = (v1RemoveProjectAddonResponse200) & { headers: Headers; }; type v1RemoveProjectAddonResponseError = (v1RemoveProjectAddonResponse401 | v1RemoveProjectAddonResponse403 | v1RemoveProjectAddonResponse429 | v1RemoveProjectAddonResponse500) & { headers: Headers; }; type v1RemoveProjectAddonResponse = (v1RemoveProjectAddonResponseSuccess | v1RemoveProjectAddonResponseError); declare const getV1RemoveProjectAddonUrl: (ref: string, addonVariant: "ci_micro" | "ci_small" | "ci_medium" | "ci_large" | "ci_xlarge" | "ci_2xlarge" | "ci_4xlarge" | "ci_8xlarge" | "ci_12xlarge" | "ci_16xlarge" | "ci_24xlarge" | "ci_24xlarge_optimized_cpu" | "ci_24xlarge_optimized_memory" | "ci_24xlarge_high_memory" | "ci_48xlarge" | "ci_48xlarge_optimized_cpu" | "ci_48xlarge_optimized_memory" | "ci_48xlarge_high_memory" | "cd_default" | "pitr_7" | "pitr_14" | "pitr_28" | "ipv4_default") => string; declare const v1RemoveProjectAddon: (ref: string, addonVariant: "ci_micro" | "ci_small" | "ci_medium" | "ci_large" | "ci_xlarge" | "ci_2xlarge" | "ci_4xlarge" | "ci_8xlarge" | "ci_12xlarge" | "ci_16xlarge" | "ci_24xlarge" | "ci_24xlarge_optimized_cpu" | "ci_24xlarge_optimized_memory" | "ci_24xlarge_high_memory" | "ci_48xlarge" | "ci_48xlarge_optimized_cpu" | "ci_48xlarge_optimized_memory" | "ci_48xlarge_high_memory" | "cd_default" | "pitr_7" | "pitr_14" | "pitr_28" | "ipv4_default", options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary Lists SQL snippets for the logged in user */ type v1ListAllSnippetsResponse200 = { data: SnippetList; status: 200; }; type v1ListAllSnippetsResponse500 = { data: void; status: 500; }; type v1ListAllSnippetsResponseSuccess = (v1ListAllSnippetsResponse200) & { headers: Headers; }; type v1ListAllSnippetsResponseError = (v1ListAllSnippetsResponse500) & { headers: Headers; }; type v1ListAllSnippetsResponse = (v1ListAllSnippetsResponseSuccess | v1ListAllSnippetsResponseError); declare const getV1ListAllSnippetsUrl: (params?: V1ListAllSnippetsParams) => string; declare const v1ListAllSnippets: (params?: V1ListAllSnippetsParams, options?: RequestInit) => Promise; /** * @summary Gets a specific SQL snippet */ type v1GetASnippetResponse200 = { data: SnippetResponse; status: 200; }; type v1GetASnippetResponse500 = { data: void; status: 500; }; type v1GetASnippetResponseSuccess = (v1GetASnippetResponse200) & { headers: Headers; }; type v1GetASnippetResponseError = (v1GetASnippetResponse500) & { headers: Headers; }; type v1GetASnippetResponse = (v1GetASnippetResponseSuccess | v1GetASnippetResponseError); declare const getV1GetASnippetUrl: (id: string) => string; declare const v1GetASnippet: (id: string, options?: RequestInit) => Promise; /** * @summary [Beta] Get project's just-in-time access configuration. */ type v1GetJitAccessConfigResponse200 = { data: JitAccessResponse; status: 200; }; type v1GetJitAccessConfigResponse401 = { data: void; status: 401; }; type v1GetJitAccessConfigResponse403 = { data: void; status: 403; }; type v1GetJitAccessConfigResponse429 = { data: void; status: 429; }; type v1GetJitAccessConfigResponse500 = { data: void; status: 500; }; type v1GetJitAccessConfigResponseSuccess = (v1GetJitAccessConfigResponse200) & { headers: Headers; }; type v1GetJitAccessConfigResponseError = (v1GetJitAccessConfigResponse401 | v1GetJitAccessConfigResponse403 | v1GetJitAccessConfigResponse429 | v1GetJitAccessConfigResponse500) & { headers: Headers; }; type v1GetJitAccessConfigResponse = (v1GetJitAccessConfigResponseSuccess | v1GetJitAccessConfigResponseError); declare const getV1GetJitAccessConfigUrl: (ref: string) => string; declare const v1GetJitAccessConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Update project's just-in-time access configuration. */ type v1UpdateJitAccessConfigResponse200 = { data: JitAccessResponse; status: 200; }; type v1UpdateJitAccessConfigResponse401 = { data: void; status: 401; }; type v1UpdateJitAccessConfigResponse403 = { data: void; status: 403; }; type v1UpdateJitAccessConfigResponse429 = { data: void; status: 429; }; type v1UpdateJitAccessConfigResponse500 = { data: void; status: 500; }; type v1UpdateJitAccessConfigResponseSuccess = (v1UpdateJitAccessConfigResponse200) & { headers: Headers; }; type v1UpdateJitAccessConfigResponseError = (v1UpdateJitAccessConfigResponse401 | v1UpdateJitAccessConfigResponse403 | v1UpdateJitAccessConfigResponse429 | v1UpdateJitAccessConfigResponse500) & { headers: Headers; }; type v1UpdateJitAccessConfigResponse = (v1UpdateJitAccessConfigResponseSuccess | v1UpdateJitAccessConfigResponseError); declare const getV1UpdateJitAccessConfigUrl: (ref: string) => string; declare const v1UpdateJitAccessConfig: (ref: string, jitAccessRequestRequest: JitAccessRequestRequest, options?: RequestInit) => Promise; /** * @summary [Beta] Get project's SSL enforcement configuration. */ type v1GetSslEnforcementConfigResponse200 = { data: SslEnforcementResponse; status: 200; }; type v1GetSslEnforcementConfigResponse401 = { data: void; status: 401; }; type v1GetSslEnforcementConfigResponse403 = { data: void; status: 403; }; type v1GetSslEnforcementConfigResponse429 = { data: void; status: 429; }; type v1GetSslEnforcementConfigResponse500 = { data: void; status: 500; }; type v1GetSslEnforcementConfigResponseSuccess = (v1GetSslEnforcementConfigResponse200) & { headers: Headers; }; type v1GetSslEnforcementConfigResponseError = (v1GetSslEnforcementConfigResponse401 | v1GetSslEnforcementConfigResponse403 | v1GetSslEnforcementConfigResponse429 | v1GetSslEnforcementConfigResponse500) & { headers: Headers; }; type v1GetSslEnforcementConfigResponse = (v1GetSslEnforcementConfigResponseSuccess | v1GetSslEnforcementConfigResponseError); declare const getV1GetSslEnforcementConfigUrl: (ref: string) => string; declare const v1GetSslEnforcementConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Update project's SSL enforcement configuration. */ type v1UpdateSslEnforcementConfigResponse200 = { data: SslEnforcementResponse; status: 200; }; type v1UpdateSslEnforcementConfigResponse401 = { data: void; status: 401; }; type v1UpdateSslEnforcementConfigResponse403 = { data: void; status: 403; }; type v1UpdateSslEnforcementConfigResponse429 = { data: void; status: 429; }; type v1UpdateSslEnforcementConfigResponse500 = { data: void; status: 500; }; type v1UpdateSslEnforcementConfigResponseSuccess = (v1UpdateSslEnforcementConfigResponse200) & { headers: Headers; }; type v1UpdateSslEnforcementConfigResponseError = (v1UpdateSslEnforcementConfigResponse401 | v1UpdateSslEnforcementConfigResponse403 | v1UpdateSslEnforcementConfigResponse429 | v1UpdateSslEnforcementConfigResponse500) & { headers: Headers; }; type v1UpdateSslEnforcementConfigResponse = (v1UpdateSslEnforcementConfigResponseSuccess | v1UpdateSslEnforcementConfigResponseError); declare const getV1UpdateSslEnforcementConfigUrl: (ref: string) => string; declare const v1UpdateSslEnforcementConfig: (ref: string, sslEnforcementRequest: SslEnforcementRequest, options?: RequestInit) => Promise; /** * Returns the TypeScript types of your schema for use with supabase-js. * @summary Generate TypeScript types */ type v1GenerateTypescriptTypesResponse200 = { data: TypescriptResponse; status: 200; }; type v1GenerateTypescriptTypesResponse401 = { data: void; status: 401; }; type v1GenerateTypescriptTypesResponse403 = { data: void; status: 403; }; type v1GenerateTypescriptTypesResponse429 = { data: void; status: 429; }; type v1GenerateTypescriptTypesResponse500 = { data: void; status: 500; }; type v1GenerateTypescriptTypesResponseSuccess = (v1GenerateTypescriptTypesResponse200) & { headers: Headers; }; type v1GenerateTypescriptTypesResponseError = (v1GenerateTypescriptTypesResponse401 | v1GenerateTypescriptTypesResponse403 | v1GenerateTypescriptTypesResponse429 | v1GenerateTypescriptTypesResponse500) & { headers: Headers; }; type v1GenerateTypescriptTypesResponse = (v1GenerateTypescriptTypesResponseSuccess | v1GenerateTypescriptTypesResponseError); declare const getV1GenerateTypescriptTypesUrl: (ref: string, params?: V1GenerateTypescriptTypesParams) => string; declare const v1GenerateTypescriptTypes: (ref: string, params?: V1GenerateTypescriptTypesParams, options?: RequestInit) => Promise; /** * @summary Returns project's readonly mode status */ type v1GetReadonlyModeStatusResponse200 = { data: ReadOnlyStatusResponse; status: 200; }; type v1GetReadonlyModeStatusResponse401 = { data: void; status: 401; }; type v1GetReadonlyModeStatusResponse403 = { data: void; status: 403; }; type v1GetReadonlyModeStatusResponse429 = { data: void; status: 429; }; type v1GetReadonlyModeStatusResponse500 = { data: void; status: 500; }; type v1GetReadonlyModeStatusResponseSuccess = (v1GetReadonlyModeStatusResponse200) & { headers: Headers; }; type v1GetReadonlyModeStatusResponseError = (v1GetReadonlyModeStatusResponse401 | v1GetReadonlyModeStatusResponse403 | v1GetReadonlyModeStatusResponse429 | v1GetReadonlyModeStatusResponse500) & { headers: Headers; }; type v1GetReadonlyModeStatusResponse = (v1GetReadonlyModeStatusResponseSuccess | v1GetReadonlyModeStatusResponseError); declare const getV1GetReadonlyModeStatusUrl: (ref: string) => string; declare const v1GetReadonlyModeStatus: (ref: string, options?: RequestInit) => Promise; /** * @summary Disables project's readonly mode for the next 15 minutes */ type v1DisableReadonlyModeTemporarilyResponse201 = { data: void; status: 201; }; type v1DisableReadonlyModeTemporarilyResponse401 = { data: void; status: 401; }; type v1DisableReadonlyModeTemporarilyResponse403 = { data: void; status: 403; }; type v1DisableReadonlyModeTemporarilyResponse429 = { data: void; status: 429; }; type v1DisableReadonlyModeTemporarilyResponse500 = { data: void; status: 500; }; type v1DisableReadonlyModeTemporarilyResponseSuccess = (v1DisableReadonlyModeTemporarilyResponse201) & { headers: Headers; }; type v1DisableReadonlyModeTemporarilyResponseError = (v1DisableReadonlyModeTemporarilyResponse401 | v1DisableReadonlyModeTemporarilyResponse403 | v1DisableReadonlyModeTemporarilyResponse429 | v1DisableReadonlyModeTemporarilyResponse500) & { headers: Headers; }; type v1DisableReadonlyModeTemporarilyResponse = (v1DisableReadonlyModeTemporarilyResponseSuccess | v1DisableReadonlyModeTemporarilyResponseError); declare const getV1DisableReadonlyModeTemporarilyUrl: (ref: string) => string; declare const v1DisableReadonlyModeTemporarily: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Set up a read replica */ type v1SetupAReadReplicaResponse201 = { data: void; status: 201; }; type v1SetupAReadReplicaResponse401 = { data: void; status: 401; }; type v1SetupAReadReplicaResponse403 = { data: void; status: 403; }; type v1SetupAReadReplicaResponse429 = { data: void; status: 429; }; type v1SetupAReadReplicaResponse500 = { data: void; status: 500; }; type v1SetupAReadReplicaResponseSuccess = (v1SetupAReadReplicaResponse201) & { headers: Headers; }; type v1SetupAReadReplicaResponseError = (v1SetupAReadReplicaResponse401 | v1SetupAReadReplicaResponse403 | v1SetupAReadReplicaResponse429 | v1SetupAReadReplicaResponse500) & { headers: Headers; }; type v1SetupAReadReplicaResponse = (v1SetupAReadReplicaResponseSuccess | v1SetupAReadReplicaResponseError); declare const getV1SetupAReadReplicaUrl: (ref: string) => string; declare const v1SetupAReadReplica: (ref: string, setUpReadReplicaBody: SetUpReadReplicaBody, options?: RequestInit) => Promise; /** * @summary [Beta] Remove a read replica */ type v1RemoveAReadReplicaResponse201 = { data: void; status: 201; }; type v1RemoveAReadReplicaResponse401 = { data: void; status: 401; }; type v1RemoveAReadReplicaResponse403 = { data: void; status: 403; }; type v1RemoveAReadReplicaResponse429 = { data: void; status: 429; }; type v1RemoveAReadReplicaResponse500 = { data: void; status: 500; }; type v1RemoveAReadReplicaResponseSuccess = (v1RemoveAReadReplicaResponse201) & { headers: Headers; }; type v1RemoveAReadReplicaResponseError = (v1RemoveAReadReplicaResponse401 | v1RemoveAReadReplicaResponse403 | v1RemoveAReadReplicaResponse429 | v1RemoveAReadReplicaResponse500) & { headers: Headers; }; type v1RemoveAReadReplicaResponse = (v1RemoveAReadReplicaResponseSuccess | v1RemoveAReadReplicaResponseError); declare const getV1RemoveAReadReplicaUrl: (ref: string) => string; declare const v1RemoveAReadReplica: (ref: string, removeReadReplicaBody: RemoveReadReplicaBody, options?: RequestInit) => Promise; /** * @summary [Beta] Create a login role for CLI with temporary password */ type v1CreateLoginRoleResponse201 = { data: CreateRoleResponse; status: 201; }; type v1CreateLoginRoleResponse401 = { data: void; status: 401; }; type v1CreateLoginRoleResponse403 = { data: void; status: 403; }; type v1CreateLoginRoleResponse429 = { data: void; status: 429; }; type v1CreateLoginRoleResponse500 = { data: void; status: 500; }; type v1CreateLoginRoleResponseSuccess = (v1CreateLoginRoleResponse201) & { headers: Headers; }; type v1CreateLoginRoleResponseError = (v1CreateLoginRoleResponse401 | v1CreateLoginRoleResponse403 | v1CreateLoginRoleResponse429 | v1CreateLoginRoleResponse500) & { headers: Headers; }; type v1CreateLoginRoleResponse = (v1CreateLoginRoleResponseSuccess | v1CreateLoginRoleResponseError); declare const getV1CreateLoginRoleUrl: (ref: string) => string; declare const v1CreateLoginRole: (ref: string, createRoleBody: CreateRoleBody, options?: RequestInit) => Promise; /** * @summary [Beta] Delete existing login roles used by CLI */ type v1DeleteLoginRolesResponse200 = { data: DeleteRolesResponse; status: 200; }; type v1DeleteLoginRolesResponse401 = { data: void; status: 401; }; type v1DeleteLoginRolesResponse403 = { data: void; status: 403; }; type v1DeleteLoginRolesResponse429 = { data: void; status: 429; }; type v1DeleteLoginRolesResponse500 = { data: void; status: 500; }; type v1DeleteLoginRolesResponseSuccess = (v1DeleteLoginRolesResponse200) & { headers: Headers; }; type v1DeleteLoginRolesResponseError = (v1DeleteLoginRolesResponse401 | v1DeleteLoginRolesResponse403 | v1DeleteLoginRolesResponse429 | v1DeleteLoginRolesResponse500) & { headers: Headers; }; type v1DeleteLoginRolesResponse = (v1DeleteLoginRolesResponseSuccess | v1DeleteLoginRolesResponseError); declare const getV1DeleteLoginRolesUrl: (ref: string) => string; declare const v1DeleteLoginRoles: (ref: string, options?: RequestInit) => Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] List applied migration versions */ type v1ListMigrationHistoryResponse200 = { data: V1ListMigrationsResponse; status: 200; }; type v1ListMigrationHistoryResponse401 = { data: void; status: 401; }; type v1ListMigrationHistoryResponse403 = { data: void; status: 403; }; type v1ListMigrationHistoryResponse429 = { data: void; status: 429; }; type v1ListMigrationHistoryResponse500 = { data: void; status: 500; }; type v1ListMigrationHistoryResponseSuccess = (v1ListMigrationHistoryResponse200) & { headers: Headers; }; type v1ListMigrationHistoryResponseError = (v1ListMigrationHistoryResponse401 | v1ListMigrationHistoryResponse403 | v1ListMigrationHistoryResponse429 | v1ListMigrationHistoryResponse500) & { headers: Headers; }; type v1ListMigrationHistoryResponse = (v1ListMigrationHistoryResponseSuccess | v1ListMigrationHistoryResponseError); declare const getV1ListMigrationHistoryUrl: (ref: string) => string; declare const v1ListMigrationHistory: (ref: string, options?: RequestInit) => Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Apply a database migration */ type v1ApplyAMigrationResponse200 = { data: void; status: 200; }; type v1ApplyAMigrationResponse401 = { data: void; status: 401; }; type v1ApplyAMigrationResponse403 = { data: void; status: 403; }; type v1ApplyAMigrationResponse429 = { data: void; status: 429; }; type v1ApplyAMigrationResponse500 = { data: void; status: 500; }; type v1ApplyAMigrationResponseSuccess = (v1ApplyAMigrationResponse200) & { headers: Headers; }; type v1ApplyAMigrationResponseError = (v1ApplyAMigrationResponse401 | v1ApplyAMigrationResponse403 | v1ApplyAMigrationResponse429 | v1ApplyAMigrationResponse500) & { headers: Headers; }; type v1ApplyAMigrationResponse = (v1ApplyAMigrationResponseSuccess | v1ApplyAMigrationResponseError); declare const getV1ApplyAMigrationUrl: (ref: string) => string; declare const v1ApplyAMigration: (ref: string, v1CreateMigrationBody: V1CreateMigrationBody, options?: RequestInit) => Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Upsert a database migration without applying */ type v1UpsertAMigrationResponse200 = { data: void; status: 200; }; type v1UpsertAMigrationResponse401 = { data: void; status: 401; }; type v1UpsertAMigrationResponse403 = { data: void; status: 403; }; type v1UpsertAMigrationResponse429 = { data: void; status: 429; }; type v1UpsertAMigrationResponse500 = { data: void; status: 500; }; type v1UpsertAMigrationResponseSuccess = (v1UpsertAMigrationResponse200) & { headers: Headers; }; type v1UpsertAMigrationResponseError = (v1UpsertAMigrationResponse401 | v1UpsertAMigrationResponse403 | v1UpsertAMigrationResponse429 | v1UpsertAMigrationResponse500) & { headers: Headers; }; type v1UpsertAMigrationResponse = (v1UpsertAMigrationResponseSuccess | v1UpsertAMigrationResponseError); declare const getV1UpsertAMigrationUrl: (ref: string) => string; declare const v1UpsertAMigration: (ref: string, v1UpsertMigrationBody: V1UpsertMigrationBody, options?: RequestInit) => Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Rollback database migrations and remove them from history table */ type v1RollbackMigrationsResponse200 = { data: void; status: 200; }; type v1RollbackMigrationsResponse401 = { data: void; status: 401; }; type v1RollbackMigrationsResponse403 = { data: void; status: 403; }; type v1RollbackMigrationsResponse429 = { data: void; status: 429; }; type v1RollbackMigrationsResponse500 = { data: void; status: 500; }; type v1RollbackMigrationsResponseSuccess = (v1RollbackMigrationsResponse200) & { headers: Headers; }; type v1RollbackMigrationsResponseError = (v1RollbackMigrationsResponse401 | v1RollbackMigrationsResponse403 | v1RollbackMigrationsResponse429 | v1RollbackMigrationsResponse500) & { headers: Headers; }; type v1RollbackMigrationsResponse = (v1RollbackMigrationsResponseSuccess | v1RollbackMigrationsResponseError); declare const getV1RollbackMigrationsUrl: (ref: string, params: V1RollbackMigrationsParams) => string; declare const v1RollbackMigrations: (ref: string, params: V1RollbackMigrationsParams, options?: RequestInit) => Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Fetch an existing entry from migration history */ type v1GetAMigrationResponse200 = { data: V1GetMigrationResponse; status: 200; }; type v1GetAMigrationResponse401 = { data: void; status: 401; }; type v1GetAMigrationResponse403 = { data: void; status: 403; }; type v1GetAMigrationResponse429 = { data: void; status: 429; }; type v1GetAMigrationResponse500 = { data: void; status: 500; }; type v1GetAMigrationResponseSuccess = (v1GetAMigrationResponse200) & { headers: Headers; }; type v1GetAMigrationResponseError = (v1GetAMigrationResponse401 | v1GetAMigrationResponse403 | v1GetAMigrationResponse429 | v1GetAMigrationResponse500) & { headers: Headers; }; type v1GetAMigrationResponse = (v1GetAMigrationResponseSuccess | v1GetAMigrationResponseError); declare const getV1GetAMigrationUrl: (ref: string, version: string) => string; declare const v1GetAMigration: (ref: string, version: string, options?: RequestInit) => Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Patch an existing entry in migration history */ type v1PatchAMigrationResponse200 = { data: void; status: 200; }; type v1PatchAMigrationResponse401 = { data: void; status: 401; }; type v1PatchAMigrationResponse403 = { data: void; status: 403; }; type v1PatchAMigrationResponse429 = { data: void; status: 429; }; type v1PatchAMigrationResponse500 = { data: void; status: 500; }; type v1PatchAMigrationResponseSuccess = (v1PatchAMigrationResponse200) & { headers: Headers; }; type v1PatchAMigrationResponseError = (v1PatchAMigrationResponse401 | v1PatchAMigrationResponse403 | v1PatchAMigrationResponse429 | v1PatchAMigrationResponse500) & { headers: Headers; }; type v1PatchAMigrationResponse = (v1PatchAMigrationResponseSuccess | v1PatchAMigrationResponseError); declare const getV1PatchAMigrationUrl: (ref: string, version: string) => string; declare const v1PatchAMigration: (ref: string, version: string, v1PatchMigrationBody: V1PatchMigrationBody, options?: RequestInit) => Promise; /** * @summary [Beta] Run sql query */ type v1RunAQueryResponse201 = { data: void; status: 201; }; type v1RunAQueryResponse401 = { data: void; status: 401; }; type v1RunAQueryResponse403 = { data: void; status: 403; }; type v1RunAQueryResponse429 = { data: void; status: 429; }; type v1RunAQueryResponse500 = { data: void; status: 500; }; type v1RunAQueryResponseSuccess = (v1RunAQueryResponse201) & { headers: Headers; }; type v1RunAQueryResponseError = (v1RunAQueryResponse401 | v1RunAQueryResponse403 | v1RunAQueryResponse429 | v1RunAQueryResponse500) & { headers: Headers; }; type v1RunAQueryResponse = (v1RunAQueryResponseSuccess | v1RunAQueryResponseError); declare const getV1RunAQueryUrl: (ref: string) => string; declare const v1RunAQuery: (ref: string, v1RunQueryBody: V1RunQueryBody, options?: RequestInit) => Promise; /** * All entity references must be schema qualified. * @summary [Beta] Run a sql query as supabase_read_only_user */ type v1ReadOnlyQueryResponse201 = { data: void; status: 201; }; type v1ReadOnlyQueryResponse401 = { data: void; status: 401; }; type v1ReadOnlyQueryResponse403 = { data: void; status: 403; }; type v1ReadOnlyQueryResponse429 = { data: void; status: 429; }; type v1ReadOnlyQueryResponse500 = { data: void; status: 500; }; type v1ReadOnlyQueryResponseSuccess = (v1ReadOnlyQueryResponse201) & { headers: Headers; }; type v1ReadOnlyQueryResponseError = (v1ReadOnlyQueryResponse401 | v1ReadOnlyQueryResponse403 | v1ReadOnlyQueryResponse429 | v1ReadOnlyQueryResponse500) & { headers: Headers; }; type v1ReadOnlyQueryResponse = (v1ReadOnlyQueryResponseSuccess | v1ReadOnlyQueryResponseError); declare const getV1ReadOnlyQueryUrl: (ref: string) => string; declare const v1ReadOnlyQuery: (ref: string, v1ReadOnlyQueryBody: V1ReadOnlyQueryBody, options?: RequestInit) => Promise; /** * @summary [Beta] Enables Database Webhooks on the project */ type v1EnableDatabaseWebhookResponse201 = { data: void; status: 201; }; type v1EnableDatabaseWebhookResponse401 = { data: void; status: 401; }; type v1EnableDatabaseWebhookResponse403 = { data: void; status: 403; }; type v1EnableDatabaseWebhookResponse429 = { data: void; status: 429; }; type v1EnableDatabaseWebhookResponse500 = { data: void; status: 500; }; type v1EnableDatabaseWebhookResponseSuccess = (v1EnableDatabaseWebhookResponse201) & { headers: Headers; }; type v1EnableDatabaseWebhookResponseError = (v1EnableDatabaseWebhookResponse401 | v1EnableDatabaseWebhookResponse403 | v1EnableDatabaseWebhookResponse429 | v1EnableDatabaseWebhookResponse500) & { headers: Headers; }; type v1EnableDatabaseWebhookResponse = (v1EnableDatabaseWebhookResponseSuccess | v1EnableDatabaseWebhookResponseError); declare const getV1EnableDatabaseWebhookUrl: (ref: string) => string; declare const v1EnableDatabaseWebhook: (ref: string, options?: RequestInit) => Promise; /** * This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable. * @deprecated * @summary Gets database metadata for the given project. */ type v1GetDatabaseMetadataResponse200 = { data: GetProjectDbMetadataResponse; status: 200; }; type v1GetDatabaseMetadataResponse401 = { data: void; status: 401; }; type v1GetDatabaseMetadataResponse403 = { data: void; status: 403; }; type v1GetDatabaseMetadataResponse429 = { data: void; status: 429; }; type v1GetDatabaseMetadataResponseSuccess = (v1GetDatabaseMetadataResponse200) & { headers: Headers; }; type v1GetDatabaseMetadataResponseError = (v1GetDatabaseMetadataResponse401 | v1GetDatabaseMetadataResponse403 | v1GetDatabaseMetadataResponse429) & { headers: Headers; }; type v1GetDatabaseMetadataResponse = (v1GetDatabaseMetadataResponseSuccess | v1GetDatabaseMetadataResponseError); declare const getV1GetDatabaseMetadataUrl: (ref: string) => string; declare const v1GetDatabaseMetadata: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates the database password */ type v1UpdateDatabasePasswordResponse200 = { data: V1UpdatePasswordResponse; status: 200; }; type v1UpdateDatabasePasswordResponse401 = { data: void; status: 401; }; type v1UpdateDatabasePasswordResponse403 = { data: void; status: 403; }; type v1UpdateDatabasePasswordResponse429 = { data: void; status: 429; }; type v1UpdateDatabasePasswordResponse500 = { data: void; status: 500; }; type v1UpdateDatabasePasswordResponseSuccess = (v1UpdateDatabasePasswordResponse200) & { headers: Headers; }; type v1UpdateDatabasePasswordResponseError = (v1UpdateDatabasePasswordResponse401 | v1UpdateDatabasePasswordResponse403 | v1UpdateDatabasePasswordResponse429 | v1UpdateDatabasePasswordResponse500) & { headers: Headers; }; type v1UpdateDatabasePasswordResponse = (v1UpdateDatabasePasswordResponseSuccess | v1UpdateDatabasePasswordResponseError); declare const getV1UpdateDatabasePasswordUrl: (ref: string) => string; declare const v1UpdateDatabasePassword: (ref: string, v1UpdatePasswordBody: V1UpdatePasswordBody, options?: RequestInit) => Promise; /** * Mappings of roles a user can assume in the project database * @summary Get user-id to role mappings for JIT access */ type v1GetJitAccessResponse200 = { data: JitAccessResponse; status: 200; }; type v1GetJitAccessResponse401 = { data: void; status: 401; }; type v1GetJitAccessResponse403 = { data: void; status: 403; }; type v1GetJitAccessResponse429 = { data: void; status: 429; }; type v1GetJitAccessResponse500 = { data: void; status: 500; }; type v1GetJitAccessResponseSuccess = (v1GetJitAccessResponse200) & { headers: Headers; }; type v1GetJitAccessResponseError = (v1GetJitAccessResponse401 | v1GetJitAccessResponse403 | v1GetJitAccessResponse429 | v1GetJitAccessResponse500) & { headers: Headers; }; type v1GetJitAccessResponse = (v1GetJitAccessResponseSuccess | v1GetJitAccessResponseError); declare const getV1GetJitAccessUrl: (ref: string) => string; declare const v1GetJitAccess: (ref: string, options?: RequestInit) => Promise; /** * Authorizes the request to assume a role in the project database * @summary Authorize user-id to role mappings for JIT access */ type v1AuthorizeJitAccessResponse200 = { data: JitAuthorizeAccessResponse; status: 200; }; type v1AuthorizeJitAccessResponse401 = { data: void; status: 401; }; type v1AuthorizeJitAccessResponse403 = { data: void; status: 403; }; type v1AuthorizeJitAccessResponse429 = { data: void; status: 429; }; type v1AuthorizeJitAccessResponse500 = { data: void; status: 500; }; type v1AuthorizeJitAccessResponseSuccess = (v1AuthorizeJitAccessResponse200) & { headers: Headers; }; type v1AuthorizeJitAccessResponseError = (v1AuthorizeJitAccessResponse401 | v1AuthorizeJitAccessResponse403 | v1AuthorizeJitAccessResponse429 | v1AuthorizeJitAccessResponse500) & { headers: Headers; }; type v1AuthorizeJitAccessResponse = (v1AuthorizeJitAccessResponseSuccess | v1AuthorizeJitAccessResponseError); declare const getV1AuthorizeJitAccessUrl: (ref: string) => string; declare const v1AuthorizeJitAccess: (ref: string, authorizeJitAccessBody: AuthorizeJitAccessBody, options?: RequestInit) => Promise; /** * Modifies the roles that can be assumed and for how long * @summary Updates a user mapping for JIT access */ type v1UpdateJitAccessResponse200 = { data: JitAccessResponse; status: 200; }; type v1UpdateJitAccessResponse401 = { data: void; status: 401; }; type v1UpdateJitAccessResponse403 = { data: void; status: 403; }; type v1UpdateJitAccessResponse429 = { data: void; status: 429; }; type v1UpdateJitAccessResponse500 = { data: void; status: 500; }; type v1UpdateJitAccessResponseSuccess = (v1UpdateJitAccessResponse200) & { headers: Headers; }; type v1UpdateJitAccessResponseError = (v1UpdateJitAccessResponse401 | v1UpdateJitAccessResponse403 | v1UpdateJitAccessResponse429 | v1UpdateJitAccessResponse500) & { headers: Headers; }; type v1UpdateJitAccessResponse = (v1UpdateJitAccessResponseSuccess | v1UpdateJitAccessResponseError); declare const getV1UpdateJitAccessUrl: (ref: string) => string; declare const v1UpdateJitAccess: (ref: string, updateJitAccessBody: UpdateJitAccessBody, options?: RequestInit) => Promise; /** * Mappings of roles a user can assume in the project database * @summary List all user-id to role mappings for JIT access */ type v1ListJitAccessResponse200 = { data: JitListAccessResponse; status: 200; }; type v1ListJitAccessResponse401 = { data: void; status: 401; }; type v1ListJitAccessResponse403 = { data: void; status: 403; }; type v1ListJitAccessResponse429 = { data: void; status: 429; }; type v1ListJitAccessResponse500 = { data: void; status: 500; }; type v1ListJitAccessResponseSuccess = (v1ListJitAccessResponse200) & { headers: Headers; }; type v1ListJitAccessResponseError = (v1ListJitAccessResponse401 | v1ListJitAccessResponse403 | v1ListJitAccessResponse429 | v1ListJitAccessResponse500) & { headers: Headers; }; type v1ListJitAccessResponse = (v1ListJitAccessResponseSuccess | v1ListJitAccessResponseError); declare const getV1ListJitAccessUrl: (ref: string) => string; declare const v1ListJitAccess: (ref: string, options?: RequestInit) => Promise; /** * Remove JIT mappings of a user, revoking all JIT database access * @summary Delete JIT access by user-id */ type v1DeleteJitAccessResponse200 = { data: void; status: 200; }; type v1DeleteJitAccessResponse401 = { data: void; status: 401; }; type v1DeleteJitAccessResponse403 = { data: void; status: 403; }; type v1DeleteJitAccessResponse429 = { data: void; status: 429; }; type v1DeleteJitAccessResponse500 = { data: void; status: 500; }; type v1DeleteJitAccessResponseSuccess = (v1DeleteJitAccessResponse200) & { headers: Headers; }; type v1DeleteJitAccessResponseError = (v1DeleteJitAccessResponse401 | v1DeleteJitAccessResponse403 | v1DeleteJitAccessResponse429 | v1DeleteJitAccessResponse500) & { headers: Headers; }; type v1DeleteJitAccessResponse = (v1DeleteJitAccessResponseSuccess | v1DeleteJitAccessResponseError); declare const getV1DeleteJitAccessUrl: (ref: string, userId: string) => string; declare const v1DeleteJitAccess: (ref: string, userId: string, options?: RequestInit) => Promise; /** * @summary Get project's pgbouncer config */ type v1GetProjectPgbouncerConfigResponse200 = { data: V1PgbouncerConfigResponse; status: 200; }; type v1GetProjectPgbouncerConfigResponse401 = { data: void; status: 401; }; type v1GetProjectPgbouncerConfigResponse403 = { data: void; status: 403; }; type v1GetProjectPgbouncerConfigResponse429 = { data: void; status: 429; }; type v1GetProjectPgbouncerConfigResponse500 = { data: void; status: 500; }; type v1GetProjectPgbouncerConfigResponseSuccess = (v1GetProjectPgbouncerConfigResponse200) & { headers: Headers; }; type v1GetProjectPgbouncerConfigResponseError = (v1GetProjectPgbouncerConfigResponse401 | v1GetProjectPgbouncerConfigResponse403 | v1GetProjectPgbouncerConfigResponse429 | v1GetProjectPgbouncerConfigResponse500) & { headers: Headers; }; type v1GetProjectPgbouncerConfigResponse = (v1GetProjectPgbouncerConfigResponseSuccess | v1GetProjectPgbouncerConfigResponseError); declare const getV1GetProjectPgbouncerConfigUrl: (ref: string) => string; declare const v1GetProjectPgbouncerConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary Gets project's supavisor config */ type v1GetPoolerConfigResponse200 = { data: SupavisorConfigResponse[]; status: 200; }; type v1GetPoolerConfigResponse401 = { data: void; status: 401; }; type v1GetPoolerConfigResponse403 = { data: void; status: 403; }; type v1GetPoolerConfigResponse429 = { data: void; status: 429; }; type v1GetPoolerConfigResponse500 = { data: void; status: 500; }; type v1GetPoolerConfigResponseSuccess = (v1GetPoolerConfigResponse200) & { headers: Headers; }; type v1GetPoolerConfigResponseError = (v1GetPoolerConfigResponse401 | v1GetPoolerConfigResponse403 | v1GetPoolerConfigResponse429 | v1GetPoolerConfigResponse500) & { headers: Headers; }; type v1GetPoolerConfigResponse = (v1GetPoolerConfigResponseSuccess | v1GetPoolerConfigResponseError); declare const getV1GetPoolerConfigUrl: (ref: string) => string; declare const v1GetPoolerConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates project's supavisor config */ type v1UpdatePoolerConfigResponse200 = { data: UpdateSupavisorConfigResponse; status: 200; }; type v1UpdatePoolerConfigResponse401 = { data: void; status: 401; }; type v1UpdatePoolerConfigResponse403 = { data: void; status: 403; }; type v1UpdatePoolerConfigResponse429 = { data: void; status: 429; }; type v1UpdatePoolerConfigResponse500 = { data: void; status: 500; }; type v1UpdatePoolerConfigResponseSuccess = (v1UpdatePoolerConfigResponse200) & { headers: Headers; }; type v1UpdatePoolerConfigResponseError = (v1UpdatePoolerConfigResponse401 | v1UpdatePoolerConfigResponse403 | v1UpdatePoolerConfigResponse429 | v1UpdatePoolerConfigResponse500) & { headers: Headers; }; type v1UpdatePoolerConfigResponse = (v1UpdatePoolerConfigResponseSuccess | v1UpdatePoolerConfigResponseError); declare const getV1UpdatePoolerConfigUrl: (ref: string) => string; declare const v1UpdatePoolerConfig: (ref: string, updateSupavisorConfigBody: UpdateSupavisorConfigBody, options?: RequestInit) => Promise; /** * @summary Gets project's Postgres config */ type v1GetPostgresConfigResponse200 = { data: PostgresConfigResponse; status: 200; }; type v1GetPostgresConfigResponse401 = { data: void; status: 401; }; type v1GetPostgresConfigResponse403 = { data: void; status: 403; }; type v1GetPostgresConfigResponse429 = { data: void; status: 429; }; type v1GetPostgresConfigResponse500 = { data: void; status: 500; }; type v1GetPostgresConfigResponseSuccess = (v1GetPostgresConfigResponse200) & { headers: Headers; }; type v1GetPostgresConfigResponseError = (v1GetPostgresConfigResponse401 | v1GetPostgresConfigResponse403 | v1GetPostgresConfigResponse429 | v1GetPostgresConfigResponse500) & { headers: Headers; }; type v1GetPostgresConfigResponse = (v1GetPostgresConfigResponseSuccess | v1GetPostgresConfigResponseError); declare const getV1GetPostgresConfigUrl: (ref: string) => string; declare const v1GetPostgresConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates project's Postgres config */ type v1UpdatePostgresConfigResponse200 = { data: PostgresConfigResponse; status: 200; }; type v1UpdatePostgresConfigResponse401 = { data: void; status: 401; }; type v1UpdatePostgresConfigResponse403 = { data: void; status: 403; }; type v1UpdatePostgresConfigResponse429 = { data: void; status: 429; }; type v1UpdatePostgresConfigResponse500 = { data: void; status: 500; }; type v1UpdatePostgresConfigResponseSuccess = (v1UpdatePostgresConfigResponse200) & { headers: Headers; }; type v1UpdatePostgresConfigResponseError = (v1UpdatePostgresConfigResponse401 | v1UpdatePostgresConfigResponse403 | v1UpdatePostgresConfigResponse429 | v1UpdatePostgresConfigResponse500) & { headers: Headers; }; type v1UpdatePostgresConfigResponse = (v1UpdatePostgresConfigResponseSuccess | v1UpdatePostgresConfigResponseError); declare const getV1UpdatePostgresConfigUrl: (ref: string) => string; declare const v1UpdatePostgresConfig: (ref: string, updatePostgresConfigBody: UpdatePostgresConfigBody, options?: RequestInit) => Promise; /** * @summary Lists all backups */ type v1ListAllBackupsResponse200 = { data: V1BackupsResponse; status: 200; }; type v1ListAllBackupsResponse401 = { data: void; status: 401; }; type v1ListAllBackupsResponse403 = { data: void; status: 403; }; type v1ListAllBackupsResponse429 = { data: void; status: 429; }; type v1ListAllBackupsResponse500 = { data: void; status: 500; }; type v1ListAllBackupsResponseSuccess = (v1ListAllBackupsResponse200) & { headers: Headers; }; type v1ListAllBackupsResponseError = (v1ListAllBackupsResponse401 | v1ListAllBackupsResponse403 | v1ListAllBackupsResponse429 | v1ListAllBackupsResponse500) & { headers: Headers; }; type v1ListAllBackupsResponse = (v1ListAllBackupsResponseSuccess | v1ListAllBackupsResponseError); declare const getV1ListAllBackupsUrl: (ref: string) => string; declare const v1ListAllBackups: (ref: string, options?: RequestInit) => Promise; /** * @summary Restores a PITR backup for a database */ type v1RestorePitrBackupResponse201 = { data: void; status: 201; }; type v1RestorePitrBackupResponse401 = { data: void; status: 401; }; type v1RestorePitrBackupResponse403 = { data: void; status: 403; }; type v1RestorePitrBackupResponse429 = { data: void; status: 429; }; type v1RestorePitrBackupResponseSuccess = (v1RestorePitrBackupResponse201) & { headers: Headers; }; type v1RestorePitrBackupResponseError = (v1RestorePitrBackupResponse401 | v1RestorePitrBackupResponse403 | v1RestorePitrBackupResponse429) & { headers: Headers; }; type v1RestorePitrBackupResponse = (v1RestorePitrBackupResponseSuccess | v1RestorePitrBackupResponseError); declare const getV1RestorePitrBackupUrl: (ref: string) => string; declare const v1RestorePitrBackup: (ref: string, v1RestorePitrBody: V1RestorePitrBody, options?: RequestInit) => Promise; /** * @summary Initiates a creation of a restore point for a database */ type v1CreateRestorePointResponse201 = { data: V1RestorePointResponse; status: 201; }; type v1CreateRestorePointResponse401 = { data: void; status: 401; }; type v1CreateRestorePointResponse403 = { data: void; status: 403; }; type v1CreateRestorePointResponse429 = { data: void; status: 429; }; type v1CreateRestorePointResponseSuccess = (v1CreateRestorePointResponse201) & { headers: Headers; }; type v1CreateRestorePointResponseError = (v1CreateRestorePointResponse401 | v1CreateRestorePointResponse403 | v1CreateRestorePointResponse429) & { headers: Headers; }; type v1CreateRestorePointResponse = (v1CreateRestorePointResponseSuccess | v1CreateRestorePointResponseError); declare const getV1CreateRestorePointUrl: (ref: string) => string; declare const v1CreateRestorePoint: (ref: string, v1RestorePointPostBody: V1RestorePointPostBody, options?: RequestInit) => Promise; /** * @summary Get restore points for project */ type v1GetRestorePointResponse200 = { data: V1RestorePointResponse; status: 200; }; type v1GetRestorePointResponse401 = { data: void; status: 401; }; type v1GetRestorePointResponse403 = { data: void; status: 403; }; type v1GetRestorePointResponse429 = { data: void; status: 429; }; type v1GetRestorePointResponse500 = { data: void; status: 500; }; type v1GetRestorePointResponseSuccess = (v1GetRestorePointResponse200) & { headers: Headers; }; type v1GetRestorePointResponseError = (v1GetRestorePointResponse401 | v1GetRestorePointResponse403 | v1GetRestorePointResponse429 | v1GetRestorePointResponse500) & { headers: Headers; }; type v1GetRestorePointResponse = (v1GetRestorePointResponseSuccess | v1GetRestorePointResponseError); declare const getV1GetRestorePointUrl: (ref: string, params?: V1GetRestorePointParams) => string; declare const v1GetRestorePoint: (ref: string, params?: V1GetRestorePointParams, options?: RequestInit) => Promise; /** * @summary Initiates an undo to a given restore point */ type v1UndoResponse201 = { data: void; status: 201; }; type v1UndoResponse401 = { data: void; status: 401; }; type v1UndoResponse403 = { data: void; status: 403; }; type v1UndoResponse429 = { data: void; status: 429; }; type v1UndoResponseSuccess = (v1UndoResponse201) & { headers: Headers; }; type v1UndoResponseError = (v1UndoResponse401 | v1UndoResponse403 | v1UndoResponse429) & { headers: Headers; }; type v1UndoResponse = (v1UndoResponseSuccess | v1UndoResponseError); declare const getV1UndoUrl: (ref: string) => string; declare const v1Undo: (ref: string, v1UndoBody: V1UndoBody, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary [Beta] Gets project's custom hostname config */ type v1GetHostnameConfigResponse200 = { data: UpdateCustomHostnameResponse; status: 200; }; type v1GetHostnameConfigResponse401 = { data: void; status: 401; }; type v1GetHostnameConfigResponse403 = { data: void; status: 403; }; type v1GetHostnameConfigResponse429 = { data: void; status: 429; }; type v1GetHostnameConfigResponse500 = { data: void; status: 500; }; type v1GetHostnameConfigResponseSuccess = (v1GetHostnameConfigResponse200) & { headers: Headers; }; type v1GetHostnameConfigResponseError = (v1GetHostnameConfigResponse401 | v1GetHostnameConfigResponse403 | v1GetHostnameConfigResponse429 | v1GetHostnameConfigResponse500) & { headers: Headers; }; type v1GetHostnameConfigResponse = (v1GetHostnameConfigResponseSuccess | v1GetHostnameConfigResponseError); declare const getV1GetHostnameConfigUrl: (ref: string) => string; declare const v1GetHostnameConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Deletes a project's custom hostname configuration */ type v1DeleteHostnameConfigResponse200 = { data: void; status: 200; }; type v1DeleteHostnameConfigResponse401 = { data: void; status: 401; }; type v1DeleteHostnameConfigResponse403 = { data: void; status: 403; }; type v1DeleteHostnameConfigResponse429 = { data: void; status: 429; }; type v1DeleteHostnameConfigResponse500 = { data: void; status: 500; }; type v1DeleteHostnameConfigResponseSuccess = (v1DeleteHostnameConfigResponse200) & { headers: Headers; }; type v1DeleteHostnameConfigResponseError = (v1DeleteHostnameConfigResponse401 | v1DeleteHostnameConfigResponse403 | v1DeleteHostnameConfigResponse429 | v1DeleteHostnameConfigResponse500) & { headers: Headers; }; type v1DeleteHostnameConfigResponse = (v1DeleteHostnameConfigResponseSuccess | v1DeleteHostnameConfigResponseError); declare const getV1DeleteHostnameConfigUrl: (ref: string) => string; declare const v1DeleteHostnameConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Updates project's custom hostname configuration */ type v1UpdateHostnameConfigResponse201 = { data: UpdateCustomHostnameResponse; status: 201; }; type v1UpdateHostnameConfigResponse401 = { data: void; status: 401; }; type v1UpdateHostnameConfigResponse403 = { data: void; status: 403; }; type v1UpdateHostnameConfigResponse429 = { data: void; status: 429; }; type v1UpdateHostnameConfigResponse500 = { data: void; status: 500; }; type v1UpdateHostnameConfigResponseSuccess = (v1UpdateHostnameConfigResponse201) & { headers: Headers; }; type v1UpdateHostnameConfigResponseError = (v1UpdateHostnameConfigResponse401 | v1UpdateHostnameConfigResponse403 | v1UpdateHostnameConfigResponse429 | v1UpdateHostnameConfigResponse500) & { headers: Headers; }; type v1UpdateHostnameConfigResponse = (v1UpdateHostnameConfigResponseSuccess | v1UpdateHostnameConfigResponseError); declare const getV1UpdateHostnameConfigUrl: (ref: string) => string; declare const v1UpdateHostnameConfig: (ref: string, updateCustomHostnameBody: UpdateCustomHostnameBody, options?: RequestInit) => Promise; /** * @summary [Beta] Attempts to verify the DNS configuration for project's custom hostname configuration */ type v1VerifyDnsConfigResponse201 = { data: UpdateCustomHostnameResponse; status: 201; }; type v1VerifyDnsConfigResponse401 = { data: void; status: 401; }; type v1VerifyDnsConfigResponse403 = { data: void; status: 403; }; type v1VerifyDnsConfigResponse429 = { data: void; status: 429; }; type v1VerifyDnsConfigResponse500 = { data: void; status: 500; }; type v1VerifyDnsConfigResponseSuccess = (v1VerifyDnsConfigResponse201) & { headers: Headers; }; type v1VerifyDnsConfigResponseError = (v1VerifyDnsConfigResponse401 | v1VerifyDnsConfigResponse403 | v1VerifyDnsConfigResponse429 | v1VerifyDnsConfigResponse500) & { headers: Headers; }; type v1VerifyDnsConfigResponse = (v1VerifyDnsConfigResponseSuccess | v1VerifyDnsConfigResponseError); declare const getV1VerifyDnsConfigUrl: (ref: string) => string; declare const v1VerifyDnsConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Activates a custom hostname for a project. */ type v1ActivateCustomHostnameResponse201 = { data: UpdateCustomHostnameResponse; status: 201; }; type v1ActivateCustomHostnameResponse401 = { data: void; status: 401; }; type v1ActivateCustomHostnameResponse403 = { data: void; status: 403; }; type v1ActivateCustomHostnameResponse429 = { data: void; status: 429; }; type v1ActivateCustomHostnameResponse500 = { data: void; status: 500; }; type v1ActivateCustomHostnameResponseSuccess = (v1ActivateCustomHostnameResponse201) & { headers: Headers; }; type v1ActivateCustomHostnameResponseError = (v1ActivateCustomHostnameResponse401 | v1ActivateCustomHostnameResponse403 | v1ActivateCustomHostnameResponse429 | v1ActivateCustomHostnameResponse500) & { headers: Headers; }; type v1ActivateCustomHostnameResponse = (v1ActivateCustomHostnameResponseSuccess | v1ActivateCustomHostnameResponseError); declare const getV1ActivateCustomHostnameUrl: (ref: string) => string; declare const v1ActivateCustomHostname: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Gets current vanity subdomain config */ type v1GetVanitySubdomainConfigResponse200 = { data: VanitySubdomainConfigResponse; status: 200; }; type v1GetVanitySubdomainConfigResponse401 = { data: void; status: 401; }; type v1GetVanitySubdomainConfigResponse403 = { data: void; status: 403; }; type v1GetVanitySubdomainConfigResponse429 = { data: void; status: 429; }; type v1GetVanitySubdomainConfigResponse500 = { data: void; status: 500; }; type v1GetVanitySubdomainConfigResponseSuccess = (v1GetVanitySubdomainConfigResponse200) & { headers: Headers; }; type v1GetVanitySubdomainConfigResponseError = (v1GetVanitySubdomainConfigResponse401 | v1GetVanitySubdomainConfigResponse403 | v1GetVanitySubdomainConfigResponse429 | v1GetVanitySubdomainConfigResponse500) & { headers: Headers; }; type v1GetVanitySubdomainConfigResponse = (v1GetVanitySubdomainConfigResponseSuccess | v1GetVanitySubdomainConfigResponseError); declare const getV1GetVanitySubdomainConfigUrl: (ref: string) => string; declare const v1GetVanitySubdomainConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Deletes a project's vanity subdomain configuration */ type v1DeactivateVanitySubdomainConfigResponse200 = { data: void; status: 200; }; type v1DeactivateVanitySubdomainConfigResponse401 = { data: void; status: 401; }; type v1DeactivateVanitySubdomainConfigResponse403 = { data: void; status: 403; }; type v1DeactivateVanitySubdomainConfigResponse429 = { data: void; status: 429; }; type v1DeactivateVanitySubdomainConfigResponse500 = { data: void; status: 500; }; type v1DeactivateVanitySubdomainConfigResponseSuccess = (v1DeactivateVanitySubdomainConfigResponse200) & { headers: Headers; }; type v1DeactivateVanitySubdomainConfigResponseError = (v1DeactivateVanitySubdomainConfigResponse401 | v1DeactivateVanitySubdomainConfigResponse403 | v1DeactivateVanitySubdomainConfigResponse429 | v1DeactivateVanitySubdomainConfigResponse500) & { headers: Headers; }; type v1DeactivateVanitySubdomainConfigResponse = (v1DeactivateVanitySubdomainConfigResponseSuccess | v1DeactivateVanitySubdomainConfigResponseError); declare const getV1DeactivateVanitySubdomainConfigUrl: (ref: string) => string; declare const v1DeactivateVanitySubdomainConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Checks vanity subdomain availability */ type v1CheckVanitySubdomainAvailabilityResponse201 = { data: SubdomainAvailabilityResponse; status: 201; }; type v1CheckVanitySubdomainAvailabilityResponse401 = { data: void; status: 401; }; type v1CheckVanitySubdomainAvailabilityResponse403 = { data: void; status: 403; }; type v1CheckVanitySubdomainAvailabilityResponse429 = { data: void; status: 429; }; type v1CheckVanitySubdomainAvailabilityResponse500 = { data: void; status: 500; }; type v1CheckVanitySubdomainAvailabilityResponseSuccess = (v1CheckVanitySubdomainAvailabilityResponse201) & { headers: Headers; }; type v1CheckVanitySubdomainAvailabilityResponseError = (v1CheckVanitySubdomainAvailabilityResponse401 | v1CheckVanitySubdomainAvailabilityResponse403 | v1CheckVanitySubdomainAvailabilityResponse429 | v1CheckVanitySubdomainAvailabilityResponse500) & { headers: Headers; }; type v1CheckVanitySubdomainAvailabilityResponse = (v1CheckVanitySubdomainAvailabilityResponseSuccess | v1CheckVanitySubdomainAvailabilityResponseError); declare const getV1CheckVanitySubdomainAvailabilityUrl: (ref: string) => string; declare const v1CheckVanitySubdomainAvailability: (ref: string, vanitySubdomainBody: VanitySubdomainBody, options?: RequestInit) => Promise; /** * @summary [Beta] Activates a vanity subdomain for a project. */ type v1ActivateVanitySubdomainConfigResponse201 = { data: ActivateVanitySubdomainResponse; status: 201; }; type v1ActivateVanitySubdomainConfigResponse401 = { data: void; status: 401; }; type v1ActivateVanitySubdomainConfigResponse403 = { data: void; status: 403; }; type v1ActivateVanitySubdomainConfigResponse429 = { data: void; status: 429; }; type v1ActivateVanitySubdomainConfigResponse500 = { data: void; status: 500; }; type v1ActivateVanitySubdomainConfigResponseSuccess = (v1ActivateVanitySubdomainConfigResponse201) & { headers: Headers; }; type v1ActivateVanitySubdomainConfigResponseError = (v1ActivateVanitySubdomainConfigResponse401 | v1ActivateVanitySubdomainConfigResponse403 | v1ActivateVanitySubdomainConfigResponse429 | v1ActivateVanitySubdomainConfigResponse500) & { headers: Headers; }; type v1ActivateVanitySubdomainConfigResponse = (v1ActivateVanitySubdomainConfigResponseSuccess | v1ActivateVanitySubdomainConfigResponseError); declare const getV1ActivateVanitySubdomainConfigUrl: (ref: string) => string; declare const v1ActivateVanitySubdomainConfig: (ref: string, vanitySubdomainBody: VanitySubdomainBody, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * Returns all functions you've previously added to the specified project. * @summary List all functions */ type v1ListAllFunctionsResponse200 = { data: FunctionResponse[]; status: 200; }; type v1ListAllFunctionsResponse401 = { data: void; status: 401; }; type v1ListAllFunctionsResponse403 = { data: void; status: 403; }; type v1ListAllFunctionsResponse429 = { data: void; status: 429; }; type v1ListAllFunctionsResponse500 = { data: void; status: 500; }; type v1ListAllFunctionsResponseSuccess = (v1ListAllFunctionsResponse200) & { headers: Headers; }; type v1ListAllFunctionsResponseError = (v1ListAllFunctionsResponse401 | v1ListAllFunctionsResponse403 | v1ListAllFunctionsResponse429 | v1ListAllFunctionsResponse500) & { headers: Headers; }; type v1ListAllFunctionsResponse = (v1ListAllFunctionsResponseSuccess | v1ListAllFunctionsResponseError); declare const getV1ListAllFunctionsUrl: (ref: string) => string; declare const v1ListAllFunctions: (ref: string, options?: RequestInit) => Promise; /** * This endpoint is deprecated - use the deploy endpoint. Creates a function and adds it to the specified project. * @deprecated * @summary Create a function */ type v1CreateAFunctionResponse201 = { data: FunctionResponse; status: 201; }; type v1CreateAFunctionResponse401 = { data: void; status: 401; }; type v1CreateAFunctionResponse402 = { data: void; status: 402; }; type v1CreateAFunctionResponse403 = { data: void; status: 403; }; type v1CreateAFunctionResponse429 = { data: void; status: 429; }; type v1CreateAFunctionResponse500 = { data: void; status: 500; }; type v1CreateAFunctionResponseSuccess = (v1CreateAFunctionResponse201) & { headers: Headers; }; type v1CreateAFunctionResponseError = (v1CreateAFunctionResponse401 | v1CreateAFunctionResponse402 | v1CreateAFunctionResponse403 | v1CreateAFunctionResponse429 | v1CreateAFunctionResponse500) & { headers: Headers; }; type v1CreateAFunctionResponse = (v1CreateAFunctionResponseSuccess | v1CreateAFunctionResponseError); declare const getV1CreateAFunctionUrl: (ref: string, params?: V1CreateAFunctionParams) => string; declare const v1CreateAFunction: (ref: string, v1CreateAFunctionBody: Blob | V1CreateFunctionBody, params?: V1CreateAFunctionParams, options?: RequestInit) => Promise; /** * Bulk update functions. It will create a new function or replace existing. The operation is idempotent. NOTE: You will need to manually bump the version. * @summary Bulk update functions */ type v1BulkUpdateFunctionsResponse200 = { data: BulkUpdateFunctionResponse; status: 200; }; type v1BulkUpdateFunctionsResponse401 = { data: void; status: 401; }; type v1BulkUpdateFunctionsResponse402 = { data: void; status: 402; }; type v1BulkUpdateFunctionsResponse403 = { data: void; status: 403; }; type v1BulkUpdateFunctionsResponse429 = { data: void; status: 429; }; type v1BulkUpdateFunctionsResponse500 = { data: void; status: 500; }; type v1BulkUpdateFunctionsResponseSuccess = (v1BulkUpdateFunctionsResponse200) & { headers: Headers; }; type v1BulkUpdateFunctionsResponseError = (v1BulkUpdateFunctionsResponse401 | v1BulkUpdateFunctionsResponse402 | v1BulkUpdateFunctionsResponse403 | v1BulkUpdateFunctionsResponse429 | v1BulkUpdateFunctionsResponse500) & { headers: Headers; }; type v1BulkUpdateFunctionsResponse = (v1BulkUpdateFunctionsResponseSuccess | v1BulkUpdateFunctionsResponseError); declare const getV1BulkUpdateFunctionsUrl: (ref: string) => string; declare const v1BulkUpdateFunctions: (ref: string, bulkUpdateFunctionBody: BulkUpdateFunctionBody, options?: RequestInit) => Promise; /** * A new endpoint to deploy functions. It will create if function does not exist. * @summary Deploy a function */ type v1DeployAFunctionResponse201 = { data: DeployFunctionResponse; status: 201; }; type v1DeployAFunctionResponse401 = { data: void; status: 401; }; type v1DeployAFunctionResponse402 = { data: void; status: 402; }; type v1DeployAFunctionResponse403 = { data: void; status: 403; }; type v1DeployAFunctionResponse429 = { data: void; status: 429; }; type v1DeployAFunctionResponse500 = { data: void; status: 500; }; type v1DeployAFunctionResponseSuccess = (v1DeployAFunctionResponse201) & { headers: Headers; }; type v1DeployAFunctionResponseError = (v1DeployAFunctionResponse401 | v1DeployAFunctionResponse402 | v1DeployAFunctionResponse403 | v1DeployAFunctionResponse429 | v1DeployAFunctionResponse500) & { headers: Headers; }; type v1DeployAFunctionResponse = (v1DeployAFunctionResponseSuccess | v1DeployAFunctionResponseError); declare const getV1DeployAFunctionUrl: (ref: string, params?: V1DeployAFunctionParams) => string; declare const v1DeployAFunction: (ref: string, functionDeployBody: FunctionDeployBody, params?: V1DeployAFunctionParams, options?: RequestInit) => Promise; /** * Retrieves a function with the specified slug and project. * @summary Retrieve a function */ type v1GetAFunctionResponse200 = { data: FunctionSlugResponse; status: 200; }; type v1GetAFunctionResponse401 = { data: void; status: 401; }; type v1GetAFunctionResponse403 = { data: void; status: 403; }; type v1GetAFunctionResponse429 = { data: void; status: 429; }; type v1GetAFunctionResponse500 = { data: void; status: 500; }; type v1GetAFunctionResponseSuccess = (v1GetAFunctionResponse200) & { headers: Headers; }; type v1GetAFunctionResponseError = (v1GetAFunctionResponse401 | v1GetAFunctionResponse403 | v1GetAFunctionResponse429 | v1GetAFunctionResponse500) & { headers: Headers; }; type v1GetAFunctionResponse = (v1GetAFunctionResponseSuccess | v1GetAFunctionResponseError); declare const getV1GetAFunctionUrl: (ref: string, functionSlug: string) => string; declare const v1GetAFunction: (ref: string, functionSlug: string, options?: RequestInit) => Promise; /** * Updates a function with the specified slug and project. * @summary Update a function */ type v1UpdateAFunctionResponse200 = { data: FunctionResponse; status: 200; }; type v1UpdateAFunctionResponse401 = { data: void; status: 401; }; type v1UpdateAFunctionResponse403 = { data: void; status: 403; }; type v1UpdateAFunctionResponse429 = { data: void; status: 429; }; type v1UpdateAFunctionResponse500 = { data: void; status: 500; }; type v1UpdateAFunctionResponseSuccess = (v1UpdateAFunctionResponse200) & { headers: Headers; }; type v1UpdateAFunctionResponseError = (v1UpdateAFunctionResponse401 | v1UpdateAFunctionResponse403 | v1UpdateAFunctionResponse429 | v1UpdateAFunctionResponse500) & { headers: Headers; }; type v1UpdateAFunctionResponse = (v1UpdateAFunctionResponseSuccess | v1UpdateAFunctionResponseError); declare const getV1UpdateAFunctionUrl: (ref: string, functionSlug: string, params?: V1UpdateAFunctionParams) => string; declare const v1UpdateAFunction: (ref: string, functionSlug: string, v1UpdateAFunctionBody: Blob | V1UpdateFunctionBody, params?: V1UpdateAFunctionParams, options?: RequestInit) => Promise; /** * Deletes a function with the specified slug from the specified project. * @summary Delete a function */ type v1DeleteAFunctionResponse200 = { data: void; status: 200; }; type v1DeleteAFunctionResponse401 = { data: void; status: 401; }; type v1DeleteAFunctionResponse403 = { data: void; status: 403; }; type v1DeleteAFunctionResponse429 = { data: void; status: 429; }; type v1DeleteAFunctionResponse500 = { data: void; status: 500; }; type v1DeleteAFunctionResponseSuccess = (v1DeleteAFunctionResponse200) & { headers: Headers; }; type v1DeleteAFunctionResponseError = (v1DeleteAFunctionResponse401 | v1DeleteAFunctionResponse403 | v1DeleteAFunctionResponse429 | v1DeleteAFunctionResponse500) & { headers: Headers; }; type v1DeleteAFunctionResponse = (v1DeleteAFunctionResponseSuccess | v1DeleteAFunctionResponseError); declare const getV1DeleteAFunctionUrl: (ref: string, functionSlug: string) => string; declare const v1DeleteAFunction: (ref: string, functionSlug: string, options?: RequestInit) => Promise; /** * Retrieves a function body for the specified slug and project. * @summary Retrieve a function body */ type v1GetAFunctionBodyResponse200 = { data: StreamableFile; status: 200; }; type v1GetAFunctionBodyResponse401 = { data: void; status: 401; }; type v1GetAFunctionBodyResponse403 = { data: void; status: 403; }; type v1GetAFunctionBodyResponse429 = { data: void; status: 429; }; type v1GetAFunctionBodyResponse500 = { data: void; status: 500; }; type v1GetAFunctionBodyResponseSuccess = (v1GetAFunctionBodyResponse200) & { headers: Headers; }; type v1GetAFunctionBodyResponseError = (v1GetAFunctionBodyResponse401 | v1GetAFunctionBodyResponse403 | v1GetAFunctionBodyResponse429 | v1GetAFunctionBodyResponse500) & { headers: Headers; }; type v1GetAFunctionBodyResponse = (v1GetAFunctionBodyResponseSuccess | v1GetAFunctionBodyResponseError); declare const getV1GetAFunctionBodyUrl: (ref: string, functionSlug: string) => string; declare const v1GetAFunctionBody: (ref: string, functionSlug: string, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * Fetches configurations of the specified database branch * @summary Get database branch config */ type v1GetABranchConfigResponse200 = { data: BranchDetailResponse; status: 200; }; type v1GetABranchConfigResponse500 = { data: void; status: 500; }; type v1GetABranchConfigResponseSuccess = (v1GetABranchConfigResponse200) & { headers: Headers; }; type v1GetABranchConfigResponseError = (v1GetABranchConfigResponse500) & { headers: Headers; }; type v1GetABranchConfigResponse = (v1GetABranchConfigResponseSuccess | v1GetABranchConfigResponseError); declare const getV1GetABranchConfigUrl: (branchIdOrRef: string) => string; declare const v1GetABranchConfig: (branchIdOrRef: string, options?: RequestInit) => Promise; /** * Updates the configuration of the specified database branch * @summary Update database branch config */ type v1UpdateABranchConfigResponse200 = { data: BranchResponse; status: 200; }; type v1UpdateABranchConfigResponse500 = { data: void; status: 500; }; type v1UpdateABranchConfigResponseSuccess = (v1UpdateABranchConfigResponse200) & { headers: Headers; }; type v1UpdateABranchConfigResponseError = (v1UpdateABranchConfigResponse500) & { headers: Headers; }; type v1UpdateABranchConfigResponse = (v1UpdateABranchConfigResponseSuccess | v1UpdateABranchConfigResponseError); declare const getV1UpdateABranchConfigUrl: (branchIdOrRef: string) => string; declare const v1UpdateABranchConfig: (branchIdOrRef: string, updateBranchBody: UpdateBranchBody, options?: RequestInit) => Promise; /** * Deletes the specified database branch. By default, deletes immediately. Use force=false to schedule deletion with 1-hour grace period (only when soft deletion is enabled). * @summary Delete a database branch */ type v1DeleteABranchResponse200 = { data: BranchDeleteResponse; status: 200; }; type v1DeleteABranchResponse500 = { data: void; status: 500; }; type v1DeleteABranchResponseSuccess = (v1DeleteABranchResponse200) & { headers: Headers; }; type v1DeleteABranchResponseError = (v1DeleteABranchResponse500) & { headers: Headers; }; type v1DeleteABranchResponse = (v1DeleteABranchResponseSuccess | v1DeleteABranchResponseError); declare const getV1DeleteABranchUrl: (branchIdOrRef: string, params?: V1DeleteABranchParams) => string; declare const v1DeleteABranch: (branchIdOrRef: string, params?: V1DeleteABranchParams, options?: RequestInit) => Promise; /** * Pushes the specified database branch * @summary Pushes a database branch */ type v1PushABranchResponse201 = { data: BranchUpdateResponse; status: 201; }; type v1PushABranchResponse500 = { data: void; status: 500; }; type v1PushABranchResponseSuccess = (v1PushABranchResponse201) & { headers: Headers; }; type v1PushABranchResponseError = (v1PushABranchResponse500) & { headers: Headers; }; type v1PushABranchResponse = (v1PushABranchResponseSuccess | v1PushABranchResponseError); declare const getV1PushABranchUrl: (branchIdOrRef: string) => string; declare const v1PushABranch: (branchIdOrRef: string, branchActionBody: BranchActionBody, options?: RequestInit) => Promise; /** * Merges the specified database branch * @summary Merges a database branch */ type v1MergeABranchResponse201 = { data: BranchUpdateResponse; status: 201; }; type v1MergeABranchResponse500 = { data: void; status: 500; }; type v1MergeABranchResponseSuccess = (v1MergeABranchResponse201) & { headers: Headers; }; type v1MergeABranchResponseError = (v1MergeABranchResponse500) & { headers: Headers; }; type v1MergeABranchResponse = (v1MergeABranchResponseSuccess | v1MergeABranchResponseError); declare const getV1MergeABranchUrl: (branchIdOrRef: string) => string; declare const v1MergeABranch: (branchIdOrRef: string, branchActionBody: BranchActionBody, options?: RequestInit) => Promise; /** * Resets the specified database branch * @summary Resets a database branch */ type v1ResetABranchResponse201 = { data: BranchUpdateResponse; status: 201; }; type v1ResetABranchResponse500 = { data: void; status: 500; }; type v1ResetABranchResponseSuccess = (v1ResetABranchResponse201) & { headers: Headers; }; type v1ResetABranchResponseError = (v1ResetABranchResponse500) & { headers: Headers; }; type v1ResetABranchResponse = (v1ResetABranchResponseSuccess | v1ResetABranchResponseError); declare const getV1ResetABranchUrl: (branchIdOrRef: string) => string; declare const v1ResetABranch: (branchIdOrRef: string, branchActionBody: BranchActionBody, options?: RequestInit) => Promise; /** * Cancels scheduled deletion and restores the branch to active state * @summary Restore a scheduled branch deletion */ type v1RestoreABranchResponse200 = { data: BranchRestoreResponse; status: 200; }; type v1RestoreABranchResponse500 = { data: void; status: 500; }; type v1RestoreABranchResponseSuccess = (v1RestoreABranchResponse200) & { headers: Headers; }; type v1RestoreABranchResponseError = (v1RestoreABranchResponse500) & { headers: Headers; }; type v1RestoreABranchResponse = (v1RestoreABranchResponseSuccess | v1RestoreABranchResponseError); declare const getV1RestoreABranchUrl: (branchIdOrRef: string) => string; declare const v1RestoreABranch: (branchIdOrRef: string, options?: RequestInit) => Promise; /** * Diffs the specified database branch * @summary [Beta] Diffs a database branch */ type v1DiffABranchResponse200 = { data: string; status: 200; }; type v1DiffABranchResponse500 = { data: void; status: 500; }; type v1DiffABranchResponseSuccess = (v1DiffABranchResponse200) & { headers: Headers; }; type v1DiffABranchResponseError = (v1DiffABranchResponse500) & { headers: Headers; }; type v1DiffABranchResponse = (v1DiffABranchResponseSuccess | v1DiffABranchResponseError); declare const getV1DiffABranchUrl: (branchIdOrRef: string, params?: V1DiffABranchParams) => string; declare const v1DiffABranch: (branchIdOrRef: string, params?: V1DiffABranchParams, options?: RequestInit) => Promise; /** * Returns a paginated list of action runs of the specified project. * @summary List all action runs */ type v1ListActionRunsResponse200 = { data: ListActionRunResponse; status: 200; }; type v1ListActionRunsResponse401 = { data: void; status: 401; }; type v1ListActionRunsResponse403 = { data: void; status: 403; }; type v1ListActionRunsResponse429 = { data: void; status: 429; }; type v1ListActionRunsResponse500 = { data: void; status: 500; }; type v1ListActionRunsResponseSuccess = (v1ListActionRunsResponse200) & { headers: Headers; }; type v1ListActionRunsResponseError = (v1ListActionRunsResponse401 | v1ListActionRunsResponse403 | v1ListActionRunsResponse429 | v1ListActionRunsResponse500) & { headers: Headers; }; type v1ListActionRunsResponse = (v1ListActionRunsResponseSuccess | v1ListActionRunsResponseError); declare const getV1ListActionRunsUrl: (ref: string, params?: V1ListActionRunsParams) => string; declare const v1ListActionRuns: (ref: string, params?: V1ListActionRunsParams, options?: RequestInit) => Promise; /** * Returns the total number of action runs of the specified project. * @summary Count the number of action runs */ type v1CountActionRunsResponse200 = { data: void; status: 200; }; type v1CountActionRunsResponse401 = { data: void; status: 401; }; type v1CountActionRunsResponse403 = { data: void; status: 403; }; type v1CountActionRunsResponse429 = { data: void; status: 429; }; type v1CountActionRunsResponse500 = { data: void; status: 500; }; type v1CountActionRunsResponseSuccess = (v1CountActionRunsResponse200) & { headers: Headers; }; type v1CountActionRunsResponseError = (v1CountActionRunsResponse401 | v1CountActionRunsResponse403 | v1CountActionRunsResponse429 | v1CountActionRunsResponse500) & { headers: Headers; }; type v1CountActionRunsResponse = (v1CountActionRunsResponseSuccess | v1CountActionRunsResponseError); declare const getV1CountActionRunsUrl: (ref: string) => string; declare const v1CountActionRuns: (ref: string, options?: RequestInit) => Promise; /** * Returns the current status of the specified action run. * @summary Get the status of an action run */ type v1GetActionRunResponse200 = { data: ActionRunResponse; status: 200; }; type v1GetActionRunResponse401 = { data: void; status: 401; }; type v1GetActionRunResponse403 = { data: void; status: 403; }; type v1GetActionRunResponse429 = { data: void; status: 429; }; type v1GetActionRunResponse500 = { data: void; status: 500; }; type v1GetActionRunResponseSuccess = (v1GetActionRunResponse200) & { headers: Headers; }; type v1GetActionRunResponseError = (v1GetActionRunResponse401 | v1GetActionRunResponse403 | v1GetActionRunResponse429 | v1GetActionRunResponse500) & { headers: Headers; }; type v1GetActionRunResponse = (v1GetActionRunResponseSuccess | v1GetActionRunResponseError); declare const getV1GetActionRunUrl: (ref: string, runId: string) => string; declare const v1GetActionRun: (ref: string, runId: string, options?: RequestInit) => Promise; /** * Updates the status of an ongoing action run. * @summary Update the status of an action run */ type v1UpdateActionRunStatusResponse200 = { data: UpdateRunStatusResponse; status: 200; }; type v1UpdateActionRunStatusResponse401 = { data: void; status: 401; }; type v1UpdateActionRunStatusResponse403 = { data: void; status: 403; }; type v1UpdateActionRunStatusResponse429 = { data: void; status: 429; }; type v1UpdateActionRunStatusResponse500 = { data: void; status: 500; }; type v1UpdateActionRunStatusResponseSuccess = (v1UpdateActionRunStatusResponse200) & { headers: Headers; }; type v1UpdateActionRunStatusResponseError = (v1UpdateActionRunStatusResponse401 | v1UpdateActionRunStatusResponse403 | v1UpdateActionRunStatusResponse429 | v1UpdateActionRunStatusResponse500) & { headers: Headers; }; type v1UpdateActionRunStatusResponse = (v1UpdateActionRunStatusResponseSuccess | v1UpdateActionRunStatusResponseError); declare const getV1UpdateActionRunStatusUrl: (ref: string, runId: string) => string; declare const v1UpdateActionRunStatus: (ref: string, runId: string, updateRunStatusBody: UpdateRunStatusBody, options?: RequestInit) => Promise; /** * Returns the logs from the specified action run. * @summary Get the logs of an action run */ type v1GetActionRunLogsResponse200 = { data: string; status: 200; }; type v1GetActionRunLogsResponse401 = { data: void; status: 401; }; type v1GetActionRunLogsResponse403 = { data: void; status: 403; }; type v1GetActionRunLogsResponse429 = { data: void; status: 429; }; type v1GetActionRunLogsResponse500 = { data: void; status: 500; }; type v1GetActionRunLogsResponseSuccess = (v1GetActionRunLogsResponse200) & { headers: Headers; }; type v1GetActionRunLogsResponseError = (v1GetActionRunLogsResponse401 | v1GetActionRunLogsResponse403 | v1GetActionRunLogsResponse429 | v1GetActionRunLogsResponse500) & { headers: Headers; }; type v1GetActionRunLogsResponse = (v1GetActionRunLogsResponseSuccess | v1GetActionRunLogsResponseError); declare const getV1GetActionRunLogsUrl: (ref: string, runId: string) => string; declare const v1GetActionRunLogs: (ref: string, runId: string, options?: RequestInit) => Promise; /** * Returns all database branches of the specified project. * @summary List all database branches */ type v1ListAllBranchesResponse200 = { data: BranchResponse[]; status: 200; }; type v1ListAllBranchesResponse401 = { data: void; status: 401; }; type v1ListAllBranchesResponse403 = { data: void; status: 403; }; type v1ListAllBranchesResponse429 = { data: void; status: 429; }; type v1ListAllBranchesResponse500 = { data: void; status: 500; }; type v1ListAllBranchesResponseSuccess = (v1ListAllBranchesResponse200) & { headers: Headers; }; type v1ListAllBranchesResponseError = (v1ListAllBranchesResponse401 | v1ListAllBranchesResponse403 | v1ListAllBranchesResponse429 | v1ListAllBranchesResponse500) & { headers: Headers; }; type v1ListAllBranchesResponse = (v1ListAllBranchesResponseSuccess | v1ListAllBranchesResponseError); declare const getV1ListAllBranchesUrl: (ref: string) => string; declare const v1ListAllBranches: (ref: string, options?: RequestInit) => Promise; /** * Creates a database branch from the specified project. * @summary Create a database branch */ type v1CreateABranchResponse201 = { data: BranchResponse; status: 201; }; type v1CreateABranchResponse401 = { data: void; status: 401; }; type v1CreateABranchResponse403 = { data: void; status: 403; }; type v1CreateABranchResponse429 = { data: void; status: 429; }; type v1CreateABranchResponse500 = { data: void; status: 500; }; type v1CreateABranchResponseSuccess = (v1CreateABranchResponse201) & { headers: Headers; }; type v1CreateABranchResponseError = (v1CreateABranchResponse401 | v1CreateABranchResponse403 | v1CreateABranchResponse429 | v1CreateABranchResponse500) & { headers: Headers; }; type v1CreateABranchResponse = (v1CreateABranchResponseSuccess | v1CreateABranchResponseError); declare const getV1CreateABranchUrl: (ref: string) => string; declare const v1CreateABranch: (ref: string, createBranchBody: CreateBranchBody, options?: RequestInit) => Promise; /** * Disables preview branching for the specified project * @summary Disables preview branching */ type v1DisablePreviewBranchingResponse200 = { data: void; status: 200; }; type v1DisablePreviewBranchingResponse401 = { data: void; status: 401; }; type v1DisablePreviewBranchingResponse403 = { data: void; status: 403; }; type v1DisablePreviewBranchingResponse429 = { data: void; status: 429; }; type v1DisablePreviewBranchingResponse500 = { data: void; status: 500; }; type v1DisablePreviewBranchingResponseSuccess = (v1DisablePreviewBranchingResponse200) & { headers: Headers; }; type v1DisablePreviewBranchingResponseError = (v1DisablePreviewBranchingResponse401 | v1DisablePreviewBranchingResponse403 | v1DisablePreviewBranchingResponse429 | v1DisablePreviewBranchingResponse500) & { headers: Headers; }; type v1DisablePreviewBranchingResponse = (v1DisablePreviewBranchingResponseSuccess | v1DisablePreviewBranchingResponseError); declare const getV1DisablePreviewBranchingUrl: (ref: string) => string; declare const v1DisablePreviewBranching: (ref: string, options?: RequestInit) => Promise; /** * Fetches the specified database branch by its name. * @summary Get a database branch */ type v1GetABranchResponse200 = { data: BranchResponse; status: 200; }; type v1GetABranchResponse401 = { data: void; status: 401; }; type v1GetABranchResponse403 = { data: void; status: 403; }; type v1GetABranchResponse429 = { data: void; status: 429; }; type v1GetABranchResponse500 = { data: void; status: 500; }; type v1GetABranchResponseSuccess = (v1GetABranchResponse200) & { headers: Headers; }; type v1GetABranchResponseError = (v1GetABranchResponse401 | v1GetABranchResponse403 | v1GetABranchResponse429 | v1GetABranchResponse500) & { headers: Headers; }; type v1GetABranchResponse = (v1GetABranchResponseSuccess | v1GetABranchResponseError); declare const getV1GetABranchUrl: (ref: string, name: string) => string; declare const v1GetABranch: (ref: string, name: string, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary [Beta] Authorize user through oauth */ type v1AuthorizeUserResponse204 = { data: void; status: 204; }; type v1AuthorizeUserResponseSuccess = (v1AuthorizeUserResponse204) & { headers: Headers; }; type v1AuthorizeUserResponse = (v1AuthorizeUserResponseSuccess); declare const getV1AuthorizeUserUrl: (params: V1AuthorizeUserParams) => string; declare const v1AuthorizeUser: (params: V1AuthorizeUserParams, options?: RequestInit) => Promise; /** * @summary [Beta] Exchange auth code for user's access and refresh token */ type v1ExchangeOauthTokenResponse201 = { data: OAuthTokenResponse; status: 201; }; type v1ExchangeOauthTokenResponseSuccess = (v1ExchangeOauthTokenResponse201) & { headers: Headers; }; type v1ExchangeOauthTokenResponse = (v1ExchangeOauthTokenResponseSuccess); declare const getV1ExchangeOauthTokenUrl: () => string; declare const v1ExchangeOauthToken: (oAuthTokenBody: OAuthTokenBody, options?: RequestInit) => Promise; /** * @summary [Beta] Revoke oauth app authorization and it's corresponding tokens */ type v1RevokeTokenResponse204 = { data: void; status: 204; }; type v1RevokeTokenResponseSuccess = (v1RevokeTokenResponse204) & { headers: Headers; }; type v1RevokeTokenResponse = (v1RevokeTokenResponseSuccess); declare const getV1RevokeTokenUrl: () => string; declare const v1RevokeToken: (oAuthRevokeTokenBody: OAuthRevokeTokenBody, options?: RequestInit) => Promise; /** * Initiates the OAuth authorization flow for the specified provider. After successful authentication, the user can claim ownership of the specified project. * @summary Authorize user through oauth and claim a project */ type v1OauthAuthorizeProjectClaimResponse204 = { data: void; status: 204; }; type v1OauthAuthorizeProjectClaimResponseSuccess = (v1OauthAuthorizeProjectClaimResponse204) & { headers: Headers; }; type v1OauthAuthorizeProjectClaimResponse = (v1OauthAuthorizeProjectClaimResponseSuccess); declare const getV1OauthAuthorizeProjectClaimUrl: (params: V1OauthAuthorizeProjectClaimParams) => string; declare const v1OauthAuthorizeProjectClaim: (params: V1OauthAuthorizeProjectClaimParams, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * Returns a list of organizations that you currently belong to. * @summary List all organizations */ type v1ListAllOrganizationsResponse200 = { data: OrganizationResponseV1[]; status: 200; }; type v1ListAllOrganizationsResponse500 = { data: void; status: 500; }; type v1ListAllOrganizationsResponseSuccess = (v1ListAllOrganizationsResponse200) & { headers: Headers; }; type v1ListAllOrganizationsResponseError = (v1ListAllOrganizationsResponse500) & { headers: Headers; }; type v1ListAllOrganizationsResponse = (v1ListAllOrganizationsResponseSuccess | v1ListAllOrganizationsResponseError); declare const getV1ListAllOrganizationsUrl: () => string; declare const v1ListAllOrganizations: (options?: RequestInit) => Promise; /** * @summary Create an organization */ type v1CreateAnOrganizationResponse201 = { data: OrganizationResponseV1; status: 201; }; type v1CreateAnOrganizationResponse500 = { data: void; status: 500; }; type v1CreateAnOrganizationResponseSuccess = (v1CreateAnOrganizationResponse201) & { headers: Headers; }; type v1CreateAnOrganizationResponseError = (v1CreateAnOrganizationResponse500) & { headers: Headers; }; type v1CreateAnOrganizationResponse = (v1CreateAnOrganizationResponseSuccess | v1CreateAnOrganizationResponseError); declare const getV1CreateAnOrganizationUrl: () => string; declare const v1CreateAnOrganization: (createOrganizationV1: CreateOrganizationV1, options?: RequestInit) => Promise; /** * @summary List members of an organization */ type v1ListOrganizationMembersResponse200 = { data: V1OrganizationMemberResponse[]; status: 200; }; type v1ListOrganizationMembersResponseSuccess = (v1ListOrganizationMembersResponse200) & { headers: Headers; }; type v1ListOrganizationMembersResponse = (v1ListOrganizationMembersResponseSuccess); declare const getV1ListOrganizationMembersUrl: (slug: string) => string; declare const v1ListOrganizationMembers: (slug: string, options?: RequestInit) => Promise; /** * @summary Gets information about the organization */ type v1GetAnOrganizationResponse200 = { data: V1OrganizationSlugResponse; status: 200; }; type v1GetAnOrganizationResponse401 = { data: void; status: 401; }; type v1GetAnOrganizationResponse403 = { data: void; status: 403; }; type v1GetAnOrganizationResponse429 = { data: void; status: 429; }; type v1GetAnOrganizationResponseSuccess = (v1GetAnOrganizationResponse200) & { headers: Headers; }; type v1GetAnOrganizationResponseError = (v1GetAnOrganizationResponse401 | v1GetAnOrganizationResponse403 | v1GetAnOrganizationResponse429) & { headers: Headers; }; type v1GetAnOrganizationResponse = (v1GetAnOrganizationResponseSuccess | v1GetAnOrganizationResponseError); declare const getV1GetAnOrganizationUrl: (slug: string) => string; declare const v1GetAnOrganization: (slug: string, options?: RequestInit) => Promise; /** * @summary Gets project details for the specified organization and claim token */ type v1GetOrganizationProjectClaimResponse200 = { data: OrganizationProjectClaimResponse; status: 200; }; type v1GetOrganizationProjectClaimResponse401 = { data: void; status: 401; }; type v1GetOrganizationProjectClaimResponse403 = { data: void; status: 403; }; type v1GetOrganizationProjectClaimResponse429 = { data: void; status: 429; }; type v1GetOrganizationProjectClaimResponseSuccess = (v1GetOrganizationProjectClaimResponse200) & { headers: Headers; }; type v1GetOrganizationProjectClaimResponseError = (v1GetOrganizationProjectClaimResponse401 | v1GetOrganizationProjectClaimResponse403 | v1GetOrganizationProjectClaimResponse429) & { headers: Headers; }; type v1GetOrganizationProjectClaimResponse = (v1GetOrganizationProjectClaimResponseSuccess | v1GetOrganizationProjectClaimResponseError); declare const getV1GetOrganizationProjectClaimUrl: (slug: string, token: string) => string; declare const v1GetOrganizationProjectClaim: (slug: string, token: string, options?: RequestInit) => Promise; /** * @summary Claims project for the specified organization */ type v1ClaimProjectForOrganizationResponse204 = { data: void; status: 204; }; type v1ClaimProjectForOrganizationResponse401 = { data: void; status: 401; }; type v1ClaimProjectForOrganizationResponse403 = { data: void; status: 403; }; type v1ClaimProjectForOrganizationResponse429 = { data: void; status: 429; }; type v1ClaimProjectForOrganizationResponseSuccess = (v1ClaimProjectForOrganizationResponse204) & { headers: Headers; }; type v1ClaimProjectForOrganizationResponseError = (v1ClaimProjectForOrganizationResponse401 | v1ClaimProjectForOrganizationResponse403 | v1ClaimProjectForOrganizationResponse429) & { headers: Headers; }; type v1ClaimProjectForOrganizationResponse = (v1ClaimProjectForOrganizationResponseSuccess | v1ClaimProjectForOrganizationResponseError); declare const getV1ClaimProjectForOrganizationUrl: (slug: string, token: string) => string; declare const v1ClaimProjectForOrganization: (slug: string, token: string, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * Returns a list of all projects you've previously created. Use `/v1/organizations/{slug}/projects` instead when possible to get more precise results and pagination support. * @summary List all projects */ type v1ListAllProjectsResponse200 = { data: V1ProjectWithDatabaseResponse[]; status: 200; }; type v1ListAllProjectsResponseSuccess = (v1ListAllProjectsResponse200) & { headers: Headers; }; type v1ListAllProjectsResponse = (v1ListAllProjectsResponseSuccess); declare const getV1ListAllProjectsUrl: () => string; declare const v1ListAllProjects: (options?: RequestInit) => Promise; /** * @summary Create a project */ type v1CreateAProjectResponse201 = { data: V1ProjectResponse; status: 201; }; type v1CreateAProjectResponseSuccess = (v1CreateAProjectResponse201) & { headers: Headers; }; type v1CreateAProjectResponse = (v1CreateAProjectResponseSuccess); declare const getV1CreateAProjectUrl: () => string; declare const v1CreateAProject: (v1CreateProjectBody: V1CreateProjectBody, options?: RequestInit) => Promise; /** * @summary [Beta] Gets the list of available regions that can be used for a new project */ type v1GetAvailableRegionsResponse200 = { data: RegionsInfo; status: 200; }; type v1GetAvailableRegionsResponseSuccess = (v1GetAvailableRegionsResponse200) & { headers: Headers; }; type v1GetAvailableRegionsResponse = (v1GetAvailableRegionsResponseSuccess); declare const getV1GetAvailableRegionsUrl: (params: V1GetAvailableRegionsParams) => string; declare const v1GetAvailableRegions: (params: V1GetAvailableRegionsParams, options?: RequestInit) => Promise; /** * @summary [Beta] Gets project's network bans */ type v1ListAllNetworkBansResponse201 = { data: NetworkBanResponse; status: 201; }; type v1ListAllNetworkBansResponse401 = { data: void; status: 401; }; type v1ListAllNetworkBansResponse403 = { data: void; status: 403; }; type v1ListAllNetworkBansResponse429 = { data: void; status: 429; }; type v1ListAllNetworkBansResponse500 = { data: void; status: 500; }; type v1ListAllNetworkBansResponseSuccess = (v1ListAllNetworkBansResponse201) & { headers: Headers; }; type v1ListAllNetworkBansResponseError = (v1ListAllNetworkBansResponse401 | v1ListAllNetworkBansResponse403 | v1ListAllNetworkBansResponse429 | v1ListAllNetworkBansResponse500) & { headers: Headers; }; type v1ListAllNetworkBansResponse = (v1ListAllNetworkBansResponseSuccess | v1ListAllNetworkBansResponseError); declare const getV1ListAllNetworkBansUrl: (ref: string) => string; declare const v1ListAllNetworkBans: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Gets project's network bans with additional information about which databases they affect */ type v1ListAllNetworkBansEnrichedResponse201 = { data: NetworkBanResponseEnriched; status: 201; }; type v1ListAllNetworkBansEnrichedResponse401 = { data: void; status: 401; }; type v1ListAllNetworkBansEnrichedResponse403 = { data: void; status: 403; }; type v1ListAllNetworkBansEnrichedResponse429 = { data: void; status: 429; }; type v1ListAllNetworkBansEnrichedResponse500 = { data: void; status: 500; }; type v1ListAllNetworkBansEnrichedResponseSuccess = (v1ListAllNetworkBansEnrichedResponse201) & { headers: Headers; }; type v1ListAllNetworkBansEnrichedResponseError = (v1ListAllNetworkBansEnrichedResponse401 | v1ListAllNetworkBansEnrichedResponse403 | v1ListAllNetworkBansEnrichedResponse429 | v1ListAllNetworkBansEnrichedResponse500) & { headers: Headers; }; type v1ListAllNetworkBansEnrichedResponse = (v1ListAllNetworkBansEnrichedResponseSuccess | v1ListAllNetworkBansEnrichedResponseError); declare const getV1ListAllNetworkBansEnrichedUrl: (ref: string) => string; declare const v1ListAllNetworkBansEnriched: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Remove network bans. */ type v1DeleteNetworkBansResponse200 = { data: void; status: 200; }; type v1DeleteNetworkBansResponse401 = { data: void; status: 401; }; type v1DeleteNetworkBansResponse403 = { data: void; status: 403; }; type v1DeleteNetworkBansResponse429 = { data: void; status: 429; }; type v1DeleteNetworkBansResponse500 = { data: void; status: 500; }; type v1DeleteNetworkBansResponseSuccess = (v1DeleteNetworkBansResponse200) & { headers: Headers; }; type v1DeleteNetworkBansResponseError = (v1DeleteNetworkBansResponse401 | v1DeleteNetworkBansResponse403 | v1DeleteNetworkBansResponse429 | v1DeleteNetworkBansResponse500) & { headers: Headers; }; type v1DeleteNetworkBansResponse = (v1DeleteNetworkBansResponseSuccess | v1DeleteNetworkBansResponseError); declare const getV1DeleteNetworkBansUrl: (ref: string) => string; declare const v1DeleteNetworkBans: (ref: string, removeNetworkBanRequest: RemoveNetworkBanRequest, options?: RequestInit) => Promise; /** * @summary [Beta] Gets project's network restrictions */ type v1GetNetworkRestrictionsResponse200 = { data: NetworkRestrictionsResponse; status: 200; }; type v1GetNetworkRestrictionsResponse401 = { data: void; status: 401; }; type v1GetNetworkRestrictionsResponse403 = { data: void; status: 403; }; type v1GetNetworkRestrictionsResponse429 = { data: void; status: 429; }; type v1GetNetworkRestrictionsResponse500 = { data: void; status: 500; }; type v1GetNetworkRestrictionsResponseSuccess = (v1GetNetworkRestrictionsResponse200) & { headers: Headers; }; type v1GetNetworkRestrictionsResponseError = (v1GetNetworkRestrictionsResponse401 | v1GetNetworkRestrictionsResponse403 | v1GetNetworkRestrictionsResponse429 | v1GetNetworkRestrictionsResponse500) & { headers: Headers; }; type v1GetNetworkRestrictionsResponse = (v1GetNetworkRestrictionsResponseSuccess | v1GetNetworkRestrictionsResponseError); declare const getV1GetNetworkRestrictionsUrl: (ref: string) => string; declare const v1GetNetworkRestrictions: (ref: string, options?: RequestInit) => Promise; /** * @summary [Alpha] Updates project's network restrictions by adding or removing CIDRs */ type v1PatchNetworkRestrictionsResponse200 = { data: NetworkRestrictionsV2Response; status: 200; }; type v1PatchNetworkRestrictionsResponse401 = { data: void; status: 401; }; type v1PatchNetworkRestrictionsResponse403 = { data: void; status: 403; }; type v1PatchNetworkRestrictionsResponse429 = { data: void; status: 429; }; type v1PatchNetworkRestrictionsResponse500 = { data: void; status: 500; }; type v1PatchNetworkRestrictionsResponseSuccess = (v1PatchNetworkRestrictionsResponse200) & { headers: Headers; }; type v1PatchNetworkRestrictionsResponseError = (v1PatchNetworkRestrictionsResponse401 | v1PatchNetworkRestrictionsResponse403 | v1PatchNetworkRestrictionsResponse429 | v1PatchNetworkRestrictionsResponse500) & { headers: Headers; }; type v1PatchNetworkRestrictionsResponse = (v1PatchNetworkRestrictionsResponseSuccess | v1PatchNetworkRestrictionsResponseError); declare const getV1PatchNetworkRestrictionsUrl: (ref: string) => string; declare const v1PatchNetworkRestrictions: (ref: string, networkRestrictionsPatchRequest: NetworkRestrictionsPatchRequest, options?: RequestInit) => Promise; /** * @summary [Beta] Updates project's network restrictions */ type v1UpdateNetworkRestrictionsResponse201 = { data: NetworkRestrictionsResponse; status: 201; }; type v1UpdateNetworkRestrictionsResponse401 = { data: void; status: 401; }; type v1UpdateNetworkRestrictionsResponse403 = { data: void; status: 403; }; type v1UpdateNetworkRestrictionsResponse429 = { data: void; status: 429; }; type v1UpdateNetworkRestrictionsResponse500 = { data: void; status: 500; }; type v1UpdateNetworkRestrictionsResponseSuccess = (v1UpdateNetworkRestrictionsResponse201) & { headers: Headers; }; type v1UpdateNetworkRestrictionsResponseError = (v1UpdateNetworkRestrictionsResponse401 | v1UpdateNetworkRestrictionsResponse403 | v1UpdateNetworkRestrictionsResponse429 | v1UpdateNetworkRestrictionsResponse500) & { headers: Headers; }; type v1UpdateNetworkRestrictionsResponse = (v1UpdateNetworkRestrictionsResponseSuccess | v1UpdateNetworkRestrictionsResponseError); declare const getV1UpdateNetworkRestrictionsUrl: (ref: string) => string; declare const v1UpdateNetworkRestrictions: (ref: string, networkRestrictionsRequest: NetworkRestrictionsRequest, options?: RequestInit) => Promise; /** * @summary Gets a specific project that belongs to the authenticated user */ type v1GetProjectResponse200 = { data: V1ProjectWithDatabaseResponse; status: 200; }; type v1GetProjectResponse401 = { data: void; status: 401; }; type v1GetProjectResponse403 = { data: void; status: 403; }; type v1GetProjectResponse429 = { data: void; status: 429; }; type v1GetProjectResponse500 = { data: void; status: 500; }; type v1GetProjectResponseSuccess = (v1GetProjectResponse200) & { headers: Headers; }; type v1GetProjectResponseError = (v1GetProjectResponse401 | v1GetProjectResponse403 | v1GetProjectResponse429 | v1GetProjectResponse500) & { headers: Headers; }; type v1GetProjectResponse = (v1GetProjectResponseSuccess | v1GetProjectResponseError); declare const getV1GetProjectUrl: (ref: string) => string; declare const v1GetProject: (ref: string, options?: RequestInit) => Promise; /** * @summary Deletes the given project */ type v1DeleteAProjectResponse200 = { data: V1ProjectRefResponse; status: 200; }; type v1DeleteAProjectResponse401 = { data: void; status: 401; }; type v1DeleteAProjectResponse403 = { data: void; status: 403; }; type v1DeleteAProjectResponse429 = { data: void; status: 429; }; type v1DeleteAProjectResponseSuccess = (v1DeleteAProjectResponse200) & { headers: Headers; }; type v1DeleteAProjectResponseError = (v1DeleteAProjectResponse401 | v1DeleteAProjectResponse403 | v1DeleteAProjectResponse429) & { headers: Headers; }; type v1DeleteAProjectResponse = (v1DeleteAProjectResponseSuccess | v1DeleteAProjectResponseError); declare const getV1DeleteAProjectUrl: (ref: string) => string; declare const v1DeleteAProject: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates the given project */ type v1UpdateAProjectResponse200 = { data: V1ProjectRefResponse; status: 200; }; type v1UpdateAProjectResponse401 = { data: void; status: 401; }; type v1UpdateAProjectResponse403 = { data: void; status: 403; }; type v1UpdateAProjectResponse429 = { data: void; status: 429; }; type v1UpdateAProjectResponse500 = { data: void; status: 500; }; type v1UpdateAProjectResponseSuccess = (v1UpdateAProjectResponse200) & { headers: Headers; }; type v1UpdateAProjectResponseError = (v1UpdateAProjectResponse401 | v1UpdateAProjectResponse403 | v1UpdateAProjectResponse429 | v1UpdateAProjectResponse500) & { headers: Headers; }; type v1UpdateAProjectResponse = (v1UpdateAProjectResponseSuccess | v1UpdateAProjectResponseError); declare const getV1UpdateAProjectUrl: (ref: string) => string; declare const v1UpdateAProject: (ref: string, v1UpdateProjectBody: V1UpdateProjectBody, options?: RequestInit) => Promise; /** * @summary [Beta] Upgrades the project's Postgres version */ type v1UpgradePostgresVersionResponse201 = { data: ProjectUpgradeInitiateResponse; status: 201; }; type v1UpgradePostgresVersionResponse401 = { data: void; status: 401; }; type v1UpgradePostgresVersionResponse403 = { data: void; status: 403; }; type v1UpgradePostgresVersionResponse429 = { data: void; status: 429; }; type v1UpgradePostgresVersionResponse500 = { data: void; status: 500; }; type v1UpgradePostgresVersionResponseSuccess = (v1UpgradePostgresVersionResponse201) & { headers: Headers; }; type v1UpgradePostgresVersionResponseError = (v1UpgradePostgresVersionResponse401 | v1UpgradePostgresVersionResponse403 | v1UpgradePostgresVersionResponse429 | v1UpgradePostgresVersionResponse500) & { headers: Headers; }; type v1UpgradePostgresVersionResponse = (v1UpgradePostgresVersionResponseSuccess | v1UpgradePostgresVersionResponseError); declare const getV1UpgradePostgresVersionUrl: (ref: string) => string; declare const v1UpgradePostgresVersion: (ref: string, upgradeDatabaseBody: UpgradeDatabaseBody, options?: RequestInit) => Promise; /** * @summary [Beta] Returns the project's eligibility for upgrades */ type v1GetPostgresUpgradeEligibilityResponse200 = { data: ProjectUpgradeEligibilityResponse; status: 200; }; type v1GetPostgresUpgradeEligibilityResponse401 = { data: void; status: 401; }; type v1GetPostgresUpgradeEligibilityResponse403 = { data: void; status: 403; }; type v1GetPostgresUpgradeEligibilityResponse429 = { data: void; status: 429; }; type v1GetPostgresUpgradeEligibilityResponse500 = { data: void; status: 500; }; type v1GetPostgresUpgradeEligibilityResponseSuccess = (v1GetPostgresUpgradeEligibilityResponse200) & { headers: Headers; }; type v1GetPostgresUpgradeEligibilityResponseError = (v1GetPostgresUpgradeEligibilityResponse401 | v1GetPostgresUpgradeEligibilityResponse403 | v1GetPostgresUpgradeEligibilityResponse429 | v1GetPostgresUpgradeEligibilityResponse500) & { headers: Headers; }; type v1GetPostgresUpgradeEligibilityResponse = (v1GetPostgresUpgradeEligibilityResponseSuccess | v1GetPostgresUpgradeEligibilityResponseError); declare const getV1GetPostgresUpgradeEligibilityUrl: (ref: string) => string; declare const v1GetPostgresUpgradeEligibility: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Gets the latest status of the project's upgrade */ type v1GetPostgresUpgradeStatusResponse200 = { data: DatabaseUpgradeStatusResponse; status: 200; }; type v1GetPostgresUpgradeStatusResponse401 = { data: void; status: 401; }; type v1GetPostgresUpgradeStatusResponse403 = { data: void; status: 403; }; type v1GetPostgresUpgradeStatusResponse429 = { data: void; status: 429; }; type v1GetPostgresUpgradeStatusResponse500 = { data: void; status: 500; }; type v1GetPostgresUpgradeStatusResponseSuccess = (v1GetPostgresUpgradeStatusResponse200) & { headers: Headers; }; type v1GetPostgresUpgradeStatusResponseError = (v1GetPostgresUpgradeStatusResponse401 | v1GetPostgresUpgradeStatusResponse403 | v1GetPostgresUpgradeStatusResponse429 | v1GetPostgresUpgradeStatusResponse500) & { headers: Headers; }; type v1GetPostgresUpgradeStatusResponse = (v1GetPostgresUpgradeStatusResponseSuccess | v1GetPostgresUpgradeStatusResponseError); declare const getV1GetPostgresUpgradeStatusUrl: (ref: string, params?: V1GetPostgresUpgradeStatusParams) => string; declare const v1GetPostgresUpgradeStatus: (ref: string, params?: V1GetPostgresUpgradeStatusParams, options?: RequestInit) => Promise; /** * @summary Gets project's service health status */ type v1GetServicesHealthResponse200 = { data: V1ServiceHealthResponse[]; status: 200; }; type v1GetServicesHealthResponse401 = { data: void; status: 401; }; type v1GetServicesHealthResponse403 = { data: void; status: 403; }; type v1GetServicesHealthResponse429 = { data: void; status: 429; }; type v1GetServicesHealthResponse500 = { data: void; status: 500; }; type v1GetServicesHealthResponseSuccess = (v1GetServicesHealthResponse200) & { headers: Headers; }; type v1GetServicesHealthResponseError = (v1GetServicesHealthResponse401 | v1GetServicesHealthResponse403 | v1GetServicesHealthResponse429 | v1GetServicesHealthResponse500) & { headers: Headers; }; type v1GetServicesHealthResponse = (v1GetServicesHealthResponseSuccess | v1GetServicesHealthResponseError); declare const getV1GetServicesHealthUrl: (ref: string, params: V1GetServicesHealthParams) => string; declare const v1GetServicesHealth: (ref: string, params: V1GetServicesHealthParams, options?: RequestInit) => Promise; /** * @summary Pauses the given project */ type v1PauseAProjectResponse200 = { data: void; status: 200; }; type v1PauseAProjectResponse401 = { data: void; status: 401; }; type v1PauseAProjectResponse403 = { data: void; status: 403; }; type v1PauseAProjectResponse429 = { data: void; status: 429; }; type v1PauseAProjectResponseSuccess = (v1PauseAProjectResponse200) & { headers: Headers; }; type v1PauseAProjectResponseError = (v1PauseAProjectResponse401 | v1PauseAProjectResponse403 | v1PauseAProjectResponse429) & { headers: Headers; }; type v1PauseAProjectResponse = (v1PauseAProjectResponseSuccess | v1PauseAProjectResponseError); declare const getV1PauseAProjectUrl: (ref: string) => string; declare const v1PauseAProject: (ref: string, options?: RequestInit) => Promise; /** * @summary Lists available restore versions for the given project */ type v1ListAvailableRestoreVersionsResponse200 = { data: GetProjectAvailableRestoreVersionsResponse; status: 200; }; type v1ListAvailableRestoreVersionsResponse401 = { data: void; status: 401; }; type v1ListAvailableRestoreVersionsResponse403 = { data: void; status: 403; }; type v1ListAvailableRestoreVersionsResponse429 = { data: void; status: 429; }; type v1ListAvailableRestoreVersionsResponseSuccess = (v1ListAvailableRestoreVersionsResponse200) & { headers: Headers; }; type v1ListAvailableRestoreVersionsResponseError = (v1ListAvailableRestoreVersionsResponse401 | v1ListAvailableRestoreVersionsResponse403 | v1ListAvailableRestoreVersionsResponse429) & { headers: Headers; }; type v1ListAvailableRestoreVersionsResponse = (v1ListAvailableRestoreVersionsResponseSuccess | v1ListAvailableRestoreVersionsResponseError); declare const getV1ListAvailableRestoreVersionsUrl: (ref: string) => string; declare const v1ListAvailableRestoreVersions: (ref: string, options?: RequestInit) => Promise; /** * @summary Restores the given project */ type v1RestoreAProjectResponse200 = { data: void; status: 200; }; type v1RestoreAProjectResponse401 = { data: void; status: 401; }; type v1RestoreAProjectResponse403 = { data: void; status: 403; }; type v1RestoreAProjectResponse429 = { data: void; status: 429; }; type v1RestoreAProjectResponseSuccess = (v1RestoreAProjectResponse200) & { headers: Headers; }; type v1RestoreAProjectResponseError = (v1RestoreAProjectResponse401 | v1RestoreAProjectResponse403 | v1RestoreAProjectResponse429) & { headers: Headers; }; type v1RestoreAProjectResponse = (v1RestoreAProjectResponseSuccess | v1RestoreAProjectResponseError); declare const getV1RestoreAProjectUrl: (ref: string) => string; declare const v1RestoreAProject: (ref: string, options?: RequestInit) => Promise; /** * @summary Cancels the given project restoration */ type v1CancelAProjectRestorationResponse200 = { data: void; status: 200; }; type v1CancelAProjectRestorationResponse401 = { data: void; status: 401; }; type v1CancelAProjectRestorationResponse403 = { data: void; status: 403; }; type v1CancelAProjectRestorationResponse429 = { data: void; status: 429; }; type v1CancelAProjectRestorationResponseSuccess = (v1CancelAProjectRestorationResponse200) & { headers: Headers; }; type v1CancelAProjectRestorationResponseError = (v1CancelAProjectRestorationResponse401 | v1CancelAProjectRestorationResponse403 | v1CancelAProjectRestorationResponse429) & { headers: Headers; }; type v1CancelAProjectRestorationResponse = (v1CancelAProjectRestorationResponseSuccess | v1CancelAProjectRestorationResponseError); declare const getV1CancelAProjectRestorationUrl: (ref: string) => string; declare const v1CancelAProjectRestoration: (ref: string, options?: RequestInit) => Promise; /** * @summary Gets project claim token */ type v1GetProjectClaimTokenResponse200 = { data: ProjectClaimTokenResponse; status: 200; }; type v1GetProjectClaimTokenResponse401 = { data: void; status: 401; }; type v1GetProjectClaimTokenResponse403 = { data: void; status: 403; }; type v1GetProjectClaimTokenResponse429 = { data: void; status: 429; }; type v1GetProjectClaimTokenResponseSuccess = (v1GetProjectClaimTokenResponse200) & { headers: Headers; }; type v1GetProjectClaimTokenResponseError = (v1GetProjectClaimTokenResponse401 | v1GetProjectClaimTokenResponse403 | v1GetProjectClaimTokenResponse429) & { headers: Headers; }; type v1GetProjectClaimTokenResponse = (v1GetProjectClaimTokenResponseSuccess | v1GetProjectClaimTokenResponseError); declare const getV1GetProjectClaimTokenUrl: (ref: string) => string; declare const v1GetProjectClaimToken: (ref: string, options?: RequestInit) => Promise; /** * @summary Creates project claim token */ type v1CreateProjectClaimTokenResponse200 = { data: CreateProjectClaimTokenResponse; status: 200; }; type v1CreateProjectClaimTokenResponse401 = { data: void; status: 401; }; type v1CreateProjectClaimTokenResponse403 = { data: void; status: 403; }; type v1CreateProjectClaimTokenResponse429 = { data: void; status: 429; }; type v1CreateProjectClaimTokenResponseSuccess = (v1CreateProjectClaimTokenResponse200) & { headers: Headers; }; type v1CreateProjectClaimTokenResponseError = (v1CreateProjectClaimTokenResponse401 | v1CreateProjectClaimTokenResponse403 | v1CreateProjectClaimTokenResponse429) & { headers: Headers; }; type v1CreateProjectClaimTokenResponse = (v1CreateProjectClaimTokenResponseSuccess | v1CreateProjectClaimTokenResponseError); declare const getV1CreateProjectClaimTokenUrl: (ref: string) => string; declare const v1CreateProjectClaimToken: (ref: string, options?: RequestInit) => Promise; /** * @summary Revokes project claim token */ type v1DeleteProjectClaimTokenResponse204 = { data: void; status: 204; }; type v1DeleteProjectClaimTokenResponse401 = { data: void; status: 401; }; type v1DeleteProjectClaimTokenResponse403 = { data: void; status: 403; }; type v1DeleteProjectClaimTokenResponse429 = { data: void; status: 429; }; type v1DeleteProjectClaimTokenResponseSuccess = (v1DeleteProjectClaimTokenResponse204) & { headers: Headers; }; type v1DeleteProjectClaimTokenResponseError = (v1DeleteProjectClaimTokenResponse401 | v1DeleteProjectClaimTokenResponse403 | v1DeleteProjectClaimTokenResponse429) & { headers: Headers; }; type v1DeleteProjectClaimTokenResponse = (v1DeleteProjectClaimTokenResponseSuccess | v1DeleteProjectClaimTokenResponseError); declare const getV1DeleteProjectClaimTokenUrl: (ref: string) => string; declare const v1DeleteProjectClaimToken: (ref: string, options?: RequestInit) => Promise; /** * @summary Get disk utilization */ type v1GetDiskUtilizationResponse200 = { data: DiskUtilMetricsResponse; status: 200; }; type v1GetDiskUtilizationResponse401 = { data: void; status: 401; }; type v1GetDiskUtilizationResponse403 = { data: void; status: 403; }; type v1GetDiskUtilizationResponse429 = { data: void; status: 429; }; type v1GetDiskUtilizationResponse500 = { data: void; status: 500; }; type v1GetDiskUtilizationResponseSuccess = (v1GetDiskUtilizationResponse200) & { headers: Headers; }; type v1GetDiskUtilizationResponseError = (v1GetDiskUtilizationResponse401 | v1GetDiskUtilizationResponse403 | v1GetDiskUtilizationResponse429 | v1GetDiskUtilizationResponse500) & { headers: Headers; }; type v1GetDiskUtilizationResponse = (v1GetDiskUtilizationResponseSuccess | v1GetDiskUtilizationResponseError); declare const getV1GetDiskUtilizationUrl: (ref: string) => string; declare const v1GetDiskUtilization: (ref: string, options?: RequestInit) => Promise; /** * @summary Modify database disk */ type v1ModifyDatabaseDiskResponse201 = { data: void; status: 201; }; type v1ModifyDatabaseDiskResponse401 = { data: void; status: 401; }; type v1ModifyDatabaseDiskResponse403 = { data: void; status: 403; }; type v1ModifyDatabaseDiskResponse429 = { data: void; status: 429; }; type v1ModifyDatabaseDiskResponse500 = { data: void; status: 500; }; type v1ModifyDatabaseDiskResponseSuccess = (v1ModifyDatabaseDiskResponse201) & { headers: Headers; }; type v1ModifyDatabaseDiskResponseError = (v1ModifyDatabaseDiskResponse401 | v1ModifyDatabaseDiskResponse403 | v1ModifyDatabaseDiskResponse429 | v1ModifyDatabaseDiskResponse500) & { headers: Headers; }; type v1ModifyDatabaseDiskResponse = (v1ModifyDatabaseDiskResponseSuccess | v1ModifyDatabaseDiskResponseError); declare const getV1ModifyDatabaseDiskUrl: (ref: string) => string; declare const v1ModifyDatabaseDisk: (ref: string, diskRequestBody: DiskRequestBody, options?: RequestInit) => Promise; /** * @summary Gets project disk autoscale config */ type v1GetProjectDiskAutoscaleConfigResponse200 = { data: DiskAutoscaleConfig; status: 200; }; type v1GetProjectDiskAutoscaleConfigResponse401 = { data: void; status: 401; }; type v1GetProjectDiskAutoscaleConfigResponse403 = { data: void; status: 403; }; type v1GetProjectDiskAutoscaleConfigResponse429 = { data: void; status: 429; }; type v1GetProjectDiskAutoscaleConfigResponse500 = { data: void; status: 500; }; type v1GetProjectDiskAutoscaleConfigResponseSuccess = (v1GetProjectDiskAutoscaleConfigResponse200) & { headers: Headers; }; type v1GetProjectDiskAutoscaleConfigResponseError = (v1GetProjectDiskAutoscaleConfigResponse401 | v1GetProjectDiskAutoscaleConfigResponse403 | v1GetProjectDiskAutoscaleConfigResponse429 | v1GetProjectDiskAutoscaleConfigResponse500) & { headers: Headers; }; type v1GetProjectDiskAutoscaleConfigResponse = (v1GetProjectDiskAutoscaleConfigResponseSuccess | v1GetProjectDiskAutoscaleConfigResponseError); declare const getV1GetProjectDiskAutoscaleConfigUrl: (ref: string) => string; declare const v1GetProjectDiskAutoscaleConfig: (ref: string, options?: RequestInit) => Promise; /** * Returns a paginated list of projects for the specified organization. This endpoint uses offset-based pagination. Use the `offset` parameter to skip a number of projects and the `limit` parameter to control the number of projects returned per page. * @summary Gets all projects for the given organization */ type v1GetAllProjectsForOrganizationResponse200 = { data: OrganizationProjectsResponse; status: 200; }; type v1GetAllProjectsForOrganizationResponse500 = { data: void; status: 500; }; type v1GetAllProjectsForOrganizationResponseSuccess = (v1GetAllProjectsForOrganizationResponse200) & { headers: Headers; }; type v1GetAllProjectsForOrganizationResponseError = (v1GetAllProjectsForOrganizationResponse500) & { headers: Headers; }; type v1GetAllProjectsForOrganizationResponse = (v1GetAllProjectsForOrganizationResponseSuccess | v1GetAllProjectsForOrganizationResponseError); declare const getV1GetAllProjectsForOrganizationUrl: (slug: string, params?: V1GetAllProjectsForOrganizationParams) => string; declare const v1GetAllProjectsForOrganization: (slug: string, params?: V1GetAllProjectsForOrganizationParams, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary Gets realtime configuration */ type v1GetRealtimeConfigResponse200 = { data: RealtimeConfigResponse; status: 200; }; type v1GetRealtimeConfigResponse401 = { data: void; status: 401; }; type v1GetRealtimeConfigResponse403 = { data: void; status: 403; }; type v1GetRealtimeConfigResponse429 = { data: void; status: 429; }; type v1GetRealtimeConfigResponseSuccess = (v1GetRealtimeConfigResponse200) & { headers: Headers; }; type v1GetRealtimeConfigResponseError = (v1GetRealtimeConfigResponse401 | v1GetRealtimeConfigResponse403 | v1GetRealtimeConfigResponse429) & { headers: Headers; }; type v1GetRealtimeConfigResponse = (v1GetRealtimeConfigResponseSuccess | v1GetRealtimeConfigResponseError); declare const getV1GetRealtimeConfigUrl: (ref: string) => string; declare const v1GetRealtimeConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates realtime configuration */ type v1UpdateRealtimeConfigResponse204 = { data: void; status: 204; }; type v1UpdateRealtimeConfigResponse401 = { data: void; status: 401; }; type v1UpdateRealtimeConfigResponse403 = { data: void; status: 403; }; type v1UpdateRealtimeConfigResponse429 = { data: void; status: 429; }; type v1UpdateRealtimeConfigResponseSuccess = (v1UpdateRealtimeConfigResponse204) & { headers: Headers; }; type v1UpdateRealtimeConfigResponseError = (v1UpdateRealtimeConfigResponse401 | v1UpdateRealtimeConfigResponse403 | v1UpdateRealtimeConfigResponse429) & { headers: Headers; }; type v1UpdateRealtimeConfigResponse = (v1UpdateRealtimeConfigResponseSuccess | v1UpdateRealtimeConfigResponseError); declare const getV1UpdateRealtimeConfigUrl: (ref: string) => string; declare const v1UpdateRealtimeConfig: (ref: string, updateRealtimeConfigBody: UpdateRealtimeConfigBody, options?: RequestInit) => Promise; /** * @summary Shutdowns realtime connections for a project */ type v1ShutdownRealtimeResponse204 = { data: void; status: 204; }; type v1ShutdownRealtimeResponse401 = { data: void; status: 401; }; type v1ShutdownRealtimeResponse403 = { data: void; status: 403; }; type v1ShutdownRealtimeResponse404 = { data: void; status: 404; }; type v1ShutdownRealtimeResponse429 = { data: void; status: 429; }; type v1ShutdownRealtimeResponseSuccess = (v1ShutdownRealtimeResponse204) & { headers: Headers; }; type v1ShutdownRealtimeResponseError = (v1ShutdownRealtimeResponse401 | v1ShutdownRealtimeResponse403 | v1ShutdownRealtimeResponse404 | v1ShutdownRealtimeResponse429) & { headers: Headers; }; type v1ShutdownRealtimeResponse = (v1ShutdownRealtimeResponseSuccess | v1ShutdownRealtimeResponseError); declare const getV1ShutdownRealtimeUrl: (ref: string) => string; declare const v1ShutdownRealtime: (ref: string, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary Gets project's postgrest config */ type v1GetPostgrestServiceConfigResponse200 = { data: PostgrestConfigWithJWTSecretResponse; status: 200; }; type v1GetPostgrestServiceConfigResponse401 = { data: void; status: 401; }; type v1GetPostgrestServiceConfigResponse403 = { data: void; status: 403; }; type v1GetPostgrestServiceConfigResponse429 = { data: void; status: 429; }; type v1GetPostgrestServiceConfigResponse500 = { data: void; status: 500; }; type v1GetPostgrestServiceConfigResponseSuccess = (v1GetPostgrestServiceConfigResponse200) & { headers: Headers; }; type v1GetPostgrestServiceConfigResponseError = (v1GetPostgrestServiceConfigResponse401 | v1GetPostgrestServiceConfigResponse403 | v1GetPostgrestServiceConfigResponse429 | v1GetPostgrestServiceConfigResponse500) & { headers: Headers; }; type v1GetPostgrestServiceConfigResponse = (v1GetPostgrestServiceConfigResponseSuccess | v1GetPostgrestServiceConfigResponseError); declare const getV1GetPostgrestServiceConfigUrl: (ref: string) => string; declare const v1GetPostgrestServiceConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates project's postgrest config */ type v1UpdatePostgrestServiceConfigResponse200 = { data: V1PostgrestConfigResponse; status: 200; }; type v1UpdatePostgrestServiceConfigResponse401 = { data: void; status: 401; }; type v1UpdatePostgrestServiceConfigResponse403 = { data: void; status: 403; }; type v1UpdatePostgrestServiceConfigResponse429 = { data: void; status: 429; }; type v1UpdatePostgrestServiceConfigResponse500 = { data: void; status: 500; }; type v1UpdatePostgrestServiceConfigResponseSuccess = (v1UpdatePostgrestServiceConfigResponse200) & { headers: Headers; }; type v1UpdatePostgrestServiceConfigResponseError = (v1UpdatePostgrestServiceConfigResponse401 | v1UpdatePostgrestServiceConfigResponse403 | v1UpdatePostgrestServiceConfigResponse429 | v1UpdatePostgrestServiceConfigResponse500) & { headers: Headers; }; type v1UpdatePostgrestServiceConfigResponse = (v1UpdatePostgrestServiceConfigResponseSuccess | v1UpdatePostgrestServiceConfigResponseError); declare const getV1UpdatePostgrestServiceConfigUrl: (ref: string) => string; declare const v1UpdatePostgrestServiceConfig: (ref: string, v1UpdatePostgrestConfigBody: V1UpdatePostgrestConfigBody, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary Get project api keys */ type v1GetProjectApiKeysResponse200 = { data: ApiKeyResponse[]; status: 200; }; type v1GetProjectApiKeysResponse401 = { data: void; status: 401; }; type v1GetProjectApiKeysResponse403 = { data: void; status: 403; }; type v1GetProjectApiKeysResponse429 = { data: void; status: 429; }; type v1GetProjectApiKeysResponseSuccess = (v1GetProjectApiKeysResponse200) & { headers: Headers; }; type v1GetProjectApiKeysResponseError = (v1GetProjectApiKeysResponse401 | v1GetProjectApiKeysResponse403 | v1GetProjectApiKeysResponse429) & { headers: Headers; }; type v1GetProjectApiKeysResponse = (v1GetProjectApiKeysResponseSuccess | v1GetProjectApiKeysResponseError); declare const getV1GetProjectApiKeysUrl: (ref: string, params?: V1GetProjectApiKeysParams) => string; declare const v1GetProjectApiKeys: (ref: string, params?: V1GetProjectApiKeysParams, options?: RequestInit) => Promise; /** * @summary Creates a new API key for the project */ type v1CreateProjectApiKeyResponse201 = { data: ApiKeyResponse; status: 201; }; type v1CreateProjectApiKeyResponse401 = { data: void; status: 401; }; type v1CreateProjectApiKeyResponse403 = { data: void; status: 403; }; type v1CreateProjectApiKeyResponse429 = { data: void; status: 429; }; type v1CreateProjectApiKeyResponseSuccess = (v1CreateProjectApiKeyResponse201) & { headers: Headers; }; type v1CreateProjectApiKeyResponseError = (v1CreateProjectApiKeyResponse401 | v1CreateProjectApiKeyResponse403 | v1CreateProjectApiKeyResponse429) & { headers: Headers; }; type v1CreateProjectApiKeyResponse = (v1CreateProjectApiKeyResponseSuccess | v1CreateProjectApiKeyResponseError); declare const getV1CreateProjectApiKeyUrl: (ref: string, params?: V1CreateProjectApiKeyParams) => string; declare const v1CreateProjectApiKey: (ref: string, createApiKeyBody: CreateApiKeyBody, params?: V1CreateProjectApiKeyParams, options?: RequestInit) => Promise; /** * @summary Check whether JWT based legacy (anon, service_role) API keys are enabled. This API endpoint will be removed in the future, check for HTTP 404 Not Found. */ type v1GetProjectLegacyApiKeysResponse200 = { data: LegacyApiKeysResponse; status: 200; }; type v1GetProjectLegacyApiKeysResponse401 = { data: void; status: 401; }; type v1GetProjectLegacyApiKeysResponse403 = { data: void; status: 403; }; type v1GetProjectLegacyApiKeysResponse429 = { data: void; status: 429; }; type v1GetProjectLegacyApiKeysResponseSuccess = (v1GetProjectLegacyApiKeysResponse200) & { headers: Headers; }; type v1GetProjectLegacyApiKeysResponseError = (v1GetProjectLegacyApiKeysResponse401 | v1GetProjectLegacyApiKeysResponse403 | v1GetProjectLegacyApiKeysResponse429) & { headers: Headers; }; type v1GetProjectLegacyApiKeysResponse = (v1GetProjectLegacyApiKeysResponseSuccess | v1GetProjectLegacyApiKeysResponseError); declare const getV1GetProjectLegacyApiKeysUrl: (ref: string) => string; declare const v1GetProjectLegacyApiKeys: (ref: string, options?: RequestInit) => Promise; /** * @summary Disable or re-enable JWT based legacy (anon, service_role) API keys. This API endpoint will be removed in the future, check for HTTP 404 Not Found. */ type v1UpdateProjectLegacyApiKeysResponse200 = { data: LegacyApiKeysResponse; status: 200; }; type v1UpdateProjectLegacyApiKeysResponse401 = { data: void; status: 401; }; type v1UpdateProjectLegacyApiKeysResponse403 = { data: void; status: 403; }; type v1UpdateProjectLegacyApiKeysResponse429 = { data: void; status: 429; }; type v1UpdateProjectLegacyApiKeysResponseSuccess = (v1UpdateProjectLegacyApiKeysResponse200) & { headers: Headers; }; type v1UpdateProjectLegacyApiKeysResponseError = (v1UpdateProjectLegacyApiKeysResponse401 | v1UpdateProjectLegacyApiKeysResponse403 | v1UpdateProjectLegacyApiKeysResponse429) & { headers: Headers; }; type v1UpdateProjectLegacyApiKeysResponse = (v1UpdateProjectLegacyApiKeysResponseSuccess | v1UpdateProjectLegacyApiKeysResponseError); declare const getV1UpdateProjectLegacyApiKeysUrl: (ref: string, params: V1UpdateProjectLegacyApiKeysParams) => string; declare const v1UpdateProjectLegacyApiKeys: (ref: string, params: V1UpdateProjectLegacyApiKeysParams, options?: RequestInit) => Promise; /** * @summary Updates an API key for the project */ type v1UpdateProjectApiKeyResponse200 = { data: ApiKeyResponse; status: 200; }; type v1UpdateProjectApiKeyResponse401 = { data: void; status: 401; }; type v1UpdateProjectApiKeyResponse403 = { data: void; status: 403; }; type v1UpdateProjectApiKeyResponse429 = { data: void; status: 429; }; type v1UpdateProjectApiKeyResponseSuccess = (v1UpdateProjectApiKeyResponse200) & { headers: Headers; }; type v1UpdateProjectApiKeyResponseError = (v1UpdateProjectApiKeyResponse401 | v1UpdateProjectApiKeyResponse403 | v1UpdateProjectApiKeyResponse429) & { headers: Headers; }; type v1UpdateProjectApiKeyResponse = (v1UpdateProjectApiKeyResponseSuccess | v1UpdateProjectApiKeyResponseError); declare const getV1UpdateProjectApiKeyUrl: (ref: string, id: string, params?: V1UpdateProjectApiKeyParams) => string; declare const v1UpdateProjectApiKey: (ref: string, id: string, updateApiKeyBody: UpdateApiKeyBody, params?: V1UpdateProjectApiKeyParams, options?: RequestInit) => Promise; /** * @summary Get API key */ type v1GetProjectApiKeyResponse200 = { data: ApiKeyResponse; status: 200; }; type v1GetProjectApiKeyResponse401 = { data: void; status: 401; }; type v1GetProjectApiKeyResponse403 = { data: void; status: 403; }; type v1GetProjectApiKeyResponse429 = { data: void; status: 429; }; type v1GetProjectApiKeyResponseSuccess = (v1GetProjectApiKeyResponse200) & { headers: Headers; }; type v1GetProjectApiKeyResponseError = (v1GetProjectApiKeyResponse401 | v1GetProjectApiKeyResponse403 | v1GetProjectApiKeyResponse429) & { headers: Headers; }; type v1GetProjectApiKeyResponse = (v1GetProjectApiKeyResponseSuccess | v1GetProjectApiKeyResponseError); declare const getV1GetProjectApiKeyUrl: (ref: string, id: string, params?: V1GetProjectApiKeyParams) => string; declare const v1GetProjectApiKey: (ref: string, id: string, params?: V1GetProjectApiKeyParams, options?: RequestInit) => Promise; /** * @summary Deletes an API key for the project */ type v1DeleteProjectApiKeyResponse200 = { data: ApiKeyResponse; status: 200; }; type v1DeleteProjectApiKeyResponse401 = { data: void; status: 401; }; type v1DeleteProjectApiKeyResponse403 = { data: void; status: 403; }; type v1DeleteProjectApiKeyResponse429 = { data: void; status: 429; }; type v1DeleteProjectApiKeyResponseSuccess = (v1DeleteProjectApiKeyResponse200) & { headers: Headers; }; type v1DeleteProjectApiKeyResponseError = (v1DeleteProjectApiKeyResponse401 | v1DeleteProjectApiKeyResponse403 | v1DeleteProjectApiKeyResponse429) & { headers: Headers; }; type v1DeleteProjectApiKeyResponse = (v1DeleteProjectApiKeyResponseSuccess | v1DeleteProjectApiKeyResponseError); declare const getV1DeleteProjectApiKeyUrl: (ref: string, id: string, params?: V1DeleteProjectApiKeyParams) => string; declare const v1DeleteProjectApiKey: (ref: string, id: string, params?: V1DeleteProjectApiKeyParams, options?: RequestInit) => Promise; /** * @summary [Beta] Gets project's pgsodium config */ type v1GetPgsodiumConfigResponse200 = { data: PgsodiumConfigResponse; status: 200; }; type v1GetPgsodiumConfigResponse401 = { data: void; status: 401; }; type v1GetPgsodiumConfigResponse403 = { data: void; status: 403; }; type v1GetPgsodiumConfigResponse429 = { data: void; status: 429; }; type v1GetPgsodiumConfigResponse500 = { data: void; status: 500; }; type v1GetPgsodiumConfigResponseSuccess = (v1GetPgsodiumConfigResponse200) & { headers: Headers; }; type v1GetPgsodiumConfigResponseError = (v1GetPgsodiumConfigResponse401 | v1GetPgsodiumConfigResponse403 | v1GetPgsodiumConfigResponse429 | v1GetPgsodiumConfigResponse500) & { headers: Headers; }; type v1GetPgsodiumConfigResponse = (v1GetPgsodiumConfigResponseSuccess | v1GetPgsodiumConfigResponseError); declare const getV1GetPgsodiumConfigUrl: (ref: string) => string; declare const v1GetPgsodiumConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary [Beta] Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible. */ type v1UpdatePgsodiumConfigResponse200 = { data: PgsodiumConfigResponse; status: 200; }; type v1UpdatePgsodiumConfigResponse401 = { data: void; status: 401; }; type v1UpdatePgsodiumConfigResponse403 = { data: void; status: 403; }; type v1UpdatePgsodiumConfigResponse429 = { data: void; status: 429; }; type v1UpdatePgsodiumConfigResponse500 = { data: void; status: 500; }; type v1UpdatePgsodiumConfigResponseSuccess = (v1UpdatePgsodiumConfigResponse200) & { headers: Headers; }; type v1UpdatePgsodiumConfigResponseError = (v1UpdatePgsodiumConfigResponse401 | v1UpdatePgsodiumConfigResponse403 | v1UpdatePgsodiumConfigResponse429 | v1UpdatePgsodiumConfigResponse500) & { headers: Headers; }; type v1UpdatePgsodiumConfigResponse = (v1UpdatePgsodiumConfigResponseSuccess | v1UpdatePgsodiumConfigResponseError); declare const getV1UpdatePgsodiumConfigUrl: (ref: string) => string; declare const v1UpdatePgsodiumConfig: (ref: string, updatePgsodiumConfigBody: UpdatePgsodiumConfigBody, options?: RequestInit) => Promise; /** * Returns all secrets you've previously added to the specified project. * @summary List all secrets */ type v1ListAllSecretsResponse200 = { data: SecretResponse[]; status: 200; }; type v1ListAllSecretsResponse401 = { data: void; status: 401; }; type v1ListAllSecretsResponse403 = { data: void; status: 403; }; type v1ListAllSecretsResponse429 = { data: void; status: 429; }; type v1ListAllSecretsResponse500 = { data: void; status: 500; }; type v1ListAllSecretsResponseSuccess = (v1ListAllSecretsResponse200) & { headers: Headers; }; type v1ListAllSecretsResponseError = (v1ListAllSecretsResponse401 | v1ListAllSecretsResponse403 | v1ListAllSecretsResponse429 | v1ListAllSecretsResponse500) & { headers: Headers; }; type v1ListAllSecretsResponse = (v1ListAllSecretsResponseSuccess | v1ListAllSecretsResponseError); declare const getV1ListAllSecretsUrl: (ref: string) => string; declare const v1ListAllSecrets: (ref: string, options?: RequestInit) => Promise; /** * Creates multiple secrets and adds them to the specified project. * @summary Bulk create secrets */ type v1BulkCreateSecretsResponse201 = { data: void; status: 201; }; type v1BulkCreateSecretsResponse401 = { data: void; status: 401; }; type v1BulkCreateSecretsResponse403 = { data: void; status: 403; }; type v1BulkCreateSecretsResponse429 = { data: void; status: 429; }; type v1BulkCreateSecretsResponse500 = { data: void; status: 500; }; type v1BulkCreateSecretsResponseSuccess = (v1BulkCreateSecretsResponse201) & { headers: Headers; }; type v1BulkCreateSecretsResponseError = (v1BulkCreateSecretsResponse401 | v1BulkCreateSecretsResponse403 | v1BulkCreateSecretsResponse429 | v1BulkCreateSecretsResponse500) & { headers: Headers; }; type v1BulkCreateSecretsResponse = (v1BulkCreateSecretsResponseSuccess | v1BulkCreateSecretsResponseError); declare const getV1BulkCreateSecretsUrl: (ref: string) => string; declare const v1BulkCreateSecrets: (ref: string, createSecretBody: CreateSecretBody, options?: RequestInit) => Promise; /** * Deletes all secrets with the given names from the specified project * @summary Bulk delete secrets */ type v1BulkDeleteSecretsResponse200 = { data: void; status: 200; }; type v1BulkDeleteSecretsResponse401 = { data: void; status: 401; }; type v1BulkDeleteSecretsResponse403 = { data: void; status: 403; }; type v1BulkDeleteSecretsResponse429 = { data: void; status: 429; }; type v1BulkDeleteSecretsResponse500 = { data: void; status: 500; }; type v1BulkDeleteSecretsResponseSuccess = (v1BulkDeleteSecretsResponse200) & { headers: Headers; }; type v1BulkDeleteSecretsResponseError = (v1BulkDeleteSecretsResponse401 | v1BulkDeleteSecretsResponse403 | v1BulkDeleteSecretsResponse429 | v1BulkDeleteSecretsResponse500) & { headers: Headers; }; type v1BulkDeleteSecretsResponse = (v1BulkDeleteSecretsResponseSuccess | v1BulkDeleteSecretsResponseError); declare const getV1BulkDeleteSecretsUrl: (ref: string) => string; declare const v1BulkDeleteSecrets: (ref: string, deleteSecretsBody: DeleteSecretsBody, options?: RequestInit) => Promise; /** * Generated by orval v8.4.1 🍺 * Do not edit manually. * Supabase API (v1) * Supabase API generated from the OpenAPI specification.
Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation. * OpenAPI spec version: 1.0.0 */ /** * @summary Lists all buckets */ type v1ListAllBucketsResponse200 = { data: V1StorageBucketResponse[]; status: 200; }; type v1ListAllBucketsResponse401 = { data: void; status: 401; }; type v1ListAllBucketsResponse403 = { data: void; status: 403; }; type v1ListAllBucketsResponse429 = { data: void; status: 429; }; type v1ListAllBucketsResponse500 = { data: void; status: 500; }; type v1ListAllBucketsResponseSuccess = (v1ListAllBucketsResponse200) & { headers: Headers; }; type v1ListAllBucketsResponseError = (v1ListAllBucketsResponse401 | v1ListAllBucketsResponse403 | v1ListAllBucketsResponse429 | v1ListAllBucketsResponse500) & { headers: Headers; }; type v1ListAllBucketsResponse = (v1ListAllBucketsResponseSuccess | v1ListAllBucketsResponseError); declare const getV1ListAllBucketsUrl: (ref: string) => string; declare const v1ListAllBuckets: (ref: string, options?: RequestInit) => Promise; /** * @summary Gets project's storage config */ type v1GetStorageConfigResponse200 = { data: StorageConfigResponse; status: 200; }; type v1GetStorageConfigResponse401 = { data: void; status: 401; }; type v1GetStorageConfigResponse403 = { data: void; status: 403; }; type v1GetStorageConfigResponse429 = { data: void; status: 429; }; type v1GetStorageConfigResponse500 = { data: void; status: 500; }; type v1GetStorageConfigResponseSuccess = (v1GetStorageConfigResponse200) & { headers: Headers; }; type v1GetStorageConfigResponseError = (v1GetStorageConfigResponse401 | v1GetStorageConfigResponse403 | v1GetStorageConfigResponse429 | v1GetStorageConfigResponse500) & { headers: Headers; }; type v1GetStorageConfigResponse = (v1GetStorageConfigResponseSuccess | v1GetStorageConfigResponseError); declare const getV1GetStorageConfigUrl: (ref: string) => string; declare const v1GetStorageConfig: (ref: string, options?: RequestInit) => Promise; /** * @summary Updates project's storage config */ type v1UpdateStorageConfigResponse200 = { data: void; status: 200; }; type v1UpdateStorageConfigResponse401 = { data: void; status: 401; }; type v1UpdateStorageConfigResponse403 = { data: void; status: 403; }; type v1UpdateStorageConfigResponse429 = { data: void; status: 429; }; type v1UpdateStorageConfigResponse500 = { data: void; status: 500; }; type v1UpdateStorageConfigResponseSuccess = (v1UpdateStorageConfigResponse200) & { headers: Headers; }; type v1UpdateStorageConfigResponseError = (v1UpdateStorageConfigResponse401 | v1UpdateStorageConfigResponse403 | v1UpdateStorageConfigResponse429 | v1UpdateStorageConfigResponse500) & { headers: Headers; }; type v1UpdateStorageConfigResponse = (v1UpdateStorageConfigResponseSuccess | v1UpdateStorageConfigResponseError); declare const getV1UpdateStorageConfigUrl: (ref: string) => string; declare const v1UpdateStorageConfig: (ref: string, updateStorageConfigBody: UpdateStorageConfigBody, options?: RequestInit) => Promise; interface SupabaseManagementAPIOptions { accessToken: string; baseUrl?: string; } declare class SupabaseManagementAPI { private readonly accessToken; private readonly baseUrl; constructor({ accessToken, baseUrl }: SupabaseManagementAPIOptions); private get authHeader(); /** * This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable. * @deprecated * @summary Gets project performance advisors. */ getPerformanceAdvisors(ref: string, options?: RequestInit): Promise; /** * This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable. * @deprecated * @summary Gets project security advisors. */ getSecurityAdvisors(ref: string, params?: V1GetSecurityAdvisorsParams, options?: RequestInit): Promise; /** * Executes a SQL query on the project's logs. 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. 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. * @summary Gets project's logs */ getProjectLogs(ref: string, params?: V1GetProjectLogsParams, options?: RequestInit): Promise; /** * @summary Gets project's usage api counts */ getProjectUsageApiCount(ref: string, params?: V1GetProjectUsageApiCountParams, options?: RequestInit): Promise; /** * @summary Gets project's usage api requests count */ getProjectUsageRequestCount(ref: string, options?: RequestInit): Promise; /** * @summary Gets a project's function combined statistics */ getProjectFunctionCombinedStats(ref: string, params: V1GetProjectFunctionCombinedStatsParams, options?: RequestInit): Promise; /** * @summary Set up the project's existing JWT secret as an in_use JWT signing key. This endpoint will be removed in the future always check for HTTP 404 Not Found. */ createLegacySigningKey(ref: string, options?: RequestInit): Promise; /** * @summary Get the signing key information for the JWT secret imported as signing key for this project. This endpoint will be removed in the future, check for HTTP 404 Not Found. */ getLegacySigningKey(ref: string, options?: RequestInit): Promise; /** * @summary Create a new signing key for the project in standby status */ createProjectSigningKey(ref: string, createSigningKeyBody: CreateSigningKeyBody, options?: RequestInit): Promise; /** * @summary List all signing keys for the project */ getProjectSigningKeys(ref: string, options?: RequestInit): Promise; /** * @summary Get information about a signing key */ getProjectSigningKey(ref: string, id: string, options?: RequestInit): Promise; /** * @summary Remove a signing key from a project. Only possible if the key has been in revoked status for a while. */ removeProjectSigningKey(ref: string, id: string, options?: RequestInit): Promise; /** * @summary Update a signing key, mainly its status */ updateProjectSigningKey(ref: string, id: string, updateSigningKeyBody: UpdateSigningKeyBody, options?: RequestInit): Promise; /** * @summary Gets project's auth config */ getAuthServiceConfig(ref: string, options?: RequestInit): Promise; /** * @summary Updates a project's auth config */ updateAuthServiceConfig(ref: string, updateAuthConfigBody: UpdateAuthConfigBody, options?: RequestInit): Promise; /** * @summary Creates a new third-party auth integration */ createProjectTpaIntegration(ref: string, createThirdPartyAuthBody: CreateThirdPartyAuthBody, options?: RequestInit): Promise; /** * @summary Lists all third-party auth integrations */ listProjectTpaIntegrations(ref: string, options?: RequestInit): Promise; /** * @summary Removes a third-party auth integration */ deleteProjectTpaIntegration(ref: string, tpaId: string, options?: RequestInit): Promise; /** * @summary Get a third-party integration */ getProjectTpaIntegration(ref: string, tpaId: string, options?: RequestInit): Promise; /** * @summary Creates a new SSO provider */ createASsoProvider(ref: string, createProviderBody: CreateProviderBody, options?: RequestInit): Promise; /** * @summary Lists all SSO providers */ listAllSsoProvider(ref: string, options?: RequestInit): Promise; /** * @summary Gets a SSO provider by its UUID */ getASsoProvider(ref: string, providerId: string, options?: RequestInit): Promise; /** * @summary Updates a SSO provider by its UUID */ updateASsoProvider(ref: string, providerId: string, updateProviderBody: UpdateProviderBody, options?: RequestInit): Promise; /** * @summary Removes a SSO provider by its UUID */ deleteASsoProvider(ref: string, providerId: string, options?: RequestInit): Promise; /** * Returns the billing addons that are currently applied, including the active compute instance size, and lists every addon option that can be provisioned with pricing metadata. * @summary List billing addons and compute instance selections */ listProjectAddons(ref: string, options?: RequestInit): Promise; /** * Selects an addon variant, for example scaling the project’s compute instance up or down, and applies it to the project. * @summary Apply or update billing addons, including compute instance size */ applyProjectAddon(ref: string, applyProjectAddonBody: ApplyProjectAddonBody, options?: RequestInit): Promise; /** * Disables the selected addon variant, including rolling the compute instance back to its previous size. * @summary Remove billing addons or revert compute instance sizing */ removeProjectAddon(ref: string, addonVariant: 'ci_micro' | 'ci_small' | 'ci_medium' | 'ci_large' | 'ci_xlarge' | 'ci_2xlarge' | 'ci_4xlarge' | 'ci_8xlarge' | 'ci_12xlarge' | 'ci_16xlarge' | 'ci_24xlarge' | 'ci_24xlarge_optimized_cpu' | 'ci_24xlarge_optimized_memory' | 'ci_24xlarge_high_memory' | 'ci_48xlarge' | 'ci_48xlarge_optimized_cpu' | 'ci_48xlarge_optimized_memory' | 'ci_48xlarge_high_memory' | 'cd_default' | 'pitr_7' | 'pitr_14' | 'pitr_28' | 'ipv4_default', options?: RequestInit): Promise; /** * @summary Lists SQL snippets for the logged in user */ listAllSnippets(params?: V1ListAllSnippetsParams, options?: RequestInit): Promise; /** * @summary Gets a specific SQL snippet */ getASnippet(id: string, options?: RequestInit): Promise; /** * @summary [Beta] Get project's just-in-time access configuration. */ getJitAccessConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Update project's just-in-time access configuration. */ updateJitAccessConfig(ref: string, jitAccessRequestRequest: JitAccessRequestRequest, options?: RequestInit): Promise; /** * @summary [Beta] Get project's SSL enforcement configuration. */ getSslEnforcementConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Update project's SSL enforcement configuration. */ updateSslEnforcementConfig(ref: string, sslEnforcementRequest: SslEnforcementRequest, options?: RequestInit): Promise; /** * Returns the TypeScript types of your schema for use with supabase-js. * @summary Generate TypeScript types */ generateTypescriptTypes(ref: string, params?: V1GenerateTypescriptTypesParams, options?: RequestInit): Promise; /** * @summary Returns project's readonly mode status */ getReadonlyModeStatus(ref: string, options?: RequestInit): Promise; /** * @summary Disables project's readonly mode for the next 15 minutes */ disableReadonlyModeTemporarily(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Set up a read replica */ setupAReadReplica(ref: string, setUpReadReplicaBody: SetUpReadReplicaBody, options?: RequestInit): Promise; /** * @summary [Beta] Remove a read replica */ removeAReadReplica(ref: string, removeReadReplicaBody: RemoveReadReplicaBody, options?: RequestInit): Promise; /** * @summary [Beta] Create a login role for CLI with temporary password */ createLoginRole(ref: string, createRoleBody: CreateRoleBody, options?: RequestInit): Promise; /** * @summary [Beta] Delete existing login roles used by CLI */ deleteLoginRoles(ref: string, options?: RequestInit): Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] List applied migration versions */ listMigrationHistory(ref: string, options?: RequestInit): Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Apply a database migration */ applyAMigration(ref: string, v1CreateMigrationBody: V1CreateMigrationBody, options?: RequestInit): Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Upsert a database migration without applying */ upsertAMigration(ref: string, v1UpsertMigrationBody: V1UpsertMigrationBody, options?: RequestInit): Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Rollback database migrations and remove them from history table */ rollbackMigrations(ref: string, params: V1RollbackMigrationsParams, options?: RequestInit): Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Fetch an existing entry from migration history */ getAMigration(ref: string, version: string, options?: RequestInit): Promise; /** * Only available to selected partner OAuth apps * @summary [Beta] Patch an existing entry in migration history */ patchAMigration(ref: string, version: string, v1PatchMigrationBody: V1PatchMigrationBody, options?: RequestInit): Promise; /** * @summary [Beta] Run sql query */ runAQuery(ref: string, v1RunQueryBody: V1RunQueryBody, options?: RequestInit): Promise; /** * All entity references must be schema qualified. * @summary [Beta] Run a sql query as supabase_read_only_user */ readOnlyQuery(ref: string, v1ReadOnlyQueryBody: V1ReadOnlyQueryBody, options?: RequestInit): Promise; /** * @summary [Beta] Enables Database Webhooks on the project */ enableDatabaseWebhook(ref: string, options?: RequestInit): Promise; /** * This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable. * @deprecated * @summary Gets database metadata for the given project. */ getDatabaseMetadata(ref: string, options?: RequestInit): Promise; /** * @summary Updates the database password */ updateDatabasePassword(ref: string, v1UpdatePasswordBody: V1UpdatePasswordBody, options?: RequestInit): Promise; /** * Mappings of roles a user can assume in the project database * @summary Get user-id to role mappings for JIT access */ getJitAccess(ref: string, options?: RequestInit): Promise; /** * Authorizes the request to assume a role in the project database * @summary Authorize user-id to role mappings for JIT access */ authorizeJitAccess(ref: string, authorizeJitAccessBody: AuthorizeJitAccessBody, options?: RequestInit): Promise; /** * Modifies the roles that can be assumed and for how long * @summary Updates a user mapping for JIT access */ updateJitAccess(ref: string, updateJitAccessBody: UpdateJitAccessBody, options?: RequestInit): Promise; /** * Mappings of roles a user can assume in the project database * @summary List all user-id to role mappings for JIT access */ listJitAccess(ref: string, options?: RequestInit): Promise; /** * Remove JIT mappings of a user, revoking all JIT database access * @summary Delete JIT access by user-id */ deleteJitAccess(ref: string, userId: string, options?: RequestInit): Promise; /** * @summary Get project's pgbouncer config */ getProjectPgbouncerConfig(ref: string, options?: RequestInit): Promise; /** * @summary Gets project's supavisor config */ getPoolerConfig(ref: string, options?: RequestInit): Promise; /** * @summary Updates project's supavisor config */ updatePoolerConfig(ref: string, updateSupavisorConfigBody: UpdateSupavisorConfigBody, options?: RequestInit): Promise; /** * @summary Gets project's Postgres config */ getPostgresConfig(ref: string, options?: RequestInit): Promise; /** * @summary Updates project's Postgres config */ updatePostgresConfig(ref: string, updatePostgresConfigBody: UpdatePostgresConfigBody, options?: RequestInit): Promise; /** * @summary Lists all backups */ listAllBackups(ref: string, options?: RequestInit): Promise; /** * @summary Restores a PITR backup for a database */ restorePitrBackup(ref: string, v1RestorePitrBody: V1RestorePitrBody, options?: RequestInit): Promise; /** * @summary Initiates a creation of a restore point for a database */ createRestorePoint(ref: string, v1RestorePointPostBody: V1RestorePointPostBody, options?: RequestInit): Promise; /** * @summary Get restore points for project */ getRestorePoint(ref: string, params?: V1GetRestorePointParams, options?: RequestInit): Promise; /** * @summary Initiates an undo to a given restore point */ undo(ref: string, v1UndoBody: V1UndoBody, options?: RequestInit): Promise; /** * @summary [Beta] Gets project's custom hostname config */ getHostnameConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Deletes a project's custom hostname configuration */ deleteHostnameConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Updates project's custom hostname configuration */ updateHostnameConfig(ref: string, updateCustomHostnameBody: UpdateCustomHostnameBody, options?: RequestInit): Promise; /** * @summary [Beta] Attempts to verify the DNS configuration for project's custom hostname configuration */ verifyDnsConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Activates a custom hostname for a project. */ activateCustomHostname(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Gets current vanity subdomain config */ getVanitySubdomainConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Deletes a project's vanity subdomain configuration */ deactivateVanitySubdomainConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Checks vanity subdomain availability */ checkVanitySubdomainAvailability(ref: string, vanitySubdomainBody: VanitySubdomainBody, options?: RequestInit): Promise; /** * @summary [Beta] Activates a vanity subdomain for a project. */ activateVanitySubdomainConfig(ref: string, vanitySubdomainBody: VanitySubdomainBody, options?: RequestInit): Promise; /** * Returns all functions you've previously added to the specified project. * @summary List all functions */ listAllFunctions(ref: string, options?: RequestInit): Promise; /** * This endpoint is deprecated - use the deploy endpoint. Creates a function and adds it to the specified project. * @deprecated * @summary Create a function */ createAFunction(ref: string, v1CreateAFunctionBody: Blob | V1CreateFunctionBody, params?: V1CreateAFunctionParams, options?: RequestInit): Promise; /** * Bulk update functions. It will create a new function or replace existing. The operation is idempotent. NOTE: You will need to manually bump the version. * @summary Bulk update functions */ bulkUpdateFunctions(ref: string, bulkUpdateFunctionBody: BulkUpdateFunctionBody, options?: RequestInit): Promise; /** * A new endpoint to deploy functions. It will create if function does not exist. * @summary Deploy a function */ deployAFunction(ref: string, functionDeployBody: FunctionDeployBody, params?: V1DeployAFunctionParams, options?: RequestInit): Promise; /** * Retrieves a function with the specified slug and project. * @summary Retrieve a function */ getAFunction(ref: string, functionSlug: string, options?: RequestInit): Promise; /** * Updates a function with the specified slug and project. * @summary Update a function */ updateAFunction(ref: string, functionSlug: string, v1UpdateAFunctionBody: Blob | V1UpdateFunctionBody, params?: V1UpdateAFunctionParams, options?: RequestInit): Promise; /** * Deletes a function with the specified slug from the specified project. * @summary Delete a function */ deleteAFunction(ref: string, functionSlug: string, options?: RequestInit): Promise; /** * Retrieves a function body for the specified slug and project. * @summary Retrieve a function body */ getAFunctionBody(ref: string, functionSlug: string, options?: RequestInit): Promise; /** * Fetches configurations of the specified database branch * @summary Get database branch config */ getABranchConfig(branchIdOrRef: string, options?: RequestInit): Promise; /** * Updates the configuration of the specified database branch * @summary Update database branch config */ updateABranchConfig(branchIdOrRef: string, updateBranchBody: UpdateBranchBody, options?: RequestInit): Promise; /** * Deletes the specified database branch. By default, deletes immediately. Use force=false to schedule deletion with 1-hour grace period (only when soft deletion is enabled). * @summary Delete a database branch */ deleteABranch(branchIdOrRef: string, params?: V1DeleteABranchParams, options?: RequestInit): Promise; /** * Pushes the specified database branch * @summary Pushes a database branch */ pushABranch(branchIdOrRef: string, branchActionBody: BranchActionBody, options?: RequestInit): Promise; /** * Merges the specified database branch * @summary Merges a database branch */ mergeABranch(branchIdOrRef: string, branchActionBody: BranchActionBody, options?: RequestInit): Promise; /** * Resets the specified database branch * @summary Resets a database branch */ resetABranch(branchIdOrRef: string, branchActionBody: BranchActionBody, options?: RequestInit): Promise; /** * Cancels scheduled deletion and restores the branch to active state * @summary Restore a scheduled branch deletion */ restoreABranch(branchIdOrRef: string, options?: RequestInit): Promise; /** * Diffs the specified database branch * @summary [Beta] Diffs a database branch */ diffABranch(branchIdOrRef: string, params?: V1DiffABranchParams, options?: RequestInit): Promise; /** * Returns a paginated list of action runs of the specified project. * @summary List all action runs */ listActionRuns(ref: string, params?: V1ListActionRunsParams, options?: RequestInit): Promise; /** * Returns the total number of action runs of the specified project. * @summary Count the number of action runs */ countActionRuns(ref: string, options?: RequestInit): Promise; /** * Returns the current status of the specified action run. * @summary Get the status of an action run */ getActionRun(ref: string, runId: string, options?: RequestInit): Promise; /** * Updates the status of an ongoing action run. * @summary Update the status of an action run */ updateActionRunStatus(ref: string, runId: string, updateRunStatusBody: UpdateRunStatusBody, options?: RequestInit): Promise; /** * Returns the logs from the specified action run. * @summary Get the logs of an action run */ getActionRunLogs(ref: string, runId: string, options?: RequestInit): Promise; /** * Returns all database branches of the specified project. * @summary List all database branches */ listAllBranches(ref: string, options?: RequestInit): Promise; /** * Creates a database branch from the specified project. * @summary Create a database branch */ createABranch(ref: string, createBranchBody: CreateBranchBody, options?: RequestInit): Promise; /** * Disables preview branching for the specified project * @summary Disables preview branching */ disablePreviewBranching(ref: string, options?: RequestInit): Promise; /** * Fetches the specified database branch by its name. * @summary Get a database branch */ getABranch(ref: string, name: string, options?: RequestInit): Promise; /** * @summary [Beta] Authorize user through oauth */ authorizeUser(params: V1AuthorizeUserParams, options?: RequestInit): Promise; /** * @summary [Beta] Exchange auth code for user's access and refresh token */ exchangeOauthToken(oAuthTokenBody: OAuthTokenBody, options?: RequestInit): Promise; /** * @summary [Beta] Revoke oauth app authorization and it's corresponding tokens */ revokeToken(oAuthRevokeTokenBody: OAuthRevokeTokenBody, options?: RequestInit): Promise; /** * Initiates the OAuth authorization flow for the specified provider. After successful authentication, the user can claim ownership of the specified project. * @summary Authorize user through oauth and claim a project */ oauthAuthorizeProjectClaim(params: V1OauthAuthorizeProjectClaimParams, options?: RequestInit): Promise; /** * Returns a list of organizations that you currently belong to. * @summary List all organizations */ listAllOrganizations(options?: RequestInit): Promise; /** * @summary Create an organization */ createAnOrganization(createOrganizationV1: CreateOrganizationV1, options?: RequestInit): Promise; /** * @summary List members of an organization */ listOrganizationMembers(slug: string, options?: RequestInit): Promise; /** * @summary Gets information about the organization */ getAnOrganization(slug: string, options?: RequestInit): Promise; /** * @summary Gets project details for the specified organization and claim token */ getOrganizationProjectClaim(slug: string, token: string, options?: RequestInit): Promise; /** * @summary Claims project for the specified organization */ claimProjectForOrganization(slug: string, token: string, options?: RequestInit): Promise; /** * Returns a list of all projects you've previously created. Use `/v1/organizations/{slug}/projects` instead when possible to get more precise results and pagination support. * @summary List all projects */ listAllProjects(options?: RequestInit): Promise; /** * @summary Create a project */ createAProject(v1CreateProjectBody: V1CreateProjectBody, options?: RequestInit): Promise; /** * @summary [Beta] Gets the list of available regions that can be used for a new project */ getAvailableRegions(params: V1GetAvailableRegionsParams, options?: RequestInit): Promise; /** * @summary [Beta] Gets project's network bans */ listAllNetworkBans(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Gets project's network bans with additional information about which databases they affect */ listAllNetworkBansEnriched(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Remove network bans. */ deleteNetworkBans(ref: string, removeNetworkBanRequest: RemoveNetworkBanRequest, options?: RequestInit): Promise; /** * @summary [Beta] Gets project's network restrictions */ getNetworkRestrictions(ref: string, options?: RequestInit): Promise; /** * @summary [Alpha] Updates project's network restrictions by adding or removing CIDRs */ patchNetworkRestrictions(ref: string, networkRestrictionsPatchRequest: NetworkRestrictionsPatchRequest, options?: RequestInit): Promise; /** * @summary [Beta] Updates project's network restrictions */ updateNetworkRestrictions(ref: string, networkRestrictionsRequest: NetworkRestrictionsRequest, options?: RequestInit): Promise; /** * @summary Gets a specific project that belongs to the authenticated user */ getProject(ref: string, options?: RequestInit): Promise; /** * @summary Deletes the given project */ deleteAProject(ref: string, options?: RequestInit): Promise; /** * @summary Updates the given project */ updateAProject(ref: string, v1UpdateProjectBody: V1UpdateProjectBody, options?: RequestInit): Promise; /** * @summary [Beta] Upgrades the project's Postgres version */ upgradePostgresVersion(ref: string, upgradeDatabaseBody: UpgradeDatabaseBody, options?: RequestInit): Promise; /** * @summary [Beta] Returns the project's eligibility for upgrades */ getPostgresUpgradeEligibility(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Gets the latest status of the project's upgrade */ getPostgresUpgradeStatus(ref: string, params?: V1GetPostgresUpgradeStatusParams, options?: RequestInit): Promise; /** * @summary Gets project's service health status */ getServicesHealth(ref: string, params: V1GetServicesHealthParams, options?: RequestInit): Promise; /** * @summary Pauses the given project */ pauseAProject(ref: string, options?: RequestInit): Promise; /** * @summary Lists available restore versions for the given project */ listAvailableRestoreVersions(ref: string, options?: RequestInit): Promise; /** * @summary Restores the given project */ restoreAProject(ref: string, options?: RequestInit): Promise; /** * @summary Cancels the given project restoration */ cancelAProjectRestoration(ref: string, options?: RequestInit): Promise; /** * @summary Gets project claim token */ getProjectClaimToken(ref: string, options?: RequestInit): Promise; /** * @summary Creates project claim token */ createProjectClaimToken(ref: string, options?: RequestInit): Promise; /** * @summary Revokes project claim token */ deleteProjectClaimToken(ref: string, options?: RequestInit): Promise; /** * @summary Get disk utilization */ getDiskUtilization(ref: string, options?: RequestInit): Promise; /** * @summary Modify database disk */ modifyDatabaseDisk(ref: string, diskRequestBody: DiskRequestBody, options?: RequestInit): Promise; /** * @summary Gets project disk autoscale config */ getProjectDiskAutoscaleConfig(ref: string, options?: RequestInit): Promise; /** * Returns a paginated list of projects for the specified organization. This endpoint uses offset-based pagination. Use the `offset` parameter to skip a number of projects and the `limit` parameter to control the number of projects returned per page. * @summary Gets all projects for the given organization */ getAllProjectsForOrganization(slug: string, params?: V1GetAllProjectsForOrganizationParams, options?: RequestInit): Promise; /** * @summary Gets realtime configuration */ getRealtimeConfig(ref: string, options?: RequestInit): Promise; /** * @summary Updates realtime configuration */ updateRealtimeConfig(ref: string, updateRealtimeConfigBody: UpdateRealtimeConfigBody, options?: RequestInit): Promise; /** * @summary Shutdowns realtime connections for a project */ shutdownRealtime(ref: string, options?: RequestInit): Promise; /** * @summary Gets project's postgrest config */ getPostgrestServiceConfig(ref: string, options?: RequestInit): Promise; /** * @summary Updates project's postgrest config */ updatePostgrestServiceConfig(ref: string, v1UpdatePostgrestConfigBody: V1UpdatePostgrestConfigBody, options?: RequestInit): Promise; /** * @summary Get project api keys */ getProjectApiKeys(ref: string, params?: V1GetProjectApiKeysParams, options?: RequestInit): Promise; /** * @summary Creates a new API key for the project */ createProjectApiKey(ref: string, createApiKeyBody: CreateApiKeyBody, params?: V1CreateProjectApiKeyParams, options?: RequestInit): Promise; /** * @summary Check whether JWT based legacy (anon, service_role) API keys are enabled. This API endpoint will be removed in the future, check for HTTP 404 Not Found. */ getProjectLegacyApiKeys(ref: string, options?: RequestInit): Promise; /** * @summary Disable or re-enable JWT based legacy (anon, service_role) API keys. This API endpoint will be removed in the future, check for HTTP 404 Not Found. */ updateProjectLegacyApiKeys(ref: string, params: V1UpdateProjectLegacyApiKeysParams, options?: RequestInit): Promise; /** * @summary Updates an API key for the project */ updateProjectApiKey(ref: string, id: string, updateApiKeyBody: UpdateApiKeyBody, params?: V1UpdateProjectApiKeyParams, options?: RequestInit): Promise; /** * @summary Get API key */ getProjectApiKey(ref: string, id: string, params?: V1GetProjectApiKeyParams, options?: RequestInit): Promise; /** * @summary Deletes an API key for the project */ deleteProjectApiKey(ref: string, id: string, params?: V1DeleteProjectApiKeyParams, options?: RequestInit): Promise; /** * @summary [Beta] Gets project's pgsodium config */ getPgsodiumConfig(ref: string, options?: RequestInit): Promise; /** * @summary [Beta] Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible. */ updatePgsodiumConfig(ref: string, updatePgsodiumConfigBody: UpdatePgsodiumConfigBody, options?: RequestInit): Promise; /** * Returns all secrets you've previously added to the specified project. * @summary List all secrets */ listAllSecrets(ref: string, options?: RequestInit): Promise; /** * Creates multiple secrets and adds them to the specified project. * @summary Bulk create secrets */ bulkCreateSecrets(ref: string, createSecretBody: CreateSecretBody, options?: RequestInit): Promise; /** * Deletes all secrets with the given names from the specified project * @summary Bulk delete secrets */ bulkDeleteSecrets(ref: string, deleteSecretsBody: DeleteSecretsBody, options?: RequestInit): Promise; /** * @summary Lists all buckets */ listAllBuckets(ref: string, options?: RequestInit): Promise; /** * @summary Gets project's storage config */ getStorageConfig(ref: string, options?: RequestInit): Promise; /** * @summary Updates project's storage config */ updateStorageConfig(ref: string, updateStorageConfigBody: UpdateStorageConfigBody, options?: RequestInit): Promise; } /** * Thrown by SupabaseManagementAPI methods when the HTTP response status is >= 400. */ declare class SupabaseManagementAPIError extends Error { readonly status: number; readonly data: unknown; readonly headers: Headers; constructor(response: { status: number; data: unknown; headers: Headers; }, methodName?: string); } declare const SUPABASE_API_BASE_URL = "https://api.supabase.com"; export { type ActionRunResponse, type ActionRunResponseRunStepsItem, ActionRunResponseRunStepsItemName, ActionRunResponseRunStepsItemStatus, type ActivateVanitySubdomainResponse, type AnalyticsResponse, type AnalyticsResponseError, type ApiKeyResponse, type ApiKeyResponseSecretJwtTemplate, ApiKeyResponseType, type ApplyProjectAddonBody, ApplyProjectAddonBodyAddonType, ApplyProjectAddonBodyAddonVariant, type AuthConfigResponse, AuthConfigResponseDbMaxPoolSizeUnit, AuthConfigResponsePasswordRequiredCharacters, AuthConfigResponseSecurityCaptchaProvider, AuthConfigResponseSmsProvider, type AuthorizeJitAccessBody, type BranchActionBody, type BranchDeleteResponse, BranchDeleteResponseMessage, type BranchDetailResponse, BranchDetailResponseStatus, type BranchResponse, BranchResponsePreviewProjectStatus, BranchResponseStatus, type BranchRestoreResponse, BranchRestoreResponseMessage, type BranchUpdateResponse, BranchUpdateResponseMessage, type BulkUpdateFunctionBody, type BulkUpdateFunctionBodyItem, BulkUpdateFunctionBodyItemStatus, type BulkUpdateFunctionResponse, type BulkUpdateFunctionResponseFunctionsItem, BulkUpdateFunctionResponseFunctionsItemStatus, type CreateApiKeyBody, type CreateApiKeyBodySecretJwtTemplate, CreateApiKeyBodyType, type CreateBranchBody, CreateBranchBodyDesiredInstanceSize, CreateBranchBodyPostgresEngine, CreateBranchBodyReleaseChannel, type CreateBranchBodySecrets, type CreateOrganizationV1, type CreateProjectClaimTokenResponse, type CreateProviderBody, type CreateProviderBodyAttributeMapping, type CreateProviderBodyAttributeMappingKeys, type CreateProviderBodyAttributeMappingKeysDefault, CreateProviderBodyNameIdFormat, CreateProviderBodyType, type CreateProviderResponse, type CreateProviderResponseDomainsItem, type CreateProviderResponseSaml, type CreateProviderResponseSamlAttributeMapping, type CreateProviderResponseSamlAttributeMappingKeys, type CreateProviderResponseSamlAttributeMappingKeysDefault, CreateProviderResponseSamlNameIdFormat, type CreateRoleBody, type CreateRoleResponse, type CreateSecretBody, type CreateSecretBodyItem, type CreateSigningKeyBody, CreateSigningKeyBodyAlgorithm, type CreateSigningKeyBodyPrivateJwk, CreateSigningKeyBodyStatus, type CreateThirdPartyAuthBody, type DatabaseUpgradeStatusResponse, type DatabaseUpgradeStatusResponseDatabaseUpgradeStatus, type DeleteProviderResponse, type DeleteProviderResponseDomainsItem, type DeleteProviderResponseSaml, type DeleteProviderResponseSamlAttributeMapping, type DeleteProviderResponseSamlAttributeMappingKeys, type DeleteProviderResponseSamlAttributeMappingKeysDefault, DeleteProviderResponseSamlNameIdFormat, type DeleteRolesResponse, DeleteRolesResponseMessage, type DeleteSecretsBody, type DeployFunctionResponse, DeployFunctionResponseStatus, type DiskAutoscaleConfig, type DiskRequestBody, type DiskRequestBodyAttributes, type DiskUtilMetricsResponse, type DiskUtilMetricsResponseMetrics, type FunctionDeployBody, type FunctionDeployBodyMetadata, type FunctionResponse, FunctionResponseStatus, type FunctionSlugResponse, FunctionSlugResponseStatus, type GetProjectAvailableRestoreVersionsResponse, type GetProjectAvailableRestoreVersionsResponseAvailableVersionsItem, GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemPostgresEngine, GetProjectAvailableRestoreVersionsResponseAvailableVersionsItemReleaseChannel, type GetProjectDbMetadataResponse, type GetProjectDbMetadataResponseDatabasesItem, type GetProjectDbMetadataResponseDatabasesItemSchemasItem, type GetProviderResponse, type GetProviderResponseDomainsItem, type GetProviderResponseSaml, type GetProviderResponseSamlAttributeMapping, type GetProviderResponseSamlAttributeMappingKeys, type GetProviderResponseSamlAttributeMappingKeysDefault, GetProviderResponseSamlNameIdFormat, type JitAccessRequestRequest, JitAccessRequestRequestState, type JitAccessResponse, type JitAccessResponseUserRolesItem, type JitAccessResponseUserRolesItemAllowedNetworks, type JitAccessResponseUserRolesItemAllowedNetworksAllowedCidrsItem, type JitAccessResponseUserRolesItemAllowedNetworksAllowedCidrsV6Item, type JitAuthorizeAccessResponse, type JitAuthorizeAccessResponseUserRole, type JitAuthorizeAccessResponseUserRoleAllowedNetworks, type JitAuthorizeAccessResponseUserRoleAllowedNetworksAllowedCidrsItem, type JitAuthorizeAccessResponseUserRoleAllowedNetworksAllowedCidrsV6Item, type JitListAccessResponse, type JitListAccessResponseItemsItem, type JitListAccessResponseItemsItemUserRolesItem, type JitListAccessResponseItemsItemUserRolesItemAllowedNetworks, type JitListAccessResponseItemsItemUserRolesItemAllowedNetworksAllowedCidrsItem, type JitListAccessResponseItemsItemUserRolesItemAllowedNetworksAllowedCidrsV6Item, type LegacyApiKeysResponse, type ListActionRunResponse, type ListActionRunResponseItem, type ListActionRunResponseItemRunStepsItem, ListActionRunResponseItemRunStepsItemName, ListActionRunResponseItemRunStepsItemStatus, type ListProjectAddonsResponse, type ListProjectAddonsResponseAvailableAddonsItem, ListProjectAddonsResponseAvailableAddonsItemType, type ListProjectAddonsResponseAvailableAddonsItemVariantsItem, ListProjectAddonsResponseAvailableAddonsItemVariantsItemId, type ListProjectAddonsResponseAvailableAddonsItemVariantsItemPrice, ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceInterval, ListProjectAddonsResponseAvailableAddonsItemVariantsItemPriceType, type ListProjectAddonsResponseSelectedAddonsItem, ListProjectAddonsResponseSelectedAddonsItemType, type ListProjectAddonsResponseSelectedAddonsItemVariant, ListProjectAddonsResponseSelectedAddonsItemVariantId, type ListProjectAddonsResponseSelectedAddonsItemVariantPrice, ListProjectAddonsResponseSelectedAddonsItemVariantPriceInterval, ListProjectAddonsResponseSelectedAddonsItemVariantPriceType, type ListProvidersResponse, type ListProvidersResponseItemsItem, type ListProvidersResponseItemsItemDomainsItem, type ListProvidersResponseItemsItemSaml, type ListProvidersResponseItemsItemSamlAttributeMapping, type ListProvidersResponseItemsItemSamlAttributeMappingKeys, type ListProvidersResponseItemsItemSamlAttributeMappingKeysDefault, ListProvidersResponseItemsItemSamlNameIdFormat, type NetworkBanResponse, type NetworkBanResponseEnriched, type NetworkBanResponseEnrichedBannedIpv4AddressesItem, type NetworkRestrictionsPatchRequest, type NetworkRestrictionsPatchRequestAdd, type NetworkRestrictionsPatchRequestRemove, type NetworkRestrictionsRequest, type NetworkRestrictionsResponse, type NetworkRestrictionsResponseConfig, NetworkRestrictionsResponseEntitlement, type NetworkRestrictionsResponseOldConfig, NetworkRestrictionsResponseStatus, type NetworkRestrictionsV2Response, type NetworkRestrictionsV2ResponseConfig, type NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItem, NetworkRestrictionsV2ResponseConfigDbAllowedCidrsItemType, NetworkRestrictionsV2ResponseEntitlement, type NetworkRestrictionsV2ResponseOldConfig, type NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItem, NetworkRestrictionsV2ResponseOldConfigDbAllowedCidrsItemType, NetworkRestrictionsV2ResponseStatus, type OAuthRevokeTokenBody, type OAuthTokenBody, OAuthTokenBodyGrantType, type OAuthTokenResponse, OAuthTokenResponseTokenType, type OrganizationProjectClaimResponse, type OrganizationProjectClaimResponsePreview, type OrganizationProjectClaimResponsePreviewErrorsItem, type OrganizationProjectClaimResponsePreviewInfoItem, type OrganizationProjectClaimResponsePreviewMembersExceedingFreeProjectLimitItem, OrganizationProjectClaimResponsePreviewSourceSubscriptionPlan, OrganizationProjectClaimResponsePreviewTargetSubscriptionPlan, type OrganizationProjectClaimResponsePreviewWarningsItem, type OrganizationProjectClaimResponseProject, type OrganizationProjectsResponse, type OrganizationProjectsResponsePagination, type OrganizationProjectsResponseProjectsItem, type OrganizationProjectsResponseProjectsItemDatabasesItem, OrganizationProjectsResponseProjectsItemDatabasesItemDiskType, OrganizationProjectsResponseProjectsItemDatabasesItemInfraComputeSize, OrganizationProjectsResponseProjectsItemDatabasesItemStatus, OrganizationProjectsResponseProjectsItemDatabasesItemType, OrganizationProjectsResponseProjectsItemStatus, type OrganizationResponseV1, type PgsodiumConfigResponse, type PostgresConfigResponse, PostgresConfigResponseSessionReplicationRole, type PostgrestConfigWithJWTSecretResponse, type ProjectClaimTokenResponse, type ProjectUpgradeEligibilityResponse, ProjectUpgradeEligibilityResponseCurrentAppVersionReleaseChannel, type ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItem, ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemPostgresVersion, ProjectUpgradeEligibilityResponseTargetUpgradeVersionsItemReleaseChannel, type ProjectUpgradeEligibilityResponseValidationErrorsItem, type ProjectUpgradeInitiateResponse, type ReadOnlyStatusResponse, type RealtimeConfigResponse, type RegionsInfo, type RegionsInfoAll, type RegionsInfoAllSmartGroupItem, RegionsInfoAllSmartGroupItemCode, RegionsInfoAllSmartGroupItemType, type RegionsInfoAllSpecificItem, RegionsInfoAllSpecificItemCode, RegionsInfoAllSpecificItemProvider, RegionsInfoAllSpecificItemStatus, RegionsInfoAllSpecificItemType, type RegionsInfoRecommendations, type RegionsInfoRecommendationsSmartGroup, RegionsInfoRecommendationsSmartGroupCode, RegionsInfoRecommendationsSmartGroupType, type RegionsInfoRecommendationsSpecificItem, RegionsInfoRecommendationsSpecificItemCode, RegionsInfoRecommendationsSpecificItemProvider, RegionsInfoRecommendationsSpecificItemStatus, RegionsInfoRecommendationsSpecificItemType, type RemoveNetworkBanRequest, type RemoveReadReplicaBody, SUPABASE_API_BASE_URL, type SecretResponse, type SetUpReadReplicaBody, SetUpReadReplicaBodyReadReplicaRegion, type SigningKeyResponse, SigningKeyResponseAlgorithm, SigningKeyResponseStatus, type SigningKeysResponse, type SigningKeysResponseKeysItem, SigningKeysResponseKeysItemAlgorithm, SigningKeysResponseKeysItemStatus, type SnippetList, type SnippetListDataItem, type SnippetListDataItemOwner, type SnippetListDataItemProject, SnippetListDataItemType, type SnippetListDataItemUpdatedBy, SnippetListDataItemVisibility, type SnippetResponse, type SnippetResponseContent, type SnippetResponseOwner, type SnippetResponseProject, SnippetResponseType, type SnippetResponseUpdatedBy, SnippetResponseVisibility, type SslEnforcementRequest, type SslEnforcementRequestRequestedConfig, type SslEnforcementResponse, type SslEnforcementResponseCurrentConfig, type StorageConfigResponse, type StorageConfigResponseCapabilities, type StorageConfigResponseExternal, StorageConfigResponseExternalUpstreamTarget, type StorageConfigResponseFeatures, type StorageConfigResponseFeaturesIcebergCatalog, type StorageConfigResponseFeaturesImageTransformation, type StorageConfigResponseFeaturesS3Protocol, type StorageConfigResponseFeaturesVectorBuckets, type StreamableFile, type SubdomainAvailabilityResponse, SupabaseManagementAPI, SupabaseManagementAPIError, type SupabaseManagementAPIOptions, type SupavisorConfigResponse, SupavisorConfigResponseDatabaseType, SupavisorConfigResponsePoolMode, type ThirdPartyAuth, type TypescriptResponse, type UpdateApiKeyBody, type UpdateApiKeyBodySecretJwtTemplate, type UpdateAuthConfigBody, UpdateAuthConfigBodyDbMaxPoolSizeUnit, UpdateAuthConfigBodyPasswordRequiredCharacters, UpdateAuthConfigBodySecurityCaptchaProvider, UpdateAuthConfigBodySmsProvider, type UpdateBranchBody, UpdateBranchBodyStatus, type UpdateCustomHostnameBody, type UpdateCustomHostnameResponse, type UpdateCustomHostnameResponseData, type UpdateCustomHostnameResponseDataResult, type UpdateCustomHostnameResponseDataResultOwnershipVerification, type UpdateCustomHostnameResponseDataResultSsl, type UpdateCustomHostnameResponseDataResultSslValidationErrorsItem, type UpdateCustomHostnameResponseDataResultSslValidationRecordsItem, UpdateCustomHostnameResponseStatus, type UpdateJitAccessBody, type UpdateJitAccessBodyRolesItem, type UpdateJitAccessBodyRolesItemAllowedNetworks, type UpdateJitAccessBodyRolesItemAllowedNetworksAllowedCidrsItem, type UpdateJitAccessBodyRolesItemAllowedNetworksAllowedCidrsV6Item, type UpdatePgsodiumConfigBody, type UpdatePostgresConfigBody, UpdatePostgresConfigBodySessionReplicationRole, type UpdateProviderBody, type UpdateProviderBodyAttributeMapping, type UpdateProviderBodyAttributeMappingKeys, type UpdateProviderBodyAttributeMappingKeysDefault, UpdateProviderBodyNameIdFormat, type UpdateProviderResponse, type UpdateProviderResponseDomainsItem, type UpdateProviderResponseSaml, type UpdateProviderResponseSamlAttributeMapping, type UpdateProviderResponseSamlAttributeMappingKeys, type UpdateProviderResponseSamlAttributeMappingKeysDefault, UpdateProviderResponseSamlNameIdFormat, type UpdateRealtimeConfigBody, type UpdateRunStatusBody, UpdateRunStatusBodyClone, UpdateRunStatusBodyConfigure, UpdateRunStatusBodyDeploy, UpdateRunStatusBodyHealth, UpdateRunStatusBodyMigrate, UpdateRunStatusBodyPull, UpdateRunStatusBodySeed, type UpdateRunStatusResponse, UpdateRunStatusResponseMessage, type UpdateSigningKeyBody, UpdateSigningKeyBodyStatus, type UpdateStorageConfigBody, type UpdateStorageConfigBodyExternal, UpdateStorageConfigBodyExternalUpstreamTarget, type UpdateStorageConfigBodyFeatures, type UpdateStorageConfigBodyFeaturesIcebergCatalog, type UpdateStorageConfigBodyFeaturesImageTransformation, type UpdateStorageConfigBodyFeaturesS3Protocol, type UpdateStorageConfigBodyFeaturesVectorBuckets, type UpdateSupavisorConfigBody, UpdateSupavisorConfigBodyPoolMode, type UpdateSupavisorConfigResponse, type UpgradeDatabaseBody, UpgradeDatabaseBodyReleaseChannel, V1AuthorizeUserCodeChallengeMethod, type V1AuthorizeUserParams, V1AuthorizeUserResponseType, type V1BackupsResponse, type V1BackupsResponseBackupsItem, V1BackupsResponseBackupsItemStatus, type V1BackupsResponsePhysicalBackupData, type V1CreateAFunctionParams, type V1CreateFunctionBody, type V1CreateMigrationBody, type V1CreateProjectApiKeyParams, type V1CreateProjectBody, V1CreateProjectBodyDesiredInstanceSize, V1CreateProjectBodyPlan, V1CreateProjectBodyPostgresEngine, V1CreateProjectBodyRegion, type V1CreateProjectBodyRegionSelection, V1CreateProjectBodyReleaseChannel, type V1DeleteABranchParams, type V1DeleteProjectApiKeyParams, type V1DeployAFunctionParams, type V1DiffABranchParams, type V1GenerateTypescriptTypesParams, type V1GetAllProjectsForOrganizationParams, V1GetAllProjectsForOrganizationSort, V1GetAvailableRegionsContinent, V1GetAvailableRegionsDesiredInstanceSize, type V1GetAvailableRegionsParams, type V1GetMigrationResponse, type V1GetPostgresUpgradeStatusParams, type V1GetProjectApiKeyParams, type V1GetProjectApiKeysParams, V1GetProjectFunctionCombinedStatsInterval, type V1GetProjectFunctionCombinedStatsParams, type V1GetProjectLogsParams, V1GetProjectUsageApiCountInterval, type V1GetProjectUsageApiCountParams, type V1GetRestorePointParams, V1GetSecurityAdvisorsLintType, type V1GetSecurityAdvisorsParams, type V1GetServicesHealthParams, V1GetServicesHealthServicesItem, type V1GetUsageApiCountResponse, type V1GetUsageApiCountResponseError, type V1GetUsageApiCountResponseResultItem, type V1GetUsageApiRequestsCountResponse, type V1GetUsageApiRequestsCountResponseError, type V1GetUsageApiRequestsCountResponseResultItem, type V1ListActionRunsParams, type V1ListAllSnippetsParams, V1ListAllSnippetsSortBy, V1ListAllSnippetsSortOrder, type V1ListMigrationsResponse, type V1ListMigrationsResponseItem, type V1ListProjectsPaginatedResponse, type V1ListProjectsPaginatedResponsePagination, type V1ListProjectsPaginatedResponseProjectsItem, V1ListProjectsPaginatedResponseProjectsItemInfraComputeSize, V1OauthAuthorizeProjectClaimCodeChallengeMethod, type V1OauthAuthorizeProjectClaimParams, V1OauthAuthorizeProjectClaimResponseType, type V1OrganizationMemberResponse, type V1OrganizationSlugResponse, V1OrganizationSlugResponseAllowedReleaseChannelsItem, V1OrganizationSlugResponseOptInTagsItem, V1OrganizationSlugResponsePlan, type V1PatchMigrationBody, type V1PgbouncerConfigResponse, V1PgbouncerConfigResponsePoolMode, type V1PostgrestConfigResponse, type V1ProjectAdvisorsResponse, type V1ProjectAdvisorsResponseLintsItem, V1ProjectAdvisorsResponseLintsItemCategoriesItem, V1ProjectAdvisorsResponseLintsItemFacing, V1ProjectAdvisorsResponseLintsItemLevel, type V1ProjectAdvisorsResponseLintsItemMetadata, V1ProjectAdvisorsResponseLintsItemMetadataType, V1ProjectAdvisorsResponseLintsItemName, type V1ProjectRefResponse, type V1ProjectResponse, V1ProjectResponseStatus, type V1ProjectWithDatabaseResponse, type V1ProjectWithDatabaseResponseDatabase, V1ProjectWithDatabaseResponseStatus, type V1ReadOnlyQueryBody, type V1RestorePitrBody, type V1RestorePointPostBody, type V1RestorePointResponse, V1RestorePointResponseStatus, type V1RollbackMigrationsParams, type V1RunQueryBody, type V1ServiceHealthResponse, type V1ServiceHealthResponseInfo, V1ServiceHealthResponseName, V1ServiceHealthResponseStatus, type V1StorageBucketResponse, type V1UndoBody, type V1UpdateAFunctionParams, type V1UpdateFunctionBody, type V1UpdatePasswordBody, type V1UpdatePasswordResponse, type V1UpdatePostgrestConfigBody, type V1UpdateProjectApiKeyParams, type V1UpdateProjectBody, type V1UpdateProjectLegacyApiKeysParams, type V1UpsertMigrationBody, type VanitySubdomainBody, type VanitySubdomainConfigResponse, VanitySubdomainConfigResponseStatus, getV1ActivateCustomHostnameUrl, getV1ActivateVanitySubdomainConfigUrl, getV1ApplyAMigrationUrl, getV1ApplyProjectAddonUrl, getV1AuthorizeJitAccessUrl, getV1AuthorizeUserUrl, getV1BulkCreateSecretsUrl, getV1BulkDeleteSecretsUrl, getV1BulkUpdateFunctionsUrl, getV1CancelAProjectRestorationUrl, getV1CheckVanitySubdomainAvailabilityUrl, getV1ClaimProjectForOrganizationUrl, getV1CountActionRunsUrl, getV1CreateABranchUrl, getV1CreateAFunctionUrl, getV1CreateAProjectUrl, getV1CreateASsoProviderUrl, getV1CreateAnOrganizationUrl, getV1CreateLegacySigningKeyUrl, getV1CreateLoginRoleUrl, getV1CreateProjectApiKeyUrl, getV1CreateProjectClaimTokenUrl, getV1CreateProjectSigningKeyUrl, getV1CreateProjectTpaIntegrationUrl, getV1CreateRestorePointUrl, getV1DeactivateVanitySubdomainConfigUrl, getV1DeleteABranchUrl, getV1DeleteAFunctionUrl, getV1DeleteAProjectUrl, getV1DeleteASsoProviderUrl, getV1DeleteHostnameConfigUrl, getV1DeleteJitAccessUrl, getV1DeleteLoginRolesUrl, getV1DeleteNetworkBansUrl, getV1DeleteProjectApiKeyUrl, getV1DeleteProjectClaimTokenUrl, getV1DeleteProjectTpaIntegrationUrl, getV1DeployAFunctionUrl, getV1DiffABranchUrl, getV1DisablePreviewBranchingUrl, getV1DisableReadonlyModeTemporarilyUrl, getV1EnableDatabaseWebhookUrl, getV1ExchangeOauthTokenUrl, getV1GenerateTypescriptTypesUrl, getV1GetABranchConfigUrl, getV1GetABranchUrl, getV1GetAFunctionBodyUrl, getV1GetAFunctionUrl, getV1GetAMigrationUrl, getV1GetASnippetUrl, getV1GetASsoProviderUrl, getV1GetActionRunLogsUrl, getV1GetActionRunUrl, getV1GetAllProjectsForOrganizationUrl, getV1GetAnOrganizationUrl, getV1GetAuthServiceConfigUrl, getV1GetAvailableRegionsUrl, getV1GetDatabaseMetadataUrl, getV1GetDiskUtilizationUrl, getV1GetHostnameConfigUrl, getV1GetJitAccessConfigUrl, getV1GetJitAccessUrl, getV1GetLegacySigningKeyUrl, getV1GetNetworkRestrictionsUrl, getV1GetOrganizationProjectClaimUrl, getV1GetPerformanceAdvisorsUrl, getV1GetPgsodiumConfigUrl, getV1GetPoolerConfigUrl, getV1GetPostgresConfigUrl, getV1GetPostgresUpgradeEligibilityUrl, getV1GetPostgresUpgradeStatusUrl, getV1GetPostgrestServiceConfigUrl, getV1GetProjectApiKeyUrl, getV1GetProjectApiKeysUrl, getV1GetProjectClaimTokenUrl, getV1GetProjectDiskAutoscaleConfigUrl, getV1GetProjectFunctionCombinedStatsUrl, getV1GetProjectLegacyApiKeysUrl, getV1GetProjectLogsUrl, getV1GetProjectPgbouncerConfigUrl, getV1GetProjectSigningKeyUrl, getV1GetProjectSigningKeysUrl, getV1GetProjectTpaIntegrationUrl, getV1GetProjectUrl, getV1GetProjectUsageApiCountUrl, getV1GetProjectUsageRequestCountUrl, getV1GetReadonlyModeStatusUrl, getV1GetRealtimeConfigUrl, getV1GetRestorePointUrl, getV1GetSecurityAdvisorsUrl, getV1GetServicesHealthUrl, getV1GetSslEnforcementConfigUrl, getV1GetStorageConfigUrl, getV1GetVanitySubdomainConfigUrl, getV1ListActionRunsUrl, getV1ListAllBackupsUrl, getV1ListAllBranchesUrl, getV1ListAllBucketsUrl, getV1ListAllFunctionsUrl, getV1ListAllNetworkBansEnrichedUrl, getV1ListAllNetworkBansUrl, getV1ListAllOrganizationsUrl, getV1ListAllProjectsUrl, getV1ListAllSecretsUrl, getV1ListAllSnippetsUrl, getV1ListAllSsoProviderUrl, getV1ListAvailableRestoreVersionsUrl, getV1ListJitAccessUrl, getV1ListMigrationHistoryUrl, getV1ListOrganizationMembersUrl, getV1ListProjectAddonsUrl, getV1ListProjectTpaIntegrationsUrl, getV1MergeABranchUrl, getV1ModifyDatabaseDiskUrl, getV1OauthAuthorizeProjectClaimUrl, getV1PatchAMigrationUrl, getV1PatchNetworkRestrictionsUrl, getV1PauseAProjectUrl, getV1PushABranchUrl, getV1ReadOnlyQueryUrl, getV1RemoveAReadReplicaUrl, getV1RemoveProjectAddonUrl, getV1RemoveProjectSigningKeyUrl, getV1ResetABranchUrl, getV1RestoreABranchUrl, getV1RestoreAProjectUrl, getV1RestorePitrBackupUrl, getV1RevokeTokenUrl, getV1RollbackMigrationsUrl, getV1RunAQueryUrl, getV1SetupAReadReplicaUrl, getV1ShutdownRealtimeUrl, getV1UndoUrl, getV1UpdateABranchConfigUrl, getV1UpdateAFunctionUrl, getV1UpdateAProjectUrl, getV1UpdateASsoProviderUrl, getV1UpdateActionRunStatusUrl, getV1UpdateAuthServiceConfigUrl, getV1UpdateDatabasePasswordUrl, getV1UpdateHostnameConfigUrl, getV1UpdateJitAccessConfigUrl, getV1UpdateJitAccessUrl, getV1UpdateNetworkRestrictionsUrl, getV1UpdatePgsodiumConfigUrl, getV1UpdatePoolerConfigUrl, getV1UpdatePostgresConfigUrl, getV1UpdatePostgrestServiceConfigUrl, getV1UpdateProjectApiKeyUrl, getV1UpdateProjectLegacyApiKeysUrl, getV1UpdateProjectSigningKeyUrl, getV1UpdateRealtimeConfigUrl, getV1UpdateSslEnforcementConfigUrl, getV1UpdateStorageConfigUrl, getV1UpgradePostgresVersionUrl, getV1UpsertAMigrationUrl, getV1VerifyDnsConfigUrl, v1ActivateCustomHostname, type v1ActivateCustomHostnameResponse, type v1ActivateCustomHostnameResponse201, type v1ActivateCustomHostnameResponse401, type v1ActivateCustomHostnameResponse403, type v1ActivateCustomHostnameResponse429, type v1ActivateCustomHostnameResponse500, type v1ActivateCustomHostnameResponseError, type v1ActivateCustomHostnameResponseSuccess, v1ActivateVanitySubdomainConfig, type v1ActivateVanitySubdomainConfigResponse, type v1ActivateVanitySubdomainConfigResponse201, type v1ActivateVanitySubdomainConfigResponse401, type v1ActivateVanitySubdomainConfigResponse403, type v1ActivateVanitySubdomainConfigResponse429, type v1ActivateVanitySubdomainConfigResponse500, type v1ActivateVanitySubdomainConfigResponseError, type v1ActivateVanitySubdomainConfigResponseSuccess, v1ApplyAMigration, type v1ApplyAMigrationResponse, type v1ApplyAMigrationResponse200, type v1ApplyAMigrationResponse401, type v1ApplyAMigrationResponse403, type v1ApplyAMigrationResponse429, type v1ApplyAMigrationResponse500, type v1ApplyAMigrationResponseError, type v1ApplyAMigrationResponseSuccess, v1ApplyProjectAddon, type v1ApplyProjectAddonResponse, type v1ApplyProjectAddonResponse200, type v1ApplyProjectAddonResponse401, type v1ApplyProjectAddonResponse403, type v1ApplyProjectAddonResponse429, type v1ApplyProjectAddonResponse500, type v1ApplyProjectAddonResponseError, type v1ApplyProjectAddonResponseSuccess, v1AuthorizeJitAccess, type v1AuthorizeJitAccessResponse, type v1AuthorizeJitAccessResponse200, type v1AuthorizeJitAccessResponse401, type v1AuthorizeJitAccessResponse403, type v1AuthorizeJitAccessResponse429, type v1AuthorizeJitAccessResponse500, type v1AuthorizeJitAccessResponseError, type v1AuthorizeJitAccessResponseSuccess, v1AuthorizeUser, type v1AuthorizeUserResponse, type v1AuthorizeUserResponse204, type v1AuthorizeUserResponseSuccess, v1BulkCreateSecrets, type v1BulkCreateSecretsResponse, type v1BulkCreateSecretsResponse201, type v1BulkCreateSecretsResponse401, type v1BulkCreateSecretsResponse403, type v1BulkCreateSecretsResponse429, type v1BulkCreateSecretsResponse500, type v1BulkCreateSecretsResponseError, type v1BulkCreateSecretsResponseSuccess, v1BulkDeleteSecrets, type v1BulkDeleteSecretsResponse, type v1BulkDeleteSecretsResponse200, type v1BulkDeleteSecretsResponse401, type v1BulkDeleteSecretsResponse403, type v1BulkDeleteSecretsResponse429, type v1BulkDeleteSecretsResponse500, type v1BulkDeleteSecretsResponseError, type v1BulkDeleteSecretsResponseSuccess, v1BulkUpdateFunctions, type v1BulkUpdateFunctionsResponse, type v1BulkUpdateFunctionsResponse200, type v1BulkUpdateFunctionsResponse401, type v1BulkUpdateFunctionsResponse402, type v1BulkUpdateFunctionsResponse403, type v1BulkUpdateFunctionsResponse429, type v1BulkUpdateFunctionsResponse500, type v1BulkUpdateFunctionsResponseError, type v1BulkUpdateFunctionsResponseSuccess, v1CancelAProjectRestoration, type v1CancelAProjectRestorationResponse, type v1CancelAProjectRestorationResponse200, type v1CancelAProjectRestorationResponse401, type v1CancelAProjectRestorationResponse403, type v1CancelAProjectRestorationResponse429, type v1CancelAProjectRestorationResponseError, type v1CancelAProjectRestorationResponseSuccess, v1CheckVanitySubdomainAvailability, type v1CheckVanitySubdomainAvailabilityResponse, type v1CheckVanitySubdomainAvailabilityResponse201, type v1CheckVanitySubdomainAvailabilityResponse401, type v1CheckVanitySubdomainAvailabilityResponse403, type v1CheckVanitySubdomainAvailabilityResponse429, type v1CheckVanitySubdomainAvailabilityResponse500, type v1CheckVanitySubdomainAvailabilityResponseError, type v1CheckVanitySubdomainAvailabilityResponseSuccess, v1ClaimProjectForOrganization, type v1ClaimProjectForOrganizationResponse, type v1ClaimProjectForOrganizationResponse204, type v1ClaimProjectForOrganizationResponse401, type v1ClaimProjectForOrganizationResponse403, type v1ClaimProjectForOrganizationResponse429, type v1ClaimProjectForOrganizationResponseError, type v1ClaimProjectForOrganizationResponseSuccess, v1CountActionRuns, type v1CountActionRunsResponse, type v1CountActionRunsResponse200, type v1CountActionRunsResponse401, type v1CountActionRunsResponse403, type v1CountActionRunsResponse429, type v1CountActionRunsResponse500, type v1CountActionRunsResponseError, type v1CountActionRunsResponseSuccess, v1CreateABranch, type v1CreateABranchResponse, type v1CreateABranchResponse201, type v1CreateABranchResponse401, type v1CreateABranchResponse403, type v1CreateABranchResponse429, type v1CreateABranchResponse500, type v1CreateABranchResponseError, type v1CreateABranchResponseSuccess, v1CreateAFunction, type v1CreateAFunctionResponse, type v1CreateAFunctionResponse201, type v1CreateAFunctionResponse401, type v1CreateAFunctionResponse402, type v1CreateAFunctionResponse403, type v1CreateAFunctionResponse429, type v1CreateAFunctionResponse500, type v1CreateAFunctionResponseError, type v1CreateAFunctionResponseSuccess, v1CreateAProject, type v1CreateAProjectResponse, type v1CreateAProjectResponse201, type v1CreateAProjectResponseSuccess, v1CreateASsoProvider, type v1CreateASsoProviderResponse, type v1CreateASsoProviderResponse201, type v1CreateASsoProviderResponse401, type v1CreateASsoProviderResponse403, type v1CreateASsoProviderResponse404, type v1CreateASsoProviderResponse429, type v1CreateASsoProviderResponseError, type v1CreateASsoProviderResponseSuccess, v1CreateAnOrganization, type v1CreateAnOrganizationResponse, type v1CreateAnOrganizationResponse201, type v1CreateAnOrganizationResponse500, type v1CreateAnOrganizationResponseError, type v1CreateAnOrganizationResponseSuccess, v1CreateLegacySigningKey, type v1CreateLegacySigningKeyResponse, type v1CreateLegacySigningKeyResponse201, type v1CreateLegacySigningKeyResponse401, type v1CreateLegacySigningKeyResponse403, type v1CreateLegacySigningKeyResponse429, type v1CreateLegacySigningKeyResponseError, type v1CreateLegacySigningKeyResponseSuccess, v1CreateLoginRole, type v1CreateLoginRoleResponse, type v1CreateLoginRoleResponse201, type v1CreateLoginRoleResponse401, type v1CreateLoginRoleResponse403, type v1CreateLoginRoleResponse429, type v1CreateLoginRoleResponse500, type v1CreateLoginRoleResponseError, type v1CreateLoginRoleResponseSuccess, v1CreateProjectApiKey, type v1CreateProjectApiKeyResponse, type v1CreateProjectApiKeyResponse201, type v1CreateProjectApiKeyResponse401, type v1CreateProjectApiKeyResponse403, type v1CreateProjectApiKeyResponse429, type v1CreateProjectApiKeyResponseError, type v1CreateProjectApiKeyResponseSuccess, v1CreateProjectClaimToken, type v1CreateProjectClaimTokenResponse, type v1CreateProjectClaimTokenResponse200, type v1CreateProjectClaimTokenResponse401, type v1CreateProjectClaimTokenResponse403, type v1CreateProjectClaimTokenResponse429, type v1CreateProjectClaimTokenResponseError, type v1CreateProjectClaimTokenResponseSuccess, v1CreateProjectSigningKey, type v1CreateProjectSigningKeyResponse, type v1CreateProjectSigningKeyResponse201, type v1CreateProjectSigningKeyResponse401, type v1CreateProjectSigningKeyResponse403, type v1CreateProjectSigningKeyResponse429, type v1CreateProjectSigningKeyResponseError, type v1CreateProjectSigningKeyResponseSuccess, v1CreateProjectTpaIntegration, type v1CreateProjectTpaIntegrationResponse, type v1CreateProjectTpaIntegrationResponse201, type v1CreateProjectTpaIntegrationResponse401, type v1CreateProjectTpaIntegrationResponse403, type v1CreateProjectTpaIntegrationResponse429, type v1CreateProjectTpaIntegrationResponseError, type v1CreateProjectTpaIntegrationResponseSuccess, v1CreateRestorePoint, type v1CreateRestorePointResponse, type v1CreateRestorePointResponse201, type v1CreateRestorePointResponse401, type v1CreateRestorePointResponse403, type v1CreateRestorePointResponse429, type v1CreateRestorePointResponseError, type v1CreateRestorePointResponseSuccess, v1DeactivateVanitySubdomainConfig, type v1DeactivateVanitySubdomainConfigResponse, type v1DeactivateVanitySubdomainConfigResponse200, type v1DeactivateVanitySubdomainConfigResponse401, type v1DeactivateVanitySubdomainConfigResponse403, type v1DeactivateVanitySubdomainConfigResponse429, type v1DeactivateVanitySubdomainConfigResponse500, type v1DeactivateVanitySubdomainConfigResponseError, type v1DeactivateVanitySubdomainConfigResponseSuccess, v1DeleteABranch, type v1DeleteABranchResponse, type v1DeleteABranchResponse200, type v1DeleteABranchResponse500, type v1DeleteABranchResponseError, type v1DeleteABranchResponseSuccess, v1DeleteAFunction, type v1DeleteAFunctionResponse, type v1DeleteAFunctionResponse200, type v1DeleteAFunctionResponse401, type v1DeleteAFunctionResponse403, type v1DeleteAFunctionResponse429, type v1DeleteAFunctionResponse500, type v1DeleteAFunctionResponseError, type v1DeleteAFunctionResponseSuccess, v1DeleteAProject, type v1DeleteAProjectResponse, type v1DeleteAProjectResponse200, type v1DeleteAProjectResponse401, type v1DeleteAProjectResponse403, type v1DeleteAProjectResponse429, type v1DeleteAProjectResponseError, type v1DeleteAProjectResponseSuccess, v1DeleteASsoProvider, type v1DeleteASsoProviderResponse, type v1DeleteASsoProviderResponse200, type v1DeleteASsoProviderResponse401, type v1DeleteASsoProviderResponse403, type v1DeleteASsoProviderResponse404, type v1DeleteASsoProviderResponse429, type v1DeleteASsoProviderResponseError, type v1DeleteASsoProviderResponseSuccess, v1DeleteHostnameConfig, type v1DeleteHostnameConfigResponse, type v1DeleteHostnameConfigResponse200, type v1DeleteHostnameConfigResponse401, type v1DeleteHostnameConfigResponse403, type v1DeleteHostnameConfigResponse429, type v1DeleteHostnameConfigResponse500, type v1DeleteHostnameConfigResponseError, type v1DeleteHostnameConfigResponseSuccess, v1DeleteJitAccess, type v1DeleteJitAccessResponse, type v1DeleteJitAccessResponse200, type v1DeleteJitAccessResponse401, type v1DeleteJitAccessResponse403, type v1DeleteJitAccessResponse429, type v1DeleteJitAccessResponse500, type v1DeleteJitAccessResponseError, type v1DeleteJitAccessResponseSuccess, v1DeleteLoginRoles, type v1DeleteLoginRolesResponse, type v1DeleteLoginRolesResponse200, type v1DeleteLoginRolesResponse401, type v1DeleteLoginRolesResponse403, type v1DeleteLoginRolesResponse429, type v1DeleteLoginRolesResponse500, type v1DeleteLoginRolesResponseError, type v1DeleteLoginRolesResponseSuccess, v1DeleteNetworkBans, type v1DeleteNetworkBansResponse, type v1DeleteNetworkBansResponse200, type v1DeleteNetworkBansResponse401, type v1DeleteNetworkBansResponse403, type v1DeleteNetworkBansResponse429, type v1DeleteNetworkBansResponse500, type v1DeleteNetworkBansResponseError, type v1DeleteNetworkBansResponseSuccess, v1DeleteProjectApiKey, type v1DeleteProjectApiKeyResponse, type v1DeleteProjectApiKeyResponse200, type v1DeleteProjectApiKeyResponse401, type v1DeleteProjectApiKeyResponse403, type v1DeleteProjectApiKeyResponse429, type v1DeleteProjectApiKeyResponseError, type v1DeleteProjectApiKeyResponseSuccess, v1DeleteProjectClaimToken, type v1DeleteProjectClaimTokenResponse, type v1DeleteProjectClaimTokenResponse204, type v1DeleteProjectClaimTokenResponse401, type v1DeleteProjectClaimTokenResponse403, type v1DeleteProjectClaimTokenResponse429, type v1DeleteProjectClaimTokenResponseError, type v1DeleteProjectClaimTokenResponseSuccess, v1DeleteProjectTpaIntegration, type v1DeleteProjectTpaIntegrationResponse, type v1DeleteProjectTpaIntegrationResponse200, type v1DeleteProjectTpaIntegrationResponse401, type v1DeleteProjectTpaIntegrationResponse403, type v1DeleteProjectTpaIntegrationResponse429, type v1DeleteProjectTpaIntegrationResponseError, type v1DeleteProjectTpaIntegrationResponseSuccess, v1DeployAFunction, type v1DeployAFunctionResponse, type v1DeployAFunctionResponse201, type v1DeployAFunctionResponse401, type v1DeployAFunctionResponse402, type v1DeployAFunctionResponse403, type v1DeployAFunctionResponse429, type v1DeployAFunctionResponse500, type v1DeployAFunctionResponseError, type v1DeployAFunctionResponseSuccess, v1DiffABranch, type v1DiffABranchResponse, type v1DiffABranchResponse200, type v1DiffABranchResponse500, type v1DiffABranchResponseError, type v1DiffABranchResponseSuccess, v1DisablePreviewBranching, type v1DisablePreviewBranchingResponse, type v1DisablePreviewBranchingResponse200, type v1DisablePreviewBranchingResponse401, type v1DisablePreviewBranchingResponse403, type v1DisablePreviewBranchingResponse429, type v1DisablePreviewBranchingResponse500, type v1DisablePreviewBranchingResponseError, type v1DisablePreviewBranchingResponseSuccess, v1DisableReadonlyModeTemporarily, type v1DisableReadonlyModeTemporarilyResponse, type v1DisableReadonlyModeTemporarilyResponse201, type v1DisableReadonlyModeTemporarilyResponse401, type v1DisableReadonlyModeTemporarilyResponse403, type v1DisableReadonlyModeTemporarilyResponse429, type v1DisableReadonlyModeTemporarilyResponse500, type v1DisableReadonlyModeTemporarilyResponseError, type v1DisableReadonlyModeTemporarilyResponseSuccess, v1EnableDatabaseWebhook, type v1EnableDatabaseWebhookResponse, type v1EnableDatabaseWebhookResponse201, type v1EnableDatabaseWebhookResponse401, type v1EnableDatabaseWebhookResponse403, type v1EnableDatabaseWebhookResponse429, type v1EnableDatabaseWebhookResponse500, type v1EnableDatabaseWebhookResponseError, type v1EnableDatabaseWebhookResponseSuccess, v1ExchangeOauthToken, type v1ExchangeOauthTokenResponse, type v1ExchangeOauthTokenResponse201, type v1ExchangeOauthTokenResponseSuccess, v1GenerateTypescriptTypes, type v1GenerateTypescriptTypesResponse, type v1GenerateTypescriptTypesResponse200, type v1GenerateTypescriptTypesResponse401, type v1GenerateTypescriptTypesResponse403, type v1GenerateTypescriptTypesResponse429, type v1GenerateTypescriptTypesResponse500, type v1GenerateTypescriptTypesResponseError, type v1GenerateTypescriptTypesResponseSuccess, v1GetABranch, v1GetABranchConfig, type v1GetABranchConfigResponse, type v1GetABranchConfigResponse200, type v1GetABranchConfigResponse500, type v1GetABranchConfigResponseError, type v1GetABranchConfigResponseSuccess, type v1GetABranchResponse, type v1GetABranchResponse200, type v1GetABranchResponse401, type v1GetABranchResponse403, type v1GetABranchResponse429, type v1GetABranchResponse500, type v1GetABranchResponseError, type v1GetABranchResponseSuccess, v1GetAFunction, v1GetAFunctionBody, type v1GetAFunctionBodyResponse, type v1GetAFunctionBodyResponse200, type v1GetAFunctionBodyResponse401, type v1GetAFunctionBodyResponse403, type v1GetAFunctionBodyResponse429, type v1GetAFunctionBodyResponse500, type v1GetAFunctionBodyResponseError, type v1GetAFunctionBodyResponseSuccess, type v1GetAFunctionResponse, type v1GetAFunctionResponse200, type v1GetAFunctionResponse401, type v1GetAFunctionResponse403, type v1GetAFunctionResponse429, type v1GetAFunctionResponse500, type v1GetAFunctionResponseError, type v1GetAFunctionResponseSuccess, v1GetAMigration, type v1GetAMigrationResponse, type v1GetAMigrationResponse200, type v1GetAMigrationResponse401, type v1GetAMigrationResponse403, type v1GetAMigrationResponse429, type v1GetAMigrationResponse500, type v1GetAMigrationResponseError, type v1GetAMigrationResponseSuccess, v1GetASnippet, type v1GetASnippetResponse, type v1GetASnippetResponse200, type v1GetASnippetResponse500, type v1GetASnippetResponseError, type v1GetASnippetResponseSuccess, v1GetASsoProvider, type v1GetASsoProviderResponse, type v1GetASsoProviderResponse200, type v1GetASsoProviderResponse401, type v1GetASsoProviderResponse403, type v1GetASsoProviderResponse404, type v1GetASsoProviderResponse429, type v1GetASsoProviderResponseError, type v1GetASsoProviderResponseSuccess, v1GetActionRun, v1GetActionRunLogs, type v1GetActionRunLogsResponse, type v1GetActionRunLogsResponse200, type v1GetActionRunLogsResponse401, type v1GetActionRunLogsResponse403, type v1GetActionRunLogsResponse429, type v1GetActionRunLogsResponse500, type v1GetActionRunLogsResponseError, type v1GetActionRunLogsResponseSuccess, type v1GetActionRunResponse, type v1GetActionRunResponse200, type v1GetActionRunResponse401, type v1GetActionRunResponse403, type v1GetActionRunResponse429, type v1GetActionRunResponse500, type v1GetActionRunResponseError, type v1GetActionRunResponseSuccess, v1GetAllProjectsForOrganization, type v1GetAllProjectsForOrganizationResponse, type v1GetAllProjectsForOrganizationResponse200, type v1GetAllProjectsForOrganizationResponse500, type v1GetAllProjectsForOrganizationResponseError, type v1GetAllProjectsForOrganizationResponseSuccess, v1GetAnOrganization, type v1GetAnOrganizationResponse, type v1GetAnOrganizationResponse200, type v1GetAnOrganizationResponse401, type v1GetAnOrganizationResponse403, type v1GetAnOrganizationResponse429, type v1GetAnOrganizationResponseError, type v1GetAnOrganizationResponseSuccess, v1GetAuthServiceConfig, type v1GetAuthServiceConfigResponse, type v1GetAuthServiceConfigResponse200, type v1GetAuthServiceConfigResponse401, type v1GetAuthServiceConfigResponse403, type v1GetAuthServiceConfigResponse429, type v1GetAuthServiceConfigResponse500, type v1GetAuthServiceConfigResponseError, type v1GetAuthServiceConfigResponseSuccess, v1GetAvailableRegions, type v1GetAvailableRegionsResponse, type v1GetAvailableRegionsResponse200, type v1GetAvailableRegionsResponseSuccess, v1GetDatabaseMetadata, type v1GetDatabaseMetadataResponse, type v1GetDatabaseMetadataResponse200, type v1GetDatabaseMetadataResponse401, type v1GetDatabaseMetadataResponse403, type v1GetDatabaseMetadataResponse429, type v1GetDatabaseMetadataResponseError, type v1GetDatabaseMetadataResponseSuccess, v1GetDiskUtilization, type v1GetDiskUtilizationResponse, type v1GetDiskUtilizationResponse200, type v1GetDiskUtilizationResponse401, type v1GetDiskUtilizationResponse403, type v1GetDiskUtilizationResponse429, type v1GetDiskUtilizationResponse500, type v1GetDiskUtilizationResponseError, type v1GetDiskUtilizationResponseSuccess, v1GetHostnameConfig, type v1GetHostnameConfigResponse, type v1GetHostnameConfigResponse200, type v1GetHostnameConfigResponse401, type v1GetHostnameConfigResponse403, type v1GetHostnameConfigResponse429, type v1GetHostnameConfigResponse500, type v1GetHostnameConfigResponseError, type v1GetHostnameConfigResponseSuccess, v1GetJitAccess, v1GetJitAccessConfig, type v1GetJitAccessConfigResponse, type v1GetJitAccessConfigResponse200, type v1GetJitAccessConfigResponse401, type v1GetJitAccessConfigResponse403, type v1GetJitAccessConfigResponse429, type v1GetJitAccessConfigResponse500, type v1GetJitAccessConfigResponseError, type v1GetJitAccessConfigResponseSuccess, type v1GetJitAccessResponse, type v1GetJitAccessResponse200, type v1GetJitAccessResponse401, type v1GetJitAccessResponse403, type v1GetJitAccessResponse429, type v1GetJitAccessResponse500, type v1GetJitAccessResponseError, type v1GetJitAccessResponseSuccess, v1GetLegacySigningKey, type v1GetLegacySigningKeyResponse, type v1GetLegacySigningKeyResponse200, type v1GetLegacySigningKeyResponse401, type v1GetLegacySigningKeyResponse403, type v1GetLegacySigningKeyResponse429, type v1GetLegacySigningKeyResponseError, type v1GetLegacySigningKeyResponseSuccess, v1GetNetworkRestrictions, type v1GetNetworkRestrictionsResponse, type v1GetNetworkRestrictionsResponse200, type v1GetNetworkRestrictionsResponse401, type v1GetNetworkRestrictionsResponse403, type v1GetNetworkRestrictionsResponse429, type v1GetNetworkRestrictionsResponse500, type v1GetNetworkRestrictionsResponseError, type v1GetNetworkRestrictionsResponseSuccess, v1GetOrganizationProjectClaim, type v1GetOrganizationProjectClaimResponse, type v1GetOrganizationProjectClaimResponse200, type v1GetOrganizationProjectClaimResponse401, type v1GetOrganizationProjectClaimResponse403, type v1GetOrganizationProjectClaimResponse429, type v1GetOrganizationProjectClaimResponseError, type v1GetOrganizationProjectClaimResponseSuccess, v1GetPerformanceAdvisors, type v1GetPerformanceAdvisorsResponse, type v1GetPerformanceAdvisorsResponse200, type v1GetPerformanceAdvisorsResponse401, type v1GetPerformanceAdvisorsResponse403, type v1GetPerformanceAdvisorsResponse429, type v1GetPerformanceAdvisorsResponseError, type v1GetPerformanceAdvisorsResponseSuccess, v1GetPgsodiumConfig, type v1GetPgsodiumConfigResponse, type v1GetPgsodiumConfigResponse200, type v1GetPgsodiumConfigResponse401, type v1GetPgsodiumConfigResponse403, type v1GetPgsodiumConfigResponse429, type v1GetPgsodiumConfigResponse500, type v1GetPgsodiumConfigResponseError, type v1GetPgsodiumConfigResponseSuccess, v1GetPoolerConfig, type v1GetPoolerConfigResponse, type v1GetPoolerConfigResponse200, type v1GetPoolerConfigResponse401, type v1GetPoolerConfigResponse403, type v1GetPoolerConfigResponse429, type v1GetPoolerConfigResponse500, type v1GetPoolerConfigResponseError, type v1GetPoolerConfigResponseSuccess, v1GetPostgresConfig, type v1GetPostgresConfigResponse, type v1GetPostgresConfigResponse200, type v1GetPostgresConfigResponse401, type v1GetPostgresConfigResponse403, type v1GetPostgresConfigResponse429, type v1GetPostgresConfigResponse500, type v1GetPostgresConfigResponseError, type v1GetPostgresConfigResponseSuccess, v1GetPostgresUpgradeEligibility, type v1GetPostgresUpgradeEligibilityResponse, type v1GetPostgresUpgradeEligibilityResponse200, type v1GetPostgresUpgradeEligibilityResponse401, type v1GetPostgresUpgradeEligibilityResponse403, type v1GetPostgresUpgradeEligibilityResponse429, type v1GetPostgresUpgradeEligibilityResponse500, type v1GetPostgresUpgradeEligibilityResponseError, type v1GetPostgresUpgradeEligibilityResponseSuccess, v1GetPostgresUpgradeStatus, type v1GetPostgresUpgradeStatusResponse, type v1GetPostgresUpgradeStatusResponse200, type v1GetPostgresUpgradeStatusResponse401, type v1GetPostgresUpgradeStatusResponse403, type v1GetPostgresUpgradeStatusResponse429, type v1GetPostgresUpgradeStatusResponse500, type v1GetPostgresUpgradeStatusResponseError, type v1GetPostgresUpgradeStatusResponseSuccess, v1GetPostgrestServiceConfig, type v1GetPostgrestServiceConfigResponse, type v1GetPostgrestServiceConfigResponse200, type v1GetPostgrestServiceConfigResponse401, type v1GetPostgrestServiceConfigResponse403, type v1GetPostgrestServiceConfigResponse429, type v1GetPostgrestServiceConfigResponse500, type v1GetPostgrestServiceConfigResponseError, type v1GetPostgrestServiceConfigResponseSuccess, v1GetProject, v1GetProjectApiKey, type v1GetProjectApiKeyResponse, type v1GetProjectApiKeyResponse200, type v1GetProjectApiKeyResponse401, type v1GetProjectApiKeyResponse403, type v1GetProjectApiKeyResponse429, type v1GetProjectApiKeyResponseError, type v1GetProjectApiKeyResponseSuccess, v1GetProjectApiKeys, type v1GetProjectApiKeysResponse, type v1GetProjectApiKeysResponse200, type v1GetProjectApiKeysResponse401, type v1GetProjectApiKeysResponse403, type v1GetProjectApiKeysResponse429, type v1GetProjectApiKeysResponseError, type v1GetProjectApiKeysResponseSuccess, v1GetProjectClaimToken, type v1GetProjectClaimTokenResponse, type v1GetProjectClaimTokenResponse200, type v1GetProjectClaimTokenResponse401, type v1GetProjectClaimTokenResponse403, type v1GetProjectClaimTokenResponse429, type v1GetProjectClaimTokenResponseError, type v1GetProjectClaimTokenResponseSuccess, v1GetProjectDiskAutoscaleConfig, type v1GetProjectDiskAutoscaleConfigResponse, type v1GetProjectDiskAutoscaleConfigResponse200, type v1GetProjectDiskAutoscaleConfigResponse401, type v1GetProjectDiskAutoscaleConfigResponse403, type v1GetProjectDiskAutoscaleConfigResponse429, type v1GetProjectDiskAutoscaleConfigResponse500, type v1GetProjectDiskAutoscaleConfigResponseError, type v1GetProjectDiskAutoscaleConfigResponseSuccess, v1GetProjectFunctionCombinedStats, type v1GetProjectFunctionCombinedStatsResponse, type v1GetProjectFunctionCombinedStatsResponse200, type v1GetProjectFunctionCombinedStatsResponse401, type v1GetProjectFunctionCombinedStatsResponse403, type v1GetProjectFunctionCombinedStatsResponse429, type v1GetProjectFunctionCombinedStatsResponse500, type v1GetProjectFunctionCombinedStatsResponseError, type v1GetProjectFunctionCombinedStatsResponseSuccess, v1GetProjectLegacyApiKeys, type v1GetProjectLegacyApiKeysResponse, type v1GetProjectLegacyApiKeysResponse200, type v1GetProjectLegacyApiKeysResponse401, type v1GetProjectLegacyApiKeysResponse403, type v1GetProjectLegacyApiKeysResponse429, type v1GetProjectLegacyApiKeysResponseError, type v1GetProjectLegacyApiKeysResponseSuccess, v1GetProjectLogs, type v1GetProjectLogsResponse, type v1GetProjectLogsResponse200, type v1GetProjectLogsResponse401, type v1GetProjectLogsResponse403, type v1GetProjectLogsResponse429, type v1GetProjectLogsResponseError, type v1GetProjectLogsResponseSuccess, v1GetProjectPgbouncerConfig, type v1GetProjectPgbouncerConfigResponse, type v1GetProjectPgbouncerConfigResponse200, type v1GetProjectPgbouncerConfigResponse401, type v1GetProjectPgbouncerConfigResponse403, type v1GetProjectPgbouncerConfigResponse429, type v1GetProjectPgbouncerConfigResponse500, type v1GetProjectPgbouncerConfigResponseError, type v1GetProjectPgbouncerConfigResponseSuccess, type v1GetProjectResponse, type v1GetProjectResponse200, type v1GetProjectResponse401, type v1GetProjectResponse403, type v1GetProjectResponse429, type v1GetProjectResponse500, type v1GetProjectResponseError, type v1GetProjectResponseSuccess, v1GetProjectSigningKey, type v1GetProjectSigningKeyResponse, type v1GetProjectSigningKeyResponse200, type v1GetProjectSigningKeyResponse401, type v1GetProjectSigningKeyResponse403, type v1GetProjectSigningKeyResponse429, type v1GetProjectSigningKeyResponseError, type v1GetProjectSigningKeyResponseSuccess, v1GetProjectSigningKeys, type v1GetProjectSigningKeysResponse, type v1GetProjectSigningKeysResponse200, type v1GetProjectSigningKeysResponse401, type v1GetProjectSigningKeysResponse403, type v1GetProjectSigningKeysResponse429, type v1GetProjectSigningKeysResponseError, type v1GetProjectSigningKeysResponseSuccess, v1GetProjectTpaIntegration, type v1GetProjectTpaIntegrationResponse, type v1GetProjectTpaIntegrationResponse200, type v1GetProjectTpaIntegrationResponse401, type v1GetProjectTpaIntegrationResponse403, type v1GetProjectTpaIntegrationResponse429, type v1GetProjectTpaIntegrationResponseError, type v1GetProjectTpaIntegrationResponseSuccess, v1GetProjectUsageApiCount, type v1GetProjectUsageApiCountResponse, type v1GetProjectUsageApiCountResponse200, type v1GetProjectUsageApiCountResponse401, type v1GetProjectUsageApiCountResponse403, type v1GetProjectUsageApiCountResponse429, type v1GetProjectUsageApiCountResponse500, type v1GetProjectUsageApiCountResponseError, type v1GetProjectUsageApiCountResponseSuccess, v1GetProjectUsageRequestCount, type v1GetProjectUsageRequestCountResponse, type v1GetProjectUsageRequestCountResponse200, type v1GetProjectUsageRequestCountResponse401, type v1GetProjectUsageRequestCountResponse403, type v1GetProjectUsageRequestCountResponse429, type v1GetProjectUsageRequestCountResponse500, type v1GetProjectUsageRequestCountResponseError, type v1GetProjectUsageRequestCountResponseSuccess, v1GetReadonlyModeStatus, type v1GetReadonlyModeStatusResponse, type v1GetReadonlyModeStatusResponse200, type v1GetReadonlyModeStatusResponse401, type v1GetReadonlyModeStatusResponse403, type v1GetReadonlyModeStatusResponse429, type v1GetReadonlyModeStatusResponse500, type v1GetReadonlyModeStatusResponseError, type v1GetReadonlyModeStatusResponseSuccess, v1GetRealtimeConfig, type v1GetRealtimeConfigResponse, type v1GetRealtimeConfigResponse200, type v1GetRealtimeConfigResponse401, type v1GetRealtimeConfigResponse403, type v1GetRealtimeConfigResponse429, type v1GetRealtimeConfigResponseError, type v1GetRealtimeConfigResponseSuccess, v1GetRestorePoint, type v1GetRestorePointResponse, type v1GetRestorePointResponse200, type v1GetRestorePointResponse401, type v1GetRestorePointResponse403, type v1GetRestorePointResponse429, type v1GetRestorePointResponse500, type v1GetRestorePointResponseError, type v1GetRestorePointResponseSuccess, v1GetSecurityAdvisors, type v1GetSecurityAdvisorsResponse, type v1GetSecurityAdvisorsResponse200, type v1GetSecurityAdvisorsResponse401, type v1GetSecurityAdvisorsResponse403, type v1GetSecurityAdvisorsResponse429, type v1GetSecurityAdvisorsResponseError, type v1GetSecurityAdvisorsResponseSuccess, v1GetServicesHealth, type v1GetServicesHealthResponse, type v1GetServicesHealthResponse200, type v1GetServicesHealthResponse401, type v1GetServicesHealthResponse403, type v1GetServicesHealthResponse429, type v1GetServicesHealthResponse500, type v1GetServicesHealthResponseError, type v1GetServicesHealthResponseSuccess, v1GetSslEnforcementConfig, type v1GetSslEnforcementConfigResponse, type v1GetSslEnforcementConfigResponse200, type v1GetSslEnforcementConfigResponse401, type v1GetSslEnforcementConfigResponse403, type v1GetSslEnforcementConfigResponse429, type v1GetSslEnforcementConfigResponse500, type v1GetSslEnforcementConfigResponseError, type v1GetSslEnforcementConfigResponseSuccess, v1GetStorageConfig, type v1GetStorageConfigResponse, type v1GetStorageConfigResponse200, type v1GetStorageConfigResponse401, type v1GetStorageConfigResponse403, type v1GetStorageConfigResponse429, type v1GetStorageConfigResponse500, type v1GetStorageConfigResponseError, type v1GetStorageConfigResponseSuccess, v1GetVanitySubdomainConfig, type v1GetVanitySubdomainConfigResponse, type v1GetVanitySubdomainConfigResponse200, type v1GetVanitySubdomainConfigResponse401, type v1GetVanitySubdomainConfigResponse403, type v1GetVanitySubdomainConfigResponse429, type v1GetVanitySubdomainConfigResponse500, type v1GetVanitySubdomainConfigResponseError, type v1GetVanitySubdomainConfigResponseSuccess, v1ListActionRuns, type v1ListActionRunsResponse, type v1ListActionRunsResponse200, type v1ListActionRunsResponse401, type v1ListActionRunsResponse403, type v1ListActionRunsResponse429, type v1ListActionRunsResponse500, type v1ListActionRunsResponseError, type v1ListActionRunsResponseSuccess, v1ListAllBackups, type v1ListAllBackupsResponse, type v1ListAllBackupsResponse200, type v1ListAllBackupsResponse401, type v1ListAllBackupsResponse403, type v1ListAllBackupsResponse429, type v1ListAllBackupsResponse500, type v1ListAllBackupsResponseError, type v1ListAllBackupsResponseSuccess, v1ListAllBranches, type v1ListAllBranchesResponse, type v1ListAllBranchesResponse200, type v1ListAllBranchesResponse401, type v1ListAllBranchesResponse403, type v1ListAllBranchesResponse429, type v1ListAllBranchesResponse500, type v1ListAllBranchesResponseError, type v1ListAllBranchesResponseSuccess, v1ListAllBuckets, type v1ListAllBucketsResponse, type v1ListAllBucketsResponse200, type v1ListAllBucketsResponse401, type v1ListAllBucketsResponse403, type v1ListAllBucketsResponse429, type v1ListAllBucketsResponse500, type v1ListAllBucketsResponseError, type v1ListAllBucketsResponseSuccess, v1ListAllFunctions, type v1ListAllFunctionsResponse, type v1ListAllFunctionsResponse200, type v1ListAllFunctionsResponse401, type v1ListAllFunctionsResponse403, type v1ListAllFunctionsResponse429, type v1ListAllFunctionsResponse500, type v1ListAllFunctionsResponseError, type v1ListAllFunctionsResponseSuccess, v1ListAllNetworkBans, v1ListAllNetworkBansEnriched, type v1ListAllNetworkBansEnrichedResponse, type v1ListAllNetworkBansEnrichedResponse201, type v1ListAllNetworkBansEnrichedResponse401, type v1ListAllNetworkBansEnrichedResponse403, type v1ListAllNetworkBansEnrichedResponse429, type v1ListAllNetworkBansEnrichedResponse500, type v1ListAllNetworkBansEnrichedResponseError, type v1ListAllNetworkBansEnrichedResponseSuccess, type v1ListAllNetworkBansResponse, type v1ListAllNetworkBansResponse201, type v1ListAllNetworkBansResponse401, type v1ListAllNetworkBansResponse403, type v1ListAllNetworkBansResponse429, type v1ListAllNetworkBansResponse500, type v1ListAllNetworkBansResponseError, type v1ListAllNetworkBansResponseSuccess, v1ListAllOrganizations, type v1ListAllOrganizationsResponse, type v1ListAllOrganizationsResponse200, type v1ListAllOrganizationsResponse500, type v1ListAllOrganizationsResponseError, type v1ListAllOrganizationsResponseSuccess, v1ListAllProjects, type v1ListAllProjectsResponse, type v1ListAllProjectsResponse200, type v1ListAllProjectsResponseSuccess, v1ListAllSecrets, type v1ListAllSecretsResponse, type v1ListAllSecretsResponse200, type v1ListAllSecretsResponse401, type v1ListAllSecretsResponse403, type v1ListAllSecretsResponse429, type v1ListAllSecretsResponse500, type v1ListAllSecretsResponseError, type v1ListAllSecretsResponseSuccess, v1ListAllSnippets, type v1ListAllSnippetsResponse, type v1ListAllSnippetsResponse200, type v1ListAllSnippetsResponse500, type v1ListAllSnippetsResponseError, type v1ListAllSnippetsResponseSuccess, v1ListAllSsoProvider, type v1ListAllSsoProviderResponse, type v1ListAllSsoProviderResponse200, type v1ListAllSsoProviderResponse401, type v1ListAllSsoProviderResponse403, type v1ListAllSsoProviderResponse404, type v1ListAllSsoProviderResponse429, type v1ListAllSsoProviderResponseError, type v1ListAllSsoProviderResponseSuccess, v1ListAvailableRestoreVersions, type v1ListAvailableRestoreVersionsResponse, type v1ListAvailableRestoreVersionsResponse200, type v1ListAvailableRestoreVersionsResponse401, type v1ListAvailableRestoreVersionsResponse403, type v1ListAvailableRestoreVersionsResponse429, type v1ListAvailableRestoreVersionsResponseError, type v1ListAvailableRestoreVersionsResponseSuccess, v1ListJitAccess, type v1ListJitAccessResponse, type v1ListJitAccessResponse200, type v1ListJitAccessResponse401, type v1ListJitAccessResponse403, type v1ListJitAccessResponse429, type v1ListJitAccessResponse500, type v1ListJitAccessResponseError, type v1ListJitAccessResponseSuccess, v1ListMigrationHistory, type v1ListMigrationHistoryResponse, type v1ListMigrationHistoryResponse200, type v1ListMigrationHistoryResponse401, type v1ListMigrationHistoryResponse403, type v1ListMigrationHistoryResponse429, type v1ListMigrationHistoryResponse500, type v1ListMigrationHistoryResponseError, type v1ListMigrationHistoryResponseSuccess, v1ListOrganizationMembers, type v1ListOrganizationMembersResponse, type v1ListOrganizationMembersResponse200, type v1ListOrganizationMembersResponseSuccess, v1ListProjectAddons, type v1ListProjectAddonsResponse, type v1ListProjectAddonsResponse200, type v1ListProjectAddonsResponse401, type v1ListProjectAddonsResponse403, type v1ListProjectAddonsResponse429, type v1ListProjectAddonsResponse500, type v1ListProjectAddonsResponseError, type v1ListProjectAddonsResponseSuccess, v1ListProjectTpaIntegrations, type v1ListProjectTpaIntegrationsResponse, type v1ListProjectTpaIntegrationsResponse200, type v1ListProjectTpaIntegrationsResponse401, type v1ListProjectTpaIntegrationsResponse403, type v1ListProjectTpaIntegrationsResponse429, type v1ListProjectTpaIntegrationsResponseError, type v1ListProjectTpaIntegrationsResponseSuccess, v1MergeABranch, type v1MergeABranchResponse, type v1MergeABranchResponse201, type v1MergeABranchResponse500, type v1MergeABranchResponseError, type v1MergeABranchResponseSuccess, v1ModifyDatabaseDisk, type v1ModifyDatabaseDiskResponse, type v1ModifyDatabaseDiskResponse201, type v1ModifyDatabaseDiskResponse401, type v1ModifyDatabaseDiskResponse403, type v1ModifyDatabaseDiskResponse429, type v1ModifyDatabaseDiskResponse500, type v1ModifyDatabaseDiskResponseError, type v1ModifyDatabaseDiskResponseSuccess, v1OauthAuthorizeProjectClaim, type v1OauthAuthorizeProjectClaimResponse, type v1OauthAuthorizeProjectClaimResponse204, type v1OauthAuthorizeProjectClaimResponseSuccess, v1PatchAMigration, type v1PatchAMigrationResponse, type v1PatchAMigrationResponse200, type v1PatchAMigrationResponse401, type v1PatchAMigrationResponse403, type v1PatchAMigrationResponse429, type v1PatchAMigrationResponse500, type v1PatchAMigrationResponseError, type v1PatchAMigrationResponseSuccess, v1PatchNetworkRestrictions, type v1PatchNetworkRestrictionsResponse, type v1PatchNetworkRestrictionsResponse200, type v1PatchNetworkRestrictionsResponse401, type v1PatchNetworkRestrictionsResponse403, type v1PatchNetworkRestrictionsResponse429, type v1PatchNetworkRestrictionsResponse500, type v1PatchNetworkRestrictionsResponseError, type v1PatchNetworkRestrictionsResponseSuccess, v1PauseAProject, type v1PauseAProjectResponse, type v1PauseAProjectResponse200, type v1PauseAProjectResponse401, type v1PauseAProjectResponse403, type v1PauseAProjectResponse429, type v1PauseAProjectResponseError, type v1PauseAProjectResponseSuccess, v1PushABranch, type v1PushABranchResponse, type v1PushABranchResponse201, type v1PushABranchResponse500, type v1PushABranchResponseError, type v1PushABranchResponseSuccess, v1ReadOnlyQuery, type v1ReadOnlyQueryResponse, type v1ReadOnlyQueryResponse201, type v1ReadOnlyQueryResponse401, type v1ReadOnlyQueryResponse403, type v1ReadOnlyQueryResponse429, type v1ReadOnlyQueryResponse500, type v1ReadOnlyQueryResponseError, type v1ReadOnlyQueryResponseSuccess, v1RemoveAReadReplica, type v1RemoveAReadReplicaResponse, type v1RemoveAReadReplicaResponse201, type v1RemoveAReadReplicaResponse401, type v1RemoveAReadReplicaResponse403, type v1RemoveAReadReplicaResponse429, type v1RemoveAReadReplicaResponse500, type v1RemoveAReadReplicaResponseError, type v1RemoveAReadReplicaResponseSuccess, v1RemoveProjectAddon, type v1RemoveProjectAddonResponse, type v1RemoveProjectAddonResponse200, type v1RemoveProjectAddonResponse401, type v1RemoveProjectAddonResponse403, type v1RemoveProjectAddonResponse429, type v1RemoveProjectAddonResponse500, type v1RemoveProjectAddonResponseError, type v1RemoveProjectAddonResponseSuccess, v1RemoveProjectSigningKey, type v1RemoveProjectSigningKeyResponse, type v1RemoveProjectSigningKeyResponse200, type v1RemoveProjectSigningKeyResponse401, type v1RemoveProjectSigningKeyResponse403, type v1RemoveProjectSigningKeyResponse429, type v1RemoveProjectSigningKeyResponseError, type v1RemoveProjectSigningKeyResponseSuccess, v1ResetABranch, type v1ResetABranchResponse, type v1ResetABranchResponse201, type v1ResetABranchResponse500, type v1ResetABranchResponseError, type v1ResetABranchResponseSuccess, v1RestoreABranch, type v1RestoreABranchResponse, type v1RestoreABranchResponse200, type v1RestoreABranchResponse500, type v1RestoreABranchResponseError, type v1RestoreABranchResponseSuccess, v1RestoreAProject, type v1RestoreAProjectResponse, type v1RestoreAProjectResponse200, type v1RestoreAProjectResponse401, type v1RestoreAProjectResponse403, type v1RestoreAProjectResponse429, type v1RestoreAProjectResponseError, type v1RestoreAProjectResponseSuccess, v1RestorePitrBackup, type v1RestorePitrBackupResponse, type v1RestorePitrBackupResponse201, type v1RestorePitrBackupResponse401, type v1RestorePitrBackupResponse403, type v1RestorePitrBackupResponse429, type v1RestorePitrBackupResponseError, type v1RestorePitrBackupResponseSuccess, v1RevokeToken, type v1RevokeTokenResponse, type v1RevokeTokenResponse204, type v1RevokeTokenResponseSuccess, v1RollbackMigrations, type v1RollbackMigrationsResponse, type v1RollbackMigrationsResponse200, type v1RollbackMigrationsResponse401, type v1RollbackMigrationsResponse403, type v1RollbackMigrationsResponse429, type v1RollbackMigrationsResponse500, type v1RollbackMigrationsResponseError, type v1RollbackMigrationsResponseSuccess, v1RunAQuery, type v1RunAQueryResponse, type v1RunAQueryResponse201, type v1RunAQueryResponse401, type v1RunAQueryResponse403, type v1RunAQueryResponse429, type v1RunAQueryResponse500, type v1RunAQueryResponseError, type v1RunAQueryResponseSuccess, v1SetupAReadReplica, type v1SetupAReadReplicaResponse, type v1SetupAReadReplicaResponse201, type v1SetupAReadReplicaResponse401, type v1SetupAReadReplicaResponse403, type v1SetupAReadReplicaResponse429, type v1SetupAReadReplicaResponse500, type v1SetupAReadReplicaResponseError, type v1SetupAReadReplicaResponseSuccess, v1ShutdownRealtime, type v1ShutdownRealtimeResponse, type v1ShutdownRealtimeResponse204, type v1ShutdownRealtimeResponse401, type v1ShutdownRealtimeResponse403, type v1ShutdownRealtimeResponse404, type v1ShutdownRealtimeResponse429, type v1ShutdownRealtimeResponseError, type v1ShutdownRealtimeResponseSuccess, v1Undo, type v1UndoResponse, type v1UndoResponse201, type v1UndoResponse401, type v1UndoResponse403, type v1UndoResponse429, type v1UndoResponseError, type v1UndoResponseSuccess, v1UpdateABranchConfig, type v1UpdateABranchConfigResponse, type v1UpdateABranchConfigResponse200, type v1UpdateABranchConfigResponse500, type v1UpdateABranchConfigResponseError, type v1UpdateABranchConfigResponseSuccess, v1UpdateAFunction, type v1UpdateAFunctionResponse, type v1UpdateAFunctionResponse200, type v1UpdateAFunctionResponse401, type v1UpdateAFunctionResponse403, type v1UpdateAFunctionResponse429, type v1UpdateAFunctionResponse500, type v1UpdateAFunctionResponseError, type v1UpdateAFunctionResponseSuccess, v1UpdateAProject, type v1UpdateAProjectResponse, type v1UpdateAProjectResponse200, type v1UpdateAProjectResponse401, type v1UpdateAProjectResponse403, type v1UpdateAProjectResponse429, type v1UpdateAProjectResponse500, type v1UpdateAProjectResponseError, type v1UpdateAProjectResponseSuccess, v1UpdateASsoProvider, type v1UpdateASsoProviderResponse, type v1UpdateASsoProviderResponse200, type v1UpdateASsoProviderResponse401, type v1UpdateASsoProviderResponse403, type v1UpdateASsoProviderResponse404, type v1UpdateASsoProviderResponse429, type v1UpdateASsoProviderResponseError, type v1UpdateASsoProviderResponseSuccess, v1UpdateActionRunStatus, type v1UpdateActionRunStatusResponse, type v1UpdateActionRunStatusResponse200, type v1UpdateActionRunStatusResponse401, type v1UpdateActionRunStatusResponse403, type v1UpdateActionRunStatusResponse429, type v1UpdateActionRunStatusResponse500, type v1UpdateActionRunStatusResponseError, type v1UpdateActionRunStatusResponseSuccess, v1UpdateAuthServiceConfig, type v1UpdateAuthServiceConfigResponse, type v1UpdateAuthServiceConfigResponse200, type v1UpdateAuthServiceConfigResponse401, type v1UpdateAuthServiceConfigResponse403, type v1UpdateAuthServiceConfigResponse429, type v1UpdateAuthServiceConfigResponse500, type v1UpdateAuthServiceConfigResponseError, type v1UpdateAuthServiceConfigResponseSuccess, v1UpdateDatabasePassword, type v1UpdateDatabasePasswordResponse, type v1UpdateDatabasePasswordResponse200, type v1UpdateDatabasePasswordResponse401, type v1UpdateDatabasePasswordResponse403, type v1UpdateDatabasePasswordResponse429, type v1UpdateDatabasePasswordResponse500, type v1UpdateDatabasePasswordResponseError, type v1UpdateDatabasePasswordResponseSuccess, v1UpdateHostnameConfig, type v1UpdateHostnameConfigResponse, type v1UpdateHostnameConfigResponse201, type v1UpdateHostnameConfigResponse401, type v1UpdateHostnameConfigResponse403, type v1UpdateHostnameConfigResponse429, type v1UpdateHostnameConfigResponse500, type v1UpdateHostnameConfigResponseError, type v1UpdateHostnameConfigResponseSuccess, v1UpdateJitAccess, v1UpdateJitAccessConfig, type v1UpdateJitAccessConfigResponse, type v1UpdateJitAccessConfigResponse200, type v1UpdateJitAccessConfigResponse401, type v1UpdateJitAccessConfigResponse403, type v1UpdateJitAccessConfigResponse429, type v1UpdateJitAccessConfigResponse500, type v1UpdateJitAccessConfigResponseError, type v1UpdateJitAccessConfigResponseSuccess, type v1UpdateJitAccessResponse, type v1UpdateJitAccessResponse200, type v1UpdateJitAccessResponse401, type v1UpdateJitAccessResponse403, type v1UpdateJitAccessResponse429, type v1UpdateJitAccessResponse500, type v1UpdateJitAccessResponseError, type v1UpdateJitAccessResponseSuccess, v1UpdateNetworkRestrictions, type v1UpdateNetworkRestrictionsResponse, type v1UpdateNetworkRestrictionsResponse201, type v1UpdateNetworkRestrictionsResponse401, type v1UpdateNetworkRestrictionsResponse403, type v1UpdateNetworkRestrictionsResponse429, type v1UpdateNetworkRestrictionsResponse500, type v1UpdateNetworkRestrictionsResponseError, type v1UpdateNetworkRestrictionsResponseSuccess, v1UpdatePgsodiumConfig, type v1UpdatePgsodiumConfigResponse, type v1UpdatePgsodiumConfigResponse200, type v1UpdatePgsodiumConfigResponse401, type v1UpdatePgsodiumConfigResponse403, type v1UpdatePgsodiumConfigResponse429, type v1UpdatePgsodiumConfigResponse500, type v1UpdatePgsodiumConfigResponseError, type v1UpdatePgsodiumConfigResponseSuccess, v1UpdatePoolerConfig, type v1UpdatePoolerConfigResponse, type v1UpdatePoolerConfigResponse200, type v1UpdatePoolerConfigResponse401, type v1UpdatePoolerConfigResponse403, type v1UpdatePoolerConfigResponse429, type v1UpdatePoolerConfigResponse500, type v1UpdatePoolerConfigResponseError, type v1UpdatePoolerConfigResponseSuccess, v1UpdatePostgresConfig, type v1UpdatePostgresConfigResponse, type v1UpdatePostgresConfigResponse200, type v1UpdatePostgresConfigResponse401, type v1UpdatePostgresConfigResponse403, type v1UpdatePostgresConfigResponse429, type v1UpdatePostgresConfigResponse500, type v1UpdatePostgresConfigResponseError, type v1UpdatePostgresConfigResponseSuccess, v1UpdatePostgrestServiceConfig, type v1UpdatePostgrestServiceConfigResponse, type v1UpdatePostgrestServiceConfigResponse200, type v1UpdatePostgrestServiceConfigResponse401, type v1UpdatePostgrestServiceConfigResponse403, type v1UpdatePostgrestServiceConfigResponse429, type v1UpdatePostgrestServiceConfigResponse500, type v1UpdatePostgrestServiceConfigResponseError, type v1UpdatePostgrestServiceConfigResponseSuccess, v1UpdateProjectApiKey, type v1UpdateProjectApiKeyResponse, type v1UpdateProjectApiKeyResponse200, type v1UpdateProjectApiKeyResponse401, type v1UpdateProjectApiKeyResponse403, type v1UpdateProjectApiKeyResponse429, type v1UpdateProjectApiKeyResponseError, type v1UpdateProjectApiKeyResponseSuccess, v1UpdateProjectLegacyApiKeys, type v1UpdateProjectLegacyApiKeysResponse, type v1UpdateProjectLegacyApiKeysResponse200, type v1UpdateProjectLegacyApiKeysResponse401, type v1UpdateProjectLegacyApiKeysResponse403, type v1UpdateProjectLegacyApiKeysResponse429, type v1UpdateProjectLegacyApiKeysResponseError, type v1UpdateProjectLegacyApiKeysResponseSuccess, v1UpdateProjectSigningKey, type v1UpdateProjectSigningKeyResponse, type v1UpdateProjectSigningKeyResponse200, type v1UpdateProjectSigningKeyResponse401, type v1UpdateProjectSigningKeyResponse403, type v1UpdateProjectSigningKeyResponse429, type v1UpdateProjectSigningKeyResponseError, type v1UpdateProjectSigningKeyResponseSuccess, v1UpdateRealtimeConfig, type v1UpdateRealtimeConfigResponse, type v1UpdateRealtimeConfigResponse204, type v1UpdateRealtimeConfigResponse401, type v1UpdateRealtimeConfigResponse403, type v1UpdateRealtimeConfigResponse429, type v1UpdateRealtimeConfigResponseError, type v1UpdateRealtimeConfigResponseSuccess, v1UpdateSslEnforcementConfig, type v1UpdateSslEnforcementConfigResponse, type v1UpdateSslEnforcementConfigResponse200, type v1UpdateSslEnforcementConfigResponse401, type v1UpdateSslEnforcementConfigResponse403, type v1UpdateSslEnforcementConfigResponse429, type v1UpdateSslEnforcementConfigResponse500, type v1UpdateSslEnforcementConfigResponseError, type v1UpdateSslEnforcementConfigResponseSuccess, v1UpdateStorageConfig, type v1UpdateStorageConfigResponse, type v1UpdateStorageConfigResponse200, type v1UpdateStorageConfigResponse401, type v1UpdateStorageConfigResponse403, type v1UpdateStorageConfigResponse429, type v1UpdateStorageConfigResponse500, type v1UpdateStorageConfigResponseError, type v1UpdateStorageConfigResponseSuccess, v1UpgradePostgresVersion, type v1UpgradePostgresVersionResponse, type v1UpgradePostgresVersionResponse201, type v1UpgradePostgresVersionResponse401, type v1UpgradePostgresVersionResponse403, type v1UpgradePostgresVersionResponse429, type v1UpgradePostgresVersionResponse500, type v1UpgradePostgresVersionResponseError, type v1UpgradePostgresVersionResponseSuccess, v1UpsertAMigration, type v1UpsertAMigrationResponse, type v1UpsertAMigrationResponse200, type v1UpsertAMigrationResponse401, type v1UpsertAMigrationResponse403, type v1UpsertAMigrationResponse429, type v1UpsertAMigrationResponse500, type v1UpsertAMigrationResponseError, type v1UpsertAMigrationResponseSuccess, v1VerifyDnsConfig, type v1VerifyDnsConfigResponse, type v1VerifyDnsConfigResponse201, type v1VerifyDnsConfigResponse401, type v1VerifyDnsConfigResponse403, type v1VerifyDnsConfigResponse429, type v1VerifyDnsConfigResponse500, type v1VerifyDnsConfigResponseError, type v1VerifyDnsConfigResponseSuccess };