@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.
Files changed (76) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/types/apm/non-card-payments/contracts.d.ts +1 -0
  4. package/types/internal/built-in-validations/constants.d.ts +2 -0
  5. package/types/internal/built-in-validations/helpers.d.ts +3 -0
  6. package/types/internal/lib/bank-selection/available-banks-data.d.ts +3 -0
  7. package/types/internal/lib/bank-selection/contracts.d.ts +71 -0
  8. package/types/internal/lib/bank-selection/helpers.d.ts +6 -0
  9. package/types/internal/lib/enums.d.ts +6 -2
  10. package/types/internal/lib/order-information/constants.d.ts +1 -0
  11. package/types/internal/lib/order-information/contracts.d.ts +6 -0
  12. package/types/internal/lib/styles/bank-selection/common.d.ts +52 -0
  13. package/types/internal/lib/styles/default.d.ts +98 -8
  14. package/types/internal/lib/styles/gp-default.d.ts +102 -12
  15. package/types/internal/lib/styles/order-information/common.d.ts +19 -0
  16. package/types/internal/lib/styles/payment-methods/common.d.ts +33 -8
  17. package/types/internal/lib/styles/payment-methods/open-banking.d.ts +33 -8
  18. package/types/internal/lib/styles/simple.d.ts +65 -0
  19. package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +146 -8
  20. package/types/internal/lib/styles/themes/brand-themes/base/base-token-definition.d.ts +24 -0
  21. package/types/internal/lib/styles/themes/brand-themes/base/contracts.d.ts +14 -0
  22. package/types/internal/lib/styles/themes/helpers.d.ts +1 -0
  23. package/types/internal/lib/translations/cs.d.ts +14 -0
  24. package/types/internal/lib/translations/de.d.ts +13 -0
  25. package/types/internal/lib/translations/el.d.ts +13 -0
  26. package/types/internal/lib/translations/en.d.ts +8 -0
  27. package/types/internal/lib/translations/es.d.ts +7 -0
  28. package/types/internal/lib/translations/et.d.ts +108 -0
  29. package/types/internal/lib/translations/fr.d.ts +13 -0
  30. package/types/internal/lib/translations/ga.d.ts +108 -0
  31. package/types/internal/lib/translations/hr.d.ts +13 -0
  32. package/types/internal/lib/translations/hu.d.ts +13 -0
  33. package/types/internal/lib/translations/it.d.ts +13 -0
  34. package/types/internal/lib/translations/ja.d.ts +13 -0
  35. package/types/internal/lib/translations/lv.d.ts +108 -0
  36. package/types/internal/lib/translations/mt.d.ts +13 -0
  37. package/types/internal/lib/translations/nl.d.ts +13 -0
  38. package/types/internal/lib/translations/pl.d.ts +14 -0
  39. package/types/internal/lib/translations/pt.d.ts +13 -0
  40. package/types/internal/lib/translations/ro.d.ts +13 -0
  41. package/types/internal/lib/translations/ru.d.ts +13 -0
  42. package/types/internal/lib/translations/sk.d.ts +14 -0
  43. package/types/internal/lib/translations/sl.d.ts +13 -0
  44. package/types/internal/lib/translations/sv.d.ts +13 -0
  45. package/types/internal/lib/translations/tr.d.ts +13 -0
  46. package/types/internal/lib/translations/uk.d.ts +13 -0
  47. package/types/internal/lib/translations/vi.d.ts +13 -0
  48. package/types/internal/lib/translations/zh.d.ts +3 -0
  49. package/types/lib/version.d.ts +1 -1
  50. package/types/tools/configure.d.ts +8 -0
  51. package/types/ui/components/bank-selection/action-add-bank-selection.d.ts +3 -0
  52. package/types/ui/components/order-information/action-add-order-information.d.ts +2 -0
  53. package/types/ui/form/index.d.ts +308 -121
  54. package/types/ui/iframe-field/payment-methods/action-add.d.ts +1 -1
  55. package/types/apm/qr-code-payments/components/redirect-action-handler.d.ts +0 -1
  56. package/types/apm/qr-code-payments/constants.d.ts +0 -1
  57. package/types/apm/qr-code-payments/enums.d.ts +0 -10
  58. package/types/internal/gateways/gp-api/get-qr-code-payment-methods.d.ts +0 -3
  59. package/types/internal/lib/styles/apple-pay/default.d.ts +0 -12
  60. package/types/internal/lib/styles/apple-pay/gp-default.d.ts +0 -12
  61. package/types/internal/lib/styles/apple-pay/simple.d.ts +0 -12
  62. package/types/internal/lib/styles/google-pay/default.d.ts +0 -7
  63. package/types/internal/lib/styles/google-pay/gp-default.d.ts +0 -7
  64. package/types/internal/lib/styles/google-pay/simple.d.ts +0 -7
  65. package/types/internal/lib/styles/qr-code-payments/common.d.ts +0 -151
  66. package/types/ui/iframe-field/action-accumulate-installment-data.d.ts +0 -3
  67. package/types/ui/iframe-field/action-add-apple-pay.d.ts +0 -2
  68. package/types/ui/iframe-field/action-add-click-to-pay.d.ts +0 -2
  69. package/types/ui/iframe-field/action-add-google-pay.d.ts +0 -2
  70. package/types/ui/iframe-field/action-add-installments.d.ts +0 -3
  71. package/types/ui/iframe-field/action-add-open-banking.d.ts +0 -2
  72. package/types/ui/iframe-field/action-add-qr-code-payment-methods.d.ts +0 -3
  73. package/types/ui/iframe-field/action-card-request-installments.d.ts +0 -6
  74. package/types/ui/iframe-field/action-qr-code-payment-methods-request-start.d.ts +0 -6
  75. package/types/ui/iframe-field/action-request-installment-data.d.ts +0 -3
  76. package/types/ui/iframe-field/open-banking/action-add.d.ts +0 -2
