@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
@@ -1,3 +0,0 @@
1
- import { IDictionary } from "../../lib/util";
2
- declare const _default: (url: string, _env: string, data: IDictionary) => Promise<any>;
3
- export default _default;
@@ -1,12 +0,0 @@
1
- declare const styles: (assetBaseUrl: string) => {
2
- "apple-pay-button": {
3
- "--apple-pay-button-width": string;
4
- "--apple-pay-button-height": string;
5
- "--apple-pay-button-border-radius": string;
6
- "--apple-pay-button-padding": string;
7
- "--apple-pay-button-box-sizing": string;
8
- display: string;
9
- margin: string;
10
- };
11
- };
12
- export default styles;
@@ -1,12 +0,0 @@
1
- declare const styles: (assetBaseUrl: string) => {
2
- "apple-pay-button": {
3
- "--apple-pay-button-width": string;
4
- "--apple-pay-button-height": string;
5
- "--apple-pay-button-border-radius": string;
6
- "--apple-pay-button-padding": string;
7
- "--apple-pay-button-box-sizing": string;
8
- display: string;
9
- margin: string;
10
- };
11
- };
12
- export default styles;
@@ -1,12 +0,0 @@
1
- declare const styles: (assetBaseUrl: string) => {
2
- "apple-pay-button": {
3
- "--apple-pay-button-width": string;
4
- "--apple-pay-button-height": string;
5
- "--apple-pay-button-border-radius": string;
6
- "--apple-pay-button-padding": string;
7
- "--apple-pay-button-box-sizing": string;
8
- display: string;
9
- margin: string;
10
- };
11
- };
12
- export default styles;
@@ -1,7 +0,0 @@
1
- declare const styles: (assetBaseUrl: string) => {
2
- "#googlePay": {
3
- height: string;
4
- margin: string;
5
- };
6
- };
7
- export default styles;
@@ -1,7 +0,0 @@
1
- declare const styles: (assetBaseUrl: string) => {
2
- "#googlePay": {
3
- height: string;
4
- margin: string;
5
- };
6
- };
7
- export default styles;
@@ -1,7 +0,0 @@
1
- declare const styles: (assetBaseUrl: string) => {
2
- "#googlePay": {
3
- height: string;
4
- margin: string;
5
- };
6
- };
7
- export default styles;
@@ -1,151 +0,0 @@
1
- export declare const fieldStyles: (assetBaseUrl: string) => {
2
- "@font-face": {
3
- "font-family": string;
4
- src: string;
5
- };
6
- };
7
- export declare const styles: (assetBaseUrl: string) => {
8
- ".secure-payment-form .credit-card-qr-code-payments": {
9
- "font-family": string;
10
- };
11
- ".secure-payment-form .credit-card-qr-code-payments-target, .qr-code-payment-content, .qr-code-payment-countdown-timer": {
12
- display: string;
13
- "flex-direction": string;
14
- "align-items": string;
15
- };
16
- ".secure-payment-form .qr-code-payment-methods-wrapper": {
17
- width: string;
18
- };
19
- ".secure-payment-form .qr-code-payment-method-button": {
20
- color: string;
21
- height: string;
22
- width: string;
23
- "border-radius": string;
24
- border: string;
25
- margin: string;
26
- cursor: string;
27
- };
28
- ".secure-payment-form .qr-code-payment-method-alipayhk": {
29
- "background-color": string;
30
- border: string;
31
- };
32
- ".secure-payment-form .qr-code-payment-method-alipayhk:hover": {
33
- "background-color": string;
34
- border: string;
35
- };
36
- ".secure-payment-form .qr-code-payment-method-alipay": {
37
- "background-color": string;
38
- border: string;
39
- };
40
- ".secure-payment-form .qr-code-payment-method-alipay:hover": {
41
- "background-color": string;
42
- border: string;
43
- };
44
- ".secure-payment-form .qr-code-payment-method-wechat": {
45
- "background-color": string;
46
- border: string;
47
- };
48
- ".secure-payment-form .qr-code-payment-method-wechat:hover": {
49
- "background-color": string;
50
- border: string;
51
- };
52
- ".secure-payment-form .qr-code-payment-iframe-wrapper": {
53
- display: string;
54
- "flex-direction": string;
55
- "align-items": string;
56
- };
57
- ".secure-payment-form .qr-code-payment-iframe": {
58
- border: string;
59
- width: string;
60
- height: string;
61
- };
62
- ".secure-payment-form .qr-code-payment-content": {
63
- "font-size": string;
64
- "line-height": string;
65
- width: string;
66
- };
67
- ".secure-payment-form .link-button": {
68
- background: string;
69
- border: string;
70
- color: string;
71
- "font-style": string;
72
- "font-weight": string;
73
- "line-height": string;
74
- "font-size": string;
75
- padding: string;
76
- cursor: string;
77
- margin: string;
78
- };
79
- ".secure-payment-form .link-button:hover": {
80
- color: string;
81
- };
82
- ".secure-payment-form .link-button:active": {
83
- color: string;
84
- };
85
- ".secure-payment-form .link-button:focus": {
86
- color: string;
87
- border: string;
88
- };
89
- ".secure-payment-form .qr-code-payment-countdown-timer-message": {
90
- color: string;
91
- "font-size": string;
92
- "line-height": string;
93
- };
94
- ".secure-payment-form .qr-code-payment-countdown-timer-clock img": {
95
- "margin-right": string;
96
- };
97
- ".secure-payment-form .qr-code-payment-countdown-timer-clock": {
98
- display: string;
99
- "align-items": string;
100
- color: string;
101
- "font-size": string;
102
- "line-height": string;
103
- "font-weight": string;
104
- "justify-content": string;
105
- };
106
- ".secure-payment-form .payment-amount": {
107
- color: string;
108
- "font-style": string;
109
- "font-weight": string;
110
- "line-height": string;
111
- "font-size": string;
112
- };
113
- ".secure-payment-form .qr-code-expired-alert": {
114
- display: string;
115
- border: string;
116
- height: string;
117
- "margin-top": string;
118
- };
119
- ".secure-payment-form .qr-code-expired-alert-icon": {
120
- background: string;
121
- display: string;
122
- "align-items": string;
123
- "justify-content": string;
124
- width: string;
125
- };
126
- ".secure-payment-form .qr-code-expired-alert-message": {
127
- display: string;
128
- "flex-direction": string;
129
- "justify-content": string;
130
- padding: string;
131
- "font-size": string;
132
- "line-height": string;
133
- };
134
- ".secure-payment-form .qr-code-expired-alert-message-title": {
135
- color: string;
136
- "font-size": string;
137
- "line-height": string;
138
- };
139
- ".secure-payment-form .qr-code-redirecting-to-page": {
140
- "justify-content": string;
141
- height: string;
142
- display: string;
143
- "flex-direction": string;
144
- "align-items": string;
145
- };
146
- ".secure-payment-form .qr-code-redirecting-to-page-message": {
147
- color: string;
148
- "font-size": string;
149
- "line-height": string;
150
- };
151
- };
@@ -1,3 +0,0 @@
1
- import { IDictionary } from "../../internal/lib/util";
2
- declare const _default: (id: string, _type: string, data: IDictionary) => void;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- import { IframeField, IUIFormField } from "../iframe-field";
2
- export default function addApplePay(iframeField: IframeField | undefined, field: IUIFormField): void;
@@ -1,2 +0,0 @@
1
- import { IframeField, IUIFormField } from "../iframe-field";
2
- export default function addClickToPay(iframeField: IframeField | undefined, field: IUIFormField): void;
@@ -1,2 +0,0 @@
1
- import { IframeField, IUIFormField } from "../iframe-field";
2
- export default function addGooglePay(iframeField: IframeField | undefined, field: IUIFormField): void;
@@ -1,3 +0,0 @@
1
- import { IframeField } from ".";
2
- import { InstallmentPaymentData } from "../../internal/lib/installments/installments-handler";
3
- export default function addInstallments(iframeField: IframeField | undefined, installmentPlans: any, tokenizationCallback: (installment: InstallmentPaymentData) => void): void;
@@ -1,2 +0,0 @@
1
- import { IframeField } from ".";
2
- export default function addOpenBankingPaymentMethod(iframeField: IframeField | undefined): void;
@@ -1,3 +0,0 @@
1
- import { IframeField } from ".";
2
- import { IPaymentMethodConfigurationNormalized } from "../../apm/qr-code-payments/contracts";
3
- export default function addQRCodePaymentMethods(iframeField: IframeField | undefined, paymentMethodConfigurations: IPaymentMethodConfigurationNormalized[], amount: string | number): void;
@@ -1,6 +0,0 @@
1
- import { IDictionary } from "../../internal/lib/util";
2
- declare const _default: (id: string, data: IDictionary) => void;
3
- /**
4
- * Requests the installment plans data for a valid credit card number
5
- */
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { IDictionary } from "@globalpayments/js/types/internal/lib/util";
2
- declare const _default: (id: string, data: IDictionary) => void;
3
- /**
4
- * Requests the QR Code Payment methods
5
- */
6
- export default _default;
@@ -1,3 +0,0 @@
1
- import { IDictionary } from "../../internal/lib/util";
2
- declare const _default: (id: string, type: string, data: IDictionary) => void;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- import { IframeField } from "../index";
2
- export default function addOpenBankingPaymentMethod(iframeField: IframeField | undefined): void;