@globalpayments/js 4.1.3 → 4.1.7
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/README.md +1 -1
- package/package.json +1 -1
- package/types/apm/non-card-payments/contracts.d.ts +1 -0
- package/types/internal/built-in-validations/constants.d.ts +2 -0
- package/types/internal/built-in-validations/helpers.d.ts +3 -0
- package/types/internal/lib/bank-selection/available-banks-data.d.ts +3 -0
- package/types/internal/lib/bank-selection/contracts.d.ts +71 -0
- package/types/internal/lib/bank-selection/helpers.d.ts +6 -0
- package/types/internal/lib/enums.d.ts +6 -2
- package/types/internal/lib/order-information/constants.d.ts +1 -0
- package/types/internal/lib/order-information/contracts.d.ts +6 -0
- package/types/internal/lib/styles/bank-selection/common.d.ts +52 -0
- package/types/internal/lib/styles/default.d.ts +98 -8
- package/types/internal/lib/styles/gp-default.d.ts +102 -12
- package/types/internal/lib/styles/order-information/common.d.ts +19 -0
- package/types/internal/lib/styles/payment-methods/common.d.ts +33 -8
- package/types/internal/lib/styles/payment-methods/open-banking.d.ts +33 -8
- package/types/internal/lib/styles/simple.d.ts +65 -0
- package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +146 -8
- package/types/internal/lib/styles/themes/brand-themes/base/base-token-definition.d.ts +24 -0
- package/types/internal/lib/styles/themes/brand-themes/base/contracts.d.ts +14 -0
- package/types/internal/lib/styles/themes/helpers.d.ts +1 -0
- package/types/internal/lib/translations/cs.d.ts +14 -0
- package/types/internal/lib/translations/de.d.ts +13 -0
- package/types/internal/lib/translations/el.d.ts +13 -0
- package/types/internal/lib/translations/en.d.ts +8 -0
- package/types/internal/lib/translations/es.d.ts +7 -0
- package/types/internal/lib/translations/et.d.ts +108 -0
- package/types/internal/lib/translations/fr.d.ts +13 -0
- package/types/internal/lib/translations/ga.d.ts +108 -0
- package/types/internal/lib/translations/hr.d.ts +13 -0
- package/types/internal/lib/translations/hu.d.ts +13 -0
- package/types/internal/lib/translations/it.d.ts +13 -0
- package/types/internal/lib/translations/ja.d.ts +13 -0
- package/types/internal/lib/translations/lv.d.ts +108 -0
- package/types/internal/lib/translations/mt.d.ts +13 -0
- package/types/internal/lib/translations/nl.d.ts +13 -0
- package/types/internal/lib/translations/pl.d.ts +14 -0
- package/types/internal/lib/translations/pt.d.ts +13 -0
- package/types/internal/lib/translations/ro.d.ts +13 -0
- package/types/internal/lib/translations/ru.d.ts +13 -0
- package/types/internal/lib/translations/sk.d.ts +14 -0
- package/types/internal/lib/translations/sl.d.ts +13 -0
- package/types/internal/lib/translations/sv.d.ts +13 -0
- package/types/internal/lib/translations/tr.d.ts +13 -0
- package/types/internal/lib/translations/uk.d.ts +13 -0
- package/types/internal/lib/translations/vi.d.ts +13 -0
- package/types/internal/lib/translations/zh.d.ts +3 -0
- package/types/lib/version.d.ts +1 -1
- package/types/tools/configure.d.ts +8 -0
- package/types/ui/components/bank-selection/action-add-bank-selection.d.ts +3 -0
- package/types/ui/components/order-information/action-add-order-information.d.ts +2 -0
- package/types/ui/form/index.d.ts +308 -121
- package/types/ui/iframe-field/payment-methods/action-add.d.ts +1 -1
- package/types/apm/qr-code-payments/components/redirect-action-handler.d.ts +0 -1
- package/types/apm/qr-code-payments/constants.d.ts +0 -1
- package/types/apm/qr-code-payments/enums.d.ts +0 -10
- package/types/internal/gateways/gp-api/get-qr-code-payment-methods.d.ts +0 -3
- package/types/internal/lib/styles/apple-pay/default.d.ts +0 -12
- package/types/internal/lib/styles/apple-pay/gp-default.d.ts +0 -12
- package/types/internal/lib/styles/apple-pay/simple.d.ts +0 -12
- package/types/internal/lib/styles/google-pay/default.d.ts +0 -7
- package/types/internal/lib/styles/google-pay/gp-default.d.ts +0 -7
- package/types/internal/lib/styles/google-pay/simple.d.ts +0 -7
- package/types/internal/lib/styles/qr-code-payments/common.d.ts +0 -151
- package/types/ui/iframe-field/action-accumulate-installment-data.d.ts +0 -3
- package/types/ui/iframe-field/action-add-apple-pay.d.ts +0 -2
- package/types/ui/iframe-field/action-add-click-to-pay.d.ts +0 -2
- package/types/ui/iframe-field/action-add-google-pay.d.ts +0 -2
- package/types/ui/iframe-field/action-add-installments.d.ts +0 -3
- package/types/ui/iframe-field/action-add-open-banking.d.ts +0 -2
- package/types/ui/iframe-field/action-add-qr-code-payment-methods.d.ts +0 -3
- package/types/ui/iframe-field/action-card-request-installments.d.ts +0 -6
- package/types/ui/iframe-field/action-qr-code-payment-methods-request-start.d.ts +0 -6
- package/types/ui/iframe-field/action-request-installment-data.d.ts +0 -3
- package/types/ui/iframe-field/open-banking/action-add.d.ts +0 -2
|
@@ -49,10 +49,23 @@ declare const hr: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default hr;
|
|
@@ -49,10 +49,23 @@ declare const hu: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default hu;
|
|
@@ -49,10 +49,23 @@ declare const it: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default it;
|
|
@@ -49,10 +49,23 @@ declare const ja: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default ja;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const en: {
|
|
2
|
+
labels: {
|
|
3
|
+
"card-number": string;
|
|
4
|
+
"card-expiration": string;
|
|
5
|
+
"card-cvv": string;
|
|
6
|
+
"card-holder-name": string;
|
|
7
|
+
submit: string;
|
|
8
|
+
};
|
|
9
|
+
values: {
|
|
10
|
+
"card-track": string;
|
|
11
|
+
submit: string;
|
|
12
|
+
};
|
|
13
|
+
validationMessages: {
|
|
14
|
+
CardNumber: {
|
|
15
|
+
Required: string;
|
|
16
|
+
CharactersLessThan12: string;
|
|
17
|
+
NumberIsNotValid: string;
|
|
18
|
+
NotAllowedCardType: string;
|
|
19
|
+
};
|
|
20
|
+
CardExpiration: {
|
|
21
|
+
NotCompleted: string;
|
|
22
|
+
YearNotValid: string;
|
|
23
|
+
MonthNotValid: string;
|
|
24
|
+
ExpiryDateNotValid: string;
|
|
25
|
+
};
|
|
26
|
+
CardCvv: {
|
|
27
|
+
CodeIsNotValid: string;
|
|
28
|
+
CodeIsLessThan3Digits: string;
|
|
29
|
+
CodeMustBe3Digits: string;
|
|
30
|
+
AmexCodeMustBe4Digits: string;
|
|
31
|
+
};
|
|
32
|
+
CardHolderName: {
|
|
33
|
+
NotValidCardHolderName: string;
|
|
34
|
+
CharactersMoreThan100: string;
|
|
35
|
+
};
|
|
36
|
+
CurrencyConversion: {
|
|
37
|
+
Required: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
footer: {
|
|
41
|
+
"ssl-msg-alt": string;
|
|
42
|
+
"ssl-msg": string;
|
|
43
|
+
"security-msg-alt": string;
|
|
44
|
+
"security-msg": string;
|
|
45
|
+
};
|
|
46
|
+
tooltip: {
|
|
47
|
+
title: string;
|
|
48
|
+
"aria-label": string;
|
|
49
|
+
text: string;
|
|
50
|
+
};
|
|
51
|
+
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
scanRqCode: string;
|
|
54
|
+
payInApp: string;
|
|
55
|
+
amount: {
|
|
56
|
+
"aria-label": string;
|
|
57
|
+
};
|
|
58
|
+
qrImage: {
|
|
59
|
+
alt: string;
|
|
60
|
+
"aria-label": string;
|
|
61
|
+
};
|
|
62
|
+
timer: {
|
|
63
|
+
text: string;
|
|
64
|
+
minutes: string;
|
|
65
|
+
seconds: string;
|
|
66
|
+
"icon-alt": string;
|
|
67
|
+
};
|
|
68
|
+
expiredScreen: {
|
|
69
|
+
title: string;
|
|
70
|
+
alt: string;
|
|
71
|
+
text: string;
|
|
72
|
+
};
|
|
73
|
+
button: {
|
|
74
|
+
text: string;
|
|
75
|
+
"aria-label": string;
|
|
76
|
+
};
|
|
77
|
+
loading: string;
|
|
78
|
+
redirectScreen: {
|
|
79
|
+
redirectingToPaymentPageMessage: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
apms: {
|
|
83
|
+
button: {
|
|
84
|
+
getAriaLabel: (paymentMethod: string) => string;
|
|
85
|
+
};
|
|
86
|
+
redirectToBank: string;
|
|
87
|
+
};
|
|
88
|
+
dcc: {
|
|
89
|
+
label: string;
|
|
90
|
+
additionalInfo: (currency: string, exchangeRate: string, payerCurrency: string, marginRatePercentage: string) => string;
|
|
91
|
+
cardCurrency: {
|
|
92
|
+
tooltip: (payerCurrency: string, exchangeRateSource: string, exchangeRateTimeCreated: string) => string;
|
|
93
|
+
"aria-label": string;
|
|
94
|
+
};
|
|
95
|
+
merchantCurrency: {
|
|
96
|
+
tooltip: (exchangeRateSource: string, exchangeRateTimeCreated: string) => string;
|
|
97
|
+
"aria-label": string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
orderInformation: {
|
|
101
|
+
amount: string;
|
|
102
|
+
orderReference: string;
|
|
103
|
+
};
|
|
104
|
+
bankSelection: {
|
|
105
|
+
pleaseSelectYourPreferredBank: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
export default en;
|
|
@@ -49,10 +49,23 @@ declare const mt: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default mt;
|
|
@@ -49,10 +49,23 @@ declare const nl: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default nl;
|
|
@@ -49,10 +49,24 @@ declare const en: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
61
|
+
getImageUrl: (assetBaseUrl: string) => string;
|
|
55
62
|
};
|
|
56
63
|
};
|
|
64
|
+
orderInformation: {
|
|
65
|
+
amount: string;
|
|
66
|
+
orderReference: string;
|
|
67
|
+
};
|
|
68
|
+
bankSelection: {
|
|
69
|
+
pleaseSelectYourPreferredBank: string;
|
|
70
|
+
};
|
|
57
71
|
};
|
|
58
72
|
export default en;
|
|
@@ -49,10 +49,23 @@ declare const pt: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default pt;
|
|
@@ -49,10 +49,23 @@ declare const ro: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default ro;
|
|
@@ -49,10 +49,23 @@ declare const ru: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default ru;
|
|
@@ -49,10 +49,24 @@ declare const sk: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
61
|
+
getImageUrl: (assetBaseUrl: string) => string;
|
|
55
62
|
};
|
|
56
63
|
};
|
|
64
|
+
orderInformation: {
|
|
65
|
+
amount: string;
|
|
66
|
+
orderReference: string;
|
|
67
|
+
};
|
|
68
|
+
bankSelection: {
|
|
69
|
+
pleaseSelectYourPreferredBank: string;
|
|
70
|
+
};
|
|
57
71
|
};
|
|
58
72
|
export default sk;
|
|
@@ -49,10 +49,23 @@ declare const sl: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default sl;
|
|
@@ -49,10 +49,23 @@ declare const sv: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default sv;
|
|
@@ -49,10 +49,23 @@ declare const tr: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default tr;
|
|
@@ -49,10 +49,23 @@ declare const uk: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default uk;
|
|
@@ -49,10 +49,23 @@ declare const vi: {
|
|
|
49
49
|
text: string;
|
|
50
50
|
};
|
|
51
51
|
"other-cards-label": string;
|
|
52
|
+
QR: {
|
|
53
|
+
button: {
|
|
54
|
+
text: string;
|
|
55
|
+
"aria-label": string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
52
58
|
apms: {
|
|
53
59
|
button: {
|
|
54
60
|
getAriaLabel: (paymentMethod: string) => string;
|
|
55
61
|
};
|
|
56
62
|
};
|
|
63
|
+
orderInformation: {
|
|
64
|
+
amount: string;
|
|
65
|
+
orderReference: string;
|
|
66
|
+
};
|
|
67
|
+
bankSelection: {
|
|
68
|
+
pleaseSelectYourPreferredBank: string;
|
|
69
|
+
};
|
|
57
70
|
};
|
|
58
71
|
export default vi;
|
package/types/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.1.
|
|
1
|
+
declare const _default: "4.1.7";
|
|
2
2
|
export default _default;
|
|
@@ -30,6 +30,7 @@ export interface IConfiguration extends IDictionary {
|
|
|
30
30
|
nonCardPayments?: IApmConfiguration;
|
|
31
31
|
countryCode?: string;
|
|
32
32
|
currencyCode?: string;
|
|
33
|
+
acquirer?: string;
|
|
33
34
|
applePay?: {
|
|
34
35
|
allowedAuthMethods?: string[];
|
|
35
36
|
allowedCardNetworks?: string[];
|
|
@@ -97,6 +98,13 @@ export interface IConfiguration extends IDictionary {
|
|
|
97
98
|
enabled?: boolean;
|
|
98
99
|
characterValidation?: string;
|
|
99
100
|
};
|
|
101
|
+
orderInformation?: {
|
|
102
|
+
enabled?: boolean;
|
|
103
|
+
merchantName: string;
|
|
104
|
+
orderTotalAmount: string;
|
|
105
|
+
orderReference: string;
|
|
106
|
+
currencyCode: string;
|
|
107
|
+
};
|
|
100
108
|
}
|
|
101
109
|
declare const _default: (options: IConfiguration) => void;
|
|
102
110
|
/**
|