globalpayments-api 3.10.9 → 3.10.11

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 (43) hide show
  1. package/CHANGELOG.md +228 -220
  2. package/LICENSE.md +257 -257
  3. package/README.md +148 -148
  4. package/lib/src/Builders/AuthorizationBuilder.js +11 -0
  5. package/lib/src/Builders/AuthorizationBuilder.js.map +1 -1
  6. package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +9 -0
  7. package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +1 -1
  8. package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +14 -0
  9. package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +1 -1
  10. package/lib/src/Entities/AlternativePaymentResponse.d.ts +1 -0
  11. package/lib/src/Entities/AlternativePaymentResponse.js +3 -0
  12. package/lib/src/Entities/AlternativePaymentResponse.js.map +1 -1
  13. package/lib/src/Entities/BankResponse.d.ts +7 -0
  14. package/lib/src/Entities/BankResponse.js +12 -0
  15. package/lib/src/Entities/BankResponse.js.map +1 -0
  16. package/lib/src/Entities/Enums.d.ts +27 -1
  17. package/lib/src/Entities/Enums.js +29 -1
  18. package/lib/src/Entities/Enums.js.map +1 -1
  19. package/lib/src/Entities/index.d.ts +1 -0
  20. package/lib/src/Entities/index.js +1 -0
  21. package/lib/src/Entities/index.js.map +1 -1
  22. package/lib/src/Gateways/GpApiConnector.js +70 -0
  23. package/lib/src/Gateways/GpApiConnector.js.map +1 -1
  24. package/lib/src/Mapping/GpApiMapping.d.ts +6 -0
  25. package/lib/src/Mapping/GpApiMapping.js +44 -0
  26. package/lib/src/Mapping/GpApiMapping.js.map +1 -1
  27. package/lib/src/PaymentMethods/AlternativePaymentMethod.d.ts +1 -0
  28. package/lib/src/PaymentMethods/AlternativePaymentMethod.js +1 -0
  29. package/lib/src/PaymentMethods/AlternativePaymentMethod.js.map +1 -1
  30. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +1 -0
  31. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +1 -0
  32. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +1 -1
  33. package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.js +15 -15
  34. package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.js +5 -5
  35. package/lib/test/Integration/Gateways/GpApiConnector/BlikApm.test.d.ts +1 -0
  36. package/lib/test/Integration/Gateways/GpApiConnector/BlikApm.test.js +163 -0
  37. package/lib/test/Integration/Gateways/GpApiConnector/BlikApm.test.js.map +1 -0
  38. package/lib/test/Integration/Gateways/GpApiConnector/PayUApm.test.d.ts +1 -0
  39. package/lib/test/Integration/Gateways/GpApiConnector/PayUApm.test.js +299 -0
  40. package/lib/test/Integration/Gateways/GpApiConnector/PayUApm.test.js.map +1 -0
  41. package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.js +4 -4
  42. package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.js +8 -8
  43. package/package.json +63 -63
