@extrahorizon/javascript-sdk 8.13.0-dev-189-7998bb7 → 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 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:
@@ -5693,7 +5693,7 @@ const templatesV2Service = (httpWithAuth) => {
5693
5693
  };
5694
5694
  };
5695
5695
 
5696
- const version = '8.13.0-dev-189-7998bb7';
5696
+ const version = '8.13.0-dev-190-649a43c';
5697
5697
 
5698
5698
  /**
5699
5699
  * Create ExtraHorizon client.
package/build/index.mjs CHANGED
@@ -5663,7 +5663,7 @@ const templatesV2Service = (httpWithAuth) => {
5663
5663
  };
5664
5664
  };
5665
5665
 
5666
- const version = '8.13.0-dev-189-7998bb7';
5666
+ const version = '8.13.0-dev-190-649a43c';
5667
5667
 
5668
5668
  /**
5669
5669
  * Create ExtraHorizon client.
@@ -20,7 +20,7 @@ export interface AuthOauth2Service {
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 | **Required** for this endpoint
23
+ * VIEW_AUTHORIZATIONS | global | See any authorizations belonging to any user
24
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
25
25
  */
26
26
  getAuthorizations(options?: OptionsWithRql): Promise<PagedResult<OAuth2Authorization>>;
@@ -30,7 +30,7 @@ export interface AuthOauth2Service {
30
30
  * Permission | Scope | Effect
31
31
  * - | - | -
32
32
  * none | | Can only delete OAuth2 authorizations for this account
33
- * DELETE_AUTHORIZATIONS | global | **Required** for this endpoint
33
+ * DELETE_AUTHORIZATIONS | global | Delete any authorizations belonging to any user
34
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_
35
35
  * @throws {ResourceUnknownError}
36
36
  */
@@ -43,7 +43,7 @@ export interface AuthOauth2TokenService {
43
43
  * Permission | Scope | Effect
44
44
  * - | - | -
45
45
  * none | | Can only see a list of OAuth2 tokens for this account
46
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
46
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
47
47
  */
48
48
  find(options?: OptionsWithRql): Promise<PagedResult<OAuth2Token>>;
49
49
  /**
@@ -52,7 +52,7 @@ export interface AuthOauth2TokenService {
52
52
  * Permission | Scope | Effect
53
53
  * - | - | -
54
54
  * none | | Can only see a list of OAuth2 tokens for this account
55
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
55
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
56
56
  */
57
57
  findAll(options?: OptionsWithRql): Promise<OAuth2Token[]>;
58
58
  /**
@@ -61,7 +61,7 @@ export interface AuthOauth2TokenService {
61
61
  * Permission | Scope | Effect
62
62
  * - | - | -
63
63
  * none | | Can only see a list of OAuth2 tokens for this account
64
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
64
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
65
65
  */
66
66
  findFirst(options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
67
67
  /**
@@ -70,7 +70,7 @@ export interface AuthOauth2TokenService {
70
70
  * Permission | Scope | Effect
71
71
  * - | - | -
72
72
  * none | | Can only see a list of OAuth2 tokens for this account
73
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
73
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
74
74
  */
75
75
  findById(id: string, options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
76
76
  /**
@@ -79,7 +79,7 @@ export interface AuthOauth2TokenService {
79
79
  * Permission | Scope | Effect
80
80
  * - | - | -
81
81
  * none | | Can only delete OAuth2 tokens for this account
82
- * DELETE_AUTHORIZATIONS | | Required for this endpoint
82
+ * DELETE_AUTHORIZATIONS | global | Delete any OAuth2 tokens belonging to any user
83
83
  */
84
84
  remove(id: string): Promise<AffectedRecords>;
85
85
  }
@@ -139,7 +139,7 @@ export interface OAuth2RefreshTokenService {
139
139
  * Permission | Scope | Effect
140
140
  * - | - | -
141
141
  * none | | Can only delete OAuth2 refresh tokens for this account
142
- * DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Required for this endpoint
142
+ * DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Delete any OAuth2 refresh tokens belonging to any user
143
143
  * Using DELETE_AUTHORIZATIONS for this endpoint is deprecated; use DELETE_OAUTH2_REFRESH_TOKEN instead
144
144
  * @param id the refresh token id
145
145
  * @returns AffectedRecords
@@ -20,7 +20,7 @@ export interface AuthOauth2Service {
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 | **Required** for this endpoint
23
+ * VIEW_AUTHORIZATIONS | global | See any authorizations belonging to any user
24
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
25
25
  */
26
26
  getAuthorizations(options?: OptionsWithRql): Promise<PagedResult<OAuth2Authorization>>;
@@ -30,7 +30,7 @@ export interface AuthOauth2Service {
30
30
  * Permission | Scope | Effect
31
31
  * - | - | -
32
32
  * none | | Can only delete OAuth2 authorizations for this account
33
- * DELETE_AUTHORIZATIONS | global | **Required** for this endpoint
33
+ * DELETE_AUTHORIZATIONS | global | Delete any authorizations belonging to any user
34
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_
35
35
  * @throws {ResourceUnknownError}
36
36
  */
@@ -43,7 +43,7 @@ export interface AuthOauth2TokenService {
43
43
  * Permission | Scope | Effect
44
44
  * - | - | -
45
45
  * none | | Can only see a list of OAuth2 tokens for this account
46
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
46
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
47
47
  */
48
48
  find(options?: OptionsWithRql): Promise<PagedResult<OAuth2Token>>;
49
49
  /**
@@ -52,7 +52,7 @@ export interface AuthOauth2TokenService {
52
52
  * Permission | Scope | Effect
53
53
  * - | - | -
54
54
  * none | | Can only see a list of OAuth2 tokens for this account
55
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
55
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
56
56
  */
57
57
  findAll(options?: OptionsWithRql): Promise<OAuth2Token[]>;
58
58
  /**
@@ -61,7 +61,7 @@ export interface AuthOauth2TokenService {
61
61
  * Permission | Scope | Effect
62
62
  * - | - | -
63
63
  * none | | Can only see a list of OAuth2 tokens for this account
64
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
64
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
65
65
  */
66
66
  findFirst(options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
67
67
  /**
@@ -70,7 +70,7 @@ export interface AuthOauth2TokenService {
70
70
  * Permission | Scope | Effect
71
71
  * - | - | -
72
72
  * none | | Can only see a list of OAuth2 tokens for this account
73
- * VIEW_AUTHORIZATIONS | global | Can see a list of OAuth2 tokens for any account
73
+ * VIEW_AUTHORIZATIONS | global | See any OAuth2 tokens belonging to any user
74
74
  */
75
75
  findById(id: string, options?: OptionsWithRql): Promise<OAuth2Token | undefined>;
76
76
  /**
@@ -79,7 +79,7 @@ export interface AuthOauth2TokenService {
79
79
  * Permission | Scope | Effect
80
80
  * - | - | -
81
81
  * none | | Can only delete OAuth2 tokens for this account
82
- * DELETE_AUTHORIZATIONS | | Required for this endpoint
82
+ * DELETE_AUTHORIZATIONS | global | Delete any OAuth2 tokens belonging to any user
83
83
  */
84
84
  remove(id: string): Promise<AffectedRecords>;
85
85
  }
@@ -139,7 +139,7 @@ export interface OAuth2RefreshTokenService {
139
139
  * Permission | Scope | Effect
140
140
  * - | - | -
141
141
  * none | | Can only delete OAuth2 refresh tokens for this account
142
- * DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Required for this endpoint
142
+ * DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Delete any OAuth2 refresh tokens belonging to any user
143
143
  * Using DELETE_AUTHORIZATIONS for this endpoint is deprecated; use DELETE_OAUTH2_REFRESH_TOKEN instead
144
144
  * @param id the refresh token id
145
145
  * @returns AffectedRecords
@@ -1 +1 @@
1
- export declare const version = "8.13.0-dev-189-7998bb7";
1
+ export declare const version = "8.13.0-dev-190-649a43c";
@@ -1 +1 @@
1
- export declare const version = "8.13.0-dev-189-7998bb7";
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-189-7998bb7",
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",