@qonto/embed-sdk 0.50.0 → 0.51.1

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 (726) hide show
  1. package/dist/cards/cards.d.ts.map +1 -1
  2. package/dist/common/analytics/amplitude-manager.d.ts +33 -0
  3. package/dist/common/analytics/amplitude-manager.d.ts.map +1 -0
  4. package/dist/common/analytics/analytics-tracker.d.ts +32 -0
  5. package/dist/common/analytics/analytics-tracker.d.ts.map +1 -0
  6. package/dist/common/analytics/analytics.constants.d.ts +23 -0
  7. package/dist/common/analytics/analytics.constants.d.ts.map +1 -0
  8. package/dist/common/analytics/index.d.ts +4 -0
  9. package/dist/common/analytics/index.d.ts.map +1 -0
  10. package/dist/common/initialize/initialize.d.ts.map +1 -1
  11. package/dist/common/initialize/initialize.validate.d.ts.map +1 -1
  12. package/dist/index.server.d.ts +5 -0
  13. package/dist/index.server.d.ts.map +1 -0
  14. package/dist/index.umd.js +21 -22
  15. package/dist/mocks/handlers.d.ts +3 -3
  16. package/dist/mocks/handlers.d.ts.map +1 -1
  17. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +1 -0
  18. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +1 -0
  19. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +1 -0
  20. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +1 -0
  21. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +1 -0
  22. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/config.js +1 -0
  23. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/constants.js +1 -0
  24. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js +1 -0
  25. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +1 -0
  26. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js +1 -0
  27. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js +1 -0
  28. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/lib-prefix.js +1 -0
  29. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js +1 -0
  30. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js +1 -0
  31. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js +1 -0
  32. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js +1 -0
  33. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js +1 -0
  34. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js +1 -0
  35. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +1 -0
  36. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +1 -0
  37. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/types.js +1 -0
  38. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js +1 -0
  39. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/version.js +1 -0
  40. package/dist/node_modules/.pnpm/@amplitude_analytics-connector@1.6.4/node_modules/@amplitude/analytics-connector/dist/analytics-connector.esm.js +1 -0
  41. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js +1 -0
  42. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js +1 -0
  43. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/config.js +1 -0
  44. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js +1 -0
  45. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/core-client.js +1 -0
  46. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js +1 -0
  47. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js +1 -0
  48. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/uncaught-sdk-errors.js +1 -0
  49. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js +1 -0
  50. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js +1 -0
  51. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/language.js +1 -0
  52. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/logger.js +1 -0
  53. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/network-observer.js +1 -0
  54. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js +1 -0
  55. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +1 -0
  56. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js +1 -0
  57. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js +1 -0
  58. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/query-params.js +1 -0
  59. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config-localstorage.js +1 -0
  60. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +1 -0
  61. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js +1 -0
  62. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/session.js +1 -0
  63. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js +1 -0
  64. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +1 -0
  65. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js +1 -0
  66. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js +1 -0
  67. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/timeline.js +1 -0
  68. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +1 -0
  69. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js +1 -0
  70. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js +1 -0
  71. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js +1 -0
  72. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js +1 -0
  73. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js +1 -0
  74. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js +1 -0
  75. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js +1 -0
  76. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js +1 -0
  77. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js +1 -0
  78. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/status.js +1 -0
  79. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js +1 -0
  80. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js +1 -0
  81. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js +1 -0
  82. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js +1 -0
  83. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -0
  84. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js +1 -0
  85. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js +1 -0
  86. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/sampling.js +1 -0
  87. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js +1 -0
  88. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js +1 -0
  89. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js +1 -0
  90. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js +1 -0
  91. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js +1 -0
  92. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js +1 -0
  93. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js +1 -0
  94. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-dead-click.js +1 -0
  95. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-rage-click.js +1 -0
  96. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +1 -0
  97. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +1 -0
  98. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +1 -0
  99. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +1 -0
  100. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +1 -0
  101. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js +1 -0
  102. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js +1 -0
  103. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -0
  104. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/actions.js +1 -0
  105. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/matchEventToFilter.js +1 -0
  106. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/triggers.js +1 -0
  107. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +1 -0
  108. package/dist/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.7.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/constants.js +1 -0
  109. package/dist/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.7.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +1 -0
  110. package/dist/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.7.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/track-network-event.js +1 -0
  111. package/dist/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.5.8/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +1 -0
  112. package/dist/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.6.5/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +1 -0
  113. package/dist/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.6.5/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/utils.js +1 -0
  114. package/dist/node_modules/.pnpm/@amplitude_plugin-web-vitals-browser@1.1.2/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/constants.js +1 -0
  115. package/dist/node_modules/.pnpm/@amplitude_plugin-web-vitals-browser@1.1.2/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js +1 -0
  116. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js +1 -1
  117. package/dist/node_modules/.pnpm/web-vitals@5.0.1/node_modules/web-vitals/dist/web-vitals.js +1 -0
  118. package/dist/node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js +1 -0
  119. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +2 -2
  120. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -1
  121. package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +46 -0
  122. package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -0
  123. package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts +2 -0
  124. package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts.map +1 -0
  125. package/dist/sepa-transfers/bulk-transfers/index.d.ts +26 -0
  126. package/dist/sepa-transfers/bulk-transfers/index.d.ts.map +1 -0
  127. package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +133 -0
  128. package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -0
  129. package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts +2 -0
  130. package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts.map +1 -0
  131. package/dist/sepa-transfers/bulk-transfers/server.d.ts +30 -0
  132. package/dist/sepa-transfers/bulk-transfers/server.d.ts.map +1 -0
  133. package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.api.d.ts → shared/bulk-transfers.api.d.ts} +3 -2
  134. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -0
  135. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.d.ts.map +1 -0
  136. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts +2 -0
  137. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts.map +1 -0
  138. package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.types.d.ts → shared/bulk-transfers.types.d.ts} +21 -2
  139. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -0
  140. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -0
  141. package/dist/sepa-transfers/client/sepa-transfers.client.d.ts +85 -0
  142. package/dist/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -0
  143. package/dist/sepa-transfers/client/sepa-transfers.client.test.d.ts +2 -0
  144. package/dist/sepa-transfers/client/sepa-transfers.client.test.d.ts.map +1 -0
  145. package/dist/sepa-transfers/index.d.ts +24 -18
  146. package/dist/sepa-transfers/index.d.ts.map +1 -1
  147. package/dist/sepa-transfers/index.server.d.ts +44 -0
  148. package/dist/sepa-transfers/index.server.d.ts.map +1 -0
  149. package/dist/sepa-transfers/sepa-transfers.d.ts +1 -1
  150. package/dist/sepa-transfers/sepa-transfers.d.ts.map +1 -1
  151. package/dist/sepa-transfers/server/sepa-transfers.server.d.ts +161 -0
  152. package/dist/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -0
  153. package/dist/sepa-transfers/server/sepa-transfers.server.test.d.ts +2 -0
  154. package/dist/sepa-transfers/server/sepa-transfers.server.test.d.ts.map +1 -0
  155. package/dist/sepa-transfers/{sepa-transfers.api.d.ts → shared/sepa-transfers.api.d.ts} +3 -2
  156. package/dist/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -0
  157. package/dist/sepa-transfers/{sepa-transfers.serializer.d.ts → shared/sepa-transfers.serializer.d.ts} +1 -1
  158. package/dist/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -0
  159. package/dist/sepa-transfers/shared/sepa-transfers.shared.test.d.ts +2 -0
  160. package/dist/sepa-transfers/shared/sepa-transfers.shared.test.d.ts.map +1 -0
  161. package/dist/sepa-transfers/{sepa-transfers.types.d.ts → shared/sepa-transfers.types.d.ts} +19 -0
  162. package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -0
  163. package/dist/sepa-transfers/{sepa-transfers.utils.d.ts → shared/sepa-transfers.utils.d.ts} +3 -3
  164. package/dist/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -0
  165. package/dist/sepa-transfers/{sepa-transfers.validate.d.ts → shared/sepa-transfers.validate.d.ts} +1 -1
  166. package/dist/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -0
  167. package/dist/server/auth-links/auth-links.api.d.ts +20 -0
  168. package/dist/server/auth-links/auth-links.api.d.ts.map +1 -0
  169. package/dist/server/auth-links/auth-links.d.ts +46 -0
  170. package/dist/server/auth-links/auth-links.d.ts.map +1 -0
  171. package/dist/server/auth-links/auth-links.public-api.d.ts +6 -0
  172. package/dist/server/auth-links/auth-links.public-api.d.ts.map +1 -0
  173. package/dist/server/auth-links/auth-links.test.d.ts +2 -0
  174. package/dist/server/auth-links/auth-links.test.d.ts.map +1 -0
  175. package/dist/server/auth-links/auth-links.types.d.ts +68 -0
  176. package/dist/server/auth-links/auth-links.types.d.ts.map +1 -0
  177. package/dist/server/auth-links/auth-links.validate.d.ts +6 -0
  178. package/dist/server/auth-links/auth-links.validate.d.ts.map +1 -0
  179. package/dist/server/auth-links/auth-links.validate.test.d.ts +2 -0
  180. package/dist/server/auth-links/auth-links.validate.test.d.ts.map +1 -0
  181. package/dist/server/auth-links/index.d.ts +25 -0
  182. package/dist/server/auth-links/index.d.ts.map +1 -0
  183. package/dist/server/beneficiaries/beneficiaries.api.d.ts +56 -0
  184. package/dist/server/beneficiaries/beneficiaries.api.d.ts.map +1 -0
  185. package/dist/server/beneficiaries/beneficiaries.d.ts +131 -0
  186. package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -0
  187. package/dist/server/beneficiaries/beneficiaries.public-api.d.ts +10 -0
  188. package/dist/server/beneficiaries/beneficiaries.public-api.d.ts.map +1 -0
  189. package/dist/server/beneficiaries/beneficiaries.serializer.d.ts +4 -0
  190. package/dist/server/beneficiaries/beneficiaries.serializer.d.ts.map +1 -0
  191. package/dist/server/beneficiaries/beneficiaries.test.d.ts +2 -0
  192. package/dist/server/beneficiaries/beneficiaries.test.d.ts.map +1 -0
  193. package/dist/server/beneficiaries/beneficiaries.types.d.ts +65 -0
  194. package/dist/server/beneficiaries/beneficiaries.types.d.ts.map +1 -0
  195. package/dist/server/beneficiaries/beneficiaries.validate.d.ts +6 -0
  196. package/dist/server/beneficiaries/beneficiaries.validate.d.ts.map +1 -0
  197. package/dist/server/beneficiaries/index.d.ts +22 -0
  198. package/dist/server/beneficiaries/index.d.ts.map +1 -0
  199. package/dist/server/cards/cards.api.d.ts +35 -0
  200. package/dist/server/cards/cards.api.d.ts.map +1 -0
  201. package/dist/server/cards/cards.d.ts +205 -0
  202. package/dist/server/cards/cards.d.ts.map +1 -0
  203. package/dist/server/cards/cards.helper.d.ts +17 -0
  204. package/dist/server/cards/cards.helper.d.ts.map +1 -0
  205. package/dist/server/cards/cards.public-api.d.ts +10 -0
  206. package/dist/server/cards/cards.public-api.d.ts.map +1 -0
  207. package/dist/server/cards/cards.serializer.d.ts +72 -0
  208. package/dist/server/cards/cards.serializer.d.ts.map +1 -0
  209. package/dist/server/cards/cards.test.d.ts +2 -0
  210. package/dist/server/cards/cards.test.d.ts.map +1 -0
  211. package/dist/server/cards/cards.types.d.ts +294 -0
  212. package/dist/server/cards/cards.types.d.ts.map +1 -0
  213. package/dist/server/cards/cards.validate.d.ts +16 -0
  214. package/dist/server/cards/cards.validate.d.ts.map +1 -0
  215. package/dist/server/cards/cards.validate.test.d.ts +2 -0
  216. package/dist/server/cards/cards.validate.test.d.ts.map +1 -0
  217. package/dist/server/cards/index.d.ts +23 -0
  218. package/dist/server/cards/index.d.ts.map +1 -0
  219. package/dist/server/common/analytics/amplitude-manager.d.ts +33 -0
  220. package/dist/server/common/analytics/amplitude-manager.d.ts.map +1 -0
  221. package/dist/server/common/analytics/analytics-tracker.d.ts +32 -0
  222. package/dist/server/common/analytics/analytics-tracker.d.ts.map +1 -0
  223. package/dist/server/common/analytics/analytics.constants.d.ts +23 -0
  224. package/dist/server/common/analytics/analytics.constants.d.ts.map +1 -0
  225. package/dist/server/common/analytics/index.d.ts +4 -0
  226. package/dist/server/common/analytics/index.d.ts.map +1 -0
  227. package/dist/server/common/api-pagination/api-pagination.d.ts +14 -0
  228. package/dist/server/common/api-pagination/api-pagination.d.ts.map +1 -0
  229. package/dist/server/common/api-pagination/api-pagination.test.d.ts +2 -0
  230. package/dist/server/common/api-pagination/api-pagination.test.d.ts.map +1 -0
  231. package/dist/server/common/api-pagination/api-pagination.types.d.ts +31 -0
  232. package/dist/server/common/api-pagination/api-pagination.types.d.ts.map +1 -0
  233. package/dist/server/common/auth/auth.d.ts +38 -0
  234. package/dist/server/common/auth/auth.d.ts.map +1 -0
  235. package/dist/server/common/auth/auth.test.d.ts +2 -0
  236. package/dist/server/common/auth/auth.test.d.ts.map +1 -0
  237. package/dist/server/common/auth/auth.validate.d.ts +2 -0
  238. package/dist/server/common/auth/auth.validate.d.ts.map +1 -0
  239. package/dist/server/common/auth/index.d.ts +3 -0
  240. package/dist/server/common/auth/index.d.ts.map +1 -0
  241. package/dist/server/common/codec/codec.d.ts +3 -0
  242. package/dist/server/common/codec/codec.d.ts.map +1 -0
  243. package/dist/server/common/codec/index.d.ts +2 -0
  244. package/dist/server/common/codec/index.d.ts.map +1 -0
  245. package/dist/server/common/common.public-api.d.ts +9 -0
  246. package/dist/server/common/common.public-api.d.ts.map +1 -0
  247. package/dist/server/common/common.test.d.ts +2 -0
  248. package/dist/server/common/common.test.d.ts.map +1 -0
  249. package/dist/server/common/common.types.d.ts +9 -0
  250. package/dist/server/common/common.types.d.ts.map +1 -0
  251. package/dist/server/common/common.utils.d.ts +12 -0
  252. package/dist/server/common/common.utils.d.ts.map +1 -0
  253. package/dist/server/common/constants.d.ts +201 -0
  254. package/dist/server/common/constants.d.ts.map +1 -0
  255. package/dist/server/common/environment/environment-manager.d.ts +58 -0
  256. package/dist/server/common/environment/environment-manager.d.ts.map +1 -0
  257. package/dist/server/common/environment/environment-manager.test.d.ts +2 -0
  258. package/dist/server/common/environment/environment-manager.test.d.ts.map +1 -0
  259. package/dist/server/common/index.d.ts +3 -0
  260. package/dist/server/common/index.d.ts.map +1 -0
  261. package/dist/server/common/initialize/index.d.ts +2 -0
  262. package/dist/server/common/initialize/index.d.ts.map +1 -0
  263. package/dist/server/common/initialize/initialize.d.ts +73 -0
  264. package/dist/server/common/initialize/initialize.d.ts.map +1 -0
  265. package/dist/server/common/initialize/initialize.test.d.ts +2 -0
  266. package/dist/server/common/initialize/initialize.test.d.ts.map +1 -0
  267. package/dist/server/common/initialize/initialize.types.d.ts +39 -0
  268. package/dist/server/common/initialize/initialize.types.d.ts.map +1 -0
  269. package/dist/server/common/initialize/initialize.validate.d.ts +9 -0
  270. package/dist/server/common/initialize/initialize.validate.d.ts.map +1 -0
  271. package/dist/server/common/locale/index.d.ts +2 -0
  272. package/dist/server/common/locale/index.d.ts.map +1 -0
  273. package/dist/server/common/locale/locale-manager.d.ts +13 -0
  274. package/dist/server/common/locale/locale-manager.d.ts.map +1 -0
  275. package/dist/server/common/locale/locale-manager.test.d.ts +2 -0
  276. package/dist/server/common/locale/locale-manager.test.d.ts.map +1 -0
  277. package/dist/server/common/locale/locale.types.d.ts +8 -0
  278. package/dist/server/common/locale/locale.types.d.ts.map +1 -0
  279. package/dist/server/common/locale/locale.validate.d.ts +3 -0
  280. package/dist/server/common/locale/locale.validate.d.ts.map +1 -0
  281. package/dist/server/common/logger/index.d.ts +2 -0
  282. package/dist/server/common/logger/index.d.ts.map +1 -0
  283. package/dist/server/common/logger/logger.d.ts +8 -0
  284. package/dist/server/common/logger/logger.d.ts.map +1 -0
  285. package/dist/server/common/logger/logger.test.d.ts +2 -0
  286. package/dist/server/common/logger/logger.test.d.ts.map +1 -0
  287. package/dist/server/common/network/network.d.ts +31 -0
  288. package/dist/server/common/network/network.d.ts.map +1 -0
  289. package/dist/server/common/network/network.test.d.ts +2 -0
  290. package/dist/server/common/network/network.test.d.ts.map +1 -0
  291. package/dist/server/common/network/network.types.d.ts +5 -0
  292. package/dist/server/common/network/network.types.d.ts.map +1 -0
  293. package/dist/server/common/operation-settings/operation-settings.d.ts +48 -0
  294. package/dist/server/common/operation-settings/operation-settings.d.ts.map +1 -0
  295. package/dist/server/common/operation-settings/operation-settings.types.d.ts +3 -0
  296. package/dist/server/common/operation-settings/operation-settings.types.d.ts.map +1 -0
  297. package/dist/server/common/runtime/runtime.validation.d.ts +3 -0
  298. package/dist/server/common/runtime/runtime.validation.d.ts.map +1 -0
  299. package/dist/server/common/runtime/runtime.validation.test.d.ts +2 -0
  300. package/dist/server/common/runtime/runtime.validation.test.d.ts.map +1 -0
  301. package/dist/server/common/sentry/index.d.ts +2 -0
  302. package/dist/server/common/sentry/index.d.ts.map +1 -0
  303. package/dist/server/common/sentry/sentry-manager.d.ts +36 -0
  304. package/dist/server/common/sentry/sentry-manager.d.ts.map +1 -0
  305. package/dist/server/customization/customization.constants.d.ts +2 -0
  306. package/dist/server/customization/customization.constants.d.ts.map +1 -0
  307. package/dist/server/customization/customization.d.ts +18 -0
  308. package/dist/server/customization/customization.d.ts.map +1 -0
  309. package/dist/server/customization/customization.test.d.ts +2 -0
  310. package/dist/server/customization/customization.test.d.ts.map +1 -0
  311. package/dist/server/customization/index.d.ts +2 -0
  312. package/dist/server/customization/index.d.ts.map +1 -0
  313. package/dist/server/errors/AuthenticationError.d.ts +11 -0
  314. package/dist/server/errors/AuthenticationError.d.ts.map +1 -0
  315. package/dist/server/errors/EmbedApiError.d.ts +16 -0
  316. package/dist/server/errors/EmbedApiError.d.ts.map +1 -0
  317. package/dist/server/errors/EmbedOperationError.d.ts +11 -0
  318. package/dist/server/errors/EmbedOperationError.d.ts.map +1 -0
  319. package/dist/server/errors/EmbedUIElementError.d.ts +11 -0
  320. package/dist/server/errors/EmbedUIElementError.d.ts.map +1 -0
  321. package/dist/server/errors/InvalidParametersError.d.ts +14 -0
  322. package/dist/server/errors/InvalidParametersError.d.ts.map +1 -0
  323. package/dist/server/errors/InvalidRuntimeError.d.ts +18 -0
  324. package/dist/server/errors/InvalidRuntimeError.d.ts.map +1 -0
  325. package/dist/server/errors/QontoEmbedSdkError.d.ts +8 -0
  326. package/dist/server/errors/QontoEmbedSdkError.d.ts.map +1 -0
  327. package/dist/server/iframe/embed-iframe.d.ts +23 -0
  328. package/dist/server/iframe/embed-iframe.d.ts.map +1 -0
  329. package/dist/server/iframe/iframe-manager.d.ts +17 -0
  330. package/dist/server/iframe/iframe-manager.d.ts.map +1 -0
  331. package/dist/server/iframe/iframe-manager.test.d.ts +2 -0
  332. package/dist/server/iframe/iframe-manager.test.d.ts.map +1 -0
  333. package/dist/server/iframe/iframe-message-builder.d.ts +8 -0
  334. package/dist/server/iframe/iframe-message-builder.d.ts.map +1 -0
  335. package/dist/server/iframe/iframe.test.d.ts +2 -0
  336. package/dist/server/iframe/iframe.test.d.ts.map +1 -0
  337. package/dist/server/iframe/iframe.types.d.ts +11 -0
  338. package/dist/server/iframe/iframe.types.d.ts.map +1 -0
  339. package/dist/server/index.d.ts +13 -0
  340. package/dist/server/index.d.ts.map +1 -0
  341. package/dist/server/index.server.d.ts +5 -0
  342. package/dist/server/index.server.d.ts.map +1 -0
  343. package/dist/server/index.server.umd.js +1 -0
  344. package/dist/server/mocks/handlers.d.ts +95 -0
  345. package/dist/server/mocks/handlers.d.ts.map +1 -0
  346. package/dist/server/mocks/node.d.ts +2 -0
  347. package/dist/server/mocks/node.d.ts.map +1 -0
  348. package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.js +1 -0
  349. package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js +1 -0
  350. package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
  351. package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js +1 -0
  352. package/dist/server/organizations/index.d.ts +13 -0
  353. package/dist/server/organizations/index.d.ts.map +1 -0
  354. package/dist/server/organizations/organizations.api.d.ts +23 -0
  355. package/dist/server/organizations/organizations.api.d.ts.map +1 -0
  356. package/dist/server/organizations/organizations.d.ts +29 -0
  357. package/dist/server/organizations/organizations.d.ts.map +1 -0
  358. package/dist/server/organizations/organizations.public-api.d.ts +5 -0
  359. package/dist/server/organizations/organizations.public-api.d.ts.map +1 -0
  360. package/dist/server/organizations/organizations.serializer.d.ts +4 -0
  361. package/dist/server/organizations/organizations.serializer.d.ts.map +1 -0
  362. package/dist/server/organizations/organizations.test.d.ts +2 -0
  363. package/dist/server/organizations/organizations.test.d.ts.map +1 -0
  364. package/dist/server/organizations/organizations.types.d.ts +106 -0
  365. package/dist/server/organizations/organizations.types.d.ts.map +1 -0
  366. package/dist/server/payment-links/index.d.ts +13 -0
  367. package/dist/server/payment-links/index.d.ts.map +1 -0
  368. package/dist/server/payment-links/payment-links.d.ts +58 -0
  369. package/dist/server/payment-links/payment-links.d.ts.map +1 -0
  370. package/dist/server/payment-links/payment-links.public-api.d.ts +5 -0
  371. package/dist/server/payment-links/payment-links.public-api.d.ts.map +1 -0
  372. package/dist/server/payment-links/payment-links.test.d.ts +2 -0
  373. package/dist/server/payment-links/payment-links.test.d.ts.map +1 -0
  374. package/dist/server/payment-links/payment-links.types.d.ts +29 -0
  375. package/dist/server/payment-links/payment-links.types.d.ts.map +1 -0
  376. package/dist/server/payment-links/validation/currency.validation.d.ts +2 -0
  377. package/dist/server/payment-links/validation/currency.validation.d.ts.map +1 -0
  378. package/dist/server/payment-links/validation/payment-links.validate.d.ts +8 -0
  379. package/dist/server/payment-links/validation/payment-links.validate.d.ts.map +1 -0
  380. package/dist/server/payment-links/validation/unit.validation.d.ts +2 -0
  381. package/dist/server/payment-links/validation/unit.validation.d.ts.map +1 -0
  382. package/dist/server/public-api.test.d.ts +2 -0
  383. package/dist/server/public-api.test.d.ts.map +1 -0
  384. package/dist/server/sca/sca.api.d.ts +16 -0
  385. package/dist/server/sca/sca.api.d.ts.map +1 -0
  386. package/dist/server/sca/sca.constants.d.ts +6 -0
  387. package/dist/server/sca/sca.constants.d.ts.map +1 -0
  388. package/dist/server/sca/sca.d.ts +4 -0
  389. package/dist/server/sca/sca.d.ts.map +1 -0
  390. package/dist/server/sca/sca.serializer.d.ts +10 -0
  391. package/dist/server/sca/sca.serializer.d.ts.map +1 -0
  392. package/dist/server/sca/sca.test.d.ts +2 -0
  393. package/dist/server/sca/sca.test.d.ts.map +1 -0
  394. package/dist/server/sca/sca.types.d.ts +39 -0
  395. package/dist/server/sca/sca.types.d.ts.map +1 -0
  396. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +67 -0
  397. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -0
  398. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts +21 -0
  399. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -0
  400. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.test.d.ts +2 -0
  401. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.test.d.ts.map +1 -0
  402. package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +46 -0
  403. package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -0
  404. package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts +2 -0
  405. package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts.map +1 -0
  406. package/dist/server/sepa-transfers/bulk-transfers/index.d.ts +26 -0
  407. package/dist/server/sepa-transfers/bulk-transfers/index.d.ts.map +1 -0
  408. package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +133 -0
  409. package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -0
  410. package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts +2 -0
  411. package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts.map +1 -0
  412. package/dist/server/sepa-transfers/bulk-transfers/server.d.ts +30 -0
  413. package/dist/server/sepa-transfers/bulk-transfers/server.d.ts.map +1 -0
  414. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts +45 -0
  415. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -0
  416. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.d.ts +5 -0
  417. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.d.ts.map +1 -0
  418. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts +2 -0
  419. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts.map +1 -0
  420. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +270 -0
  421. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -0
  422. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts +4 -0
  423. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -0
  424. package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts +85 -0
  425. package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -0
  426. package/dist/server/sepa-transfers/client/sepa-transfers.client.test.d.ts +2 -0
  427. package/dist/server/sepa-transfers/client/sepa-transfers.client.test.d.ts.map +1 -0
  428. package/dist/server/sepa-transfers/index.d.ts +43 -0
  429. package/dist/server/sepa-transfers/index.d.ts.map +1 -0
  430. package/dist/server/sepa-transfers/index.server.d.ts +44 -0
  431. package/dist/server/sepa-transfers/index.server.d.ts.map +1 -0
  432. package/dist/server/sepa-transfers/sepa-transfers.d.ts +170 -0
  433. package/dist/server/sepa-transfers/sepa-transfers.d.ts.map +1 -0
  434. package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts +20 -0
  435. package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts.map +1 -0
  436. package/dist/server/sepa-transfers/sepa-transfers.utils.test.d.ts +2 -0
  437. package/dist/server/sepa-transfers/sepa-transfers.utils.test.d.ts.map +1 -0
  438. package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts +161 -0
  439. package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -0
  440. package/dist/server/sepa-transfers/server/sepa-transfers.server.test.d.ts +2 -0
  441. package/dist/server/sepa-transfers/server/sepa-transfers.server.test.d.ts.map +1 -0
  442. package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts +101 -0
  443. package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -0
  444. package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts +7 -0
  445. package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -0
  446. package/dist/server/sepa-transfers/shared/sepa-transfers.shared.test.d.ts +2 -0
  447. package/dist/server/sepa-transfers/shared/sepa-transfers.shared.test.d.ts.map +1 -0
  448. package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts +272 -0
  449. package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -0
  450. package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts +26 -0
  451. package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -0
  452. package/dist/server/sepa-transfers/shared/sepa-transfers.validate.d.ts +7 -0
  453. package/dist/server/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -0
  454. package/dist/server/setup-test.d.ts +2 -0
  455. package/dist/server/setup-test.d.ts.map +1 -0
  456. package/dist/server/src/auth-links/auth-links.api.js +1 -0
  457. package/dist/server/src/auth-links/auth-links.js +1 -0
  458. package/dist/server/src/auth-links/auth-links.public-api.js +1 -0
  459. package/dist/server/src/auth-links/auth-links.validate.js +1 -0
  460. package/dist/server/src/auth-links/index.js +1 -0
  461. package/dist/server/src/beneficiaries/beneficiaries.api.js +1 -0
  462. package/dist/server/src/beneficiaries/beneficiaries.js +1 -0
  463. package/dist/server/src/beneficiaries/beneficiaries.serializer.js +1 -0
  464. package/dist/server/src/beneficiaries/beneficiaries.validate.js +1 -0
  465. package/dist/server/src/common/api-pagination/api-pagination.js +1 -0
  466. package/dist/server/src/common/auth/auth.js +1 -0
  467. package/dist/server/src/common/auth/auth.validate.js +1 -0
  468. package/dist/server/src/common/codec/codec.js +1 -0
  469. package/dist/server/src/common/common.utils.js +1 -0
  470. package/dist/server/src/common/constants.js +1 -0
  471. package/dist/server/src/common/environment/environment-manager.js +1 -0
  472. package/dist/server/src/common/locale/locale-manager.js +1 -0
  473. package/dist/server/src/common/network/network.js +1 -0
  474. package/dist/server/src/common/operation-settings/operation-settings.js +1 -0
  475. package/dist/server/src/common/runtime/runtime.validation.js +1 -0
  476. package/dist/server/src/errors/AuthenticationError.js +1 -0
  477. package/dist/server/src/errors/EmbedApiError.js +1 -0
  478. package/dist/server/src/errors/EmbedOperationError.js +1 -0
  479. package/dist/server/src/errors/InvalidParametersError.js +1 -0
  480. package/dist/server/src/errors/QontoEmbedSdkError.js +1 -0
  481. package/dist/server/src/index.server.js +1 -0
  482. package/dist/server/src/sepa-transfers/bulk-transfers/server/bulk-transfers.server.js +1 -0
  483. package/dist/server/src/sepa-transfers/bulk-transfers/server.js +1 -0
  484. package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -0
  485. package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -0
  486. package/dist/server/src/sepa-transfers/index.server.js +1 -0
  487. package/dist/server/src/sepa-transfers/server/sepa-transfers.server.js +1 -0
  488. package/dist/server/src/sepa-transfers/shared/sepa-transfers.api.js +1 -0
  489. package/dist/server/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -0
  490. package/dist/server/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -0
  491. package/dist/server/src/validation/input-param-validation.js +1 -0
  492. package/dist/server/src/validation/operation-settings-validation.js +1 -0
  493. package/dist/server/transactions/index.d.ts +47 -0
  494. package/dist/server/transactions/index.d.ts.map +1 -0
  495. package/dist/server/transactions/transactions.api.d.ts +23 -0
  496. package/dist/server/transactions/transactions.api.d.ts.map +1 -0
  497. package/dist/server/transactions/transactions.d.ts +56 -0
  498. package/dist/server/transactions/transactions.d.ts.map +1 -0
  499. package/dist/server/transactions/transactions.public-api.d.ts +8 -0
  500. package/dist/server/transactions/transactions.public-api.d.ts.map +1 -0
  501. package/dist/server/transactions/transactions.serializer.d.ts +11 -0
  502. package/dist/server/transactions/transactions.serializer.d.ts.map +1 -0
  503. package/dist/server/transactions/transactions.test.d.ts +2 -0
  504. package/dist/server/transactions/transactions.test.d.ts.map +1 -0
  505. package/dist/server/transactions/transactions.types.d.ts +249 -0
  506. package/dist/server/transactions/transactions.types.d.ts.map +1 -0
  507. package/dist/server/transactions/transactions.validation.d.ts +3 -0
  508. package/dist/server/transactions/transactions.validation.d.ts.map +1 -0
  509. package/dist/server/types/index.d.ts +3 -0
  510. package/dist/server/types/index.d.ts.map +1 -0
  511. package/dist/server/types/types.public-api.d.ts +11 -0
  512. package/dist/server/types/types.public-api.d.ts.map +1 -0
  513. package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.d.ts +46 -0
  514. package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.d.ts.map +1 -0
  515. package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.styles.d.ts +2 -0
  516. package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.styles.d.ts.map +1 -0
  517. package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.utils.d.ts +32 -0
  518. package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.utils.d.ts.map +1 -0
  519. package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.d.ts +18 -0
  520. package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.d.ts.map +1 -0
  521. package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.styles.d.ts +2 -0
  522. package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.styles.d.ts.map +1 -0
  523. package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts +14 -0
  524. package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts.map +1 -0
  525. package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.styles.d.ts +2 -0
  526. package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.styles.d.ts.map +1 -0
  527. package/dist/server/ui/customizable-components/button/qonto-button.d.ts +11 -0
  528. package/dist/server/ui/customizable-components/button/qonto-button.d.ts.map +1 -0
  529. package/dist/server/ui/customizable-components/button/qonto-button.styles.d.ts +2 -0
  530. package/dist/server/ui/customizable-components/button/qonto-button.styles.d.ts.map +1 -0
  531. package/dist/server/ui/customizable-components/customizable-components.constants.d.ts +2 -0
  532. package/dist/server/ui/customizable-components/customizable-components.constants.d.ts.map +1 -0
  533. package/dist/server/ui/customizable-components/icons/icon-checkmark-rounded-filled.d.ts +2 -0
  534. package/dist/server/ui/customizable-components/icons/icon-checkmark-rounded-filled.d.ts.map +1 -0
  535. package/dist/server/ui/customizable-components/icons/icon-clock-filled.d.ts +2 -0
  536. package/dist/server/ui/customizable-components/icons/icon-clock-filled.d.ts.map +1 -0
  537. package/dist/server/ui/customizable-components/icons/icon-declined.d.ts +2 -0
  538. package/dist/server/ui/customizable-components/icons/icon-declined.d.ts.map +1 -0
  539. package/dist/server/ui/customizable-components/icons/icon-error-filled.d.ts +2 -0
  540. package/dist/server/ui/customizable-components/icons/icon-error-filled.d.ts.map +1 -0
  541. package/dist/server/ui/customizable-components/icons/icon-in-progress.d.ts +2 -0
  542. package/dist/server/ui/customizable-components/icons/icon-in-progress.d.ts.map +1 -0
  543. package/dist/server/ui/customizable-components/icons/icon-warning.d.ts +2 -0
  544. package/dist/server/ui/customizable-components/icons/icon-warning.d.ts.map +1 -0
  545. package/dist/server/ui/customizable-components/lottie-player/index.d.ts +3 -0
  546. package/dist/server/ui/customizable-components/lottie-player/index.d.ts.map +1 -0
  547. package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.d.ts +17 -0
  548. package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.d.ts.map +1 -0
  549. package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.styles.d.ts +2 -0
  550. package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.styles.d.ts.map +1 -0
  551. package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.types.d.ts +6 -0
  552. package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.types.d.ts.map +1 -0
  553. package/dist/server/ui/customizable-components/select-field/index.d.ts +3 -0
  554. package/dist/server/ui/customizable-components/select-field/index.d.ts.map +1 -0
  555. package/dist/server/ui/customizable-components/select-field/qonto-option.d.ts +48 -0
  556. package/dist/server/ui/customizable-components/select-field/qonto-option.d.ts.map +1 -0
  557. package/dist/server/ui/customizable-components/select-field/qonto-select-field.d.ts +111 -0
  558. package/dist/server/ui/customizable-components/select-field/qonto-select-field.d.ts.map +1 -0
  559. package/dist/server/ui/customizable-components/select-field/qonto-select-field.styles.d.ts +2 -0
  560. package/dist/server/ui/customizable-components/select-field/qonto-select-field.styles.d.ts.map +1 -0
  561. package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.d.ts +11 -0
  562. package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.d.ts.map +1 -0
  563. package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.styles.d.ts +2 -0
  564. package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.styles.d.ts.map +1 -0
  565. package/dist/server/ui/customizable-components/text/qonto-text-body.d.ts +8 -0
  566. package/dist/server/ui/customizable-components/text/qonto-text-body.d.ts.map +1 -0
  567. package/dist/server/ui/customizable-components/text/qonto-text-body.styles.d.ts +2 -0
  568. package/dist/server/ui/customizable-components/text/qonto-text-body.styles.d.ts.map +1 -0
  569. package/dist/server/ui/customizable-components/text/qonto-text-heading.d.ts +8 -0
  570. package/dist/server/ui/customizable-components/text/qonto-text-heading.d.ts.map +1 -0
  571. package/dist/server/ui/customizable-components/text/qonto-text-heading.styles.d.ts +2 -0
  572. package/dist/server/ui/customizable-components/text/qonto-text-heading.styles.d.ts.map +1 -0
  573. package/dist/server/ui/customizable-components/text-field/index.d.ts +2 -0
  574. package/dist/server/ui/customizable-components/text-field/index.d.ts.map +1 -0
  575. package/dist/server/ui/customizable-components/text-field/qonto-text-field.d.ts +31 -0
  576. package/dist/server/ui/customizable-components/text-field/qonto-text-field.d.ts.map +1 -0
  577. package/dist/server/ui/customizable-components/text-field/qonto-text-field.styles.d.ts +2 -0
  578. package/dist/server/ui/customizable-components/text-field/qonto-text-field.styles.d.ts.map +1 -0
  579. package/dist/server/ui/customizable-components/utils/format-date.d.ts +61 -0
  580. package/dist/server/ui/customizable-components/utils/format-date.d.ts.map +1 -0
  581. package/dist/server/ui/customizable-components/utils/format-money.d.ts +39 -0
  582. package/dist/server/ui/customizable-components/utils/format-money.d.ts.map +1 -0
  583. package/dist/server/ui/customizable-components/utils/locales.d.ts +76 -0
  584. package/dist/server/ui/customizable-components/utils/locales.d.ts.map +1 -0
  585. package/dist/server/ui/customizable-components/utils/storybook-define-custom-props-from-css.d.ts +14 -0
  586. package/dist/server/ui/customizable-components/utils/storybook-define-custom-props-from-css.d.ts.map +1 -0
  587. package/dist/server/ui/index.d.ts +16 -0
  588. package/dist/server/ui/index.d.ts.map +1 -0
  589. package/dist/server/ui/ui-elements/localize/configure-localization.d.ts +6 -0
  590. package/dist/server/ui/ui-elements/localize/configure-localization.d.ts.map +1 -0
  591. package/dist/server/ui/ui-elements/localize/generated/locale-codes.d.ts +14 -0
  592. package/dist/server/ui/ui-elements/localize/generated/locale-codes.d.ts.map +1 -0
  593. package/dist/server/ui/ui-elements/localize/generated/locales/de.d.ts +52 -0
  594. package/dist/server/ui/ui-elements/localize/generated/locales/de.d.ts.map +1 -0
  595. package/dist/server/ui/ui-elements/localize/generated/locales/es.d.ts +52 -0
  596. package/dist/server/ui/ui-elements/localize/generated/locales/es.d.ts.map +1 -0
  597. package/dist/server/ui/ui-elements/localize/generated/locales/fr.d.ts +52 -0
  598. package/dist/server/ui/ui-elements/localize/generated/locales/fr.d.ts.map +1 -0
  599. package/dist/server/ui/ui-elements/localize/generated/locales/it.d.ts +52 -0
  600. package/dist/server/ui/ui-elements/localize/generated/locales/it.d.ts.map +1 -0
  601. package/dist/server/ui/ui-elements/localize/generated/locales/nl.d.ts +52 -0
  602. package/dist/server/ui/ui-elements/localize/generated/locales/nl.d.ts.map +1 -0
  603. package/dist/server/ui/ui-elements/localize/generated/locales/pt.d.ts +52 -0
  604. package/dist/server/ui/ui-elements/localize/generated/locales/pt.d.ts.map +1 -0
  605. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts +31 -0
  606. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts.map +1 -0
  607. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.styles.d.ts +2 -0
  608. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.styles.d.ts.map +1 -0
  609. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts +3 -0
  610. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts.map +1 -0
  611. package/dist/server/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts +13 -0
  612. package/dist/server/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map +1 -0
  613. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts +21 -0
  614. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts.map +1 -0
  615. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.d.ts +2 -0
  616. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.d.ts.map +1 -0
  617. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts +4 -0
  618. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts.map +1 -0
  619. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +20 -0
  620. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -0
  621. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +41 -0
  622. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -0
  623. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.d.ts +2 -0
  624. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.d.ts.map +1 -0
  625. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts +11 -0
  626. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts.map +1 -0
  627. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.styles.d.ts +2 -0
  628. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.styles.d.ts.map +1 -0
  629. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts +12 -0
  630. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts.map +1 -0
  631. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.d.ts +2 -0
  632. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.d.ts.map +1 -0
  633. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +25 -0
  634. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -0
  635. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.d.ts +2 -0
  636. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.d.ts.map +1 -0
  637. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts +2 -0
  638. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts.map +1 -0
  639. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts +53 -0
  640. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -0
  641. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +41 -0
  642. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -0
  643. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.styles.d.ts +2 -0
  644. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.styles.d.ts.map +1 -0
  645. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.utils.d.ts +7 -0
  646. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.utils.d.ts.map +1 -0
  647. package/dist/server/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts +13 -0
  648. package/dist/server/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts.map +1 -0
  649. package/dist/server/ui/ui-elements/transfer-list/transfer-list.d.ts +21 -0
  650. package/dist/server/ui/ui-elements/transfer-list/transfer-list.d.ts.map +1 -0
  651. package/dist/server/ui/ui-elements/transfer-list/transfer-list.events.d.ts +8 -0
  652. package/dist/server/ui/ui-elements/transfer-list/transfer-list.events.d.ts.map +1 -0
  653. package/dist/server/ui/ui-elements/transfer-list/transfer-list.styles.d.ts +2 -0
  654. package/dist/server/ui/ui-elements/transfer-list/transfer-list.styles.d.ts.map +1 -0
  655. package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts +7 -0
  656. package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts.map +1 -0
  657. package/dist/server/ui/ui-elements.constants.d.ts +5 -0
  658. package/dist/server/ui/ui-elements.constants.d.ts.map +1 -0
  659. package/dist/server/ui/ui-elements.d.ts +18 -0
  660. package/dist/server/ui/ui-elements.d.ts.map +1 -0
  661. package/dist/server/ui/ui-elements.public-api.d.ts +4 -0
  662. package/dist/server/ui/ui-elements.public-api.d.ts.map +1 -0
  663. package/dist/server/ui/ui-elements.types.d.ts +75 -0
  664. package/dist/server/ui/ui-elements.types.d.ts.map +1 -0
  665. package/dist/server/ui/ui-elements.validation.d.ts +5 -0
  666. package/dist/server/ui/ui-elements.validation.d.ts.map +1 -0
  667. package/dist/server/validation/index.d.ts +2 -0
  668. package/dist/server/validation/index.d.ts.map +1 -0
  669. package/dist/server/validation/input-param-validation.d.ts +43 -0
  670. package/dist/server/validation/input-param-validation.d.ts.map +1 -0
  671. package/dist/server/validation/operation-settings-validation.d.ts +275 -0
  672. package/dist/server/validation/operation-settings-validation.d.ts.map +1 -0
  673. package/dist/src/cards/cards.js +1 -1
  674. package/dist/src/common/analytics/amplitude-manager.js +1 -0
  675. package/dist/src/common/analytics/analytics-tracker.js +1 -0
  676. package/dist/src/common/analytics/analytics.constants.js +1 -0
  677. package/dist/src/common/initialize/initialize.js +1 -1
  678. package/dist/src/common/initialize/initialize.validate.js +1 -1
  679. package/dist/src/sepa-transfers/bulk-transfers/client/bulk-transfers.client.js +1 -0
  680. package/dist/src/sepa-transfers/bulk-transfers/index.js +1 -0
  681. package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -0
  682. package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.js +1 -0
  683. package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -0
  684. package/dist/src/sepa-transfers/client/sepa-transfers.client.js +1 -0
  685. package/dist/src/sepa-transfers/index.js +1 -1
  686. package/dist/src/sepa-transfers/sepa-transfers.js +1 -1
  687. package/dist/src/sepa-transfers/shared/sepa-transfers.api.js +1 -0
  688. package/dist/src/sepa-transfers/shared/sepa-transfers.serializer.js +1 -0
  689. package/dist/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -0
  690. package/dist/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -0
  691. package/dist/src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.js +7 -7
  692. package/dist/src/validation/operation-settings-validation.js +1 -1
  693. package/dist/types/types.public-api.d.ts +2 -2
  694. package/dist/types/types.public-api.d.ts.map +1 -1
  695. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +1 -1
  696. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  697. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +1 -1
  698. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  699. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -1
  700. package/dist/validation/operation-settings-validation.d.ts +152 -0
  701. package/dist/validation/operation-settings-validation.d.ts.map +1 -1
  702. package/package.json +18 -8
  703. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.api.d.ts.map +0 -1
  704. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.serializer.d.ts.map +0 -1
  705. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.test.d.ts +0 -2
  706. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.test.d.ts.map +0 -1
  707. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.types.d.ts.map +0 -1
  708. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.validate.d.ts.map +0 -1
  709. package/dist/sepa-transfers/sepa-transfers.api.d.ts.map +0 -1
  710. package/dist/sepa-transfers/sepa-transfers.serializer.d.ts.map +0 -1
  711. package/dist/sepa-transfers/sepa-transfers.test.d.ts +0 -2
  712. package/dist/sepa-transfers/sepa-transfers.test.d.ts.map +0 -1
  713. package/dist/sepa-transfers/sepa-transfers.types.d.ts.map +0 -1
  714. package/dist/sepa-transfers/sepa-transfers.utils.d.ts.map +0 -1
  715. package/dist/sepa-transfers/sepa-transfers.validate.d.ts.map +0 -1
  716. package/dist/src/sepa-transfers/bulk-transfers/bulk-transfers.api.js +0 -1
  717. package/dist/src/sepa-transfers/bulk-transfers/bulk-transfers.js +0 -1
  718. package/dist/src/sepa-transfers/bulk-transfers/bulk-transfers.validate.js +0 -1
  719. package/dist/src/sepa-transfers/sepa-transfers.api.js +0 -1
  720. package/dist/src/sepa-transfers/sepa-transfers.public-api.js +0 -1
  721. package/dist/src/sepa-transfers/sepa-transfers.utils.js +0 -1
  722. package/dist/src/sepa-transfers/sepa-transfers.validate.js +0 -1
  723. /package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.serializer.d.ts → shared/bulk-transfers.serializer.d.ts} +0 -0
  724. /package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.validate.d.ts → shared/bulk-transfers.validate.d.ts} +0 -0
  725. /package/dist/{src/sepa-transfers/bulk-transfers → server/src/sepa-transfers/bulk-transfers/shared}/bulk-transfers.serializer.js +0 -0
  726. /package/dist/{src/sepa-transfers → server/src/sepa-transfers/shared}/sepa-transfers.serializer.js +0 -0
