globalpayments-api 3.10.13 → 3.10.14

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