@fill-easy/api 1.0.29 → 1.0.31
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/dist/openapi.d.ts +263 -261
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -649,6 +649,99 @@ export interface paths {
|
|
|
649
649
|
patch?: never;
|
|
650
650
|
trace?: never;
|
|
651
651
|
};
|
|
652
|
+
"/uaepass/request/auth": {
|
|
653
|
+
parameters: {
|
|
654
|
+
query?: never;
|
|
655
|
+
header?: never;
|
|
656
|
+
path?: never;
|
|
657
|
+
cookie?: never;
|
|
658
|
+
};
|
|
659
|
+
get?: never;
|
|
660
|
+
put?: never;
|
|
661
|
+
/**
|
|
662
|
+
* Authentication
|
|
663
|
+
* @description Retrieves user identity details following a successful UAE Pass login.
|
|
664
|
+
*/
|
|
665
|
+
post: operations["uaepassAuth"];
|
|
666
|
+
delete?: never;
|
|
667
|
+
options?: never;
|
|
668
|
+
head?: never;
|
|
669
|
+
patch?: never;
|
|
670
|
+
trace?: never;
|
|
671
|
+
};
|
|
672
|
+
"/uaepass/poll": {
|
|
673
|
+
parameters: {
|
|
674
|
+
query?: never;
|
|
675
|
+
header?: never;
|
|
676
|
+
path?: never;
|
|
677
|
+
cookie?: never;
|
|
678
|
+
};
|
|
679
|
+
get?: never;
|
|
680
|
+
put?: never;
|
|
681
|
+
/**
|
|
682
|
+
* Poll Data
|
|
683
|
+
* @description Short poll this endpoint, passing in the `token` (from endpoints in `Request Data` folder) to obtain the results.
|
|
684
|
+
*
|
|
685
|
+
* For authentication, this includes user data. For signing, this provides a link by which the signed document can be obtained.
|
|
686
|
+
*
|
|
687
|
+
* The response's `token` is a JWT or JWE depending if there's sensitive personal data. You should handle them like so:
|
|
688
|
+
*
|
|
689
|
+
* - `JWT` verify\* token
|
|
690
|
+
*
|
|
691
|
+
* - `JWE` decrypt using the private keys that Fill Easy has previously provided.
|
|
692
|
+
*
|
|
693
|
+
*
|
|
694
|
+
* Please note that the data result is returned only once and is deleted immediately.
|
|
695
|
+
*
|
|
696
|
+
* \*you can try using online decoder like [https://jwt.io/](https://jwt.io/)
|
|
697
|
+
*
|
|
698
|
+
* all responses are `JWE` unless noted otherwise.
|
|
699
|
+
*/
|
|
700
|
+
post: operations["uaepassPoll"];
|
|
701
|
+
delete?: never;
|
|
702
|
+
options?: never;
|
|
703
|
+
head?: never;
|
|
704
|
+
patch?: never;
|
|
705
|
+
trace?: never;
|
|
706
|
+
};
|
|
707
|
+
"/uaepass/callback": {
|
|
708
|
+
parameters: {
|
|
709
|
+
query?: never;
|
|
710
|
+
header?: never;
|
|
711
|
+
path?: never;
|
|
712
|
+
cookie?: never;
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* Callback
|
|
716
|
+
* @description UAE Pass will redirect to this endpoint after user authorization.
|
|
717
|
+
* This endpoint then redirects the user again to the original `redirect` URI provided in the `/uaepass/request/auth` request, appending the authorization `code` and `state` as query parameters.
|
|
718
|
+
*/
|
|
719
|
+
get: operations["uaepassCallback"];
|
|
720
|
+
put?: never;
|
|
721
|
+
post?: never;
|
|
722
|
+
delete?: never;
|
|
723
|
+
options?: never;
|
|
724
|
+
head?: never;
|
|
725
|
+
patch?: never;
|
|
726
|
+
trace?: never;
|
|
727
|
+
};
|
|
728
|
+
"/uaepass/logout": {
|
|
729
|
+
parameters: {
|
|
730
|
+
query?: never;
|
|
731
|
+
header?: never;
|
|
732
|
+
path?: never;
|
|
733
|
+
cookie?: never;
|
|
734
|
+
};
|
|
735
|
+
get?: never;
|
|
736
|
+
put?: never;
|
|
737
|
+
/** UAEPass Logout */
|
|
738
|
+
post: operations["uaepassLogout"];
|
|
739
|
+
delete?: never;
|
|
740
|
+
options?: never;
|
|
741
|
+
head?: never;
|
|
742
|
+
patch?: never;
|
|
743
|
+
trace?: never;
|
|
744
|
+
};
|
|
652
745
|
"/ocr/request": {
|
|
653
746
|
parameters: {
|
|
654
747
|
query?: never;
|
|
@@ -878,30 +971,15 @@ export interface paths {
|
|
|
878
971
|
put?: never;
|
|
879
972
|
/**
|
|
880
973
|
* Request
|
|
881
|
-
* @description
|
|
882
|
-
*
|
|
883
|
-
* For a full list of Country Coverage, please check out /readme .
|
|
884
|
-
*
|
|
885
|
-
* #### Automated retrieval using Company ID for supported countries
|
|
974
|
+
* @description Initiate a company report request. Returns a JWT token for use with `/cra/poll`.
|
|
886
975
|
*
|
|
887
|
-
*
|
|
888
|
-
* and the supplied `companyId` is valid, the system will automatically fetch the document.
|
|
976
|
+
* **Required:** `countryCode` (ISO 3166 alpha-2)
|
|
889
977
|
*
|
|
890
|
-
*
|
|
978
|
+
* **Recommended:** `companyId` from `/cra/{countryCode}/search/companies` for faster automated processing.
|
|
891
979
|
*
|
|
892
|
-
*
|
|
980
|
+
* **Fallback:** Provide `companyName` if `companyId` is unavailable — request will be processed manually.
|
|
893
981
|
*
|
|
894
|
-
*
|
|
895
|
-
* companyId for certain countries (empty string). In that case please
|
|
896
|
-
* refer to the information in the section below.
|
|
897
|
-
*
|
|
898
|
-
* #### Manual request for unsupported countries or missing Company ID
|
|
899
|
-
*
|
|
900
|
-
* In case of unsupported countries or missing `companyId`, Fill Easy will manually process the request.
|
|
901
|
-
* Retrieving this information may take longer (up to several days).
|
|
902
|
-
*
|
|
903
|
-
* In any case, the endpoint returns a JWT token that should be used with the
|
|
904
|
-
* `/cra/poll` endpoint to retrieve the document when ready.
|
|
982
|
+
* **Document Request:** Provide `documentId` from `/cra/{countryCode}/search/documents` to request specific document.
|
|
905
983
|
*/
|
|
906
984
|
post: operations["craRequest"];
|
|
907
985
|
delete?: never;
|
|
@@ -1048,87 +1126,13 @@ export interface paths {
|
|
|
1048
1126
|
cookie?: never;
|
|
1049
1127
|
};
|
|
1050
1128
|
/**
|
|
1051
|
-
*
|
|
1052
|
-
* @description Returns metadata and a list of all countries supported by the
|
|
1129
|
+
* Info
|
|
1130
|
+
* @description Returns metadata and a list of all countries supported by the CorpVerify service,
|
|
1053
1131
|
* including their automation status, available search capabilities, and report contents.
|
|
1054
|
-
*/
|
|
1055
|
-
get: operations["craInfo"];
|
|
1056
|
-
put?: never;
|
|
1057
|
-
post?: never;
|
|
1058
|
-
delete?: never;
|
|
1059
|
-
options?: never;
|
|
1060
|
-
head?: never;
|
|
1061
|
-
patch?: never;
|
|
1062
|
-
trace?: never;
|
|
1063
|
-
};
|
|
1064
|
-
"/uaepass/request/auth": {
|
|
1065
|
-
parameters: {
|
|
1066
|
-
query?: never;
|
|
1067
|
-
header?: never;
|
|
1068
|
-
path?: never;
|
|
1069
|
-
cookie?: never;
|
|
1070
|
-
};
|
|
1071
|
-
get?: never;
|
|
1072
|
-
put?: never;
|
|
1073
|
-
/**
|
|
1074
|
-
* Authentication
|
|
1075
|
-
* @description Retrieves user identity details following a successful UAE Pass login.
|
|
1076
|
-
*/
|
|
1077
|
-
post: operations["uaepassAuth"];
|
|
1078
|
-
delete?: never;
|
|
1079
|
-
options?: never;
|
|
1080
|
-
head?: never;
|
|
1081
|
-
patch?: never;
|
|
1082
|
-
trace?: never;
|
|
1083
|
-
};
|
|
1084
|
-
"/uaepass/poll": {
|
|
1085
|
-
parameters: {
|
|
1086
|
-
query?: never;
|
|
1087
|
-
header?: never;
|
|
1088
|
-
path?: never;
|
|
1089
|
-
cookie?: never;
|
|
1090
|
-
};
|
|
1091
|
-
get?: never;
|
|
1092
|
-
put?: never;
|
|
1093
|
-
/**
|
|
1094
|
-
* Poll Data
|
|
1095
|
-
* @description Short poll this endpoint, passing in the `token` (from endpoints in `Request Data` folder) to obtain the results.
|
|
1096
|
-
*
|
|
1097
|
-
* For authentication, this includes user data. For signing, this provides a link by which the signed document can be obtained.
|
|
1098
|
-
*
|
|
1099
|
-
* The response's `token` is a JWT or JWE depending if there's sensitive personal data. You should handle them like so:
|
|
1100
|
-
*
|
|
1101
|
-
* - `JWT` verify\* token
|
|
1102
|
-
*
|
|
1103
|
-
* - `JWE` decrypt using the private keys that Fill Easy has previously provided.
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
* Please note that the data result is returned only once and is deleted immediately.
|
|
1107
1132
|
*
|
|
1108
|
-
*
|
|
1109
|
-
*
|
|
1110
|
-
* all responses are `JWE` unless noted otherwise.
|
|
1111
|
-
*/
|
|
1112
|
-
post: operations["uaepassPoll"];
|
|
1113
|
-
delete?: never;
|
|
1114
|
-
options?: never;
|
|
1115
|
-
head?: never;
|
|
1116
|
-
patch?: never;
|
|
1117
|
-
trace?: never;
|
|
1118
|
-
};
|
|
1119
|
-
"/uaepass/callback": {
|
|
1120
|
-
parameters: {
|
|
1121
|
-
query?: never;
|
|
1122
|
-
header?: never;
|
|
1123
|
-
path?: never;
|
|
1124
|
-
cookie?: never;
|
|
1125
|
-
};
|
|
1126
|
-
/**
|
|
1127
|
-
* Callback
|
|
1128
|
-
* @description UAE Pass will redirect to this endpoint after user authorization.
|
|
1129
|
-
* This endpoint then redirects the user again to the original `redirect` URI provided in the `/uaepass/request/auth` request, appending the authorization `code` and `state` as query parameters.
|
|
1133
|
+
* > For an up-to-date version of the same data, please view the [CorpVerify Country Coverage table](countries).
|
|
1130
1134
|
*/
|
|
1131
|
-
get: operations["
|
|
1135
|
+
get: operations["craInfo"];
|
|
1132
1136
|
put?: never;
|
|
1133
1137
|
post?: never;
|
|
1134
1138
|
delete?: never;
|
|
@@ -1137,23 +1141,6 @@ export interface paths {
|
|
|
1137
1141
|
patch?: never;
|
|
1138
1142
|
trace?: never;
|
|
1139
1143
|
};
|
|
1140
|
-
"/uaepass/logout": {
|
|
1141
|
-
parameters: {
|
|
1142
|
-
query?: never;
|
|
1143
|
-
header?: never;
|
|
1144
|
-
path?: never;
|
|
1145
|
-
cookie?: never;
|
|
1146
|
-
};
|
|
1147
|
-
get?: never;
|
|
1148
|
-
put?: never;
|
|
1149
|
-
/** UAEPass Logout */
|
|
1150
|
-
post: operations["uaepassLogout"];
|
|
1151
|
-
delete?: never;
|
|
1152
|
-
options?: never;
|
|
1153
|
-
head?: never;
|
|
1154
|
-
patch?: never;
|
|
1155
|
-
trace?: never;
|
|
1156
|
-
};
|
|
1157
1144
|
"/lra/request": {
|
|
1158
1145
|
parameters: {
|
|
1159
1146
|
query?: never;
|
|
@@ -1261,6 +1248,13 @@ export interface components {
|
|
|
1261
1248
|
financial: boolean;
|
|
1262
1249
|
};
|
|
1263
1250
|
};
|
|
1251
|
+
CraInvalidCountryError: {
|
|
1252
|
+
/**
|
|
1253
|
+
* @description Error message indicating the country code is invalid or the service is not offered
|
|
1254
|
+
* @example Invalid countryCode / Service not offered for countryCode: XX
|
|
1255
|
+
*/
|
|
1256
|
+
message: string;
|
|
1257
|
+
};
|
|
1264
1258
|
Error: {
|
|
1265
1259
|
/**
|
|
1266
1260
|
* @description Error message
|
|
@@ -2446,6 +2440,143 @@ export interface operations {
|
|
|
2446
2440
|
};
|
|
2447
2441
|
};
|
|
2448
2442
|
};
|
|
2443
|
+
uaepassAuth: {
|
|
2444
|
+
parameters: {
|
|
2445
|
+
query?: never;
|
|
2446
|
+
header?: never;
|
|
2447
|
+
path?: never;
|
|
2448
|
+
cookie?: never;
|
|
2449
|
+
};
|
|
2450
|
+
requestBody: {
|
|
2451
|
+
content: {
|
|
2452
|
+
"application/json": {
|
|
2453
|
+
redirect: components["schemas"]["RedirectUri"];
|
|
2454
|
+
/**
|
|
2455
|
+
* @description List of values, separated by spaces, that represent the scope of the authorization that the application wants to obtain.
|
|
2456
|
+
* It queries the scopes required for accessing the resources or services in question.
|
|
2457
|
+
* Available scopes: sub, fullnameAR, gender, mobile, lastnameEN, fullnameEN, uuid, lastnameAR, idn, nationalityEN, firstnameEN, userType, nationalityAR, firstnameAR, email.
|
|
2458
|
+
* (To be shared by UAEPASS Team if its value is other than specified in sample above)
|
|
2459
|
+
* @example sub fullnameEN email mobile
|
|
2460
|
+
*/
|
|
2461
|
+
scope?: string;
|
|
2462
|
+
/**
|
|
2463
|
+
* @description UAE Pass display language, case sensitive
|
|
2464
|
+
* @example en
|
|
2465
|
+
* @enum {string}
|
|
2466
|
+
*/
|
|
2467
|
+
lang?: "en" | "ar";
|
|
2468
|
+
/**
|
|
2469
|
+
* @description Platform source for the authentication request
|
|
2470
|
+
* @example PC_Browser
|
|
2471
|
+
* @enum {string}
|
|
2472
|
+
*/
|
|
2473
|
+
source: "PC_Browser" | "android" | "iOS" | "Mobile_Browser";
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
responses: {
|
|
2478
|
+
/** @description Success */
|
|
2479
|
+
200: {
|
|
2480
|
+
headers: {
|
|
2481
|
+
[name: string]: unknown;
|
|
2482
|
+
};
|
|
2483
|
+
content: {
|
|
2484
|
+
"application/json": {
|
|
2485
|
+
/** @description JWT token for polling authentication status */
|
|
2486
|
+
token: string;
|
|
2487
|
+
/**
|
|
2488
|
+
* Format: uri
|
|
2489
|
+
* @description UAE Pass authorization URL to redirect user to
|
|
2490
|
+
*/
|
|
2491
|
+
oAuthUrl: string;
|
|
2492
|
+
};
|
|
2493
|
+
};
|
|
2494
|
+
};
|
|
2495
|
+
400: components["responses"]["BadRequest"];
|
|
2496
|
+
500: components["responses"]["InternalServerError"];
|
|
2497
|
+
};
|
|
2498
|
+
};
|
|
2499
|
+
uaepassPoll: {
|
|
2500
|
+
parameters: {
|
|
2501
|
+
query?: never;
|
|
2502
|
+
header?: never;
|
|
2503
|
+
path?: never;
|
|
2504
|
+
cookie?: never;
|
|
2505
|
+
};
|
|
2506
|
+
requestBody: {
|
|
2507
|
+
content: {
|
|
2508
|
+
"application/json": {
|
|
2509
|
+
token: components["schemas"]["Token"];
|
|
2510
|
+
};
|
|
2511
|
+
};
|
|
2512
|
+
};
|
|
2513
|
+
responses: {
|
|
2514
|
+
/** @description Success */
|
|
2515
|
+
200: {
|
|
2516
|
+
headers: {
|
|
2517
|
+
[name: string]: unknown;
|
|
2518
|
+
};
|
|
2519
|
+
content: {
|
|
2520
|
+
"application/json": {
|
|
2521
|
+
message?: string;
|
|
2522
|
+
token?: components["schemas"]["Token"];
|
|
2523
|
+
};
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2527
|
+
};
|
|
2528
|
+
uaepassCallback: {
|
|
2529
|
+
parameters: {
|
|
2530
|
+
query?: never;
|
|
2531
|
+
header?: never;
|
|
2532
|
+
path?: never;
|
|
2533
|
+
cookie?: never;
|
|
2534
|
+
};
|
|
2535
|
+
requestBody?: never;
|
|
2536
|
+
responses: {
|
|
2537
|
+
/** @description Success */
|
|
2538
|
+
200: {
|
|
2539
|
+
headers: {
|
|
2540
|
+
[name: string]: unknown;
|
|
2541
|
+
};
|
|
2542
|
+
content?: never;
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
uaepassLogout: {
|
|
2547
|
+
parameters: {
|
|
2548
|
+
query?: never;
|
|
2549
|
+
header?: never;
|
|
2550
|
+
path?: never;
|
|
2551
|
+
cookie?: never;
|
|
2552
|
+
};
|
|
2553
|
+
requestBody: {
|
|
2554
|
+
content: {
|
|
2555
|
+
"application/json": {
|
|
2556
|
+
redirect: components["schemas"]["RedirectUri"];
|
|
2557
|
+
};
|
|
2558
|
+
};
|
|
2559
|
+
};
|
|
2560
|
+
responses: {
|
|
2561
|
+
/** @description Success */
|
|
2562
|
+
200: {
|
|
2563
|
+
headers: {
|
|
2564
|
+
[name: string]: unknown;
|
|
2565
|
+
};
|
|
2566
|
+
content: {
|
|
2567
|
+
"application/json": {
|
|
2568
|
+
/**
|
|
2569
|
+
* Format: uri
|
|
2570
|
+
* @description UAE Pass logout URL to redirect user to
|
|
2571
|
+
*/
|
|
2572
|
+
logoutUrl: string;
|
|
2573
|
+
};
|
|
2574
|
+
};
|
|
2575
|
+
};
|
|
2576
|
+
400: components["responses"]["BadRequest"];
|
|
2577
|
+
500: components["responses"]["InternalServerError"];
|
|
2578
|
+
};
|
|
2579
|
+
};
|
|
2449
2580
|
request1: {
|
|
2450
2581
|
parameters: {
|
|
2451
2582
|
query?: never;
|
|
@@ -3269,12 +3400,14 @@ export interface operations {
|
|
|
3269
3400
|
};
|
|
3270
3401
|
};
|
|
3271
3402
|
};
|
|
3272
|
-
/** @description Bad Request - Invalid
|
|
3403
|
+
/** @description Bad Request - Invalid or unsupported country code */
|
|
3273
3404
|
400: {
|
|
3274
3405
|
headers: {
|
|
3275
3406
|
[name: string]: unknown;
|
|
3276
3407
|
};
|
|
3277
|
-
content
|
|
3408
|
+
content: {
|
|
3409
|
+
"application/json": components["schemas"]["CraInvalidCountryError"];
|
|
3410
|
+
};
|
|
3278
3411
|
};
|
|
3279
3412
|
/** @description Internal server error */
|
|
3280
3413
|
500: {
|
|
@@ -3557,12 +3690,14 @@ export interface operations {
|
|
|
3557
3690
|
};
|
|
3558
3691
|
};
|
|
3559
3692
|
};
|
|
3560
|
-
/** @description Bad Request - Invalid
|
|
3693
|
+
/** @description Bad Request - Invalid or unsupported country code */
|
|
3561
3694
|
400: {
|
|
3562
3695
|
headers: {
|
|
3563
3696
|
[name: string]: unknown;
|
|
3564
3697
|
};
|
|
3565
|
-
content
|
|
3698
|
+
content: {
|
|
3699
|
+
"application/json": components["schemas"]["CraInvalidCountryError"];
|
|
3700
|
+
};
|
|
3566
3701
|
};
|
|
3567
3702
|
/** @description Internal server error */
|
|
3568
3703
|
500: {
|
|
@@ -3641,12 +3776,14 @@ export interface operations {
|
|
|
3641
3776
|
};
|
|
3642
3777
|
};
|
|
3643
3778
|
};
|
|
3644
|
-
/** @description Bad Request - Invalid
|
|
3779
|
+
/** @description Bad Request - Invalid or unsupported country code */
|
|
3645
3780
|
400: {
|
|
3646
3781
|
headers: {
|
|
3647
3782
|
[name: string]: unknown;
|
|
3648
3783
|
};
|
|
3649
|
-
content
|
|
3784
|
+
content: {
|
|
3785
|
+
"application/json": components["schemas"]["CraInvalidCountryError"];
|
|
3786
|
+
};
|
|
3650
3787
|
};
|
|
3651
3788
|
/** @description Internal server error */
|
|
3652
3789
|
500: {
|
|
@@ -3693,12 +3830,14 @@ export interface operations {
|
|
|
3693
3830
|
};
|
|
3694
3831
|
};
|
|
3695
3832
|
};
|
|
3696
|
-
/** @description Bad Request - Invalid
|
|
3833
|
+
/** @description Bad Request - Invalid or unsupported country code */
|
|
3697
3834
|
400: {
|
|
3698
3835
|
headers: {
|
|
3699
3836
|
[name: string]: unknown;
|
|
3700
3837
|
};
|
|
3701
|
-
content
|
|
3838
|
+
content: {
|
|
3839
|
+
"application/json": components["schemas"]["CraInvalidCountryError"];
|
|
3840
|
+
};
|
|
3702
3841
|
};
|
|
3703
3842
|
/** @description Internal server error */
|
|
3704
3843
|
500: {
|
|
@@ -3718,7 +3857,7 @@ export interface operations {
|
|
|
3718
3857
|
};
|
|
3719
3858
|
requestBody?: never;
|
|
3720
3859
|
responses: {
|
|
3721
|
-
/** @description Successfully retrieved
|
|
3860
|
+
/** @description Successfully retrieved country information */
|
|
3722
3861
|
200: {
|
|
3723
3862
|
headers: {
|
|
3724
3863
|
[name: string]: unknown;
|
|
@@ -3755,143 +3894,6 @@ export interface operations {
|
|
|
3755
3894
|
};
|
|
3756
3895
|
};
|
|
3757
3896
|
};
|
|
3758
|
-
uaepassAuth: {
|
|
3759
|
-
parameters: {
|
|
3760
|
-
query?: never;
|
|
3761
|
-
header?: never;
|
|
3762
|
-
path?: never;
|
|
3763
|
-
cookie?: never;
|
|
3764
|
-
};
|
|
3765
|
-
requestBody: {
|
|
3766
|
-
content: {
|
|
3767
|
-
"application/json": {
|
|
3768
|
-
redirect: components["schemas"]["RedirectUri"];
|
|
3769
|
-
/**
|
|
3770
|
-
* @description List of values, separated by spaces, that represent the scope of the authorization that the application wants to obtain.
|
|
3771
|
-
* It queries the scopes required for accessing the resources or services in question.
|
|
3772
|
-
* Available scopes: sub, fullnameAR, gender, mobile, lastnameEN, fullnameEN, uuid, lastnameAR, idn, nationalityEN, firstnameEN, userType, nationalityAR, firstnameAR, email.
|
|
3773
|
-
* (To be shared by UAEPASS Team if its value is other than specified in sample above)
|
|
3774
|
-
* @example sub fullnameEN email mobile
|
|
3775
|
-
*/
|
|
3776
|
-
scope?: string;
|
|
3777
|
-
/**
|
|
3778
|
-
* @description UAE Pass display language, case sensitive
|
|
3779
|
-
* @example en
|
|
3780
|
-
* @enum {string}
|
|
3781
|
-
*/
|
|
3782
|
-
lang?: "en" | "ar";
|
|
3783
|
-
/**
|
|
3784
|
-
* @description Platform source for the authentication request
|
|
3785
|
-
* @example PC_Browser
|
|
3786
|
-
* @enum {string}
|
|
3787
|
-
*/
|
|
3788
|
-
source: "PC_Browser" | "android" | "iOS" | "Mobile_Browser";
|
|
3789
|
-
};
|
|
3790
|
-
};
|
|
3791
|
-
};
|
|
3792
|
-
responses: {
|
|
3793
|
-
/** @description Success */
|
|
3794
|
-
200: {
|
|
3795
|
-
headers: {
|
|
3796
|
-
[name: string]: unknown;
|
|
3797
|
-
};
|
|
3798
|
-
content: {
|
|
3799
|
-
"application/json": {
|
|
3800
|
-
/** @description JWT token for polling authentication status */
|
|
3801
|
-
token: string;
|
|
3802
|
-
/**
|
|
3803
|
-
* Format: uri
|
|
3804
|
-
* @description UAE Pass authorization URL to redirect user to
|
|
3805
|
-
*/
|
|
3806
|
-
oAuthUrl: string;
|
|
3807
|
-
};
|
|
3808
|
-
};
|
|
3809
|
-
};
|
|
3810
|
-
400: components["responses"]["BadRequest"];
|
|
3811
|
-
500: components["responses"]["InternalServerError"];
|
|
3812
|
-
};
|
|
3813
|
-
};
|
|
3814
|
-
uaepassPoll: {
|
|
3815
|
-
parameters: {
|
|
3816
|
-
query?: never;
|
|
3817
|
-
header?: never;
|
|
3818
|
-
path?: never;
|
|
3819
|
-
cookie?: never;
|
|
3820
|
-
};
|
|
3821
|
-
requestBody: {
|
|
3822
|
-
content: {
|
|
3823
|
-
"application/json": {
|
|
3824
|
-
token: components["schemas"]["Token"];
|
|
3825
|
-
};
|
|
3826
|
-
};
|
|
3827
|
-
};
|
|
3828
|
-
responses: {
|
|
3829
|
-
/** @description Success */
|
|
3830
|
-
200: {
|
|
3831
|
-
headers: {
|
|
3832
|
-
[name: string]: unknown;
|
|
3833
|
-
};
|
|
3834
|
-
content: {
|
|
3835
|
-
"application/json": {
|
|
3836
|
-
message?: string;
|
|
3837
|
-
token?: components["schemas"]["Token"];
|
|
3838
|
-
};
|
|
3839
|
-
};
|
|
3840
|
-
};
|
|
3841
|
-
};
|
|
3842
|
-
};
|
|
3843
|
-
uaepassCallback: {
|
|
3844
|
-
parameters: {
|
|
3845
|
-
query?: never;
|
|
3846
|
-
header?: never;
|
|
3847
|
-
path?: never;
|
|
3848
|
-
cookie?: never;
|
|
3849
|
-
};
|
|
3850
|
-
requestBody?: never;
|
|
3851
|
-
responses: {
|
|
3852
|
-
/** @description Success */
|
|
3853
|
-
200: {
|
|
3854
|
-
headers: {
|
|
3855
|
-
[name: string]: unknown;
|
|
3856
|
-
};
|
|
3857
|
-
content?: never;
|
|
3858
|
-
};
|
|
3859
|
-
};
|
|
3860
|
-
};
|
|
3861
|
-
uaepassLogout: {
|
|
3862
|
-
parameters: {
|
|
3863
|
-
query?: never;
|
|
3864
|
-
header?: never;
|
|
3865
|
-
path?: never;
|
|
3866
|
-
cookie?: never;
|
|
3867
|
-
};
|
|
3868
|
-
requestBody: {
|
|
3869
|
-
content: {
|
|
3870
|
-
"application/json": {
|
|
3871
|
-
redirect: components["schemas"]["RedirectUri"];
|
|
3872
|
-
};
|
|
3873
|
-
};
|
|
3874
|
-
};
|
|
3875
|
-
responses: {
|
|
3876
|
-
/** @description Success */
|
|
3877
|
-
200: {
|
|
3878
|
-
headers: {
|
|
3879
|
-
[name: string]: unknown;
|
|
3880
|
-
};
|
|
3881
|
-
content: {
|
|
3882
|
-
"application/json": {
|
|
3883
|
-
/**
|
|
3884
|
-
* Format: uri
|
|
3885
|
-
* @description UAE Pass logout URL to redirect user to
|
|
3886
|
-
*/
|
|
3887
|
-
logoutUrl: string;
|
|
3888
|
-
};
|
|
3889
|
-
};
|
|
3890
|
-
};
|
|
3891
|
-
400: components["responses"]["BadRequest"];
|
|
3892
|
-
500: components["responses"]["InternalServerError"];
|
|
3893
|
-
};
|
|
3894
|
-
};
|
|
3895
3897
|
lraRequest: {
|
|
3896
3898
|
parameters: {
|
|
3897
3899
|
query?: never;
|