@extrahorizon/javascript-sdk 8.13.0-dev-188-731b41d → 8.13.0-dev-190-649a43c
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/CHANGELOG.md +3 -0
- package/build/index.cjs.js +1 -1
- package/build/index.mjs +1 -1
- package/build/services/auth/oauth2/types.d.ts +12 -8
- package/build/types/services/auth/oauth2/types.d.ts +12 -8
- package/build/types/version.d.ts +1 -1
- package/build/version.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
- `exh.auth.oauth1.consumeSsoToken`
|
|
17
17
|
- `exh.auth.oauth2.createAuthorization`
|
|
18
18
|
- `exh.auth.oauth2.getAuthorizations`
|
|
19
|
+
- `exh.auth.oauth2.deleteAuthorizations`
|
|
20
|
+
- `exh.auth.oauth2.find*`
|
|
21
|
+
- `exh.auth.oauth2.remove`
|
|
19
22
|
|
|
20
23
|
### Deprecated
|
|
21
24
|
- The following fields will be removed from responses returned by listing endpoints in a future version:
|
package/build/index.cjs.js
CHANGED
package/build/index.mjs
CHANGED
|
@@ -19,7 +19,8 @@ export interface AuthOauth2Service {
|
|
|
19
19
|
*
|
|
20
20
|
* Permission | Scope | Effect
|
|
21
21
|
* - | - | -
|
|
22
|
-
*
|
|
22
|
+
* none | | Can only see a list of OAuth2 authorizations for this account
|
|
23
|
+
* VIEW_AUTHORIZATIONS | global | See any authorizations belonging to any user
|
|
23
24
|
* @see https://swagger.extrahorizon.com/swagger-ui/?url=https://swagger.extrahorizon.com/auth-service/2.0.4-dev/openapi.yaml#/OAuth2/get_oauth2_authorizations
|
|
24
25
|
*/
|
|
25
26
|
getAuthorizations(options?: OptionsWithRql): Promise<PagedResult<OAuth2Authorization>>;
|
|
@@ -28,7 +29,8 @@ export interface AuthOauth2Service {
|
|
|
28
29
|
*
|
|
29
30
|
* Permission | Scope | Effect
|
|
30
31
|
* - | - | -
|
|
31
|
-
*
|
|
32
|
+
* none | | Can only delete OAuth2 authorizations for this account
|
|
33
|
+
* DELETE_AUTHORIZATIONS | global | Delete any authorizations belonging to any user
|
|
32
34
|
* @see https://swagger.extrahorizon.com/swagger-ui/?url=https://swagger.extrahorizon.com/auth-service/2.0.4-dev/openapi.yaml#/OAuth2/delete_oauth2_authorizations__authorizationId_
|
|
33
35
|
* @throws {ResourceUnknownError}
|
|
34
36
|
*/
|
|
@@ -41,7 +43,7 @@ export interface AuthOauth2TokenService {
|
|
|
41
43
|
* Permission | Scope | Effect
|
|
42
44
|
* - | - | -
|
|
43
45
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
44
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
46
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
45
47
|
*/
|
|
46
48
|
find(options?: OptionsWithRql): Promise<PagedResult<OAuth2Token>>;
|
|
47
49
|
/**
|
|
@@ -50,7 +52,7 @@ export interface AuthOauth2TokenService {
|
|
|
50
52
|
* Permission | Scope | Effect
|
|
51
53
|
* - | - | -
|
|
52
54
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
53
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
55
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
54
56
|
*/
|
|
55
57
|
findAll(options?: OptionsWithRql): Promise<OAuth2Token[]>;
|
|
56
58
|
/**
|
|
@@ -59,7 +61,7 @@ export interface AuthOauth2TokenService {
|
|
|
59
61
|
* Permission | Scope | Effect
|
|
60
62
|
* - | - | -
|
|
61
63
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
62
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
64
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
63
65
|
*/
|
|
64
66
|
findFirst(options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
|
|
65
67
|
/**
|
|
@@ -68,7 +70,7 @@ export interface AuthOauth2TokenService {
|
|
|
68
70
|
* Permission | Scope | Effect
|
|
69
71
|
* - | - | -
|
|
70
72
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
71
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
73
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
72
74
|
*/
|
|
73
75
|
findById(id: string, options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
|
|
74
76
|
/**
|
|
@@ -76,7 +78,8 @@ export interface AuthOauth2TokenService {
|
|
|
76
78
|
*
|
|
77
79
|
* Permission | Scope | Effect
|
|
78
80
|
* - | - | -
|
|
79
|
-
*
|
|
81
|
+
* none | | Can only delete OAuth2 tokens for this account
|
|
82
|
+
* DELETE_AUTHORIZATIONS | global | Delete any OAuth2 tokens belonging to any user
|
|
80
83
|
*/
|
|
81
84
|
remove(id: string): Promise<AffectedRecords>;
|
|
82
85
|
}
|
|
@@ -135,7 +138,8 @@ export interface OAuth2RefreshTokenService {
|
|
|
135
138
|
*
|
|
136
139
|
* Permission | Scope | Effect
|
|
137
140
|
* - | - | -
|
|
138
|
-
*
|
|
141
|
+
* none | | Can only delete OAuth2 refresh tokens for this account
|
|
142
|
+
* DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Delete any OAuth2 refresh tokens belonging to any user
|
|
139
143
|
* Using DELETE_AUTHORIZATIONS for this endpoint is deprecated; use DELETE_OAUTH2_REFRESH_TOKEN instead
|
|
140
144
|
* @param id the refresh token id
|
|
141
145
|
* @returns AffectedRecords
|
|
@@ -19,7 +19,8 @@ export interface AuthOauth2Service {
|
|
|
19
19
|
*
|
|
20
20
|
* Permission | Scope | Effect
|
|
21
21
|
* - | - | -
|
|
22
|
-
*
|
|
22
|
+
* none | | Can only see a list of OAuth2 authorizations for this account
|
|
23
|
+
* VIEW_AUTHORIZATIONS | global | See any authorizations belonging to any user
|
|
23
24
|
* @see https://swagger.extrahorizon.com/swagger-ui/?url=https://swagger.extrahorizon.com/auth-service/2.0.4-dev/openapi.yaml#/OAuth2/get_oauth2_authorizations
|
|
24
25
|
*/
|
|
25
26
|
getAuthorizations(options?: OptionsWithRql): Promise<PagedResult<OAuth2Authorization>>;
|
|
@@ -28,7 +29,8 @@ export interface AuthOauth2Service {
|
|
|
28
29
|
*
|
|
29
30
|
* Permission | Scope | Effect
|
|
30
31
|
* - | - | -
|
|
31
|
-
*
|
|
32
|
+
* none | | Can only delete OAuth2 authorizations for this account
|
|
33
|
+
* DELETE_AUTHORIZATIONS | global | Delete any authorizations belonging to any user
|
|
32
34
|
* @see https://swagger.extrahorizon.com/swagger-ui/?url=https://swagger.extrahorizon.com/auth-service/2.0.4-dev/openapi.yaml#/OAuth2/delete_oauth2_authorizations__authorizationId_
|
|
33
35
|
* @throws {ResourceUnknownError}
|
|
34
36
|
*/
|
|
@@ -41,7 +43,7 @@ export interface AuthOauth2TokenService {
|
|
|
41
43
|
* Permission | Scope | Effect
|
|
42
44
|
* - | - | -
|
|
43
45
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
44
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
46
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
45
47
|
*/
|
|
46
48
|
find(options?: OptionsWithRql): Promise<PagedResult<OAuth2Token>>;
|
|
47
49
|
/**
|
|
@@ -50,7 +52,7 @@ export interface AuthOauth2TokenService {
|
|
|
50
52
|
* Permission | Scope | Effect
|
|
51
53
|
* - | - | -
|
|
52
54
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
53
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
55
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
54
56
|
*/
|
|
55
57
|
findAll(options?: OptionsWithRql): Promise<OAuth2Token[]>;
|
|
56
58
|
/**
|
|
@@ -59,7 +61,7 @@ export interface AuthOauth2TokenService {
|
|
|
59
61
|
* Permission | Scope | Effect
|
|
60
62
|
* - | - | -
|
|
61
63
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
62
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
64
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
63
65
|
*/
|
|
64
66
|
findFirst(options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
|
|
65
67
|
/**
|
|
@@ -68,7 +70,7 @@ export interface AuthOauth2TokenService {
|
|
|
68
70
|
* Permission | Scope | Effect
|
|
69
71
|
* - | - | -
|
|
70
72
|
* none | | Can only see a list of OAuth2 tokens for this account
|
|
71
|
-
* VIEW_AUTHORIZATIONS | global |
|
|
73
|
+
* VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
|
|
72
74
|
*/
|
|
73
75
|
findById(id: string, options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
|
|
74
76
|
/**
|
|
@@ -76,7 +78,8 @@ export interface AuthOauth2TokenService {
|
|
|
76
78
|
*
|
|
77
79
|
* Permission | Scope | Effect
|
|
78
80
|
* - | - | -
|
|
79
|
-
*
|
|
81
|
+
* none | | Can only delete OAuth2 tokens for this account
|
|
82
|
+
* DELETE_AUTHORIZATIONS | global | Delete any OAuth2 tokens belonging to any user
|
|
80
83
|
*/
|
|
81
84
|
remove(id: string): Promise<AffectedRecords>;
|
|
82
85
|
}
|
|
@@ -135,7 +138,8 @@ export interface OAuth2RefreshTokenService {
|
|
|
135
138
|
*
|
|
136
139
|
* Permission | Scope | Effect
|
|
137
140
|
* - | - | -
|
|
138
|
-
*
|
|
141
|
+
* none | | Can only delete OAuth2 refresh tokens for this account
|
|
142
|
+
* DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Delete any OAuth2 refresh tokens belonging to any user
|
|
139
143
|
* Using DELETE_AUTHORIZATIONS for this endpoint is deprecated; use DELETE_OAUTH2_REFRESH_TOKEN instead
|
|
140
144
|
* @param id the refresh token id
|
|
141
145
|
* @returns AffectedRecords
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.13.0-dev-
|
|
1
|
+
export declare const version = "8.13.0-dev-190-649a43c";
|
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.13.0-dev-
|
|
1
|
+
export declare const version = "8.13.0-dev-190-649a43c";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.13.0-dev-
|
|
3
|
+
"version": "8.13.0-dev-190-649a43c",
|
|
4
4
|
"description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|