@houlak/plexo-sdk 0.1.53 → 0.1.54

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 (433) hide show
  1. package/README.md +14 -14
  2. package/lib/IPaymentGatewayClient.d.ts +31 -31
  3. package/lib/IPaymentGatewayClient.js +2 -2
  4. package/lib/PaymentGatewayClient.d.ts +32 -33
  5. package/lib/PaymentGatewayClient.js +90 -179
  6. package/lib/config/config.d.ts +12 -12
  7. package/lib/config/config.js +16 -16
  8. package/lib/handler/PlexoHandler.d.ts +31 -21
  9. package/lib/handler/PlexoHandler.js +421 -283
  10. package/lib/handler/services/evaluator.service.d.ts +6 -6
  11. package/lib/handler/services/evaluator.service.js +118 -118
  12. package/lib/handler/types/BaseResponse.d.ts +8 -8
  13. package/lib/handler/types/BaseResponse.js +16 -16
  14. package/lib/helpers/signature/signatureHelper.d.ts +1 -5
  15. package/lib/helpers/signature/signatureHelper.js +52 -173
  16. package/lib/index.d.ts +3 -3
  17. package/lib/index.js +9 -9
  18. package/lib/lib/logger.lib.d.ts +10 -10
  19. package/lib/lib/logger.lib.js +33 -33
  20. package/lib/models/ActionType.d.ts +9 -9
  21. package/lib/models/ActionType.js +13 -13
  22. package/lib/models/AmountLimit.d.ts +7 -7
  23. package/lib/models/AmountLimit.js +2 -2
  24. package/lib/models/Authorization.d.ts +16 -16
  25. package/lib/models/Authorization.js +32 -32
  26. package/lib/models/AuthorizationInfo.d.ts +6 -6
  27. package/lib/models/AuthorizationInfo.js +11 -11
  28. package/lib/models/AuthorizationType.d.ts +5 -5
  29. package/lib/models/AuthorizationType.js +9 -9
  30. package/lib/models/BaseServerResponse.d.ts +7 -7
  31. package/lib/models/BaseServerResponse.js +12 -12
  32. package/lib/models/CancelRequest.d.ts +6 -6
  33. package/lib/models/CancelRequest.js +29 -29
  34. package/lib/models/CardStatus.d.ts +7 -7
  35. package/lib/models/CardStatus.js +11 -11
  36. package/lib/models/CardTypes.d.ts +9 -9
  37. package/lib/models/CardTypes.js +13 -13
  38. package/lib/models/ClientRequest.d.ts +4 -4
  39. package/lib/models/ClientRequest.js +10 -10
  40. package/lib/models/ClientResponse.d.ts +6 -6
  41. package/lib/models/ClientResponse.js +29 -29
  42. package/lib/models/ClientSignedRequest.d.ts +4 -4
  43. package/lib/models/ClientSignedRequest.js +27 -27
  44. package/lib/models/ClientSignedResponse.d.ts +4 -4
  45. package/lib/models/ClientSignedResponse.js +27 -27
  46. package/lib/models/CodeAction.d.ts +10 -10
  47. package/lib/models/CodeAction.js +10 -10
  48. package/lib/models/CodeRequest.d.ts +5 -5
  49. package/lib/models/CodeRequest.js +2 -2
  50. package/lib/models/Commerce.d.ts +4 -4
  51. package/lib/models/Commerce.js +2 -2
  52. package/lib/models/CommerceIdRequest.d.ts +3 -3
  53. package/lib/models/CommerceIdRequest.js +2 -2
  54. package/lib/models/CommerceIssuerIdRequest.d.ts +4 -4
  55. package/lib/models/CommerceIssuerIdRequest.js +2 -2
  56. package/lib/models/CommerceModifyRequest.d.ts +4 -4
  57. package/lib/models/CommerceModifyRequest.js +2 -2
  58. package/lib/models/CommerceRequest.d.ts +3 -3
  59. package/lib/models/CommerceRequest.js +2 -2
  60. package/lib/models/CreateBankInstrumentRequest.d.ts +6 -6
  61. package/lib/models/CreateBankInstrumentRequest.js +2 -2
  62. package/lib/models/Currency.d.ts +6 -6
  63. package/lib/models/Currency.js +2 -2
  64. package/lib/models/DeleteInstrumentRequest.d.ts +6 -6
  65. package/lib/models/DeleteInstrumentRequest.js +29 -29
  66. package/lib/models/ExpressCheckoutRequest.d.ts +6 -6
  67. package/lib/models/ExpressCheckoutRequest.js +2 -2
  68. package/lib/models/ExtendedCredit.d.ts +4 -4
  69. package/lib/models/ExtendedCredit.js +2 -2
  70. package/lib/models/FieldInfo.d.ts +6 -6
  71. package/lib/models/FieldInfo.js +2 -2
  72. package/lib/models/FieldInfoPaymentProcessors.d.ts +6 -6
  73. package/lib/models/FieldInfoPaymentProcessors.js +11 -11
  74. package/lib/models/FieldType.d.ts +76 -76
  75. package/lib/models/FieldType.js +89 -89
  76. package/lib/models/FinancialInclusion.d.ts +8 -8
  77. package/lib/models/FinancialInclusion.js +2 -2
  78. package/lib/models/FinancialInclusionResult.d.ts +6 -6
  79. package/lib/models/FinancialInclusionResult.js +2 -2
  80. package/lib/models/GenericClientRequest.d.ts +5 -5
  81. package/lib/models/GenericClientRequest.js +29 -29
  82. package/lib/models/GenericClientSignedRequest.d.ts +4 -4
  83. package/lib/models/GenericClientSignedRequest.js +27 -27
  84. package/lib/models/GenericIssuerRequest.d.ts +5 -5
  85. package/lib/models/GenericIssuerRequest.js +29 -29
  86. package/lib/models/GenericIssuerSignedRequest.d.ts +4 -4
  87. package/lib/models/GenericIssuerSignedRequest.js +27 -27
  88. package/lib/models/GenericServerSignedResponse.d.ts +4 -4
  89. package/lib/models/GenericServerSignedResponse.js +27 -27
  90. package/lib/models/GenericSignedObject.d.ts +6 -6
  91. package/lib/models/GenericSignedObject.js +11 -11
  92. package/lib/models/GenericStateObject.d.ts +5 -5
  93. package/lib/models/GenericStateObject.js +29 -29
  94. package/lib/models/IClientCallback.d.ts +3 -3
  95. package/lib/models/IClientCallback.js +2 -2
  96. package/lib/models/IdentificationType.d.ts +6 -6
  97. package/lib/models/IdentificationType.js +10 -10
  98. package/lib/models/InclusionType.d.ts +5 -5
  99. package/lib/models/InclusionType.js +9 -9
  100. package/lib/models/IndexSDK.d.ts +33 -33
  101. package/lib/models/IndexSDK.js +39 -39
  102. package/lib/models/InfoLine.d.ts +4 -4
  103. package/lib/models/InfoLine.js +2 -2
  104. package/lib/models/InstrumentCallback.d.ts +9 -9
  105. package/lib/models/InstrumentCallback.js +31 -31
  106. package/lib/models/InstrumentWithMetadata.d.ts +6 -6
  107. package/lib/models/InstrumentWithMetadata.js +11 -11
  108. package/lib/models/IssuerData.d.ts +5 -5
  109. package/lib/models/IssuerData.js +2 -2
  110. package/lib/models/IssuerInfo.d.ts +14 -14
  111. package/lib/models/IssuerInfo.js +2 -2
  112. package/lib/models/IssuerProcessor.d.ts +7 -7
  113. package/lib/models/IssuerProcessor.js +12 -12
  114. package/lib/models/IssuerRequest.d.ts +4 -4
  115. package/lib/models/IssuerRequest.js +10 -10
  116. package/lib/models/IssuerSignedRequest.d.ts +4 -4
  117. package/lib/models/IssuerSignedRequest.js +27 -27
  118. package/lib/models/Item.d.ts +8 -8
  119. package/lib/models/Item.js +2 -2
  120. package/lib/models/PaymentInstrument.d.ts +20 -20
  121. package/lib/models/PaymentInstrument.js +2 -2
  122. package/lib/models/PaymentInstrumentInput.d.ts +6 -6
  123. package/lib/models/PaymentInstrumentInput.js +2 -2
  124. package/lib/models/PaymentProcessor.d.ts +6 -6
  125. package/lib/models/PaymentProcessor.js +11 -11
  126. package/lib/models/PaymentRequest.d.ts +17 -17
  127. package/lib/models/PaymentRequest.js +20 -20
  128. package/lib/models/PublicKeyInfo.d.ts +4 -4
  129. package/lib/models/PublicKeyInfo.js +2 -2
  130. package/lib/models/Reference.d.ts +6 -6
  131. package/lib/models/Reference.js +11 -11
  132. package/lib/models/ReferenceType.d.ts +6 -6
  133. package/lib/models/ReferenceType.js +10 -10
  134. package/lib/models/Reserve.d.ts +6 -6
  135. package/lib/models/Reserve.js +29 -29
  136. package/lib/models/ReserveRequest.d.ts +6 -6
  137. package/lib/models/ReserveRequest.js +29 -29
  138. package/lib/models/ResultCodes.d.ts +30 -30
  139. package/lib/models/ResultCodes.js +35 -35
  140. package/lib/models/ServerResponse.d.ts +6 -6
  141. package/lib/models/ServerResponse.js +29 -29
  142. package/lib/models/ServerSignedCallback.d.ts +3 -3
  143. package/lib/models/ServerSignedCallback.js +27 -27
  144. package/lib/models/ServerSignedRequest.d.ts +3 -3
  145. package/lib/models/ServerSignedRequest.js +27 -27
  146. package/lib/models/ServerSignedResponse.d.ts +4 -4
  147. package/lib/models/ServerSignedResponse.js +27 -27
  148. package/lib/models/Session.d.ts +5 -5
  149. package/lib/models/Session.js +2 -2
  150. package/lib/models/SignedObject.d.ts +6 -6
  151. package/lib/models/SignedObject.js +11 -11
  152. package/lib/models/StateObject.d.ts +5 -5
  153. package/lib/models/StateObject.js +11 -11
  154. package/lib/models/TimeLimit.d.ts +5 -5
  155. package/lib/models/TimeLimit.js +2 -2
  156. package/lib/models/Transaction.d.ts +26 -26
  157. package/lib/models/Transaction.js +26 -26
  158. package/lib/models/TransactionCallback.d.ts +7 -7
  159. package/lib/models/TransactionCallback.js +29 -29
  160. package/lib/models/TransactionCursor.d.ts +6 -6
  161. package/lib/models/TransactionCursor.js +2 -2
  162. package/lib/models/TransactionInfo.d.ts +12 -12
  163. package/lib/models/TransactionInfo.js +2 -2
  164. package/lib/models/TransactionOrder.d.ts +5 -5
  165. package/lib/models/TransactionOrder.js +2 -2
  166. package/lib/models/TransactionQuery.d.ts +54 -54
  167. package/lib/models/TransactionQuery.js +47 -47
  168. package/lib/models/TransactionResult.d.ts +13 -13
  169. package/lib/models/TransactionResult.js +17 -17
  170. package/lib/models/TransactionType.d.ts +5 -5
  171. package/lib/models/TransactionType.js +9 -9
  172. package/lib/sdk/IPaymentGatewayClient.d.ts +31 -31
  173. package/lib/sdk/IPaymentGatewayClient.js +2 -2
  174. package/lib/sdk/PaymentGatewayClient.d.ts +32 -32
  175. package/lib/sdk/PaymentGatewayClient.js +379 -379
  176. package/lib/sdk/PaymentGatewayMock.d.ts +31 -31
  177. package/lib/sdk/PaymentGatewayMock.js +330 -330
  178. package/lib/sdk/enums/plexo-error-enum.d.ts +38 -38
  179. package/lib/sdk/enums/plexo-error-enum.js +46 -46
  180. package/lib/sdk/helpers/signature/signatureHelper.d.ts +6 -6
  181. package/lib/sdk/helpers/signature/signatureHelper.js +171 -174
  182. package/lib/sdk/helpers/signature/signatureUtils.d.ts +10 -10
  183. package/lib/sdk/helpers/signature/signatureUtils.js +157 -157
  184. package/lib/sdk/helpers/signature/stringifyWithFloats.d.ts +1 -1
  185. package/lib/sdk/helpers/signature/stringifyWithFloats.js +71 -71
  186. package/lib/sdk/index.d.ts +4 -4
  187. package/lib/sdk/index.js +22 -22
  188. package/lib/sdk/mocks/mocks.d.ts +24 -24
  189. package/lib/sdk/mocks/mocks.js +180 -180
  190. package/lib/sdk/models/ActionType.d.ts +9 -9
  191. package/lib/sdk/models/ActionType.js +13 -13
  192. package/lib/sdk/models/AmountLimit.d.ts +7 -7
  193. package/lib/sdk/models/AmountLimit.js +2 -2
  194. package/lib/sdk/models/Authorization.d.ts +18 -18
  195. package/lib/sdk/models/Authorization.js +32 -32
  196. package/lib/sdk/models/AuthorizationInfo.d.ts +6 -6
  197. package/lib/sdk/models/AuthorizationInfo.js +11 -11
  198. package/lib/sdk/models/AuthorizationType.d.ts +5 -5
  199. package/lib/sdk/models/AuthorizationType.js +9 -9
  200. package/lib/sdk/models/BaseServerResponse.d.ts +7 -7
  201. package/lib/sdk/models/BaseServerResponse.js +12 -12
  202. package/lib/sdk/models/BuiltInPagesOptionsDto.d.ts +4 -4
  203. package/lib/sdk/models/BuiltInPagesOptionsDto.js +9 -9
  204. package/lib/sdk/models/CancelRequest.d.ts +6 -6
  205. package/lib/sdk/models/CancelRequest.js +29 -29
  206. package/lib/sdk/models/CardStatus.d.ts +7 -7
  207. package/lib/sdk/models/CardStatus.js +11 -11
  208. package/lib/sdk/models/CardTypes.d.ts +9 -9
  209. package/lib/sdk/models/CardTypes.js +13 -13
  210. package/lib/sdk/models/ClientRequest.d.ts +4 -4
  211. package/lib/sdk/models/ClientRequest.js +10 -10
  212. package/lib/sdk/models/ClientResponse.d.ts +6 -6
  213. package/lib/sdk/models/ClientResponse.js +29 -29
  214. package/lib/sdk/models/ClientSignedRequest.d.ts +4 -4
  215. package/lib/sdk/models/ClientSignedRequest.js +27 -27
  216. package/lib/sdk/models/ClientSignedResponse.d.ts +4 -4
  217. package/lib/sdk/models/ClientSignedResponse.js +27 -27
  218. package/lib/sdk/models/CodeAction.d.ts +10 -10
  219. package/lib/sdk/models/CodeAction.js +10 -10
  220. package/lib/sdk/models/CodeRequest.d.ts +5 -5
  221. package/lib/sdk/models/CodeRequest.js +2 -2
  222. package/lib/sdk/models/Commerce.d.ts +4 -4
  223. package/lib/sdk/models/Commerce.js +2 -2
  224. package/lib/sdk/models/CommerceIdRequest.d.ts +3 -3
  225. package/lib/sdk/models/CommerceIdRequest.js +2 -2
  226. package/lib/sdk/models/CommerceIssuerIdRequest.d.ts +4 -4
  227. package/lib/sdk/models/CommerceIssuerIdRequest.js +2 -2
  228. package/lib/sdk/models/CommerceModifyRequest.d.ts +4 -4
  229. package/lib/sdk/models/CommerceModifyRequest.js +2 -2
  230. package/lib/sdk/models/CommerceRequest.d.ts +3 -3
  231. package/lib/sdk/models/CommerceRequest.js +2 -2
  232. package/lib/sdk/models/CreateBankInstrumentRequest.d.ts +6 -6
  233. package/lib/sdk/models/CreateBankInstrumentRequest.js +2 -2
  234. package/lib/sdk/models/Currency.d.ts +6 -6
  235. package/lib/sdk/models/Currency.js +2 -2
  236. package/lib/sdk/models/DeleteInstrumentRequest.d.ts +6 -6
  237. package/lib/sdk/models/DeleteInstrumentRequest.js +29 -29
  238. package/lib/sdk/models/DisplayOptionsDto.d.ts +7 -7
  239. package/lib/sdk/models/DisplayOptionsDto.js +9 -9
  240. package/lib/sdk/models/ExpressCheckoutRequest.d.ts +6 -6
  241. package/lib/sdk/models/ExpressCheckoutRequest.js +2 -2
  242. package/lib/sdk/models/ExpressCheckoutSettingsDto.d.ts +6 -6
  243. package/lib/sdk/models/ExpressCheckoutSettingsDto.js +9 -9
  244. package/lib/sdk/models/ExtendedCredit.d.ts +4 -4
  245. package/lib/sdk/models/ExtendedCredit.js +2 -2
  246. package/lib/sdk/models/FieldInfo.d.ts +6 -6
  247. package/lib/sdk/models/FieldInfo.js +2 -2
  248. package/lib/sdk/models/FieldInfoPaymentProcessors.d.ts +6 -6
  249. package/lib/sdk/models/FieldInfoPaymentProcessors.js +11 -11
  250. package/lib/sdk/models/FieldType.d.ts +82 -82
  251. package/lib/sdk/models/FieldType.js +95 -95
  252. package/lib/sdk/models/FinancialInclusion.d.ts +9 -9
  253. package/lib/sdk/models/FinancialInclusion.js +2 -2
  254. package/lib/sdk/models/FinancialInclusionResult.d.ts +6 -6
  255. package/lib/sdk/models/FinancialInclusionResult.js +2 -2
  256. package/lib/sdk/models/GenericClientRequest.d.ts +5 -5
  257. package/lib/sdk/models/GenericClientRequest.js +29 -29
  258. package/lib/sdk/models/GenericClientSignedRequest.d.ts +4 -4
  259. package/lib/sdk/models/GenericClientSignedRequest.js +27 -27
  260. package/lib/sdk/models/GenericIssuerRequest.d.ts +5 -5
  261. package/lib/sdk/models/GenericIssuerRequest.js +29 -29
  262. package/lib/sdk/models/GenericIssuerSignedRequest.d.ts +4 -4
  263. package/lib/sdk/models/GenericIssuerSignedRequest.js +27 -27
  264. package/lib/sdk/models/GenericServerSignedResponse.d.ts +4 -4
  265. package/lib/sdk/models/GenericServerSignedResponse.js +27 -27
  266. package/lib/sdk/models/GenericSignedObject.d.ts +6 -6
  267. package/lib/sdk/models/GenericSignedObject.js +11 -11
  268. package/lib/sdk/models/GenericStateObject.d.ts +5 -5
  269. package/lib/sdk/models/GenericStateObject.js +29 -29
  270. package/lib/sdk/models/IClientCallback.d.ts +3 -3
  271. package/lib/sdk/models/IClientCallback.js +2 -2
  272. package/lib/sdk/models/IdentificationType.d.ts +6 -6
  273. package/lib/sdk/models/IdentificationType.js +10 -10
  274. package/lib/sdk/models/InclusionType.d.ts +5 -5
  275. package/lib/sdk/models/InclusionType.js +9 -9
  276. package/lib/sdk/models/IndexSDK.d.ts +86 -85
  277. package/lib/sdk/models/IndexSDK.js +114 -114
  278. package/lib/sdk/models/InfoLine.d.ts +4 -4
  279. package/lib/sdk/models/InfoLine.js +2 -2
  280. package/lib/sdk/models/InstrumentCallback.d.ts +9 -9
  281. package/lib/sdk/models/InstrumentCallback.js +31 -31
  282. package/lib/sdk/models/InstrumentWithMetadata.d.ts +6 -6
  283. package/lib/sdk/models/InstrumentWithMetadata.js +11 -11
  284. package/lib/sdk/models/IssuerData.d.ts +7 -7
  285. package/lib/sdk/models/IssuerData.js +2 -2
  286. package/lib/sdk/models/IssuerInfo.d.ts +14 -14
  287. package/lib/sdk/models/IssuerInfo.js +2 -2
  288. package/lib/sdk/models/IssuerProcessor.d.ts +7 -7
  289. package/lib/sdk/models/IssuerProcessor.js +12 -12
  290. package/lib/sdk/models/IssuerRequest.d.ts +4 -4
  291. package/lib/sdk/models/IssuerRequest.js +10 -10
  292. package/lib/sdk/models/IssuerSignedRequest.d.ts +4 -4
  293. package/lib/sdk/models/IssuerSignedRequest.js +27 -27
  294. package/lib/sdk/models/Item.d.ts +8 -8
  295. package/lib/sdk/models/Item.js +2 -2
  296. package/lib/sdk/models/PaymentInstrument.d.ts +18 -18
  297. package/lib/sdk/models/PaymentInstrument.js +2 -2
  298. package/lib/sdk/models/PaymentInstrumentInput.d.ts +6 -6
  299. package/lib/sdk/models/PaymentInstrumentInput.js +2 -2
  300. package/lib/sdk/models/PaymentProcessor.d.ts +6 -6
  301. package/lib/sdk/models/PaymentProcessor.js +11 -11
  302. package/lib/sdk/models/PaymentRequest.d.ts +17 -17
  303. package/lib/sdk/models/PaymentRequest.js +20 -20
  304. package/lib/sdk/models/PlexoSdkSettings.d.ts +8 -8
  305. package/lib/sdk/models/PlexoSdkSettings.js +14 -14
  306. package/lib/sdk/models/PublicKeyInfo.d.ts +4 -4
  307. package/lib/sdk/models/PublicKeyInfo.js +2 -2
  308. package/lib/sdk/models/Reference.d.ts +6 -6
  309. package/lib/sdk/models/Reference.js +11 -11
  310. package/lib/sdk/models/ReferenceType.d.ts +6 -6
  311. package/lib/sdk/models/ReferenceType.js +10 -10
  312. package/lib/sdk/models/Reserve.d.ts +6 -6
  313. package/lib/sdk/models/Reserve.js +29 -29
  314. package/lib/sdk/models/ReserveRequest.d.ts +6 -6
  315. package/lib/sdk/models/ReserveRequest.js +29 -29
  316. package/lib/sdk/models/ResultCodes.d.ts +30 -30
  317. package/lib/sdk/models/ResultCodes.js +35 -35
  318. package/lib/sdk/models/ServerResponse.d.ts +6 -6
  319. package/lib/sdk/models/ServerResponse.js +29 -29
  320. package/lib/sdk/models/ServerSignedCallback.d.ts +3 -3
  321. package/lib/sdk/models/ServerSignedCallback.js +27 -27
  322. package/lib/sdk/models/ServerSignedRequest.d.ts +3 -3
  323. package/lib/sdk/models/ServerSignedRequest.js +27 -27
  324. package/lib/sdk/models/ServerSignedResponse.d.ts +4 -4
  325. package/lib/sdk/models/ServerSignedResponse.js +27 -27
  326. package/lib/sdk/models/Session.d.ts +5 -5
  327. package/lib/sdk/models/Session.js +2 -2
  328. package/lib/sdk/models/Settings.d.ts +11 -11
  329. package/lib/sdk/models/Settings.js +19 -19
  330. package/lib/sdk/models/SignedObject.d.ts +6 -6
  331. package/lib/sdk/models/SignedObject.js +11 -11
  332. package/lib/sdk/models/StateObject.d.ts +5 -5
  333. package/lib/sdk/models/StateObject.js +11 -11
  334. package/lib/sdk/models/TimeLimit.d.ts +5 -5
  335. package/lib/sdk/models/TimeLimit.js +2 -2
  336. package/lib/sdk/models/TokenizationSettingsDto.d.ts +4 -4
  337. package/lib/sdk/models/TokenizationSettingsDto.js +9 -9
  338. package/lib/sdk/models/Transaction.d.ts +31 -31
  339. package/lib/sdk/models/Transaction.js +26 -26
  340. package/lib/sdk/models/TransactionCallback.d.ts +7 -7
  341. package/lib/sdk/models/TransactionCallback.js +29 -29
  342. package/lib/sdk/models/TransactionCursor.d.ts +6 -6
  343. package/lib/sdk/models/TransactionCursor.js +2 -2
  344. package/lib/sdk/models/TransactionInfo.d.ts +12 -12
  345. package/lib/sdk/models/TransactionInfo.js +2 -2
  346. package/lib/sdk/models/TransactionOrder.d.ts +5 -5
  347. package/lib/sdk/models/TransactionOrder.js +2 -2
  348. package/lib/sdk/models/TransactionQuery.d.ts +54 -54
  349. package/lib/sdk/models/TransactionQuery.js +47 -47
  350. package/lib/sdk/models/TransactionResult.d.ts +13 -13
  351. package/lib/sdk/models/TransactionResult.js +17 -17
  352. package/lib/sdk/models/TransactionType.d.ts +5 -5
  353. package/lib/sdk/models/TransactionType.js +9 -9
  354. package/lib/sdk/models/TransactionsCSV.d.ts +3 -0
  355. package/lib/sdk/models/TransactionsCSV.js +2 -0
  356. package/lib/sdk/models/UIOptionsDto.d.ts +8 -8
  357. package/lib/sdk/models/UIOptionsDto.js +13 -13
  358. package/lib/sdk/models/WebFormSettingsDto.d.ts +8 -8
  359. package/lib/sdk/models/WebFormSettingsDto.js +9 -9
  360. package/lib/sdk/models/webhook/Address.d.ts +9 -9
  361. package/lib/sdk/models/webhook/Address.js +15 -15
  362. package/lib/sdk/models/webhook/CancellationInfo.d.ts +11 -11
  363. package/lib/sdk/models/webhook/CancellationInfo.js +17 -17
  364. package/lib/sdk/models/webhook/Client.d.ts +9 -9
  365. package/lib/sdk/models/webhook/Client.js +14 -14
  366. package/lib/sdk/models/webhook/Commerce.d.ts +6 -6
  367. package/lib/sdk/models/webhook/Commerce.js +12 -12
  368. package/lib/sdk/models/webhook/Currency.d.ts +8 -8
  369. package/lib/sdk/models/webhook/Currency.js +14 -14
  370. package/lib/sdk/models/webhook/Customer.d.ts +17 -17
  371. package/lib/sdk/models/webhook/Customer.js +22 -22
  372. package/lib/sdk/models/webhook/Document.d.ts +5 -5
  373. package/lib/sdk/models/webhook/Document.js +11 -11
  374. package/lib/sdk/models/webhook/Instrument.d.ts +17 -17
  375. package/lib/sdk/models/webhook/Instrument.js +21 -21
  376. package/lib/sdk/models/webhook/Issuer.d.ts +8 -8
  377. package/lib/sdk/models/webhook/Issuer.js +14 -14
  378. package/lib/sdk/models/webhook/IssuerData.d.ts +8 -8
  379. package/lib/sdk/models/webhook/IssuerData.js +13 -13
  380. package/lib/sdk/models/webhook/IssuerDto.d.ts +5 -5
  381. package/lib/sdk/models/webhook/IssuerDto.js +11 -11
  382. package/lib/sdk/models/webhook/Item.d.ts +14 -14
  383. package/lib/sdk/models/webhook/Item.js +19 -19
  384. package/lib/sdk/models/webhook/PartialRefundsInfo.d.ts +12 -12
  385. package/lib/sdk/models/webhook/PartialRefundsInfo.js +18 -18
  386. package/lib/sdk/models/webhook/PaymentFacilitator.d.ts +8 -8
  387. package/lib/sdk/models/webhook/PaymentFacilitator.js +13 -13
  388. package/lib/sdk/models/webhook/PaymentProcessor.d.ts +5 -5
  389. package/lib/sdk/models/webhook/PaymentProcessor.js +11 -11
  390. package/lib/sdk/models/webhook/PurchaseInfo.d.ts +16 -16
  391. package/lib/sdk/models/webhook/PurchaseInfo.js +22 -22
  392. package/lib/sdk/models/webhook/RefundInfo.d.ts +12 -12
  393. package/lib/sdk/models/webhook/RefundInfo.js +18 -18
  394. package/lib/sdk/models/webhook/ReserveInfo.d.ts +13 -13
  395. package/lib/sdk/models/webhook/ReserveInfo.js +19 -19
  396. package/lib/sdk/models/webhook/Shipping.d.ts +7 -7
  397. package/lib/sdk/models/webhook/Shipping.js +12 -12
  398. package/lib/sdk/models/webhook/Transaction.d.ts +31 -31
  399. package/lib/sdk/models/webhook/Transaction.js +36 -36
  400. package/lib/sdk/models/webhook/TransactionResult.d.ts +5 -5
  401. package/lib/sdk/models/webhook/TransactionResult.js +10 -10
  402. package/lib/sdk/models/webhook/index.d.ts +21 -21
  403. package/lib/sdk/models/webhook/index.js +45 -45
  404. package/lib/sdk/types/signatureHelper.type.d.ts +5 -5
  405. package/lib/sdk/types/signatureHelper.type.js +2 -2
  406. package/lib/sdk/types/ui_options_dto.type.d.ts +6 -6
  407. package/lib/sdk/types/ui_options_dto.type.js +2 -2
  408. package/lib/utils/case.util.d.ts +4 -4
  409. package/lib/utils/case.util.js +57 -57
  410. package/lib/utils/index.d.ts +1 -1
  411. package/lib/utils/index.js +5 -5
  412. package/package.json +52 -52
  413. package/lib/models/BuiltInPagesOptionsDto.d.ts +0 -4
  414. package/lib/models/BuiltInPagesOptionsDto.js +0 -9
  415. package/lib/models/CertificateHelper.d.ts +0 -0
  416. package/lib/models/CertificateHelper.js +0 -152
  417. package/lib/models/CertificateHelperFactory.js +0 -12
  418. package/lib/models/DisplayOptionsDto.d.ts +0 -7
  419. package/lib/models/DisplayOptionsDto.js +0 -9
  420. package/lib/models/ExpressCheckoutSettingsDto.d.ts +0 -6
  421. package/lib/models/ExpressCheckoutSettingsDto.js +0 -9
  422. package/lib/models/PlexoSdkSettings.d.ts +0 -8
  423. package/lib/models/PlexoSdkSettings.js +0 -14
  424. package/lib/models/Settings.d.ts +0 -11
  425. package/lib/models/Settings.js +0 -19
  426. package/lib/models/TokenizationSettingsDto.d.ts +0 -4
  427. package/lib/models/TokenizationSettingsDto.js +0 -9
  428. package/lib/models/UIOptionsDto.d.ts +0 -7
  429. package/lib/models/UIOptionsDto.js +0 -13
  430. package/lib/models/WebFormSettingsDto.d.ts +0 -8
  431. package/lib/models/WebFormSettingsDto.js +0 -9
  432. package/lib/utils/boolean.utils.d.ts +0 -4
  433. package/lib/utils/boolean.utils.js +0 -53
