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