@globalpayments/js 1.9.15 → 1.9.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 (33) hide show
  1. package/package.json +1 -1
  2. package/types/internal/gateways/gp-api/action-query-installment-plans.d.ts +3 -0
  3. package/types/internal/gateways/gp-api/index.d.ts +1 -0
  4. package/types/internal/gateways/index.d.ts +6 -0
  5. package/types/internal/lib/card.d.ts +17 -0
  6. package/types/internal/lib/installments/components/add-issuer-banner.d.ts +2 -0
  7. package/types/internal/lib/installments/components/modal/create-modal-component.d.ts +9 -0
  8. package/types/internal/lib/installments/components/modal/styles.d.ts +23 -0
  9. package/types/internal/lib/installments/contracts/constants.d.ts +3 -0
  10. package/types/internal/lib/installments/contracts/enums.d.ts +13 -0
  11. package/types/internal/lib/installments/contracts/installment-action.d.ts +20 -0
  12. package/types/internal/lib/installments/contracts/installment-payment-method.d.ts +21 -0
  13. package/types/internal/lib/installments/contracts/installment-plans-data.d.ts +50 -0
  14. package/types/internal/lib/installments/contracts/installment-term-fees.d.ts +16 -0
  15. package/types/internal/lib/installments/contracts/installment-term.d.ts +35 -0
  16. package/types/internal/lib/installments/helpers/currency.d.ts +2 -0
  17. package/types/internal/lib/installments/helpers/html-element.d.ts +88 -0
  18. package/types/internal/lib/installments/installments-handler.d.ts +48 -0
  19. package/types/internal/lib/installments/requests/query-installment-plans.d.ts +3 -0
  20. package/types/internal/lib/installments/templates/common.d.ts +6 -0
  21. package/types/internal/lib/installments/templates/create-step-0.d.ts +3 -0
  22. package/types/internal/lib/installments/templates/create-step-1.d.ts +3 -0
  23. package/types/internal/lib/installments/templates/modals.d.ts +6 -0
  24. package/types/internal/lib/styles/gp-default.d.ts +335 -6
  25. package/types/internal/lib/styles/installments/common.d.ts +335 -0
  26. package/types/internal/lib/styles/installments/default.d.ts +335 -0
  27. package/types/internal/lib/styles/installments/gp-default.d.ts +335 -0
  28. package/types/internal/lib/styles/installments/simple.d.ts +335 -0
  29. package/types/lib/version.d.ts +1 -1
  30. package/types/tools/configure.d.ts +6 -0
  31. package/types/ui/form/index.d.ts +373 -55
  32. package/types/ui/iframe-field/action-add-installments.d.ts +3 -0
  33. package/types/ui/iframe-field/action-card-request-installments.d.ts +6 -0
