@tap-payments/auth-jsconnect 2.1.9-test → 2.1.11-test
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/build/@types/form.d.ts +4 -3
- package/build/api/board.d.ts +1 -0
- package/build/api/board.js +8 -1
- package/build/api/entity.d.ts +1 -1
- package/build/api/index.d.ts +1 -0
- package/build/assets/locales/ar.json +7 -0
- package/build/assets/locales/en.json +7 -0
- package/build/components/FileInput/DragAndDrop.d.ts +3 -2
- package/build/components/FileInput/DragAndDrop.js +4 -4
- package/build/components/Lottie/Lottie.d.ts +2924 -127
- package/build/components/Lottie/Lottie.js +8 -4
- package/build/components/Lottie/files/error.json +692 -0
- package/build/components/Lottie/files/start_loading.json +1140 -0
- package/build/components/Lottie/files/still_loading.json +1140 -0
- package/build/constants/validation.d.ts +1 -0
- package/build/constants/validation.js +1 -0
- package/build/features/app/bank/bankStore.js +13 -10
- package/build/features/app/business/businessStore.d.ts +8 -1
- package/build/features/app/business/businessStore.js +123 -66
- package/build/features/app/connect/connectStore.d.ts +1 -1
- package/build/features/app/connect/connectStore.js +47 -38
- package/build/features/app/entity/entityStore.js +37 -42
- package/build/features/app/individual/individualStore.js +47 -38
- package/build/features/app/password/passwordStore.js +19 -20
- package/build/features/app/tax/taxStore.js +13 -10
- package/build/features/bank/screens/BankDetails/BankDetails.js +13 -6
- package/build/features/bank/screens/BankDetails/BankStatement.js +14 -11
- package/build/features/bank/screens/BankDetails/validation.d.ts +22 -0
- package/build/features/bank/screens/BankDetails/validation.js +29 -2
- package/build/features/business/screens/BusinessType/Article.d.ts +6 -0
- package/build/features/business/screens/BusinessType/Article.js +89 -0
- package/build/features/business/screens/BusinessType/BusinessType.js +16 -10
- package/build/features/business/screens/BusinessType/EntityName.js +1 -1
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +14 -9
- package/build/features/business/screens/BusinessType/LicenseList.js +3 -2
- package/build/features/business/screens/BusinessType/LicenseType.js +3 -3
- package/build/features/business/screens/BusinessType/validation.js +17 -8
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +9 -134
- package/build/features/connect/screens/Merchant/Merchant.js +4 -24
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -5
- package/build/features/connect/screens/Merchant/SalesChannels.js +29 -99
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +9 -73
- package/build/features/entity/screens/EntityInfoConfirm/Article.js +14 -11
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +12 -0
- package/build/features/shared/PaciVerification/PaciVerification.js +91 -0
- package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACILoading.d.ts +1 -0
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +13 -0
- package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACISuccess.d.ts +0 -0
- package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACISuccess.js +1 -1
- package/build/features/shared/PaciVerification/index.d.ts +2 -0
- package/build/features/shared/PaciVerification/index.js +2 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +11 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +100 -0
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +10 -0
- package/build/features/shared/SalesChannels/SalesChannel.js +132 -0
- package/build/features/shared/SalesChannels/index.d.ts +2 -0
- package/build/features/shared/SalesChannels/index.js +2 -0
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -2
- package/build/features/shared/UploadFile/UploadFile.js +13 -13
- package/build/hooks/index.d.ts +1 -0
- package/build/hooks/index.js +1 -0
- package/build/hooks/useCountUp.d.ts +9 -0
- package/build/hooks/useCountUp.js +17 -0
- package/package.json +1 -1
- package/build/components/Lottie/files/pulsating_circle_waves.json +0 -236
- package/build/features/business/screens/VerifyPACI/VerifyPACILoading.js +0 -23
- package/build/features/connect/screens/Merchant/SocialMedia.d.ts +0 -8
- package/build/features/connect/screens/Merchant/SocialMedia.js +0 -156
- package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.d.ts +0 -6
- package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +0 -23
- package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.d.ts +0 -5
- package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +0 -8
package/build/@types/form.d.ts
CHANGED
|
@@ -40,9 +40,10 @@ export declare type BusinessTypeFormValues = {
|
|
|
40
40
|
licenseNumber: string;
|
|
41
41
|
entityLegalName?: string;
|
|
42
42
|
selectedLicense?: License;
|
|
43
|
-
certificateId?: string
|
|
44
|
-
certificateFile?: File
|
|
45
|
-
|
|
43
|
+
certificateId?: Array<string>;
|
|
44
|
+
certificateFile?: Array<File>;
|
|
45
|
+
articleId?: string;
|
|
46
|
+
articleFile?: File;
|
|
46
47
|
};
|
|
47
48
|
export declare type ActivitiesFormValues = {
|
|
48
49
|
activities: Array<Activity> | undefined;
|
package/build/api/board.d.ts
CHANGED
|
@@ -22,5 +22,6 @@ declare const boardService: {
|
|
|
22
22
|
retrieveBoardInfo: ({ id, infoId }: RetrieveBoardInfoBody) => Promise<any>;
|
|
23
23
|
updateBoardInfo: ({ id, infoId, ...data }: UpdateBoardInfoBody) => Promise<any>;
|
|
24
24
|
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
25
|
+
retrieveBoardInfoStatus: (id: string) => Promise<any>;
|
|
25
26
|
};
|
|
26
27
|
export { boardService };
|
package/build/api/board.js
CHANGED
|
@@ -18,6 +18,12 @@ var retrieveBoardInfo = function (_a) {
|
|
|
18
18
|
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/collect/").concat(infoId)
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
+
var retrieveBoardInfoStatus = function (id) {
|
|
22
|
+
return httpClient({
|
|
23
|
+
method: 'get',
|
|
24
|
+
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/status")
|
|
25
|
+
});
|
|
26
|
+
};
|
|
21
27
|
var retrieveBoard = function (id) {
|
|
22
28
|
return httpClient({
|
|
23
29
|
method: 'get',
|
|
@@ -51,6 +57,7 @@ var boardService = {
|
|
|
51
57
|
updateBoard: updateBoard,
|
|
52
58
|
retrieveBoardInfo: retrieveBoardInfo,
|
|
53
59
|
updateBoardInfo: updateBoardInfo,
|
|
54
|
-
retrieveBoardDetails: retrieveBoardDetails
|
|
60
|
+
retrieveBoardDetails: retrieveBoardDetails,
|
|
61
|
+
retrieveBoardInfoStatus: retrieveBoardInfoStatus
|
|
55
62
|
};
|
|
56
63
|
export { boardService };
|
package/build/api/entity.d.ts
CHANGED
package/build/api/index.d.ts
CHANGED
|
@@ -97,6 +97,7 @@ declare const API: {
|
|
|
97
97
|
retrieveBoardInfo: ({ id, infoId }: import("./board").RetrieveBoardInfoBody) => Promise<any>;
|
|
98
98
|
updateBoardInfo: ({ id, infoId, ...data }: import("./board").UpdateBoardInfoBody) => Promise<any>;
|
|
99
99
|
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
100
|
+
retrieveBoardInfoStatus: (id: string) => Promise<any>;
|
|
100
101
|
};
|
|
101
102
|
userService: {
|
|
102
103
|
retrieveUserInfo: (userId: string) => Promise<any>;
|
|
@@ -324,6 +324,13 @@
|
|
|
324
324
|
"customer_base_name_hint": "customer_base_name_hint",
|
|
325
325
|
"title_article": "Article",
|
|
326
326
|
"article_of_association": "Article file. PDF, JPG or PNG files up to 5mb.",
|
|
327
|
+
"paci_verification_title_wait": "Please wait",
|
|
328
|
+
"paci_verification_title_check": "We are still checking",
|
|
329
|
+
"paci_verification_title_error": "We cannot confirm your authentication",
|
|
330
|
+
"paci_verification_description_wait": "This might take a moment...",
|
|
331
|
+
"paci_verification_description_check": "This might take a moment...",
|
|
332
|
+
"paci_verification_description_error": "Please try again.",
|
|
333
|
+
"paci_verification_redirection_message": "You will be redirected now",
|
|
327
334
|
"commercial_reg_hint": "Commercial Registration",
|
|
328
335
|
"homemaker_reg_hint": "Home Business"
|
|
329
336
|
}
|
|
@@ -351,6 +351,13 @@
|
|
|
351
351
|
"customer_base_name_hint": "customer_base_name_hint",
|
|
352
352
|
"title_article": "Article",
|
|
353
353
|
"article_of_association": "Article file. PDF, JPG or PNG files up to 5mb.",
|
|
354
|
+
"paci_verification_title_wait": "Please wait",
|
|
355
|
+
"paci_verification_title_check": "We are still checking",
|
|
356
|
+
"paci_verification_title_error": "We cannot confirm your authentication",
|
|
357
|
+
"paci_verification_description_wait": "This might take a moment...",
|
|
358
|
+
"paci_verification_description_check": "This might take a moment...",
|
|
359
|
+
"paci_verification_description_error": "Please try again.",
|
|
360
|
+
"paci_verification_redirection_message": "You will be redirected now",
|
|
354
361
|
"commercial_reg_hint": "Commercial Registration",
|
|
355
362
|
"homemaker_reg_hint": "Home Business"
|
|
356
363
|
}
|
|
@@ -10,7 +10,8 @@ interface DragAndDropProps {
|
|
|
10
10
|
uploading?: boolean;
|
|
11
11
|
uploadSuccess?: boolean;
|
|
12
12
|
fileExists: boolean;
|
|
13
|
-
onSuccess?: (files: File) => void;
|
|
13
|
+
onSuccess?: (files: Array<File>) => void;
|
|
14
|
+
multiple?: boolean;
|
|
14
15
|
}
|
|
15
|
-
declare const DragAndDrop: ({ title, subTitle, description, error, uploadingTitle, successTitle, progress, uploading, fileExists, uploadSuccess, onSuccess }: DragAndDropProps) => JSX.Element;
|
|
16
|
+
declare const DragAndDrop: ({ title, subTitle, description, error, uploadingTitle, successTitle, progress, uploading, fileExists, uploadSuccess, onSuccess, multiple }: DragAndDropProps) => JSX.Element;
|
|
16
17
|
export default DragAndDrop;
|
|
@@ -102,14 +102,14 @@ var WarningContainer = styled(Box)(function (_a) {
|
|
|
102
102
|
return (__assign({ background: theme.palette.warning.dark, paddingBlock: theme.spacing(1.5), paddingInlineStart: theme.spacing(2.5), border: '0.5px solid', display: 'flex', justifyContent: 'space-around', borderColor: theme.palette.warning.main, color: theme.palette.warning.light, padding: theme.spacing(0.5, 1), borderRadius: theme.spacing(12.5) }, theme.typography.caption));
|
|
103
103
|
});
|
|
104
104
|
var DragAndDrop = function (_a) {
|
|
105
|
-
var title = _a.title, subTitle = _a.subTitle, description = _a.description, error = _a.error, uploadingTitle = _a.uploadingTitle, successTitle = _a.successTitle, progress = _a.progress, uploading = _a.uploading, fileExists = _a.fileExists, uploadSuccess = _a.uploadSuccess, onSuccess = _a.onSuccess;
|
|
105
|
+
var title = _a.title, subTitle = _a.subTitle, description = _a.description, error = _a.error, uploadingTitle = _a.uploadingTitle, successTitle = _a.successTitle, progress = _a.progress, uploading = _a.uploading, fileExists = _a.fileExists, uploadSuccess = _a.uploadSuccess, onSuccess = _a.onSuccess, multiple = _a.multiple;
|
|
106
106
|
var _b = React.useState(false), dragActive = _b[0], setDragActive = _b[1];
|
|
107
107
|
var _c = React.useState(false), showDone = _c[0], setShowDone = _c[1];
|
|
108
108
|
var _d = useDropzone({
|
|
109
|
-
maxFiles: 1,
|
|
109
|
+
maxFiles: multiple ? undefined : 1,
|
|
110
110
|
noKeyboard: true,
|
|
111
111
|
noClick: false,
|
|
112
|
-
multiple: false,
|
|
112
|
+
multiple: multiple || false,
|
|
113
113
|
onDragOver: function () {
|
|
114
114
|
if (!dragActive)
|
|
115
115
|
setDragActive(true);
|
|
@@ -118,7 +118,7 @@ var DragAndDrop = function (_a) {
|
|
|
118
118
|
setDragActive(false);
|
|
119
119
|
},
|
|
120
120
|
onDrop: function (files) {
|
|
121
|
-
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(files
|
|
121
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(files);
|
|
122
122
|
setDragActive(false);
|
|
123
123
|
}
|
|
124
124
|
}), getRootProps = _d.getRootProps, getInputProps = _d.getInputProps;
|