globalpayments-api 2.0.0 → 2.0.1

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 (502) hide show
  1. package/lib/src/Builders/AuthorizationBuilder.d.ts +325 -0
  2. package/lib/src/Builders/AuthorizationBuilder.js +601 -0
  3. package/lib/src/Builders/AuthorizationBuilder.js.map +1 -0
  4. package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +14 -0
  5. package/lib/src/Builders/BaseBuilder/ValidationClause.js +62 -0
  6. package/lib/src/Builders/BaseBuilder/ValidationClause.js.map +1 -0
  7. package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +16 -0
  8. package/lib/src/Builders/BaseBuilder/ValidationTarget.js +29 -0
  9. package/lib/src/Builders/BaseBuilder/ValidationTarget.js.map +1 -0
  10. package/lib/src/Builders/BaseBuilder/Validations.d.ts +11 -0
  11. package/lib/src/Builders/BaseBuilder/Validations.js +57 -0
  12. package/lib/src/Builders/BaseBuilder/Validations.js.map +1 -0
  13. package/lib/src/Builders/BaseBuilder.d.ts +11 -0
  14. package/lib/src/Builders/BaseBuilder.js +17 -0
  15. package/lib/src/Builders/BaseBuilder.js.map +1 -0
  16. package/lib/src/Builders/ManagementBuilder.d.ts +103 -0
  17. package/lib/src/Builders/ManagementBuilder.js +228 -0
  18. package/lib/src/Builders/ManagementBuilder.js.map +1 -0
  19. package/lib/src/Builders/PayFacBuilder.d.ts +96 -0
  20. package/lib/src/Builders/PayFacBuilder.js +185 -0
  21. package/lib/src/Builders/PayFacBuilder.js.map +1 -0
  22. package/lib/src/Builders/RecurringBuilder.d.ts +13 -0
  23. package/lib/src/Builders/RecurringBuilder.js +48 -0
  24. package/lib/src/Builders/RecurringBuilder.js.map +1 -0
  25. package/lib/src/Builders/ReportBuilder.d.ts +8 -0
  26. package/lib/src/Builders/ReportBuilder.js +37 -0
  27. package/lib/src/Builders/ReportBuilder.js.map +1 -0
  28. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.d.ts +22 -0
  29. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js +160 -0
  30. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js.map +1 -0
  31. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.d.ts +6 -0
  32. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js +24 -0
  33. package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js.map +1 -0
  34. package/lib/src/Builders/RequestBuilder/GpEcom/index.d.ts +2 -0
  35. package/lib/src/Builders/RequestBuilder/GpEcom/index.js +15 -0
  36. package/lib/src/Builders/RequestBuilder/GpEcom/index.js.map +1 -0
  37. package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +6 -0
  38. package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +30 -0
  39. package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +1 -0
  40. package/lib/src/Builders/RequestBuilder/index.d.ts +2 -0
  41. package/lib/src/Builders/RequestBuilder/index.js +15 -0
  42. package/lib/src/Builders/RequestBuilder/index.js.map +1 -0
  43. package/lib/src/Builders/TransactionBuilder.d.ts +10 -0
  44. package/lib/src/Builders/TransactionBuilder.js +47 -0
  45. package/lib/src/Builders/TransactionBuilder.js.map +1 -0
  46. package/lib/src/Builders/TransactionReportBuilder.d.ts +15 -0
  47. package/lib/src/Builders/TransactionReportBuilder.js +80 -0
  48. package/lib/src/Builders/TransactionReportBuilder.js.map +1 -0
  49. package/lib/src/Builders/index.d.ts +8 -0
  50. package/lib/src/Builders/index.js +21 -0
  51. package/lib/src/Builders/index.js.map +1 -0
  52. package/lib/src/ConfiguredServices.d.ts +22 -0
  53. package/lib/src/ConfiguredServices.js +57 -0
  54. package/lib/src/ConfiguredServices.js.map +1 -0
  55. package/lib/src/Entities/Address.d.ts +13 -0
  56. package/lib/src/Entities/Address.js +20 -0
  57. package/lib/src/Entities/Address.js.map +1 -0
  58. package/lib/src/Entities/BatchSummary.d.ts +6 -0
  59. package/lib/src/Entities/BatchSummary.js +10 -0
  60. package/lib/src/Entities/BatchSummary.js.map +1 -0
  61. package/lib/src/Entities/Customer.d.ts +64 -0
  62. package/lib/src/Entities/Customer.js +48 -0
  63. package/lib/src/Entities/Customer.js.map +1 -0
  64. package/lib/src/Entities/DocumentUploadData.d.ts +13 -0
  65. package/lib/src/Entities/DocumentUploadData.js +49 -0
  66. package/lib/src/Entities/DocumentUploadData.js.map +1 -0
  67. package/lib/src/Entities/EcommerceInfo.d.ts +12 -0
  68. package/lib/src/Entities/EcommerceInfo.js +15 -0
  69. package/lib/src/Entities/EcommerceInfo.js.map +1 -0
  70. package/lib/src/Entities/EncryptionData.d.ts +6 -0
  71. package/lib/src/Entities/EncryptionData.js +10 -0
  72. package/lib/src/Entities/EncryptionData.js.map +1 -0
  73. package/lib/src/Entities/Enums.d.ts +373 -0
  74. package/lib/src/Entities/Enums.js +498 -0
  75. package/lib/src/Entities/Enums.js.map +1 -0
  76. package/lib/src/Entities/Errors.d.ts +23 -0
  77. package/lib/src/Entities/Errors.js +107 -0
  78. package/lib/src/Entities/Errors.js.map +1 -0
  79. package/lib/src/Entities/HostedPaymentData.d.ts +10 -0
  80. package/lib/src/Entities/HostedPaymentData.js +11 -0
  81. package/lib/src/Entities/HostedPaymentData.js.map +1 -0
  82. package/lib/src/Entities/IRequestBuilder.d.ts +7 -0
  83. package/lib/src/Entities/IRequestBuilder.js +3 -0
  84. package/lib/src/Entities/IRequestBuilder.js.map +1 -0
  85. package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +7 -0
  86. package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +10 -0
  87. package/lib/src/Entities/ProFac/AccountBalanceResponseData.js.map +1 -0
  88. package/lib/src/Entities/ProFac/AccountPermissions.d.ts +15 -0
  89. package/lib/src/Entities/ProFac/AccountPermissions.js +10 -0
  90. package/lib/src/Entities/ProFac/AccountPermissions.js.map +1 -0
  91. package/lib/src/Entities/ProFac/BankAccountData.d.ts +10 -0
  92. package/lib/src/Entities/ProFac/BankAccountData.js +10 -0
  93. package/lib/src/Entities/ProFac/BankAccountData.js.map +1 -0
  94. package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +8 -0
  95. package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +12 -0
  96. package/lib/src/Entities/ProFac/BankAccountOwnershipData.js.map +1 -0
  97. package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +6 -0
  98. package/lib/src/Entities/ProFac/BeneficialOwnerData.js +11 -0
  99. package/lib/src/Entities/ProFac/BeneficialOwnerData.js.map +1 -0
  100. package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +5 -0
  101. package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +10 -0
  102. package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js.map +1 -0
  103. package/lib/src/Entities/ProFac/BusinessData.d.ts +14 -0
  104. package/lib/src/Entities/ProFac/BusinessData.js +12 -0
  105. package/lib/src/Entities/ProFac/BusinessData.js.map +1 -0
  106. package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +4 -0
  107. package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +10 -0
  108. package/lib/src/Entities/ProFac/DeviceAttributeInfo.js.map +1 -0
  109. package/lib/src/Entities/ProFac/DeviceData.d.ts +5 -0
  110. package/lib/src/Entities/ProFac/DeviceData.js +11 -0
  111. package/lib/src/Entities/ProFac/DeviceData.js.map +1 -0
  112. package/lib/src/Entities/ProFac/DeviceInfo.d.ts +6 -0
  113. package/lib/src/Entities/ProFac/DeviceInfo.js +10 -0
  114. package/lib/src/Entities/ProFac/DeviceInfo.js.map +1 -0
  115. package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +7 -0
  116. package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +14 -0
  117. package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js.map +1 -0
  118. package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +8 -0
  119. package/lib/src/Entities/ProFac/GrossBillingInformation.js +10 -0
  120. package/lib/src/Entities/ProFac/GrossBillingInformation.js.map +1 -0
  121. package/lib/src/Entities/ProFac/OrderDevice.d.ts +18 -0
  122. package/lib/src/Entities/ProFac/OrderDevice.js +10 -0
  123. package/lib/src/Entities/ProFac/OrderDevice.js.map +1 -0
  124. package/lib/src/Entities/ProFac/OwnersData.d.ts +12 -0
  125. package/lib/src/Entities/ProFac/OwnersData.js +12 -0
  126. package/lib/src/Entities/ProFac/OwnersData.js.map +1 -0
  127. package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +55 -0
  128. package/lib/src/Entities/ProFac/PayFacResponseData.js +10 -0
  129. package/lib/src/Entities/ProFac/PayFacResponseData.js.map +1 -0
  130. package/lib/src/Entities/ProFac/RenewAccountData.d.ts +10 -0
  131. package/lib/src/Entities/ProFac/RenewAccountData.js +12 -0
  132. package/lib/src/Entities/ProFac/RenewAccountData.js.map +1 -0
  133. package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +8 -0
  134. package/lib/src/Entities/ProFac/SignificantOwnerData.js +12 -0
  135. package/lib/src/Entities/ProFac/SignificantOwnerData.js.map +1 -0
  136. package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +5 -0
  137. package/lib/src/Entities/ProFac/ThreatRiskData.js +10 -0
  138. package/lib/src/Entities/ProFac/ThreatRiskData.js.map +1 -0
  139. package/lib/src/Entities/ProFac/UserPersonalData.d.ts +26 -0
  140. package/lib/src/Entities/ProFac/UserPersonalData.js +15 -0
  141. package/lib/src/Entities/ProFac/UserPersonalData.js.map +1 -0
  142. package/lib/src/Entities/RecurringEntity.d.ts +14 -0
  143. package/lib/src/Entities/RecurringEntity.js +87 -0
  144. package/lib/src/Entities/RecurringEntity.js.map +1 -0
  145. package/lib/src/Entities/Request.d.ts +9 -0
  146. package/lib/src/Entities/Request.js +15 -0
  147. package/lib/src/Entities/Request.js.map +1 -0
  148. package/lib/src/Entities/SSORequestData.d.ts +5 -0
  149. package/lib/src/Entities/SSORequestData.js +10 -0
  150. package/lib/src/Entities/SSORequestData.js.map +1 -0
  151. package/lib/src/Entities/Schedule.d.ts +47 -0
  152. package/lib/src/Entities/Schedule.js +254 -0
  153. package/lib/src/Entities/Schedule.js.map +1 -0
  154. package/lib/src/Entities/ServiceEndpoints.d.ts +4 -0
  155. package/lib/src/Entities/ServiceEndpoints.js +9 -0
  156. package/lib/src/Entities/ServiceEndpoints.js.map +1 -0
  157. package/lib/src/Entities/Transaction.d.ts +78 -0
  158. package/lib/src/Entities/Transaction.js +109 -0
  159. package/lib/src/Entities/Transaction.js.map +1 -0
  160. package/lib/src/Entities/TransactionSummary.d.ts +61 -0
  161. package/lib/src/Entities/TransactionSummary.js +10 -0
  162. package/lib/src/Entities/TransactionSummary.js.map +1 -0
  163. package/lib/src/Entities/index.d.ts +15 -0
  164. package/lib/src/Entities/index.js +28 -0
  165. package/lib/src/Entities/index.js.map +1 -0
  166. package/lib/src/Gateways/Gateway.d.ts +10 -0
  167. package/lib/src/Gateways/Gateway.js +43 -0
  168. package/lib/src/Gateways/Gateway.js.map +1 -0
  169. package/lib/src/Gateways/GpEcomConnector.d.ts +36 -0
  170. package/lib/src/Gateways/GpEcomConnector.js +557 -0
  171. package/lib/src/Gateways/GpEcomConnector.js.map +1 -0
  172. package/lib/src/Gateways/IPayFacProvider.d.ts +5 -0
  173. package/lib/src/Gateways/IPayFacProvider.js +3 -0
  174. package/lib/src/Gateways/IPayFacProvider.js.map +1 -0
  175. package/lib/src/Gateways/IPaymentGateway.d.ts +8 -0
  176. package/lib/src/Gateways/IPaymentGateway.js +3 -0
  177. package/lib/src/Gateways/IPaymentGateway.js.map +1 -0
  178. package/lib/src/Gateways/IRecurringService.d.ts +6 -0
  179. package/lib/src/Gateways/IRecurringService.js +3 -0
  180. package/lib/src/Gateways/IRecurringService.js.map +1 -0
  181. package/lib/src/Gateways/PayPlanConnector.d.ts +42 -0
  182. package/lib/src/Gateways/PayPlanConnector.js +553 -0
  183. package/lib/src/Gateways/PayPlanConnector.js.map +1 -0
  184. package/lib/src/Gateways/PorticoConnector.d.ts +44 -0
  185. package/lib/src/Gateways/PorticoConnector.js +1018 -0
  186. package/lib/src/Gateways/PorticoConnector.js.map +1 -0
  187. package/lib/src/Gateways/ProPayConnector.d.ts +41 -0
  188. package/lib/src/Gateways/ProPayConnector.js +695 -0
  189. package/lib/src/Gateways/ProPayConnector.js.map +1 -0
  190. package/lib/src/Gateways/RealexConnector.d.ts +30 -0
  191. package/lib/src/Gateways/RealexConnector.js +524 -0
  192. package/lib/src/Gateways/RealexConnector.js.map +1 -0
  193. package/lib/src/Gateways/RestGateway.d.ts +6 -0
  194. package/lib/src/Gateways/RestGateway.js +32 -0
  195. package/lib/src/Gateways/RestGateway.js.map +1 -0
  196. package/lib/src/Gateways/XmlGateway.d.ts +6 -0
  197. package/lib/src/Gateways/XmlGateway.js +38 -0
  198. package/lib/src/Gateways/XmlGateway.js.map +1 -0
  199. package/lib/src/Gateways/https-wrapper.d.ts +3 -0
  200. package/lib/src/Gateways/https-wrapper.js +36 -0
  201. package/lib/src/Gateways/https-wrapper.js.map +1 -0
  202. package/lib/src/Gateways/index.d.ts +8 -0
  203. package/lib/src/Gateways/index.js +21 -0
  204. package/lib/src/Gateways/index.js.map +1 -0
  205. package/lib/src/HostedPaymentConfig.d.ts +12 -0
  206. package/lib/src/HostedPaymentConfig.js +10 -0
  207. package/lib/src/HostedPaymentConfig.js.map +1 -0
  208. package/lib/src/Mapping/GpEcomMapping.d.ts +9 -0
  209. package/lib/src/Mapping/GpEcomMapping.js +74 -0
  210. package/lib/src/Mapping/GpEcomMapping.js.map +1 -0
  211. package/lib/src/Mapping/index.d.ts +1 -0
  212. package/lib/src/Mapping/index.js +14 -0
  213. package/lib/src/Mapping/index.js.map +1 -0
  214. package/lib/src/PaymentMethods/Cash.d.ts +8 -0
  215. package/lib/src/PaymentMethods/Cash.js +37 -0
  216. package/lib/src/PaymentMethods/Cash.js.map +1 -0
  217. package/lib/src/PaymentMethods/Credit.d.ts +85 -0
  218. package/lib/src/PaymentMethods/Credit.js +107 -0
  219. package/lib/src/PaymentMethods/Credit.js.map +1 -0
  220. package/lib/src/PaymentMethods/CreditCardData.d.ts +20 -0
  221. package/lib/src/PaymentMethods/CreditCardData.js +58 -0
  222. package/lib/src/PaymentMethods/CreditCardData.js.map +1 -0
  223. package/lib/src/PaymentMethods/CreditTrackData.d.ts +7 -0
  224. package/lib/src/PaymentMethods/CreditTrackData.js +28 -0
  225. package/lib/src/PaymentMethods/CreditTrackData.js.map +1 -0
  226. package/lib/src/PaymentMethods/Debit.d.ts +40 -0
  227. package/lib/src/PaymentMethods/Debit.js +71 -0
  228. package/lib/src/PaymentMethods/Debit.js.map +1 -0
  229. package/lib/src/PaymentMethods/DebitTrackData.d.ts +7 -0
  230. package/lib/src/PaymentMethods/DebitTrackData.js +28 -0
  231. package/lib/src/PaymentMethods/DebitTrackData.js.map +1 -0
  232. package/lib/src/PaymentMethods/EBT.d.ts +48 -0
  233. package/lib/src/PaymentMethods/EBT.js +89 -0
  234. package/lib/src/PaymentMethods/EBT.js.map +1 -0
  235. package/lib/src/PaymentMethods/EBTCardData.d.ts +16 -0
  236. package/lib/src/PaymentMethods/EBTCardData.js +33 -0
  237. package/lib/src/PaymentMethods/EBTCardData.js.map +1 -0
  238. package/lib/src/PaymentMethods/EBTTrackData.d.ts +8 -0
  239. package/lib/src/PaymentMethods/EBTTrackData.js +28 -0
  240. package/lib/src/PaymentMethods/EBTTrackData.js.map +1 -0
  241. package/lib/src/PaymentMethods/ECheck.d.ts +32 -0
  242. package/lib/src/PaymentMethods/ECheck.js +41 -0
  243. package/lib/src/PaymentMethods/ECheck.js.map +1 -0
  244. package/lib/src/PaymentMethods/GiftCard.d.ts +131 -0
  245. package/lib/src/PaymentMethods/GiftCard.js +206 -0
  246. package/lib/src/PaymentMethods/GiftCard.js.map +1 -0
  247. package/lib/src/PaymentMethods/Interfaces.d.ts +55 -0
  248. package/lib/src/PaymentMethods/Interfaces.js +3 -0
  249. package/lib/src/PaymentMethods/Interfaces.js.map +1 -0
  250. package/lib/src/PaymentMethods/PaymentMethod.d.ts +19 -0
  251. package/lib/src/PaymentMethods/PaymentMethod.js +115 -0
  252. package/lib/src/PaymentMethods/PaymentMethod.js.map +1 -0
  253. package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +23 -0
  254. package/lib/src/PaymentMethods/RecurringPaymentMethod.js +78 -0
  255. package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +1 -0
  256. package/lib/src/PaymentMethods/TransactionReference.d.ts +10 -0
  257. package/lib/src/PaymentMethods/TransactionReference.js +13 -0
  258. package/lib/src/PaymentMethods/TransactionReference.js.map +1 -0
  259. package/lib/src/PaymentMethods/index.d.ts +15 -0
  260. package/lib/src/PaymentMethods/index.js +28 -0
  261. package/lib/src/PaymentMethods/index.js.map +1 -0
  262. package/lib/src/ServiceConfigs/AcceptorConfig.d.ts +41 -0
  263. package/lib/src/ServiceConfigs/AcceptorConfig.js +30 -0
  264. package/lib/src/ServiceConfigs/AcceptorConfig.js.map +1 -0
  265. package/lib/src/ServiceConfigs/Configuration.d.ts +15 -0
  266. package/lib/src/ServiceConfigs/Configuration.js +16 -0
  267. package/lib/src/ServiceConfigs/Configuration.js.map +1 -0
  268. package/lib/src/ServiceConfigs/Gateways/GatewayConfig.d.ts +14 -0
  269. package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js +46 -0
  270. package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js.map +1 -0
  271. package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.d.ts +27 -0
  272. package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js +61 -0
  273. package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js.map +1 -0
  274. package/lib/src/ServiceConfigs/Gateways/index.d.ts +2 -0
  275. package/lib/src/ServiceConfigs/Gateways/index.js +15 -0
  276. package/lib/src/ServiceConfigs/Gateways/index.js.map +1 -0
  277. package/lib/src/ServiceConfigs/ServicesConfig.d.ts +27 -0
  278. package/lib/src/ServiceConfigs/ServicesConfig.js +51 -0
  279. package/lib/src/ServiceConfigs/ServicesConfig.js.map +1 -0
  280. package/lib/src/ServiceConfigs/ServicesConfigsAdded.d.ts +10 -0
  281. package/lib/src/ServiceConfigs/ServicesConfigsAdded.js +27 -0
  282. package/lib/src/ServiceConfigs/ServicesConfigsAdded.js.map +1 -0
  283. package/lib/src/ServiceConfigs/index.d.ts +5 -0
  284. package/lib/src/ServiceConfigs/index.js +18 -0
  285. package/lib/src/ServiceConfigs/index.js.map +1 -0
  286. package/lib/src/Services/BatchService.d.ts +4 -0
  287. package/lib/src/Services/BatchService.js +18 -0
  288. package/lib/src/Services/BatchService.js.map +1 -0
  289. package/lib/src/Services/CheckService.d.ts +6 -0
  290. package/lib/src/Services/CheckService.js +21 -0
  291. package/lib/src/Services/CheckService.js.map +1 -0
  292. package/lib/src/Services/CreditService.d.ts +12 -0
  293. package/lib/src/Services/CreditService.js +55 -0
  294. package/lib/src/Services/CreditService.js.map +1 -0
  295. package/lib/src/Services/DebitService.d.ts +7 -0
  296. package/lib/src/Services/DebitService.js +29 -0
  297. package/lib/src/Services/DebitService.js.map +1 -0
  298. package/lib/src/Services/EBTService.d.ts +8 -0
  299. package/lib/src/Services/EBTService.js +33 -0
  300. package/lib/src/Services/EBTService.js.map +1 -0
  301. package/lib/src/Services/GiftService.d.ts +16 -0
  302. package/lib/src/Services/GiftService.js +55 -0
  303. package/lib/src/Services/GiftService.js.map +1 -0
  304. package/lib/src/Services/HostedService.d.ts +9 -0
  305. package/lib/src/Services/HostedService.js +60 -0
  306. package/lib/src/Services/HostedService.js.map +1 -0
  307. package/lib/src/Services/PayFacService.d.ts +26 -0
  308. package/lib/src/Services/PayFacService.js +78 -0
  309. package/lib/src/Services/PayFacService.js.map +1 -0
  310. package/lib/src/Services/RecurringService.d.ts +8 -0
  311. package/lib/src/Services/RecurringService.js +28 -0
  312. package/lib/src/Services/RecurringService.js.map +1 -0
  313. package/lib/src/Services/ReportingService.d.ts +6 -0
  314. package/lib/src/Services/ReportingService.js +20 -0
  315. package/lib/src/Services/ReportingService.js.map +1 -0
  316. package/lib/src/Services/index.d.ts +9 -0
  317. package/lib/src/Services/index.js +22 -0
  318. package/lib/src/Services/index.js.map +1 -0
  319. package/lib/src/ServicesConfig.d.ts +27 -0
  320. package/lib/src/ServicesConfig.js +51 -0
  321. package/lib/src/ServicesConfig.js.map +1 -0
  322. package/lib/src/ServicesContainer.d.ts +26 -0
  323. package/lib/src/ServicesContainer.js +140 -0
  324. package/lib/src/ServicesContainer.js.map +1 -0
  325. package/lib/src/Utils/GenerationUtils.d.ts +5 -0
  326. package/lib/src/Utils/GenerationUtils.js +37 -0
  327. package/lib/src/Utils/GenerationUtils.js.map +1 -0
  328. package/lib/src/Utils/InputValidation.d.ts +12 -0
  329. package/lib/src/Utils/InputValidation.js +73 -0
  330. package/lib/src/Utils/InputValidation.js.map +1 -0
  331. package/lib/src/Utils/Sha1.d.ts +6 -0
  332. package/lib/src/Utils/Sha1.js +226 -0
  333. package/lib/src/Utils/Sha1.js.map +1 -0
  334. package/lib/src/Utils/StringUtils.d.ts +6 -0
  335. package/lib/src/Utils/StringUtils.js +54 -0
  336. package/lib/src/Utils/StringUtils.js.map +1 -0
  337. package/lib/src/Utils/index.d.ts +2 -0
  338. package/lib/src/Utils/index.js +15 -0
  339. package/lib/src/Utils/index.js.map +1 -0
  340. package/lib/src/index.d.ts +12 -0
  341. package/lib/src/index.js +29 -0
  342. package/lib/src/index.js.map +1 -0
  343. package/lib/test/Data/TestCards.d.ts +24 -0
  344. package/lib/test/Data/TestCards.js +233 -0
  345. package/lib/test/Data/TestCards.js.map +1 -0
  346. package/lib/test/Data/TestChecks.d.ts +4 -0
  347. package/lib/test/Data/TestChecks.js +33 -0
  348. package/lib/test/Data/TestChecks.js.map +1 -0
  349. package/lib/test/Data/index.d.ts +2 -0
  350. package/lib/test/Data/index.js +15 -0
  351. package/lib/test/Data/index.js.map +1 -0
  352. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +1 -0
  353. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +113 -0
  354. package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +1 -0
  355. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +1 -0
  356. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +484 -0
  357. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +1 -0
  358. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +1 -0
  359. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +84 -0
  360. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +1 -0
  361. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +1 -0
  362. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +1721 -0
  363. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +1 -0
  364. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +1 -0
  365. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +84 -0
  366. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +1 -0
  367. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +1 -0
  368. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +1758 -0
  369. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +1 -0
  370. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +1 -0
  371. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +683 -0
  372. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +1 -0
  373. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +1 -0
  374. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +2219 -0
  375. package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +1 -0
  376. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +1 -0
  377. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +708 -0
  378. package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +1 -0
  379. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +1 -0
  380. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +152 -0
  381. package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +1 -0
  382. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +1 -0
  383. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +172 -0
  384. package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +1 -0
  385. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +1 -0
  386. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +193 -0
  387. package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +1 -0
  388. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +1 -0
  389. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +378 -0
  390. package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +1 -0
  391. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +1 -0
  392. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +197 -0
  393. package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +1 -0
  394. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +1 -0
  395. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +48 -0
  396. package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +1 -0
  397. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTests.d.ts +1 -0
  398. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTests.js +101 -0
  399. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTests.js.map +1 -0
  400. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTests.d.ts +1 -0
  401. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTests.js +353 -0
  402. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTests.js.map +1 -0
  403. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTests.d.ts +1 -0
  404. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTests.js +124 -0
  405. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTests.js.map +1 -0
  406. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTests.d.ts +1 -0
  407. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTests.js +143 -0
  408. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTests.js.map +1 -0
  409. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +39 -0
  410. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +372 -0
  411. package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +1 -0
  412. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTests.d.ts +1 -0
  413. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTests.js +101 -0
  414. package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTests.js.map +1 -0
  415. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTests.d.ts +1 -0
  416. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTests.js +536 -0
  417. package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTests.js.map +1 -0
  418. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTests.d.ts +1 -0
  419. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTests.js +125 -0
  420. package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTests.js.map +1 -0
  421. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTests.d.ts +1 -0
  422. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTests.js +145 -0
  423. package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTests.js.map +1 -0
  424. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +33 -0
  425. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +269 -0
  426. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +1 -0
  427. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +4 -0
  428. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +31 -0
  429. package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +1 -0
  430. package/lib/test/Integration/Gateways/RealexConnector/Certification/AuthTest.d.ts +1 -0
  431. package/lib/test/Integration/Gateways/RealexConnector/Certification/AuthTest.js +4374 -0
  432. package/lib/test/Integration/Gateways/RealexConnector/Certification/AuthTest.js.map +1 -0
  433. package/lib/test/Integration/Gateways/RealexConnector/Certification/AvsTest.d.ts +1 -0
  434. package/lib/test/Integration/Gateways/RealexConnector/Certification/AvsTest.js +759 -0
  435. package/lib/test/Integration/Gateways/RealexConnector/Certification/AvsTest.js.map +1 -0
  436. package/lib/test/Integration/Gateways/RealexConnector/Certification/CreditTest.d.ts +1 -0
  437. package/lib/test/Integration/Gateways/RealexConnector/Certification/CreditTest.js +2400 -0
  438. package/lib/test/Integration/Gateways/RealexConnector/Certification/CreditTest.js.map +1 -0
  439. package/lib/test/Integration/Gateways/RealexConnector/Certification/HoldTest.d.ts +1 -0
  440. package/lib/test/Integration/Gateways/RealexConnector/Certification/HoldTest.js +1657 -0
  441. package/lib/test/Integration/Gateways/RealexConnector/Certification/HoldTest.js.map +1 -0
  442. package/lib/test/Integration/Gateways/RealexConnector/Certification/ManualTest.d.ts +1 -0
  443. package/lib/test/Integration/Gateways/RealexConnector/Certification/ManualTest.js +5651 -0
  444. package/lib/test/Integration/Gateways/RealexConnector/Certification/ManualTest.js.map +1 -0
  445. package/lib/test/Integration/Gateways/RealexConnector/Certification/OtbTest.d.ts +1 -0
  446. package/lib/test/Integration/Gateways/RealexConnector/Certification/OtbTest.js +1986 -0
  447. package/lib/test/Integration/Gateways/RealexConnector/Certification/OtbTest.js.map +1 -0
  448. package/lib/test/Integration/Gateways/RealexConnector/Certification/RebateTest.d.ts +1 -0
  449. package/lib/test/Integration/Gateways/RealexConnector/Certification/RebateTest.js +2370 -0
  450. package/lib/test/Integration/Gateways/RealexConnector/Certification/RebateTest.js.map +1 -0
  451. package/lib/test/Integration/Gateways/RealexConnector/Certification/ReleaseTest.d.ts +1 -0
  452. package/lib/test/Integration/Gateways/RealexConnector/Certification/ReleaseTest.js +1704 -0
  453. package/lib/test/Integration/Gateways/RealexConnector/Certification/ReleaseTest.js.map +1 -0
  454. package/lib/test/Integration/Gateways/RealexConnector/Certification/SettleTest.d.ts +1 -0
  455. package/lib/test/Integration/Gateways/RealexConnector/Certification/SettleTest.js +2054 -0
  456. package/lib/test/Integration/Gateways/RealexConnector/Certification/SettleTest.js.map +1 -0
  457. package/lib/test/Integration/Gateways/RealexConnector/Certification/ValidationTest.d.ts +1 -0
  458. package/lib/test/Integration/Gateways/RealexConnector/Certification/ValidationTest.js +2470 -0
  459. package/lib/test/Integration/Gateways/RealexConnector/Certification/ValidationTest.js.map +1 -0
  460. package/lib/test/Integration/Gateways/RealexConnector/Certification/VerifyEnrolledTest.d.ts +1 -0
  461. package/lib/test/Integration/Gateways/RealexConnector/Certification/VerifyEnrolledTest.js +3117 -0
  462. package/lib/test/Integration/Gateways/RealexConnector/Certification/VerifyEnrolledTest.js.map +1 -0
  463. package/lib/test/Integration/Gateways/RealexConnector/Certification/VoidTest.d.ts +1 -0
  464. package/lib/test/Integration/Gateways/RealexConnector/Certification/VoidTest.js +2032 -0
  465. package/lib/test/Integration/Gateways/RealexConnector/Certification/VoidTest.js.map +1 -0
  466. package/lib/test/Integration/Gateways/RealexConnector/CreditTest.d.ts +1 -0
  467. package/lib/test/Integration/Gateways/RealexConnector/CreditTest.js +323 -0
  468. package/lib/test/Integration/Gateways/RealexConnector/CreditTest.js.map +1 -0
  469. package/lib/test/Integration/Gateways/RealexConnector/HppTest.d.ts +1 -0
  470. package/lib/test/Integration/Gateways/RealexConnector/HppTest.js +99 -0
  471. package/lib/test/Integration/Gateways/RealexConnector/HppTest.js.map +1 -0
  472. package/lib/test/Integration/Gateways/RealexConnector/RecurringTest.d.ts +1 -0
  473. package/lib/test/Integration/Gateways/RealexConnector/RecurringTest.js +264 -0
  474. package/lib/test/Integration/Gateways/RealexConnector/RecurringTest.js.map +1 -0
  475. package/lib/test/Integration/Services/CheckServiceTest.d.ts +1 -0
  476. package/lib/test/Integration/Services/CheckServiceTest.js +99 -0
  477. package/lib/test/Integration/Services/CheckServiceTest.js.map +1 -0
  478. package/lib/test/Integration/Services/CreditServiceTest.d.ts +1 -0
  479. package/lib/test/Integration/Services/CreditServiceTest.js +314 -0
  480. package/lib/test/Integration/Services/CreditServiceTest.js.map +1 -0
  481. package/lib/test/Integration/Services/DebitServiceTest.d.ts +1 -0
  482. package/lib/test/Integration/Services/DebitServiceTest.js +155 -0
  483. package/lib/test/Integration/Services/DebitServiceTest.js.map +1 -0
  484. package/lib/test/Integration/Services/EBTServiceTest.d.ts +1 -0
  485. package/lib/test/Integration/Services/EBTServiceTest.js +136 -0
  486. package/lib/test/Integration/Services/EBTServiceTest.js.map +1 -0
  487. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +1 -0
  488. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +162 -0
  489. package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +1 -0
  490. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +1 -0
  491. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +140 -0
  492. package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +1 -0
  493. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
  494. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +73 -0
  495. package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
  496. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +1 -0
  497. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +203 -0
  498. package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +1 -0
  499. package/lib/test/Unit/Gateways/RealexConnector/CreditTest.d.ts +1 -0
  500. package/lib/test/Unit/Gateways/RealexConnector/CreditTest.js +71 -0
  501. package/lib/test/Unit/Gateways/RealexConnector/CreditTest.js.map +1 -0
  502. package/package.json +2 -2
