@yuno-payments/dashboard-api-mfe 1.10.6 → 1.10.8

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 (464) hide show
  1. package/build/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +10 -0
  2. package/build/api/api.d.ts +675 -0
  3. package/build/api/api.singleton.d.ts +9 -0
  4. package/build/api/api.types.d.ts +229 -0
  5. package/build/api/index.d.ts +3 -0
  6. package/build/api-provider.d.ts +4 -0
  7. package/build/cjs/index.js +6 -6
  8. package/build/cjs/index.js.map +1 -1
  9. package/build/cjs/types/api/api.d.ts +2 -26
  10. package/build/cjs/types/api/api.singleton.d.ts +0 -1
  11. package/build/cjs/types/api/api.types.d.ts +0 -1
  12. package/build/cjs/types/mutations/index.d.ts +0 -2
  13. package/build/cjs/types/mutations/payment-links/payment-links.mutation.d.ts +0 -9
  14. package/build/cjs/types/mutations/settings/index.d.ts +0 -1
  15. package/build/cjs/types/queries/audit/audit.query.d.ts +1 -5
  16. package/build/cjs/types/queries/audit/index.d.ts +0 -1
  17. package/build/cjs/types/queries/index.d.ts +0 -1
  18. package/build/cjs/types/types/audit/audit.d.ts +0 -80
  19. package/build/cjs/types/types/checkout/styling/styling.d.ts +0 -31
  20. package/build/cjs/types/types/index.d.ts +0 -1
  21. package/build/cjs/types/types/organization/organization.d.ts +0 -1
  22. package/build/cjs/types/types/recipients/index.d.ts +0 -1
  23. package/build/cjs/types/types/recipients/recipients.d.ts +0 -7
  24. package/build/cjs/types/types/team/team.d.ts +0 -1
  25. package/build/cjs/types/types/webhook/webhook.d.ts +0 -2
  26. package/build/common/config.d.ts +13 -0
  27. package/build/common/config.test.d.ts +0 -0
  28. package/build/constants/errors-code.constant.d.ts +5 -0
  29. package/build/constants/index.d.ts +1 -0
  30. package/build/esm/index.js +6 -6
  31. package/build/esm/index.js.map +1 -1
  32. package/build/esm/types/api/api.d.ts +2 -26
  33. package/build/esm/types/api/api.singleton.d.ts +0 -1
  34. package/build/esm/types/api/api.types.d.ts +0 -1
  35. package/build/esm/types/mutations/index.d.ts +0 -2
  36. package/build/esm/types/mutations/payment-links/payment-links.mutation.d.ts +0 -9
  37. package/build/esm/types/mutations/settings/index.d.ts +0 -1
  38. package/build/esm/types/queries/audit/audit.query.d.ts +1 -5
  39. package/build/esm/types/queries/audit/index.d.ts +0 -1
  40. package/build/esm/types/queries/index.d.ts +0 -1
  41. package/build/esm/types/types/audit/audit.d.ts +0 -80
  42. package/build/esm/types/types/checkout/styling/styling.d.ts +0 -31
  43. package/build/esm/types/types/index.d.ts +0 -1
  44. package/build/esm/types/types/organization/organization.d.ts +0 -1
  45. package/build/esm/types/types/recipients/index.d.ts +0 -1
  46. package/build/esm/types/types/recipients/recipients.d.ts +0 -7
  47. package/build/esm/types/types/team/team.d.ts +0 -1
  48. package/build/esm/types/types/webhook/webhook.d.ts +0 -2
  49. package/build/index.d.ts +4 -378
  50. package/build/lib/http-client/__tests__/http-client.test.d.ts +1 -0
  51. package/build/lib/http-client/api.config.d.ts +2 -0
  52. package/build/lib/http-client/axios.d.ts +19 -0
  53. package/build/lib/http-client/http-client.d.ts +175 -0
  54. package/build/lib/http-client/index.d.ts +2 -0
  55. package/build/msw/browser.d.ts +1 -0
  56. package/build/msw/handlers/api-logs.d.ts +1 -0
  57. package/build/msw/handlers/index.d.ts +1 -0
  58. package/build/msw/handlers/insights.d.ts +1 -0
  59. package/build/msw/handlers/installments.d.ts +1 -0
  60. package/build/msw/handlers/organizations.d.ts +1 -0
  61. package/build/msw/handlers/payments.d.ts +1 -0
  62. package/build/msw/handlers/reconciliation-insights.d.ts +1 -0
  63. package/build/msw/handlers/webhooks.d.ts +1 -0
  64. package/build/msw/index.d.ts +1 -0
  65. package/build/msw/mocks/api-logs/api-logs-v3.mock.d.ts +2 -0
  66. package/build/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +14 -0
  67. package/build/msw/mocks/insights/conversion-rate/overview.mock.d.ts +34 -0
  68. package/build/msw/mocks/insights/overview/overview-metrics.mock.d.ts +9 -0
  69. package/build/msw/mocks/insights/overview/overview.mock.d.ts +139 -0
  70. package/build/msw/mocks/installments/installments.mock.d.ts +8 -0
  71. package/build/msw/mocks/payments/payments.mock.d.ts +92 -0
  72. package/build/msw/mocks/payments/transaction-details.mock.d.ts +579 -0
  73. package/build/msw/mocks/reconciliation-insights/index.d.ts +22 -0
  74. package/build/msw/mocks/webhooks/webhook-timeline.mock.d.ts +2 -0
  75. package/build/mutations/S3Client/S3Client.mutation.d.ts +6 -0
  76. package/build/mutations/S3Client/index.d.ts +1 -0
  77. package/build/mutations/accounts/accounts.mutation.d.ts +57 -0
  78. package/build/mutations/accounts/accounts.mutation.test.d.ts +1 -0
  79. package/build/mutations/accounts/delete-mutation.d.ts +20 -0
  80. package/build/mutations/accounts/index.d.ts +2 -0
  81. package/build/mutations/accounts/types.d.ts +25 -0
  82. package/build/mutations/ai/ai.mutation.d.ts +28 -0
  83. package/build/mutations/ai/ai.mutation.test.d.ts +1 -0
  84. package/build/mutations/ai/index.d.ts +1 -0
  85. package/build/mutations/audit/audit-api.mutation.d.ts +13 -0
  86. package/build/mutations/audit/audit-api.mutation.test.d.ts +1 -0
  87. package/build/mutations/audit/audit.mutation.d.ts +6 -0
  88. package/build/mutations/audit/index.d.ts +2 -0
  89. package/build/mutations/audit/settings.mutation.test.d.ts +1 -0
  90. package/build/mutations/batch-refunds/batch-refunds.mutation.d.ts +32 -0
  91. package/build/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +1 -0
  92. package/build/mutations/batch-refunds/index.d.ts +1 -0
  93. package/build/mutations/chartgpt/chartgpt.mutation.d.ts +70 -0
  94. package/build/mutations/chartgpt/chartgpt.mutation.test.d.ts +1 -0
  95. package/build/mutations/chartgpt/index.d.ts +1 -0
  96. package/build/mutations/checkouts/checkouts.mutation.d.ts +5 -0
  97. package/build/mutations/checkouts/checkouts.mutation.test.d.ts +1 -0
  98. package/build/mutations/checkouts/index.d.ts +1 -0
  99. package/build/mutations/connections/conections.mutation.test.d.ts +1 -0
  100. package/build/mutations/connections/connections.mutation.d.ts +40 -0
  101. package/build/mutations/connections/index.d.ts +1 -0
  102. package/build/mutations/developers/developers.mutation.d.ts +31 -0
  103. package/build/mutations/developers/developers.mutation.test.d.ts +1 -0
  104. package/build/mutations/developers/index.d.ts +2 -0
  105. package/build/mutations/developers/types.d.ts +5 -0
  106. package/build/mutations/fraud-screening/fraud-screening.mutation.d.ts +52 -0
  107. package/build/mutations/fraud-screening/index.d.ts +1 -0
  108. package/build/mutations/index.d.ts +34 -0
  109. package/build/mutations/insights/index.d.ts +1 -0
  110. package/build/mutations/insights/insights.mutation.d.ts +2 -0
  111. package/build/mutations/installments/index.d.ts +1 -0
  112. package/build/mutations/installments/installments.mutation.d.ts +17 -0
  113. package/build/mutations/installments/installments.mutation.test.d.ts +1 -0
  114. package/build/mutations/multi-factor-authentication/index.d.ts +1 -0
  115. package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +12 -0
  116. package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.test.d.ts +1 -0
  117. package/build/mutations/notifications/index.d.ts +1 -0
  118. package/build/mutations/notifications/notifications.mutation.d.ts +6 -0
  119. package/build/mutations/organization-config/index.d.ts +1 -0
  120. package/build/mutations/organization-config/organization-config.mutation.d.ts +6 -0
  121. package/build/mutations/organization-settings/index.d.ts +1 -0
  122. package/build/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
  123. package/build/mutations/organizations/index.d.ts +1 -0
  124. package/build/mutations/organizations/organizations.mutation.d.ts +2 -0
  125. package/build/mutations/organizations/organizations.mutation.test.d.ts +1 -0
  126. package/build/mutations/payment-links/index.d.ts +1 -0
  127. package/build/mutations/payment-links/payment-links.mutation.d.ts +21 -0
  128. package/build/mutations/payment-links/payment-links.mutation.test.d.ts +1 -0
  129. package/build/mutations/payments/index.d.ts +1 -0
  130. package/build/mutations/payments/payments.mutation.d.ts +21 -0
  131. package/build/mutations/payments/payments.mutation.test.d.ts +1 -0
  132. package/build/mutations/reconciliations/index.d.ts +2 -0
  133. package/build/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +5 -0
  134. package/build/mutations/reconciliations/reconciliations-alerts.mutation.test.d.ts +1 -0
  135. package/build/mutations/reconciliations/reconciliations.mutation.d.ts +4 -0
  136. package/build/mutations/reports/index.d.ts +1 -0
  137. package/build/mutations/reports/reports.mutation.d.ts +10 -0
  138. package/build/mutations/reports/reports.mutation.test.d.ts +1 -0
  139. package/build/mutations/routing-monitors/index.d.ts +1 -0
  140. package/build/mutations/routing-monitors/routing-monitors.mutation.d.ts +4 -0
  141. package/build/mutations/saml-config/index.d.ts +1 -0
  142. package/build/mutations/saml-config/saml-config.query.d.ts +4 -0
  143. package/build/mutations/saml-config/saml-config.query.test.d.ts +1 -0
  144. package/build/mutations/scheduled-reports/index.d.ts +1 -0
  145. package/build/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +8 -0
  146. package/build/mutations/security/index.d.ts +1 -0
  147. package/build/mutations/security/security.mutation.d.ts +7 -0
  148. package/build/mutations/security/security.mutation.test.d.ts +1 -0
  149. package/build/mutations/settings/index.d.ts +1 -0
  150. package/build/mutations/settings/settings.mutation.d.ts +17 -0
  151. package/build/mutations/settings/settings.mutation.test.d.ts +1 -0
  152. package/build/mutations/smart-routing/index.d.ts +1 -0
  153. package/build/mutations/smart-routing/smart-routing.mutation.d.ts +90 -0
  154. package/build/mutations/smart-routing/smart-routing.mutation.test.d.ts +1 -0
  155. package/build/mutations/subscriptions/index.d.ts +1 -0
  156. package/build/mutations/subscriptions/subscriptions.mutation.d.ts +19 -0
  157. package/build/mutations/subscriptions/subscriptions.mutation.test.d.ts +1 -0
  158. package/build/mutations/team/index.d.ts +1 -0
  159. package/build/mutations/team/team.mutaion.test.d.ts +1 -0
  160. package/build/mutations/team/team.mutation.d.ts +12 -0
  161. package/build/mutations/template-reporting/index.d.ts +1 -0
  162. package/build/mutations/template-reporting/template-reporting.mutation.d.ts +29 -0
  163. package/build/mutations/template-reporting/template-reporting.mutation.test.d.ts +1 -0
  164. package/build/mutations/users/index.d.ts +1 -0
  165. package/build/mutations/users/users.mutation.d.ts +17 -0
  166. package/build/mutations/users/users.mutation.test.d.ts +1 -0
  167. package/build/mutations/velocity-rules/index.d.ts +1 -0
  168. package/build/mutations/velocity-rules/velocity-rules.mutation.d.ts +5 -0
  169. package/build/queries/accounts/accounts.query.d.ts +30 -0
  170. package/build/queries/accounts/accounts.query.test.d.ts +1 -0
  171. package/build/queries/accounts/index.d.ts +2 -0
  172. package/build/queries/accounts/types.d.ts +21 -0
  173. package/build/queries/api-logs/api-logs-v3.query.d.ts +9 -0
  174. package/build/queries/api-logs/api-logs-v3.query.test.d.ts +1 -0
  175. package/build/queries/api-logs/index.d.ts +1 -0
  176. package/build/queries/audit/audit.query.d.ts +28 -0
  177. package/build/queries/audit/audit.query.test.d.ts +1 -0
  178. package/build/queries/audit/index.d.ts +1 -0
  179. package/build/queries/batch-refunds/batch-refunds.query.d.ts +3 -0
  180. package/build/queries/batch-refunds/index.d.ts +1 -0
  181. package/build/queries/chartgpt/chartgpt.query.d.ts +65 -0
  182. package/build/queries/chartgpt/chartgpt.query.test.d.ts +1 -0
  183. package/build/queries/chartgpt/index.d.ts +1 -0
  184. package/build/queries/checkouts/checkouts.query.d.ts +12 -0
  185. package/build/queries/checkouts/checkouts.query.test.d.ts +1 -0
  186. package/build/queries/checkouts/index.d.ts +2 -0
  187. package/build/queries/checkouts/styling/styling.query.d.ts +11 -0
  188. package/build/queries/checkouts/styling/styling.query.test.d.ts +1 -0
  189. package/build/queries/cms/cms.query.d.ts +14 -0
  190. package/build/queries/cms/cms.query.test.d.ts +1 -0
  191. package/build/queries/cms/index.d.ts +1 -0
  192. package/build/queries/connections/connections.query.d.ts +3 -0
  193. package/build/queries/connections/connections.query.test.d.ts +1 -0
  194. package/build/queries/connections/index.d.ts +1 -0
  195. package/build/queries/data-report/data-report.query.d.ts +20 -0
  196. package/build/queries/data-report/data-report.query.test.d.ts +1 -0
  197. package/build/queries/data-report/fraud/fraud.query.d.ts +17 -0
  198. package/build/queries/data-report/fraud/fraud.query.test.d.ts +1 -0
  199. package/build/queries/data-report/index.d.ts +2 -0
  200. package/build/queries/developers/developers.query.d.ts +16 -0
  201. package/build/queries/developers/developers.query.test.d.ts +1 -0
  202. package/build/queries/developers/index.d.ts +1 -0
  203. package/build/queries/dialogs/dialogs.query.d.ts +2 -0
  204. package/build/queries/dialogs/dialogs.query.test.d.ts +1 -0
  205. package/build/queries/dialogs/index.d.ts +1 -0
  206. package/build/queries/feature-flags/feature-flags.test.d.ts +1 -0
  207. package/build/queries/feature-flags/index.d.ts +8 -0
  208. package/build/queries/firebase/firebase.query.d.ts +8 -0
  209. package/build/queries/firebase/firebase.query.test.d.ts +1 -0
  210. package/build/queries/firebase/index.d.ts +1 -0
  211. package/build/queries/fraud-screening/fraud-screening.query.d.ts +11 -0
  212. package/build/queries/fraud-screening/fraud-screening.query.test.d.ts +1 -0
  213. package/build/queries/fraud-screening/index.d.ts +1 -0
  214. package/build/queries/index.d.ts +39 -0
  215. package/build/queries/installments/index.d.ts +1 -0
  216. package/build/queries/installments/installments.query.d.ts +4 -0
  217. package/build/queries/installments/installments.query.test.d.ts +1 -0
  218. package/build/queries/mfa/index.d.ts +1 -0
  219. package/build/queries/mfa/organization-settings.query.d.ts +11 -0
  220. package/build/queries/network-tokens/index.d.ts +1 -0
  221. package/build/queries/network-tokens/network-tokens.query.d.ts +4 -0
  222. package/build/queries/notifications/index.d.ts +1 -0
  223. package/build/queries/notifications/notifications.query.d.ts +12 -0
  224. package/build/queries/notifications/notifications.query.test.d.ts +1 -0
  225. package/build/queries/onboarding/index.d.ts +1 -0
  226. package/build/queries/onboarding/onboarding.query.d.ts +7 -0
  227. package/build/queries/onboarding/onboarding.query.test.d.ts +1 -0
  228. package/build/queries/organization-config/index.d.ts +1 -0
  229. package/build/queries/organization-config/organization-config.query.d.ts +4 -0
  230. package/build/queries/organizations/index.d.ts +1 -0
  231. package/build/queries/organizations/organizations.query.d.ts +30 -0
  232. package/build/queries/organizations/organizations.query.test.d.ts +1 -0
  233. package/build/queries/payment-links/index.d.ts +1 -0
  234. package/build/queries/payment-links/payment-links.query.d.ts +7 -0
  235. package/build/queries/payment-links/payment-links.query.test.d.ts +1 -0
  236. package/build/queries/payments/index.d.ts +2 -0
  237. package/build/queries/payments/payments.query.d.ts +36 -0
  238. package/build/queries/payments/payments.query.test.d.ts +1 -0
  239. package/build/queries/payments/payouts-timeline.query.test.d.ts +1 -0
  240. package/build/queries/payments/payouts.query.d.ts +7 -0
  241. package/build/queries/payments/payouts.query.test.d.ts +1 -0
  242. package/build/queries/recipients/index.d.ts +1 -0
  243. package/build/queries/recipients/recipients.query.d.ts +8 -0
  244. package/build/queries/reconciliations/index.d.ts +7 -0
  245. package/build/queries/reconciliations/reconciliation-insights.query.d.ts +26 -0
  246. package/build/queries/reconciliations/reconciliation-insights.query.test.d.ts +1 -0
  247. package/build/queries/reconciliations/reconciliations-advancements.query.d.ts +9 -0
  248. package/build/queries/reconciliations/reconciliations-advancements.query.test.d.ts +1 -0
  249. package/build/queries/reconciliations/reconciliations-agenda.query.d.ts +9 -0
  250. package/build/queries/reconciliations/reconciliations-agenda.query.test.d.ts +1 -0
  251. package/build/queries/reconciliations/reconciliations-alerts.query.d.ts +8 -0
  252. package/build/queries/reconciliations/reconciliations-alerts.query.test.d.ts +1 -0
  253. package/build/queries/reconciliations/reconciliations-fees.query.d.ts +9 -0
  254. package/build/queries/reconciliations/reconciliations-fees.query.test.d.ts +1 -0
  255. package/build/queries/reconciliations/reconciliations-sales.query.d.ts +9 -0
  256. package/build/queries/reconciliations/reconciliations-sales.query.test.d.ts +1 -0
  257. package/build/queries/reconciliations/reconciliations.query.d.ts +11 -0
  258. package/build/queries/reconciliations/reconciliations.query.test.d.ts +1 -0
  259. package/build/queries/reports/index.d.ts +1 -0
  260. package/build/queries/reports/reports.query.d.ts +13 -0
  261. package/build/queries/reports/reports.query.test.d.ts +1 -0
  262. package/build/queries/routing-monitors/index.d.ts +1 -0
  263. package/build/queries/routing-monitors/routing-monitors.query.d.ts +4 -0
  264. package/build/queries/saml-config/index.d.ts +1 -0
  265. package/build/queries/saml-config/saml-config.query.d.ts +4 -0
  266. package/build/queries/saml-config/saml-config.query.test.d.ts +1 -0
  267. package/build/queries/security/index.d.ts +1 -0
  268. package/build/queries/security/security.query.d.ts +8 -0
  269. package/build/queries/security/security.query.test.d.ts +1 -0
  270. package/build/queries/smart-recovery/index.d.ts +1 -0
  271. package/build/queries/smart-recovery/smart-recovery-overview.query.d.ts +9 -0
  272. package/build/queries/smart-recovery/smart-recovery-overview.query.test.d.ts +1 -0
  273. package/build/queries/smart-routing/index.d.ts +1 -0
  274. package/build/queries/smart-routing/smart-routing.query.d.ts +28 -0
  275. package/build/queries/smart-routing/smart-routing.query.test.d.ts +1 -0
  276. package/build/queries/subscriptions/index.d.ts +1 -0
  277. package/build/queries/subscriptions/subscriptions.query.d.ts +3 -0
  278. package/build/queries/subscriptions/subscriptions.query.test.d.ts +1 -0
  279. package/build/queries/team/index.d.ts +1 -0
  280. package/build/queries/team/team.query.d.ts +28 -0
  281. package/build/queries/team/team.query.test.d.ts +1 -0
  282. package/build/queries/template-reporting/index.d.ts +1 -0
  283. package/build/queries/template-reporting/template-reporting.query.d.ts +7 -0
  284. package/build/queries/template-reporting/template-reporting.query.test.d.ts +1 -0
  285. package/build/queries/translation/index.d.ts +1 -0
  286. package/build/queries/translation/translation.query.d.ts +5 -0
  287. package/build/queries/users/index.d.ts +1 -0
  288. package/build/queries/users/users.query.d.ts +25 -0
  289. package/build/queries/users/users.query.test.d.ts +1 -0
  290. package/build/queries/velocity-rules/index.d.ts +1 -0
  291. package/build/queries/velocity-rules/velocity-rules.query.d.ts +6 -0
  292. package/build/queries/webhooks/index.d.ts +1 -0
  293. package/build/queries/webhooks/webhook-timeline.query.d.ts +9 -0
  294. package/build/queries/webhooks/webhook-timeline.query.test.d.ts +1 -0
  295. package/build/set-public-path.d.ts +1 -0
  296. package/build/store/index.d.ts +3 -0
  297. package/build/types/accounts/accounts.d.ts +11 -0
  298. package/build/types/accounts/index.d.ts +1 -0
  299. package/build/types/ai/ai.d.ts +78 -0
  300. package/build/types/ai/index.d.ts +1 -0
  301. package/build/types/allowed-list/allowed-list.d.ts +9 -0
  302. package/build/types/allowed-list/index.d.ts +1 -0
  303. package/build/types/audit/audit.d.ts +387 -0
  304. package/build/types/audit/index.d.ts +1 -0
  305. package/build/types/batch-refunds/batch-refunds.d.ts +38 -0
  306. package/build/types/batch-refunds/index.d.ts +1 -0
  307. package/build/types/chartgpt/feedback.types.d.ts +34 -0
  308. package/build/types/chartgpt/index.d.ts +1 -0
  309. package/build/types/checkout/checkout.d.ts +289 -0
  310. package/build/types/checkout/index.d.ts +1 -0
  311. package/build/types/checkout/styling/styling.d.ts +176 -0
  312. package/build/types/cms/cms.d.ts +47 -0
  313. package/build/types/cms/index.d.ts +1 -0
  314. package/build/types/connection/connection.d.ts +81 -0
  315. package/build/types/connection/costs.d.ts +26 -0
  316. package/build/types/connection/index.d.ts +2 -0
  317. package/build/types/country/country.d.ts +12 -0
  318. package/build/types/country/index.d.ts +1 -0
  319. package/build/types/customized-api-keys/customized-api-keys.d.ts +30 -0
  320. package/build/types/customized-api-keys/index.d.ts +1 -0
  321. package/build/types/data-report/conversion-rate.types.d.ts +48 -0
  322. package/build/types/data-report/data-report.d.ts +66 -0
  323. package/build/types/data-report/fraud.types.d.ts +166 -0
  324. package/build/types/data-report/index.d.ts +3 -0
  325. package/build/types/developer/developer.d.ts +13 -0
  326. package/build/types/developer/index.d.ts +1 -0
  327. package/build/types/feature-flags/intex.d.ts +13 -0
  328. package/build/types/fraud-screening/fraud-screening.d.ts +109 -0
  329. package/build/types/fraud-screening/index.d.ts +1 -0
  330. package/build/types/index.d.ts +37 -0
  331. package/build/types/installments/index.d.ts +1 -0
  332. package/build/types/installments/installments.d.ts +125 -0
  333. package/build/types/mfa/index.d.ts +1 -0
  334. package/build/types/mfa/mfa.d.ts +6 -0
  335. package/build/types/notifications/index.d.ts +1 -0
  336. package/build/types/notifications/notifications.d.ts +39 -0
  337. package/build/types/onboarding/index.d.ts +1 -0
  338. package/build/types/onboarding/onboarding.d.ts +7 -0
  339. package/build/types/operation-transaction/index.d.ts +1 -0
  340. package/build/types/operation-transaction/operation-transaction.d.ts +28 -0
  341. package/build/types/organization/index.d.ts +1 -0
  342. package/build/types/organization/organization.d.ts +137 -0
  343. package/build/types/organization-config/index.d.ts +1 -0
  344. package/build/types/organization-config/organization-config.d.ts +34 -0
  345. package/build/types/organization-settings/index.d.ts +1 -0
  346. package/build/types/organization-settings/organization-settings.d.ts +27 -0
  347. package/build/types/payment/index.d.ts +1 -0
  348. package/build/types/payment/payment.d.ts +581 -0
  349. package/build/types/payment-links/index.d.ts +1 -0
  350. package/build/types/payment-links/payment-links.d.ts +16 -0
  351. package/build/types/payouts/index.d.ts +1 -0
  352. package/build/types/payouts/payouts.d.ts +125 -0
  353. package/build/types/recipients/index.d.ts +2 -0
  354. package/build/types/recipients/recipients.d.ts +223 -0
  355. package/build/types/reconciliation/index.d.ts +7 -0
  356. package/build/types/reconciliation/reconciliation-advancements.d.ts +40 -0
  357. package/build/types/reconciliation/reconciliation-agenda.d.ts +84 -0
  358. package/build/types/reconciliation/reconciliation-alerts.d.ts +38 -0
  359. package/build/types/reconciliation/reconciliation-fees.d.ts +45 -0
  360. package/build/types/reconciliation/reconciliation-insights.d.ts +188 -0
  361. package/build/types/reconciliation/reconciliation-sales.d.ts +56 -0
  362. package/build/types/reconciliation/reconciliation.d.ts +349 -0
  363. package/build/types/reports/index.d.ts +1 -0
  364. package/build/types/reports/reports.d.ts +154 -0
  365. package/build/types/routing-monitors/index.d.ts +1 -0
  366. package/build/types/routing-monitors/routing-monitors.d.ts +35 -0
  367. package/build/types/s3-client/index.d.ts +1 -0
  368. package/build/types/s3-client/s3-client.d.ts +19 -0
  369. package/build/types/saml-config/index.d.ts +1 -0
  370. package/build/types/saml-config/saml-config.d.ts +28 -0
  371. package/build/types/smart-recovery/index.d.ts +1 -0
  372. package/build/types/smart-recovery/smart-recovery-overview.types.d.ts +94 -0
  373. package/build/types/smart-routing/index.d.ts +1 -0
  374. package/build/types/smart-routing/smart-routing.d.ts +362 -0
  375. package/build/types/subscriptions/index.d.ts +1 -0
  376. package/build/types/subscriptions/subscriptions.d.ts +68 -0
  377. package/build/types/team/index.d.ts +1 -0
  378. package/build/types/team/team.d.ts +122 -0
  379. package/build/types/template-reporting/common.types.d.ts +65 -0
  380. package/build/types/template-reporting/index.d.ts +55 -0
  381. package/build/types/template-reporting/schedule.types.d.ts +72 -0
  382. package/build/types/template-reporting/template.types.d.ts +98 -0
  383. package/build/types/translation/index.d.ts +1 -0
  384. package/build/types/translation/translation.d.ts +8 -0
  385. package/build/types/user/index.d.ts +1 -0
  386. package/build/types/user/user.d.ts +208 -0
  387. package/build/types/velocity-rules/index.d.ts +1 -0
  388. package/build/types/velocity-rules/velocity-rules.d.ts +15 -0
  389. package/build/types/webhook/index.d.ts +1 -0
  390. package/build/types/webhook/webhook.d.ts +73 -0
  391. package/build/utils/enums.d.ts +162 -0
  392. package/build/utils/handler-error.d.ts +6 -0
  393. package/build/utils/index.d.ts +3 -0
  394. package/build/utils/test-utils.d.ts +4 -0
  395. package/build/utils/use-account-code.d.ts +1 -0
  396. package/build/utils/use-account-code.test.d.ts +1 -0
  397. package/build/utils/use-is-testing.d.ts +3 -0
  398. package/build/utils/use-is-testing.test.d.ts +1 -0
  399. package/build/utils/use-localstorage.d.ts +2 -0
  400. package/build/websockets/index.d.ts +1 -0
  401. package/build/websockets/use-chart-assistant-socket.d.ts +17 -0
  402. package/build/websockets/use-chart-assistant-socket.test.d.ts +1 -0
  403. package/build/yuno-dashboard-api-mfe.d.ts +9 -0
  404. package/package.json +1 -1
  405. package/build/cjs/types/mutations/concierge/concierge.mutation.d.ts +0 -8
  406. package/build/cjs/types/mutations/concierge/index.d.ts +0 -1
  407. package/build/cjs/types/mutations/settings/use-table-onboarding.d.ts +0 -6
  408. package/build/cjs/types/queries/audit/audit-v3.query.d.ts +0 -9
  409. package/build/cjs/types/queries/concierge/concierge.query.d.ts +0 -6
  410. package/build/cjs/types/queries/concierge/index.d.ts +0 -1
  411. package/build/cjs/types/types/concierge/concierge-alerts.d.ts +0 -42
  412. package/build/cjs/types/types/concierge/index.d.ts +0 -1
  413. package/build/esm/types/msw/handlers/recipients.d.ts +0 -1
  414. package/build/esm/types/msw/mocks/recipients/recipients.mock.d.ts +0 -775
  415. package/build/esm/types/mutations/concierge/concierge.mutation.d.ts +0 -8
  416. package/build/esm/types/mutations/concierge/index.d.ts +0 -1
  417. package/build/esm/types/mutations/recipients/index.d.ts +0 -1
  418. package/build/esm/types/mutations/recipients/recipients.mutation.d.ts +0 -11
  419. package/build/esm/types/mutations/settings/use-table-onboarding.d.ts +0 -6
  420. package/build/esm/types/queries/audit/audit-v3.query.d.ts +0 -9
  421. package/build/esm/types/queries/concierge/concierge.query.d.ts +0 -6
  422. package/build/esm/types/queries/concierge/index.d.ts +0 -1
  423. package/build/esm/types/types/concierge/concierge-alerts.d.ts +0 -42
  424. package/build/esm/types/types/concierge/index.d.ts +0 -1
  425. package/build/esm/types/types/recipients/recipients-mutations.d.ts +0 -136
  426. package/build/main.31b800bdfc7bcf66.hot-update.js +0 -23
  427. package/build/main.31b800bdfc7bcf66.hot-update.js.map +0 -1
  428. package/build/main.31b800bdfc7bcf66.hot-update.json +0 -1
  429. package/build/main.31ef41183a0357fd.hot-update.js +0 -23
  430. package/build/main.31ef41183a0357fd.hot-update.js.map +0 -1
  431. package/build/main.31ef41183a0357fd.hot-update.json +0 -1
  432. package/build/main.5231ec959bfdd54a.hot-update.js +0 -823
  433. package/build/main.5231ec959bfdd54a.hot-update.js.map +0 -1
  434. package/build/main.5231ec959bfdd54a.hot-update.json +0 -1
  435. package/build/main.60642e2056d40cbc.hot-update.js +0 -23
  436. package/build/main.60642e2056d40cbc.hot-update.js.map +0 -1
  437. package/build/main.60642e2056d40cbc.hot-update.json +0 -1
  438. package/build/main.7734f96d14c3c07a.hot-update.js +0 -10
  439. package/build/main.7734f96d14c3c07a.hot-update.js.map +0 -1
  440. package/build/main.7734f96d14c3c07a.hot-update.json +0 -1
  441. package/build/main.9a70cae7efc29065.hot-update.js +0 -39
  442. package/build/main.9a70cae7efc29065.hot-update.js.map +0 -1
  443. package/build/main.9a70cae7efc29065.hot-update.json +0 -1
  444. package/build/main.9c87c39ff7873bca.hot-update.js +0 -10
  445. package/build/main.9c87c39ff7873bca.hot-update.js.map +0 -1
  446. package/build/main.9c87c39ff7873bca.hot-update.json +0 -1
  447. package/build/main.a0a0faaf03061b21.hot-update.js +0 -23
  448. package/build/main.a0a0faaf03061b21.hot-update.js.map +0 -1
  449. package/build/main.a0a0faaf03061b21.hot-update.json +0 -1
  450. package/build/main.d62d5a57d5bc6614.hot-update.js +0 -4236
  451. package/build/main.d62d5a57d5bc6614.hot-update.js.map +0 -1
  452. package/build/main.d62d5a57d5bc6614.hot-update.json +0 -1
  453. package/build/main.ecc2159bd4dc7d54.hot-update.js +0 -23
  454. package/build/main.ecc2159bd4dc7d54.hot-update.js.map +0 -1
  455. package/build/main.ecc2159bd4dc7d54.hot-update.json +0 -1
  456. package/build/yuno-dashboard-api-mfe.js +0 -57105
  457. package/build/yuno-dashboard-api-mfe.js.map +0 -1
  458. /package/build/{esm/types/set-public-path.d.ts → api/api.test.d.ts} +0 -0
  459. /package/build/{cjs/types/set-public-path.d.ts → api-provider.test.d.ts} +0 -0
  460. /package/build/{cjs/types/msw → msw}/handlers/recipients.d.ts +0 -0
  461. /package/build/{cjs/types/msw → msw}/mocks/recipients/recipients.mock.d.ts +0 -0
  462. /package/build/{cjs/types/mutations → mutations}/recipients/index.d.ts +0 -0
  463. /package/build/{cjs/types/mutations → mutations}/recipients/recipients.mutation.d.ts +0 -0
  464. /package/build/{cjs/types/types → types}/recipients/recipients-mutations.d.ts +0 -0
