@fenixalliance/abs-api-client 1.0.12 → 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 (145) hide show
  1. package/app/index.js +3 -3
  2. package/app/index.ts +1 -1
  3. package/clients/authService/core/ApiError.js +20 -0
  4. package/clients/authService/core/ApiError.ts +25 -0
  5. package/clients/authService/core/ApiRequestOptions.js +2 -0
  6. package/clients/authService/core/ApiRequestOptions.ts +17 -0
  7. package/clients/authService/core/ApiResult.js +2 -0
  8. package/clients/authService/core/ApiResult.ts +11 -0
  9. package/clients/authService/core/CancelablePromise.js +104 -0
  10. package/clients/authService/core/CancelablePromise.ts +131 -0
  11. package/clients/authService/core/OpenAPI.js +14 -0
  12. package/clients/authService/core/OpenAPI.ts +32 -0
  13. package/clients/authService/core/request.js +294 -0
  14. package/clients/authService/core/request.ts +322 -0
  15. package/clients/authService/index.js +28 -0
  16. package/clients/authService/index.ts +48 -0
  17. package/clients/authService/models/AccessTokenResponse.js +2 -0
  18. package/clients/authService/models/AccessTokenResponse.ts +11 -0
  19. package/clients/authService/models/AccountHolderCreateDto.js +12 -0
  20. package/clients/authService/models/AccountHolderCreateDto.ts +41 -0
  21. package/clients/authService/models/AccountHolderCreateDtoEnvelope.js +2 -0
  22. package/clients/authService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
  23. package/clients/authService/models/ApiAuthorizationResult.js +2 -0
  24. package/clients/authService/models/ApiAuthorizationResult.ts +17 -0
  25. package/clients/authService/models/ApiAuthorizationResultEnvelope.js +2 -0
  26. package/clients/authService/models/ApiAuthorizationResultEnvelope.ts +14 -0
  27. package/clients/authService/models/EnrollmentId.js +2 -0
  28. package/clients/authService/models/EnrollmentId.ts +5 -0
  29. package/clients/authService/models/ErrorEnvelope.js +2 -0
  30. package/clients/authService/models/ErrorEnvelope.ts +12 -0
  31. package/clients/authService/models/ForgotPasswordRequest.js +2 -0
  32. package/clients/authService/models/ForgotPasswordRequest.ts +8 -0
  33. package/clients/authService/models/HttpValidationProblemDetails.js +2 -0
  34. package/clients/authService/models/HttpValidationProblemDetails.ts +5 -0
  35. package/clients/authService/models/InfoRequest.js +2 -0
  36. package/clients/authService/models/InfoRequest.ts +10 -0
  37. package/clients/authService/models/InfoResponse.js +2 -0
  38. package/clients/authService/models/InfoResponse.ts +9 -0
  39. package/clients/authService/models/JsonWebKey.js +2 -0
  40. package/clients/authService/models/JsonWebKey.ts +13 -0
  41. package/clients/authService/models/JsonWebKeySet.js +2 -0
  42. package/clients/authService/models/JsonWebKeySet.ts +9 -0
  43. package/clients/authService/models/JsonWebKeySetEnvelope.js +2 -0
  44. package/clients/authService/models/JsonWebKeySetEnvelope.ts +14 -0
  45. package/clients/authService/models/JsonWebToken.js +2 -0
  46. package/clients/authService/models/JsonWebToken.ts +15 -0
  47. package/clients/authService/models/JsonWebTokenEnvelope.js +2 -0
  48. package/clients/authService/models/JsonWebTokenEnvelope.ts +14 -0
  49. package/clients/authService/models/JsonWebTokenHeader.js +2 -0
  50. package/clients/authService/models/JsonWebTokenHeader.ts +11 -0
  51. package/clients/authService/models/JsonWebTokenPayload.js +2 -0
  52. package/clients/authService/models/JsonWebTokenPayload.ts +17 -0
  53. package/clients/authService/models/LoginRequest.js +2 -0
  54. package/clients/authService/models/LoginRequest.ts +11 -0
  55. package/clients/authService/models/OAuthTokenRequest.js +2 -0
  56. package/clients/authService/models/OAuthTokenRequest.ts +12 -0
  57. package/clients/authService/models/OpenIdConfiguration.js +2 -0
  58. package/clients/authService/models/OpenIdConfiguration.ts +19 -0
  59. package/clients/authService/models/OpenIdConfigurationEnvelope.js +2 -0
  60. package/clients/authService/models/OpenIdConfigurationEnvelope.ts +14 -0
  61. package/clients/authService/models/RefreshRequest.js +2 -0
  62. package/clients/authService/models/RefreshRequest.ts +8 -0
  63. package/clients/authService/models/RegisterRequest.js +2 -0
  64. package/clients/authService/models/RegisterRequest.ts +9 -0
  65. package/clients/authService/models/ResendConfirmationEmailRequest.js +2 -0
  66. package/clients/authService/models/ResendConfirmationEmailRequest.ts +8 -0
  67. package/clients/authService/models/ResetPasswordRequest.js +2 -0
  68. package/clients/authService/models/ResetPasswordRequest.ts +10 -0
  69. package/clients/authService/models/SigninModel.js +2 -0
  70. package/clients/authService/models/SigninModel.ts +9 -0
  71. package/clients/authService/models/StringListEnvelope.js +2 -0
  72. package/clients/authService/models/StringListEnvelope.ts +13 -0
  73. package/clients/authService/models/TenantId.js +2 -0
  74. package/clients/authService/models/TenantId.ts +5 -0
  75. package/clients/authService/models/TwoFactorRequest.js +2 -0
  76. package/clients/authService/models/TwoFactorRequest.ts +12 -0
  77. package/clients/authService/models/TwoFactorResponse.js +2 -0
  78. package/clients/authService/models/TwoFactorResponse.ts +12 -0
  79. package/clients/authService/models/UserId.js +2 -0
  80. package/clients/authService/models/UserId.ts +5 -0
  81. package/clients/authService/services/ApplicationsService.js +112 -0
  82. package/clients/authService/services/ApplicationsService.ts +132 -0
  83. package/clients/authService/services/AuthService.js +246 -0
  84. package/clients/authService/services/AuthService.ts +293 -0
  85. package/clients/authService/services/CheckerService.js +22 -0
  86. package/clients/authService/services/CheckerService.ts +25 -0
  87. package/clients/{holderService/services/TenantsService.js → authService/services/OAuthService.js} +52 -51
  88. package/clients/authService/services/OAuthService.ts +183 -0
  89. package/clients/authService/services/ResourceService.js +22 -0
  90. package/clients/authService/services/ResourceService.ts +25 -0
  91. package/clients/authService/services/UserInfoService.js +36 -0
  92. package/clients/authService/services/UserInfoService.ts +41 -0
  93. package/clients/cartService/index.js +3 -7
  94. package/clients/cartService/index.ts +1 -3
  95. package/clients/cartService/services/{CartService.js → CartsService.js} +3 -3
  96. package/clients/cartService/services/{CartService.ts → CartsService.ts} +1 -1
  97. package/clients/cartService/services/WishListsService.js +0 -321
  98. package/clients/cartService/services/WishListsService.ts +0 -373
  99. package/clients/holderService/index.js +1 -5
  100. package/clients/holderService/index.ts +0 -2
  101. package/clients/holderService/services/UserService.js +143 -0
  102. package/clients/holderService/services/UserService.ts +166 -0
  103. package/clients/identityService/index.js +3 -1
  104. package/clients/identityService/index.ts +13 -0
  105. package/clients/identityService/models/AccessTokenResponse.js +2 -0
  106. package/clients/identityService/models/AccessTokenResponse.ts +11 -0
  107. package/clients/identityService/models/ForgotPasswordRequest.js +2 -0
  108. package/clients/identityService/models/ForgotPasswordRequest.ts +8 -0
  109. package/clients/identityService/models/HttpValidationProblemDetails.js +2 -0
  110. package/clients/identityService/models/HttpValidationProblemDetails.ts +5 -0
  111. package/clients/identityService/models/InfoRequest.js +2 -0
  112. package/clients/identityService/models/InfoRequest.ts +10 -0
  113. package/clients/identityService/models/InfoResponse.js +2 -0
  114. package/clients/identityService/models/InfoResponse.ts +9 -0
  115. package/clients/identityService/models/LoginRequest.js +2 -0
  116. package/clients/identityService/models/LoginRequest.ts +11 -0
  117. package/clients/identityService/models/RefreshRequest.js +2 -0
  118. package/clients/identityService/models/RefreshRequest.ts +8 -0
  119. package/clients/identityService/models/RegisterRequest.js +2 -0
  120. package/clients/identityService/models/RegisterRequest.ts +9 -0
  121. package/clients/identityService/models/ResendConfirmationEmailRequest.js +2 -0
  122. package/clients/identityService/models/ResendConfirmationEmailRequest.ts +8 -0
  123. package/clients/identityService/models/ResetPasswordRequest.js +2 -0
  124. package/clients/identityService/models/ResetPasswordRequest.ts +10 -0
  125. package/clients/identityService/models/TwoFactorRequest.js +2 -0
  126. package/clients/identityService/models/TwoFactorRequest.ts +12 -0
  127. package/clients/identityService/models/TwoFactorResponse.js +2 -0
  128. package/clients/identityService/models/TwoFactorResponse.ts +12 -0
  129. package/clients/identityService/services/FenixAllianceAbsModulesWebService.js +246 -0
  130. package/clients/identityService/services/FenixAllianceAbsModulesWebService.ts +293 -0
  131. package/clients/tenantService/services/TenantsService.js +33 -57
  132. package/clients/tenantService/services/TenantsService.ts +33 -65
  133. package/package.json +1 -1
  134. package/schemas/authService/schema.s.js +6 -0
  135. package/schemas/authService/schema.s.ts +894 -0
  136. package/schemas/identityService/schema.s.ts +382 -1
  137. package/schemas/tenantService/schema.s.ts +144 -70
  138. package/tsconfig.json +1 -1
  139. package/clients/cartService/services/CartLinesService.js +0 -173
  140. package/clients/cartService/services/CartLinesService.ts +0 -203
  141. package/clients/cartService/services/ECommerceService.js +0 -1104
  142. package/clients/cartService/services/ECommerceService.ts +0 -1289
  143. package/clients/holderService/services/IdentityService.js +0 -364
  144. package/clients/holderService/services/IdentityService.ts +0 -421
  145. package/clients/holderService/services/TenantsService.ts +0 -176