@@ -0,0 +1,498 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropayTermsVersion = exports.PaymentDataSourceType = exports.MobilePaymentMethodType = exports.ProPayAccountStatus = exports.TransactionType = exports.TransactionModifier = exports.TimeZoneConversion = exports.TerminalOutputCapability = exports.TaxType = exports.StoredCredentialInitiator = exports.ShaHashType = exports.Secure3dVersion = exports.SecCode = exports.ScheduleFrequency = exports.ReportType = exports.RecurringType = exports.RecurringSequence = exports.ReasonCode = exports.OperatingEnvironment = exports.PinCaptureCapability = exports.PaymentSchedule = exports.PaymentMethodType = exports.InquiryType = exports.HppVersion = exports.GiftEntryMethod = exports.GatewayProvider = exports.FraudFilterMode = exports.ExceptionCodes = exports.Environment = exports.EntryMethod = exports.EncyptedMobileType = exports.EmailReceipt = exports.EcommerceChannel = exports.CvnPresenceIndicator = exports.CurrencyType = exports.CheckType = exports.CardHolderAuthenticationEntity = exports.CardHolderAuthenticationCapability = exports.CardDataOutputCapability = exports.CardDataInputCapability = exports.AliasAction = exports.AddressType = exports.AccountType = void 0;
4
+ var AccountType;
5
+ (function (AccountType) {
6
+ AccountType["Checking"] = "CHECKING";
7
+ AccountType["Savings"] = "SAVINGS";
8
+ })(AccountType = exports.AccountType || (exports.AccountType = {}));
9
+ var AddressType;
10
+ (function (AddressType) {
11
+ AddressType[AddressType["Billing"] = 0] = "Billing";
12
+ AddressType[AddressType["Shipping"] = 1] = "Shipping";
13
+ })(AddressType = exports.AddressType || (exports.AddressType = {}));
14
+ var AliasAction;
15
+ (function (AliasAction) {
16
+ AliasAction["Create"] = "CREATE";
17
+ AliasAction["Add"] = "ADD";
18
+ AliasAction["Delete"] = "DELETE";
19
+ })(AliasAction = exports.AliasAction || (exports.AliasAction = {}));
20
+ var CardDataInputCapability;
21
+ (function (CardDataInputCapability) {
22
+ CardDataInputCapability["Unknown"] = "UNKNOWN";
23
+ CardDataInputCapability["NoTerminalManual"] = "NO_TERMINAL_MANUAL";
24
+ CardDataInputCapability["MagstripeReadOnly"] = "MAGSTRIPE_READ_ONLY";
25
+ CardDataInputCapability["Ocr"] = "OCR";
26
+ CardDataInputCapability["IccChipReadOnly"] = "ICC_CHIP_READ_ONLY";
27
+ CardDataInputCapability["KeyedEntryOnly"] = "KEYED_ENTRY_ONLY";
28
+ CardDataInputCapability["MagstripeContactlessOnly"] = "MAGSTRIPE_CONTACTLESS_ONLY";
29
+ CardDataInputCapability["MagstripeKeyedEntryOnly"] = "MAGSTRIPE_KEYED_ENTRY_ONLY";
30
+ CardDataInputCapability["MagstripeIccKeyedEntryOnly"] = "MAGSTRIPE_ICC_KEYED_ENTRY_ONLY";
31
+ CardDataInputCapability["MagstripeIccOnly"] = "MAGSTRIPE_ICC_ONLY";
32
+ CardDataInputCapability["IccKeyedEntryOnly"] = "ICC_KEYED_ENTRY_ONLY";
33
+ CardDataInputCapability["IccChipConctactContactless"] = "ICC_CHIP_CONTACT_CONTACTLESS";
34
+ CardDataInputCapability["IccContactlessOnly"] = "ICC_CONTACTLESS_ONLY";
35
+ CardDataInputCapability["OtherCapabilityForMastercard"] = "OTHER_CAPABILITY_FOR_MASTERCARD";
36
+ CardDataInputCapability["MagstripeSignatureForAmexOnly"] = "MAGSTRIPE_SIGNATURE_FOR_AMEX_ONLY";
37
+ })(CardDataInputCapability = exports.CardDataInputCapability || (exports.CardDataInputCapability = {}));
38
+ var CardDataOutputCapability;
39
+ (function (CardDataOutputCapability) {
40
+ CardDataOutputCapability["None"] = "NONE";
41
+ CardDataOutputCapability["MagneticStripeWrite"] = "MAGNETIC_STRIPE_WRITE";
42
+ CardDataOutputCapability["Icc"] = "ICC";
43
+ CardDataOutputCapability["Other"] = "OTHER";
44
+ })(CardDataOutputCapability = exports.CardDataOutputCapability || (exports.CardDataOutputCapability = {}));
45
+ var CardHolderAuthenticationCapability;
46
+ (function (CardHolderAuthenticationCapability) {
47
+ CardHolderAuthenticationCapability["NoCapability"] = "NO_CAPABILITY";
48
+ CardHolderAuthenticationCapability["PinEntry"] = "PIN_ENTRY";
49
+ CardHolderAuthenticationCapability["SignatureAnalysis"] = "SIGNATURE_ANALYSIS";
50
+ CardHolderAuthenticationCapability["SignatureAnalysisInoperative"] = "SIGNATURE_ANALYSIS_INOPERATIVE";
51
+ CardHolderAuthenticationCapability["MposSoftwareBasedPinEntryCapability"] = "MPOS_SOFTWARE_BASED_PIN_ENTRY_CAPABILITY";
52
+ CardHolderAuthenticationCapability["Other"] = "OTHER";
53
+ CardHolderAuthenticationCapability["Unknown"] = "UNKNOWN";
54
+ })(CardHolderAuthenticationCapability = exports.CardHolderAuthenticationCapability || (exports.CardHolderAuthenticationCapability = {}));
55
+ var CardHolderAuthenticationEntity;
56
+ (function (CardHolderAuthenticationEntity) {
57
+ CardHolderAuthenticationEntity["NotAuthenticated"] = "NOT_AUTHENTICATED";
58
+ CardHolderAuthenticationEntity["IccOfflinePin"] = "ICC_OFFLINE_PIN";
59
+ CardHolderAuthenticationEntity["CardAcceptanceDevice"] = "CARD_ACCEPTANCE_DEVICE";
60
+ CardHolderAuthenticationEntity["AuthorizingAgentOnlinePin"] = "AUTHORIZING_AGENT_ONLINE_PIN";
61
+ CardHolderAuthenticationEntity["MerchantCardAcceptorSignature"] = "MERCHANT_CARD_ACCEPTOR_SIGNATURE";
62
+ CardHolderAuthenticationEntity["Other"] = "OTHER";
63
+ })(CardHolderAuthenticationEntity = exports.CardHolderAuthenticationEntity || (exports.CardHolderAuthenticationEntity = {}));
64
+ var CheckType;
65
+ (function (CheckType) {
66
+ CheckType["Personal"] = "PERSONAL";
67
+ CheckType["Business"] = "BUSINESS";
68
+ CheckType["Payroll"] = "PAYROLL";
69
+ })(CheckType = exports.CheckType || (exports.CheckType = {}));
70
+ var CurrencyType;
71
+ (function (CurrencyType) {
72
+ CurrencyType[CurrencyType["CURRENCY"] = 0] = "CURRENCY";
73
+ CurrencyType[CurrencyType["POINTS"] = 1] = "POINTS";
74
+ })(CurrencyType = exports.CurrencyType || (exports.CurrencyType = {}));
75
+ var CvnPresenceIndicator;
76
+ (function (CvnPresenceIndicator) {
77
+ CvnPresenceIndicator[CvnPresenceIndicator["Present"] = 1] = "Present";
78
+ CvnPresenceIndicator[CvnPresenceIndicator["Illegible"] = 2] = "Illegible";
79
+ CvnPresenceIndicator[CvnPresenceIndicator["NotOnCard"] = 3] = "NotOnCard";
80
+ CvnPresenceIndicator[CvnPresenceIndicator["NotRequested"] = 4] = "NotRequested";
81
+ })(CvnPresenceIndicator = exports.CvnPresenceIndicator || (exports.CvnPresenceIndicator = {}));
82
+ var EcommerceChannel;
83
+ (function (EcommerceChannel) {
84
+ EcommerceChannel["Ecom"] = "ECOM";
85
+ EcommerceChannel["Moto"] = "MOTO";
86
+ })(EcommerceChannel = exports.EcommerceChannel || (exports.EcommerceChannel = {}));
87
+ var EmailReceipt;
88
+ (function (EmailReceipt) {
89
+ EmailReceipt["Never"] = "Never";
90
+ EmailReceipt["All"] = "All";
91
+ EmailReceipt["Approvals"] = "Approvals";
92
+ EmailReceipt["Declines"] = "Declines";
93
+ })(EmailReceipt = exports.EmailReceipt || (exports.EmailReceipt = {}));
94
+ var EncyptedMobileType;
95
+ (function (EncyptedMobileType) {
96
+ EncyptedMobileType["ApplePay"] = "apple-pay";
97
+ EncyptedMobileType["GooglePay"] = "pay-with-google";
98
+ EncyptedMobileType["ClickToPay"] = "click-to-pay";
99
+ })(EncyptedMobileType = exports.EncyptedMobileType || (exports.EncyptedMobileType = {}));
100
+ var EntryMethod;
101
+ (function (EntryMethod) {
102
+ EntryMethod["Swipe"] = "SWIPE";
103
+ EntryMethod["Proximity"] = "PROXIMITY";
104
+ EntryMethod["Manual"] = "MANUAL";
105
+ })(EntryMethod = exports.EntryMethod || (exports.EntryMethod = {}));
106
+ var Environment;
107
+ (function (Environment) {
108
+ Environment["Test"] = "TEST";
109
+ Environment["Production"] = "PRODUCTION";
110
+ Environment["Qa"] = "QA";
111
+ })(Environment = exports.Environment || (exports.Environment = {}));
112
+ var ExceptionCodes;
113
+ (function (ExceptionCodes) {
114
+ // general codes
115
+ ExceptionCodes[ExceptionCodes["AuthenticationError"] = 0] = "AuthenticationError";
116
+ ExceptionCodes[ExceptionCodes["InvalidConfiguration"] = 1] = "InvalidConfiguration";
117
+ // input codes
118
+ ExceptionCodes[ExceptionCodes["InvalidAmount"] = 2] = "InvalidAmount";
119
+ ExceptionCodes[ExceptionCodes["MissingCurrency"] = 3] = "MissingCurrency";
120
+ ExceptionCodes[ExceptionCodes["InvalidCurrency"] = 4] = "InvalidCurrency";
121
+ ExceptionCodes[ExceptionCodes["InvalidDate"] = 5] = "InvalidDate";
122
+ ExceptionCodes[ExceptionCodes["MissingCheckName"] = 6] = "MissingCheckName";
123
+ ExceptionCodes[ExceptionCodes["InvalidPhoneNumber"] = 7] = "InvalidPhoneNumber";
124
+ ExceptionCodes[ExceptionCodes["InvalidZipCode"] = 8] = "InvalidZipCode";
125
+ ExceptionCodes[ExceptionCodes["InvalidEmailAddress"] = 9] = "InvalidEmailAddress";
126
+ ExceptionCodes[ExceptionCodes["InvalidInputLength"] = 10] = "InvalidInputLength";
127
+ // gateway codes
128
+ ExceptionCodes[ExceptionCodes["UnknownGatewayError"] = 11] = "UnknownGatewayError";
129
+ ExceptionCodes[ExceptionCodes["InvalidOriginalTransaction"] = 12] = "InvalidOriginalTransaction";
130
+ ExceptionCodes[ExceptionCodes["NoOpenBatch"] = 13] = "NoOpenBatch";
131
+ ExceptionCodes[ExceptionCodes["InvalidCpcData"] = 14] = "InvalidCpcData";
132
+ ExceptionCodes[ExceptionCodes["InvalidCardData"] = 15] = "InvalidCardData";
133
+ ExceptionCodes[ExceptionCodes["InvalidNumber"] = 16] = "InvalidNumber";
134
+ ExceptionCodes[ExceptionCodes["GatewayTimeout"] = 17] = "GatewayTimeout";
135
+ ExceptionCodes[ExceptionCodes["UnexpectedGatewayResponse"] = 18] = "UnexpectedGatewayResponse";
136
+ ExceptionCodes[ExceptionCodes["GatewayTimeoutReversalError"] = 19] = "GatewayTimeoutReversalError";
137
+ ExceptionCodes[ExceptionCodes["GatewayError"] = 20] = "GatewayError";
138
+ ExceptionCodes[ExceptionCodes["UnexpectedGatewayError"] = 21] = "UnexpectedGatewayError";
139
+ // credit issuer codes
140
+ ExceptionCodes[ExceptionCodes["IncorrectNumber"] = 22] = "IncorrectNumber";
141
+ ExceptionCodes[ExceptionCodes["ExpiredCard"] = 23] = "ExpiredCard";
142
+ ExceptionCodes[ExceptionCodes["InvalidPin"] = 24] = "InvalidPin";
143
+ ExceptionCodes[ExceptionCodes["PinEntriesExceeded"] = 25] = "PinEntriesExceeded";
144
+ ExceptionCodes[ExceptionCodes["InvalidExpiry"] = 26] = "InvalidExpiry";
145
+ ExceptionCodes[ExceptionCodes["PinVerification"] = 27] = "PinVerification";
146
+ ExceptionCodes[ExceptionCodes["IssuerTimeout"] = 28] = "IssuerTimeout";
147
+ ExceptionCodes[ExceptionCodes["IncorrectCvc"] = 29] = "IncorrectCvc";
148
+ ExceptionCodes[ExceptionCodes["CardDeclined"] = 30] = "CardDeclined";
149
+ ExceptionCodes[ExceptionCodes["ProcessingError"] = 31] = "ProcessingError";
150
+ ExceptionCodes[ExceptionCodes["IssuerTimeoutReversalError"] = 32] = "IssuerTimeoutReversalError";
151
+ ExceptionCodes[ExceptionCodes["UnknownCreditError"] = 33] = "UnknownCreditError";
152
+ ExceptionCodes[ExceptionCodes["PossibleFraudDetected"] = 34] = "PossibleFraudDetected";
153
+ // gift codes
154
+ ExceptionCodes[ExceptionCodes["UnknownGiftError"] = 35] = "UnknownGiftError";
155
+ ExceptionCodes[ExceptionCodes["PartialApproval"] = 36] = "PartialApproval";
156
+ })(ExceptionCodes = exports.ExceptionCodes || (exports.ExceptionCodes = {}));
157
+ var FraudFilterMode;
158
+ (function (FraudFilterMode) {
159
+ FraudFilterMode["None"] = "NONE";
160
+ FraudFilterMode["Off"] = "OFF";
161
+ FraudFilterMode["Active"] = "ACTIVE";
162
+ FraudFilterMode["Passive"] = "PASSIVE";
163
+ })(FraudFilterMode = exports.FraudFilterMode || (exports.FraudFilterMode = {}));
164
+ var GatewayProvider;
165
+ (function (GatewayProvider) {
166
+ GatewayProvider["GpEcom"] = "GP_ECOM";
167
+ })(GatewayProvider = exports.GatewayProvider || (exports.GatewayProvider = {}));
168
+ var GiftEntryMethod;
169
+ (function (GiftEntryMethod) {
170
+ GiftEntryMethod[GiftEntryMethod["Swipe"] = 0] = "Swipe";
171
+ GiftEntryMethod[GiftEntryMethod["Alias"] = 1] = "Alias";
172
+ GiftEntryMethod[GiftEntryMethod["Manual"] = 2] = "Manual";
173
+ })(GiftEntryMethod = exports.GiftEntryMethod || (exports.GiftEntryMethod = {}));
174
+ var HppVersion;
175
+ (function (HppVersion) {
176
+ HppVersion["Version1"] = "1";
177
+ HppVersion["Version2"] = "2";
178
+ })(HppVersion = exports.HppVersion || (exports.HppVersion = {}));
179
+ var InquiryType;
180
+ (function (InquiryType) {
181
+ InquiryType["Standard"] = "STANDARD";
182
+ InquiryType["Foodstamp"] = "FOODSTAMP";
183
+ InquiryType["Cash"] = "CASH";
184
+ InquiryType["Points"] = "POINTS";
185
+ })(InquiryType = exports.InquiryType || (exports.InquiryType = {}));
186
+ var PaymentMethodType;
187
+ (function (PaymentMethodType) {
188
+ PaymentMethodType[PaymentMethodType["Reference"] = 1] = "Reference";
189
+ PaymentMethodType[PaymentMethodType["Credit"] = 2] = "Credit";
190
+ PaymentMethodType[PaymentMethodType["Debit"] = 4] = "Debit";
191
+ PaymentMethodType[PaymentMethodType["EBT"] = 8] = "EBT";
192
+ PaymentMethodType[PaymentMethodType["Cash"] = 16] = "Cash";
193
+ PaymentMethodType[PaymentMethodType["ACH"] = 32] = "ACH";
194
+ PaymentMethodType[PaymentMethodType["Gift"] = 64] = "Gift";
195
+ PaymentMethodType[PaymentMethodType["Recurring"] = 128] = "Recurring";
196
+ })(PaymentMethodType = exports.PaymentMethodType || (exports.PaymentMethodType = {}));
197
+ var PaymentSchedule;
198
+ (function (PaymentSchedule) {
199
+ PaymentSchedule[PaymentSchedule["Dynamic"] = 0] = "Dynamic";
200
+ PaymentSchedule[PaymentSchedule["FirstDayOfTheMonth"] = 1] = "FirstDayOfTheMonth";
201
+ PaymentSchedule[PaymentSchedule["LastDayOfTheMonth"] = 2] = "LastDayOfTheMonth";
202
+ })(PaymentSchedule = exports.PaymentSchedule || (exports.PaymentSchedule = {}));
203
+ var PinCaptureCapability;
204
+ (function (PinCaptureCapability) {
205
+ PinCaptureCapability["FourCharacters"] = "4";
206
+ PinCaptureCapability["FiveCharacters"] = "5";
207
+ PinCaptureCapability["SixCharacters"] = "6";
208
+ PinCaptureCapability["SevenCharacters"] = "7";
209
+ PinCaptureCapability["EightCharacters"] = "8";
210
+ PinCaptureCapability["NineCharacters"] = "9";
211
+ PinCaptureCapability["TenCharacters"] = "10";
212
+ PinCaptureCapability["ElevenCharacters"] = "11";
213
+ PinCaptureCapability["TwelveCharacters"] = "12";
214
+ PinCaptureCapability["Unknown"] = "UNKNOWN";
215
+ PinCaptureCapability["None"] = "NOT_SUPPORTED";
216
+ })(PinCaptureCapability = exports.PinCaptureCapability || (exports.PinCaptureCapability = {}));
217
+ var OperatingEnvironment;
218
+ (function (OperatingEnvironment) {
219
+ OperatingEnvironment["NoTerminal"] = "NO_TERMINAL";
220
+ OperatingEnvironment["OnMerchantPremisesAttended"] = "ON_MERCHANT_PREMISES_ATTENDED";
221
+ OperatingEnvironment["OnMerchantPremisesUnattended"] = "ON_MERCHANT_PREMISES_UNATTENDED";
222
+ OperatingEnvironment["OffMerchantPremisesAttended"] = "OFF_MERCHANT_PREMISES_ATTENDED";
223
+ OperatingEnvironment["OffMerchantPremisesUnattended"] = "OFF_MERCHANT_PREMISES_UNATTENDED";
224
+ OperatingEnvironment["OnCustomerPremisesUnattended"] = "ON_CUSTOMER_PREMISES_UNATTENDED";
225
+ OperatingEnvironment["OffMerchantPremisesMpos"] = "OFF_MERCHANT_PREMISES_MPOS";
226
+ OperatingEnvironment["OnMerchantPremisesMpos"] = "ON_MERCHANT_PREMISES_MPOS";
227
+ OperatingEnvironment["OffMerchantPremisesCustomerPos"] = "OFF_MERCHANT_PREMISES_CUSTOMER_POS";
228
+ OperatingEnvironment["OnMerchantPremisesCustomerPos"] = "ON_MERCHANT_PREMISES_CUSTOMER_POS";
229
+ OperatingEnvironment["OffCustomerPremisesUnattended"] = "OFF_CUSTOMER_PREMISES_UNATTENDED";
230
+ OperatingEnvironment["Unknown"] = "UNKNOWN";
231
+ OperatingEnvironment["ElectronicDeliveryAmex"] = "ELECTRONIC_DELIVERY_AMEX";
232
+ OperatingEnvironment["PhysicalLDeliveryAmex"] = "PHYSICAL_DELIVERY_AMEX";
233
+ })(OperatingEnvironment = exports.OperatingEnvironment || (exports.OperatingEnvironment = {}));
234
+ var ReasonCode;
235
+ (function (ReasonCode) {
236
+ ReasonCode["Fraud"] = "FRAUD";
237
+ ReasonCode["FalsePositive"] = "FALSEPOSITIVE";
238
+ ReasonCode["OutOfStock"] = "OUTOFSTOCK";
239
+ ReasonCode["InStock"] = "INSTOCK";
240
+ ReasonCode["Other"] = "OTHER";
241
+ ReasonCode["NotGiven"] = "NOTGIVEN";
242
+ })(ReasonCode = exports.ReasonCode || (exports.ReasonCode = {}));
243
+ var RecurringSequence;
244
+ (function (RecurringSequence) {
245
+ RecurringSequence[RecurringSequence["First"] = 0] = "First";
246
+ RecurringSequence[RecurringSequence["Subsequent"] = 1] = "Subsequent";
247
+ RecurringSequence[RecurringSequence["Last"] = 2] = "Last";
248
+ })(RecurringSequence = exports.RecurringSequence || (exports.RecurringSequence = {}));
249
+ var RecurringType;
250
+ (function (RecurringType) {
251
+ RecurringType[RecurringType["Fixed"] = 0] = "Fixed";
252
+ RecurringType[RecurringType["Variable"] = 1] = "Variable";
253
+ })(RecurringType = exports.RecurringType || (exports.RecurringType = {}));
254
+ var ReportType;
255
+ (function (ReportType) {
256
+ ReportType[ReportType["FindTransactions"] = 1] = "FindTransactions";
257
+ ReportType[ReportType["Activity"] = 2] = "Activity";
258
+ ReportType[ReportType["BatchDetail"] = 4] = "BatchDetail";
259
+ ReportType[ReportType["BatchHistory"] = 8] = "BatchHistory";
260
+ ReportType[ReportType["BatchSummary"] = 16] = "BatchSummary";
261
+ ReportType[ReportType["OpenAuths"] = 32] = "OpenAuths";
262
+ ReportType[ReportType["Search"] = 64] = "Search";
263
+ ReportType[ReportType["TransactionDetail"] = 128] = "TransactionDetail";
264
+ })(ReportType = exports.ReportType || (exports.ReportType = {}));
265
+ var ScheduleFrequency;
266
+ (function (ScheduleFrequency) {
267
+ ScheduleFrequency["Weekly"] = "Weekly";
268
+ ScheduleFrequency["BiWeekly"] = "Bi-Weekly";
269
+ ScheduleFrequency["BiMonthly"] = "Bi-Monthly";
270
+ ScheduleFrequency["SemiMonthly"] = "Semi-Monthly";
271
+ ScheduleFrequency["Monthly"] = "Monthly";
272
+ ScheduleFrequency["Quarterly"] = "Quarterly";
273
+ ScheduleFrequency["SemiAnnually"] = "Semi-Annually";
274
+ ScheduleFrequency["Annually"] = "Annually";
275
+ })(ScheduleFrequency = exports.ScheduleFrequency || (exports.ScheduleFrequency = {}));
276
+ var SecCode;
277
+ (function (SecCode) {
278
+ SecCode["PPD"] = "PPD";
279
+ SecCode["CCD"] = "CCD";
280
+ SecCode["POP"] = "POP";
281
+ SecCode["WEB"] = "WEB";
282
+ SecCode["TEL"] = "TEL";
283
+ SecCode["EBronze"] = "EBronze";
284
+ })(SecCode = exports.SecCode || (exports.SecCode = {}));
285
+ var Secure3dVersion;
286
+ (function (Secure3dVersion) {
287
+ Secure3dVersion["NONE"] = "NONE";
288
+ Secure3dVersion["ONE"] = "ONE";
289
+ Secure3dVersion["TWO"] = "TWO";
290
+ Secure3dVersion["ANY"] = "ANY";
291
+ })(Secure3dVersion = exports.Secure3dVersion || (exports.Secure3dVersion = {}));
292
+ var ShaHashType;
293
+ (function (ShaHashType) {
294
+ ShaHashType["SHA1"] = "SHA1";
295
+ ShaHashType["SHA256"] = "SHA256";
296
+ ShaHashType["SHA512"] = "SHA512";
297
+ })(ShaHashType = exports.ShaHashType || (exports.ShaHashType = {}));
298
+ var StoredCredentialInitiator;
299
+ (function (StoredCredentialInitiator) {
300
+ StoredCredentialInitiator["CardHolder"] = "C";
301
+ StoredCredentialInitiator["Merchant"] = "M";
302
+ })(StoredCredentialInitiator = exports.StoredCredentialInitiator || (exports.StoredCredentialInitiator = {}));
303
+ var TaxType;
304
+ (function (TaxType) {
305
+ TaxType[TaxType["NotUsed"] = 0] = "NotUsed";
306
+ TaxType[TaxType["SalesTax"] = 1] = "SalesTax";
307
+ TaxType[TaxType["TaxExempt"] = 2] = "TaxExempt";
308
+ })(TaxType = exports.TaxType || (exports.TaxType = {}));
309
+ var TerminalOutputCapability;
310
+ (function (TerminalOutputCapability) {
311
+ TerminalOutputCapability["None"] = "NONE";
312
+ TerminalOutputCapability["PrintOnly"] = "PRINT_ONLY";
313
+ TerminalOutputCapability["DisplayOnly"] = "DISPLAY_ONLY";
314
+ TerminalOutputCapability["PrintAndDisplay"] = "PRINT_AND_DISPLAY";
315
+ TerminalOutputCapability["Unknown"] = "UNKNOWN";
316
+ })(TerminalOutputCapability = exports.TerminalOutputCapability || (exports.TerminalOutputCapability = {}));
317
+ var TimeZoneConversion;
318
+ (function (TimeZoneConversion) {
319
+ TimeZoneConversion[TimeZoneConversion["UTC"] = 0] = "UTC";
320
+ TimeZoneConversion[TimeZoneConversion["Merchant"] = 1] = "Merchant";
321
+ TimeZoneConversion[TimeZoneConversion["Datacenter"] = 2] = "Datacenter";
322
+ })(TimeZoneConversion = exports.TimeZoneConversion || (exports.TimeZoneConversion = {}));
323
+ var TransactionModifier;
324
+ (function (TransactionModifier) {
325
+ TransactionModifier[TransactionModifier["None"] = 1] = "None";
326
+ TransactionModifier[TransactionModifier["Incremental"] = 2] = "Incremental";
327
+ TransactionModifier[TransactionModifier["Additional"] = 4] = "Additional";
328
+ TransactionModifier[TransactionModifier["Offline"] = 8] = "Offline";
329
+ TransactionModifier[TransactionModifier["LevelII"] = 16] = "LevelII";
330
+ TransactionModifier[TransactionModifier["FraudDecline"] = 32] = "FraudDecline";
331
+ TransactionModifier[TransactionModifier["ChipDecline"] = 64] = "ChipDecline";
332
+ TransactionModifier[TransactionModifier["CashBack"] = 128] = "CashBack";
333
+ TransactionModifier[TransactionModifier["Voucher"] = 256] = "Voucher";
334
+ TransactionModifier[TransactionModifier["Secure3D"] = 512] = "Secure3D";
335
+ TransactionModifier[TransactionModifier["HostedRequest"] = 1024] = "HostedRequest";
336
+ TransactionModifier[TransactionModifier["Recurring"] = 2048] = "Recurring";
337
+ TransactionModifier[TransactionModifier["EncryptedMobile"] = 4096] = "EncryptedMobile";
338
+ })(TransactionModifier = exports.TransactionModifier || (exports.TransactionModifier = {}));
339
+ var TransactionType;
340
+ (function (TransactionType) {
341
+ TransactionType[TransactionType["Decline"] = 1] = "Decline";
342
+ TransactionType[TransactionType["Verify"] = 2] = "Verify";
343
+ TransactionType[TransactionType["Capture"] = 4] = "Capture";
344
+ TransactionType[TransactionType["Auth"] = 8] = "Auth";
345
+ TransactionType[TransactionType["Refund"] = 16] = "Refund";
346
+ TransactionType[TransactionType["Reversal"] = 32] = "Reversal";
347
+ TransactionType[TransactionType["Sale"] = 64] = "Sale";
348
+ TransactionType[TransactionType["Edit"] = 128] = "Edit";
349
+ TransactionType[TransactionType["Void"] = 256] = "Void";
350
+ TransactionType[TransactionType["AddValue"] = 512] = "AddValue";
351
+ TransactionType[TransactionType["Balance"] = 1024] = "Balance";
352
+ TransactionType[TransactionType["Activate"] = 2048] = "Activate";
353
+ TransactionType[TransactionType["Alias"] = 4096] = "Alias";
354
+ TransactionType[TransactionType["Replace"] = 8192] = "Replace";
355
+ TransactionType[TransactionType["Reward"] = 16384] = "Reward";
356
+ TransactionType[TransactionType["Deactivate"] = 32768] = "Deactivate";
357
+ TransactionType[TransactionType["BatchClose"] = 65536] = "BatchClose";
358
+ TransactionType[TransactionType["Create"] = 131072] = "Create";
359
+ TransactionType[TransactionType["Delete"] = 262144] = "Delete";
360
+ TransactionType[TransactionType["BenefitWithDrawal"] = 524288] = "BenefitWithDrawal";
361
+ TransactionType[TransactionType["Fetch"] = 1048576] = "Fetch";
362
+ TransactionType[TransactionType["Search"] = 2097152] = "Search";
363
+ TransactionType[TransactionType["Hold"] = 4194304] = "Hold";
364
+ TransactionType[TransactionType["Release"] = 8388608] = "Release";
365
+ /// <summary>
366
+ ///
367
+ /// ProPay: Create Account
368
+ /// </summary>
369
+ TransactionType[TransactionType["CreateAccount"] = 256] = "CreateAccount";
370
+ /// <summary>
371
+ /// ProPay: Edit Account
372
+ /// </summary>
373
+ TransactionType[TransactionType["EditAccount"] = 512] = "EditAccount";
374
+ /// <summary>
375
+ /// ProPay: Reset Account Password
376
+ /// </summary>
377
+ TransactionType[TransactionType["ResetPassword"] = 1024] = "ResetPassword";
378
+ /// <summary>
379
+ /// ProPay: Renew Account
380
+ /// </summary>
381
+ TransactionType[TransactionType["RenewAccount"] = 2048] = "RenewAccount";
382
+ /// <summary>
383
+ /// ProPay: Update Beneficial Ownership Information
384
+ /// </summary>
385
+ TransactionType[TransactionType["UpdateBeneficialOwnership"] = 4096] = "UpdateBeneficialOwnership";
386
+ /// <summary>
387
+ /// ProPay: Disown an account
388
+ /// </summary>
389
+ TransactionType[TransactionType["DisownAccount"] = 8192] = "DisownAccount";
390
+ /// <summary>
391
+ /// ProPay: Upload a document to a ProPay account related to a chargeback
392
+ /// </summary>
393
+ TransactionType[TransactionType["UploadDocumentChargeback"] = 16384] = "UploadDocumentChargeback";
394
+ /// <summary>
395
+ /// ProPay: Upload a document to a ProPay account
396
+ /// </summary>
397
+ TransactionType[TransactionType["UploadDocument"] = 32768] = "UploadDocument";
398
+ /// <summary>
399
+ /// ProPay: Obtain a single-sign-on key
400
+ /// </summary>
401
+ TransactionType[TransactionType["ObtainSSOKey"] = 65536] = "ObtainSSOKey";
402
+ /// <summary>
403
+ /// ProPay: Update bank account ownership information
404
+ /// </summary>
405
+ TransactionType[TransactionType["UpdateBankAccountOwnership"] = 131072] = "UpdateBankAccountOwnership";
406
+ /// <summary>
407
+ /// ProPay: Add funds to a ProPay account (EFT)
408
+ /// </summary>
409
+ TransactionType[TransactionType["AddFunds"] = 262144] = "AddFunds";
410
+ /// <summary>
411
+ /// ProPay: Sweep funds from a ProPay account (EFT)
412
+ /// </summary>
413
+ TransactionType[TransactionType["SweepFunds"] = 524288] = "SweepFunds";
414
+ /// <summary>
415
+ /// ProPay: Add a card for Flash Funds
416
+ /// </summary>
417
+ TransactionType[TransactionType["AddCardFlashFunds"] = 1048576] = "AddCardFlashFunds";
418
+ /// <summary>
419
+ /// ProPay: Move money out via Flash Funds
420
+ /// </summary>
421
+ TransactionType[TransactionType["PushMoneyFlashFunds"] = 2097152] = "PushMoneyFlashFunds";
422
+ /// <summary>
423
+ /// ProPay: Disburse funds to a ProPay account
424
+ /// </summary>
425
+ TransactionType[TransactionType["DisburseFunds"] = 4194304] = "DisburseFunds";
426
+ /// <summary>
427
+ /// ProPay: SpendBack Transaction
428
+ /// </summary>
429
+ TransactionType[TransactionType["SpendBack"] = 8388608] = "SpendBack";
430
+ /// <summary>
431
+ /// ProPay: Roll back a SplitPay transaction
432
+ /// </summary>
433
+ TransactionType[TransactionType["ReverseSplitPay"] = 16777216] = "ReverseSplitPay";
434
+ /// <summary>
435
+ /// ProPay: Split funds from an existing transaction
436
+ /// </summary>
437
+ TransactionType[TransactionType["SplitFunds"] = 33554432] = "SplitFunds";
438
+ /// <summary>
439
+ /// ProPay: Get Account details
440
+ /// </summary>
441
+ TransactionType[TransactionType["GetAccountDetails"] = 67108864] = "GetAccountDetails";
442
+ /// <summary>
443
+ /// ProPay: Get Account balance
444
+ /// </summary>
445
+ TransactionType[TransactionType["GetAccountBalance"] = 134217728] = "GetAccountBalance";
446
+ /// <summary>
447
+ /// Indicates a transaction reauthorization
448
+ /// </summary>
449
+ TransactionType[TransactionType["Reauth"] = 268435456] = "Reauth";
450
+ /// <summary>
451
+ ///
452
+ /// </summary>
453
+ TransactionType[TransactionType["SiteConfig"] = 536870912] = "SiteConfig";
454
+ /// <summary>
455
+ ///
456
+ /// </summary>
457
+ TransactionType[TransactionType["TimeRequest"] = 1073741824] = "TimeRequest";
458
+ /// <summary>
459
+ /// Get Token Information for the given token
460
+ /// </summary>
461
+ TransactionType[TransactionType["GetTokenInfo"] = -2147483648] = "GetTokenInfo";
462
+ TransactionType[TransactionType["PayLinkUpdate"] = -2147483648] = "PayLinkUpdate";
463
+ TransactionType[TransactionType["OrderDevice"] = 1] = "OrderDevice";
464
+ })(TransactionType = exports.TransactionType || (exports.TransactionType = {}));
465
+ var ProPayAccountStatus;
466
+ (function (ProPayAccountStatus) {
467
+ ProPayAccountStatus[ProPayAccountStatus["ReadyToProcess"] = 0] = "ReadyToProcess";
468
+ ProPayAccountStatus[ProPayAccountStatus["FraudAccount"] = 1] = "FraudAccount";
469
+ ProPayAccountStatus[ProPayAccountStatus["RiskwiseDeclined"] = 2] = "RiskwiseDeclined";
470
+ ProPayAccountStatus[ProPayAccountStatus["Hold"] = 3] = "Hold";
471
+ ProPayAccountStatus[ProPayAccountStatus["Canceled"] = 4] = "Canceled";
472
+ ProPayAccountStatus[ProPayAccountStatus["FraudVictim"] = 5] = "FraudVictim";
473
+ ProPayAccountStatus[ProPayAccountStatus["ClosedEula"] = 6] = "ClosedEula";
474
+ ProPayAccountStatus[ProPayAccountStatus["ClosedExcessiveChargeback"] = 7] = "ClosedExcessiveChargeback";
475
+ })(ProPayAccountStatus = exports.ProPayAccountStatus || (exports.ProPayAccountStatus = {}));
476
+ var MobilePaymentMethodType;
477
+ (function (MobilePaymentMethodType) {
478
+ MobilePaymentMethodType["APPLEPAY"] = "apple-pay";
479
+ MobilePaymentMethodType["GOOGLEPAY"] = "pay-with-google";
480
+ })(MobilePaymentMethodType = exports.MobilePaymentMethodType || (exports.MobilePaymentMethodType = {}));
481
+ var PaymentDataSourceType;
482
+ (function (PaymentDataSourceType) {
483
+ PaymentDataSourceType["APPLEPAY"] = "ApplePay";
484
+ PaymentDataSourceType["APPLEPAYAPP"] = "ApplePayApp";
485
+ PaymentDataSourceType["APPLEPAYWEB"] = "ApplePayWeb";
486
+ PaymentDataSourceType["GOOGLEPAYAPP"] = "GooglePayApp";
487
+ PaymentDataSourceType["GOOGLEPAYWEB"] = "GooglePayWeb";
488
+ PaymentDataSourceType["DISCOVER3DSECURE"] = "Discover 3DSecure";
489
+ })(PaymentDataSourceType = exports.PaymentDataSourceType || (exports.PaymentDataSourceType = {}));
490
+ var PropayTermsVersion;
491
+ (function (PropayTermsVersion) {
492
+ PropayTermsVersion[PropayTermsVersion["merchantUS"] = 1] = "merchantUS";
493
+ PropayTermsVersion[PropayTermsVersion["paymentUS"] = 2] = "paymentUS";
494
+ PropayTermsVersion[PropayTermsVersion["merchantCA"] = 3] = "merchantCA";
495
+ PropayTermsVersion[PropayTermsVersion["merchantUK"] = 4] = "merchantUK";
496
+ PropayTermsVersion[PropayTermsVersion["merchantAU"] = 5] = "merchantAU";
497
+ })(PropayTermsVersion = exports.PropayTermsVersion || (exports.PropayTermsVersion = {}));
498
+ //# sourceMappingURL=Enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Enums.js","sourceRoot":"","sources":["../../../src/Entities/Enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,mDAAO,CAAA;IACP,qDAAQ,CAAA;AACV,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,0BAAW,CAAA;IACX,gCAAiB,CAAA;AACnB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,IAAY,uBAgBX;AAhBD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,kEAAuC,CAAA;IACvC,oEAAyC,CAAA;IACzC,sCAAW,CAAA;IACX,iEAAsC,CAAA;IACtC,8DAAmC,CAAA;IACnC,kFAAuD,CAAA;IACvD,iFAAsD,CAAA;IACtD,wFAA6D,CAAA;IAC7D,kEAAuC,CAAA;IACvC,qEAA0C,CAAA;IAC1C,sFAA2D,CAAA;IAC3D,sEAA2C,CAAA;IAC3C,2FAAgE,CAAA;IAChE,8FAAmE,CAAA;AACrE,CAAC,EAh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QAOhC;AAED,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,uEAAc,CAAA;IACd,qEAAa,CAAA;IACb,uEAAc,CAAA;IACd,uEAAc,CAAA;IACd,uEAAc,CAAA;AAChB,CAAC,EANW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAM7B"}
@@ -0,0 +1,23 @@
1
+ export declare class ApiError extends Error {
2
+ constructor(m?: string);
3
+ }
4
+ export declare class ArgumentError extends ApiError {
5
+ constructor(m?: string);
6
+ }
7
+ export declare class BuilderError extends ApiError {
8
+ constructor(m?: string);
9
+ }
10
+ export declare class ConfigurationError extends ApiError {
11
+ constructor(m?: string);
12
+ }
13
+ export declare class GatewayError extends ApiError {
14
+ responseCode: string;
15
+ responseMessage: string;
16
+ constructor(m?: string, code?: string, message?: string);
17
+ }
18
+ export declare class NotImplementedError extends ApiError {
19
+ constructor(m?: string);
20
+ }
21
+ export declare class UnsupportedTransactionError extends ApiError {
22
+ constructor(m?: string);
23
+ }
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ // tslint:disable:max-classes-per-file
3
+ var __extends = (this && this.__extends) || (function () {
4
+ var extendStatics = function (d, b) {
5
+ extendStatics = Object.setPrototypeOf ||
6
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
+ return extendStatics(d, b);
9
+ };
10
+ return function (d, b) {
11
+ if (typeof b !== "function" && b !== null)
12
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
+ extendStatics(d, b);
14
+ function __() { this.constructor = d; }
15
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
+ };
17
+ })();
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.UnsupportedTransactionError = exports.NotImplementedError = exports.GatewayError = exports.ConfigurationError = exports.BuilderError = exports.ArgumentError = exports.ApiError = void 0;
20
+ var ApiError = /** @class */ (function (_super) {
21
+ __extends(ApiError, _super);
22
+ function ApiError(m) {
23
+ var _this = _super.call(this, m) || this;
24
+ Object.setPrototypeOf(_this, ApiError.prototype);
25
+ _this.name = _this.constructor.name;
26
+ return _this;
27
+ }
28
+ return ApiError;
29
+ }(Error));
30
+ exports.ApiError = ApiError;
31
+ var ArgumentError = /** @class */ (function (_super) {
32
+ __extends(ArgumentError, _super);
33
+ function ArgumentError(m) {
34
+ var _this = _super.call(this, m) || this;
35
+ Object.setPrototypeOf(_this, ArgumentError.prototype);
36
+ _this.name = _this.constructor.name;
37
+ return _this;
38
+ }
39
+ return ArgumentError;
40
+ }(ApiError));
41
+ exports.ArgumentError = ArgumentError;
42
+ var BuilderError = /** @class */ (function (_super) {
43
+ __extends(BuilderError, _super);
44
+ function BuilderError(m) {
45
+ var _this = _super.call(this, m) || this;
46
+ Object.setPrototypeOf(_this, BuilderError.prototype);
47
+ _this.name = _this.constructor.name;
48
+ return _this;
49
+ }
50
+ return BuilderError;
51
+ }(ApiError));
52
+ exports.BuilderError = BuilderError;
53
+ var ConfigurationError = /** @class */ (function (_super) {
54
+ __extends(ConfigurationError, _super);
55
+ function ConfigurationError(m) {
56
+ var _this = _super.call(this, m) || this;
57
+ Object.setPrototypeOf(_this, ConfigurationError.prototype);
58
+ _this.name = _this.constructor.name;
59
+ return _this;
60
+ }
61
+ return ConfigurationError;
62
+ }(ApiError));
63
+ exports.ConfigurationError = ConfigurationError;
64
+ var GatewayError = /** @class */ (function (_super) {
65
+ __extends(GatewayError, _super);
66
+ function GatewayError(m, code, message) {
67
+ var _this = _super.call(this, m) || this;
68
+ Object.setPrototypeOf(_this, GatewayError.prototype);
69
+ _this.name = _this.constructor.name;
70
+ if (code) {
71
+ _this.responseCode = code;
72
+ }
73
+ if (message) {
74
+ _this.responseMessage = message;
75
+ }
76
+ return _this;
77
+ }
78
+ return GatewayError;
79
+ }(ApiError));
80
+ exports.GatewayError = GatewayError;
81
+ var NotImplementedError = /** @class */ (function (_super) {
82
+ __extends(NotImplementedError, _super);
83
+ function NotImplementedError(m) {
84
+ var _this = _super.call(this, m) || this;
85
+ Object.setPrototypeOf(_this, NotImplementedError.prototype);
86
+ _this.name = _this.constructor.name;
87
+ return _this;
88
+ }
89
+ return NotImplementedError;
90
+ }(ApiError));
91
+ exports.NotImplementedError = NotImplementedError;
92
+ var UnsupportedTransactionError = /** @class */ (function (_super) {
93
+ __extends(UnsupportedTransactionError, _super);
94
+ function UnsupportedTransactionError(m) {
95
+ var _this = this;
96
+ if (!m) {
97
+ m = "Transaction type not supported for this payment method.";
98
+ }
99
+ _this = _super.call(this, m) || this;
100
+ Object.setPrototypeOf(_this, UnsupportedTransactionError.prototype);
101
+ _this.name = _this.constructor.name;
102
+ return _this;
103
+ }
104
+ return UnsupportedTransactionError;
105
+ }(ApiError));
106
+ exports.UnsupportedTransactionError = UnsupportedTransactionError;
107
+ //# sourceMappingURL=Errors.js.map