@equisoft/account-service-sdk-typescript 4.2.1-snapshot.20221214180735 → 4.2.1-snapshot.20221219200246

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.
@@ -77,7 +77,7 @@ class SessionApi extends runtime.BaseAPI {
77
77
  if (this.configuration && this.configuration.accessToken) {
78
78
  // oauth required
79
79
  const token = this.configuration.accessToken;
80
- const tokenString = yield token("OAuth2", ["account:session"]);
80
+ const tokenString = yield token("OAuth2", []);
81
81
  if (tokenString) {
82
82
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
83
83
  }
@@ -109,7 +109,7 @@ class SessionApi extends runtime.BaseAPI {
109
109
  if (this.configuration && this.configuration.accessToken) {
110
110
  // oauth required
111
111
  const token = this.configuration.accessToken;
112
- const tokenString = yield token("OAuth2", ["account:session"]);
112
+ const tokenString = yield token("OAuth2", []);
113
113
  if (tokenString) {
114
114
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
115
115
  }
@@ -144,7 +144,7 @@ class SessionApi extends runtime.BaseAPI {
144
144
  if (this.configuration && this.configuration.accessToken) {
145
145
  // oauth required
146
146
  const token = this.configuration.accessToken;
147
- const tokenString = yield token("OAuth2", ["account:session"]);
147
+ const tokenString = yield token("OAuth2", []);
148
148
  if (tokenString) {
149
149
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
150
150
  }
@@ -182,7 +182,7 @@ class SessionApi extends runtime.BaseAPI {
182
182
  if (this.configuration && this.configuration.accessToken) {
183
183
  // oauth required
184
184
  const token = this.configuration.accessToken;
185
- const tokenString = yield token("OAuth2", ["account:session"]);
185
+ const tokenString = yield token("OAuth2", []);
186
186
  if (tokenString) {
187
187
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
188
188
  }
@@ -218,7 +218,7 @@ class SessionApi extends runtime.BaseAPI {
218
218
  if (this.configuration && this.configuration.accessToken) {
219
219
  // oauth required
220
220
  const token = this.configuration.accessToken;
221
- const tokenString = yield token("OAuth2", ["account:session"]);
221
+ const tokenString = yield token("OAuth2", []);
222
222
  if (tokenString) {
223
223
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
224
224
  }
@@ -255,7 +255,7 @@ class SessionApi extends runtime.BaseAPI {
255
255
  if (this.configuration && this.configuration.accessToken) {
256
256
  // oauth required
257
257
  const token = this.configuration.accessToken;
258
- const tokenString = yield token("OAuth2", ["account:session"]);
258
+ const tokenString = yield token("OAuth2", []);
259
259
  if (tokenString) {
260
260
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
261
261
  }
@@ -294,7 +294,7 @@ class SessionApi extends runtime.BaseAPI {
294
294
  if (this.configuration && this.configuration.accessToken) {
295
295
  // oauth required
296
296
  const token = this.configuration.accessToken;
297
- const tokenString = yield token("OAuth2", ["account:session"]);
297
+ const tokenString = yield token("OAuth2", []);
298
298
  if (tokenString) {
299
299
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
300
300
  }
@@ -333,7 +333,7 @@ class SessionApi extends runtime.BaseAPI {
333
333
  if (this.configuration && this.configuration.accessToken) {
334
334
  // oauth required
335
335
  const token = this.configuration.accessToken;
336
- const tokenString = yield token("OAuth2", ["account:session"]);
336
+ const tokenString = yield token("OAuth2", []);
337
337
  if (tokenString) {
338
338
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
339
339
  }
@@ -374,7 +374,7 @@ class SessionApi extends runtime.BaseAPI {
374
374
  if (this.configuration && this.configuration.accessToken) {
375
375
  // oauth required
376
376
  const token = this.configuration.accessToken;
377
- const tokenString = yield token("OAuth2", ["account:session"]);
377
+ const tokenString = yield token("OAuth2", []);
378
378
  if (tokenString) {
379
379
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
380
380
  }
@@ -412,7 +412,7 @@ class SessionApi extends runtime.BaseAPI {
412
412
  if (this.configuration && this.configuration.accessToken) {
413
413
  // oauth required
414
414
  const token = this.configuration.accessToken;
415
- const tokenString = yield token("OAuth2", ["account:session"]);
415
+ const tokenString = yield token("OAuth2", []);
416
416
  if (tokenString) {
417
417
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
418
418
  }
@@ -310,7 +310,7 @@ class UserApi extends runtime.BaseAPI {
310
310
  if (this.configuration && this.configuration.accessToken) {
311
311
  // oauth required
312
312
  const token = this.configuration.accessToken;
313
- const tokenString = yield token("OAuth2", ["account:user", "account:session"]);
313
+ const tokenString = yield token("OAuth2", ["account:user"]);
314
314
  if (tokenString) {
315
315
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
316
316
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/account-service-sdk-typescript",
3
- "version": "4.2.1-snapshot.20221214180735",
3
+ "version": "4.2.1-snapshot.20221219200246",
4
4
  "description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
5
5
  "author": "Equisoft Inc.",
6
6
  "main": "./dist/index.js",
@@ -142,7 +142,7 @@ export class SessionApi extends runtime.BaseAPI {
142
142
  if (this.configuration && this.configuration.accessToken) {
143
143
  // oauth required
144
144
  const token = this.configuration.accessToken;
145
- const tokenString = await token("OAuth2", ["account:session"]);
145
+ const tokenString = await token("OAuth2", []);
146
146
 
147
147
  if (tokenString) {
148
148
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -177,7 +177,7 @@ export class SessionApi extends runtime.BaseAPI {
177
177
  if (this.configuration && this.configuration.accessToken) {
178
178
  // oauth required
179
179
  const token = this.configuration.accessToken;
180
- const tokenString = await token("OAuth2", ["account:session"]);
180
+ const tokenString = await token("OAuth2", []);
181
181
 
182
182
  if (tokenString) {
183
183
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -216,7 +216,7 @@ export class SessionApi extends runtime.BaseAPI {
216
216
  if (this.configuration && this.configuration.accessToken) {
217
217
  // oauth required
218
218
  const token = this.configuration.accessToken;
219
- const tokenString = await token("OAuth2", ["account:session"]);
219
+ const tokenString = await token("OAuth2", []);
220
220
 
221
221
  if (tokenString) {
222
222
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -259,7 +259,7 @@ export class SessionApi extends runtime.BaseAPI {
259
259
  if (this.configuration && this.configuration.accessToken) {
260
260
  // oauth required
261
261
  const token = this.configuration.accessToken;
262
- const tokenString = await token("OAuth2", ["account:session"]);
262
+ const tokenString = await token("OAuth2", []);
263
263
 
264
264
  if (tokenString) {
265
265
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -300,7 +300,7 @@ export class SessionApi extends runtime.BaseAPI {
300
300
  if (this.configuration && this.configuration.accessToken) {
301
301
  // oauth required
302
302
  const token = this.configuration.accessToken;
303
- const tokenString = await token("OAuth2", ["account:session"]);
303
+ const tokenString = await token("OAuth2", []);
304
304
 
305
305
  if (tokenString) {
306
306
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -342,7 +342,7 @@ export class SessionApi extends runtime.BaseAPI {
342
342
  if (this.configuration && this.configuration.accessToken) {
343
343
  // oauth required
344
344
  const token = this.configuration.accessToken;
345
- const tokenString = await token("OAuth2", ["account:session"]);
345
+ const tokenString = await token("OAuth2", []);
346
346
 
347
347
  if (tokenString) {
348
348
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -386,7 +386,7 @@ export class SessionApi extends runtime.BaseAPI {
386
386
  if (this.configuration && this.configuration.accessToken) {
387
387
  // oauth required
388
388
  const token = this.configuration.accessToken;
389
- const tokenString = await token("OAuth2", ["account:session"]);
389
+ const tokenString = await token("OAuth2", []);
390
390
 
391
391
  if (tokenString) {
392
392
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -430,7 +430,7 @@ export class SessionApi extends runtime.BaseAPI {
430
430
  if (this.configuration && this.configuration.accessToken) {
431
431
  // oauth required
432
432
  const token = this.configuration.accessToken;
433
- const tokenString = await token("OAuth2", ["account:session"]);
433
+ const tokenString = await token("OAuth2", []);
434
434
 
435
435
  if (tokenString) {
436
436
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -477,7 +477,7 @@ export class SessionApi extends runtime.BaseAPI {
477
477
  if (this.configuration && this.configuration.accessToken) {
478
478
  // oauth required
479
479
  const token = this.configuration.accessToken;
480
- const tokenString = await token("OAuth2", ["account:session"]);
480
+ const tokenString = await token("OAuth2", []);
481
481
 
482
482
  if (tokenString) {
483
483
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -519,7 +519,7 @@ export class SessionApi extends runtime.BaseAPI {
519
519
  if (this.configuration && this.configuration.accessToken) {
520
520
  // oauth required
521
521
  const token = this.configuration.accessToken;
522
- const tokenString = await token("OAuth2", ["account:session"]);
522
+ const tokenString = await token("OAuth2", []);
523
523
 
524
524
  if (tokenString) {
525
525
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
@@ -472,7 +472,7 @@ export class UserApi extends runtime.BaseAPI {
472
472
  if (this.configuration && this.configuration.accessToken) {
473
473
  // oauth required
474
474
  const token = this.configuration.accessToken;
475
- const tokenString = await token("OAuth2", ["account:user", "account:session"]);
475
+ const tokenString = await token("OAuth2", ["account:user"]);
476
476
 
477
477
  if (tokenString) {
478
478
  headerParameters["Authorization"] = `Bearer ${tokenString}`;