@yuno-payments/dashboard-api-mfe 0.34.5

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 (443) hide show
  1. package/README.md +41 -0
  2. package/build/cjs/index.js +241 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/types/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +11 -0
  5. package/build/cjs/types/api/api.d.ts +573 -0
  6. package/build/cjs/types/api/api.singleton.d.ts +9 -0
  7. package/build/cjs/types/api/api.types.d.ts +198 -0
  8. package/build/cjs/types/api/index.d.ts +3 -0
  9. package/build/cjs/types/api-provider.d.ts +4 -0
  10. package/build/cjs/types/common/config.d.ts +8 -0
  11. package/build/cjs/types/constants/errors-code.constant.d.ts +5 -0
  12. package/build/cjs/types/constants/index.d.ts +1 -0
  13. package/build/cjs/types/lib/http-client/__tests__/http-client.test.d.ts +1 -0
  14. package/build/cjs/types/lib/http-client/api.config.d.ts +2 -0
  15. package/build/cjs/types/lib/http-client/axios.d.ts +19 -0
  16. package/build/cjs/types/lib/http-client/http-client.d.ts +168 -0
  17. package/build/cjs/types/lib/http-client/index.d.ts +2 -0
  18. package/build/cjs/types/msw/browser.d.ts +1 -0
  19. package/build/cjs/types/msw/handlers.d.ts +1 -0
  20. package/build/cjs/types/msw/index.d.ts +1 -0
  21. package/build/cjs/types/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +14 -0
  22. package/build/cjs/types/msw/mocks/insights/conversion-rate/overview.mock.d.ts +34 -0
  23. package/build/cjs/types/mutations/S3Client/S3Client.mutation.d.ts +6 -0
  24. package/build/cjs/types/mutations/S3Client/index.d.ts +1 -0
  25. package/build/cjs/types/mutations/accounts/accounts.mutation.d.ts +103 -0
  26. package/build/cjs/types/mutations/accounts/delete-mutation.d.ts +20 -0
  27. package/build/cjs/types/mutations/accounts/index.d.ts +1 -0
  28. package/build/cjs/types/mutations/ai/ai.mutation.d.ts +27 -0
  29. package/build/cjs/types/mutations/ai/ai.mutation.test.d.ts +1 -0
  30. package/build/cjs/types/mutations/ai/index.d.ts +1 -0
  31. package/build/cjs/types/mutations/audit/audit.mutation.d.ts +6 -0
  32. package/build/cjs/types/mutations/audit/index.d.ts +1 -0
  33. package/build/cjs/types/mutations/batch-refunds/batch-refunds.mutation.d.ts +25 -0
  34. package/build/cjs/types/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +1 -0
  35. package/build/cjs/types/mutations/batch-refunds/index.d.ts +1 -0
  36. package/build/cjs/types/mutations/checkouts/checkouts.mutation.d.ts +15 -0
  37. package/build/cjs/types/mutations/checkouts/index.d.ts +2 -0
  38. package/build/cjs/types/mutations/checkouts/styling/styling.mutation.d.ts +2 -0
  39. package/build/cjs/types/mutations/connections/connections.mutation.d.ts +51 -0
  40. package/build/cjs/types/mutations/connections/index.d.ts +1 -0
  41. package/build/cjs/types/mutations/developers/developers.mutation.d.ts +22 -0
  42. package/build/cjs/types/mutations/developers/index.d.ts +1 -0
  43. package/build/cjs/types/mutations/fraud-screening/fraud-screening.mutation.d.ts +54 -0
  44. package/build/cjs/types/mutations/fraud-screening/index.d.ts +1 -0
  45. package/build/cjs/types/mutations/index.d.ts +27 -0
  46. package/build/cjs/types/mutations/insights/index.d.ts +1 -0
  47. package/build/cjs/types/mutations/insights/insights.mutation.d.ts +2 -0
  48. package/build/cjs/types/mutations/multi-factor-authentication/index.d.ts +1 -0
  49. package/build/cjs/types/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +19 -0
  50. package/build/cjs/types/mutations/notifications/index.d.ts +1 -0
  51. package/build/cjs/types/mutations/notifications/notifications.mutation.d.ts +8 -0
  52. package/build/cjs/types/mutations/organization-settings/index.d.ts +1 -0
  53. package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
  54. package/build/cjs/types/mutations/organizations/index.d.ts +1 -0
  55. package/build/cjs/types/mutations/organizations/organizations.mutation.d.ts +2 -0
  56. package/build/cjs/types/mutations/payment-links/index.d.ts +1 -0
  57. package/build/cjs/types/mutations/payment-links/payment-links.mutation.d.ts +16 -0
  58. package/build/cjs/types/mutations/payments/index.d.ts +1 -0
  59. package/build/cjs/types/mutations/payments/payments.mutation.d.ts +13 -0
  60. package/build/cjs/types/mutations/reconciliations/index.d.ts +2 -0
  61. package/build/cjs/types/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +5 -0
  62. package/build/cjs/types/mutations/reconciliations/reconciliations.mutation.d.ts +4 -0
  63. package/build/cjs/types/mutations/reports/index.d.ts +1 -0
  64. package/build/cjs/types/mutations/reports/reports.mutation.d.ts +9 -0
  65. package/build/cjs/types/mutations/routing-monitors/index.d.ts +1 -0
  66. package/build/cjs/types/mutations/routing-monitors/routing-monitors.mutation.d.ts +4 -0
  67. package/build/cjs/types/mutations/saml-config/index.d.ts +1 -0
  68. package/build/cjs/types/mutations/saml-config/saml-config.query.d.ts +4 -0
  69. package/build/cjs/types/mutations/scheduled-reports/index.d.ts +1 -0
  70. package/build/cjs/types/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +8 -0
  71. package/build/cjs/types/mutations/security/index.d.ts +1 -0
  72. package/build/cjs/types/mutations/security/security.mutation.d.ts +4 -0
  73. package/build/cjs/types/mutations/settings/index.d.ts +1 -0
  74. package/build/cjs/types/mutations/settings/settings.mutation.d.ts +17 -0
  75. package/build/cjs/types/mutations/smart-routing/index.d.ts +1 -0
  76. package/build/cjs/types/mutations/smart-routing/smart-routing.mutation.d.ts +74 -0
  77. package/build/cjs/types/mutations/team/index.d.ts +1 -0
  78. package/build/cjs/types/mutations/team/team.mutaion.test.d.ts +1 -0
  79. package/build/cjs/types/mutations/team/team.mutation.d.ts +10 -0
  80. package/build/cjs/types/mutations/users/index.d.ts +1 -0
  81. package/build/cjs/types/mutations/users/users.mutation.d.ts +21 -0
  82. package/build/cjs/types/mutations/velocity-rules/index.d.ts +1 -0
  83. package/build/cjs/types/mutations/velocity-rules/velocity-rules.mutation.d.ts +6 -0
  84. package/build/cjs/types/queries/accounts/accounts.query.d.ts +25 -0
  85. package/build/cjs/types/queries/accounts/index.d.ts +1 -0
  86. package/build/cjs/types/queries/audit/audit.query.d.ts +5 -0
  87. package/build/cjs/types/queries/audit/index.d.ts +1 -0
  88. package/build/cjs/types/queries/batch-refunds/batch-refunds.query.d.ts +3 -0
  89. package/build/cjs/types/queries/batch-refunds/index.d.ts +1 -0
  90. package/build/cjs/types/queries/checkouts/checkouts.query.d.ts +15 -0
  91. package/build/cjs/types/queries/checkouts/index.d.ts +2 -0
  92. package/build/cjs/types/queries/checkouts/styling/styling.query.d.ts +6 -0
  93. package/build/cjs/types/queries/cms/cms.query.d.ts +14 -0
  94. package/build/cjs/types/queries/cms/index.d.ts +1 -0
  95. package/build/cjs/types/queries/connections/connections.query.d.ts +3 -0
  96. package/build/cjs/types/queries/connections/index.d.ts +1 -0
  97. package/build/cjs/types/queries/data-report/conversion-rate/conversion-rate.query.d.ts +5 -0
  98. package/build/cjs/types/queries/data-report/data-report.query.d.ts +20 -0
  99. package/build/cjs/types/queries/data-report/fraud/fraud.query.d.ts +16 -0
  100. package/build/cjs/types/queries/data-report/fraud/fraud.query.test.d.ts +1 -0
  101. package/build/cjs/types/queries/data-report/index.d.ts +3 -0
  102. package/build/cjs/types/queries/developers/developers.query.d.ts +17 -0
  103. package/build/cjs/types/queries/developers/index.d.ts +1 -0
  104. package/build/cjs/types/queries/dialogs/dialogs.query.d.ts +2 -0
  105. package/build/cjs/types/queries/dialogs/index.d.ts +1 -0
  106. package/build/cjs/types/queries/feature-flags/feature.test.d.ts +1 -0
  107. package/build/cjs/types/queries/feature-flags/index.d.ts +6 -0
  108. package/build/cjs/types/queries/firebase/firebase.query.d.ts +10 -0
  109. package/build/cjs/types/queries/firebase/index.d.ts +1 -0
  110. package/build/cjs/types/queries/fraud-screening/fraud-screening.query.d.ts +12 -0
  111. package/build/cjs/types/queries/fraud-screening/index.d.ts +1 -0
  112. package/build/cjs/types/queries/index.d.ts +25 -0
  113. package/build/cjs/types/queries/mfa/index.d.ts +1 -0
  114. package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +11 -0
  115. package/build/cjs/types/queries/notifications/index.d.ts +1 -0
  116. package/build/cjs/types/queries/notifications/notifications.query.d.ts +14 -0
  117. package/build/cjs/types/queries/organizations/index.d.ts +1 -0
  118. package/build/cjs/types/queries/organizations/organizations.query.d.ts +31 -0
  119. package/build/cjs/types/queries/payment-links/index.d.ts +1 -0
  120. package/build/cjs/types/queries/payment-links/payment-links.query.d.ts +12 -0
  121. package/build/cjs/types/queries/payments/index.d.ts +2 -0
  122. package/build/cjs/types/queries/payments/payments.query.d.ts +45 -0
  123. package/build/cjs/types/queries/payments/payouts.query.d.ts +6 -0
  124. package/build/cjs/types/queries/reconciliations/index.d.ts +6 -0
  125. package/build/cjs/types/queries/reconciliations/reconciliations-advancements.query.d.ts +9 -0
  126. package/build/cjs/types/queries/reconciliations/reconciliations-agenda.query.d.ts +9 -0
  127. package/build/cjs/types/queries/reconciliations/reconciliations-alerts.query.d.ts +8 -0
  128. package/build/cjs/types/queries/reconciliations/reconciliations-fees.query.d.ts +9 -0
  129. package/build/cjs/types/queries/reconciliations/reconciliations-sales.query.d.ts +9 -0
  130. package/build/cjs/types/queries/reconciliations/reconciliations.query.d.ts +13 -0
  131. package/build/cjs/types/queries/reports/index.d.ts +1 -0
  132. package/build/cjs/types/queries/reports/reports.query.d.ts +13 -0
  133. package/build/cjs/types/queries/routing-monitors/index.d.ts +1 -0
  134. package/build/cjs/types/queries/routing-monitors/routing-monitors.query.d.ts +4 -0
  135. package/build/cjs/types/queries/saml-config/index.d.ts +1 -0
  136. package/build/cjs/types/queries/saml-config/saml-config.query.d.ts +4 -0
  137. package/build/cjs/types/queries/smart-routing/index.d.ts +1 -0
  138. package/build/cjs/types/queries/smart-routing/smart-routing.query.d.ts +27 -0
  139. package/build/cjs/types/queries/team/index.d.ts +1 -0
  140. package/build/cjs/types/queries/team/team.query.d.ts +32 -0
  141. package/build/cjs/types/queries/users/index.d.ts +1 -0
  142. package/build/cjs/types/queries/users/users.query.d.ts +7 -0
  143. package/build/cjs/types/queries/velocity-rules/index.d.ts +1 -0
  144. package/build/cjs/types/queries/velocity-rules/velocity-rules.query.d.ts +6 -0
  145. package/build/cjs/types/store/index.d.ts +3 -0
  146. package/build/cjs/types/types/accounts/accounts.d.ts +11 -0
  147. package/build/cjs/types/types/accounts/index.d.ts +1 -0
  148. package/build/cjs/types/types/allowed-list/allowed-list.d.ts +9 -0
  149. package/build/cjs/types/types/allowed-list/index.d.ts +1 -0
  150. package/build/cjs/types/types/audit/audit.d.ts +110 -0
  151. package/build/cjs/types/types/audit/index.d.ts +1 -0
  152. package/build/cjs/types/types/batch-refunds/batch-refunds.d.ts +32 -0
  153. package/build/cjs/types/types/batch-refunds/index.d.ts +1 -0
  154. package/build/cjs/types/types/checkout/checkout.d.ts +207 -0
  155. package/build/cjs/types/types/checkout/index.d.ts +1 -0
  156. package/build/cjs/types/types/checkout/styling/styling.d.ts +76 -0
  157. package/build/cjs/types/types/cms/cms.d.ts +47 -0
  158. package/build/cjs/types/types/cms/index.d.ts +1 -0
  159. package/build/cjs/types/types/connection/connection.d.ts +53 -0
  160. package/build/cjs/types/types/connection/costs.d.ts +26 -0
  161. package/build/cjs/types/types/connection/index.d.ts +2 -0
  162. package/build/cjs/types/types/country/country.d.ts +12 -0
  163. package/build/cjs/types/types/country/index.d.ts +1 -0
  164. package/build/cjs/types/types/customized-api-keys/customized-api-keys.d.ts +30 -0
  165. package/build/cjs/types/types/customized-api-keys/index.d.ts +1 -0
  166. package/build/cjs/types/types/data-report/conversion-rate.types.d.ts +48 -0
  167. package/build/cjs/types/types/data-report/data-report.d.ts +51 -0
  168. package/build/cjs/types/types/data-report/fraud.types.d.ts +161 -0
  169. package/build/cjs/types/types/data-report/index.d.ts +3 -0
  170. package/build/cjs/types/types/developer/developer.d.ts +13 -0
  171. package/build/cjs/types/types/developer/index.d.ts +1 -0
  172. package/build/cjs/types/types/feature-flags/intex.d.ts +8 -0
  173. package/build/cjs/types/types/fraud-screening/fraud-screening.d.ts +109 -0
  174. package/build/cjs/types/types/fraud-screening/index.d.ts +1 -0
  175. package/build/cjs/types/types/index.d.ts +28 -0
  176. package/build/cjs/types/types/mfa/index.d.ts +1 -0
  177. package/build/cjs/types/types/mfa/mfa.d.ts +6 -0
  178. package/build/cjs/types/types/notifications/index.d.ts +1 -0
  179. package/build/cjs/types/types/notifications/notifications.d.ts +39 -0
  180. package/build/cjs/types/types/operation-transaction/index.d.ts +1 -0
  181. package/build/cjs/types/types/operation-transaction/operation-transaction.d.ts +28 -0
  182. package/build/cjs/types/types/organization/index.d.ts +1 -0
  183. package/build/cjs/types/types/organization/organization.d.ts +130 -0
  184. package/build/cjs/types/types/organization-settings/index.d.ts +1 -0
  185. package/build/cjs/types/types/organization-settings/organization-settings.d.ts +27 -0
  186. package/build/cjs/types/types/payment/index.d.ts +1 -0
  187. package/build/cjs/types/types/payment/payment.d.ts +409 -0
  188. package/build/cjs/types/types/payment-links/index.d.ts +1 -0
  189. package/build/cjs/types/types/payment-links/payment-links.d.ts +15 -0
  190. package/build/cjs/types/types/payouts/index.d.ts +1 -0
  191. package/build/cjs/types/types/payouts/payouts.d.ts +105 -0
  192. package/build/cjs/types/types/reconciliation/index.d.ts +6 -0
  193. package/build/cjs/types/types/reconciliation/reconciliation-advancements.d.ts +40 -0
  194. package/build/cjs/types/types/reconciliation/reconciliation-agenda.d.ts +84 -0
  195. package/build/cjs/types/types/reconciliation/reconciliation-alerts.d.ts +38 -0
  196. package/build/cjs/types/types/reconciliation/reconciliation-fees.d.ts +47 -0
  197. package/build/cjs/types/types/reconciliation/reconciliation-sales.d.ts +56 -0
  198. package/build/cjs/types/types/reconciliation/reconciliation.d.ts +343 -0
  199. package/build/cjs/types/types/reports/index.d.ts +1 -0
  200. package/build/cjs/types/types/reports/reports.d.ts +123 -0
  201. package/build/cjs/types/types/routing-monitors/index.d.ts +1 -0
  202. package/build/cjs/types/types/routing-monitors/routing-monitors.d.ts +35 -0
  203. package/build/cjs/types/types/s3-client/index.d.ts +1 -0
  204. package/build/cjs/types/types/s3-client/s3-client.d.ts +19 -0
  205. package/build/cjs/types/types/saml-config/index.d.ts +1 -0
  206. package/build/cjs/types/types/saml-config/saml-config.d.ts +28 -0
  207. package/build/cjs/types/types/smart-routing/index.d.ts +1 -0
  208. package/build/cjs/types/types/smart-routing/smart-routing.d.ts +311 -0
  209. package/build/cjs/types/types/team/index.d.ts +1 -0
  210. package/build/cjs/types/types/team/team.d.ts +75 -0
  211. package/build/cjs/types/types/user/index.d.ts +1 -0
  212. package/build/cjs/types/types/user/user.d.ts +133 -0
  213. package/build/cjs/types/types/velocity-rules/index.d.ts +1 -0
  214. package/build/cjs/types/types/velocity-rules/velocity-rules.d.ts +15 -0
  215. package/build/cjs/types/types/webhook/index.d.ts +1 -0
  216. package/build/cjs/types/types/webhook/webhook.d.ts +63 -0
  217. package/build/cjs/types/utils/enums.d.ts +162 -0
  218. package/build/cjs/types/utils/handler-error.d.ts +6 -0
  219. package/build/cjs/types/utils/test-utils.d.ts +4 -0
  220. package/build/cjs/types/utils/use-localstorage.d.ts +2 -0
  221. package/build/cjs/types/yuno-dashboard-api-mfe.d.ts +7 -0
  222. package/build/esm/index.js +241 -0
  223. package/build/esm/index.js.map +1 -0
  224. package/build/esm/types/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +11 -0
  225. package/build/esm/types/api/api.d.ts +573 -0
  226. package/build/esm/types/api/api.singleton.d.ts +9 -0
  227. package/build/esm/types/api/api.types.d.ts +198 -0
  228. package/build/esm/types/api/index.d.ts +3 -0
  229. package/build/esm/types/api-provider.d.ts +4 -0
  230. package/build/esm/types/common/config.d.ts +8 -0
  231. package/build/esm/types/constants/errors-code.constant.d.ts +5 -0
  232. package/build/esm/types/constants/index.d.ts +1 -0
  233. package/build/esm/types/lib/http-client/__tests__/http-client.test.d.ts +1 -0
  234. package/build/esm/types/lib/http-client/api.config.d.ts +2 -0
  235. package/build/esm/types/lib/http-client/axios.d.ts +19 -0
  236. package/build/esm/types/lib/http-client/http-client.d.ts +168 -0
  237. package/build/esm/types/lib/http-client/index.d.ts +2 -0
  238. package/build/esm/types/msw/browser.d.ts +1 -0
  239. package/build/esm/types/msw/handlers.d.ts +1 -0
  240. package/build/esm/types/msw/index.d.ts +1 -0
  241. package/build/esm/types/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +14 -0
  242. package/build/esm/types/msw/mocks/insights/conversion-rate/overview.mock.d.ts +34 -0
  243. package/build/esm/types/mutations/S3Client/S3Client.mutation.d.ts +6 -0
  244. package/build/esm/types/mutations/S3Client/index.d.ts +1 -0
  245. package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +103 -0
  246. package/build/esm/types/mutations/accounts/delete-mutation.d.ts +20 -0
  247. package/build/esm/types/mutations/accounts/index.d.ts +1 -0
  248. package/build/esm/types/mutations/ai/ai.mutation.d.ts +27 -0
  249. package/build/esm/types/mutations/ai/ai.mutation.test.d.ts +1 -0
  250. package/build/esm/types/mutations/ai/index.d.ts +1 -0
  251. package/build/esm/types/mutations/audit/audit.mutation.d.ts +6 -0
  252. package/build/esm/types/mutations/audit/index.d.ts +1 -0
  253. package/build/esm/types/mutations/batch-refunds/batch-refunds.mutation.d.ts +25 -0
  254. package/build/esm/types/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +1 -0
  255. package/build/esm/types/mutations/batch-refunds/index.d.ts +1 -0
  256. package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +15 -0
  257. package/build/esm/types/mutations/checkouts/index.d.ts +2 -0
  258. package/build/esm/types/mutations/checkouts/styling/styling.mutation.d.ts +2 -0
  259. package/build/esm/types/mutations/connections/connections.mutation.d.ts +51 -0
  260. package/build/esm/types/mutations/connections/index.d.ts +1 -0
  261. package/build/esm/types/mutations/developers/developers.mutation.d.ts +22 -0
  262. package/build/esm/types/mutations/developers/index.d.ts +1 -0
  263. package/build/esm/types/mutations/fraud-screening/fraud-screening.mutation.d.ts +54 -0
  264. package/build/esm/types/mutations/fraud-screening/index.d.ts +1 -0
  265. package/build/esm/types/mutations/index.d.ts +27 -0
  266. package/build/esm/types/mutations/insights/index.d.ts +1 -0
  267. package/build/esm/types/mutations/insights/insights.mutation.d.ts +2 -0
  268. package/build/esm/types/mutations/multi-factor-authentication/index.d.ts +1 -0
  269. package/build/esm/types/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +19 -0
  270. package/build/esm/types/mutations/notifications/index.d.ts +1 -0
  271. package/build/esm/types/mutations/notifications/notifications.mutation.d.ts +8 -0
  272. package/build/esm/types/mutations/organization-settings/index.d.ts +1 -0
  273. package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
  274. package/build/esm/types/mutations/organizations/index.d.ts +1 -0
  275. package/build/esm/types/mutations/organizations/organizations.mutation.d.ts +2 -0
  276. package/build/esm/types/mutations/payment-links/index.d.ts +1 -0
  277. package/build/esm/types/mutations/payment-links/payment-links.mutation.d.ts +16 -0
  278. package/build/esm/types/mutations/payments/index.d.ts +1 -0
  279. package/build/esm/types/mutations/payments/payments.mutation.d.ts +13 -0
  280. package/build/esm/types/mutations/reconciliations/index.d.ts +2 -0
  281. package/build/esm/types/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +5 -0
  282. package/build/esm/types/mutations/reconciliations/reconciliations.mutation.d.ts +4 -0
  283. package/build/esm/types/mutations/reports/index.d.ts +1 -0
  284. package/build/esm/types/mutations/reports/reports.mutation.d.ts +9 -0
  285. package/build/esm/types/mutations/routing-monitors/index.d.ts +1 -0
  286. package/build/esm/types/mutations/routing-monitors/routing-monitors.mutation.d.ts +4 -0
  287. package/build/esm/types/mutations/saml-config/index.d.ts +1 -0
  288. package/build/esm/types/mutations/saml-config/saml-config.query.d.ts +4 -0
  289. package/build/esm/types/mutations/scheduled-reports/index.d.ts +1 -0
  290. package/build/esm/types/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +8 -0
  291. package/build/esm/types/mutations/security/index.d.ts +1 -0
  292. package/build/esm/types/mutations/security/security.mutation.d.ts +4 -0
  293. package/build/esm/types/mutations/settings/index.d.ts +1 -0
  294. package/build/esm/types/mutations/settings/settings.mutation.d.ts +17 -0
  295. package/build/esm/types/mutations/smart-routing/index.d.ts +1 -0
  296. package/build/esm/types/mutations/smart-routing/smart-routing.mutation.d.ts +74 -0
  297. package/build/esm/types/mutations/team/index.d.ts +1 -0
  298. package/build/esm/types/mutations/team/team.mutaion.test.d.ts +1 -0
  299. package/build/esm/types/mutations/team/team.mutation.d.ts +10 -0
  300. package/build/esm/types/mutations/users/index.d.ts +1 -0
  301. package/build/esm/types/mutations/users/users.mutation.d.ts +21 -0
  302. package/build/esm/types/mutations/velocity-rules/index.d.ts +1 -0
  303. package/build/esm/types/mutations/velocity-rules/velocity-rules.mutation.d.ts +6 -0
  304. package/build/esm/types/queries/accounts/accounts.query.d.ts +25 -0
  305. package/build/esm/types/queries/accounts/index.d.ts +1 -0
  306. package/build/esm/types/queries/audit/audit.query.d.ts +5 -0
  307. package/build/esm/types/queries/audit/index.d.ts +1 -0
  308. package/build/esm/types/queries/batch-refunds/batch-refunds.query.d.ts +3 -0
  309. package/build/esm/types/queries/batch-refunds/index.d.ts +1 -0
  310. package/build/esm/types/queries/checkouts/checkouts.query.d.ts +15 -0
  311. package/build/esm/types/queries/checkouts/index.d.ts +2 -0
  312. package/build/esm/types/queries/checkouts/styling/styling.query.d.ts +6 -0
  313. package/build/esm/types/queries/cms/cms.query.d.ts +14 -0
  314. package/build/esm/types/queries/cms/index.d.ts +1 -0
  315. package/build/esm/types/queries/connections/connections.query.d.ts +3 -0
  316. package/build/esm/types/queries/connections/index.d.ts +1 -0
  317. package/build/esm/types/queries/data-report/conversion-rate/conversion-rate.query.d.ts +5 -0
  318. package/build/esm/types/queries/data-report/data-report.query.d.ts +20 -0
  319. package/build/esm/types/queries/data-report/fraud/fraud.query.d.ts +16 -0
  320. package/build/esm/types/queries/data-report/fraud/fraud.query.test.d.ts +1 -0
  321. package/build/esm/types/queries/data-report/index.d.ts +3 -0
  322. package/build/esm/types/queries/developers/developers.query.d.ts +17 -0
  323. package/build/esm/types/queries/developers/index.d.ts +1 -0
  324. package/build/esm/types/queries/dialogs/dialogs.query.d.ts +2 -0
  325. package/build/esm/types/queries/dialogs/index.d.ts +1 -0
  326. package/build/esm/types/queries/feature-flags/feature.test.d.ts +1 -0
  327. package/build/esm/types/queries/feature-flags/index.d.ts +6 -0
  328. package/build/esm/types/queries/firebase/firebase.query.d.ts +10 -0
  329. package/build/esm/types/queries/firebase/index.d.ts +1 -0
  330. package/build/esm/types/queries/fraud-screening/fraud-screening.query.d.ts +12 -0
  331. package/build/esm/types/queries/fraud-screening/index.d.ts +1 -0
  332. package/build/esm/types/queries/index.d.ts +25 -0
  333. package/build/esm/types/queries/mfa/index.d.ts +1 -0
  334. package/build/esm/types/queries/mfa/organization-settings.query.d.ts +11 -0
  335. package/build/esm/types/queries/notifications/index.d.ts +1 -0
  336. package/build/esm/types/queries/notifications/notifications.query.d.ts +14 -0
  337. package/build/esm/types/queries/organizations/index.d.ts +1 -0
  338. package/build/esm/types/queries/organizations/organizations.query.d.ts +31 -0
  339. package/build/esm/types/queries/payment-links/index.d.ts +1 -0
  340. package/build/esm/types/queries/payment-links/payment-links.query.d.ts +12 -0
  341. package/build/esm/types/queries/payments/index.d.ts +2 -0
  342. package/build/esm/types/queries/payments/payments.query.d.ts +45 -0
  343. package/build/esm/types/queries/payments/payouts.query.d.ts +6 -0
  344. package/build/esm/types/queries/reconciliations/index.d.ts +6 -0
  345. package/build/esm/types/queries/reconciliations/reconciliations-advancements.query.d.ts +9 -0
  346. package/build/esm/types/queries/reconciliations/reconciliations-agenda.query.d.ts +9 -0
  347. package/build/esm/types/queries/reconciliations/reconciliations-alerts.query.d.ts +8 -0
  348. package/build/esm/types/queries/reconciliations/reconciliations-fees.query.d.ts +9 -0
  349. package/build/esm/types/queries/reconciliations/reconciliations-sales.query.d.ts +9 -0
  350. package/build/esm/types/queries/reconciliations/reconciliations.query.d.ts +13 -0
  351. package/build/esm/types/queries/reports/index.d.ts +1 -0
  352. package/build/esm/types/queries/reports/reports.query.d.ts +13 -0
  353. package/build/esm/types/queries/routing-monitors/index.d.ts +1 -0
  354. package/build/esm/types/queries/routing-monitors/routing-monitors.query.d.ts +4 -0
  355. package/build/esm/types/queries/saml-config/index.d.ts +1 -0
  356. package/build/esm/types/queries/saml-config/saml-config.query.d.ts +4 -0
  357. package/build/esm/types/queries/smart-routing/index.d.ts +1 -0
  358. package/build/esm/types/queries/smart-routing/smart-routing.query.d.ts +27 -0
  359. package/build/esm/types/queries/team/index.d.ts +1 -0
  360. package/build/esm/types/queries/team/team.query.d.ts +32 -0
  361. package/build/esm/types/queries/users/index.d.ts +1 -0
  362. package/build/esm/types/queries/users/users.query.d.ts +7 -0
  363. package/build/esm/types/queries/velocity-rules/index.d.ts +1 -0
  364. package/build/esm/types/queries/velocity-rules/velocity-rules.query.d.ts +6 -0
  365. package/build/esm/types/store/index.d.ts +3 -0
  366. package/build/esm/types/types/accounts/accounts.d.ts +11 -0
  367. package/build/esm/types/types/accounts/index.d.ts +1 -0
  368. package/build/esm/types/types/allowed-list/allowed-list.d.ts +9 -0
  369. package/build/esm/types/types/allowed-list/index.d.ts +1 -0
  370. package/build/esm/types/types/audit/audit.d.ts +110 -0
  371. package/build/esm/types/types/audit/index.d.ts +1 -0
  372. package/build/esm/types/types/batch-refunds/batch-refunds.d.ts +32 -0
  373. package/build/esm/types/types/batch-refunds/index.d.ts +1 -0
  374. package/build/esm/types/types/checkout/checkout.d.ts +207 -0
  375. package/build/esm/types/types/checkout/index.d.ts +1 -0
  376. package/build/esm/types/types/checkout/styling/styling.d.ts +76 -0
  377. package/build/esm/types/types/cms/cms.d.ts +47 -0
  378. package/build/esm/types/types/cms/index.d.ts +1 -0
  379. package/build/esm/types/types/connection/connection.d.ts +53 -0
  380. package/build/esm/types/types/connection/costs.d.ts +26 -0
  381. package/build/esm/types/types/connection/index.d.ts +2 -0
  382. package/build/esm/types/types/country/country.d.ts +12 -0
  383. package/build/esm/types/types/country/index.d.ts +1 -0
  384. package/build/esm/types/types/customized-api-keys/customized-api-keys.d.ts +30 -0
  385. package/build/esm/types/types/customized-api-keys/index.d.ts +1 -0
  386. package/build/esm/types/types/data-report/conversion-rate.types.d.ts +48 -0
  387. package/build/esm/types/types/data-report/data-report.d.ts +51 -0
  388. package/build/esm/types/types/data-report/fraud.types.d.ts +161 -0
  389. package/build/esm/types/types/data-report/index.d.ts +3 -0
  390. package/build/esm/types/types/developer/developer.d.ts +13 -0
  391. package/build/esm/types/types/developer/index.d.ts +1 -0
  392. package/build/esm/types/types/feature-flags/intex.d.ts +8 -0
  393. package/build/esm/types/types/fraud-screening/fraud-screening.d.ts +109 -0
  394. package/build/esm/types/types/fraud-screening/index.d.ts +1 -0
  395. package/build/esm/types/types/index.d.ts +28 -0
  396. package/build/esm/types/types/mfa/index.d.ts +1 -0
  397. package/build/esm/types/types/mfa/mfa.d.ts +6 -0
  398. package/build/esm/types/types/notifications/index.d.ts +1 -0
  399. package/build/esm/types/types/notifications/notifications.d.ts +39 -0
  400. package/build/esm/types/types/operation-transaction/index.d.ts +1 -0
  401. package/build/esm/types/types/operation-transaction/operation-transaction.d.ts +28 -0
  402. package/build/esm/types/types/organization/index.d.ts +1 -0
  403. package/build/esm/types/types/organization/organization.d.ts +130 -0
  404. package/build/esm/types/types/organization-settings/index.d.ts +1 -0
  405. package/build/esm/types/types/organization-settings/organization-settings.d.ts +27 -0
  406. package/build/esm/types/types/payment/index.d.ts +1 -0
  407. package/build/esm/types/types/payment/payment.d.ts +409 -0
  408. package/build/esm/types/types/payment-links/index.d.ts +1 -0
  409. package/build/esm/types/types/payment-links/payment-links.d.ts +15 -0
  410. package/build/esm/types/types/payouts/index.d.ts +1 -0
  411. package/build/esm/types/types/payouts/payouts.d.ts +105 -0
  412. package/build/esm/types/types/reconciliation/index.d.ts +6 -0
  413. package/build/esm/types/types/reconciliation/reconciliation-advancements.d.ts +40 -0
  414. package/build/esm/types/types/reconciliation/reconciliation-agenda.d.ts +84 -0
  415. package/build/esm/types/types/reconciliation/reconciliation-alerts.d.ts +38 -0
  416. package/build/esm/types/types/reconciliation/reconciliation-fees.d.ts +47 -0
  417. package/build/esm/types/types/reconciliation/reconciliation-sales.d.ts +56 -0
  418. package/build/esm/types/types/reconciliation/reconciliation.d.ts +343 -0
  419. package/build/esm/types/types/reports/index.d.ts +1 -0
  420. package/build/esm/types/types/reports/reports.d.ts +123 -0
  421. package/build/esm/types/types/routing-monitors/index.d.ts +1 -0
  422. package/build/esm/types/types/routing-monitors/routing-monitors.d.ts +35 -0
  423. package/build/esm/types/types/s3-client/index.d.ts +1 -0
  424. package/build/esm/types/types/s3-client/s3-client.d.ts +19 -0
  425. package/build/esm/types/types/saml-config/index.d.ts +1 -0
  426. package/build/esm/types/types/saml-config/saml-config.d.ts +28 -0
  427. package/build/esm/types/types/smart-routing/index.d.ts +1 -0
  428. package/build/esm/types/types/smart-routing/smart-routing.d.ts +311 -0
  429. package/build/esm/types/types/team/index.d.ts +1 -0
  430. package/build/esm/types/types/team/team.d.ts +75 -0
  431. package/build/esm/types/types/user/index.d.ts +1 -0
  432. package/build/esm/types/types/user/user.d.ts +133 -0
  433. package/build/esm/types/types/velocity-rules/index.d.ts +1 -0
  434. package/build/esm/types/types/velocity-rules/velocity-rules.d.ts +15 -0
  435. package/build/esm/types/types/webhook/index.d.ts +1 -0
  436. package/build/esm/types/types/webhook/webhook.d.ts +63 -0
  437. package/build/esm/types/utils/enums.d.ts +162 -0
  438. package/build/esm/types/utils/handler-error.d.ts +6 -0
  439. package/build/esm/types/utils/test-utils.d.ts +4 -0
  440. package/build/esm/types/utils/use-localstorage.d.ts +2 -0
  441. package/build/esm/types/yuno-dashboard-api-mfe.d.ts +7 -0
  442. package/build/index.d.ts +5093 -0
  443. package/package.json +107 -0
