globalpayments-api 3.3.3 → 3.5.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 (701) hide show
  1. package/.eslintignore +8 -8
  2. package/.eslintrc.cjs +39 -39
  3. package/.prettierrc +14 -15
  4. package/CHANGELOG.md +88 -75
  5. package/package.json +66 -66
  6. package/tsconfig.eslint.json +15 -15
  7. package/appsec.properties +0 -7
  8. package/lib/src/Builders/AuthorizationBuilder.d.ts +0 -325
  9. package/lib/src/Builders/AuthorizationBuilder.js +0 -617
  10. package/lib/src/Builders/AuthorizationBuilder.js.map +0 -1
  11. package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +0 -16
  12. package/lib/src/Builders/BaseBuilder/ValidationClause.js +0 -92
  13. package/lib/src/Builders/BaseBuilder/ValidationClause.js.map +0 -1
  14. package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +0 -16
  15. package/lib/src/Builders/BaseBuilder/ValidationTarget.js +0 -36
  16. package/lib/src/Builders/BaseBuilder/ValidationTarget.js.map +0 -1
  17. package/lib/src/Builders/BaseBuilder/Validations.d.ts +0 -11
  18. package/lib/src/Builders/BaseBuilder/Validations.js +0 -55
  19. package/lib/src/Builders/BaseBuilder/Validations.js.map +0 -1
  20. package/lib/src/Builders/BaseBuilder.d.ts +0 -11
  21. package/lib/src/Builders/BaseBuilder.js +0 -17
  22. package/lib/src/Builders/BaseBuilder.js.map +0 -1
  23. package/lib/src/Builders/ManagementBuilder.d.ts +0 -104
  24. package/lib/src/Builders/ManagementBuilder.js +0 -208
  25. package/lib/src/Builders/ManagementBuilder.js.map +0 -1
  26. package/lib/src/Builders/PayFacBuilder.d.ts +0 -97
  27. package/lib/src/Builders/PayFacBuilder.js +0 -233
  28. package/lib/src/Builders/PayFacBuilder.js.map +0 -1
  29. package/lib/src/Builders/RecurringBuilder.d.ts +0 -13
  30. package/lib/src/Builders/RecurringBuilder.js +0 -34
  31. package/lib/src/Builders/RecurringBuilder.js.map +0 -1
  32. package/lib/src/Builders/ReportBuilder.d.ts +0 -8
  33. package/lib/src/Builders/ReportBuilder.js +0 -21
  34. package/lib/src/Builders/ReportBuilder.js.map +0 -1
  35. package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.d.ts +0 -11
  36. package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js +0 -23
  37. package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js.map +0 -1
  38. package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.d.ts +0 -17
  39. package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +0 -36
  40. package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +0 -1
  41. package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.d.ts +0 -16
  42. package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js +0 -34
  43. package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js.map +0 -1
  44. package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.d.ts +0 -6
  45. package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js +0 -49
  46. package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js.map +0 -1
  47. package/lib/src/Builders/RequestBuilder/GpApi/index.d.ts +0 -4
  48. package/lib/src/Builders/RequestBuilder/GpApi/index.js +0 -21
  49. package/lib/src/Builders/RequestBuilder/GpApi/index.js.map +0 -1
  50. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.d.ts +0 -18
  51. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js +0 -125
  52. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js.map +0 -1
  53. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.d.ts +0 -11
  54. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js +0 -83
  55. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js.map +0 -1
  56. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.d.ts +0 -9
  57. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js +0 -66
  58. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js.map +0 -1
  59. package/lib/src/Builders/RequestBuilder/GpEcom/index.d.ts +0 -3
  60. package/lib/src/Builders/RequestBuilder/GpEcom/index.js +0 -20
  61. package/lib/src/Builders/RequestBuilder/GpEcom/index.js.map +0 -1
  62. package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +0 -7
  63. package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +0 -35
  64. package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +0 -1
  65. package/lib/src/Builders/RequestBuilder/index.d.ts +0 -3
  66. package/lib/src/Builders/RequestBuilder/index.js +0 -20
  67. package/lib/src/Builders/RequestBuilder/index.js.map +0 -1
  68. package/lib/src/Builders/TransactionBuilder.d.ts +0 -12
  69. package/lib/src/Builders/TransactionBuilder.js +0 -43
  70. package/lib/src/Builders/TransactionBuilder.js.map +0 -1
  71. package/lib/src/Builders/TransactionReportBuilder.d.ts +0 -15
  72. package/lib/src/Builders/TransactionReportBuilder.js +0 -65
  73. package/lib/src/Builders/TransactionReportBuilder.js.map +0 -1
  74. package/lib/src/Builders/index.d.ts +0 -8
  75. package/lib/src/Builders/index.js +0 -25
  76. package/lib/src/Builders/index.js.map +0 -1
  77. package/lib/src/ConfiguredServices.d.ts +0 -24
  78. package/lib/src/ConfiguredServices.js +0 -33
  79. package/lib/src/ConfiguredServices.js.map +0 -1
  80. package/lib/src/Entities/Address.d.ts +0 -13
  81. package/lib/src/Entities/Address.js +0 -22
  82. package/lib/src/Entities/Address.js.map +0 -1
  83. package/lib/src/Entities/BatchSummary.d.ts +0 -6
  84. package/lib/src/Entities/BatchSummary.js +0 -11
  85. package/lib/src/Entities/BatchSummary.js.map +0 -1
  86. package/lib/src/Entities/Customer.d.ts +0 -69
  87. package/lib/src/Entities/Customer.js +0 -89
  88. package/lib/src/Entities/Customer.js.map +0 -1
  89. package/lib/src/Entities/CustomerDocument.d.ts +0 -8
  90. package/lib/src/Entities/CustomerDocument.js +0 -16
  91. package/lib/src/Entities/CustomerDocument.js.map +0 -1
  92. package/lib/src/Entities/DocumentUploadData.d.ts +0 -13
  93. package/lib/src/Entities/DocumentUploadData.js +0 -81
  94. package/lib/src/Entities/DocumentUploadData.js.map +0 -1
  95. package/lib/src/Entities/EcommerceInfo.d.ts +0 -12
  96. package/lib/src/Entities/EcommerceInfo.js +0 -22
  97. package/lib/src/Entities/EcommerceInfo.js.map +0 -1
  98. package/lib/src/Entities/EncryptionData.d.ts +0 -6
  99. package/lib/src/Entities/EncryptionData.js +0 -11
  100. package/lib/src/Entities/EncryptionData.js.map +0 -1
  101. package/lib/src/Entities/Enums/AcquisitionType.d.ts +0 -10
  102. package/lib/src/Entities/Enums/AcquisitionType.js +0 -15
  103. package/lib/src/Entities/Enums/AcquisitionType.js.map +0 -1
  104. package/lib/src/Entities/Enums/CardTypeFilter.d.ts +0 -7
  105. package/lib/src/Entities/Enums/CardTypeFilter.js +0 -12
  106. package/lib/src/Entities/Enums/CardTypeFilter.js.map +0 -1
  107. package/lib/src/Entities/Enums.d.ts +0 -460
  108. package/lib/src/Entities/Enums.js +0 -636
  109. package/lib/src/Entities/Enums.js.map +0 -1
  110. package/lib/src/Entities/Errors.d.ts +0 -23
  111. package/lib/src/Entities/Errors.js +0 -72
  112. package/lib/src/Entities/Errors.js.map +0 -1
  113. package/lib/src/Entities/GpApi/AccessTokenInfo.d.ts +0 -16
  114. package/lib/src/Entities/GpApi/AccessTokenInfo.js +0 -21
  115. package/lib/src/Entities/GpApi/AccessTokenInfo.js.map +0 -1
  116. package/lib/src/Entities/GpApi/GpApiAccount.d.ts +0 -5
  117. package/lib/src/Entities/GpApi/GpApiAccount.js +0 -13
  118. package/lib/src/Entities/GpApi/GpApiAccount.js.map +0 -1
  119. package/lib/src/Entities/GpApi/GpApiRequest.d.ts +0 -21
  120. package/lib/src/Entities/GpApi/GpApiRequest.js +0 -26
  121. package/lib/src/Entities/GpApi/GpApiRequest.js.map +0 -1
  122. package/lib/src/Entities/GpApi/GpApiTokenResponse.d.ts +0 -52
  123. package/lib/src/Entities/GpApi/GpApiTokenResponse.js +0 -115
  124. package/lib/src/Entities/GpApi/GpApiTokenResponse.js.map +0 -1
  125. package/lib/src/Entities/GpApi/index.d.ts +0 -4
  126. package/lib/src/Entities/GpApi/index.js +0 -21
  127. package/lib/src/Entities/GpApi/index.js.map +0 -1
  128. package/lib/src/Entities/HostedPaymentData.d.ts +0 -10
  129. package/lib/src/Entities/HostedPaymentData.js +0 -17
  130. package/lib/src/Entities/HostedPaymentData.js.map +0 -1
  131. package/lib/src/Entities/IRequestBuilder.d.ts +0 -6
  132. package/lib/src/Entities/IRequestBuilder.js +0 -3
  133. package/lib/src/Entities/IRequestBuilder.js.map +0 -1
  134. package/lib/src/Entities/IRequestLogger.d.ts +0 -8
  135. package/lib/src/Entities/IRequestLogger.js +0 -3
  136. package/lib/src/Entities/IRequestLogger.js.map +0 -1
  137. package/lib/src/Entities/MaskedValueCollection.d.ts +0 -12
  138. package/lib/src/Entities/MaskedValueCollection.js +0 -53
  139. package/lib/src/Entities/MaskedValueCollection.js.map +0 -1
  140. package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +0 -7
  141. package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +0 -12
  142. package/lib/src/Entities/ProFac/AccountBalanceResponseData.js.map +0 -1
  143. package/lib/src/Entities/ProFac/AccountPermissions.d.ts +0 -15
  144. package/lib/src/Entities/ProFac/AccountPermissions.js +0 -19
  145. package/lib/src/Entities/ProFac/AccountPermissions.js.map +0 -1
  146. package/lib/src/Entities/ProFac/BankAccountData.d.ts +0 -10
  147. package/lib/src/Entities/ProFac/BankAccountData.js +0 -42
  148. package/lib/src/Entities/ProFac/BankAccountData.js.map +0 -1
  149. package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +0 -8
  150. package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +0 -15
  151. package/lib/src/Entities/ProFac/BankAccountOwnershipData.js.map +0 -1
  152. package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +0 -6
  153. package/lib/src/Entities/ProFac/BeneficialOwnerData.js +0 -12
  154. package/lib/src/Entities/ProFac/BeneficialOwnerData.js.map +0 -1
  155. package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +0 -5
  156. package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +0 -10
  157. package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js.map +0 -1
  158. package/lib/src/Entities/ProFac/BusinessData.d.ts +0 -15
  159. package/lib/src/Entities/ProFac/BusinessData.js +0 -50
  160. package/lib/src/Entities/ProFac/BusinessData.js.map +0 -1
  161. package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +0 -4
  162. package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +0 -17
  163. package/lib/src/Entities/ProFac/DeviceAttributeInfo.js.map +0 -1
  164. package/lib/src/Entities/ProFac/DeviceData.d.ts +0 -5
  165. package/lib/src/Entities/ProFac/DeviceData.js +0 -11
  166. package/lib/src/Entities/ProFac/DeviceData.js.map +0 -1
  167. package/lib/src/Entities/ProFac/DeviceInfo.d.ts +0 -6
  168. package/lib/src/Entities/ProFac/DeviceInfo.js +0 -19
  169. package/lib/src/Entities/ProFac/DeviceInfo.js.map +0 -1
  170. package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +0 -7
  171. package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +0 -15
  172. package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js.map +0 -1
  173. package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +0 -8
  174. package/lib/src/Entities/ProFac/GrossBillingInformation.js +0 -10
  175. package/lib/src/Entities/ProFac/GrossBillingInformation.js.map +0 -1
  176. package/lib/src/Entities/ProFac/OrderDevice.d.ts +0 -18
  177. package/lib/src/Entities/ProFac/OrderDevice.js +0 -23
  178. package/lib/src/Entities/ProFac/OrderDevice.js.map +0 -1
  179. package/lib/src/Entities/ProFac/OwnersData.d.ts +0 -12
  180. package/lib/src/Entities/ProFac/OwnersData.js +0 -43
  181. package/lib/src/Entities/ProFac/OwnersData.js.map +0 -1
  182. package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +0 -55
  183. package/lib/src/Entities/ProFac/PayFacResponseData.js +0 -62
  184. package/lib/src/Entities/ProFac/PayFacResponseData.js.map +0 -1
  185. package/lib/src/Entities/ProFac/RenewAccountData.d.ts +0 -10
  186. package/lib/src/Entities/ProFac/RenewAccountData.js +0 -38
  187. package/lib/src/Entities/ProFac/RenewAccountData.js.map +0 -1
  188. package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +0 -8
  189. package/lib/src/Entities/ProFac/SignificantOwnerData.js +0 -27
  190. package/lib/src/Entities/ProFac/SignificantOwnerData.js.map +0 -1
  191. package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +0 -5
  192. package/lib/src/Entities/ProFac/ThreatRiskData.js +0 -19
  193. package/lib/src/Entities/ProFac/ThreatRiskData.js.map +0 -1
  194. package/lib/src/Entities/ProFac/UserPersonalData.d.ts +0 -26
  195. package/lib/src/Entities/ProFac/UserPersonalData.js +0 -82
  196. package/lib/src/Entities/ProFac/UserPersonalData.js.map +0 -1
  197. package/lib/src/Entities/RecurringEntity.d.ts +0 -14
  198. package/lib/src/Entities/RecurringEntity.js +0 -92
  199. package/lib/src/Entities/RecurringEntity.js.map +0 -1
  200. package/lib/src/Entities/Request.d.ts +0 -10
  201. package/lib/src/Entities/Request.js +0 -18
  202. package/lib/src/Entities/Request.js.map +0 -1
  203. package/lib/src/Entities/SSORequestData.d.ts +0 -5
  204. package/lib/src/Entities/SSORequestData.js +0 -19
  205. package/lib/src/Entities/SSORequestData.js.map +0 -1
  206. package/lib/src/Entities/Schedule.d.ts +0 -47
  207. package/lib/src/Entities/Schedule.js +0 -325
  208. package/lib/src/Entities/Schedule.js.map +0 -1
  209. package/lib/src/Entities/ServiceEndpoints.d.ts +0 -12
  210. package/lib/src/Entities/ServiceEndpoints.js +0 -17
  211. package/lib/src/Entities/ServiceEndpoints.js.map +0 -1
  212. package/lib/src/Entities/Transaction.d.ts +0 -78
  213. package/lib/src/Entities/Transaction.js +0 -127
  214. package/lib/src/Entities/Transaction.js.map +0 -1
  215. package/lib/src/Entities/TransactionSummary.d.ts +0 -61
  216. package/lib/src/Entities/TransactionSummary.js +0 -66
  217. package/lib/src/Entities/TransactionSummary.js.map +0 -1
  218. package/lib/src/Entities/UPA/ProcessIndicator.d.ts +0 -7
  219. package/lib/src/Entities/UPA/ProcessIndicator.js +0 -11
  220. package/lib/src/Entities/UPA/ProcessIndicator.js.map +0 -1
  221. package/lib/src/Entities/UPA/UpaParam.d.ts +0 -10
  222. package/lib/src/Entities/UPA/UpaParam.js +0 -14
  223. package/lib/src/Entities/UPA/UpaParam.js.map +0 -1
  224. package/lib/src/Entities/UPA/UpaTransactionData.d.ts +0 -8
  225. package/lib/src/Entities/UPA/UpaTransactionData.js +0 -12
  226. package/lib/src/Entities/UPA/UpaTransactionData.js.map +0 -1
  227. package/lib/src/Entities/UPA/index.d.ts +0 -3
  228. package/lib/src/Entities/UPA/index.js +0 -20
  229. package/lib/src/Entities/UPA/index.js.map +0 -1
  230. package/lib/src/Entities/index.d.ts +0 -20
  231. package/lib/src/Entities/index.js +0 -37
  232. package/lib/src/Entities/index.js.map +0 -1
  233. package/lib/src/Gateways/Gateway.d.ts +0 -16
  234. package/lib/src/Gateways/Gateway.js +0 -97
  235. package/lib/src/Gateways/Gateway.js.map +0 -1
  236. package/lib/src/Gateways/GatewayResponse.d.ts +0 -8
  237. package/lib/src/Gateways/GatewayResponse.js +0 -15
  238. package/lib/src/Gateways/GatewayResponse.js.map +0 -1
  239. package/lib/src/Gateways/GpApiConnector.d.ts +0 -42
  240. package/lib/src/Gateways/GpApiConnector.js +0 -227
  241. package/lib/src/Gateways/GpApiConnector.js.map +0 -1
  242. package/lib/src/Gateways/GpEcomConnector.d.ts +0 -36
  243. package/lib/src/Gateways/GpEcomConnector.js +0 -468
  244. package/lib/src/Gateways/GpEcomConnector.js.map +0 -1
  245. package/lib/src/Gateways/IPayFacProvider.d.ts +0 -5
  246. package/lib/src/Gateways/IPayFacProvider.js +0 -3
  247. package/lib/src/Gateways/IPayFacProvider.js.map +0 -1
  248. package/lib/src/Gateways/IPaymentGateway.d.ts +0 -8
  249. package/lib/src/Gateways/IPaymentGateway.js +0 -3
  250. package/lib/src/Gateways/IPaymentGateway.js.map +0 -1
  251. package/lib/src/Gateways/IRecurringService.d.ts +0 -6
  252. package/lib/src/Gateways/IRecurringService.js +0 -3
  253. package/lib/src/Gateways/IRecurringService.js.map +0 -1
  254. package/lib/src/Gateways/PayPlanConnector.d.ts +0 -42
  255. package/lib/src/Gateways/PayPlanConnector.js +0 -545
  256. package/lib/src/Gateways/PayPlanConnector.js.map +0 -1
  257. package/lib/src/Gateways/PorticoConnector.d.ts +0 -48
  258. package/lib/src/Gateways/PorticoConnector.js +0 -1013
  259. package/lib/src/Gateways/PorticoConnector.js.map +0 -1
  260. package/lib/src/Gateways/ProPayConnector.d.ts +0 -45
  261. package/lib/src/Gateways/ProPayConnector.js +0 -801
  262. package/lib/src/Gateways/ProPayConnector.js.map +0 -1
  263. package/lib/src/Gateways/RestGateway.d.ts +0 -9
  264. package/lib/src/Gateways/RestGateway.js +0 -59
  265. package/lib/src/Gateways/RestGateway.js.map +0 -1
  266. package/lib/src/Gateways/XmlGateway.d.ts +0 -6
  267. package/lib/src/Gateways/XmlGateway.js +0 -49
  268. package/lib/src/Gateways/XmlGateway.js.map +0 -1
  269. package/lib/src/Gateways/https-wrapper.d.ts +0 -3
  270. package/lib/src/Gateways/https-wrapper.js +0 -81
  271. package/lib/src/Gateways/https-wrapper.js.map +0 -1
  272. package/lib/src/Gateways/index.d.ts +0 -9
  273. package/lib/src/Gateways/index.js +0 -26
  274. package/lib/src/Gateways/index.js.map +0 -1
  275. package/lib/src/HostedPaymentConfig.d.ts +0 -12
  276. package/lib/src/HostedPaymentConfig.js +0 -16
  277. package/lib/src/HostedPaymentConfig.js.map +0 -1
  278. package/lib/src/Mapping/GpApiMapping.d.ts +0 -5
  279. package/lib/src/Mapping/GpApiMapping.js +0 -14
  280. package/lib/src/Mapping/GpApiMapping.js.map +0 -1
  281. package/lib/src/Mapping/GpEcomMapping.d.ts +0 -9
  282. package/lib/src/Mapping/GpEcomMapping.js +0 -85
  283. package/lib/src/Mapping/GpEcomMapping.js.map +0 -1
  284. package/lib/src/Mapping/index.d.ts +0 -2
  285. package/lib/src/Mapping/index.js +0 -19
  286. package/lib/src/Mapping/index.js.map +0 -1
  287. package/lib/src/PaymentMethods/Cash.d.ts +0 -8
  288. package/lib/src/PaymentMethods/Cash.js +0 -16
  289. package/lib/src/PaymentMethods/Cash.js.map +0 -1
  290. package/lib/src/PaymentMethods/Credit.d.ts +0 -85
  291. package/lib/src/PaymentMethods/Credit.js +0 -105
  292. package/lib/src/PaymentMethods/Credit.js.map +0 -1
  293. package/lib/src/PaymentMethods/CreditCardData.d.ts +0 -20
  294. package/lib/src/PaymentMethods/CreditCardData.js +0 -47
  295. package/lib/src/PaymentMethods/CreditCardData.js.map +0 -1
  296. package/lib/src/PaymentMethods/CreditTrackData.d.ts +0 -7
  297. package/lib/src/PaymentMethods/CreditTrackData.js +0 -10
  298. package/lib/src/PaymentMethods/CreditTrackData.js.map +0 -1
  299. package/lib/src/PaymentMethods/Debit.d.ts +0 -40
  300. package/lib/src/PaymentMethods/Debit.js +0 -52
  301. package/lib/src/PaymentMethods/Debit.js.map +0 -1
  302. package/lib/src/PaymentMethods/DebitTrackData.d.ts +0 -7
  303. package/lib/src/PaymentMethods/DebitTrackData.js +0 -10
  304. package/lib/src/PaymentMethods/DebitTrackData.js.map +0 -1
  305. package/lib/src/PaymentMethods/EBT.d.ts +0 -48
  306. package/lib/src/PaymentMethods/EBT.js +0 -68
  307. package/lib/src/PaymentMethods/EBT.js.map +0 -1
  308. package/lib/src/PaymentMethods/EBTCardData.d.ts +0 -16
  309. package/lib/src/PaymentMethods/EBTCardData.js +0 -25
  310. package/lib/src/PaymentMethods/EBTCardData.js.map +0 -1
  311. package/lib/src/PaymentMethods/EBTTrackData.d.ts +0 -8
  312. package/lib/src/PaymentMethods/EBTTrackData.js +0 -11
  313. package/lib/src/PaymentMethods/EBTTrackData.js.map +0 -1
  314. package/lib/src/PaymentMethods/ECheck.d.ts +0 -32
  315. package/lib/src/PaymentMethods/ECheck.js +0 -38
  316. package/lib/src/PaymentMethods/ECheck.js.map +0 -1
  317. package/lib/src/PaymentMethods/GiftCard.d.ts +0 -131
  318. package/lib/src/PaymentMethods/GiftCard.js +0 -189
  319. package/lib/src/PaymentMethods/GiftCard.js.map +0 -1
  320. package/lib/src/PaymentMethods/Interfaces.d.ts +0 -55
  321. package/lib/src/PaymentMethods/Interfaces.js +0 -3
  322. package/lib/src/PaymentMethods/Interfaces.js.map +0 -1
  323. package/lib/src/PaymentMethods/PaymentMethod.d.ts +0 -19
  324. package/lib/src/PaymentMethods/PaymentMethod.js +0 -57
  325. package/lib/src/PaymentMethods/PaymentMethod.js.map +0 -1
  326. package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +0 -25
  327. package/lib/src/PaymentMethods/RecurringPaymentMethod.js +0 -69
  328. package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +0 -1
  329. package/lib/src/PaymentMethods/TransactionReference.d.ts +0 -10
  330. package/lib/src/PaymentMethods/TransactionReference.js +0 -17
  331. package/lib/src/PaymentMethods/TransactionReference.js.map +0 -1
  332. package/lib/src/PaymentMethods/index.d.ts +0 -15
  333. package/lib/src/PaymentMethods/index.js +0 -32
  334. package/lib/src/PaymentMethods/index.js.map +0 -1
  335. package/lib/src/ServiceConfigs/AcceptorConfig.d.ts +0 -29
  336. package/lib/src/ServiceConfigs/AcceptorConfig.js +0 -43
  337. package/lib/src/ServiceConfigs/AcceptorConfig.js.map +0 -1
  338. package/lib/src/ServiceConfigs/Configuration.d.ts +0 -15
  339. package/lib/src/ServiceConfigs/Configuration.js +0 -20
  340. package/lib/src/ServiceConfigs/Configuration.js.map +0 -1
  341. package/lib/src/ServiceConfigs/Gateways/GatewayConfig.d.ts +0 -14
  342. package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js +0 -30
  343. package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js.map +0 -1
  344. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +0 -21
  345. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +0 -45
  346. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +0 -1
  347. package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.d.ts +0 -21
  348. package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js +0 -51
  349. package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js.map +0 -1
  350. package/lib/src/ServiceConfigs/Gateways/PorticoConfig.d.ts +0 -22
  351. package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js +0 -117
  352. package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js.map +0 -1
  353. package/lib/src/ServiceConfigs/Gateways/index.d.ts +0 -4
  354. package/lib/src/ServiceConfigs/Gateways/index.js +0 -21
  355. package/lib/src/ServiceConfigs/Gateways/index.js.map +0 -1
  356. package/lib/src/ServiceConfigs/ServicesConfigs.d.ts +0 -8
  357. package/lib/src/ServiceConfigs/ServicesConfigs.js +0 -15
  358. package/lib/src/ServiceConfigs/ServicesConfigs.js.map +0 -1
  359. package/lib/src/ServiceConfigs/index.d.ts +0 -4
  360. package/lib/src/ServiceConfigs/index.js +0 -21
  361. package/lib/src/ServiceConfigs/index.js.map +0 -1
  362. package/lib/src/Services/BatchService.d.ts +0 -4
  363. package/lib/src/Services/BatchService.js +0 -15
  364. package/lib/src/Services/BatchService.js.map +0 -1
  365. package/lib/src/Services/CheckService.d.ts +0 -7
  366. package/lib/src/Services/CheckService.js +0 -20
  367. package/lib/src/Services/CheckService.js.map +0 -1
  368. package/lib/src/Services/CreditService.d.ts +0 -13
  369. package/lib/src/Services/CreditService.js +0 -54
  370. package/lib/src/Services/CreditService.js.map +0 -1
  371. package/lib/src/Services/DebitService.d.ts +0 -8
  372. package/lib/src/Services/DebitService.js +0 -28
  373. package/lib/src/Services/DebitService.js.map +0 -1
  374. package/lib/src/Services/DeviceService.d.ts +0 -5
  375. package/lib/src/Services/DeviceService.js +0 -19
  376. package/lib/src/Services/DeviceService.js.map +0 -1
  377. package/lib/src/Services/EBTService.d.ts +0 -9
  378. package/lib/src/Services/EBTService.js +0 -31
  379. package/lib/src/Services/EBTService.js.map +0 -1
  380. package/lib/src/Services/GiftService.d.ts +0 -17
  381. package/lib/src/Services/GiftService.js +0 -54
  382. package/lib/src/Services/GiftService.js.map +0 -1
  383. package/lib/src/Services/GpApiServices.d.ts +0 -4
  384. package/lib/src/Services/GpApiServices.js +0 -44
  385. package/lib/src/Services/GpApiServices.js.map +0 -1
  386. package/lib/src/Services/HostedService.d.ts +0 -10
  387. package/lib/src/Services/HostedService.js +0 -59
  388. package/lib/src/Services/HostedService.js.map +0 -1
  389. package/lib/src/Services/PayFacService.d.ts +0 -26
  390. package/lib/src/Services/PayFacService.js +0 -76
  391. package/lib/src/Services/PayFacService.js.map +0 -1
  392. package/lib/src/Services/RecurringService.d.ts +0 -8
  393. package/lib/src/Services/RecurringService.js +0 -24
  394. package/lib/src/Services/RecurringService.js.map +0 -1
  395. package/lib/src/Services/ReportingService.d.ts +0 -6
  396. package/lib/src/Services/ReportingService.js +0 -18
  397. package/lib/src/Services/ReportingService.js.map +0 -1
  398. package/lib/src/Services/index.d.ts +0 -10
  399. package/lib/src/Services/index.js +0 -27
  400. package/lib/src/Services/index.js.map +0 -1
  401. package/lib/src/ServicesContainer.d.ts +0 -19
  402. package/lib/src/ServicesContainer.js +0 -64
  403. package/lib/src/ServicesContainer.js.map +0 -1
  404. package/lib/src/Terminals/Abstractions/IDeviceCommInterface.d.ts +0 -6
  405. package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js +0 -3
  406. package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js.map +0 -1
  407. package/lib/src/Terminals/Abstractions/IDeviceInterface.d.ts +0 -13
  408. package/lib/src/Terminals/Abstractions/IDeviceInterface.js +0 -3
  409. package/lib/src/Terminals/Abstractions/IDeviceInterface.js.map +0 -1
  410. package/lib/src/Terminals/Abstractions/IDeviceMessage.d.ts +0 -4
  411. package/lib/src/Terminals/Abstractions/IDeviceMessage.js +0 -3
  412. package/lib/src/Terminals/Abstractions/IDeviceMessage.js.map +0 -1
  413. package/lib/src/Terminals/Abstractions/IDeviceResponse.d.ts +0 -52
  414. package/lib/src/Terminals/Abstractions/IDeviceResponse.js +0 -3
  415. package/lib/src/Terminals/Abstractions/IDeviceResponse.js.map +0 -1
  416. package/lib/src/Terminals/Abstractions/IRequestIdProvider.d.ts +0 -3
  417. package/lib/src/Terminals/Abstractions/IRequestIdProvider.js +0 -3
  418. package/lib/src/Terminals/Abstractions/IRequestIdProvider.js.map +0 -1
  419. package/lib/src/Terminals/Abstractions/IRequestSubGroup.d.ts +0 -3
  420. package/lib/src/Terminals/Abstractions/IRequestSubGroup.js +0 -3
  421. package/lib/src/Terminals/Abstractions/IRequestSubGroup.js.map +0 -1
  422. package/lib/src/Terminals/Abstractions/ITerminalConfiguration.d.ts +0 -16
  423. package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js +0 -3
  424. package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js.map +0 -1
  425. package/lib/src/Terminals/Abstractions/index.d.ts +0 -7
  426. package/lib/src/Terminals/Abstractions/index.js +0 -24
  427. package/lib/src/Terminals/Abstractions/index.js.map +0 -1
  428. package/lib/src/Terminals/Builders/TerminalAuthBuilder.d.ts +0 -65
  429. package/lib/src/Terminals/Builders/TerminalAuthBuilder.js +0 -172
  430. package/lib/src/Terminals/Builders/TerminalAuthBuilder.js.map +0 -1
  431. package/lib/src/Terminals/Builders/TerminalBuilder.d.ts +0 -12
  432. package/lib/src/Terminals/Builders/TerminalBuilder.js +0 -32
  433. package/lib/src/Terminals/Builders/TerminalBuilder.js.map +0 -1
  434. package/lib/src/Terminals/Builders/TerminalManageBuilder.d.ts +0 -30
  435. package/lib/src/Terminals/Builders/TerminalManageBuilder.js +0 -95
  436. package/lib/src/Terminals/Builders/TerminalManageBuilder.js.map +0 -1
  437. package/lib/src/Terminals/Builders/index.d.ts +0 -2
  438. package/lib/src/Terminals/Builders/index.js +0 -19
  439. package/lib/src/Terminals/Builders/index.js.map +0 -1
  440. package/lib/src/Terminals/ConnectionConfig.d.ts +0 -20
  441. package/lib/src/Terminals/ConnectionConfig.js +0 -49
  442. package/lib/src/Terminals/ConnectionConfig.js.map +0 -1
  443. package/lib/src/Terminals/DeviceController.d.ts +0 -23
  444. package/lib/src/Terminals/DeviceController.js +0 -42
  445. package/lib/src/Terminals/DeviceController.js.map +0 -1
  446. package/lib/src/Terminals/DeviceInterface.d.ts +0 -21
  447. package/lib/src/Terminals/DeviceInterface.js +0 -50
  448. package/lib/src/Terminals/DeviceInterface.js.map +0 -1
  449. package/lib/src/Terminals/DeviceMessage.d.ts +0 -15
  450. package/lib/src/Terminals/DeviceMessage.js +0 -42
  451. package/lib/src/Terminals/DeviceMessage.js.map +0 -1
  452. package/lib/src/Terminals/DeviceResponse.d.ts +0 -10
  453. package/lib/src/Terminals/DeviceResponse.js +0 -16
  454. package/lib/src/Terminals/DeviceResponse.js.map +0 -1
  455. package/lib/src/Terminals/Enums/ControlCodes.d.ts +0 -5
  456. package/lib/src/Terminals/Enums/ControlCodes.js +0 -10
  457. package/lib/src/Terminals/Enums/ControlCodes.js.map +0 -1
  458. package/lib/src/Terminals/Enums/index.d.ts +0 -1
  459. package/lib/src/Terminals/Enums/index.js +0 -18
  460. package/lib/src/Terminals/Enums/index.js.map +0 -1
  461. package/lib/src/Terminals/Enums.d.ts +0 -12
  462. package/lib/src/Terminals/Enums.js +0 -18
  463. package/lib/src/Terminals/Enums.js.map +0 -1
  464. package/lib/src/Terminals/SummaryResponse.d.ts +0 -28
  465. package/lib/src/Terminals/SummaryResponse.js +0 -33
  466. package/lib/src/Terminals/SummaryResponse.js.map +0 -1
  467. package/lib/src/Terminals/TerminalResponse.d.ts +0 -42
  468. package/lib/src/Terminals/TerminalResponse.js +0 -49
  469. package/lib/src/Terminals/TerminalResponse.js.map +0 -1
  470. package/lib/src/Terminals/TerminalUtils.d.ts +0 -4
  471. package/lib/src/Terminals/TerminalUtils.js +0 -24
  472. package/lib/src/Terminals/TerminalUtils.js.map +0 -1
  473. package/lib/src/Terminals/UPA/Entities/UpaMessageId.d.ts +0 -20
  474. package/lib/src/Terminals/UPA/Entities/UpaMessageId.js +0 -25
  475. package/lib/src/Terminals/UPA/Entities/UpaMessageId.js.map +0 -1
  476. package/lib/src/Terminals/UPA/Entities/index.d.ts +0 -1
  477. package/lib/src/Terminals/UPA/Entities/index.js +0 -18
  478. package/lib/src/Terminals/UPA/Entities/index.js.map +0 -1
  479. package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.d.ts +0 -12
  480. package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js +0 -76
  481. package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js.map +0 -1
  482. package/lib/src/Terminals/UPA/Interfaces/index.d.ts +0 -1
  483. package/lib/src/Terminals/UPA/Interfaces/index.js +0 -18
  484. package/lib/src/Terminals/UPA/Interfaces/index.js.map +0 -1
  485. package/lib/src/Terminals/UPA/Reponses/TransactionResponse.d.ts +0 -53
  486. package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js +0 -70
  487. package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js.map +0 -1
  488. package/lib/src/Terminals/UPA/Reponses/index.d.ts +0 -1
  489. package/lib/src/Terminals/UPA/Reponses/index.js +0 -18
  490. package/lib/src/Terminals/UPA/Reponses/index.js.map +0 -1
  491. package/lib/src/Terminals/UPA/Request/BaseRequest.d.ts +0 -7
  492. package/lib/src/Terminals/UPA/Request/BaseRequest.js +0 -11
  493. package/lib/src/Terminals/UPA/Request/BaseRequest.js.map +0 -1
  494. package/lib/src/Terminals/UPA/Request/GroupRequest.d.ts +0 -5
  495. package/lib/src/Terminals/UPA/Request/GroupRequest.js +0 -9
  496. package/lib/src/Terminals/UPA/Request/GroupRequest.js.map +0 -1
  497. package/lib/src/Terminals/UPA/Request/RequestParams.d.ts +0 -9
  498. package/lib/src/Terminals/UPA/Request/RequestParams.js +0 -14
  499. package/lib/src/Terminals/UPA/Request/RequestParams.js.map +0 -1
  500. package/lib/src/Terminals/UPA/Request/RootRequest.d.ts +0 -5
  501. package/lib/src/Terminals/UPA/Request/RootRequest.js +0 -9
  502. package/lib/src/Terminals/UPA/Request/RootRequest.js.map +0 -1
  503. package/lib/src/Terminals/UPA/Request/TransactionRequest.d.ts +0 -10
  504. package/lib/src/Terminals/UPA/Request/TransactionRequest.js +0 -15
  505. package/lib/src/Terminals/UPA/Request/TransactionRequest.js.map +0 -1
  506. package/lib/src/Terminals/UPA/Request/index.d.ts +0 -5
  507. package/lib/src/Terminals/UPA/Request/index.js +0 -22
  508. package/lib/src/Terminals/UPA/Request/index.js.map +0 -1
  509. package/lib/src/Terminals/UPA/UpaController.d.ts +0 -16
  510. package/lib/src/Terminals/UPA/UpaController.js +0 -213
  511. package/lib/src/Terminals/UPA/UpaController.js.map +0 -1
  512. package/lib/src/Terminals/UPA/UpaInterface.d.ts +0 -10
  513. package/lib/src/Terminals/UPA/UpaInterface.js +0 -44
  514. package/lib/src/Terminals/UPA/UpaInterface.js.map +0 -1
  515. package/lib/src/Terminals/UPA/UpaMessageType.d.ts +0 -8
  516. package/lib/src/Terminals/UPA/UpaMessageType.js +0 -13
  517. package/lib/src/Terminals/UPA/UpaMessageType.js.map +0 -1
  518. package/lib/src/Terminals/UPA/index.d.ts +0 -7
  519. package/lib/src/Terminals/UPA/index.js +0 -24
  520. package/lib/src/Terminals/UPA/index.js.map +0 -1
  521. package/lib/src/Terminals/index.d.ts +0 -8
  522. package/lib/src/Terminals/index.js +0 -25
  523. package/lib/src/Terminals/index.js.map +0 -1
  524. package/lib/src/Utils/GenerationUtils.d.ts +0 -6
  525. package/lib/src/Utils/GenerationUtils.js +0 -79
  526. package/lib/src/Utils/GenerationUtils.js.map +0 -1
  527. package/lib/src/Utils/IRawRequestBuilder.d.ts +0 -3
  528. package/lib/src/Utils/IRawRequestBuilder.js +0 -3
  529. package/lib/src/Utils/IRawRequestBuilder.js.map +0 -1
  530. package/lib/src/Utils/InputValidation.d.ts +0 -12
  531. package/lib/src/Utils/InputValidation.js +0 -71
  532. package/lib/src/Utils/InputValidation.js.map +0 -1
  533. package/lib/src/Utils/Logging/Logger.d.ts +0 -32
  534. package/lib/src/Utils/Logging/Logger.js +0 -209
  535. package/lib/src/Utils/Logging/Logger.js.map +0 -1
  536. package/lib/src/Utils/Logging/ProtectSensitiveData.d.ts +0 -11
  537. package/lib/src/Utils/Logging/ProtectSensitiveData.js +0 -23
  538. package/lib/src/Utils/Logging/ProtectSensitiveData.js.map +0 -1
  539. package/lib/src/Utils/Logging/SampleRequestLogger.d.ts +0 -12
  540. package/lib/src/Utils/Logging/SampleRequestLogger.js +0 -38
  541. package/lib/src/Utils/Logging/SampleRequestLogger.js.map +0 -1
  542. package/lib/src/Utils/Logging/index.d.ts +0 -3
  543. package/lib/src/Utils/Logging/index.js +0 -20
  544. package/lib/src/Utils/Logging/index.js.map +0 -1
  545. package/lib/src/Utils/Sha1.d.ts +0 -6
  546. package/lib/src/Utils/Sha1.js +0 -231
  547. package/lib/src/Utils/Sha1.js.map +0 -1
  548. package/lib/src/Utils/StringUtils.d.ts +0 -6
  549. package/lib/src/Utils/StringUtils.js +0 -51
  550. package/lib/src/Utils/StringUtils.js.map +0 -1
  551. package/lib/src/Utils/index.d.ts +0 -4
  552. package/lib/src/Utils/index.js +0 -21
  553. package/lib/src/Utils/index.js.map +0 -1
  554. package/lib/src/index.d.ts +0 -13
  555. package/lib/src/index.js +0 -34
  556. package/lib/src/index.js.map +0 -1
  557. package/lib/test/Data/BaseGpApiTestConfig.d.ts +0 -14
  558. package/lib/test/Data/BaseGpApiTestConfig.js +0 -46
  559. package/lib/test/Data/BaseGpApiTestConfig.js.map +0 -1
  560. package/lib/test/Data/TestCards.d.ts +0 -24
  561. package/lib/test/Data/TestCards.js +0 -220
  562. package/lib/test/Data/TestCards.js.map +0 -1
  563. package/lib/test/Data/TestChecks.d.ts +0 -4
  564. package/lib/test/Data/TestChecks.js +0 -27
  565. package/lib/test/Data/TestChecks.js.map +0 -1
  566. package/lib/test/Data/index.d.ts +0 -2
  567. package/lib/test/Data/index.js +0 -19
  568. package/lib/test/Data/index.js.map +0 -1
  569. package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +0 -1
  570. package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +0 -102
  571. package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +0 -1
  572. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +0 -1
  573. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +0 -2446
  574. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +0 -1
  575. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +0 -1
  576. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +0 -506
  577. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +0 -1
  578. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +0 -1
  579. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +0 -1296
  580. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +0 -1
  581. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +0 -1
  582. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +0 -847
  583. package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +0 -1
  584. package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
  585. package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +0 -215
  586. package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
  587. package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +0 -1
  588. package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +0 -99
  589. package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +0 -1
  590. package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +0 -1
  591. package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +0 -133
  592. package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +0 -1
  593. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +0 -1
  594. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +0 -59
  595. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +0 -1
  596. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +0 -1
  597. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +0 -378
  598. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +0 -1
  599. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +0 -1
  600. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +0 -86
  601. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +0 -1
  602. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +0 -1
  603. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +0 -1723
  604. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +0 -1
  605. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +0 -1
  606. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +0 -86
  607. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +0 -1
  608. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +0 -1
  609. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +0 -1760
  610. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +0 -1
  611. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +0 -1
  612. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +0 -420
  613. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +0 -1
  614. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +0 -1
  615. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +0 -2221
  616. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +0 -1
  617. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +0 -1
  618. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +0 -392
  619. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +0 -1
  620. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +0 -1
  621. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +0 -82
  622. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +0 -1
  623. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +0 -1
  624. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +0 -72
  625. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +0 -1
  626. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +0 -1
  627. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +0 -111
  628. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +0 -1
  629. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +0 -1
  630. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +0 -147
  631. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +0 -1
  632. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +0 -1
  633. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +0 -101
  634. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +0 -1
  635. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +0 -1
  636. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +0 -50
  637. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +0 -1
  638. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +0 -1
  639. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +0 -44
  640. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +0 -1
  641. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +0 -1
  642. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +0 -221
  643. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +0 -1
  644. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +0 -1
  645. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +0 -60
  646. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +0 -1
  647. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +0 -1
  648. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +0 -80
  649. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +0 -1
  650. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +0 -39
  651. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +0 -393
  652. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +0 -1
  653. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +0 -1
  654. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +0 -44
  655. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +0 -1
  656. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +0 -1
  657. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +0 -330
  658. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +0 -1
  659. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +0 -1
  660. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +0 -60
  661. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +0 -1
  662. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +0 -1
  663. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +0 -80
  664. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +0 -1
  665. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +0 -34
  666. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +0 -322
  667. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +0 -1
  668. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +0 -4
  669. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +0 -28
  670. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +0 -1
  671. package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.d.ts +0 -4
  672. package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js +0 -10
  673. package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js.map +0 -1
  674. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.d.ts +0 -1
  675. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js +0 -149
  676. package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js.map +0 -1
  677. package/lib/test/Integration/Services/CheckServiceTest.d.ts +0 -1
  678. package/lib/test/Integration/Services/CheckServiceTest.js +0 -45
  679. package/lib/test/Integration/Services/CheckServiceTest.js.map +0 -1
  680. package/lib/test/Integration/Services/CreditServiceTest.d.ts +0 -1
  681. package/lib/test/Integration/Services/CreditServiceTest.js +0 -174
  682. package/lib/test/Integration/Services/CreditServiceTest.js.map +0 -1
  683. package/lib/test/Integration/Services/DebitServiceTest.d.ts +0 -1
  684. package/lib/test/Integration/Services/DebitServiceTest.js +0 -81
  685. package/lib/test/Integration/Services/DebitServiceTest.js.map +0 -1
  686. package/lib/test/Integration/Services/EBTServiceTest.d.ts +0 -1
  687. package/lib/test/Integration/Services/EBTServiceTest.js +0 -64
  688. package/lib/test/Integration/Services/EBTServiceTest.js.map +0 -1
  689. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +0 -1
  690. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +0 -111
  691. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +0 -1
  692. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +0 -1
  693. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +0 -62
  694. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +0 -1
  695. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
  696. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +0 -34
  697. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
  698. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +0 -1
  699. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +0 -125
  700. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +0 -1
  701. package/logger.txt +0 -15
