@equisoft/account-service-sdk-typescript 3.3.2 → 3.3.3-snapshot.20220411193409
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/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/dist/apis/OAuthApi.d.ts +1 -1
- package/dist/apis/OAuthApi.js +1 -1
- package/dist/apis/OrganizationApi.d.ts +1 -1
- package/dist/apis/OrganizationApi.js +1 -1
- package/dist/apis/PermissionApi.d.ts +1 -1
- package/dist/apis/PermissionApi.js +1 -1
- package/dist/apis/RoleApi.d.ts +1 -1
- package/dist/apis/RoleApi.js +1 -1
- package/dist/apis/ServiceAccountApi.d.ts +1 -1
- package/dist/apis/ServiceAccountApi.js +1 -1
- package/dist/apis/SessionApi.d.ts +1 -1
- package/dist/apis/SessionApi.js +1 -1
- package/dist/apis/UserApi.d.ts +14 -14
- package/dist/apis/UserApi.js +32 -33
- 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/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/OrganizationServicesElement.d.ts +1 -1
- package/dist/models/OrganizationServicesElement.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/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 -7
- package/dist/models/User.js +1 -3
- 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 -7
- package/dist/models/UserAccountSearchResult.js +1 -3
- 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/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +1 -1
- package/src/apis/OrganizationApi.ts +1 -1
- package/src/apis/PermissionApi.ts +1 -1
- package/src/apis/RoleApi.ts +1 -1
- package/src/apis/ServiceAccountApi.ts +1 -1
- package/src/apis/SessionApi.ts +1 -1
- package/src/apis/UserApi.ts +43 -45
- 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/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/OrganizationServicesElement.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/UpdateUserAccountPayload.ts +1 -1
- package/src/models/UpdateUserAccountSsoPayload.ts +1 -1
- package/src/models/UpsertServicePayload.ts +1 -1
- package/src/models/User.ts +1 -9
- 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 -9
- 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/models/index.ts +0 -1
- package/src/runtime.ts +1 -1
- package/dist/models/UpdateUserAccountOwnerOrganization.d.ts +0 -27
- package/dist/models/UpdateUserAccountOwnerOrganization.js +0 -41
- package/src/models/UpdateUserAccountOwnerOrganization.ts +0 -57
package/.openapi-generator/FILES
CHANGED
|
@@ -51,7 +51,6 @@ src/models/SessionPayload.ts
|
|
|
51
51
|
src/models/SessionState.ts
|
|
52
52
|
src/models/SsoProvider.ts
|
|
53
53
|
src/models/SsoToken.ts
|
|
54
|
-
src/models/UpdateUserAccountOwnerOrganization.ts
|
|
55
54
|
src/models/UpdateUserAccountPayload.ts
|
|
56
55
|
src/models/UpdateUserAccountSsoPayload.ts
|
|
57
56
|
src/models/UpsertServicePayload.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @equisoft/account-service-sdk-typescript@3.3.
|
|
1
|
+
## @equisoft/account-service-sdk-typescript@3.3.3-SNAPSHOT
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @equisoft/account-service-sdk-typescript@3.3.
|
|
39
|
+
npm install @equisoft/account-service-sdk-typescript@3.3.3-SNAPSHOT --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/apis/OAuthApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/OAuthApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/RoleApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/RoleApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/SessionApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/UserApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { ApplyPermissionsPayload, Id,
|
|
13
|
+
import { ApplyPermissionsPayload, Id, Organization, PermissionList, UpdateUserAccountPayload, UpdateUserAccountSsoPayload, User, UserAccountRoleAttributions, UserAccountSearchResult, UserPermissions } from '../models';
|
|
14
14
|
export interface ActivateRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
}
|
|
@@ -41,6 +41,10 @@ export interface DeleteUserAccountRoleAttributionRequest {
|
|
|
41
41
|
export interface DeleteUserSessionsRequest {
|
|
42
42
|
uuid: string;
|
|
43
43
|
}
|
|
44
|
+
export interface GetOwnerOrganizationRequest {
|
|
45
|
+
uuid: string;
|
|
46
|
+
xUserUuid?: string;
|
|
47
|
+
}
|
|
44
48
|
export interface GetUserRequest {
|
|
45
49
|
uuid: string;
|
|
46
50
|
}
|
|
@@ -64,10 +68,6 @@ export interface ListUsersRequest {
|
|
|
64
68
|
export interface UnlockRequest {
|
|
65
69
|
uuid: string;
|
|
66
70
|
}
|
|
67
|
-
export interface UpdateOwnerOrganizationRequest {
|
|
68
|
-
uuid: string;
|
|
69
|
-
updateUserAccountOwnerOrganization: UpdateUserAccountOwnerOrganization;
|
|
70
|
-
}
|
|
71
71
|
export interface UpdateUserRequest {
|
|
72
72
|
uuid: string;
|
|
73
73
|
updateUserAccountPayload: UpdateUserAccountPayload;
|
|
@@ -140,6 +140,14 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
140
140
|
* Delete all sessions for the user.
|
|
141
141
|
*/
|
|
142
142
|
deleteUserSessions(requestParameters: DeleteUserSessionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
143
|
+
/**
|
|
144
|
+
* Get user\'s owner organization
|
|
145
|
+
*/
|
|
146
|
+
getOwnerOrganizationRaw(requestParameters: GetOwnerOrganizationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Organization>>;
|
|
147
|
+
/**
|
|
148
|
+
* Get user\'s owner organization
|
|
149
|
+
*/
|
|
150
|
+
getOwnerOrganization(requestParameters: GetOwnerOrganizationRequest, initOverrides?: RequestInit): Promise<Organization>;
|
|
143
151
|
/**
|
|
144
152
|
* Get detailed information about a user account.
|
|
145
153
|
*/
|
|
@@ -188,14 +196,6 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
188
196
|
* Unlock user account.
|
|
189
197
|
*/
|
|
190
198
|
unlock(requestParameters: UnlockRequest, initOverrides?: RequestInit): Promise<void>;
|
|
191
|
-
/**
|
|
192
|
-
* update a user account owner organization.
|
|
193
|
-
*/
|
|
194
|
-
updateOwnerOrganizationRaw(requestParameters: UpdateOwnerOrganizationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
195
|
-
/**
|
|
196
|
-
* update a user account owner organization.
|
|
197
|
-
*/
|
|
198
|
-
updateOwnerOrganization(requestParameters: UpdateOwnerOrganizationRequest, initOverrides?: RequestInit): Promise<void>;
|
|
199
199
|
/**
|
|
200
200
|
* update user account.
|
|
201
201
|
*/
|
package/dist/apis/UserApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -268,6 +268,37 @@ class UserApi extends runtime.BaseAPI {
|
|
|
268
268
|
yield this.deleteUserSessionsRaw(requestParameters, initOverrides);
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* Get user\'s owner organization
|
|
273
|
+
*/
|
|
274
|
+
getOwnerOrganizationRaw(requestParameters, initOverrides) {
|
|
275
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
276
|
+
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
277
|
+
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling getOwnerOrganization.');
|
|
278
|
+
}
|
|
279
|
+
const queryParameters = {};
|
|
280
|
+
const headerParameters = {};
|
|
281
|
+
if (requestParameters.xUserUuid !== undefined && requestParameters.xUserUuid !== null) {
|
|
282
|
+
headerParameters['X-User-Uuid'] = String(requestParameters.xUserUuid);
|
|
283
|
+
}
|
|
284
|
+
const response = yield this.request({
|
|
285
|
+
path: `/users/{uuid}/ownerOrganization`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
286
|
+
method: 'GET',
|
|
287
|
+
headers: headerParameters,
|
|
288
|
+
query: queryParameters,
|
|
289
|
+
}, initOverrides);
|
|
290
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.OrganizationFromJSON(jsonValue));
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Get user\'s owner organization
|
|
295
|
+
*/
|
|
296
|
+
getOwnerOrganization(requestParameters, initOverrides) {
|
|
297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
298
|
+
const response = yield this.getOwnerOrganizationRaw(requestParameters, initOverrides);
|
|
299
|
+
return yield response.value();
|
|
300
|
+
});
|
|
301
|
+
}
|
|
271
302
|
/**
|
|
272
303
|
* Get detailed information about a user account.
|
|
273
304
|
*/
|
|
@@ -450,38 +481,6 @@ class UserApi extends runtime.BaseAPI {
|
|
|
450
481
|
yield this.unlockRaw(requestParameters, initOverrides);
|
|
451
482
|
});
|
|
452
483
|
}
|
|
453
|
-
/**
|
|
454
|
-
* update a user account owner organization.
|
|
455
|
-
*/
|
|
456
|
-
updateOwnerOrganizationRaw(requestParameters, initOverrides) {
|
|
457
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
458
|
-
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
459
|
-
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling updateOwnerOrganization.');
|
|
460
|
-
}
|
|
461
|
-
if (requestParameters.updateUserAccountOwnerOrganization === null || requestParameters.updateUserAccountOwnerOrganization === undefined) {
|
|
462
|
-
throw new runtime.RequiredError('updateUserAccountOwnerOrganization', 'Required parameter requestParameters.updateUserAccountOwnerOrganization was null or undefined when calling updateOwnerOrganization.');
|
|
463
|
-
}
|
|
464
|
-
const queryParameters = {};
|
|
465
|
-
const headerParameters = {};
|
|
466
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
467
|
-
const response = yield this.request({
|
|
468
|
-
path: `/users/{uuid}/ownerOrganization`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
469
|
-
method: 'PUT',
|
|
470
|
-
headers: headerParameters,
|
|
471
|
-
query: queryParameters,
|
|
472
|
-
body: models_1.UpdateUserAccountOwnerOrganizationToJSON(requestParameters.updateUserAccountOwnerOrganization),
|
|
473
|
-
}, initOverrides);
|
|
474
|
-
return new runtime.VoidApiResponse(response);
|
|
475
|
-
});
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* update a user account owner organization.
|
|
479
|
-
*/
|
|
480
|
-
updateOwnerOrganization(requestParameters, initOverrides) {
|
|
481
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
482
|
-
yield this.updateOwnerOrganizationRaw(requestParameters, initOverrides);
|
|
483
|
-
});
|
|
484
|
-
}
|
|
485
484
|
/**
|
|
486
485
|
* update user account.
|
|
487
486
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Id.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Id.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.3.
|
|
8
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.3.
|
|
5
|
+
* The version of the OpenAPI document: 3.3.3-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|