@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.
Files changed (122) hide show
  1. package/clients/authService/core/ApiError.js +20 -0
  2. package/clients/authService/core/ApiError.ts +25 -0
  3. package/clients/authService/core/ApiRequestOptions.js +2 -0
  4. package/clients/authService/core/ApiRequestOptions.ts +17 -0
  5. package/clients/authService/core/ApiResult.js +2 -0
  6. package/clients/authService/core/ApiResult.ts +11 -0
  7. package/clients/authService/core/CancelablePromise.js +104 -0
  8. package/clients/authService/core/CancelablePromise.ts +131 -0
  9. package/clients/authService/core/OpenAPI.js +14 -0
  10. package/clients/authService/core/OpenAPI.ts +32 -0
  11. package/clients/authService/core/request.js +294 -0
  12. package/clients/authService/core/request.ts +322 -0
  13. package/clients/authService/index.js +28 -0
  14. package/clients/authService/index.ts +48 -0
  15. package/clients/authService/models/AccessTokenResponse.js +2 -0
  16. package/clients/authService/models/AccessTokenResponse.ts +11 -0
  17. package/clients/authService/models/AccountHolderCreateDto.js +12 -0
  18. package/clients/authService/models/AccountHolderCreateDto.ts +41 -0
  19. package/clients/authService/models/AccountHolderCreateDtoEnvelope.js +2 -0
  20. package/clients/authService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
  21. package/clients/authService/models/ApiAuthorizationResult.js +2 -0
  22. package/clients/authService/models/ApiAuthorizationResult.ts +17 -0
  23. package/clients/authService/models/ApiAuthorizationResultEnvelope.js +2 -0
  24. package/clients/authService/models/ApiAuthorizationResultEnvelope.ts +14 -0
  25. package/clients/authService/models/EnrollmentId.js +2 -0
  26. package/clients/authService/models/EnrollmentId.ts +5 -0
  27. package/clients/authService/models/ErrorEnvelope.js +2 -0
  28. package/clients/authService/models/ErrorEnvelope.ts +12 -0
  29. package/clients/authService/models/ForgotPasswordRequest.js +2 -0
  30. package/clients/authService/models/ForgotPasswordRequest.ts +8 -0
  31. package/clients/authService/models/HttpValidationProblemDetails.js +2 -0
  32. package/clients/authService/models/HttpValidationProblemDetails.ts +5 -0
  33. package/clients/authService/models/InfoRequest.js +2 -0
  34. package/clients/authService/models/InfoRequest.ts +10 -0
  35. package/clients/authService/models/InfoResponse.js +2 -0
  36. package/clients/authService/models/InfoResponse.ts +9 -0
  37. package/clients/authService/models/JsonWebKey.js +2 -0
  38. package/clients/authService/models/JsonWebKey.ts +13 -0
  39. package/clients/authService/models/JsonWebKeySet.js +2 -0
  40. package/clients/authService/models/JsonWebKeySet.ts +9 -0
  41. package/clients/authService/models/JsonWebKeySetEnvelope.js +2 -0
  42. package/clients/authService/models/JsonWebKeySetEnvelope.ts +14 -0
  43. package/clients/authService/models/JsonWebToken.js +2 -0
  44. package/clients/authService/models/JsonWebToken.ts +15 -0
  45. package/clients/authService/models/JsonWebTokenEnvelope.js +2 -0
  46. package/clients/authService/models/JsonWebTokenEnvelope.ts +14 -0
  47. package/clients/authService/models/JsonWebTokenHeader.js +2 -0
  48. package/clients/authService/models/JsonWebTokenHeader.ts +11 -0
  49. package/clients/authService/models/JsonWebTokenPayload.js +2 -0
  50. package/clients/authService/models/JsonWebTokenPayload.ts +17 -0
  51. package/clients/authService/models/LoginRequest.js +2 -0
  52. package/clients/authService/models/LoginRequest.ts +11 -0
  53. package/clients/authService/models/OAuthTokenRequest.js +2 -0
  54. package/clients/authService/models/OAuthTokenRequest.ts +12 -0
  55. package/clients/authService/models/OpenIdConfiguration.js +2 -0
  56. package/clients/authService/models/OpenIdConfiguration.ts +19 -0
  57. package/clients/authService/models/OpenIdConfigurationEnvelope.js +2 -0
  58. package/clients/authService/models/OpenIdConfigurationEnvelope.ts +14 -0
  59. package/clients/authService/models/RefreshRequest.js +2 -0
  60. package/clients/authService/models/RefreshRequest.ts +8 -0
  61. package/clients/authService/models/RegisterRequest.js +2 -0
  62. package/clients/authService/models/RegisterRequest.ts +9 -0
  63. package/clients/authService/models/ResendConfirmationEmailRequest.js +2 -0
  64. package/clients/authService/models/ResendConfirmationEmailRequest.ts +8 -0
  65. package/clients/authService/models/ResetPasswordRequest.js +2 -0
  66. package/clients/authService/models/ResetPasswordRequest.ts +10 -0
  67. package/clients/authService/models/SigninModel.js +2 -0
  68. package/clients/authService/models/SigninModel.ts +9 -0
  69. package/clients/authService/models/StringListEnvelope.js +2 -0
  70. package/clients/authService/models/StringListEnvelope.ts +13 -0
  71. package/clients/authService/models/TenantId.js +2 -0
  72. package/clients/authService/models/TenantId.ts +5 -0
  73. package/clients/authService/models/TwoFactorRequest.js +2 -0
  74. package/clients/authService/models/TwoFactorRequest.ts +12 -0
  75. package/clients/authService/models/TwoFactorResponse.js +2 -0
  76. package/clients/authService/models/TwoFactorResponse.ts +12 -0
  77. package/clients/authService/models/UserId.js +2 -0
  78. package/clients/authService/models/UserId.ts +5 -0
  79. package/clients/authService/services/ApplicationsService.js +112 -0
  80. package/clients/authService/services/ApplicationsService.ts +132 -0
  81. package/clients/authService/services/AuthService.js +246 -0
  82. package/clients/authService/services/AuthService.ts +293 -0
  83. package/clients/authService/services/CheckerService.js +22 -0
  84. package/clients/authService/services/CheckerService.ts +25 -0
  85. package/clients/authService/services/OAuthService.js +152 -0
  86. package/clients/authService/services/OAuthService.ts +183 -0
  87. package/clients/authService/services/ResourceService.js +22 -0
  88. package/clients/authService/services/ResourceService.ts +25 -0
  89. package/clients/authService/services/UserInfoService.js +36 -0
  90. package/clients/authService/services/UserInfoService.ts +41 -0
  91. package/clients/identityService/index.js +3 -1
  92. package/clients/identityService/index.ts +13 -0
  93. package/clients/identityService/models/AccessTokenResponse.js +2 -0
  94. package/clients/identityService/models/AccessTokenResponse.ts +11 -0
  95. package/clients/identityService/models/ForgotPasswordRequest.js +2 -0
  96. package/clients/identityService/models/ForgotPasswordRequest.ts +8 -0
  97. package/clients/identityService/models/HttpValidationProblemDetails.js +2 -0
  98. package/clients/identityService/models/HttpValidationProblemDetails.ts +5 -0
  99. package/clients/identityService/models/InfoRequest.js +2 -0
  100. package/clients/identityService/models/InfoRequest.ts +10 -0
  101. package/clients/identityService/models/InfoResponse.js +2 -0
  102. package/clients/identityService/models/InfoResponse.ts +9 -0
  103. package/clients/identityService/models/LoginRequest.js +2 -0
  104. package/clients/identityService/models/LoginRequest.ts +11 -0
  105. package/clients/identityService/models/RefreshRequest.js +2 -0
  106. package/clients/identityService/models/RefreshRequest.ts +8 -0
  107. package/clients/identityService/models/RegisterRequest.js +2 -0
  108. package/clients/identityService/models/RegisterRequest.ts +9 -0
  109. package/clients/identityService/models/ResendConfirmationEmailRequest.js +2 -0
  110. package/clients/identityService/models/ResendConfirmationEmailRequest.ts +8 -0
  111. package/clients/identityService/models/ResetPasswordRequest.js +2 -0
  112. package/clients/identityService/models/ResetPasswordRequest.ts +10 -0
  113. package/clients/identityService/models/TwoFactorRequest.js +2 -0
  114. package/clients/identityService/models/TwoFactorRequest.ts +12 -0
  115. package/clients/identityService/models/TwoFactorResponse.js +2 -0
  116. package/clients/identityService/models/TwoFactorResponse.ts +12 -0
  117. package/clients/identityService/services/FenixAllianceAbsModulesWebService.js +246 -0
  118. package/clients/identityService/services/FenixAllianceAbsModulesWebService.ts +293 -0
  119. package/package.json +1 -1
  120. package/schemas/authService/schema.s.js +6 -0
  121. package/schemas/authService/schema.s.ts +894 -0
  122. package/schemas/identityService/schema.s.ts +382 -1
