globalpayments-api 3.10.2 → 3.10.4

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