@globalpayments/js 4.1.16 → 4.1.18

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 (53) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/types/common/html-element.d.ts +1 -0
  4. package/types/internal/lib/installments/components/add-installments-options.d.ts +2 -0
  5. package/types/internal/lib/installments/contracts/constants.d.ts +1 -0
  6. package/types/internal/lib/installments/contracts/enums.d.ts +8 -3
  7. package/types/internal/lib/installments/contracts/installment-payment-method.d.ts +6 -3
  8. package/types/internal/lib/installments/contracts/installment-plans-data.d.ts +1 -5
  9. package/types/internal/lib/installments/contracts/installment-term.d.ts +7 -24
  10. package/types/internal/lib/installments/contracts/interfaces.d.ts +4 -0
  11. package/types/internal/lib/installments/templates/common.d.ts +2 -6
  12. package/types/internal/lib/installments/templates/create-installment-options.d.ts +3 -0
  13. package/types/internal/lib/installments/templates/create-installment-section.d.ts +2 -0
  14. package/types/internal/lib/installments/templates/enum.d.ts +7 -0
  15. package/types/internal/lib/styles/gp-default.d.ts +70 -0
  16. package/types/internal/lib/styles/gp-default2.d.ts +70 -0
  17. package/types/internal/lib/styles/installments/common.d.ts +70 -0
  18. package/types/internal/lib/styles/installments/default.d.ts +70 -0
  19. package/types/internal/lib/styles/installments/gp-default.d.ts +70 -0
  20. package/types/internal/lib/styles/installments/simple.d.ts +70 -0
  21. package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +70 -0
  22. package/types/internal/lib/translations/cs.d.ts +8 -0
  23. package/types/internal/lib/translations/de.d.ts +8 -0
  24. package/types/internal/lib/translations/el.d.ts +8 -0
  25. package/types/internal/lib/translations/en.d.ts +8 -0
  26. package/types/internal/lib/translations/es.d.ts +8 -0
  27. package/types/internal/lib/translations/et.d.ts +8 -0
  28. package/types/internal/lib/translations/fr.d.ts +8 -0
  29. package/types/internal/lib/translations/ga.d.ts +8 -0
  30. package/types/internal/lib/translations/hr.d.ts +8 -0
  31. package/types/internal/lib/translations/hu.d.ts +8 -0
  32. package/types/internal/lib/translations/it.d.ts +8 -0
  33. package/types/internal/lib/translations/ja.d.ts +8 -0
  34. package/types/internal/lib/translations/lt.d.ts +8 -0
  35. package/types/internal/lib/translations/lv.d.ts +8 -0
  36. package/types/internal/lib/translations/mt.d.ts +8 -0
  37. package/types/internal/lib/translations/nl.d.ts +8 -0
  38. package/types/internal/lib/translations/pl.d.ts +8 -0
  39. package/types/internal/lib/translations/pt.d.ts +8 -0
  40. package/types/internal/lib/translations/ro.d.ts +8 -0
  41. package/types/internal/lib/translations/ru.d.ts +8 -0
  42. package/types/internal/lib/translations/sk.d.ts +8 -0
  43. package/types/internal/lib/translations/sl.d.ts +8 -0
  44. package/types/internal/lib/translations/sv.d.ts +8 -0
  45. package/types/internal/lib/translations/tr.d.ts +8 -0
  46. package/types/internal/lib/translations/uk.d.ts +8 -0
  47. package/types/internal/lib/translations/vi.d.ts +8 -0
  48. package/types/internal/lib/translations/zh.d.ts +8 -0
  49. package/types/lib/version.d.ts +1 -1
  50. package/types/tools/configure.d.ts +2 -0
  51. package/types/ui/form/index.d.ts +256 -54
  52. package/types/ui/iframe-field/installments/action-add.d.ts +3 -2
  53. package/types/ui/iframe-field/installments/action-get-value.d.ts +8 -0