@@ -1,29 +1,29 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ServerResponse = void 0;
19
- var BaseServerResponse_1 = require("./BaseServerResponse");
20
- var ServerResponse = /** @class */ (function (_super) {
21
- __extends(ServerResponse, _super);
22
- function ServerResponse(response, resultCode) {
23
- var _this = _super.call(this, resultCode) || this;
24
- _this.response = response;
25
- return _this;
26
- }
27
- return ServerResponse;
28
- }(BaseServerResponse_1.BaseServerResponse));
29
- exports.ServerResponse = ServerResponse;
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ServerResponse = void 0;
19
+ var BaseServerResponse_1 = require("./BaseServerResponse");
20
+ var ServerResponse = /** @class */ (function (_super) {
21
+ __extends(ServerResponse, _super);
22
+ function ServerResponse(response, resultCode) {
23
+ var _this = _super.call(this, resultCode) || this;
24
+ _this.response = response;
25
+ return _this;
26
+ }
27
+ return ServerResponse;
28
+ }(BaseServerResponse_1.BaseServerResponse));
29
+ exports.ServerResponse = ServerResponse;
@@ -1,3 +1,3 @@
1
- import { GenericSignedObject } from './GenericSignedObject';
2
- export declare class ServerSignedCallback<T> extends GenericSignedObject<T> {
3
- }
1
+ import { GenericSignedObject } from './GenericSignedObject';
2
+ export declare class ServerSignedCallback<T> extends GenericSignedObject<T> {
3
+ }
@@ -1,27 +1,27 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ServerSignedCallback = void 0;
19
- var GenericSignedObject_1 = require("./GenericSignedObject");
20
- var ServerSignedCallback = /** @class */ (function (_super) {
21
- __extends(ServerSignedCallback, _super);
22
- function ServerSignedCallback() {
23
- return _super !== null && _super.apply(this, arguments) || this;
24
- }
25
- return ServerSignedCallback;
26
- }(GenericSignedObject_1.GenericSignedObject));
27
- exports.ServerSignedCallback = ServerSignedCallback;
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ServerSignedCallback = void 0;
19
+ var GenericSignedObject_1 = require("./GenericSignedObject");
20
+ var ServerSignedCallback = /** @class */ (function (_super) {
21
+ __extends(ServerSignedCallback, _super);
22
+ function ServerSignedCallback() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ServerSignedCallback;
26
+ }(GenericSignedObject_1.GenericSignedObject));
27
+ exports.ServerSignedCallback = ServerSignedCallback;
@@ -1,3 +1,3 @@
1
- import { GenericSignedObject } from './GenericSignedObject';
2
- export declare class ServerSignedRequest<T> extends GenericSignedObject<T> {
3
- }
1
+ import { GenericSignedObject } from './GenericSignedObject';
2
+ export declare class ServerSignedRequest<T> extends GenericSignedObject<T> {
3
+ }
@@ -1,27 +1,27 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ServerSignedRequest = void 0;
19
- var GenericSignedObject_1 = require("./GenericSignedObject");
20
- var ServerSignedRequest = /** @class */ (function (_super) {
21
- __extends(ServerSignedRequest, _super);
22
- function ServerSignedRequest() {
23
- return _super !== null && _super.apply(this, arguments) || this;
24
- }
25
- return ServerSignedRequest;
26
- }(GenericSignedObject_1.GenericSignedObject));
27
- exports.ServerSignedRequest = ServerSignedRequest;
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ServerSignedRequest = void 0;
19
+ var GenericSignedObject_1 = require("./GenericSignedObject");
20
+ var ServerSignedRequest = /** @class */ (function (_super) {
21
+ __extends(ServerSignedRequest, _super);
22
+ function ServerSignedRequest() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ServerSignedRequest;
26
+ }(GenericSignedObject_1.GenericSignedObject));
27
+ exports.ServerSignedRequest = ServerSignedRequest;
@@ -1,4 +1,4 @@
1
- import { BaseServerResponse } from './BaseServerResponse';
2
- import { GenericSignedObject } from './GenericSignedObject';
3
- export declare class ServerSignedResponse extends GenericSignedObject<BaseServerResponse> {
4
- }
1
+ import { BaseServerResponse } from './BaseServerResponse';
2
+ import { GenericSignedObject } from './GenericSignedObject';
3
+ export declare class ServerSignedResponse extends GenericSignedObject<BaseServerResponse> {
4
+ }
@@ -1,27 +1,27 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ServerSignedResponse = void 0;
19
- var GenericSignedObject_1 = require("./GenericSignedObject");
20
- var ServerSignedResponse = /** @class */ (function (_super) {
21
- __extends(ServerSignedResponse, _super);
22
- function ServerSignedResponse() {
23
- return _super !== null && _super.apply(this, arguments) || this;
24
- }
25
- return ServerSignedResponse;
26
- }(GenericSignedObject_1.GenericSignedObject));
27
- exports.ServerSignedResponse = ServerSignedResponse;
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ServerSignedResponse = void 0;
19
+ var GenericSignedObject_1 = require("./GenericSignedObject");
20
+ var ServerSignedResponse = /** @class */ (function (_super) {
21
+ __extends(ServerSignedResponse, _super);
22
+ function ServerSignedResponse() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ServerSignedResponse;
26
+ }(GenericSignedObject_1.GenericSignedObject));
27
+ exports.ServerSignedResponse = ServerSignedResponse;
@@ -1,5 +1,5 @@
1
- export declare type Session = {
2
- id: string;
3
- uri: string;
4
- expirationUTC: number;
5
- };
1
+ export declare type Session = {
2
+ id: string;
3
+ uri: string;
4
+ expirationUTC: number;
5
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
- import { StateObject } from './StateObject';
2
- export declare class SignedObject {
3
- object: StateObject;
4
- signature: string;
5
- constructor(object: StateObject, signature: string);
6
- }
1
+ import { StateObject } from './StateObject';
2
+ export declare class SignedObject {
3
+ object: StateObject;
4
+ signature: string;
5
+ constructor(object: StateObject, signature: string);
6
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SignedObject = void 0;
4
- var SignedObject = /** @class */ (function () {
5
- function SignedObject(object, signature) {
6
- this.object = object;
7
- this.signature = signature;
8
- }
9
- return SignedObject;
10
- }());
11
- exports.SignedObject = SignedObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SignedObject = void 0;
4
+ var SignedObject = /** @class */ (function () {
5
+ function SignedObject(object, signature) {
6
+ this.object = object;
7
+ this.signature = signature;
8
+ }
9
+ return SignedObject;
10
+ }());
11
+ exports.SignedObject = SignedObject;
@@ -1,5 +1,5 @@
1
- export declare class StateObject {
2
- fingerprint: string;
3
- utcUnixTimeExpiration: number;
4
- constructor(fingerprint: string, utcUnixTimeExpiration: number);
5
- }
1
+ export declare class StateObject {
2
+ fingerprint: string;
3
+ utcUnixTimeExpiration: number;
4
+ constructor(fingerprint: string, utcUnixTimeExpiration: number);
5
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StateObject = void 0;
4
- var StateObject = /** @class */ (function () {
5
- function StateObject(fingerprint, utcUnixTimeExpiration) {
6
- this.fingerprint = fingerprint;
7
- this.utcUnixTimeExpiration = utcUnixTimeExpiration;
8
- }
9
- return StateObject;
10
- }());
11
- exports.StateObject = StateObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StateObject = void 0;
4
+ var StateObject = /** @class */ (function () {
5
+ function StateObject(fingerprint, utcUnixTimeExpiration) {
6
+ this.fingerprint = fingerprint;
7
+ this.utcUnixTimeExpiration = utcUnixTimeExpiration;
8
+ }
9
+ return StateObject;
10
+ }());
11
+ exports.StateObject = StateObject;
@@ -1,5 +1,5 @@
1
- import { FieldType } from './FieldType';
2
- export declare type TimeLimit = {
3
- secondsLeft: number;
4
- requirementAfterTimeLimit: FieldType;
5
- };
1
+ import { FieldType } from './FieldType';
2
+ export declare type TimeLimit = {
3
+ secondsLeft: number;
4
+ requirementAfterTimeLimit: FieldType;
5
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,26 +1,26 @@
1
- import { PaymentCode } from './CodeAction';
2
- import { Commerce } from './Commerce';
3
- import { Currency } from './Currency';
4
- import { FinancialInclusion } from './FinancialInclusion';
5
- import { IssuerInfo } from './IssuerInfo';
6
- import { TransactionType } from './TransactionType';
7
- export declare class Transaction {
8
- transactionId: string;
9
- commerce: Commerce;
10
- instrumentToken: string;
11
- instrumentName: string;
12
- issuer: IssuerInfo;
13
- amount: number;
14
- installments: number;
15
- currency: Currency;
16
- isAnonymous: boolean;
17
- currentState: TransactionType;
18
- invoiceNumber: string;
19
- financialInclusion: FinancialInclusion;
20
- transactions: any;
21
- fieldInformation: any;
22
- isAsyncPayment: boolean;
23
- paymentCode: PaymentCode;
24
- utcUnixTimeExpiration: number;
25
- constructor(transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusion, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
26
- }
1
+ import { PaymentCode } from './CodeAction';
2
+ import { Commerce } from './Commerce';
3
+ import { Currency } from './Currency';
4
+ import { FinancialInclusion } from './FinancialInclusion';
5
+ import { IssuerInfo } from './IssuerInfo';
6
+ import { TransactionType } from './TransactionType';
7
+ export declare class Transaction {
8
+ transactionId: string;
9
+ commerce: Commerce;
10
+ instrumentToken: string;
11
+ instrumentName: string;
12
+ issuer: IssuerInfo;
13
+ amount: number;
14
+ installments: number;
15
+ currency: Currency;
16
+ isAnonymous: boolean;
17
+ currentState: TransactionType;
18
+ invoiceNumber: string;
19
+ financialInclusion: FinancialInclusion;
20
+ transactions: any;
21
+ fieldInformation: any;
22
+ isAsyncPayment: boolean;
23
+ paymentCode: PaymentCode;
24
+ utcUnixTimeExpiration: number;
25
+ constructor(transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusion, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
26
+ }
@@ -1,26 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Transaction = void 0;
4
- var Transaction = /** @class */ (function () {
5
- function Transaction(transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
6
- this.transactionId = transactionId;
7
- this.commerce = commerce;
8
- this.instrumentToken = instrumentToken;
9
- this.instrumentName = instrumentName;
10
- this.issuer = issuer;
11
- this.amount = amount;
12
- this.installments = installments;
13
- this.currency = currency;
14
- this.isAnonymous = isAnonymous;
15
- this.currentState = currentState;
16
- this.invoiceNumber = invoiceNumber;
17
- this.financialInclusion = financialInclusion;
18
- this.transactions = transactions;
19
- this.fieldInformation = fieldInformation;
20
- this.isAsyncPayment = isAsyncPayment;
21
- this.paymentCode = paymentCode;
22
- this.utcUnixTimeExpiration = utcUnixTimeExpiration;
23
- }
24
- return Transaction;
25
- }());
26
- exports.Transaction = Transaction;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Transaction = void 0;
4
+ var Transaction = /** @class */ (function () {
5
+ function Transaction(transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
6
+ this.transactionId = transactionId;
7
+ this.commerce = commerce;
8
+ this.instrumentToken = instrumentToken;
9
+ this.instrumentName = instrumentName;
10
+ this.issuer = issuer;
11
+ this.amount = amount;
12
+ this.installments = installments;
13
+ this.currency = currency;
14
+ this.isAnonymous = isAnonymous;
15
+ this.currentState = currentState;
16
+ this.invoiceNumber = invoiceNumber;
17
+ this.financialInclusion = financialInclusion;
18
+ this.transactions = transactions;
19
+ this.fieldInformation = fieldInformation;
20
+ this.isAsyncPayment = isAsyncPayment;
21
+ this.paymentCode = paymentCode;
22
+ this.utcUnixTimeExpiration = utcUnixTimeExpiration;
23
+ }
24
+ return Transaction;
25
+ }());
26
+ exports.Transaction = Transaction;
@@ -1,7 +1,7 @@
1
- import { Commerce, Currency, FinancialInclusion, IssuerInfo, TransactionType } from '..';
2
- import { PaymentCode } from './CodeAction';
3
- import { Transaction } from './Transaction';
4
- export declare class TransactionCallback extends Transaction {
5
- client: string;
6
- constructor(client: string, transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusion, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
7
- }
1
+ import { Commerce, Currency, FinancialInclusion, IssuerInfo, TransactionType } from '..';
2
+ import { PaymentCode } from './CodeAction';
3
+ import { Transaction } from './Transaction';
4
+ export declare class TransactionCallback extends Transaction {
5
+ client: string;
6
+ constructor(client: string, transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusion, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
7
+ }
@@ -1,29 +1,29 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.TransactionCallback = void 0;
19
- var Transaction_1 = require("./Transaction");
20
- var TransactionCallback = /** @class */ (function (_super) {
21
- __extends(TransactionCallback, _super);
22
- function TransactionCallback(client, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
23
- var _this = _super.call(this, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) || this;
24
- _this.client = client;
25
- return _this;
26
- }
27
- return TransactionCallback;
28
- }(Transaction_1.Transaction));
29
- exports.TransactionCallback = TransactionCallback;
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.TransactionCallback = void 0;
19
+ var Transaction_1 = require("./Transaction");
20
+ var TransactionCallback = /** @class */ (function (_super) {
21
+ __extends(TransactionCallback, _super);
22
+ function TransactionCallback(client, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
23
+ var _this = _super.call(this, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) || this;
24
+ _this.client = client;
25
+ return _this;
26
+ }
27
+ return TransactionCallback;
28
+ }(Transaction_1.Transaction));
29
+ exports.TransactionCallback = TransactionCallback;
@@ -1,6 +1,6 @@
1
- import { Transaction } from './Transaction';
2
- export declare type TransactionCursor = {
3
- start: number;
4
- totalCount: number;
5
- transactions: Transaction[];
6
- };
1
+ import { Transaction } from './Transaction';
2
+ export declare type TransactionCursor = {
3
+ start: number;
4
+ totalCount: number;
5
+ transactions: Transaction[];
6
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,12 @@
1
- import { TransactionResult } from './TransactionResult';
2
- export declare type TransactionInfo = {
3
- clientReferenceId: string;
4
- clientMetadata: string;
5
- status: TransactionResult;
6
- transactionCode: number;
7
- transactionResultText: string;
8
- executionDateUTC: number;
9
- authorization: string;
10
- ticket: string;
11
- expirationUTC?: number;
12
- };
1
+ import { TransactionResult } from './TransactionResult';
2
+ export declare type TransactionInfo = {
3
+ clientReferenceId: string;
4
+ clientMetadata: string;
5
+ status: TransactionResult;
6
+ transactionCode: number;
7
+ transactionResultText: string;
8
+ executionDateUTC: number;
9
+ authorization: string;
10
+ ticket: string;
11
+ expirationUTC?: number;
12
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- import { TransactionField, TransactionOrderDirection } from './TransactionQuery';
2
- export declare type TransactionOrder = {
3
- field: TransactionField;
4
- direction: TransactionOrderDirection;
5
- };
1
+ import { TransactionField, TransactionOrderDirection } from './TransactionQuery';
2
+ export declare type TransactionOrder = {
3
+ field: TransactionField;
4
+ direction: TransactionOrderDirection;
5
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });