globalpayments-api 3.6.2 → 3.8.0

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 (424) hide show
  1. package/CHANGELOG.md +143 -125
  2. package/lib/src/Builders/AuthorizationBuilder.d.ts +9 -1
  3. package/lib/src/Builders/AuthorizationBuilder.js +10 -1
  4. package/lib/src/Builders/AuthorizationBuilder.js.map +1 -1
  5. package/lib/src/Builders/BaseBuilder/Validations.d.ts +3 -1
  6. package/lib/src/Builders/BaseBuilder/Validations.js +5 -5
  7. package/lib/src/Builders/BaseBuilder/Validations.js.map +1 -1
  8. package/lib/src/Builders/ManagementBuilder.d.ts +17 -1
  9. package/lib/src/Builders/ManagementBuilder.js +22 -0
  10. package/lib/src/Builders/ManagementBuilder.js.map +1 -1
  11. package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +19 -0
  12. package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +1 -1
  13. package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.d.ts +2 -0
  14. package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +120 -0
  15. package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +1 -1
  16. package/lib/src/Builders/TransactionReportBuilder.d.ts +7 -2
  17. package/lib/src/Builders/TransactionReportBuilder.js +28 -0
  18. package/lib/src/Builders/TransactionReportBuilder.js.map +1 -1
  19. package/lib/src/Entities/DisputeDocument.d.ts +5 -0
  20. package/lib/src/Entities/DisputeDocument.js +10 -0
  21. package/lib/src/Entities/DisputeDocument.js.map +1 -0
  22. package/lib/src/Entities/Document.d.ts +10 -0
  23. package/lib/src/Entities/Document.js +13 -0
  24. package/lib/src/Entities/Document.js.map +1 -0
  25. package/lib/src/Entities/Enums/DepositSortProperty.d.ts +6 -0
  26. package/lib/src/Entities/Enums/DepositSortProperty.js +11 -0
  27. package/lib/src/Entities/Enums/DepositSortProperty.js.map +1 -0
  28. package/lib/src/Entities/Enums/DisputeSortProperty.d.ts +12 -0
  29. package/lib/src/Entities/Enums/DisputeSortProperty.js +17 -0
  30. package/lib/src/Entities/Enums/DisputeSortProperty.js.map +1 -0
  31. package/lib/src/Entities/Enums/DisputeStage.d.ts +11 -0
  32. package/lib/src/Entities/Enums/DisputeStage.js +16 -0
  33. package/lib/src/Entities/Enums/DisputeStage.js.map +1 -0
  34. package/lib/src/Entities/Enums/DisputeStatus.d.ts +7 -0
  35. package/lib/src/Entities/Enums/DisputeStatus.js +12 -0
  36. package/lib/src/Entities/Enums/DisputeStatus.js.map +1 -0
  37. package/lib/src/Entities/Enums/DocumentCategory.d.ts +5 -0
  38. package/lib/src/Entities/Enums/DocumentCategory.js +10 -0
  39. package/lib/src/Entities/Enums/DocumentCategory.js.map +1 -0
  40. package/lib/src/Entities/Enums/FileType.d.ts +11 -0
  41. package/lib/src/Entities/Enums/FileType.js +16 -0
  42. package/lib/src/Entities/Enums/FileType.js.map +1 -0
  43. package/lib/src/Entities/Enums.d.ts +8 -0
  44. package/lib/src/Entities/Enums.js +8 -0
  45. package/lib/src/Entities/Enums.js.map +1 -1
  46. package/lib/src/Entities/HostedPaymentData.d.ts +3 -0
  47. package/lib/src/Entities/HostedPaymentData.js +3 -0
  48. package/lib/src/Entities/HostedPaymentData.js.map +1 -1
  49. package/lib/src/Entities/Reporting/DepositSummary.d.ts +29 -0
  50. package/lib/src/Entities/Reporting/DepositSummary.js +34 -0
  51. package/lib/src/Entities/Reporting/DepositSummary.js.map +1 -0
  52. package/lib/src/Entities/Reporting/DisputeSummary.d.ts +53 -0
  53. package/lib/src/Entities/Reporting/DisputeSummary.js +64 -0
  54. package/lib/src/Entities/Reporting/DisputeSummary.js.map +1 -0
  55. package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +4 -2
  56. package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +2 -0
  57. package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js.map +1 -1
  58. package/lib/src/Entities/Reporting/index.d.ts +2 -0
  59. package/lib/src/Entities/Reporting/index.js +2 -0
  60. package/lib/src/Entities/Reporting/index.js.map +1 -1
  61. package/lib/src/Entities/Transaction.d.ts +15 -1
  62. package/lib/src/Entities/Transaction.js +34 -0
  63. package/lib/src/Entities/Transaction.js.map +1 -1
  64. package/lib/src/Entities/index.d.ts +8 -0
  65. package/lib/src/Entities/index.js +8 -0
  66. package/lib/src/Entities/index.js.map +1 -1
  67. package/lib/src/Gateways/GpApiConnector.js +3 -0
  68. package/lib/src/Gateways/GpApiConnector.js.map +1 -1
  69. package/lib/src/Gateways/GpEcomConnector.js +9 -0
  70. package/lib/src/Gateways/GpEcomConnector.js.map +1 -1
  71. package/lib/src/Gateways/PorticoConnector.js +5 -0
  72. package/lib/src/Gateways/PorticoConnector.js.map +1 -1
  73. package/lib/src/Mapping/GpApiMapping.d.ts +3 -0
  74. package/lib/src/Mapping/GpApiMapping.js +128 -13
  75. package/lib/src/Mapping/GpApiMapping.js.map +1 -1
  76. package/lib/src/Services/ReportingService.d.ts +8 -1
  77. package/lib/src/Services/ReportingService.js +21 -0
  78. package/lib/src/Services/ReportingService.js.map +1 -1
  79. package/lib/test/Data/BaseGpApiTestConfig.d.ts +14 -0
  80. package/lib/test/Data/BaseGpApiTestConfig.js +50 -0
  81. package/lib/test/Data/BaseGpApiTestConfig.js.map +1 -0
  82. package/lib/test/Data/GpApi3DSTestCards.d.ts +17 -0
  83. package/lib/test/Data/GpApi3DSTestCards.js +22 -0
  84. package/lib/test/Data/GpApi3DSTestCards.js.map +1 -0
  85. package/lib/test/Data/TestCards.d.ts +24 -0
  86. package/lib/test/Data/TestCards.js +220 -0
  87. package/lib/test/Data/TestCards.js.map +1 -0
  88. package/lib/test/Data/TestChecks.d.ts +4 -0
  89. package/lib/test/Data/TestChecks.js +27 -0
  90. package/lib/test/Data/TestChecks.js.map +1 -0
  91. package/lib/test/Data/index.d.ts +4 -0
  92. package/lib/test/Data/index.js +21 -0
  93. package/lib/test/Data/index.js.map +1 -0
  94. package/lib/test/Integration/Gateways/AcsResponse.d.ts +12 -0
  95. package/lib/test/Integration/Gateways/AcsResponse.js +33 -0
  96. package/lib/test/Integration/Gateways/AcsResponse.js.map +1 -0
  97. package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.d.ts +1 -0
  98. package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.js +1026 -0
  99. package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.js.map +1 -0
  100. package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.d.ts +1 -0
  101. package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js +1029 -0
  102. package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js.map +1 -0
  103. package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.d.ts +1 -0
  104. package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.js +643 -0
  105. package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.js.map +1 -0
  106. package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.d.ts +1 -0
  107. package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js +649 -0
  108. package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js.map +1 -0
  109. package/lib/test/Integration/Gateways/GpApiConnector/AccessToken.test.d.ts +1 -0
  110. package/lib/test/Integration/Gateways/GpApiConnector/AccessToken.test.js +130 -0
  111. package/lib/test/Integration/Gateways/GpApiConnector/AccessToken.test.js.map +1 -0
  112. package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +1 -0
  113. package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +109 -0
  114. package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +1 -0
  115. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresent.test.d.ts +1 -0
  116. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresent.test.js +1070 -0
  117. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresent.test.js.map +1 -0
  118. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +1 -0
  119. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +1025 -0
  120. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +1 -0
  121. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.d.ts +1 -0
  122. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js +439 -0
  123. package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js.map +1 -0
  124. package/lib/test/Integration/Gateways/GpApiConnector/DebitCard.test.d.ts +1 -0
  125. package/lib/test/Integration/Gateways/GpApiConnector/DebitCard.test.js +137 -0
  126. package/lib/test/Integration/Gateways/GpApiConnector/DebitCard.test.js.map +1 -0
  127. package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.d.ts +1 -0
  128. package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js +143 -0
  129. package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js.map +1 -0
  130. package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertification.test.d.ts +1 -0
  131. package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertification.test.js +642 -0
  132. package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertification.test.js.map +1 -0
  133. package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.d.ts +1 -0
  134. package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js +639 -0
  135. package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js.map +1 -0
  136. package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagement.test.d.ts +1 -0
  137. package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagement.test.js +151 -0
  138. package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagement.test.js.map +1 -0
  139. package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.d.ts +1 -0
  140. package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js +149 -0
  141. package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js.map +1 -0
  142. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDeposits.test.d.ts +1 -0
  143. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDeposits.test.js +226 -0
  144. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDeposits.test.js.map +1 -0
  145. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.d.ts +1 -0
  146. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js +226 -0
  147. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js.map +1 -0
  148. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDisputes.test.d.ts +1 -0
  149. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDisputes.test.js +571 -0
  150. package/lib/test/Integration/Gateways/GpApiConnector/ReportingDisputes.test.js.map +1 -0
  151. package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactions.test.d.ts +1 -0
  152. package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactions.test.js +430 -0
  153. package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactions.test.js.map +1 -0
  154. package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.d.ts +1 -0
  155. package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js +434 -0
  156. package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js.map +1 -0
  157. package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethods.test.d.ts +1 -0
  158. package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethods.test.js +216 -0
  159. package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethods.test.js.map +1 -0
  160. package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.d.ts +1 -0
  161. package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js +217 -0
  162. package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js.map +1 -0
  163. package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactions.test.d.ts +1 -0
  164. package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactions.test.js +340 -0
  165. package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactions.test.js.map +1 -0
  166. package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.d.ts +1 -0
  167. package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +338 -0
  168. package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js.map +1 -0
  169. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Auth.test.d.ts +1 -0
  170. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Auth.test.js +2426 -0
  171. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Auth.test.js.map +1 -0
  172. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +1 -0
  173. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +2446 -0
  174. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +1 -0
  175. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Avs.test.d.ts +1 -0
  176. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Avs.test.js +562 -0
  177. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Avs.test.js.map +1 -0
  178. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +1 -0
  179. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +506 -0
  180. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +1 -0
  181. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Credit.test.d.ts +1 -0
  182. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Credit.test.js +1292 -0
  183. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Credit.test.js.map +1 -0
  184. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +1 -0
  185. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +1296 -0
  186. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +1 -0
  187. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Hold.test.d.ts +1 -0
  188. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Hold.test.js +880 -0
  189. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Hold.test.js.map +1 -0
  190. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +1 -0
  191. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +847 -0
  192. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +1 -0
  193. package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.d.ts +1 -0
  194. package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.js +207 -0
  195. package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.js.map +1 -0
  196. package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
  197. package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +215 -0
  198. package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
  199. package/lib/test/Integration/Gateways/GpEcomConnector/Hpp.test.d.ts +1 -0
  200. package/lib/test/Integration/Gateways/GpEcomConnector/Hpp.test.js +137 -0
  201. package/lib/test/Integration/Gateways/GpEcomConnector/Hpp.test.js.map +1 -0
  202. package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +1 -0
  203. package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +99 -0
  204. package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +1 -0
  205. package/lib/test/Integration/Gateways/GpEcomConnector/Recurring.test.d.ts +1 -0
  206. package/lib/test/Integration/Gateways/GpEcomConnector/Recurring.test.js +124 -0
  207. package/lib/test/Integration/Gateways/GpEcomConnector/Recurring.test.js.map +1 -0
  208. package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +1 -0
  209. package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +133 -0
  210. package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +1 -0
  211. package/lib/test/Integration/Gateways/PorticoConnector/Ach.test.d.ts +1 -0
  212. package/lib/test/Integration/Gateways/PorticoConnector/Ach.test.js +54 -0
  213. package/lib/test/Integration/Gateways/PorticoConnector/Ach.test.js.map +1 -0
  214. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +1 -0
  215. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +59 -0
  216. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +1 -0
  217. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Check.test.d.ts +1 -0
  218. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Check.test.js +357 -0
  219. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Check.test.js.map +1 -0
  220. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +1 -0
  221. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +378 -0
  222. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +1 -0
  223. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Ecommerce.test.d.ts +1 -0
  224. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Ecommerce.test.js +1667 -0
  225. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Ecommerce.test.js.map +1 -0
  226. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheck.test.d.ts +1 -0
  227. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheck.test.js +80 -0
  228. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheck.test.js.map +1 -0
  229. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +1 -0
  230. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +86 -0
  231. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +1 -0
  232. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +1 -0
  233. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +1723 -0
  234. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +1 -0
  235. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Moto.test.d.ts +1 -0
  236. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Moto.test.js +1487 -0
  237. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Moto.test.js.map +1 -0
  238. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheck.test.d.ts +1 -0
  239. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheck.test.js +80 -0
  240. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheck.test.js.map +1 -0
  241. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +1 -0
  242. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +86 -0
  243. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +1 -0
  244. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +1 -0
  245. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +1760 -0
  246. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +1 -0
  247. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Recurring.test.d.ts +1 -0
  248. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Recurring.test.js +393 -0
  249. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Recurring.test.js.map +1 -0
  250. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +1 -0
  251. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +420 -0
  252. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +1 -0
  253. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Retail.test.d.ts +1 -0
  254. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Retail.test.js +2102 -0
  255. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Retail.test.js.map +1 -0
  256. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +1 -0
  257. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +2221 -0
  258. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +1 -0
  259. package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.d.ts +1 -0
  260. package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.js +367 -0
  261. package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.js.map +1 -0
  262. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +1 -0
  263. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +392 -0
  264. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +1 -0
  265. package/lib/test/Integration/Gateways/PorticoConnector/Debit.test.d.ts +1 -0
  266. package/lib/test/Integration/Gateways/PorticoConnector/Debit.test.js +83 -0
  267. package/lib/test/Integration/Gateways/PorticoConnector/Debit.test.js.map +1 -0
  268. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +1 -0
  269. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +88 -0
  270. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +1 -0
  271. package/lib/test/Integration/Gateways/PorticoConnector/Ebt.test.d.ts +1 -0
  272. package/lib/test/Integration/Gateways/PorticoConnector/Ebt.test.js +63 -0
  273. package/lib/test/Integration/Gateways/PorticoConnector/Ebt.test.js.map +1 -0
  274. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +1 -0
  275. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +72 -0
  276. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +1 -0
  277. package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.d.ts +1 -0
  278. package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.js +136 -0
  279. package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.js.map +1 -0
  280. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +1 -0
  281. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +143 -0
  282. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +1 -0
  283. package/lib/test/Integration/Gateways/PorticoConnector/Gift.test.d.ts +1 -0
  284. package/lib/test/Integration/Gateways/PorticoConnector/Gift.test.js +121 -0
  285. package/lib/test/Integration/Gateways/PorticoConnector/Gift.test.js.map +1 -0
  286. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +1 -0
  287. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +147 -0
  288. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +1 -0
  289. package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementToken.test.d.ts +1 -0
  290. package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementToken.test.js +40 -0
  291. package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementToken.test.js.map +1 -0
  292. package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.d.ts +1 -0
  293. package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.js +48 -0
  294. package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.js.map +1 -0
  295. package/lib/test/Integration/Gateways/PorticoConnector/Recurring.test.d.ts +1 -0
  296. package/lib/test/Integration/Gateways/PorticoConnector/Recurring.test.js +87 -0
  297. package/lib/test/Integration/Gateways/PorticoConnector/Recurring.test.js.map +1 -0
  298. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +1 -0
  299. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +101 -0
  300. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +1 -0
  301. package/lib/test/Integration/Gateways/PorticoConnector/Reporting.test.d.ts +1 -0
  302. package/lib/test/Integration/Gateways/PorticoConnector/Reporting.test.js +44 -0
  303. package/lib/test/Integration/Gateways/PorticoConnector/Reporting.test.js.map +1 -0
  304. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +1 -0
  305. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +50 -0
  306. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +1 -0
  307. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertification.test.d.ts +1 -0
  308. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertification.test.js +38 -0
  309. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertification.test.js.map +1 -0
  310. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +1 -0
  311. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +44 -0
  312. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +1 -0
  313. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertification.test.d.ts +1 -0
  314. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertification.test.js +206 -0
  315. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertification.test.js.map +1 -0
  316. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +1 -0
  317. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +221 -0
  318. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +1 -0
  319. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertification.test.d.ts +1 -0
  320. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertification.test.js +52 -0
  321. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertification.test.js.map +1 -0
  322. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +1 -0
  323. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +60 -0
  324. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +1 -0
  325. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertification.test.d.ts +1 -0
  326. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertification.test.js +72 -0
  327. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertification.test.js.map +1 -0
  328. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +1 -0
  329. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +80 -0
  330. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +1 -0
  331. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +39 -0
  332. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +393 -0
  333. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +1 -0
  334. package/lib/test/Integration/Gateways/ProPayConnector/GetInformation.test.d.ts +1 -0
  335. package/lib/test/Integration/Gateways/ProPayConnector/GetInformation.test.js +37 -0
  336. package/lib/test/Integration/Gateways/ProPayConnector/GetInformation.test.js.map +1 -0
  337. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +1 -0
  338. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +44 -0
  339. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +1 -0
  340. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccount.test.d.ts +1 -0
  341. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccount.test.js +310 -0
  342. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccount.test.js.map +1 -0
  343. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +1 -0
  344. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +330 -0
  345. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +1 -0
  346. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFunds.test.d.ts +1 -0
  347. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFunds.test.js +53 -0
  348. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFunds.test.js.map +1 -0
  349. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +1 -0
  350. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +60 -0
  351. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +1 -0
  352. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransaction.test.d.ts +1 -0
  353. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransaction.test.js +72 -0
  354. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransaction.test.js.map +1 -0
  355. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +1 -0
  356. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +80 -0
  357. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +1 -0
  358. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +34 -0
  359. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +322 -0
  360. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +1 -0
  361. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +4 -0
  362. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +28 -0
  363. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +1 -0
  364. package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.d.ts +4 -0
  365. package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js +10 -0
  366. package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js.map +1 -0
  367. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMic.test.d.ts +1 -0
  368. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMic.test.js +165 -0
  369. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMic.test.js.map +1 -0
  370. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.d.ts +1 -0
  371. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js +149 -0
  372. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js.map +1 -0
  373. package/lib/test/Integration/Gateways/ThreeDSecureAsClient.d.ts +16 -0
  374. package/lib/test/Integration/Gateways/ThreeDSecureAsClient.js +212 -0
  375. package/lib/test/Integration/Gateways/ThreeDSecureAsClient.js.map +1 -0
  376. package/lib/test/Integration/Services/CheckService.test.d.ts +1 -0
  377. package/lib/test/Integration/Services/CheckService.test.js +38 -0
  378. package/lib/test/Integration/Services/CheckService.test.js.map +1 -0
  379. package/lib/test/Integration/Services/CheckServiceTest.d.ts +1 -0
  380. package/lib/test/Integration/Services/CheckServiceTest.js +45 -0
  381. package/lib/test/Integration/Services/CheckServiceTest.js.map +1 -0
  382. package/lib/test/Integration/Services/CreditService.test.d.ts +1 -0
  383. package/lib/test/Integration/Services/CreditService.test.js +158 -0
  384. package/lib/test/Integration/Services/CreditService.test.js.map +1 -0
  385. package/lib/test/Integration/Services/CreditServiceTest.d.ts +1 -0
  386. package/lib/test/Integration/Services/CreditServiceTest.js +174 -0
  387. package/lib/test/Integration/Services/CreditServiceTest.js.map +1 -0
  388. package/lib/test/Integration/Services/DebitService.test.d.ts +1 -0
  389. package/lib/test/Integration/Services/DebitService.test.js +77 -0
  390. package/lib/test/Integration/Services/DebitService.test.js.map +1 -0
  391. package/lib/test/Integration/Services/DebitServiceTest.d.ts +1 -0
  392. package/lib/test/Integration/Services/DebitServiceTest.js +81 -0
  393. package/lib/test/Integration/Services/DebitServiceTest.js.map +1 -0
  394. package/lib/test/Integration/Services/EBTService.test.d.ts +1 -0
  395. package/lib/test/Integration/Services/EBTService.test.js +54 -0
  396. package/lib/test/Integration/Services/EBTService.test.js.map +1 -0
  397. package/lib/test/Integration/Services/EBTServiceTest.d.ts +1 -0
  398. package/lib/test/Integration/Services/EBTServiceTest.js +64 -0
  399. package/lib/test/Integration/Services/EBTServiceTest.js.map +1 -0
  400. package/lib/test/Unit/Builders/AuthorizationBuilder/Validation.test.d.ts +1 -0
  401. package/lib/test/Unit/Builders/AuthorizationBuilder/Validation.test.js +122 -0
  402. package/lib/test/Unit/Builders/AuthorizationBuilder/Validation.test.js.map +1 -0
  403. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +1 -0
  404. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +111 -0
  405. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +1 -0
  406. package/lib/test/Unit/Builders/ReportBuilder/Validation.test.d.ts +1 -0
  407. package/lib/test/Unit/Builders/ReportBuilder/Validation.test.js +66 -0
  408. package/lib/test/Unit/Builders/ReportBuilder/Validation.test.js.map +1 -0
  409. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +1 -0
  410. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +62 -0
  411. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +1 -0
  412. package/lib/test/Unit/Gateways/GpEcomConnector/Credit.test.d.ts +1 -0
  413. package/lib/test/Unit/Gateways/GpEcomConnector/Credit.test.js +32 -0
  414. package/lib/test/Unit/Gateways/GpEcomConnector/Credit.test.js.map +1 -0
  415. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
  416. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +34 -0
  417. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
  418. package/lib/test/Unit/Gateways/PorticoConnector/InputValidation.test.d.ts +1 -0
  419. package/lib/test/Unit/Gateways/PorticoConnector/InputValidation.test.js +128 -0
  420. package/lib/test/Unit/Gateways/PorticoConnector/InputValidation.test.js.map +1 -0
  421. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +1 -0
  422. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +125 -0
  423. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +1 -0
  424. package/package.json +62 -71
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const PayFacService_1 = require("../../../../src/Services/PayFacService");
4
+ const src_1 = require("../../../../src");
5
+ const config = new src_1.PorticoConfig();
6
+ config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
7
+ config.certificationStr = "5dbacb0fc504dd7bdc2eadeb7039dd";
8
+ config.terminalId = "7039dd";
9
+ const _service = new PayFacService_1.PayFacService();
10
+ beforeAll(() => {
11
+ src_1.ServicesContainer.configureService(config);
12
+ });
13
+ test("get account balance", async () => {
14
+ const response = await _service
15
+ .getAccountBalance()
16
+ .withAccountNumber("718135687")
17
+ .execute();
18
+ expect(response).toBeTruthy();
19
+ expect("00").toBe(response.responseCode);
20
+ });
21
+ test("get account info", async () => {
22
+ const response = await _service
23
+ .getAccountDetails()
24
+ .withAccountNumber("718135687")
25
+ .execute();
26
+ expect(response).toBeTruthy();
27
+ expect("00").toBe(response.responseCode);
28
+ });
29
+ test("get account info enchance", async () => {
30
+ const response = await _service
31
+ .getAccountDetailsEnhanced()
32
+ .withAccountNumber("718135687")
33
+ .execute();
34
+ expect(response).toBeTruthy();
35
+ expect("00").toBe(response.responseCode);
36
+ });
37
+ //# sourceMappingURL=GetInformation.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetInformation.test.js","sourceRoot":"","sources":["../../../../../test/Integration/Gateways/ProPayConnector/GetInformation.test.ts"],"names":[],"mappings":";;AAAA,0EAAuE;AACvE,yCAAmE;AAEnE,MAAM,MAAM,GAAG,IAAI,mBAAa,EAAE,CAAC;AACnC,MAAM,CAAC,UAAU,GAAG,+CAA+C,CAAC;AACpE,MAAM,CAAC,gBAAgB,GAAG,gCAAgC,CAAC;AAC3D,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC7B,MAAM,QAAQ,GAAG,IAAI,6BAAa,EAAE,CAAC;AAErC,SAAS,CAAC,GAAG,EAAE;IACb,uBAAiB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;IACrC,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,iBAAiB,EAAE;SACnB,iBAAiB,CAAC,WAAW,CAAC;SAC9B,OAAO,EAAE,CAAC;IAEb,MAAM,CAAC,QAAQ,CAAC,CAAC,UAAU,EAAE,CAAC;IAC9B,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AAC3C,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,kBAAkB,EAAE,KAAK,IAAI,EAAE;IAClC,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,iBAAiB,EAAE;SACnB,iBAAiB,CAAC,WAAW,CAAC;SAC9B,OAAO,EAAE,CAAC;IAEb,MAAM,CAAC,QAAQ,CAAC,CAAC,UAAU,EAAE,CAAC;IAC9B,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AAC3C,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,2BAA2B,EAAE,KAAK,IAAI,EAAE;IAC3C,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,yBAAyB,EAAE;SAC3B,iBAAiB,CAAC,WAAW,CAAC;SAC9B,OAAO,EAAE,CAAC;IAEb,MAAM,CAAC,QAAQ,CAAC,CAAC,UAAU,EAAE,CAAC;IAC9B,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AAC3C,CAAC,CAAC,CAAC"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const ava_1 = __importDefault(require("ava"));
7
+ const PayFacService_1 = require("../../../../src/Services/PayFacService");
8
+ const src_1 = require("../../../../src");
9
+ const config = new src_1.PorticoConfig();
10
+ config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
11
+ config.certificationStr = "5dbacb0fc504dd7bdc2eadeb7039dd";
12
+ config.terminalId = "7039dd";
13
+ const _service = new PayFacService_1.PayFacService();
14
+ ava_1.default.before(() => {
15
+ src_1.ServicesContainer.configureService(config);
16
+ });
17
+ (0, ava_1.default)("get account balance", async (t) => {
18
+ t.plan(2);
19
+ const response = await _service
20
+ .getAccountBalance()
21
+ .withAccountNumber("718135687")
22
+ .execute();
23
+ t.truthy(response);
24
+ t.is("00", response.responseCode);
25
+ });
26
+ (0, ava_1.default)("get account info", async (t) => {
27
+ t.plan(2);
28
+ const response = await _service
29
+ .getAccountDetails()
30
+ .withAccountNumber("718135687")
31
+ .execute();
32
+ t.truthy(response);
33
+ t.is("00", response.responseCode);
34
+ });
35
+ (0, ava_1.default)("get account info enchance", async (t) => {
36
+ t.plan(2);
37
+ const response = await _service
38
+ .getAccountDetailsEnhanced()
39
+ .withAccountNumber("718135687")
40
+ .execute();
41
+ t.truthy(response);
42
+ t.is("00", response.responseCode);
43
+ });
44
+ //# sourceMappingURL=GetInformationTest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetInformationTest.js","sourceRoot":"","sources":["../../../../../test/Integration/Gateways/ProPayConnector/GetInformationTest.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AACvB,0EAAuE;AACvE,yCAAmE;AAEnE,MAAM,MAAM,GAAG,IAAI,mBAAa,EAAE,CAAC;AACnC,MAAM,CAAC,UAAU,GAAG,+CAA+C,CAAC;AACpE,MAAM,CAAC,gBAAgB,GAAG,gCAAgC,CAAC;AAC3D,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC7B,MAAM,QAAQ,GAAG,IAAI,6BAAa,EAAE,CAAC;AAErC,aAAI,CAAC,MAAM,CAAC,GAAG,EAAE;IACf,uBAAiB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,qBAAqB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,iBAAiB,EAAE;SACnB,iBAAiB,CAAC,WAAW,CAAC;SAC9B,OAAO,EAAE,CAAC;IAEb,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACnB,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,kBAAkB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACnC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,iBAAiB,EAAE;SACnB,iBAAiB,CAAC,WAAW,CAAC;SAC9B,OAAO,EAAE,CAAC;IAEb,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACnB,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,2BAA2B,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC5C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,yBAAyB,EAAE;SAC3B,iBAAiB,CAAC,WAAW,CAAC;SAC9B,OAAO,EAAE,CAAC;IAEb,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACnB,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,310 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const PayFacService_1 = require("../../../../src/Services/PayFacService");
4
+ const src_1 = require("../../../../src");
5
+ const TestAccountData_1 = require("./TestData/TestAccountData");
6
+ const UserPersonalData_1 = require("../../../../src/Entities/ProFac/UserPersonalData");
7
+ const SSORequestData_1 = require("../../../../src/Entities/SSORequestData");
8
+ const BankAccountOwnershipData_1 = require("../../../../src/Entities/ProFac/BankAccountOwnershipData");
9
+ const DocumentUploadData_1 = require("../../../../src/Entities/DocumentUploadData");
10
+ const config = new src_1.PorticoConfig();
11
+ config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
12
+ config.certificationStr = "5dbacb0fc504dd7bdc2eadeb7039dd";
13
+ config.terminalId = "7039dd";
14
+ config.selfSignedCertLocation =
15
+ "test/Integration/Gateways/ProPayConnector/TestData/selfSignedCertificate.crt";
16
+ const _service = new PayFacService_1.PayFacService();
17
+ beforeAll(() => {
18
+ src_1.ServicesContainer.configureService(config);
19
+ });
20
+ test("create account", async () => {
21
+ const bankAccountInfo = TestAccountData_1.TestAccountData.GetBankAccountData();
22
+ const userBusinessInfo = TestAccountData_1.TestAccountData.GetBusinessData();
23
+ const accountPersonalInfo = TestAccountData_1.TestAccountData.GetUserPersonalData();
24
+ const threatRiskData = TestAccountData_1.TestAccountData.GetThreatRiskData();
25
+ const significantOwnerData = TestAccountData_1.TestAccountData.GetSignificantOwnerData();
26
+ const ownersInfo = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
27
+ const creditCardInfo = TestAccountData_1.TestAccountData.GetCreditCardData();
28
+ const achInfo = TestAccountData_1.TestAccountData.GetACHData();
29
+ const secondaryBankInformation = TestAccountData_1.TestAccountData.GetSecondaryBankAccountData();
30
+ const mailingAddressInfo = TestAccountData_1.TestAccountData.GetMailingAddress();
31
+ const deviceData = TestAccountData_1.TestAccountData.GetDeviceData(1, false);
32
+ const response = await _service
33
+ .createAccount()
34
+ .withBankAccountData(bankAccountInfo)
35
+ .withBusinessData(userBusinessInfo)
36
+ .withUserPersonalData(accountPersonalInfo)
37
+ .withThreatRiskData(threatRiskData)
38
+ .withSignificantOwnerData(significantOwnerData)
39
+ .withBeneficialOwnerData(ownersInfo)
40
+ .withCreditCardData(creditCardInfo)
41
+ .withACHData(achInfo)
42
+ .withMailingAddress(mailingAddressInfo)
43
+ .withSecondaryBankAccountData(secondaryBankInformation)
44
+ .withDeviceData(deviceData)
45
+ .withTimeZone("ET")
46
+ .execute();
47
+ expect(response).toBeTruthy();
48
+ expect("00").toBe(response.responseCode);
49
+ expect(response.payFacData.accountNumber).toBeTruthy();
50
+ expect(response.payFacData.password).toBeTruthy();
51
+ expect(response.payFacData.sourceEmail).toBeTruthy();
52
+ });
53
+ test("Order a new device", async () => {
54
+ const orderDeviceInfo = TestAccountData_1.TestAccountData.GetOrderNewDeviceData();
55
+ const deviceData = TestAccountData_1.TestAccountData.GetDeviceDataForOrderDevice(1, false);
56
+ const response = await _service
57
+ .orderDevice()
58
+ .withOrderDevice(orderDeviceInfo)
59
+ .withOrderDeviceData(deviceData)
60
+ .execute();
61
+ expect(response).toBeTruthy();
62
+ expect("00").toBe(response.responseCode);
63
+ });
64
+ test("reset password", async () => {
65
+ const response = await _service
66
+ .resetPassword()
67
+ .withAccountNumber("718150930")
68
+ .withNegativeLimit("1")
69
+ .execute();
70
+ expect(response).toBeTruthy();
71
+ });
72
+ /* Note : This method may be used to add new beneficial owner information when the original account boarding call included OwnerCount,
73
+ * but did not include all owner data
74
+ */
75
+ test.failing("update beneficial data", async () => {
76
+ //Owners count shoud not be excedded 6
77
+ const ownersInfo = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
78
+ const response = await _service
79
+ .updateBeneficialOwnershipInfo()
80
+ .withAccountNumber("718568507")
81
+ .withBeneficialOwnerData(ownersInfo)
82
+ .execute();
83
+ expect(response).toBeTruthy();
84
+ });
85
+ //#region edit aacount
86
+ test("edit account information", async () => {
87
+ const accountPersonalInfo = new UserPersonalData_1.UserPersonalData();
88
+ accountPersonalInfo.dayPhone = "4464464464";
89
+ accountPersonalInfo.eveningPhone = "4464464464";
90
+ accountPersonalInfo.externalID = String(getRandomInt(100000000, 999999999));
91
+ accountPersonalInfo.firstName = "John";
92
+ accountPersonalInfo.lastName = "Doe";
93
+ accountPersonalInfo.middleInitial = "A";
94
+ accountPersonalInfo.sourceEmail =
95
+ "user" + getRandomInt(1, 10000) + "@user.com";
96
+ accountPersonalInfo.sSN = "1234";
97
+ const response = await _service
98
+ .editAccount()
99
+ .withAccountNumber("718135662")
100
+ .withUserPersonalData(accountPersonalInfo)
101
+ .execute();
102
+ expect(response).toBeTruthy();
103
+ expect("00").toBe(response.responseCode);
104
+ });
105
+ test("edit account password", async () => {
106
+ expect.assertions(2);
107
+ const response = await _service
108
+ .editAccount()
109
+ .withAccountNumber("718568506")
110
+ .withPassword("testPwd_" + getRandomInt(1, 100))
111
+ .execute();
112
+ expect(response).toBeTruthy();
113
+ expect("00").toBe(response.responseCode);
114
+ });
115
+ test.failing("edit account address", async () => {
116
+ const personalInfo = new UserPersonalData_1.UserPersonalData();
117
+ personalInfo.userAddress = new src_1.Address();
118
+ personalInfo.userAddress.streetAddress1 = "124 Main St.";
119
+ personalInfo.userAddress.city = "Downtown";
120
+ personalInfo.userAddress.state = "NJ";
121
+ personalInfo.userAddress.postalCode = "12345";
122
+ personalInfo.userAddress.country = "USA";
123
+ personalInfo.mailingAddress = new src_1.Address();
124
+ personalInfo.mailingAddress.streetAddress1 = "125 Main St.";
125
+ personalInfo.mailingAddress.city = "Downtown";
126
+ personalInfo.mailingAddress.state = "NJ";
127
+ personalInfo.mailingAddress.postalCode = "12345";
128
+ const response = await _service
129
+ .editAccount()
130
+ .withAccountNumber("718138433")
131
+ .withUserPersonalData(personalInfo)
132
+ .execute();
133
+ expect(response).toBeTruthy();
134
+ expect("00").toBe(response.responseCode);
135
+ });
136
+ test("edit account permissions", async () => {
137
+ const response = await _service
138
+ .editAccount()
139
+ .withAccountNumber("718135662")
140
+ .withAccountPermissions(TestAccountData_1.TestAccountData.GetAccountPermissions())
141
+ .execute();
142
+ expect(response).toBeTruthy();
143
+ expect("00").toBe(response.responseCode);
144
+ });
145
+ //#endregion
146
+ //#region renew account
147
+ test.failing("renew account", async () => {
148
+ const response = await _service
149
+ .renewAccount()
150
+ .withRenewalAccountData(TestAccountData_1.TestAccountData.GetRenewAccountDetails())
151
+ .withAccountNumber("718568507")
152
+ .execute();
153
+ expect(response).toBeTruthy();
154
+ expect("00").toBe(response.responseCode);
155
+ });
156
+ test.failing("renew account by credit card", async () => {
157
+ const response = await _service
158
+ .renewAccount()
159
+ .withAccountNumber("718135662")
160
+ .withRenewalAccountData(TestAccountData_1.TestAccountData.GetRenewAccountDetails())
161
+ .execute();
162
+ expect(response).toBeTruthy();
163
+ expect("00").toBe(response.responseCode);
164
+ });
165
+ test.skip("renew account by bank account", async () => {
166
+ const response = await _service
167
+ .renewAccount()
168
+ .withAccountNumber("718151055")
169
+ .withRenewalAccountData(TestAccountData_1.TestAccountData.GetRenewAccountDetails())
170
+ .execute();
171
+ expect(response).toBeTruthy();
172
+ expect("00").toBe(response.responseCode);
173
+ });
174
+ //#endregion
175
+ test.skip("update account beneficial ownership", async () => {
176
+ const beneficialOwners = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
177
+ const response = await _service
178
+ .updateBeneficialOwnershipInfo()
179
+ .withAccountNumber("718134589") // This account must have been created with a beneficial owner count specified, but no owner details passed
180
+ .withBeneficialOwnerData(beneficialOwners)
181
+ .execute();
182
+ expect(response).toBeTruthy();
183
+ expect("00").toBe(response.responseCode);
184
+ expect(response.payFacData.beneficialOwnerDataResults).toBeTruthy();
185
+ });
186
+ test.skip("disown account", async () => {
187
+ const response = await _service
188
+ .disownAccount()
189
+ .withAccountNumber("718134204") // The account being "disowned" needs to have another affiliation set. Contact propayimplementations@tsys.com and they will set one if necessary
190
+ .execute();
191
+ expect(response).toBeTruthy();
192
+ expect("00").toBe(response.responseCode);
193
+ });
194
+ // Note : The transaction number of the chargeback you need to dispute. (can be verify at certification process)
195
+ test.failing("upload document chargeback", async () => {
196
+ const docUploadData = new DocumentUploadData_1.DocumentUploadData();
197
+ docUploadData.documentName = "TestDocCB_12345";
198
+ docUploadData.transactionReference = "123456789";
199
+ docUploadData.documentPath =
200
+ "test/Integration/Gateways/ProPayConnector/TestData/TestDocChargeback.docx";
201
+ docUploadData.DocumentPath(docUploadData.documentPath);
202
+ const response = await _service
203
+ .uploadDocumentChargeback()
204
+ .withAccountNumber("718567300")
205
+ .withDocumentUploadData(docUploadData)
206
+ .execute();
207
+ expect(response).toBeTruthy();
208
+ expect("00").toBe(response.responseCode);
209
+ });
210
+ test.failing("upload document", async () => {
211
+ const docUploadData = new DocumentUploadData_1.DocumentUploadData();
212
+ docUploadData.documentName = "TestDoc_12345";
213
+ docUploadData.docCategory = "Verification";
214
+ docUploadData.documentPath =
215
+ "test/Integration/Gateways/ProPayConnector/TestData/TestDoc.docx";
216
+ docUploadData.DocumentPath(docUploadData.documentPath);
217
+ const response = await _service
218
+ .uploadDocument()
219
+ .withAccountNumber("718134204")
220
+ .withDocumentUploadData(docUploadData)
221
+ .execute();
222
+ expect(response).toBeTruthy();
223
+ expect("00").toBe(response.responseCode);
224
+ });
225
+ test.failing("upload document chargeback by document string", async () => {
226
+ const docUploadData = new DocumentUploadData_1.DocumentUploadData();
227
+ docUploadData.documentName = "TestDocCB_12345";
228
+ docUploadData.transactionReference = "123456789";
229
+ docUploadData.document = TestAccountData_1.TestAccountData.GetDocumentBase64String("test/Integration/Gateways/ProPayConnector/TestData/TestDocChargeback.docx");
230
+ docUploadData.docType = "docx";
231
+ const response = await _service
232
+ .uploadDocumentChargeback()
233
+ .withAccountNumber("718134204")
234
+ .withDocumentUploadData(docUploadData)
235
+ .execute();
236
+ expect(response).toBeTruthy();
237
+ expect("00").toBe(response.responseCode);
238
+ });
239
+ test("upload document by document string", async () => {
240
+ const docUploadData = new DocumentUploadData_1.DocumentUploadData();
241
+ docUploadData.documentName = "TestDoc_12345";
242
+ docUploadData.docCategory = "Verification";
243
+ docUploadData.document = TestAccountData_1.TestAccountData.GetDocumentBase64String("test/Integration/Gateways/ProPayConnector/TestData/TestDoc.docx");
244
+ docUploadData.docType = "docx";
245
+ const response = await _service
246
+ .uploadDocument()
247
+ .withAccountNumber("718134204")
248
+ .withDocumentUploadData(docUploadData)
249
+ .execute();
250
+ expect(response).toBeTruthy();
251
+ expect("00").toBe(response.responseCode);
252
+ });
253
+ test("obtain sSO key", async () => {
254
+ const ssoRequestData = new SSORequestData_1.SSORequestData();
255
+ ssoRequestData.referrerURL = "https://www.globalpaymentsinc.com/";
256
+ ssoRequestData.iPAddress = "40.81.11.219";
257
+ ssoRequestData.iPSubnetMask = "255.255.255.0";
258
+ const response = await _service
259
+ .obtainSSOKey()
260
+ .withAccountNumber("718150930")
261
+ .withSSORequestData(ssoRequestData)
262
+ .execute();
263
+ expect(response).toBeTruthy();
264
+ expect("00").toBe(response.responseCode);
265
+ expect(response.payFacData.authToken).toBeTruthy();
266
+ });
267
+ test.failing("update bank account ownership info", async () => {
268
+ config.selfSignedCertLocation =
269
+ "test/Integration/Gateways/ProPayConnector/TestData/selfSignedCertificateCAN.crt";
270
+ config.serviceUrl = "https://xmltestcanada.propay.com/API/PropayAPI.aspx";
271
+ config.certificationStr = "7c4ddcba7054a1d9e00bcac4743b98";
272
+ config.terminalId = "3b98";
273
+ src_1.ServicesContainer.configureService(config, "secondService");
274
+ const primaryOwner = new BankAccountOwnershipData_1.BankAccountOwnershipData();
275
+ primaryOwner.firstName = "Style";
276
+ primaryOwner.lastName = "Stallone";
277
+ primaryOwner.phoneNumber = "123456789";
278
+ const ownerAddress = new src_1.Address();
279
+ primaryOwner.ownerAddress = ownerAddress;
280
+ const secondaryOwner = new BankAccountOwnershipData_1.BankAccountOwnershipData();
281
+ secondaryOwner.firstName = "Thomas";
282
+ secondaryOwner.lastName = "Hanks";
283
+ secondaryOwner.phoneNumber = "123456789";
284
+ const secondaryOwnerAddress = new src_1.Address();
285
+ secondaryOwnerAddress.streetAddress1 = "1970 Diamond Blvd";
286
+ secondaryOwnerAddress.streetAddress2 = "1971 Diamond Blvd";
287
+ secondaryOwnerAddress.streetAddress3 = "1972 Diamond Blvd";
288
+ secondaryOwnerAddress.city = "Orlando";
289
+ secondaryOwnerAddress.state = "FL";
290
+ secondaryOwnerAddress.postalCode = "X0A 0H0";
291
+ secondaryOwnerAddress.country = "CAN";
292
+ secondaryOwner.ownerAddress = secondaryOwnerAddress;
293
+ const response = await _service
294
+ .updateBankAccountOwnershipInfo()
295
+ .withAccountNumber("716016890")
296
+ .withPrimaryBankAccountOwner(primaryOwner)
297
+ .withSecondaryBankAccountOwner(secondaryOwner)
298
+ .execute("secondService");
299
+ expect(response).toBeTruthy();
300
+ expect("00").toBe(response.responseCode);
301
+ });
302
+ function getRandomInt(min, max) {
303
+ const floatRandom = Math.random();
304
+ const difference = max - min;
305
+ // random between 0 and the difference
306
+ const random = Math.round(difference * floatRandom);
307
+ const randomWithinRange = random + min;
308
+ return randomWithinRange;
309
+ }
310
+ //# sourceMappingURL=ProPayAccount.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProPayAccount.test.js","sourceRoot":"","sources":["../../../../../test/Integration/Gateways/ProPayConnector/ProPayAccount.test.ts"],"names":[],"mappings":";;AAAA,0EAAuE;AACvE,yCAA4E;AAE5E,gEAA6D;AAC7D,uFAAoF;AACpF,4EAAyE;AACzE,uGAAoG;AACpG,oFAAiF;AAEjF,MAAM,MAAM,GAAG,IAAI,mBAAa,EAAE,CAAC;AACnC,MAAM,CAAC,UAAU,GAAG,+CAA+C,CAAC;AACpE,MAAM,CAAC,gBAAgB,GAAG,gCAAgC,CAAC;AAC3D,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC7B,MAAM,CAAC,sBAAsB;IAC3B,8EAA8E,CAAC;AACjF,MAAM,QAAQ,GAAG,IAAI,6BAAa,EAAE,CAAC;AAErC,SAAS,CAAC,GAAG,EAAE;IACb,uBAAiB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE;IAChC,MAAM,eAAe,GAAG,iCAAe,CAAC,kBAAkB,EAAE,CAAC;IAC7D,MAAM,gBAAgB,GAAG,iCAAe,CAAC,eAAe,EAAE,CAAC;IAC3D,MAAM,mBAAmB,GAAG,iCAAe,CAAC,mBAAmB,EAAE,CAAC;IAClE,MAAM,cAAc,GAAG,iCAAe,CAAC,iBAAiB,EAAE,CAAC;IAC3D,M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