@fiado/api-invoker 1.3.83 → 1.3.85

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 (332) hide show
  1. package/package.json +1 -1
  2. package/src/centralPayments/CentralPaymentsConnectorApi.ts +1 -1
  3. package/src/centralPayments/interfaces/ICentralPaymentsConnectorApi.ts +1 -1
  4. package/src/transaction/api/interfaces/ITransactionApi.ts +35 -16
  5. package/bin/account-beneficiary/AccountBeneficiaryApi.d.ts +0 -10
  6. package/bin/account-beneficiary/AccountBeneficiaryApi.js +0 -32
  7. package/bin/account-beneficiary/index.d.ts +0 -2
  8. package/bin/account-beneficiary/index.js +0 -18
  9. package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.d.ts +0 -5
  10. package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.js +0 -2
  11. package/bin/account-fiadoinc/AccountFiadoIncApi.d.ts +0 -32
  12. package/bin/account-fiadoinc/AccountFiadoIncApi.js +0 -84
  13. package/bin/account-fiadoinc/index.d.ts +0 -4
  14. package/bin/account-fiadoinc/index.js +0 -20
  15. package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.d.ts +0 -18
  16. package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.js +0 -2
  17. package/bin/account-fiadoinc/queue/Publisher.d.ts +0 -9
  18. package/bin/account-fiadoinc/queue/Publisher.js +0 -34
  19. package/bin/account-fiadoinc/queue/interfaces/IPublisher.d.ts +0 -7
  20. package/bin/account-fiadoinc/queue/interfaces/IPublisher.js +0 -2
  21. package/bin/account-fiadosa/AccountFiadoSAApi.d.ts +0 -15
  22. package/bin/account-fiadosa/AccountFiadoSAApi.js +0 -47
  23. package/bin/account-fiadosa/index.d.ts +0 -2
  24. package/bin/account-fiadosa/index.js +0 -18
  25. package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.d.ts +0 -10
  26. package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.js +0 -2
  27. package/bin/account-pagoconfiado/AccountPagoConfiadoApi.d.ts +0 -17
  28. package/bin/account-pagoconfiado/AccountPagoConfiadoApi.js +0 -55
  29. package/bin/account-pagoconfiado/index.d.ts +0 -2
  30. package/bin/account-pagoconfiado/index.js +0 -18
  31. package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.d.ts +0 -12
  32. package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.js +0 -2
  33. package/bin/activity-business/ActivityApi.d.ts +0 -12
  34. package/bin/activity-business/ActivityApi.js +0 -49
  35. package/bin/activity-business/index.d.ts +0 -4
  36. package/bin/activity-business/index.js +0 -20
  37. package/bin/activity-business/interfaces/IActivityApi.d.ts +0 -7
  38. package/bin/activity-business/interfaces/IActivityApi.js +0 -2
  39. package/bin/activity-business/queue/ActivityPublisher.d.ts +0 -6
  40. package/bin/activity-business/queue/ActivityPublisher.js +0 -36
  41. package/bin/activity-business/queue/IActivityPublisher.d.ts +0 -4
  42. package/bin/activity-business/queue/IActivityPublisher.js +0 -2
  43. package/bin/address/AddressApi.d.ts +0 -13
  44. package/bin/address/AddressApi.js +0 -55
  45. package/bin/address/index.d.ts +0 -2
  46. package/bin/address/index.js +0 -18
  47. package/bin/address/interfaces/IAddressApi.d.ts +0 -26
  48. package/bin/address/interfaces/IAddressApi.js +0 -2
  49. package/bin/appselectondata/AppSelectionDataApi.d.ts +0 -12
  50. package/bin/appselectondata/AppSelectionDataApi.js +0 -47
  51. package/bin/appselectondata/index.d.ts +0 -2
  52. package/bin/appselectondata/index.js +0 -18
  53. package/bin/appselectondata/interfaces/IAppSelectionDataApi.d.ts +0 -18
  54. package/bin/appselectondata/interfaces/IAppSelectionDataApi.js +0 -2
  55. package/bin/authentication/AuthenticationApi.d.ts +0 -8
  56. package/bin/authentication/AuthenticationApi.js +0 -32
  57. package/bin/authentication/index.d.ts +0 -2
  58. package/bin/authentication/index.js +0 -18
  59. package/bin/authentication/interfaces/IAuthenticationApi.d.ts +0 -4
  60. package/bin/authentication/interfaces/IAuthenticationApi.js +0 -2
  61. package/bin/bankAccount/BankAccountApi.d.ts +0 -13
  62. package/bin/bankAccount/BankAccountApi.js +0 -43
  63. package/bin/bankAccount/index.d.ts +0 -2
  64. package/bin/bankAccount/index.js +0 -18
  65. package/bin/bankAccount/interfaces/IBankAccountApi.d.ts +0 -5
  66. package/bin/bankAccount/interfaces/IBankAccountApi.js +0 -2
  67. package/bin/bbvaRst/api/BBVARstApi.d.ts +0 -9
  68. package/bin/bbvaRst/api/BBVARstApi.js +0 -32
  69. package/bin/bbvaRst/api/interfaces/IBBVARstApi.d.ts +0 -4
  70. package/bin/bbvaRst/api/interfaces/IBBVARstApi.js +0 -2
  71. package/bin/bbvaRst/index.d.ts +0 -2
  72. package/bin/bbvaRst/index.js +0 -18
  73. package/bin/blacklist/BlackListApi.d.ts +0 -12
  74. package/bin/blacklist/BlackListApi.js +0 -37
  75. package/bin/blacklist/index.d.ts +0 -2
  76. package/bin/blacklist/index.js +0 -18
  77. package/bin/blacklist/interfaces/IBlackListApi.d.ts +0 -17
  78. package/bin/blacklist/interfaces/IBlackListApi.js +0 -2
  79. package/bin/card/CardApi.d.ts +0 -21
  80. package/bin/card/CardApi.js +0 -69
  81. package/bin/card/index.d.ts +0 -2
  82. package/bin/card/index.js +0 -18
  83. package/bin/card/interfaces/ICardApi.d.ts +0 -15
  84. package/bin/card/interfaces/ICardApi.js +0 -2
  85. package/bin/centralPayments/CentralPaymentsConnectorApi.d.ts +0 -67
  86. package/bin/centralPayments/CentralPaymentsConnectorApi.js +0 -223
  87. package/bin/centralPayments/index.d.ts +0 -2
  88. package/bin/centralPayments/index.js +0 -18
  89. package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.d.ts +0 -57
  90. package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.js +0 -2
  91. package/bin/cnbv-business/CnbvApi.d.ts +0 -8
  92. package/bin/cnbv-business/CnbvApi.js +0 -31
  93. package/bin/cnbv-business/index.d.ts +0 -2
  94. package/bin/cnbv-business/index.js +0 -18
  95. package/bin/cnbv-business/interfaces/ICnbvApi.d.ts +0 -3
  96. package/bin/cnbv-business/interfaces/ICnbvApi.js +0 -2
  97. package/bin/cognitoConnector/CognitoConnectorApi.d.ts +0 -16
  98. package/bin/cognitoConnector/CognitoConnectorApi.js +0 -89
  99. package/bin/cognitoConnector/CognitoConnectorV2.d.ts +0 -18
  100. package/bin/cognitoConnector/CognitoConnectorV2.js +0 -74
  101. package/bin/cognitoConnector/index.d.ts +0 -4
  102. package/bin/cognitoConnector/index.js +0 -20
  103. package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.d.ts +0 -12
  104. package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.js +0 -2
  105. package/bin/cognitoConnector/interfaces/ICognitoConnectorApiV2.d.ts +0 -46
  106. package/bin/cognitoConnector/interfaces/ICognitoConnectorApiV2.js +0 -2
  107. package/bin/cognitoConnector/interfaces/ICognitoV2Api.d.ts +0 -46
  108. package/bin/cognitoConnector/interfaces/ICognitoV2Api.js +0 -2
  109. package/bin/collector/CollectorApi.d.ts +0 -17
  110. package/bin/collector/CollectorApi.js +0 -64
  111. package/bin/collector/index.d.ts +0 -2
  112. package/bin/collector/index.js +0 -18
  113. package/bin/collector/interfaces/ICollectorApi.d.ts +0 -22
  114. package/bin/collector/interfaces/ICollectorApi.js +0 -2
  115. package/bin/contactInformation/ContactInformationApi.d.ts +0 -9
  116. package/bin/contactInformation/ContactInformationApi.js +0 -31
  117. package/bin/contactInformation/index.d.ts +0 -2
  118. package/bin/contactInformation/index.js +0 -18
  119. package/bin/contactInformation/interface/IContactInformationApi.d.ts +0 -4
  120. package/bin/contactInformation/interface/IContactInformationApi.js +0 -2
  121. package/bin/container.config.d.ts +0 -2
  122. package/bin/container.config.js +0 -121
  123. package/bin/contract-generator/ContractGeneratorApi.d.ts +0 -9
  124. package/bin/contract-generator/ContractGeneratorApi.js +0 -37
  125. package/bin/contract-generator/index.d.ts +0 -2
  126. package/bin/contract-generator/index.js +0 -18
  127. package/bin/contract-generator/interfaces/IContractGeneratorApi.d.ts +0 -14
  128. package/bin/contract-generator/interfaces/IContractGeneratorApi.js +0 -2
  129. package/bin/device/DeviceApi.d.ts +0 -14
  130. package/bin/device/DeviceApi.js +0 -45
  131. package/bin/device/index.d.ts +0 -2
  132. package/bin/device/index.js +0 -18
  133. package/bin/device/interfaces/IDeviceApi.d.ts +0 -30
  134. package/bin/device/interfaces/IDeviceApi.js +0 -2
  135. package/bin/directories/DirectoriesApi.d.ts +0 -20
  136. package/bin/directories/DirectoriesApi.js +0 -61
  137. package/bin/directories/index.d.ts +0 -2
  138. package/bin/directories/index.js +0 -18
  139. package/bin/directories/interfaces/IDirectoriesApi.d.ts +0 -21
  140. package/bin/directories/interfaces/IDirectoriesApi.js +0 -2
  141. package/bin/directory/DirectoryApi.d.ts +0 -22
  142. package/bin/directory/DirectoryApi.js +0 -145
  143. package/bin/directory/index.d.ts +0 -2
  144. package/bin/directory/index.js +0 -18
  145. package/bin/directory/interfaces/IDirectoryApi.d.ts +0 -55
  146. package/bin/directory/interfaces/IDirectoryApi.js +0 -2
  147. package/bin/directorySetting/DirectorySettingApi.d.ts +0 -31
  148. package/bin/directorySetting/DirectorySettingApi.js +0 -56
  149. package/bin/directorySetting/index.d.ts +0 -2
  150. package/bin/directorySetting/index.js +0 -18
  151. package/bin/directorySetting/interfaces/IDirectorySettingApi.d.ts +0 -42
  152. package/bin/directorySetting/interfaces/IDirectorySettingApi.js +0 -2
  153. package/bin/disputes/DisputesApi.d.ts +0 -24
  154. package/bin/disputes/DisputesApi.js +0 -61
  155. package/bin/disputes/index.d.ts +0 -2
  156. package/bin/disputes/index.js +0 -18
  157. package/bin/disputes/interfaces/IDisputesApi.d.ts +0 -48
  158. package/bin/disputes/interfaces/IDisputesApi.js +0 -2
  159. package/bin/document-image-processor/DocumentImageProcessorApi.d.ts +0 -11
  160. package/bin/document-image-processor/DocumentImageProcessorApi.js +0 -36
  161. package/bin/document-image-processor/index.d.ts +0 -2
  162. package/bin/document-image-processor/index.js +0 -18
  163. package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.d.ts +0 -6
  164. package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.js +0 -2
  165. package/bin/estafeta/EstafetaApi.d.ts +0 -0
  166. package/bin/estafeta/EstafetaApi.js +0 -0
  167. package/bin/estafeta/api/EstafetaApi.d.ts +0 -26
  168. package/bin/estafeta/api/EstafetaApi.js +0 -71
  169. package/bin/estafeta/api/interfaces/IEstafetaApi.d.ts +0 -20
  170. package/bin/estafeta/api/interfaces/IEstafetaApi.js +0 -2
  171. package/bin/estafeta/index.d.ts +0 -2
  172. package/bin/estafeta/index.js +0 -18
  173. package/bin/exchangeRates/ExchangeRatesApi.d.ts +0 -11
  174. package/bin/exchangeRates/ExchangeRatesApi.js +0 -39
  175. package/bin/exchangeRates/index.d.ts +0 -2
  176. package/bin/exchangeRates/index.js +0 -18
  177. package/bin/exchangeRates/interfaces/IExchangeRatesApi.d.ts +0 -6
  178. package/bin/exchangeRates/interfaces/IExchangeRatesApi.js +0 -2
  179. package/bin/fiadoMessages/api/FiadoMessagesApi.d.ts +0 -8
  180. package/bin/fiadoMessages/api/FiadoMessagesApi.js +0 -37
  181. package/bin/fiadoMessages/api/interfaces/IFiadoMessagesApi.d.ts +0 -3
  182. package/bin/fiadoMessages/api/interfaces/IFiadoMessagesApi.js +0 -2
  183. package/bin/fiadoMessages/index.d.ts +0 -2
  184. package/bin/fiadoMessages/index.js +0 -18
  185. package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.d.ts +0 -11
  186. package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.js +0 -35
  187. package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.d.ts +0 -6
  188. package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.js +0 -2
  189. package/bin/fraudPreventionEngine/index.d.ts +0 -2
  190. package/bin/fraudPreventionEngine/index.js +0 -18
  191. package/bin/group/GroupApi.d.ts +0 -19
  192. package/bin/group/GroupApi.js +0 -70
  193. package/bin/group/index.d.ts +0 -2
  194. package/bin/group/index.js +0 -18
  195. package/bin/group/interfaces/IGroupApi.d.ts +0 -28
  196. package/bin/group/interfaces/IGroupApi.js +0 -2
  197. package/bin/identity/IdentityApi.d.ts +0 -15
  198. package/bin/identity/IdentityApi.js +0 -85
  199. package/bin/identity/index.d.ts +0 -2
  200. package/bin/identity/index.js +0 -18
  201. package/bin/identity/interfaces/IIdentityApi.d.ts +0 -33
  202. package/bin/identity/interfaces/IIdentityApi.js +0 -2
  203. package/bin/index.d.ts +0 -49
  204. package/bin/index.js +0 -65
  205. package/bin/legalDocument/api/LegalDocumentApi.d.ts +0 -8
  206. package/bin/legalDocument/api/LegalDocumentApi.js +0 -34
  207. package/bin/legalDocument/api/interfaces/ILegalDocumentApi.d.ts +0 -3
  208. package/bin/legalDocument/api/interfaces/ILegalDocumentApi.js +0 -2
  209. package/bin/legalDocument/index.d.ts +0 -2
  210. package/bin/legalDocument/index.js +0 -18
  211. package/bin/notificationMessages/index.d.ts +0 -2
  212. package/bin/notificationMessages/index.js +0 -18
  213. package/bin/notificationMessages/queue/NotificationMessagePublisher.d.ts +0 -12
  214. package/bin/notificationMessages/queue/NotificationMessagePublisher.js +0 -47
  215. package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.d.ts +0 -6
  216. package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.js +0 -2
  217. package/bin/observations/ObservationsApi.d.ts +0 -10
  218. package/bin/observations/ObservationsApi.js +0 -39
  219. package/bin/observations/index.d.ts +0 -2
  220. package/bin/observations/index.js +0 -18
  221. package/bin/observations/interfaces/IObservationsApi.d.ts +0 -8
  222. package/bin/observations/interfaces/IObservationsApi.js +0 -2
  223. package/bin/order-collector-business/OrderCollectorApi.d.ts +0 -9
  224. package/bin/order-collector-business/OrderCollectorApi.js +0 -37
  225. package/bin/order-collector-business/index.d.ts +0 -2
  226. package/bin/order-collector-business/index.js +0 -18
  227. package/bin/order-collector-business/interfaces/IOrderCollectorApi.d.ts +0 -7
  228. package/bin/order-collector-business/interfaces/IOrderCollectorApi.js +0 -2
  229. package/bin/p2pContact/api/P2pContactApi.d.ts +0 -9
  230. package/bin/p2pContact/api/P2pContactApi.js +0 -34
  231. package/bin/p2pContact/api/interfaces/IP2pContactApi.d.ts +0 -4
  232. package/bin/p2pContact/api/interfaces/IP2pContactApi.js +0 -2
  233. package/bin/p2pContact/index.d.ts +0 -2
  234. package/bin/p2pContact/index.js +0 -18
  235. package/bin/pomelo/api/PomeloApi.d.ts +0 -23
  236. package/bin/pomelo/api/PomeloApi.js +0 -86
  237. package/bin/pomelo/api/interfaces/IPomeloApi.d.ts +0 -17
  238. package/bin/pomelo/api/interfaces/IPomeloApi.js +0 -2
  239. package/bin/pomelo/index.d.ts +0 -2
  240. package/bin/pomelo/index.js +0 -18
  241. package/bin/pomeloProcessor/api/PomeloProcessorApi.d.ts +0 -8
  242. package/bin/pomeloProcessor/api/PomeloProcessorApi.js +0 -32
  243. package/bin/pomeloProcessor/api/interfaces/IPomeloProcessorApi.d.ts +0 -3
  244. package/bin/pomeloProcessor/api/interfaces/IPomeloProcessorApi.js +0 -2
  245. package/bin/pomeloProcessor/index.d.ts +0 -2
  246. package/bin/pomeloProcessor/index.js +0 -18
  247. package/bin/pricelist-business/PriceListApi.d.ts +0 -15
  248. package/bin/pricelist-business/PriceListApi.js +0 -55
  249. package/bin/pricelist-business/index.d.ts +0 -2
  250. package/bin/pricelist-business/index.js +0 -18
  251. package/bin/pricelist-business/interfaces/IPriceListApi.d.ts +0 -18
  252. package/bin/pricelist-business/interfaces/IPriceListApi.js +0 -2
  253. package/bin/product-catalog/ProductCatalogApi.d.ts +0 -10
  254. package/bin/product-catalog/ProductCatalogApi.js +0 -31
  255. package/bin/product-catalog/index.d.ts +0 -2
  256. package/bin/product-catalog/index.js +0 -18
  257. package/bin/product-catalog/interfaces/IProductCatalogApi.d.ts +0 -5
  258. package/bin/product-catalog/interfaces/IProductCatalogApi.js +0 -2
  259. package/bin/riskProfile/api/RiskProfileApi.d.ts +0 -15
  260. package/bin/riskProfile/api/RiskProfileApi.js +0 -47
  261. package/bin/riskProfile/api/TransactionAlertApi.d.ts +0 -13
  262. package/bin/riskProfile/api/TransactionAlertApi.js +0 -31
  263. package/bin/riskProfile/api/interfaces/IRiskProfileApi.d.ts +0 -10
  264. package/bin/riskProfile/api/interfaces/IRiskProfileApi.js +0 -2
  265. package/bin/riskProfile/api/interfaces/ITransactionAlertApi.d.ts +0 -8
  266. package/bin/riskProfile/api/interfaces/ITransactionAlertApi.js +0 -2
  267. package/bin/riskProfile/index.d.ts +0 -6
  268. package/bin/riskProfile/index.js +0 -22
  269. package/bin/riskProfile/queue/TransactionAlarmPublisher.d.ts +0 -6
  270. package/bin/riskProfile/queue/TransactionAlarmPublisher.js +0 -36
  271. package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.d.ts +0 -4
  272. package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.js +0 -2
  273. package/bin/service-business/ServiceApi.d.ts +0 -32
  274. package/bin/service-business/ServiceApi.js +0 -89
  275. package/bin/service-business/index.d.ts +0 -2
  276. package/bin/service-business/index.js +0 -18
  277. package/bin/service-business/interfaces/IServiceApi.d.ts +0 -72
  278. package/bin/service-business/interfaces/IServiceApi.js +0 -2
  279. package/bin/sessionActivity/index.d.ts +0 -2
  280. package/bin/sessionActivity/index.js +0 -18
  281. package/bin/sessionActivity/queue/SessionActivityPublisher.d.ts +0 -6
  282. package/bin/sessionActivity/queue/SessionActivityPublisher.js +0 -34
  283. package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.d.ts +0 -4
  284. package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.js +0 -2
  285. package/bin/stpAccount/api/STPAccountApi.d.ts +0 -15
  286. package/bin/stpAccount/api/STPAccountApi.js +0 -39
  287. package/bin/stpAccount/api/interfaces/ISTPAccountApi.d.ts +0 -10
  288. package/bin/stpAccount/api/interfaces/ISTPAccountApi.js +0 -2
  289. package/bin/stpAccount/index.d.ts +0 -2
  290. package/bin/stpAccount/index.js +0 -18
  291. package/bin/stpServicePayment/api/StpServicePaymentApi.d.ts +0 -14
  292. package/bin/stpServicePayment/api/StpServicePaymentApi.js +0 -50
  293. package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.d.ts +0 -9
  294. package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.js +0 -2
  295. package/bin/stpServicePayment/index.d.ts +0 -2
  296. package/bin/stpServicePayment/index.js +0 -18
  297. package/bin/stpSpei/api/StpSpeiApi.d.ts +0 -10
  298. package/bin/stpSpei/api/StpSpeiApi.js +0 -47
  299. package/bin/stpSpei/api/interfaces/IStpSpeiApi.d.ts +0 -5
  300. package/bin/stpSpei/api/interfaces/IStpSpeiApi.js +0 -2
  301. package/bin/stpSpei/index.d.ts +0 -2
  302. package/bin/stpSpei/index.js +0 -18
  303. package/bin/tern/api/TernApi.d.ts +0 -30
  304. package/bin/tern/api/TernApi.js +0 -125
  305. package/bin/tern/api/interfaces/ITernApi.d.ts +0 -26
  306. package/bin/tern/api/interfaces/ITernApi.js +0 -2
  307. package/bin/tern/index.d.ts +0 -2
  308. package/bin/tern/index.js +0 -18
  309. package/bin/transaction/api/TransactionApi.d.ts +0 -45
  310. package/bin/transaction/api/TransactionApi.js +0 -84
  311. package/bin/transaction/api/interfaces/ITransactionApi.d.ts +0 -40
  312. package/bin/transaction/api/interfaces/ITransactionApi.js +0 -2
  313. package/bin/transaction/index.d.ts +0 -4
  314. package/bin/transaction/index.js +0 -20
  315. package/bin/transaction/queue/TransactionPublisher.d.ts +0 -6
  316. package/bin/transaction/queue/TransactionPublisher.js +0 -36
  317. package/bin/transaction/queue/interfaces/ITransactionPublisher.d.ts +0 -4
  318. package/bin/transaction/queue/interfaces/ITransactionPublisher.js +0 -2
  319. package/bin/transactionProcessor/api/TransactionProcessorApi.d.ts +0 -16
  320. package/bin/transactionProcessor/api/TransactionProcessorApi.js +0 -51
  321. package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.d.ts +0 -11
  322. package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.js +0 -2
  323. package/bin/transactionProcessor/index.d.ts +0 -2
  324. package/bin/transactionProcessor/index.js +0 -18
  325. package/bin/utils/InvokerUtils.d.ts +0 -4
  326. package/bin/utils/InvokerUtils.js +0 -34
  327. package/bin/zendesk/ZendeskApi.d.ts +0 -11
  328. package/bin/zendesk/ZendeskApi.js +0 -41
  329. package/bin/zendesk/index.d.ts +0 -2
  330. package/bin/zendesk/index.js +0 -18
  331. package/bin/zendesk/interfaces/IZendeskApi.d.ts +0 -9
  332. package/bin/zendesk/interfaces/IZendeskApi.js +0 -2
