@equisoft/account-service-sdk-typescript 9.0.1-snapshot.20250314184532 → 9.0.1-snapshot.20250321154815

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.
@@ -46,7 +46,7 @@ class AccountApi extends runtime.BaseAPI {
46
46
  if (this.configuration && this.configuration.accessToken) {
47
47
  // oauth required
48
48
  const token = this.configuration.accessToken;
49
- const tokenString = yield token("OAuth2", ["account:user", "account:serviceAccount"]);
49
+ const tokenString = yield token("OAuth2", []);
50
50
  if (tokenString) {
51
51
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
52
52
  }
@@ -47,7 +47,7 @@ class ServiceAccountApi extends runtime.BaseAPI {
47
47
  if (this.configuration && this.configuration.accessToken) {
48
48
  // oauth required
49
49
  const token = this.configuration.accessToken;
50
- const tokenString = yield token("OAuth2", ["account:serviceAccount"]);
50
+ const tokenString = yield token("OAuth2", []);
51
51
  if (tokenString) {
52
52
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
53
53
  }
@@ -43,7 +43,7 @@ export class AccountApi extends runtime.BaseAPI {
43
43
  if (this.configuration && this.configuration.accessToken) {
44
44
  // oauth required
45
45
  const token = this.configuration.accessToken;
46
- const tokenString = yield token("OAuth2", ["account:user", "account:serviceAccount"]);
46
+ const tokenString = yield token("OAuth2", []);
47
47
  if (tokenString) {
48
48
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
49
49
  }
@@ -44,7 +44,7 @@ export class ServiceAccountApi extends runtime.BaseAPI {
44
44
  if (this.configuration && this.configuration.accessToken) {
45
45
  // oauth required
46
46
  const token = this.configuration.accessToken;
47
- const tokenString = yield token("OAuth2", ["account:serviceAccount"]);
47
+ const tokenString = yield token("OAuth2", []);
48
48
  if (tokenString) {
49
49
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/account-service-sdk-typescript",
3
- "version": "9.0.1-snapshot.20250314184532",
3
+ "version": "9.0.1-snapshot.20250321154815",
4
4
  "description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -65,7 +65,7 @@ export class AccountApi extends runtime.BaseAPI {
65
65
  if (this.configuration && this.configuration.accessToken) {
66
66
  // oauth required
67
67
  const token = this.configuration.accessToken;
68
- const tokenString = await token("OAuth2", ["account:user", "account:serviceAccount"]);
68
+ const tokenString = await token("OAuth2", []);
69
69
  if (tokenString) {
70
70
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
71
71
  }
@@ -95,7 +95,7 @@ export class ServiceAccountApi extends runtime.BaseAPI {
95
95
  if (this.configuration && this.configuration.accessToken) {
96
96
  // oauth required
97
97
  const token = this.configuration.accessToken;
98
- const tokenString = await token("OAuth2", ["account:serviceAccount"]);
98
+ const tokenString = await token("OAuth2", []);
99
99
  if (tokenString) {
100
100
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
101
101
  }