@globalpayments/js 4.1.1 → 4.1.6
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 -6
- package/types/apm/non-card-payments/contracts.d.ts +1 -0
- package/types/internal/built-in-validations/constants.d.ts +1 -0
- package/types/internal/built-in-validations/helpers.d.ts +2 -0
- package/types/internal/lib/bank-selection/available-banks-data.d.ts +2 -0
- package/types/internal/lib/bank-selection/contracts.d.ts +56 -0
- package/types/internal/lib/bank-selection/helpers.d.ts +5 -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/currency-conversion/common.d.ts +13 -0
- package/types/internal/lib/styles/currency-conversion/default.d.ts +17 -0
- package/types/internal/lib/styles/currency-conversion/gp-default.d.ts +13 -0
- package/types/internal/lib/styles/currency-conversion/simple.d.ts +13 -0
- package/types/internal/lib/styles/default.d.ts +115 -8
- package/types/internal/lib/styles/gp-default.d.ts +111 -8
- 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 +78 -0
- package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +159 -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/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/fr.d.ts +13 -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/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 +7 -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 +339 -116
- 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 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;
|
|
@@ -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.6";
|
|
2
2
|
export default _default;
|
|
@@ -97,6 +97,13 @@ export interface IConfiguration extends IDictionary {
|
|
|
97
97
|
enabled?: boolean;
|
|
98
98
|
characterValidation?: string;
|
|
99
99
|
};
|
|
100
|
+
orderInformation?: {
|
|
101
|
+
enabled?: boolean;
|
|
102
|
+
merchantName: string;
|
|
103
|
+
orderTotalAmount: string;
|
|
104
|
+
orderReference: string;
|
|
105
|
+
currencyCode: string;
|
|
106
|
+
};
|
|
100
107
|
}
|
|
101
108
|
declare const _default: (options: IConfiguration) => void;
|
|
102
109
|
/**
|