@@ -1,89 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- var __importDefault = (this && this.__importDefault) || function (mod) {
15
- return (mod && mod.__esModule) ? mod : { "default": mod };
16
- };
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ServiceApi = void 0;
19
- const inversify_1 = require("inversify");
20
- const dotenv_1 = __importDefault(require("dotenv"));
21
- dotenv_1.default.config();
22
- let ServiceApi = class ServiceApi {
23
- constructor(httpRequest) {
24
- this.httpRequest = httpRequest;
25
- this.baseUrl = process.env.SERVICE_BUSINESS_URL || "";
26
- }
27
- async updateMultipleStatus(parameters) {
28
- const url = `${this.baseUrl}services/memberships/batch/update/status`;
29
- return await this.httpRequest.put(url, parameters);
30
- }
31
- async getById(id) {
32
- const url = `${this.baseUrl}services/get/${id}`;
33
- return await this.httpRequest.get(url);
34
- }
35
- async getServices(params) {
36
- const url = `${this.baseUrl}services`;
37
- const queryParameters = [];
38
- if (params.pageSize)
39
- queryParameters.push(`pageSize=${params.pageSize}`);
40
- if (params.index)
41
- queryParameters.push(`index=${params.index}`);
42
- if (params.company)
43
- queryParameters.push(`status=${params.company}`);
44
- if (params.flow)
45
- queryParameters.push(`flow=${params.flow}`);
46
- if (queryParameters.length > 0) {
47
- url.concat(`?${queryParameters.join('&')}`);
48
- }
49
- return await this.httpRequest.get(url);
50
- }
51
- async getServiceMembershipsByDirectoryId(params) {
52
- const url = `${this.baseUrl}services/memberships?directoryId=${params.directoryId}`;
53
- const queryParameters = [];
54
- if (params.pageSize)
55
- queryParameters.push(`pageSize=${params.pageSize}`);
56
- if (params.index)
57
- queryParameters.push(`index=${params.index}`);
58
- if (queryParameters.length > 0) {
59
- url.concat(`${queryParameters.join('&')}`);
60
- }
61
- return await this.httpRequest.get(url);
62
- }
63
- async getServiceMembershipsByDirectoryIdAndStatus(params) {
64
- const url = `${this.baseUrl}services/memberships/status/${params.status}?directoryId=${params.directoryId}`;
65
- const queryParameters = [];
66
- if (params.pageSize)
67
- queryParameters.push(`pageSize=${params.pageSize}`);
68
- if (params.index)
69
- queryParameters.push(`index=${params.index}`);
70
- if (queryParameters.length > 0) {
71
- url.concat(`${queryParameters.join('&')}`);
72
- }
73
- return await this.httpRequest.get(url);
74
- }
75
- async updateServiceMembership(serviceMembershipId, params) {
76
- const url = `${this.baseUrl}services/memberships/${serviceMembershipId}`;
77
- return await this.httpRequest.put(url, params);
78
- }
79
- async createServiceMembership(params) {
80
- const url = `${this.baseUrl}services/memberships`;
81
- return await this.httpRequest.post(url, params);
82
- }
83
- };
84
- exports.ServiceApi = ServiceApi;
85
- exports.ServiceApi = ServiceApi = __decorate([
86
- (0, inversify_1.injectable)(),
87
- __param(0, (0, inversify_1.inject)("IHttpRequest")),
88
- __metadata("design:paramtypes", [Object])
89
- ], ServiceApi);
@@ -1,2 +0,0 @@
1
- export * from './interfaces/IServiceApi';
2
- export * from './ServiceApi';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./interfaces/IServiceApi"), exports);
18
- __exportStar(require("./ServiceApi"), exports);
@@ -1,72 +0,0 @@
1
- import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
2
- import { GetServiceListResponse, GetServiceMembershipListResponse, RegisterServiceMembershipRequest, ServiceFlowEnum, ServiceMembershipResponse, ServiceMembershipStatusEnum, ServiceResponse, UpdateServiceMembershipRequest } from "@fiado/type-kit/bin/services";
3
- import { UpdateMultipleServiceMembershipStatusRequest } from "@fiado/type-kit/bin/services/dtos/UpdateMultipleServiceMembershipStatusRequest";
4
- import { ServiceCompanyEnum } from "@fiado/type-kit/bin/services/enums/ServiceCompanyEnum";
5
- /**
6
- * Interfaz que define las operaciones que se pueden realizar en el servicio de black list.
7
- */
8
- export interface IServiceApi {
9
- /**
10
- * Consulta de membresias
11
- * @param value valor del parametro.
12
- * @returns Una promesa que resuelve a void.
13
- * @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
14
- */
15
- getServices(params: {
16
- pageSize?: number;
17
- index?: string;
18
- company?: ServiceCompanyEnum;
19
- flow?: ServiceFlowEnum;
20
- }): Promise<FiadoApiResponse<GetServiceListResponse>>;
21
- /**
22
- * Consulta de membresias de un directorio dado un directoryId
23
- * @param value valor del parametro.
24
- * @returns Una promesa que resuelve a void.
25
- * @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
26
- */
27
- getServiceMembershipsByDirectoryId(params: {
28
- directoryId: string;
29
- pageSize?: number;
30
- index?: string;
31
- }): Promise<FiadoApiResponse<GetServiceMembershipListResponse>>;
32
- /**
33
- * Consulta de membresias de un directorio dado un directoryId y un status
34
- * @param value valor del parametro.
35
- * @returns Una promesa que resuelve a void.
36
- * @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
37
- */
38
- getServiceMembershipsByDirectoryIdAndStatus(params: {
39
- pageSize?: number;
40
- index?: string;
41
- directoryId: string;
42
- status: ServiceMembershipStatusEnum;
43
- }): Promise<FiadoApiResponse<GetServiceMembershipListResponse>>;
44
- /**
45
- * Actualizar una membresia de un servicio
46
- * @param value valor del parametro.
47
- * @returns Una promesa que resuelve a void.
48
- * @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
49
- */
50
- updateServiceMembership(serviceMembershipId: string, params: UpdateServiceMembershipRequest): Promise<FiadoApiResponse<ServiceMembershipResponse>>;
51
- /**
52
- * Crear una membresia de un servicio
53
- * @param value valor del parametro.
54
- * @returns Una promesa que resuelve a void.
55
- * @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
56
- */
57
- createServiceMembership(params: RegisterServiceMembershipRequest): Promise<FiadoApiResponse<ServiceMembershipResponse>>;
58
- /**
59
- * Obtener servicio por id
60
- * @param value valor del parametro.
61
- * @returns Una promesa que resuelve a void.
62
- * @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
63
- */
64
- getById(id: string): Promise<FiadoApiResponse<ServiceResponse>>;
65
- /**
66
- * Actualizar estatus de membresias en lote
67
- * @param value valor del parametro.
68
- * @returns Una promesa que resuelve a void.
69
- * @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
70
- */
71
- updateMultipleStatus(parameters: UpdateMultipleServiceMembershipStatusRequest): Promise<FiadoApiResponse<ServiceResponse>>;
72
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from './queue/SessionActivityPublisher';
2
- export * from './queue/interfaces/ISessionActivityPublisher';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./queue/SessionActivityPublisher"), exports);
18
- __exportStar(require("./queue/interfaces/ISessionActivityPublisher"), exports);
@@ -1,6 +0,0 @@
1
- import { ISessionActivityPublisher } from "./interfaces/ISessionActivityPublisher";
2
- import { SessionActivityQueueMessageRequest } from "@fiado/type-kit/bin/sessionActivity";
3
- export declare class SessionActivityPublisher implements ISessionActivityPublisher {
4
- private readonly SESSION_ACTIVITY_QUEUE;
5
- publish(message: SessionActivityQueueMessageRequest): Promise<void>;
6
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.SessionActivityPublisher = void 0;
10
- const client_sqs_1 = require("@aws-sdk/client-sqs");
11
- const inversify_1 = require("inversify");
12
- let SessionActivityPublisher = class SessionActivityPublisher {
13
- constructor() {
14
- this.SESSION_ACTIVITY_QUEUE = process.env.SESSION_ACTIVITY_QUEUE;
15
- }
16
- async publish(message) {
17
- try {
18
- const client = new client_sqs_1.SQSClient();
19
- const sendMessageRequest = {
20
- QueueUrl: this.SESSION_ACTIVITY_QUEUE,
21
- MessageBody: JSON.stringify(message)
22
- };
23
- const command = new client_sqs_1.SendMessageCommand(sendMessageRequest);
24
- await client.send(command);
25
- }
26
- catch (error) {
27
- throw new Error(`Error publishing message to queue ${': ' + error.message}`);
28
- }
29
- }
30
- };
31
- exports.SessionActivityPublisher = SessionActivityPublisher;
32
- exports.SessionActivityPublisher = SessionActivityPublisher = __decorate([
33
- (0, inversify_1.injectable)()
34
- ], SessionActivityPublisher);
@@ -1,4 +0,0 @@
1
- import { SessionActivityQueueMessageRequest } from "@fiado/type-kit/bin/sessionActivity";
2
- export interface ISessionActivityPublisher {
3
- publish(message: SessionActivityQueueMessageRequest): Promise<void>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- import { ISTPAccountApi } from "./interfaces/ISTPAccountApi";
2
- import { IHttpRequest } from "@fiado/http-client";
3
- import { AccountCreateRequest } from "@fiado/type-kit/bin/account";
4
- import { CreateAccountWebhookDetail } from "@fiado/type-kit/bin/stpAccount";
5
- export default class STPAccountApi implements ISTPAccountApi {
6
- private httpRequest;
7
- private readonly baseUrl;
8
- constructor(httpRequest: IHttpRequest);
9
- updateAccountDetails(request: CreateAccountWebhookDetail): Promise<any>;
10
- createAccount(request: AccountCreateRequest): Promise<any>;
11
- cancelAccount(request: {
12
- accountNumber: string;
13
- documentNumber: string;
14
- }): Promise<any>;
15
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const inversify_1 = require("inversify");
16
- let STPAccountApi = class STPAccountApi {
17
- constructor(httpRequest) {
18
- this.httpRequest = httpRequest;
19
- this.baseUrl = process.env.STP_ACCOUNT_LAMBDA_URL || "";
20
- }
21
- async updateAccountDetails(request) {
22
- const url = `${this.baseUrl}account/update`;
23
- return await this.httpRequest.put(url, request);
24
- }
25
- async createAccount(request) {
26
- const url = `${this.baseUrl}account/create`;
27
- return await this.httpRequest.post(url, request);
28
- }
29
- async cancelAccount(request) {
30
- const url = `${this.baseUrl}account/cancel`;
31
- return await this.httpRequest.post(url, request);
32
- }
33
- };
34
- STPAccountApi = __decorate([
35
- (0, inversify_1.injectable)(),
36
- __param(0, (0, inversify_1.inject)("IHttpRequest")),
37
- __metadata("design:paramtypes", [Object])
38
- ], STPAccountApi);
39
- exports.default = STPAccountApi;
@@ -1,10 +0,0 @@
1
- import { AccountCreateRequest } from "@fiado/type-kit/bin/account";
2
- import { CreateAccountWebhookDetail } from "@fiado/type-kit/bin/stpAccount";
3
- export interface ISTPAccountApi {
4
- createAccount(request: AccountCreateRequest): Promise<any>;
5
- updateAccountDetails(request: CreateAccountWebhookDetail): Promise<any>;
6
- cancelAccount(request: {
7
- accountNumber: string;
8
- documentNumber: string;
9
- }): Promise<any>;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from './api/STPAccountApi';
2
- export * from './api/interfaces/ISTPAccountApi';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./api/STPAccountApi"), exports);
18
- __exportStar(require("./api/interfaces/ISTPAccountApi"), exports);
@@ -1,14 +0,0 @@
1
- import { IStpServicePaymentApi } from "./interfaces/IStpServicePaymentApi";
2
- import { IHttpRequest } from "@fiado/http-client";
3
- import { GetCatalogParams, ServicePaymentRequest } from "@fiado/type-kit/bin/servicePayment";
4
- import { ApiGatewayResponse } from "@fiado/gateway-adapter";
5
- export default class StpServicePaymentApi implements IStpServicePaymentApi {
6
- private httpRequest;
7
- private readonly baseUrl;
8
- constructor(httpRequest: IHttpRequest);
9
- pay(request: ServicePaymentRequest): Promise<ApiGatewayResponse<any>>;
10
- getTransaction(transactionNumber: string): Promise<ApiGatewayResponse<any>>;
11
- getById(id: string): Promise<ApiGatewayResponse<any>>;
12
- getPaymentValidation(transactionNumber: string): Promise<ApiGatewayResponse<any>>;
13
- getCatalog(params: GetCatalogParams): Promise<ApiGatewayResponse<any>>;
14
- }
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const inversify_1 = require("inversify");
16
- let StpServicePaymentApi = class StpServicePaymentApi {
17
- constructor(httpRequest) {
18
- this.httpRequest = httpRequest;
19
- this.baseUrl = process.env.STP_SERVICE_PAY_LAMBDA_URL || "";
20
- }
21
- async pay(request) {
22
- const url = `${this.baseUrl}/pay`;
23
- return await this.httpRequest.post(url, request);
24
- }
25
- async getTransaction(transactionNumber) {
26
- const url = `${this.baseUrl}/transaction/${transactionNumber}`;
27
- return await this.httpRequest.get(url);
28
- }
29
- async getById(id) {
30
- const url = `${this.baseUrl}/transaction/${id}`;
31
- return await this.httpRequest.get(url);
32
- }
33
- async getPaymentValidation(transactionNumber) {
34
- const url = `${this.baseUrl}/pay/validation/${transactionNumber}`;
35
- return await this.httpRequest.get(url);
36
- }
37
- async getCatalog(params) {
38
- let url = `${this.baseUrl}/catalog`;
39
- if (params) {
40
- url += `?${Object.keys(params).map(key => `${key}=${encodeURIComponent(params[key])}`).join('&')}`;
41
- }
42
- return await this.httpRequest.get(url);
43
- }
44
- };
45
- StpServicePaymentApi = __decorate([
46
- (0, inversify_1.injectable)(),
47
- __param(0, (0, inversify_1.inject)("IHttpRequest")),
48
- __metadata("design:paramtypes", [Object])
49
- ], StpServicePaymentApi);
50
- exports.default = StpServicePaymentApi;
@@ -1,9 +0,0 @@
1
- import { GetCatalogParams, ServicePaymentRequest } from "@fiado/type-kit/bin/servicePayment";
2
- import { ApiGatewayResponse } from "@fiado/gateway-adapter";
3
- export interface IStpServicePaymentApi {
4
- pay(request: ServicePaymentRequest): Promise<ApiGatewayResponse<any>>;
5
- getTransaction(transactionNumber: string): Promise<ApiGatewayResponse<any>>;
6
- getPaymentValidation(transactionNumber: string): Promise<ApiGatewayResponse<any>>;
7
- getCatalog(params: GetCatalogParams): Promise<ApiGatewayResponse<any>>;
8
- getById(id: string): any;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from './api/interfaces/IStpServicePaymentApi';
2
- export * from './api/StpServicePaymentApi';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./api/interfaces/IStpServicePaymentApi"), exports);
18
- __exportStar(require("./api/StpServicePaymentApi"), exports);
@@ -1,10 +0,0 @@
1
- import { IStpSpeiApi } from "./interfaces/IStpSpeiApi";
2
- import { IHttpRequest } from "@fiado/http-client";
3
- import { BusinessNameEnum, PutStpOrderRequest } from "@fiado/type-kit/bin/stpSpei";
4
- export declare class StpSpeiApi implements IStpSpeiApi {
5
- private httpRequest;
6
- private readonly baseUrl;
7
- constructor(httpRequest: IHttpRequest);
8
- putStpOrder(request: PutStpOrderRequest): Promise<any>;
9
- getBusinessAccountBalance(businessName: BusinessNameEnum): Promise<any>;
10
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.StpSpeiApi = void 0;
16
- const inversify_1 = require("inversify");
17
- let StpSpeiApi = class StpSpeiApi {
18
- constructor(httpRequest) {
19
- this.httpRequest = httpRequest;
20
- this.baseUrl = process.env.STP_SPEI_LAMBDA_URL || "";
21
- }
22
- async putStpOrder(request) {
23
- const url = `${this.baseUrl}`;
24
- const headers = {
25
- 'Content-Type': 'application/json',
26
- operationName: "putConnectorStpOrders"
27
- };
28
- return await this.httpRequest.post(url, request, headers);
29
- }
30
- async getBusinessAccountBalance(businessName) {
31
- const url = `${this.baseUrl}`;
32
- const request = {
33
- business: businessName
34
- };
35
- const headers = {
36
- 'Content-Type': 'application/json',
37
- operationName: "getBusinessAccountBalance"
38
- };
39
- return await this.httpRequest.post(url, request, headers);
40
- }
41
- };
42
- exports.StpSpeiApi = StpSpeiApi;
43
- exports.StpSpeiApi = StpSpeiApi = __decorate([
44
- (0, inversify_1.injectable)(),
45
- __param(0, (0, inversify_1.inject)("IHttpRequest")),
46
- __metadata("design:paramtypes", [Object])
47
- ], StpSpeiApi);
@@ -1,5 +0,0 @@
1
- import { BusinessNameEnum, PutStpOrderRequest } from "@fiado/type-kit/bin/stpSpei";
2
- export interface IStpSpeiApi {
3
- putStpOrder(request: PutStpOrderRequest): Promise<any>;
4
- getBusinessAccountBalance(businessName: BusinessNameEnum): Promise<any>;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from './api/interfaces/IStpSpeiApi';
2
- export * from './api/StpSpeiApi';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./api/interfaces/IStpSpeiApi"), exports);
18
- __exportStar(require("./api/StpSpeiApi"), exports);
@@ -1,30 +0,0 @@
1
- import { ITernApi } from "./interfaces/ITernApi";
2
- import { IHttpRequest } from "@fiado/http-client";
3
- import { BankAccountP2pTransferRequest, CreateBankAccountRequest, CreateBankAccountUserRequest, GetBankAccountRequest, GetBankAccountUserRequest } from "@fiado/type-kit/bin/account";
4
- import { ActivateBankAccountCardRequest, AssignCardRequest, CreateBankAccountCardRequest, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
5
- import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
6
- import { BankAccountP2pTransferResponse } from "@fiado/type-kit/bin/account/dtos/BankAccountP2pTransferResponse";
7
- export default class TernApi implements ITernApi {
8
- private readonly httpRequest;
9
- private readonly baseUrl;
10
- constructor(httpRequest: IHttpRequest);
11
- getUser(request: GetBankAccountUserRequest): Promise<any>;
12
- createUser(request: CreateBankAccountUserRequest): Promise<any>;
13
- getAccount(request: GetBankAccountRequest): Promise<any>;
14
- getBusinessAccount(request: GetBankAccountRequest): Promise<any>;
15
- createAccount(request: CreateBankAccountRequest): Promise<any>;
16
- getCardSensitiveInformation(externalCardId: string, externalUserId?: string): Promise<any>;
17
- getCardsById(externalCardId: string): Promise<any>;
18
- createCard(request: CreateBankAccountCardRequest): Promise<any>;
19
- blockCard(request: UpdateBankAccountCardRequest): Promise<any>;
20
- changePin(request: UpdateBankAccountCardRequest): Promise<any>;
21
- updateCard(request: UpdateBankAccountCardRequest): Promise<any>;
22
- activateCard(request: ActivateBankAccountCardRequest): Promise<any>;
23
- assignCardToUser(request: AssignCardRequest): Promise<any>;
24
- p2pTransfer(request: BankAccountP2pTransferRequest): Promise<FiadoApiResponse<BankAccountP2pTransferResponse>>;
25
- getTransactions(accountId: string, page: number, pageSize?: number | null, startDate?: string | null, endDate?: string | null, detail?: boolean, raw?: boolean): Promise<any>;
26
- getCardTransactions(externalUserId: string, page: number, pageSize: number): Promise<any>;
27
- getAccountTransactions(accountId: string): Promise<any>;
28
- getCardsByUserId(externalUserId: string): Promise<any>;
29
- getAccountsByUserId(externalUserId: string): Promise<any>;
30
- }