globalpayments-api 3.10.2 → 3.10.3

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 (109) hide show
  1. package/CHANGELOG.md +191 -184
  2. package/LICENSE.md +257 -257
  3. package/README.md +141 -141
  4. package/lib/src/Gateways/PorticoConnector.js +3 -2
  5. package/lib/src/Gateways/PorticoConnector.js.map +1 -1
  6. package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.js +15 -15
  7. package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.js +5 -5
  8. package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.js +4 -4
  9. package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.js +26 -0
  10. package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.js.map +1 -1
  11. package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.js +8 -8
  12. package/package.json +62 -62
  13. package/appsec.properties +0 -8
  14. package/lib/src/Gateways/RealexConnector.d.ts +0 -30
  15. package/lib/src/Gateways/RealexConnector.js +0 -523
  16. package/lib/src/ServicesConfig.d.ts +0 -27
  17. package/lib/src/ServicesConfig.js +0 -50
  18. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +0 -1
  19. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +0 -112
  20. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +0 -1
  21. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +0 -483
  22. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +0 -1
  23. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +0 -83
  24. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +0 -1
  25. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +0 -1720
  26. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +0 -1
  27. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +0 -83
  28. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +0 -1
  29. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +0 -1757
  30. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +0 -1
  31. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +0 -682
  32. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +0 -1
  33. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +0 -2218
  34. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +0 -1
  35. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +0 -707
  36. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +0 -1
  37. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +0 -151
  38. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +0 -1
  39. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +0 -171
  40. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +0 -1
  41. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +0 -192
  42. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +0 -1
  43. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +0 -377
  44. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +0 -1
  45. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +0 -196
  46. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +0 -1
  47. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +0 -53
  48. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTests.d.ts +0 -1
  49. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTests.js +0 -100
  50. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTests.d.ts +0 -1
  51. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTests.js +0 -352
  52. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTests.d.ts +0 -1
  53. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTests.js +0 -123
  54. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTests.d.ts +0 -1
  55. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTests.js +0 -142
  56. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTests.d.ts +0 -1
  57. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTests.js +0 -100
  58. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTests.d.ts +0 -1
  59. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTests.js +0 -535
  60. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTests.d.ts +0 -1
  61. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTests.js +0 -124
  62. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTests.d.ts +0 -1
  63. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTests.js +0 -144
  64. package/lib/test/Integration/Gateways/RealexConnector/Certification/AuthTest.d.ts +0 -1
  65. package/lib/test/Integration/Gateways/RealexConnector/Certification/AuthTest.js +0 -4373
  66. package/lib/test/Integration/Gateways/RealexConnector/Certification/AvsTest.d.ts +0 -1
  67. package/lib/test/Integration/Gateways/RealexConnector/Certification/AvsTest.js +0 -758
  68. package/lib/test/Integration/Gateways/RealexConnector/Certification/CreditTest.d.ts +0 -1
  69. package/lib/test/Integration/Gateways/RealexConnector/Certification/CreditTest.js +0 -2399
  70. package/lib/test/Integration/Gateways/RealexConnector/Certification/HoldTest.d.ts +0 -1
  71. package/lib/test/Integration/Gateways/RealexConnector/Certification/HoldTest.js +0 -1656
  72. package/lib/test/Integration/Gateways/RealexConnector/Certification/ManualTest.d.ts +0 -1
  73. package/lib/test/Integration/Gateways/RealexConnector/Certification/ManualTest.js +0 -5650
  74. package/lib/test/Integration/Gateways/RealexConnector/Certification/OtbTest.d.ts +0 -1
  75. package/lib/test/Integration/Gateways/RealexConnector/Certification/OtbTest.js +0 -1985
  76. package/lib/test/Integration/Gateways/RealexConnector/Certification/RebateTest.d.ts +0 -1
  77. package/lib/test/Integration/Gateways/RealexConnector/Certification/RebateTest.js +0 -2369
  78. package/lib/test/Integration/Gateways/RealexConnector/Certification/ReleaseTest.d.ts +0 -1
  79. package/lib/test/Integration/Gateways/RealexConnector/Certification/ReleaseTest.js +0 -1703
  80. package/lib/test/Integration/Gateways/RealexConnector/Certification/SettleTest.d.ts +0 -1
  81. package/lib/test/Integration/Gateways/RealexConnector/Certification/SettleTest.js +0 -2053
  82. package/lib/test/Integration/Gateways/RealexConnector/Certification/ValidationTest.d.ts +0 -1
  83. package/lib/test/Integration/Gateways/RealexConnector/Certification/ValidationTest.js +0 -2469
  84. package/lib/test/Integration/Gateways/RealexConnector/Certification/VerifyEnrolledTest.d.ts +0 -1
  85. package/lib/test/Integration/Gateways/RealexConnector/Certification/VerifyEnrolledTest.js +0 -3116
  86. package/lib/test/Integration/Gateways/RealexConnector/Certification/VoidTest.d.ts +0 -1
  87. package/lib/test/Integration/Gateways/RealexConnector/Certification/VoidTest.js +0 -2031
  88. package/lib/test/Integration/Gateways/RealexConnector/CreditTest.d.ts +0 -1
  89. package/lib/test/Integration/Gateways/RealexConnector/CreditTest.js +0 -322
  90. package/lib/test/Integration/Gateways/RealexConnector/HppTest.d.ts +0 -1
  91. package/lib/test/Integration/Gateways/RealexConnector/HppTest.js +0 -98
  92. package/lib/test/Integration/Gateways/RealexConnector/RecurringTest.d.ts +0 -1
  93. package/lib/test/Integration/Gateways/RealexConnector/RecurringTest.js +0 -263
  94. package/lib/test/Integration/Services/CheckServiceTest.d.ts +0 -1
  95. package/lib/test/Integration/Services/CheckServiceTest.js +0 -98
  96. package/lib/test/Integration/Services/CreditServiceTest.d.ts +0 -1
  97. package/lib/test/Integration/Services/CreditServiceTest.js +0 -313
  98. package/lib/test/Integration/Services/DebitServiceTest.d.ts +0 -1
  99. package/lib/test/Integration/Services/DebitServiceTest.js +0 -154
  100. package/lib/test/Integration/Services/EBTServiceTest.d.ts +0 -1
  101. package/lib/test/Integration/Services/EBTServiceTest.js +0 -135
  102. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +0 -1
  103. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +0 -161
  104. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +0 -1
  105. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +0 -139
  106. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +0 -1
  107. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +0 -202
  108. package/lib/test/Unit/Gateways/RealexConnector/CreditTest.d.ts +0 -1
  109. package/lib/test/Unit/Gateways/RealexConnector/CreditTest.js +0 -29
