@fiado/api-invoker 4.1.0 → 4.2.0

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 (809) hide show
  1. package/.claude/settings.json +33 -33
  2. package/README.md +600 -600
  3. package/bin/account-beneficiary/AccountBeneficiaryApi.d.ts +3 -3
  4. package/bin/account-beneficiary/AccountBeneficiaryApi.js +5 -8
  5. package/bin/account-beneficiary/index.d.ts +2 -2
  6. package/bin/account-beneficiary/index.js +2 -18
  7. package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.d.ts +2 -2
  8. package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.js +1 -2
  9. package/bin/account-fiadoinc/AccountFiadoIncApi.d.ts +5 -5
  10. package/bin/account-fiadoinc/AccountFiadoIncApi.js +5 -7
  11. package/bin/account-fiadoinc/index.d.ts +4 -4
  12. package/bin/account-fiadoinc/index.js +4 -20
  13. package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.d.ts +4 -4
  14. package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.js +1 -2
  15. package/bin/account-fiadoinc/queue/Publisher.d.ts +2 -2
  16. package/bin/account-fiadoinc/queue/Publisher.js +7 -10
  17. package/bin/account-fiadoinc/queue/interfaces/IPublisher.d.ts +1 -1
  18. package/bin/account-fiadoinc/queue/interfaces/IPublisher.js +1 -2
  19. package/bin/account-fiadosa/AccountFiadoSAApi.d.ts +3 -3
  20. package/bin/account-fiadosa/AccountFiadoSAApi.js +4 -6
  21. package/bin/account-fiadosa/index.d.ts +2 -2
  22. package/bin/account-fiadosa/index.js +2 -18
  23. package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.d.ts +2 -2
  24. package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.js +1 -2
  25. package/bin/account-pagoconfiado/AccountPagoConfiadoApi.d.ts +3 -3
  26. package/bin/account-pagoconfiado/AccountPagoConfiadoApi.js +4 -6
  27. package/bin/account-pagoconfiado/index.d.ts +2 -2
  28. package/bin/account-pagoconfiado/index.js +2 -18
  29. package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.d.ts +2 -2
  30. package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.js +1 -2
  31. package/bin/activity-business/ActivityApi.d.ts +1 -1
  32. package/bin/activity-business/ActivityApi.js +4 -6
  33. package/bin/activity-business/index.d.ts +4 -4
  34. package/bin/activity-business/index.js +4 -20
  35. package/bin/activity-business/interfaces/IActivityApi.js +1 -2
  36. package/bin/activity-business/queue/ActivityPublisher.d.ts +2 -2
  37. package/bin/activity-business/queue/ActivityPublisher.js +6 -8
  38. package/bin/activity-business/queue/IActivityPublisher.d.ts +1 -1
  39. package/bin/activity-business/queue/IActivityPublisher.js +1 -2
  40. package/bin/address/AddressApi.d.ts +2 -2
  41. package/bin/address/AddressApi.js +5 -8
  42. package/bin/address/index.d.ts +2 -2
  43. package/bin/address/index.js +2 -18
  44. package/bin/address/interfaces/IAddressApi.d.ts +1 -1
  45. package/bin/address/interfaces/IAddressApi.js +1 -2
  46. package/bin/ai-engine-connector/AiEngineApi.d.ts +3 -3
  47. package/bin/ai-engine-connector/AiEngineApi.js +10 -16
  48. package/bin/ai-engine-connector/index.d.ts +2 -2
  49. package/bin/ai-engine-connector/index.js +2 -18
  50. package/bin/ai-engine-connector/interfaces/IAiEngineApi.d.ts +2 -2
  51. package/bin/ai-engine-connector/interfaces/IAiEngineApi.js +1 -2
  52. package/bin/appselectondata/AppSelectionDataApi.d.ts +1 -1
  53. package/bin/appselectondata/AppSelectionDataApi.js +7 -13
  54. package/bin/appselectondata/index.d.ts +2 -2
  55. package/bin/appselectondata/index.js +2 -18
  56. package/bin/appselectondata/interfaces/IAppSelectionDataApi.d.ts +1 -1
  57. package/bin/appselectondata/interfaces/IAppSelectionDataApi.js +1 -2
  58. package/bin/authentication/AuthenticationApi.d.ts +2 -2
  59. package/bin/authentication/AuthenticationApi.js +5 -8
  60. package/bin/authentication/index.d.ts +2 -2
  61. package/bin/authentication/index.js +2 -18
  62. package/bin/authentication/interfaces/IAuthenticationApi.d.ts +1 -1
  63. package/bin/authentication/interfaces/IAuthenticationApi.js +1 -2
  64. package/bin/bankAccount/BankAccountApi.d.ts +4 -4
  65. package/bin/bankAccount/BankAccountApi.js +4 -6
  66. package/bin/bankAccount/index.d.ts +2 -2
  67. package/bin/bankAccount/index.js +2 -18
  68. package/bin/bankAccount/interfaces/IBankAccountApi.js +1 -2
  69. package/bin/bbvaRst/api/BBVARstApi.d.ts +2 -2
  70. package/bin/bbvaRst/api/BBVARstApi.js +5 -8
  71. package/bin/bbvaRst/api/interfaces/IBBVARstApi.d.ts +1 -1
  72. package/bin/bbvaRst/api/interfaces/IBBVARstApi.js +1 -2
  73. package/bin/bbvaRst/index.d.ts +2 -2
  74. package/bin/bbvaRst/index.js +2 -18
  75. package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.d.ts +3 -3
  76. package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.js +4 -6
  77. package/bin/benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.js +1 -2
  78. package/bin/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.d.ts +2 -2
  79. package/bin/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.js +1 -2
  80. package/bin/benefits-marketplace/index.d.ts +3 -3
  81. package/bin/benefits-marketplace/index.js +3 -19
  82. package/bin/blacklist/BlackListApi.d.ts +2 -2
  83. package/bin/blacklist/BlackListApi.js +7 -13
  84. package/bin/blacklist/index.d.ts +2 -2
  85. package/bin/blacklist/index.js +2 -18
  86. package/bin/blacklist/interfaces/IBlackListApi.d.ts +1 -1
  87. package/bin/blacklist/interfaces/IBlackListApi.js +1 -2
  88. package/bin/card/CardApi.d.ts +4 -4
  89. package/bin/card/CardApi.js +5 -8
  90. package/bin/card/index.d.ts +2 -2
  91. package/bin/card/index.js +2 -18
  92. package/bin/card/interfaces/ICardApi.d.ts +3 -3
  93. package/bin/card/interfaces/ICardApi.js +1 -2
  94. package/bin/card-business/index.d.ts +2 -2
  95. package/bin/card-business/index.js +2 -18
  96. package/bin/card-business/queue/CardBusinessPublisher.d.ts +1 -1
  97. package/bin/card-business/queue/CardBusinessPublisher.js +6 -8
  98. package/bin/card-business/queue/ICardBusinessPublisher.js +1 -2
  99. package/bin/centralPayments/CentralPaymentsConnectorApi.d.ts +12 -12
  100. package/bin/centralPayments/CentralPaymentsConnectorApi.js +8 -11
  101. package/bin/centralPayments/index.d.ts +2 -2
  102. package/bin/centralPayments/index.js +2 -18
  103. package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.d.ts +10 -10
  104. package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.js +1 -2
  105. package/bin/circuloCredito/api/CirculoCreditoApi.d.ts +2 -2
  106. package/bin/circuloCredito/api/CirculoCreditoApi.js +5 -8
  107. package/bin/circuloCredito/api/interfaces/ICirculoCreditoApi.d.ts +1 -1
  108. package/bin/circuloCredito/api/interfaces/ICirculoCreditoApi.js +1 -2
  109. package/bin/circuloCredito/index.d.ts +2 -2
  110. package/bin/circuloCredito/index.js +2 -18
  111. package/bin/cnbv-business/CnbvApi.d.ts +1 -1
  112. package/bin/cnbv-business/CnbvApi.js +4 -6
  113. package/bin/cnbv-business/index.d.ts +2 -2
  114. package/bin/cnbv-business/index.js +2 -18
  115. package/bin/cnbv-business/interfaces/ICnbvApi.js +1 -2
  116. package/bin/cnbv-connector/CnbvConnectorApi.d.ts +2 -2
  117. package/bin/cnbv-connector/CnbvConnectorApi.js +4 -6
  118. package/bin/cnbv-connector/index.d.ts +2 -2
  119. package/bin/cnbv-connector/index.js +2 -18
  120. package/bin/cnbv-connector/interfaces/ICnbvConnectorApi.d.ts +1 -1
  121. package/bin/cnbv-connector/interfaces/ICnbvConnectorApi.js +1 -2
  122. package/bin/cognitoConnector/CognitoConnectorApi.d.ts +2 -2
  123. package/bin/cognitoConnector/CognitoConnectorApi.js +4 -6
  124. package/bin/cognitoConnector/CognitoConnectorV2.d.ts +2 -2
  125. package/bin/cognitoConnector/CognitoConnectorV2.js +4 -6
  126. package/bin/cognitoConnector/index.d.ts +4 -4
  127. package/bin/cognitoConnector/index.js +4 -20
  128. package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.d.ts +2 -2
  129. package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.js +1 -2
  130. package/bin/cognitoConnector/interfaces/ICognitoV2Api.d.ts +1 -1
  131. package/bin/cognitoConnector/interfaces/ICognitoV2Api.js +1 -2
  132. package/bin/collector/CollectorApi.d.ts +6 -6
  133. package/bin/collector/CollectorApi.js +9 -15
  134. package/bin/collector/index.d.ts +2 -2
  135. package/bin/collector/index.js +2 -18
  136. package/bin/collector/interfaces/ICollectorApi.d.ts +5 -5
  137. package/bin/collector/interfaces/ICollectorApi.js +1 -2
  138. package/bin/commission-business/CommissionBusinessApi.d.ts +2 -2
  139. package/bin/commission-business/CommissionBusinessApi.js +7 -13
  140. package/bin/commission-business/index.d.ts +2 -2
  141. package/bin/commission-business/index.js +2 -18
  142. package/bin/commission-business/interfaces/ICommissionBusinessApi.d.ts +1 -1
  143. package/bin/commission-business/interfaces/ICommissionBusinessApi.js +1 -2
  144. package/bin/contactInformation/ContactInformationApi.d.ts +2 -2
  145. package/bin/contactInformation/ContactInformationApi.js +4 -7
  146. package/bin/contactInformation/index.d.ts +2 -2
  147. package/bin/contactInformation/index.js +2 -18
  148. package/bin/contactInformation/interface/IContactInformationApi.d.ts +1 -1
  149. package/bin/contactInformation/interface/IContactInformationApi.js +1 -2
  150. package/bin/container.config.js +196 -194
  151. package/bin/contract-business/api/ContractBusinessApi.d.ts +1 -1
  152. package/bin/contract-business/api/ContractBusinessApi.js +4 -6
  153. package/bin/contract-business/api/interfaces/IContractBusinessApi.js +1 -2
  154. package/bin/contract-business/index.d.ts +2 -2
  155. package/bin/contract-business/index.js +2 -18
  156. package/bin/contract-generator/ContractGeneratorApi.d.ts +2 -2
  157. package/bin/contract-generator/ContractGeneratorApi.js +7 -13
  158. package/bin/contract-generator/index.d.ts +2 -2
  159. package/bin/contract-generator/index.js +2 -18
  160. package/bin/contract-generator/interfaces/IContractGeneratorApi.d.ts +1 -1
  161. package/bin/contract-generator/interfaces/IContractGeneratorApi.js +1 -2
  162. package/bin/countries-business/CountriesBusinessApi.d.ts +1 -1
  163. package/bin/countries-business/CountriesBusinessApi.js +4 -6
  164. package/bin/countries-business/index.d.ts +2 -2
  165. package/bin/countries-business/index.js +2 -18
  166. package/bin/countries-business/interfaces/ICountriesBusinessApi.js +1 -2
  167. package/bin/credit-engine/CreditEngineApi.d.ts +3 -3
  168. package/bin/credit-engine/CreditEngineApi.js +7 -13
  169. package/bin/credit-engine/index.d.ts +13 -13
  170. package/bin/credit-engine/index.js +13 -34
  171. package/bin/credit-engine/interfaces/ICreditEngineApi.d.ts +2 -2
  172. package/bin/credit-engine/interfaces/ICreditEngineApi.js +1 -2
  173. package/bin/credit-engine/queue/CreditCollectionPublisher.d.ts +2 -2
  174. package/bin/credit-engine/queue/CreditCollectionPublisher.js +6 -8
  175. package/bin/credit-engine/queue/CreditDelinquencyPublisher.d.ts +2 -2
  176. package/bin/credit-engine/queue/CreditDelinquencyPublisher.js +6 -8
  177. package/bin/credit-engine/queue/CreditIncomeDetectionPublisher.d.ts +2 -2
  178. package/bin/credit-engine/queue/CreditIncomeDetectionPublisher.js +6 -8
  179. package/bin/credit-engine/queue/CreditLienCollectionPublisher.d.ts +2 -2
  180. package/bin/credit-engine/queue/CreditLienCollectionPublisher.js +6 -8
  181. package/bin/credit-engine/queue/CreditNotificationPublisher.d.ts +2 -2
  182. package/bin/credit-engine/queue/CreditNotificationPublisher.js +6 -8
  183. package/bin/credit-engine/queue/CreditOfferGenerationPublisher.d.ts +2 -2
  184. package/bin/credit-engine/queue/CreditOfferGenerationPublisher.js +6 -8
  185. package/bin/credit-engine/queue/CreditReconciliationPublisher.d.ts +2 -2
  186. package/bin/credit-engine/queue/CreditReconciliationPublisher.js +6 -8
  187. package/bin/credit-engine/queue/CreditScoringPublisher.d.ts +2 -2
  188. package/bin/credit-engine/queue/CreditScoringPublisher.js +6 -8
  189. package/bin/credit-engine/queue/CreditStatementPublisher.d.ts +2 -2
  190. package/bin/credit-engine/queue/CreditStatementPublisher.js +6 -8
  191. package/bin/credit-engine/queue/CreditTransferPublisher.d.ts +2 -2
  192. package/bin/credit-engine/queue/CreditTransferPublisher.js +6 -8
  193. package/bin/credit-engine/queue/interfaces/ICreditCollectionPublisher.d.ts +1 -1
  194. package/bin/credit-engine/queue/interfaces/ICreditCollectionPublisher.js +1 -2
  195. package/bin/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.d.ts +1 -1
  196. package/bin/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.js +1 -2
  197. package/bin/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.d.ts +1 -1
  198. package/bin/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.js +1 -2
  199. package/bin/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.d.ts +1 -1
  200. package/bin/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.js +1 -2
  201. package/bin/credit-engine/queue/interfaces/ICreditNotificationPublisher.d.ts +1 -1
  202. package/bin/credit-engine/queue/interfaces/ICreditNotificationPublisher.js +1 -2
  203. package/bin/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.d.ts +1 -1
  204. package/bin/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.js +1 -2
  205. package/bin/credit-engine/queue/interfaces/ICreditReconciliationPublisher.d.ts +1 -1
  206. package/bin/credit-engine/queue/interfaces/ICreditReconciliationPublisher.js +1 -2
  207. package/bin/credit-engine/queue/interfaces/ICreditScoringPublisher.d.ts +1 -1
  208. package/bin/credit-engine/queue/interfaces/ICreditScoringPublisher.js +1 -2
  209. package/bin/credit-engine/queue/interfaces/ICreditStatementPublisher.d.ts +1 -1
  210. package/bin/credit-engine/queue/interfaces/ICreditStatementPublisher.js +1 -2
  211. package/bin/credit-engine/queue/interfaces/ICreditTransferPublisher.d.ts +1 -1
  212. package/bin/credit-engine/queue/interfaces/ICreditTransferPublisher.js +1 -2
  213. package/bin/credit-payment/CreditPaymentApi.d.ts +1 -1
  214. package/bin/credit-payment/CreditPaymentApi.js +7 -13
  215. package/bin/credit-payment/index.d.ts +2 -2
  216. package/bin/credit-payment/index.js +2 -18
  217. package/bin/credit-payment/interfaces/ICreditPaymentApi.js +1 -2
  218. package/bin/credit-statements/api/CreditStatementsApi.d.ts +1 -1
  219. package/bin/credit-statements/api/CreditStatementsApi.js +4 -6
  220. package/bin/credit-statements/api/interfaces/ICreditStatementsApi.js +1 -2
  221. package/bin/credit-statements/index.d.ts +2 -2
  222. package/bin/credit-statements/index.js +2 -18
  223. package/bin/device/DeviceApi.d.ts +2 -2
  224. package/bin/device/DeviceApi.js +7 -13
  225. package/bin/device/index.d.ts +2 -2
  226. package/bin/device/index.js +2 -18
  227. package/bin/device/interfaces/IDeviceApi.d.ts +1 -1
  228. package/bin/device/interfaces/IDeviceApi.js +1 -2
  229. package/bin/directories/DirectoriesApi.d.ts +3 -3
  230. package/bin/directories/DirectoriesApi.js +7 -13
  231. package/bin/directories/index.d.ts +2 -2
  232. package/bin/directories/index.js +2 -18
  233. package/bin/directories/interfaces/IDirectoriesApi.d.ts +2 -2
  234. package/bin/directories/interfaces/IDirectoriesApi.js +1 -2
  235. package/bin/directory/DirectoryApi.d.ts +4 -4
  236. package/bin/directory/DirectoryApi.js +7 -13
  237. package/bin/directory/index.d.ts +2 -2
  238. package/bin/directory/index.js +2 -18
  239. package/bin/directory/interfaces/IDirectoryApi.d.ts +3 -3
  240. package/bin/directory/interfaces/IDirectoryApi.js +1 -2
  241. package/bin/directorySetting/DirectorySettingApi.d.ts +3 -3
  242. package/bin/directorySetting/DirectorySettingApi.js +7 -13
  243. package/bin/directorySetting/index.d.ts +2 -2
  244. package/bin/directorySetting/index.js +2 -18
  245. package/bin/directorySetting/interfaces/IDirectorySettingApi.d.ts +2 -2
  246. package/bin/directorySetting/interfaces/IDirectorySettingApi.js +1 -2
  247. package/bin/disputes/DisputesApi.d.ts +1 -1
  248. package/bin/disputes/DisputesApi.js +7 -13
  249. package/bin/disputes/index.d.ts +2 -2
  250. package/bin/disputes/index.js +2 -18
  251. package/bin/disputes/interfaces/IDisputesApi.js +1 -2
  252. package/bin/document-generator/DocumentGeneratorApi.d.ts +3 -3
  253. package/bin/document-generator/DocumentGeneratorApi.js +7 -13
  254. package/bin/document-generator/index.d.ts +2 -2
  255. package/bin/document-generator/index.js +2 -18
  256. package/bin/document-generator/interfaces/IDocumentGeneratorApi.d.ts +2 -2
  257. package/bin/document-generator/interfaces/IDocumentGeneratorApi.js +1 -2
  258. package/bin/document-image-processor/DocumentImageProcessorApi.d.ts +3 -3
  259. package/bin/document-image-processor/DocumentImageProcessorApi.js +5 -8
  260. package/bin/document-image-processor/index.d.ts +2 -2
  261. package/bin/document-image-processor/index.js +2 -18
  262. package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.d.ts +2 -2
  263. package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.js +1 -2
  264. package/bin/estafeta/api/EstafetaApi.d.ts +6 -6
  265. package/bin/estafeta/api/EstafetaApi.js +4 -6
  266. package/bin/estafeta/api/interfaces/IEstafetaApi.d.ts +4 -4
  267. package/bin/estafeta/api/interfaces/IEstafetaApi.js +1 -2
  268. package/bin/estafeta/index.d.ts +2 -2
  269. package/bin/estafeta/index.js +2 -18
  270. package/bin/event-history-business/EventHistoryApi.d.ts +3 -3
  271. package/bin/event-history-business/EventHistoryApi.js +7 -13
  272. package/bin/event-history-business/index.d.ts +2 -2
  273. package/bin/event-history-business/index.js +2 -18
  274. package/bin/event-history-business/interfaces/IEventHistoryApi.d.ts +2 -2
  275. package/bin/event-history-business/interfaces/IEventHistoryApi.js +1 -2
  276. package/bin/exchangeRates/ExchangeRatesApi.d.ts +3 -3
  277. package/bin/exchangeRates/ExchangeRatesApi.js +4 -6
  278. package/bin/exchangeRates/index.d.ts +2 -2
  279. package/bin/exchangeRates/index.js +2 -18
  280. package/bin/exchangeRates/interfaces/IExchangeRatesApi.d.ts +2 -2
  281. package/bin/exchangeRates/interfaces/IExchangeRatesApi.js +1 -2
  282. package/bin/fiadoMessages/api/FiadoMessagesApi.d.ts +1 -1
  283. package/bin/fiadoMessages/api/FiadoMessagesApi.js +5 -8
  284. package/bin/fiadoMessages/api/interfaces/IFiadoMessagesApi.js +1 -2
  285. package/bin/fiadoMessages/index.d.ts +2 -2
  286. package/bin/fiadoMessages/index.js +2 -18
  287. package/bin/firebase-connector/FirebaseConnectorApi.d.ts +2 -2
  288. package/bin/firebase-connector/FirebaseConnectorApi.js +12 -15
  289. package/bin/firebase-connector/index.d.ts +2 -2
  290. package/bin/firebase-connector/index.js +2 -18
  291. package/bin/firebase-connector/interfaces/IFirebaseConnectorApi.d.ts +1 -1
  292. package/bin/firebase-connector/interfaces/IFirebaseConnectorApi.js +1 -2
  293. package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.d.ts +3 -3
  294. package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.js +4 -6
  295. package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.d.ts +2 -2
  296. package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.js +1 -2
  297. package/bin/fraudPreventionEngine/index.d.ts +2 -2
  298. package/bin/fraudPreventionEngine/index.js +2 -18
  299. package/bin/group/GroupApi.d.ts +3 -3
  300. package/bin/group/GroupApi.js +7 -13
  301. package/bin/group/index.d.ts +2 -2
  302. package/bin/group/index.js +2 -18
  303. package/bin/group/interfaces/IGroupApi.d.ts +2 -2
  304. package/bin/group/interfaces/IGroupApi.js +1 -2
  305. package/bin/identity/IdentityApi.d.ts +2 -2
  306. package/bin/identity/IdentityApi.js +7 -13
  307. package/bin/identity/index.d.ts +2 -2
  308. package/bin/identity/index.js +2 -18
  309. package/bin/identity/interfaces/IIdentityApi.d.ts +1 -1
  310. package/bin/identity/interfaces/IIdentityApi.js +1 -2
  311. package/bin/index.d.ts +77 -75
  312. package/bin/index.js +77 -91
  313. package/bin/legalDocument/api/LegalDocumentApi.d.ts +1 -1
  314. package/bin/legalDocument/api/LegalDocumentApi.js +5 -8
  315. package/bin/legalDocument/api/interfaces/ILegalDocumentApi.js +1 -2
  316. package/bin/legalDocument/index.d.ts +2 -2
  317. package/bin/legalDocument/index.js +2 -18
  318. package/bin/messages-connector/api/MessagesConnectorApi.d.ts +17 -0
  319. package/bin/messages-connector/api/MessagesConnectorApi.js +50 -0
  320. package/bin/messages-connector/api/interfaces/IMessagesConnectorApi.d.ts +12 -0
  321. package/bin/messages-connector/api/interfaces/IMessagesConnectorApi.js +1 -0
  322. package/bin/messages-connector/index.d.ts +4 -0
  323. package/bin/messages-connector/index.js +4 -0
  324. package/bin/messages-connector/queue/MessagesConnectorPublisher.d.ts +7 -0
  325. package/bin/messages-connector/queue/MessagesConnectorPublisher.js +23 -0
  326. package/bin/messages-connector/queue/interfaces/IMessagesConnectorPublisher.d.ts +4 -0
  327. package/bin/messages-connector/queue/interfaces/IMessagesConnectorPublisher.js +1 -0
  328. package/bin/milestone-business/api/MilestoneBusinessApi.d.ts +2 -2
  329. package/bin/milestone-business/api/MilestoneBusinessApi.js +4 -6
  330. package/bin/milestone-business/api/interfaces/IMilestoneBusinessApi.d.ts +1 -1
  331. package/bin/milestone-business/api/interfaces/IMilestoneBusinessApi.js +1 -2
  332. package/bin/milestone-business/index.d.ts +2 -2
  333. package/bin/milestone-business/index.js +2 -18
  334. package/bin/multicommServicePayment/api/MulticommServicePaymentApi.d.ts +4 -4
  335. package/bin/multicommServicePayment/api/MulticommServicePaymentApi.js +4 -6
  336. package/bin/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.d.ts +3 -3
  337. package/bin/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.js +1 -2
  338. package/bin/multicommServicePayment/index.d.ts +2 -2
  339. package/bin/multicommServicePayment/index.js +2 -18
  340. package/bin/notificationMessages/index.d.ts +2 -2
  341. package/bin/notificationMessages/index.js +2 -18
  342. package/bin/notificationMessages/queue/NotificationMessagePublisher.d.ts +3 -3
  343. package/bin/notificationMessages/queue/NotificationMessagePublisher.js +7 -9
  344. package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.d.ts +2 -2
  345. package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.js +1 -2
  346. package/bin/notificationWebsockets/index.d.ts +2 -2
  347. package/bin/notificationWebsockets/index.js +2 -18
  348. package/bin/notificationWebsockets/queue/NotificationWSMessagePublisher.d.ts +2 -2
  349. package/bin/notificationWebsockets/queue/NotificationWSMessagePublisher.js +8 -13
  350. package/bin/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.d.ts +1 -1
  351. package/bin/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.js +1 -2
  352. package/bin/observations/ObservationsApi.d.ts +3 -3
  353. package/bin/observations/ObservationsApi.js +7 -13
  354. package/bin/observations/index.d.ts +2 -2
  355. package/bin/observations/index.js +2 -18
  356. package/bin/observations/interfaces/IObservationsApi.d.ts +2 -2
  357. package/bin/observations/interfaces/IObservationsApi.js +1 -2
  358. package/bin/onboarding/api/OnboardingApi.d.ts +1 -1
  359. package/bin/onboarding/api/OnboardingApi.js +4 -6
  360. package/bin/onboarding/api/interfaces/IOnboardingApi.js +1 -2
  361. package/bin/onboarding/index.d.ts +2 -2
  362. package/bin/onboarding/index.js +2 -18
  363. package/bin/onboarding-business/api/OnboardingBusinessApi.d.ts +1 -1
  364. package/bin/onboarding-business/api/OnboardingBusinessApi.js +4 -6
  365. package/bin/onboarding-business/api/interfaces/IOnboardingBusinessApi.js +1 -2
  366. package/bin/onboarding-business/index.d.ts +2 -2
  367. package/bin/onboarding-business/index.js +2 -18
  368. package/bin/order-collector-business/OrderCollectorApi.d.ts +2 -2
  369. package/bin/order-collector-business/OrderCollectorApi.js +7 -13
  370. package/bin/order-collector-business/index.d.ts +2 -2
  371. package/bin/order-collector-business/index.js +2 -18
  372. package/bin/order-collector-business/interfaces/IOrderCollectorApi.d.ts +1 -1
  373. package/bin/order-collector-business/interfaces/IOrderCollectorApi.js +1 -2
  374. package/bin/p2pContact/api/P2pContactApi.d.ts +2 -2
  375. package/bin/p2pContact/api/P2pContactApi.js +4 -6
  376. package/bin/p2pContact/api/interfaces/IP2pContactApi.d.ts +1 -1
  377. package/bin/p2pContact/api/interfaces/IP2pContactApi.js +1 -2
  378. package/bin/p2pContact/index.d.ts +2 -2
  379. package/bin/p2pContact/index.js +2 -18
  380. package/bin/payroll-business/PayrollApi.d.ts +2 -2
  381. package/bin/payroll-business/PayrollApi.js +7 -13
  382. package/bin/payroll-business/index.d.ts +2 -2
  383. package/bin/payroll-business/index.js +2 -18
  384. package/bin/payroll-business/interfaces/IPayrollApi.d.ts +1 -1
  385. package/bin/payroll-business/interfaces/IPayrollApi.js +1 -2
  386. package/bin/people-business/api/PeopleBusinessApi.d.ts +3 -3
  387. package/bin/people-business/api/PeopleBusinessApi.js +4 -6
  388. package/bin/people-business/api/interfaces/IPeopleBusinessApi.d.ts +2 -2
  389. package/bin/people-business/api/interfaces/IPeopleBusinessApi.js +1 -2
  390. package/bin/people-business/index.d.ts +2 -2
  391. package/bin/people-business/index.js +2 -18
  392. package/bin/platform-error-events/index.d.ts +2 -2
  393. package/bin/platform-error-events/index.js +2 -18
  394. package/bin/platform-error-events/queue/PlatformErrorEventsPublisher.d.ts +2 -2
  395. package/bin/platform-error-events/queue/PlatformErrorEventsPublisher.js +6 -8
  396. package/bin/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.d.ts +1 -1
  397. package/bin/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.js +1 -2
  398. package/bin/pomelo/api/PomeloApi.d.ts +3 -3
  399. package/bin/pomelo/api/PomeloApi.js +4 -6
  400. package/bin/pomelo/api/interfaces/IPomeloApi.d.ts +2 -2
  401. package/bin/pomelo/api/interfaces/IPomeloApi.js +1 -2
  402. package/bin/pomelo/index.d.ts +2 -2
  403. package/bin/pomelo/index.js +2 -18
  404. package/bin/pomeloProcessor/api/PomeloProcessorApi.d.ts +1 -1
  405. package/bin/pomeloProcessor/api/PomeloProcessorApi.js +5 -8
  406. package/bin/pomeloProcessor/api/interfaces/IPomeloProcessorApi.js +1 -2
  407. package/bin/pomeloProcessor/index.d.ts +2 -2
  408. package/bin/pomeloProcessor/index.js +2 -18
  409. package/bin/pricelist-business/PriceListApi.d.ts +3 -3
  410. package/bin/pricelist-business/PriceListApi.js +7 -13
  411. package/bin/pricelist-business/index.d.ts +2 -2
  412. package/bin/pricelist-business/index.js +2 -18
  413. package/bin/pricelist-business/interfaces/IPriceListApi.d.ts +2 -2
  414. package/bin/pricelist-business/interfaces/IPriceListApi.js +1 -2
  415. package/bin/product-catalog/ProductCatalogApi.d.ts +2 -2
  416. package/bin/product-catalog/ProductCatalogApi.js +4 -6
  417. package/bin/product-catalog/index.d.ts +2 -2
  418. package/bin/product-catalog/index.js +2 -18
  419. package/bin/product-catalog/interfaces/IProductCatalogApi.d.ts +1 -1
  420. package/bin/product-catalog/interfaces/IProductCatalogApi.js +1 -2
  421. package/bin/product-payment/api/ProductPaymentApi.d.ts +4 -4
  422. package/bin/product-payment/api/ProductPaymentApi.js +4 -6
  423. package/bin/product-payment/api/interfaces/IProductPaymentApi.d.ts +3 -3
  424. package/bin/product-payment/api/interfaces/IProductPaymentApi.js +1 -2
  425. package/bin/product-payment/index.d.ts +2 -2
  426. package/bin/product-payment/index.js +2 -18
  427. package/bin/referral-business/ReferralBusinessApi.d.ts +3 -3
  428. package/bin/referral-business/ReferralBusinessApi.js +7 -13
  429. package/bin/referral-business/index.d.ts +2 -2
  430. package/bin/referral-business/index.js +2 -18
  431. package/bin/referral-business/interfaces/IReferralBusinessApi.d.ts +2 -2
  432. package/bin/referral-business/interfaces/IReferralBusinessApi.js +1 -2
  433. package/bin/report-processor-business/api/IReportProcessorBusinessApi.js +1 -2
  434. package/bin/report-processor-business/api/ReportProcessorBusinessApi.d.ts +1 -1
  435. package/bin/report-processor-business/api/ReportProcessorBusinessApi.js +4 -6
  436. package/bin/report-processor-business/index.d.ts +2 -2
  437. package/bin/report-processor-business/index.js +2 -18
  438. package/bin/riskProfile/api/RiskProfileApi.d.ts +5 -5
  439. package/bin/riskProfile/api/RiskProfileApi.js +4 -6
  440. package/bin/riskProfile/api/TransactionAlertApi.d.ts +2 -2
  441. package/bin/riskProfile/api/TransactionAlertApi.js +4 -6
  442. package/bin/riskProfile/api/interfaces/IRiskProfileApi.d.ts +4 -4
  443. package/bin/riskProfile/api/interfaces/IRiskProfileApi.js +1 -2
  444. package/bin/riskProfile/api/interfaces/ITransactionAlertApi.d.ts +1 -1
  445. package/bin/riskProfile/api/interfaces/ITransactionAlertApi.js +1 -2
  446. package/bin/riskProfile/index.d.ts +6 -6
  447. package/bin/riskProfile/index.js +6 -22
  448. package/bin/riskProfile/queue/TransactionAlarmPublisher.d.ts +2 -2
  449. package/bin/riskProfile/queue/TransactionAlarmPublisher.js +7 -10
  450. package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.d.ts +1 -1
  451. package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.js +1 -2
  452. package/bin/service-business/ServiceApi.d.ts +5 -5
  453. package/bin/service-business/ServiceApi.js +7 -13
  454. package/bin/service-business/index.d.ts +2 -2
  455. package/bin/service-business/index.js +2 -18
  456. package/bin/service-business/interfaces/IServiceApi.d.ts +4 -4
  457. package/bin/service-business/interfaces/IServiceApi.js +1 -2
  458. package/bin/sessionActivity/index.d.ts +2 -2
  459. package/bin/sessionActivity/index.js +2 -18
  460. package/bin/sessionActivity/queue/SessionActivityPublisher.d.ts +2 -2
  461. package/bin/sessionActivity/queue/SessionActivityPublisher.js +7 -10
  462. package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.d.ts +1 -1
  463. package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.js +1 -2
  464. package/bin/sns-ses-connector/api/SnsSesConnectorApi.d.ts +10 -0
  465. package/bin/sns-ses-connector/api/SnsSesConnectorApi.js +30 -0
  466. package/bin/sns-ses-connector/api/interfaces/ISnsSesConnectorApi.d.ts +5 -0
  467. package/bin/sns-ses-connector/api/interfaces/ISnsSesConnectorApi.js +1 -0
  468. package/bin/sns-ses-connector/index.d.ts +2 -0
  469. package/bin/sns-ses-connector/index.js +2 -0
  470. package/bin/stp-business/api/STPBusinessApi.d.ts +1 -1
  471. package/bin/stp-business/api/STPBusinessApi.js +4 -6
  472. package/bin/stp-business/api/interfaces/ISTPBusinessApi.js +1 -2
  473. package/bin/stp-business/index.d.ts +2 -2
  474. package/bin/stp-business/index.js +2 -18
  475. package/bin/stpAccount/api/STPAccountApi.d.ts +3 -3
  476. package/bin/stpAccount/api/STPAccountApi.js +4 -6
  477. package/bin/stpAccount/api/interfaces/ISTPAccountApi.d.ts +2 -2
  478. package/bin/stpAccount/api/interfaces/ISTPAccountApi.js +1 -2
  479. package/bin/stpAccount/index.d.ts +2 -2
  480. package/bin/stpAccount/index.js +2 -18
  481. package/bin/stpServicePayment/api/StpServicePaymentApi.d.ts +4 -4
  482. package/bin/stpServicePayment/api/StpServicePaymentApi.js +4 -6
  483. package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.d.ts +3 -3
  484. package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.js +1 -2
  485. package/bin/stpServicePayment/index.d.ts +2 -2
  486. package/bin/stpServicePayment/index.js +2 -18
  487. package/bin/stpSpei/api/StpSpeiApi.d.ts +2 -2
  488. package/bin/stpSpei/api/StpSpeiApi.js +5 -8
  489. package/bin/stpSpei/api/interfaces/IStpSpeiApi.d.ts +1 -1
  490. package/bin/stpSpei/api/interfaces/IStpSpeiApi.js +1 -2
  491. package/bin/stpSpei/index.d.ts +2 -2
  492. package/bin/stpSpei/index.js +2 -18
  493. package/bin/teams-connector/index.d.ts +2 -2
  494. package/bin/teams-connector/index.js +2 -18
  495. package/bin/teams-connector/queue/TeamsNotificationPublisher.d.ts +2 -2
  496. package/bin/teams-connector/queue/TeamsNotificationPublisher.js +6 -8
  497. package/bin/teams-connector/queue/interfaces/ITeamsNotificationPublisher.d.ts +1 -1
  498. package/bin/teams-connector/queue/interfaces/ITeamsNotificationPublisher.js +1 -2
  499. package/bin/tern/api/TernApi.d.ts +5 -5
  500. package/bin/tern/api/TernApi.js +4 -6
  501. package/bin/tern/api/interfaces/ITernApi.d.ts +6 -6
  502. package/bin/tern/api/interfaces/ITernApi.js +1 -2
  503. package/bin/tern/index.d.ts +2 -2
  504. package/bin/tern/index.js +2 -18
  505. package/bin/transaction/api/TransactionApi.d.ts +4 -4
  506. package/bin/transaction/api/TransactionApi.js +4 -6
  507. package/bin/transaction/api/interfaces/ITransactionApi.d.ts +3 -3
  508. package/bin/transaction/api/interfaces/ITransactionApi.js +1 -2
  509. package/bin/transaction/index.d.ts +4 -4
  510. package/bin/transaction/index.js +4 -20
  511. package/bin/transaction/queue/TransactionPublisher.d.ts +2 -2
  512. package/bin/transaction/queue/TransactionPublisher.js +7 -10
  513. package/bin/transaction/queue/interfaces/ITransactionPublisher.d.ts +1 -1
  514. package/bin/transaction/queue/interfaces/ITransactionPublisher.js +1 -2
  515. package/bin/transactionProcessor/api/TransactionProcessorApi.d.ts +4 -4
  516. package/bin/transactionProcessor/api/TransactionProcessorApi.js +4 -6
  517. package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.d.ts +3 -3
  518. package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.js +1 -2
  519. package/bin/transactionProcessor/index.d.ts +2 -2
  520. package/bin/transactionProcessor/index.js +2 -18
  521. package/bin/uniteller-connector/api/UnitellerConnectorApi.d.ts +3 -3
  522. package/bin/uniteller-connector/api/UnitellerConnectorApi.js +4 -6
  523. package/bin/uniteller-connector/api/interfaces/IUnitellerConnectorApi.d.ts +2 -2
  524. package/bin/uniteller-connector/api/interfaces/IUnitellerConnectorApi.js +1 -2
  525. package/bin/uniteller-connector/index.d.ts +2 -2
  526. package/bin/uniteller-connector/index.js +2 -23
  527. package/bin/utils/InvokerUtils.js +4 -7
  528. package/bin/zendesk/ZendeskApi.d.ts +3 -3
  529. package/bin/zendesk/ZendeskApi.js +7 -13
  530. package/bin/zendesk/index.d.ts +2 -2
  531. package/bin/zendesk/index.js +2 -18
  532. package/bin/zendesk/interfaces/IZendeskApi.d.ts +2 -2
  533. package/bin/zendesk/interfaces/IZendeskApi.js +1 -2
  534. package/package.json +45 -36
  535. package/src/account-beneficiary/AccountBeneficiaryApi.ts +18 -18
  536. package/src/account-beneficiary/index.ts +3 -3
  537. package/src/account-beneficiary/interfaces/IAccountBeneficiaryApi.ts +7 -7
  538. package/src/account-fiadoinc/AccountFiadoIncApi.ts +5 -5
  539. package/src/account-fiadoinc/index.ts +5 -5
  540. package/src/account-fiadoinc/interfaces/IAccountFiadoIncApi.ts +4 -4
  541. package/src/account-fiadoinc/queue/Publisher.ts +23 -23
  542. package/src/account-fiadoinc/queue/interfaces/IPublisher.ts +4 -4
  543. package/src/account-fiadosa/AccountFiadoSAApi.ts +38 -38
  544. package/src/account-fiadosa/index.ts +2 -2
  545. package/src/account-fiadosa/interfaces/IAccountFiadoSAApi.ts +16 -16
  546. package/src/account-pagoconfiado/AccountPagoConfiadoApi.ts +78 -78
  547. package/src/account-pagoconfiado/index.ts +2 -2
  548. package/src/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.ts +37 -37
  549. package/src/activity-business/ActivityApi.ts +36 -36
  550. package/src/activity-business/index.ts +6 -6
  551. package/src/activity-business/interfaces/IActivityApi.ts +13 -13
  552. package/src/activity-business/queue/ActivityPublisher.ts +30 -30
  553. package/src/activity-business/queue/IActivityPublisher.ts +4 -4
  554. package/src/address/AddressApi.ts +46 -46
  555. package/src/address/index.ts +4 -4
  556. package/src/address/interfaces/IAddressApi.ts +30 -30
  557. package/src/ai-engine-connector/AiEngineApi.ts +3 -3
  558. package/src/ai-engine-connector/index.ts +2 -2
  559. package/src/ai-engine-connector/interfaces/IAiEngineApi.ts +2 -2
  560. package/src/appselectondata/AppSelectionDataApi.ts +32 -32
  561. package/src/appselectondata/index.ts +3 -3
  562. package/src/appselectondata/interfaces/IAppSelectionDataApi.ts +1 -1
  563. package/src/authentication/AuthenticationApi.ts +29 -29
  564. package/src/authentication/index.ts +5 -5
  565. package/src/authentication/interfaces/IAuthenticationApi.ts +8 -8
  566. package/src/bankAccount/BankAccountApi.ts +4 -4
  567. package/src/bankAccount/index.ts +2 -2
  568. package/src/bankAccount/interfaces/IBankAccountApi.ts +6 -6
  569. package/src/bbvaRst/api/BBVARstApi.ts +16 -16
  570. package/src/bbvaRst/api/interfaces/IBBVARstApi.ts +4 -4
  571. package/src/bbvaRst/index.ts +2 -2
  572. package/src/benefits-marketplace/api/BenefitsMarketplaceApi.ts +35 -35
  573. package/src/benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.ts +21 -21
  574. package/src/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.ts +62 -62
  575. package/src/benefits-marketplace/index.ts +3 -3
  576. package/src/blacklist/BlackListApi.ts +19 -19
  577. package/src/blacklist/index.ts +3 -3
  578. package/src/blacklist/interfaces/IBlackListApi.ts +20 -20
  579. package/src/card/CardApi.ts +103 -103
  580. package/src/card/index.ts +4 -4
  581. package/src/card/interfaces/ICardApi.ts +32 -32
  582. package/src/card-business/index.ts +2 -2
  583. package/src/card-business/queue/CardBusinessPublisher.ts +23 -23
  584. package/src/card-business/queue/ICardBusinessPublisher.ts +10 -10
  585. package/src/centralPayments/CentralPaymentsConnectorApi.ts +12 -12
  586. package/src/centralPayments/index.ts +2 -2
  587. package/src/centralPayments/interfaces/ICentralPaymentsConnectorApi.ts +10 -10
  588. package/src/circuloCredito/api/CirculoCreditoApi.ts +21 -21
  589. package/src/circuloCredito/api/interfaces/ICirculoCreditoApi.ts +7 -7
  590. package/src/circuloCredito/index.ts +2 -2
  591. package/src/cnbv-business/CnbvApi.ts +31 -31
  592. package/src/cnbv-business/index.ts +4 -4
  593. package/src/cnbv-business/interfaces/ICnbvApi.ts +19 -19
  594. package/src/cnbv-connector/CnbvConnectorApi.ts +18 -18
  595. package/src/cnbv-connector/index.ts +2 -2
  596. package/src/cnbv-connector/interfaces/ICnbvConnectorApi.ts +6 -6
  597. package/src/cognitoConnector/CognitoConnectorApi.ts +110 -110
  598. package/src/cognitoConnector/CognitoConnectorV2.ts +87 -87
  599. package/src/cognitoConnector/index.ts +11 -11
  600. package/src/cognitoConnector/interfaces/ICognitoConnectorApi.ts +16 -16
  601. package/src/cognitoConnector/interfaces/ICognitoV2Api.ts +63 -63
  602. package/src/collector/CollectorApi.ts +6 -6
  603. package/src/collector/index.ts +3 -3
  604. package/src/collector/interfaces/ICollectorApi.ts +5 -5
  605. package/src/commission-business/CommissionBusinessApi.ts +19 -19
  606. package/src/commission-business/index.ts +3 -3
  607. package/src/commission-business/interfaces/ICommissionBusinessApi.ts +15 -15
  608. package/src/contactInformation/ContactInformationApi.ts +20 -20
  609. package/src/contactInformation/index.ts +3 -3
  610. package/src/contactInformation/interface/IContactInformationApi.ts +8 -8
  611. package/src/container.config.ts +280 -271
  612. package/src/contract-business/api/ContractBusinessApi.ts +37 -37
  613. package/src/contract-business/api/interfaces/IContractBusinessApi.ts +32 -32
  614. package/src/contract-business/index.ts +2 -2
  615. package/src/contract-generator/ContractGeneratorApi.ts +18 -18
  616. package/src/contract-generator/index.ts +3 -3
  617. package/src/contract-generator/interfaces/IContractGeneratorApi.ts +16 -16
  618. package/src/countries-business/CountriesBusinessApi.ts +26 -26
  619. package/src/countries-business/index.ts +2 -2
  620. package/src/countries-business/interfaces/ICountriesBusinessApi.ts +22 -22
  621. package/src/credit-engine/CreditEngineApi.ts +54 -54
  622. package/src/credit-engine/index.ts +17 -17
  623. package/src/credit-engine/interfaces/ICreditEngineApi.ts +46 -46
  624. package/src/credit-engine/queue/CreditCollectionPublisher.ts +24 -24
  625. package/src/credit-engine/queue/CreditDelinquencyPublisher.ts +24 -24
  626. package/src/credit-engine/queue/CreditIncomeDetectionPublisher.ts +24 -24
  627. package/src/credit-engine/queue/CreditLienCollectionPublisher.ts +24 -24
  628. package/src/credit-engine/queue/CreditNotificationPublisher.ts +24 -24
  629. package/src/credit-engine/queue/CreditOfferGenerationPublisher.ts +24 -24
  630. package/src/credit-engine/queue/CreditReconciliationPublisher.ts +24 -24
  631. package/src/credit-engine/queue/CreditScoringPublisher.ts +24 -24
  632. package/src/credit-engine/queue/CreditStatementPublisher.ts +24 -24
  633. package/src/credit-engine/queue/CreditTransferPublisher.ts +24 -24
  634. package/src/credit-engine/queue/interfaces/ICreditCollectionPublisher.ts +5 -5
  635. package/src/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.ts +5 -5
  636. package/src/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.ts +5 -5
  637. package/src/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.ts +5 -5
  638. package/src/credit-engine/queue/interfaces/ICreditNotificationPublisher.ts +5 -5
  639. package/src/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.ts +5 -5
  640. package/src/credit-engine/queue/interfaces/ICreditReconciliationPublisher.ts +5 -5
  641. package/src/credit-engine/queue/interfaces/ICreditScoringPublisher.ts +5 -5
  642. package/src/credit-engine/queue/interfaces/ICreditStatementPublisher.ts +5 -5
  643. package/src/credit-engine/queue/interfaces/ICreditTransferPublisher.ts +5 -5
  644. package/src/credit-payment/CreditPaymentApi.ts +73 -73
  645. package/src/credit-payment/index.ts +2 -2
  646. package/src/credit-payment/interfaces/ICreditPaymentApi.ts +52 -52
  647. package/src/credit-statements/api/CreditStatementsApi.ts +25 -25
  648. package/src/credit-statements/api/interfaces/ICreditStatementsApi.ts +30 -30
  649. package/src/credit-statements/index.ts +2 -2
  650. package/src/device/DeviceApi.ts +32 -32
  651. package/src/device/index.ts +3 -3
  652. package/src/device/interfaces/IDeviceApi.ts +41 -41
  653. package/src/directories/DirectoriesApi.ts +3 -3
  654. package/src/directories/index.ts +3 -3
  655. package/src/directories/interfaces/IDirectoriesApi.ts +2 -2
  656. package/src/directory/DirectoryApi.ts +196 -196
  657. package/src/directory/index.ts +3 -3
  658. package/src/directory/interfaces/IDirectoryApi.ts +73 -73
  659. package/src/directorySetting/DirectorySettingApi.ts +3 -3
  660. package/src/directorySetting/index.ts +3 -3
  661. package/src/directorySetting/interfaces/IDirectorySettingApi.ts +2 -2
  662. package/src/disputes/DisputesApi.ts +50 -50
  663. package/src/disputes/index.ts +3 -3
  664. package/src/disputes/interfaces/IDisputesApi.ts +54 -54
  665. package/src/document-generator/DocumentGeneratorApi.ts +51 -51
  666. package/src/document-generator/index.ts +2 -2
  667. package/src/document-generator/interfaces/IDocumentGeneratorApi.ts +34 -34
  668. package/src/document-image-processor/DocumentImageProcessorApi.ts +3 -3
  669. package/src/document-image-processor/index.ts +2 -2
  670. package/src/document-image-processor/interfaces/IDocumentImageProcessorApi.ts +2 -2
  671. package/src/estafeta/api/EstafetaApi.ts +6 -6
  672. package/src/estafeta/api/interfaces/IEstafetaApi.ts +4 -4
  673. package/src/estafeta/index.ts +2 -2
  674. package/src/event-history-business/EventHistoryApi.ts +108 -108
  675. package/src/event-history-business/index.ts +3 -3
  676. package/src/event-history-business/interfaces/IEventHistoryApi.ts +47 -47
  677. package/src/exchangeRates/ExchangeRatesApi.ts +3 -3
  678. package/src/exchangeRates/index.ts +2 -2
  679. package/src/exchangeRates/interfaces/IExchangeRatesApi.ts +2 -2
  680. package/src/fiadoMessages/api/FiadoMessagesApi.ts +20 -20
  681. package/src/fiadoMessages/api/interfaces/IFiadoMessagesApi.ts +2 -2
  682. package/src/fiadoMessages/index.ts +2 -2
  683. package/src/firebase-connector/FirebaseConnectorApi.ts +2 -2
  684. package/src/firebase-connector/index.ts +4 -4
  685. package/src/firebase-connector/interfaces/IFirebaseConnectorApi.ts +1 -1
  686. package/src/fraudPreventionEngine/api/FraudPreventionEngineApi.ts +3 -3
  687. package/src/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.ts +2 -2
  688. package/src/fraudPreventionEngine/index.ts +2 -2
  689. package/src/group/GroupApi.ts +3 -3
  690. package/src/group/index.ts +2 -2
  691. package/src/group/interfaces/IGroupApi.ts +2 -2
  692. package/src/identity/IdentityApi.ts +95 -95
  693. package/src/identity/index.ts +4 -4
  694. package/src/identity/interfaces/IIdentityApi.ts +46 -46
  695. package/src/index.ts +77 -75
  696. package/src/legalDocument/api/LegalDocumentApi.ts +38 -38
  697. package/src/legalDocument/api/interfaces/ILegalDocumentApi.ts +7 -7
  698. package/src/legalDocument/index.ts +4 -4
  699. package/src/messages-connector/api/MessagesConnectorApi.ts +50 -0
  700. package/src/messages-connector/api/interfaces/IMessagesConnectorApi.ts +25 -0
  701. package/src/messages-connector/index.ts +4 -0
  702. package/src/messages-connector/queue/MessagesConnectorPublisher.ts +18 -0
  703. package/src/messages-connector/queue/interfaces/IMessagesConnectorPublisher.ts +5 -0
  704. package/src/milestone-business/api/MilestoneBusinessApi.ts +26 -26
  705. package/src/milestone-business/api/interfaces/IMilestoneBusinessApi.ts +9 -9
  706. package/src/milestone-business/index.ts +2 -2
  707. package/src/multicommServicePayment/api/MulticommServicePaymentApi.ts +4 -4
  708. package/src/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.ts +3 -3
  709. package/src/multicommServicePayment/index.ts +2 -2
  710. package/src/notificationMessages/index.ts +2 -2
  711. package/src/notificationMessages/queue/NotificationMessagePublisher.ts +3 -3
  712. package/src/notificationMessages/queue/interfaces/INotificationMessagesPublisher.ts +2 -2
  713. package/src/notificationWebsockets/index.ts +2 -2
  714. package/src/notificationWebsockets/queue/NotificationWSMessagePublisher.ts +29 -29
  715. package/src/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.ts +4 -4
  716. package/src/observations/ObservationsApi.ts +3 -3
  717. package/src/observations/index.ts +3 -3
  718. package/src/observations/interfaces/IObservationsApi.ts +2 -2
  719. package/src/onboarding/api/OnboardingApi.ts +23 -23
  720. package/src/onboarding/api/interfaces/IOnboardingApi.ts +3 -3
  721. package/src/onboarding/index.ts +2 -2
  722. package/src/onboarding-business/api/OnboardingBusinessApi.ts +210 -210
  723. package/src/onboarding-business/api/interfaces/IOnboardingBusinessApi.ts +9 -9
  724. package/src/onboarding-business/index.ts +2 -2
  725. package/src/order-collector-business/OrderCollectorApi.ts +20 -20
  726. package/src/order-collector-business/index.ts +4 -4
  727. package/src/order-collector-business/interfaces/IOrderCollectorApi.ts +9 -9
  728. package/src/p2pContact/api/P2pContactApi.ts +19 -19
  729. package/src/p2pContact/api/interfaces/IP2pContactApi.ts +4 -4
  730. package/src/p2pContact/index.ts +2 -2
  731. package/src/payroll-business/PayrollApi.ts +19 -19
  732. package/src/payroll-business/index.ts +2 -2
  733. package/src/payroll-business/interfaces/IPayrollApi.ts +18 -18
  734. package/src/people-business/api/PeopleBusinessApi.ts +3 -3
  735. package/src/people-business/api/interfaces/IPeopleBusinessApi.ts +2 -2
  736. package/src/people-business/index.ts +2 -2
  737. package/src/platform-error-events/index.ts +2 -2
  738. package/src/platform-error-events/queue/PlatformErrorEventsPublisher.ts +24 -24
  739. package/src/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.ts +5 -5
  740. package/src/pomelo/api/PomeloApi.ts +109 -109
  741. package/src/pomelo/api/interfaces/IPomeloApi.ts +29 -29
  742. package/src/pomelo/index.ts +2 -2
  743. package/src/pomeloProcessor/api/PomeloProcessorApi.ts +17 -17
  744. package/src/pomeloProcessor/api/interfaces/IPomeloProcessorApi.ts +2 -2
  745. package/src/pomeloProcessor/index.ts +2 -2
  746. package/src/pricelist-business/PriceListApi.ts +3 -3
  747. package/src/pricelist-business/index.ts +2 -2
  748. package/src/pricelist-business/interfaces/IPriceListApi.ts +2 -2
  749. package/src/product-catalog/ProductCatalogApi.ts +2 -2
  750. package/src/product-catalog/index.ts +2 -2
  751. package/src/product-catalog/interfaces/IProductCatalogApi.ts +1 -1
  752. package/src/product-payment/api/ProductPaymentApi.ts +25 -25
  753. package/src/product-payment/api/interfaces/IProductPaymentApi.ts +8 -8
  754. package/src/product-payment/index.ts +2 -2
  755. package/src/referral-business/ReferralBusinessApi.ts +3 -3
  756. package/src/referral-business/index.ts +2 -2
  757. package/src/referral-business/interfaces/IReferralBusinessApi.ts +2 -2
  758. package/src/report-processor-business/api/IReportProcessorBusinessApi.ts +4 -4
  759. package/src/report-processor-business/api/ReportProcessorBusinessApi.ts +17 -17
  760. package/src/report-processor-business/index.ts +5 -5
  761. package/src/riskProfile/api/RiskProfileApi.ts +5 -5
  762. package/src/riskProfile/api/TransactionAlertApi.ts +49 -49
  763. package/src/riskProfile/api/interfaces/IRiskProfileApi.ts +4 -4
  764. package/src/riskProfile/api/interfaces/ITransactionAlertApi.ts +70 -70
  765. package/src/riskProfile/index.ts +8 -8
  766. package/src/riskProfile/queue/TransactionAlarmPublisher.ts +25 -25
  767. package/src/riskProfile/queue/interfaces/ITransactionAlarmPublisher.ts +4 -4
  768. package/src/service-business/ServiceApi.ts +5 -5
  769. package/src/service-business/index.ts +3 -3
  770. package/src/service-business/interfaces/IServiceApi.ts +4 -4
  771. package/src/sessionActivity/index.ts +2 -2
  772. package/src/sessionActivity/queue/SessionActivityPublisher.ts +23 -23
  773. package/src/sessionActivity/queue/interfaces/ISessionActivityPublisher.ts +4 -4
  774. package/src/sns-ses-connector/api/SnsSesConnectorApi.ts +17 -0
  775. package/src/sns-ses-connector/api/interfaces/ISnsSesConnectorApi.ts +6 -0
  776. package/src/sns-ses-connector/index.ts +2 -0
  777. package/src/stp-business/api/STPBusinessApi.ts +32 -32
  778. package/src/stp-business/api/interfaces/ISTPBusinessApi.ts +15 -15
  779. package/src/stp-business/index.ts +2 -2
  780. package/src/stpAccount/api/STPAccountApi.ts +111 -111
  781. package/src/stpAccount/api/interfaces/ISTPAccountApi.ts +7 -7
  782. package/src/stpAccount/index.ts +2 -2
  783. package/src/stpServicePayment/api/StpServicePaymentApi.ts +4 -4
  784. package/src/stpServicePayment/api/interfaces/IStpServicePaymentApi.ts +3 -3
  785. package/src/stpServicePayment/index.ts +2 -2
  786. package/src/stpSpei/api/StpSpeiApi.ts +32 -32
  787. package/src/stpSpei/api/interfaces/IStpSpeiApi.ts +6 -6
  788. package/src/stpSpei/index.ts +2 -2
  789. package/src/teams-connector/index.ts +2 -2
  790. package/src/teams-connector/queue/TeamsNotificationPublisher.ts +24 -24
  791. package/src/teams-connector/queue/interfaces/ITeamsNotificationPublisher.ts +5 -5
  792. package/src/tern/api/TernApi.ts +5 -5
  793. package/src/tern/api/interfaces/ITernApi.ts +6 -6
  794. package/src/tern/index.ts +2 -2
  795. package/src/transaction/api/TransactionApi.ts +4 -4
  796. package/src/transaction/api/interfaces/ITransactionApi.ts +3 -3
  797. package/src/transaction/index.ts +5 -5
  798. package/src/transaction/queue/TransactionPublisher.ts +25 -25
  799. package/src/transaction/queue/interfaces/ITransactionPublisher.ts +4 -4
  800. package/src/transactionProcessor/api/TransactionProcessorApi.ts +4 -4
  801. package/src/transactionProcessor/api/interfaces/ITransactionProcessorApi.ts +3 -3
  802. package/src/transactionProcessor/index.ts +2 -2
  803. package/src/uniteller-connector/api/UnitellerConnectorApi.ts +113 -113
  804. package/src/uniteller-connector/api/interfaces/IUnitellerConnectorApi.ts +85 -85
  805. package/src/uniteller-connector/index.ts +2 -2
  806. package/src/utils/InvokerUtils.ts +18 -18
  807. package/src/zendesk/ZendeskApi.ts +3 -3
  808. package/src/zendesk/index.ts +3 -3
  809. package/src/zendesk/interfaces/IZendeskApi.ts +2 -2