@@ -0,0 +1,335 @@
1
+ declare const styles: (assetBaseUrl: string) => {
2
+ ".secure-payment-form .modal-overlay": {
3
+ background: string;
4
+ position: string;
5
+ top: string;
6
+ left: string;
7
+ margin: string;
8
+ width: string;
9
+ height: string;
10
+ display: string;
11
+ "justify-content": string;
12
+ "align-items": string;
13
+ "z-index": string;
14
+ };
15
+ ".secure-payment-form .modal-wrapper": {
16
+ "font-family": string;
17
+ background: string;
18
+ "border-width": string;
19
+ "border-radius": string;
20
+ overflow: string;
21
+ };
22
+ ".secure-payment-form .credit-card-installments": {
23
+ "font-family": string;
24
+ };
25
+ ".secure-payment-form .installment-issuer-panel": {
26
+ background: string;
27
+ display: string;
28
+ "flex-direction": string;
29
+ "max-width": string;
30
+ padding: string;
31
+ margin: string;
32
+ gap: string;
33
+ width: string;
34
+ };
35
+ ".secure-payment-form .installment-issuer-panel-header": {
36
+ display: string;
37
+ "justify-content": string;
38
+ "align-items": string;
39
+ };
40
+ ".secure-payment-form .installment-issuer-panel-title": {
41
+ color: string;
42
+ "font-style": string;
43
+ "font-weight": string;
44
+ "line-height": string;
45
+ "font-size": string;
46
+ };
47
+ ".secure-payment-form .installment-issuer-panel-content": {
48
+ color: string;
49
+ "font-style": string;
50
+ "font-weight": string;
51
+ "line-height": string;
52
+ "font-size": string;
53
+ };
54
+ ".secure-payment-form .installment-panel": {
55
+ "max-width": string;
56
+ "margin-bottom": string;
57
+ };
58
+ ".secure-payment-form .installment-plans-title": {
59
+ color: string;
60
+ "font-style": string;
61
+ "font-weight": string;
62
+ "line-height": string;
63
+ "font-size": string;
64
+ margin: string;
65
+ };
66
+ ".secure-payment-form .installment-plans-subtitle": {
67
+ color: string;
68
+ "font-style": string;
69
+ "font-weight": string;
70
+ "line-height": string;
71
+ "font-size": string;
72
+ };
73
+ ".secure-payment-form .installment-plan-details": {
74
+ "border-top": string;
75
+ "border-bottom": string;
76
+ padding: string;
77
+ };
78
+ ".secure-payment-form .installment-plan-monthly-amount": {
79
+ color: string;
80
+ "font-style": string;
81
+ "font-weight": string;
82
+ "line-height": string;
83
+ "font-size": string;
84
+ };
85
+ ".secure-payment-form .installment-options, .installment-panel": {
86
+ display: string;
87
+ "flex-direction": string;
88
+ padding: string;
89
+ width: string;
90
+ };
91
+ ".secure-payment-form .installment-options": {
92
+ background: string;
93
+ margin: string;
94
+ padding: string;
95
+ "border-radius": string;
96
+ };
97
+ ".secure-payment-form .installment-plan-options-title": {
98
+ color: string;
99
+ "font-style": string;
100
+ "font-weight": string;
101
+ "line-height": string;
102
+ "font-size": string;
103
+ };
104
+ ".secure-payment-form .installment-options-content": {
105
+ color: string;
106
+ "font-style": string;
107
+ "font-weight": string;
108
+ "line-height": string;
109
+ "font-size": string;
110
+ margin: string;
111
+ };
112
+ ".secure-payment-form .installment-term-selector-title": {
113
+ "text-align": string;
114
+ padding: string;
115
+ };
116
+ ".secure-payment-form .installment-panel-header": {
117
+ "text-align": string;
118
+ display: string;
119
+ "flex-direction": string;
120
+ };
121
+ ".secure-payment-form .installment-panel-content": {
122
+ margin: string;
123
+ };
124
+ ".secure-payment-form .installment-panel-footer": {
125
+ "text-align": string;
126
+ display: string;
127
+ "flex-direction": string;
128
+ };
129
+ ".secure-payment-form .installment-field-value-item": {
130
+ color: string;
131
+ "font-style": string;
132
+ "font-weight": string;
133
+ "line-height": string;
134
+ "font-size": string;
135
+ margin: string;
136
+ };
137
+ ".secure-payment-form .installment-field-value-item, .installment-options-header": {
138
+ display: string;
139
+ "flex-direction": string;
140
+ "justify-content": string;
141
+ };
142
+ ".secure-payment-form .installment-link": {
143
+ background: string;
144
+ border: string;
145
+ color: string;
146
+ "font-style": string;
147
+ "font-weight": string;
148
+ "text-decoration": string;
149
+ "line-height": string;
150
+ "font-size": string;
151
+ padding: string;
152
+ cursor: string;
153
+ };
154
+ ".secure-payment-form .installment-link:hover": {
155
+ color: string;
156
+ };
157
+ ".secure-payment-form .installment-link:active": {
158
+ color: string;
159
+ };
160
+ ".secure-payment-form .installment-link:focus": {
161
+ color: string;
162
+ border: string;
163
+ };
164
+ ".secure-payment-form .installment-step-container": {
165
+ display: string;
166
+ "justify-content": string;
167
+ };
168
+ ".secure-payment-form .installment-base-action-button-wrapper": {
169
+ display: string;
170
+ "justify-content": string;
171
+ "flex-wrap": string;
172
+ };
173
+ ".secure-payment-form .installment-base-action-button, .installment-button-explore-plans, .installment-button-learn-more, .installment-button-month-term, .installment-button-pay": {
174
+ "border-radius": string;
175
+ width: string;
176
+ height: string;
177
+ padding: string;
178
+ color: string;
179
+ "font-weight": string;
180
+ "font-size": string;
181
+ "line-height": string;
182
+ "font-style": string;
183
+ border: string;
184
+ cursor: string;
185
+ "margin-top": string;
186
+ "margin-bottom": string;
187
+ display: string;
188
+ "justify-content": string;
189
+ "align-items": string;
190
+ gap: string;
191
+ };
192
+ ".secure-payment-form .installment-button-explore-plans": {
193
+ background: string;
194
+ "margin-bottom": string;
195
+ };
196
+ ".secure-payment-form .installment-button-explore-plans:hover": {
197
+ background: string;
198
+ };
199
+ ".secure-payment-form .installment-button-explore-plans:active": {
200
+ background: string;
201
+ };
202
+ ".secure-payment-form .installment-button-explore-plans:focus": {
203
+ background: string;
204
+ border: string;
205
+ };
206
+ ".secure-payment-form .installment-button-learn-more": {
207
+ background: string;
208
+ color: string;
209
+ "font-weight": string;
210
+ "font-size": string;
211
+ "line-height": string;
212
+ margin: string;
213
+ };
214
+ ".secure-payment-form .installment-button-learn-more::after": {
215
+ content: string;
216
+ "padding-top": string;
217
+ filter: string;
218
+ };
219
+ ".secure-payment-form .installment-button-learn-more:hover": {
220
+ color: string;
221
+ };
222
+ ".secure-payment-form .installment-button-learn-more:active": {
223
+ color: string;
224
+ };
225
+ ".secure-payment-form .installment-button-learn-more:focus": {
226
+ color: string;
227
+ border: string;
228
+ };
229
+ ".secure-payment-form .installment-button-month-term": {
230
+ background: string;
231
+ width: string;
232
+ height: string;
233
+ "font-weight": string;
234
+ margin: string;
235
+ };
236
+ ".secure-payment-form .installment-unselected": {
237
+ background: string;
238
+ color: string;
239
+ };
240
+ ".secure-payment-form .installment-unselected:hover": {
241
+ border: string;
242
+ };
243
+ ".secure-payment-form .installment-button-pay": {
244
+ background: string;
245
+ height: string;
246
+ padding: string;
247
+ };
248
+ ".secure-payment-form .installment-button-pay:hover": {
249
+ background: string;
250
+ };
251
+ ".secure-payment-form .installment-button-pay:active": {
252
+ background: string;
253
+ };
254
+ ".secure-payment-form .installment-button-pay:focus": {
255
+ background: string;
256
+ border: string;
257
+ };
258
+ ".secure-payment-form .installment-button-pay::before": {
259
+ content: string;
260
+ "margin-right": string;
261
+ };
262
+ ".secure-payment-form .provided-by": {
263
+ "font-style": string;
264
+ "font-weight": string;
265
+ "font-size": string;
266
+ "line-height": string;
267
+ color: string;
268
+ margin: string;
269
+ };
270
+ ".secure-payment-form .installment-learn-more-content": {
271
+ width: string;
272
+ };
273
+ ".secure-payment-form .installment-learn-more-header": {
274
+ display: string;
275
+ padding: string;
276
+ "justify-content": string;
277
+ "align-items": string;
278
+ background: string;
279
+ };
280
+ ".secure-payment-form .installment-learn-more-header-title": {
281
+ "font-style": string;
282
+ "font-size": string;
283
+ "line-height": string;
284
+ color: string;
285
+ };
286
+ ".secure-payment-form .installment-learn-more-body": {
287
+ display: string;
288
+ margin: string;
289
+ "flex-direction": string;
290
+ "align-items": string;
291
+ };
292
+ ".secure-payment-form .installment-learn-more-body ul": {
293
+ color: string;
294
+ "font-style": string;
295
+ "font-weight": string;
296
+ "line-height": string;
297
+ padding: string;
298
+ "margin-top": string;
299
+ };
300
+ ".secure-payment-form .installment-learn-more-link": {
301
+ color: string;
302
+ "font-style": string;
303
+ "font-weight": string;
304
+ "line-height": string;
305
+ "text-decoration-line": string;
306
+ margin: string;
307
+ };
308
+ ".secure-payment-form .installment-button-close": {
309
+ background: string;
310
+ border: string;
311
+ padding: string;
312
+ cursor: string;
313
+ };
314
+ ".secure-payment-form .installment-button-close::after": {
315
+ content: string;
316
+ };
317
+ ".secure-payment-form .term-and-condition-title": {
318
+ display: string;
319
+ "align-items": string;
320
+ "font-style": string;
321
+ "font-weight": string;
322
+ };
323
+ ".secure-payment-form .term-and-condition-title::before": {
324
+ content: string;
325
+ "margin-right": string;
326
+ };
327
+ ".secure-payment-form .term-and-condition-link": {
328
+ color: string;
329
+ "font-style": string;
330
+ "font-weight": string;
331
+ "line-height": string;
332
+ "text-decoration-line": string;
333
+ };
334
+ };
335
+ export default styles;
@@ -1,2 +1,2 @@
1
- declare const _default: "1.9.15";
1
+ declare const _default: "1.9.18";
2
2
  export default _default;
@@ -71,6 +71,12 @@ export interface IConfiguration extends IDictionary {
71
71
  accountName?: string;
72
72
  apiVersion?: string;
73
73
  reference?: string;
74
+ installments?: {
75
+ channel: string;
76
+ country: string;
77
+ mcc: string;
78
+ currency: string;
79
+ };
74
80
  }
75
81
  declare const _default: (options: IConfiguration) => void;
76
82
  /**