@equisoft/account-service-sdk-typescript 3.6.1 → 3.7.0
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/README.md +2 -2
- package/dist/apis/OAuthApi.d.ts +1 -1
- package/dist/apis/OAuthApi.js +11 -3
- package/dist/apis/OrganizationApi.d.ts +1 -1
- package/dist/apis/OrganizationApi.js +91 -19
- package/dist/apis/PermissionApi.d.ts +1 -1
- package/dist/apis/PermissionApi.js +6 -2
- package/dist/apis/RoleApi.d.ts +1 -1
- package/dist/apis/RoleApi.js +6 -2
- package/dist/apis/ServiceAccountApi.d.ts +1 -1
- package/dist/apis/ServiceAccountApi.js +41 -9
- package/dist/apis/SessionApi.d.ts +1 -1
- package/dist/apis/SessionApi.js +61 -13
- package/dist/apis/UserApi.d.ts +1 -1
- package/dist/apis/UserApi.js +81 -17
- package/dist/models/ApplyPermissionsPayload.d.ts +1 -1
- package/dist/models/ApplyPermissionsPayload.js +1 -1
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +1 -1
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +1 -1
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +1 -1
- package/dist/models/CreateOrUpdateOrganizationPayload.js +1 -1
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +1 -1
- package/dist/models/CreateOrUpdatePermissionPayload.js +1 -1
- package/dist/models/CreateOrganizationPayload.d.ts +1 -1
- package/dist/models/CreateOrganizationPayload.js +1 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.js +1 -1
- package/dist/models/CreateRole.d.ts +1 -1
- package/dist/models/CreateRole.js +1 -1
- package/dist/models/DatabaseState.d.ts +1 -1
- package/dist/models/DatabaseState.js +1 -1
- package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +1 -1
- package/dist/models/EnableEquisoftConnectPayloadSchema.js +1 -1
- package/dist/models/ErrorMessage.d.ts +1 -1
- package/dist/models/ErrorMessage.js +1 -1
- package/dist/models/ErrorPayload.d.ts +1 -1
- package/dist/models/ErrorPayload.js +1 -1
- package/dist/models/Id.d.ts +1 -1
- package/dist/models/Id.js +1 -1
- package/dist/models/ImpersonatePayload.d.ts +1 -1
- package/dist/models/ImpersonatePayload.js +1 -1
- package/dist/models/LegacyRoleSchema.d.ts +1 -1
- package/dist/models/LegacyRoleSchema.js +1 -1
- package/dist/models/ListOrganizationElement.d.ts +1 -1
- package/dist/models/ListOrganizationElement.js +1 -1
- package/dist/models/ListUserOrganizations.d.ts +1 -1
- package/dist/models/ListUserOrganizations.js +1 -1
- package/dist/models/LocalizedString.d.ts +1 -1
- package/dist/models/LocalizedString.js +1 -1
- package/dist/models/OAuthClient.d.ts +1 -1
- package/dist/models/OAuthClient.js +1 -1
- package/dist/models/OAuthClientCreated.d.ts +1 -1
- package/dist/models/OAuthClientCreated.js +1 -1
- package/dist/models/OAuthClientPublicKey.d.ts +1 -1
- package/dist/models/OAuthClientPublicKey.js +1 -1
- package/dist/models/Organization.d.ts +1 -1
- package/dist/models/Organization.js +1 -1
- package/dist/models/OrganizationCreated.d.ts +1 -1
- package/dist/models/OrganizationCreated.js +1 -1
- package/dist/models/OrganizationPathElement.d.ts +1 -1
- package/dist/models/OrganizationPathElement.js +1 -1
- package/dist/models/OrganizationRoleAttribution.d.ts +1 -1
- package/dist/models/OrganizationRoleAttribution.js +1 -1
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributionPermission.js +1 -1
- package/dist/models/OrganizationRoleAttributionRole.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributionRole.js +1 -1
- package/dist/models/OrganizationRoleAttributions.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributions.js +1 -1
- package/dist/models/OrganizationServicesElement.d.ts +1 -1
- package/dist/models/OrganizationServicesElement.js +1 -1
- package/dist/models/OrganizationUserServiceAssociation.d.ts +1 -1
- package/dist/models/OrganizationUserServiceAssociation.js +1 -1
- package/dist/models/PermissionCode.d.ts +1 -1
- package/dist/models/PermissionCode.js +1 -1
- package/dist/models/PermissionCreated.d.ts +1 -1
- package/dist/models/PermissionCreated.js +1 -1
- package/dist/models/PermissionList.d.ts +1 -1
- package/dist/models/PermissionList.js +1 -1
- package/dist/models/PermissionResourceType.d.ts +1 -1
- package/dist/models/PermissionResourceType.js +1 -1
- package/dist/models/Role.d.ts +1 -1
- package/dist/models/Role.js +1 -1
- package/dist/models/RoleCreated.d.ts +1 -1
- package/dist/models/RoleCreated.js +1 -1
- package/dist/models/RolesOnOrganization.d.ts +1 -1
- package/dist/models/RolesOnOrganization.js +1 -1
- package/dist/models/ServiceAccess.d.ts +1 -1
- package/dist/models/ServiceAccess.js +1 -1
- package/dist/models/ServiceAccountCreationSchema.d.ts +1 -1
- package/dist/models/ServiceAccountCreationSchema.js +1 -1
- package/dist/models/ServiceAccountSchema.d.ts +1 -1
- package/dist/models/ServiceAccountSchema.js +1 -1
- package/dist/models/ServiceAccountStatus.d.ts +1 -1
- package/dist/models/ServiceAccountStatus.js +1 -1
- package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUpdateSchema.js +1 -1
- package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUuidSchema.js +1 -1
- package/dist/models/ServiceName.d.ts +1 -1
- package/dist/models/ServiceName.js +1 -1
- package/dist/models/Session.d.ts +1 -1
- package/dist/models/Session.js +1 -1
- package/dist/models/SessionPayload.d.ts +1 -1
- package/dist/models/SessionPayload.js +1 -1
- package/dist/models/SessionState.d.ts +1 -1
- package/dist/models/SessionState.js +1 -1
- package/dist/models/SsoProvider.d.ts +1 -1
- package/dist/models/SsoProvider.js +1 -1
- package/dist/models/SsoToken.d.ts +1 -1
- package/dist/models/SsoToken.js +1 -1
- package/dist/models/UpdateParentOrganizationPayload.d.ts +1 -1
- package/dist/models/UpdateParentOrganizationPayload.js +1 -1
- package/dist/models/UpdateUserAccountPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountPayload.js +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.js +1 -1
- package/dist/models/UpsertServicePayload.d.ts +1 -1
- package/dist/models/UpsertServicePayload.js +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/UserAccountOrganizationRoles.d.ts +1 -1
- package/dist/models/UserAccountOrganizationRoles.js +1 -1
- package/dist/models/UserAccountPermission.d.ts +1 -1
- package/dist/models/UserAccountPermission.js +1 -1
- package/dist/models/UserAccountRole.d.ts +1 -1
- package/dist/models/UserAccountRole.js +1 -1
- package/dist/models/UserAccountRoleAttributions.d.ts +1 -1
- package/dist/models/UserAccountRoleAttributions.js +1 -1
- package/dist/models/UserAccountSearchResult.d.ts +1 -1
- package/dist/models/UserAccountSearchResult.js +1 -1
- package/dist/models/UserAgreement.d.ts +1 -1
- package/dist/models/UserAgreement.js +1 -1
- package/dist/models/UserAgreementState.d.ts +1 -1
- package/dist/models/UserAgreementState.js +1 -1
- package/dist/models/UserPermissions.d.ts +1 -1
- package/dist/models/UserPermissions.js +1 -1
- package/dist/models/UserServiceAssociation.d.ts +1 -1
- package/dist/models/UserServiceAssociation.js +1 -1
- package/dist/models/UserSsoProvider.d.ts +1 -1
- package/dist/models/UserSsoProvider.js +1 -1
- package/dist/models/UserState.d.ts +1 -1
- package/dist/models/UserState.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +13 -3
- package/src/apis/OrganizationApi.ts +109 -19
- package/src/apis/PermissionApi.ts +7 -2
- package/src/apis/RoleApi.ts +7 -2
- package/src/apis/ServiceAccountApi.ts +49 -9
- package/src/apis/SessionApi.ts +73 -13
- package/src/apis/UserApi.ts +97 -17
- package/src/models/ApplyPermissionsPayload.ts +1 -1
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +1 -1
- package/src/models/CreateOrUpdateOrganizationPayload.ts +1 -1
- package/src/models/CreateOrUpdatePermissionPayload.ts +1 -1
- package/src/models/CreateOrganizationPayload.ts +1 -1
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +1 -1
- package/src/models/CreateOrganizationUserServicePayload.ts +1 -1
- package/src/models/CreateRole.ts +1 -1
- package/src/models/DatabaseState.ts +1 -1
- package/src/models/EnableEquisoftConnectPayloadSchema.ts +1 -1
- package/src/models/ErrorMessage.ts +1 -1
- package/src/models/ErrorPayload.ts +1 -1
- package/src/models/Id.ts +1 -1
- package/src/models/ImpersonatePayload.ts +1 -1
- package/src/models/LegacyRoleSchema.ts +1 -1
- package/src/models/ListOrganizationElement.ts +1 -1
- package/src/models/ListUserOrganizations.ts +1 -1
- package/src/models/LocalizedString.ts +1 -1
- package/src/models/OAuthClient.ts +1 -1
- package/src/models/OAuthClientCreated.ts +1 -1
- package/src/models/OAuthClientPublicKey.ts +1 -1
- package/src/models/Organization.ts +1 -1
- package/src/models/OrganizationCreated.ts +1 -1
- package/src/models/OrganizationPathElement.ts +1 -1
- package/src/models/OrganizationRoleAttribution.ts +1 -1
- package/src/models/OrganizationRoleAttributionPermission.ts +1 -1
- package/src/models/OrganizationRoleAttributionRole.ts +1 -1
- package/src/models/OrganizationRoleAttributions.ts +1 -1
- package/src/models/OrganizationServicesElement.ts +1 -1
- package/src/models/OrganizationUserServiceAssociation.ts +1 -1
- package/src/models/PermissionCode.ts +1 -1
- package/src/models/PermissionCreated.ts +1 -1
- package/src/models/PermissionList.ts +1 -1
- package/src/models/PermissionResourceType.ts +1 -1
- package/src/models/Role.ts +1 -1
- package/src/models/RoleCreated.ts +1 -1
- package/src/models/RolesOnOrganization.ts +1 -1
- package/src/models/ServiceAccess.ts +1 -1
- package/src/models/ServiceAccountCreationSchema.ts +1 -1
- package/src/models/ServiceAccountSchema.ts +1 -1
- package/src/models/ServiceAccountStatus.ts +1 -1
- package/src/models/ServiceAccountUpdateSchema.ts +1 -1
- package/src/models/ServiceAccountUuidSchema.ts +1 -1
- package/src/models/ServiceName.ts +1 -1
- package/src/models/Session.ts +1 -1
- package/src/models/SessionPayload.ts +1 -1
- package/src/models/SessionState.ts +1 -1
- package/src/models/SsoProvider.ts +1 -1
- package/src/models/SsoToken.ts +1 -1
- package/src/models/UpdateParentOrganizationPayload.ts +1 -1
- package/src/models/UpdateUserAccountPayload.ts +1 -1
- package/src/models/UpdateUserAccountSsoPayload.ts +1 -1
- package/src/models/UpsertServicePayload.ts +1 -1
- package/src/models/User.ts +1 -1
- package/src/models/UserAccountOrganizationRoles.ts +1 -1
- package/src/models/UserAccountPermission.ts +1 -1
- package/src/models/UserAccountRole.ts +1 -1
- package/src/models/UserAccountRoleAttributions.ts +1 -1
- package/src/models/UserAccountSearchResult.ts +1 -1
- package/src/models/UserAgreement.ts +1 -1
- package/src/models/UserAgreementState.ts +1 -1
- package/src/models/UserPermissions.ts +1 -1
- package/src/models/UserServiceAssociation.ts +1 -1
- package/src/models/UserSsoProvider.ts +1 -1
- package/src/models/UserState.ts +1 -1
- package/src/runtime.ts +1 -1
package/src/apis/UserApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -144,7 +144,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
144
144
|
|
|
145
145
|
if (this.configuration && this.configuration.accessToken) {
|
|
146
146
|
// oauth required
|
|
147
|
-
|
|
147
|
+
const token = this.configuration.accessToken;
|
|
148
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
149
|
+
|
|
150
|
+
if (tokenString) {
|
|
151
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
152
|
+
}
|
|
148
153
|
}
|
|
149
154
|
|
|
150
155
|
const response = await this.request({
|
|
@@ -184,7 +189,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
184
189
|
|
|
185
190
|
if (this.configuration && this.configuration.accessToken) {
|
|
186
191
|
// oauth required
|
|
187
|
-
|
|
192
|
+
const token = this.configuration.accessToken;
|
|
193
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
194
|
+
|
|
195
|
+
if (tokenString) {
|
|
196
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
197
|
+
}
|
|
188
198
|
}
|
|
189
199
|
|
|
190
200
|
const response = await this.request({
|
|
@@ -227,7 +237,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
227
237
|
|
|
228
238
|
if (this.configuration && this.configuration.accessToken) {
|
|
229
239
|
// oauth required
|
|
230
|
-
|
|
240
|
+
const token = this.configuration.accessToken;
|
|
241
|
+
const tokenString = await token("OAuth2", ["account:user", "account:roleAttribution"]);
|
|
242
|
+
|
|
243
|
+
if (tokenString) {
|
|
244
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
245
|
+
}
|
|
231
246
|
}
|
|
232
247
|
|
|
233
248
|
const response = await this.request({
|
|
@@ -267,7 +282,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
267
282
|
|
|
268
283
|
if (this.configuration && this.configuration.accessToken) {
|
|
269
284
|
// oauth required
|
|
270
|
-
|
|
285
|
+
const token = this.configuration.accessToken;
|
|
286
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
287
|
+
|
|
288
|
+
if (tokenString) {
|
|
289
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
290
|
+
}
|
|
271
291
|
}
|
|
272
292
|
|
|
273
293
|
const response = await this.request({
|
|
@@ -303,7 +323,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
303
323
|
|
|
304
324
|
if (this.configuration && this.configuration.accessToken) {
|
|
305
325
|
// oauth required
|
|
306
|
-
|
|
326
|
+
const token = this.configuration.accessToken;
|
|
327
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
328
|
+
|
|
329
|
+
if (tokenString) {
|
|
330
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
331
|
+
}
|
|
307
332
|
}
|
|
308
333
|
|
|
309
334
|
const response = await this.request({
|
|
@@ -337,7 +362,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
337
362
|
|
|
338
363
|
if (this.configuration && this.configuration.accessToken) {
|
|
339
364
|
// oauth required
|
|
340
|
-
|
|
365
|
+
const token = this.configuration.accessToken;
|
|
366
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
367
|
+
|
|
368
|
+
if (tokenString) {
|
|
369
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
370
|
+
}
|
|
341
371
|
}
|
|
342
372
|
|
|
343
373
|
const response = await this.request({
|
|
@@ -379,7 +409,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
379
409
|
|
|
380
410
|
if (this.configuration && this.configuration.accessToken) {
|
|
381
411
|
// oauth required
|
|
382
|
-
|
|
412
|
+
const token = this.configuration.accessToken;
|
|
413
|
+
const tokenString = await token("OAuth2", ["account:user", "account:roleAttribution"]);
|
|
414
|
+
|
|
415
|
+
if (tokenString) {
|
|
416
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
417
|
+
}
|
|
383
418
|
}
|
|
384
419
|
|
|
385
420
|
const response = await this.request({
|
|
@@ -413,7 +448,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
413
448
|
|
|
414
449
|
if (this.configuration && this.configuration.accessToken) {
|
|
415
450
|
// oauth required
|
|
416
|
-
|
|
451
|
+
const token = this.configuration.accessToken;
|
|
452
|
+
const tokenString = await token("OAuth2", ["account:user", "account:session"]);
|
|
453
|
+
|
|
454
|
+
if (tokenString) {
|
|
455
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
456
|
+
}
|
|
417
457
|
}
|
|
418
458
|
|
|
419
459
|
const response = await this.request({
|
|
@@ -447,7 +487,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
447
487
|
|
|
448
488
|
if (this.configuration && this.configuration.accessToken) {
|
|
449
489
|
// oauth required
|
|
450
|
-
|
|
490
|
+
const token = this.configuration.accessToken;
|
|
491
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
492
|
+
|
|
493
|
+
if (tokenString) {
|
|
494
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
495
|
+
}
|
|
451
496
|
}
|
|
452
497
|
|
|
453
498
|
const response = await this.request({
|
|
@@ -482,7 +527,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
482
527
|
|
|
483
528
|
if (this.configuration && this.configuration.accessToken) {
|
|
484
529
|
// oauth required
|
|
485
|
-
|
|
530
|
+
const token = this.configuration.accessToken;
|
|
531
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
532
|
+
|
|
533
|
+
if (tokenString) {
|
|
534
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
535
|
+
}
|
|
486
536
|
}
|
|
487
537
|
|
|
488
538
|
const response = await this.request({
|
|
@@ -517,7 +567,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
517
567
|
|
|
518
568
|
if (this.configuration && this.configuration.accessToken) {
|
|
519
569
|
// oauth required
|
|
520
|
-
|
|
570
|
+
const token = this.configuration.accessToken;
|
|
571
|
+
const tokenString = await token("OAuth2", ["account:user", "account:roleAttribution"]);
|
|
572
|
+
|
|
573
|
+
if (tokenString) {
|
|
574
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
575
|
+
}
|
|
521
576
|
}
|
|
522
577
|
|
|
523
578
|
const response = await this.request({
|
|
@@ -552,7 +607,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
552
607
|
|
|
553
608
|
if (this.configuration && this.configuration.accessToken) {
|
|
554
609
|
// oauth required
|
|
555
|
-
|
|
610
|
+
const token = this.configuration.accessToken;
|
|
611
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
612
|
+
|
|
613
|
+
if (tokenString) {
|
|
614
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
615
|
+
}
|
|
556
616
|
}
|
|
557
617
|
|
|
558
618
|
const response = await this.request({
|
|
@@ -587,7 +647,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
587
647
|
|
|
588
648
|
if (this.configuration && this.configuration.accessToken) {
|
|
589
649
|
// oauth required
|
|
590
|
-
|
|
650
|
+
const token = this.configuration.accessToken;
|
|
651
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
652
|
+
|
|
653
|
+
if (tokenString) {
|
|
654
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
655
|
+
}
|
|
591
656
|
}
|
|
592
657
|
|
|
593
658
|
const response = await this.request({
|
|
@@ -638,7 +703,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
638
703
|
|
|
639
704
|
if (this.configuration && this.configuration.accessToken) {
|
|
640
705
|
// oauth required
|
|
641
|
-
|
|
706
|
+
const token = this.configuration.accessToken;
|
|
707
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
708
|
+
|
|
709
|
+
if (tokenString) {
|
|
710
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
711
|
+
}
|
|
642
712
|
}
|
|
643
713
|
|
|
644
714
|
const response = await this.request({
|
|
@@ -673,7 +743,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
673
743
|
|
|
674
744
|
if (this.configuration && this.configuration.accessToken) {
|
|
675
745
|
// oauth required
|
|
676
|
-
|
|
746
|
+
const token = this.configuration.accessToken;
|
|
747
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
748
|
+
|
|
749
|
+
if (tokenString) {
|
|
750
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
751
|
+
}
|
|
677
752
|
}
|
|
678
753
|
|
|
679
754
|
const response = await this.request({
|
|
@@ -713,7 +788,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
713
788
|
|
|
714
789
|
if (this.configuration && this.configuration.accessToken) {
|
|
715
790
|
// oauth required
|
|
716
|
-
|
|
791
|
+
const token = this.configuration.accessToken;
|
|
792
|
+
const tokenString = await token("OAuth2", ["account:user"]);
|
|
793
|
+
|
|
794
|
+
if (tokenString) {
|
|
795
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
796
|
+
}
|
|
717
797
|
}
|
|
718
798
|
|
|
719
799
|
const response = await this.request({
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/CreateRole.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Id.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Role.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|