@@ -1158,6 +1158,76 @@ declare const parentStyles: (assetBaseUrl: string, themePreset?: IThemePreset |
1158
1158
  ".secure-payment-form .credit-card-installments": {
1159
1159
  "font-family": string;
1160
1160
  };
1161
+ ".secure-payment-form .installment-eligibility-badge": {
1162
+ display: string;
1163
+ alignItems: string;
1164
+ justifyContent: string;
1165
+ width: string;
1166
+ margin: string;
1167
+ };
1168
+ ".secure-payment-form .installment-badge": {
1169
+ display: string;
1170
+ "align-items": string;
1171
+ background: string;
1172
+ border: string;
1173
+ "border-radius": string;
1174
+ padding: string;
1175
+ "font-size": string;
1176
+ color: string;
1177
+ "font-weight": string;
1178
+ gap: string;
1179
+ };
1180
+ ".secure-payment-form .pay-in-full-option": {
1181
+ "padding-left": string;
1182
+ border: string;
1183
+ '&.checked': {
1184
+ border: string;
1185
+ };
1186
+ padding: string;
1187
+ display: string;
1188
+ gap: string;
1189
+ };
1190
+ ".secure-payment-form .pay-in-full-option label": {
1191
+ "font-size": string;
1192
+ "font-weight": string;
1193
+ };
1194
+ ".secure-payment-form .payment-option-content": {
1195
+ display: string;
1196
+ "flex-direction": string;
1197
+ gap: string;
1198
+ width: string;
1199
+ };
1200
+ ".secure-payment-form .installment-section": {
1201
+ border: string;
1202
+ };
1203
+ ".secure-payment-form .payment-option-text": {
1204
+ color: string;
1205
+ "font-size": string;
1206
+ "font-weight": string;
1207
+ };
1208
+ ".secure-payment-form .section-title": {
1209
+ display: string;
1210
+ "font-size": string;
1211
+ "font-weight": string;
1212
+ width: string;
1213
+ height: string;
1214
+ gap: string;
1215
+ padding: string;
1216
+ "align-items": string;
1217
+ "border-bottom": string;
1218
+ "text-transform": string;
1219
+ };
1220
+ ".secure-payment-form .installment-content": {
1221
+ padding: string;
1222
+ };
1223
+ ".secure-payment-form .installment-months-button": {
1224
+ padding: string;
1225
+ '&.checked': {
1226
+ border: string;
1227
+ };
1228
+ display: string;
1229
+ gap: string;
1230
+ };
1161
1231
  ".secure-payment-form .installment-issuer-panel": {
1162
1232
  background: string;
1163
1233
  display: string;
@@ -84,5 +84,13 @@ declare const cs: {
84
84
  bankSelection: {
85
85
  pleaseSelectYourPreferredBank: string;
86
86
  };
87
+ installments: {
88
+ choosePaymentOption: string;
89
+ payInFull: string;
90
+ monthsWithoutInterest: string;
91
+ buyNowPayLater: string;
92
+ months: string;
93
+ eligibleForInstallmentBadgeText: string;
94
+ };
87
95
  };
88
96
  export default cs;
@@ -87,5 +87,13 @@ declare const de: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default de;
@@ -87,5 +87,13 @@ declare const el: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default el;
@@ -124,5 +124,13 @@ declare const en: {
124
124
  bankSelection: {
125
125
  pleaseSelectYourPreferredBank: string;
126
126
  };
127
+ installments: {
128
+ choosePaymentOption: string;
129
+ payInFull: string;
130
+ monthsWithoutInterest: string;
131
+ buyNowPayLater: string;
132
+ months: string;
133
+ eligibleForInstallmentBadgeText: string;
134
+ };
127
135
  };
128
136
  export default en;
@@ -90,5 +90,13 @@ declare const es: {
90
90
  bankSelection: {
91
91
  pleaseSelectYourPreferredBank: string;
92
92
  };
93
+ installments: {
94
+ choosePaymentOption: string;
95
+ payInFull: string;
96
+ monthsWithoutInterest: string;
97
+ buyNowPayLater: string;
98
+ months: string;
99
+ eligibleForInstallmentBadgeText: string;
100
+ };
93
101
  };
94
102
  export default es;
@@ -124,5 +124,13 @@ declare const et: {
124
124
  bankSelection: {
125
125
  pleaseSelectYourPreferredBank: string;
126
126
  };
127
+ installments: {
128
+ choosePaymentOption: string;
129
+ payInFull: string;
130
+ monthsWithoutInterest: string;
131
+ buyNowPayLater: string;
132
+ months: string;
133
+ eligibleForInstallmentBadgeText: string;
134
+ };
127
135
  };
128
136
  export default et;
@@ -87,5 +87,13 @@ declare const fr: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default fr;
@@ -124,5 +124,13 @@ declare const en: {
124
124
  bankSelection: {
125
125
  pleaseSelectYourPreferredBank: string;
126
126
  };
127
+ installments: {
128
+ choosePaymentOption: string;
129
+ payInFull: string;
130
+ monthsWithoutInterest: string;
131
+ buyNowPayLater: string;
132
+ months: string;
133
+ eligibleForInstallmentBadgeText: string;
134
+ };
127
135
  };
128
136
  export default en;
@@ -87,5 +87,13 @@ declare const hr: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default hr;
@@ -87,5 +87,13 @@ declare const hu: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default hu;
@@ -87,5 +87,13 @@ declare const it: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default it;
@@ -87,5 +87,13 @@ declare const ja: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default ja;
@@ -104,5 +104,13 @@ declare const lt: {
104
104
  bankSelection: {
105
105
  pleaseSelectYourPreferredBank: string;
106
106
  };
107
+ installments: {
108
+ choosePaymentOption: string;
109
+ payInFull: string;
110
+ monthsWithoutInterest: string;
111
+ buyNowPayLater: string;
112
+ months: string;
113
+ eligibleForInstallmentBadgeText: string;
114
+ };
107
115
  };
108
116
  export default lt;
@@ -124,5 +124,13 @@ declare const lv: {
124
124
  bankSelection: {
125
125
  pleaseSelectYourPreferredBank: string;
126
126
  };
127
+ installments: {
128
+ choosePaymentOption: string;
129
+ payInFull: string;
130
+ monthsWithoutInterest: string;
131
+ buyNowPayLater: string;
132
+ months: string;
133
+ eligibleForInstallmentBadgeText: string;
134
+ };
127
135
  };
128
136
  export default lv;
@@ -87,5 +87,13 @@ declare const mt: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default mt;
@@ -87,5 +87,13 @@ declare const nl: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default nl;
@@ -88,5 +88,13 @@ declare const en: {
88
88
  bankSelection: {
89
89
  pleaseSelectYourPreferredBank: string;
90
90
  };
91
+ installments: {
92
+ choosePaymentOption: string;
93
+ payInFull: string;
94
+ monthsWithoutInterest: string;
95
+ buyNowPayLater: string;
96
+ months: string;
97
+ eligibleForInstallmentBadgeText: string;
98
+ };
91
99
  };
92
100
  export default en;
@@ -87,5 +87,13 @@ declare const pt: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default pt;
@@ -87,5 +87,13 @@ declare const ro: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default ro;
@@ -87,5 +87,13 @@ declare const ru: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default ru;
@@ -88,5 +88,13 @@ declare const sk: {
88
88
  bankSelection: {
89
89
  pleaseSelectYourPreferredBank: string;
90
90
  };
91
+ installments: {
92
+ choosePaymentOption: string;
93
+ payInFull: string;
94
+ monthsWithoutInterest: string;
95
+ buyNowPayLater: string;
96
+ months: string;
97
+ eligibleForInstallmentBadgeText: string;
98
+ };
91
99
  };
92
100
  export default sk;
@@ -87,5 +87,13 @@ declare const sl: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default sl;
@@ -87,5 +87,13 @@ declare const sv: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default sv;
@@ -87,5 +87,13 @@ declare const tr: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default tr;
@@ -87,5 +87,13 @@ declare const uk: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default uk;
@@ -87,5 +87,13 @@ declare const vi: {
87
87
  bankSelection: {
88
88
  pleaseSelectYourPreferredBank: string;
89
89
  };
90
+ installments: {
91
+ choosePaymentOption: string;
92
+ payInFull: string;
93
+ monthsWithoutInterest: string;
94
+ buyNowPayLater: string;
95
+ months: string;
96
+ eligibleForInstallmentBadgeText: string;
97
+ };
90
98
  };
91
99
  export default vi;
@@ -106,5 +106,13 @@ declare const zh: {
106
106
  bankSelection: {
107
107
  pleaseSelectYourPreferredBank: string;
108
108
  };
109
+ installments: {
110
+ choosePaymentOption: string;
111
+ payInFull: string;
112
+ monthsWithoutInterest: string;
113
+ buyNowPayLater: string;
114
+ months: string;
115
+ eligibleForInstallmentBadgeText: string;
116
+ };
109
117
  };
110
118
  export default zh;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.1.16";
1
+ declare const _default: "4.1.18";
2
2
  export default _default;
@@ -88,6 +88,8 @@ export interface IConfiguration extends IDictionary {
88
88
  country: string;
89
89
  mcc: string;
90
90
  currency: string;
91
+ accountID?: string;
92
+ accountName?: string;
91
93
  };
92
94
  currencyConversion?: {
93
95
  accountName: string;