@globalpayments/js 4.0.9 → 4.0.13

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 (36) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/types/internal/lib/detectLanguage.d.ts +1 -0
  4. package/types/internal/lib/enums.d.ts +8 -0
  5. package/types/internal/lib/set-headers.d.ts +7 -0
  6. package/types/internal/lib/styles/default.d.ts +24 -1
  7. package/types/internal/lib/styles/gp-default.d.ts +24 -1
  8. package/types/internal/lib/styles/payment-methods/common.d.ts +23 -0
  9. package/types/internal/lib/styles/payment-methods/paypal.d.ts +26 -0
  10. package/types/internal/lib/styles/simple.d.ts +0 -1
  11. package/types/internal/lib/translations/cs.d.ts +58 -0
  12. package/types/internal/lib/translations/de.d.ts +58 -0
  13. package/types/internal/lib/translations/el.d.ts +58 -0
  14. package/types/internal/lib/translations/en.d.ts +1 -1
  15. package/types/internal/lib/translations/es.d.ts +58 -0
  16. package/types/internal/lib/translations/fr.d.ts +4 -31
  17. package/types/internal/lib/translations/hr.d.ts +58 -0
  18. package/types/internal/lib/translations/hu.d.ts +58 -0
  19. package/types/internal/lib/translations/it.d.ts +58 -0
  20. package/types/internal/lib/translations/ja.d.ts +58 -0
  21. package/types/internal/lib/translations/mt.d.ts +58 -0
  22. package/types/internal/lib/translations/nl.d.ts +58 -0
  23. package/types/internal/lib/translations/pl.d.ts +58 -0
  24. package/types/internal/lib/translations/pt.d.ts +58 -0
  25. package/types/internal/lib/translations/ro.d.ts +58 -0
  26. package/types/internal/lib/translations/ru.d.ts +58 -0
  27. package/types/internal/lib/translations/sk.d.ts +58 -0
  28. package/types/internal/lib/translations/sl.d.ts +58 -0
  29. package/types/internal/lib/translations/sv.d.ts +58 -0
  30. package/types/internal/lib/translations/tr.d.ts +58 -0
  31. package/types/internal/lib/translations/uk.d.ts +58 -0
  32. package/types/internal/lib/translations/vi.d.ts +58 -0
  33. package/types/internal/lib/translations/zh.d.ts +8 -0
  34. package/types/lib/version.d.ts +1 -1
  35. package/types/ui/form/index.d.ts +56 -32
  36. package/types/ui/iframe-field/payment-methods/action-add.d.ts +3 -0
@@ -0,0 +1,58 @@
1
+ declare const ja: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default ja;
@@ -0,0 +1,58 @@
1
+ declare const mt: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default mt;
@@ -0,0 +1,58 @@
1
+ declare const nl: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default nl;
@@ -0,0 +1,58 @@
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default en;
@@ -0,0 +1,58 @@
1
+ declare const pt: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default pt;
@@ -0,0 +1,58 @@
1
+ declare const ro: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default ro;
@@ -0,0 +1,58 @@
1
+ declare const ru: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default ru;
@@ -0,0 +1,58 @@
1
+ declare const sk: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default sk;
@@ -0,0 +1,58 @@
1
+ declare const sl: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default sl;
@@ -0,0 +1,58 @@
1
+ declare const sv: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default sv;
@@ -0,0 +1,58 @@
1
+ declare const tr: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default tr;
@@ -0,0 +1,58 @@
1
+ declare const uk: {
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
+ apms: {
53
+ button: {
54
+ getAriaLabel: (paymentMethod: string) => string;
55
+ };
56
+ };
57
+ };
58
+ export default uk;