@@ -152,6 +152,71 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
152
152
  };
153
153
  };
154
154
  export declare const parentStyles: (assetBaseUrl: string) => {
155
+ ".bank-selection-wrapper": {
156
+ background: string;
157
+ padding: string;
158
+ };
159
+ ".bank-selection": {
160
+ display: string;
161
+ "align-items": string;
162
+ "flex-flow": string;
163
+ "margin-bottom": string;
164
+ };
165
+ ".bank-selecction-option": {
166
+ width: string;
167
+ height: string;
168
+ cursor: string;
169
+ display: string;
170
+ "align-items": string;
171
+ "justify-content": string;
172
+ "box-shadow": string;
173
+ "margin-right": string;
174
+ "margin-left": string;
175
+ "margin-top": string;
176
+ background: string;
177
+ "border-radius": string;
178
+ "flex-direction": string;
179
+ };
180
+ ".bank-selecction-option::before": {
181
+ content: string;
182
+ width: string;
183
+ height: string;
184
+ position: string;
185
+ "margin-left": string;
186
+ };
187
+ ".bank-selecction-option:hover": {
188
+ border: string;
189
+ };
190
+ ".bank-selecction-option:active": {
191
+ background: string;
192
+ border: string;
193
+ };
194
+ ".qr-code-button": {
195
+ background: string;
196
+ };
197
+ ".title-text": {
198
+ color: string;
199
+ "font-size": string;
200
+ "font-weight": string;
201
+ "line-height": string;
202
+ "font-family": string;
203
+ };
204
+ ".order-information"?: {
205
+ display: string;
206
+ "flex-direction": string;
207
+ "align-items": string;
208
+ "font-family": string;
209
+ };
210
+ ".title-field"?: {
211
+ "font-weight": string;
212
+ "line-height": string;
213
+ "font-size": string;
214
+ };
215
+ ".order-information-field"?: {
216
+ "line-height": string;
217
+ "font-size": string;
218
+ "font-weight": string;
219
+ };
155
220
  ".secure-payment-form .credit-card-currency-conversion legend"?: {
156
221
  "font-family": string;
157
222
  color: string;
@@ -253,9 +253,98 @@ declare const fieldStyles: (assetBaseUrl: string, themePreset?: IThemePreset | u
253
253
  "--hppfooter-tablet": string;
254
254
  "--hppfooter-mobile": string;
255
255
  "--dropin-ui-button-primary-icon": string;
256
+ "--dropInUI-orderSummary-itemMerchant-fontFamily": string;
257
+ "--dropInUI-orderSummary-itemMerchant-font-size-text": string;
258
+ "--dropInUI-orderSummary-itemMerchant-font-weight-text": string | undefined;
259
+ "--dropInUI-orderSummary-itemMerchant-line-height": string;
260
+ "--dropInUI-orderSummary-itemOrderID-font-size-text": string;
261
+ "--dropInUI-orderSummary-itemOrderID-font-weight-text": string;
262
+ "--payWithBank-label-fontFamily": string;
263
+ "--payWithBank-size-text-label": string;
264
+ "--payWithBank-font-weight-text-label": string;
265
+ "--payWithBank-color-label": string;
266
+ "--payWithBank-button-color-icon-redirect-default": string;
267
+ "--payWithBank-button-color-border-hover": string;
268
+ "--payWithBank-button-weight-border-hover": string;
269
+ "--payWithBank-button-weight-focus-indicator": string;
270
+ "--payWithBank-button-color-background-default": string;
271
+ "--payWithBank-button-color-background-hover": string;
272
+ "--payWithBank-button-color-background-focus": string;
273
+ "--payWithBank-button-color-background-pressed": string;
274
+ "--payWithBank-button-border-radius": string;
275
+ "--payWithBank-QRbutton-color-border-hover": string;
276
+ "--payWithBank-QRbutton-weight-border-hover": string;
277
+ "--payWithBank-QRbutton-weight-focus-indicator": string;
278
+ "--payWithBank-QRbutton-color-background-default": string;
279
+ "--payWithBank-QRbutton-color-background-hover": string;
256
280
  };
257
281
  };
258
282
  declare const parentStyles: (assetBaseUrl: string, themePreset?: IThemePreset | undefined) => {
283
+ ".bank-selection-wrapper": {
284
+ background: string;
285
+ padding: string;
286
+ };
287
+ ".bank-selection": {
288
+ display: string;
289
+ "align-items": string;
290
+ "flex-flow": string;
291
+ "margin-bottom": string;
292
+ };
293
+ ".bank-selecction-option": {
294
+ width: string;
295
+ height: string;
296
+ cursor: string;
297
+ display: string;
298
+ "align-items": string;
299
+ "justify-content": string;
300
+ "box-shadow": string;
301
+ "margin-right": string;
302
+ "margin-left": string;
303
+ "margin-top": string;
304
+ background: string;
305
+ "border-radius": string;
306
+ "flex-direction": string;
307
+ };
308
+ ".bank-selecction-option::before": {
309
+ content: string;
310
+ width: string;
311
+ height: string;
312
+ position: string;
313
+ "margin-left": string;
314
+ };
315
+ ".bank-selecction-option:hover": {
316
+ border: string;
317
+ };
318
+ ".bank-selecction-option:active": {
319
+ background: string;
320
+ border: string;
321
+ };
322
+ ".qr-code-button": {
323
+ background: string;
324
+ };
325
+ ".title-text": {
326
+ color: string;
327
+ "font-size": string;
328
+ "font-weight": string;
329
+ "line-height": string;
330
+ "font-family": string;
331
+ };
332
+ ".order-information": {
333
+ display: string;
334
+ "flex-direction": string;
335
+ "align-items": string;
336
+ "font-family": string;
337
+ };
338
+ ".title-field": {
339
+ "font-weight": string;
340
+ "line-height": string;
341
+ "font-size": string;
342
+ };
343
+ ".order-information-field": {
344
+ "line-height": string;
345
+ "font-size": string;
346
+ "font-weight": string;
347
+ };
259
348
  ".secure-payment-form .credit-card-qr-code-payments"?: {
260
349
  "font-family": string;
261
350
  };
@@ -397,8 +486,12 @@ declare const parentStyles: (assetBaseUrl: string, themePreset?: IThemePreset |
397
486
  "flex-direction": string;
398
487
  "align-items": string;
399
488
  };
489
+ ".secure-payment-form .blik-button-wrapper": {
490
+ display: string;
491
+ "flex-direction": string;
492
+ "align-items": string;
493
+ };
400
494
  ".secure-payment-form .open-banking-button::before": {
401
- content: string;
402
495
  width: string;
403
496
  height: string;
404
497
  position: string;
@@ -406,8 +499,8 @@ declare const parentStyles: (assetBaseUrl: string, themePreset?: IThemePreset |
406
499
  right: string;
407
500
  };
408
501
  ".secure-payment-form .open-banking-button": {
409
- position: string;
410
502
  background: string;
503
+ position: string;
411
504
  color: string;
412
505
  height: string;
413
506
  width: string;
@@ -415,20 +508,41 @@ declare const parentStyles: (assetBaseUrl: string, themePreset?: IThemePreset |
415
508
  border: string;
416
509
  margin: string;
417
510
  cursor: string;
418
- "-webkit-box-shadow": string;
419
- "-moz-box-shadow": string;
420
- "box-shadow": string;
421
511
  };
422
512
  ".secure-payment-form .open-banking-button:hover": {
423
513
  "border-color": string;
424
- "-webkit-box-shadow": string;
425
- "-moz-box-shadow": string;
426
- "box-shadow": string;
514
+ "background-color": string;
427
515
  };
428
516
  ".secure-payment-form .open-banking-button:focus": {
429
517
  outline: string;
430
518
  "outline-offset": string;
431
519
  };
520
+ ".secure-payment-form .blik-button": {
521
+ background: string;
522
+ position: string;
523
+ color: string;
524
+ height: string;
525
+ width: string;
526
+ "border-radius": string;
527
+ border: string;
528
+ margin: string;
529
+ cursor: string;
530
+ };
531
+ ".secure-payment-form .blik-button:hover": {
532
+ "border-color": string;
533
+ "background-color": string;
534
+ };
535
+ ".secure-payment-form .blik-button:focus": {
536
+ outline: string;
537
+ "outline-offset": string;
538
+ };
539
+ ".secure-payment-form .blik-button::before": {
540
+ width: string;
541
+ height: string;
542
+ position: string;
543
+ top: string;
544
+ right: string;
545
+ };
432
546
  ".secure-payment-form .link-button": {
433
547
  display: string;
434
548
  "flex-direction": string;
@@ -1697,6 +1811,30 @@ declare const parentStyles: (assetBaseUrl: string, themePreset?: IThemePreset |
1697
1811
  "--hppfooter-tablet": string;
1698
1812
  "--hppfooter-mobile": string;
1699
1813
  "--dropin-ui-button-primary-icon": string;
1814
+ "--dropInUI-orderSummary-itemMerchant-fontFamily": string;
1815
+ "--dropInUI-orderSummary-itemMerchant-font-size-text": string;
1816
+ "--dropInUI-orderSummary-itemMerchant-font-weight-text": string | undefined;
1817
+ "--dropInUI-orderSummary-itemMerchant-line-height": string;
1818
+ "--dropInUI-orderSummary-itemOrderID-font-size-text": string;
1819
+ "--dropInUI-orderSummary-itemOrderID-font-weight-text": string;
1820
+ "--payWithBank-label-fontFamily": string;
1821
+ "--payWithBank-size-text-label": string;
1822
+ "--payWithBank-font-weight-text-label": string;
1823
+ "--payWithBank-color-label": string;
1824
+ "--payWithBank-button-color-icon-redirect-default": string;
1825
+ "--payWithBank-button-color-border-hover": string;
1826
+ "--payWithBank-button-weight-border-hover": string;
1827
+ "--payWithBank-button-weight-focus-indicator": string;
1828
+ "--payWithBank-button-color-background-default": string;
1829
+ "--payWithBank-button-color-background-hover": string;
1830
+ "--payWithBank-button-color-background-focus": string;
1831
+ "--payWithBank-button-color-background-pressed": string;
1832
+ "--payWithBank-button-border-radius": string;
1833
+ "--payWithBank-QRbutton-color-border-hover": string;
1834
+ "--payWithBank-QRbutton-weight-border-hover": string;
1835
+ "--payWithBank-QRbutton-weight-focus-indicator": string;
1836
+ "--payWithBank-QRbutton-color-background-default": string;
1837
+ "--payWithBank-QRbutton-color-background-hover": string;
1700
1838
  };
1701
1839
  };
1702
1840
  export declare const getBaseThemeStyles: (assetBaseUrl: string, themePreset?: IThemePreset | undefined) => {
@@ -94,5 +94,29 @@ export declare const getBaseTokenDefinitions: (assetBaseUrl: string, themePreset
94
94
  "--hppfooter-tablet": string;
95
95
  "--hppfooter-mobile": string;
96
96
  "--dropin-ui-button-primary-icon": string;
97
+ "--dropInUI-orderSummary-itemMerchant-fontFamily": string;
98
+ "--dropInUI-orderSummary-itemMerchant-font-size-text": string;
99
+ "--dropInUI-orderSummary-itemMerchant-font-weight-text": string | undefined;
100
+ "--dropInUI-orderSummary-itemMerchant-line-height": string;
101
+ "--dropInUI-orderSummary-itemOrderID-font-size-text": string;
102
+ "--dropInUI-orderSummary-itemOrderID-font-weight-text": string;
103
+ "--payWithBank-label-fontFamily": string;
104
+ "--payWithBank-size-text-label": string;
105
+ "--payWithBank-font-weight-text-label": string;
106
+ "--payWithBank-color-label": string;
107
+ "--payWithBank-button-color-icon-redirect-default": string;
108
+ "--payWithBank-button-color-border-hover": string;
109
+ "--payWithBank-button-weight-border-hover": string;
110
+ "--payWithBank-button-weight-focus-indicator": string;
111
+ "--payWithBank-button-color-background-default": string;
112
+ "--payWithBank-button-color-background-hover": string;
113
+ "--payWithBank-button-color-background-focus": string;
114
+ "--payWithBank-button-color-background-pressed": string;
115
+ "--payWithBank-button-border-radius": string;
116
+ "--payWithBank-QRbutton-color-border-hover": string;
117
+ "--payWithBank-QRbutton-weight-border-hover": string;
118
+ "--payWithBank-QRbutton-weight-focus-indicator": string;
119
+ "--payWithBank-QRbutton-color-background-default": string;
120
+ "--payWithBank-QRbutton-color-background-hover": string;
97
121
  };
98
122
  };
@@ -31,6 +31,13 @@ export interface IThemePreset {
31
31
  radius: {
32
32
  general: string;
33
33
  curve: string;
34
+ sm: string;
35
+ };
36
+ borderWidth: {
37
+ 0: string;
38
+ 1: string;
39
+ 2: string;
40
+ 3: string;
34
41
  };
35
42
  };
36
43
  images: {
@@ -53,6 +60,10 @@ export interface IThemePresetGeneralColors {
53
60
  neutralWhite: string;
54
61
  coolGrey61: string;
55
62
  coolGrey76: string;
63
+ cool_grey_39: string;
64
+ cool_grey_base: string;
65
+ cool_grey_95: string;
66
+ azure_95: string;
56
67
  }
57
68
  export interface IThemePresetBodyPaddings {
58
69
  top: string;
@@ -67,12 +78,15 @@ export interface IThemePresetFontFamily {
67
78
  fontFormat?: string;
68
79
  fontWeightMedium: string;
69
80
  fontWeightRegular: string;
81
+ fontWeightBold?: string;
70
82
  };
71
83
  sizes: {
72
84
  buttonPrimary: string;
73
85
  bodyBase: string;
74
86
  small1: string;
75
87
  small2: string;
88
+ xl: string;
89
+ sm: string;
76
90
  };
77
91
  lineHeights: {
78
92
  small1: string;
@@ -1 +1,2 @@
1
1
  export declare const isBrandTheme: (style: string | undefined) => boolean;
2
+ export declare const isEserviceThemeApplied: (style: string | undefined) => boolean;
@@ -49,10 +49,24 @@ declare const cs: {
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 cs;
@@ -49,10 +49,23 @@ declare const de: {
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 de;
@@ -49,10 +49,23 @@ declare const el: {
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 el;
@@ -83,6 +83,7 @@ declare const en: {
83
83
  button: {
84
84
  getAriaLabel: (paymentMethod: string) => string;
85
85
  };
86
+ redirectToBank: string;
86
87
  };
87
88
  dcc: {
88
89
  label: string;
@@ -96,5 +97,12 @@ declare const en: {
96
97
  "aria-label": string;
97
98
  };
98
99
  };
100
+ orderInformation: {
101
+ amount: string;
102
+ orderReference: string;
103
+ };
104
+ bankSelection: {
105
+ pleaseSelectYourPreferredBank: string;
106
+ };
99
107
  };
100
108
  export default en;
@@ -63,5 +63,12 @@ declare const es: {
63
63
  getAriaLabel: (paymentMethod: string) => string;
64
64
  };
65
65
  };
66
+ orderInformation: {
67
+ amount: string;
68
+ orderReference: string;
69
+ };
70
+ bankSelection: {
71
+ pleaseSelectYourPreferredBank: string;
72
+ };
66
73
  };
67
74
  export default es;
@@ -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 fr: {
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 fr;
@@ -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;