Revert "chore: update prod api types (#54394)" (#54404)

This reverts commit 37d4f444b4.

OpenFGA model needs updating first before updating the API types
This commit is contained in:
K-Dog (Kevin) authored and GitHub committed 2026-12-01 21:46:40 +08:00
1 parent 20a5212c42
commit dc4f247e79
10 files changed
+175 -2799

No files matched your search

@@ -146,10 +146,6 @@ export const FGA_SCOPE_MINIMUM_ROLE: Record<string, TokenRoleLevel> = {
edge_functions_write: 'developer',
edge_functions_secrets_read: 'readonly',
edge_functions_secrets_write: 'administrator',
environment_secrets_read: 'readonly',
environment_secrets_write: 'administrator',
environment_variables_read: 'readonly',
environment_variables_write: 'developer',
infra_add_ons_read: 'readonly',
infra_add_ons_write: 'administrator',
infra_disk_config_read: 'readonly',
@@ -55,10 +55,6 @@ const createMockInvoice = (details: Partial<Invoice> = {}): Invoice => ({
id: 'in_123',
number: 'ABCD-0001',
amount_due: 0,
amount_refunded_cents: 0,
credit_notes_applied_cents: 0,
payment_details: null,
total_cents: 0,
invoice_pdf: 'https://example.com/invoice.pdf',
payment_attempted: false,
payment_is_processing: false,
@@ -18,9 +18,6 @@ const handleError = (error: unknown): never => {
return sharedHandleError(error)
}
// The spec declares `page` as a deep object, which must serialize as `page[limit]=…` on the wire.
const pageQuerySerializer = { object: { style: 'deepObject', explode: true } } as const
export type WebhookScopeParams =
| { scope: 'organization'; orgSlug: string }
| { scope: 'project'; projectRef: string }
@@ -51,19 +48,18 @@ export async function listWebhookEndpoints(
signal?: AbortSignal
) {
const query = {
page: { limit: page?.limit?.toString(), offset: page?.offset?.toString() },
'page[limit]': page?.limit?.toString(),
'page[offset]': page?.offset?.toString(),
}
const { data, error } =
scope.scope === 'organization'
? await get('/v2/organizations/{slug}/webhooks/endpoints', {
params: { path: { slug: scope.orgSlug }, query },
querySerializer: pageQuerySerializer,
signal,
})
: await get('/v2/projects/{ref}/webhooks/endpoints', {
params: { path: { ref: scope.projectRef }, query },
querySerializer: pageQuerySerializer,
signal,
})
@@ -159,19 +155,19 @@ export async function listWebhookDeliveries(
signal?: AbortSignal
) {
const query = {
page: { size: page?.size?.toString(), after: page?.after, before: page?.before },
'page[size]': page?.size?.toString(),
'page[after]': page?.after,
'page[before]': page?.before,
}
const { data, error } =
scope.scope === 'organization'
? await get('/v2/organizations/{slug}/webhooks/endpoints/{id}/deliveries', {
params: { path: { slug: scope.orgSlug, id: endpointId }, query },
querySerializer: pageQuerySerializer,
signal,
})
: await get('/v2/projects/{ref}/webhooks/endpoints/{id}/deliveries', {
params: { path: { ref: scope.projectRef, id: endpointId }, query },
querySerializer: pageQuerySerializer,
signal,
})
+1 -1
View File
@@ -70,7 +70,7 @@
"@supabase/mcp-server-supabase": "^0.20.0",
"@supabase/pg-meta": "workspace:*",
"@supabase/realtime-js": "catalog:",
"@supabase/shared-types": "0.1.102",
"@supabase/shared-types": "0.1.98",
"@supabase/supabase-js": "catalog:",
"@tanstack/react-devtools": "^0.10.3",
"@tanstack/react-hotkeys": "^0.10.0",
+2 -28
View File
@@ -4120,7 +4120,7 @@ export interface components {
code: 'entitlement_required'
/** @description Entitlement feature key that failed the check */
feature: string
/** @description Dashboard URL where the feature can be unlocked: the organization billing page, or the project add-ons page when a per-project add-on is missing. Present when the organization or project is resolvable */
/** @description Billing page URL for the organization, present when the org is resolvable */
upgrade_url?: string
}
/** @description Human-readable explanation of the plan gate */
@@ -5208,26 +5208,9 @@ export interface components {
* "clone": "RUNNING",
* "configure": "RUNNING",
* "migrate": "RUNNING",
* "deploy": "CREATED",
* "api_errors": [
* {
* "step": "configure",
* "method": "PUT",
* "path": "/v1/projects/abcdefghijklmnopqrst/config/auth",
* "status_code": 503
* }
* ]
* "deploy": "CREATED"
* } */
UpdateRunStatusBody: {
/** @description Management API errors of the run so far. For each step whose status is in the request, these replace its stored errors, or clear them if none are listed. Errors of a step without a status in the request are ignored. */
api_errors?: {
method: string
path: string
/** @description HTTP status code of the response, or 0 if the request timed out */
status_code: number
/** @enum {string} */
step: 'clone' | 'pull' | 'health' | 'configure' | 'migrate' | 'seed' | 'deploy'
}[]
/** @enum {string} */
clone?: 'CREATED' | 'DEAD' | 'EXITED' | 'PAUSED' | 'REMOVING' | 'RESTARTING' | 'RUNNING'
/** @enum {string} */
@@ -11179,15 +11162,6 @@ export interface operations {
}
content?: never
}
/** @description The project does not have the PITR add-on, or the request cannot be fulfilled */
400: {
headers: {
[name: string]: unknown
}
content: {
'application/json': components['schemas']['PlanGateErrorBody']
}
}
/** @description Unauthorized */
401: {
headers: {
+138 -2064
View File
File diff suppressed because it is too large. Load diff
@@ -38,12 +38,6 @@ export const fgaRequirements = {
'DELETE /v2/organizations/{slug}/members/{user_id}': [['organization_admin_write']],
'DELETE /v2/projects/{ref}/analytics/log-drains/{id}': [['analytics_config_write']],
'DELETE /v2/projects/{ref}/compute/{name}': [['workers_write']],
'DELETE /v2/projects/{ref}/environments/{environment}/secrets/{name}': [
['environment_secrets_write'],
],
'DELETE /v2/projects/{ref}/environments/{environment}/variables/{name}': [
['environment_variables_write'],
],
'DELETE /v2/projects/{ref}/functions': [['edge_functions_write']],
'DELETE /v2/projects/{ref}/notebooks/{id}': [['project_notebooks_write']],
'DELETE /v2/projects/{ref}/private-link/associations/aws-account/{aws_account_id}': [
@@ -163,12 +157,9 @@ export const fgaRequirements = {
'GET /v2/organizations/{slug}/integrations/github/connections': [['organization_projects_read']],
'GET /v2/organizations/{slug}/maintenance/windows': [['organization_admin_read']],
'GET /v2/organizations/{slug}/members': [['members_read']],
'GET /v2/organizations/{slug}/members/invitations': [['members_read']],
'GET /v2/organizations/{slug}/projects': [['organization_projects_read']],
'GET /v2/organizations/{slug}/roles': [['members_read']],
'GET /v2/projects/{ref}/analytics/log-drains': [['analytics_config_read']],
'GET /v2/projects/{ref}/analytics/traces/{trace_id}': [['analytics_logs_read']],
'GET /v2/projects/{ref}/backups/downloadable-backups': [['backups_read']],
'GET /v2/projects/{ref}/compute': [['workers_read']],
'GET /v2/projects/{ref}/compute/{name}': [['workers_read']],
'GET /v2/projects/{ref}/config': [
@@ -183,20 +174,14 @@ export const fgaRequirements = {
'storage_config_read',
],
],
'GET /v2/projects/{ref}/database/clone/cloneable-backups': [['backups_read']],
'GET /v2/projects/{ref}/database/clone/status': [['backups_read']],
'GET /v2/projects/{ref}/environments/{environment}/secrets': [['environment_secrets_read']],
'GET /v2/projects/{ref}/environments/{environment}/variables': [['environment_variables_read']],
'GET /v2/projects/{ref}/notebooks': [['project_notebooks_read']],
'GET /v2/projects/{ref}/notebooks/{id}': [['project_notebooks_read']],
'GET /v2/projects/{ref}/private-link/associations': [['project_admin_read']],
'GET /v2/projects/{ref}/warehouse/capacity': [['database_read']],
'GET /v2/projects/{ref}/warehouse/connection': [['database_read']],
'GET /v2/projects/{ref}/warehouse/ingestion-stats': [['database_read']],
'GET /v2/projects/{ref}/warehouse/query-stats': [['database_read']],
'GET /v2/projects/{ref}/warehouse/setups/current': [['database_read']],
'GET /v2/projects/{ref}/warehouse/status': [['database_read']],
'GET /v2/projects/{ref}/warehouse/storage-stats': [['database_read']],
'GET /v2/projects/{ref}/warehouse/tables': [['database_read']],
'GET /v2/projects/{ref}/warehouse/tables/{table_id}': [['database_read']],
'GET /v2/projects/{ref}/warehouse/tables/{table_id}/layout': [['database_read']],
@@ -318,10 +303,6 @@ export const fgaRequirements = {
],
'POST /v2/projects/{ref}/compute/{name}/deploy': [['workers_write']],
'POST /v2/projects/{ref}/compute/{name}/uploads': [['workers_write']],
'POST /v2/projects/{ref}/environments/{environment}/deploy': [
['branching_development_write'],
['branching_production_write'],
],
'POST /v2/projects/{ref}/notebooks': [['project_notebooks_write']],
'POST /v2/projects/{ref}/private-link/associations': [['project_admin_write']],
'POST /v2/projects/{ref}/transfers': [['organization_admin_write']],
@@ -348,12 +329,6 @@ export const fgaRequirements = {
'PUT /v1/projects/{ref}/pgsodium': [['project_admin_write']],
'PUT /v1/projects/{ref}/ssl-enforcement': [['database_ssl_config_write']],
'PUT /v2/projects/{ref}/analytics/log-drains/{id}': [['analytics_config_write']],
'PUT /v2/projects/{ref}/environments/{environment}/secrets/{name}': [
['environment_secrets_write'],
],
'PUT /v2/projects/{ref}/environments/{environment}/variables/{name}': [
['environment_variables_write'],
],
} as const
export type FgaRequirements = typeof fgaRequirements
+21 -656
View File
@@ -1677,63 +1677,6 @@ export interface paths {
patch?: never
trace?: never
}
'/platform/organizations/{slug}/hipaa/agreements/{id}': {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
get?: never
put?: never
post?: never
delete?: never
options?: never
head?: never
/**
* Updates the details of a pending delegated HIPAA agreement
* @description Send all legal entity and signatory fields together. Every update invalidates the previous link and sends a new one to the supplied signatory.
*/
patch: operations['HipaaController_updateAgreement']
trace?: never
}
'/platform/organizations/{slug}/hipaa/agreements/{id}/cancel': {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
get?: never
put?: never
/** Cancels a pending delegated HIPAA agreement */
post: operations['HipaaController_cancelAgreement']
delete?: never
options?: never
head?: never
patch?: never
trace?: never
}
'/platform/organizations/{slug}/hipaa/agreements/{id}/resend': {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
get?: never
put?: never
/**
* Resends the acceptance email for a pending delegated HIPAA agreement
* @description Invalidates the previous link and sends a fresh seven-day link to the saved signatory.
*/
post: operations['HipaaController_resendAgreement']
delete?: never
options?: never
head?: never
patch?: never
trace?: never
}
'/platform/organizations/{slug}/hipaa/agreements/accept': {
parameters: {
query?: never
@@ -1751,23 +1694,6 @@ export interface paths {
patch?: never
trace?: never
}
'/platform/organizations/{slug}/hipaa/agreements/delegate': {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
get?: never
put?: never
/** Sends the HIPAA BAA to a delegated signatory */
post: operations['HipaaController_delegateAgreement']
delete?: never
options?: never
head?: never
patch?: never
trace?: never
}
'/platform/organizations/{slug}/members': {
parameters: {
query?: never
@@ -5568,7 +5494,7 @@ export interface paths {
}
/**
* Get Warehouse metrics over a time range
* @description Return up to eight allowlisted measurements from regional metrics storage, scoped to the authorized project and its stored Warehouse compute or independently resolved ETL pipeline placement. ETL queries include only authorized DuckLake pipelines. Sampled health reports unknown observation freshness; scrape receipt is not proof of a successful health observation. Specify attribute or attributes with ISO startDate/endDate and an optional interval. Each measurement retains its units, dimensions, coverage and availability in the metrics array. Source cadence and default interval are one minute. Missing/stale samples are null, not zero. Does not require the source database to be healthy. No raw queries or backend selection are accepted. An unconfigured or unavailable regional reader never falls back to central storage.
* @description Return up to eight allowlisted measurements from regional metrics storage, scoped to the authorized project and its stored Warehouse compute placement. Specify attribute or attributes with ISO startDate/endDate and an optional interval. Each measurement retains its units, dimensions, coverage and availability in the metrics array. Source cadence and default interval are one minute. Missing/stale samples are null, not zero. Does not require the source database to be healthy. No raw queries or backend selection are accepted. An unconfigured or unavailable regional reader never falls back to central storage.
*/
get: operations['WarehouseMetricsController_getMetrics']
put?: never
@@ -5754,17 +5680,9 @@ export interface components {
}
AcceptHipaaAgreementResponse_Output: {
agreement: {
/** Format: date-time */
acceptance_expires_at: string | null
/** Format: date-time */
accepted_at: string | null
accepted_at: string
/** @enum {string} */
agreement_type: 'hipaa_baa'
/** Format: date-time */
created_at: string
document_url: string | null
/** Format: uuid */
id: string
legal_entity_address: {
city?: string | null
country: string
@@ -5778,9 +5696,7 @@ export interface components {
signatory_name: string
signatory_title: string
/** @enum {string} */
status: 'pending' | 'accepted' | 'terminated' | 'cancelled'
/** Format: date-time */
terminated_at: string | null
status: 'accepted'
}
hipaa_addon: {
enabled_at: string
@@ -6886,8 +6802,6 @@ export interface components {
| 'auth:write'
| 'database:read'
| 'database:write'
| 'database_token_access:read'
| 'database_token_access:write'
| 'domains:read'
| 'domains:write'
| 'edge_functions:read'
@@ -7188,10 +7102,6 @@ export interface components {
| 'workers_write'
| 'project_notebooks_read'
| 'project_notebooks_write'
| 'environment_variables_read'
| 'environment_variables_write'
| 'environment_secrets_read'
| 'environment_secrets_write'
)[]
}
CreatePlatformAppResponse_Output: {
@@ -7352,7 +7262,7 @@ export interface components {
}
/** @description Allows a CORDONED kubernetes_cluster_id for an explicit operator-directed deployment. PENDING and REMOVED clusters remain ineligible. Has no effect without kubernetes_cluster_id also set. */
kubernetes_cluster_force?: boolean
/** @description Override the Kubernetes cluster for initial project placement, bypassing load-balancing. In production, dashboard AWS_K8S requests require advanced deployment to be enabled for the organization; system requests remain supported. */
/** @description Override the Kubernetes cluster this project is created on, bypassing load-balancing, for this creation only. Only for internal use; rejected for user-facing requests in production. */
kubernetes_cluster_id?: string
warehouse_fdw?: {
/** @description AWS ACM Private CA ARN used by the worker to issue per-project warehouse FDW client certificates. Defaults to the worker environment configuration when omitted. */
@@ -8174,10 +8084,6 @@ export interface components {
| 'workers_write'
| 'project_notebooks_read'
| 'project_notebooks_write'
| 'environment_variables_read'
| 'environment_variables_write'
| 'environment_secrets_read'
| 'environment_secrets_write'
)[]
project_refs?: string[]
}
@@ -8504,52 +8410,6 @@ export interface components {
DeclineAuthorizationResponse_Output: {
id: string
}
DelegateHipaaAgreementBody: {
legal_entity_address: {
city?: string | null
country: string
line1: string
line2?: string | null
postal_code?: string | null
state?: string | null
}
legal_entity_name: string
/** Format: email */
signatory_email: string
signatory_name: string
signatory_title: string
}
DelegateHipaaAgreementResponse_Output: {
agreement: {
/** Format: date-time */
acceptance_expires_at: string | null
/** Format: date-time */
accepted_at: string | null
/** @enum {string} */
agreement_type: 'hipaa_baa'
/** Format: date-time */
created_at: string
document_url: string | null
/** Format: uuid */
id: string
legal_entity_address: {
city?: string | null
country: string
line1: string
line2?: string | null
postal_code?: string | null
state?: string | null
}
legal_entity_name: string
signatory_email: string
signatory_name: string
signatory_title: string
/** @enum {string} */
status: 'pending' | 'accepted' | 'terminated' | 'cancelled'
/** Format: date-time */
terminated_at: string | null
}
}
DeleteDestinationPipelineResponse_Output: {
/**
* @description Whether the destination was deleted. True when no other pipelines remain attached to it.
@@ -9242,16 +9102,8 @@ export interface components {
GetHipaaStatusResponse_Output: {
addon_enabled: boolean
agreement: {
/** Format: date-time */
acceptance_expires_at: string | null
/** Format: date-time */
accepted_at: string | null
/** @enum {string} */
agreement_type: 'hipaa_baa'
/** Format: date-time */
created_at: string
document_url: string | null
/** Format: uuid */
id: string
legal_entity_address: {
city?: string | null
@@ -9260,14 +9112,13 @@ export interface components {
line2?: string | null
postal_code?: string | null
state?: string | null
}
legal_entity_name: string
signatory_email: string
signatory_name: string
signatory_title: string
} | null
legal_entity_name: string | null
signatory_email: string | null
signatory_name: string | null
signatory_title: string | null
/** @enum {string} */
status: 'pending' | 'accepted' | 'terminated' | 'cancelled'
/** Format: date-time */
terminated_at: string | null
} | null
self_serve_eligibility: {
@@ -9310,8 +9161,6 @@ export interface components {
| 'auth:write'
| 'database:read'
| 'database:write'
| 'database_token_access:read'
| 'database_token_access:write'
| 'domains:read'
| 'domains:write'
| 'edge_functions:read'
@@ -10201,43 +10050,16 @@ export interface components {
}
Invoice_Output: {
amount_due: number
amount_refunded_cents: number
credit_notes_applied_cents: number
id: string
invoice_pdf: string | null
number: string
payment_attempted: boolean
payment_details: {
/** @description The payment details of the payment method, e.g., card information */
card: {
/** @description The brand of the card, e.g., Visa, MasterCard */
brand: string
/** @description The country of the card */
country: string | null
/** @description The expiration month of the card */
exp_month: number
/** @description The expiration year of the card */
exp_year: number
/** @description The unique fingerprint of the card */
fingerprint: string | null
/** @description The funding type of the card, e.g., credit, debit, prepaid */
funding: string
/** @description The last 4 digits of the card */
last4: string
}
/**
* @description The type of the payment method, e.g., card, bank_account
* @enum {string}
*/
type: 'card'
} | null
payment_is_processing: boolean
period_end: number
prepaid_credits_applied_cents: number
status: string
subscription: string | null
subtotal: number
total_cents: number
}
InvoicePaymentLinkResponse_Output: {
redirectUrl: string
@@ -10300,7 +10122,7 @@ export interface components {
port?: number
structured_data?: string
/** @default false */
tls: boolean
tls?: boolean
}
| {
access_key_id?: string
@@ -10317,13 +10139,13 @@ export interface components {
| {
endpoint?: string
/** @default true */
gzip: boolean
gzip?: boolean
/** @default {} */
headers: {
headers?: {
[key: string]: string
}
/** @default http/protobuf */
protocol: string
protocol?: string
}
description?: string
readonly id: number
@@ -10551,8 +10373,6 @@ export interface components {
| 'auth:write'
| 'database:read'
| 'database:write'
| 'database_token_access:read'
| 'database_token_access:write'
| 'domains:read'
| 'domains:write'
| 'edge_functions:read'
@@ -10625,8 +10445,6 @@ export interface components {
| 'auth:write'
| 'database:read'
| 'database:write'
| 'database_token_access:read'
| 'database_token_access:write'
| 'domains:read'
| 'domains:write'
| 'edge_functions:read'
@@ -10818,8 +10636,6 @@ export interface components {
| 'auth:write'
| 'database:read'
| 'database:write'
| 'database_token_access:read'
| 'database_token_access:write'
| 'domains:read'
| 'domains:write'
| 'edge_functions:read'
@@ -11007,8 +10823,6 @@ export interface components {
| 'auth:write'
| 'database:read'
| 'database:write'
| 'database_token_access:read'
| 'database_token_access:write'
| 'domains:read'
| 'domains:write'
| 'edge_functions:read'
@@ -12102,7 +11916,7 @@ export interface components {
}[]
}
PipelineStatusResponse_Output: {
/** @description Safe classification of the current runtime failure. Includes static customer guidance, without exit codes, provider messages or worker logs; does not establish its underlying cause. Unrecognized or malformed diagnostics are returned as `null`. */
/** @description Safe classification of the current runtime failure. Includes static customer guidance, without exit codes, provider messages or worker logs; does not establish its underlying cause. Unrecognized or malformed diagnostics are omitted. */
diagnostic?: {
/** @enum {string} */
code:
@@ -12194,7 +12008,7 @@ export interface components {
code: 'entitlement_required'
/** @description Entitlement feature key that failed the check */
feature: string
/** @description Dashboard URL where the feature can be unlocked: the organization billing page, or the project add-ons page when a per-project add-on is missing. Present when the organization or project is resolvable */
/** @description Billing page URL for the organization, present when the org is resolvable */
upgrade_url?: string
}
/** @description Human-readable explanation of the plan gate */
@@ -14907,21 +14721,6 @@ export interface components {
/** @enum {string} */
result: 'success'
}
UpdateDelegatedHipaaAgreementBody: {
legal_entity_address: {
city?: string | null
country: string
line1: string
line2?: string | null
postal_code?: string | null
state?: string | null
}
legal_entity_name: string
/** Format: email */
signatory_email: string
signatory_name: string
signatory_title: string
}
UpdateDestinationBody: {
/** @description Destination configuration */
config:
@@ -15950,10 +15749,6 @@ export interface components {
| 'workers_write'
| 'project_notebooks_read'
| 'project_notebooks_write'
| 'environment_variables_read'
| 'environment_variables_write'
| 'environment_secrets_read'
| 'environment_secrets_write'
)[]
}
UpdatePlatformAppInstallationResponse_Output: {
@@ -17689,7 +17484,7 @@ export interface components {
WarehouseMetricsResponse_Output: {
metrics: {
/** @enum {string} */
aggregation: 'rate' | 'sum' | 'mean' | 'p50' | 'p95' | 'p99' | 'occupied' | 'max'
aggregation: 'rate' | 'sum' | 'mean' | 'p50' | 'p95' | 'p99' | 'occupied'
/** @enum {string} */
availability:
| 'ok'
@@ -17707,7 +17502,7 @@ export interface components {
start: number
step: number
}
/** @description Latest scraped sample timestamp in Unix seconds; not the query evaluation timestamp or proof of a successful recent health observation. */
/** @description Latest observed source sample timestamp in Unix seconds; not the query evaluation timestamp. */
last_sample_at: number | null
/** @enum {string} */
metric:
@@ -17734,43 +17529,6 @@ export interface components {
| 'rpc_rate'
| 'rpc_duration_mean'
| 'rpc_duration_p95'
| 'ingestion_events_received_rate'
| 'ingestion_events_processed_rate'
| 'ingestion_bytes_received_rate'
| 'ingestion_bytes_processed_rate'
| 'replication_wal_lag_bytes'
| 'replication_receive_wal_lag_bytes'
| 'maintenance_request_rate'
| 'maintenance_pause_active'
| 'maintenance_pause_duration_mean'
| 'maintenance_run_rate'
| 'maintenance_results_available'
| 'maintenance_merge_adjacent_files_created_rate'
| 'maintenance_rewrite_data_files_created_rate'
| 'maintenance_expired_snapshots_rate'
| 'maintenance_cleaned_up_files_rate'
| 'inline_flush_rows_rate'
| 'inline_flush_rows_mean'
| 'inline_flush_duration_mean'
| 'table_active_data_files_mean'
| 'table_active_data_bytes_mean'
| 'table_active_data_file_avg_size_bytes_mean'
| 'table_small_file_ratio_mean'
| 'table_active_delete_files_mean'
| 'table_active_delete_bytes_mean'
| 'table_deleted_row_ratio_mean'
| 'table_inlined_data_bytes'
| 'catalog_active_data_files'
| 'catalog_snapshots'
| 'catalog_oldest_snapshot_age'
| 'catalog_deletion_backlog_files'
| 'catalog_deletion_backlog_bytes'
| 'catalog_oldest_deletion_age'
/**
* @description Present for sampled ETL health: successful source-observation freshness is unknown. last_sample_at reports scrape receipt only, not a successful catalog or table sample.
* @enum {string}
*/
observation_freshness?: 'unknown'
project_ref: string
requested: {
end: number
@@ -17799,38 +17557,6 @@ export interface components {
| 'rpc_rate'
| 'rpc_duration_mean'
| 'rpc_duration_p95'
| 'ingestion_events_received_rate'
| 'ingestion_events_processed_rate'
| 'ingestion_bytes_received_rate'
| 'ingestion_bytes_processed_rate'
| 'replication_wal_lag_bytes'
| 'replication_receive_wal_lag_bytes'
| 'maintenance_request_rate'
| 'maintenance_pause_active'
| 'maintenance_pause_duration_mean'
| 'maintenance_run_rate'
| 'maintenance_results_available'
| 'maintenance_merge_adjacent_files_created_rate'
| 'maintenance_rewrite_data_files_created_rate'
| 'maintenance_expired_snapshots_rate'
| 'maintenance_cleaned_up_files_rate'
| 'inline_flush_rows_rate'
| 'inline_flush_rows_mean'
| 'inline_flush_duration_mean'
| 'table_active_data_files_mean'
| 'table_active_data_bytes_mean'
| 'table_active_data_file_avg_size_bytes_mean'
| 'table_small_file_ratio_mean'
| 'table_active_delete_files_mean'
| 'table_active_delete_bytes_mean'
| 'table_deleted_row_ratio_mean'
| 'table_inlined_data_bytes'
| 'catalog_active_data_files'
| 'catalog_snapshots'
| 'catalog_oldest_snapshot_age'
| 'catalog_deletion_backlog_files'
| 'catalog_deletion_backlog_bytes'
| 'catalog_oldest_deletion_age'
start: number
step?: number
}
@@ -17850,18 +17576,7 @@ export interface components {
}[]
}[]
/** @enum {string} */
unit:
| 'per_second'
| 'seconds'
| 'queries'
| 'grants'
| 'bytes'
| 'bytes_per_second'
| 'files'
| 'rows'
| 'ratio'
| 'boolean'
| 'snapshots'
unit: 'per_second' | 'seconds' | 'queries' | 'grants'
}[]
}
WarehouseSetupBody: {
@@ -19015,13 +18730,6 @@ export interface operations {
'application/json': components['schemas']['CloudMarketplaceOnboardingInfoResponse_Output']
}
}
/** @description Contract or buyer not found */
404: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Failed to get info for AWS Marketplace onboarding */
500: {
headers: {
@@ -23706,211 +23414,6 @@ export interface operations {
}
}
}
HipaaController_updateAgreement: {
parameters: {
query?: never
header?: never
path: {
id: string
/** @description Organization slug */
slug: string
}
cookie?: never
}
requestBody: {
content: {
'application/json': components['schemas']['UpdateDelegatedHipaaAgreementBody']
}
}
responses: {
200: {
headers: {
[name: string]: unknown
}
content: {
'application/json': components['schemas']['DelegateHipaaAgreementResponse_Output']
}
}
/** @description Invalid request or organization is not eligible for self-serve HIPAA */
400: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Unauthorized */
401: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Forbidden action */
403: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Pending HIPAA agreement not found for this organization */
404: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Another HIPAA operation is already in progress */
409: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Rate limit exceeded */
429: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Failed to update the agreement or send the acceptance email. Email failure leaves the agreement updated. */
500: {
headers: {
[name: string]: unknown
}
content?: never
}
}
}
HipaaController_cancelAgreement: {
parameters: {
query?: never
header?: never
path: {
id: string
/** @description Organization slug */
slug: string
}
cookie?: never
}
requestBody?: never
responses: {
/** @description The pending agreement was cancelled */
204: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Unauthorized */
401: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Forbidden action */
403: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Pending HIPAA agreement not found for this organization */
404: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Another HIPAA operation is already in progress */
409: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Rate limit exceeded */
429: {
headers: {
[name: string]: unknown
}
content?: never
}
}
}
HipaaController_resendAgreement: {
parameters: {
query?: never
header?: never
path: {
id: string
/** @description Organization slug */
slug: string
}
cookie?: never
}
requestBody?: never
responses: {
200: {
headers: {
[name: string]: unknown
}
content: {
'application/json': components['schemas']['DelegateHipaaAgreementResponse_Output']
}
}
/** @description Invalid request or organization is not eligible for self-serve HIPAA */
400: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Unauthorized */
401: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Forbidden action */
403: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Pending HIPAA agreement not found for this organization */
404: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Another HIPAA operation is already in progress */
409: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Rate limit exceeded */
429: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Failed to refresh the link or send the acceptance email. Email failure leaves the new link in effect. */
500: {
headers: {
[name: string]: unknown
}
content?: never
}
}
}
HipaaController_acceptAgreement: {
parameters: {
query?: never
@@ -23958,53 +23461,6 @@ export interface operations {
}
}
}
HipaaController_delegateAgreement: {
parameters: {
query?: never
header?: never
path: {
/** @description Organization slug */
slug: string
}
cookie?: never
}
requestBody: {
content: {
'application/json': components['schemas']['DelegateHipaaAgreementBody']
}
}
responses: {
200: {
headers: {
[name: string]: unknown
}
content: {
'application/json': components['schemas']['DelegateHipaaAgreementResponse_Output']
}
}
/** @description Unauthorized */
401: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Forbidden action */
403: {
headers: {
[name: string]: unknown
}
content?: never
}
/** @description Rate limit exceeded */
429: {
headers: {
[name: string]: unknown
}
content?: never
}
}
}
MembersController_getMembers: {
parameters: {
query?: never
@@ -24628,18 +24084,9 @@ export interface operations {
parameters: {
query?: {
page?: {
/** @description Cursor in cursor-based pagination to return up to `page[size]` records after (exclusive) the entry specified by this query param. */
after?: string
/** @description Cursor in cursor-based pagination to return up to `page[size]` records before (exclusive) the entry specified by this query param. */
before?: string
/**
* @description String-encoded number specifying up to how many records to return. Default: 20.
*
* Minimum: 1. Maximum: 100.
* @default 20
* @example 10
*/
size?: string
size?: number
}
/** @description Sort field, prefixed with `-` for descending order. Nulls sort last in ascending order and first in descending order. Defaults to `name`. */
sort?:
@@ -24736,18 +24183,9 @@ export interface operations {
parameters: {
query?: {
page?: {
/** @description Cursor in cursor-based pagination to return up to `page[size]` records after (exclusive) the entry specified by this query param. */
after?: string
/** @description Cursor in cursor-based pagination to return up to `page[size]` records before (exclusive) the entry specified by this query param. */
before?: string
/**
* @description String-encoded number specifying up to how many records to return. Default: 20.
*
* Minimum: 1. Maximum: 100.
* @default 20
* @example 10
*/
size?: string
size?: number
}
/** @description Sort field, prefixed with `-` for descending order. `user_email` sorts by the member email, falling back to username, and places the organization-bound grant (which has no user) first in ascending order and last in descending order. Defaults to `user_email`. */
sort?: 'user_email' | '-user_email' | 'approved_at' | '-approved_at'
@@ -27353,18 +26791,9 @@ export interface operations {
parameters: {
query?: {
page?: {
/** @description Cursor in cursor-based pagination to return up to `page[size]` records after (exclusive) the entry specified by this query param. */
after?: string
/** @description Cursor in cursor-based pagination to return up to `page[size]` records before (exclusive) the entry specified by this query param. */
before?: string
/**
* @description String-encoded number specifying up to how many records to return. Default: 20.
*
* Minimum: 1. Maximum: 100.
* @default 20
* @example 10
*/
size?: string
size?: number
}
/** @description Sort field, prefixed with `-` for descending order. Defaults to `app_name`. */
sort?:
@@ -38170,38 +37599,6 @@ export interface operations {
| 'rpc_rate'
| 'rpc_duration_mean'
| 'rpc_duration_p95'
| 'ingestion_events_received_rate'
| 'ingestion_events_processed_rate'
| 'ingestion_bytes_received_rate'
| 'ingestion_bytes_processed_rate'
| 'replication_wal_lag_bytes'
| 'replication_receive_wal_lag_bytes'
| 'maintenance_request_rate'
| 'maintenance_pause_active'
| 'maintenance_pause_duration_mean'
| 'maintenance_run_rate'
| 'maintenance_results_available'
| 'maintenance_merge_adjacent_files_created_rate'
| 'maintenance_rewrite_data_files_created_rate'
| 'maintenance_expired_snapshots_rate'
| 'maintenance_cleaned_up_files_rate'
| 'inline_flush_rows_rate'
| 'inline_flush_rows_mean'
| 'inline_flush_duration_mean'
| 'table_active_data_files_mean'
| 'table_active_data_bytes_mean'
| 'table_active_data_file_avg_size_bytes_mean'
| 'table_small_file_ratio_mean'
| 'table_active_delete_files_mean'
| 'table_active_delete_bytes_mean'
| 'table_deleted_row_ratio_mean'
| 'table_inlined_data_bytes'
| 'catalog_active_data_files'
| 'catalog_snapshots'
| 'catalog_oldest_snapshot_age'
| 'catalog_deletion_backlog_files'
| 'catalog_deletion_backlog_bytes'
| 'catalog_oldest_deletion_age'
/** @description Up to 8 distinct measurements, as a comma-separated list or array. */
attributes?:
| string
@@ -38229,38 +37626,6 @@ export interface operations {
| 'rpc_rate'
| 'rpc_duration_mean'
| 'rpc_duration_p95'
| 'ingestion_events_received_rate'
| 'ingestion_events_processed_rate'
| 'ingestion_bytes_received_rate'
| 'ingestion_bytes_processed_rate'
| 'replication_wal_lag_bytes'
| 'replication_receive_wal_lag_bytes'
| 'maintenance_request_rate'
| 'maintenance_pause_active'
| 'maintenance_pause_duration_mean'
| 'maintenance_run_rate'
| 'maintenance_results_available'
| 'maintenance_merge_adjacent_files_created_rate'
| 'maintenance_rewrite_data_files_created_rate'
| 'maintenance_expired_snapshots_rate'
| 'maintenance_cleaned_up_files_rate'
| 'inline_flush_rows_rate'
| 'inline_flush_rows_mean'
| 'inline_flush_duration_mean'
| 'table_active_data_files_mean'
| 'table_active_data_bytes_mean'
| 'table_active_data_file_avg_size_bytes_mean'
| 'table_small_file_ratio_mean'
| 'table_active_delete_files_mean'
| 'table_active_delete_bytes_mean'
| 'table_deleted_row_ratio_mean'
| 'table_inlined_data_bytes'
| 'catalog_active_data_files'
| 'catalog_snapshots'
| 'catalog_oldest_snapshot_age'
| 'catalog_deletion_backlog_files'
| 'catalog_deletion_backlog_bytes'
| 'catalog_oldest_deletion_age'
)[]
/** @description No later than now; clock skew up to 60 seconds is clamped to server time. */
endDate: string
+1 -1
View File
@@ -15,7 +15,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@supabase/shared-types": "0.1.102",
"@supabase/shared-types": "0.1.98",
"zod": "catalog:"
}
}
+7 -7
View File
@@ -1356,8 +1356,8 @@ importers:
specifier: 'catalog:'
version: 2.117.3
'@supabase/shared-types':
specifier: 0.1.102
version: 0.1.102
specifier: 0.1.98
version: 0.1.98
'@supabase/supabase-js':
specifier: 'catalog:'
version: 2.117.3(@opentelemetry/api@1.9.1)
@@ -2989,8 +2989,8 @@ importers:
packages/shared-data:
dependencies:
'@supabase/shared-types':
specifier: 0.1.102
version: 0.1.102
specifier: 0.1.98
version: 0.1.98
zod:
specifier: 'catalog:'
version: 3.25.76
@@ -9459,8 +9459,8 @@ packages:
resolution: {integrity: sha512-4W4ISbreRygNXbhwqxeqyuRul8RPx+SF+Hp2IT8wctebQEHSVCULfKatiRiEhmasfoXvYm2AHV4XFsOxhoousA==}
engines: {node: '>=22.0.0'}
'@supabase/shared-types@0.1.102':
resolution: {integrity: sha512-dsqtZbCAQSX/O2iZ7Fmbcku+aQUMbEmbEVa7lubmM+v/OxEE/TLb2t8kiJYL5MRLqWLZOIFzgAKQJHq4fvp2eg==}
'@supabase/shared-types@0.1.98':
resolution: {integrity: sha512-TU633VIMRpKDt69Vi9bjiVHTcyC3o1K3A7McIcEN/62Lb1OUK4aQg/zixuuX2qhHSDONfeafvrRmiHGzD7an1A==}
'@supabase/sql-to-rest@0.1.6':
resolution: {integrity: sha512-06KgjeINtc6405XQvfnchBE1azEsU8G2NElfadmvVHKmHa5l2bFzjbtFbpaYgpgTzccHlcDmBaCgedVf2Gyl8Q==}
@@ -26416,7 +26416,7 @@ snapshots:
'@supabase/phoenix': 0.4.5
tslib: 2.8.1
'@supabase/shared-types@0.1.102': {}
'@supabase/shared-types@0.1.98': {}
'@supabase/sql-to-rest@0.1.6(encoding@0.1.13)(supports-color@8.1.1)':
dependencies: