@equisoft/account-service-sdk-typescript 3.0.1-snapshot.20220124205706 → 3.2.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.
Files changed (195) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/dist/apis/OAuthApi.d.ts +1 -1
  4. package/dist/apis/OAuthApi.js +1 -1
  5. package/dist/apis/OrganizationApi.d.ts +1 -1
  6. package/dist/apis/OrganizationApi.js +1 -1
  7. package/dist/apis/PermissionApi.d.ts +1 -1
  8. package/dist/apis/PermissionApi.js +1 -1
  9. package/dist/apis/RoleApi.d.ts +1 -1
  10. package/dist/apis/RoleApi.js +1 -1
  11. package/dist/apis/ServiceAccountApi.d.ts +1 -1
  12. package/dist/apis/ServiceAccountApi.js +1 -1
  13. package/dist/apis/SessionApi.d.ts +1 -1
  14. package/dist/apis/SessionApi.js +1 -1
  15. package/dist/apis/UserApi.d.ts +37 -2
  16. package/dist/apis/UserApi.js +92 -1
  17. package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +1 -1
  18. package/dist/models/CreateOrUpdateOAuthClientPayload.js +1 -1
  19. package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +1 -1
  20. package/dist/models/CreateOrUpdateOrganizationPayload.js +1 -1
  21. package/dist/models/CreateOrUpdatePermissionPayload.d.ts +1 -1
  22. package/dist/models/CreateOrUpdatePermissionPayload.js +1 -1
  23. package/dist/models/CreateOrganizationPayload.d.ts +1 -1
  24. package/dist/models/CreateOrganizationPayload.js +1 -1
  25. package/dist/models/CreateRole.d.ts +1 -1
  26. package/dist/models/CreateRole.js +1 -1
  27. package/dist/models/DatabaseState.d.ts +1 -1
  28. package/dist/models/DatabaseState.js +1 -1
  29. package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +1 -1
  30. package/dist/models/EnableEquisoftConnectPayloadSchema.js +1 -1
  31. package/dist/models/ErrorMessage.d.ts +1 -1
  32. package/dist/models/ErrorMessage.js +1 -1
  33. package/dist/models/ErrorPayload.d.ts +1 -1
  34. package/dist/models/ErrorPayload.js +1 -1
  35. package/dist/models/Id.d.ts +1 -1
  36. package/dist/models/Id.js +1 -1
  37. package/dist/models/ImpersonatePayload.d.ts +1 -1
  38. package/dist/models/ImpersonatePayload.js +1 -1
  39. package/dist/models/LegacyRoleSchema.d.ts +1 -1
  40. package/dist/models/LegacyRoleSchema.js +1 -1
  41. package/dist/models/ListOrganizationElement.d.ts +1 -1
  42. package/dist/models/ListOrganizationElement.js +1 -1
  43. package/dist/models/ListUserOrganizations.d.ts +1 -1
  44. package/dist/models/ListUserOrganizations.js +1 -1
  45. package/dist/models/LocalizedString.d.ts +1 -1
  46. package/dist/models/LocalizedString.js +1 -1
  47. package/dist/models/OAuthClient.d.ts +1 -1
  48. package/dist/models/OAuthClient.js +1 -1
  49. package/dist/models/OAuthClientCreated.d.ts +1 -1
  50. package/dist/models/OAuthClientCreated.js +1 -1
  51. package/dist/models/OAuthClientPublicKey.d.ts +1 -1
  52. package/dist/models/OAuthClientPublicKey.js +1 -1
  53. package/dist/models/Organization.d.ts +1 -1
  54. package/dist/models/Organization.js +1 -1
  55. package/dist/models/OrganizationCreated.d.ts +1 -1
  56. package/dist/models/OrganizationCreated.js +1 -1
  57. package/dist/models/OrganizationPathElement.d.ts +1 -1
  58. package/dist/models/OrganizationPathElement.js +1 -1
  59. package/dist/models/OrganizationServicesElement.d.ts +1 -1
  60. package/dist/models/OrganizationServicesElement.js +1 -1
  61. package/dist/models/PermissionCode.d.ts +1 -1
  62. package/dist/models/PermissionCode.js +1 -1
  63. package/dist/models/PermissionCreated.d.ts +1 -1
  64. package/dist/models/PermissionCreated.js +1 -1
  65. package/dist/models/PermissionList.d.ts +1 -1
  66. package/dist/models/PermissionList.js +1 -1
  67. package/dist/models/Role.d.ts +1 -1
  68. package/dist/models/Role.js +1 -1
  69. package/dist/models/RoleCreated.d.ts +1 -1
  70. package/dist/models/RoleCreated.js +1 -1
  71. package/dist/models/RolesOnOrganization.d.ts +1 -1
  72. package/dist/models/RolesOnOrganization.js +1 -1
  73. package/dist/models/ServiceAccess.d.ts +1 -1
  74. package/dist/models/ServiceAccess.js +1 -1
  75. package/dist/models/ServiceAccountCreationSchema.d.ts +1 -1
  76. package/dist/models/ServiceAccountCreationSchema.js +1 -1
  77. package/dist/models/ServiceAccountSchema.d.ts +1 -1
  78. package/dist/models/ServiceAccountSchema.js +1 -1
  79. package/dist/models/ServiceAccountStatus.d.ts +1 -1
  80. package/dist/models/ServiceAccountStatus.js +1 -1
  81. package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
  82. package/dist/models/ServiceAccountUpdateSchema.js +1 -1
  83. package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
  84. package/dist/models/ServiceAccountUuidSchema.js +1 -1
  85. package/dist/models/ServiceName.d.ts +1 -1
  86. package/dist/models/ServiceName.js +1 -1
  87. package/dist/models/Session.d.ts +1 -1
  88. package/dist/models/Session.js +1 -1
  89. package/dist/models/SessionPayload.d.ts +1 -1
  90. package/dist/models/SessionPayload.js +1 -1
  91. package/dist/models/SessionState.d.ts +1 -1
  92. package/dist/models/SessionState.js +1 -1
  93. package/dist/models/SsoProvider.d.ts +1 -1
  94. package/dist/models/SsoProvider.js +1 -1
  95. package/dist/models/SsoToken.d.ts +1 -1
  96. package/dist/models/SsoToken.js +1 -1
  97. package/dist/models/UpdateUserAccountPayload.d.ts +51 -0
  98. package/dist/models/UpdateUserAccountPayload.js +50 -0
  99. package/dist/models/UpdateUserAccountSsoPayload.d.ts +33 -0
  100. package/dist/models/UpdateUserAccountSsoPayload.js +43 -0
  101. package/dist/models/UpsertServicePayload.d.ts +1 -1
  102. package/dist/models/UpsertServicePayload.js +1 -1
  103. package/dist/models/User.d.ts +7 -1
  104. package/dist/models/User.js +3 -1
  105. package/dist/models/UserAccountOrganizationRoles.d.ts +1 -1
  106. package/dist/models/UserAccountOrganizationRoles.js +1 -1
  107. package/dist/models/UserAccountPermission.d.ts +1 -1
  108. package/dist/models/UserAccountPermission.js +1 -1
  109. package/dist/models/UserAccountRole.d.ts +1 -1
  110. package/dist/models/UserAccountRole.js +1 -1
  111. package/dist/models/UserAccountRoleAttributions.d.ts +1 -1
  112. package/dist/models/UserAccountRoleAttributions.js +1 -1
  113. package/dist/models/UserAccountSearchResult.d.ts +7 -1
  114. package/dist/models/UserAccountSearchResult.js +3 -1
  115. package/dist/models/UserAgreement.d.ts +1 -1
  116. package/dist/models/UserAgreement.js +1 -1
  117. package/dist/models/UserAgreementState.d.ts +1 -1
  118. package/dist/models/UserAgreementState.js +1 -1
  119. package/dist/models/UserPermissions.d.ts +1 -1
  120. package/dist/models/UserPermissions.js +1 -1
  121. package/dist/models/UserServiceAssociation.d.ts +1 -1
  122. package/dist/models/UserServiceAssociation.js +1 -1
  123. package/dist/models/UserSsoProvider.d.ts +1 -1
  124. package/dist/models/UserSsoProvider.js +1 -1
  125. package/dist/models/UserState.d.ts +1 -1
  126. package/dist/models/UserState.js +1 -1
  127. package/dist/models/index.d.ts +2 -0
  128. package/dist/models/index.js +2 -0
  129. package/dist/runtime.d.ts +1 -1
  130. package/dist/runtime.js +1 -1
  131. package/package.json +1 -1
  132. package/src/apis/OAuthApi.ts +1 -1
  133. package/src/apis/OrganizationApi.ts +1 -1
  134. package/src/apis/PermissionApi.ts +1 -1
  135. package/src/apis/RoleApi.ts +1 -1
  136. package/src/apis/ServiceAccountApi.ts +1 -1
  137. package/src/apis/SessionApi.ts +1 -1
  138. package/src/apis/UserApi.ts +122 -1
  139. package/src/models/CreateOrUpdateOAuthClientPayload.ts +1 -1
  140. package/src/models/CreateOrUpdateOrganizationPayload.ts +1 -1
  141. package/src/models/CreateOrUpdatePermissionPayload.ts +1 -1
  142. package/src/models/CreateOrganizationPayload.ts +1 -1
  143. package/src/models/CreateRole.ts +1 -1
  144. package/src/models/DatabaseState.ts +1 -1
  145. package/src/models/EnableEquisoftConnectPayloadSchema.ts +1 -1
  146. package/src/models/ErrorMessage.ts +1 -1
  147. package/src/models/ErrorPayload.ts +1 -1
  148. package/src/models/Id.ts +1 -1
  149. package/src/models/ImpersonatePayload.ts +1 -1
  150. package/src/models/LegacyRoleSchema.ts +1 -1
  151. package/src/models/ListOrganizationElement.ts +1 -1
  152. package/src/models/ListUserOrganizations.ts +1 -1
  153. package/src/models/LocalizedString.ts +1 -1
  154. package/src/models/OAuthClient.ts +1 -1
  155. package/src/models/OAuthClientCreated.ts +1 -1
  156. package/src/models/OAuthClientPublicKey.ts +1 -1
  157. package/src/models/Organization.ts +1 -1
  158. package/src/models/OrganizationCreated.ts +1 -1
  159. package/src/models/OrganizationPathElement.ts +1 -1
  160. package/src/models/OrganizationServicesElement.ts +1 -1
  161. package/src/models/PermissionCode.ts +1 -1
  162. package/src/models/PermissionCreated.ts +1 -1
  163. package/src/models/PermissionList.ts +1 -1
  164. package/src/models/Role.ts +1 -1
  165. package/src/models/RoleCreated.ts +1 -1
  166. package/src/models/RolesOnOrganization.ts +1 -1
  167. package/src/models/ServiceAccess.ts +1 -1
  168. package/src/models/ServiceAccountCreationSchema.ts +1 -1
  169. package/src/models/ServiceAccountSchema.ts +1 -1
  170. package/src/models/ServiceAccountStatus.ts +1 -1
  171. package/src/models/ServiceAccountUpdateSchema.ts +1 -1
  172. package/src/models/ServiceAccountUuidSchema.ts +1 -1
  173. package/src/models/ServiceName.ts +1 -1
  174. package/src/models/Session.ts +1 -1
  175. package/src/models/SessionPayload.ts +1 -1
  176. package/src/models/SessionState.ts +1 -1
  177. package/src/models/SsoProvider.ts +1 -1
  178. package/src/models/SsoToken.ts +1 -1
  179. package/src/models/UpdateUserAccountPayload.ts +89 -0
  180. package/src/models/UpdateUserAccountSsoPayload.ts +65 -0
  181. package/src/models/UpsertServicePayload.ts +1 -1
  182. package/src/models/User.ts +9 -1
  183. package/src/models/UserAccountOrganizationRoles.ts +1 -1
  184. package/src/models/UserAccountPermission.ts +1 -1
  185. package/src/models/UserAccountRole.ts +1 -1
  186. package/src/models/UserAccountRoleAttributions.ts +1 -1
  187. package/src/models/UserAccountSearchResult.ts +9 -1
  188. package/src/models/UserAgreement.ts +1 -1
  189. package/src/models/UserAgreementState.ts +1 -1
  190. package/src/models/UserPermissions.ts +1 -1
  191. package/src/models/UserServiceAssociation.ts +1 -1
  192. package/src/models/UserSsoProvider.ts +1 -1
  193. package/src/models/UserState.ts +1 -1
  194. package/src/models/index.ts +2 -0
  195. package/src/runtime.ts +1 -1
