@equisoft/account-service-sdk-typescript 4.4.1-snapshot.20230120173338 → 4.5.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/.openapi-generator/FILES +1 -0
- 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 +13 -2
- package/dist/apis/UserApi.js +39 -1
- package/dist/models/ApplyPermissionsPayload.d.ts +1 -1
- package/dist/models/ApplyPermissionsPayload.js +1 -1
- package/dist/models/AuthenticationUserAccount.d.ts +1 -1
- package/dist/models/AuthenticationUserAccount.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 +4 -1
- package/dist/models/ErrorMessage.js +5 -2
- 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/LoginPayload.d.ts +33 -0
- package/dist/models/LoginPayload.js +43 -0
- 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/OrganizationSsoProvider.d.ts +1 -1
- package/dist/models/OrganizationSsoProvider.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/SendResetPasswordLinkPayload.d.ts +1 -1
- package/dist/models/SendResetPasswordLinkPayload.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/SetUserAccountPasswordPayload.d.ts +1 -1
- package/dist/models/SetUserAccountPasswordPayload.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/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- 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 +51 -1
- package/src/models/ApplyPermissionsPayload.ts +1 -1
- package/src/models/AuthenticationUserAccount.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 +5 -2
- 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/LoginPayload.ts +64 -0
- 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/OrganizationSsoProvider.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/SendResetPasswordLinkPayload.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/SetUserAccountPasswordPayload.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/models/index.ts +1 -0
- 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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,9 @@ import {
|
|
|
27
27
|
Id,
|
|
28
28
|
IdFromJSON,
|
|
29
29
|
IdToJSON,
|
|
30
|
+
LoginPayload,
|
|
31
|
+
LoginPayloadFromJSON,
|
|
32
|
+
LoginPayloadToJSON,
|
|
30
33
|
Organization,
|
|
31
34
|
OrganizationFromJSON,
|
|
32
35
|
OrganizationToJSON,
|
|
@@ -133,6 +136,10 @@ export interface ListUsersRequest {
|
|
|
133
136
|
query?: string | null;
|
|
134
137
|
}
|
|
135
138
|
|
|
139
|
+
export interface LoginRequest {
|
|
140
|
+
loginPayload: LoginPayload;
|
|
141
|
+
}
|
|
142
|
+
|
|
136
143
|
export interface SendPasswordResetLinkRequest {
|
|
137
144
|
uuid: string;
|
|
138
145
|
sendResetPasswordLinkPayload: SendResetPasswordLinkPayload;
|
|
@@ -835,6 +842,49 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
835
842
|
return await response.value();
|
|
836
843
|
}
|
|
837
844
|
|
|
845
|
+
/**
|
|
846
|
+
* User account login
|
|
847
|
+
*/
|
|
848
|
+
async loginRaw(requestParameters: LoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AuthenticationUserAccount>> {
|
|
849
|
+
if (requestParameters.loginPayload === null || requestParameters.loginPayload === undefined) {
|
|
850
|
+
throw new runtime.RequiredError('loginPayload','Required parameter requestParameters.loginPayload was null or undefined when calling login.');
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
const queryParameters: any = {};
|
|
854
|
+
|
|
855
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
856
|
+
|
|
857
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
858
|
+
|
|
859
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
860
|
+
// oauth required
|
|
861
|
+
const token = this.configuration.accessToken;
|
|
862
|
+
const tokenString = await token("OAuth2", []);
|
|
863
|
+
|
|
864
|
+
if (tokenString) {
|
|
865
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
const response = await this.request({
|
|
870
|
+
path: `/login`,
|
|
871
|
+
method: 'POST',
|
|
872
|
+
headers: headerParameters,
|
|
873
|
+
query: queryParameters,
|
|
874
|
+
body: LoginPayloadToJSON(requestParameters.loginPayload),
|
|
875
|
+
}, initOverrides);
|
|
876
|
+
|
|
877
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticationUserAccountFromJSON(jsonValue));
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* User account login
|
|
882
|
+
*/
|
|
883
|
+
async login(requestParameters: LoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AuthenticationUserAccount> {
|
|
884
|
+
const response = await this.loginRaw(requestParameters, initOverrides);
|
|
885
|
+
return await response.value();
|
|
886
|
+
}
|
|
887
|
+
|
|
838
888
|
/**
|
|
839
889
|
* Sends an email or sms with a time limited unique link to reset user\'s password
|
|
840
890
|
*/
|
|
@@ -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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,10 @@ export const ErrorMessage = {
|
|
|
31
31
|
USER_AGREEMENT_REQUESTED: 'USER_AGREEMENT_REQUESTED',
|
|
32
32
|
CONCURRENT_ACCESS: 'CONCURRENT_ACCESS',
|
|
33
33
|
INVALID_COOKIE_DOMAIN_NAME: 'INVALID_COOKIE_DOMAIN_NAME',
|
|
34
|
-
DUPLICATE_USER_ACCOUNT_EMAIL: 'DUPLICATE_USER_ACCOUNT_EMAIL'
|
|
34
|
+
DUPLICATE_USER_ACCOUNT_EMAIL: 'DUPLICATE_USER_ACCOUNT_EMAIL',
|
|
35
|
+
PASSWORD_LOGIN_DISABLED: 'PASSWORD_LOGIN_DISABLED',
|
|
36
|
+
LOCKED_USER: 'LOCKED_USER',
|
|
37
|
+
LOGIN_DENIED: 'LOGIN_DENIED'
|
|
35
38
|
} as const;
|
|
36
39
|
export type ErrorMessage = typeof ErrorMessage[keyof typeof ErrorMessage];
|
|
37
40
|
|
|
@@ -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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* User account and session management
|
|
5
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 4.5.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LoginPayload
|
|
20
|
+
*/
|
|
21
|
+
export interface LoginPayload {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LoginPayload
|
|
26
|
+
*/
|
|
27
|
+
email: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LoginPayload
|
|
32
|
+
*/
|
|
33
|
+
password: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function LoginPayloadFromJSON(json: any): LoginPayload {
|
|
37
|
+
return LoginPayloadFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function LoginPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginPayload {
|
|
41
|
+
if ((json === undefined) || (json === null)) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
|
|
46
|
+
'email': json['email'],
|
|
47
|
+
'password': json['password'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function LoginPayloadToJSON(value?: LoginPayload | null): any {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
|
|
60
|
+
'email': value.email,
|
|
61
|
+
'password': value.password,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Session.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: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|