@@ -0,0 +1,275 @@
1
+ import type { MfaMethod } from '@common/operation-settings/operation-settings.types';
2
+ import type { Locale } from '@common/locale/locale.types';
3
+ import type { PaginationSettings } from '@common/api-pagination/api-pagination.types';
4
+ import type { ProxyEndpointDescriptor, ProxyRequestFunction } from '@common/common.types.ts';
5
+ export type UIParentElementId = string | (() => HTMLElement);
6
+ /**
7
+ * Optional settings to configure the SDK's operations that will be performed
8
+ * after the initialization. This can be also provided when calling the
9
+ * operation functions themselves.
10
+ */
11
+ export interface OperationSettings {
12
+ /**
13
+ * The id of the element where the SDK UI for sensitive operations will be
14
+ * rendered.
15
+ */
16
+ uiParentElementId?: UIParentElementId;
17
+ /**
18
+ * The Multifactor Authentication (MFA) preference to use for the operations.
19
+ * This can be either `MFA_METHODS.PASSKEY`, `MFA_METHODS.PAIRED_DEVICE` or
20
+ * `MFA_METHODS.SMS_OTP`. If not provided, the SDK will default to 'PASSKEY'.
21
+ */
22
+ mfaPreference?: MfaMethod;
23
+ /**
24
+ * Whether to enable debug mode for the SDK. If not provided, the SDK will
25
+ * default to false.
26
+ * If debug mode is enabled, it will print extra logging to the console
27
+ * during the execution of the SDK functions in which an iframe is involved.
28
+ */
29
+ debugMode?: boolean;
30
+ /**
31
+ * Optional access token to use for the operation. If not provided, the
32
+ * SDK will use the access token set during initialization.
33
+ */
34
+ accessToken?: string;
35
+ /**
36
+ * Optional staging token to use for the operation. The staging token is only
37
+ * needed when working in the staging environment, and it is irrelevant and not
38
+ * needed in production. If not provided, the SDK will use the staging token
39
+ * set during initialization.
40
+ */
41
+ stagingToken?: string;
42
+ /**
43
+ * Optional idempotency key to use for the operation. If not provided, the
44
+ * SDK will generate a random key for the functions that require it.
45
+ */
46
+ idempotencyKey?: string;
47
+ /**
48
+ * Optional pagination settings to use for the operation. If the called function
49
+ * is not subject to pagination, this parameter will be ignored.
50
+ */
51
+ paginationSettings?: PaginationSettings;
52
+ /**
53
+ * `proxyRequestFunction` is a mechanism to avoid operating with sensitive
54
+ * information, like the access token and the staging token, in client side
55
+ * environments. Using them in client side could lead to data leak.It works as
56
+ * follows:
57
+ *
58
+ * Qonto Embed exposes a proxy endpoint in its API that is capable of getting
59
+ * requests prepared by the SDK. In your web application, you must implement a
60
+ * backend endpoint that receives a string value in the body,
61
+ * adds the access token in the `Authentication` header and calls the Qonto
62
+ * Embed proxy endpoint with the string payload you received. The `proxyRequestFunction`
63
+ * the SDK expects is a function in which you will implement the call to your
64
+ * backend endpoint. It receives a string parameter, it must perform a call to
65
+ * your endpoint and return the data the endpoint sends you back.
66
+ *
67
+ * The SDK will then decode the received data and return the appropriate return
68
+ * value to the called function. Read more about implementing the whole flow in
69
+ * [the Proxy Endpoint Implementation guide](https://docs.qonto.com/api-reference/embed-sdk-api/variables/overview-common).
70
+ */
71
+ proxyRequestFunction?: ProxyRequestFunction;
72
+ /**
73
+ * `proxyEndpointDescriptor` is a mechanism to avoid operating with sensitive
74
+ * information, like the access token and the staging token, in client side
75
+ * environments. Using them in client side could lead to data leak. It works as
76
+ * follows:
77
+ *
78
+ * Qonto Embed exposes a proxy endpoint in its API that is capable of getting
79
+ * requests prepared by the SDK. In your web application, you must implement a
80
+ * backend endpoint that receives a string value in the body,
81
+ * adds the access token in the `Authorization` header and calls the Qonto
82
+ * Embed proxy endpoint with the string payload you received. The `proxyEndpointDescriptor`
83
+ * the SDK expects is an object in which you will describe the call to your
84
+ * backend endpoint.
85
+ *
86
+ * When the SDK needs to perform an operation that involves a call to the Embed
87
+ * API which needs to include the access token, it will use the `proxyEndpointDescriptor`
88
+ * to call your backend endpoint.
89
+ *
90
+ * The `proxyEndpointDescriptor` must at least include:
91
+ * - `path`: A string representing the endpoint in your web app the SDK will call.
92
+ * - `method`: (optional) The HTTP method to use when calling your endpoint. Defaults to 'POST'.
93
+ * - `options.headers`: (optional) An object including a set of key value pairs
94
+ * which will be sent as headers to your web app's endpoint.
95
+ */
96
+ proxyEndpointDescriptor?: ProxyEndpointDescriptor;
97
+ /**
98
+ * The locale to use for the SDK. This is optional, and if not provided, it will
99
+ * default to English. Setting the locale will make the SDK render its UI in the
100
+ * specified language.
101
+ */
102
+ locale?: Locale;
103
+ }
104
+ export interface OperationSettingsValidationConfiguration {
105
+ /**
106
+ * Whether the operation, due ot its nature or because it is a sensitive operation, requires a UI parent
107
+ * element to be specified.
108
+ */
109
+ requiresUI?: boolean;
110
+ }
111
+ /**
112
+ * OperationSettings with mandatory uiParentElementId
113
+ */
114
+ export type OperationSettingsWithUI = OperationSettings & {
115
+ uiParentElementId: UIParentElementId;
116
+ };
117
+ /**
118
+ * Client-side operation settings that enforce proxy-based authentication.
119
+ * These settings are designed for browser environments where direct access
120
+ * to authentication tokens should be avoided for security reasons.
121
+ */
122
+ export interface ClientOperationSettings {
123
+ /**
124
+ * Required for client-side operations: either proxyRequestFunction or proxyEndpointDescriptor.
125
+ *
126
+ * `proxyRequestFunction` is a mechanism to avoid operating with sensitive
127
+ * information, like the access token and the staging token, in client side
128
+ * environments. Using them in client side could lead to data leak. It works as
129
+ * follows:
130
+ *
131
+ * Qonto Embed exposes a proxy endpoint in its API that is capable of getting
132
+ * requests prepared by the SDK. In your web application, you must implement a
133
+ * backend endpoint that receives a string value in the body,
134
+ * adds the access token in the `Authentication` header and calls the Qonto
135
+ * Embed proxy endpoint with the string payload you received. The `proxyRequestFunction`
136
+ * the SDK expects is a function in which you will implement the call to your
137
+ * backend endpoint. It receives a string parameter, it must perform a call to
138
+ * your endpoint and return the data the endpoint sends you back.
139
+ */
140
+ proxyRequestFunction?: ProxyRequestFunction;
141
+ /**
142
+ * `proxyEndpointDescriptor` is a mechanism to avoid operating with sensitive
143
+ * information, like the access token and the staging token, in client side
144
+ * environments. Using them in client side could lead to data leak. It works as
145
+ * follows:
146
+ *
147
+ * Qonto Embed exposes a proxy endpoint in its API that is capable of getting
148
+ * requests prepared by the SDK. In your web application, you must implement a
149
+ * backend endpoint that receives a string value in the body,
150
+ * adds the access token in the `Authorization` header and calls the Qonto
151
+ * Embed proxy endpoint with the string payload you received. The `proxyEndpointDescriptor`
152
+ * the SDK expects is an object in which you will describe the call to your
153
+ * backend endpoint.
154
+ */
155
+ proxyEndpointDescriptor?: ProxyEndpointDescriptor;
156
+ /**
157
+ * The id of the element where the SDK UI for sensitive operations will be
158
+ * rendered. Required for operations that involve UI components (e.g., SCA flows).
159
+ */
160
+ uiParentElementId?: UIParentElementId;
161
+ /**
162
+ * The Multifactor Authentication (MFA) preference to use for the operations.
163
+ * This can be either `MFA_METHODS.PASSKEY`, `MFA_METHODS.PAIRED_DEVICE` or
164
+ * `MFA_METHODS.SMS_OTP`. If not provided, the SDK will default to 'PASSKEY'.
165
+ */
166
+ mfaPreference?: MfaMethod;
167
+ /**
168
+ * Whether to enable debug mode for the SDK. If not provided, the SDK will
169
+ * default to false.
170
+ * If debug mode is enabled, it will print extra logging to the console
171
+ * during the execution of the SDK functions in which an iframe is involved.
172
+ */
173
+ debugMode?: boolean;
174
+ /**
175
+ * Optional idempotency key to use for the operation. If not provided, the
176
+ * SDK will generate a random key for the functions that require it.
177
+ */
178
+ idempotencyKey?: string;
179
+ /**
180
+ * Optional pagination settings to use for the operation. If the called function
181
+ * is not subject to pagination, this parameter will be ignored.
182
+ */
183
+ paginationSettings?: PaginationSettings;
184
+ /**
185
+ * The locale to use for the SDK. This is optional, and if not provided, it will
186
+ * default to English. Setting the locale will make the SDK render its UI in the
187
+ * specified language.
188
+ */
189
+ locale?: Locale;
190
+ /**
191
+ * Server-only properties are explicitly excluded from client settings.
192
+ * Use `@qonto/embed-sdk/{namespace}/server` for server-side operations.
193
+ */
194
+ accessToken?: never;
195
+ stagingToken?: never;
196
+ scaSessionToken?: never;
197
+ }
198
+ /**
199
+ * Client-side operation settings with mandatory UI parent element.
200
+ * Required for operations that always involve UI components.
201
+ */
202
+ export type ClientOperationSettingsWithUI = ClientOperationSettings & {
203
+ uiParentElementId: UIParentElementId;
204
+ };
205
+ /**
206
+ * Server-side operation settings that enforce token-based authentication.
207
+ * These settings are designed for server environments where access tokens
208
+ * can be safely managed.
209
+ */
210
+ export interface ServerOperationSettings {
211
+ /**
212
+ * Optional access token to use for the operation. If not provided, the
213
+ * SDK will use the access token set during initialization.
214
+ */
215
+ accessToken?: string;
216
+ /**
217
+ * Optional staging token to use for the operation. The staging token is only
218
+ * needed when working in the staging environment, and it is irrelevant and not
219
+ * needed in production. If not provided, the SDK will use the staging token
220
+ * set during initialization.
221
+ */
222
+ stagingToken?: string;
223
+ /**
224
+ * Optional idempotency key to use for the operation. If not provided, the
225
+ * SDK will generate a random key for the functions that require it.
226
+ */
227
+ idempotencyKey?: string;
228
+ /**
229
+ * Optional pagination settings to use for the operation. If the called function
230
+ * is not subject to pagination, this parameter will be ignored.
231
+ */
232
+ paginationSettings?: PaginationSettings;
233
+ /**
234
+ * Optional SCA session token for retry operations after SCA challenges.
235
+ * When a function returns a 428 error with a sca_session_token, include
236
+ * it here when calling the function again after completing the SCA flow.
237
+ */
238
+ scaSessionToken?: string;
239
+ /**
240
+ * Client-only properties are explicitly excluded from server settings.
241
+ * Use `@qonto/embed-sdk/{namespace}` for client-side operations.
242
+ */
243
+ proxyRequestFunction?: never;
244
+ proxyEndpointDescriptor?: never;
245
+ uiParentElementId?: never;
246
+ mfaPreference?: never;
247
+ debugMode?: never;
248
+ locale?: never;
249
+ }
250
+ export declare function validateOperationSettingsParams(params: OperationSettings | undefined, config: OperationSettingsValidationConfiguration & {
251
+ requiresUI: true;
252
+ }): OperationSettingsWithUI;
253
+ export declare function validateOperationSettingsParams(params: OperationSettings | undefined, config?: OperationSettingsValidationConfiguration & {
254
+ requiresUI?: false;
255
+ }): OperationSettings;
256
+ /**
257
+ * Validates client operation settings and ensures either proxyRequestFunction
258
+ * or proxyEndpointDescriptor is provided (either in params or from global settings).
259
+ *
260
+ * @param params - Client operation settings to validate
261
+ * @param errorMessage - Custom error message to throw if validation fails
262
+ * @returns Validated client operation settings with proxy configuration
263
+ * @throws InvalidParametersError if neither proxyRequestFunction nor proxyEndpointDescriptor is provided
264
+ *
265
+ * @example
266
+ * ```typescript
267
+ * const settings = validateClientOperationSettings(
268
+ * params?.operationSettings,
269
+ * 'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. ' +
270
+ * 'If you need to use accessToken, import from "@qonto/embed-sdk/{namespace}/server".'
271
+ * );
272
+ * ```
273
+ */
274
+ export declare function validateClientOperationSettings(params: ClientOperationSettings | undefined, errorMessage?: string): ClientOperationSettings;
275
+ //# sourceMappingURL=operation-settings-validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-settings-validation.d.ts","sourceRoot":"","sources":["../../../src/validation/operation-settings-validation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qDAAqD,CAAC;AAErF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,CAAC,MAAM,WAAW,CAAC,CAAC;AAE7D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IAEH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC;;;;;;;;;;;;;;;;;;OAkBG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wCAAwC;IACvD;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG;IACxD,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAE5C;;;;;;;;;;;;;OAaG;IACH,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAElD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAEtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GAAG,uBAAuB,GAAG;IACpE,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC;IAC7B,uBAAuB,CAAC,EAAE,KAAK,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AAMD,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,iBAAiB,GAAG,SAAS,EACrC,MAAM,EAAE,wCAAwC,GAAG;IAAE,UAAU,EAAE,IAAI,CAAA;CAAE,GACtE,uBAAuB,CAAC;AAC3B,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,iBAAiB,GAAG,SAAS,EACrC,MAAM,CAAC,EAAE,wCAAwC,GAAG;IAAE,UAAU,CAAC,EAAE,KAAK,CAAA;CAAE,GACzE,iBAAiB,CAAC;AA+ErB;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,uBAAuB,GAAG,SAAS,EAC3C,YAAY,CAAC,EAAE,MAAM,GACpB,uBAAuB,CAqBzB"}
@@ -1 +1 @@
1
- import{authManager as e}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{callProxyFunction as r}from"../common/common.utils.js";import{prepareGetCardIframeUrl as n,getCardIframeURL as a,prepareGetCardCall as o,getCard as s,prepareGetCardsCall as i,getCards as c}from"./cards.api.js";import"./cards.types.js";import{validateDisplayCardParams as d,validateUnlockCardParams as m,validateOrderCardParams as g,validateGetCardParams as u}from"./cards.validate.js";import{buildIframeUrl as p,createIframe as f}from"../iframe/iframe-manager.js";import{serializeUnlockCardPayload as l,serializeCard as k,serializeOrderCardPayload as y}from"./cards.serializer.js";import{validateOperationSettingsParams as T}from"../validation/operation-settings-validation.js";import{InvalidParametersError as I}from"../errors/InvalidParametersError.js";import{createEmbedUI as S}from"./cards.helper.js";async function h(e){try{const n=e?.cardSettings?.membershipId;if(n&&"string"!=typeof n)throw new I("membershipId must be a string");const{proxyRequestFunction:a,stagingToken:o}=T(e?.operationSettings||{});if(a){const e=i({membershipId:n,stagingToken:o});return(await r({proxyFunction:a,networkCallDescriptor:e})).body.cards.map((e=>k(e)))}{const r=e?.operationSettings?.accessToken||t();return(await c({membershipId:n,accessToken:r,stagingToken:o})).map((e=>k(e)))}}catch(e){return Promise.reject(e)}}async function b({cardSettings:e,operationSettings:n}){try{u(e);const a=e.cardId,{proxyRequestFunction:i,stagingToken:c}=T(n||{});if(i){const e=o({cardId:a,stagingToken:c}),t=(await r({proxyFunction:i,networkCallDescriptor:e})).body.cards;if(Array.isArray(t)&&t.length>0)return k(t[0]);throw new I("Unable to retrieve card data")}{const e=n?.accessToken||t(),r=await s({cardId:a,accessToken:e,stagingToken:c});return k(r)}}catch(e){return Promise.reject(e)}}async function w(r){try{const n=t(),{uiParentElementId:a,debugMode:o}=T(r.operationSettings,{requiresUI:!0});g(r.cardSettings);const s=p({accessToken:n,stagingToken:e.getStagingToken()||void 0,debugMode:o}),i=await f({iframeUrl:s,parentElementId:a}),c=y(r.cardSettings),d=await i.postMessage(c);return i.destroy(),k(d)}catch(e){return Promise.reject(e)}}async function j(r){try{const n=t(),{uiParentElementId:a,debugMode:o}=T(r.operationSettings,{requiresUI:!0});m(r.cardSettings);const s=p({accessToken:n,stagingToken:e.getStagingToken()||void 0,debugMode:o}),i=await f({iframeUrl:s,parentElementId:a}),c=l(r),d=await i.postMessage(c);return i.destroy(),k(d)}catch(e){return Promise.reject(e)}}async function P(e){try{const{uiParentElementId:o,accessToken:s,stagingToken:i,debugMode:c,mfaPreference:m,proxyRequestFunction:g}=T(e.operationSettings,{requiresUI:!0});if(d(e.cardSettings),g){const t=n({stagingToken:i}),a=(await r({proxyFunction:g,networkCallDescriptor:t})).body.embed_auth_link;return S({decorationParams:e.cardSettings,operationSettings:{uiParentElementId:o,debugMode:c},cardIframeUrl:a.url})}{const r=s||t(),n=await a({...e.cardSettings,accessToken:r,stagingToken:i});return S({decorationParams:e.cardSettings,operationSettings:{uiParentElementId:o,debugMode:c,mfaPreference:m},cardIframeUrl:n.url})}}catch(e){return Promise.reject(e)}}export{P as displayCard,b as getCard,h as getCards,w as orderCard,j as unlockCard};
1
+ import{authManager as e}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{callProxyFunction as r}from"../common/common.utils.js";import{tracker as n}from"../common/analytics/analytics-tracker.js";import{prepareGetCardIframeUrl as a,getCardIframeURL as o,prepareGetCardCall as s,getCard as i,prepareGetCardsCall as c,getCards as d}from"./cards.api.js";import"./cards.types.js";import{validateDisplayCardParams as m,validateUnlockCardParams as g,validateOrderCardParams as u,validateGetCardParams as p}from"./cards.validate.js";import{buildIframeUrl as l,createIframe as f}from"../iframe/iframe-manager.js";import{serializeUnlockCardPayload as y,serializeCard as k,serializeOrderCardPayload as T}from"./cards.serializer.js";import{validateOperationSettingsParams as I}from"../validation/operation-settings-validation.js";import{InvalidParametersError as S}from"../errors/InvalidParametersError.js";import{createEmbedUI as h}from"./cards.helper.js";async function b(e){try{const a=e?.cardSettings?.membershipId;if(a&&"string"!=typeof a)throw new S("membershipId must be a string");const{proxyRequestFunction:o,stagingToken:s}=I(e?.operationSettings||{});let i;if(o){const e=c({membershipId:a,stagingToken:s});i=(await r({proxyFunction:o,networkCallDescriptor:e})).body.cards.map((e=>k(e)))}else{const r=e?.operationSettings?.accessToken||t();i=(await d({membershipId:a,accessToken:r,stagingToken:s})).map((e=>k(e)))}return n.cardsList(),i}catch(e){return Promise.reject(e)}}async function j({cardSettings:e,operationSettings:n}){try{p(e);const a=e.cardId,{proxyRequestFunction:o,stagingToken:c}=I(n||{});if(o){const e=s({cardId:a,stagingToken:c}),t=(await r({proxyFunction:o,networkCallDescriptor:e})).body.cards;if(Array.isArray(t)&&t.length>0)return k(t[0]);throw new S("Unable to retrieve card data")}{const e=n?.accessToken||t(),r=await i({cardId:a,accessToken:e,stagingToken:c});return k(r)}}catch(e){return Promise.reject(e)}}async function w(r){try{const a=t(),{uiParentElementId:o,debugMode:s}=I(r.operationSettings,{requiresUI:!0});u(r.cardSettings);const i="virtual"===r.cardSettings.cardLevel,c=l({accessToken:a,stagingToken:e.getStagingToken()||void 0,debugMode:s}),d=await f({iframeUrl:c,parentElementId:o}),m=T(r.cardSettings),g=await d.postMessage(m);return d.destroy(),i?n.cardsOrderVirtual():n.cardsOrderPhysical(),k(g)}catch(e){return Promise.reject(e)}}async function P(r){try{const n=t(),{uiParentElementId:a,debugMode:o}=I(r.operationSettings,{requiresUI:!0});g(r.cardSettings);const s=l({accessToken:n,stagingToken:e.getStagingToken()||void 0,debugMode:o}),i=await f({iframeUrl:s,parentElementId:a}),c=y(r),d=await i.postMessage(c);return i.destroy(),k(d)}catch(e){return Promise.reject(e)}}async function v(e){try{const{uiParentElementId:n,accessToken:s,stagingToken:i,debugMode:c,mfaPreference:d,proxyRequestFunction:g}=I(e.operationSettings,{requiresUI:!0});if(m(e.cardSettings),g){const t=a({stagingToken:i}),o=(await r({proxyFunction:g,networkCallDescriptor:t})).body.embed_auth_link;return h({decorationParams:e.cardSettings,operationSettings:{uiParentElementId:n,debugMode:c},cardIframeUrl:o.url})}{const r=s||t(),a=await o({...e.cardSettings,accessToken:r,stagingToken:i});return h({decorationParams:e.cardSettings,operationSettings:{uiParentElementId:n,debugMode:c,mfaPreference:d},cardIframeUrl:a.url})}}catch(e){return Promise.reject(e)}}export{v as displayCard,j as getCard,b as getCards,w as orderCard,P as unlockCard};
@@ -0,0 +1 @@
1
+ import*as i from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{init as e,track as t,reset as n}from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{ENVIRONMENTS as o}from"../constants.js";import{environmentManager as s}from"../environment/environment-manager.js";import{info as a}from"../logger/logger.js";import{isRunningInServer as r}from"../runtime/runtime.validation.js";import{ANALYTICS_EVENTS as l}from"./analytics.constants.js";import{LogLevel as c}from"../../../node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js";class m{constructor(){this.isInitialized=!1}static getInstance(){return m.instance||(m.instance=new m),m.instance}initialize(){if(this.isInitialized||r())return;const t=s.getEnvironment()||"production",n=t===o.PRODUCTION?"52c120d2f5c89ca646fae6649a1ce7ad":"373aa80c38e5bc2a55895a96c8447fef";if(n)try{if(!i||"function"!=typeof e)throw new Error("Analytics SDK module not available");const s={defaultTracking:{sessions:!1,pageViews:!1,formInteractions:!1,fileDownloads:!1},logLevel:t!==o.PRODUCTION?c.Debug:c.None};e(n,void 0,s),this.isInitialized=!0,this.track(l.SDK_INITIALIZED)}catch(i){console.error("Failed to initialize analytics tracking:",i)}else a("No tracking client will be initialized due to missing API key")}isEnabled(){return this.isInitialized}track(i,e){if(this.isInitialized)try{t(i,e)}catch(i){console.error("Failed to track analytics event:",i)}}reset(){if(this.isInitialized)try{n()}catch(i){console.error("Failed to reset analytics:",i)}}}const d=m.getInstance();export{m as AmplitudeManager,d as amplitudeManager};
@@ -0,0 +1 @@
1
+ import{amplitudeManager as e}from"./amplitude-manager.js";import{ANALYTICS_EVENTS as t}from"./analytics.constants.js";function a(){e.initialize()}function i(){e.reset()}function r(t,a){e.track(t,a)}const s={cardsList:e=>{r(t.CARDS_LIST,e)},cardsOrderVirtual:e=>{r(t.CARDS_ORDER_VIRTUAL,e)},cardsOrderPhysical:e=>{r(t.CARDS_ORDER_PHYSICAL,e)},beneficiariesList:e=>{r(t.BENEFICIARIES_LIST,e)},sepaTransferCreate:e=>{r(t.SEPA_TRANSFER_CREATE,e)},sepaTransferBulkCreate:e=>{r(t.SEPA_TRANSFER_BULK_CREATE,e)},transactionsList:e=>{r(t.TRANSACTIONS_LIST,e)},organizationsList:e=>{r(t.ORGANIZATIONS_LIST,e)},paymentLinksCreate:e=>{r(t.PAYMENT_LINKS_CREATE,e)},authLinksRequest:e=>{r(t.AUTH_LINKS_REQUEST,e)},uiElementCreated:(e,a)=>{r(t.UI_ELEMENT_CREATED,{uiElementType:e,...a})}};export{a as initialize,i as reset,r as trackEvent,s as tracker};
@@ -0,0 +1 @@
1
+ const E={SDK_INITIALIZED:"SDK Initialized",CARDS_LIST:"Cards List",CARDS_ORDER_VIRTUAL:"Cards Order Virtual",CARDS_ORDER_PHYSICAL:"Cards Order Physical",BENEFICIARIES_LIST:"Beneficiaries List",SEPA_TRANSFER_CREATE:"SEPA Transfer Create",SEPA_TRANSFER_BULK_CREATE:"SEPA Transfer Bulk Create",TRANSACTIONS_LIST:"Transactions List",ORGANIZATIONS_LIST:"Organizations List",PAYMENT_LINKS_CREATE:"Payment Links Create",AUTH_LINKS_REQUEST:"Auth Links Request",UI_ELEMENT_CREATED:"UI Element Created"};export{E as ANALYTICS_EVENTS};
@@ -1 +1 @@
1
- import{authManager as e}from"../auth/auth.js";import{validateInitializeParams as t}from"./initialize.validate.js";import{operationSettingsManager as n}from"../operation-settings/operation-settings.js";import{environmentManager as o}from"../environment/environment-manager.js";import{localeManager as i}from"../locale/locale-manager.js";import{sentryManager as r}from"../sentry/sentry-manager.js";import{info as s}from"../logger/logger.js";function a(a){const{accessToken:c,stagingToken:l,operationSettings:m,environment:g,branch:f,locale:p}=t(a);c&&e.setAccessToken(c),l&&e.setStagingToken(l),p&&i.setLocale(p),m&&n.setSettings(m),g&&(o.setEnvironment(g),f&&o.setBranch(f)),r.initialize(),s("SDK initialized successfully",{environment:g,locale:p,debugMode:m?.debugMode})}function c(){e.clearAccessToken(),e.clearStagingToken(),i.setDefaultLocale(),n.clearSettings()}export{a as initialize,c as logout};
1
+ import{authManager as e}from"../auth/auth.js";import{validateInitializeParams as t}from"./initialize.validate.js";import{operationSettingsManager as n}from"../operation-settings/operation-settings.js";import{environmentManager as o}from"../environment/environment-manager.js";import{localeManager as i}from"../locale/locale-manager.js";import{sentryManager as a}from"../sentry/sentry-manager.js";import{info as r}from"../logger/logger.js";import{initialize as s,reset as c}from"../analytics/analytics-tracker.js";function l(c){const{accessToken:l,stagingToken:m,operationSettings:g,environment:f,branch:p,locale:u}=t(c);l&&e.setAccessToken(l),m&&e.setStagingToken(m),u&&i.setLocale(u),g&&n.setSettings(g),f&&(o.setEnvironment(f),p&&o.setBranch(p)),a.initialize(),s(),r("SDK initialized successfully",{environment:f,locale:u,debugMode:g?.debugMode})}function m(){e.clearAccessToken(),e.clearStagingToken(),i.setDefaultLocale(),n.clearSettings(),c()}export{l as initialize,m as logout};
@@ -1 +1 @@
1
- import{InvalidParametersError as n}from"../../errors/InvalidParametersError.js";import{validateOperationSettingsParams as o}from"../../validation/operation-settings-validation.js";import{validateLocale as t}from"../locale/locale.validate.js";function e(e){if(!e?.accessToken&&!e?.operationSettings?.proxyRequestFunction)throw new n("Either operationSettings.proxyRequestFunction or access token is required when calling initialize()");return e?.operationSettings&&o(e.operationSettings),function(o){if(o.environment){if(!["production","staging","local"].includes(o.environment))throw new n('If provided, environment must be either "production" or "staging"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.environment.PRODUCTION" or "constants.environment.STAGING"');if(o.branch&&!["master","sandbox","qa"].includes(o.branch))throw new n('If provided, branch must be either "master", "sandbox" or "qa"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.branch.MASTER" or "constants.environment.SANDBOX" and so on')}}(e),e.locale&&t(e.locale),e}export{e as validateInitializeParams};
1
+ import{InvalidParametersError as n}from"../../errors/InvalidParametersError.js";import{validateOperationSettingsParams as o}from"../../validation/operation-settings-validation.js";import{validateLocale as t}from"../locale/locale.validate.js";function e(e){if(!e?.accessToken&&!e?.operationSettings?.proxyRequestFunction&&!e?.operationSettings?.proxyEndpointDescriptor)throw new n("Either operationSettings.proxyRequestFunction, operationSettings.proxyEndpointDescriptor, or access token is required when calling initialize()");return e?.operationSettings&&o(e.operationSettings),function(o){if(o.environment){if(!["production","staging","local"].includes(o.environment))throw new n('If provided, environment must be either "production" or "staging"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.environment.PRODUCTION" or "constants.environment.STAGING"');if(o.branch&&!["master","sandbox","qa"].includes(o.branch))throw new n('If provided, branch must be either "master", "sandbox" or "qa"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.branch.MASTER" or "constants.environment.SANDBOX" and so on')}}(e),e.locale&&t(e.locale),e}export{e as validateInitializeParams};
@@ -0,0 +1 @@
1
+ import{authManager as e}from"../../../common/auth/auth.js";import{validatePresenceOfAuthToken as r}from"../../../common/auth/auth.validate.js";import{serializePaginationResponse as o}from"../../../common/api-pagination/api-pagination.js";import{verifySepaPayees as t,prepareGetBulkTransferCall as n,prepareGetBulkTransfersCall as s}from"../shared/bulk-transfers.api.js";import{serializeToBulkVopVerificationResult as i,serializeToNewBulkTransferDataObject as a,serializeBulkTransfer as m}from"../shared/bulk-transfers.serializer.js";import{validateOperationSettingsParams as p,validateClientOperationSettings as u}from"../../../validation/operation-settings-validation.js";import{validateCreateBulkTransferParams as c,validateBulkTransferParams as f}from"../shared/bulk-transfers.validate.js";import{isRunningInBrowser as d}from"../../../common/runtime/runtime.validation.js";import{InvalidRuntimeError as l,RUNTIME_ENVIRONMENT as y}from"../../../errors/InvalidRuntimeError.js";import{buildIframeUrl as b,createIframe as k}from"../../../iframe/iframe-manager.js";import{buildIframeMessage as g}from"../../../iframe/iframe-message-builder.js";import{VOP_DECISIONS as T,ACTIONS as E}from"../../../common/constants.js";import{callProxyFunction as j}from"../../../common/common.utils.js";import x from"../../../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";async function v(e){const{proxyRequestFunction:r,proxyEndpointDescriptor:t,paginationSettings:n}=u(e?.operationSettings,'Client-side bulk transfer operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/bulk-transfers/server".'),i=s({paginationSettings:n}),a=await j({proxyFunction:r,proxyEndpointDescriptor:t,networkCallDescriptor:i}),p=a.body.bulk_transfers.map(m),c=o(a.body.meta);return{bulkTransfers:p,...c?{meta:c}:{}}}async function h({bulkTransferSettings:e,operationSettings:r}){const o=f(e?.bulkTransferId),{proxyRequestFunction:t,proxyEndpointDescriptor:s}=u(r,'Client-side bulk transfer operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/bulk-transfers/server".'),i=n({bulkTransferId:o}),a=await j({proxyFunction:t,proxyEndpointDescriptor:s,networkCallDescriptor:i});return m(a.body.bulk_transfer)}async function*w({bulkTransferSettings:o,operationSettings:n}){const s=n?.accessToken||r(),u=n?.stagingToken||e.getStagingToken(),f=n?.idempotencyKey||x();c(o);const{uiParentElementId:j,debugMode:v}=p(n,{requiresUI:!0});if(!d())throw new l(y.BROWSER);const h=new Map;for(const e of o.bulkTransfers){const r=e.beneficiary.iban;r&&!h.has(r)&&h.set(r,{name:e.beneficiary.name,iban:r})}const w=Array.from(h.values()),I=await t({sepaPayees:w,accessToken:s,stagingToken:u||void 0});if((yield I.requests.map(i))===T.REJECT)return;let R,q;try{const e=b({accessToken:s,stagingToken:u||void 0,debugMode:v});q=await k({iframeUrl:e,parentElementId:j});const r={bankAccountId:o.bankAccountId,bulkTransfers:o.bulkTransfers.map((e=>a(e)))};R=await q.postMessage(g({actionId:E.TRANSFER_BULK_CREATE,actionData:{body:r,idempotencyKey:f}}))}finally{q?.destroy()}return{bulkTransfer:m(R),meta:{idempotencyKey:f}}}export{w as createBulkTransfer,h as getBulkTransfer,v as getBulkTransfers};
@@ -0,0 +1 @@
1
+ import{createBulkTransfer as r,getBulkTransfer as e,getBulkTransfers as t}from"./client/bulk-transfers.client.js";const s={getBulkTransfers:t,getBulkTransfer:e,createBulkTransfer:r};export{s as bulkTransfers};
@@ -0,0 +1 @@
1
+ import{makeNetworkCall as e}from"../../../common/network/network.js";import"../../../common/environment/environment-manager.js";import{buildPaginationParams as n}from"../../../common/api-pagination/api-pagination.js";import{SEPA_ENDPOINT as s}from"../../shared/sepa-transfers.api.js";import{serializeToSepaPayeeDataObject as o}from"../../shared/sepa-transfers.serializer.js";const a="/v2/sepa/bulk_transfers";function t({paginationSettings:e,accessToken:s,stagingToken:o}){const t={method:"GET",headers:{accessToken:s,stagingToken:o}},r=n(e),i=r.size?`?${r.toString()}`:"";return{path:`${a}${i}`,options:t}}function r({bulkTransferId:e,accessToken:n,stagingToken:s}){return{path:`${a}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:s}}}}function i({sepaPayees:e,accessToken:n,stagingToken:a}){return{path:`${s}/bulk_verify_payee`,options:{method:"POST",headers:{accessToken:n,stagingToken:a},body:{requests:e.map(o)}}}}async function c({sepaPayees:n,accessToken:s,stagingToken:o}){const a=i({sepaPayees:n,accessToken:s,stagingToken:o});return await e(a)}export{a as BULK_TRANSFERS_ENDPOINT,r as prepareGetBulkTransferCall,t as prepareGetBulkTransfersCall,i as prepareVerifySepaPayeesCall,c as verifySepaPayees};
@@ -0,0 +1 @@
1
+ function e(e){return{id:e.id,initiatorId:e.initiator_id,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),totalCount:Number(e.total_count),completedCount:Number(e.completed_count),failedCount:Number(e.failed_count),pendingCount:Number(e.pending_count),results:e.results.map((e=>({clientTransferId:e.client_transfer_id,transferId:e.transfer_id??null,errors:e.errors||null,status:e.status})))}}function t(e){return{beneficiary_id:e.beneficiaryId||e.beneficiary?.id,client_transfer_id:e.clientTransferId,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentsIds?{attachment_ids:e.attachmentsIds}:{}}}function n(e){return{id:e.id,response:{matchResult:e.response.match_result,matchedName:e.response.matched_name}}}export{e as serializeBulkTransfer,n as serializeToBulkVopVerificationResult,t as serializeToNewBulkTransferDataObject};
@@ -0,0 +1 @@
1
+ import{InvalidParametersError as e}from"../../../errors/InvalidParametersError.js";import{validateExpectedStringValues as r,validateExpectedNumericValues as n}from"../../../validation/input-param-validation.js";import{AMOUNT_REQUIRING_ATTACHMENTS as a}from"../../../common/constants.js";function t(r){if(!r)throw new e("bulkTransferId parameter is required for the called function.");if("string"!=typeof r)throw new e("bulkTransferId must be a string.");return r}function i(t){if(!t)throw new e("bulkTransferSettings parameter is required for the called function.");if(!t.bankAccountId)throw new e("bankAccountId is required");if(!Array.isArray(t.bulkTransfers))throw new e("bulkTransfers must be an array");if(t.bulkTransfers.length>400)throw new e("Maximum of 400 bulk transfers allowed");return t.bulkTransfers.forEach(((t,i)=>{!function(t,i){if(!t)throw new e(`Invalid bulkTransfer at index ${i}: bulkTransfer object is required`);if(!t.beneficiary)throw new e(`Invalid bulkTransfer at index ${i}: Beneficiary details must be provided in the bulkTransferSettings.beneficiary field`);if(!t.beneficiary.iban)throw new e(`Invalid bulkTransfer at index ${i}: IBAN is required as part of the beneficiary details`);if(!t.beneficiary.name)throw new e(`Invalid bulkTransfer at index ${i}: Beneficiary name is required as part of the beneficiary details`);const f=r({reference:t.reference,clientTransferId:t.clientTransferId,note:t.note}),s=n({amount:t.amount}),o=[...f,...s].flat();if(o.length>0)throw new e(o);if(t.amount>a&&(!t.attachmentsIds||0===t.attachmentsIds.length))throw new e(`Invalid bulkTransfer at index ${i}: Attachments are required for transfers over €${a}`)}(t,i)})),t}export{t as validateBulkTransferParams,i as validateCreateBulkTransferParams};
@@ -0,0 +1 @@
1
+ import{serializePaginationResponse as e}from"../../common/api-pagination/api-pagination.js";import{prepareCreateSepaTransferCall as r,prepareCancelSepaTransferCall as o,prepareGetSepaTransferCall as t,prepareGetSepaTransfersCall as n,prepareVerifySepaPayeeCall as s}from"../shared/sepa-transfers.api.js";import{serializeToVopVerificationResult as i,serializeSepaTransfer as a}from"../shared/sepa-transfers.serializer.js";import{validateTransferBeneficiaryParams as p,validateCreateSepaTransferParams as c,validateGetSepaTransferCreationFlowLinkParams as u,validateCancelSepaTransferParams as m,validateGetSepaTransferParams as d}from"../shared/sepa-transfers.validate.js";import{VOP_DECISIONS as f,HTTP_CODES as y,AUTH_LINK_ACTIONS as l}from"../../common/constants.js";import{isRunningInBrowser as x}from"../../common/runtime/runtime.validation.js";import{InvalidRuntimeError as E,RUNTIME_ENVIRONMENT as g}from"../../errors/InvalidRuntimeError.js";import{authLinks as k}from"../../auth-links/index.js";import{findBeneficiary as q,createSepaTransferScaElement as D,waitForSepaTransferScaResult as S,decorateUrlWithExtraParams as T}from"../shared/sepa-transfers.utils.js";import"../../ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.js";import{EmbedApiError as w}from"../../errors/EmbedApiError.js";import{serializePreconditionRequiredResponse as R}from"../../sca/sca.serializer.js";import{callProxyFunction as b}from"../../common/common.utils.js";import{authManager as F}from"../../common/auth/auth.js";import{validateClientOperationSettings as I}from"../../validation/operation-settings-validation.js";import{InvalidParametersError as h}from"../../errors/InvalidParametersError.js";import j from"../../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";async function v(r){const{proxyRequestFunction:o,proxyEndpointDescriptor:t,paginationSettings:s}=I(r?.operationSettings,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),i=n({paginationSettings:s}),p=await b({proxyFunction:o,proxyEndpointDescriptor:t,networkCallDescriptor:i}),c=p.body.transfers.map(a),u=e(p.body.meta);return{transfers:c,...u?{meta:u}:{}}}async function C({sepaTransferSettings:e,operationSettings:r}){const o=d(e?.sepaTransferId),{proxyRequestFunction:n,proxyEndpointDescriptor:s}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),i=t({sepaTransferId:o}),p=await b({proxyFunction:n,proxyEndpointDescriptor:s,networkCallDescriptor:i});return a(p.body.transfer)}async function*P({sepaTransferSettings:e,operationSettings:o}){const{proxyRequestFunction:t,proxyEndpointDescriptor:n,uiParentElementId:u,locale:m}=I(o),d=F.getStagingToken(),l=o?.idempotencyKey||j();let k;p(e);const T=await q({sepaTransferSettings:e,operationSettings:o}),v={name:T.name,iban:T.iban},C=await async function({sepaPayee:e,operationSettings:r}){const{proxyRequestFunction:o,proxyEndpointDescriptor:t}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),n=s({sepaPayee:e}),i=await b({proxyFunction:o,proxyEndpointDescriptor:t,networkCallDescriptor:n});return i.body}({sepaPayee:v,operationSettings:o}),P=yield i(C);let _;if("string"==typeof P){if(P===f.REJECT)return}else{if(P.vopDecision===f.REJECT)return;_=P.sepaTransferSettings}const A={...e,..._};c(A);const K={...A,beneficiary:T};if(K.beneficiary?.trusted){const e=r({transfer:K,vopProofToken:C.proof_token.token,idempotencyKey:l});k=(await b({proxyFunction:t,proxyEndpointDescriptor:n,networkCallDescriptor:e})).body.transfer}else{if(!x())throw new E(g.BROWSER);if(!u)throw new h("operationSettings.uiParentElementId is required for creating transfers to untrusted beneficiaries. This operation requires UI interaction for SCA.");const e=r({transfer:K,vopProofToken:C.proof_token.token,stagingToken:d||void 0,idempotencyKey:l});let o;try{k=(await b({proxyFunction:t,proxyEndpointDescriptor:n,networkCallDescriptor:e})).body.transfer}catch(e){if(!(e instanceof w&&e.code===y.PRECONDITION_REQUIRED))throw e;o=R(e.data.body).scaSessionToken}const s=D({networkCallDescriptor:e,scaSessionToken:o,operationSettings:{uiParentElementId:u,proxyRequestFunction:t,locale:m}});try{k=await S(s)}finally{s.remove()}}return{transfer:a(k),meta:{idempotencyKey:l}}}async function _({sepaTransferSettings:e,operationSettings:r}){const t=m(e?.sepaTransferId),{proxyRequestFunction:n,proxyEndpointDescriptor:s}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),i=o({sepaTransferId:t});await b({proxyFunction:n,proxyEndpointDescriptor:s,networkCallDescriptor:i})}async function A({sepaTransferSettings:e,operationSettings:r}){const o=u(e),{proxyRequestFunction:t,proxyEndpointDescriptor:n}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),s=await k.request({requestSettings:{action:l.SEPA_TRANSFER_CREATE,callbackUrl:o},operationSettings:{proxyRequestFunction:t,proxyEndpointDescriptor:n}});return{...s,url:T(s.url,r)}}export{_ as cancelSepaTransfer,P as createSepaTransfer,C as getSepaTransfer,A as getSepaTransferCreationFlowLink,v as getSepaTransfers};
@@ -1 +1 @@
1
- import{sepaTransfers as s}from"./sepa-transfers.public-api.js";const r=s;export{r as sepaTransfers};
1
+ import{createSepaTransfer as e,getSepaTransferCreationFlowLink as r,cancelSepaTransfer as a,getSepaTransfer as s,getSepaTransfers as n}from"./client/sepa-transfers.client.js";import{bulkTransfers as t}from"./bulk-transfers/index.js";const f={getSepaTransfers:n,getSepaTransfer:s,createSepaTransfer:e,cancelSepaTransfer:a,getSepaTransferCreationFlowLink:r,bulkTransfers:t};export{f as sepaTransfers};
@@ -1 +1 @@
1
- import{authManager as e}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as n}from"../common/auth/auth.validate.js";import{serializePaginationResponse as t}from"../common/api-pagination/api-pagination.js";import{prepareGetSepaTransfersCall as o,getSepaTransfers as s,prepareCreateSepaTransferCall as r,createSepaTransfer as a,prepareCancelSepaTransferCall as i,cancelSepaTransfer as c,prepareGetSepaTransferCall as p,getSepaTransfer as f,prepareVerifySepaPayeeCall as m,verifySepaPayee as u}from"./sepa-transfers.api.js";import{serializeSepaTransfer as g,serializeToVopVerificationResult as y}from"./sepa-transfers.serializer.js";import{validateTransferBeneficiaryParams as T,validateCreateSepaTransferParams as k,validateGetSepaTransferCreationFlowLinkParams as l,validateCancelSepaTransferParams as d,validateGetSepaTransferParams as S}from"./sepa-transfers.validate.js";import{validateOperationSettingsParams as w}from"../validation/operation-settings-validation.js";import{VOP_DECISIONS as x,HTTP_CODES as E,AUTH_LINK_ACTIONS as R}from"../common/constants.js";import{isRunningInBrowser as j}from"../common/runtime/runtime.validation.js";import{InvalidRuntimeError as F,RUNTIME_ENVIRONMENT as v}from"../errors/InvalidRuntimeError.js";import{makeNetworkCall as b}from"../common/network/network.js";import{authLinks as D}from"../auth-links/index.js";import{findBeneficiary as q,createSepaTransferScaElement as I,waitForSepaTransferScaResult as P,decorateUrlWithExtraParams as C}from"./sepa-transfers.utils.js";import"../ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.js";import{EmbedApiError as h}from"../errors/EmbedApiError.js";import{serializePreconditionRequiredResponse as _}from"../sca/sca.serializer.js";import{callProxyFunction as A}from"../common/common.utils.js";import K from"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";async function N(e){const{stagingToken:r,proxyRequestFunction:a,accessToken:i,paginationSettings:c}=w(e?.operationSettings||{});if(a){const e=o({paginationSettings:c}),n=await A({proxyFunction:a,networkCallDescriptor:e}),s=n.body.transfers.map(g),r=t(n.body.meta);return{transfers:s,...r?{meta:r}:{}}}{const e=i||n(),o=await s({accessToken:e,stagingToken:r,paginationSettings:c}),a=o.transfers.map(g),p=t(o.meta);return{transfers:a,...p?{meta:p}:{}}}}async function O({sepaTransferSettings:e,operationSettings:t}){const o=S(e?.sepaTransferId),{proxyRequestFunction:s,accessToken:r,stagingToken:a}=w(t||{});if(s){const e=p({sepaTransferId:o}),n=await A({proxyFunction:s,networkCallDescriptor:e});return g(n.body.transfer)}{const e=r||n(),t=await f({sepaTransferId:o,accessToken:e,stagingToken:a});return g(t)}}async function*U({sepaTransferSettings:t,operationSettings:o}){const{proxyRequestFunction:s,proxyEndpointDescriptor:i,accessToken:c,stagingToken:p}=w(o||{}),f=p||e.getStagingToken(),l=o?.idempotencyKey||K();let d;T(t);const S=await q({sepaTransferSettings:t,operationSettings:o}),R={name:S.name,iban:S.iban},D=await async function({sepaPayee:e,operationSettings:t}){const{proxyRequestFunction:o,accessToken:s,stagingToken:r}=w(t||{});if(o){const n=m({sepaPayee:e});return(await A({proxyFunction:o,networkCallDescriptor:n})).body}{const t=s||n();return await u({sepaPayee:e,accessToken:t,stagingToken:r})}}({sepaPayee:R,operationSettings:o}),C=yield y(D);let N;if("string"==typeof C){if(C===x.REJECT)return}else{if(C.vopDecision===x.REJECT)return;N=C.sepaTransferSettings}const O={...t,...N};k(O);const U={...O,beneficiary:S};if(U.beneficiary?.trusted)if(s||i){const e=r({transfer:U,vopProofToken:D.proof_token.token,idempotencyKey:l});d=(await A({proxyFunction:s,networkCallDescriptor:e,proxyEndpointDescriptor:i})).body.transfer}else{const e=c||n();d=await a({transfer:U,vopProofToken:D.proof_token.token,accessToken:e,stagingToken:f||void 0,idempotencyKey:l})}else{if(!j())throw new F(v.BROWSER);const{uiParentElementId:e,proxyEndpointDescriptor:t,proxyRequestFunction:s,locale:a}=w(o,{requiresUI:!0}),i=c||n(),p=r({transfer:U,vopProofToken:D.proof_token.token,accessToken:i,stagingToken:f||void 0,idempotencyKey:l});let m;try{if(s||t){d=(await A({proxyFunction:s,networkCallDescriptor:p,proxyEndpointDescriptor:t})).body.transfer}else d=await b(p)}catch(e){if(!(e instanceof h&&e.code===E.PRECONDITION_REQUIRED))throw e;m=_(e.data.body).scaSessionToken}const u=I({networkCallDescriptor:p,scaSessionToken:m,operationSettings:{uiParentElementId:e,proxyRequestFunction:s,locale:a}});try{d=await P(u)}finally{u.remove()}}return g(d)}async function z({sepaTransferSettings:e,operationSettings:t}){const o=d(e?.sepaTransferId),{proxyRequestFunction:s,accessToken:r,stagingToken:a}=w(t||{});if(s){const e=i({sepaTransferId:o});await A({proxyFunction:s,networkCallDescriptor:e})}else{const e=r||n();await c({sepaTransferId:o,accessToken:e,stagingToken:a})}}async function J({sepaTransferSettings:e,operationSettings:t}){const o=l(e),{proxyRequestFunction:s,stagingToken:r,accessToken:a}=w(t||{}),i=s?{proxyRequestFunction:s}:{stagingToken:r,accessToken:a||n()},c=await D.request({requestSettings:{action:R.SEPA_TRANSFER_CREATE,callbackUrl:o},operationSettings:i});return{...c,url:C(c.url,t)}}export{z as cancelSepaTransfer,U as createSepaTransfer,O as getSepaTransfer,J as getSepaTransferCreationFlowLink,N as getSepaTransfers};
1
+ import"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{serializePaginationResponse as o}from"../common/api-pagination/api-pagination.js";import{prepareGetSepaTransfersCall as a,getSepaTransfers as n}from"./shared/sepa-transfers.api.js";import{serializeSepaTransfer as s}from"./shared/sepa-transfers.serializer.js";import{validateOperationSettingsParams as i}from"../validation/operation-settings-validation.js";import"../common/operation-settings/operation-settings.js";import"../common/locale/locale-manager.js";import"../common/environment/environment-manager.js";import{callProxyFunction as e}from"../common/common.utils.js";import"../ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.js";async function r(r){const{stagingToken:m,proxyRequestFunction:p,accessToken:c,paginationSettings:g}=i(r?.operationSettings||{});if(p){const t=a({paginationSettings:g}),n=await e({proxyFunction:p,networkCallDescriptor:t}),i=n.body.transfers.map(s),r=o(n.body.meta);return{transfers:i,...r?{meta:r}:{}}}{const a=c||t(),i=await n({accessToken:a,stagingToken:m,paginationSettings:g}),e=i.transfers.map(s),r=o(i.meta);return{transfers:e,...r?{meta:r}:{}}}}export{r as getSepaTransfers};
@@ -0,0 +1 @@
1
+ import{makeNetworkCall as n}from"../../common/network/network.js";import{buildPaginationParams as e}from"../../common/api-pagination/api-pagination.js";import{serializeToNewSepaTransferDataObject as o}from"./sepa-transfers.serializer.js";const s="/v2/sepa",a=`${s}/transfers`;function t({paginationSettings:n,accessToken:o,stagingToken:s}){const t={method:"GET",headers:{accessToken:o,stagingToken:s}},i=e(n),r=i.size?`?${i.toString()}`:"";return{path:`${a}${r}`,options:t}}async function i({accessToken:e,stagingToken:o,paginationSettings:s}){const a=t({paginationSettings:s,accessToken:e,stagingToken:o}),{transfers:i,meta:r}=await n(a);return{transfers:i,meta:r}}function r({sepaTransferId:n,accessToken:e,stagingToken:o}){return{path:`${a}/${n}`,options:{method:"GET",headers:{accessToken:e,stagingToken:o}}}}function c({transfer:n,vopProofToken:e,accessToken:s,stagingToken:t,scaSessionToken:i,idempotencyKey:r}){const c=o(n);return{path:a,options:{method:"POST",headers:{accessToken:s,stagingToken:t,scaSessionToken:i,idempotencyKey:r},body:{transfer:c,vop_proof_token:e}}}}function T({sepaTransferId:n,accessToken:e,stagingToken:o}){return{path:`${a}/${n}/cancel`,options:{method:"POST",headers:{accessToken:e,stagingToken:o}}}}function g({sepaPayee:n,accessToken:e,stagingToken:o}){return{path:`${s}/verify_payee`,options:{method:"POST",headers:{accessToken:e,stagingToken:o},body:{beneficiary_name:n.name,iban:n.iban}}}}export{s as SEPA_ENDPOINT,a as SEPA_TRANSFERS_ENDPOINT,i as getSepaTransfers,T as prepareCancelSepaTransferCall,c as prepareCreateSepaTransferCall,r as prepareGetSepaTransferCall,t as prepareGetSepaTransfersCall,g as prepareVerifySepaPayeeCall};
@@ -0,0 +1 @@
1
+ function e(e){return{id:e.id,initiatorId:e.initiator_id,bankAccountId:e.bank_account_id,amount:Number(e.amount),amountCents:Number(e.amount_cents),amountCurrency:e.amount_currency,status:e.status,beneficiaryId:e.beneficiary_id,reference:e.reference,note:e.note,declinedReason:e.declined_reason,scheduledDate:new Date(e.scheduled_date),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),processedAt:new Date(e.processed_at),completedAt:new Date(e.completed_at),transactionId:e.transaction_id}}function t(e){const t=e.beneficiaryId||e.beneficiary?.id;return{bank_account_id:e.bankAccountId,beneficiary_id:t,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentIds?{attachment_ids:e.attachmentIds}:{}}}function n(e){return{matchResult:e.match_result,matchedName:e.matched_name}}function a(e){return{name:e.name,iban:e.iban}}export{e as serializeSepaTransfer,t as serializeToNewSepaTransferDataObject,a as serializeToSepaPayeeDataObject,n as serializeToVopVerificationResult};
@@ -0,0 +1 @@
1
+ import{getBeneficiary as e}from"../../beneficiaries/beneficiaries.js";import{localeManager as n}from"../../common/locale/locale-manager.js";import{getUIParentElement as t}from"../../common/common.utils.js";async function r({sepaTransferSettings:n,operationSettings:t}){return n?.beneficiary?n.beneficiary:await e({beneficiarySettings:{beneficiaryId:n?.beneficiaryId},operationSettings:t})}function o(e,t){const r=t?.locale||n.getLocale(),o=new URL(e);return r&&o.searchParams.append("lang",r),t?.mfaPreference&&o.searchParams.append("mfaPreference",t.mfaPreference),t?.idempotencyKey&&o.searchParams.append("idempotencyKey",t.idempotencyKey),o.toString()}function a({networkCallDescriptor:e,scaSessionToken:n,operationSettings:r}){const{uiParentElementId:o,proxyRequestFunction:a,locale:i}=r,s=t(o);s.innerHTML="";const c=document.createElement("qonto-sca-passkey-waiting");return c.networkCallDescriptor={...e,options:{...e.options,headers:{...e.options.headers,scaSessionToken:n}}},c.operationSettings={uiParentElementId:o,proxyRequestFunction:a,locale:i},s.appendChild(c),c}async function i(e){return new Promise(((n,t)=>{e.addEventListener("sca-success",(e=>{n(e.detail.result.transfer)}),{once:!0}),e.addEventListener("sca-error",(e=>{t(e.detail.error)}),{once:!0}),e.addEventListener("sca-abort",(e=>{t(e.detail.result)}),{once:!0})}))}export{a as createSepaTransferScaElement,o as decorateUrlWithExtraParams,r as findBeneficiary,i as waitForSepaTransferScaResult};
@@ -0,0 +1 @@
1
+ import{InvalidParametersError as e}from"../../errors/InvalidParametersError.js";import{validateExpectedStringValues as r,validatePresenceOfRequiredParams as t,validateExpectedNumericValues as n}from"../../validation/input-param-validation.js";import{AMOUNT_REQUIRING_ATTACHMENTS as a}from"../../common/constants.js";const i=[{name:"bankAccountId"},{name:"reference"},{name:"amount"}];function o(r){if(!r)throw new e("sepaTransferId parameter is required for the called function");if(r&&"string"!=typeof r)throw new e("sepaTransferId must be a string");return r}function f(t){if(!t)throw new e("sepaTransferSettings parameter is required for the called function");if("object"!=typeof t)throw new e("sepaTransferSettings must be an object");if(!t.beneficiaryId&&!t.beneficiary)throw new e("Either beneficiaryId or beneficiary must be provided");const n=r({beneficiaryId:t.beneficiaryId});if(n.length>0)throw new e(n);return t}function s(o){if(!o)throw new e("sepaTransferSettings parameter is required for the called function");if("object"!=typeof o)throw new e("sepaTransferSettings must be an object");t(o,i);const f=[...r({bankAccountId:o.bankAccountId,note:o.note,reference:o.reference}),...n({amount:o.amount})].flat();if(f.length>0)throw new e(f);if(o.amount>a&&(!o.attachmentIds||0===o.attachmentIds.length))throw new e("Attachments are required for transfers over €30,000");return o}function c(r){if(!r)throw new e("sepaTransferId parameter is required for the called function");if("string"!=typeof r)throw new e("sepaTransferId must be a string");return r}function u(r){if(!r||!r.callbackUrl)throw new e("callbackUrl parameter is required for the getSepaTransferCreationFlowLink function");if("string"!=typeof r.callbackUrl)throw new e("callbackUrl must be a string");return r.callbackUrl}export{c as validateCancelSepaTransferParams,s as validateCreateSepaTransferParams,u as validateGetSepaTransferCreationFlowLinkParams,o as validateGetSepaTransferParams,f as validateTransferBeneficiaryParams};
@@ -1,10 +1,10 @@
1
- import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as t}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as r}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as i}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as o}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{localized as a}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{sepaTransferCreationStyles as n}from"./sepa-transfer-creation.styles.js";import{setLocale as l}from"../localize/configure-localization.js";import"./pages/beneficiary-selection-page.js";import"./pages/transfer-details-page.js";import"./pages/transfer-summary-page.js";import"./pages/transfer-success-page.js";import"./pages/transfer-error-page.js";import"../../customizable-components/styles/styles.css.js";import{sepaTransfers as c}from"../../../sepa-transfers/sepa-transfers.public-api.js";import{VOP_DECISIONS as m}from"../../../common/constants.js";const p={BENEFICIARY_SELECTION:"beneficiary-selection",TRANSFER_DETAILS:"transfer-details",TRANSFER_SUMMARY:"transfer-summary",TRANSFER_SUCCESS:"transfer-success",TRANSFER_ERROR:"transfer-error"};let f=class extends r{constructor(){super(...arguments),this.locale="en",this.currentPage=p.BENEFICIARY_SELECTION,this.formData={beneficiary:void 0,accountToDebit:void 0,amount:"",reference:""},this.isCreatingTransfer=!1,this.handleRecipientInfoSubmitted=async e=>{const t=e.detail;if(this.formData={...this.formData,beneficiary:t.beneficiary},!this.operationSettings)return console.error("operationSettings is required to create transfer"),void(this.transferError="Missing configuration. Please try again.");this.isCreatingTransfer=!0,this.transferError=void 0;try{this.currentPage=p.TRANSFER_DETAILS,this.transferCreationProcess=c.createSepaTransfer({sepaTransferSettings:{beneficiary:t.beneficiary},operationSettings:{...this.operationSettings,uiParentElementId:()=>{const e=document.querySelector("qonto-sepa-transfer-creation");return e?.shadowRoot?.getElementById("sca-container")}}});const e=await this.transferCreationProcess.next();this.vopResult=e.value}catch(e){console.error("Failed to start transfer creation:",e),this.transferError=e instanceof Error?e.message:"Failed to verify beneficiary. Please try again."}finally{this.isCreatingTransfer=!1}},this.handleTransferDetailsSubmitted=e=>{const t=e.detail;this.formData={...this.formData,accountToDebit:t.accountToDebit,amount:t.amount,reference:t.reference},this.currentPage=p.TRANSFER_SUMMARY},this.handleGoToStep=e=>{this.currentPage=e.detail.step},this.handleTransferConfirmed=async e=>{const t=e.detail;if(!this.transferCreationProcess||!this.formData.accountToDebit)return console.error("Transfer creation process not initialized"),void(this.transferError="Transfer process not initialized. Please try again.");this.isCreatingTransfer=!0,this.transferError=void 0;try{const e=parseFloat(t.amount);if(isNaN(e)||e<=0)throw new Error("Invalid transfer amount");const r=await this.transferCreationProcess.next({vopDecision:m.ACCEPT,sepaTransferSettings:{bankAccountId:this.formData.accountToDebit.id,amount:e,reference:t.reference}});r.value&&(this.dispatchEvent(new CustomEvent("sepa-transfer-created",{detail:r.value,bubbles:!0,composed:!0})),this.currentPage=p.TRANSFER_SUCCESS)}catch(e){this.transferError=e instanceof Error?e.message:"Failed to create transfer. Please try again.",this.currentPage=p.TRANSFER_ERROR}finally{this.isCreatingTransfer=!1}}}connectedCallback(){super.connectedCallback(),l(this.locale),this.addEventListener("recipient-info-submitted",this.handleRecipientInfoSubmitted),this.addEventListener("transfer-details-submitted",this.handleTransferDetailsSubmitted),this.addEventListener("go-to-step",this.handleGoToStep),this.addEventListener("transfer-confirmed",this.handleTransferConfirmed)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("recipient-info-submitted",this.handleRecipientInfoSubmitted),this.removeEventListener("transfer-details-submitted",this.handleTransferDetailsSubmitted),this.removeEventListener("go-to-step",this.handleGoToStep),this.removeEventListener("transfer-confirmed",this.handleTransferConfirmed)}updated(e){e.has("locale")&&l(this.locale)}render(){return t`
1
+ import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as t}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as r}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as o}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as i}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{localized as n}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{sepaTransferCreationStyles as a}from"./sepa-transfer-creation.styles.js";import{setLocale as c}from"../localize/configure-localization.js";import"./pages/beneficiary-selection-page.js";import"./pages/transfer-details-page.js";import"./pages/transfer-summary-page.js";import"./pages/transfer-success-page.js";import"./pages/transfer-error-page.js";import"../../customizable-components/styles/styles.css.js";import{sepaTransfers as l}from"../../../sepa-transfers/index.js";import{VOP_DECISIONS as p}from"../../../common/constants.js";const m={BENEFICIARY_SELECTION:"beneficiary-selection",TRANSFER_DETAILS:"transfer-details",TRANSFER_SUMMARY:"transfer-summary",TRANSFER_SUCCESS:"transfer-success",TRANSFER_ERROR:"transfer-error"};let d=class extends r{constructor(){super(...arguments),this.locale="en",this.currentPage=m.BENEFICIARY_SELECTION,this.formData={beneficiary:void 0,accountToDebit:void 0,amount:"",reference:""},this.isCreatingTransfer=!1,this.handleRecipientInfoSubmitted=async e=>{const t=e.detail;if(this.formData={...this.formData,beneficiary:t.beneficiary},!this.operationSettings)return console.error("operationSettings is required to create transfer"),void(this.transferError="Missing configuration. Please try again.");this.isCreatingTransfer=!0,this.transferError=void 0;try{this.currentPage=m.TRANSFER_DETAILS,this.transferCreationProcess=l.createSepaTransfer({sepaTransferSettings:{beneficiary:t.beneficiary},operationSettings:{...this.operationSettings?{proxyRequestFunction:this.operationSettings.proxyRequestFunction,proxyEndpointDescriptor:this.operationSettings.proxyEndpointDescriptor,mfaPreference:this.operationSettings.mfaPreference,debugMode:this.operationSettings.debugMode,locale:this.operationSettings.locale}:{},uiParentElementId:()=>{const e=document.querySelector("qonto-sepa-transfer-creation");return e?.shadowRoot?.getElementById("sca-container")}}});const e=await this.transferCreationProcess.next();this.vopResult=e.value}catch(e){console.error("Failed to start transfer creation:",e),this.transferError=e instanceof Error?e.message:"Failed to verify beneficiary. Please try again."}finally{this.isCreatingTransfer=!1}},this.handleTransferDetailsSubmitted=e=>{const t=e.detail;this.formData={...this.formData,accountToDebit:t.accountToDebit,amount:t.amount,reference:t.reference},this.currentPage=m.TRANSFER_SUMMARY},this.handleGoToStep=e=>{this.currentPage=e.detail.step},this.handleTransferConfirmed=async e=>{const t=e.detail;if(!this.transferCreationProcess||!this.formData.accountToDebit)return console.error("Transfer creation process not initialized"),void(this.transferError="Transfer process not initialized. Please try again.");this.isCreatingTransfer=!0,this.transferError=void 0;try{const e=parseFloat(t.amount);if(isNaN(e)||e<=0)throw new Error("Invalid transfer amount");const r=await this.transferCreationProcess.next({vopDecision:p.ACCEPT,sepaTransferSettings:{bankAccountId:this.formData.accountToDebit.id,amount:e,reference:t.reference}});r.value&&"transfer"in r.value&&(this.dispatchEvent(new CustomEvent("sepa-transfer-created",{detail:r.value.transfer,bubbles:!0,composed:!0})),this.currentPage=m.TRANSFER_SUCCESS)}catch(e){this.transferError=e instanceof Error?e.message:"Failed to create transfer. Please try again.",this.currentPage=m.TRANSFER_ERROR}finally{this.isCreatingTransfer=!1}}}connectedCallback(){super.connectedCallback(),c(this.locale),this.addEventListener("recipient-info-submitted",this.handleRecipientInfoSubmitted),this.addEventListener("transfer-details-submitted",this.handleTransferDetailsSubmitted),this.addEventListener("go-to-step",this.handleGoToStep),this.addEventListener("transfer-confirmed",this.handleTransferConfirmed)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("recipient-info-submitted",this.handleRecipientInfoSubmitted),this.removeEventListener("transfer-details-submitted",this.handleTransferDetailsSubmitted),this.removeEventListener("go-to-step",this.handleGoToStep),this.removeEventListener("transfer-confirmed",this.handleTransferConfirmed)}updated(e){e.has("locale")&&c(this.locale)}render(){return t`
2
2
  <div data-router-outlet>
3
3
  <div id="sca-container" data-sca-modal></div>
4
- ${(()=>{switch(this.currentPage){case p.BENEFICIARY_SELECTION:return t`<qonto-beneficiary-selection-page
4
+ ${(()=>{switch(this.currentPage){case m.BENEFICIARY_SELECTION:return t`<qonto-beneficiary-selection-page
5
5
  .operationSettings=${this.operationSettings}
6
6
  .locale=${this.locale}
7
- ></qonto-beneficiary-selection-page>`;case p.TRANSFER_DETAILS:return t`<qonto-transfer-details-page
7
+ ></qonto-beneficiary-selection-page>`;case m.TRANSFER_DETAILS:return t`<qonto-transfer-details-page
8
8
  .locale=${this.locale}
9
9
  .operationSettings=${this.operationSettings}
10
10
  .beneficiary=${this.formData.beneficiary}
@@ -13,7 +13,7 @@ import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typesc
13
13
  .transferReference=${this.formData.reference}
14
14
  .vopResult=${this.vopResult}
15
15
  .isLoadingVop=${this.isCreatingTransfer}
16
- ></qonto-transfer-details-page>`;case p.TRANSFER_SUMMARY:return t`<qonto-transfer-summary-page
16
+ ></qonto-transfer-details-page>`;case m.TRANSFER_SUMMARY:return t`<qonto-transfer-summary-page
17
17
  .locale=${this.locale}
18
18
  .operationSettings=${this.operationSettings}
19
19
  .beneficiary=${this.formData.beneficiary}
@@ -23,10 +23,10 @@ import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typesc
23
23
  .vopResult=${this.vopResult}
24
24
  .isConfirming=${this.isCreatingTransfer}
25
25
  .error=${this.transferError}
26
- ></qonto-transfer-summary-page>`;case p.TRANSFER_SUCCESS:return t`<qonto-transfer-success-page
26
+ ></qonto-transfer-summary-page>`;case m.TRANSFER_SUCCESS:return t`<qonto-transfer-success-page
27
27
  .locale=${this.locale}
28
- ></qonto-transfer-success-page>`;case p.TRANSFER_ERROR:return t`<qonto-transfer-error-page
28
+ ></qonto-transfer-success-page>`;case m.TRANSFER_ERROR:return t`<qonto-transfer-error-page
29
29
  .locale=${this.locale}
30
30
  ></qonto-transfer-error-page>`}})()}
31
31
  </div>
32
- `}};f.styles=n,e([i({type:Object})],f.prototype,"operationSettings",void 0),e([i({type:String})],f.prototype,"locale",void 0),e([o()],f.prototype,"currentPage",void 0),e([o()],f.prototype,"formData",void 0),e([o()],f.prototype,"transferCreationProcess",void 0),e([o()],f.prototype,"vopResult",void 0),e([o()],f.prototype,"isCreatingTransfer",void 0),e([o()],f.prototype,"transferError",void 0),f=e([a(),s("qonto-sepa-transfer-creation")],f);export{p as SEPA_TRANSFER_PAGES,f as SepaTransferCreation};
32
+ `}};d.styles=a,e([o({type:Object})],d.prototype,"operationSettings",void 0),e([o({type:String})],d.prototype,"locale",void 0),e([i()],d.prototype,"currentPage",void 0),e([i()],d.prototype,"formData",void 0),e([i()],d.prototype,"transferCreationProcess",void 0),e([i()],d.prototype,"vopResult",void 0),e([i()],d.prototype,"isCreatingTransfer",void 0),e([i()],d.prototype,"transferError",void 0),d=e([n(),s("qonto-sepa-transfer-creation")],d);export{m as SEPA_TRANSFER_PAGES,d as SepaTransferCreation};
@@ -1 +1 @@
1
- import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";import{operationSettingsManager as t}from"../common/operation-settings/operation-settings.js";import{MFA_METHODS as n}from"../common/constants.js";import{environmentManager as o}from"../common/environment/environment-manager.js";const r={requiresUI:!1};function i(i,{requiresUI:s}=r){const a=i?.uiParentElementId||t.getUIParentElementId();if(s){if(!a)throw new e("operationSettings parameter must have a uiParentElementId for the called function.\nYou can pass it either to the initialize function or in a per function basis.");if(!["string","function"].includes(typeof a))throw new e("operationSettings.uiParentElementId must be a string or a function returning an HTMLElement")}const c=i?.mfaPreference||t.getMFAPreference();if(c){const t=(u=Object.values(n),o.isProductionEnvironment()?u.filter((e=>e!==n.MOCK)):u);if(!t.includes(c))throw new e(`operationSettings.mfaPreference must be one of ${t.join(", ")}`);if(o.isProductionEnvironment()&&c===n.MOCK)throw new e("operationSettings.mfaPreference cannot be set to mock in production environment.")}var u;const m=i?.debugMode||t.getDebugMode();if(void 0!==m&&"boolean"!=typeof m)throw new e("operationSettings.debugMode must be a boolean.");const p=i?.proxyRequestFunction||t.getProxyRequestFunction();if(p&&"function"!=typeof p)throw new e("operationSettings.proxyRequestFunction must be a function.");const f=i?.proxyEndpointDescriptor||t.getProxyEndpointDescriptor();if(f&&!f.path)throw new e("operationSettings.proxyEndpointDescriptor must have at least a string-formatted path property.");return{...i,uiParentElementId:a,mfaPreference:c,debugMode:m,proxyRequestFunction:p,proxyEndpointDescriptor:f}}export{i as validateOperationSettingsParams};
1
+ import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";import{operationSettingsManager as t}from"../common/operation-settings/operation-settings.js";import{MFA_METHODS as n}from"../common/constants.js";import{environmentManager as o}from"../common/environment/environment-manager.js";const r={requiresUI:!1};function i(i,{requiresUI:s}=r){const p=i?.uiParentElementId||t.getUIParentElementId();if(s){if(!p)throw new e("operationSettings parameter must have a uiParentElementId for the called function.\nYou can pass it either to the initialize function or in a per function basis.");if(!["string","function"].includes(typeof p))throw new e("operationSettings.uiParentElementId must be a string or a function returning an HTMLElement")}const u=i?.mfaPreference||t.getMFAPreference();if(u){const t=(c=Object.values(n),o.isProductionEnvironment()?c.filter((e=>e!==n.MOCK)):c);if(!t.includes(u))throw new e(`operationSettings.mfaPreference must be one of ${t.join(", ")}`);if(o.isProductionEnvironment()&&u===n.MOCK)throw new e("operationSettings.mfaPreference cannot be set to mock in production environment.")}var c;const a=i?.debugMode||t.getDebugMode();if(void 0!==a&&"boolean"!=typeof a)throw new e("operationSettings.debugMode must be a boolean.");const m=i?.proxyRequestFunction||t.getProxyRequestFunction();if(m&&"function"!=typeof m)throw new e("operationSettings.proxyRequestFunction must be a function.");const f=i?.proxyEndpointDescriptor||t.getProxyEndpointDescriptor();if(f&&!f.path)throw new e("operationSettings.proxyEndpointDescriptor must have at least a string-formatted path property.");return{...i,uiParentElementId:p,mfaPreference:u,debugMode:a,proxyRequestFunction:m,proxyEndpointDescriptor:f}}function s(n,o){const r=n?.proxyRequestFunction||t.getProxyRequestFunction(),i=n?.proxyEndpointDescriptor||t.getProxyEndpointDescriptor();if(!r&&!i)throw new e(o||"Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import the server version of this module.");return{...n,proxyRequestFunction:r,proxyEndpointDescriptor:i}}export{s as validateClientOperationSettings,i as validateOperationSettingsParams};
@@ -1,11 +1,11 @@
1
1
  import type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings } from '@cards/cards.types';
