@tap-payments/os-micro-frontend-shared 0.1.301 → 0.1.303
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/components/TableCells/CustomCells/AuthenticationStatusCell/constant.d.ts +2 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +6 -4
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.d.ts +5 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.d.ts +5 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.d.ts +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.d.ts +8 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.d.ts +9 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.d.ts +5 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/index.js +2 -0
- package/build/components/VerificationIcon/VerificationIcon.d.ts +5 -0
- package/build/components/VerificationIcon/VerificationIcon.js +7 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.d.ts +5 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
- package/build/components/VerificationIcon/constant.d.ts +2 -0
- package/build/components/VerificationIcon/constant.js +18 -0
- package/build/components/VerificationIcon/index.d.ts +3 -0
- package/build/components/VerificationIcon/index.js +3 -0
- package/build/components/VerificationIcon/type.d.ts +2 -0
- package/build/components/VerificationIcon/type.js +1 -0
- package/build/components/index.d.ts +1 -0
- package/build/components/index.js +1 -0
- package/build/constants/assets.d.ts +5 -0
- package/build/constants/assets.js +5 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/reports.d.ts +12 -0
- package/build/constants/reports.js +52 -0
- package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +5 -0
- package/build/constants/table/cell/authenticationsTableCellWidth.js +5 -0
- package/build/types/index.d.ts +1 -0
- package/build/types/index.js +1 -0
- package/build/types/reports.d.ts +6 -0
- package/build/types/reports.js +7 -0
- package/package.json +1 -1
|
@@ -3,12 +3,14 @@ export declare const authenticationStatusIcons: {
|
|
|
3
3
|
PENDING: string;
|
|
4
4
|
INITIATED: string;
|
|
5
5
|
ATTEMPTED: string;
|
|
6
|
+
EXEMPTED: string;
|
|
6
7
|
EXEMPTED_WITH_TRANSACTION: string;
|
|
7
8
|
EXEMPTED_WITHOUT_TRANSACTION: string;
|
|
8
9
|
REJECTED: string;
|
|
9
10
|
UNAVAILABLE: string;
|
|
10
11
|
UNDETERMINED: string;
|
|
11
12
|
SUCCESS: string;
|
|
13
|
+
AUTHENTICATED: string;
|
|
12
14
|
AUTHENTICATED_WITH_TRANSACTION: string;
|
|
13
15
|
AUTHENTICATED_WITHOUT_TRANSACTION: string;
|
|
14
16
|
AUTHENTICATED_AUTHORIZE_FAILED: string;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { authenticationAttemptedIcon, authenticationFailedIcon, authenticationPendingIcon, authenticationUnavailableIcon, authenticationExemptedWithTransactionIcon, authenticationExemptedWithoutTransactionIcon, authenticationWithTransactionIcon, authenticationWithoutTransactionIcon, authenticatedSuccessIcon, authenticationDeclinedIcon, } from '../../../../constants/index.js';
|
|
1
|
+
import { authenticationAttemptedIcon, authenticationFailedIcon, authenticationPendingIcon, authenticationUnavailableIcon, authenticationExemptedWithTransactionIcon, authenticationExemptedWithoutTransactionIcon, authenticationWithTransactionIcon, authenticationWithoutTransactionIcon, authenticatedSuccessIcon, authenticationDeclinedIcon, authenticationUndeterminedIcon, authenticationNoAuthIcon, } from '../../../../constants/index.js';
|
|
2
2
|
import { statusIcons } from '../../../TableCells/CustomCells/StatusCell/constant';
|
|
3
3
|
export const authenticationStatusIcons = {
|
|
4
4
|
FAILED: authenticationFailedIcon,
|
|
5
5
|
PENDING: authenticationPendingIcon,
|
|
6
|
-
INITIATED:
|
|
6
|
+
INITIATED: authenticationNoAuthIcon,
|
|
7
7
|
ATTEMPTED: authenticationAttemptedIcon,
|
|
8
|
+
EXEMPTED: authenticationExemptedWithTransactionIcon,
|
|
8
9
|
EXEMPTED_WITH_TRANSACTION: authenticationExemptedWithTransactionIcon,
|
|
9
10
|
EXEMPTED_WITHOUT_TRANSACTION: authenticationExemptedWithoutTransactionIcon,
|
|
10
11
|
REJECTED: authenticationDeclinedIcon,
|
|
11
12
|
UNAVAILABLE: authenticationUnavailableIcon,
|
|
12
|
-
UNDETERMINED:
|
|
13
|
+
UNDETERMINED: authenticationUndeterminedIcon,
|
|
13
14
|
SUCCESS: authenticatedSuccessIcon,
|
|
15
|
+
AUTHENTICATED: authenticationWithTransactionIcon,
|
|
14
16
|
AUTHENTICATED_WITH_TRANSACTION: authenticationWithTransactionIcon,
|
|
15
17
|
AUTHENTICATED_WITHOUT_TRANSACTION: authenticationWithoutTransactionIcon,
|
|
16
|
-
AUTHENTICATED_AUTHORIZE_FAILED:
|
|
18
|
+
AUTHENTICATED_AUTHORIZE_FAILED: authenticationFailedIcon,
|
|
17
19
|
};
|
|
18
20
|
export const chargeStatusIcons = statusIcons;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import TableCell from '../../TableCell';
|
|
14
|
+
import { providerIcons } from './constants';
|
|
15
|
+
import { ProviderChip, ProviderIcon } from './style';
|
|
16
|
+
export default function ProviderCell(_a) {
|
|
17
|
+
var { provider } = _a, props = __rest(_a, ["provider"]);
|
|
18
|
+
const iconUrl = providerIcons[provider];
|
|
19
|
+
if (!iconUrl) {
|
|
20
|
+
return _jsx(TableCell, Object.assign({}, props, { children: provider }));
|
|
21
|
+
}
|
|
22
|
+
return (_jsx(ProviderChip, { children: _jsx(ProviderIcon, { src: iconUrl, alt: provider }) }));
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { cyberSourceProviderIcon, MPGSProviderIcon, NETCETERAProviderIcon, TAP3DSPROVIDERIcon } from '../../../../constants/index.js';
|
|
2
|
+
export const providerIcons = {
|
|
3
|
+
CYBERSOURCE: cyberSourceProviderIcon,
|
|
4
|
+
MPGS: MPGSProviderIcon,
|
|
5
|
+
NETCETERA: NETCETERAProviderIcon,
|
|
6
|
+
TAP3DS: TAP3DSPROVIDERIcon,
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ProviderChip: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const ProviderIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { styled } from '@mui/material';
|
|
2
|
+
import Box from '@mui/material/Box';
|
|
3
|
+
export const ProviderChip = styled(Box)(({ theme }) => ({
|
|
4
|
+
display: 'flex',
|
|
5
|
+
alignItems: 'center',
|
|
6
|
+
justifyContent: 'center',
|
|
7
|
+
width: '86px',
|
|
8
|
+
height: '24px',
|
|
9
|
+
gap: '8px',
|
|
10
|
+
padding: '4px 8px',
|
|
11
|
+
borderRadius: '24px',
|
|
12
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
13
|
+
backgroundColor: theme.palette.background.paper,
|
|
14
|
+
}));
|
|
15
|
+
export const ProviderIcon = styled('img')(() => ({
|
|
16
|
+
width: '100%',
|
|
17
|
+
height: '100%',
|
|
18
|
+
objectFit: 'contain',
|
|
19
|
+
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { purposeIcons, purposeLabels } from './constants';
|
|
14
|
+
import { PurposeChip, PurposeIcon, PurposeLabel } from './style';
|
|
15
|
+
export default function PurposeCell(_a) {
|
|
16
|
+
var { purpose } = _a, props = __rest(_a, ["purpose"]);
|
|
17
|
+
const purposeIcon = purposeIcons[purpose];
|
|
18
|
+
const purposeLabel = purposeLabels[purpose];
|
|
19
|
+
return (_jsxs(PurposeChip, Object.assign({ purposeType: purpose }, props, { children: [_jsx(PurposeIcon, { src: purposeIcon, alt: purpose }), _jsx(PurposeLabel, { children: purposeLabel })] })));
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type PurposeType = 'CHARGE' | 'AUTHORIZE';
|
|
2
|
+
export declare const purposeIcons: Record<PurposeType, string>;
|
|
3
|
+
export declare const purposeLabels: Record<PurposeType, string>;
|
|
4
|
+
export declare const purposeStyles: Record<PurposeType, {
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
color: string;
|
|
7
|
+
border: string;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { authorizedIcon, babyBlueCheckIcon } from '../../../../constants/index.js';
|
|
2
|
+
export const purposeIcons = {
|
|
3
|
+
CHARGE: babyBlueCheckIcon,
|
|
4
|
+
AUTHORIZE: authorizedIcon,
|
|
5
|
+
};
|
|
6
|
+
export const purposeLabels = {
|
|
7
|
+
CHARGE: 'Charge',
|
|
8
|
+
AUTHORIZE: 'Authorization',
|
|
9
|
+
};
|
|
10
|
+
export const purposeStyles = {
|
|
11
|
+
CHARGE: {
|
|
12
|
+
backgroundColor: '#1F88D01A',
|
|
13
|
+
color: '#1F88D0',
|
|
14
|
+
border: 'none',
|
|
15
|
+
},
|
|
16
|
+
AUTHORIZE: {
|
|
17
|
+
backgroundColor: '#FFFFFF',
|
|
18
|
+
color: '#1F88D0',
|
|
19
|
+
border: '#1F88D01A',
|
|
20
|
+
},
|
|
21
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PurposeType } from './constants';
|
|
3
|
+
export declare const PurposeChip: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
6
|
+
purposeType: PurposeType;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
export declare const PurposeIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
9
|
+
export declare const PurposeLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { styled } from '@mui/material';
|
|
2
|
+
import Box from '@mui/material/Box';
|
|
3
|
+
import { purposeStyles } from './constants';
|
|
4
|
+
export const PurposeChip = styled(Box, {
|
|
5
|
+
shouldForwardProp: (prop) => !['purposeType'].includes(prop),
|
|
6
|
+
})(({ purposeType }) => {
|
|
7
|
+
const styles = purposeStyles[purposeType];
|
|
8
|
+
return {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
gap: '4px',
|
|
13
|
+
width: 'fit-content',
|
|
14
|
+
minWidth: '86px',
|
|
15
|
+
height: '24px',
|
|
16
|
+
padding: '4px 8px',
|
|
17
|
+
borderRadius: '24px',
|
|
18
|
+
border: `1px solid ${styles.border}`,
|
|
19
|
+
backgroundColor: styles.backgroundColor,
|
|
20
|
+
color: styles.color,
|
|
21
|
+
fontSize: '11px',
|
|
22
|
+
fontWeight: 400,
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
export const PurposeIcon = styled('img')(() => ({
|
|
26
|
+
width: '16px',
|
|
27
|
+
height: '16px',
|
|
28
|
+
objectFit: 'contain',
|
|
29
|
+
flexShrink: 0,
|
|
30
|
+
}));
|
|
31
|
+
export const PurposeLabel = styled('span')(() => ({
|
|
32
|
+
whiteSpace: 'nowrap',
|
|
33
|
+
overflow: 'hidden',
|
|
34
|
+
textOverflow: 'ellipsis',
|
|
35
|
+
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import startCase from 'lodash/startCase';
|
|
3
|
+
import { Tooltip } from '../index.js';
|
|
4
|
+
import { statusIcon } from './constant';
|
|
5
|
+
export const VerificationIcon = ({ status }) => {
|
|
6
|
+
return (_jsx(Tooltip, Object.assign({ title: startCase(status) }, { children: _jsx("img", { loading: "lazy", src: statusIcon[((status === null || status === void 0 ? void 0 : status.toLowerCase()) || '')] || statusIcon.default, alt: status, width: 10.5, height: 10.5 }) })));
|
|
7
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import startCase from 'lodash/startCase';
|
|
3
|
+
import { Box, Tooltip } from '@mui/material';
|
|
4
|
+
import { statusIcon, statusIconBG } from './constant';
|
|
5
|
+
export const VerificationIconWithBg = ({ status }) => {
|
|
6
|
+
return (_jsx(Tooltip, Object.assign({ title: startCase(status) }, { children: _jsx(Box, Object.assign({ component: "li", sx: {
|
|
7
|
+
display: 'flex',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
justifyContent: 'center',
|
|
10
|
+
width: '24px',
|
|
11
|
+
height: '24px',
|
|
12
|
+
borderRadius: '50%',
|
|
13
|
+
backgroundColor: statusIconBG[status],
|
|
14
|
+
} }, { children: _jsx("img", { loading: "lazy", src: statusIcon[((status === null || status === void 0 ? void 0 : status.toLowerCase()) || '')] || statusIcon.default, alt: status, width: 10.5, height: 10.5 }) })) })));
|
|
15
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { blueVerifyIcon, grayVerifyIcon, greenVerifyIcon, redVerifyIcon } from '../../constants/index.js';
|
|
2
|
+
export const statusIcon = {
|
|
3
|
+
verified: greenVerifyIcon,
|
|
4
|
+
reviewed: blueVerifyIcon,
|
|
5
|
+
completed: blueVerifyIcon,
|
|
6
|
+
incomplete: grayVerifyIcon,
|
|
7
|
+
complete: blueVerifyIcon,
|
|
8
|
+
rejected: redVerifyIcon,
|
|
9
|
+
default: grayVerifyIcon,
|
|
10
|
+
};
|
|
11
|
+
export const statusIconBG = {
|
|
12
|
+
incomplete: '#D9D9D929',
|
|
13
|
+
completed: '#11D0FA29',
|
|
14
|
+
complete: '#11D0FA29',
|
|
15
|
+
reviewed: '#11D0FA29',
|
|
16
|
+
verified: '#2ACE0029',
|
|
17
|
+
rejected: '#FF3D0029',
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -324,10 +324,15 @@ export declare const authenticationExemptedWithTransactionIcon: string;
|
|
|
324
324
|
export declare const authenticationFailedIcon: string;
|
|
325
325
|
export declare const authenticationInitiatedIcon: string;
|
|
326
326
|
export declare const authenticationUnavailableIcon: string;
|
|
327
|
+
export declare const authenticationUndeterminedIcon: string;
|
|
327
328
|
export declare const authenticationWithoutTransactionIcon: string;
|
|
328
329
|
export declare const authenticationWithTransactionIcon: string;
|
|
329
330
|
export declare const authenticatedSuccessIcon: string;
|
|
330
331
|
export declare const authenticationPendingIcon: string;
|
|
332
|
+
export declare const cyberSourceProviderIcon: string;
|
|
333
|
+
export declare const MPGSProviderIcon: string;
|
|
334
|
+
export declare const NETCETERAProviderIcon: string;
|
|
335
|
+
export declare const TAP3DSPROVIDERIcon: string;
|
|
331
336
|
export declare const viewInvoiceIcon: string;
|
|
332
337
|
export declare const checkoutStatusIcon: string;
|
|
333
338
|
export declare const checkoutStatusBlueIcon: string;
|
|
@@ -330,10 +330,15 @@ export const authenticationExemptedWithTransactionIcon = `${lightUrl}/status/aut
|
|
|
330
330
|
export const authenticationFailedIcon = `${lightUrl}/status/authenticationFailed1.svg`;
|
|
331
331
|
export const authenticationInitiatedIcon = `${lightUrl}/status/authenticationInitiated.svg`;
|
|
332
332
|
export const authenticationUnavailableIcon = `${lightUrl}/status/authenticationUnavailable.svg`;
|
|
333
|
+
export const authenticationUndeterminedIcon = `${lightUrl}/status/authenticationUndetermined.svg`;
|
|
333
334
|
export const authenticationWithoutTransactionIcon = `${lightUrl}/status/AuthenticationWithoutTransaction1.svg`;
|
|
334
335
|
export const authenticationWithTransactionIcon = `${lightUrl}/status/authenticationWithTransaction1 2.svg`;
|
|
335
336
|
export const authenticatedSuccessIcon = `${lightUrl}/status/AuthenticationAuthenticated.svg`;
|
|
336
337
|
export const authenticationPendingIcon = `${lightUrl}/status/authenticationPending2.svg`;
|
|
338
|
+
export const cyberSourceProviderIcon = `${lightUrl}/provider/CYBERSOURCE.svg`;
|
|
339
|
+
export const MPGSProviderIcon = `${lightUrl}/provider/MPGS.svg`;
|
|
340
|
+
export const NETCETERAProviderIcon = `${lightUrl}/provider/NETCETERA.svg`;
|
|
341
|
+
export const TAP3DSPROVIDERIcon = `${lightUrl}/provider/TAP3DS.svg`;
|
|
337
342
|
export const viewInvoiceIcon = `${appBaseUrl}/viewInvoice.svg`;
|
|
338
343
|
export const checkoutStatusIcon = `${appBaseUrl}/checkoutStatus.svg`;
|
|
339
344
|
export const checkoutStatusBlueIcon = `${appBaseUrl}/checkStatusOutBlue.svg`;
|
package/build/constants/index.js
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { APP_CODES } from './apps';
|
|
2
|
+
import { acceptanceAppIcon, billingAppIcon, payoutsAppIcon, walletAppIcon } from './assets';
|
|
3
|
+
export const filtersTypeMap = {
|
|
4
|
+
[APP_CODES.acceptance.services.charges.code]: ['CHARGE'],
|
|
5
|
+
[APP_CODES.acceptance.services.authorization.code]: ['AUTHORIZE'],
|
|
6
|
+
[APP_CODES.acceptance.services.refunds.code]: ['REFUND'],
|
|
7
|
+
[APP_CODES.acceptance.services.chargeback.code]: ['CHARGEBACKS'],
|
|
8
|
+
[APP_CODES.acceptance.services.destinations.code]: ['DESTINATIONS'],
|
|
9
|
+
[APP_CODES.acceptance.code]: ['CHARGE', 'AUTHORIZE', 'REFUND', 'CHARGEBACKS', 'DESTINATIONS'],
|
|
10
|
+
[APP_CODES.payouts.code]: ['PAYOUT'],
|
|
11
|
+
[APP_CODES.wallet.code]: ['STATEMENT', 'STATEMENT_SUMMARY'],
|
|
12
|
+
[APP_CODES.billing.code]: ['INVOICE'],
|
|
13
|
+
[APP_CODES.payouts.services.payouts.code]: ['PAYOUT'],
|
|
14
|
+
[APP_CODES.wallet.services.merchants.functions.statement.code]: ['STATEMENT'],
|
|
15
|
+
[APP_CODES.wallet.services.merchants.functions.summary.code]: ['STATEMENT_SUMMARY'],
|
|
16
|
+
[APP_CODES.billing.services.invoices.code]: ['INVOICE'],
|
|
17
|
+
};
|
|
18
|
+
export const REPORTS_APPS = [
|
|
19
|
+
{
|
|
20
|
+
code: APP_CODES.billing.code,
|
|
21
|
+
name: 'Billing',
|
|
22
|
+
icon: billingAppIcon,
|
|
23
|
+
services: [{ name: 'Invoices', code: 'INVOICE' }],
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
code: APP_CODES.acceptance.code,
|
|
27
|
+
name: 'Acceptance',
|
|
28
|
+
icon: acceptanceAppIcon,
|
|
29
|
+
services: [
|
|
30
|
+
{ name: 'Authorisations', code: 'AUTHORIZE' },
|
|
31
|
+
{ name: 'Charges', code: 'CHARGE' },
|
|
32
|
+
{ name: 'Refunds', code: 'REFUND' },
|
|
33
|
+
{ name: 'Chargebacks', code: 'CHARGEBACKS' },
|
|
34
|
+
{ name: 'Destinations', code: 'DESTINATIONS' },
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
code: APP_CODES.wallet.code,
|
|
39
|
+
name: 'Wallet',
|
|
40
|
+
icon: walletAppIcon,
|
|
41
|
+
services: [
|
|
42
|
+
{ name: 'Aggregated Statement', code: 'STATEMENT_SUMMARY' },
|
|
43
|
+
{ name: 'Detailed Statement', code: 'STATEMENT' },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
code: APP_CODES.payouts.code,
|
|
48
|
+
name: 'Payouts',
|
|
49
|
+
icon: payoutsAppIcon,
|
|
50
|
+
services: [{ name: 'Payouts', code: 'PAYOUT' }],
|
|
51
|
+
},
|
|
52
|
+
];
|
|
@@ -49,6 +49,11 @@ export declare const authenticationsTableCellWidth: {
|
|
|
49
49
|
readonly text: "250px";
|
|
50
50
|
readonly sheet: "250px";
|
|
51
51
|
};
|
|
52
|
+
readonly authentication_id: {
|
|
53
|
+
readonly default: "290px";
|
|
54
|
+
readonly text: "290px";
|
|
55
|
+
readonly sheet: "290px";
|
|
56
|
+
};
|
|
52
57
|
readonly actions: {
|
|
53
58
|
readonly default: "100px";
|
|
54
59
|
readonly text: "100px";
|
package/build/types/index.d.ts
CHANGED
package/build/types/index.js
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var ReportStatusEnum;
|
|
2
|
+
(function (ReportStatusEnum) {
|
|
3
|
+
ReportStatusEnum["COMPLETED"] = "COMPLETED";
|
|
4
|
+
ReportStatusEnum["FAILED"] = "FAILED";
|
|
5
|
+
ReportStatusEnum["PROCESSING"] = "PROCESSING";
|
|
6
|
+
ReportStatusEnum["INITIATED"] = "INITIATED";
|
|
7
|
+
})(ReportStatusEnum || (ReportStatusEnum = {}));
|
package/package.json
CHANGED