@houlak/plexo-sdk 0.1.13 → 0.1.14-h

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