@fenixalliance/abs-api-client 1.0.13 → 1.0.14
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/clients/authService/core/ApiError.js +20 -0
- package/clients/authService/core/ApiError.ts +25 -0
- package/clients/authService/core/ApiRequestOptions.js +2 -0
- package/clients/authService/core/ApiRequestOptions.ts +17 -0
- package/clients/authService/core/ApiResult.js +2 -0
- package/clients/authService/core/ApiResult.ts +11 -0
- package/clients/authService/core/CancelablePromise.js +104 -0
- package/clients/authService/core/CancelablePromise.ts +131 -0
- package/clients/authService/core/OpenAPI.js +14 -0
- package/clients/authService/core/OpenAPI.ts +32 -0
- package/clients/authService/core/request.js +294 -0
- package/clients/authService/core/request.ts +322 -0
- package/clients/authService/index.js +28 -0
- package/clients/authService/index.ts +48 -0
- package/clients/authService/models/AccessTokenResponse.js +2 -0
- package/clients/authService/models/AccessTokenResponse.ts +11 -0
- package/clients/authService/models/AccountHolderCreateDto.js +12 -0
- package/clients/authService/models/AccountHolderCreateDto.ts +41 -0
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.js +2 -0
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
- package/clients/authService/models/ApiAuthorizationResult.js +2 -0
- package/clients/authService/models/ApiAuthorizationResult.ts +17 -0
- package/clients/authService/models/ApiAuthorizationResultEnvelope.js +2 -0
- package/clients/authService/models/ApiAuthorizationResultEnvelope.ts +14 -0
- package/clients/authService/models/EnrollmentId.js +2 -0
- package/clients/authService/models/EnrollmentId.ts +5 -0
- package/clients/authService/models/ErrorEnvelope.js +2 -0
- package/clients/authService/models/ErrorEnvelope.ts +12 -0
- package/clients/authService/models/ForgotPasswordRequest.js +2 -0
- package/clients/authService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/authService/models/HttpValidationProblemDetails.js +2 -0
- package/clients/authService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/authService/models/InfoRequest.js +2 -0
- package/clients/authService/models/InfoRequest.ts +10 -0
- package/clients/authService/models/InfoResponse.js +2 -0
- package/clients/authService/models/InfoResponse.ts +9 -0
- package/clients/authService/models/JsonWebKey.js +2 -0
- package/clients/authService/models/JsonWebKey.ts +13 -0
- package/clients/authService/models/JsonWebKeySet.js +2 -0
- package/clients/authService/models/JsonWebKeySet.ts +9 -0
- package/clients/authService/models/JsonWebKeySetEnvelope.js +2 -0
- package/clients/authService/models/JsonWebKeySetEnvelope.ts +14 -0
- package/clients/authService/models/JsonWebToken.js +2 -0
- package/clients/authService/models/JsonWebToken.ts +15 -0
- package/clients/authService/models/JsonWebTokenEnvelope.js +2 -0
- package/clients/authService/models/JsonWebTokenEnvelope.ts +14 -0
- package/clients/authService/models/JsonWebTokenHeader.js +2 -0
- package/clients/authService/models/JsonWebTokenHeader.ts +11 -0
- package/clients/authService/models/JsonWebTokenPayload.js +2 -0
- package/clients/authService/models/JsonWebTokenPayload.ts +17 -0
- package/clients/authService/models/LoginRequest.js +2 -0
- package/clients/authService/models/LoginRequest.ts +11 -0
- package/clients/authService/models/OAuthTokenRequest.js +2 -0
- package/clients/authService/models/OAuthTokenRequest.ts +12 -0
- package/clients/authService/models/OpenIdConfiguration.js +2 -0
- package/clients/authService/models/OpenIdConfiguration.ts +19 -0
- package/clients/authService/models/OpenIdConfigurationEnvelope.js +2 -0
- package/clients/authService/models/OpenIdConfigurationEnvelope.ts +14 -0
- package/clients/authService/models/RefreshRequest.js +2 -0
- package/clients/authService/models/RefreshRequest.ts +8 -0
- package/clients/authService/models/RegisterRequest.js +2 -0
- package/clients/authService/models/RegisterRequest.ts +9 -0
- package/clients/authService/models/ResendConfirmationEmailRequest.js +2 -0
- package/clients/authService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/authService/models/ResetPasswordRequest.js +2 -0
- package/clients/authService/models/ResetPasswordRequest.ts +10 -0
- package/clients/authService/models/SigninModel.js +2 -0
- package/clients/authService/models/SigninModel.ts +9 -0
- package/clients/authService/models/StringListEnvelope.js +2 -0
- package/clients/authService/models/StringListEnvelope.ts +13 -0
- package/clients/authService/models/TenantId.js +2 -0
- package/clients/authService/models/TenantId.ts +5 -0
- package/clients/authService/models/TwoFactorRequest.js +2 -0
- package/clients/authService/models/TwoFactorRequest.ts +12 -0
- package/clients/authService/models/TwoFactorResponse.js +2 -0
- package/clients/authService/models/TwoFactorResponse.ts +12 -0
- package/clients/authService/models/UserId.js +2 -0
- package/clients/authService/models/UserId.ts +5 -0
- package/clients/authService/services/ApplicationsService.js +112 -0
- package/clients/authService/services/ApplicationsService.ts +132 -0
- package/clients/authService/services/AuthService.js +246 -0
- package/clients/authService/services/AuthService.ts +293 -0
- package/clients/authService/services/CheckerService.js +22 -0
- package/clients/authService/services/CheckerService.ts +25 -0
- package/clients/authService/services/OAuthService.js +152 -0
- package/clients/authService/services/OAuthService.ts +183 -0
- package/clients/authService/services/ResourceService.js +22 -0
- package/clients/authService/services/ResourceService.ts +25 -0
- package/clients/authService/services/UserInfoService.js +36 -0
- package/clients/authService/services/UserInfoService.ts +41 -0
- package/clients/identityService/index.js +3 -1
- package/clients/identityService/index.ts +13 -0
- package/clients/identityService/models/AccessTokenResponse.js +2 -0
- package/clients/identityService/models/AccessTokenResponse.ts +11 -0
- package/clients/identityService/models/ForgotPasswordRequest.js +2 -0
- package/clients/identityService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/identityService/models/HttpValidationProblemDetails.js +2 -0
- package/clients/identityService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/identityService/models/InfoRequest.js +2 -0
- package/clients/identityService/models/InfoRequest.ts +10 -0
- package/clients/identityService/models/InfoResponse.js +2 -0
- package/clients/identityService/models/InfoResponse.ts +9 -0
- package/clients/identityService/models/LoginRequest.js +2 -0
- package/clients/identityService/models/LoginRequest.ts +11 -0
- package/clients/identityService/models/RefreshRequest.js +2 -0
- package/clients/identityService/models/RefreshRequest.ts +8 -0
- package/clients/identityService/models/RegisterRequest.js +2 -0
- package/clients/identityService/models/RegisterRequest.ts +9 -0
- package/clients/identityService/models/ResendConfirmationEmailRequest.js +2 -0
- package/clients/identityService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/identityService/models/ResetPasswordRequest.js +2 -0
- package/clients/identityService/models/ResetPasswordRequest.ts +10 -0
- package/clients/identityService/models/TwoFactorRequest.js +2 -0
- package/clients/identityService/models/TwoFactorRequest.ts +12 -0
- package/clients/identityService/models/TwoFactorResponse.js +2 -0
- package/clients/identityService/models/TwoFactorResponse.ts +12 -0
- package/clients/identityService/services/FenixAllianceAbsModulesWebService.js +246 -0
- package/clients/identityService/services/FenixAllianceAbsModulesWebService.ts +293 -0
- package/package.json +1 -1
- package/schemas/authService/schema.s.js +6 -0
- package/schemas/authService/schema.s.ts +894 -0
- package/schemas/identityService/schema.s.ts +382 -1
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OAuthService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class OAuthService {
|
|
7
|
+
/**
|
|
8
|
+
* @param tenantId
|
|
9
|
+
* @param xApiVersion
|
|
10
|
+
* @returns ApiAuthorizationResultEnvelope OK
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static getApiV2OAuthWhoAmI(tenantId, xApiVersion) {
|
|
14
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
15
|
+
method: 'GET',
|
|
16
|
+
url: '/api/v2/OAuth/WhoAmI',
|
|
17
|
+
headers: {
|
|
18
|
+
'x-api-version': xApiVersion,
|
|
19
|
+
},
|
|
20
|
+
query: {
|
|
21
|
+
'tenantId': tenantId,
|
|
22
|
+
},
|
|
23
|
+
errors: {
|
|
24
|
+
401: `Unauthorized`,
|
|
25
|
+
403: `Forbidden`,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @param xApiVersion
|
|
31
|
+
* @param requestBody
|
|
32
|
+
* @returns JsonWebTokenEnvelope OK
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
static postApiV2OAuthToken(xApiVersion, requestBody) {
|
|
36
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
37
|
+
method: 'POST',
|
|
38
|
+
url: '/api/v2/OAuth/Token',
|
|
39
|
+
headers: {
|
|
40
|
+
'x-api-version': xApiVersion,
|
|
41
|
+
},
|
|
42
|
+
body: requestBody,
|
|
43
|
+
mediaType: 'application/json',
|
|
44
|
+
errors: {
|
|
45
|
+
401: `Unauthorized`,
|
|
46
|
+
403: `Forbidden`,
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @param tenantId
|
|
52
|
+
* @param userId
|
|
53
|
+
* @param xApiVersion
|
|
54
|
+
* @returns StringListEnvelope OK
|
|
55
|
+
* @throws ApiError
|
|
56
|
+
*/
|
|
57
|
+
static getApiV2OAuthPermissions(tenantId, userId, xApiVersion) {
|
|
58
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
59
|
+
method: 'GET',
|
|
60
|
+
url: '/api/v2/OAuth/Permissions',
|
|
61
|
+
headers: {
|
|
62
|
+
'x-api-version': xApiVersion,
|
|
63
|
+
},
|
|
64
|
+
query: {
|
|
65
|
+
'tenantId': tenantId,
|
|
66
|
+
'userId': userId,
|
|
67
|
+
},
|
|
68
|
+
errors: {
|
|
69
|
+
401: `Unauthorized`,
|
|
70
|
+
403: `Forbidden`,
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @param xApiVersion
|
|
76
|
+
* @param requestBody
|
|
77
|
+
* @returns JsonWebTokenEnvelope OK
|
|
78
|
+
* @throws ApiError
|
|
79
|
+
*/
|
|
80
|
+
static postApiV2OAuthSignIn(xApiVersion, requestBody) {
|
|
81
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
82
|
+
method: 'POST',
|
|
83
|
+
url: '/api/v2/OAuth/SignIn',
|
|
84
|
+
headers: {
|
|
85
|
+
'x-api-version': xApiVersion,
|
|
86
|
+
},
|
|
87
|
+
body: requestBody,
|
|
88
|
+
mediaType: 'application/json',
|
|
89
|
+
errors: {
|
|
90
|
+
400: `Bad Request`,
|
|
91
|
+
401: `Unauthorized`,
|
|
92
|
+
},
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @param xApiVersion
|
|
97
|
+
* @returns AccountHolderCreateDtoEnvelope OK
|
|
98
|
+
* @throws ApiError
|
|
99
|
+
*/
|
|
100
|
+
static getApiV2OAuthSignIn(xApiVersion) {
|
|
101
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
102
|
+
method: 'GET',
|
|
103
|
+
url: '/api/v2/OAuth/SignIn',
|
|
104
|
+
headers: {
|
|
105
|
+
'x-api-version': xApiVersion,
|
|
106
|
+
},
|
|
107
|
+
errors: {
|
|
108
|
+
400: `Bad Request`,
|
|
109
|
+
401: `Unauthorized`,
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @param applicationId
|
|
115
|
+
* @param xApiVersion
|
|
116
|
+
* @returns JsonWebKeySetEnvelope OK
|
|
117
|
+
* @throws ApiError
|
|
118
|
+
*/
|
|
119
|
+
static getApiV2OAuthKeys(applicationId, xApiVersion) {
|
|
120
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
121
|
+
method: 'GET',
|
|
122
|
+
url: '/api/v2/OAuth/{applicationId}/Keys',
|
|
123
|
+
path: {
|
|
124
|
+
'applicationId': applicationId,
|
|
125
|
+
},
|
|
126
|
+
headers: {
|
|
127
|
+
'x-api-version': xApiVersion,
|
|
128
|
+
},
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @param tenantId
|
|
133
|
+
* @param applicationId
|
|
134
|
+
* @param xApiVersion
|
|
135
|
+
* @returns OpenIdConfigurationEnvelope OK
|
|
136
|
+
* @throws ApiError
|
|
137
|
+
*/
|
|
138
|
+
static getApiV2OAuthWellKnownOpenIdConfiguration(tenantId, applicationId, xApiVersion) {
|
|
139
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
140
|
+
method: 'GET',
|
|
141
|
+
url: '/api/v2/OAuth/{tenantId}/{applicationId}/.Well-Known/OpenId-Configuration',
|
|
142
|
+
path: {
|
|
143
|
+
'tenantId': tenantId,
|
|
144
|
+
'applicationId': applicationId,
|
|
145
|
+
},
|
|
146
|
+
headers: {
|
|
147
|
+
'x-api-version': xApiVersion,
|
|
148
|
+
},
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.OAuthService = OAuthService;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AccountHolderCreateDtoEnvelope } from '../models/AccountHolderCreateDtoEnvelope';
|
|
6
|
+
import type { ApiAuthorizationResultEnvelope } from '../models/ApiAuthorizationResultEnvelope';
|
|
7
|
+
import type { JsonWebKeySetEnvelope } from '../models/JsonWebKeySetEnvelope';
|
|
8
|
+
import type { JsonWebTokenEnvelope } from '../models/JsonWebTokenEnvelope';
|
|
9
|
+
import type { OAuthTokenRequest } from '../models/OAuthTokenRequest';
|
|
10
|
+
import type { OpenIdConfigurationEnvelope } from '../models/OpenIdConfigurationEnvelope';
|
|
11
|
+
import type { SigninModel } from '../models/SigninModel';
|
|
12
|
+
import type { StringListEnvelope } from '../models/StringListEnvelope';
|
|
13
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
14
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
15
|
+
import { request as __request } from '../core/request';
|
|
16
|
+
export class OAuthService {
|
|
17
|
+
/**
|
|
18
|
+
* @param tenantId
|
|
19
|
+
* @param xApiVersion
|
|
20
|
+
* @returns ApiAuthorizationResultEnvelope OK
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
public static getApiV2OAuthWhoAmI(
|
|
24
|
+
tenantId?: string,
|
|
25
|
+
xApiVersion?: string,
|
|
26
|
+
): CancelablePromise<ApiAuthorizationResultEnvelope> {
|
|
27
|
+
return __request(OpenAPI, {
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/api/v2/OAuth/WhoAmI',
|
|
30
|
+
headers: {
|
|
31
|
+
'x-api-version': xApiVersion,
|
|
32
|
+
},
|
|
33
|
+
query: {
|
|
34
|
+
'tenantId': tenantId,
|
|
35
|
+
},
|
|
36
|
+
errors: {
|
|
37
|
+
401: `Unauthorized`,
|
|
38
|
+
403: `Forbidden`,
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @param xApiVersion
|
|
44
|
+
* @param requestBody
|
|
45
|
+
* @returns JsonWebTokenEnvelope OK
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
public static postApiV2OAuthToken(
|
|
49
|
+
xApiVersion?: string,
|
|
50
|
+
requestBody?: OAuthTokenRequest,
|
|
51
|
+
): CancelablePromise<JsonWebTokenEnvelope> {
|
|
52
|
+
return __request(OpenAPI, {
|
|
53
|
+
method: 'POST',
|
|
54
|
+
url: '/api/v2/OAuth/Token',
|
|
55
|
+
headers: {
|
|
56
|
+
'x-api-version': xApiVersion,
|
|
57
|
+
},
|
|
58
|
+
body: requestBody,
|
|
59
|
+
mediaType: 'application/json',
|
|
60
|
+
errors: {
|
|
61
|
+
401: `Unauthorized`,
|
|
62
|
+
403: `Forbidden`,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @param tenantId
|
|
68
|
+
* @param userId
|
|
69
|
+
* @param xApiVersion
|
|
70
|
+
* @returns StringListEnvelope OK
|
|
71
|
+
* @throws ApiError
|
|
72
|
+
*/
|
|
73
|
+
public static getApiV2OAuthPermissions(
|
|
74
|
+
tenantId: string,
|
|
75
|
+
userId?: string,
|
|
76
|
+
xApiVersion?: string,
|
|
77
|
+
): CancelablePromise<StringListEnvelope> {
|
|
78
|
+
return __request(OpenAPI, {
|
|
79
|
+
method: 'GET',
|
|
80
|
+
url: '/api/v2/OAuth/Permissions',
|
|
81
|
+
headers: {
|
|
82
|
+
'x-api-version': xApiVersion,
|
|
83
|
+
},
|
|
84
|
+
query: {
|
|
85
|
+
'tenantId': tenantId,
|
|
86
|
+
'userId': userId,
|
|
87
|
+
},
|
|
88
|
+
errors: {
|
|
89
|
+
401: `Unauthorized`,
|
|
90
|
+
403: `Forbidden`,
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @param xApiVersion
|
|
96
|
+
* @param requestBody
|
|
97
|
+
* @returns JsonWebTokenEnvelope OK
|
|
98
|
+
* @throws ApiError
|
|
99
|
+
*/
|
|
100
|
+
public static postApiV2OAuthSignIn(
|
|
101
|
+
xApiVersion?: string,
|
|
102
|
+
requestBody?: SigninModel,
|
|
103
|
+
): CancelablePromise<JsonWebTokenEnvelope> {
|
|
104
|
+
return __request(OpenAPI, {
|
|
105
|
+
method: 'POST',
|
|
106
|
+
url: '/api/v2/OAuth/SignIn',
|
|
107
|
+
headers: {
|
|
108
|
+
'x-api-version': xApiVersion,
|
|
109
|
+
},
|
|
110
|
+
body: requestBody,
|
|
111
|
+
mediaType: 'application/json',
|
|
112
|
+
errors: {
|
|
113
|
+
400: `Bad Request`,
|
|
114
|
+
401: `Unauthorized`,
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @param xApiVersion
|
|
120
|
+
* @returns AccountHolderCreateDtoEnvelope OK
|
|
121
|
+
* @throws ApiError
|
|
122
|
+
*/
|
|
123
|
+
public static getApiV2OAuthSignIn(
|
|
124
|
+
xApiVersion?: string,
|
|
125
|
+
): CancelablePromise<AccountHolderCreateDtoEnvelope> {
|
|
126
|
+
return __request(OpenAPI, {
|
|
127
|
+
method: 'GET',
|
|
128
|
+
url: '/api/v2/OAuth/SignIn',
|
|
129
|
+
headers: {
|
|
130
|
+
'x-api-version': xApiVersion,
|
|
131
|
+
},
|
|
132
|
+
errors: {
|
|
133
|
+
400: `Bad Request`,
|
|
134
|
+
401: `Unauthorized`,
|
|
135
|
+
},
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @param applicationId
|
|
140
|
+
* @param xApiVersion
|
|
141
|
+
* @returns JsonWebKeySetEnvelope OK
|
|
142
|
+
* @throws ApiError
|
|
143
|
+
*/
|
|
144
|
+
public static getApiV2OAuthKeys(
|
|
145
|
+
applicationId: string,
|
|
146
|
+
xApiVersion?: string,
|
|
147
|
+
): CancelablePromise<JsonWebKeySetEnvelope> {
|
|
148
|
+
return __request(OpenAPI, {
|
|
149
|
+
method: 'GET',
|
|
150
|
+
url: '/api/v2/OAuth/{applicationId}/Keys',
|
|
151
|
+
path: {
|
|
152
|
+
'applicationId': applicationId,
|
|
153
|
+
},
|
|
154
|
+
headers: {
|
|
155
|
+
'x-api-version': xApiVersion,
|
|
156
|
+
},
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @param tenantId
|
|
161
|
+
* @param applicationId
|
|
162
|
+
* @param xApiVersion
|
|
163
|
+
* @returns OpenIdConfigurationEnvelope OK
|
|
164
|
+
* @throws ApiError
|
|
165
|
+
*/
|
|
166
|
+
public static getApiV2OAuthWellKnownOpenIdConfiguration(
|
|
167
|
+
tenantId: string,
|
|
168
|
+
applicationId: string,
|
|
169
|
+
xApiVersion?: string,
|
|
170
|
+
): CancelablePromise<OpenIdConfigurationEnvelope> {
|
|
171
|
+
return __request(OpenAPI, {
|
|
172
|
+
method: 'GET',
|
|
173
|
+
url: '/api/v2/OAuth/{tenantId}/{applicationId}/.Well-Known/OpenId-Configuration',
|
|
174
|
+
path: {
|
|
175
|
+
'tenantId': tenantId,
|
|
176
|
+
'applicationId': applicationId,
|
|
177
|
+
},
|
|
178
|
+
headers: {
|
|
179
|
+
'x-api-version': xApiVersion,
|
|
180
|
+
},
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class ResourceService {
|
|
7
|
+
/**
|
|
8
|
+
* @param xApiVersion
|
|
9
|
+
* @returns any OK
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static getApiV2IdentityServiceResourceMessage(xApiVersion) {
|
|
13
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
|
+
method: 'GET',
|
|
15
|
+
url: '/api/v2/IdentityService/Resource/message',
|
|
16
|
+
headers: {
|
|
17
|
+
'x-api-version': xApiVersion,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ResourceService = ResourceService;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
7
|
+
import { request as __request } from '../core/request';
|
|
8
|
+
export class ResourceService {
|
|
9
|
+
/**
|
|
10
|
+
* @param xApiVersion
|
|
11
|
+
* @returns any OK
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
public static getApiV2IdentityServiceResourceMessage(
|
|
15
|
+
xApiVersion?: string,
|
|
16
|
+
): CancelablePromise<any> {
|
|
17
|
+
return __request(OpenAPI, {
|
|
18
|
+
method: 'GET',
|
|
19
|
+
url: '/api/v2/IdentityService/Resource/message',
|
|
20
|
+
headers: {
|
|
21
|
+
'x-api-version': xApiVersion,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserInfoService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class UserInfoService {
|
|
7
|
+
/**
|
|
8
|
+
* @param xApiVersion
|
|
9
|
+
* @returns any OK
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static getConnectUserinfo(xApiVersion) {
|
|
13
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
|
+
method: 'GET',
|
|
15
|
+
url: '/connect/userinfo',
|
|
16
|
+
headers: {
|
|
17
|
+
'x-api-version': xApiVersion,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @param xApiVersion
|
|
23
|
+
* @returns any OK
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static postConnectUserinfo(xApiVersion) {
|
|
27
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
28
|
+
method: 'POST',
|
|
29
|
+
url: '/connect/userinfo',
|
|
30
|
+
headers: {
|
|
31
|
+
'x-api-version': xApiVersion,
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UserInfoService = UserInfoService;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
7
|
+
import { request as __request } from '../core/request';
|
|
8
|
+
export class UserInfoService {
|
|
9
|
+
/**
|
|
10
|
+
* @param xApiVersion
|
|
11
|
+
* @returns any OK
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
public static getConnectUserinfo(
|
|
15
|
+
xApiVersion?: string,
|
|
16
|
+
): CancelablePromise<any> {
|
|
17
|
+
return __request(OpenAPI, {
|
|
18
|
+
method: 'GET',
|
|
19
|
+
url: '/connect/userinfo',
|
|
20
|
+
headers: {
|
|
21
|
+
'x-api-version': xApiVersion,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @param xApiVersion
|
|
27
|
+
* @returns any OK
|
|
28
|
+
* @throws ApiError
|
|
29
|
+
*/
|
|
30
|
+
public static postConnectUserinfo(
|
|
31
|
+
xApiVersion?: string,
|
|
32
|
+
): CancelablePromise<any> {
|
|
33
|
+
return __request(OpenAPI, {
|
|
34
|
+
method: 'POST',
|
|
35
|
+
url: '/connect/userinfo',
|
|
36
|
+
headers: {
|
|
37
|
+
'x-api-version': xApiVersion,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserInfoService = exports.ResourceService = exports.OAuthService = exports.CheckerService = exports.ApplicationsService = exports.AccountHolderCreateDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
3
|
+
exports.UserInfoService = exports.ResourceService = exports.OAuthService = exports.FenixAllianceAbsModulesWebService = exports.CheckerService = exports.ApplicationsService = exports.AccountHolderCreateDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
4
4
|
/* generated using openapi-typescript-codegen -- do no edit */
|
|
5
5
|
/* istanbul ignore file */
|
|
6
6
|
/* tslint:disable */
|
|
@@ -18,6 +18,8 @@ var ApplicationsService_1 = require("./services/ApplicationsService");
|
|
|
18
18
|
Object.defineProperty(exports, "ApplicationsService", { enumerable: true, get: function () { return ApplicationsService_1.ApplicationsService; } });
|
|
19
19
|
var CheckerService_1 = require("./services/CheckerService");
|
|
20
20
|
Object.defineProperty(exports, "CheckerService", { enumerable: true, get: function () { return CheckerService_1.CheckerService; } });
|
|
21
|
+
var FenixAllianceAbsModulesWebService_1 = require("./services/FenixAllianceAbsModulesWebService");
|
|
22
|
+
Object.defineProperty(exports, "FenixAllianceAbsModulesWebService", { enumerable: true, get: function () { return FenixAllianceAbsModulesWebService_1.FenixAllianceAbsModulesWebService; } });
|
|
21
23
|
var OAuthService_1 = require("./services/OAuthService");
|
|
22
24
|
Object.defineProperty(exports, "OAuthService", { enumerable: true, get: function () { return OAuthService_1.OAuthService; } });
|
|
23
25
|
var ResourceService_1 = require("./services/ResourceService");
|
|
@@ -7,12 +7,17 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
|
7
7
|
export { OpenAPI } from './core/OpenAPI';
|
|
8
8
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
9
9
|
|
|
10
|
+
export type { AccessTokenResponse } from './models/AccessTokenResponse';
|
|
10
11
|
export { AccountHolderCreateDto } from './models/AccountHolderCreateDto';
|
|
11
12
|
export type { AccountHolderCreateDtoEnvelope } from './models/AccountHolderCreateDtoEnvelope';
|
|
12
13
|
export type { ApiAuthorizationResult } from './models/ApiAuthorizationResult';
|
|
13
14
|
export type { ApiAuthorizationResultEnvelope } from './models/ApiAuthorizationResultEnvelope';
|
|
14
15
|
export type { EnrollmentId } from './models/EnrollmentId';
|
|
15
16
|
export type { ErrorEnvelope } from './models/ErrorEnvelope';
|
|
17
|
+
export type { ForgotPasswordRequest } from './models/ForgotPasswordRequest';
|
|
18
|
+
export type { HttpValidationProblemDetails } from './models/HttpValidationProblemDetails';
|
|
19
|
+
export type { InfoRequest } from './models/InfoRequest';
|
|
20
|
+
export type { InfoResponse } from './models/InfoResponse';
|
|
16
21
|
export type { JsonWebKey } from './models/JsonWebKey';
|
|
17
22
|
export type { JsonWebKeySet } from './models/JsonWebKeySet';
|
|
18
23
|
export type { JsonWebKeySetEnvelope } from './models/JsonWebKeySetEnvelope';
|
|
@@ -20,16 +25,24 @@ export type { JsonWebToken } from './models/JsonWebToken';
|
|
|
20
25
|
export type { JsonWebTokenEnvelope } from './models/JsonWebTokenEnvelope';
|
|
21
26
|
export type { JsonWebTokenHeader } from './models/JsonWebTokenHeader';
|
|
22
27
|
export type { JsonWebTokenPayload } from './models/JsonWebTokenPayload';
|
|
28
|
+
export type { LoginRequest } from './models/LoginRequest';
|
|
23
29
|
export type { OAuthTokenRequest } from './models/OAuthTokenRequest';
|
|
24
30
|
export type { OpenIdConfiguration } from './models/OpenIdConfiguration';
|
|
25
31
|
export type { OpenIdConfigurationEnvelope } from './models/OpenIdConfigurationEnvelope';
|
|
32
|
+
export type { RefreshRequest } from './models/RefreshRequest';
|
|
33
|
+
export type { RegisterRequest } from './models/RegisterRequest';
|
|
34
|
+
export type { ResendConfirmationEmailRequest } from './models/ResendConfirmationEmailRequest';
|
|
35
|
+
export type { ResetPasswordRequest } from './models/ResetPasswordRequest';
|
|
26
36
|
export type { SigninModel } from './models/SigninModel';
|
|
27
37
|
export type { StringListEnvelope } from './models/StringListEnvelope';
|
|
28
38
|
export type { TenantId } from './models/TenantId';
|
|
39
|
+
export type { TwoFactorRequest } from './models/TwoFactorRequest';
|
|
40
|
+
export type { TwoFactorResponse } from './models/TwoFactorResponse';
|
|
29
41
|
export type { UserId } from './models/UserId';
|
|
30
42
|
|
|
31
43
|
export { ApplicationsService } from './services/ApplicationsService';
|
|
32
44
|
export { CheckerService } from './services/CheckerService';
|
|
45
|
+
export { FenixAllianceAbsModulesWebService } from './services/FenixAllianceAbsModulesWebService';
|
|
33
46
|
export { OAuthService } from './services/OAuthService';
|
|
34
47
|
export { ResourceService } from './services/ResourceService';
|
|
35
48
|
export { UserInfoService } from './services/UserInfoService';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type AccessTokenResponse = {
|
|
6
|
+
readonly tokenType?: string | null;
|
|
7
|
+
accessToken: string | null;
|
|
8
|
+
expiresIn: number;
|
|
9
|
+
refreshToken: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type InfoRequest = {
|
|
6
|
+
newEmail?: string | null;
|
|
7
|
+
newPassword?: string | null;
|
|
8
|
+
oldPassword?: string | null;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type LoginRequest = {
|
|
6
|
+
email: string | null;
|
|
7
|
+
password: string | null;
|
|
8
|
+
twoFactorCode?: string | null;
|
|
9
|
+
twoFactorRecoveryCode?: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ResetPasswordRequest = {
|
|
6
|
+
email: string | null;
|
|
7
|
+
resetCode: string | null;
|
|
8
|
+
newPassword: string | null;
|
|
9
|
+
};
|
|
10
|
+
|