Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

update walg chekc on read replicas page (#23283)

Joshen Lim154632921f89
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx
index acb257b643a..cbcc60d981c 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx
@@ -1,4 +1,5 @@
import { useParams } from 'common'
+import { ExternalLink } from 'lucide-react'
import Link from 'next/link'
import { useEffect, useState } from 'react'
import toast from 'react-hot-toast'
@@ -11,17 +12,16 @@ import {
SidePanel,
} from 'ui'
-import { WarningIcon } from 'ui-patterns/Icons/StatusIcons'
+import { useEnablePhysicalBackupsMutation } from 'data/database/enable-physical-backups-mutation'
+import { useProjectDetailQuery } from 'data/projects/project-detail-query'
import { Region, useReadReplicaSetUpMutation } from 'data/read-replicas/replica-setup-mutation'
import { useReadReplicasQuery } from 'data/read-replicas/replicas-query'
import { useOrgSubscriptionQuery } from 'data/subscriptions/org-subscription-query'
import { useProjectAddonsQuery } from 'data/subscriptions/project-addons-query'
import { useSelectedOrganization, useSelectedProject } from 'hooks'
import { AWS_REGIONS, AWS_REGIONS_DEFAULT, AWS_REGIONS_KEYS, BASE_PATH } from 'lib/constants'
+import { WarningIcon } from 'ui-patterns/Icons/StatusIcons'
import { AVAILABLE_REPLICA_REGIONS, AWS_REGIONS_VALUES } from './InstanceConfiguration.constants'
-import { useBackupsQuery } from 'data/database/backups-query'
-import { useEnablePhysicalBackupsMutation } from 'data/database/enable-physical-backups-mutation'
-import { ExternalLink } from 'lucide-react'
// [Joshen] FYI this is purely for AWS only, need to update to support Fly eventually
@@ -44,16 +44,17 @@ const DeployNewReplicaPanel = ({
const [refetchInterval, setRefetchInterval] = useState<number | false>(false)
const { data } = useReadReplicasQuery({ projectRef })
- const { data: backups } = useBackupsQuery(
- { projectRef },
+ useProjectDetailQuery(
+ { ref: projectRef },
{
refetchInterval,
refetchOnWindowFocus: false,
onSuccess: (data) => {
- if (data.walg_enabled) setRefetchInterval(false)
+ if (data.is_physical_backups_enabled) setRefetchInterval(false)
},
}
)
+
const { data: addons, isSuccess } = useProjectAddonsQuery({ projectRef })
const { data: subscription } = useOrgSubscriptionQuery({ orgSlug: org?.slug })
@@ -83,7 +84,7 @@ const DeployNewReplicaPanel = ({
const reachedMaxReplicas = (data ?? []).filter((db) => db.identifier !== projectRef).length >= 2
const isFreePlan = subscription?.plan.id === 'free'
- const isWalgEnabled = backups?.walg_enabled
+ const isWalgEnabled = project?.is_physical_backups_enabled
const currentComputeAddon = addons?.selected_addons.find(
(addon) => addon.type === 'compute_instance'
)
diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.ts
index 751f762d5c8..fa69d69e738 100644
--- a/packages/api-types/types/api.d.ts
+++ b/packages/api-types/types/api.d.ts
@@ -76,7 +76,7 @@ export interface paths {
}
'/platform/auth/{ref}/invite': {
/** Sends an invite to the given email */
- post: operations['InviteController_sendInvite']
+ post: operations['AuthInviteController_sendInvite']
}
'/platform/auth/{ref}/magiclink': {
/** Sends a magic link to the given email */
@@ -170,7 +170,7 @@ export interface paths {
}
'/platform/organizations/{slug}/roles': {
/** Gets the given organization's roles */
- get: operations['RolesController_addMember']
+ get: operations['OrganizationRolesController_addMember']
}
'/platform/organizations/{slug}/tax-ids': {
/** Gets the given organization's tax IDs */
@@ -210,11 +210,11 @@ export interface paths {
}
'/platform/organizations/{slug}/members/invite': {
/** Gets invited users */
- get: operations['InviteController_getInvitedUsers']
+ get: operations['OrganizationInviteController_getInvitedUsers']
/** Invites user */
- post: operations['InviteController_inviteUser']
+ post: operations['OrganizationInviteController_inviteUser']
/** Delete invited user */
- delete: operations['InviteController_deleteInvitedUser']
+ delete: operations['OrganizationInviteController_deleteInvitedUser']
}
'/platform/organizations/{slug}/members/join': {
/** Gets invite */
@@ -509,11 +509,11 @@ export interface paths {
}
'/platform/projects/{ref}/api/rest': {
/** Gets project OpenApi */
- get: operations['ApiController_projectOpenApi']
+ get: operations['ProjectsApiController_projectOpenApi']
}
'/platform/projects/{ref}/api/graphql': {
/** Queries project Graphql */
- post: operations['ApiController_projectGraphql']
+ post: operations['ProjectsApiController_projectGraphql']
}
'/platform/projects/{ref}/infra-monitoring': {
/** Gets project's usage metrics */
@@ -553,7 +553,7 @@ export interface paths {
}
'/platform/projects/{ref}/status': {
/** Gets project's status */
- get: operations['StatusController_getStatus']
+ get: operations['ProjectStatusController_getStatus']
}
'/platform/projects/{ref}/update': {
/**
@@ -703,7 +703,7 @@ export interface paths {
* Gets project's settings
* @deprecated
*/
- get: operations['SettingsController_getProjectApi']
+ get: operations['PropsSettingsController_getProjectApi']
}
'/platform/storage/{ref}/buckets/{id}': {
/** Gets bucket */
@@ -823,11 +823,11 @@ export interface paths {
}
'/platform/integrations': {
/** Gets user's integrations */
- get: operations['IntegrationsController_getProjectConnections']
+ get: operations['IntegrationsController_getUserInstallations']
}
'/platform/integrations/{slug}': {
/** Gets integration with the given organization slug */
- get: operations['IntegrationsController_getProjectConnectionsForOrg']
+ get: operations['IntegrationsController_getUserInstallationForOrg']
}
'/platform/integrations/vercel': {
/**
@@ -902,7 +902,7 @@ export interface paths {
}
'/system/auth/{ref}/templates/{template}': {
/** Gets GoTrue template */
- get: operations['AuthTemplateController_getTemplate']
+ get: operations['SystemAuthTemplateController_getTemplate']
}
'/system/database/{ref}/owner/owner-reassign': {
/** Gets the status of owner reassignment */
@@ -994,7 +994,7 @@ export interface paths {
}
'/system/projects': {
/** Create a project */
- post: operations['ProjectsController_createProject']
+ post: operations['SystemProjectsController_createProject']
}
'/system/organizations/{slug}/usage': {
/** Gets usage stats */
@@ -1062,7 +1062,7 @@ export interface paths {
}
'/v0/auth/{ref}/invite': {
/** Sends an invite to the given email */
- post: operations['InviteController_sendInvite']
+ post: operations['AuthInviteController_sendInvite']
}
'/v0/auth/{ref}/magiclink': {
/** Sends a magic link to the given email */
@@ -1140,15 +1140,15 @@ export interface paths {
}
'/v0/organizations/{slug}/roles': {
/** Gets the given organization's roles */
- get: operations['RolesController_addMember']
+ get: operations['OrganizationRolesController_addMember']
}
'/v0/organizations/{slug}/members/invite': {
/** Gets invited users */
- get: operations['InviteController_getInvitedUsers']
+ get: operations['OrganizationInviteController_getInvitedUsers']
/** Invites user */
- post: operations['InviteController_inviteUser']
+ post: operations['OrganizationInviteController_inviteUser']
/** Delete invited user */
- delete: operations['InviteController_deleteInvitedUser']
+ delete: operations['OrganizationInviteController_deleteInvitedUser']
}
'/v0/organizations/{slug}/members/join': {
/** Gets invite */
@@ -1361,11 +1361,11 @@ export interface paths {
}
'/v0/projects/{ref}/api/rest': {
/** Gets project OpenApi */
- get: operations['ApiController_projectOpenApi']
+ get: operations['ProjectsApiController_projectOpenApi']
}
'/v0/projects/{ref}/api/graphql': {
/** Queries project Graphql */
- post: operations['ApiController_projectGraphql']
+ post: operations['ProjectsApiController_projectGraphql']
}
'/v0/projects/{ref}/infra-monitoring': {
/** Gets project's usage metrics */
@@ -1405,7 +1405,7 @@ export interface paths {
}
'/v0/projects/{ref}/status': {
/** Gets project's status */
- get: operations['StatusController_getStatus']
+ get: operations['ProjectStatusController_getStatus']
}
'/v0/projects/{ref}/analytics/endpoints/functions.inv-stats': {
/** Gets a project's function invocation statistics */
@@ -1679,13 +1679,13 @@ export interface paths {
}
'/v1/projects/{ref}/postgrest': {
/** Gets project's postgrest config */
- get: operations['PostgrestConfigController_getPostgRESTConfig']
+ get: operations['V1PostgrestConfigController_getPostgRESTConfig']
/** Updates project's postgrest config */
- patch: operations['PostgrestConfigController_updatePostgRESTConfig']
+ patch: operations['V1PostgrestConfigController_updatePostgRESTConfig']
}
'/v1/projects/{ref}': {
/** Deletes the given project */
- delete: operations['ProjectsRefController_deleteProject']
+ delete: operations['V1ProjectsRefController_deleteProject']
}
'/v1/projects/{ref}/secrets': {
/**
@@ -1715,7 +1715,7 @@ export interface paths {
* Generate TypeScript types
* @description Returns the TypeScript types of your schema for use with supabase-js.
*/
- get: operations['TypesController_getTypescriptTypes']
+ get: operations['V1TypesController_getTypescriptTypes']
}
'/v1/projects/{ref}/vanity-subdomain': {
/** Gets current vanity subdomain config */
@@ -1866,9 +1866,9 @@ export interface paths {
* List all organizations
* @description Returns a list of organizations that you currently belong to.
*/
- get: operations['OrganizationsController_getOrganizations']
+ get: operations['V1OrganizationsController_getOrganizations']
/** Create an organization */
- post: operations['OrganizationsController_createOrganization']
+ post: operations['V1OrganizationsController_createOrganization']
}
'/v1/organizations/{slug}/members': {
/** List members of an organization */
@@ -1910,23 +1910,23 @@ export interface paths {
}
'/partners/flyio/extensions': {
/** Creates a database */
- post: operations['ExtensionsController_provisionResource']
+ post: operations['FlyExtensionsController_provisionResource']
}
'/partners/flyio/organizations/{organization_id}': {
/** Gets details of the organization linked to the provided Fly organization id */
- get: operations['OrganizationsController_getOrganization']
+ get: operations['FlyOrganizationsController_getOrganization']
}
'/partners/flyio/organizations/{organization_id}/extensions': {
/** Gets all databases that belong to the given Fly organization id */
- get: operations['OrganizationsController_getOrgExtensions']
+ get: operations['FlyOrganizationsController_getOrgExtensions']
}
'/partners/flyio/organizations/{organization_id}/sso': {
/** Starts Fly single sign on */
- get: operations['OrganizationsController_startFlyioSSO']
+ get: operations['FlyOrganizationsController_startFlyioSSO']
}
'/partners/flyio/organizations/{organization_id}/subscription': {
/** Updates organization subscription linked to the provided Fly organization id */
- put: operations['OrganizationsController_updateOrganization']
+ put: operations['FlyOrganizationsController_updateOrganization']
}
'/partners/flyio/organizations/{organization_id}/billing': {
/** Gets the organizations current unbilled charges */
@@ -2102,6 +2102,7 @@ export interface components {
SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION: boolean
SECURITY_REFRESH_TOKEN_REUSE_INTERVAL: number
MAILER_OTP_EXP: number
+ MAILER_OTP_LENGTH: number
SMS_AUTOCONFIRM: boolean
SMS_MAX_FREQUENCY: number
SMS_OTP_EXP: number
@@ -2256,6 +2257,7 @@ export interface components {
SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION?: boolean
SECURITY_REFRESH_TOKEN_REUSE_INTERVAL?: number
MAILER_OTP_EXP?: number
+ MAILER_OTP_LENGTH?: number
SMS_AUTOCONFIRM?: boolean
SMS_MAX_FREQUENCY?: number
SMS_OTP_EXP?: number
@@ -2848,10 +2850,7 @@ export interface components {
stripeAccount?: string
}
}
- /**
- * @description Organization subscription plan
- * @enum {string}
- */
+ /** @enum {string} */
BillingPlanId: 'free' | 'pro' | 'team' | 'enterprise'
BillingSubscriptionPlan: {
id: components['schemas']['BillingPlanId']
@@ -3614,13 +3613,17 @@ export interface components {
subscription_id: string
is_branch_enabled: boolean
is_read_replicas_enabled: boolean
+ is_physical_backups_enabled: boolean
preview_branch_refs: string[]
disk_volume_size_gb?: number
}
GetProjectByFlyExtensionIdResponse: {
ref: string
}
- /** @enum {string} */
+ /**
+ * @description Desired instance size, will use default size if not defined. Paid plans only.
+ * @enum {string}
+ */
DesiredInstanceSize:
| 'micro'
| 'small'
@@ -3666,6 +3669,7 @@ export interface components {
subscription_id: string
is_branch_enabled: boolean
is_read_replicas_enabled: boolean
+ is_physical_backups_enabled: boolean
preview_branch_refs: string[]
disk_volume_size_gb?: number
endpoint: string
@@ -3843,6 +3847,7 @@ export interface components {
is_branch_enabled: boolean
parent_project_ref?: string
is_read_replicas_enabled: boolean
+ is_physical_backups_enabled: boolean
v2MaintenanceWindow: {
start?: string
end?: string
@@ -5210,6 +5215,7 @@ export interface components {
mailer_allow_unverified_email_sign_ins: boolean | null
mailer_autoconfirm: boolean | null
mailer_otp_exp: number | null
+ mailer_otp_length: number | null
mailer_secure_email_change_enabled: boolean | null
mailer_subjects_confirmation: string | null
mailer_subjects_email_change: string | null
@@ -5333,6 +5339,7 @@ export interface components {
security_update_password_require_reauthentication?: boolean
security_refresh_token_reuse_interval?: number
mailer_otp_exp?: number
+ mailer_otp_length?: number
sms_autoconfirm?: boolean
sms_max_frequency?: number
sms_otp_exp?: number
@@ -5698,6 +5705,47 @@ export interface components {
/** @description Supabase project services health status */
services: components['schemas']['ServiceHealthResponse'][]
}
+ /**
+ * @description Organization subscription plan
+ * @enum {string}
+ */
+ SelfServePlanId: 'free' | 'pro' | 'team'
+ FlyResourceProvisioningBody: {
+ /** @description A UNIX epoch timestamp value */
+ timestamp: number
+ /** @description A random unique string identifying the individual request */
+ nonce: string
+ /** @description The full request target URL */
+ url: string
+ /** @description Name of the extension */
+ name: string
+ /** @description Unique ID representing the extension */
+ id: string
+ /** @description Unique ID representing an organization */
+ organization_id: string
+ /** @description Display name for an organization */
+ organization_name: string
+ /** @description Obfuscated email that routes to the provisioning user */
+ user_email: string
+ /** @description Unique ID representing an user */
+ user_id: string
+ /** @description The three-letter, primary Fly.io region where the target app intends to write from */
+ primary_region: string
+ /** @description An IPv6 address on the customer network assigned to this extension */
+ ip_address: string
+ /**
+ * @description An array of Fly.io region codes where read replicas should be provisioned
+ * @default []
+ */
+ read_regions: string[]
+ /** @description Database password (Optional, don't send to generate one) */
+ db_pass?: string
+ /** @example large */
+ desired_instance_size?: components['schemas']['DesiredInstanceSize']
+ /** @example pro */
+ organization_plan?: components['schemas']['SelfServePlanId']
+ user_name: string
+ }
ResourceProvisioningConfigResponse: {
/**
* @description PSQL connection string
@@ -5767,7 +5815,7 @@ export interface components {
}
UpdateFlyOrganizationSubscriptionBody: {
/** @example pro */
- plan: components['schemas']['BillingPlanId']
+ plan: components['schemas']['SelfServePlanId']
}
ResourceBillingItem: {
/**
@@ -6009,19 +6057,13 @@ export interface operations {
}
}
}
- /** Gets project's status */
+ /** Get infrastructure status */
StatusController_getStatus: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
responses: {
200: {
content: never
}
- /** @description Failed to get project's status */
+ /** @description Failed to retrieve infrastructure status */
500: {
content: never
}
@@ -6100,7 +6142,7 @@ export interface operations {
}
}
/** Sends an invite to the given email */
- InviteController_sendInvite: {
+ AuthInviteController_sendInvite: {
parameters: {
path: {
/** @description Project ref */
@@ -6600,18 +6642,15 @@ export interface operations {
}
}
}
- /**
- * List all organizations
- * @description Returns a list of organizations that you currently belong to.
- */
+ /** Gets user's organizations */
OrganizationsController_getOrganizations: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['OrganizationResponseV1'][]
+ 'application/json': components['schemas']['OrganizationResponse'][]
}
}
- /** @description Unexpected error listing organizations */
+ /** @description Failed to retrieve user's organizations */
500: {
content: never
}
@@ -6741,7 +6780,7 @@ export interface operations {
}
}
/** Gets the given organization's roles */
- RolesController_addMember: {
+ OrganizationRolesController_addMember: {
parameters: {
path: {
/** @description Organization slug */
@@ -7011,7 +7050,7 @@ export interface operations {
}
}
/** Gets invited users */
- InviteController_getInvitedUsers: {
+ OrganizationInviteController_getInvitedUsers: {
parameters: {
path: {
/** @description Organization slug */
@@ -7031,7 +7070,7 @@ export interface operations {
}
}
/** Invites user */
- InviteController_inviteUser: {
+ OrganizationInviteController_inviteUser: {
parameters: {
path: {
/** @description Organization slug */
@@ -7056,7 +7095,7 @@ export interface operations {
}
}
/** Delete invited user */
- InviteController_deleteInvitedUser: {
+ OrganizationInviteController_deleteInvitedUser: {
parameters: {
query: {
invited_id: number
@@ -9515,7 +9554,7 @@ export interface operations {
}
}
/** Gets project OpenApi */
- ApiController_projectOpenApi: {
+ ProjectsApiController_projectOpenApi: {
parameters: {
path: {
/** @description Project ref */
@@ -9538,7 +9577,7 @@ export interface operations {
}
}
/** Queries project Graphql */
- ApiController_projectGraphql: {
+ ProjectsApiController_projectGraphql: {
parameters: {
header: {
'x-graphql-authorization': string
@@ -9690,7 +9729,7 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['V1ProjectRefResponse']
+ 'application/json': components['schemas']['ProjectRefResponse']
}
}
403: {
@@ -9789,6 +9828,24 @@ export interface operations {
}
}
}
+ /** Gets project's status */
+ ProjectStatusController_getStatus: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ /** @description Failed to get project's status */
+ 500: {
+ content: never
+ }
+ }
+ }
/**
* Updates the project
* @deprecated
@@ -10366,7 +10423,7 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgrestConfigWithJWTSecretResponse']
+ 'application/json': components['schemas']['PostgrestConfigResponse']
}
}
403: {
@@ -10689,6 +10746,29 @@ export interface operations {
}
}
}
+ /**
+ * Gets project's settings
+ * @deprecated
+ */
+ PropsSettingsController_getProjectApi: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['SettingsResponse']
+ }
+ }
+ /** @description Failed to retrieve project's settings */
+ 500: {
+ content: never
+ }
+ }
+ }
/** Gets bucket */
StorageBucketIdController_getBucket: {
parameters: {
@@ -11443,7 +11523,7 @@ export interface operations {
}
}
/** Gets user's integrations */
- IntegrationsController_getProjectConnections: {
+ IntegrationsController_getUserInstallations: {
parameters: {
query: {
/** @description Filter results by integration name. Optional */
@@ -11463,7 +11543,7 @@ export interface operations {
}
}
/** Gets integration with the given organization slug */
- IntegrationsController_getProjectConnectionsForOrg: {
+ IntegrationsController_getUserInstallationForOrg: {
parameters: {
path: {
slug: string
@@ -11834,7 +11914,7 @@ export interface operations {
}
}
/** Gets GoTrue template */
- AuthTemplateController_getTemplate: {
+ SystemAuthTemplateController_getTemplate: {
parameters: {
path: {
ref: string
@@ -12373,6 +12453,21 @@ export interface operations {
}
}
}
+ /** Create a project */
+ SystemProjectsController_createProject: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['SystemCreateProjectBody']
+ }
+ }
+ responses: {
+ 201: {
+ content: {
+ 'application/json': components['schemas']['SystemProjectResponse']
+ }
+ }
+ }
+ }
/** Gets usage stats */
OrgUsageSystemController_getOrgUsage: {
parameters: {
@@ -13063,6 +13158,76 @@ export interface operations {
}
}
}
+ /** Gets project's postgrest config */
+ V1PostgrestConfigController_getPostgRESTConfig: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['PostgrestConfigWithJWTSecretResponse']
+ }
+ }
+ 403: {
+ content: never
+ }
+ /** @description Failed to retrieve project's postgrest config */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Updates project's postgrest config */
+ V1PostgrestConfigController_updatePostgRESTConfig: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdatePostgrestConfigBody']
+ }
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['V1PostgrestConfigResponse']
+ }
+ }
+ 403: {
+ content: never
+ }
+ /** @description Failed to update project's postgrest config */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Deletes the given project */
+ V1ProjectsRefController_deleteProject: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['V1ProjectRefResponse']
+ }
+ }
+ 403: {
+ content: never
+ }
+ }
+ }
/**
* List all secrets
* @description Returns all secrets you've previously added to the specified project.
@@ -13204,7 +13369,7 @@ export interface operations {
* Generate TypeScript types
* @description Returns the TypeScript types of your schema for use with supabase-js.
*/
- TypesController_getTypescriptTypes: {
+ V1TypesController_getTypescriptTypes: {
parameters: {
query?: {
included_schemas?: string
@@ -14071,8 +14236,25 @@ export interface operations {
}
}
}
+ /**
+ * List all organizations
+ * @description Returns a list of organizations that you currently belong to.
+ */
+ V1OrganizationsController_getOrganizations: {
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['OrganizationResponseV1'][]
+ }
+ }
+ /** @description Unexpected error listing organizations */
+ 500: {
+ content: never
+ }
+ }
+ }
/** Create an organization */
- OrganizationsController_createOrganization: {
+ V1OrganizationsController_createOrganization: {
requestBody: {
content: {
'application/json': components['schemas']['CreateOrganizationBodyV1']
@@ -14243,7 +14425,12 @@ export interface operations {
}
}
/** Creates a database */
- ExtensionsController_provisionResource: {
+ FlyExtensionsController_provisionResource: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['FlyResourceProvisioningBody']
+ }
+ }
responses: {
201: {
content: {
@@ -14253,7 +14440,7 @@ export interface operations {
}
}
/** Gets details of the organization linked to the provided Fly organization id */
- OrganizationsController_getOrganization: {
+ FlyOrganizationsController_getOrganization: {
parameters: {
path: {
organization_id: string
@@ -14268,7 +14455,7 @@ export interface operations {
}
}
/** Gets all databases that belong to the given Fly organization id */
- OrganizationsController_getOrgExtensions: {
+ FlyOrganizationsController_getOrgExtensions: {
parameters: {
path: {
organization_id: string
@@ -14283,7 +14470,7 @@ export interface operations {
}
}
/** Starts Fly single sign on */
- OrganizationsController_startFlyioSSO: {
+ FlyOrganizationsController_startFlyioSSO: {
parameters: {
path: {
organization_id: string
@@ -14296,7 +14483,7 @@ export interface operations {
}
}
/** Updates organization subscription linked to the provided Fly organization id */
- OrganizationsController_updateOrganization: {
+ FlyOrganizationsController_updateOrganization: {
parameters: {
path: {
organization_id: string