@fusebase/fusebase-gate-sdk 2.3.1 → 2.3.2
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.
- package/dist/apis/TokensApi.d.ts +3 -1
- package/dist/apis/TokensApi.js +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/shared/parameters.d.ts +1 -0
- package/package.json +1 -1
- package/release-notes/{2.3.1.md → 2.3.2-sdk.0.md} +2 -2
- package/release-notes/2.3.2.md +9 -0
- package/release-notes/latest.md +3 -3
- package/release-notes/2.2.21-sdk.18.md +0 -9
package/dist/apis/TokensApi.d.ts
CHANGED
|
@@ -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>;
|
package/dist/apis/TokensApi.js
CHANGED
|
@@ -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) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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
package/release-notes/latest.md
CHANGED