@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 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-188-731b41d';
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-188-731b41d';
5666
+ const version = '8.13.0-dev-190-649a43c';
5667
5667
 
5668
5668
  /**
5669
5669
  * Create ExtraHorizon client.
@@ -19,7 +19,8 @@ export interface AuthOauth2Service {
19
19
  *
20
20
  * Permission | Scope | Effect
21
21
  * - | - | -
22
- * VIEW_AUTHORIZATIONS | global | **Required** for this endpoint
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
- * DELETE_AUTHORIZATIONS | global | **Required** for this endpoint
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 | Can see a list of OAuth2 tokens for any account
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 | Can see a list of OAuth2 tokens for any account
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 | Can see a list of OAuth2 tokens for any account
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 | Can see a list of OAuth2 tokens for any account
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
- * DELETE_AUTHORIZATIONS | | Required for this endpoint
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
- * DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Required for this endpoint
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
- * VIEW_AUTHORIZATIONS | global | **Required** for this endpoint
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
- * DELETE_AUTHORIZATIONS | global | **Required** for this endpoint
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 | Can see a list of OAuth2 tokens for any account
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 | Can see a list of OAuth2 tokens for any account
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 | Can see a list of OAuth2 tokens for any account
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 | Can see a list of OAuth2 tokens for any account
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
- * DELETE_AUTHORIZATIONS | | Required for this endpoint
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
- * DELETE_OAUTH2_REFRESH_TOKEN or DELETE_AUTHORIZATIONS | global | Required for this endpoint
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
@@ -1 +1 @@
1
- export declare const version = "8.13.0-dev-188-731b41d";
1
+ export declare const version = "8.13.0-dev-190-649a43c";
@@ -1 +1 @@
1
- export declare const version = "8.13.0-dev-188-731b41d";
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-188-731b41d",
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",