@@ -1,5 +1,5 @@
1
- import {CreateRSTTransactionRequest} from "@fiado/type-kit/bin/bbvaRst";
2
-
3
- export interface IBBVARstApi {
4
- create(request: CreateRSTTransactionRequest): Promise<any>;
1
+ import {CreateRSTTransactionRequest} from "@fiado/type-kit/bin/bbvaRst/index.js";
2
+
3
+ export interface IBBVARstApi {
4
+ create(request: CreateRSTTransactionRequest): Promise<any>;
5
5
  }
@@ -1,2 +1,2 @@
1
- export * from './api/interfaces/IBBVARstApi';
2
- export * from './api/BBVARstApi';
1
+ export * from './api/interfaces/IBBVARstApi.js';
2
+ export * from './api/BBVARstApi.js';
@@ -1,35 +1,35 @@
1
- import {IBenefitsMarketplaceApi} from "./interfaces/IBenefitsMarketplaceApi";
2
- import {inject, injectable} from "inversify";
3
- import {IHttpRequest} from "@fiado/http-client";
4
- import {BenefitPaymentRequest, BenefitPaymentResponse} from "@fiado/type-kit/bin/benefitCenter";
5
- import {ApiGatewayResponse} from "@fiado/gateway-adapter";
6
- import {BenefitLeafDisplayResponse} from "./dtos/BenefitLeafDisplayResponse";
7
-
8
- @injectable()
9
- export default class BenefitsMarketplaceApi implements IBenefitsMarketplaceApi {
10
- private readonly baseUrl = process.env.BENEFITS_MARKETPLACE_LAMBDA_URL || "";
11
-
12
- constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
13
- }
14
-
15
- async pay(moduleName: string, request: BenefitPaymentRequest): Promise<ApiGatewayResponse<BenefitPaymentResponse>> {
16
- const url = `${this.baseUrl}/pay/${encodeURIComponent(moduleName)}`;
17
- return await this.httpRequest.post(url, request);
18
- }
19
-
20
- async consultPayment(
21
- moduleName: string,
22
- transactionNumber: string,
23
- ): Promise<ApiGatewayResponse<BenefitPaymentResponse>> {
24
- const url = `${this.baseUrl}/pay/${encodeURIComponent(moduleName)}/transactions/${encodeURIComponent(transactionNumber)}`;
25
- return await this.httpRequest.get(url);
26
- }
27
-
28
- async getLeafDisplay(
29
- benefitId: string,
30
- leafId: string,
31
- ): Promise<ApiGatewayResponse<BenefitLeafDisplayResponse>> {
32
- const url = `${this.baseUrl}/${encodeURIComponent(benefitId)}/leaves/${encodeURIComponent(leafId)}/display`;
33
- return await this.httpRequest.get(url);
34
- }
35
- }
1
+ import {IBenefitsMarketplaceApi} from "./interfaces/IBenefitsMarketplaceApi.js";
2
+ import {inject, injectable} from "inversify";
3
+ import {IHttpRequest} from "@fiado/http-client";
4
+ import {BenefitPaymentRequest, BenefitPaymentResponse} from "@fiado/type-kit/bin/benefitCenter/index.js";
5
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
6
+ import {BenefitLeafDisplayResponse} from "./dtos/BenefitLeafDisplayResponse.js";
7
+
8
+ @injectable()
9
+ export default class BenefitsMarketplaceApi implements IBenefitsMarketplaceApi {
10
+ private readonly baseUrl = process.env.BENEFITS_MARKETPLACE_LAMBDA_URL || "";
11
+
12
+ constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
13
+ }
14
+
15
+ async pay(moduleName: string, request: BenefitPaymentRequest): Promise<ApiGatewayResponse<BenefitPaymentResponse>> {
16
+ const url = `${this.baseUrl}/pay/${encodeURIComponent(moduleName)}`;
17
+ return await this.httpRequest.post(url, request);
18
+ }
19
+
20
+ async consultPayment(
21
+ moduleName: string,
22
+ transactionNumber: string,
23
+ ): Promise<ApiGatewayResponse<BenefitPaymentResponse>> {
24
+ const url = `${this.baseUrl}/pay/${encodeURIComponent(moduleName)}/transactions/${encodeURIComponent(transactionNumber)}`;
25
+ return await this.httpRequest.get(url);
26
+ }
27
+
28
+ async getLeafDisplay(
29
+ benefitId: string,
30
+ leafId: string,
31
+ ): Promise<ApiGatewayResponse<BenefitLeafDisplayResponse>> {
32
+ const url = `${this.baseUrl}/${encodeURIComponent(benefitId)}/leaves/${encodeURIComponent(leafId)}/display`;
33
+ return await this.httpRequest.get(url);
34
+ }
35
+ }
@@ -1,21 +1,21 @@
1
- /**
2
- * Respuesta del endpoint privado `GET /{benefitId}/leaves/{leafId}/display`
3
- * del marketplace. Pensado para que el procesador resuelva nombres legibles
4
- * (categoria/servicio) al armar la transacción, sin descargar el árbol entero
5
- * del catálogo.
6
- *
7
- * Equivalente conceptual al `subcategoria`/`servicio` que el procesador lee
8
- * del catálogo SPEI cuando arma `productDetail.targetName`.
9
- */
10
- export interface BenefitLeafDisplayResponse {
11
- /**
12
- * Nombre de la subcategoría a la que pertenece el leaf (ej. "TELMEX", "CFE").
13
- * El procesador lo usa como `targetName` con `.toUpperCase()`, paridad con SPEI.
14
- */
15
- subcategoryName: string;
16
- /**
17
- * Nombre del servicio específico dentro de la subcategoría (ej. "Telmex Hogar Plan 500").
18
- * Disponible para descripciones / detalle de transacción si el caller lo necesita.
19
- */
20
- serviceName: string;
21
- }
1
+ /**
2
+ * Respuesta del endpoint privado `GET /{benefitId}/leaves/{leafId}/display`
3
+ * del marketplace. Pensado para que el procesador resuelva nombres legibles
4
+ * (categoria/servicio) al armar la transacción, sin descargar el árbol entero
5
+ * del catálogo.
6
+ *
7
+ * Equivalente conceptual al `subcategoria`/`servicio` que el procesador lee
8
+ * del catálogo SPEI cuando arma `productDetail.targetName`.
9
+ */
10
+ export interface BenefitLeafDisplayResponse {
11
+ /**
12
+ * Nombre de la subcategoría a la que pertenece el leaf (ej. "TELMEX", "CFE").
13
+ * El procesador lo usa como `targetName` con `.toUpperCase()`, paridad con SPEI.
14
+ */
15
+ subcategoryName: string;
16
+ /**
17
+ * Nombre del servicio específico dentro de la subcategoría (ej. "Telmex Hogar Plan 500").
18
+ * Disponible para descripciones / detalle de transacción si el caller lo necesita.
19
+ */
20
+ serviceName: string;
21
+ }
@@ -1,62 +1,62 @@
1
- import {BenefitPaymentRequest, BenefitPaymentResponse} from "@fiado/type-kit/bin/benefitCenter";
2
- import {ApiGatewayResponse} from "@fiado/gateway-adapter";
3
- import {BenefitLeafDisplayResponse} from "../dtos/BenefitLeafDisplayResponse";
4
-
5
- /**
6
- * Cliente único del procesador hacia benefits-marketplace-business (Fase 2).
7
- *
8
- * Lo consume exclusivamente BenefitsMarketplaceTransactionService dentro de
9
- * transaction-processor-business. Ningún otro service del procesador conoce
10
- * este cliente.
11
- *
12
- * Endpoint backend: POST /pay/{moduleName} (privado, dentro de la VPC).
13
- * El marketplace resuelve `moduleName` a un publisher y reenvía la request
14
- * tal cual al conector correspondiente con `BenefitPaymentRequest`.
15
- */
16
- export interface IBenefitsMarketplaceApi {
17
- /**
18
- * Invoca el pago contra el marketplace. Backend: POST /pay/{moduleName}.
19
- *
20
- * @param moduleName Nombre del conector destino (ej. "stp-service-pay-connector",
21
- * "multicomm-service-pay-connector", "donations-pay-connector").
22
- * Se transmite como path-param y NO debe llevar slashes ni codificación
23
- * extra: el cliente lo aplica directamente en la URL.
24
- * @param request Cuerpo estandarizado de la transacción.
25
- */
26
- pay(moduleName: string, request: BenefitPaymentRequest): Promise<ApiGatewayResponse<BenefitPaymentResponse>>;
27
-
28
- /**
29
- * Consulta el estado actual de un pago previamente enviado al marketplace.
30
- * Backend: GET /pay/{moduleName}/transactions/{transactionNumber}.
31
- *
32
- * Lo consume el cron de timeout reconciliation del procesador
33
- * (BenefitsMarketplaceTimeOutService) para decidir si publicar la
34
- * transacción a la cola (cuando el marketplace confirma APPROVED) o
35
- * reversar el débito ya hecho (cuando confirma REJECTED).
36
- *
37
- * @param moduleName Mismo identificador del conector usado en pay().
38
- * @param transactionNumber Identificador único de la transacción del lado
39
- * del procesador. Es el mismo `transactionNumber`
40
- * que viajó en el `BenefitPaymentRequest` original.
41
- */
42
- consultPayment(moduleName: string, transactionNumber: string): Promise<ApiGatewayResponse<BenefitPaymentResponse>>;
43
-
44
- /**
45
- * Resuelve los nombres legibles del leaf (subcategoría y servicio) para que
46
- * el procesador arme `productDetail.targetName` con paridad al flujo SPEI.
47
- * Backend: GET /{benefitId}/leaves/{leafId}/display.
48
- *
49
- * Endpoint dedicado y barato: solo trae los dos nombres necesarios, sin
50
- * descargar el árbol completo del catálogo. El procesador lo invoca dentro
51
- * de `authorize()`, antes de cualquier débito, y aborta la operación si la
52
- * respuesta no es válida.
53
- *
54
- * @param benefitId Identificador del beneficio (filtro requerido por el
55
- * resolver del marketplace para invocar al conector correcto).
56
- * @param leafId Identificador del leaf (`base64url("<moduleName>::<idServicio>")`).
57
- */
58
- getLeafDisplay(
59
- benefitId: string,
60
- leafId: string,
61
- ): Promise<ApiGatewayResponse<BenefitLeafDisplayResponse>>;
62
- }
1
+ import {BenefitPaymentRequest, BenefitPaymentResponse} from "@fiado/type-kit/bin/benefitCenter/index.js";
2
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
3
+ import {BenefitLeafDisplayResponse} from "../dtos/BenefitLeafDisplayResponse.js";
4
+
5
+ /**
6
+ * Cliente único del procesador hacia benefits-marketplace-business (Fase 2).
7
+ *
8
+ * Lo consume exclusivamente BenefitsMarketplaceTransactionService dentro de
9
+ * transaction-processor-business. Ningún otro service del procesador conoce
10
+ * este cliente.
11
+ *
12
+ * Endpoint backend: POST /pay/{moduleName} (privado, dentro de la VPC).
13
+ * El marketplace resuelve `moduleName` a un publisher y reenvía la request
14
+ * tal cual al conector correspondiente con `BenefitPaymentRequest`.
15
+ */
16
+ export interface IBenefitsMarketplaceApi {
17
+ /**
18
+ * Invoca el pago contra el marketplace. Backend: POST /pay/{moduleName}.
19
+ *
20
+ * @param moduleName Nombre del conector destino (ej. "stp-service-pay-connector",
21
+ * "multicomm-service-pay-connector", "donations-pay-connector").
22
+ * Se transmite como path-param y NO debe llevar slashes ni codificación
23
+ * extra: el cliente lo aplica directamente en la URL.
24
+ * @param request Cuerpo estandarizado de la transacción.
25
+ */
26
+ pay(moduleName: string, request: BenefitPaymentRequest): Promise<ApiGatewayResponse<BenefitPaymentResponse>>;
27
+
28
+ /**
29
+ * Consulta el estado actual de un pago previamente enviado al marketplace.
30
+ * Backend: GET /pay/{moduleName}/transactions/{transactionNumber}.
31
+ *
32
+ * Lo consume el cron de timeout reconciliation del procesador
33
+ * (BenefitsMarketplaceTimeOutService) para decidir si publicar la
34
+ * transacción a la cola (cuando el marketplace confirma APPROVED) o
35
+ * reversar el débito ya hecho (cuando confirma REJECTED).
36
+ *
37
+ * @param moduleName Mismo identificador del conector usado en pay().
38
+ * @param transactionNumber Identificador único de la transacción del lado
39
+ * del procesador. Es el mismo `transactionNumber`
40
+ * que viajó en el `BenefitPaymentRequest` original.
41
+ */
42
+ consultPayment(moduleName: string, transactionNumber: string): Promise<ApiGatewayResponse<BenefitPaymentResponse>>;
43
+
44
+ /**
45
+ * Resuelve los nombres legibles del leaf (subcategoría y servicio) para que
46
+ * el procesador arme `productDetail.targetName` con paridad al flujo SPEI.
47
+ * Backend: GET /{benefitId}/leaves/{leafId}/display.
48
+ *
49
+ * Endpoint dedicado y barato: solo trae los dos nombres necesarios, sin
50
+ * descargar el árbol completo del catálogo. El procesador lo invoca dentro
51
+ * de `authorize()`, antes de cualquier débito, y aborta la operación si la
52
+ * respuesta no es válida.
53
+ *
54
+ * @param benefitId Identificador del beneficio (filtro requerido por el
55
+ * resolver del marketplace para invocar al conector correcto).
56
+ * @param leafId Identificador del leaf (`base64url("<moduleName>::<idServicio>")`).
57
+ */
58
+ getLeafDisplay(
59
+ benefitId: string,
60
+ leafId: string,
61
+ ): Promise<ApiGatewayResponse<BenefitLeafDisplayResponse>>;
62
+ }
@@ -1,3 +1,3 @@
1
- export * from './api/interfaces/IBenefitsMarketplaceApi';
2
- export * from './api/BenefitsMarketplaceApi';
3
- export * from './api/dtos/BenefitLeafDisplayResponse';
1
+ export * from './api/interfaces/IBenefitsMarketplaceApi.js';
2
+ export * from './api/BenefitsMarketplaceApi.js';
3
+ export * from './api/dtos/BenefitLeafDisplayResponse.js';
@@ -1,20 +1,20 @@
1
- import { inject, injectable } from "inversify";
2
- import { IHttpRequest } from "@fiado/http-client";
3
- import dotenv from 'dotenv';
4
- import { IBlackListApi } from "./interfaces/IBlackListApi";
5
- import { IdentificationParameter } from "@fiado/type-kit/bin/blacklist";
6
- dotenv.config();
7
-
8
- @injectable()
9
- export class BlackListApi implements IBlackListApi {
10
-
11
- constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) { }
12
-
13
- private readonly baseUrl = process.env.BLACKLIST_BUSINESS_URL || "";
14
-
15
- async getByIdentificationParameter(params: { identificationParameter: IdentificationParameter; value: string; }): Promise<void> {
16
- const url = `${this.baseUrl}/search/${params.identificationParameter}/${params.value}`;
17
- return await this.httpRequest.get(url);
18
- }
19
-
1
+ import { inject, injectable } from "inversify";
2
+ import { IHttpRequest } from "@fiado/http-client";
3
+ import dotenv from 'dotenv';
4
+ import { IBlackListApi } from "./interfaces/IBlackListApi.js";
5
+ import { IdentificationParameter } from "@fiado/type-kit/bin/blacklist/index.js";
6
+ dotenv.config();
7
+
8
+ @injectable()
9
+ export class BlackListApi implements IBlackListApi {
10
+
11
+ constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) { }
12
+
13
+ private readonly baseUrl = process.env.BLACKLIST_BUSINESS_URL || "";
14
+
15
+ async getByIdentificationParameter(params: { identificationParameter: IdentificationParameter; value: string; }): Promise<void> {
16
+ const url = `${this.baseUrl}/search/${params.identificationParameter}/${params.value}`;
17
+ return await this.httpRequest.get(url);
18
+ }
19
+
20
20
  }