@@ -1,227 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.GpApiConnector = void 0;
27
- const fs = __importStar(require("fs"));
28
- const RestGateway_1 = require("./RestGateway");
29
- const Entities_1 = require("../../src/Entities");
30
- const src_1 = require("../../src");
31
- class GpApiConnector extends RestGateway_1.RestGateway {
32
- static GP_API_VERSION = "2021-03-22";
33
- static IDEMPOTENCY_HEADER = "x-gp-idempotency";
34
- gpApiConfig;
35
- accessToken;
36
- builtInMerchantManagementService = true;
37
- supportsHostedPayments = true;
38
- supportsOpenBanking() {
39
- return true;
40
- }
41
- hasBuiltInMerchantManagementService() {
42
- return this.builtInMerchantManagementService;
43
- }
44
- constructor(config) {
45
- super();
46
- this.gpApiConfig = config;
47
- this.headers["X-GP-Version"] = GpApiConnector.GP_API_VERSION;
48
- this.headers["Accept"] = "application/json";
49
- this.headers["Accept-Encoding"] = "gzip";
50
- this.headers["x-gp-sdk"] = "node;version=" + this.getReleaseVersion();
51
- this.headers["Content-Type"] = "charset=UTF-8";
52
- }
53
- /**
54
- * Get the SDK release version
55
- *
56
- * @return string|null
57
- */
58
- getReleaseVersion() {
59
- const filename = __dirname + "/../../../package.json";
60
- if (!fs.existsSync(filename)) {
61
- return null;
62
- }
63
- const packageJson = JSON.parse(fs.readFileSync(filename).toString());
64
- return packageJson.version || "";
65
- }
66
- getVersion() {
67
- return Entities_1.Secure3dVersion.ANY;
68
- }
69
- /**
70
- * Serializes and executes authorization transactions
71
- *
72
- * @param AuthorizationBuilder builder The transaction's builder
73
- *
74
- * @return Transaction
75
- */
76
- async processAuthorization(builder) {
77
- if (!this.accessToken) {
78
- await this.signIn();
79
- }
80
- return this.executeProcess(builder).then((response) => src_1.GpApiMapping.mapResponse(response));
81
- }
82
- async signIn() {
83
- let accessTokenInfo = this.gpApiConfig.accessTokenInfo;
84
- if (accessTokenInfo && accessTokenInfo.accessToken) {
85
- this.headers["Authorization"] = `Bearer ${accessTokenInfo.accessToken}`;
86
- return;
87
- }
88
- const response = await this.getAccessToken();
89
- this.accessToken = response.getToken();
90
- this.headers["Authorization"] = `Bearer ${this.accessToken}`;
91
- if (!(accessTokenInfo instanceof Entities_1.AccessTokenInfo)) {
92
- accessTokenInfo = new Entities_1.AccessTokenInfo();
93
- }
94
- accessTokenInfo.merchantId = response.merchantId;
95
- if (!accessTokenInfo.accessToken) {
96
- accessTokenInfo.accessToken = response.getToken();
97
- }
98
- if (!accessTokenInfo.dataAccountID) {
99
- accessTokenInfo.dataAccountID = response.getDataAccountID();
100
- }
101
- if (!accessTokenInfo.tokenizationAccountID &&
102
- !accessTokenInfo.tokenizationAccountName) {
103
- accessTokenInfo.tokenizationAccountID =
104
- response.getTokenizationAccountID();
105
- accessTokenInfo.tokenizationAccountName =
106
- response.getTokenizationAccountName();
107
- }
108
- if (!accessTokenInfo.transactionProcessingAccountID &&
109
- !accessTokenInfo.transactionProcessingAccountName) {
110
- accessTokenInfo.transactionProcessingAccountID =
111
- response.getTransactionProcessingAccountID();
112
- accessTokenInfo.transactionProcessingAccountName =
113
- response.getTransactionProcessingAccountName();
114
- }
115
- if (!accessTokenInfo.disputeManagementAccountID &&
116
- !accessTokenInfo.disputeManagementAccountName) {
117
- accessTokenInfo.disputeManagementAccountID =
118
- response.getDisputeManagementAccountID();
119
- }
120
- if (!accessTokenInfo.riskAssessmentAccountID &&
121
- !accessTokenInfo.riskAssessmentAccountName) {
122
- accessTokenInfo.riskAssessmentAccountID =
123
- response.getRiskAssessmentAccountID();
124
- }
125
- if (!accessTokenInfo.merchantManagementAccountID &&
126
- !accessTokenInfo.merchantManagementAccountName) {
127
- accessTokenInfo.merchantManagementAccountID =
128
- response.getMerchantManagementAccountID();
129
- }
130
- this.gpApiConfig.accessTokenInfo = accessTokenInfo;
131
- }
132
- async getAccessToken() {
133
- this.accessToken = "";
134
- const request = await src_1.GpApiSessionInfo.signIn(this.gpApiConfig.appId, this.gpApiConfig.appKey, this.gpApiConfig.secondsToExpire, this.gpApiConfig.intervalToExpire, this.gpApiConfig.permissions);
135
- return super
136
- .doTransaction(request.httpVerb, request.endpoint, request.requestBody)
137
- .then((response) => new Entities_1.GpApiTokenResponse(response));
138
- }
139
- async manageTransaction(builder) {
140
- builder; // avoid lint error
141
- throw new Entities_1.NotImplementedError();
142
- }
143
- async processReport(builder) {
144
- builder; // avoid lint error
145
- throw new Entities_1.NotImplementedError();
146
- }
147
- serializeRequest(builder) {
148
- builder; // avoid lint error
149
- throw new Entities_1.NotImplementedError();
150
- }
151
- async processPayFac(builder) {
152
- builder; // avoid lint error
153
- throw new Entities_1.NotImplementedError();
154
- }
155
- executeProcess(builder) {
156
- const processFactory = new src_1.RequestBuilderFactory();
157
- const requestBuilder = processFactory.getRequestBuilder(builder, this.gpApiConfig.gatewayProvider);
158
- if (!requestBuilder) {
159
- throw new Entities_1.ApiError("Request builder not found!");
160
- }
161
- /**.
162
- * @var GpApiRequest request
163
- */
164
- const request = requestBuilder.buildRequest(builder, this.gpApiConfig);
165
- request.endpoint = this.getMerchantUrl(request) + request.endpoint;
166
- if (!request) {
167
- throw new Entities_1.ApiError("Request was not generated!");
168
- }
169
- const idempotencyKey = builder.idempotencyKey || null;
170
- return this.doTransaction(request.httpVerb, request.endpoint, request.requestBody, request.queryParams, idempotencyKey);
171
- }
172
- getMerchantUrl(request) {
173
- return !this.gpApiConfig.merchantId &&
174
- request.endpoint.indexOf(Entities_1.GpApiRequest.MERCHANT_MANAGEMENT_ENDPOINT) !== -1
175
- ? Entities_1.GpApiRequest.MERCHANT_MANAGEMENT_ENDPOINT +
176
- "/" +
177
- this.gpApiConfig.merchantId
178
- : "";
179
- }
180
- async doTransaction(verb, endpoint, data, queryStringParams, idempotencyKey) {
181
- if (!this.accessToken) {
182
- await this.signIn();
183
- }
184
- if (idempotencyKey) {
185
- this.headers[GpApiConnector.IDEMPOTENCY_HEADER] = idempotencyKey;
186
- }
187
- //weird bug where if you populate the contentType header on this endpoint it throws a 502 bad gateway error
188
- //if you don't send it the error is even weirder, you just have to send it empty
189
- if (endpoint.indexOf("settlement") !== -1 ||
190
- (endpoint.indexOf("disputes") !== -1 &&
191
- endpoint.indexOf("challenge") !== -1)) {
192
- this.contentType = "";
193
- }
194
- let response;
195
- try {
196
- response = await super.doTransaction(verb, endpoint, data, queryStringParams);
197
- }
198
- catch (exception) {
199
- if (exception.message.indexOf("NOT_AUTHENTICATED") !== -1 &&
200
- this.gpApiConfig.appKey &&
201
- this.gpApiConfig.appKey) {
202
- this.accessToken = "";
203
- await this.signIn();
204
- return await super.doTransaction(verb, endpoint, data, queryStringParams);
205
- }
206
- throw exception;
207
- }
208
- finally {
209
- delete this.headers[GpApiConnector.IDEMPOTENCY_HEADER];
210
- }
211
- return JSON.parse(response);
212
- }
213
- processPassThrough(jsonRequest) {
214
- if (!this.accessToken) {
215
- this.signIn();
216
- }
217
- const requestBuilder = new src_1.GpApiMiCRequestBuilder();
218
- const request = requestBuilder.buildRequestFromJson(jsonRequest, this.gpApiConfig);
219
- if (!request) {
220
- throw new Entities_1.GatewayError("Request was not generated!");
221
- }
222
- request.endpoint = this.getMerchantUrl(request) + request.endpoint;
223
- return this.doTransaction(request.httpVerb, request.endpoint, request.requestBody);
224
- }
225
- }
226
- exports.GpApiConnector = GpApiConnector;
227
- //# sourceMappingURL=GpApiConnector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GpApiConnector.js","sourceRoot":"","sources":["../../../src/Gateways/GpApiConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAGzB,+CAA4C;AAC5C,iDAS4B;AAC5B,mCAWmB;AAGnB,MAAa,cACX,SAAQ,yBAAW;IAGZ,MAAM,CAAC,cAAc,GAAW,YAAY,CAAC;IAE7C,MAAM,CAAC,kBAAkB,GAAW,kBAAkB,CAAC;IAEtD,WAAW,CAAc;IAEzB,WAAW,CAAS;IAEpB,gCAAgC,GAAY,IAAI,CAAC;IAElD,sBAAsB,GAAY,IAAI,CAAC;IAEvC,mBAAmB;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,mCAAmC;QACxC,OAAO,IAAI,CAAC,gCAAgC,CAAC;IAC/C,CAAC;IAED,YAAY,MAAmB;QAC7B,KAAK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Ac,CAAC,kBAAkB,CAAC,CAAC;SACxD;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC9B,CAAC;IAEM,kBAAkB,CAAC,WAAmB;QAC3C,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,IAAI,CAAC,MAAM,EAAE,CAAC;SACf;QACD,MAAM,cAAc,GAAG,IAAI,4BAAsB,EAAE,CAAC;QACpD,MAAM,OAAO,GAAG,cAAc,CAAC,oBAAoB,CACjD,WAAW,EACX,IAAI,CAAC,WAAW,CACjB,CAAC;QACF,IAAI,CAAC,OAAO,EAAE;YACZ,MAAM,IAAI,uBAAY,CAAC,4BAA4B,CAAC,CAAC;SACtD;QACD,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC;QAEnE,OAAO,IAAI,CAAC,aAAa,CACvB,OAAO,CAAC,QAAQ,EAChB,OAAO,CAAC,QAAQ,EAChB,OAAO,CAAC,WAAW,CACpB,CAAC;IACJ,CAAC;;AAlSH,wCAmSC"}
@@ -1,36 +0,0 @@
1
- import { Element } from "@azz/elementtree";
2
- import { AuthorizationBuilder, Customer, HostedPaymentConfig, IPaymentGateway, IRecurringEntity, IRecurringService, ManagementBuilder, RecurringBuilder, Transaction, TransactionType } from "..";
3
- import { XmlGateway } from "./XmlGateway";
4
- import { GpEcomConfig } from "src/ServiceConfigs/Gateways/GpEcomConfig";
5
- export declare class GpEcomConnector extends XmlGateway implements IPaymentGateway, IRecurringService {
6
- merchantId: string;
7
- accountId: string;
8
- sharedSecret: string;
9
- channel: string;
10
- rebatePassword: string;
11
- refundPassword: string;
12
- supportsHostedPayments: boolean;
13
- supportsRetrieval: boolean;
14
- supportsUpdatePaymentDetails: boolean;
15
- hostedPaymentConfig: HostedPaymentConfig;
16
- config: GpEcomConfig;
17
- constructor(config: GpEcomConfig);
18
- processAuthorization(builder: AuthorizationBuilder): Promise<Transaction>;
19
- manageTransaction(builder: ManagementBuilder): Promise<Transaction>;
20
- private executeProcess;
21
- serializeRequest(builder: AuthorizationBuilder): string;
22
- oldManageTransaction(builder: ManagementBuilder): Promise<Transaction>;
23
- processReport<T>(): Promise<T>;
24
- processRecurring<T extends IRecurringEntity>(builder: RecurringBuilder<T>): Promise<T>;
25
- protected buildEnvelope(transaction: Element): string;
26
- protected buildCustomer<T extends IRecurringEntity>(customer: Customer, builder: RecurringBuilder<T>): Element;
27
- protected mapResponse(rawResponse: string): Transaction;
28
- protected mapRecurringResponse<T extends IRecurringEntity>(rawResponse: string, builder: RecurringBuilder<T>): T;
29
- protected checkResponse(root: Element, acceptedCodes?: string[]): void;
30
- protected generateHash(timestamp: string, orderId: string, amount: string, currency: string, paymentData: string, verify?: boolean): string;
31
- protected mapAuthRequestType(builder: AuthorizationBuilder): string;
32
- protected mapManageRequestType(type: TransactionType): string;
33
- protected mapRecurringRequestType<T extends IRecurringEntity>(builder: RecurringBuilder<T>): "payer-new" | "card-new" | "schedule-new" | "payer-edit" | "card-update-card" | "card-cancel-card" | "schedule-get" | "schedule-search";
34
- protected numberFormat(amount: number | string): string;
35
- private mapAcceptedCodes;
36
- }