@houlak/plexo-sdk 0.1.64 → 0.1.66

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 (447) 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 -31
  9. package/lib/handler/PlexoHandler.js +431 -421
  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 +18 -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/BuiltInPagesOptionsDto.d.ts +4 -4
  33. package/lib/models/BuiltInPagesOptionsDto.js +9 -9
  34. package/lib/models/CancelRequest.d.ts +6 -6
  35. package/lib/models/CancelRequest.js +29 -29
  36. package/lib/models/CardStatus.d.ts +7 -7
  37. package/lib/models/CardStatus.js +11 -11
  38. package/lib/models/CardTypes.d.ts +9 -9
  39. package/lib/models/CardTypes.js +13 -13
  40. package/lib/models/ClientRequest.d.ts +4 -4
  41. package/lib/models/ClientRequest.js +10 -10
  42. package/lib/models/ClientResponse.d.ts +6 -6
  43. package/lib/models/ClientResponse.js +29 -29
  44. package/lib/models/ClientSignedRequest.d.ts +4 -4
  45. package/lib/models/ClientSignedRequest.js +27 -27
  46. package/lib/models/ClientSignedResponse.d.ts +4 -4
  47. package/lib/models/ClientSignedResponse.js +27 -27
  48. package/lib/models/CodeAction.d.ts +10 -10
  49. package/lib/models/CodeAction.js +10 -10
  50. package/lib/models/CodeRequest.d.ts +5 -5
  51. package/lib/models/CodeRequest.js +2 -2
  52. package/lib/models/Commerce.d.ts +4 -4
  53. package/lib/models/Commerce.js +2 -2
  54. package/lib/models/CommerceIdRequest.d.ts +3 -3
  55. package/lib/models/CommerceIdRequest.js +2 -2
  56. package/lib/models/CommerceIssuerIdRequest.d.ts +4 -4
  57. package/lib/models/CommerceIssuerIdRequest.js +2 -2
  58. package/lib/models/CommerceModifyRequest.d.ts +4 -4
  59. package/lib/models/CommerceModifyRequest.js +2 -2
  60. package/lib/models/CommerceRequest.d.ts +3 -3
  61. package/lib/models/CommerceRequest.js +2 -2
  62. package/lib/models/CreateBankInstrumentRequest.d.ts +6 -6
  63. package/lib/models/CreateBankInstrumentRequest.js +2 -2
  64. package/lib/models/Currency.d.ts +6 -6
  65. package/lib/models/Currency.js +2 -2
  66. package/lib/models/DeleteInstrumentRequest.d.ts +6 -6
  67. package/lib/models/DeleteInstrumentRequest.js +29 -29
  68. package/lib/models/DisplayOptionsDto.d.ts +7 -7
  69. package/lib/models/DisplayOptionsDto.js +9 -9
  70. package/lib/models/ExpressCheckoutRequest.d.ts +6 -6
  71. package/lib/models/ExpressCheckoutRequest.js +2 -2
  72. package/lib/models/ExpressCheckoutSettingsDto.d.ts +6 -6
  73. package/lib/models/ExpressCheckoutSettingsDto.js +9 -9
  74. package/lib/models/ExtendedCredit.d.ts +4 -4
  75. package/lib/models/ExtendedCredit.js +2 -2
  76. package/lib/models/FieldInfo.d.ts +6 -6
  77. package/lib/models/FieldInfo.js +2 -2
  78. package/lib/models/FieldInfoPaymentProcessors.d.ts +6 -6
  79. package/lib/models/FieldInfoPaymentProcessors.js +11 -11
  80. package/lib/models/FieldType.d.ts +76 -76
  81. package/lib/models/FieldType.js +89 -89
  82. package/lib/models/FinancialInclusion.d.ts +8 -8
  83. package/lib/models/FinancialInclusion.js +2 -2
  84. package/lib/models/FinancialInclusionResult.d.ts +6 -6
  85. package/lib/models/FinancialInclusionResult.js +2 -2
  86. package/lib/models/GenericClientRequest.d.ts +5 -5
  87. package/lib/models/GenericClientRequest.js +29 -29
  88. package/lib/models/GenericClientSignedRequest.d.ts +4 -4
  89. package/lib/models/GenericClientSignedRequest.js +27 -27
  90. package/lib/models/GenericIssuerRequest.d.ts +5 -5
  91. package/lib/models/GenericIssuerRequest.js +29 -29
  92. package/lib/models/GenericIssuerSignedRequest.d.ts +4 -4
  93. package/lib/models/GenericIssuerSignedRequest.js +27 -27
  94. package/lib/models/GenericServerSignedResponse.d.ts +4 -4
  95. package/lib/models/GenericServerSignedResponse.js +27 -27
  96. package/lib/models/GenericSignedObject.d.ts +6 -6
  97. package/lib/models/GenericSignedObject.js +11 -11
  98. package/lib/models/GenericStateObject.d.ts +5 -5
  99. package/lib/models/GenericStateObject.js +29 -29
  100. package/lib/models/IClientCallback.d.ts +3 -3
  101. package/lib/models/IClientCallback.js +2 -2
  102. package/lib/models/IdentificationType.d.ts +6 -6
  103. package/lib/models/IdentificationType.js +10 -10
  104. package/lib/models/InclusionType.d.ts +5 -5
  105. package/lib/models/InclusionType.js +9 -9
  106. package/lib/models/IndexSDK.d.ts +33 -33
  107. package/lib/models/IndexSDK.js +39 -39
  108. package/lib/models/InfoLine.d.ts +4 -4
  109. package/lib/models/InfoLine.js +2 -2
  110. package/lib/models/InstrumentCallback.d.ts +9 -9
  111. package/lib/models/InstrumentCallback.js +31 -31
  112. package/lib/models/InstrumentWithMetadata.d.ts +6 -6
  113. package/lib/models/InstrumentWithMetadata.js +11 -11
  114. package/lib/models/IssuerData.d.ts +5 -5
  115. package/lib/models/IssuerData.js +2 -2
  116. package/lib/models/IssuerInfo.d.ts +14 -14
  117. package/lib/models/IssuerInfo.js +2 -2
  118. package/lib/models/IssuerProcessor.d.ts +7 -7
  119. package/lib/models/IssuerProcessor.js +12 -12
  120. package/lib/models/IssuerRequest.d.ts +4 -4
  121. package/lib/models/IssuerRequest.js +10 -10
  122. package/lib/models/IssuerSignedRequest.d.ts +4 -4
  123. package/lib/models/IssuerSignedRequest.js +27 -27
  124. package/lib/models/Item.d.ts +8 -8
  125. package/lib/models/Item.js +2 -2
  126. package/lib/models/PaymentInstrument.d.ts +20 -20
  127. package/lib/models/PaymentInstrument.js +2 -2
  128. package/lib/models/PaymentInstrumentInput.d.ts +6 -6
  129. package/lib/models/PaymentInstrumentInput.js +2 -2
  130. package/lib/models/PaymentProcessor.d.ts +6 -6
  131. package/lib/models/PaymentProcessor.js +11 -11
  132. package/lib/models/PaymentRequest.d.ts +17 -17
  133. package/lib/models/PaymentRequest.js +20 -20
  134. package/lib/models/PublicKeyInfo.d.ts +4 -4
  135. package/lib/models/PublicKeyInfo.js +2 -2
  136. package/lib/models/Reference.d.ts +6 -6
  137. package/lib/models/Reference.js +11 -11
  138. package/lib/models/ReferenceType.d.ts +6 -6
  139. package/lib/models/ReferenceType.js +10 -10
  140. package/lib/models/Reserve.d.ts +6 -6
  141. package/lib/models/Reserve.js +29 -29
  142. package/lib/models/ReserveRequest.d.ts +6 -6
  143. package/lib/models/ReserveRequest.js +29 -29
  144. package/lib/models/ResultCodes.d.ts +30 -30
  145. package/lib/models/ResultCodes.js +35 -35
  146. package/lib/models/ServerResponse.d.ts +6 -6
  147. package/lib/models/ServerResponse.js +29 -29
  148. package/lib/models/ServerSignedCallback.d.ts +3 -3
  149. package/lib/models/ServerSignedCallback.js +27 -27
  150. package/lib/models/ServerSignedRequest.d.ts +3 -3
  151. package/lib/models/ServerSignedRequest.js +27 -27
  152. package/lib/models/ServerSignedResponse.d.ts +4 -4
  153. package/lib/models/ServerSignedResponse.js +27 -27
  154. package/lib/models/Session.d.ts +5 -5
  155. package/lib/models/Session.js +2 -2
  156. package/lib/models/SignedObject.d.ts +6 -6
  157. package/lib/models/SignedObject.js +11 -11
  158. package/lib/models/StateObject.d.ts +5 -5
  159. package/lib/models/StateObject.js +11 -11
  160. package/lib/models/TimeLimit.d.ts +5 -5
  161. package/lib/models/TimeLimit.js +2 -2
  162. package/lib/models/TokenizationSettingsDto.d.ts +4 -4
  163. package/lib/models/TokenizationSettingsDto.js +9 -9
  164. package/lib/models/Transaction.d.ts +26 -26
  165. package/lib/models/Transaction.js +26 -26
  166. package/lib/models/TransactionCallback.d.ts +7 -7
  167. package/lib/models/TransactionCallback.js +29 -29
  168. package/lib/models/TransactionCursor.d.ts +6 -6
  169. package/lib/models/TransactionCursor.js +2 -2
  170. package/lib/models/TransactionInfo.d.ts +12 -12
  171. package/lib/models/TransactionInfo.js +2 -2
  172. package/lib/models/TransactionOrder.d.ts +5 -5
  173. package/lib/models/TransactionOrder.js +2 -2
  174. package/lib/models/TransactionQuery.d.ts +54 -54
  175. package/lib/models/TransactionQuery.js +47 -47
  176. package/lib/models/TransactionResult.d.ts +13 -13
  177. package/lib/models/TransactionResult.js +17 -17
  178. package/lib/models/TransactionType.d.ts +5 -5
  179. package/lib/models/TransactionType.js +9 -9
  180. package/lib/models/UIOptionsDto.d.ts +7 -7
  181. package/lib/models/UIOptionsDto.js +13 -13
  182. package/lib/models/WebFormSettingsDto.d.ts +8 -8
  183. package/lib/models/WebFormSettingsDto.js +9 -9
  184. package/lib/sdk/IPaymentGatewayClient.d.ts +31 -31
  185. package/lib/sdk/IPaymentGatewayClient.js +2 -2
  186. package/lib/sdk/PaymentGatewayClient.d.ts +32 -32
  187. package/lib/sdk/PaymentGatewayClient.js +379 -379
  188. package/lib/sdk/PaymentGatewayMock.d.ts +31 -31
  189. package/lib/sdk/PaymentGatewayMock.js +330 -330
  190. package/lib/sdk/enums/plexo-error-enum.d.ts +38 -38
  191. package/lib/sdk/enums/plexo-error-enum.js +46 -46
  192. package/lib/sdk/helpers/signature/signatureHelper.d.ts +6 -6
  193. package/lib/sdk/helpers/signature/signatureHelper.js +175 -175
  194. package/lib/sdk/helpers/signature/signatureUtils.d.ts +10 -10
  195. package/lib/sdk/helpers/signature/signatureUtils.js +157 -157
  196. package/lib/sdk/helpers/signature/stringifyWithFloats.d.ts +1 -1
  197. package/lib/sdk/helpers/signature/stringifyWithFloats.js +71 -71
  198. package/lib/sdk/index.d.ts +4 -4
  199. package/lib/sdk/index.js +22 -22
  200. package/lib/sdk/mocks/mocks.d.ts +24 -24
  201. package/lib/sdk/mocks/mocks.js +180 -180
  202. package/lib/sdk/models/ActionType.d.ts +9 -9
  203. package/lib/sdk/models/ActionType.js +13 -13
  204. package/lib/sdk/models/AmountLimit.d.ts +7 -7
  205. package/lib/sdk/models/AmountLimit.js +2 -2
  206. package/lib/sdk/models/Authorization.d.ts +18 -18
  207. package/lib/sdk/models/Authorization.js +33 -33
  208. package/lib/sdk/models/AuthorizationInfo.d.ts +6 -6
  209. package/lib/sdk/models/AuthorizationInfo.js +11 -11
  210. package/lib/sdk/models/AuthorizationType.d.ts +5 -5
  211. package/lib/sdk/models/AuthorizationType.js +9 -9
  212. package/lib/sdk/models/BaseServerResponse.d.ts +7 -7
  213. package/lib/sdk/models/BaseServerResponse.js +12 -12
  214. package/lib/sdk/models/BuiltInPagesOptions.d.ts +5 -5
  215. package/lib/sdk/models/BuiltInPagesOptions.js +11 -11
  216. package/lib/sdk/models/BuiltInPagesOptionsDto.d.ts +4 -4
  217. package/lib/sdk/models/BuiltInPagesOptionsDto.js +9 -9
  218. package/lib/sdk/models/CancelRequest.d.ts +6 -6
  219. package/lib/sdk/models/CancelRequest.js +29 -29
  220. package/lib/sdk/models/CardStatus.d.ts +7 -7
  221. package/lib/sdk/models/CardStatus.js +11 -11
  222. package/lib/sdk/models/CardTypes.d.ts +9 -9
  223. package/lib/sdk/models/CardTypes.js +13 -13
  224. package/lib/sdk/models/ClientRequest.d.ts +4 -4
  225. package/lib/sdk/models/ClientRequest.js +10 -10
  226. package/lib/sdk/models/ClientResponse.d.ts +6 -6
  227. package/lib/sdk/models/ClientResponse.js +29 -29
  228. package/lib/sdk/models/ClientSignedRequest.d.ts +4 -4
  229. package/lib/sdk/models/ClientSignedRequest.js +27 -27
  230. package/lib/sdk/models/ClientSignedResponse.d.ts +4 -4
  231. package/lib/sdk/models/ClientSignedResponse.js +27 -27
  232. package/lib/sdk/models/CodeAction.d.ts +10 -10
  233. package/lib/sdk/models/CodeAction.js +10 -10
  234. package/lib/sdk/models/CodeRequest.d.ts +5 -5
  235. package/lib/sdk/models/CodeRequest.js +2 -2
  236. package/lib/sdk/models/Commerce.d.ts +4 -4
  237. package/lib/sdk/models/Commerce.js +2 -2
  238. package/lib/sdk/models/CommerceIdRequest.d.ts +3 -3
  239. package/lib/sdk/models/CommerceIdRequest.js +2 -2
  240. package/lib/sdk/models/CommerceIssuerIdRequest.d.ts +4 -4
  241. package/lib/sdk/models/CommerceIssuerIdRequest.js +2 -2
  242. package/lib/sdk/models/CommerceModifyRequest.d.ts +4 -4
  243. package/lib/sdk/models/CommerceModifyRequest.js +2 -2
  244. package/lib/sdk/models/CommerceRequest.d.ts +3 -3
  245. package/lib/sdk/models/CommerceRequest.js +2 -2
  246. package/lib/sdk/models/CreateBankInstrumentRequest.d.ts +6 -6
  247. package/lib/sdk/models/CreateBankInstrumentRequest.js +2 -2
  248. package/lib/sdk/models/Currency.d.ts +6 -6
  249. package/lib/sdk/models/Currency.js +2 -2
  250. package/lib/sdk/models/DeleteInstrumentRequest.d.ts +6 -6
  251. package/lib/sdk/models/DeleteInstrumentRequest.js +29 -29
  252. package/lib/sdk/models/DisplayOptions.d.ts +8 -8
  253. package/lib/sdk/models/DisplayOptions.js +14 -14
  254. package/lib/sdk/models/DisplayOptionsDto.d.ts +7 -7
  255. package/lib/sdk/models/DisplayOptionsDto.js +9 -9
  256. package/lib/sdk/models/ExpressCheckoutRequest.d.ts +6 -6
  257. package/lib/sdk/models/ExpressCheckoutRequest.js +2 -2
  258. package/lib/sdk/models/ExpressCheckoutSettings.d.ts +7 -7
  259. package/lib/sdk/models/ExpressCheckoutSettings.js +11 -11
  260. package/lib/sdk/models/ExpressCheckoutSettingsDto.d.ts +6 -6
  261. package/lib/sdk/models/ExpressCheckoutSettingsDto.js +9 -9
  262. package/lib/sdk/models/ExtendedCredit.d.ts +4 -4
  263. package/lib/sdk/models/ExtendedCredit.js +2 -2
  264. package/lib/sdk/models/FieldInfo.d.ts +6 -6
  265. package/lib/sdk/models/FieldInfo.js +2 -2
  266. package/lib/sdk/models/FieldInfoPaymentProcessors.d.ts +6 -6
  267. package/lib/sdk/models/FieldInfoPaymentProcessors.js +11 -11
  268. package/lib/sdk/models/FieldType.d.ts +82 -82
  269. package/lib/sdk/models/FieldType.js +95 -95
  270. package/lib/sdk/models/FinancialInclusion.d.ts +9 -9
  271. package/lib/sdk/models/FinancialInclusion.js +2 -2
  272. package/lib/sdk/models/FinancialInclusionResult.d.ts +6 -6
  273. package/lib/sdk/models/FinancialInclusionResult.js +2 -2
  274. package/lib/sdk/models/GenericClientRequest.d.ts +5 -5
  275. package/lib/sdk/models/GenericClientRequest.js +29 -29
  276. package/lib/sdk/models/GenericClientSignedRequest.d.ts +4 -4
  277. package/lib/sdk/models/GenericClientSignedRequest.js +27 -27
  278. package/lib/sdk/models/GenericIssuerRequest.d.ts +5 -5
  279. package/lib/sdk/models/GenericIssuerRequest.js +29 -29
  280. package/lib/sdk/models/GenericIssuerSignedRequest.d.ts +4 -4
  281. package/lib/sdk/models/GenericIssuerSignedRequest.js +27 -27
  282. package/lib/sdk/models/GenericServerSignedResponse.d.ts +4 -4
  283. package/lib/sdk/models/GenericServerSignedResponse.js +27 -27
  284. package/lib/sdk/models/GenericSignedObject.d.ts +6 -6
  285. package/lib/sdk/models/GenericSignedObject.js +11 -11
  286. package/lib/sdk/models/GenericStateObject.d.ts +5 -5
  287. package/lib/sdk/models/GenericStateObject.js +29 -29
  288. package/lib/sdk/models/IClientCallback.d.ts +3 -3
  289. package/lib/sdk/models/IClientCallback.js +2 -2
  290. package/lib/sdk/models/IdentificationType.d.ts +6 -6
  291. package/lib/sdk/models/IdentificationType.js +10 -10
  292. package/lib/sdk/models/InclusionType.d.ts +5 -5
  293. package/lib/sdk/models/InclusionType.js +9 -9
  294. package/lib/sdk/models/IndexSDK.d.ts +86 -86
  295. package/lib/sdk/models/IndexSDK.js +114 -114
  296. package/lib/sdk/models/InfoLine.d.ts +4 -4
  297. package/lib/sdk/models/InfoLine.js +2 -2
  298. package/lib/sdk/models/InstrumentCallback.d.ts +9 -9
  299. package/lib/sdk/models/InstrumentCallback.js +31 -31
  300. package/lib/sdk/models/InstrumentWithMetadata.d.ts +6 -6
  301. package/lib/sdk/models/InstrumentWithMetadata.js +11 -11
  302. package/lib/sdk/models/IssuerData.d.ts +7 -7
  303. package/lib/sdk/models/IssuerData.js +2 -2
  304. package/lib/sdk/models/IssuerInfo.d.ts +14 -14
  305. package/lib/sdk/models/IssuerInfo.js +2 -2
  306. package/lib/sdk/models/IssuerProcessor.d.ts +7 -7
  307. package/lib/sdk/models/IssuerProcessor.js +12 -12
  308. package/lib/sdk/models/IssuerRequest.d.ts +4 -4
  309. package/lib/sdk/models/IssuerRequest.js +10 -10
  310. package/lib/sdk/models/IssuerSignedRequest.d.ts +4 -4
  311. package/lib/sdk/models/IssuerSignedRequest.js +27 -27
  312. package/lib/sdk/models/Item.d.ts +8 -8
  313. package/lib/sdk/models/Item.js +2 -2
  314. package/lib/sdk/models/PaymentInstrument.d.ts +18 -18
  315. package/lib/sdk/models/PaymentInstrument.js +2 -2
  316. package/lib/sdk/models/PaymentInstrumentInput.d.ts +6 -6
  317. package/lib/sdk/models/PaymentInstrumentInput.js +2 -2
  318. package/lib/sdk/models/PaymentProcessor.d.ts +6 -6
  319. package/lib/sdk/models/PaymentProcessor.js +11 -11
  320. package/lib/sdk/models/PaymentRequest.d.ts +17 -17
  321. package/lib/sdk/models/PaymentRequest.js +20 -20
  322. package/lib/sdk/models/PlexoSdkSettings.d.ts +8 -8
  323. package/lib/sdk/models/PlexoSdkSettings.js +14 -14
  324. package/lib/sdk/models/PublicKeyInfo.d.ts +4 -4
  325. package/lib/sdk/models/PublicKeyInfo.js +2 -2
  326. package/lib/sdk/models/Reference.d.ts +6 -6
  327. package/lib/sdk/models/Reference.js +11 -11
  328. package/lib/sdk/models/ReferenceType.d.ts +6 -6
  329. package/lib/sdk/models/ReferenceType.js +10 -10
  330. package/lib/sdk/models/Reserve.d.ts +6 -6
  331. package/lib/sdk/models/Reserve.js +29 -29
  332. package/lib/sdk/models/ReserveRequest.d.ts +6 -6
  333. package/lib/sdk/models/ReserveRequest.js +29 -29
  334. package/lib/sdk/models/ResultCodes.d.ts +30 -30
  335. package/lib/sdk/models/ResultCodes.js +35 -35
  336. package/lib/sdk/models/ServerResponse.d.ts +6 -6
  337. package/lib/sdk/models/ServerResponse.js +29 -29
  338. package/lib/sdk/models/ServerSignedCallback.d.ts +3 -3
  339. package/lib/sdk/models/ServerSignedCallback.js +27 -27
  340. package/lib/sdk/models/ServerSignedRequest.d.ts +3 -3
  341. package/lib/sdk/models/ServerSignedRequest.js +27 -27
  342. package/lib/sdk/models/ServerSignedResponse.d.ts +4 -4
  343. package/lib/sdk/models/ServerSignedResponse.js +27 -27
  344. package/lib/sdk/models/Session.d.ts +5 -5
  345. package/lib/sdk/models/Session.js +2 -2
  346. package/lib/sdk/models/Settings.d.ts +11 -11
  347. package/lib/sdk/models/Settings.js +19 -19
  348. package/lib/sdk/models/SignedObject.d.ts +6 -6
  349. package/lib/sdk/models/SignedObject.js +11 -11
  350. package/lib/sdk/models/StateObject.d.ts +5 -5
  351. package/lib/sdk/models/StateObject.js +11 -11
  352. package/lib/sdk/models/TimeLimit.d.ts +5 -5
  353. package/lib/sdk/models/TimeLimit.js +2 -2
  354. package/lib/sdk/models/TokenizationSettings.d.ts +5 -5
  355. package/lib/sdk/models/TokenizationSettings.js +10 -10
  356. package/lib/sdk/models/TokenizationSettingsDto.d.ts +4 -4
  357. package/lib/sdk/models/TokenizationSettingsDto.js +9 -9
  358. package/lib/sdk/models/Transaction.d.ts +31 -31
  359. package/lib/sdk/models/Transaction.js +26 -26
  360. package/lib/sdk/models/TransactionCallback.d.ts +7 -7
  361. package/lib/sdk/models/TransactionCallback.js +29 -29
  362. package/lib/sdk/models/TransactionCursor.d.ts +6 -6
  363. package/lib/sdk/models/TransactionCursor.js +2 -2
  364. package/lib/sdk/models/TransactionInfo.d.ts +12 -12
  365. package/lib/sdk/models/TransactionInfo.js +2 -2
  366. package/lib/sdk/models/TransactionOrder.d.ts +5 -5
  367. package/lib/sdk/models/TransactionOrder.js +2 -2
  368. package/lib/sdk/models/TransactionQuery.d.ts +54 -54
  369. package/lib/sdk/models/TransactionQuery.js +47 -47
  370. package/lib/sdk/models/TransactionResult.d.ts +13 -13
  371. package/lib/sdk/models/TransactionResult.js +17 -17
  372. package/lib/sdk/models/TransactionType.d.ts +5 -5
  373. package/lib/sdk/models/TransactionType.js +9 -9
  374. package/lib/sdk/models/TransactionsCSV.d.ts +3 -3
  375. package/lib/sdk/models/TransactionsCSV.js +2 -2
  376. package/lib/sdk/models/UIOptions.d.ts +8 -8
  377. package/lib/sdk/models/UIOptions.js +13 -13
  378. package/lib/sdk/models/UIOptionsDto.d.ts +8 -8
  379. package/lib/sdk/models/UIOptionsDto.js +13 -13
  380. package/lib/sdk/models/WebFormSettings.d.ts +9 -9
  381. package/lib/sdk/models/WebFormSettings.js +12 -12
  382. package/lib/sdk/models/WebFormSettingsDto.d.ts +8 -8
  383. package/lib/sdk/models/WebFormSettingsDto.js +9 -9
  384. package/lib/sdk/models/webhook/Address.d.ts +9 -9
  385. package/lib/sdk/models/webhook/Address.js +15 -15
  386. package/lib/sdk/models/webhook/CancellationInfo.d.ts +11 -11
  387. package/lib/sdk/models/webhook/CancellationInfo.js +17 -17
  388. package/lib/sdk/models/webhook/Client.d.ts +9 -9
  389. package/lib/sdk/models/webhook/Client.js +14 -14
  390. package/lib/sdk/models/webhook/Commerce.d.ts +6 -6
  391. package/lib/sdk/models/webhook/Commerce.js +12 -12
  392. package/lib/sdk/models/webhook/Currency.d.ts +8 -8
  393. package/lib/sdk/models/webhook/Currency.js +14 -14
  394. package/lib/sdk/models/webhook/Customer.d.ts +17 -17
  395. package/lib/sdk/models/webhook/Customer.js +22 -22
  396. package/lib/sdk/models/webhook/Document.d.ts +5 -5
  397. package/lib/sdk/models/webhook/Document.js +11 -11
  398. package/lib/sdk/models/webhook/IndexWebhook.d.ts +21 -0
  399. package/lib/sdk/models/webhook/IndexWebhook.js +45 -0
  400. package/lib/sdk/models/webhook/Instrument.d.ts +17 -17
  401. package/lib/sdk/models/webhook/Instrument.js +21 -21
  402. package/lib/sdk/models/webhook/Issuer.d.ts +8 -8
  403. package/lib/sdk/models/webhook/Issuer.js +14 -14
  404. package/lib/sdk/models/webhook/IssuerData.d.ts +8 -8
  405. package/lib/sdk/models/webhook/IssuerData.js +13 -13
  406. package/lib/sdk/models/webhook/IssuerDto.d.ts +5 -5
  407. package/lib/sdk/models/webhook/IssuerDto.js +11 -11
  408. package/lib/sdk/models/webhook/Item.d.ts +14 -14
  409. package/lib/sdk/models/webhook/Item.js +19 -19
  410. package/lib/sdk/models/webhook/PartialRefundsInfo.d.ts +12 -12
  411. package/lib/sdk/models/webhook/PartialRefundsInfo.js +18 -18
  412. package/lib/sdk/models/webhook/PaymentFacilitator.d.ts +8 -8
  413. package/lib/sdk/models/webhook/PaymentFacilitator.js +13 -13
  414. package/lib/sdk/models/webhook/PaymentProcessor.d.ts +5 -5
  415. package/lib/sdk/models/webhook/PaymentProcessor.js +11 -11
  416. package/lib/sdk/models/webhook/PurchaseInfo.d.ts +16 -16
  417. package/lib/sdk/models/webhook/PurchaseInfo.js +22 -22
  418. package/lib/sdk/models/webhook/RefundInfo.d.ts +12 -12
  419. package/lib/sdk/models/webhook/RefundInfo.js +18 -18
  420. package/lib/sdk/models/webhook/ReserveInfo.d.ts +13 -13
  421. package/lib/sdk/models/webhook/ReserveInfo.js +19 -19
  422. package/lib/sdk/models/webhook/Shipping.d.ts +7 -7
  423. package/lib/sdk/models/webhook/Shipping.js +12 -12
  424. package/lib/sdk/models/webhook/Transaction.d.ts +31 -31
  425. package/lib/sdk/models/webhook/Transaction.js +36 -36
  426. package/lib/sdk/models/webhook/TransactionResult.d.ts +5 -5
  427. package/lib/sdk/models/webhook/TransactionResult.js +10 -10
  428. package/lib/sdk/models/webhook/index.d.ts +21 -21
  429. package/lib/sdk/models/webhook/index.js +45 -45
  430. package/lib/sdk/types/signatureHelper.type.d.ts +5 -5
  431. package/lib/sdk/types/signatureHelper.type.js +2 -2
  432. package/lib/sdk/types/ui_options_dto.type.d.ts +6 -6
  433. package/lib/sdk/types/ui_options_dto.type.js +2 -2
  434. package/lib/utils/boolean.utils.d.ts +4 -4
  435. package/lib/utils/boolean.utils.js +53 -53
  436. package/lib/utils/case.util.d.ts +4 -4
  437. package/lib/utils/case.util.js +61 -61
  438. package/lib/utils/index.d.ts +1 -1
  439. package/lib/utils/index.js +5 -5
  440. package/package.json +52 -52
  441. package/lib/models/CertificateHelper.d.ts +0 -0
  442. package/lib/models/CertificateHelper.js +0 -152
  443. package/lib/models/CertificateHelperFactory.js +0 -12
  444. package/lib/models/PlexoSdkSettings.d.ts +0 -8
  445. package/lib/models/PlexoSdkSettings.js +0 -14
  446. package/lib/models/Settings.d.ts +0 -11
  447. package/lib/models/Settings.js +0 -19