package/CHANGELOG.md CHANGED
@@ -1,220 +1,228 @@
1
- # Changelog
2
-
3
- ## Latest - v3.10.9 (12/04/25):
4
- ### Enhancements:
5
- - [Portico] Added withstartdate and withenddate for reporting
6
- - [Portico] Implemented amountIndicator element
7
-
8
- ## v3.10.8 (10/03/25):
9
-
10
- ### Enhancements:
11
-
12
- - [Other] Unify all branding under Global Payments
13
-
14
- ## v3.10.7 (07/23/25):
15
-
16
- ### Enhancements:
17
-
18
- - [Portico] Added AutoSubstantiation coverage to Portico
19
-
20
- ## v3.10.6 (05/13/25):
21
-
22
- ### Enhancements:
23
-
24
- - [Portico] Fix to reporting response mapping
25
-
26
- ## v3.10.5 (04/09/25):
27
-
28
- ### Enhancements:
29
-
30
- - [Other] Updates to code to address security vulnerabilities
31
- - [Dependencies] Update dependency versions to address security vulnerabilities
32
-
33
- ## v3.10.4 (03/21/25):
34
-
35
- ### Enhancements:
36
-
37
- - [Recurring] Fix typing issues with recurring payments
38
-
39
- ## v3.10.3 (11/06/24):
40
-
41
- ### Enhancements:
42
-
43
- - [Portico] Map additional response messages
44
-
45
- ## v3.10.2 (10/31/24):
46
-
47
- ### Enhancements:
48
-
49
- - [Other] E2E sample app GooglePay API and Portico
50
- - [Portico] Added 3d secure credit transactions
51
-
52
- ## v3.10.1 (09/10/24):
53
-
54
- ### Enhancements:
55
-
56
- - [Other] Fix to entities Exports
57
- - [Dependencies] Change to webpack version
58
-
59
- ## v3.10.0 (08/27/24):
60
-
61
- ### Enhancements:
62
-
63
- - [GP-API] Added support DCC
64
-
65
- ## v3.9.0 (08/20/24):
66
-
67
- ### Enhancements:
68
-
69
- - [GP-API] Added support for ACH, APM and EBT
70
-
71
- ## v3.8.2 (08/14/24):
72
-
73
- ### Enhancements:
74
-
75
- - [Portico] Added support for incremental Auth.
76
-
77
- ## v3.8.1 (08/05/24):
78
-
79
- ### Enhancements:
80
-
81
- - [Portico] Added support for lvl iii transactions.
82
- - [Portico] Fix to tokenAction block scope issue.
83
-
84
- ## v3.8.0 (07/16/24):
85
-
86
- ### Enhancements:
87
-
88
- - [GP-API] Add disputes feature
89
- - [GP-ECOM] Add HPP capture article updates
90
- - [Other] Switch automated tests from Ava to Jest
91
-
92
- ## v3.7.0 (06/18/24):
93
-
94
- ### Enhancements:
95
-
96
- - [GP-API] Add deposits feature
97
- - [GP-API] Fix authorization code mapping
98
- - [GP-API] Improve testing
99
- - [Validations] Improve validations mechanism
100
- - [Portico] Added support for unique MUT request.
101
-
102
- ## v3.6.2 (06/07/24):
103
-
104
- ### Enhancements:
105
-
106
- - [Portico] Fix code to conform to linting rules.
107
-
108
- ## v3.6.1 (06/04/24):
109
-
110
- ### Enhancements:
111
-
112
- - [Portico] Add 'update token expiry' and 'delete token' functionality.
113
-
114
- ## v3.6.0 (05/30/24):
115
-
116
- ### Enhancements:
117
-
118
- - [GP-API] Add 3D Secure features
119
-
120
- ## v3.5.3 (05/23/24):
121
-
122
- ### Fix:
123
-
124
- - [Portico] Handle async response for debit reversal testcase.
125
- - [Package.json] Added files configuration to be included in npm publish due to a change.
126
-
127
- ## v3.5.2 (05/21/24):
128
-
129
- ### Enhancements:
130
-
131
- - [Portico] Added DebitReversal portico support with fromId.
132
-
133
- ## v3.5.1-fix-4 (04/26/24):
134
-
135
- ### Fix:
136
-
137
- - Fix issue on Npm registry with missing lib folder.
138
-
139
- ## v3.5.0 (04/10/24):
140
-
141
- ### Enhancements:
142
-
143
- - [GP-API] Add Transaction API methods
144
-
145
- ## v3.4.0 (03/12/24):
146
-
147
- ### Enhancements:
148
-
149
- - [GP-API] Add stored payments and reports for stored payments
150
-
151
- ## v3.3.3 (02/27/24):
152
-
153
- ### Enhancements:
154
-
155
- - PayPlan Enhancements: - Added payment methods to customer response
156
- - Cardtype, NameOnAccount , and Last4 of both credit card and ACH are included in payment response
157
- - Fix for Processor Configuration error response message
158
- - Added 204 as a success code when Request is successful; but response contains no data
159
-
160
- ## v3.3.2 (02/22/24):
161
-
162
- ### Enhancements:
163
-
164
- - Code cleanup
165
-
166
- ## v3.3.1 (02/08/24):
167
-
168
- ### Enhancements:
169
-
170
- - [RequestLogger] Backfill request logger on missing places
171
-
172
- ## v3.3.0 (01/31/24):
173
-
174
- ### Enhancements:
175
-
176
- - [RequestLogger] Add request logger implementation on GpEcom and GpApi
177
-
178
- ## v3.2.0 (01/18/24):
179
-
180
- ### Enhancements:
181
-
182
- - [UPA-MIC] Add MiC connector for UPA via GP-API
183
-
184
- ## v3.1.0 (10/31/23)
185
-
186
- ### Enhancements:
187
-
188
- - [GP-API] Generate Access Token for GP API users
189
- - https://developer.globalpay.com/api/access-token
190
-
191
- ### Bug Fixes:
192
-
193
- - Change tslint with eslint and fix existing lint errors
194
-
195
- ## v3.0.0 (10/03/23)
196
-
197
- ### Enhancements:
198
-
199
- - Upgrade Typescript to v5 to use latest functionalities
200
-
201
- ## v2.0.0 (09/21/23)
202
-
203
- ### Enhancements:
204
-
205
- - [GP-ECOM] Add configuration and use it in existing functionality
206
- - From now on we are going to use containers in order to configure the services in Node SDK.
207
-
208
- ## v1.4.9 (05/17/23)
209
-
210
- #### Profac Enhancements
211
-
212
- - Profac Implementation - Implement profac functionality.
213
-
214
- #### Reporting Enhancements
215
-
216
- - SdkNameVersion Identifier: Name and Version of the SDK used for integration, where applicable.
217
-
218
- ## v1.4.8 (12/13/22)
219
-
220
- ####
1
+ # Changelog
2
+
3
+ ## Latest - v3.10.11 (11/02/26):
4
+ ### Enhancements:
5
+ - [GP-API] Added in APM added PAYU for OB
6
+
7
+ ## v3.10.10 (15/01/26):
8
+ ### Enhancements:
9
+ - [GP-API] Added Blik alternative payment method support to SDK
10
+
11
+ ## v3.10.9 (12/04/25):
12
+ ### Enhancements:
13
+ - [Portico] Added withstartdate and withenddate for reporting
14
+ - [Portico] Implemented amountIndicator element
15
+
16
+ ## v3.10.8 (10/03/25):
17
+
18
+ ### Enhancements:
19
+
20
+ - [Other] Unify all branding under Global Payments
21
+
22
+ ## v3.10.7 (07/23/25):
23
+
24
+ ### Enhancements:
25
+
26
+ - [Portico] Added AutoSubstantiation coverage to Portico
27
+
28
+ ## v3.10.6 (05/13/25):
29
+
30
+ ### Enhancements:
31
+
32
+ - [Portico] Fix to reporting response mapping
33
+
34
+ ## v3.10.5 (04/09/25):
35
+
36
+ ### Enhancements:
37
+
38
+ - [Other] Updates to code to address security vulnerabilities
39
+ - [Dependencies] Update dependency versions to address security vulnerabilities
40
+
41
+ ## v3.10.4 (03/21/25):
42
+
43
+ ### Enhancements:
44
+
45
+ - [Recurring] Fix typing issues with recurring payments
46
+
47
+ ## v3.10.3 (11/06/24):
48
+
49
+ ### Enhancements:
50
+
51
+ - [Portico] Map additional response messages
52
+
53
+ ## v3.10.2 (10/31/24):
54
+
55
+ ### Enhancements:
56
+
57
+ - [Other] E2E sample app GooglePay API and Portico
58
+ - [Portico] Added 3d secure credit transactions
59
+
60
+ ## v3.10.1 (09/10/24):
61
+
62
+ ### Enhancements:
63
+
64
+ - [Other] Fix to entities Exports
65
+ - [Dependencies] Change to webpack version
66
+
67
+ ## v3.10.0 (08/27/24):
68
+
69
+ ### Enhancements:
70
+
71
+ - [GP-API] Added support DCC
72
+
73
+ ## v3.9.0 (08/20/24):
74
+
75
+ ### Enhancements:
76
+
77
+ - [GP-API] Added support for ACH, APM and EBT
78
+
79
+ ## v3.8.2 (08/14/24):
80
+
81
+ ### Enhancements:
82
+
83
+ - [Portico] Added support for incremental Auth.
84
+
85
+ ## v3.8.1 (08/05/24):
86
+
87
+ ### Enhancements:
88
+
89
+ - [Portico] Added support for lvl iii transactions.
90
+ - [Portico] Fix to tokenAction block scope issue.
91
+
92
+ ## v3.8.0 (07/16/24):
93
+
94
+ ### Enhancements:
95
+
96
+ - [GP-API] Add disputes feature
97
+ - [GP-ECOM] Add HPP capture article updates
98
+ - [Other] Switch automated tests from Ava to Jest
99
+
100
+ ## v3.7.0 (06/18/24):
101
+
102
+ ### Enhancements:
103
+
104
+ - [GP-API] Add deposits feature
105
+ - [GP-API] Fix authorization code mapping
106
+ - [GP-API] Improve testing
107
+ - [Validations] Improve validations mechanism
108
+ - [Portico] Added support for unique MUT request.
109
+
110
+ ## v3.6.2 (06/07/24):
111
+
112
+ ### Enhancements:
113
+
114
+ - [Portico] Fix code to conform to linting rules.
115
+
116
+ ## v3.6.1 (06/04/24):
117
+
118
+ ### Enhancements:
119
+
120
+ - [Portico] Add 'update token expiry' and 'delete token' functionality.
121
+
122
+ ## v3.6.0 (05/30/24):
123
+
124
+ ### Enhancements:
125
+
126
+ - [GP-API] Add 3D Secure features
127
+
128
+ ## v3.5.3 (05/23/24):
129
+
130
+ ### Fix:
131
+
132
+ - [Portico] Handle async response for debit reversal testcase.
133
+ - [Package.json] Added files configuration to be included in npm publish due to a change.
134
+
135
+ ## v3.5.2 (05/21/24):
136
+
137
+ ### Enhancements:
138
+
139
+ - [Portico] Added DebitReversal portico support with fromId.
140
+
141
+ ## v3.5.1-fix-4 (04/26/24):
142
+
143
+ ### Fix:
144
+
145
+ - Fix issue on Npm registry with missing lib folder.
146
+
147
+ ## v3.5.0 (04/10/24):
148
+
149
+ ### Enhancements:
150
+
151
+ - [GP-API] Add Transaction API methods
152
+
153
+ ## v3.4.0 (03/12/24):
154
+
155
+ ### Enhancements:
156
+
157
+ - [GP-API] Add stored payments and reports for stored payments
158
+
159
+ ## v3.3.3 (02/27/24):
160
+
161
+ ### Enhancements:
162
+
163
+ - PayPlan Enhancements: - Added payment methods to customer response
164
+ - Cardtype, NameOnAccount , and Last4 of both credit card and ACH are included in payment response
165
+ - Fix for Processor Configuration error response message
166
+ - Added 204 as a success code when Request is successful; but response contains no data
167
+
168
+ ## v3.3.2 (02/22/24):
169
+
170
+ ### Enhancements:
171
+
172
+ - Code cleanup
173
+
174
+ ## v3.3.1 (02/08/24):
175
+
176
+ ### Enhancements:
177
+
178
+ - [RequestLogger] Backfill request logger on missing places
179
+
180
+ ## v3.3.0 (01/31/24):
181
+
182
+ ### Enhancements:
183
+
184
+ - [RequestLogger] Add request logger implementation on GpEcom and GpApi
185
+
186
+ ## v3.2.0 (01/18/24):
187
+
188
+ ### Enhancements:
189
+
190
+ - [UPA-MIC] Add MiC connector for UPA via GP-API
191
+
192
+ ## v3.1.0 (10/31/23)
193
+
194
+ ### Enhancements:
195
+
196
+ - [GP-API] Generate Access Token for GP API users
197
+ - https://developer.globalpay.com/api/access-token
198
+
199
+ ### Bug Fixes:
200
+
201
+ - Change tslint with eslint and fix existing lint errors
202
+
203
+ ## v3.0.0 (10/03/23)
204
+
205
+ ### Enhancements:
206
+
207
+ - Upgrade Typescript to v5 to use latest functionalities
208
+
209
+ ## v2.0.0 (09/21/23)
210
+
211
+ ### Enhancements:
212
+
213
+ - [GP-ECOM] Add configuration and use it in existing functionality
214
+ - From now on we are going to use containers in order to configure the services in Node SDK.
215
+
216
+ ## v1.4.9 (05/17/23)
217
+
218
+ #### Profac Enhancements
219
+
220
+ - Profac Implementation - Implement profac functionality.
221
+
222
+ #### Reporting Enhancements
223
+
224
+ - SdkNameVersion Identifier: Name and Version of the SDK used for integration, where applicable.
225
+
226
+ ## v1.4.8 (12/13/22)
227
+
228
+ ####