globalpayments-api 3.10.12 → 3.10.13

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