globalpayments-api 3.10.1 → 3.10.2

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