@@ -0,0 +1,38 @@
1
+ export declare namespace BatchRefunds {
2
+ interface UploadRequest {
3
+ file_url: string;
4
+ file_format: string;
5
+ file_name: string;
6
+ }
7
+ interface PayloadV2 {
8
+ base64_data: string | ArrayBuffer;
9
+ name_file: string;
10
+ ext_file: string;
11
+ days: number;
12
+ }
13
+ interface ListBatchRefundsResponse {
14
+ name: string;
15
+ items: unknown[];
16
+ is_last_page: boolean;
17
+ }
18
+ interface ListBatchRefunds {
19
+ batch_id: string;
20
+ status: string;
21
+ generated_file_url: string;
22
+ created_at: string;
23
+ file_name: string;
24
+ user_email: string;
25
+ total_records: number;
26
+ valid_records: number;
27
+ invalid_records: number;
28
+ }
29
+ interface BatchRefundByFile {
30
+ file_name: string;
31
+ }
32
+ interface BatchRefundByFileResponse {
33
+ download_file_url: string;
34
+ }
35
+ interface BatchRefundUserFileResponse {
36
+ uploaded_file_url: string;
37
+ }
38
+ }
@@ -0,0 +1 @@
1
+ export * from './batch-refunds';
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Types for chart feedback feature
3
+ */
4
+ export type FeedbackRating = 'THUMBS_UP' | 'THUMBS_DOWN';
5
+ export type FeedbackIssueType = 'CHART_NOT_EXPECTED' | 'TIME_RANGE_INCORRECT' | 'DATA_INACCURATE' | 'NOT_ANSWERING_QUESTION' | 'EXPECTED_INSIGHTS' | 'OTHER';
6
+ /**
7
+ * Issue type with display label for UI rendering
8
+ */
9
+ export interface FeedbackIssueOption {
10
+ value: FeedbackIssueType;
11
+ labelKey: string;
12
+ }
13
+ /**
14
+ * All available feedback issue options
15
+ */
16
+ export declare const FEEDBACK_ISSUE_OPTIONS: FeedbackIssueOption[];
17
+ export interface ChartFeedbackRequest {
18
+ rating: FeedbackRating;
19
+ issues?: FeedbackIssueType[];
20
+ comment?: string;
21
+ }
22
+ export interface ChartFeedbackResponse {
23
+ success: boolean;
24
+ message: string;
25
+ feedbackCode?: string;
26
+ }
27
+ export interface ChartFeedbackData {
28
+ code: string;
29
+ chartCode: string;
30
+ rating: FeedbackRating;
31
+ issues: FeedbackIssueType[];
32
+ comment?: string;
33
+ createdAt: string;
34
+ }
@@ -0,0 +1 @@
1
+ export * from './feedback.types';
@@ -0,0 +1,289 @@
1
+ export declare namespace Checkout {
2
+ export interface PaymentMethodsPayload {
3
+ payment_method_type: string;
4
+ is_active: boolean;
5
+ is_archive?: boolean;
6
+ }
7
+ export interface PaymentMethods {
8
+ payment_method_type: string;
9
+ name: string;
10
+ description: string;
11
+ is_active: boolean;
12
+ is_archive: boolean;
13
+ icon: string;
14
+ created_at: Date;
15
+ updated_at: Date;
16
+ deleted_at?: Date;
17
+ category: string;
18
+ hint?: string;
19
+ short_name: string;
20
+ order_to_show: number;
21
+ type: string;
22
+ has_enrollment: boolean;
23
+ conditions_quantity: number;
24
+ active_enrollment_type: string;
25
+ }
26
+ export interface CheckoutList {
27
+ account_code: string;
28
+ code: string;
29
+ name: string;
30
+ description: string;
31
+ is_active: boolean;
32
+ is_archive: boolean;
33
+ organization_code: string;
34
+ root: boolean;
35
+ created_at: Date;
36
+ updated_at: Date;
37
+ deleted_at?: Date;
38
+ payment_methods: PaymentMethods[];
39
+ feature_flags?: {
40
+ custom_required_fields?: boolean;
41
+ custom_logo_icon?: boolean;
42
+ };
43
+ general_settings: GeneralSettings;
44
+ }
45
+ export interface GeneralSettings {
46
+ country_documents: {
47
+ country_code: string;
48
+ documents: string[];
49
+ }[] | null;
50
+ }
51
+ export interface GetNameAndIconArgs {
52
+ paymentMethodType: string;
53
+ type: string;
54
+ }
55
+ export interface GetNameAndIconResponse {
56
+ is_active: boolean;
57
+ icon: string | null;
58
+ name: string | null;
59
+ description: string | null;
60
+ default: {
61
+ icon: string | null;
62
+ name: string | null;
63
+ description: string | null;
64
+ };
65
+ }
66
+ export interface GetRequiredFieldsArgs {
67
+ paymentMethodType: string;
68
+ type: string;
69
+ }
70
+ interface Provider {
71
+ provider_id: string;
72
+ icon: string;
73
+ }
74
+ interface RequiredField {
75
+ field_name: string;
76
+ providers: Provider[];
77
+ is_active: boolean;
78
+ current_value?: string;
79
+ options?: string[];
80
+ conditions_to_override?: {
81
+ name: string;
82
+ order: number;
83
+ payment_method_data: {
84
+ name: string | null;
85
+ description: string | null;
86
+ logo: string | null;
87
+ };
88
+ conditions: {
89
+ id: number;
90
+ payment_method_condition_set_id: number;
91
+ condition_type: string;
92
+ values: string[];
93
+ conditional: string;
94
+ metadata_key: string | null;
95
+ additional_field_name: string | null;
96
+ complex_name: string | null;
97
+ complex_index: number | null;
98
+ created_at: string;
99
+ updated_at: string;
100
+ }[];
101
+ }[];
102
+ }
103
+ export interface GetRequiredFieldsResponse {
104
+ payment_method: string;
105
+ is_active: boolean;
106
+ required_fields: RequiredField[];
107
+ }
108
+ export interface CheckoutTemplateResponse {
109
+ account_code: string;
110
+ organization_code: string;
111
+ template: {
112
+ branding: {
113
+ primary: string;
114
+ };
115
+ payment_form: {
116
+ field: {
117
+ name: {
118
+ display: string;
119
+ font_size: number;
120
+ font_color: string;
121
+ font_weight: string;
122
+ };
123
+ style: string;
124
+ font_size: number;
125
+ font_color: string;
126
+ font_weight: string;
127
+ background_color: string;
128
+ placeholder_color: string;
129
+ };
130
+ button: {
131
+ style: string;
132
+ font_size: number;
133
+ font_color: string;
134
+ font_weight: string;
135
+ background_color: string;
136
+ };
137
+ selector: {
138
+ style: string;
139
+ thickness: number;
140
+ border_color: string;
141
+ background_color: string;
142
+ };
143
+ settings: {
144
+ font_size: number;
145
+ font_color: string;
146
+ font_weight: string;
147
+ background_color: string;
148
+ };
149
+ container: {
150
+ edge_color: string;
151
+ fill_color: string;
152
+ edge_radius: number;
153
+ edge_weight: number;
154
+ outside_color: string;
155
+ };
156
+ };
157
+ checkout_font: {
158
+ font_family: string;
159
+ };
160
+ shopping_cart: {
161
+ font_color: string;
162
+ description: {
163
+ font_color: string;
164
+ };
165
+ information: {
166
+ background_color: string;
167
+ };
168
+ background_color: string;
169
+ };
170
+ };
171
+ created_at: string;
172
+ updated_at: string;
173
+ }
174
+ export interface IconNameOverride {
175
+ is_active: boolean;
176
+ name: string | null;
177
+ icon: string | null;
178
+ description: string | null;
179
+ }
180
+ export interface RequiredFieldOverride {
181
+ current_value: string | null;
182
+ field_name: string;
183
+ is_active: boolean;
184
+ }
185
+ export interface RequiredFieldsOverride {
186
+ is_active: boolean | null;
187
+ fields: RequiredFieldOverride[];
188
+ enrollment_fields: RequiredFieldOverride[];
189
+ is_enrollment_active: boolean | null;
190
+ }
191
+ export interface ConditionEntry {
192
+ icon: string | null;
193
+ condition_type: string;
194
+ conditional: string;
195
+ values: string[];
196
+ id: string | null;
197
+ condition_set_id: string | null;
198
+ additional_field_name: string | null;
199
+ time_period_start_time: string | null;
200
+ metadata_key: string | null;
201
+ time_period_end_time: string | null;
202
+ time_period_repeat_amount: string | null;
203
+ time_period_repeat_frequency: string | null;
204
+ time_period_repetition_days: string | null;
205
+ complex_index: number | null;
206
+ complex_name: string | null;
207
+ detail: {
208
+ operators: string[] | null;
209
+ payment_method: string | null;
210
+ value_source: string | null;
211
+ };
212
+ }
213
+ export interface ConditionSet {
214
+ name: string;
215
+ order: number;
216
+ payment_method_data: {
217
+ name: string | null;
218
+ description: string | null;
219
+ logo: string | null;
220
+ };
221
+ conditions: ConditionEntry[];
222
+ }
223
+ export interface BasePaymentMethodEntry {
224
+ is_active: boolean;
225
+ payment_method_type: string;
226
+ order_to_show: number;
227
+ active_enrollment_type?: string;
228
+ type: string;
229
+ icon_name_to_override?: IconNameOverride;
230
+ required_fields_to_override?: RequiredFieldsOverride;
231
+ conditions_to_override?: ConditionSet[];
232
+ }
233
+ export interface UpdateIsActiveCheckoutParams {
234
+ accountCode?: string;
235
+ checkoutCode: string;
236
+ paymentMethods: BasePaymentMethodEntry[];
237
+ general_settings?: GeneralSettings;
238
+ }
239
+ export interface DocumentType {
240
+ country: string;
241
+ code: string;
242
+ description: string;
243
+ regex: string;
244
+ mask: string;
245
+ display_code: string;
246
+ display_description: string;
247
+ function?: string;
248
+ }
249
+ export type GetCountryDataResponse = {
250
+ country_name: string;
251
+ country_code: string;
252
+ icon: string;
253
+ icon_url: string;
254
+ document_types: DocumentType[];
255
+ }[];
256
+ export type GetPaymentMethodAccountsArgs = {
257
+ paymentMethod: string;
258
+ organizationCode: string;
259
+ };
260
+ export type PaymentMethodAccountProvider = {
261
+ provider_id: string;
262
+ icon: string;
263
+ };
264
+ export type PaymentMethodAccount = {
265
+ id: string;
266
+ name: string;
267
+ enabled: boolean;
268
+ providers: PaymentMethodAccountProvider[] | null;
269
+ };
270
+ export type GetPaymentMethodAccountsResponse = {
271
+ accounts: PaymentMethodAccount[];
272
+ };
273
+ export interface CopyToAccount {
274
+ account_code: string;
275
+ is_active: boolean;
276
+ }
277
+ export interface PublishCheckoutParams {
278
+ accountCode?: string;
279
+ checkoutCode: string;
280
+ paymentMethods: (Omit<BasePaymentMethodEntry, 'conditions_to_override'> & {
281
+ copy_to_accounts?: CopyToAccount[];
282
+ conditions_to_override?: (ConditionSet & {
283
+ is_active?: boolean;
284
+ })[];
285
+ })[];
286
+ general_settings?: GeneralSettings;
287
+ }
288
+ export {};
289
+ }
@@ -0,0 +1 @@
1
+ export * from './checkout';
@@ -0,0 +1,176 @@
1
+ export declare namespace Styling {
2
+ type Mode = 'default';
3
+ interface Spacing {
4
+ top: number;
5
+ right: number;
6
+ bottom: number;
7
+ left: number;
8
+ }
9
+ interface BorderRadius {
10
+ top_left: number;
11
+ top_right: number;
12
+ bottom_right: number;
13
+ bottom_left: number;
14
+ }
15
+ interface Decorator {
16
+ hover: StyleProps;
17
+ disabled: StyleProps;
18
+ focused: StyleProps;
19
+ error: StyleProps;
20
+ }
21
+ type StyleProps = {
22
+ color: string;
23
+ font_family: string;
24
+ font_size: number;
25
+ font_weight: string | number;
26
+ line_height: number;
27
+ padding: Spacing;
28
+ margin: Spacing;
29
+ background_color: string;
30
+ border_radius: BorderRadius;
31
+ decorator: Decorator;
32
+ text_align: string;
33
+ width: number;
34
+ height: number;
35
+ weight: number;
36
+ border_color: string;
37
+ border_style: string;
38
+ border_width: number;
39
+ };
40
+ type Style = {
41
+ props: StyleProps;
42
+ ref: string;
43
+ };
44
+ type Variables = {
45
+ color_primary: string;
46
+ background_color: string;
47
+ };
48
+ interface Section {
49
+ mode: Mode;
50
+ variables?: Variables;
51
+ styles: Style[];
52
+ }
53
+ interface Sections {
54
+ general: Section;
55
+ pm_list: Section;
56
+ apm: Section;
57
+ card_one_step: Section;
58
+ card_step_by_step: Section;
59
+ }
60
+ export interface Theme {
61
+ account_code: string;
62
+ sections: Sections;
63
+ }
64
+ export interface Settings {
65
+ sdk_dynamic: boolean;
66
+ }
67
+ export {};
68
+ }
69
+ export interface PaymentLinkStyles {
70
+ panel?: {
71
+ left?: {
72
+ logo?: string | null;
73
+ background?: {
74
+ color?: string;
75
+ };
76
+ };
77
+ };
78
+ checkbox?: {
79
+ color?: string;
80
+ };
81
+ border?: {
82
+ color?: string;
83
+ };
84
+ radio_button?: {
85
+ color?: string;
86
+ };
87
+ button?: {
88
+ text?: {
89
+ color?: string;
90
+ };
91
+ background?: {
92
+ color?: string;
93
+ hover?: {
94
+ color?: string;
95
+ };
96
+ };
97
+ };
98
+ }
99
+ export declare namespace StylingSettings {
100
+ interface UpdateSettings {
101
+ styles: {
102
+ global?: {
103
+ accent_color?: string;
104
+ primary_background_color?: string;
105
+ primary_text_color?: string;
106
+ primary_button_text_color?: string;
107
+ secondary_background_color?: string;
108
+ secondary_text_color?: string;
109
+ secondary_button_background_color?: string;
110
+ secondary_button_text_color?: string;
111
+ font_family?: string;
112
+ };
113
+ header?: {
114
+ logo_border_size?: number;
115
+ logo_border_color?: string;
116
+ logo_corner_radius?: number;
117
+ font_size?: number;
118
+ font_weight?: number;
119
+ };
120
+ button?: {
121
+ corner_radius?: number;
122
+ border_size?: number;
123
+ primary_border_color?: string;
124
+ secondary_border_color?: string;
125
+ font_size?: number;
126
+ font_weight?: number;
127
+ };
128
+ };
129
+ settings: {
130
+ sdk_type?: {
131
+ web?: 'SEAMLESS' | 'FULL';
132
+ mobile?: 'SEAMLESS' | 'FULL';
133
+ };
134
+ card?: {
135
+ enable_ocr?: boolean;
136
+ save_on_success?: boolean;
137
+ visualization_mode?: VisualizationMode;
138
+ credit_card_only_processing?: boolean;
139
+ };
140
+ web_sdk?: {
141
+ hide_pay_button?: boolean;
142
+ render_mode?: RenderMode;
143
+ };
144
+ payment_method_list?: {
145
+ unfolded_display?: boolean;
146
+ preselected_payment_method?: boolean;
147
+ condensed_checkout_view?: boolean;
148
+ edit_payment_method_list?: boolean;
149
+ };
150
+ ui?: {
151
+ dark_mode?: boolean;
152
+ };
153
+ };
154
+ flags?: {
155
+ force_default_styles?: boolean;
156
+ };
157
+ payment_link_styles?: PaymentLinkStyles;
158
+ }
159
+ interface UpdateSettingsResponse extends UpdateSettings {
160
+ external_fonts: {
161
+ family_name: string;
162
+ files: {
163
+ url: string;
164
+ weight: number;
165
+ }[];
166
+ }[];
167
+ }
168
+ }
169
+ export declare enum RenderMode {
170
+ MODAL = "MODAL",
171
+ RENDER = "RENDER"
172
+ }
173
+ export declare enum VisualizationMode {
174
+ ONE_STEP = "ONE_STEP",
175
+ STEP_BY_STEP = "STEP_BY_STEP"
176
+ }
@@ -0,0 +1,47 @@
1
+ export declare namespace Cms {
2
+ enum Locale {
3
+ EN = "en",
4
+ ES = "es",
5
+ PT = "pt"
6
+ }
7
+ enum Target {
8
+ BLANK = "_blank",
9
+ PARENT = "_parent",
10
+ SELF = "_self",
11
+ TOP = "_top"
12
+ }
13
+ interface Content<T> {
14
+ id: 1;
15
+ attributes: T;
16
+ }
17
+ interface BaseItem {
18
+ createdAt: string;
19
+ updatedAt: string;
20
+ publishedAt: string;
21
+ locale: Locale;
22
+ }
23
+ interface MenuItem extends BaseItem {
24
+ text: string;
25
+ pathname?: string;
26
+ position: number;
27
+ icon?: string;
28
+ type?: 'SUB_HEADER';
29
+ target?: Target;
30
+ permission: string;
31
+ }
32
+ type Menu = GroupByLocale<MenuItem>;
33
+ type GroupByLocale<T> = {
34
+ [key in Locale]: T;
35
+ };
36
+ type StatusStyle = {
37
+ status: string;
38
+ sub_status?: string;
39
+ icon: string;
40
+ type: string;
41
+ label: string;
42
+ };
43
+ type Language = {
44
+ code: string;
45
+ name: string;
46
+ };
47
+ }
@@ -0,0 +1 @@
1
+ export * from './cms';
@@ -0,0 +1,81 @@
1
+ import { Cost } from './costs';
2
+ export declare namespace Connection {
3
+ interface Connection {
4
+ id: string;
5
+ icon: string;
6
+ more_info_url: string;
7
+ name: string;
8
+ category: string;
9
+ location_coverage: string[];
10
+ description: string;
11
+ active: boolean;
12
+ future?: boolean;
13
+ created_at: string;
14
+ updated_at: string;
15
+ }
16
+ interface ConnectionPayloadParams {
17
+ param_id: string;
18
+ value: string;
19
+ }
20
+ interface ConnectionPayload {
21
+ provider_id: string;
22
+ country: string;
23
+ name: string;
24
+ params: ConnectionPayloadParams[];
25
+ costs?: Cost[];
26
+ accounts?: string[];
27
+ }
28
+ interface ConnectionMultiaccountResponse {
29
+ accounts: string[];
30
+ provider_id: string;
31
+ name: string;
32
+ payment_method_type: string;
33
+ withdrawal_method_type: string;
34
+ country: string;
35
+ params: Params[];
36
+ }
37
+ interface Params {
38
+ param_id: string;
39
+ value: string;
40
+ }
41
+ type PostDefaultRoutes = {
42
+ payload: {
43
+ provider_id: string;
44
+ connections: [integration_code: string, account_code: string];
45
+ };
46
+ };
47
+ type PostDefaultRoutesResponse = {
48
+ default_routes_created: [
49
+ {
50
+ account_code: string;
51
+ workflow_version_code: string;
52
+ }
53
+ ];
54
+ };
55
+ interface NetworkTokensOnboardingMerchantData {
56
+ network_token: NetworkTokensOnboardingData | null;
57
+ account_codes: string[];
58
+ }
59
+ interface NetworkTokensOnboardingData {
60
+ name: string | null;
61
+ legal_name: string | null;
62
+ website: string | null;
63
+ identification_type: string | null;
64
+ identification_number: string | null;
65
+ address_line_1: string | null;
66
+ address_line_2: string | null;
67
+ city: string | null;
68
+ state: string | null;
69
+ country: string | null;
70
+ zip_code: string | null;
71
+ phone: string | null;
72
+ contact_first_name: string | null;
73
+ contact_last_name: string | null;
74
+ contact_email: string | null;
75
+ merchant_category_code: string | null;
76
+ country_code: string | null;
77
+ }
78
+ interface NetworkTokensOnboardingMerchantRequest extends NetworkTokensOnboardingData {
79
+ account_codes: string[];
80
+ }
81
+ }
@@ -0,0 +1,26 @@
1
+ export interface Condition {
2
+ condition_name: string;
3
+ condition_type: string;
4
+ condition_values: string[];
5
+ conditional: string;
6
+ }
7
+ export interface Cost {
8
+ cost_name: string;
9
+ sort_number: number;
10
+ cost_values: {
11
+ successful: {
12
+ percentage: number;
13
+ fixed_fee: number;
14
+ };
15
+ unsuccessful: {
16
+ percentage: number;
17
+ fixed_fee: number;
18
+ };
19
+ };
20
+ currency: string[];
21
+ conditions: Condition[];
22
+ }
23
+ export interface CostPayload {
24
+ costs: Cost[];
25
+ integration_code: string;
26
+ }
@@ -0,0 +1,2 @@
1
+ export * from './connection';
2
+ export * from './costs';