2
2
  import type { Beneficiary, GetBeneficiariesResponse } from '@beneficiaries/beneficiaries.types';
3
- import type { SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, VopVerificationResult, VopCheckResult } from '@sepa-transfers/sepa-transfers.types';
3
+ import type { SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, CreateSepaTransferResponse, VopVerificationResult, VopCheckResult } from '@sepa-transfers/shared/sepa-transfers.types';
4
4
  import type { PaginationState } from '@common/api-pagination/api-pagination.types';
5
5
  import type { Locale } from '@common/locale/locale.types';
6
6
  import type { BankAccount, ACCOUNT_STATUS } from '@organizations/organizations.types';
7
7
  import type { CreatePaymentLinkSettings, Item, PaymentLinkParams } from '@payment-links/payment-links.types';
8
8
  import type { Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings } from '@transactions/transactions.types';
9
9
  import type { AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction } from '@auth-links/auth-links.types';
10
- export type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, GetBeneficiariesResponse, SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, VopVerificationResult, VopCheckResult, PaginationState, Locale, BankAccount, ACCOUNT_STATUS, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
10
+ export type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, GetBeneficiariesResponse, SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, CreateSepaTransferResponse, Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, VopVerificationResult, VopCheckResult, PaginationState, Locale, BankAccount, ACCOUNT_STATUS, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
11
11
  //# sourceMappingURL=types.public-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.public-api.d.ts","sourceRoot":"","sources":["../../src/types/types.public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,EACf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,yBAAyB,EACzB,IAAI,EACJ,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,MAAM,EACN,WAAW,EACX,cAAc,EACd,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