@@ -0,0 +1,409 @@
1
+ export declare namespace Payment {
2
+ interface UploadRequest {
3
+ account_id: string;
4
+ evidence: {
5
+ content_category: string;
6
+ content_type: string;
7
+ content: string;
8
+ file_name: string;
9
+ }[];
10
+ }
11
+ interface Amount {
12
+ currency: string;
13
+ value: number;
14
+ }
15
+ interface Checkout {
16
+ session: string;
17
+ sdk_action_required: boolean;
18
+ }
19
+ interface PaymentMethod {
20
+ vaulted_token: string;
21
+ type: string;
22
+ vault_on_success: boolean;
23
+ token: string;
24
+ }
25
+ interface BrowserInfo {
26
+ user_agent: string;
27
+ accept_header: string;
28
+ color_depth: string;
29
+ screen_height: string;
30
+ screen_width: string;
31
+ javascript_enabled: string;
32
+ language: string;
33
+ }
34
+ interface Document {
35
+ document_type: string;
36
+ document_number: string;
37
+ }
38
+ interface Phone {
39
+ number: string;
40
+ country_code: string;
41
+ }
42
+ interface Address {
43
+ address_line_1: string;
44
+ address_line_2: string;
45
+ country: string;
46
+ state: string;
47
+ city: string;
48
+ zip_code: string;
49
+ }
50
+ interface CustomerPayer {
51
+ code: string;
52
+ merchant_customer_id: string;
53
+ first_name: string;
54
+ last_name: string;
55
+ gender: string;
56
+ date_of_birth: string;
57
+ email: string;
58
+ nationality: string;
59
+ ip_address: string;
60
+ device_fingerprint: string;
61
+ browser_info: BrowserInfo;
62
+ document: Document;
63
+ phone: Phone;
64
+ billing_address: Address;
65
+ shipping_address: Address;
66
+ }
67
+ interface Item {
68
+ id: string;
69
+ name: string;
70
+ quantity: number;
71
+ unit_amount: number;
72
+ category: string;
73
+ brand: string;
74
+ sku_code: string;
75
+ manufacture_part_number: string;
76
+ }
77
+ interface Order {
78
+ fee_amount: number;
79
+ shipping_amount: number;
80
+ items: Item[];
81
+ }
82
+ interface Payment {
83
+ code: string;
84
+ account_id: string;
85
+ description: string;
86
+ country: string;
87
+ status: string;
88
+ merchant_order_id: string;
89
+ created_at: string;
90
+ updated_at: string;
91
+ amount: Amount;
92
+ checkout: Checkout;
93
+ payment_method: PaymentMethod;
94
+ customer_payer: CustomerPayer;
95
+ order: Order;
96
+ }
97
+ interface PaymentV2 {
98
+ organization_code: string;
99
+ account_code: string;
100
+ id: string;
101
+ code: string;
102
+ order_id: string;
103
+ status: string;
104
+ sub_status: string;
105
+ amount_value: number;
106
+ currency_code: string;
107
+ created_at: string;
108
+ updated_at: string;
109
+ captured: number;
110
+ refunded: number;
111
+ country: string;
112
+ customer_code: string;
113
+ description: string;
114
+ subscription_id: string;
115
+ transaction_payment: [];
116
+ customer_payer: CustomerPayerV2[];
117
+ card_transaction: CardTransaction[];
118
+ trace_id: string;
119
+ subscription_code: string;
120
+ merchant_reference: string;
121
+ }
122
+ interface TransactionPayment {
123
+ code: string;
124
+ provider_id: string;
125
+ payment_method_type: string;
126
+ parent_payment_method_type?: string;
127
+ }
128
+ interface CustomerPayerV2 {
129
+ customer_payer_id: number;
130
+ payment_id: number;
131
+ document_number?: string;
132
+ email?: string;
133
+ customer_code: string;
134
+ }
135
+ interface CardTransaction {
136
+ card_transaction_id: number;
137
+ transaction_id: number;
138
+ three_ds_electronic_commerce_indicator?: string;
139
+ three_ds_transaction_id?: string;
140
+ }
141
+ interface PaymentItem extends Pick<Payment, 'code' | 'description' | 'country' | 'status' | 'amount' | 'created_at' | 'updated_at'> {
142
+ idempotency_key: string;
143
+ organization_code: string;
144
+ order_id: string;
145
+ }
146
+ interface Sort {
147
+ empty: boolean;
148
+ unsorted: boolean;
149
+ sorted: boolean;
150
+ }
151
+ interface Pageable {
152
+ sort: Sort;
153
+ offset: number;
154
+ page_number: number;
155
+ page_size: number;
156
+ paged: boolean;
157
+ unpaged: boolean;
158
+ }
159
+ interface PaymentList {
160
+ content: PaymentItem[];
161
+ pageable: Pageable;
162
+ last: boolean;
163
+ total_pages: number;
164
+ total_elements: number;
165
+ first: boolean;
166
+ size: number;
167
+ number: number;
168
+ sort: Sort;
169
+ number_of_elements: number;
170
+ empty: boolean;
171
+ }
172
+ interface Transaction {
173
+ code: string;
174
+ type: string;
175
+ status: string;
176
+ category: string;
177
+ amount: number;
178
+ provider_id: string;
179
+ created_at: string;
180
+ updated_at: string;
181
+ }
182
+ interface TransactionTable extends Pick<Transaction, 'created_at' | 'amount' | 'status' | 'category' | 'provider_id' | 'type'> {
183
+ id: number;
184
+ payment_id: number;
185
+ payment_method_type: string;
186
+ country: string;
187
+ order_id: number;
188
+ currency_code: string;
189
+ account_code: string;
190
+ merchant_reference: string;
191
+ provider_transaction_id: number;
192
+ }
193
+ interface Provider {
194
+ id: string;
195
+ transaction_id: string;
196
+ status: string;
197
+ response_code: string;
198
+ bank_transfer: any;
199
+ bnpl: any;
200
+ card: any;
201
+ wallet: any;
202
+ }
203
+ interface ProviderData {
204
+ id?: string;
205
+ transaction_id?: string;
206
+ account_id?: string;
207
+ status?: string;
208
+ sub_status?: string;
209
+ status_detail?: string;
210
+ response_message?: string;
211
+ raw_response?: string;
212
+ raw_notification?: string;
213
+ action_data?: string;
214
+ third_party_transaction_id?: string;
215
+ provider_response_message?: string;
216
+ iso8583_response_code?: string;
217
+ iso8583_response_message?: string;
218
+ }
219
+ interface FraudScreening {
220
+ id?: string;
221
+ fraud_screening_id?: number;
222
+ code?: string;
223
+ created_at?: string;
224
+ payment_method_payer_index?: string;
225
+ provider_id?: string;
226
+ provider_raw_response?: string;
227
+ provider_score?: string;
228
+ provider_status_detail?: string;
229
+ provider_status?: string;
230
+ response_code?: string;
231
+ response_message?: string;
232
+ status?: string;
233
+ type?: string;
234
+ updated_at?: string;
235
+ }
236
+ interface TransactionDetails {
237
+ id?: string;
238
+ type?: string;
239
+ transaction_data_type?: string;
240
+ status?: string;
241
+ category?: string;
242
+ amount?: {
243
+ currency?: string;
244
+ value: number;
245
+ } | string;
246
+ payment_method?: PaymentMethod;
247
+ response_code?: string;
248
+ response_message?: string;
249
+ reason?: string;
250
+ description?: string;
251
+ merchant_reference?: string;
252
+ provider_data?: ProviderData;
253
+ created_at?: string;
254
+ updated_at?: string;
255
+ code?: string;
256
+ customer_payment_method_code?: string;
257
+ one_time_token?: string;
258
+ parent_id?: string;
259
+ payment_id?: number;
260
+ require_action_type?: string;
261
+ vault_on_success?: string;
262
+ parent_provider?: string;
263
+ account_integration_code?: string;
264
+ technical_reverse_provider_transaction_id?: string;
265
+ technical_reverse_transaction_type?: string;
266
+ technical_reverse_status?: string;
267
+ fraud_screening?: FraudScreening;
268
+ stand_alone?: string;
269
+ purpose?: string;
270
+ }
271
+ interface TransactionDetailsResult {
272
+ content: TransactionDetails[];
273
+ }
274
+ interface Params {
275
+ start_date: string;
276
+ end_date: string;
277
+ page: string;
278
+ size: string;
279
+ organization: string;
280
+ }
281
+ interface PaymentMethodsAndProviders {
282
+ acquirers?: string[];
283
+ payment_methods: Array<PaymentMethodStyled>;
284
+ providers: Array<ProviderStyled>;
285
+ currency_codes: string[];
286
+ payment_statuses: string[];
287
+ card_brand: string[];
288
+ connection_name: string[];
289
+ }
290
+ interface PaymentMethodsAndProvidersActive {
291
+ payment_methods: Array<string>;
292
+ providers: Array<string>;
293
+ }
294
+ interface PaymentStatusAndSubStatus {
295
+ status: string;
296
+ sub_status: string;
297
+ }
298
+ interface PaymentAndTransactionStatuses {
299
+ payment_status: Array<string>;
300
+ payment_sub_status: Array<string>;
301
+ transaction_status: Array<string>;
302
+ payment_status_and_sub_status: Array<PaymentStatusAndSubStatus>;
303
+ }
304
+ interface CardBrand {
305
+ icon: string;
306
+ id: string;
307
+ name: string;
308
+ }
309
+ interface Filters {
310
+ organization_code: string;
311
+ statuses: string[];
312
+ sub_statuses: string[];
313
+ providers: string[];
314
+ routes: string[];
315
+ payment_methods: string[];
316
+ parent_payment_method_type: string[];
317
+ country_codes: string[];
318
+ currency_codes: string[];
319
+ connection_name: string[];
320
+ card_brand: string[];
321
+ transaction_statuses: string[];
322
+ decline_reason: string[];
323
+ installments: string[];
324
+ provider_response_code: string[];
325
+ provider_iso8583_response_code: string[];
326
+ fst_response_code: string[];
327
+ fst_provider_score: string[];
328
+ }
329
+ interface TransactionHistoryByPayment {
330
+ payment_method_type: string;
331
+ amount_value: number;
332
+ provider_id: string;
333
+ created_at: string;
334
+ status_history: string;
335
+ currency_code: string;
336
+ country: string;
337
+ transaction_type: string;
338
+ description?: string;
339
+ }
340
+ }
341
+ export interface PaymentMethodStyled {
342
+ description: string;
343
+ hint: string;
344
+ icon: string;
345
+ id: string;
346
+ name: string;
347
+ params_allowed: string[];
348
+ short_name: string;
349
+ }
350
+ export interface ProviderStyled {
351
+ category: string;
352
+ credentials_config_type: string;
353
+ description: string;
354
+ icon: string;
355
+ id: string;
356
+ name: string;
357
+ website: string;
358
+ active: boolean;
359
+ created_at: string;
360
+ updated_at: string;
361
+ }
362
+ export interface TransactionHistory {
363
+ id: number;
364
+ payment_method_type: string;
365
+ payment_id: number;
366
+ category: string;
367
+ amount: number;
368
+ provider_id: string;
369
+ created_at: string;
370
+ status: string;
371
+ }
372
+ export interface RefundPdfResponse {
373
+ pre_signed_url?: string;
374
+ s3_url?: string;
375
+ transactionCode?: string;
376
+ }
377
+ export declare namespace SendPaymentNotification {
378
+ enum NotificationStatus {
379
+ SETTLED = "SETTLED",
380
+ NOT_SETTLED = "NOT_SETTLED"
381
+ }
382
+ enum NotificationReason {
383
+ REFUNDED = "REFUNDED",
384
+ RESOLVED = "RESOLVED",
385
+ CANCELLED = "CANCELLED",
386
+ SERVICE_SUSPENDED = "SERVICE_SUSPENDED",
387
+ ORDER_STOPPED = "ORDER_STOPPED",
388
+ DISMISS = "DISMISS"
389
+ }
390
+ interface Params {
391
+ paymentCode: string;
392
+ transactionCode: string;
393
+ }
394
+ interface Body {
395
+ status: NotificationStatus;
396
+ reason: NotificationReason;
397
+ description: string;
398
+ merchant_reference: string;
399
+ }
400
+ interface Options {
401
+ enabled: boolean;
402
+ onSuccess: () => void;
403
+ onError: () => void;
404
+ }
405
+ interface Response {
406
+ response_code: string;
407
+ response_message: string;
408
+ }
409
+ }
@@ -0,0 +1 @@
1
+ export * from './payment-links';
@@ -0,0 +1,15 @@
1
+ export declare namespace PaymentLinks {
2
+ interface DataCountries {
3
+ country_code: string;
4
+ country_name: string;
5
+ prefix_phone?: {
6
+ prefix: string;
7
+ regex: string;
8
+ };
9
+ icon?: string;
10
+ icon_url?: string;
11
+ }
12
+ interface GetCountriesConfig {
13
+ countries: DataCountries[];
14
+ }
15
+ }
@@ -0,0 +1 @@
1
+ export * from './payouts';
@@ -0,0 +1,105 @@
1
+ export declare namespace Payouts {
2
+ interface Filters {
3
+ organization_code: string;
4
+ account_codes: string[];
5
+ statuses: string[];
6
+ sub_statuses: string[];
7
+ currency_codes: string[];
8
+ providers: string[];
9
+ withdrawal_method_types: string[];
10
+ country_codes: string[];
11
+ purposes: string[];
12
+ }
13
+ interface List {
14
+ content: ItemList[];
15
+ number: number;
16
+ size: number;
17
+ total_elements: number;
18
+ total_pages: number;
19
+ last_page: boolean;
20
+ }
21
+ interface ItemList {
22
+ payout_code: string;
23
+ transaction_code: string;
24
+ merchant_reference: string;
25
+ status: string;
26
+ sub_status: string;
27
+ amount: number;
28
+ currency_code: string;
29
+ provider_id: string;
30
+ withdrawal_method_type: string;
31
+ created_at: string;
32
+ updated_at: string;
33
+ country: string;
34
+ account_code: string;
35
+ organization_code: string;
36
+ beneficiary_email: string;
37
+ }
38
+ interface Details {
39
+ code: string;
40
+ status: string;
41
+ sub_status: string;
42
+ merchant_reference: string;
43
+ purpose: string;
44
+ account_code: string;
45
+ organization_code: string;
46
+ country: string;
47
+ description: string;
48
+ amount: {
49
+ currency: string;
50
+ value: number;
51
+ };
52
+ beneficiary: Beneficiary;
53
+ metadata: {
54
+ key: string;
55
+ value: string;
56
+ }[];
57
+ created_at: string;
58
+ updated_at: string;
59
+ withdrawal_method: WithdrawlMethod;
60
+ }
61
+ interface Beneficiary {
62
+ merchant_beneficiary_id: string;
63
+ national_entity: string;
64
+ first_name: string;
65
+ last_name: string;
66
+ legal_name: string;
67
+ email: string;
68
+ date_of_birth: string;
69
+ country: string;
70
+ document: Document;
71
+ phone: {
72
+ country_code: string;
73
+ number: string;
74
+ };
75
+ address: {
76
+ address_line_1: string;
77
+ address_line_2: string;
78
+ city: string;
79
+ country: string;
80
+ state: string;
81
+ zip_code: string;
82
+ };
83
+ }
84
+ interface WithdrawlMethod {
85
+ type: string;
86
+ provider_id: string;
87
+ detail: {
88
+ bank_transfer?: string;
89
+ wallet: {
90
+ code?: string;
91
+ email: string;
92
+ country: string;
93
+ document: Document;
94
+ phone: {
95
+ country_code: string;
96
+ number: string;
97
+ };
98
+ };
99
+ };
100
+ }
101
+ interface Document {
102
+ document_number: string;
103
+ document_type: string;
104
+ }
105
+ }
@@ -0,0 +1,6 @@
1
+ export * from './reconciliation';
2
+ export * from './reconciliation-alerts';
3
+ export * from './reconciliation-agenda';
4
+ export * from './reconciliation-sales';
5
+ export * from './reconciliation-advancements';
6
+ export * from './reconciliation-fees';
@@ -0,0 +1,40 @@
1
+ export declare namespace ReconciliationAdvancements {
2
+ interface Advancements {
3
+ operation_id: string;
4
+ merchant_id: string;
5
+ product_id: string;
6
+ ur_key: string;
7
+ operation_type: string;
8
+ movement_type: string;
9
+ operation_date: string;
10
+ operation_settlement_date: string;
11
+ ur_operation_date: string;
12
+ ur_original_settlement_date: string;
13
+ negotiation_gross_amount: number;
14
+ negotiation_fees: number;
15
+ negotiation_net_amount: number;
16
+ ur_gross_amount: number;
17
+ ur_fees: number;
18
+ ur_net_amount: number;
19
+ bank: string;
20
+ bank_agency: string;
21
+ bank_account: string;
22
+ country: string;
23
+ acquirer: string;
24
+ ur_currency: string;
25
+ }
26
+ interface FiltersRequestParams {
27
+ page_number: number;
28
+ page_size: number;
29
+ }
30
+ interface FiltersRequestBody {
31
+ accounts?: string[];
32
+ acquirers?: string[];
33
+ countries?: string[];
34
+ start_date?: string;
35
+ end_date?: string;
36
+ }
37
+ interface GetAllReconciliationsAdvancementsResponse extends FiltersRequestParams {
38
+ items: Advancements[];
39
+ }
40
+ }
@@ -0,0 +1,84 @@
1
+ export declare namespace ReconciliationAgenda {
2
+ interface Agenda {
3
+ ur_key: string;
4
+ country: string;
5
+ type_transaction: string;
6
+ payment_method_category: string;
7
+ payment_method_type: string;
8
+ provider_id: string;
9
+ customer_id: string;
10
+ payment_id: string;
11
+ merchant_order_id: string;
12
+ merchant_transaction_id: string;
13
+ transaction_id: string;
14
+ provider_transaction_id: string;
15
+ third_party_transaction_id: string;
16
+ status_payment: string;
17
+ response_code: string;
18
+ provider_status: string;
19
+ transaction_amount: number;
20
+ currency: string;
21
+ card_type: string;
22
+ card_brand: string;
23
+ card_iin: string;
24
+ card_lfd: string;
25
+ authorization_code: string;
26
+ installments: number;
27
+ installment_number: number;
28
+ installment_amount: number;
29
+ pnr: string;
30
+ created_at: string;
31
+ updated_at: string;
32
+ agenda_status: string;
33
+ agenda_sub_status: string;
34
+ sales_reconciliation_date: string;
35
+ provider_intended_settlement_date: string;
36
+ provider_confirmation_date: string;
37
+ bank_account: string;
38
+ bank_agency: string;
39
+ bank: string;
40
+ advancement_amount: number;
41
+ provider_fees: number;
42
+ provider_taxes: number;
43
+ pending_amount: number;
44
+ acquirer: string;
45
+ }
46
+ interface InsightValue {
47
+ key: string;
48
+ value: number;
49
+ color?: string;
50
+ percentage?: number;
51
+ }
52
+ interface FiltersRequestParams {
53
+ page_number: number;
54
+ page_size: number;
55
+ }
56
+ interface InsightRequestParams {
57
+ insight_type: ReconciliationAgendaInsight;
58
+ }
59
+ interface FiltersRequestBody {
60
+ acquirers?: string[];
61
+ accounts?: string[];
62
+ countries?: string[];
63
+ providers?: string[];
64
+ }
65
+ interface GetAllReconciliationsAgendaResponse extends FiltersRequestParams {
66
+ agenda: Agenda[];
67
+ }
68
+ interface AmountToBeSettled {
69
+ amount_to_be_settled: number;
70
+ currency: string;
71
+ }
72
+ interface InsightDistribution {
73
+ items: InsightValue[];
74
+ total: number;
75
+ average: number;
76
+ }
77
+ type GetReconciliationsAgendaInsightsResponse = InsightDistribution | AmountToBeSettled;
78
+ }
79
+ export declare enum ReconciliationAgendaInsight {
80
+ TOTAL_AMOUNT = "AGENDA_TOTAL_AMOUNT",
81
+ DAILY = "AGENDA_DAILY_DISTRIBUTION",
82
+ PAYMENT_METHOD = "AGENDA_PAYMENT_METHOD_DISTRIBUTION",
83
+ CARD_BRAND = "AGENDA_CARD_BRAND_DISTRIBUTION"
84
+ }
@@ -0,0 +1,38 @@
1
+ export declare namespace ReconciliationAlerts {
2
+ interface Alert {
3
+ alert_id?: string;
4
+ name: string;
5
+ description: string;
6
+ provider: string;
7
+ country: string;
8
+ alert_type: string;
9
+ emails: string[];
10
+ accounts: string[];
11
+ conditions: string;
12
+ created_at: string;
13
+ updated_at: string;
14
+ }
15
+ interface ReconciliationAlertFiltersParams {
16
+ page_number: number;
17
+ page_size: number;
18
+ }
19
+ interface ReconciliationAlertFiltersBody {
20
+ start_date: string;
21
+ end_date: string;
22
+ accounts?: string[];
23
+ countries?: string[];
24
+ providers?: string[];
25
+ search?: string;
26
+ }
27
+ type ReconciliationAlertToSave = Omit<Alert, 'alert_id' | 'created_at' | 'updated_at'>;
28
+ type ReconciliationAlertToUpdate = Omit<Alert, 'created_at' | 'updated_at'>;
29
+ type GetAllReconciliationsAlertsResponse = {
30
+ page: number;
31
+ page_size: number;
32
+ total_pages: number;
33
+ total: number;
34
+ alerts: Alert[];
35
+ };
36
+ type PostReconciliationAlertRespose = Alert;
37
+ type DeleteReconciliationAlertResponse = Pick<Alert, 'alert_id'>;
38
+ }