@@ -135,6 +135,303 @@ export interface paths {
135
135
  };
136
136
  };
137
137
  };
138
+ "/version": {
139
+ get: {
140
+ responses: {
141
+ /** @description OK */
142
+ 200: {
143
+ content: never;
144
+ };
145
+ };
146
+ };
147
+ };
148
+ "/health": {
149
+ get: {
150
+ responses: {
151
+ /** @description OK */
152
+ 200: {
153
+ content: never;
154
+ };
155
+ };
156
+ };
157
+ };
158
+ "/hello": {
159
+ get: {
160
+ responses: {
161
+ /** @description OK */
162
+ 200: {
163
+ content: never;
164
+ };
165
+ };
166
+ };
167
+ };
168
+ "/register": {
169
+ post: {
170
+ requestBody?: {
171
+ content: {
172
+ "application/json": components["schemas"]["RegisterRequest"];
173
+ };
174
+ };
175
+ responses: {
176
+ /** @description OK */
177
+ 200: {
178
+ content: never;
179
+ };
180
+ /** @description Bad Request */
181
+ 400: {
182
+ content: {
183
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
184
+ };
185
+ };
186
+ };
187
+ };
188
+ };
189
+ "/login": {
190
+ post: {
191
+ parameters: {
192
+ query?: {
193
+ useCookies?: boolean;
194
+ useSessionCookies?: boolean;
195
+ };
196
+ };
197
+ requestBody?: {
198
+ content: {
199
+ "application/json": components["schemas"]["LoginRequest"];
200
+ };
201
+ };
202
+ responses: {
203
+ /** @description OK */
204
+ 200: {
205
+ content: {
206
+ "application/json": components["schemas"]["AccessTokenResponse"];
207
+ };
208
+ };
209
+ };
210
+ };
211
+ };
212
+ "/refresh": {
213
+ post: {
214
+ requestBody?: {
215
+ content: {
216
+ "application/json": components["schemas"]["RefreshRequest"];
217
+ };
218
+ };
219
+ responses: {
220
+ /** @description OK */
221
+ 200: {
222
+ content: {
223
+ "application/json": components["schemas"]["AccessTokenResponse"];
224
+ };
225
+ };
226
+ };
227
+ };
228
+ };
229
+ "/confirmEmail": {
230
+ get: operations["MapIdentityApi-/confirmEmail"];
231
+ };
232
+ "/resendConfirmationEmail": {
233
+ post: {
234
+ requestBody?: {
235
+ content: {
236
+ "application/json": components["schemas"]["ResendConfirmationEmailRequest"];
237
+ };
238
+ };
239
+ responses: {
240
+ /** @description OK */
241
+ 200: {
242
+ content: never;
243
+ };
244
+ };
245
+ };
246
+ };
247
+ "/forgotPassword": {
248
+ post: {
249
+ requestBody?: {
250
+ content: {
251
+ "application/json": components["schemas"]["ForgotPasswordRequest"];
252
+ };
253
+ };
254
+ responses: {
255
+ /** @description OK */
256
+ 200: {
257
+ content: never;
258
+ };
259
+ /** @description Bad Request */
260
+ 400: {
261
+ content: {
262
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
263
+ };
264
+ };
265
+ };
266
+ };
267
+ };
268
+ "/resetPassword": {
269
+ post: {
270
+ requestBody?: {
271
+ content: {
272
+ "application/json": components["schemas"]["ResetPasswordRequest"];
273
+ };
274
+ };
275
+ responses: {
276
+ /** @description OK */
277
+ 200: {
278
+ content: never;
279
+ };
280
+ /** @description Bad Request */
281
+ 400: {
282
+ content: {
283
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
284
+ };
285
+ };
286
+ };
287
+ };
288
+ };
289
+ "/manage/2fa": {
290
+ post: {
291
+ requestBody?: {
292
+ content: {
293
+ "application/json": components["schemas"]["TwoFactorRequest"];
294
+ };
295
+ };
296
+ responses: {
297
+ /** @description OK */
298
+ 200: {
299
+ content: {
300
+ "application/json": components["schemas"]["TwoFactorResponse"];
301
+ };
302
+ };
303
+ /** @description Bad Request */
304
+ 400: {
305
+ content: {
306
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
307
+ };
308
+ };
309
+ /** @description Not Found */
310
+ 404: {
311
+ content: never;
312
+ };
313
+ };
314
+ };
315
+ };
316
+ "/manage/info": {
317
+ get: {
318
+ responses: {
319
+ /** @description OK */
320
+ 200: {
321
+ content: {
322
+ "application/json": components["schemas"]["InfoResponse"];
323
+ };
324
+ };
325
+ /** @description Bad Request */
326
+ 400: {
327
+ content: {
328
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
329
+ };
330
+ };
331
+ /** @description Not Found */
332
+ 404: {
333
+ content: never;
334
+ };
335
+ };
336
+ };
337
+ post: {
338
+ requestBody?: {
339
+ content: {
340
+ "application/json": components["schemas"]["InfoRequest"];
341
+ };
342
+ };
343
+ responses: {
344
+ /** @description OK */
345
+ 200: {
346
+ content: {
347
+ "application/json": components["schemas"]["InfoResponse"];
348
+ };
349
+ };
350
+ /** @description Bad Request */
351
+ 400: {
352
+ content: {
353
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
354
+ };
355
+ };
356
+ /** @description Not Found */
357
+ 404: {
358
+ content: never;
359
+ };
360
+ };
361
+ };
362
+ };
363
+ "/Account/PerformExternalLogin": {
364
+ post: {
365
+ requestBody?: {
366
+ content: {
367
+ "multipart/form-data": {
368
+ provider: string;
369
+ returnUrl: string;
370
+ };
371
+ "application/x-www-form-urlencoded": {
372
+ provider: string;
373
+ returnUrl: string;
374
+ };
375
+ };
376
+ };
377
+ responses: {
378
+ /** @description OK */
379
+ 200: {
380
+ content: never;
381
+ };
382
+ };
383
+ };
384
+ };
385
+ "/Account/Logout": {
386
+ post: {
387
+ requestBody?: {
388
+ content: {
389
+ "multipart/form-data": {
390
+ returnUrl: string;
391
+ };
392
+ "application/x-www-form-urlencoded": {
393
+ returnUrl: string;
394
+ };
395
+ };
396
+ };
397
+ responses: {
398
+ /** @description OK */
399
+ 200: {
400
+ content: never;
401
+ };
402
+ };
403
+ };
404
+ };
405
+ "/Account/Manage/LinkExternalLogin": {
406
+ post: {
407
+ requestBody?: {
408
+ content: {
409
+ "multipart/form-data": {
410
+ provider: string;
411
+ };
412
+ "application/x-www-form-urlencoded": {
413
+ provider: string;
414
+ };
415
+ };
416
+ };
417
+ responses: {
418
+ /** @description OK */
419
+ 200: {
420
+ content: never;
421
+ };
422
+ };
423
+ };
424
+ };
425
+ "/Account/Manage/DownloadPersonalData": {
426
+ post: {
427
+ responses: {
428
+ /** @description OK */
429
+ 200: {
430
+ content: never;
431
+ };
432
+ };
433
+ };
434
+ };
138
435
  "/api/v2/OAuth/WhoAmI": {
139
436
  get: {
140
437
  parameters: {
@@ -430,6 +727,13 @@ export type webhooks = Record<string, never>;
430
727
 
431
728
  export interface components {
432
729
  schemas: {
730
+ AccessTokenResponse: {
731
+ tokenType?: string | null;
732
+ accessToken: string | null;
733
+ /** Format: int64 */
734
+ expiresIn: number;
735
+ refreshToken: string | null;
736
+ };
433
737
  AccountHolderCreateDto: {
434
738
  /** Format: uuid */
435
739
  id?: string;
@@ -502,6 +806,30 @@ export interface components {
502
806
  timestamp?: string;
503
807
  activityId?: string | null;
504
808
  };
809
+ ForgotPasswordRequest: {
810
+ email: string | null;
811
+ };
812
+ HttpValidationProblemDetails: {
813
+ type?: string | null;
814
+ title?: string | null;
815
+ /** Format: int32 */
816
+ status?: number | null;
817
+ detail?: string | null;
818
+ instance?: string | null;
819
+ errors?: {
820
+ [key: string]: string[];
821
+ } | null;
822
+ [key: string]: unknown;
823
+ };
824
+ InfoRequest: {
825
+ newEmail?: string | null;
826
+ newPassword?: string | null;
827
+ oldPassword?: string | null;
828
+ };
829
+ InfoResponse: {
830
+ email: string | null;
831
+ isEmailConfirmed: boolean;
832
+ };
505
833
  JsonWebKey: {
506
834
  kid?: string | null;
507
835
  /** Format: int64 */
@@ -562,6 +890,12 @@ export interface components {
562
890
  exp?: number;
563
891
  scopes?: string[] | null;
564
892
  };
893
+ LoginRequest: {
894
+ email: string | null;
895
+ password: string | null;
896
+ twoFactorCode?: string | null;
897
+ twoFactorRecoveryCode?: string | null;
898
+ };
565
899
  OAuthTokenRequest: {
566
900
  client_id?: string | null;
567
901
  client_secret?: string | null;
@@ -592,6 +926,21 @@ export interface components {
592
926
  activityId?: string | null;
593
927
  result?: components["schemas"]["OpenIdConfiguration"];
594
928
  };
929
+ RefreshRequest: {
930
+ refreshToken: string | null;
931
+ };
932
+ RegisterRequest: {
933
+ email: string | null;
934
+ password: string | null;
935
+ };
936
+ ResendConfirmationEmailRequest: {
937
+ email: string | null;
938
+ };
939
+ ResetPasswordRequest: {
940
+ email: string | null;
941
+ resetCode: string | null;
942
+ newPassword: string | null;
943
+ };
595
944
  SigninModel: {
596
945
  email?: string | null;
597
946
  password?: string | null;
@@ -606,6 +955,21 @@ export interface components {
606
955
  result?: string[] | null;
607
956
  };
608
957
  TenantId: Record<string, never>;
958
+ TwoFactorRequest: {
959
+ enable?: boolean | null;
960
+ twoFactorCode?: string | null;
961
+ resetSharedKey?: boolean;
962
+ resetRecoveryCodes?: boolean;
963
+ forgetMachine?: boolean;
964
+ };
965
+ TwoFactorResponse: {
966
+ sharedKey: string | null;
967
+ /** Format: int32 */
968
+ recoveryCodesLeft: number;
969
+ recoveryCodes?: string[] | null;
970
+ isTwoFactorEnabled: boolean;
971
+ isMachineRemembered: boolean;
972
+ };
609
973
  UserId: Record<string, never>;
610
974
  };
611
975
  responses: never;
@@ -619,4 +983,21 @@ export type $defs = Record<string, never>;
619
983
 
620
984
  export type external = Record<string, never>;
621
985
 
622
- export type operations = Record<string, never>;
986
+ export interface operations {
987
+
988
+ "MapIdentityApi-/confirmEmail": {
989
+ parameters: {
990
+ query?: {
991
+ userId?: string;
992
+ code?: string;
993
+ changedEmail?: string;
994
+ };
995
+ };
996
+ responses: {
997
+ /** @description OK */
998
+ 200: {
999
+ content: never;
1000
+ };
1001
+ };
1002
+ };
1003
+ }