diff --git a/apps/studio/data/branches/branch-delete-mutation.ts b/apps/studio/data/branches/branch-delete-mutation.ts index 5a2a2815fe..de0ffa242c 100644 --- a/apps/studio/data/branches/branch-delete-mutation.ts +++ b/apps/studio/data/branches/branch-delete-mutation.ts @@ -12,8 +12,8 @@ export type BranchDeleteVariables = { } export async function deleteBranch({ id }: Pick) { - const { data, error } = await del('/v1/branches/{branch_id}', { - params: { path: { branch_id: id } }, + const { data, error } = await del('/v1/branches/{branch_id_or_ref}', { + params: { path: { branch_id_or_ref: id } }, }) if (error) handleError(error) diff --git a/apps/studio/data/branches/branch-diff-query.ts b/apps/studio/data/branches/branch-diff-query.ts index 8579c51d97..d4f20a60eb 100644 --- a/apps/studio/data/branches/branch-diff-query.ts +++ b/apps/studio/data/branches/branch-diff-query.ts @@ -15,9 +15,9 @@ export async function getBranchDiff({ branchId, includedSchemas, }: Pick) { - const { data: diffData, error } = await get('/v1/branches/{branch_id}/diff', { + const { data: diffData, error } = await get('/v1/branches/{branch_id_or_ref}/diff', { params: { - path: { branch_id: branchId }, + path: { branch_id_or_ref: branchId }, query: includedSchemas ? { included_schemas: includedSchemas } : undefined, }, headers: { diff --git a/apps/studio/data/branches/branch-merge-mutation.ts b/apps/studio/data/branches/branch-merge-mutation.ts index 4d2fe1effc..9413f58349 100644 --- a/apps/studio/data/branches/branch-merge-mutation.ts +++ b/apps/studio/data/branches/branch-merge-mutation.ts @@ -17,7 +17,6 @@ export type BranchMergeVariables = { export async function mergeBranch({ id, branchProjectRef, - baseProjectRef, migration_version, }: BranchMergeVariables) { // Step 1: Get the diff output from the branch @@ -41,8 +40,8 @@ export async function mergeBranch({ } // Step 3: Call POST /v1/branches/id/merge to merge the branch - const { data, error } = await post('/v1/branches/{branch_id}/merge', { - params: { path: { branch_id: id } }, + const { data, error } = await post('/v1/branches/{branch_id_or_ref}/merge', { + params: { path: { branch_id_or_ref: id } }, body: { migration_version }, }) diff --git a/apps/studio/data/branches/branch-push-mutation.ts b/apps/studio/data/branches/branch-push-mutation.ts index 035dbc2252..81b92052d1 100644 --- a/apps/studio/data/branches/branch-push-mutation.ts +++ b/apps/studio/data/branches/branch-push-mutation.ts @@ -11,8 +11,8 @@ export type BranchPushVariables = { } export async function pushBranch({ id }: Pick) { - const { data, error } = await post('/v1/branches/{branch_id}/push', { - params: { path: { branch_id: id } }, + const { data, error } = await post('/v1/branches/{branch_id_or_ref}/push', { + params: { path: { branch_id_or_ref: id } }, body: {}, }) diff --git a/apps/studio/data/branches/branch-query.ts b/apps/studio/data/branches/branch-query.ts index a7a5c99a66..9ea59496b1 100644 --- a/apps/studio/data/branches/branch-query.ts +++ b/apps/studio/data/branches/branch-query.ts @@ -13,8 +13,8 @@ export type BranchVariables = { export async function getBranch({ id }: BranchVariables, signal?: AbortSignal) { if (!id) throw new Error('id is required') - const { data, error } = await get(`/v1/branches/{branch_id}`, { - params: { path: { branch_id: id } }, + const { data, error } = await get(`/v1/branches/{branch_id_or_ref}`, { + params: { path: { branch_id_or_ref: id } }, signal, }) diff --git a/apps/studio/data/branches/branch-reset-mutation.ts b/apps/studio/data/branches/branch-reset-mutation.ts index f36fb6ab37..623da430c3 100644 --- a/apps/studio/data/branches/branch-reset-mutation.ts +++ b/apps/studio/data/branches/branch-reset-mutation.ts @@ -11,8 +11,8 @@ export type BranchResetVariables = { } export async function resetBranch({ id }: Pick) { - const { data, error } = await post('/v1/branches/{branch_id}/reset', { - params: { path: { branch_id: id } }, + const { data, error } = await post('/v1/branches/{branch_id_or_ref}/reset', { + params: { path: { branch_id_or_ref: id } }, body: {}, }) diff --git a/apps/studio/data/branches/branch-update-mutation.ts b/apps/studio/data/branches/branch-update-mutation.ts index f7e8224242..f18aedde13 100644 --- a/apps/studio/data/branches/branch-update-mutation.ts +++ b/apps/studio/data/branches/branch-update-mutation.ts @@ -21,9 +21,9 @@ export async function updateBranch({ persistent, requestReview, }: BranchUpdateVariables) { - const { data, error } = await patch('/v1/branches/{branch_id}', { + const { data, error } = await patch('/v1/branches/{branch_id_or_ref}', { params: { - path: { branch_id: id }, + path: { branch_id_or_ref: id }, }, body: { branch_name: branchName, diff --git a/apps/ui-library/registry/default/platform/platform-kit-nextjs/lib/management-api-schema.d.ts b/apps/ui-library/registry/default/platform/platform-kit-nextjs/lib/management-api-schema.d.ts index e96ca4d1c4..132c76024e 100644 --- a/apps/ui-library/registry/default/platform/platform-kit-nextjs/lib/management-api-schema.d.ts +++ b/apps/ui-library/registry/default/platform/platform-kit-nextjs/lib/management-api-schema.d.ts @@ -4,7 +4,7 @@ */ export interface paths { - '/v1/branches/{branch_id}': { + '/v1/branches/{branch_id_or_ref}': { parameters: { query?: never header?: never @@ -32,7 +32,7 @@ export interface paths { patch: operations['v1-update-a-branch-config'] trace?: never } - '/v1/branches/{branch_id}/push': { + '/v1/branches/{branch_id_or_ref}/push': { parameters: { query?: never header?: never @@ -52,7 +52,7 @@ export interface paths { patch?: never trace?: never } - '/v1/branches/{branch_id}/merge': { + '/v1/branches/{branch_id_or_ref}/merge': { parameters: { query?: never header?: never @@ -72,7 +72,7 @@ export interface paths { patch?: never trace?: never } - '/v1/branches/{branch_id}/reset': { + '/v1/branches/{branch_id_or_ref}/reset': { parameters: { query?: never header?: never @@ -92,7 +92,7 @@ export interface paths { patch?: never trace?: never } - '/v1/branches/{branch_id}/diff': { + '/v1/branches/{branch_id_or_ref}/diff': { parameters: { query?: never header?: never diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.ts index b4fbd0d064..cd450364c1 100644 --- a/packages/api-types/types/api.d.ts +++ b/packages/api-types/types/api.d.ts @@ -4,7 +4,7 @@ */ export interface paths { - '/v1/branches/{branch_id}': { + '/v1/branches/{branch_id_or_ref}': { parameters: { query?: never header?: never @@ -32,7 +32,7 @@ export interface paths { patch: operations['v1-update-a-branch-config'] trace?: never } - '/v1/branches/{branch_id}/diff': { + '/v1/branches/{branch_id_or_ref}/diff': { parameters: { query?: never header?: never @@ -52,7 +52,7 @@ export interface paths { patch?: never trace?: never } - '/v1/branches/{branch_id}/merge': { + '/v1/branches/{branch_id_or_ref}/merge': { parameters: { query?: never header?: never @@ -72,7 +72,7 @@ export interface paths { patch?: never trace?: never } - '/v1/branches/{branch_id}/push': { + '/v1/branches/{branch_id_or_ref}/push': { parameters: { query?: never header?: never @@ -92,7 +92,7 @@ export interface paths { patch?: never trace?: never } - '/v1/branches/{branch_id}/reset': { + '/v1/branches/{branch_id_or_ref}/reset': { parameters: { query?: never header?: never @@ -1513,23 +1513,6 @@ export interface paths { patch?: never trace?: never } - '/v1/projects/{ref}/storage/buckets/{id}/objects': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never - /** Gets list of objects with the given bucket */ - post: operations['v1-list-storage-objects'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never - } '/v1/projects/{ref}/types/typescript': { parameters: { query?: never @@ -2843,7 +2826,13 @@ export interface components { } RemoveNetworkBanRequest: { identifier?: string + /** @description List of IP addresses to unban. */ ipv4_addresses: string[] + /** + * @description Include requester's public IP in the list of addresses to unban. + * @default false + */ + requester_ip?: boolean } RemoveReadReplicaBody: { database_identifier: string @@ -3568,43 +3557,6 @@ export interface components { name?: string version: string }[] - V1ListStorageObjectsBody: { - options?: { - limit?: number - offset?: number - search?: string - sort_by?: string - /** @enum {string} */ - sort_order?: 'asc' | 'desc' - } - path?: string - } - V1ListStorageObjectsResponse: { - items: { - bucket_id: string - buckets: { - allowed_mime_types?: string[] - created_at: string - file_size_limit?: number - id: string - name: string - owner: string - public: boolean - /** @enum {string} */ - type?: 'STANDARD' | 'ANALYTICS' - updated_at: string - } - created_at: string - id: string - last_accessed_at: string - metadata: { - [key: string]: unknown - } - name: string - owner: string - updated_at: string - }[] - } V1OrganizationMemberResponse: { email?: string mfa_enabled: boolean @@ -3875,7 +3827,7 @@ export interface operations { header?: never path: { /** @description Branch ID */ - branch_id: string + branch_id_or_ref: string } cookie?: never } @@ -3904,7 +3856,7 @@ export interface operations { header?: never path: { /** @description Branch ID */ - branch_id: string + branch_id_or_ref: string } cookie?: never } @@ -3933,7 +3885,7 @@ export interface operations { header?: never path: { /** @description Branch ID */ - branch_id: string + branch_id_or_ref: string } cookie?: never } @@ -3968,7 +3920,7 @@ export interface operations { header?: never path: { /** @description Branch ID */ - branch_id: string + branch_id_or_ref: string } cookie?: never } @@ -3997,7 +3949,7 @@ export interface operations { header?: never path: { /** @description Branch ID */ - branch_id: string + branch_id_or_ref: string } cookie?: never } @@ -4030,7 +3982,7 @@ export interface operations { header?: never path: { /** @description Branch ID */ - branch_id: string + branch_id_or_ref: string } cookie?: never } @@ -4063,7 +4015,7 @@ export interface operations { header?: never path: { /** @description Branch ID */ - branch_id: string + branch_id_or_ref: string } cookie?: never } @@ -6955,6 +6907,13 @@ export interface operations { 'application/json': components['schemas']['BulkUpdateFunctionResponse'] } } + /** @description Maximum number of functions reached for Plan */ + 402: { + headers: { + [name: string]: unknown + } + content?: never + } 403: { headers: { [name: string]: unknown @@ -7005,6 +6964,13 @@ export interface operations { 'application/json': components['schemas']['FunctionResponse'] } } + /** @description Maximum number of functions reached for Plan */ + 402: { + headers: { + [name: string]: unknown + } + content?: never + } 403: { headers: { [name: string]: unknown @@ -7209,6 +7175,13 @@ export interface operations { 'application/json': components['schemas']['DeployFunctionResponse'] } } + /** @description Maximum number of functions reached for Plan */ + 402: { + headers: { + [name: string]: unknown + } + content?: never + } 403: { headers: { [name: string]: unknown @@ -8105,47 +8078,6 @@ export interface operations { } } } - 'v1-list-storage-objects': { - parameters: { - query?: never - header?: never - path: { - /** @description Storage bucket id */ - id: string - /** @description Project ref */ - ref: string - } - cookie?: never - } - requestBody: { - content: { - 'application/json': components['schemas']['V1ListStorageObjectsBody'] - } - } - responses: { - 200: { - headers: { - [name: string]: unknown - } - content: { - 'application/json': components['schemas']['V1ListStorageObjectsResponse'] - } - } - 403: { - headers: { - [name: string]: unknown - } - content?: never - } - /** @description Failed to get list of objects with the given bucket */ - 500: { - headers: { - [name: string]: unknown - } - content?: never - } - } - } 'v1-generate-typescript-types': { parameters: { query?: { diff --git a/packages/api-types/types/platform.d.ts b/packages/api-types/types/platform.d.ts index d831af5c86..7204239e4a 100644 --- a/packages/api-types/types/platform.d.ts +++ b/packages/api-types/types/platform.d.ts @@ -3417,10 +3417,16 @@ export interface paths { path?: never cookie?: never } - /** Get all replication destinations. */ + /** + * List replication destinations + * @description List all destinations for the project. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationDestinationsController_getDestinations'] put?: never - /** Create a replication destination. */ + /** + * Create replication destination + * @description Create a destination for the project. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationDestinationsController_createDestination'] delete?: never options?: never @@ -3437,7 +3443,10 @@ export interface paths { } get?: never put?: never - /** Create a replication destination and pipeline. */ + /** + * Create destination and pipeline + * @description Create a destination and pipeline in one call. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationDestinationsPipelinesController_createDestinationPipeline'] delete?: never options?: never @@ -3454,9 +3463,15 @@ export interface paths { } get?: never put?: never - /** Update a replication destination and pipeline. */ + /** + * Update destination and pipeline + * @description Update a destination and pipeline in one call. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationDestinationsPipelinesController_updateDestinationPipeline'] - /** Delete a replication destination and pipeline. */ + /** + * Delete destination and pipeline + * @description Delete a destination and pipeline. Requires bearer auth and an active, healthy project. + */ delete: operations['ReplicationDestinationsPipelinesController_deleteDestinationPipeline'] options?: never head?: never @@ -3470,12 +3485,21 @@ export interface paths { path?: never cookie?: never } - /** Get a replication destination by ID. */ + /** + * Get replication destination + * @description Get a destination by id. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationDestinationsController_getDestination'] put?: never - /** Update a replication destination. */ + /** + * Update replication destination + * @description Update a destination for the project. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationDestinationsController_updateDestination'] - /** Delete a replication destination. */ + /** + * Delete replication destination + * @description Delete a destination from the project. Requires bearer auth and an active, healthy project. + */ delete: operations['ReplicationDestinationsController_deleteDestination'] options?: never head?: never @@ -3489,10 +3513,16 @@ export interface paths { path?: never cookie?: never } - /** Retrieves all replication pipelines. */ + /** + * List replication pipelines + * @description List all pipelines for the project. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationPipelinesController_getPipelines'] put?: never - /** Creates a replication pipeline. */ + /** + * Create replication pipeline + * @description Create a pipeline for the project. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationPipelinesController_createPipeline'] delete?: never options?: never @@ -3507,12 +3537,21 @@ export interface paths { path?: never cookie?: never } - /** Retrieves a replication pipeline by ID. */ + /** + * Get replication pipeline + * @description Get a pipeline by id. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationPipelinesController_getPipeline'] put?: never - /** Updates a replication pipeline. */ + /** + * Update replication pipeline + * @description Update a pipeline. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationPipelinesController_updatePipeline'] - /** Deletes a replication pipeline. */ + /** + * Delete replication pipeline + * @description Delete a pipeline from the project. Requires bearer auth and an active, healthy project. + */ delete: operations['ReplicationPipelinesController_deletePipeline'] options?: never head?: never @@ -3526,7 +3565,10 @@ export interface paths { path?: never cookie?: never } - /** Retrieves the replication status of a pipeline. */ + /** + * Get pipeline replication status + * @description Get the pipeline replication status. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationPipelinesController_getPipelineReplicationStatus'] put?: never post?: never @@ -3545,7 +3587,10 @@ export interface paths { } get?: never put?: never - /** Rolls back the state of a table in the pipeline. */ + /** + * Rollback pipeline table state + * @description Rollback a table state for the pipeline. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationPipelinesController_rollbackTableState'] delete?: never options?: never @@ -3562,7 +3607,10 @@ export interface paths { } get?: never put?: never - /** Starts a replication pipeline. */ + /** + * Start pipeline + * @description Start the pipeline. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationPipelinesController_startPipeline'] delete?: never options?: never @@ -3577,7 +3625,10 @@ export interface paths { path?: never cookie?: never } - /** Retrieves the status of a replication pipeline. */ + /** + * Get pipeline status + * @description Get the current pipeline status. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationPipelinesController_getPipelineStatus'] put?: never post?: never @@ -3596,7 +3647,10 @@ export interface paths { } get?: never put?: never - /** Stops a replication pipeline. */ + /** + * Stop pipeline + * @description Stop the pipeline. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationPipelinesController_stopPipeline'] delete?: never options?: never @@ -3604,6 +3658,30 @@ export interface paths { patch?: never trace?: never } + '/platform/replication/{ref}/pipelines/{pipeline_id}/version': { + parameters: { + query?: never + header?: never + path?: never + cookie?: never + } + /** + * Get pipeline version + * @description Get the current pipeline version. Requires bearer auth and an active, healthy project. + */ + get: operations['ReplicationPipelinesController_getPipelineVersion'] + put?: never + /** + * Update pipeline version + * @description Update the pipeline to a new version. Requires bearer auth and an active, healthy project. + */ + post: operations['ReplicationPipelinesController_updatePipelineVersion'] + delete?: never + options?: never + head?: never + patch?: never + trace?: never + } '/platform/replication/{ref}/sources': { parameters: { query?: never @@ -3611,10 +3689,16 @@ export interface paths { path?: never cookie?: never } - /** Get all replication sources. */ + /** + * List replication sources + * @description List all sources for the project. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationSourcesController_getSources'] put?: never - /** Create a replication source. */ + /** + * Create replication source + * @description Create a source for the project. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationSourcesController_createSource'] delete?: never options?: never @@ -3629,10 +3713,16 @@ export interface paths { path?: never cookie?: never } - /** Get all publications for a source. */ + /** + * List publications for source + * @description List publications for a source. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationSourcesController_getPublications'] put?: never - /** Create a publication for a source. */ + /** + * Create publication for source + * @description Create a publication for a source. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationSourcesController_createPublication'] delete?: never options?: never @@ -3650,7 +3740,10 @@ export interface paths { get?: never put?: never post?: never - /** Delete a publication for a source. */ + /** + * Delete publication for source + * @description Delete a publication for a source. Requires bearer auth and an active, healthy project. + */ delete: operations['ReplicationSourcesController_deletePublication'] options?: never head?: never @@ -3664,7 +3757,10 @@ export interface paths { path?: never cookie?: never } - /** Get all tables for a source. */ + /** + * List tables for source + * @description List tables available for a source. Requires bearer auth and an active, healthy project. + */ get: operations['ReplicationSourcesController_getTables'] put?: never post?: never @@ -3683,7 +3779,10 @@ export interface paths { } get?: never put?: never - /** Create a replication tenant and source. */ + /** + * Create tenant and source + * @description Create a replication tenant and source. Requires bearer auth and an active, healthy project. + */ post: operations['ReplicationTenantsSourcesController_createTenantSource'] delete?: never options?: never @@ -4369,6 +4468,7 @@ export interface components { | 'auth_password_policy_missing' | 'leaked_service_key' | 'no_backup_admin' + | 'vulnerable_postgres_version' remediation: string title: string }[] @@ -4584,13 +4684,22 @@ export interface components { parent_id?: string } CreateDestinationPipelineResponse: { - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ destination_id: number - /** @description Pipeline id */ + /** + * @description Pipeline id + * @example 1012 + */ pipeline_id: number } CreateDestinationResponse: { - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ id: number } CreateDpaDocumentRequest: { @@ -4817,7 +4926,10 @@ export interface components { usage_billing_enabled: boolean } CreatePipelineResponse: { - /** @description Pipeline id */ + /** + * @description Pipeline id + * @example 1012 + */ id: number } CreatePolicyBody: { @@ -4956,83 +5068,149 @@ export interface components { tables?: string[] | null } CreateReplicationDestinationBody: { - /** @description Destination config */ + /** @description Destination configuration */ config: { big_query: { - /** @description BigQuery dataset id */ + /** + * @description BigQuery dataset id + * @example analytics + */ dataset_id: string - /** @description Maximum number of concurrent streams when writing */ + /** + * @description Maximum number of concurrent write streams + * @example 8 + */ max_concurrent_streams?: number - /** @description Max staleness in minutes */ + /** + * @description Maximum data staleness in minutes + * @example 5 + */ max_staleness_mins?: number - /** @description BigQuery project id */ + /** + * @description BigQuery project id + * @example my-gcp-project + */ project_id: string /** @description BigQuery service account key */ service_account_key: string } } - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ name: string } CreateReplicationDestinationPipelineBody: { - /** @description Destination config */ + /** @description Destination configuration */ destination_config: { big_query: { - /** @description BigQuery dataset id */ + /** + * @description BigQuery dataset id + * @example analytics + */ dataset_id: string - /** @description Maximum number of concurrent streams when writing */ + /** + * @description Maximum number of concurrent write streams + * @example 8 + */ max_concurrent_streams?: number - /** @description Max staleness in minutes */ + /** + * @description Maximum data staleness in minutes + * @example 5 + */ max_staleness_mins?: number - /** @description BigQuery project id */ + /** + * @description BigQuery project id + * @example my-gcp-project + */ project_id: string /** @description BigQuery service account key */ service_account_key: string } } - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ destination_name: string - /** @description Pipeline config */ + /** @description Pipeline configuration */ pipeline_config: { - /** @description Batch config */ + /** @description Batch configuration */ batch?: { - /** @description Maximum fill time in ms */ + /** + * @description Maximum fill time in milliseconds + * @example 200 + */ max_fill_ms: number - /** @description Maximum batch size */ + /** + * @description Maximum batch size + * @example 5000 + */ max_size: number } - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ publication_name: string } - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ source_id: number } CreateReplicationPipelineBody: { - /** @description Pipeline config */ + /** @description Pipeline configuration */ config: { - /** @description Batch config */ + /** @description Batch configuration */ batch?: { - /** @description Maximum fill time in ms */ + /** + * @description Maximum fill time in milliseconds + * @example 200 + */ max_fill_ms: number - /** @description Maximum batch size */ + /** + * @description Maximum batch size + * @example 5000 + */ max_size: number } - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ publication_name: string } - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ destination_id: number - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ source_id: number } CreateReplicationPublicationBody: { - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ name: string /** @description Publication tables */ tables: { - /** @description Table name */ + /** + * @description Table name + * @example orders + */ name: string - /** @description Table schema */ + /** + * @description Table schema + * @example public + */ schema: string }[] } @@ -5041,7 +5219,7 @@ export interface components { owner: string } CreateSourceResponse: { - /** @description Source id */ + /** @description Source ID */ id: number } CreateSSOProviderBody: @@ -5128,9 +5306,15 @@ export interface components { value: string } CreateTenantSourceResponse: { - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ source_id: number - /** @description Tenant id */ + /** + * @description Tenant id + * @example tenant_9f3a2c + */ tenant_id: string } CreateTriggerBody: { @@ -5553,6 +5737,7 @@ export interface components { | 'auth_password_policy_missing' | 'leaked_service_key' | 'no_backup_admin' + | 'vulnerable_postgres_version' remediation: string title: string }[] @@ -5692,6 +5877,7 @@ export interface components { | 'auth_password_policy_missing' | 'leaked_service_key' | 'no_backup_admin' + | 'vulnerable_postgres_version' remediation: string title: string }[] @@ -7666,56 +7852,101 @@ export interface components { } } ReplicationDestinationResponse: { - /** @description Destination config */ + /** @description Destination configuration */ config: { big_query: { - /** @description BigQuery dataset id */ + /** + * @description BigQuery dataset id + * @example analytics + */ dataset_id: string - /** @description Maximum number of concurrent streams when writing */ + /** + * @description Maximum number of concurrent write streams + * @example 8 + */ max_concurrent_streams?: number - /** @description Max staleness in minutes */ + /** + * @description Maximum data staleness in minutes + * @example 5 + */ max_staleness_mins?: number - /** @description BigQuery project id */ + /** + * @description BigQuery project id + * @example my-gcp-project + */ project_id: string /** @description BigQuery service account key */ service_account_key: string } } - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ id: number - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ name: string - /** @description Tenant id */ + /** + * @description Tenant id + * @example tenant_9f3a2c + */ tenant_id: string } ReplicationDestinationsResponse: { /** @description List of destinations */ destinations: { - /** @description Destination config */ + /** @description Destination configuration */ config: { big_query: { - /** @description BigQuery dataset id */ + /** + * @description BigQuery dataset id + * @example analytics + */ dataset_id: string - /** @description Maximum number of concurrent streams when writing */ + /** + * @description Maximum number of concurrent write streams + * @example 8 + */ max_concurrent_streams?: number - /** @description Max staleness in minutes */ + /** + * @description Maximum data staleness in minutes + * @example 5 + */ max_staleness_mins?: number - /** @description BigQuery project id */ + /** + * @description BigQuery project id + * @example my-gcp-project + */ project_id: string /** @description BigQuery service account key */ service_account_key: string } } - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ id: number - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ name: string - /** @description Tenant id */ + /** + * @description Tenant id + * @example tenant_9f3a2c + */ tenant_id: string }[] } ReplicationPipelineReplicationStatusResponse: { - /** @description Pipeline id */ + /** + * @description Pipeline id + * @example 1012 + */ pipeline_id: number /** @description Table statuses */ table_statuses: { @@ -7752,97 +7983,215 @@ export interface components { policy: 'manual_retry' } | { - /** @description The time of the next retry (RFC3339 format) */ + /** + * @description Next retry time (RFC 3339 timestamp) + * @example 2025-01-02T03:04:05Z + */ next_retry: string /** @enum {string} */ policy: 'timed_retry' } solution?: string } - /** @description Table id (internal Postgres OID) */ + /** + * @description Table id (Postgres OID) + * @example 16408 + */ table_id: number - /** @description Table name */ + /** + * @description Table name + * @example public.orders + */ table_name: string }[] } + /** @description Pipeline */ ReplicationPipelineResponse: { - /** @description Pipeline config */ + /** @description Pipeline configuration */ config: { - /** @description Batch config */ + /** @description Batch configuration */ batch?: { - /** @description Maximum fill time in ms */ + /** + * @description Maximum fill time in milliseconds + * @example 200 + */ max_fill_ms: number - /** @description Maximum batch size */ + /** + * @description Maximum batch size + * @example 5000 + */ max_size: number } - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ publication_name: string } - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ destination_id: number - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ destination_name: string - /** @description Pipeline id */ + /** + * @description Pipeline id + * @example 1012 + */ id: number - /** @description Replicator id */ + /** + * @description Replicator id + * @example 9001 + */ replicator_id: number - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ source_id: number - /** @description Source name */ + /** + * @description Source name + * @example main-db + */ source_name: string - /** @description Tenant id */ + /** + * @description Tenant id + * @example tenant_9f3a2c + */ tenant_id: string } ReplicationPipelinesResponse: { /** @description List of pipelines */ pipelines: { - /** @description Pipeline config */ + /** @description Pipeline configuration */ config: { - /** @description Batch config */ + /** @description Batch configuration */ batch?: { - /** @description Maximum fill time in ms */ + /** + * @description Maximum fill time in milliseconds + * @example 200 + */ max_fill_ms: number - /** @description Maximum batch size */ + /** + * @description Maximum batch size + * @example 5000 + */ max_size: number } - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ publication_name: string } - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ destination_id: number - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ destination_name: string - /** @description Pipeline id */ + /** + * @description Pipeline id + * @example 1012 + */ id: number - /** @description Replicator id */ + /** + * @description Replicator id + * @example 9001 + */ replicator_id: number - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ source_id: number - /** @description Source name */ + /** + * @description Source name + * @example main-db + */ source_name: string - /** @description Tenant id */ + /** + * @description Tenant id + * @example tenant_9f3a2c + */ tenant_id: string }[] } ReplicationPipelineStatusResponse: { - /** @description Pipeline id */ + /** + * @description Pipeline id + * @example 1012 + */ pipeline_id: number /** @description Pipeline status */ status: { - /** @enum {string} */ + /** + * @example started + * @enum {string} + */ name: 'stopped' | 'starting' | 'started' | 'stopping' | 'unknown' | 'failed' } } + ReplicationPipelineVersionResponse: { + /** @description New pipeline version */ + new_version?: { + /** + * @description Version id + * @example 3 + */ + id: number + /** + * @description Version name + * @example v0.3.0 + */ + name: string + } + /** + * @description Pipeline id + * @example 1012 + */ + pipeline_id: number + /** @description Current pipeline version */ + version: { + /** + * @description Version id + * @example 3 + */ + id: number + /** + * @description Version name + * @example v0.3.0 + */ + name: string + } + } ReplicationPublicationsResponse: { /** @description List of publications */ publications: { - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ name: string /** @description Publication tables */ tables: { - /** @description Table name */ + /** + * @description Table name + * @example orders + */ name: string - /** @description Table schema */ + /** + * @description Table schema + * @example public + */ schema: string }[] }[] @@ -7850,31 +8199,58 @@ export interface components { ReplicationSourcesResponse: { /** @description List of sources */ sources: { - /** @description Source config */ + /** @description Source configuration */ config: { - /** @description Source host */ + /** + * @description Source host + * @example db.internal + */ host: string - /** @description Source name */ + /** + * @description Source name + * @example main-db + */ name: string - /** @description Source port */ + /** + * @description Source port + * @example 5432 + */ port: number - /** @description Source username */ + /** + * @description Source username + * @example etl_user + */ username: string } - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ id: number - /** @description Source name */ + /** + * @description Source name + * @example main-db + */ name: string - /** @description Tenant id */ + /** + * @description Tenant id + * @example tenant_9f3a2c + */ tenant_id: string }[] } ReplicationTablesResponse: { /** @description List of tables */ tables: { - /** @description Table name */ + /** + * @description Table name + * @example orders + */ name: string - /** @description Table schema */ + /** + * @description Table schema + * @example public + */ schema: string }[] } @@ -7937,10 +8313,14 @@ export interface components { RollbackTableStateBody: { /** * @description Rollback type + * @example individual * @enum {string} */ rollback_type: 'individual' | 'full' - /** @description Table id (internal Postgres OID) */ + /** + * @description Table id (Postgres OID) + * @example 16408 + */ table_id: number } RollbackTableStateResponse: { @@ -7977,16 +8357,25 @@ export interface components { policy: 'manual_retry' } | { - /** @description The time of the next retry (RFC3339 format) */ + /** + * @description Next retry time (RFC 3339 timestamp) + * @example 2025-01-02T03:04:05Z + */ next_retry: string /** @enum {string} */ policy: 'timed_retry' } solution?: string } - /** @description Pipeline id */ + /** + * @description Pipeline id + * @example 1012 + */ pipeline_id: number - /** @description Table id (internal Postgres OID) */ + /** + * @description Table id (Postgres OID) + * @example 16408 + */ table_id: number } RunLintByNameResponse: { @@ -8038,6 +8427,7 @@ export interface components { | 'auth_password_policy_missing' | 'leaked_service_key' | 'no_backup_admin' + | 'vulnerable_postgres_version' remediation: string title: string }[] @@ -8965,75 +9355,139 @@ export interface components { private_only?: boolean } UpdateReplicationDestinationBody: { - /** @description Destination config */ + /** @description Destination configuration */ config: { big_query: { - /** @description BigQuery dataset id */ + /** + * @description BigQuery dataset id + * @example analytics + */ dataset_id: string - /** @description Maximum number of concurrent streams when writing */ + /** + * @description Maximum number of concurrent write streams + * @example 8 + */ max_concurrent_streams?: number - /** @description Max staleness in minutes */ + /** + * @description Maximum data staleness in minutes + * @example 5 + */ max_staleness_mins?: number - /** @description BigQuery project id */ + /** + * @description BigQuery project id + * @example my-gcp-project + */ project_id: string /** @description BigQuery service account key */ service_account_key: string } } - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ name: string } UpdateReplicationDestinationPipelineBody: { - /** @description Destination config */ + /** @description Destination configuration */ destination_config: { big_query: { - /** @description BigQuery dataset id */ + /** + * @description BigQuery dataset id + * @example analytics + */ dataset_id: string - /** @description Maximum number of concurrent streams when writing */ + /** + * @description Maximum number of concurrent write streams + * @example 8 + */ max_concurrent_streams?: number - /** @description Max staleness in minutes */ + /** + * @description Maximum data staleness in minutes + * @example 5 + */ max_staleness_mins?: number - /** @description BigQuery project id */ + /** + * @description BigQuery project id + * @example my-gcp-project + */ project_id: string /** @description BigQuery service account key */ service_account_key: string } } - /** @description Destination name */ + /** + * @description Destination name + * @example bq-analytics + */ destination_name: string - /** @description Pipeline config */ + /** @description Pipeline configuration */ pipeline_config: { - /** @description Batch config */ + /** @description Batch configuration */ batch?: { - /** @description Maximum fill time in ms */ + /** + * @description Maximum fill time in milliseconds + * @example 200 + */ max_fill_ms: number - /** @description Maximum batch size */ + /** + * @description Maximum batch size + * @example 5000 + */ max_size: number } - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ publication_name: string } - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ source_id: number } UpdateReplicationPipelineBody: { - /** @description Pipeline config */ + /** @description Pipeline configuration */ config: { - /** @description Batch config */ + /** @description Batch configuration */ batch?: { - /** @description Maximum fill time in ms */ + /** + * @description Maximum fill time in milliseconds + * @example 200 + */ max_fill_ms: number - /** @description Maximum batch size */ + /** + * @description Maximum batch size + * @example 5000 + */ max_size: number } - /** @description Publication name */ + /** + * @description Publication name + * @example pub_orders + */ publication_name: string } - /** @description Destination id */ + /** + * @description Destination id + * @example 2001 + */ destination_id: number - /** @description Source id */ + /** + * @description Source id + * @example 3001 + */ source_id: number } + UpdateReplicationPipelineVersionBody: { + /** + * @description Pipeline version id + * @example 4 + */ + version_id: number + } UpdateSchemaBody: { name?: string owner?: string @@ -13277,12 +13731,6 @@ export interface operations { 'application/json': components['schemas']['OrganizationProjectsResponse'] } } - 403: { - headers: { - [name: string]: unknown - } - content?: never - } /** @description Failed to retrieve projects */ 500: { headers: { @@ -18476,7 +18924,7 @@ export interface operations { | 'realtime_channel_db_events' | 'realtime_authorization_rls_execution_time' | 'realtime_payload_size' - | 'realtime_connected_clients' + | 'realtime_sum_connections_connected' | 'realtime_replication_connection_lag' databaseIdentifier?: string endDate: string @@ -19064,6 +19512,7 @@ export interface operations { | 'auth_password_policy_missing' | 'leaked_service_key' | 'no_backup_admin' + | 'vulnerable_postgres_version' /** @description Project ref */ ref: string } @@ -19401,7 +19850,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns all destinations. */ + /** @description All destinations for the project. */ 200: { headers: { [name: string]: unknown @@ -19416,7 +19865,7 @@ export interface operations { } content?: never } - /** @description Failed to get replication destinations. */ + /** @description Unexpected error while listing destinations. */ 500: { headers: { [name: string]: unknown @@ -19441,8 +19890,8 @@ export interface operations { } } responses: { - /** @description Returns the created replication destination ID. */ - 201: { + /** @description Destination created. */ + 200: { headers: { [name: string]: unknown } @@ -19456,7 +19905,7 @@ export interface operations { } content?: never } - /** @description Failed to create destination. */ + /** @description Unexpected error while creating destination. */ 500: { headers: { [name: string]: unknown @@ -19481,8 +19930,8 @@ export interface operations { } } responses: { - /** @description Returns the created replication destination and pipeline IDs. */ - 201: { + /** @description Destination and pipeline created. */ + 200: { headers: { [name: string]: unknown } @@ -19496,7 +19945,7 @@ export interface operations { } content?: never } - /** @description Returned when the API fails to create the replication destination or pipeline. */ + /** @description Unexpected error while creating destination or pipeline. */ 500: { headers: { [name: string]: unknown @@ -19514,7 +19963,7 @@ export interface operations { destination_id: number /** @description Pipeline id */ pipeline_id: number - /** @description Project reference */ + /** @description Project ref */ ref: string } cookie?: never @@ -19525,8 +19974,8 @@ export interface operations { } } responses: { - /** @description Returned when the replication destination and pipeline are updated. */ - 201: { + /** @description Destination and pipeline updated. */ + 200: { headers: { [name: string]: unknown } @@ -19538,7 +19987,7 @@ export interface operations { } content?: never } - /** @description Returned when the API fails to update the replication destination or pipeline. */ + /** @description Unexpected error while updating destination or pipeline. */ 500: { headers: { [name: string]: unknown @@ -19556,15 +20005,15 @@ export interface operations { destination_id: number /** @description Pipeline id */ pipeline_id: number - /** @description Project reference */ + /** @description Project ref */ ref: string } cookie?: never } requestBody?: never responses: { - /** @description Returned when the replication destination and pipeline are deleted. */ - 201: { + /** @description Destination and pipeline deleted. */ + 200: { headers: { [name: string]: unknown } @@ -19576,7 +20025,7 @@ export interface operations { } content?: never } - /** @description Returned when the API fails to delete the replication destination or pipeline. */ + /** @description Unexpected error while deleting destination or pipeline. */ 500: { headers: { [name: string]: unknown @@ -19599,7 +20048,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns the destination. */ + /** @description Destination details. */ 200: { headers: { [name: string]: unknown @@ -19614,7 +20063,7 @@ export interface operations { } content?: never } - /** @description Failed to get destination. */ + /** @description Unexpected error while retrieving destination. */ 500: { headers: { [name: string]: unknown @@ -19641,8 +20090,8 @@ export interface operations { } } responses: { - /** @description Returned when the destination is updated. */ - 201: { + /** @description Destination updated. */ + 200: { headers: { [name: string]: unknown } @@ -19654,7 +20103,7 @@ export interface operations { } content?: never } - /** @description Failed to update destination. */ + /** @description Unexpected error while updating destination. */ 500: { headers: { [name: string]: unknown @@ -19677,7 +20126,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returned when the destination is deleted. */ + /** @description Destination deleted. */ 200: { headers: { [name: string]: unknown @@ -19690,7 +20139,7 @@ export interface operations { } content?: never } - /** @description Failed to delete destination. */ + /** @description Unexpected error while deleting destination. */ 500: { headers: { [name: string]: unknown @@ -19711,7 +20160,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns all replication pipelines. */ + /** @description All pipelines for the project. */ 200: { headers: { [name: string]: unknown @@ -19726,7 +20175,7 @@ export interface operations { } content?: never } - /** @description Fails to retrieve replication pipelines. */ + /** @description Unexpected error while listing pipelines. */ 500: { headers: { [name: string]: unknown @@ -19751,8 +20200,8 @@ export interface operations { } } responses: { - /** @description Returns the ID of the created replication pipeline. */ - 201: { + /** @description Pipeline created. */ + 200: { headers: { [name: string]: unknown } @@ -19766,7 +20215,7 @@ export interface operations { } content?: never } - /** @description Fails to create replication pipeline. */ + /** @description Unexpected error while creating pipeline. */ 500: { headers: { [name: string]: unknown @@ -19789,7 +20238,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns the details of the specified replication pipeline. */ + /** @description Pipeline details. */ 200: { headers: { [name: string]: unknown @@ -19804,7 +20253,7 @@ export interface operations { } content?: never } - /** @description Fails to retrieve replication pipeline. */ + /** @description Unexpected error while retrieving pipeline. */ 500: { headers: { [name: string]: unknown @@ -19831,8 +20280,8 @@ export interface operations { } } responses: { - /** @description Returns when the replication pipeline is successfully updated. */ - 201: { + /** @description Pipeline updated. */ + 200: { headers: { [name: string]: unknown } @@ -19844,7 +20293,7 @@ export interface operations { } content?: never } - /** @description Fails to update replication pipeline. */ + /** @description Unexpected error while updating pipeline. */ 500: { headers: { [name: string]: unknown @@ -19867,7 +20316,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns when the replication pipeline is successfully deleted. */ + /** @description Pipeline deleted. */ 200: { headers: { [name: string]: unknown @@ -19880,7 +20329,7 @@ export interface operations { } content?: never } - /** @description Fails to delete replication pipeline. */ + /** @description Unexpected error while deleting pipeline. */ 500: { headers: { [name: string]: unknown @@ -19903,7 +20352,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns the replication status of the pipeline. */ + /** @description Pipeline replication status. */ 200: { headers: { [name: string]: unknown @@ -19918,7 +20367,7 @@ export interface operations { } content?: never } - /** @description Fails to retrieve pipeline replication status. */ + /** @description Unexpected error while retrieving replication status. */ 500: { headers: { [name: string]: unknown @@ -19945,7 +20394,7 @@ export interface operations { } } responses: { - /** @description Returns the table state after the rollback. */ + /** @description New table state after rollback. */ 200: { headers: { [name: string]: unknown @@ -19960,7 +20409,7 @@ export interface operations { } content?: never } - /** @description Fails to roll back table state. */ + /** @description Unexpected error while rolling back table state. */ 500: { headers: { [name: string]: unknown @@ -19983,7 +20432,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns when the replication pipeline is successfully started. */ + /** @description Pipeline started. */ 200: { headers: { [name: string]: unknown @@ -19996,7 +20445,7 @@ export interface operations { } content?: never } - /** @description Fails to start replication pipeline. */ + /** @description Unexpected error while starting pipeline. */ 500: { headers: { [name: string]: unknown @@ -20019,7 +20468,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns the current status of the replication pipeline. */ + /** @description Current pipeline status. */ 200: { headers: { [name: string]: unknown @@ -20034,7 +20483,7 @@ export interface operations { } content?: never } - /** @description Fails to retrieve pipeline status. */ + /** @description Unexpected error while retrieving pipeline status. */ 500: { headers: { [name: string]: unknown @@ -20057,7 +20506,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns when the replication pipeline is successfully stopped. */ + /** @description Pipeline stopped. */ 200: { headers: { [name: string]: unknown @@ -20070,7 +20519,85 @@ export interface operations { } content?: never } - /** @description Fails to stop replication pipeline. */ + /** @description Unexpected error while stopping pipeline. */ + 500: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } + ReplicationPipelinesController_getPipelineVersion: { + parameters: { + query?: never + header?: never + path: { + /** @description Pipeline id */ + pipeline_id: number + /** @description Project ref */ + ref: string + } + cookie?: never + } + requestBody?: never + responses: { + /** @description Current pipeline version. */ + 200: { + headers: { + [name: string]: unknown + } + content: { + 'application/json': components['schemas']['ReplicationPipelineVersionResponse'] + } + } + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Unexpected error while retrieving pipeline version. */ + 500: { + headers: { + [name: string]: unknown + } + content?: never + } + } + } + ReplicationPipelinesController_updatePipelineVersion: { + parameters: { + query?: never + header?: never + path: { + /** @description Pipeline id */ + pipeline_id: number + /** @description Project ref */ + ref: string + } + cookie?: never + } + requestBody: { + content: { + 'application/json': components['schemas']['UpdateReplicationPipelineVersionBody'] + } + } + responses: { + /** @description Pipeline version updated. */ + 200: { + headers: { + [name: string]: unknown + } + content?: never + } + 403: { + headers: { + [name: string]: unknown + } + content?: never + } + /** @description Unexpected error while updating pipeline version. */ 500: { headers: { [name: string]: unknown @@ -20091,7 +20618,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns all sources. */ + /** @description All sources for the project. */ 200: { headers: { [name: string]: unknown @@ -20106,7 +20633,7 @@ export interface operations { } content?: never } - /** @description Failed to get replication sources. */ + /** @description Unexpected error while listing sources. */ 500: { headers: { [name: string]: unknown @@ -20127,8 +20654,8 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns the created replication source ID. */ - 201: { + /** @description Source created. */ + 200: { headers: { [name: string]: unknown } @@ -20142,7 +20669,7 @@ export interface operations { } content?: never } - /** @description Failed to create replication source. */ + /** @description Unexpected error while creating source. */ 500: { headers: { [name: string]: unknown @@ -20165,7 +20692,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns all publications. */ + /** @description All publications for the source. */ 200: { headers: { [name: string]: unknown @@ -20180,7 +20707,7 @@ export interface operations { } content?: never } - /** @description Failed to get source publications. */ + /** @description Unexpected error while listing publications. */ 500: { headers: { [name: string]: unknown @@ -20207,8 +20734,8 @@ export interface operations { } } responses: { - /** @description Returned when the publication is created. */ - 201: { + /** @description Publication created. */ + 200: { headers: { [name: string]: unknown } @@ -20220,7 +20747,7 @@ export interface operations { } content?: never } - /** @description Failed to create publication. */ + /** @description Unexpected error while creating publication. */ 500: { headers: { [name: string]: unknown @@ -20238,13 +20765,14 @@ export interface operations { publication_name: string /** @description Project ref */ ref: string + /** @description Source id */ source_id: number } cookie?: never } requestBody?: never responses: { - /** @description Returned when the publication is deleted. */ + /** @description Publication deleted. */ 200: { headers: { [name: string]: unknown @@ -20257,7 +20785,7 @@ export interface operations { } content?: never } - /** @description Failed to delete publication. */ + /** @description Unexpected error while deleting publication. */ 500: { headers: { [name: string]: unknown @@ -20280,7 +20808,7 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns all tables. */ + /** @description All tables for the source. */ 200: { headers: { [name: string]: unknown @@ -20295,7 +20823,7 @@ export interface operations { } content?: never } - /** @description Failed to get source tables. */ + /** @description Unexpected error while listing tables. */ 500: { headers: { [name: string]: unknown @@ -20316,8 +20844,8 @@ export interface operations { } requestBody?: never responses: { - /** @description Returns the created replication tenant and source IDs. */ - 201: { + /** @description Tenant and source created. */ + 200: { headers: { [name: string]: unknown } @@ -20331,7 +20859,7 @@ export interface operations { } content?: never } - /** @description Failed to create replication tenant or source. */ + /** @description Unexpected error while creating tenant or source. */ 500: { headers: { [name: string]: unknown