@fusebase/fusebase-gate-sdk 2.2.10 → 2.2.11-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.
@@ -5,7 +5,7 @@
5
5
  * Domain: isolated-stores
6
6
  */
7
7
  import type { Client } from "../runtime/transport";
8
- import type { AdoptIsolatedStoreSqlMigrationBaselineRequestContract, AdoptIsolatedStoreSqlMigrationBaselineResponseContract, ApplyIsolatedStoreSqlMigrationsRequestContract, ApplyIsolatedStoreSqlMigrationsResponseContract, CreateIsolatedStoreCheckpointRequestContract, CreateIsolatedStoreCheckpointResponseContract, CreateIsolatedStoreRequestContract, CreateIsolatedStoreResponseContract, DeleteIsolatedStoreResponseContract, DeleteIsolatedStoreStageResponseContract, GetIsolatedStoreSqlMigrationStatusRequestContract, GetOrIsolatedStoreRequestContract, GetOrIsolatedStoreResponseContract, InitIsolatedStoreStageRequestContract, InitIsolatedStoreStageResponseContract, IsolatedStoreIdInPathRequired, IsolatedStoreListResponseContract, IsolatedStoreResponseContract, IsolatedStoreRevisionIdInPathRequired, IsolatedStoreRevisionListResponseContract, IsolatedStoreSqlBatchInsertRequestContract, IsolatedStoreSqlBatchInsertResponseContract, IsolatedStoreSqlCountRequestContract, IsolatedStoreSqlCountResponseContract, IsolatedStoreSqlDeleteRequestContract, IsolatedStoreSqlDeleteResponseContract, IsolatedStoreSqlDescribeTableResponseContract, IsolatedStoreSqlExecuteRequestContract, IsolatedStoreSqlExecuteResponseContract, IsolatedStoreSqlImportRequestContract, IsolatedStoreSqlImportResponseContract, IsolatedStoreSqlInsertRequestContract, IsolatedStoreSqlInsertResponseContract, IsolatedStoreSqlListTablesResponseContract, IsolatedStoreSqlMigrationStatusContract, IsolatedStoreSqlQueryRequestContract, IsolatedStoreSqlQueryResponseContract, IsolatedStoreSqlSchemaNameInQueryOptional, IsolatedStoreSqlSelectRequestContract, IsolatedStoreSqlSelectResponseContract, IsolatedStoreSqlStatsResponseContract, IsolatedStoreSqlTableNameInPathRequired, IsolatedStoreSqlUpdateRequestContract, IsolatedStoreSqlUpdateResponseContract, IsolatedStoreStageInPathRequired, IsolatedStoreStageListResponseContract, ListIsolatedStoresAliasLikeInQueryOptional, ListIsolatedStoresClientIdInQueryOptional, orgIdInPathRequired, RestoreIsolatedStoreRevisionResponseContract } from "../types";
8
+ import type { AdoptIsolatedStoreSqlMigrationBaselineRequestContract, AdoptIsolatedStoreSqlMigrationBaselineResponseContract, ApplyIsolatedStoreSqlMigrationsRequestContract, ApplyIsolatedStoreSqlMigrationsResponseContract, CreateIsolatedStoreCheckpointRequestContract, CreateIsolatedStoreCheckpointResponseContract, CreateIsolatedStoreRequestContract, CreateIsolatedStoreResponseContract, DeleteIsolatedStoreResponseContract, DeleteIsolatedStoreStageResponseContract, GetIsolatedStoreSqlMigrationStatusRequestContract, GetOrCreateIsolatedStoreRequestContract, GetOrCreateIsolatedStoreResponseContract, InitIsolatedStoreStageRequestContract, InitIsolatedStoreStageResponseContract, IsolatedStoreIdInPathRequired, IsolatedStoreListResponseContract, IsolatedStoreResponseContract, IsolatedStoreRevisionIdInPathRequired, IsolatedStoreRevisionListResponseContract, IsolatedStoreSqlBatchInsertRequestContract, IsolatedStoreSqlBatchInsertResponseContract, IsolatedStoreSqlCountRequestContract, IsolatedStoreSqlCountResponseContract, IsolatedStoreSqlDeleteRequestContract, IsolatedStoreSqlDeleteResponseContract, IsolatedStoreSqlDescribeTableResponseContract, IsolatedStoreSqlExecuteRequestContract, IsolatedStoreSqlExecuteResponseContract, IsolatedStoreSqlImportRequestContract, IsolatedStoreSqlImportResponseContract, IsolatedStoreSqlInsertRequestContract, IsolatedStoreSqlInsertResponseContract, IsolatedStoreSqlListTablesResponseContract, IsolatedStoreSqlMigrationStatusContract, IsolatedStoreSqlQueryRequestContract, IsolatedStoreSqlQueryResponseContract, IsolatedStoreSqlSchemaNameInQueryOptional, IsolatedStoreSqlSelectRequestContract, IsolatedStoreSqlSelectResponseContract, IsolatedStoreSqlStatsResponseContract, IsolatedStoreSqlTableNameInPathRequired, IsolatedStoreSqlUpdateRequestContract, IsolatedStoreSqlUpdateResponseContract, IsolatedStoreStageInPathRequired, IsolatedStoreStageListResponseContract, ListIsolatedStoresAliasLikeInQueryOptional, ListIsolatedStoresClientIdInQueryOptional, orgIdInPathRequired, RestoreIsolatedStoreRevisionResponseContract } from "../types";
9
9
  export declare class IsolatedStoresApi {
10
10
  private client;
11
11
  constructor(client: Client);
@@ -190,13 +190,13 @@ export declare class IsolatedStoresApi {
190
190
  * Get or create isolated store
191
191
  * Idempotent control-plane operation for app-owned stores. Resolves an existing store by org/client/alias or creates it. Optionally bootstraps target stage from a source org store/stage using checkpoint/restore.
192
192
  */
193
- getOrIsolatedStore(params: {
193
+ getOrCreateIsolatedStore(params: {
194
194
  path: {
195
195
  orgId: orgIdInPathRequired;
196
196
  };
197
197
  headers?: Record<string, string>;
198
- body: GetOrIsolatedStoreRequestContract;
199
- }): Promise<GetOrIsolatedStoreResponseContract>;
198
+ body: GetOrCreateIsolatedStoreRequestContract;
199
+ }): Promise<GetOrCreateIsolatedStoreResponseContract>;
200
200
  /**
201
201
  * Import CSV or TSV rows
202
202
  * Imports CSV or TSV payloads into a postgres table using server-side COPY FROM STDIN. Use this bulk path for large seeds or migrations instead of repeated row inserts. Max UTF-8 payload size defaults to 64MiB (override ISOLATED_SQL_IMPORT_MAX_PAYLOAD_BYTES; hard cap 256MiB); split larger files across multiple calls.
@@ -221,14 +221,14 @@ class IsolatedStoresApi {
221
221
  * Get or create isolated store
222
222
  * Idempotent control-plane operation for app-owned stores. Resolves an existing store by org/client/alias or creates it. Optionally bootstraps target stage from a source org store/stage using checkpoint/restore.
223
223
  */
224
- async getOrIsolatedStore(params) {
224
+ async getOrCreateIsolatedStore(params) {
225
225
  return this.client.request({
226
226
  method: "POST",
227
227
  path: "/:orgId/isolated-stores/get-or",
228
228
  pathParams: params.path,
229
229
  headers: params.headers,
230
230
  body: params.body,
231
- opId: "getOrIsolatedStore",
231
+ opId: "getOrCreateIsolatedStore",
232
232
  expectedContentType: "application/json",
233
233
  });
234
234
  }
@@ -367,22 +367,22 @@ export interface IsolatedStoreListResponseContract {
367
367
  export type ListIsolatedStoresClientIdInQueryOptional = string | null;
368
368
  /** Optional `aliasLike` query for `listIsolatedStores`; exact alias or glob (`*`, `?`). */
369
369
  export type ListIsolatedStoresAliasLikeInQueryOptional = string | null;
370
- export interface GetOrIsolatedStoreSourceContract {
370
+ export interface GetOrCreateIsolatedStoreSourceContract {
371
371
  orgId: string;
372
372
  storeId?: string | null;
373
373
  alias?: string | null;
374
374
  stage: IsolatedStoreStageInPathRequired;
375
375
  copyStrategy?: "checkpoint_restore" | null;
376
376
  }
377
- export interface GetOrIsolatedStoreRequestContract {
377
+ export interface GetOrCreateIsolatedStoreRequestContract {
378
378
  clientId: string;
379
379
  alias: string;
380
380
  storeType: IsolatedStoreTypeContract;
381
381
  engine: IsolatedStoreEngineContract;
382
382
  targetStage: IsolatedStoreStageInPathRequired;
383
- source?: GetOrIsolatedStoreSourceContract | null;
383
+ source?: GetOrCreateIsolatedStoreSourceContract | null;
384
384
  }
385
- export interface GetOrIsolatedStoreResponseContract {
385
+ export interface GetOrCreateIsolatedStoreResponseContract {
386
386
  created: boolean;
387
387
  cloned: boolean;
388
388
  store: IsolatedStoreContract;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.10",
3
+ "version": "2.2.11-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.11-sdk.1
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.11-sdk.1`
5
+ - Generated at: 2026-04-23T09:34:48.683Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.10
1
+ # Release Notes 2.2.11-sdk.1
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.10`
5
- - Generated at: 2026-04-22T16:00:20.439Z
4
+ - Previous tag: `v2.2.11-sdk.1`
5
+ - Generated at: 2026-04-23T09:34:48.683Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -1,9 +0,0 @@
1
- # Release Notes 2.2.10-sdk.2
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.10-sdk.1`
5
- - Generated at: 2026-04-22T13:19:17.899Z
6
-
7
- ## Included Drafts
8
-
9
- - None
@@ -1,9 +0,0 @@
1
- # Release Notes 2.2.10
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.10`
5
- - Generated at: 2026-04-22T16:00:20.439Z
6
-
7
- ## Included Drafts
8
-
9
- - None