@@ -1,3 +1,3 @@
1
-
2
- export * from './interfaces/IBlackListApi';
3
- export * from './BlackListApi';
1
+
2
+ export * from './interfaces/IBlackListApi.js';
3
+ export * from './BlackListApi.js';
@@ -1,20 +1,20 @@
1
- import { IdentificationParameter } from "@fiado/type-kit/bin/blacklist";
2
-
3
- /**
4
- * Interfaz que define las operaciones que se pueden realizar en el servicio de black list.
5
- */
6
- export interface IBlackListApi {
7
-
8
- /**
9
- * Obtener por parametro de identificacion.
10
- * @param identificationParameter tipo de parametro.
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
- getByIdentificationParameter(params:{
16
- identificationParameter:IdentificationParameter,
17
- value:string,
18
- }): Promise<void>;
19
-
20
- }
1
+ import { IdentificationParameter } from "@fiado/type-kit/bin/blacklist/index.js";
2
+
3
+ /**
4
+ * Interfaz que define las operaciones que se pueden realizar en el servicio de black list.
5
+ */
6
+ export interface IBlackListApi {
7
+
8
+ /**
9
+ * Obtener por parametro de identificacion.
10
+ * @param identificationParameter tipo de parametro.
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
+ getByIdentificationParameter(params:{
16
+ identificationParameter:IdentificationParameter,
17
+ value:string,
18
+ }): Promise<void>;
19
+
20
+ }
@@ -1,103 +1,103 @@
1
- import { ApiGatewayResponse } from "@fiado/gateway-adapter";
2
- import { IHttpRequest } from "@fiado/http-client";
3
- import { CardIssuanceObservationUpdateRequest, CardResponse, CardUpdateIssuanceRequest, Status, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
4
- import { inject, injectable } from "inversify";
5
- import { CardsByStatusResponse, ICardApi } from "./interfaces/ICardApi";
6
- import { Provider } from "@fiado/type-kit/bin/provider";
7
- import { InfoSelfVerifiedStatus } from "@fiado/type-kit/bin/identity";
8
-
9
- @injectable()
10
- export class CardApi implements ICardApi {
11
-
12
- private readonly baseUrl = process.env.CARD_LAMBDA_URL || "";
13
-
14
- constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
15
- }
16
-
17
- async getByDirectoryId(provider: Provider, directoryId: string, onlyDb: boolean = false): Promise<ApiGatewayResponse<CardResponse>> {
18
-
19
- const url = `${this.baseUrl}${provider}/${directoryId}/find?onlyDb=${onlyDb}`;
20
- return await this.httpRequest.get(url);
21
-
22
- }
23
-
24
- async getById(provider: Provider, id: string, onlyDb: boolean = false): Promise<ApiGatewayResponse<CardResponse>> {
25
-
26
- const url = `${this.baseUrl}/${provider}?cardId=${id}&onlyDb=${onlyDb}`;
27
- return await this.httpRequest.get(url);
28
- }
29
-
30
- async getByExternalId(provider: Provider, externalId: string): Promise<ApiGatewayResponse<CardResponse>> {
31
-
32
- const url = `${this.baseUrl}/${provider}?externalCardId=${externalId}`;
33
- return await this.httpRequest.get(url);
34
- }
35
-
36
- async getCardByIdExternal(externalCardId: string): Promise<ApiGatewayResponse<any>> {
37
-
38
- const url = `${this.baseUrl}/cards/${externalCardId}?raw=true`;
39
- return await this.httpRequest.get(url);
40
- }
41
-
42
- async getByStatus(
43
- provider: Provider,
44
- status: Status | string,
45
- index?: string,
46
- pageSize?: number,
47
- order?: "ascending" | "descending"
48
- ): Promise<ApiGatewayResponse<CardsByStatusResponse>> {
49
-
50
- const queryParts: string[] = [];
51
- if (index !== undefined) queryParts.push(`index=${encodeURIComponent(index)}`);
52
- if (pageSize !== undefined) queryParts.push(`pageSize=${pageSize}`);
53
- if (order !== undefined) queryParts.push(`order=${order}`);
54
- const queryString = queryParts.length ? `?${queryParts.join("&")}` : "";
55
-
56
- const url = `${this.baseUrl}${provider}/status/${status}${queryString}`;
57
- return await this.httpRequest.get(url);
58
- }
59
-
60
- async evaluateAccountLevelUpdate(directoryId: string): Promise<void> {
61
-
62
- const url = `${this.baseUrl}accounts/levels`
63
- await this.httpRequest.post(url, { directoryId });
64
- }
65
-
66
- async findCardIssuanceByIds(directoryIds: string[]): Promise<ApiGatewayResponse<any>> {
67
-
68
- const queryparams = directoryIds.map((directoryId) => `directoryId=${directoryId}`).join("&");
69
-
70
- const url = `${this.baseUrl}?${queryparams}`;
71
-
72
- return await this.httpRequest.get(url);
73
- }
74
-
75
- async updateIssuance(provider: Provider, input: CardUpdateIssuanceRequest): Promise<ApiGatewayResponse<void>> {
76
-
77
- const url = `${this.baseUrl}${provider}/issuance`;
78
- return await this.httpRequest.put(url, input);
79
- }
80
-
81
- async updateIssuanceObservation(directoryId: string, input: CardIssuanceObservationUpdateRequest): Promise<ApiGatewayResponse<void>> {
82
-
83
- const url = `${this.baseUrl}/issuance/observations/${directoryId}`;
84
- return await this.httpRequest.put(url, input);
85
- }
86
-
87
- async issuance(directoryId: string, USA_InfoSelfVerified: InfoSelfVerifiedStatus): Promise<void> {
88
-
89
- const url = `${this.baseUrl}`;
90
- await this.httpRequest.post(url, { USA_InfoSelfVerified, directoryId });
91
- }
92
-
93
- async updateShipping(provider: Provider, shippingId: string, input: UpdateBankAccountCardRequest): Promise<ApiGatewayResponse<void>> {
94
-
95
- const url = `${this.baseUrl}${provider}/shipping/${shippingId}`;
96
- return await this.httpRequest.put(url, input);
97
- }
98
-
99
- }
100
-
101
-
102
-
103
-
1
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
2
+ import { IHttpRequest } from "@fiado/http-client";
3
+ import { CardIssuanceObservationUpdateRequest, CardResponse, CardUpdateIssuanceRequest, Status, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card/index.js";
4
+ import { inject, injectable } from "inversify";
5
+ import { CardsByStatusResponse, ICardApi } from "./interfaces/ICardApi.js";
6
+ import { Provider } from "@fiado/type-kit/bin/provider/index.js";
7
+ import { InfoSelfVerifiedStatus } from "@fiado/type-kit/bin/identity/index.js";
8
+
9
+ @injectable()
10
+ export class CardApi implements ICardApi {
11
+
12
+ private readonly baseUrl = process.env.CARD_LAMBDA_URL || "";
13
+
14
+ constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
15
+ }
16
+
17
+ async getByDirectoryId(provider: Provider, directoryId: string, onlyDb: boolean = false): Promise<ApiGatewayResponse<CardResponse>> {
18
+
19
+ const url = `${this.baseUrl}${provider}/${directoryId}/find?onlyDb=${onlyDb}`;
20
+ return await this.httpRequest.get(url);
21
+
22
+ }
23
+
24
+ async getById(provider: Provider, id: string, onlyDb: boolean = false): Promise<ApiGatewayResponse<CardResponse>> {
25
+
26
+ const url = `${this.baseUrl}/${provider}?cardId=${id}&onlyDb=${onlyDb}`;
27
+ return await this.httpRequest.get(url);
28
+ }
29
+
30
+ async getByExternalId(provider: Provider, externalId: string): Promise<ApiGatewayResponse<CardResponse>> {
31
+
32
+ const url = `${this.baseUrl}/${provider}?externalCardId=${externalId}`;
33
+ return await this.httpRequest.get(url);
34
+ }
35
+
36
+ async getCardByIdExternal(externalCardId: string): Promise<ApiGatewayResponse<any>> {
37
+
38
+ const url = `${this.baseUrl}/cards/${externalCardId}?raw=true`;
39
+ return await this.httpRequest.get(url);
40
+ }
41
+
42
+ async getByStatus(
43
+ provider: Provider,
44
+ status: Status | string,
45
+ index?: string,
46
+ pageSize?: number,
47
+ order?: "ascending" | "descending"
48
+ ): Promise<ApiGatewayResponse<CardsByStatusResponse>> {
49
+
50
+ const queryParts: string[] = [];
51
+ if (index !== undefined) queryParts.push(`index=${encodeURIComponent(index)}`);
52
+ if (pageSize !== undefined) queryParts.push(`pageSize=${pageSize}`);
53
+ if (order !== undefined) queryParts.push(`order=${order}`);
54
+ const queryString = queryParts.length ? `?${queryParts.join("&")}` : "";
55
+
56
+ const url = `${this.baseUrl}${provider}/status/${status}${queryString}`;
57
+ return await this.httpRequest.get(url);
58
+ }
59
+
60
+ async evaluateAccountLevelUpdate(directoryId: string): Promise<void> {
61
+
62
+ const url = `${this.baseUrl}accounts/levels`
63
+ await this.httpRequest.post(url, { directoryId });
64
+ }
65
+
66
+ async findCardIssuanceByIds(directoryIds: string[]): Promise<ApiGatewayResponse<any>> {
67
+
68
+ const queryparams = directoryIds.map((directoryId) => `directoryId=${directoryId}`).join("&");
69
+
70
+ const url = `${this.baseUrl}?${queryparams}`;
71
+
72
+ return await this.httpRequest.get(url);
73
+ }
74
+
75
+ async updateIssuance(provider: Provider, input: CardUpdateIssuanceRequest): Promise<ApiGatewayResponse<void>> {
76
+
77
+ const url = `${this.baseUrl}${provider}/issuance`;
78
+ return await this.httpRequest.put(url, input);
79
+ }
80
+
81
+ async updateIssuanceObservation(directoryId: string, input: CardIssuanceObservationUpdateRequest): Promise<ApiGatewayResponse<void>> {
82
+
83
+ const url = `${this.baseUrl}/issuance/observations/${directoryId}`;
84
+ return await this.httpRequest.put(url, input);
85
+ }
86
+
87
+ async issuance(directoryId: string, USA_InfoSelfVerified: InfoSelfVerifiedStatus): Promise<void> {
88
+
89
+ const url = `${this.baseUrl}`;
90
+ await this.httpRequest.post(url, { USA_InfoSelfVerified, directoryId });
91
+ }
92
+
93
+ async updateShipping(provider: Provider, shippingId: string, input: UpdateBankAccountCardRequest): Promise<ApiGatewayResponse<void>> {
94
+
95
+ const url = `${this.baseUrl}${provider}/shipping/${shippingId}`;
96
+ return await this.httpRequest.put(url, input);
97
+ }
98
+
99
+ }
100
+
101
+
102
+
103
+
package/src/card/index.ts CHANGED
@@ -1,4 +1,4 @@
1
-
2
-
3
- export * from './interfaces/ICardApi';
4
- export * from './CardApi';
1
+
2
+
3
+ export * from './interfaces/ICardApi.js';
4
+ export * from './CardApi.js';
@@ -1,33 +1,33 @@
1
- import { ApiGatewayResponse } from "@fiado/gateway-adapter";
2
- import { CardIssuanceObservationUpdateRequest, CardResponse, CardUpdateIssuanceRequest, Status, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
3
- import { InfoSelfVerifiedStatus } from "@fiado/type-kit/bin/identity";
4
- import { Provider } from "@fiado/type-kit/bin/provider";
5
-
6
- export interface CardsByStatusResponse {
7
- items: CardResponse[];
8
- index: string | null;
9
- }
10
-
11
- export interface ICardApi {
12
-
13
- getByDirectoryId(provider: Provider, directoryId: string, onlyDb?: boolean): Promise<ApiGatewayResponse<CardResponse>>
14
-
15
- getById(provider: Provider, id: string, onlyDb?: boolean): Promise<ApiGatewayResponse<CardResponse>>;
16
-
17
- getByExternalId(provider: Provider, externalId: string): Promise<ApiGatewayResponse<CardResponse>>;
18
-
19
- getCardByIdExternal(externalCardId: string): Promise<ApiGatewayResponse<any>>;
20
-
21
- getByStatus(provider: Provider, status: Status | string, index?: string, pageSize?: number, order?: "ascending" | "descending"): Promise<ApiGatewayResponse<CardsByStatusResponse>>;
22
-
23
- findCardIssuanceByIds(directoryIds: string[]): Promise<ApiGatewayResponse<any>>;
24
-
25
- updateIssuance(provider: Provider, input: CardUpdateIssuanceRequest): Promise<ApiGatewayResponse<void>>
26
-
27
- updateIssuanceObservation(directoryId: string, input: CardIssuanceObservationUpdateRequest): Promise<ApiGatewayResponse<void>>
28
-
29
- issuance(directoryId: string, USA_InfoSelfVerified: InfoSelfVerifiedStatus): Promise<void>;
30
-
31
- updateShipping(provider: Provider, shippingId: string, input: UpdateBankAccountCardRequest): Promise<ApiGatewayResponse<void>>;
32
-
1
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
2
+ import { CardIssuanceObservationUpdateRequest, CardResponse, CardUpdateIssuanceRequest, Status, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card/index.js";
3
+ import { InfoSelfVerifiedStatus } from "@fiado/type-kit/bin/identity/index.js";
4
+ import { Provider } from "@fiado/type-kit/bin/provider/index.js";
5
+
6
+ export interface CardsByStatusResponse {
7
+ items: CardResponse[];
8
+ index: string | null;
9
+ }
10
+
11
+ export interface ICardApi {
12
+
13
+ getByDirectoryId(provider: Provider, directoryId: string, onlyDb?: boolean): Promise<ApiGatewayResponse<CardResponse>>
14
+
15
+ getById(provider: Provider, id: string, onlyDb?: boolean): Promise<ApiGatewayResponse<CardResponse>>;
16
+
17
+ getByExternalId(provider: Provider, externalId: string): Promise<ApiGatewayResponse<CardResponse>>;
18
+
19
+ getCardByIdExternal(externalCardId: string): Promise<ApiGatewayResponse<any>>;
20
+
21
+ getByStatus(provider: Provider, status: Status | string, index?: string, pageSize?: number, order?: "ascending" | "descending"): Promise<ApiGatewayResponse<CardsByStatusResponse>>;
22
+
23
+ findCardIssuanceByIds(directoryIds: string[]): Promise<ApiGatewayResponse<any>>;
24
+
25
+ updateIssuance(provider: Provider, input: CardUpdateIssuanceRequest): Promise<ApiGatewayResponse<void>>
26
+
27
+ updateIssuanceObservation(directoryId: string, input: CardIssuanceObservationUpdateRequest): Promise<ApiGatewayResponse<void>>
28
+
29
+ issuance(directoryId: string, USA_InfoSelfVerified: InfoSelfVerifiedStatus): Promise<void>;
30
+
31
+ updateShipping(provider: Provider, shippingId: string, input: UpdateBankAccountCardRequest): Promise<ApiGatewayResponse<void>>;
32
+
33
33
  }