@houlak/plexo-sdk 0.1.2 → 0.1.4

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 (379) 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 +33 -32
  5. package/lib/PaymentGatewayClient.js +179 -90
  6. package/lib/config/config.d.ts +12 -12
  7. package/lib/config/config.js +16 -16
  8. package/lib/handler/PlexoHandler.d.ts +21 -21
  9. package/lib/handler/PlexoHandler.js +268 -266
  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 +5 -1
  15. package/lib/helpers/signature/signatureHelper.js +173 -52
  16. package/lib/index.d.ts +2 -2
  17. package/lib/index.js +6 -6
  18. package/lib/lib/logger.lib.d.ts +15 -15
  19. package/lib/lib/logger.lib.js +29 -29
  20. package/lib/models/ActionType.d.ts +9 -9
  21. package/lib/models/ActionType.js +13 -13
  22. package/lib/models/AmountLimit.d.ts +7 -7
  23. package/lib/models/AmountLimit.js +2 -2
  24. package/lib/models/Authorization.d.ts +16 -18
  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/CertificateHelper.d.ts +0 -0
  41. package/lib/models/CertificateHelper.js +152 -0
  42. package/lib/models/CertificateHelperFactory.js +12 -0
  43. package/lib/models/ClientRequest.d.ts +4 -4
  44. package/lib/models/ClientRequest.js +10 -10
  45. package/lib/models/ClientResponse.d.ts +6 -6
  46. package/lib/models/ClientResponse.js +29 -29
  47. package/lib/models/ClientSignedRequest.d.ts +4 -4
  48. package/lib/models/ClientSignedRequest.js +27 -27
  49. package/lib/models/ClientSignedResponse.d.ts +4 -4
  50. package/lib/models/ClientSignedResponse.js +27 -27
  51. package/lib/models/CodeAction.d.ts +10 -10
  52. package/lib/models/CodeAction.js +10 -10
  53. package/lib/models/CodeRequest.d.ts +5 -5
  54. package/lib/models/CodeRequest.js +2 -2
  55. package/lib/models/Commerce.d.ts +4 -4
  56. package/lib/models/Commerce.js +2 -2
  57. package/lib/models/CommerceIdRequest.d.ts +3 -3
  58. package/lib/models/CommerceIdRequest.js +2 -2
  59. package/lib/models/CommerceIssuerIdRequest.d.ts +4 -4
  60. package/lib/models/CommerceIssuerIdRequest.js +2 -2
  61. package/lib/models/CommerceModifyRequest.d.ts +4 -4
  62. package/lib/models/CommerceModifyRequest.js +2 -2
  63. package/lib/models/CommerceRequest.d.ts +3 -3
  64. package/lib/models/CommerceRequest.js +2 -2
  65. package/lib/models/CreateBankInstrumentRequest.d.ts +6 -6
  66. package/lib/models/CreateBankInstrumentRequest.js +2 -2
  67. package/lib/models/Currency.d.ts +6 -6
  68. package/lib/models/Currency.js +2 -2
  69. package/lib/models/DeleteInstrumentRequest.d.ts +6 -6
  70. package/lib/models/DeleteInstrumentRequest.js +29 -29
  71. package/lib/models/DisplayOptionsDto.d.ts +7 -7
  72. package/lib/models/DisplayOptionsDto.js +9 -9
  73. package/lib/models/ExpressCheckoutRequest.d.ts +6 -6
  74. package/lib/models/ExpressCheckoutRequest.js +2 -2
  75. package/lib/models/ExpressCheckoutSettingsDto.d.ts +6 -6
  76. package/lib/models/ExpressCheckoutSettingsDto.js +9 -9
  77. package/lib/models/ExtendedCredit.d.ts +4 -4
  78. package/lib/models/ExtendedCredit.js +2 -2
  79. package/lib/models/FieldInfo.d.ts +6 -6
  80. package/lib/models/FieldInfo.js +2 -2
  81. package/lib/models/FieldInfoPaymentProcessors.d.ts +6 -6
  82. package/lib/models/FieldInfoPaymentProcessors.js +11 -11
  83. package/lib/models/FieldType.d.ts +76 -76
  84. package/lib/models/FieldType.js +89 -89
  85. package/lib/models/FinancialInclusion.d.ts +8 -8
  86. package/lib/models/FinancialInclusion.js +2 -2
  87. package/lib/models/FinancialInclusionResult.d.ts +6 -6
  88. package/lib/models/FinancialInclusionResult.js +2 -2
  89. package/lib/models/GenericClientRequest.d.ts +5 -5
  90. package/lib/models/GenericClientRequest.js +29 -29
  91. package/lib/models/GenericClientSignedRequest.d.ts +4 -4
  92. package/lib/models/GenericClientSignedRequest.js +27 -27
  93. package/lib/models/GenericIssuerRequest.d.ts +5 -5
  94. package/lib/models/GenericIssuerRequest.js +29 -29
  95. package/lib/models/GenericIssuerSignedRequest.d.ts +4 -4
  96. package/lib/models/GenericIssuerSignedRequest.js +27 -27
  97. package/lib/models/GenericServerSignedResponse.d.ts +4 -4
  98. package/lib/models/GenericServerSignedResponse.js +27 -27
  99. package/lib/models/GenericSignedObject.d.ts +6 -6
  100. package/lib/models/GenericSignedObject.js +11 -11
  101. package/lib/models/GenericStateObject.d.ts +5 -5
  102. package/lib/models/GenericStateObject.js +29 -29
  103. package/lib/models/IClientCallback.d.ts +3 -3
  104. package/lib/models/IClientCallback.js +2 -2
  105. package/lib/models/IdentificationType.d.ts +6 -6
  106. package/lib/models/IdentificationType.js +10 -10
  107. package/lib/models/InclusionType.d.ts +5 -5
  108. package/lib/models/InclusionType.js +9 -9
  109. package/lib/models/IndexSDK.d.ts +33 -33
  110. package/lib/models/IndexSDK.js +39 -39
  111. package/lib/models/InfoLine.d.ts +4 -4
  112. package/lib/models/InfoLine.js +2 -2
  113. package/lib/models/InstrumentCallback.d.ts +9 -9
  114. package/lib/models/InstrumentCallback.js +31 -31
  115. package/lib/models/InstrumentWithMetadata.d.ts +6 -6
  116. package/lib/models/InstrumentWithMetadata.js +11 -11
  117. package/lib/models/IssuerData.d.ts +5 -5
  118. package/lib/models/IssuerData.js +2 -2
  119. package/lib/models/IssuerInfo.d.ts +14 -14
  120. package/lib/models/IssuerInfo.js +2 -2
  121. package/lib/models/IssuerProcessor.d.ts +7 -7
  122. package/lib/models/IssuerProcessor.js +12 -12
  123. package/lib/models/IssuerRequest.d.ts +4 -4
  124. package/lib/models/IssuerRequest.js +10 -10
  125. package/lib/models/IssuerSignedRequest.d.ts +4 -4
  126. package/lib/models/IssuerSignedRequest.js +27 -27
  127. package/lib/models/Item.d.ts +8 -8
  128. package/lib/models/Item.js +2 -2
  129. package/lib/models/PaymentInstrument.d.ts +20 -20
  130. package/lib/models/PaymentInstrument.js +2 -2
  131. package/lib/models/PaymentInstrumentInput.d.ts +6 -6
  132. package/lib/models/PaymentInstrumentInput.js +2 -2
  133. package/lib/models/PaymentProcessor.d.ts +6 -6
  134. package/lib/models/PaymentProcessor.js +11 -11
  135. package/lib/models/PaymentRequest.d.ts +17 -17
  136. package/lib/models/PaymentRequest.js +20 -20
  137. package/lib/models/PlexoSdkSettings.d.ts +8 -0
  138. package/lib/models/PlexoSdkSettings.js +14 -0
  139. package/lib/models/PublicKeyInfo.d.ts +4 -4
  140. package/lib/models/PublicKeyInfo.js +2 -2
  141. package/lib/models/Reference.d.ts +6 -6
  142. package/lib/models/Reference.js +11 -11
  143. package/lib/models/ReferenceType.d.ts +6 -6
  144. package/lib/models/ReferenceType.js +10 -10
  145. package/lib/models/Reserve.d.ts +6 -6
  146. package/lib/models/Reserve.js +29 -29
  147. package/lib/models/ReserveRequest.d.ts +6 -6
  148. package/lib/models/ReserveRequest.js +29 -29
  149. package/lib/models/ResultCodes.d.ts +30 -30
  150. package/lib/models/ResultCodes.js +35 -35
  151. package/lib/models/ServerResponse.d.ts +6 -6
  152. package/lib/models/ServerResponse.js +29 -29
  153. package/lib/models/ServerSignedCallback.d.ts +3 -3
  154. package/lib/models/ServerSignedCallback.js +27 -27
  155. package/lib/models/ServerSignedRequest.d.ts +3 -3
  156. package/lib/models/ServerSignedRequest.js +27 -27
  157. package/lib/models/ServerSignedResponse.d.ts +4 -4
  158. package/lib/models/ServerSignedResponse.js +27 -27
  159. package/lib/models/Session.d.ts +5 -5
  160. package/lib/models/Session.js +2 -2
  161. package/lib/models/Settings.d.ts +11 -0
  162. package/lib/models/Settings.js +19 -0
  163. package/lib/models/SignedObject.d.ts +6 -6
  164. package/lib/models/SignedObject.js +11 -11
  165. package/lib/models/StateObject.d.ts +5 -5
  166. package/lib/models/StateObject.js +11 -11
  167. package/lib/models/TimeLimit.d.ts +5 -5
  168. package/lib/models/TimeLimit.js +2 -2
  169. package/lib/models/TokenizationSettingsDto.d.ts +4 -4
  170. package/lib/models/TokenizationSettingsDto.js +9 -9
  171. package/lib/models/Transaction.d.ts +26 -26
  172. package/lib/models/Transaction.js +26 -26
  173. package/lib/models/TransactionCallback.d.ts +7 -7
  174. package/lib/models/TransactionCallback.js +29 -29
  175. package/lib/models/TransactionCursor.d.ts +6 -6
  176. package/lib/models/TransactionCursor.js +2 -2
  177. package/lib/models/TransactionInfo.d.ts +12 -12
  178. package/lib/models/TransactionInfo.js +2 -2
  179. package/lib/models/TransactionOrder.d.ts +5 -5
  180. package/lib/models/TransactionOrder.js +2 -2
  181. package/lib/models/TransactionQuery.d.ts +54 -54
  182. package/lib/models/TransactionQuery.js +47 -47
  183. package/lib/models/TransactionResult.d.ts +13 -13
  184. package/lib/models/TransactionResult.js +17 -17
  185. package/lib/models/TransactionType.d.ts +5 -5
  186. package/lib/models/TransactionType.js +9 -9
  187. package/lib/models/UIOptionsDto.d.ts +7 -7
  188. package/lib/models/UIOptionsDto.js +13 -13
  189. package/lib/models/WebFormSettingsDto.d.ts +8 -8
  190. package/lib/models/WebFormSettingsDto.js +9 -9
  191. package/lib/sdk/IPaymentGatewayClient.d.ts +31 -31
  192. package/lib/sdk/IPaymentGatewayClient.js +2 -2
  193. package/lib/sdk/PaymentGatewayClient.d.ts +32 -32
  194. package/lib/sdk/PaymentGatewayClient.js +378 -378
  195. package/lib/sdk/PaymentGatewayMock.d.ts +31 -31
  196. package/lib/sdk/PaymentGatewayMock.js +336 -336
  197. package/lib/sdk/enums/plexo-error-enum.d.ts +37 -37
  198. package/lib/sdk/enums/plexo-error-enum.js +45 -45
  199. package/lib/sdk/helpers/signature/signatureHelper.d.ts +10 -10
  200. package/lib/sdk/helpers/signature/signatureHelper.js +305 -315
  201. package/lib/sdk/helpers/signature/stringifyWithFloats.d.ts +1 -1
  202. package/lib/sdk/helpers/signature/stringifyWithFloats.js +71 -71
  203. package/lib/sdk/index.d.ts +4 -4
  204. package/lib/sdk/index.js +22 -22
  205. package/lib/sdk/mocks/mocks.d.ts +24 -24
  206. package/lib/sdk/mocks/mocks.js +180 -180
  207. package/lib/sdk/models/ActionType.d.ts +9 -9
  208. package/lib/sdk/models/ActionType.js +13 -13
  209. package/lib/sdk/models/AmountLimit.d.ts +7 -7
  210. package/lib/sdk/models/AmountLimit.js +2 -2
  211. package/lib/sdk/models/Authorization.d.ts +18 -18
  212. package/lib/sdk/models/Authorization.js +32 -32
  213. package/lib/sdk/models/AuthorizationInfo.d.ts +6 -6
  214. package/lib/sdk/models/AuthorizationInfo.js +11 -11
  215. package/lib/sdk/models/AuthorizationType.d.ts +5 -5
  216. package/lib/sdk/models/AuthorizationType.js +9 -9
  217. package/lib/sdk/models/BaseServerResponse.d.ts +7 -7
  218. package/lib/sdk/models/BaseServerResponse.js +12 -12
  219. package/lib/sdk/models/BuiltInPagesOptionsDto.d.ts +4 -4
  220. package/lib/sdk/models/BuiltInPagesOptionsDto.js +9 -9
  221. package/lib/sdk/models/CancelRequest.d.ts +6 -6
  222. package/lib/sdk/models/CancelRequest.js +29 -29
  223. package/lib/sdk/models/CardStatus.d.ts +7 -7
  224. package/lib/sdk/models/CardStatus.js +11 -11
  225. package/lib/sdk/models/CardTypes.d.ts +9 -9
  226. package/lib/sdk/models/CardTypes.js +13 -13
  227. package/lib/sdk/models/ClientRequest.d.ts +4 -4
  228. package/lib/sdk/models/ClientRequest.js +10 -10
  229. package/lib/sdk/models/ClientResponse.d.ts +6 -6
  230. package/lib/sdk/models/ClientResponse.js +29 -29
  231. package/lib/sdk/models/ClientSignedRequest.d.ts +4 -4
  232. package/lib/sdk/models/ClientSignedRequest.js +27 -27
  233. package/lib/sdk/models/ClientSignedResponse.d.ts +4 -4
  234. package/lib/sdk/models/ClientSignedResponse.js +27 -27
  235. package/lib/sdk/models/CodeAction.d.ts +10 -10
  236. package/lib/sdk/models/CodeAction.js +10 -10
  237. package/lib/sdk/models/CodeRequest.d.ts +5 -5
  238. package/lib/sdk/models/CodeRequest.js +2 -2
  239. package/lib/sdk/models/Commerce.d.ts +4 -4
  240. package/lib/sdk/models/Commerce.js +2 -2
  241. package/lib/sdk/models/CommerceIdRequest.d.ts +3 -3
  242. package/lib/sdk/models/CommerceIdRequest.js +2 -2
  243. package/lib/sdk/models/CommerceIssuerIdRequest.d.ts +4 -4
  244. package/lib/sdk/models/CommerceIssuerIdRequest.js +2 -2
  245. package/lib/sdk/models/CommerceModifyRequest.d.ts +4 -4
  246. package/lib/sdk/models/CommerceModifyRequest.js +2 -2
  247. package/lib/sdk/models/CommerceRequest.d.ts +3 -3
  248. package/lib/sdk/models/CommerceRequest.js +2 -2
  249. package/lib/sdk/models/CreateBankInstrumentRequest.d.ts +6 -6
  250. package/lib/sdk/models/CreateBankInstrumentRequest.js +2 -2
  251. package/lib/sdk/models/Currency.d.ts +6 -6
  252. package/lib/sdk/models/Currency.js +2 -2
  253. package/lib/sdk/models/DeleteInstrumentRequest.d.ts +6 -6
  254. package/lib/sdk/models/DeleteInstrumentRequest.js +29 -29
  255. package/lib/sdk/models/DisplayOptionsDto.d.ts +7 -7
  256. package/lib/sdk/models/DisplayOptionsDto.js +9 -9
  257. package/lib/sdk/models/ExpressCheckoutRequest.d.ts +6 -6
  258. package/lib/sdk/models/ExpressCheckoutRequest.js +2 -2
  259. package/lib/sdk/models/ExpressCheckoutSettingsDto.d.ts +6 -6
  260. package/lib/sdk/models/ExpressCheckoutSettingsDto.js +9 -9
  261. package/lib/sdk/models/ExtendedCredit.d.ts +4 -4
  262. package/lib/sdk/models/ExtendedCredit.js +2 -2
  263. package/lib/sdk/models/FieldInfo.d.ts +6 -6
  264. package/lib/sdk/models/FieldInfo.js +2 -2
  265. package/lib/sdk/models/FieldInfoPaymentProcessors.d.ts +6 -6
  266. package/lib/sdk/models/FieldInfoPaymentProcessors.js +11 -11
  267. package/lib/sdk/models/FieldType.d.ts +76 -76
  268. package/lib/sdk/models/FieldType.js +89 -89
  269. package/lib/sdk/models/FinancialInclusion.d.ts +9 -9
  270. package/lib/sdk/models/FinancialInclusion.js +2 -2
  271. package/lib/sdk/models/FinancialInclusionResult.d.ts +6 -6
  272. package/lib/sdk/models/FinancialInclusionResult.js +2 -2
  273. package/lib/sdk/models/GenericClientRequest.d.ts +5 -5
  274. package/lib/sdk/models/GenericClientRequest.js +29 -29
  275. package/lib/sdk/models/GenericClientSignedRequest.d.ts +4 -4
  276. package/lib/sdk/models/GenericClientSignedRequest.js +27 -27
  277. package/lib/sdk/models/GenericIssuerRequest.d.ts +5 -5
  278. package/lib/sdk/models/GenericIssuerRequest.js +29 -29
  279. package/lib/sdk/models/GenericIssuerSignedRequest.d.ts +4 -4
  280. package/lib/sdk/models/GenericIssuerSignedRequest.js +27 -27
  281. package/lib/sdk/models/GenericServerSignedResponse.d.ts +4 -4
  282. package/lib/sdk/models/GenericServerSignedResponse.js +27 -27
  283. package/lib/sdk/models/GenericSignedObject.d.ts +6 -6
  284. package/lib/sdk/models/GenericSignedObject.js +11 -11
  285. package/lib/sdk/models/GenericStateObject.d.ts +5 -5
  286. package/lib/sdk/models/GenericStateObject.js +29 -29
  287. package/lib/sdk/models/IClientCallback.d.ts +3 -3
  288. package/lib/sdk/models/IClientCallback.js +2 -2
  289. package/lib/sdk/models/IdentificationType.d.ts +6 -6
  290. package/lib/sdk/models/IdentificationType.js +10 -10
  291. package/lib/sdk/models/InclusionType.d.ts +5 -5
  292. package/lib/sdk/models/InclusionType.js +9 -9
  293. package/lib/sdk/models/IndexSDK.d.ts +84 -84
  294. package/lib/sdk/models/IndexSDK.js +112 -112
  295. package/lib/sdk/models/InfoLine.d.ts +4 -4
  296. package/lib/sdk/models/InfoLine.js +2 -2
  297. package/lib/sdk/models/InstrumentCallback.d.ts +9 -9
  298. package/lib/sdk/models/InstrumentCallback.js +31 -31
  299. package/lib/sdk/models/InstrumentWithMetadata.d.ts +6 -6
  300. package/lib/sdk/models/InstrumentWithMetadata.js +11 -11
  301. package/lib/sdk/models/IssuerData.d.ts +5 -5
  302. package/lib/sdk/models/IssuerData.js +2 -2
  303. package/lib/sdk/models/IssuerInfo.d.ts +14 -14
  304. package/lib/sdk/models/IssuerInfo.js +2 -2
  305. package/lib/sdk/models/IssuerProcessor.d.ts +7 -7
  306. package/lib/sdk/models/IssuerProcessor.js +12 -12
  307. package/lib/sdk/models/IssuerRequest.d.ts +4 -4
  308. package/lib/sdk/models/IssuerRequest.js +10 -10
  309. package/lib/sdk/models/IssuerSignedRequest.d.ts +4 -4
  310. package/lib/sdk/models/IssuerSignedRequest.js +27 -27
  311. package/lib/sdk/models/Item.d.ts +8 -8
  312. package/lib/sdk/models/Item.js +2 -2
  313. package/lib/sdk/models/PaymentInstrument.d.ts +18 -18
  314. package/lib/sdk/models/PaymentInstrument.js +2 -2
  315. package/lib/sdk/models/PaymentInstrumentInput.d.ts +6 -6
  316. package/lib/sdk/models/PaymentInstrumentInput.js +2 -2
  317. package/lib/sdk/models/PaymentProcessor.d.ts +6 -6
  318. package/lib/sdk/models/PaymentProcessor.js +11 -11
  319. package/lib/sdk/models/PaymentRequest.d.ts +17 -17
  320. package/lib/sdk/models/PaymentRequest.js +20 -20
  321. package/lib/sdk/models/PlexoSdkSettings.d.ts +8 -8
  322. package/lib/sdk/models/PlexoSdkSettings.js +14 -14
  323. package/lib/sdk/models/PublicKeyInfo.d.ts +4 -4
  324. package/lib/sdk/models/PublicKeyInfo.js +2 -2
  325. package/lib/sdk/models/Reference.d.ts +6 -6
  326. package/lib/sdk/models/Reference.js +11 -11
  327. package/lib/sdk/models/ReferenceType.d.ts +6 -6
  328. package/lib/sdk/models/ReferenceType.js +10 -10
  329. package/lib/sdk/models/Reserve.d.ts +6 -6
  330. package/lib/sdk/models/Reserve.js +29 -29
  331. package/lib/sdk/models/ReserveRequest.d.ts +6 -6
  332. package/lib/sdk/models/ReserveRequest.js +29 -29
  333. package/lib/sdk/models/ResultCodes.d.ts +30 -30
  334. package/lib/sdk/models/ResultCodes.js +35 -35
  335. package/lib/sdk/models/ServerResponse.d.ts +6 -6
  336. package/lib/sdk/models/ServerResponse.js +29 -29
  337. package/lib/sdk/models/ServerSignedCallback.d.ts +3 -3
  338. package/lib/sdk/models/ServerSignedCallback.js +27 -27
  339. package/lib/sdk/models/ServerSignedRequest.d.ts +3 -3
  340. package/lib/sdk/models/ServerSignedRequest.js +27 -27
  341. package/lib/sdk/models/ServerSignedResponse.d.ts +4 -4
  342. package/lib/sdk/models/ServerSignedResponse.js +27 -27
  343. package/lib/sdk/models/Session.d.ts +5 -5
  344. package/lib/sdk/models/Session.js +2 -2
  345. package/lib/sdk/models/Settings.d.ts +11 -11
  346. package/lib/sdk/models/Settings.js +19 -19
  347. package/lib/sdk/models/SignedObject.d.ts +6 -6
  348. package/lib/sdk/models/SignedObject.js +11 -11
  349. package/lib/sdk/models/StateObject.d.ts +5 -5
  350. package/lib/sdk/models/StateObject.js +11 -11
  351. package/lib/sdk/models/TimeLimit.d.ts +5 -5
  352. package/lib/sdk/models/TimeLimit.js +2 -2
  353. package/lib/sdk/models/TokenizationSettingsDto.d.ts +4 -4
  354. package/lib/sdk/models/TokenizationSettingsDto.js +9 -9
  355. package/lib/sdk/models/Transaction.d.ts +31 -31
  356. package/lib/sdk/models/Transaction.js +26 -26
  357. package/lib/sdk/models/TransactionCallback.d.ts +7 -7
  358. package/lib/sdk/models/TransactionCallback.js +29 -29
  359. package/lib/sdk/models/TransactionCursor.d.ts +6 -6
  360. package/lib/sdk/models/TransactionCursor.js +2 -2
  361. package/lib/sdk/models/TransactionInfo.d.ts +12 -12
  362. package/lib/sdk/models/TransactionInfo.js +2 -2
  363. package/lib/sdk/models/TransactionOrder.d.ts +5 -5
  364. package/lib/sdk/models/TransactionOrder.js +2 -2
  365. package/lib/sdk/models/TransactionQuery.d.ts +54 -54
  366. package/lib/sdk/models/TransactionQuery.js +47 -47
  367. package/lib/sdk/models/TransactionResult.d.ts +13 -13
  368. package/lib/sdk/models/TransactionResult.js +17 -17
  369. package/lib/sdk/models/TransactionType.d.ts +5 -5
  370. package/lib/sdk/models/TransactionType.js +9 -9
  371. package/lib/sdk/models/UIOptionsDto.d.ts +8 -8
  372. package/lib/sdk/models/UIOptionsDto.js +13 -13
  373. package/lib/sdk/models/WebFormSettingsDto.d.ts +8 -8
  374. package/lib/sdk/models/WebFormSettingsDto.js +9 -9
  375. package/lib/sdk/types/signatureHelper.type.d.ts +5 -5
  376. package/lib/sdk/types/signatureHelper.type.js +2 -2
  377. package/lib/sdk/types/ui_options_dto.type.d.ts +6 -6
  378. package/lib/sdk/types/ui_options_dto.type.js +2 -2
  379. package/package.json +52 -52
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+ /*export class CertificateHelper
3
+ {
4
+ internal Dictionary<string, SignatureHelper> _verifyKeys = new Dictionary<string,
5
+ SignatureHelper>();
6
+ internal SemaphoreSlim _serverCertSemaphore = new SemaphoreSlim(1);
7
+
8
+ public CertificateHelper()
9
+ {
10
+ if (string.IsNullOrWhiteSpace(Settings.ClientName))
11
+ {
12
+ throw new ConfigurationException(("en", "Invalid Client line in configuration"),
13
+ ("es", "La Linea del cliente en la configuracion es invalida"));
14
+ }
15
+
16
+ if (string.IsNullOrWhiteSpace(Settings.CertificateName))
17
+ {
18
+ throw new ConfigurationException(("en", "Invalid certificate name in conf
19
+ iguration"),
20
+ ("es", "La Linea del nombre del certificado cliente en la configura
21
+ cion es invalida"));
22
+ }
23
+
24
+ var x509Certificate = SearchCertificate(Settings.CertificateName, Settings.Certi
25
+ ficatePassword, Settings.CertificatePath);
26
+ if (x509Certificate == null)
27
+ {
28
+ throw new CertificateException(
29
+ ("en",
30
+ $"Unable to find Certificate '{Settings.CertificateName.Trim()}' i
31
+ n the X509 Store, please make sure that the user using this context has sec
32
+ urity access to the certificate"),
33
+ ("es",
34
+ $"No puedo encontar el certificado '{Settings.CertificateName.Trim()
35
+ }' el el Store de Certficado, asegurese que
36
+ el certificado este instalado, y que el
37
+ usuario que corrar el
38
+ contexto de la aplicacion tenga permisos para acceder a este"));
39
+ }
40
+
41
+ ClientSignKeys.Add(Settings.Clien
42
+ tName.Trim(), new SignatureHelper(x509Certificate, true));
43
+ }
44
+
45
+ private Dictionary<string, SignatureHelper> ClientSignKeys { get; } =
46
+ new Dictionary<string, SignatureHelper>();
47
+
48
+ public T SignClient<T, TS>(string clientname, TS obj) where T : SignedObject<TS>, new()
49
+ {
50
+ if (ClientSignKeys.ContainsKey(clientname))
51
+ {
52
+ return ClientSignKeys[clientname].Sign<T, TS>(obj);
53
+ }
54
+
55
+ throw new CertificateException(("en", $"Unable to find certi
56
+ ficate for client '{clientname}'"),
57
+ ("es", $"No puedo encontrar certificado para el cliente '{clientname}'"));
58
+ }
59
+
60
+ private static byte[] ReadStream(Stream input)
61
+ {
62
+ byte[] buffer = new byte[16 * 1024];
63
+ using (MemoryStream ms = new MemoryStream())
64
+ {
65
+ int read;
66
+ while ((read = input.Read(buffer, 0, buffer.Length)) > 0)
67
+ {
68
+ ms.Write(buffer, 0, read);
69
+ }
70
+ return ms.ToArray();
71
+ }
72
+ }
73
+
74
+ private X509Certificate2 SearchCertificate(string certname, string password, string path)
75
+ {
76
+ StoreName[] stores;
77
+ X509Certificate2 localCertificate = null;
78
+
79
+ // Get the certificate from the operative system key store
80
+ if (PlatformHelper.IsWindows())
81
+ {
82
+ stores = new StoreName[]
83
+ {
84
+ StoreName.My, StoreName.TrustedPublisher, StoreName.Tru
85
+ stedPeople, StoreName.Root,
86
+ StoreName.CertificateAuthority, StoreName.AuthRoot, StoreName.AddressBook
87
+ };
88
+ }
89
+ else if (PlatformHelper.IsLinux())
90
+ {
91
+ stores = new StoreName[]
92
+ {
93
+ StoreName.Root,
94
+ StoreName.CertificateAuthority
95
+ };
96
+ }
97
+ else
98
+ {
99
+ throw new PlatformNotSupportedException();
100
+ }
101
+
102
+ StoreLocation[] locations = { StoreLocation.CurrentU
103
+ ser, StoreLocation.LocalMachine };
104
+
105
+ foreach (var location in locations)
106
+ {
107
+ foreach (var s in stores)
108
+ {
109
+ var store = new X509Store(s, location);
110
+ store.Open(OpenFlags.ReadOnly);
111
+ foreach (var m in store.Certificates)
112
+ {
113
+ if (m.Subject.IndexOf("CN=" + certname, 0, StringC
114
+ omparison.InvariantCultureIgnoreCase) >= 0 ||
115
+ m.Issuer.IndexOf("CN=" + certname, 0, StringComparis
116
+ on.InvariantCultureIgnoreCase) >= 0)
117
+ {
118
+ store.Close();
119
+ localCertificate = m;
120
+ }
121
+ }
122
+
123
+ store.Close();
124
+ }
125
+ }
126
+
127
+ // As fallback use application's filesystem private key
128
+ if (localCertificate == null)
129
+ {
130
+ if (string.IsNullOrEmpty(path))
131
+ {
132
+ throw new ConfigurationException(("en", "A path mu
133
+ st be set if certificate is not installed on the system"),
134
+ ("es", "Se debe establecer una ruta si el certif
135
+ icado no está instalado en el sistema"));
136
+ }
137
+
138
+ var pathToCertificate = Path.GetFullPath(Path.Combine(path, $"{certname}.pfx"));
139
+
140
+ using (var stream = File.Open(pathToCertificate, FileMode.Open))
141
+ {
142
+ var certificatePassword = password;
143
+
144
+ var cert = new X509Certificate2(ReadStre
145
+ am(stream), certificatePassword, X509KeyStorageFlags.MachineKeySet);
146
+ bool result = cert.Verify();
147
+ return cert;
148
+ }
149
+ }
150
+ return localCertificate;
151
+ }
152
+ }*/
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CertificateHelperFactory = void 0;
4
+ var CertificateHelperFactory = /** @class */ (function () {
5
+ function CertificateHelperFactory() {
6
+ }
7
+ CertificateHelperFactory.Instance = CertificateHelperFactory._instance
8
+ ? CertificateHelperFactory._instance
9
+ : new CertificateHelper();
10
+ return CertificateHelperFactory;
11
+ }());
12
+ exports.CertificateHelperFactory = CertificateHelperFactory;
@@ -1,4 +1,4 @@
1
- export declare class ClientRequest {
2
- client: string;
3
- constructor(client: string);
4
- }
1
+ export declare class ClientRequest {
2
+ client: string;
3
+ constructor(client: string);
4
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ClientRequest = void 0;
4
- var ClientRequest = /** @class */ (function () {
5
- function ClientRequest(client) {
6
- this.client = client;
7
- }
8
- return ClientRequest;
9
- }());
10
- exports.ClientRequest = ClientRequest;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClientRequest = void 0;
4
+ var ClientRequest = /** @class */ (function () {
5
+ function ClientRequest(client) {
6
+ this.client = client;
7
+ }
8
+ return ClientRequest;
9
+ }());
10
+ exports.ClientRequest = ClientRequest;
@@ -1,6 +1,6 @@
1
- import { ResultCodes } from '..';
2
- import { BaseServerResponse } from './BaseServerResponse';
3
- export declare class ClientResponse extends BaseServerResponse {
4
- client: string;
5
- constructor(client: string, resultCode: ResultCodes);
6
- }
1
+ import { ResultCodes } from '..';
2
+ import { BaseServerResponse } from './BaseServerResponse';
3
+ export declare class ClientResponse extends BaseServerResponse {
4
+ client: string;
5
+ constructor(client: string, resultCode: ResultCodes);
6
+ }
@@ -1,29 +1,29 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ClientResponse = void 0;
19
- var BaseServerResponse_1 = require("./BaseServerResponse");
20
- var ClientResponse = /** @class */ (function (_super) {
21
- __extends(ClientResponse, _super);
22
- function ClientResponse(client, resultCode) {
23
- var _this = _super.call(this, resultCode) || this;
24
- _this.client = client;
25
- return _this;
26
- }
27
- return ClientResponse;
28
- }(BaseServerResponse_1.BaseServerResponse));
29
- exports.ClientResponse = ClientResponse;
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.ClientResponse = void 0;
19
+ var BaseServerResponse_1 = require("./BaseServerResponse");
20
+ var ClientResponse = /** @class */ (function (_super) {
21
+ __extends(ClientResponse, _super);
22
+ function ClientResponse(client, resultCode) {
23
+ var _this = _super.call(this, resultCode) || this;
24
+ _this.client = client;
25
+ return _this;
26
+ }
27
+ return ClientResponse;
28
+ }(BaseServerResponse_1.BaseServerResponse));
29
+ exports.ClientResponse = ClientResponse;
@@ -1,4 +1,4 @@
1
- import { ClientRequest } from './ClientRequest';
2
- import { GenericSignedObject } from './GenericSignedObject';
3
- export declare class ClientSignedRequest extends GenericSignedObject<ClientRequest> {
4
- }
1
+ import { ClientRequest } from './ClientRequest';
2
+ import { GenericSignedObject } from './GenericSignedObject';
3
+ export declare class ClientSignedRequest extends GenericSignedObject<ClientRequest> {
4
+ }
@@ -1,27 +1,27 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ClientSignedRequest = void 0;
19
- var GenericSignedObject_1 = require("./GenericSignedObject");
20
- var ClientSignedRequest = /** @class */ (function (_super) {
21
- __extends(ClientSignedRequest, _super);
22
- function ClientSignedRequest() {
23
- return _super !== null && _super.apply(this, arguments) || this;
24
- }
25
- return ClientSignedRequest;
26
- }(GenericSignedObject_1.GenericSignedObject));
27
- exports.ClientSignedRequest = ClientSignedRequest;
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.ClientSignedRequest = void 0;
19
+ var GenericSignedObject_1 = require("./GenericSignedObject");
20
+ var ClientSignedRequest = /** @class */ (function (_super) {
21
+ __extends(ClientSignedRequest, _super);
22
+ function ClientSignedRequest() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ClientSignedRequest;
26
+ }(GenericSignedObject_1.GenericSignedObject));
27
+ exports.ClientSignedRequest = ClientSignedRequest;
@@ -1,4 +1,4 @@
1
- import { ClientResponse } from './ClientResponse';
2
- import { GenericSignedObject } from './GenericSignedObject';
3
- export declare class ClientSignedResponse extends GenericSignedObject<ClientResponse> {
4
- }
1
+ import { ClientResponse } from './ClientResponse';
2
+ import { GenericSignedObject } from './GenericSignedObject';
3
+ export declare class ClientSignedResponse extends GenericSignedObject<ClientResponse> {
4
+ }
@@ -1,27 +1,27 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ClientSignedResponse = void 0;
19
- var GenericSignedObject_1 = require("./GenericSignedObject");
20
- var ClientSignedResponse = /** @class */ (function (_super) {
21
- __extends(ClientSignedResponse, _super);
22
- function ClientSignedResponse() {
23
- return _super !== null && _super.apply(this, arguments) || this;
24
- }
25
- return ClientSignedResponse;
26
- }(GenericSignedObject_1.GenericSignedObject));
27
- exports.ClientSignedResponse = ClientSignedResponse;
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.ClientSignedResponse = void 0;
19
+ var GenericSignedObject_1 = require("./GenericSignedObject");
20
+ var ClientSignedResponse = /** @class */ (function (_super) {
21
+ __extends(ClientSignedResponse, _super);
22
+ function ClientSignedResponse() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ClientSignedResponse;
26
+ }(GenericSignedObject_1.GenericSignedObject));
27
+ exports.ClientSignedResponse = ClientSignedResponse;
@@ -1,10 +1,10 @@
1
- export declare enum CodeAction {
2
- Query = 0,
3
- Pay = 1,
4
- Deny = 2,
5
- EndCancelation = 3
6
- }
7
- export declare type PaymentCode = {
8
- code: string;
9
- url: string;
10
- };
1
+ export declare enum CodeAction {
2
+ Query = 0,
3
+ Pay = 1,
4
+ Deny = 2,
5
+ EndCancelation = 3
6
+ }
7
+ export declare type PaymentCode = {
8
+ code: string;
9
+ url: string;
10
+ };
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CodeAction = void 0;
4
- var CodeAction;
5
- (function (CodeAction) {
6
- CodeAction[CodeAction["Query"] = 0] = "Query";
7
- CodeAction[CodeAction["Pay"] = 1] = "Pay";
8
- CodeAction[CodeAction["Deny"] = 2] = "Deny";
9
- CodeAction[CodeAction["EndCancelation"] = 3] = "EndCancelation";
10
- })(CodeAction = exports.CodeAction || (exports.CodeAction = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CodeAction = void 0;
4
+ var CodeAction;
5
+ (function (CodeAction) {
6
+ CodeAction[CodeAction["Query"] = 0] = "Query";
7
+ CodeAction[CodeAction["Pay"] = 1] = "Pay";
8
+ CodeAction[CodeAction["Deny"] = 2] = "Deny";
9
+ CodeAction[CodeAction["EndCancelation"] = 3] = "EndCancelation";
10
+ })(CodeAction = exports.CodeAction || (exports.CodeAction = {}));
@@ -1,5 +1,5 @@
1
- import { CodeAction } from './CodeAction';
2
- export declare type CodeRequest = {
3
- code: string;
4
- action: CodeAction;
5
- };
1
+ import { CodeAction } from './CodeAction';
2
+ export declare type CodeRequest = {
3
+ code: string;
4
+ action: CodeAction;
5
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export declare type Commerce = {
2
- commerceId: number;
3
- name: string;
4
- };
1
+ export declare type Commerce = {
2
+ commerceId: number;
3
+ name: string;
4
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,3 @@
1
- export declare type CommerceIdRequest = {
2
- commerceId: number;
3
- };
1
+ export declare type CommerceIdRequest = {
2
+ commerceId: number;
3
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export declare type CommerceIssuerIdRequest = {
2
- commerceId: number;
3
- issuerId: number;
4
- };
1
+ export declare type CommerceIssuerIdRequest = {
2
+ commerceId: number;
3
+ issuerId: number;
4
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export declare type CommerceModifyRequest = {
2
- commerceId: number;
3
- name: string;
4
- };
1
+ export declare type CommerceModifyRequest = {
2
+ commerceId: number;
3
+ name: string;
4
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,3 @@
1
- export declare type CommerceRequest = {
2
- name: string;
3
- };
1
+ export declare type CommerceRequest = {
2
+ name: string;
3
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
- import { AuthorizationInfo } from './AuthorizationInfo';
2
- export declare type CreateBankInstrumentRequest = {
3
- issuerId: number;
4
- user: AuthorizationInfo;
5
- instrumentData: any;
6
- };
1
+ import { AuthorizationInfo } from './AuthorizationInfo';
2
+ export declare type CreateBankInstrumentRequest = {
3
+ issuerId: number;
4
+ user: AuthorizationInfo;
5
+ instrumentData: any;
6
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
- export declare type Currency = {
2
- currencyId: number;
3
- name: string;
4
- plural: string;
5
- symbol: string;
6
- };
1
+ export declare type Currency = {
2
+ currencyId: number;
3
+ name: string;
4
+ plural: string;
5
+ symbol: string;
6
+ };
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
- import { AuthorizationType } from '..';
2
- import { AuthorizationInfo } from './AuthorizationInfo';
3
- export declare class DeleteInstrumentRequest extends AuthorizationInfo {
4
- instrumentToken: string;
5
- constructor(instrumentToken: string, type: AuthorizationType, metaReference: string);
6
- }
1
+ import { AuthorizationType } from '..';
2
+ import { AuthorizationInfo } from './AuthorizationInfo';
3
+ export declare class DeleteInstrumentRequest extends AuthorizationInfo {
4
+ instrumentToken: string;
5
+ constructor(instrumentToken: string, type: AuthorizationType, metaReference: string);
6
+ }