@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,51 @@
1
+ export declare namespace DataReport {
2
+ enum InsightsVolumeMetricsV2Path {
3
+ REFUNDS_AND_CHARGEBACKS = "refunds-and-chargebacks",
4
+ APPROVED_PAYMENTS = "approved-payments",
5
+ PAYMENT_METHODS = "payment-methods",
6
+ PROVIDERS = "providers",
7
+ COUNTRIES = "countries",
8
+ UNIQUE_CUSTOMER_PAYMENTS = "unique-customer-payments",
9
+ TOTAL_PAYMENTS = "total-payments"
10
+ }
11
+ interface SmartRouting {
12
+ version: string;
13
+ code_integration: string;
14
+ Conditions: {
15
+ minutes: number;
16
+ approvalRate: {
17
+ SUCCEEDED: number;
18
+ REJECTED: number;
19
+ ERROR: number;
20
+ };
21
+ cost: number;
22
+ }[];
23
+ }
24
+ enum OverviewMetricType {
25
+ GENERAL = "volume-and-total-payments",
26
+ LATENCY = "provider-latency",
27
+ STATUS = "status",
28
+ SUBSCRIPTIONS = "subscriptions"
29
+ }
30
+ interface InsightMetricParams {
31
+ [a: string]: string | boolean | number | string[] | undefined;
32
+ account_code?: string;
33
+ connection_name?: string;
34
+ }
35
+ interface InsightMetricBody {
36
+ account_codes?: string[];
37
+ account_code?: string[];
38
+ connection_name?: string[];
39
+ }
40
+ interface InsightExportParams {
41
+ type?: string;
42
+ code?: string;
43
+ }
44
+ interface InsightsHomeMetrics {
45
+ account_codes?: string[];
46
+ organization_code?: string;
47
+ currency_code?: string;
48
+ timezone?: string;
49
+ isLiveMode?: boolean;
50
+ }
51
+ }
@@ -0,0 +1,161 @@
1
+ export interface InsightsFraudParams {
2
+ start_date: string;
3
+ end_date: string;
4
+ periodicity: string;
5
+ provider_id: string;
6
+ payment_method_type: string;
7
+ currency_code: string;
8
+ timezone: string;
9
+ source: string;
10
+ new_version: boolean;
11
+ payment_statuses: string;
12
+ card_brand: string;
13
+ }
14
+ export interface InsightsFraudBody {
15
+ account_codes: string[];
16
+ connection_name: string[];
17
+ }
18
+ export interface PeriodicityRecord {
19
+ [key: string]: number;
20
+ }
21
+ export interface TotalTimeline {
22
+ total: number;
23
+ timeline: PeriodicityRecord;
24
+ }
25
+ interface BaseTotalsItem {
26
+ total_rate: number;
27
+ total_amount: number;
28
+ total_count_tx: number;
29
+ }
30
+ interface BaseTimelineItem {
31
+ periodicity: string;
32
+ rate: number;
33
+ }
34
+ interface BaseTransactionTimelineItem {
35
+ periodicity: string;
36
+ count_tx: number;
37
+ conversion_rate: number;
38
+ amount: number;
39
+ }
40
+ export interface FraudScreeningVolume {
41
+ total_conversion_rate: number;
42
+ insight_fraud_total_conversion_rate_periodicity: PeriodicityRecord;
43
+ }
44
+ export interface FraudScreeningCount {
45
+ total_count_tx: number;
46
+ insight_fraud_count_tx_periodicity: PeriodicityRecord;
47
+ }
48
+ export interface InsightsFraudScreeningResumeResponse {
49
+ total_volume: FraudScreeningVolume;
50
+ succeeded_volume: FraudScreeningVolume;
51
+ not_succeeded_volume: FraudScreeningVolume;
52
+ total_count_tx: FraudScreeningCount;
53
+ succeeded_count_tx: FraudScreeningCount;
54
+ not_succeeded_count_tx: FraudScreeningCount;
55
+ }
56
+ export interface InsightsFraudConversionRateResponse {
57
+ total_conversion_rate: number;
58
+ insight_fraud_total_conversion_rate_and_evolution: PeriodicityRecord;
59
+ }
60
+ export interface Fraud3dsVolume {
61
+ total_conversion_rate: number;
62
+ insight_three_ds_total_conversion_rate_periodicity: PeriodicityRecord;
63
+ }
64
+ export interface Fraud3dsCount {
65
+ total_count_tx: number;
66
+ insight_three_ds_count_tx_periodicity: PeriodicityRecord;
67
+ }
68
+ export interface Insights3dsResumeResponse {
69
+ total_volume: Fraud3dsVolume;
70
+ succeeded_volume: Fraud3dsVolume;
71
+ not_succeeded_volume: Fraud3dsVolume;
72
+ total_count_tx: Fraud3dsCount;
73
+ succeeded_count_tx: Fraud3dsCount;
74
+ not_succeeded_count_tx: Fraud3dsCount;
75
+ }
76
+ export interface Insights3dsConversionRate {
77
+ total_conversion_rate: number;
78
+ insight_fraud_total_conversion_rate_and_evolution: PeriodicityRecord;
79
+ }
80
+ export interface Insights3dsDeclineReasons {
81
+ totals: (BaseTotalsItem & {
82
+ decline_reason: string;
83
+ })[];
84
+ timeline: (BaseTimelineItem & {
85
+ decline_reason: string;
86
+ })[];
87
+ }
88
+ export interface Insights3dsFrictionlessVsChallenge {
89
+ frictionless: {
90
+ total_count_tx: number;
91
+ total_conversion_rate: number;
92
+ total_amount: number;
93
+ timeline: BaseTransactionTimelineItem[];
94
+ };
95
+ challenge: {
96
+ total_count_tx: number;
97
+ total_conversion_rate: number;
98
+ total_amount: number;
99
+ timeline: BaseTransactionTimelineItem[];
100
+ };
101
+ }
102
+ export interface ChargebacksVolume {
103
+ total_conversion_rate: number;
104
+ insight_chargebacks_total_conversion_rate_periodicity: PeriodicityRecord;
105
+ }
106
+ export interface ChargebacksCount {
107
+ total_count_tx: number;
108
+ insight_chargebacks_count_tx_periodicity: PeriodicityRecord;
109
+ }
110
+ export interface InsightsChargebacksResumeResponse {
111
+ total_volume: ChargebacksVolume;
112
+ succeeded_volume: ChargebacksVolume;
113
+ not_succeeded_volume: ChargebacksVolume;
114
+ total_count_tx: ChargebacksCount;
115
+ succeeded_count_tx: ChargebacksCount;
116
+ not_succeeded_count_tx: ChargebacksCount;
117
+ }
118
+ export interface InsightsChargebacksWinRate {
119
+ total_win_rate: number;
120
+ insight_cbk_win_rates: PeriodicityRecord;
121
+ }
122
+ export interface InsightsChargebacksDisputed {
123
+ total_disputed: number;
124
+ insight_cbk_disputed: PeriodicityRecord;
125
+ }
126
+ export interface InsightsChargebacksStatusDistribution {
127
+ totals: (BaseTotalsItem & {
128
+ status: string;
129
+ })[];
130
+ timeline: (BaseTimelineItem & {
131
+ status: string;
132
+ })[];
133
+ }
134
+ export interface InsightsChargebacksByProviderAndCardBrand {
135
+ totals: (BaseTotalsItem & {
136
+ provider_and_brand: string;
137
+ })[];
138
+ timeline: (BaseTimelineItem & {
139
+ provider_and_brand: string;
140
+ })[];
141
+ }
142
+ export interface InsightsChargebacksByReason {
143
+ totals: (BaseTotalsItem & {
144
+ reason: string;
145
+ })[];
146
+ timeline: (BaseTimelineItem & {
147
+ reason: string;
148
+ })[];
149
+ }
150
+ export interface InsightsChargebacksByCardBrand {
151
+ insight_card_conversion_by_brand_distribution: {
152
+ periodicity: string;
153
+ card_brand: string;
154
+ total_payments: number;
155
+ total_amount: number;
156
+ total_payments_succeeded: number;
157
+ total_chargeback: number;
158
+ chargeback_rate: number;
159
+ }[];
160
+ }
161
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './data-report';
2
+ export * from './fraud.types';
3
+ export * from './conversion-rate.types';
@@ -0,0 +1,13 @@
1
+ import { Organization } from '../organization';
2
+ export declare namespace Developer {
3
+ interface DeveloperCredentials extends Organization.Credentials {
4
+ 'x-account-code': string;
5
+ }
6
+ }
7
+ export interface IKeyRoll {
8
+ payload: {
9
+ expiration_in: string;
10
+ };
11
+ code: string;
12
+ password: string;
13
+ }
@@ -0,0 +1 @@
1
+ export * from './developer';
@@ -0,0 +1,8 @@
1
+ export declare namespace FeatureFlags {
2
+ interface Request {
3
+ account_code: string;
4
+ organization_code: string;
5
+ name: string;
6
+ [key: string]: string;
7
+ }
8
+ }
@@ -0,0 +1,109 @@
1
+ export declare namespace FraudScreening {
2
+ interface BlackList {
3
+ account_code: string;
4
+ organization_code: string;
5
+ code: string;
6
+ name: string;
7
+ type: string;
8
+ created_at: string;
9
+ updated_at: string;
10
+ deleted_at: string;
11
+ elements_amount: number;
12
+ elements: elementBlacklist[];
13
+ }
14
+ interface BlocklistData {
15
+ total_pages: number;
16
+ total_records: number;
17
+ blacklists: BlackList[];
18
+ }
19
+ interface Allowlist {
20
+ account_code: string;
21
+ organization_code: string;
22
+ code: string;
23
+ name: string;
24
+ type: string;
25
+ created_at: string;
26
+ updated_at: string;
27
+ deleted_at: string;
28
+ allowed_payments?: number;
29
+ status?: string | boolean;
30
+ elements_amount: number;
31
+ elements: elementBlacklist[];
32
+ }
33
+ interface elementBlacklist {
34
+ element: string;
35
+ }
36
+ interface BlackListPayload {
37
+ type?: string;
38
+ name?: string;
39
+ page?: number;
40
+ code?: string;
41
+ size?: number | string;
42
+ account_codes?: string[];
43
+ account?: string;
44
+ active?: boolean | string;
45
+ }
46
+ interface PostBlockList {
47
+ account_codes: string[];
48
+ name: string;
49
+ page?: number;
50
+ size?: number;
51
+ }
52
+ interface ListItem {
53
+ first_value: string;
54
+ second_value: string;
55
+ }
56
+ interface BlackListItemsPayload {
57
+ blacklist_code: string;
58
+ expiration_days: number;
59
+ items: string[] | ListItem[];
60
+ }
61
+ interface EditBlackListPayload {
62
+ blacklist_code?: string;
63
+ code?: string;
64
+ name?: string;
65
+ status?: string;
66
+ }
67
+ interface DeleteBlackList {
68
+ account_code: string;
69
+ black_list_code: string;
70
+ item?: string;
71
+ }
72
+ interface DeleteBlockListItem {
73
+ account_code: string;
74
+ blocklist_code: string;
75
+ blocklist_item_id: string;
76
+ }
77
+ interface DeleteAllowListItem {
78
+ account_code: string;
79
+ allowlist_code: string;
80
+ allowlist_item_id: string;
81
+ }
82
+ interface ValidateBlockListItems {
83
+ account_code: string;
84
+ blocklist_code: string;
85
+ file_items_values?: string;
86
+ items_values?: string[];
87
+ }
88
+ interface ValidateAllowListItems {
89
+ account_code: string;
90
+ allowlist_code: string;
91
+ file_items_values?: string;
92
+ items_values?: string[];
93
+ }
94
+ interface BlockListSummary {
95
+ id: number;
96
+ account_code: string;
97
+ organization_code: string;
98
+ code: string;
99
+ name: string;
100
+ type: string;
101
+ created_at: string;
102
+ updated_at: string;
103
+ deleted_at: string | null;
104
+ elements_amount: number;
105
+ unique_elements_amount: number;
106
+ active: boolean;
107
+ blocked_payments: number;
108
+ }
109
+ }
@@ -0,0 +1 @@
1
+ export * from './fraud-screening';
@@ -0,0 +1,28 @@
1
+ export * from './accounts';
2
+ export * from './payment';
3
+ export * from './operation-transaction';
4
+ export * from './organization';
5
+ export * from './developer';
6
+ export * from './connection';
7
+ export * from './webhook';
8
+ export * from './user';
9
+ export * from './country';
10
+ export * from './cms';
11
+ export * from './checkout';
12
+ export * from './reports';
13
+ export * from './notifications';
14
+ export * from './smart-routing';
15
+ export * from './routing-monitors';
16
+ export * from './team';
17
+ export * from './data-report';
18
+ export * from './batch-refunds';
19
+ export * from './reconciliation';
20
+ export * from './fraud-screening';
21
+ export * from './organization-settings';
22
+ export * from './velocity-rules';
23
+ export * from './payouts';
24
+ export * from './audit';
25
+ export * from './payment-links';
26
+ export * from './saml-config';
27
+ export * from './s3-client';
28
+ export * from './mfa';
@@ -0,0 +1 @@
1
+ export * from './mfa';
@@ -0,0 +1,6 @@
1
+ export declare namespace MFA {
2
+ type MFAStatus = 'ACTIVE' | 'PENDING' | 'INACTIVE';
3
+ interface MFAStatusResponse {
4
+ status: MFAStatus;
5
+ }
6
+ }
@@ -0,0 +1 @@
1
+ export * from './notifications';
@@ -0,0 +1,39 @@
1
+ export declare namespace Notifications {
2
+ export interface ICreateNotificationsPayload {
3
+ account_code: string;
4
+ notification_type: string;
5
+ status: string;
6
+ customer_code: string;
7
+ payload: IPayload;
8
+ }
9
+ export interface IPayload {
10
+ text: string;
11
+ notification_id: string;
12
+ }
13
+ export type NotificationsResponse = {
14
+ updated_at: string;
15
+ type_notification: 'NOTIFICATION' | 'REPORTS';
16
+ }[];
17
+ export interface NotificationsBodyResponse {
18
+ data: NotificationsResponse;
19
+ content: INotificationsResponse[];
20
+ code?: string | number;
21
+ }
22
+ export interface INotificationsResponse {
23
+ notifications: INotification[];
24
+ notifications_not_checked: number;
25
+ }
26
+ interface INotification {
27
+ code: string;
28
+ account_code: string;
29
+ notification_type: string;
30
+ status: string;
31
+ customer_code: string;
32
+ is_checked: boolean;
33
+ created_at: string;
34
+ updated_at: string;
35
+ }
36
+ export interface IEmpty {
37
+ }
38
+ export {};
39
+ }
@@ -0,0 +1 @@
1
+ export * from './operation-transaction';
@@ -0,0 +1,28 @@
1
+ import { Payment } from '../payment';
2
+ export declare namespace OperationTransaction {
3
+ type Reason = 'DUPLICATE' | 'FRAUDULENT' | 'REQUESTED_BY_CUSTOMER' | '' | null;
4
+ type Actions = 'refund' | 'cancel' | 'capture';
5
+ interface ParamsOperationTransaction {
6
+ paymentId: string;
7
+ transactionId: string;
8
+ action: Actions;
9
+ }
10
+ interface Request {
11
+ description?: string;
12
+ reason?: Reason;
13
+ merchant_reference: string;
14
+ amount?: Payment.Amount;
15
+ }
16
+ interface Response {
17
+ id: string;
18
+ type: string;
19
+ status: string;
20
+ category: string;
21
+ amount: Payment.Amount;
22
+ merchant_reference: string;
23
+ created_at: string;
24
+ updated_at: string;
25
+ provider_data: Payment.Provider;
26
+ payment: Payment.Payment;
27
+ }
28
+ }
@@ -0,0 +1 @@
1
+ export * from './organization';
@@ -0,0 +1,130 @@
1
+ import type { Request } from 'express';
2
+ import { Country } from '../country';
3
+ import { Cost } from '../connection/costs';
4
+ import { Connection } from '../connection';
5
+ export declare namespace Organization {
6
+ type OrganizationStatus = 'INACTIVE' | 'ACTIVE' | 'VERIFYING_ACCOUNT';
7
+ interface Organization {
8
+ code: string;
9
+ name: string;
10
+ category: string;
11
+ status: OrganizationStatus;
12
+ selected?: boolean;
13
+ created_at: Date;
14
+ updated_at: Date;
15
+ nps: number;
16
+ type: string;
17
+ }
18
+ enum CustomClaims {
19
+ ORGANIZATION_CODE = "https://dashboard.dev.y.uno/organization_code",
20
+ USER_CODE = "https://dashboard.dev.y.uno/user_code",
21
+ USER_EMAIL = "https://dashboard.dev.y.uno/user_email"
22
+ }
23
+ interface PatchOrganizationStatusParam {
24
+ status: OrganizationStatus;
25
+ }
26
+ interface ProviderParams {
27
+ paymentMethods: PaymentMethods[];
28
+ new_params_catalog: Connection.ConnectionPayload[];
29
+ params: Connection.ConnectionPayload[];
30
+ provider: {
31
+ async: boolean;
32
+ };
33
+ code: number;
34
+ }
35
+ interface OrganizationRequest extends Request {
36
+ user: {
37
+ [CustomClaims.ORGANIZATION_CODE]: string;
38
+ [CustomClaims.USER_CODE]: string;
39
+ sub: string;
40
+ };
41
+ }
42
+ interface AccountOrganization extends Account {
43
+ account_codes: string[];
44
+ }
45
+ interface Account {
46
+ active: boolean;
47
+ email: string;
48
+ legal_name: string;
49
+ phone: string;
50
+ country_code: Country.CountryCode;
51
+ updated_at: string;
52
+ account_code_live: string;
53
+ account_code_testing: string;
54
+ code: string;
55
+ created_at: string;
56
+ id: number;
57
+ name: string;
58
+ organization_code: string;
59
+ principal: boolean;
60
+ role: {
61
+ adming: boolean;
62
+ id: string;
63
+ name: string;
64
+ permission_ids: string[];
65
+ staff: boolean;
66
+ status: string;
67
+ user_account_code: string;
68
+ };
69
+ }
70
+ interface Integration {
71
+ code: string;
72
+ provider_id: string;
73
+ active: boolean;
74
+ country: string;
75
+ created_at: string;
76
+ updated_at: string;
77
+ }
78
+ interface IntegrationParams {
79
+ payment_method: string[];
80
+ param_id: string;
81
+ category: string;
82
+ panel_name: string;
83
+ panel_description: string;
84
+ type: string;
85
+ created_at: string;
86
+ updated_at: string;
87
+ country: string;
88
+ async: string;
89
+ provider_description?: string;
90
+ integration_type?: string;
91
+ costs?: Cost[];
92
+ value?: string;
93
+ }
94
+ interface PaymentMethods {
95
+ type?: string;
96
+ provider_id: string;
97
+ icon?: string;
98
+ name?: string;
99
+ description?: string;
100
+ active?: boolean;
101
+ country?: string;
102
+ }
103
+ interface ProviderParamsResponse {
104
+ paymentMethods: PaymentMethods[];
105
+ params: IntegrationParams[];
106
+ }
107
+ interface Credentials {
108
+ public_api_key: string;
109
+ private_secret_key: string;
110
+ }
111
+ type ConnectionState = 'ARCHIVED' | 'ACTIVE' | 'PAUSED';
112
+ interface Connections {
113
+ integration_code: string;
114
+ type: string;
115
+ provider_id: string;
116
+ icon: string;
117
+ name: string;
118
+ description: string;
119
+ active: boolean;
120
+ created_at: string;
121
+ updated_at: string;
122
+ provider_name: string;
123
+ connection_name: string;
124
+ connection_state?: ConnectionState;
125
+ provider_icon: string;
126
+ category: string;
127
+ costs?: Cost[];
128
+ percentage_cost?: number;
129
+ }
130
+ }
@@ -0,0 +1 @@
1
+ export * from './organization-settings';
@@ -0,0 +1,27 @@
1
+ export declare namespace OrganizationSettings {
2
+ interface MfaConfig {
3
+ mfa_enforcing: boolean;
4
+ organization_code: string;
5
+ enforcing_from: string | null;
6
+ period_for_new_users: string | null;
7
+ updated_at: string | null;
8
+ }
9
+ interface MfaConfigRequest {
10
+ enforcing_mfa_from: string | null;
11
+ period_for_new_users: string | null;
12
+ }
13
+ interface MfaUserExcluded {
14
+ user: [code: string, exclude_until: string];
15
+ }
16
+ interface MfaStatus {
17
+ now: string;
18
+ mfa_enforcing: boolean;
19
+ mfa_config: {
20
+ organization_code: string;
21
+ enforcing_from: string;
22
+ period_for_new_users: string;
23
+ updated_at: string;
24
+ };
25
+ mfa_excluded_until: string;
26
+ }
27
+ }
@@ -0,0 +1 @@
1
+ export * from './payment';