1
+ {"version":3,"file":"types.public-api.d.ts","sourceRoot":"","sources":["../../src/types/types.public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,cAAc,EACf,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,yBAAyB,EACzB,IAAI,EACJ,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,MAAM,EACN,WAAW,EACX,cAAc,EACd,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
@@ -10,7 +10,7 @@ import '../../../customizable-components/select-field/qonto-option.ts';
10
10
  import '../../../customizable-components/amount-field/qonto-amount-field.ts';
11
11
  import type { OperationSettings } from '@validation/operation-settings-validation.ts';
12
12
  import type { BankAccount } from '@organizations/organizations.types.ts';
13
- import type { VopVerificationResult } from '@sepa-transfers/sepa-transfers.types';
13
+ import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
14
14
  import type { Beneficiary } from '@beneficiaries/beneficiaries.types.ts';
15
15
  export declare class TransferDetailsPage extends LitElement {
16
16
  static styles: import("lit").CSSResult;
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-details-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,yDAAyD,CAAC;AACjE,OAAO,gFAAgF,CAAC;AACxF,OAAO,6EAA6E,CAAC;AACrF,OAAO,iEAAiE,CAAC;AACzE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,+DAA+D,CAAC;AACvE,OAAO,qEAAqE,CAAC;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAMzE,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAGrC,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAGxC,cAAc,EAAE,MAAM,CAAK;IAG3B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,OAAO,CAAC,YAAY,CAAqB;IAGzC,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAGlC,OAAO,CAAC,aAAa,CAAkB;IAGvC,OAAO,CAAC,gBAAgB,CAAkB;IAE1C,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,iBAAiB;IAwB/B,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,YAAY;IAYpB,MAAM;CA6IP"}
1
+ {"version":3,"file":"transfer-details-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,yDAAyD,CAAC;AACjE,OAAO,gFAAgF,CAAC;AACxF,OAAO,6EAA6E,CAAC;AACrF,OAAO,iEAAiE,CAAC;AACzE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,+DAA+D,CAAC;AACvE,OAAO,qEAAqE,CAAC;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAGzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAMzE,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAGrC,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAGxC,cAAc,EAAE,MAAM,CAAK;IAG3B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,OAAO,CAAC,YAAY,CAAqB;IAGzC,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAGlC,OAAO,CAAC,aAAa,CAAkB;IAGvC,OAAO,CAAC,gBAAgB,CAAkB;IAE1C,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,iBAAiB;IAwB/B,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,YAAY;IAYpB,MAAM;CA6IP"}
@@ -4,7 +4,7 @@ import '../../../customizable-components/button/qonto-button.ts';
4
4
  import type { OperationSettings } from '@validation/operation-settings-validation.ts';
5
5
  import type { BankAccount } from '@organizations/organizations.types.ts';
6
6
  import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
7
- import type { VopVerificationResult } from '@sepa-transfers/sepa-transfers.types';
7
+ import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
8
8
  export declare class TransferSummaryPage extends LitElement {
9
9
  static styles: import("lit").CSSResult;
10
10
  operationSettings: OperationSettings | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAKlF,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAa;IAGjD,cAAc,EAAE,WAAW,GAAG,SAAS,CAAa;IAGpD,cAAc,EAAE,MAAM,CAAM;IAG5B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;IAcrB,MAAM;CAuGP"}
1
+ {"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKzF,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAa;IAGjD,cAAc,EAAE,WAAW,GAAG,SAAS,CAAa;IAGpD,cAAc,EAAE,MAAM,CAAM;IAG5B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;IAcrB,MAAM;CAuGP"}
@@ -1 +1 @@
1
- {"version":3,"file":"sepa-transfer-creation.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAQnF,OAAO,uCAAuC,CAAC;AAC/C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,iDAAiD,CAAC;AAiBzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;;;;;;;;;;;;GAaG;AACH,qBAEa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,0BAA8B;IAG3C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,WAAW,CACyB;IAG5C,OAAO,CAAC,QAAQ,CAKd;IAGF,OAAO,CAAC,uBAAuB,CAEjB;IAGd,OAAO,CAAC,SAAS,CAAoC;IAGrD,OAAO,CAAC,kBAAkB,CAAkB;IAG5C,OAAO,CAAC,aAAa,CAAqB;IAE1C,iBAAiB;IAkBjB,oBAAoB;IAoBpB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,4BAA4B,CAoDlC;IAEF,OAAO,CAAC,8BAA8B,CAYpC;IAEF,OAAO,CAAC,cAAc,CAEpB;IAEF,OAAO,CAAC,uBAAuB,CAkD7B;IAEF,MAAM;CA+CP"}
1
+ {"version":3,"file":"sepa-transfer-creation.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAQnF,OAAO,uCAAuC,CAAC;AAC/C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,iDAAiD,CAAC;AAiBzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;;;;;;;;;;;;GAaG;AACH,qBAEa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,0BAA8B;IAG3C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,WAAW,CACyB;IAG5C,OAAO,CAAC,QAAQ,CAKd;IAGF,OAAO,CAAC,uBAAuB,CAKjB;IAGd,OAAO,CAAC,SAAS,CAAoC;IAGrD,OAAO,CAAC,kBAAkB,CAAkB;IAG5C,OAAO,CAAC,aAAa,CAAqB;IAE1C,iBAAiB;IAkBjB,oBAAoB;IAoBpB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,4BAA4B,CA8DlC;IAEF,OAAO,CAAC,8BAA8B,CAYpC;IAEF,OAAO,CAAC,cAAc,CAEpB;IAEF,OAAO,CAAC,uBAAuB,CAkD7B;IAEF,MAAM;CA+CP"}