@fusebase/fusebase-gate-sdk 2.2.12-sdk.0 → 2.2.12-sdk.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,6 +137,19 @@ export declare class IsolatedStoresApi {
137
137
  };
138
138
  headers?: Record<string, string>;
139
139
  }): Promise<IsolatedStoreSqlDescribeTableResponseContract>;
140
+ /**
141
+ * Download isolated store revision snapshot
142
+ * Streams the stored physical snapshot artifact for the selected isolated store revision. This is an operator-facing download path for backup extraction and works through gate regardless of whether the snapshot provider is local_file or azure_blob.
143
+ */
144
+ downloadIsolatedStoreRevisionSnapshot(params: {
145
+ path: {
146
+ orgId: orgIdInPathRequired;
147
+ storeId: IsolatedStoreIdInPathRequired;
148
+ stage: IsolatedStoreStageInPathRequired;
149
+ revisionId: IsolatedStoreRevisionIdInPathRequired;
150
+ };
151
+ headers?: Record<string, string>;
152
+ }): Promise<unknown>;
140
153
  /**
141
154
  * Run writable SQL statement
142
155
  * Runs a single raw DML statement with execute access against the postgres binding of the selected isolated store stage instance. Only INSERT, UPDATE, and DELETE are allowed on this privileged escape hatch. DDL and schema changes are blocked here and must go through applyIsolatedStoreSqlMigrations so the stage migration journal (fusebase_schema_migrations) stays authoritative.
@@ -159,6 +159,20 @@ class IsolatedStoresApi {
159
159
  expectedContentType: "application/json",
160
160
  });
161
161
  }
162
+ /**
163
+ * Download isolated store revision snapshot
164
+ * Streams the stored physical snapshot artifact for the selected isolated store revision. This is an operator-facing download path for backup extraction and works through gate regardless of whether the snapshot provider is local_file or azure_blob.
165
+ */
166
+ async downloadIsolatedStoreRevisionSnapshot(params) {
167
+ return this.client.request({
168
+ method: "GET",
169
+ path: "/:orgId/isolated-stores/:storeId/stages/:stage/revisions/:revisionId/download",
170
+ pathParams: params.path,
171
+ headers: params.headers,
172
+ opId: "downloadIsolatedStoreRevisionSnapshot",
173
+ expectedContentType: "application/octet-stream",
174
+ });
175
+ }
162
176
  /**
163
177
  * Run writable SQL statement
164
178
  * Runs a single raw DML statement with execute access against the postgres binding of the selected isolated store stage instance. Only INSERT, UPDATE, and DELETE are allowed on this privileged escape hatch. DDL and schema changes are blocked here and must go through applyIsolatedStoreSqlMigrations so the stage migration journal (fusebase_schema_migrations) stays authoritative.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.12-sdk.0",
3
+ "version": "2.2.12-sdk.1",
4
4
  "description": "TypeScript SDK for Fusebase Gate APIs - Generated from contract introspection",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -0,0 +1,9 @@
1
+ # Release Notes 2.2.12-sdk.1
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.12-sdk.1`
5
+ - Generated at: 2026-04-30T15:44:51.116Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.12-sdk.0
1
+ # Release Notes 2.2.12-sdk.1
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.12-sdk.0`
5
- - Generated at: 2026-04-29T08:19:59.144Z
4
+ - Previous tag: `v2.2.12-sdk.1`
5
+ - Generated at: 2026-04-30T15:44:51.116Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -1,9 +0,0 @@
1
- # Release Notes 2.2.12-sdk.0
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.12-sdk.0`
5
- - Generated at: 2026-04-29T08:19:59.144Z
6
-
7
- ## Included Drafts
8
-
9
- - None