@@ -49,6 +49,8 @@ src/models/SessionPayload.ts
49
49
  src/models/SessionState.ts
50
50
  src/models/SsoProvider.ts
51
51
  src/models/SsoToken.ts
52
+ src/models/UpdateUserAccountPayload.ts
53
+ src/models/UpdateUserAccountSsoPayload.ts
52
54
  src/models/UpsertServicePayload.ts
53
55
  src/models/User.ts
54
56
  src/models/UserAccountOrganizationRoles.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @equisoft/account-service-sdk-typescript@3.1.2-SNAPSHOT
1
+ ## @equisoft/account-service-sdk-typescript@3.2.0
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.1.2-SNAPSHOT --save
39
+ npm install @equisoft/account-service-sdk-typescript@3.2.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,10 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { Id, User, UserAccountRoleAttributions, UserAccountSearchResult, UserPermissions } from '../models';
13
+ import { Id, UpdateUserAccountPayload, UpdateUserAccountSsoPayload, User, UserAccountRoleAttributions, UserAccountSearchResult, UserPermissions } from '../models';
14
14
  export interface ActivateRequest {
15
15
  uuid: string;
16
16
  }
17
+ export interface AddUpdateSsoRequest {
18
+ uuid: string;
19
+ updateUserAccountSsoPayload: UpdateUserAccountSsoPayload;
20
+ }
17
21
  export interface AddUserAccountRoleAttributionRequest {
18
22
  uuid: string;
19
23
  organizationUuid: string;
@@ -22,6 +26,9 @@ export interface AddUserAccountRoleAttributionRequest {
22
26
  export interface DeactivateRequest {
23
27
  uuid: string;
24
28
  }
29
+ export interface DeleteSsoRequest {
30
+ uuid: string;
31
+ }
25
32
  export interface DeleteUserAccountRoleAttributionRequest {
26
33
  uuid: string;
27
34
  organizationUuid: string;
@@ -53,6 +60,10 @@ export interface ListUsersRequest {
53
60
  export interface UnlockRequest {
54
61
  uuid: string;
55
62
  }
63
+ export interface UpdateUserRequest {
64
+ uuid: string;
65
+ updateUserAccountPayload: UpdateUserAccountPayload;
66
+ }
56
67
  /**
57
68
  *
58
69
  */
@@ -65,6 +76,14 @@ export declare class UserApi extends runtime.BaseAPI {
65
76
  * Activate user account.
66
77
  */
67
78
  activate(requestParameters: ActivateRequest, initOverrides?: RequestInit): Promise<void>;
79
+ /**
80
+ * update user account sso.
81
+ */
82
+ addUpdateSsoRaw(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
83
+ /**
84
+ * update user account sso.
85
+ */
86
+ addUpdateSso(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit): Promise<void>;
68
87
  /**
69
88
  * Add a role attribution for a user and organization
70
89
  */
@@ -81,6 +100,14 @@ export declare class UserApi extends runtime.BaseAPI {
81
100
  * Deactivate user account.
82
101
  */
83
102
  deactivate(requestParameters: DeactivateRequest, initOverrides?: RequestInit): Promise<void>;
103
+ /**
104
+ * delete user account sso.
105
+ */
106
+ deleteSsoRaw(requestParameters: DeleteSsoRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
107
+ /**
108
+ * delete user account sso.
109
+ */
110
+ deleteSso(requestParameters: DeleteSsoRequest, initOverrides?: RequestInit): Promise<void>;
84
111
  /**
85
112
  * Remove a role attribution for a user and organization
86
113
  */
@@ -145,4 +172,12 @@ export declare class UserApi extends runtime.BaseAPI {
145
172
  * Unlock user account.
146
173
  */
147
174
  unlock(requestParameters: UnlockRequest, initOverrides?: RequestInit): Promise<void>;
175
+ /**
176
+ * update user account.
177
+ */
178
+ updateUserRaw(requestParameters: UpdateUserRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
179
+ /**
180
+ * update user account.
181
+ */
182
+ updateUser(requestParameters: UpdateUserRequest, initOverrides?: RequestInit): Promise<void>;
148
183
  }
@@ -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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -56,6 +56,38 @@ class UserApi extends runtime.BaseAPI {
56
56
  yield this.activateRaw(requestParameters, initOverrides);
57
57
  });
58
58
  }
59
+ /**
60
+ * update user account sso.
61
+ */
62
+ addUpdateSsoRaw(requestParameters, initOverrides) {
63
+ return __awaiter(this, void 0, void 0, function* () {
64
+ if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
65
+ throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling addUpdateSso.');
66
+ }
67
+ if (requestParameters.updateUserAccountSsoPayload === null || requestParameters.updateUserAccountSsoPayload === undefined) {
68
+ throw new runtime.RequiredError('updateUserAccountSsoPayload', 'Required parameter requestParameters.updateUserAccountSsoPayload was null or undefined when calling addUpdateSso.');
69
+ }
70
+ const queryParameters = {};
71
+ const headerParameters = {};
72
+ headerParameters['Content-Type'] = 'application/json';
73
+ const response = yield this.request({
74
+ path: `/users/{uuid}/sso`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
75
+ method: 'POST',
76
+ headers: headerParameters,
77
+ query: queryParameters,
78
+ body: models_1.UpdateUserAccountSsoPayloadToJSON(requestParameters.updateUserAccountSsoPayload),
79
+ }, initOverrides);
80
+ return new runtime.VoidApiResponse(response);
81
+ });
82
+ }
83
+ /**
84
+ * update user account sso.
85
+ */
86
+ addUpdateSso(requestParameters, initOverrides) {
87
+ return __awaiter(this, void 0, void 0, function* () {
88
+ yield this.addUpdateSsoRaw(requestParameters, initOverrides);
89
+ });
90
+ }
59
91
  /**
60
92
  * Add a role attribution for a user and organization
61
93
  */
@@ -116,6 +148,33 @@ class UserApi extends runtime.BaseAPI {
116
148
  yield this.deactivateRaw(requestParameters, initOverrides);
117
149
  });
118
150
  }
151
+ /**
152
+ * delete user account sso.
153
+ */
154
+ deleteSsoRaw(requestParameters, initOverrides) {
155
+ return __awaiter(this, void 0, void 0, function* () {
156
+ if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
157
+ throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling deleteSso.');
158
+ }
159
+ const queryParameters = {};
160
+ const headerParameters = {};
161
+ const response = yield this.request({
162
+ path: `/users/{uuid}/sso`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
163
+ method: 'DELETE',
164
+ headers: headerParameters,
165
+ query: queryParameters,
166
+ }, initOverrides);
167
+ return new runtime.VoidApiResponse(response);
168
+ });
169
+ }
170
+ /**
171
+ * delete user account sso.
172
+ */
173
+ deleteSso(requestParameters, initOverrides) {
174
+ return __awaiter(this, void 0, void 0, function* () {
175
+ yield this.deleteSsoRaw(requestParameters, initOverrides);
176
+ });
177
+ }
119
178
  /**
120
179
  * Remove a role attribution for a user and organization
121
180
  */
@@ -358,5 +417,37 @@ class UserApi extends runtime.BaseAPI {
358
417
  yield this.unlockRaw(requestParameters, initOverrides);
359
418
  });
360
419
  }
420
+ /**
421
+ * update user account.
422
+ */
423
+ updateUserRaw(requestParameters, initOverrides) {
424
+ return __awaiter(this, void 0, void 0, function* () {
425
+ if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
426
+ throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling updateUser.');
427
+ }
428
+ if (requestParameters.updateUserAccountPayload === null || requestParameters.updateUserAccountPayload === undefined) {
429
+ throw new runtime.RequiredError('updateUserAccountPayload', 'Required parameter requestParameters.updateUserAccountPayload was null or undefined when calling updateUser.');
430
+ }
431
+ const queryParameters = {};
432
+ const headerParameters = {};
433
+ headerParameters['Content-Type'] = 'application/json';
434
+ const response = yield this.request({
435
+ path: `/users/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
436
+ method: 'PUT',
437
+ headers: headerParameters,
438
+ query: queryParameters,
439
+ body: models_1.UpdateUserAccountPayloadToJSON(requestParameters.updateUserAccountPayload),
440
+ }, initOverrides);
441
+ return new runtime.VoidApiResponse(response);
442
+ });
443
+ }
444
+ /**
445
+ * update user account.
446
+ */
447
+ updateUser(requestParameters, initOverrides) {
448
+ return __awaiter(this, void 0, void 0, function* () {
449
+ yield this.updateUserRaw(requestParameters, initOverrides);
450
+ });
451
+ }
361
452
  }
362
453
  exports.UserApi = UserApi;
@@ -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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.2.0
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.1.2-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.2.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).