@@ -0,0 +1,894 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+
7
+ export interface paths {
8
+ "/api/v2/Auth/Checker/IsAuthenticated": {
9
+ get: {
10
+ parameters: {
11
+ query?: {
12
+ "api-version"?: string;
13
+ };
14
+ header?: {
15
+ "x-api-version"?: string;
16
+ };
17
+ };
18
+ responses: {
19
+ /** @description OK */
20
+ 200: {
21
+ content: {
22
+ "application/json": boolean;
23
+ "application/xml": boolean;
24
+ };
25
+ };
26
+ };
27
+ };
28
+ };
29
+ "/version": {
30
+ get: {
31
+ responses: {
32
+ /** @description OK */
33
+ 200: {
34
+ content: never;
35
+ };
36
+ };
37
+ };
38
+ };
39
+ "/health": {
40
+ get: {
41
+ responses: {
42
+ /** @description OK */
43
+ 200: {
44
+ content: never;
45
+ };
46
+ };
47
+ };
48
+ };
49
+ "/hello": {
50
+ get: {
51
+ responses: {
52
+ /** @description OK */
53
+ 200: {
54
+ content: never;
55
+ };
56
+ };
57
+ };
58
+ };
59
+ "/register": {
60
+ post: {
61
+ requestBody?: {
62
+ content: {
63
+ "application/json": components["schemas"]["RegisterRequest"];
64
+ };
65
+ };
66
+ responses: {
67
+ /** @description OK */
68
+ 200: {
69
+ content: never;
70
+ };
71
+ /** @description Bad Request */
72
+ 400: {
73
+ content: {
74
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
75
+ };
76
+ };
77
+ };
78
+ };
79
+ };
80
+ "/login": {
81
+ post: {
82
+ parameters: {
83
+ query?: {
84
+ useCookies?: boolean;
85
+ useSessionCookies?: boolean;
86
+ };
87
+ };
88
+ requestBody?: {
89
+ content: {
90
+ "application/json": components["schemas"]["LoginRequest"];
91
+ };
92
+ };
93
+ responses: {
94
+ /** @description OK */
95
+ 200: {
96
+ content: {
97
+ "application/json": components["schemas"]["AccessTokenResponse"];
98
+ };
99
+ };
100
+ };
101
+ };
102
+ };
103
+ "/refresh": {
104
+ post: {
105
+ requestBody?: {
106
+ content: {
107
+ "application/json": components["schemas"]["RefreshRequest"];
108
+ };
109
+ };
110
+ responses: {
111
+ /** @description OK */
112
+ 200: {
113
+ content: {
114
+ "application/json": components["schemas"]["AccessTokenResponse"];
115
+ };
116
+ };
117
+ };
118
+ };
119
+ };
120
+ "/confirmEmail": {
121
+ get: operations["MapIdentityApi-/confirmEmail"];
122
+ };
123
+ "/resendConfirmationEmail": {
124
+ post: {
125
+ requestBody?: {
126
+ content: {
127
+ "application/json": components["schemas"]["ResendConfirmationEmailRequest"];
128
+ };
129
+ };
130
+ responses: {
131
+ /** @description OK */
132
+ 200: {
133
+ content: never;
134
+ };
135
+ };
136
+ };
137
+ };
138
+ "/forgotPassword": {
139
+ post: {
140
+ requestBody?: {
141
+ content: {
142
+ "application/json": components["schemas"]["ForgotPasswordRequest"];
143
+ };
144
+ };
145
+ responses: {
146
+ /** @description OK */
147
+ 200: {
148
+ content: never;
149
+ };
150
+ /** @description Bad Request */
151
+ 400: {
152
+ content: {
153
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
154
+ };
155
+ };
156
+ };
157
+ };
158
+ };
159
+ "/resetPassword": {
160
+ post: {
161
+ requestBody?: {
162
+ content: {
163
+ "application/json": components["schemas"]["ResetPasswordRequest"];
164
+ };
165
+ };
166
+ responses: {
167
+ /** @description OK */
168
+ 200: {
169
+ content: never;
170
+ };
171
+ /** @description Bad Request */
172
+ 400: {
173
+ content: {
174
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
175
+ };
176
+ };
177
+ };
178
+ };
179
+ };
180
+ "/manage/2fa": {
181
+ post: {
182
+ requestBody?: {
183
+ content: {
184
+ "application/json": components["schemas"]["TwoFactorRequest"];
185
+ };
186
+ };
187
+ responses: {
188
+ /** @description OK */
189
+ 200: {
190
+ content: {
191
+ "application/json": components["schemas"]["TwoFactorResponse"];
192
+ };
193
+ };
194
+ /** @description Bad Request */
195
+ 400: {
196
+ content: {
197
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
198
+ };
199
+ };
200
+ /** @description Not Found */
201
+ 404: {
202
+ content: never;
203
+ };
204
+ };
205
+ };
206
+ };
207
+ "/manage/info": {
208
+ get: {
209
+ responses: {
210
+ /** @description OK */
211
+ 200: {
212
+ content: {
213
+ "application/json": components["schemas"]["InfoResponse"];
214
+ };
215
+ };
216
+ /** @description Bad Request */
217
+ 400: {
218
+ content: {
219
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
220
+ };
221
+ };
222
+ /** @description Not Found */
223
+ 404: {
224
+ content: never;
225
+ };
226
+ };
227
+ };
228
+ post: {
229
+ requestBody?: {
230
+ content: {
231
+ "application/json": components["schemas"]["InfoRequest"];
232
+ };
233
+ };
234
+ responses: {
235
+ /** @description OK */
236
+ 200: {
237
+ content: {
238
+ "application/json": components["schemas"]["InfoResponse"];
239
+ };
240
+ };
241
+ /** @description Bad Request */
242
+ 400: {
243
+ content: {
244
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
245
+ };
246
+ };
247
+ /** @description Not Found */
248
+ 404: {
249
+ content: never;
250
+ };
251
+ };
252
+ };
253
+ };
254
+ "/Account/PerformExternalLogin": {
255
+ post: {
256
+ requestBody?: {
257
+ content: {
258
+ "multipart/form-data": {
259
+ provider: string;
260
+ returnUrl: string;
261
+ };
262
+ "application/x-www-form-urlencoded": {
263
+ provider: string;
264
+ returnUrl: string;
265
+ };
266
+ };
267
+ };
268
+ responses: {
269
+ /** @description OK */
270
+ 200: {
271
+ content: never;
272
+ };
273
+ };
274
+ };
275
+ };
276
+ "/Account/Logout": {
277
+ post: {
278
+ requestBody?: {
279
+ content: {
280
+ "multipart/form-data": {
281
+ returnUrl: string;
282
+ };
283
+ "application/x-www-form-urlencoded": {
284
+ returnUrl: string;
285
+ };
286
+ };
287
+ };
288
+ responses: {
289
+ /** @description OK */
290
+ 200: {
291
+ content: never;
292
+ };
293
+ };
294
+ };
295
+ };
296
+ "/Account/Manage/LinkExternalLogin": {
297
+ post: {
298
+ requestBody?: {
299
+ content: {
300
+ "multipart/form-data": {
301
+ provider: string;
302
+ };
303
+ "application/x-www-form-urlencoded": {
304
+ provider: string;
305
+ };
306
+ };
307
+ };
308
+ responses: {
309
+ /** @description OK */
310
+ 200: {
311
+ content: never;
312
+ };
313
+ };
314
+ };
315
+ };
316
+ "/Account/Manage/DownloadPersonalData": {
317
+ post: {
318
+ responses: {
319
+ /** @description OK */
320
+ 200: {
321
+ content: never;
322
+ };
323
+ };
324
+ };
325
+ };
326
+ "/api/v2/OAuth/WhoAmI": {
327
+ get: {
328
+ parameters: {
329
+ query?: {
330
+ tenantId?: string;
331
+ "api-version"?: string;
332
+ };
333
+ header?: {
334
+ "x-api-version"?: string;
335
+ };
336
+ };
337
+ responses: {
338
+ /** @description OK */
339
+ 200: {
340
+ content: {
341
+ "application/json": components["schemas"]["ApiAuthorizationResultEnvelope"];
342
+ "application/xml": components["schemas"]["ApiAuthorizationResultEnvelope"];
343
+ };
344
+ };
345
+ /** @description Unauthorized */
346
+ 401: {
347
+ content: {
348
+ "application/json": components["schemas"]["ErrorEnvelope"];
349
+ "application/xml": components["schemas"]["ErrorEnvelope"];
350
+ };
351
+ };
352
+ /** @description Forbidden */
353
+ 403: {
354
+ content: {
355
+ "application/json": components["schemas"]["ErrorEnvelope"];
356
+ "application/xml": components["schemas"]["ErrorEnvelope"];
357
+ };
358
+ };
359
+ };
360
+ };
361
+ };
362
+ "/api/v2/OAuth/Token": {
363
+ post: {
364
+ parameters: {
365
+ query?: {
366
+ "api-version"?: string;
367
+ };
368
+ header?: {
369
+ "x-api-version"?: string;
370
+ };
371
+ };
372
+ requestBody?: {
373
+ content: {
374
+ "application/json": components["schemas"]["OAuthTokenRequest"];
375
+ "application/xml": components["schemas"]["OAuthTokenRequest"];
376
+ };
377
+ };
378
+ responses: {
379
+ /** @description OK */
380
+ 200: {
381
+ content: {
382
+ "application/json": components["schemas"]["JsonWebTokenEnvelope"];
383
+ "application/xml": components["schemas"]["JsonWebTokenEnvelope"];
384
+ };
385
+ };
386
+ /** @description Unauthorized */
387
+ 401: {
388
+ content: {
389
+ "application/json": components["schemas"]["ErrorEnvelope"];
390
+ "application/xml": components["schemas"]["ErrorEnvelope"];
391
+ };
392
+ };
393
+ /** @description Forbidden */
394
+ 403: {
395
+ content: {
396
+ "application/json": components["schemas"]["ErrorEnvelope"];
397
+ "application/xml": components["schemas"]["ErrorEnvelope"];
398
+ };
399
+ };
400
+ };
401
+ };
402
+ };
403
+ "/api/v2/OAuth/Permissions": {
404
+ get: {
405
+ parameters: {
406
+ query: {
407
+ tenantId: string;
408
+ userId?: string;
409
+ "api-version"?: string;
410
+ };
411
+ header?: {
412
+ "x-api-version"?: string;
413
+ };
414
+ };
415
+ responses: {
416
+ /** @description OK */
417
+ 200: {
418
+ content: {
419
+ "application/json": components["schemas"]["StringListEnvelope"];
420
+ "application/xml": components["schemas"]["StringListEnvelope"];
421
+ };
422
+ };
423
+ /** @description Unauthorized */
424
+ 401: {
425
+ content: {
426
+ "application/json": components["schemas"]["ErrorEnvelope"];
427
+ "application/xml": components["schemas"]["ErrorEnvelope"];
428
+ };
429
+ };
430
+ /** @description Forbidden */
431
+ 403: {
432
+ content: {
433
+ "application/json": components["schemas"]["ErrorEnvelope"];
434
+ "application/xml": components["schemas"]["ErrorEnvelope"];
435
+ };
436
+ };
437
+ };
438
+ };
439
+ };
440
+ "/api/v2/OAuth/SignIn": {
441
+ get: {
442
+ parameters: {
443
+ query?: {
444
+ "api-version"?: string;
445
+ };
446
+ header?: {
447
+ "x-api-version"?: string;
448
+ };
449
+ };
450
+ responses: {
451
+ /** @description OK */
452
+ 200: {
453
+ content: {
454
+ "application/json": components["schemas"]["AccountHolderCreateDtoEnvelope"];
455
+ "application/xml": components["schemas"]["AccountHolderCreateDtoEnvelope"];
456
+ };
457
+ };
458
+ /** @description Bad Request */
459
+ 400: {
460
+ content: {
461
+ "application/json": components["schemas"]["ErrorEnvelope"];
462
+ "application/xml": components["schemas"]["ErrorEnvelope"];
463
+ };
464
+ };
465
+ /** @description Unauthorized */
466
+ 401: {
467
+ content: {
468
+ "application/json": components["schemas"]["ErrorEnvelope"];
469
+ "application/xml": components["schemas"]["ErrorEnvelope"];
470
+ };
471
+ };
472
+ };
473
+ };
474
+ post: {
475
+ parameters: {
476
+ query?: {
477
+ "api-version"?: string;
478
+ };
479
+ header?: {
480
+ "x-api-version"?: string;
481
+ };
482
+ };
483
+ requestBody?: {
484
+ content: {
485
+ "application/json": components["schemas"]["SigninModel"];
486
+ "application/xml": components["schemas"]["SigninModel"];
487
+ };
488
+ };
489
+ responses: {
490
+ /** @description OK */
491
+ 200: {
492
+ content: {
493
+ "application/json": components["schemas"]["JsonWebTokenEnvelope"];
494
+ "application/xml": components["schemas"]["JsonWebTokenEnvelope"];
495
+ };
496
+ };
497
+ /** @description Bad Request */
498
+ 400: {
499
+ content: {
500
+ "application/json": components["schemas"]["ErrorEnvelope"];
501
+ "application/xml": components["schemas"]["ErrorEnvelope"];
502
+ };
503
+ };
504
+ /** @description Unauthorized */
505
+ 401: {
506
+ content: {
507
+ "application/json": components["schemas"]["ErrorEnvelope"];
508
+ "application/xml": components["schemas"]["ErrorEnvelope"];
509
+ };
510
+ };
511
+ };
512
+ };
513
+ };
514
+ "/api/v2/OAuth/{applicationId}/Keys": {
515
+ get: {
516
+ parameters: {
517
+ query?: {
518
+ "api-version"?: string;
519
+ };
520
+ header?: {
521
+ "x-api-version"?: string;
522
+ };
523
+ path: {
524
+ applicationId: string;
525
+ };
526
+ };
527
+ responses: {
528
+ /** @description OK */
529
+ 200: {
530
+ content: {
531
+ "application/json": components["schemas"]["JsonWebKeySetEnvelope"];
532
+ "application/xml": components["schemas"]["JsonWebKeySetEnvelope"];
533
+ };
534
+ };
535
+ };
536
+ };
537
+ };
538
+ "/api/v2/OAuth/{tenantId}/{applicationId}/.Well-Known/OpenId-Configuration": {
539
+ get: {
540
+ parameters: {
541
+ query?: {
542
+ "api-version"?: string;
543
+ };
544
+ header?: {
545
+ "x-api-version"?: string;
546
+ };
547
+ path: {
548
+ tenantId: string;
549
+ applicationId: string;
550
+ };
551
+ };
552
+ responses: {
553
+ /** @description OK */
554
+ 200: {
555
+ content: {
556
+ "application/json": components["schemas"]["OpenIdConfigurationEnvelope"];
557
+ "application/xml": components["schemas"]["OpenIdConfigurationEnvelope"];
558
+ };
559
+ };
560
+ };
561
+ };
562
+ };
563
+ "/api/v2/IdentityService/Resource/message": {
564
+ get: {
565
+ parameters: {
566
+ query?: {
567
+ "api-version"?: string;
568
+ };
569
+ header?: {
570
+ "x-api-version"?: string;
571
+ };
572
+ };
573
+ responses: {
574
+ /** @description OK */
575
+ 200: {
576
+ content: never;
577
+ };
578
+ };
579
+ };
580
+ };
581
+ "/connect/userinfo": {
582
+ get: {
583
+ parameters: {
584
+ query?: {
585
+ "api-version"?: string;
586
+ };
587
+ header?: {
588
+ "x-api-version"?: string;
589
+ };
590
+ };
591
+ responses: {
592
+ /** @description OK */
593
+ 200: {
594
+ content: never;
595
+ };
596
+ };
597
+ };
598
+ post: {
599
+ parameters: {
600
+ query?: {
601
+ "api-version"?: string;
602
+ };
603
+ header?: {
604
+ "x-api-version"?: string;
605
+ };
606
+ };
607
+ responses: {
608
+ /** @description OK */
609
+ 200: {
610
+ content: never;
611
+ };
612
+ };
613
+ };
614
+ };
615
+ }
616
+
617
+ export type webhooks = Record<string, never>;
618
+
619
+ export interface components {
620
+ schemas: {
621
+ AccessTokenResponse: {
622
+ tokenType?: string | null;
623
+ accessToken: string | null;
624
+ /** Format: int64 */
625
+ expiresIn: number;
626
+ refreshToken: string | null;
627
+ };
628
+ AccountHolderCreateDto: {
629
+ /** Format: uuid */
630
+ id?: string;
631
+ /** Format: date-time */
632
+ timestamp?: string;
633
+ qualifiedName?: string | null;
634
+ /** Format: date-time */
635
+ birthday?: string;
636
+ firstName?: string | null;
637
+ lastName?: string | null;
638
+ publicName?: string | null;
639
+ idProvider?: string | null;
640
+ /**
641
+ * Format: int32
642
+ * @enum {integer}
643
+ */
644
+ gender?: 0 | 1 | 2;
645
+ email?: string | null;
646
+ about?: string | null;
647
+ status?: string | null;
648
+ jobTitle?: string | null;
649
+ gitHubUrl?: string | null;
650
+ websiteUrl?: string | null;
651
+ twitterUrl?: string | null;
652
+ facebookUrl?: string | null;
653
+ youTubeUrl?: string | null;
654
+ linkedInUrl?: string | null;
655
+ instagramUrl?: string | null;
656
+ timezoneId?: string | null;
657
+ languageId?: string | null;
658
+ currencyId?: string | null;
659
+ countryId?: string | null;
660
+ stateId?: string | null;
661
+ cityId?: string | null;
662
+ password?: string | null;
663
+ };
664
+ AccountHolderCreateDtoEnvelope: {
665
+ isSuccess?: boolean;
666
+ errorMessage?: string | null;
667
+ correlationId?: string | null;
668
+ /** Format: date-time */
669
+ timestamp?: string;
670
+ activityId?: string | null;
671
+ result?: components["schemas"]["AccountHolderCreateDto"];
672
+ };
673
+ ApiAuthorizationResult: {
674
+ userId?: components["schemas"]["UserId"];
675
+ tenantId?: components["schemas"]["TenantId"];
676
+ enrollmentId?: components["schemas"]["EnrollmentId"];
677
+ correlationId?: string | null;
678
+ scopes?: string[] | null;
679
+ error?: string | null;
680
+ applicationId?: string | null;
681
+ };
682
+ ApiAuthorizationResultEnvelope: {
683
+ isSuccess?: boolean;
684
+ errorMessage?: string | null;
685
+ correlationId?: string | null;
686
+ /** Format: date-time */
687
+ timestamp?: string;
688
+ activityId?: string | null;
689
+ result?: components["schemas"]["ApiAuthorizationResult"];
690
+ };
691
+ EnrollmentId: Record<string, never>;
692
+ ErrorEnvelope: {
693
+ isSuccess?: boolean;
694
+ errorMessage?: string | null;
695
+ correlationId?: string | null;
696
+ /** Format: date-time */
697
+ timestamp?: string;
698
+ activityId?: string | null;
699
+ };
700
+ ForgotPasswordRequest: {
701
+ email: string | null;
702
+ };
703
+ HttpValidationProblemDetails: {
704
+ type?: string | null;
705
+ title?: string | null;
706
+ /** Format: int32 */
707
+ status?: number | null;
708
+ detail?: string | null;
709
+ instance?: string | null;
710
+ errors?: {
711
+ [key: string]: string[];
712
+ } | null;
713
+ [key: string]: unknown;
714
+ };
715
+ InfoRequest: {
716
+ newEmail?: string | null;
717
+ newPassword?: string | null;
718
+ oldPassword?: string | null;
719
+ };
720
+ InfoResponse: {
721
+ email: string | null;
722
+ isEmailConfirmed: boolean;
723
+ };
724
+ JsonWebKey: {
725
+ kid?: string | null;
726
+ /** Format: int64 */
727
+ nbf?: number;
728
+ use?: string | null;
729
+ kty?: string | null;
730
+ e?: string | null;
731
+ n?: string | null;
732
+ };
733
+ JsonWebKeySet: {
734
+ keys?: components["schemas"]["JsonWebKey"][] | null;
735
+ };
736
+ JsonWebKeySetEnvelope: {
737
+ isSuccess?: boolean;
738
+ errorMessage?: string | null;
739
+ correlationId?: string | null;
740
+ /** Format: date-time */
741
+ timestamp?: string;
742
+ activityId?: string | null;
743
+ result?: components["schemas"]["JsonWebKeySet"];
744
+ };
745
+ JsonWebToken: {
746
+ header?: components["schemas"]["JsonWebTokenHeader"];
747
+ payload?: components["schemas"]["JsonWebTokenPayload"];
748
+ signature?: string | null;
749
+ tokenType?: string | null;
750
+ /** Format: int64 */
751
+ expiresIn?: number;
752
+ accessToken?: string | null;
753
+ };
754
+ JsonWebTokenEnvelope: {
755
+ isSuccess?: boolean;
756
+ errorMessage?: string | null;
757
+ correlationId?: string | null;
758
+ /** Format: date-time */
759
+ timestamp?: string;
760
+ activityId?: string | null;
761
+ result?: components["schemas"]["JsonWebToken"];
762
+ };
763
+ JsonWebTokenHeader: {
764
+ alg?: string | null;
765
+ jku?: string | null;
766
+ kid?: string | null;
767
+ typ?: string | null;
768
+ };
769
+ JsonWebTokenPayload: {
770
+ aud?: string | null;
771
+ cid?: string | null;
772
+ iss?: string | null;
773
+ aid?: string | null;
774
+ sub?: string | null;
775
+ act?: string | null;
776
+ /** Format: int64 */
777
+ iat?: number;
778
+ /** Format: int64 */
779
+ nbf?: number;
780
+ /** Format: int64 */
781
+ exp?: number;
782
+ scopes?: string[] | null;
783
+ };
784
+ LoginRequest: {
785
+ email: string | null;
786
+ password: string | null;
787
+ twoFactorCode?: string | null;
788
+ twoFactorRecoveryCode?: string | null;
789
+ };
790
+ OAuthTokenRequest: {
791
+ client_id?: string | null;
792
+ client_secret?: string | null;
793
+ grant_type?: string | null;
794
+ requested_scopes?: string | null;
795
+ requested_enrollment?: string | null;
796
+ };
797
+ OpenIdConfiguration: {
798
+ issuer?: string | null;
799
+ authorizationEndpoint?: string | null;
800
+ tokenEndpoint?: string | null;
801
+ endSessionEndpoint?: string | null;
802
+ jwksUri?: string | null;
803
+ responseModesSupported?: string[] | null;
804
+ responseTypesSupported?: string[] | null;
805
+ scopesSupported?: string[] | null;
806
+ subjectTypesSupported?: string[] | null;
807
+ idTokenSigningAlgValuesSupported?: string[] | null;
808
+ tokenEndpointAuthMethodsSupported?: string[] | null;
809
+ claimsSupported?: string[] | null;
810
+ };
811
+ OpenIdConfigurationEnvelope: {
812
+ isSuccess?: boolean;
813
+ errorMessage?: string | null;
814
+ correlationId?: string | null;
815
+ /** Format: date-time */
816
+ timestamp?: string;
817
+ activityId?: string | null;
818
+ result?: components["schemas"]["OpenIdConfiguration"];
819
+ };
820
+ RefreshRequest: {
821
+ refreshToken: string | null;
822
+ };
823
+ RegisterRequest: {
824
+ email: string | null;
825
+ password: string | null;
826
+ };
827
+ ResendConfirmationEmailRequest: {
828
+ email: string | null;
829
+ };
830
+ ResetPasswordRequest: {
831
+ email: string | null;
832
+ resetCode: string | null;
833
+ newPassword: string | null;
834
+ };
835
+ SigninModel: {
836
+ email?: string | null;
837
+ password?: string | null;
838
+ };
839
+ StringListEnvelope: {
840
+ isSuccess?: boolean;
841
+ errorMessage?: string | null;
842
+ correlationId?: string | null;
843
+ /** Format: date-time */
844
+ timestamp?: string;
845
+ activityId?: string | null;
846
+ result?: string[] | null;
847
+ };
848
+ TenantId: Record<string, never>;
849
+ TwoFactorRequest: {
850
+ enable?: boolean | null;
851
+ twoFactorCode?: string | null;
852
+ resetSharedKey?: boolean;
853
+ resetRecoveryCodes?: boolean;
854
+ forgetMachine?: boolean;
855
+ };
856
+ TwoFactorResponse: {
857
+ sharedKey: string | null;
858
+ /** Format: int32 */
859
+ recoveryCodesLeft: number;
860
+ recoveryCodes?: string[] | null;
861
+ isTwoFactorEnabled: boolean;
862
+ isMachineRemembered: boolean;
863
+ };
864
+ UserId: Record<string, never>;
865
+ };
866
+ responses: never;
867
+ parameters: never;
868
+ requestBodies: never;
869
+ headers: never;
870
+ pathItems: never;
871
+ }
872
+
873
+ export type $defs = Record<string, never>;
874
+
875
+ export type external = Record<string, never>;
876
+
877
+ export interface operations {
878
+
879
+ "MapIdentityApi-/confirmEmail": {
880
+ parameters: {
881
+ query?: {
882
+ userId?: string;
883
+ code?: string;
884
+ changedEmail?: string;
885
+ };
886
+ };
887
+ responses: {
888
+ /** @description OK */
889
+ 200: {
890
+ content: never;
891
+ };
892
+ };
893
+ };
894
+ }