Skip to content

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

chore: update api.d.ts

dragarcia7f6d1fb56a95
diff --git a/studio/data/api.d.ts b/studio/data/api.d.ts
index 30c7c2551c9..1af1d2a2fb6 100644
--- a/studio/data/api.d.ts
+++ b/studio/data/api.d.ts
@@ -214,9 +214,13 @@ export interface paths {
"/platform/organizations/{slug}/billing/subscription": {
/** Gets the current subscription */
get: operations["SubscriptionController_getSubscription"];
- /** Updates subscription */
+ /** Previews subscription change */
put: operations["SubscriptionController_updateSubscription"];
};
+ "/platform/organizations/{slug}/billing/subscription/preview": {
+ /** Updates subscription */
+ post: operations["SubscriptionController_previewSubscriptionChange"];
+ };
"/platform/organizations/{slug}/billing/plans": {
/** Gets subscription plans */
get: operations["OrgPlansController_getAvailablePlans"];
@@ -1818,6 +1822,8 @@ export interface components {
SMS_PROVIDER?: string;
SMS_MESSAGEBIRD_ACCESS_KEY?: string;
SMS_MESSAGEBIRD_ORIGINATOR?: string;
+ SMS_TEST_OTP?: string;
+ SMS_TEST_OTP_VALID_UNTIL?: string;
SMS_TEXTLOCAL_API_KEY?: string;
SMS_TEXTLOCAL_SENDER?: string;
SMS_TWILIO_ACCOUNT_SID?: string;
@@ -2058,11 +2064,9 @@ export interface components {
};
Backup: {
id: number;
- data: Record<string, never>;
+ isPhysicalBackup: boolean;
project_id: number;
status: Record<string, never>;
- s3_path: string;
- s3_bucket: string;
inserted_at: string;
};
BackupsResponse: {
@@ -2070,6 +2074,7 @@ export interface components {
tierKey: string;
region: string;
walg_enabled: boolean;
+ pitr_enabled: boolean;
backups: (components["schemas"]["Backup"])[];
physicalBackupData: {
earliestPhysicalBackupDateUnix?: number;
@@ -2090,12 +2095,7 @@ export interface components {
};
RestoreBackupBody: {
id: number;
- data: Record<string, never>;
- inserted_at: string;
- project_id: number;
- s3_bucket: string;
- s3_path: string;
- status: string;
+ isPhysicalBackup: boolean;
};
PointInTimeRestoreBody: {
recovery_time_target_unix: number;
@@ -5463,6 +5463,26 @@ export interface operations {
500: never;
};
};
+ /** Updates subscription */
+ SubscriptionController_previewSubscriptionChange: {
+ parameters: {
+ path: {
+ /** @description Organization slug */
+ slug: string;
+ };
+ };
+ requestBody: {
+ content: {
+ "application/json": components["schemas"]["UpdateSubscriptionBody"];
+ };
+ };
+ responses: {
+ 201: never;
+ 403: never;
+ /** @description Failed to update subscription */
+ 500: never;
+ };
+ };
/** Gets subscription plans */
OrgPlansController_getAvailablePlans: {
parameters: {