package/CHANGELOG.md CHANGED
@@ -1,184 +1,191 @@
1
- # Changelog
2
-
3
- ## Latest - v3.10.2 (10/31/24):
4
-
5
- ### Enhancements:
6
-
7
- - [Other] E2E sample app GooglePay API and Portico
8
- - [Portico] Added 3d secure credit transactions
9
-
10
- ## v3.10.1 (09/10/24):
11
-
12
- ### Enhancements:
13
-
14
- - [Other] Fix to entities Exports
15
- - [Dependencies] Change to webpack version
16
-
17
- ## v3.10.0 (08/27/24):
18
-
19
- ### Enhancements:
20
-
21
- - [GP-API] Added support DCC
22
-
23
- ## v3.9.0 (08/20/24):
24
-
25
- ### Enhancements:
26
-
27
- - [GP-API] Added support for ACH, APM and EBT
28
-
29
- ## v3.8.2 (08/14/24):
30
-
31
- ### Enhancements:
32
-
33
- - [Portico] Added support for incremental Auth.
34
-
35
-
36
- ## v3.8.1 (08/05/24):
37
-
38
- ### Enhancements:
39
-
40
- - [Portico] Added support for lvl iii transactions.
41
- - [Portico] Fix to tokenAction block scope issue.
42
-
43
-
44
- ## v3.8.0 (07/16/24):
45
-
46
- ### Enhancements:
47
-
48
- - [GP-API] Add disputes feature
49
- - [GP-ECOM] Add HPP capture article updates
50
- - [Other] Switch automated tests from Ava to Jest
51
-
52
- ## v3.7.0 (06/18/24):
53
-
54
- ### Enhancements:
55
-
56
- - [GP-API] Add deposits feature
57
- - [GP-API] Fix authorization code mapping
58
- - [GP-API] Improve testing
59
- - [Validations] Improve validations mechanism
60
- - [Portico] Added support for unique MUT request.
61
-
62
- ## v3.6.2 (06/07/24):
63
-
64
- ### Enhancements:
65
-
66
- - [Portico] Fix code to conform to linting rules.
67
-
68
- ## v3.6.1 (06/04/24):
69
-
70
- ### Enhancements:
71
-
72
- - [Portico] Add 'update token expiry' and 'delete token' functionality.
73
-
74
- ## v3.6.0 (05/30/24):
75
-
76
- ### Enhancements:
77
-
78
- - [GP-API] Add 3D Secure features
79
-
80
- ## v3.5.3 (05/23/24):
81
-
82
- ### Fix:
83
-
84
- - [Portico] Handle async response for debit reversal testcase.
85
- - [Package.json] Added files configuration to be included in npm publish due to a change.
86
-
87
- ## v3.5.2 (05/21/24):
88
-
89
- ### Enhancements:
90
-
91
- - [Portico] Added DebitReversal portico support with fromId.
92
-
93
- ## v3.5.1-fix-4 (04/26/24):
94
-
95
- ### Fix:
96
-
97
- - Fix issue on Npm registry with missing lib folder.
98
-
99
- ## v3.5.0 (04/10/24):
100
-
101
- ### Enhancements:
102
-
103
- - [GP-API] Add Transaction API methods
104
-
105
- ## v3.4.0 (03/12/24):
106
-
107
- ### Enhancements:
108
-
109
- - [GP-API] Add stored payments and reports for stored payments
110
-
111
- ## v3.3.3 (02/27/24):
112
-
113
- ### Enhancements:
114
- - PayPlan Enhancements: - Added payment methods to customer response
115
- - Cardtype, NameOnAccount , and Last4 of both credit card and ACH are included in payment response
116
- - Fix for Processor Configuration error response message
117
- - Added 204 as a success code when Request is successful; but response contains no data
118
-
119
- ## v3.3.2 (02/22/24):
120
-
121
- ### Enhancements:
122
-
123
- - Code cleanup
124
-
125
- ## v3.3.1 (02/08/24):
126
-
127
- ### Enhancements:
128
-
129
- - [RequestLogger] Backfill request logger on missing places
130
-
131
- ## v3.3.0 (01/31/24):
132
-
133
- ### Enhancements:
134
-
135
- - [RequestLogger] Add request logger implementation on GpEcom and GpApi
136
-
137
- ## v3.2.0 (01/18/24):
138
-
139
- ### Enhancements:
140
-
141
- - [UPA-MIC] Add MiC connector for UPA via GP-API
142
-
143
- ## v3.1.0 (10/31/23)
144
-
145
- ### Enhancements:
146
-
147
- - [GP-API] Generate Access Token for GP API users
148
- - https://developer.globalpay.com/api/access-token
149
-
150
- ### Bug Fixes:
151
-
152
- - Change tslint with eslint and fix existing lint errors
153
-
154
- ## v3.0.0 (10/03/23)
155
-
156
- ### Enhancements:
157
-
158
- - Upgrade Typescript to v5 to use latest functionalities
159
-
160
- ## v2.0.0 (09/21/23)
161
-
162
- ### Enhancements:
163
-
164
- - [GP-ECOM] Add configuration and use it in existing functionality
165
- - From now on we are going to use containers in order to configure the services in Node SDK.
166
-
167
- ## v1.4.9 (05/17/23)
168
-
169
- #### Profac Enhancements
170
-
171
- - Profac Implementation - Implement profac functionality.
172
-
173
- #### Reporting Enhancements
174
-
175
- - SdkNameVersion Identifier: Name and Version of the SDK used for integration, where applicable.
176
-
177
- ## v1.4.8 (12/13/22)
178
-
179
- #### Enhancements
180
-
181
- - Portico Connector: WalletData element added to process ApplePay/GooglePay Transactions using
182
- Digital Tokens
183
-
184
- ## v1.4.7 (11/17/22)
1
+ # Changelog
2
+
3
+ ## Latest - v3.10.3 (11/06/24):
4
+
5
+ ### Enhancements:
6
+
7
+ - [Portico] Map additional response messages
8
+
9
+
10
+ ## v3.10.2 (10/31/24):
11
+
12
+ ### Enhancements:
13
+
14
+ - [Other] E2E sample app GooglePay API and Portico
15
+ - [Portico] Added 3d secure credit transactions
16
+
17
+ ## v3.10.1 (09/10/24):
18
+
19
+ ### Enhancements:
20
+
21
+ - [Other] Fix to entities Exports
22
+ - [Dependencies] Change to webpack version
23
+
24
+ ## v3.10.0 (08/27/24):
25
+
26
+ ### Enhancements:
27
+
28
+ - [GP-API] Added support DCC
29
+
30
+ ## v3.9.0 (08/20/24):
31
+
32
+ ### Enhancements:
33
+
34
+ - [GP-API] Added support for ACH, APM and EBT
35
+
36
+ ## v3.8.2 (08/14/24):
37
+
38
+ ### Enhancements:
39
+
40
+ - [Portico] Added support for incremental Auth.
41
+
42
+
43
+ ## v3.8.1 (08/05/24):
44
+
45
+ ### Enhancements:
46
+
47
+ - [Portico] Added support for lvl iii transactions.
48
+ - [Portico] Fix to tokenAction block scope issue.
49
+
50
+
51
+ ## v3.8.0 (07/16/24):
52
+
53
+ ### Enhancements:
54
+
55
+ - [GP-API] Add disputes feature
56
+ - [GP-ECOM] Add HPP capture article updates
57
+ - [Other] Switch automated tests from Ava to Jest
58
+
59
+ ## v3.7.0 (06/18/24):
60
+
61
+ ### Enhancements:
62
+
63
+ - [GP-API] Add deposits feature
64
+ - [GP-API] Fix authorization code mapping
65
+ - [GP-API] Improve testing
66
+ - [Validations] Improve validations mechanism
67
+ - [Portico] Added support for unique MUT request.
68
+
69
+ ## v3.6.2 (06/07/24):
70
+
71
+ ### Enhancements:
72
+
73
+ - [Portico] Fix code to conform to linting rules.
74
+
75
+ ## v3.6.1 (06/04/24):
76
+
77
+ ### Enhancements:
78
+
79
+ - [Portico] Add 'update token expiry' and 'delete token' functionality.
80
+
81
+ ## v3.6.0 (05/30/24):
82
+
83
+ ### Enhancements:
84
+
85
+ - [GP-API] Add 3D Secure features
86
+
87
+ ## v3.5.3 (05/23/24):
88
+
89
+ ### Fix:
90
+
91
+ - [Portico] Handle async response for debit reversal testcase.
92
+ - [Package.json] Added files configuration to be included in npm publish due to a change.
93
+
94
+ ## v3.5.2 (05/21/24):
95
+
96
+ ### Enhancements:
97
+
98
+ - [Portico] Added DebitReversal portico support with fromId.
99
+
100
+ ## v3.5.1-fix-4 (04/26/24):
101
+
102
+ ### Fix:
103
+
104
+ - Fix issue on Npm registry with missing lib folder.
105
+
106
+ ## v3.5.0 (04/10/24):
107
+
108
+ ### Enhancements:
109
+
110
+ - [GP-API] Add Transaction API methods
111
+
112
+ ## v3.4.0 (03/12/24):
113
+
114
+ ### Enhancements:
115
+
116
+ - [GP-API] Add stored payments and reports for stored payments
117
+
118
+ ## v3.3.3 (02/27/24):
119
+
120
+ ### Enhancements:
121
+ - PayPlan Enhancements: - Added payment methods to customer response
122
+ - Cardtype, NameOnAccount , and Last4 of both credit card and ACH are included in payment response
123
+ - Fix for Processor Configuration error response message
124
+ - Added 204 as a success code when Request is successful; but response contains no data
125
+
126
+ ## v3.3.2 (02/22/24):
127
+
128
+ ### Enhancements:
129
+
130
+ - Code cleanup
131
+
132
+ ## v3.3.1 (02/08/24):
133
+
134
+ ### Enhancements:
135
+
136
+ - [RequestLogger] Backfill request logger on missing places
137
+
138
+ ## v3.3.0 (01/31/24):
139
+
140
+ ### Enhancements:
141
+
142
+ - [RequestLogger] Add request logger implementation on GpEcom and GpApi
143
+
144
+ ## v3.2.0 (01/18/24):
145
+
146
+ ### Enhancements:
147
+
148
+ - [UPA-MIC] Add MiC connector for UPA via GP-API
149
+
150
+ ## v3.1.0 (10/31/23)
151
+
152
+ ### Enhancements:
153
+
154
+ - [GP-API] Generate Access Token for GP API users
155
+ - https://developer.globalpay.com/api/access-token
156
+
157
+ ### Bug Fixes:
158
+
159
+ - Change tslint with eslint and fix existing lint errors
160
+
161
+ ## v3.0.0 (10/03/23)
162
+
163
+ ### Enhancements:
164
+
165
+ - Upgrade Typescript to v5 to use latest functionalities
166
+
167
+ ## v2.0.0 (09/21/23)
168
+
169
+ ### Enhancements:
170
+
171
+ - [GP-ECOM] Add configuration and use it in existing functionality
172
+ - From now on we are going to use containers in order to configure the services in Node SDK.
173
+
174
+ ## v1.4.9 (05/17/23)
175
+
176
+ #### Profac Enhancements
177
+
178
+ - Profac Implementation - Implement profac functionality.
179
+
180
+ #### Reporting Enhancements
181
+
182
+ - SdkNameVersion Identifier: Name and Version of the SDK used for integration, where applicable.
183
+
184
+ ## v1.4.8 (12/13/22)
185
+
186
+ #### Enhancements
187
+
188
+ - Portico Connector: WalletData element added to process ApplePay/GooglePay Transactions using
189
+ Digital Tokens
190
+
191
+ ## v1.4.7 (11/17/22)