@@ -1,17 +1,17 @@
1
- import { Address, Document, Shipping } from '.';
2
- export declare class Customer {
3
- firstName: string;
4
- lastName: string;
5
- email: string;
6
- name: string;
7
- id?: string;
8
- referenceId?: string;
9
- metadata?: string;
10
- description?: string;
11
- phone?: string;
12
- document?: Document;
13
- birthdate?: Date;
14
- address?: Address;
15
- shipping?: Shipping;
16
- constructor(firstName: string, lastName: string, email: string, name: string, id?: string, referenceId?: string, metadata?: string, description?: string, phone?: string, document?: Document, birthdate?: Date, address?: Address, shipping?: Shipping);
17
- }
1
+ import { Address, Document, Shipping } from '.';
2
+ export declare class Customer {
3
+ firstName: string;
4
+ lastName: string;
5
+ email: string;
6
+ name: string;
7
+ id?: string;
8
+ referenceId?: string;
9
+ metadata?: string;
10
+ description?: string;
11
+ phone?: string;
12
+ document?: Document;
13
+ birthdate?: Date;
14
+ address?: Address;
15
+ shipping?: Shipping;
16
+ constructor(firstName: string, lastName: string, email: string, name: string, id?: string, referenceId?: string, metadata?: string, description?: string, phone?: string, document?: Document, birthdate?: Date, address?: Address, shipping?: Shipping);
17
+ }
@@ -1,22 +1,22 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Customer = void 0;
4
- var Customer = /** @class */ (function () {
5
- function Customer(firstName, lastName, email, name, id, referenceId, metadata, description, phone, document, birthdate, address, shipping) {
6
- this.firstName = firstName;
7
- this.lastName = lastName;
8
- this.email = email;
9
- this.name = name;
10
- this.id = id;
11
- this.referenceId = referenceId;
12
- this.metadata = metadata;
13
- this.description = description;
14
- this.phone = phone;
15
- this.document = document;
16
- this.birthdate = birthdate;
17
- this.address = address;
18
- this.shipping = shipping;
19
- }
20
- return Customer;
21
- }());
22
- exports.Customer = Customer;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Customer = void 0;
4
+ var Customer = /** @class */ (function () {
5
+ function Customer(firstName, lastName, email, name, id, referenceId, metadata, description, phone, document, birthdate, address, shipping) {
6
+ this.firstName = firstName;
7
+ this.lastName = lastName;
8
+ this.email = email;
9
+ this.name = name;
10
+ this.id = id;
11
+ this.referenceId = referenceId;
12
+ this.metadata = metadata;
13
+ this.description = description;
14
+ this.phone = phone;
15
+ this.document = document;
16
+ this.birthdate = birthdate;
17
+ this.address = address;
18
+ this.shipping = shipping;
19
+ }
20
+ return Customer;
21
+ }());
22
+ exports.Customer = Customer;
@@ -1,5 +1,5 @@
1
- export declare class Document {
2
- type: number;
3
- value: string;
4
- constructor(type: number, value: string);
5
- }
1
+ export declare class Document {
2
+ type: number;
3
+ value: string;
4
+ constructor(type: number, value: string);
5
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Document = void 0;
4
- var Document = /** @class */ (function () {
5
- function Document(type, value) {
6
- this.type = type;
7
- this.value = value;
8
- }
9
- return Document;
10
- }());
11
- exports.Document = Document;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Document = void 0;
4
+ var Document = /** @class */ (function () {
5
+ function Document(type, value) {
6
+ this.type = type;
7
+ this.value = value;
8
+ }
9
+ return Document;
10
+ }());
11
+ exports.Document = Document;
@@ -0,0 +1,21 @@
1
+ export { Address } from './Address';
2
+ export { CancellationInfo } from './CancellationInfo';
3
+ export { Client } from './Client';
4
+ export { Commerce } from './Commerce';
5
+ export { Currency } from './Currency';
6
+ export { Customer } from './Customer';
7
+ export { Document } from './Document';
8
+ export { Instrument } from './Instrument';
9
+ export { Issuer } from './Issuer';
10
+ export { IssuerData } from './IssuerData';
11
+ export { IssuerDto } from './IssuerDto';
12
+ export { Item } from './Item';
13
+ export { PartialRefundsInfo } from './PartialRefundsInfo';
14
+ export { PaymentFacilitator } from './PaymentFacilitator';
15
+ export { PaymentProcessor } from './PaymentProcessor';
16
+ export { PurchaseInfo } from './PurchaseInfo';
17
+ export { RefundInfo } from './RefundInfo';
18
+ export { ReserveInfo } from './ReserveInfo';
19
+ export { Shipping } from './Shipping';
20
+ export { Transaction } from './Transaction';
21
+ export { TransactionResult } from './TransactionResult';
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionResult = exports.Transaction = exports.Shipping = exports.ReserveInfo = exports.RefundInfo = exports.PurchaseInfo = exports.PaymentProcessor = exports.PaymentFacilitator = exports.PartialRefundsInfo = exports.Item = exports.IssuerDto = exports.IssuerData = exports.Issuer = exports.Instrument = exports.Document = exports.Customer = exports.Currency = exports.Commerce = exports.Client = exports.CancellationInfo = exports.Address = void 0;
4
+ var Address_1 = require("./Address");
5
+ Object.defineProperty(exports, "Address", { enumerable: true, get: function () { return Address_1.Address; } });
6
+ var CancellationInfo_1 = require("./CancellationInfo");
7
+ Object.defineProperty(exports, "CancellationInfo", { enumerable: true, get: function () { return CancellationInfo_1.CancellationInfo; } });
8
+ var Client_1 = require("./Client");
9
+ Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return Client_1.Client; } });
10
+ var Commerce_1 = require("./Commerce");
11
+ Object.defineProperty(exports, "Commerce", { enumerable: true, get: function () { return Commerce_1.Commerce; } });
12
+ var Currency_1 = require("./Currency");
13
+ Object.defineProperty(exports, "Currency", { enumerable: true, get: function () { return Currency_1.Currency; } });
14
+ var Customer_1 = require("./Customer");
15
+ Object.defineProperty(exports, "Customer", { enumerable: true, get: function () { return Customer_1.Customer; } });
16
+ var Document_1 = require("./Document");
17
+ Object.defineProperty(exports, "Document", { enumerable: true, get: function () { return Document_1.Document; } });
18
+ var Instrument_1 = require("./Instrument");
19
+ Object.defineProperty(exports, "Instrument", { enumerable: true, get: function () { return Instrument_1.Instrument; } });
20
+ var Issuer_1 = require("./Issuer");
21
+ Object.defineProperty(exports, "Issuer", { enumerable: true, get: function () { return Issuer_1.Issuer; } });
22
+ var IssuerData_1 = require("./IssuerData");
23
+ Object.defineProperty(exports, "IssuerData", { enumerable: true, get: function () { return IssuerData_1.IssuerData; } });
24
+ var IssuerDto_1 = require("./IssuerDto");
25
+ Object.defineProperty(exports, "IssuerDto", { enumerable: true, get: function () { return IssuerDto_1.IssuerDto; } });
26
+ var Item_1 = require("./Item");
27
+ Object.defineProperty(exports, "Item", { enumerable: true, get: function () { return Item_1.Item; } });
28
+ var PartialRefundsInfo_1 = require("./PartialRefundsInfo");
29
+ Object.defineProperty(exports, "PartialRefundsInfo", { enumerable: true, get: function () { return PartialRefundsInfo_1.PartialRefundsInfo; } });
30
+ var PaymentFacilitator_1 = require("./PaymentFacilitator");
31
+ Object.defineProperty(exports, "PaymentFacilitator", { enumerable: true, get: function () { return PaymentFacilitator_1.PaymentFacilitator; } });
32
+ var PaymentProcessor_1 = require("./PaymentProcessor");
33
+ Object.defineProperty(exports, "PaymentProcessor", { enumerable: true, get: function () { return PaymentProcessor_1.PaymentProcessor; } });
34
+ var PurchaseInfo_1 = require("./PurchaseInfo");
35
+ Object.defineProperty(exports, "PurchaseInfo", { enumerable: true, get: function () { return PurchaseInfo_1.PurchaseInfo; } });
36
+ var RefundInfo_1 = require("./RefundInfo");
37
+ Object.defineProperty(exports, "RefundInfo", { enumerable: true, get: function () { return RefundInfo_1.RefundInfo; } });
38
+ var ReserveInfo_1 = require("./ReserveInfo");
39
+ Object.defineProperty(exports, "ReserveInfo", { enumerable: true, get: function () { return ReserveInfo_1.ReserveInfo; } });
40
+ var Shipping_1 = require("./Shipping");
41
+ Object.defineProperty(exports, "Shipping", { enumerable: true, get: function () { return Shipping_1.Shipping; } });
42
+ var Transaction_1 = require("./Transaction");
43
+ Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return Transaction_1.Transaction; } });
44
+ var TransactionResult_1 = require("./TransactionResult");
45
+ Object.defineProperty(exports, "TransactionResult", { enumerable: true, get: function () { return TransactionResult_1.TransactionResult; } });
@@ -1,17 +1,17 @@
1
- import { CardStatus } from '../CardStatus';
2
- import { IssuerDto } from '.';
3
- export declare class Instrument {
4
- token: string;
5
- name: string;
6
- type: string;
7
- issuer: IssuerDto;
8
- expMonth: number;
9
- expYear: number;
10
- expInUtc: number;
11
- created: Date;
12
- status: CardStatus;
13
- tokenizationType: string;
14
- metadata: string;
15
- userId?: string;
16
- constructor(token: string, name: string, type: string, issuer: IssuerDto, expMonth: number, expYear: number, expInUtc: number, created: Date, status: CardStatus, tokenizationType: string, metadata: string, userId: string);
17
- }
1
+ import { CardStatus } from '../CardStatus';
2
+ import { IssuerDto } from '.';
3
+ export declare class Instrument {
4
+ token: string;
5
+ name: string;
6
+ type: string;
7
+ issuer: IssuerDto;
8
+ expMonth: number;
9
+ expYear: number;
10
+ expInUtc: number;
11
+ created: Date;
12
+ status: CardStatus;
13
+ tokenizationType: string;
14
+ metadata: string;
15
+ userId?: string;
16
+ constructor(token: string, name: string, type: string, issuer: IssuerDto, expMonth: number, expYear: number, expInUtc: number, created: Date, status: CardStatus, tokenizationType: string, metadata: string, userId: string);
17
+ }
@@ -1,21 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Instrument = void 0;
4
- var Instrument = /** @class */ (function () {
5
- function Instrument(token, name, type, issuer, expMonth, expYear, expInUtc, created, status, tokenizationType, metadata, userId) {
6
- this.token = token;
7
- this.name = name;
8
- this.type = type;
9
- this.issuer = issuer;
10
- this.expMonth = expMonth;
11
- this.expYear = expYear;
12
- this.expInUtc = expInUtc;
13
- this.created = created;
14
- this.status = status;
15
- this.tokenizationType = tokenizationType;
16
- this.metadata = metadata;
17
- this.userId = userId;
18
- }
19
- return Instrument;
20
- }());
21
- exports.Instrument = Instrument;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Instrument = void 0;
4
+ var Instrument = /** @class */ (function () {
5
+ function Instrument(token, name, type, issuer, expMonth, expYear, expInUtc, created, status, tokenizationType, metadata, userId) {
6
+ this.token = token;
7
+ this.name = name;
8
+ this.type = type;
9
+ this.issuer = issuer;
10
+ this.expMonth = expMonth;
11
+ this.expYear = expYear;
12
+ this.expInUtc = expInUtc;
13
+ this.created = created;
14
+ this.status = status;
15
+ this.tokenizationType = tokenizationType;
16
+ this.metadata = metadata;
17
+ this.userId = userId;
18
+ }
19
+ return Instrument;
20
+ }());
21
+ exports.Instrument = Instrument;
@@ -1,8 +1,8 @@
1
- export declare class Issuer {
2
- id: number;
3
- code: string;
4
- name: string;
5
- pictureUrl: string;
6
- type: string;
7
- constructor(id: number, code: string, name: string, pictureUrl: string, type: string);
8
- }
1
+ export declare class Issuer {
2
+ id: number;
3
+ code: string;
4
+ name: string;
5
+ pictureUrl: string;
6
+ type: string;
7
+ constructor(id: number, code: string, name: string, pictureUrl: string, type: string);
8
+ }
@@ -1,14 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Issuer = void 0;
4
- var Issuer = /** @class */ (function () {
5
- function Issuer(id, code, name, pictureUrl, type) {
6
- this.id = id;
7
- this.code = code;
8
- this.name = name;
9
- this.pictureUrl = pictureUrl;
10
- this.type = type;
11
- }
12
- return Issuer;
13
- }());
14
- exports.Issuer = Issuer;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Issuer = void 0;
4
+ var Issuer = /** @class */ (function () {
5
+ function Issuer(id, code, name, pictureUrl, type) {
6
+ this.id = id;
7
+ this.code = code;
8
+ this.name = name;
9
+ this.pictureUrl = pictureUrl;
10
+ this.type = type;
11
+ }
12
+ return Issuer;
13
+ }());
14
+ exports.Issuer = Issuer;
@@ -1,8 +1,8 @@
1
- export declare class IssuerData {
2
- issuerId: number;
3
- commerceId: number;
4
- paymentFacilitatorCommerceId?: number;
5
- paymentFacilitatorId?: number;
6
- metadata: string;
7
- constructor(issuerId: number, commerceId: number, paymentFacilitatorCommerceId: number, metadata: string);
8
- }
1
+ export declare class IssuerData {
2
+ issuerId: number;
3
+ commerceId: number;
4
+ paymentFacilitatorCommerceId?: number;
5
+ paymentFacilitatorId?: number;
6
+ metadata: string;
7
+ constructor(issuerId: number, commerceId: number, paymentFacilitatorCommerceId: number, metadata: string);
8
+ }
@@ -1,13 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IssuerData = void 0;
4
- var IssuerData = /** @class */ (function () {
5
- function IssuerData(issuerId, commerceId, paymentFacilitatorCommerceId, metadata) {
6
- this.issuerId = issuerId;
7
- this.commerceId = commerceId;
8
- this.paymentFacilitatorCommerceId = paymentFacilitatorCommerceId;
9
- this.metadata = metadata;
10
- }
11
- return IssuerData;
12
- }());
13
- exports.IssuerData = IssuerData;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IssuerData = void 0;
4
+ var IssuerData = /** @class */ (function () {
5
+ function IssuerData(issuerId, commerceId, paymentFacilitatorCommerceId, metadata) {
6
+ this.issuerId = issuerId;
7
+ this.commerceId = commerceId;
8
+ this.paymentFacilitatorCommerceId = paymentFacilitatorCommerceId;
9
+ this.metadata = metadata;
10
+ }
11
+ return IssuerData;
12
+ }());
13
+ exports.IssuerData = IssuerData;
@@ -1,5 +1,5 @@
1
- export declare class IssuerDto {
2
- id: string;
3
- name: string;
4
- constructor(id: string, name: string);
5
- }
1
+ export declare class IssuerDto {
2
+ id: string;
3
+ name: string;
4
+ constructor(id: string, name: string);
5
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IssuerDto = void 0;
4
- var IssuerDto = /** @class */ (function () {
5
- function IssuerDto(id, name) {
6
- this.id = id;
7
- this.name = name;
8
- }
9
- return IssuerDto;
10
- }());
11
- exports.IssuerDto = IssuerDto;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IssuerDto = void 0;
4
+ var IssuerDto = /** @class */ (function () {
5
+ function IssuerDto(id, name) {
6
+ this.id = id;
7
+ this.name = name;
8
+ }
9
+ return IssuerDto;
10
+ }());
11
+ exports.IssuerDto = IssuerDto;
@@ -1,14 +1,14 @@
1
- import { Currency } from '.';
2
- export declare class Item {
3
- id: string;
4
- transactionId: string;
5
- externalId: string;
6
- amount: number;
7
- name: string;
8
- description: string;
9
- quantity: number;
10
- metadata: string;
11
- creationDate?: Date;
12
- currency: Currency;
13
- constructor(id: string, transactionId: string, externalId: string, amount: number, name: string, description: string, quantity: number, metadata: string, creationDate: Date, currency: Currency);
14
- }
1
+ import { Currency } from '.';
2
+ export declare class Item {
3
+ id: string;
4
+ transactionId: string;
5
+ externalId: string;
6
+ amount: number;
7
+ name: string;
8
+ description: string;
9
+ quantity: number;
10
+ metadata: string;
11
+ creationDate?: Date;
12
+ currency: Currency;
13
+ constructor(id: string, transactionId: string, externalId: string, amount: number, name: string, description: string, quantity: number, metadata: string, creationDate: Date, currency: Currency);
14
+ }
@@ -1,19 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Item = void 0;
4
- var Item = /** @class */ (function () {
5
- function Item(id, transactionId, externalId, amount, name, description, quantity, metadata, creationDate, currency) {
6
- this.id = id;
7
- this.transactionId = transactionId;
8
- this.externalId = externalId;
9
- this.amount = amount;
10
- this.name = name;
11
- this.description = description;
12
- this.quantity = quantity;
13
- this.metadata = metadata;
14
- this.creationDate = creationDate;
15
- this.currency = currency;
16
- }
17
- return Item;
18
- }());
19
- exports.Item = Item;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Item = void 0;
4
+ var Item = /** @class */ (function () {
5
+ function Item(id, transactionId, externalId, amount, name, description, quantity, metadata, creationDate, currency) {
6
+ this.id = id;
7
+ this.transactionId = transactionId;
8
+ this.externalId = externalId;
9
+ this.amount = amount;
10
+ this.name = name;
11
+ this.description = description;
12
+ this.quantity = quantity;
13
+ this.metadata = metadata;
14
+ this.creationDate = creationDate;
15
+ this.currency = currency;
16
+ }
17
+ return Item;
18
+ }());
19
+ exports.Item = Item;
@@ -1,12 +1,12 @@
1
- export declare class PartialRefundsInfo {
2
- amount: number;
3
- status: number;
4
- externalId: string;
5
- transactionCode: number;
6
- resultText: string;
7
- executionDate: Date;
8
- authorization: string;
9
- metadata: string;
10
- ticket: string;
11
- constructor(amount: number, status: number, externalId: string, transactionCode: number, resultText: string, executionDate: Date, authorization: string, metadata: string, ticket: string);
12
- }
1
+ export declare class PartialRefundsInfo {
2
+ amount: number;
3
+ status: number;
4
+ externalId: string;
5
+ transactionCode: number;
6
+ resultText: string;
7
+ executionDate: Date;
8
+ authorization: string;
9
+ metadata: string;
10
+ ticket: string;
11
+ constructor(amount: number, status: number, externalId: string, transactionCode: number, resultText: string, executionDate: Date, authorization: string, metadata: string, ticket: string);
12
+ }
@@ -1,18 +1,18 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PartialRefundsInfo = void 0;
4
- var PartialRefundsInfo = /** @class */ (function () {
5
- function PartialRefundsInfo(amount, status, externalId, transactionCode, resultText, executionDate, authorization, metadata, ticket) {
6
- this.amount = amount;
7
- this.status = status;
8
- this.externalId = externalId;
9
- this.transactionCode = transactionCode;
10
- this.resultText = resultText;
11
- this.executionDate = executionDate;
12
- this.authorization = authorization;
13
- this.metadata = metadata;
14
- this.ticket = ticket;
15
- }
16
- return PartialRefundsInfo;
17
- }());
18
- exports.PartialRefundsInfo = PartialRefundsInfo;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartialRefundsInfo = void 0;
4
+ var PartialRefundsInfo = /** @class */ (function () {
5
+ function PartialRefundsInfo(amount, status, externalId, transactionCode, resultText, executionDate, authorization, metadata, ticket) {
6
+ this.amount = amount;
7
+ this.status = status;
8
+ this.externalId = externalId;
9
+ this.transactionCode = transactionCode;
10
+ this.resultText = resultText;
11
+ this.executionDate = executionDate;
12
+ this.authorization = authorization;
13
+ this.metadata = metadata;
14
+ this.ticket = ticket;
15
+ }
16
+ return PartialRefundsInfo;
17
+ }());
18
+ exports.PartialRefundsInfo = PartialRefundsInfo;
@@ -1,8 +1,8 @@
1
- import { Client } from '.';
2
- export declare class PaymentFacilitator {
3
- id: number;
4
- name: string;
5
- clientId: number;
6
- client: Client;
7
- constructor(id: number, name: string, clientId: number, client: Client);
8
- }
1
+ import { Client } from '.';
2
+ export declare class PaymentFacilitator {
3
+ id: number;
4
+ name: string;
5
+ clientId: number;
6
+ client: Client;
7
+ constructor(id: number, name: string, clientId: number, client: Client);
8
+ }
@@ -1,13 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentFacilitator = void 0;
4
- var PaymentFacilitator = /** @class */ (function () {
5
- function PaymentFacilitator(id, name, clientId, client) {
6
- this.id = id;
7
- this.name = name;
8
- this.clientId = clientId;
9
- this.client = client;
10
- }
11
- return PaymentFacilitator;
12
- }());
13
- exports.PaymentFacilitator = PaymentFacilitator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentFacilitator = void 0;
4
+ var PaymentFacilitator = /** @class */ (function () {
5
+ function PaymentFacilitator(id, name, clientId, client) {
6
+ this.id = id;
7
+ this.name = name;
8
+ this.clientId = clientId;
9
+ this.client = client;
10
+ }
11
+ return PaymentFacilitator;
12
+ }());
13
+ exports.PaymentFacilitator = PaymentFacilitator;
@@ -1,5 +1,5 @@
1
- export declare class PaymentProcessor {
2
- id?: number;
3
- acquirer: string;
4
- constructor(id: number, acquirer: string);
5
- }
1
+ export declare class PaymentProcessor {
2
+ id?: number;
3
+ acquirer: string;
4
+ constructor(id: number, acquirer: string);
5
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentProcessor = void 0;
4
- var PaymentProcessor = /** @class */ (function () {
5
- function PaymentProcessor(id, acquirer) {
6
- this.id = id;
7
- this.acquirer = acquirer;
8
- }
9
- return PaymentProcessor;
10
- }());
11
- exports.PaymentProcessor = PaymentProcessor;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentProcessor = void 0;
4
+ var PaymentProcessor = /** @class */ (function () {
5
+ function PaymentProcessor(id, acquirer) {
6
+ this.id = id;
7
+ this.acquirer = acquirer;
8
+ }
9
+ return PaymentProcessor;
10
+ }());
11
+ exports.PaymentProcessor = PaymentProcessor;
@@ -1,16 +1,16 @@
1
- export declare class PurchaseInfo {
2
- externalId: string;
3
- resultText: string;
4
- authorization: string;
5
- ticket: string;
6
- metadata: string;
7
- appliedLaw: number;
8
- discount: number;
9
- taxAmount?: number;
10
- commitFinalAmount?: number;
11
- status?: number;
12
- executionDate?: Date;
13
- expirationDate?: Date;
14
- transactionCode?: number;
15
- constructor(externalId: string, resultText: string, authorization: string, ticket: string, metadata: string, appliedLaw: number, discount: number, taxAmount: number, commitFinalAmount: number, status: number, executionDate: Date, expirationDate: Date, transactionCode: number);
16
- }
1
+ export declare class PurchaseInfo {
2
+ externalId: string;
3
+ resultText: string;
4
+ authorization: string;
5
+ ticket: string;
6
+ metadata: string;
7
+ appliedLaw: number;
8
+ discount: number;
9
+ taxAmount?: number;
10
+ commitFinalAmount?: number;
11
+ status?: number;
12
+ executionDate?: Date;
13
+ expirationDate?: Date;
14
+ transactionCode?: number;
15
+ constructor(externalId: string, resultText: string, authorization: string, ticket: string, metadata: string, appliedLaw: number, discount: number, taxAmount: number, commitFinalAmount: number, status: number, executionDate: Date, expirationDate: Date, transactionCode: number);
16
+ }