@fusebase/fusebase-gate-sdk 2.3.2-sdk.0 → 2.3.3-sdk.0

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: tokens
6
6
  */
7
7
  import type { Client } from "../runtime/transport";
8
- import type { CreateTokenRequestContract, CreateTokenResponseContract, RevokeTokenResponseContract, scopeIdInQueryRequired, scopeTypeOrgInQueryRequired, TokenListResponseContract, TokenResponseContract, UpdateTokenRequestContract } from "../types";
8
+ import type { CreateTokenRequestContract, CreateTokenResponseContract, RevokeTokenResponseContract, scopeIdInQueryRequired, scopeTypeOrgInQueryRequired, TokenListResponseContract, TokenResponseContract, tokenSourceInQueryOptional, UpdateTokenRequestContract } from "../types";
9
9
  export declare class TokensApi {
10
10
  private client;
11
11
  constructor(client: Client);
@@ -34,12 +34,14 @@ export declare class TokensApi {
34
34
  * List user's API tokens
35
35
  * Retrieve a list of all API tokens for the authenticated user.
36
36
  * Optionally filter by scope type and scope ID (both must be provided together).
37
+ * Optionally filter by token_source: manual (no client scope) or app (has client scope).
37
38
  *
38
39
  */
39
40
  listTokens(params: {
40
41
  query?: {
41
42
  scope_type: scopeTypeOrgInQueryRequired;
42
43
  scope_id: scopeIdInQueryRequired;
44
+ token_source?: tokenSourceInQueryOptional;
43
45
  };
44
46
  headers?: Record<string, string>;
45
47
  }): Promise<TokenListResponseContract>;
@@ -46,6 +46,7 @@ class TokensApi {
46
46
  * List user's API tokens
47
47
  * Retrieve a list of all API tokens for the authenticated user.
48
48
  * Optionally filter by scope type and scope ID (both must be provided together).
49
+ * Optionally filter by token_source: manual (no client scope) or app (has client scope).
49
50
  *
50
51
  */
51
52
  async listTokens(params) {
@@ -22,6 +22,6 @@ export type { CreatePortalRequestContract, CreatePortalResponseContract, Duplica
22
22
  export * from "./shared/common";
23
23
  export * from "./shared/enums";
24
24
  export type { GetHealth200ResponseContract } from "./shared/health";
25
- export type { aliasInQueryOptional, aliasInQueryRequired, cacheStrategyInQueryOptional, copyDataInQueryRequired, copyRelationsInQueryRequired, copyTablesInQueryRequired, copyViewsInQueryRequired, createDefaultRowsInQuery, dashboardIdInPathRequired, databaseIdInQueryRequired, includeRows, limitInQueryOptional, mappingInQueryRequiredContract, nameInQueryOptional, orgIdInPathRequired, pageInQueryOptional, relationId, rootEntitiesInQueryOptional, rootEntityInQueryOptional, scopeIdInQueryRequired, scopeTypeInQueryRequired, scopeTypeOrgInQueryRequired, sectionKeyInQueryOptional, sectionKeyInQueryRequired, sectionTypeInQueryOptional, sectionTypeInQueryRequired, sourceDashboardIdInQueryRequired, sourceIndexInQueryRequired, targetDashboardIdInQueryRequired, templateIdInPathRequired, viewIdInPathRequired, viewIdInQueryOptional, viewIdInQueryRequired } from "./shared/parameters";
25
+ export type { aliasInQueryOptional, aliasInQueryRequired, cacheStrategyInQueryOptional, copyDataInQueryRequired, copyRelationsInQueryRequired, copyTablesInQueryRequired, copyViewsInQueryRequired, createDefaultRowsInQuery, dashboardIdInPathRequired, databaseIdInQueryRequired, includeRows, limitInQueryOptional, mappingInQueryRequiredContract, nameInQueryOptional, orgIdInPathRequired, pageInQueryOptional, relationId, rootEntitiesInQueryOptional, rootEntityInQueryOptional, scopeIdInQueryRequired, scopeTypeInQueryRequired, scopeTypeOrgInQueryRequired, sectionKeyInQueryOptional, sectionKeyInQueryRequired, sectionTypeInQueryOptional, sectionTypeInQueryRequired, sourceDashboardIdInQueryRequired, sourceIndexInQueryRequired, targetDashboardIdInQueryRequired, templateIdInPathRequired, tokenSourceInQueryOptional, viewIdInPathRequired, viewIdInQueryOptional, viewIdInQueryRequired } from "./shared/parameters";
26
26
  export * from "./system/system";
27
27
  export type { CreateTokenRequestContract, CreateTokenResponseContract, ResourceScopeContract, ResourceScopeRuleContract, RevokeTokenResponseContract, TokenContract, TokenListResponseContract, TokenMetaContract, TokenMetaIssuerContract, TokenResponseContract, UpdateTokenRequestContract } from "./token/token";
@@ -2,6 +2,7 @@ import type { AliasContract } from "./common";
2
2
  import type { RootEntityContract, ScopeTypeContract, ScopeTypeOrgContract } from "./enums";
3
3
  export type scopeTypeOrgInQueryRequired = ScopeTypeOrgContract;
4
4
  export type scopeIdInQueryRequired = string;
5
+ export type tokenSourceInQueryOptional = "manual" | "app";
5
6
  export type copyViewsInQueryRequired = boolean;
6
7
  export type copyDataInQueryRequired = boolean;
7
8
  export type copyRelationsInQueryRequired = boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.3.2-sdk.0",
3
+ "version": "2.3.3-sdk.0",
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.3.3-sdk.0
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.3.3-sdk.0`
5
+ - Generated at: 2026-06-16T11:47:17.322Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.3.2-sdk.0
1
+ # Release Notes 2.3.3-sdk.0
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.3.2-sdk.0`
5
- - Generated at: 2026-06-16T11:21:20.377Z
4
+ - Previous tag: `v2.3.3-sdk.0`
5
+ - Generated at: 2026-06-16T11:47:17.322Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -1,9 +0,0 @@
1
- # Release Notes 2.3.2-sdk.0
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.3.2-sdk.0`
5
- - Generated at: 2026-06-16T11:21:20.377Z
6
-
7
- ## Included Drafts
8
-
9
- - None