@qonto/embed-sdk 0.51.0 → 0.51.2

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 (470) hide show
  1. package/dist/auth-links/auth-links.api.d.ts +2 -2
  2. package/dist/auth-links/auth-links.api.d.ts.map +1 -1
  3. package/dist/auth-links/auth-links.d.ts.map +1 -1
  4. package/dist/auth-links/auth-links.types.d.ts +1 -1
  5. package/dist/auth-links/auth-links.types.d.ts.map +1 -1
  6. package/dist/auth-links/auth-links.validate.d.ts.map +1 -1
  7. package/dist/beneficiaries/beneficiaries.api.d.ts +1 -1
  8. package/dist/beneficiaries/beneficiaries.api.d.ts.map +1 -1
  9. package/dist/beneficiaries/beneficiaries.d.ts +1 -1
  10. package/dist/beneficiaries/beneficiaries.d.ts.map +1 -1
  11. package/dist/beneficiaries/beneficiaries.public-api.d.ts +1 -1
  12. package/dist/beneficiaries/beneficiaries.public-api.d.ts.map +1 -1
  13. package/dist/beneficiaries/beneficiaries.types.d.ts +1 -1
  14. package/dist/beneficiaries/beneficiaries.types.d.ts.map +1 -1
  15. package/dist/beneficiaries/beneficiaries.validate.d.ts.map +1 -1
  16. package/dist/cards/cards.api.d.ts +3 -3
  17. package/dist/cards/cards.api.d.ts.map +1 -1
  18. package/dist/cards/cards.d.ts +1 -1
  19. package/dist/cards/cards.d.ts.map +1 -1
  20. package/dist/cards/cards.helper.d.ts.map +1 -1
  21. package/dist/cards/cards.public-api.d.ts +1 -1
  22. package/dist/cards/cards.public-api.d.ts.map +1 -1
  23. package/dist/cards/cards.serializer.d.ts.map +1 -1
  24. package/dist/cards/cards.validate.d.ts.map +1 -1
  25. package/dist/common/analytics/amplitude-manager.d.ts +33 -0
  26. package/dist/common/analytics/amplitude-manager.d.ts.map +1 -0
  27. package/dist/common/analytics/analytics-tracker.d.ts +32 -0
  28. package/dist/common/analytics/analytics-tracker.d.ts.map +1 -0
  29. package/dist/common/analytics/analytics.constants.d.ts +23 -0
  30. package/dist/common/analytics/analytics.constants.d.ts.map +1 -0
  31. package/dist/common/analytics/index.d.ts +4 -0
  32. package/dist/common/analytics/index.d.ts.map +1 -0
  33. package/dist/common/common.public-api.d.ts +1 -1
  34. package/dist/common/common.public-api.d.ts.map +1 -1
  35. package/dist/common/common.utils.d.ts +2 -2
  36. package/dist/common/common.utils.d.ts.map +1 -1
  37. package/dist/common/initialize/initialize.d.ts.map +1 -1
  38. package/dist/common/initialize/initialize.types.d.ts +1 -1
  39. package/dist/common/initialize/initialize.types.d.ts.map +1 -1
  40. package/dist/common/initialize/initialize.validate.d.ts.map +1 -1
  41. package/dist/common/locale/locale.validate.d.ts.map +1 -1
  42. package/dist/common/network/network.d.ts.map +1 -1
  43. package/dist/common/operation-settings/operation-settings.d.ts +2 -2
  44. package/dist/common/operation-settings/operation-settings.d.ts.map +1 -1
  45. package/dist/common/sentry/sentry-manager.d.ts.map +1 -1
  46. package/dist/customization/customization.d.ts.map +1 -1
  47. package/dist/iframe/embed-iframe.d.ts +1 -1
  48. package/dist/iframe/embed-iframe.d.ts.map +1 -1
  49. package/dist/iframe/iframe-manager.d.ts +1 -1
  50. package/dist/iframe/iframe-manager.d.ts.map +1 -1
  51. package/dist/iframe/iframe-message-builder.d.ts.map +1 -1
  52. package/dist/index.d.ts +6 -6
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.server.d.ts +1 -1
  55. package/dist/index.server.d.ts.map +1 -1
  56. package/dist/index.umd.js +587 -594
  57. package/dist/mocks/handlers.d.ts +3 -3
  58. package/dist/mocks/handlers.d.ts.map +1 -1
  59. package/dist/mocks/node.d.ts.map +1 -1
  60. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +1 -0
  61. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +1 -0
  62. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +1 -0
  63. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +1 -0
  64. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +1 -0
  65. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/config.js +1 -0
  66. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/constants.js +1 -0
  67. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js +1 -0
  68. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +1 -0
  69. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js +1 -0
  70. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js +1 -0
  71. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/lib-prefix.js +1 -0
  72. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js +1 -0
  73. 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
  74. 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
  75. 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
  76. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js +1 -0
  77. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js +1 -0
  78. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +1 -0
  79. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +1 -0
  80. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/types.js +1 -0
  81. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js +1 -0
  82. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/version.js +1 -0
  83. package/dist/node_modules/.pnpm/@amplitude_analytics-connector@1.6.4/node_modules/@amplitude/analytics-connector/dist/analytics-connector.esm.js +1 -0
  84. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js +1 -0
  85. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js +1 -0
  86. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/config.js +1 -0
  87. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js +1 -0
  88. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/core-client.js +1 -0
  89. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js +1 -0
  90. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js +1 -0
  91. 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
  92. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js +1 -0
  93. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js +1 -0
  94. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/language.js +1 -0
  95. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/logger.js +1 -0
  96. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/network-observer.js +1 -0
  97. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js +1 -0
  98. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +1 -0
  99. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js +1 -0
  100. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js +1 -0
  101. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/query-params.js +1 -0
  102. 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
  103. 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
  104. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js +1 -0
  105. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/session.js +1 -0
  106. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js +1 -0
  107. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +1 -0
  108. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js +1 -0
  109. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js +1 -0
  110. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/timeline.js +1 -0
  111. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +1 -0
  112. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js +1 -0
  113. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js +1 -0
  114. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js +1 -0
  115. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js +1 -0
  116. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js +1 -0
  117. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js +1 -0
  118. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js +1 -0
  119. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js +1 -0
  120. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js +1 -0
  121. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/status.js +1 -0
  122. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js +1 -0
  123. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js +1 -0
  124. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js +1 -0
  125. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js +1 -0
  126. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -0
  127. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js +1 -0
  128. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js +1 -0
  129. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/sampling.js +1 -0
  130. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js +1 -0
  131. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js +1 -0
  132. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js +1 -0
  133. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js +1 -0
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +1 -0
  141. 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
  142. 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
  143. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +1 -0
  144. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js +1 -0
  145. 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
  146. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -0
  147. 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
  148. 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
  149. 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
  150. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +1 -0
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. package/dist/node_modules/.pnpm/web-vitals@5.0.1/node_modules/web-vitals/dist/web-vitals.js +1 -0
  161. package/dist/node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js +1 -0
  162. package/dist/organizations/organizations.api.d.ts.map +1 -1
  163. package/dist/organizations/organizations.d.ts +1 -1
  164. package/dist/organizations/organizations.d.ts.map +1 -1
  165. package/dist/payment-links/payment-links.d.ts.map +1 -1
  166. package/dist/payment-links/validation/payment-links.validate.d.ts +1 -1
  167. package/dist/payment-links/validation/payment-links.validate.d.ts.map +1 -1
  168. package/dist/sca/sca.d.ts.map +1 -1
  169. package/dist/sca/sca.serializer.d.ts +1 -1
  170. package/dist/sca/sca.serializer.d.ts.map +1 -1
  171. package/dist/sca/sca.types.d.ts.map +1 -1
  172. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +1 -1
  173. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -1
  174. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -1
  175. package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +1 -1
  176. package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -1
  177. package/dist/sepa-transfers/bulk-transfers/index.d.ts +1 -1
  178. package/dist/sepa-transfers/bulk-transfers/index.d.ts.map +1 -1
  179. package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +1 -1
  180. package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -1
  181. package/dist/sepa-transfers/bulk-transfers/server.d.ts +1 -1
  182. package/dist/sepa-transfers/bulk-transfers/server.d.ts.map +1 -1
  183. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts +2 -2
  184. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -1
  185. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +1 -1
  186. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -1
  187. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -1
  188. package/dist/sepa-transfers/client/sepa-transfers.client.d.ts +2 -2
  189. package/dist/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -1
  190. package/dist/sepa-transfers/index.d.ts +1 -1
  191. package/dist/sepa-transfers/index.d.ts.map +1 -1
  192. package/dist/sepa-transfers/index.server.d.ts +1 -1
  193. package/dist/sepa-transfers/index.server.d.ts.map +1 -1
  194. package/dist/sepa-transfers/sepa-transfers.d.ts +1 -1
  195. package/dist/sepa-transfers/sepa-transfers.d.ts.map +1 -1
  196. package/dist/sepa-transfers/sepa-transfers.public-api.d.ts +2 -2
  197. package/dist/sepa-transfers/sepa-transfers.public-api.d.ts.map +1 -1
  198. package/dist/sepa-transfers/server/sepa-transfers.server.d.ts +1 -1
  199. package/dist/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -1
  200. package/dist/sepa-transfers/shared/sepa-transfers.api.d.ts +1 -1
  201. package/dist/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -1
  202. package/dist/sepa-transfers/shared/sepa-transfers.serializer.d.ts +1 -1
  203. package/dist/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -1
  204. package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts +2 -2
  205. package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -1
  206. package/dist/sepa-transfers/shared/sepa-transfers.utils.d.ts +3 -3
  207. package/dist/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -1
  208. package/dist/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -1
  209. package/dist/server/auth-links/auth-links.api.d.ts +2 -2
  210. package/dist/server/auth-links/auth-links.api.d.ts.map +1 -1
  211. package/dist/server/auth-links/auth-links.d.ts.map +1 -1
  212. package/dist/server/auth-links/auth-links.types.d.ts +1 -1
  213. package/dist/server/auth-links/auth-links.types.d.ts.map +1 -1
  214. package/dist/server/auth-links/auth-links.validate.d.ts.map +1 -1
  215. package/dist/server/beneficiaries/beneficiaries.api.d.ts +1 -1
  216. package/dist/server/beneficiaries/beneficiaries.api.d.ts.map +1 -1
  217. package/dist/server/beneficiaries/beneficiaries.d.ts +1 -1
  218. package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -1
  219. package/dist/server/beneficiaries/beneficiaries.public-api.d.ts +1 -1
  220. package/dist/server/beneficiaries/beneficiaries.public-api.d.ts.map +1 -1
  221. package/dist/server/beneficiaries/beneficiaries.types.d.ts +1 -1
  222. package/dist/server/beneficiaries/beneficiaries.types.d.ts.map +1 -1
  223. package/dist/server/beneficiaries/beneficiaries.validate.d.ts.map +1 -1
  224. package/dist/server/cards/cards.api.d.ts +3 -3
  225. package/dist/server/cards/cards.api.d.ts.map +1 -1
  226. package/dist/server/cards/cards.d.ts +1 -1
  227. package/dist/server/cards/cards.d.ts.map +1 -1
  228. package/dist/server/cards/cards.helper.d.ts.map +1 -1
  229. package/dist/server/cards/cards.public-api.d.ts +1 -1
  230. package/dist/server/cards/cards.public-api.d.ts.map +1 -1
  231. package/dist/server/cards/cards.serializer.d.ts.map +1 -1
  232. package/dist/server/cards/cards.validate.d.ts.map +1 -1
  233. package/dist/server/common/analytics/amplitude-manager.d.ts +33 -0
  234. package/dist/server/common/analytics/amplitude-manager.d.ts.map +1 -0
  235. package/dist/server/common/analytics/analytics-tracker.d.ts +32 -0
  236. package/dist/server/common/analytics/analytics-tracker.d.ts.map +1 -0
  237. package/dist/server/common/analytics/analytics.constants.d.ts +23 -0
  238. package/dist/server/common/analytics/analytics.constants.d.ts.map +1 -0
  239. package/dist/server/common/analytics/index.d.ts +4 -0
  240. package/dist/server/common/analytics/index.d.ts.map +1 -0
  241. package/dist/server/common/common.public-api.d.ts +1 -1
  242. package/dist/server/common/common.public-api.d.ts.map +1 -1
  243. package/dist/server/common/common.utils.d.ts +2 -2
  244. package/dist/server/common/common.utils.d.ts.map +1 -1
  245. package/dist/server/common/initialize/initialize.d.ts.map +1 -1
  246. package/dist/server/common/initialize/initialize.types.d.ts +1 -1
  247. package/dist/server/common/initialize/initialize.types.d.ts.map +1 -1
  248. package/dist/server/common/initialize/initialize.validate.d.ts.map +1 -1
  249. package/dist/server/common/locale/locale.validate.d.ts.map +1 -1
  250. package/dist/server/common/network/network.d.ts.map +1 -1
  251. package/dist/server/common/operation-settings/operation-settings.d.ts +2 -2
  252. package/dist/server/common/operation-settings/operation-settings.d.ts.map +1 -1
  253. package/dist/server/common/sentry/sentry-manager.d.ts.map +1 -1
  254. package/dist/server/customization/customization.d.ts.map +1 -1
  255. package/dist/server/iframe/embed-iframe.d.ts +1 -1
  256. package/dist/server/iframe/embed-iframe.d.ts.map +1 -1
  257. package/dist/server/iframe/iframe-manager.d.ts +1 -1
  258. package/dist/server/iframe/iframe-manager.d.ts.map +1 -1
  259. package/dist/server/iframe/iframe-message-builder.d.ts.map +1 -1
  260. package/dist/server/index.d.ts +6 -6
  261. package/dist/server/index.d.ts.map +1 -1
  262. package/dist/server/index.server.d.ts +1 -1
  263. package/dist/server/index.server.d.ts.map +1 -1
  264. package/dist/server/index.server.umd.js +1 -1
  265. package/dist/server/mocks/handlers.d.ts +3 -3
  266. package/dist/server/mocks/handlers.d.ts.map +1 -1
  267. package/dist/server/mocks/node.d.ts.map +1 -1
  268. package/dist/server/organizations/organizations.api.d.ts.map +1 -1
  269. package/dist/server/organizations/organizations.d.ts +1 -1
  270. package/dist/server/organizations/organizations.d.ts.map +1 -1
  271. package/dist/server/payment-links/payment-links.d.ts.map +1 -1
  272. package/dist/server/payment-links/validation/payment-links.validate.d.ts +1 -1
  273. package/dist/server/payment-links/validation/payment-links.validate.d.ts.map +1 -1
  274. package/dist/server/sca/sca.d.ts.map +1 -1
  275. package/dist/server/sca/sca.serializer.d.ts +1 -1
  276. package/dist/server/sca/sca.serializer.d.ts.map +1 -1
  277. package/dist/server/sca/sca.types.d.ts.map +1 -1
  278. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +1 -1
  279. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -1
  280. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -1
  281. package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +1 -1
  282. package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -1
  283. package/dist/server/sepa-transfers/bulk-transfers/index.d.ts +1 -1
  284. package/dist/server/sepa-transfers/bulk-transfers/index.d.ts.map +1 -1
  285. package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +1 -1
  286. package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -1
  287. package/dist/server/sepa-transfers/bulk-transfers/server.d.ts +1 -1
  288. package/dist/server/sepa-transfers/bulk-transfers/server.d.ts.map +1 -1
  289. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts +2 -2
  290. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -1
  291. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +1 -1
  292. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -1
  293. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -1
  294. package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts +2 -2
  295. package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -1
  296. package/dist/server/sepa-transfers/index.d.ts +1 -1
  297. package/dist/server/sepa-transfers/index.d.ts.map +1 -1
  298. package/dist/server/sepa-transfers/index.server.d.ts +1 -1
  299. package/dist/server/sepa-transfers/index.server.d.ts.map +1 -1
  300. package/dist/server/sepa-transfers/sepa-transfers.d.ts +1 -1
  301. package/dist/server/sepa-transfers/sepa-transfers.d.ts.map +1 -1
  302. package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts +2 -2
  303. package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts.map +1 -1
  304. package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts +1 -1
  305. package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -1
  306. package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts +1 -1
  307. package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -1
  308. package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts +1 -1
  309. package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -1
  310. package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts +2 -2
  311. package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -1
  312. package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts +3 -3
  313. package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -1
  314. package/dist/server/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -1
  315. package/dist/server/src/auth-links/auth-links.js +1 -1
  316. package/dist/server/src/auth-links/auth-links.validate.js +1 -1
  317. package/dist/server/src/beneficiaries/beneficiaries.js +1 -1
  318. package/dist/server/src/common/common.utils.js +1 -1
  319. package/dist/server/src/common/network/network.js +1 -1
  320. package/dist/server/src/sepa-transfers/bulk-transfers/server/bulk-transfers.server.js +1 -1
  321. package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -1
  322. package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -1
  323. package/dist/server/src/sepa-transfers/index.server.js +1 -1
  324. package/dist/server/src/sepa-transfers/server/sepa-transfers.server.js +1 -1
  325. package/dist/server/src/sepa-transfers/shared/sepa-transfers.api.js +1 -1
  326. package/dist/server/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -1
  327. package/dist/server/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -1
  328. package/dist/server/src/validation/operation-settings-validation.js +1 -1
  329. package/dist/server/transactions/transactions.api.d.ts +1 -1
  330. package/dist/server/transactions/transactions.api.d.ts.map +1 -1
  331. package/dist/server/transactions/transactions.d.ts +1 -1
  332. package/dist/server/transactions/transactions.d.ts.map +1 -1
  333. package/dist/server/transactions/transactions.public-api.d.ts +1 -1
  334. package/dist/server/transactions/transactions.public-api.d.ts.map +1 -1
  335. package/dist/server/transactions/transactions.validation.d.ts.map +1 -1
  336. package/dist/server/types/index.d.ts +1 -1
  337. package/dist/server/types/index.d.ts.map +1 -1
  338. package/dist/server/types/types.public-api.d.ts +5 -5
  339. package/dist/server/types/types.public-api.d.ts.map +1 -1
  340. package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.d.ts.map +1 -1
  341. package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts.map +1 -1
  342. package/dist/server/ui/customizable-components/select-field/qonto-select-field.d.ts.map +1 -1
  343. package/dist/server/ui/customizable-components/text/qonto-text-body.d.ts.map +1 -1
  344. package/dist/server/ui/customizable-components/text/qonto-text-heading.d.ts.map +1 -1
  345. package/dist/server/ui/customizable-components/text-field/qonto-text-field.d.ts.map +1 -1
  346. package/dist/server/ui/ui-elements/localize/configure-localization.d.ts.map +1 -1
  347. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts +1 -1
  348. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts.map +1 -1
  349. package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts.map +1 -1
  350. package/dist/server/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map +1 -1
  351. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts +1 -1
  352. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts.map +1 -1
  353. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  354. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +4 -4
  355. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  356. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts.map +1 -1
  357. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts.map +1 -1
  358. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +4 -4
  359. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  360. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts.map +1 -1
  361. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -1
  362. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
  363. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  364. package/dist/server/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts.map +1 -1
  365. package/dist/server/ui/ui-elements/transfer-list/transfer-list.d.ts.map +1 -1
  366. package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts +1 -1
  367. package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts.map +1 -1
  368. package/dist/server/ui/ui-elements.d.ts.map +1 -1
  369. package/dist/server/ui/ui-elements.types.d.ts +1 -1
  370. package/dist/server/ui/ui-elements.types.d.ts.map +1 -1
  371. package/dist/server/ui/ui-elements.validation.d.ts.map +1 -1
  372. package/dist/server/validation/operation-settings-validation.d.ts +2 -2
  373. package/dist/server/validation/operation-settings-validation.d.ts.map +1 -1
  374. package/dist/src/auth-links/auth-links.js +1 -1
  375. package/dist/src/auth-links/auth-links.validate.js +1 -1
  376. package/dist/src/beneficiaries/beneficiaries.api.js +1 -1
  377. package/dist/src/beneficiaries/beneficiaries.js +1 -1
  378. package/dist/src/beneficiaries/beneficiaries.validate.js +1 -1
  379. package/dist/src/cards/cards.api.js +1 -1
  380. package/dist/src/cards/cards.js +1 -1
  381. package/dist/src/common/analytics/amplitude-manager.js +1 -0
  382. package/dist/src/common/analytics/analytics-tracker.js +1 -0
  383. package/dist/src/common/analytics/analytics.constants.js +1 -0
  384. package/dist/src/common/common.public-api.js +1 -1
  385. package/dist/src/common/common.utils.js +1 -1
  386. package/dist/src/common/initialize/initialize.js +1 -1
  387. package/dist/src/common/initialize/initialize.validate.js +1 -1
  388. package/dist/src/common/network/network.js +1 -1
  389. package/dist/src/common/sentry/sentry-manager.js +1 -1
  390. package/dist/src/iframe/embed-iframe.js +1 -1
  391. package/dist/src/iframe/iframe-manager.js +1 -1
  392. package/dist/src/index.js +1 -1
  393. package/dist/src/organizations/organizations.js +1 -1
  394. package/dist/src/payment-links/payment-links.js +1 -1
  395. package/dist/src/sca/sca.js +1 -1
  396. package/dist/src/sepa-transfers/bulk-transfers/client/bulk-transfers.client.js +1 -1
  397. package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -1
  398. package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -1
  399. package/dist/src/sepa-transfers/client/sepa-transfers.client.js +1 -1
  400. package/dist/src/sepa-transfers/index.js +1 -1
  401. package/dist/src/sepa-transfers/sepa-transfers.js +1 -1
  402. package/dist/src/sepa-transfers/shared/sepa-transfers.api.js +1 -1
  403. package/dist/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -1
  404. package/dist/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -1
  405. package/dist/src/transactions/transactions.js +1 -1
  406. package/dist/src/ui/customizable-components/badge-status/qonto-badge-status.js +2 -2
  407. package/dist/src/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.js +3 -3
  408. package/dist/src/ui/customizable-components/select-field/qonto-select-field.js +1 -1
  409. package/dist/src/ui/customizable-components/text/qonto-text-heading.js +1 -1
  410. package/dist/src/ui/ui-elements/localize/configure-localization.js +1 -1
  411. package/dist/src/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.js +9 -9
  412. package/dist/src/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.js +2 -2
  413. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.js +4 -4
  414. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.js +24 -24
  415. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.js +4 -4
  416. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.js +5 -5
  417. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.js +14 -14
  418. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.js +8 -8
  419. package/dist/src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.js +7 -7
  420. package/dist/src/ui/ui-elements/transfer-list/transfer-list.js +17 -17
  421. package/dist/src/ui/ui-elements/transfer-list/transfer-list.utils.js +1 -1
  422. package/dist/src/ui/ui-elements.js +1 -1
  423. package/dist/src/ui/ui-elements.validation.js +1 -1
  424. package/dist/src/validation/operation-settings-validation.js +1 -1
  425. package/dist/transactions/transactions.api.d.ts +1 -1
  426. package/dist/transactions/transactions.api.d.ts.map +1 -1
  427. package/dist/transactions/transactions.d.ts +1 -1
  428. package/dist/transactions/transactions.d.ts.map +1 -1
  429. package/dist/transactions/transactions.public-api.d.ts +1 -1
  430. package/dist/transactions/transactions.public-api.d.ts.map +1 -1
  431. package/dist/transactions/transactions.validation.d.ts.map +1 -1
  432. package/dist/types/index.d.ts +1 -1
  433. package/dist/types/index.d.ts.map +1 -1
  434. package/dist/types/types.public-api.d.ts +5 -5
  435. package/dist/types/types.public-api.d.ts.map +1 -1
  436. package/dist/ui/customizable-components/amount-field/qonto-amount-field.d.ts.map +1 -1
  437. package/dist/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts.map +1 -1
  438. package/dist/ui/customizable-components/select-field/qonto-select-field.d.ts.map +1 -1
  439. package/dist/ui/customizable-components/text/qonto-text-body.d.ts.map +1 -1
  440. package/dist/ui/customizable-components/text/qonto-text-heading.d.ts.map +1 -1
  441. package/dist/ui/customizable-components/text-field/qonto-text-field.d.ts.map +1 -1
  442. package/dist/ui/ui-elements/localize/configure-localization.d.ts.map +1 -1
  443. package/dist/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts +1 -1
  444. package/dist/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts.map +1 -1
  445. package/dist/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts.map +1 -1
  446. package/dist/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map +1 -1
  447. package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts +1 -1
  448. package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts.map +1 -1
  449. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  450. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +4 -4
  451. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  452. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts.map +1 -1
  453. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts.map +1 -1
  454. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +4 -4
  455. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  456. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts.map +1 -1
  457. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -1
  458. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
  459. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  460. package/dist/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts.map +1 -1
  461. package/dist/ui/ui-elements/transfer-list/transfer-list.d.ts.map +1 -1
  462. package/dist/ui/ui-elements/transfer-list/transfer-list.utils.d.ts +1 -1
  463. package/dist/ui/ui-elements/transfer-list/transfer-list.utils.d.ts.map +1 -1
  464. package/dist/ui/ui-elements.d.ts.map +1 -1
  465. package/dist/ui/ui-elements.types.d.ts +1 -1
  466. package/dist/ui/ui-elements.types.d.ts.map +1 -1
  467. package/dist/ui/ui-elements.validation.d.ts.map +1 -1
  468. package/dist/validation/operation-settings-validation.d.ts +2 -2
  469. package/dist/validation/operation-settings-validation.d.ts.map +1 -1
  470. package/package.json +5 -3
@@ -1 +1 @@
1
- {"version":3,"file":"create-sepa-transfer-creation-element.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAKpE;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAAC,EAChD,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,CAAC,KAAK,CAAC,GAAG,IAAI,CAkCtC"}
1
+ {"version":3,"file":"create-sepa-transfer-creation-element.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAC;AAIlC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAIpE;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAAC,EAChD,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,CAAC,KAAK,CAAC,GAAG,IAAI,CAkCtC"}
@@ -1,10 +1,10 @@
1
1
  import { LitElement } from 'lit';
2
+ import type { OperationSettings } from '@validation/operation-settings-validation.ts';
2
3
  import '../../../customizable-components/styles/styles.css';
3
4
  import '../../../customizable-components/text/qonto-text-heading.ts';
4
5
  import '../../../customizable-components/text/qonto-text-body.ts';
5
6
  import '../../../customizable-components/button/qonto-button.ts';
6
7
  import '../../../customizable-components/beneficiary-card/qonto-beneficiary-card.ts';
7
- import type { OperationSettings } from '@validation/operation-settings-validation.ts';
8
8
  export declare class BeneficiarySelectionPage extends LitElement {
9
9
  static styles: import("lit").CSSResult;
10
10
  operationSettings: OperationSettings | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"beneficiary-selection-page.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AASvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,0DAA0D,CAAC;AAClE,OAAO,yDAAyD,CAAC;AACjE,OAAO,6EAA6E,CAAC;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAKtF,qBAEa,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAC,MAAM,0BAAkC;IAG/C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,aAAa,CAA4B;IAGjD,OAAO,CAAC,eAAe,CAA8B;IAGrD,OAAO,CAAC,SAAS,CAAkB;IAEnC,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,kBAAkB;IA4BhC,OAAO,CAAC,UAAU;IAUlB,MAAM;CA0BP"}
1
+ {"version":3,"file":"beneficiary-selection-page.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAUvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAMtF,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,0DAA0D,CAAC;AAClE,OAAO,yDAAyD,CAAC;AACjE,OAAO,6EAA6E,CAAC;AAErF,qBAEa,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAC,MAAM,0BAAkC;IAG/C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,aAAa,CAA4B;IAGjD,OAAO,CAAC,eAAe,CAA8B;IAGrD,OAAO,CAAC,SAAS,CAAkB;IAEnC,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,kBAAkB;IA4BhC,OAAO,CAAC,UAAU;IAUlB,MAAM;CA0BP"}
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-details-page-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,UAAU,wBAAwB;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;CACzC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,cAAc,EACd,cAAc,GACf,EAAE,wBAAwB,GAAG,MAAM,CAcnC;AAED,UAAU,2BAA2B;IACnC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,2BAA2B,GAAG,MAAM,CAUtC"}
1
+ {"version":3,"file":"transfer-details-page-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,UAAU,wBAAwB;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;CACzC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,cAAc,EACd,cAAc,GACf,EAAE,wBAAwB,GAAG,MAAM,CAcnC;AAED,UAAU,2BAA2B;IACnC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,2BAA2B,GAAG,MAAM,CAUtC"}
@@ -1,4 +1,8 @@
1
1
  import { LitElement } from 'lit';
2
+ import type { Beneficiary } from '@beneficiaries/beneficiaries.types.ts';
3
+ import type { BankAccount } from '@organizations/organizations.types.ts';
4
+ import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
5
+ import type { OperationSettings } from '@validation/operation-settings-validation.ts';
2
6
  import '../../../customizable-components/styles/styles.css';
3
7
  import '../../../customizable-components/text/qonto-text-heading.ts';
4
8
  import '../../../customizable-components/button/qonto-button.ts';
@@ -8,10 +12,6 @@ import '../../../customizable-components/text-field/qonto-text-field.ts';
8
12
  import '../../../customizable-components/select-field/qonto-select-field.ts';
9
13
  import '../../../customizable-components/select-field/qonto-option.ts';
10
14
  import '../../../customizable-components/amount-field/qonto-amount-field.ts';
11
- import type { OperationSettings } from '@validation/operation-settings-validation.ts';
12
- import type { BankAccount } from '@organizations/organizations.types.ts';
13
- import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
14
- import type { Beneficiary } from '@beneficiaries/beneficiaries.types.ts';
15
15
  export declare class TransferDetailsPage extends LitElement {
16
16
  static styles: import("lit").CSSResult;
17
17
  operationSettings: OperationSettings | undefined;
@@ -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,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"}
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":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAKzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAOzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAQtF,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;AAE7E,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 +1 @@
1
- {"version":3,"file":"transfer-error-page.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC,OAAO,6DAA6D,CAAC;AACrE,OAAO,uEAAuE,CAAC;AAE/E,qBAEa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,0BAA2B;IAGxC,MAAM,EAAE,MAAM,CAAQ;IAEtB,iBAAiB;IAKjB,OAAO,CAAC,uBAAuB;IAQ/B,SAAS,CAAC,MAAM;CAajB"}
1
+ {"version":3,"file":"transfer-error-page.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,6DAA6D,CAAC;AACrE,OAAO,uEAAuE,CAAC;AAE/E,qBAEa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,0BAA2B;IAGxC,MAAM,EAAE,MAAM,CAAQ;IAEtB,iBAAiB;IAKjB,OAAO,CAAC,uBAAuB;IAQ/B,SAAS,CAAC,MAAM;CAajB"}
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-success-page.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAQvC,OAAO,6DAA6D,CAAC;AACrE,OAAO,gDAAgD,CAAC;AAExD,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,MAAM,EAAE,MAAM,CAAQ;IAEtB,iBAAiB;IAKjB,OAAO,CAAC,mBAAmB;IAQ3B,OAAO,CAAC,sCAAsC;IAU9C,SAAS,CAAC,MAAM;CAkBjB"}
1
+ {"version":3,"file":"transfer-success-page.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AASvC,OAAO,6DAA6D,CAAC;AACrE,OAAO,gDAAgD,CAAC;AAExD,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,MAAM,EAAE,MAAM,CAAQ;IAEtB,iBAAiB;IAKjB,OAAO,CAAC,mBAAmB;IAQ3B,OAAO,CAAC,sCAAsC;IAU9C,SAAS,CAAC,MAAM;CAkBjB"}
@@ -1,10 +1,10 @@
1
1
  import { LitElement } from 'lit';
2
- import '../../../customizable-components/styles/styles.css';
3
- import '../../../customizable-components/button/qonto-button.ts';
4
- import type { OperationSettings } from '@validation/operation-settings-validation.ts';
5
- import type { BankAccount } from '@organizations/organizations.types.ts';
6
2
  import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
3
+ import type { BankAccount } from '@organizations/organizations.types.ts';
7
4
  import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
5
+ import type { OperationSettings } from '@validation/operation-settings-validation.ts';
6
+ import '../../../customizable-components/styles/styles.css';
7
+ import '../../../customizable-components/button/qonto-button.ts';
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,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
+ {"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAOzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAItF,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AACjE,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":"transfer-summary-page.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.ts"],"names":[],"mappings":"AAOA,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,MAAM,mCA0B5D"}
1
+ {"version":3,"file":"transfer-summary-page.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.ts"],"names":[],"mappings":"AAQA,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,MAAM,mCA0B5D"}
@@ -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,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"}
1
+ {"version":3,"file":"sepa-transfer-creation.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAgBvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AASnF,OAAO,uCAAuC,CAAC;AAC/C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,iDAAiD,CAAC;AASzD;;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"}
@@ -1,5 +1,5 @@
1
- import type { BankAccount } from '@organizations/organizations.types.ts';
2
1
  import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
2
+ import type { BankAccount } from '@organizations/organizations.types.ts';
3
3
  /**
4
4
  * Event detail for recipient info submitted (Step 1)
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sepa-transfer-creation.events.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,WAAW,CAAC,iCAAiC,CAAC;gBACjF,MAAM,EAAE,iCAAiC;CAOtD;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,cAAc,EAAE,WAAW,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,mCAAmC,CAAC;gBACrF,MAAM,EAAE,mCAAmC;CAOxD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,WAAW,CAAC,+BAA+B,CAAC;gBAC7E,MAAM,EAAE,+BAA+B;CAOpD"}
1
+ {"version":3,"file":"sepa-transfer-creation.events.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,WAAW,CAAC,iCAAiC,CAAC;gBACjF,MAAM,EAAE,iCAAiC;CAOtD;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,cAAc,EAAE,WAAW,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,mCAAmC,CAAC;gBACrF,MAAM,EAAE,mCAAmC;CAOxD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,WAAW,CAAC,+BAA+B,CAAC;gBAC7E,MAAM,EAAE,+BAA+B;CAOpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-transfer-list-element.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/transfer-list/create-transfer-list-element.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAIpE;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,CAAC,KAAK,CAAC,GAAG,IAAI,CAoBtC"}
1
+ {"version":3,"file":"create-transfer-list-element.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/transfer-list/create-transfer-list-element.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AAGzB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAIpE;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,CAAC,KAAK,CAAC,GAAG,IAAI,CAoBtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-list.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/transfer-list/transfer-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAevC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAQnF,OAAO,iDAAiD,CAAC;AACzD,OAAO,sDAAsD,CAAC;AA4B9D,qBAEa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BAAsB;IAGnC,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,SAAS,CAA6B;IAG9C,OAAO,CAAC,eAAe,CAA8B;IAGrD,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAElC,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,cAAc;IA8B5B,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,cAAc;IAOtB,MAAM;CA8EP"}
1
+ {"version":3,"file":"transfer-list.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/transfer-list/transfer-list.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAYvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAWnF,OAAO,iDAAiD,CAAC;AACzD,OAAO,sDAAsD,CAAC;AA4B9D,qBAEa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BAAsB;IAGnC,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,SAAS,CAA6B;IAG9C,OAAO,CAAC,eAAe,CAA8B;IAGrD,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAElC,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,cAAc;IA8B5B,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,cAAc;IAOtB,MAAM;CA8EP"}
@@ -1,7 +1,7 @@
1
1
  import type { SepaTransferStatus } from '@types';
2
+ import type { DirectiveResult } from 'lit/directive.js';
2
3
  import { type Level } from '../../customizable-components/badge-status/qonto-badge-status.ts';
3
4
  import '../../customizable-components/skeleton-loader/qonto-skeleton-loader-line.ts';
4
- import type { DirectiveResult } from 'lit/directive.js';
5
5
  export declare function mapTransferStatusToBadgeLevel(transferStatus: SepaTransferStatus): Level;
6
6
  export declare function renderLoadingTableRowsMarkup(amountOfRows?: number): DirectiveResult;
7
7
  //# sourceMappingURL=transfer-list.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-list.utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/transfer-list/transfer-list.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAEL,KAAK,KAAK,EACX,MAAM,kEAAkE,CAAC;AAC1E,OAAO,6EAA6E,CAAC;AAGrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,wBAAgB,6BAA6B,CAC3C,cAAc,EAAE,kBAAkB,GACjC,KAAK,CAeP;AAED,wBAAgB,4BAA4B,CAC1C,YAAY,GAAE,MAAU,GACvB,eAAe,CAcjB"}
1
+ {"version":3,"file":"transfer-list.utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/transfer-list/transfer-list.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKxD,OAAO,EAEL,KAAK,KAAK,EACX,MAAM,kEAAkE,CAAC;AAE1E,OAAO,6EAA6E,CAAC;AAErF,wBAAgB,6BAA6B,CAC3C,cAAc,EAAE,kBAAkB,GACjC,KAAK,CAeP;AAED,wBAAgB,4BAA4B,CAC1C,YAAY,GAAE,MAAU,GACvB,eAAe,CAcjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ui-elements.d.ts","sourceRoot":"","sources":["../../../src/ui/ui-elements.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,uBAAuB,CAAC;AAUhF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,GAC1B,uBAAuB,eAAe,CAAC,OAAO,CAAC,KAC9C,OAAO,CAAC,IAAI,CAkCd,CAAC"}
1
+ {"version":3,"file":"ui-elements.d.ts","sourceRoot":"","sources":["../../../src/ui/ui-elements.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,uBAAuB,CAAC;AAWhF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,GAC1B,uBAAuB,eAAe,CAAC,OAAO,CAAC,KAC9C,OAAO,CAAC,IAAI,CAkCd,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { OperationSettings } from '@validation/operation-settings-validation';
2
1
  import { UI_ELEMENT_NAMES } from '@ui/ui-elements.constants';
2
+ import type { OperationSettings } from '@validation/operation-settings-validation';
3
3
  /**
4
4
  * Type representing the valid names of UI elements.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ui-elements.types.d.ts","sourceRoot":"","sources":["../../../src/ui/ui-elements.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;GAEG;AACH,KAAK,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,UAAU,cAAc;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,aAAa,EAAE,cAAc,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,CAAC;IACpB,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1D;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;IACxC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC;;OAEG;IACH,gBAAgB,EAAE,WAAW,CAAC;IAC9B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;IACzC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
1
+ {"version":3,"file":"ui-elements.types.d.ts","sourceRoot":"","sources":["../../../src/ui/ui-elements.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF;;GAEG;AACH,KAAK,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,UAAU,cAAc;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,aAAa,EAAE,cAAc,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,CAAC;IACpB,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1D;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;IACxC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC;;OAEG;IACH,gBAAgB,EAAE,WAAW,CAAC;IAC9B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;IACzC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ui-elements.validation.d.ts","sourceRoot":"","sources":["../../../src/ui/ui-elements.validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAI/D,wBAAgB,6BAA6B,CAC3C,MAAM,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC;;EAcpC"}
1
+ {"version":3,"file":"ui-elements.validation.d.ts","sourceRoot":"","sources":["../../../src/ui/ui-elements.validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAI/D,wBAAgB,6BAA6B,CAC3C,MAAM,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC;;EAcpC"}
@@ -1,7 +1,7 @@
1
- import type { MfaMethod } from '@common/operation-settings/operation-settings.types';
2
- import type { Locale } from '@common/locale/locale.types';
3
1
  import type { PaginationSettings } from '@common/api-pagination/api-pagination.types';
4
2
  import type { ProxyEndpointDescriptor, ProxyRequestFunction } from '@common/common.types.ts';
3
+ import type { Locale } from '@common/locale/locale.types';
4
+ import type { MfaMethod } from '@common/operation-settings/operation-settings.types';
5
5
  export type UIParentElementId = string | (() => HTMLElement);
6
6
  /**
7
7
  * Optional settings to configure the SDK's operations that will be performed
@@ -1 +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
+ {"version":3,"file":"operation-settings-validation.d.ts","sourceRoot":"","sources":["../../../src/validation/operation-settings-validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qDAAqD,CAAC;AAIrF,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{validateOperationSettingsParams as t}from"../validation/operation-settings-validation.js";import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{validateAuthLinkRequestSettings as a}from"./auth-links.validate.js";import{prepareAuthLinkRequest as n,requestAuthLink as i}from"./auth-links.api.js";import{callProxyFunction as r}from"../common/common.utils.js";function c(t){return{url:t.url,postAuthAction:t.post_authn_action,callbackUrl:t.callback_url,expiresAt:t.expired_at,usedAt:t.used_at}}async function s({requestSettings:s,operationSettings:e}){a(s);const{proxyRequestFunction:l,stagingToken:u}=t(e||{});if(l){const t=n({stagingToken:u,action:s.action,callbackUrl:s.callbackUrl});return c((await r({proxyFunction:l,networkCallDescriptor:t})).body)}{const t=e?.accessToken||o();return c(await i({accessToken:t,stagingToken:u,action:s.action,callbackUrl:s.callbackUrl}))}}export{s as request};
1
+ import"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{callProxyFunction as o}from"../common/common.utils.js";import{validateOperationSettingsParams as a}from"../validation/operation-settings-validation.js";import{prepareAuthLinkRequest as n,requestAuthLink as i}from"./auth-links.api.js";import{validateAuthLinkRequestSettings as r}from"./auth-links.validate.js";function c(t){return{url:t.url,postAuthAction:t.post_authn_action,callbackUrl:t.callback_url,expiresAt:t.expired_at,usedAt:t.used_at}}async function s({requestSettings:s,operationSettings:e}){r(s);const{proxyRequestFunction:l,stagingToken:u}=a(e||{});if(l){const t=n({stagingToken:u,action:s.action,callbackUrl:s.callbackUrl});return c((await o({proxyFunction:l,networkCallDescriptor:t})).body)}{const o=e?.accessToken||t();return c(await i({accessToken:o,stagingToken:u,action:s.action,callbackUrl:s.callbackUrl}))}}export{s as request};
@@ -1 +1 @@
1
- import{validatePresenceOfRequiredParams as t,validateExpectedStringValues as o}from"../validation/input-param-validation.js";import{InvalidParametersError as n}from"../errors/InvalidParametersError.js";import{AUTH_LINK_ACTIONS as e}from"../common/constants.js";function r(r){if(!r||"object"!=typeof r)throw new n("requestSettings must be an object");const a=r,{action:i,callbackUrl:c}=r;t(a,[{name:"action"}]);const s=o(a),m=Object.values(e);if(m.includes(i)||s.push(`action must be one of ${m.join(", ")}`),s.length>0)throw new n(s);if(void 0!==c&&""===c.trim())throw new n("callbackUrl cannot be empty")}export{r as validateAuthLinkRequestSettings};
1
+ import{AUTH_LINK_ACTIONS as t}from"../common/constants.js";import{validatePresenceOfRequiredParams as o,validateExpectedStringValues as n}from"../validation/input-param-validation.js";import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";function r(r){if(!r||"object"!=typeof r)throw new e("requestSettings must be an object");const a=r,{action:i,callbackUrl:c}=r;o(a,[{name:"action"}]);const s=n(a),m=Object.values(t);if(m.includes(i)||s.push(`action must be one of ${m.join(", ")}`),s.length>0)throw new e(s);if(void 0!==c&&""===c.trim())throw new e("callbackUrl cannot be empty")}export{r as validateAuthLinkRequestSettings};
@@ -1 +1 @@
1
- import{buildPaginationParams as e}from"../common/api-pagination/api-pagination.js";import{serializeToNewBeneficiaryDataObject as n}from"./beneficiaries.serializer.js";import{makeNetworkCall as i}from"../common/network/network.js";import a from"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";const s="/v2/sepa/beneficiaries";function o({paginationSettings:n,accessToken:i,stagingToken:a}){const o={method:"GET",headers:{accessToken:i,stagingToken:a}},t=e(n),c=t.size?`?${t.toString()}`:"";return{path:`${s}${c}`,options:o}}async function t({paginationSettings:e,accessToken:n,stagingToken:a}){const s=o({paginationSettings:e,accessToken:n,stagingToken:a}),{beneficiaries:t,meta:c}=await i(s);return{beneficiaries:t,meta:c}}function c({beneficiaryId:e,accessToken:n,stagingToken:i}){return{path:`${s}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:i}}}}async function r({accessToken:e,stagingToken:n,beneficiaryId:a}){const s=c({beneficiaryId:a,accessToken:e,stagingToken:n}),{beneficiary:o}=await i(s);return o}function g({beneficiary:e,accessToken:i,stagingToken:o,idempotencyKey:t=a()}){return{path:s,options:{method:"POST",headers:{accessToken:i,stagingToken:o,idempotencyKey:t},body:{beneficiary:n(e)}}}}async function T({beneficiary:e,accessToken:n,stagingToken:s,idempotencyKey:o=a()}){const t=g({beneficiary:e,accessToken:n,stagingToken:s,idempotencyKey:o}),{beneficiary:c}=await i(t);return c}function f({beneficiaryIds:e,accessToken:n,stagingToken:i}){return{path:`${s}/untrust`,options:{method:"PATCH",headers:{accessToken:n,stagingToken:i},body:{ids:e}}}}async function y({beneficiaryIds:e,accessToken:n,stagingToken:a}){const s=f({beneficiaryIds:e,accessToken:n,stagingToken:a}),{beneficiaries:o}=await i(s);return o}function d({beneficiaryParamsBeingEdited:e,accessToken:n,stagingToken:i,idempotencyKey:a,mfaPreference:o}){const{name:t,email:c,activityTag:r}=e,g={method:"PATCH",headers:{accessToken:n,stagingToken:i,idempotencyKey:a,mfaPreference:o},body:{beneficiary:{name:t,email:c,activity_tag:r}}};return{path:`${s}/${e.id}`,options:g}}async function k({beneficiaryParamsBeingEdited:e,accessToken:n,stagingToken:a,idempotencyKey:s,mfaPreference:o}){const t=d({beneficiaryParamsBeingEdited:e,accessToken:n,stagingToken:a,idempotencyKey:s,mfaPreference:o}),{beneficiary:c}=await i(t);return c}export{T as addBeneficiary,t as getBeneficiaries,r as getBeneficiary,g as prepareAddBeneficiaryCall,o as prepareGetBeneficiariesCall,c as prepareGetBeneficiaryCall,f as prepareUntrustBeneficiaryCall,d as prepareUpdateBeneficiaryCall,y as untrustBeneficiaries,k as updateBeneficiary};
1
+ import{serializeToNewBeneficiaryDataObject as e}from"./beneficiaries.serializer.js";import{buildPaginationParams as n}from"../common/api-pagination/api-pagination.js";import{makeNetworkCall as i}from"../common/network/network.js";import a from"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";const s="/v2/sepa/beneficiaries";function o({paginationSettings:e,accessToken:i,stagingToken:a}){const o={method:"GET",headers:{accessToken:i,stagingToken:a}},t=n(e),c=t.size?`?${t.toString()}`:"";return{path:`${s}${c}`,options:o}}async function t({paginationSettings:e,accessToken:n,stagingToken:a}){const s=o({paginationSettings:e,accessToken:n,stagingToken:a}),{beneficiaries:t,meta:c}=await i(s);return{beneficiaries:t,meta:c}}function c({beneficiaryId:e,accessToken:n,stagingToken:i}){return{path:`${s}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:i}}}}async function r({accessToken:e,stagingToken:n,beneficiaryId:a}){const s=c({beneficiaryId:a,accessToken:e,stagingToken:n}),{beneficiary:o}=await i(s);return o}function g({beneficiary:n,accessToken:i,stagingToken:o,idempotencyKey:t=a()}){return{path:s,options:{method:"POST",headers:{accessToken:i,stagingToken:o,idempotencyKey:t},body:{beneficiary:e(n)}}}}async function T({beneficiary:e,accessToken:n,stagingToken:s,idempotencyKey:o=a()}){const t=g({beneficiary:e,accessToken:n,stagingToken:s,idempotencyKey:o}),{beneficiary:c}=await i(t);return c}function f({beneficiaryIds:e,accessToken:n,stagingToken:i}){return{path:`${s}/untrust`,options:{method:"PATCH",headers:{accessToken:n,stagingToken:i},body:{ids:e}}}}async function y({beneficiaryIds:e,accessToken:n,stagingToken:a}){const s=f({beneficiaryIds:e,accessToken:n,stagingToken:a}),{beneficiaries:o}=await i(s);return o}function d({beneficiaryParamsBeingEdited:e,accessToken:n,stagingToken:i,idempotencyKey:a,mfaPreference:o}){const{name:t,email:c,activityTag:r}=e,g={method:"PATCH",headers:{accessToken:n,stagingToken:i,idempotencyKey:a,mfaPreference:o},body:{beneficiary:{name:t,email:c,activity_tag:r}}};return{path:`${s}/${e.id}`,options:g}}async function k({beneficiaryParamsBeingEdited:e,accessToken:n,stagingToken:a,idempotencyKey:s,mfaPreference:o}){const t=d({beneficiaryParamsBeingEdited:e,accessToken:n,stagingToken:a,idempotencyKey:s,mfaPreference:o}),{beneficiary:c}=await i(t);return c}export{T as addBeneficiary,t as getBeneficiaries,r as getBeneficiary,g as prepareAddBeneficiaryCall,o as prepareGetBeneficiariesCall,c as prepareGetBeneficiaryCall,f as prepareUntrustBeneficiaryCall,d as prepareUpdateBeneficiaryCall,y as untrustBeneficiaries,k as updateBeneficiary};
@@ -1 +1 @@
1
- import"../common/auth/auth.js";import{validatePresenceOfAuthToken as e}from"../common/auth/auth.validate.js";import{prepareGetBeneficiariesCall as n,getBeneficiaries as i,prepareGetBeneficiaryCall as t,getBeneficiary as o,prepareUntrustBeneficiaryCall as a,untrustBeneficiaries as r,prepareUpdateBeneficiaryCall as s,updateBeneficiary as c,prepareAddBeneficiaryCall as m,addBeneficiary as p}from"./beneficiaries.api.js";import{serializeBeneficiary as f}from"./beneficiaries.serializer.js";import{validateGetBeneficiaryParams as y,validateTrustBeneficiariesParams as g,validateUpdateBeneficiaryParams as u,validateAddBeneficiaryParams as b}from"./beneficiaries.validate.js";import{serializePaginationResponse as d}from"../common/api-pagination/api-pagination.js";import"../common/operation-settings/operation-settings.js";import{callProxyFunction as k}from"../common/common.utils.js";import"../common/environment/environment-manager.js";import"../common/locale/locale-manager.js";import{validateOperationSettingsParams as l}from"../validation/operation-settings-validation.js";async function T(t){const{stagingToken:o,proxyRequestFunction:a,accessToken:r,paginationSettings:s}=l(t?.operationSettings||{});if(a){const e=n({paginationSettings:s}),i=await k({proxyFunction:a,networkCallDescriptor:e}),t=i.body.beneficiaries.map((e=>f(e))),o=d(i.body.meta);return{beneficiaries:t,...o?{meta:o}:{}}}{const n=r||e(),t=await i({accessToken:n,stagingToken:o,paginationSettings:s}),a=t.beneficiaries.map((e=>f(e))),c=d(t.meta);return{beneficiaries:a,...c?{meta:c}:{}}}}async function w({beneficiarySettings:n,operationSettings:i}){const a=y(n?.beneficiaryId),{proxyRequestFunction:r,accessToken:s,stagingToken:c}=l(i||{});if(r){const e=t({beneficiaryId:a}),n=await k({proxyFunction:r,networkCallDescriptor:e});return f(n.body.beneficiary)}{const n=s||e(),i=await o({beneficiaryId:a,accessToken:n,stagingToken:c});return f(i)}}async function S({beneficiarySettings:n,operationSettings:i}){const t=b(n),{proxyRequestFunction:o,accessToken:a,stagingToken:r,idempotencyKey:s}=l(i||{});if(o){const e=m({beneficiary:t,idempotencyKey:s}),n=await k({proxyFunction:o,networkCallDescriptor:e});return f(n.body.beneficiary)}{const n=a||e(),i=await p({beneficiary:t,accessToken:n,stagingToken:r,idempotencyKey:s});return f(i)}}async function j({beneficiarySettings:n,operationSettings:i}){const t=u(n),{stagingToken:o,idempotencyKey:a,mfaPreference:r,proxyRequestFunction:m}=l(i),p={beneficiaryParamsBeingEdited:t,idempotencyKey:a,mfaPreference:r};if(m){const e=s(p),n=await k({proxyFunction:m,networkCallDescriptor:e});return f(n.body.beneficiary)}{const n=i?.accessToken||e(),t=await c({...p,accessToken:n,stagingToken:o});return f(t)}}async function x({beneficiarySettings:n,operationSettings:i}){const t=g(n?.beneficiaryIds),{proxyRequestFunction:o,accessToken:s,stagingToken:c}=l(i||{});if(o){const e=a({beneficiaryIds:t});return(await k({proxyFunction:o,networkCallDescriptor:e})).body.beneficiaries.map(f)}{const n=s||e();return(await r({beneficiaryIds:t,accessToken:n,stagingToken:c})).map(f)}}export{S as addBeneficiary,T as getBeneficiaries,w as getBeneficiary,x as untrustBeneficiaries,j as updateBeneficiary};
1
+ import{validateGetBeneficiaryParams as e,validateTrustBeneficiariesParams as n,validateUpdateBeneficiaryParams as i,validateAddBeneficiaryParams as t}from"./beneficiaries.validate.js";import{serializePaginationResponse as o}from"../common/api-pagination/api-pagination.js";import"../common/auth/auth.js";import{validatePresenceOfAuthToken as a}from"../common/auth/auth.validate.js";import{callProxyFunction as r}from"../common/common.utils.js";import{validateOperationSettingsParams as s}from"../validation/operation-settings-validation.js";import{prepareGetBeneficiariesCall as c,getBeneficiaries as m,prepareGetBeneficiaryCall as p,getBeneficiary as f,prepareUntrustBeneficiaryCall as y,untrustBeneficiaries as g,prepareUpdateBeneficiaryCall as u,updateBeneficiary as b,prepareAddBeneficiaryCall as d,addBeneficiary as k}from"./beneficiaries.api.js";import{serializeBeneficiary as l}from"./beneficiaries.serializer.js";import"../common/environment/environment-manager.js";import"../common/locale/locale-manager.js";import"../common/operation-settings/operation-settings.js";async function T(e){const{stagingToken:n,proxyRequestFunction:i,accessToken:t,paginationSettings:p}=s(e?.operationSettings||{});if(i){const e=c({paginationSettings:p}),n=await r({proxyFunction:i,networkCallDescriptor:e}),t=n.body.beneficiaries.map((e=>l(e))),a=o(n.body.meta);return{beneficiaries:t,...a?{meta:a}:{}}}{const e=t||a(),i=await m({accessToken:e,stagingToken:n,paginationSettings:p}),r=i.beneficiaries.map((e=>l(e))),s=o(i.meta);return{beneficiaries:r,...s?{meta:s}:{}}}}async function w({beneficiarySettings:n,operationSettings:i}){const t=e(n?.beneficiaryId),{proxyRequestFunction:o,accessToken:c,stagingToken:m}=s(i||{});if(o){const e=p({beneficiaryId:t}),n=await r({proxyFunction:o,networkCallDescriptor:e});return l(n.body.beneficiary)}{const e=c||a(),n=await f({beneficiaryId:t,accessToken:e,stagingToken:m});return l(n)}}async function S({beneficiarySettings:e,operationSettings:n}){const i=t(e),{proxyRequestFunction:o,accessToken:c,stagingToken:m,idempotencyKey:p}=s(n||{});if(o){const e=d({beneficiary:i,idempotencyKey:p}),n=await r({proxyFunction:o,networkCallDescriptor:e});return l(n.body.beneficiary)}{const e=c||a(),n=await k({beneficiary:i,accessToken:e,stagingToken:m,idempotencyKey:p});return l(n)}}async function j({beneficiarySettings:e,operationSettings:n}){const t=i(e),{stagingToken:o,idempotencyKey:c,mfaPreference:m,proxyRequestFunction:p}=s(n),f={beneficiaryParamsBeingEdited:t,idempotencyKey:c,mfaPreference:m};if(p){const e=u(f),n=await r({proxyFunction:p,networkCallDescriptor:e});return l(n.body.beneficiary)}{const e=n?.accessToken||a(),i=await b({...f,accessToken:e,stagingToken:o});return l(i)}}async function x({beneficiarySettings:e,operationSettings:i}){const t=n(e?.beneficiaryIds),{proxyRequestFunction:o,accessToken:c,stagingToken:m}=s(i||{});if(o){const e=y({beneficiaryIds:t});return(await r({proxyFunction:o,networkCallDescriptor:e})).body.beneficiaries.map(l)}{const e=c||a();return(await g({beneficiaryIds:t,accessToken:e,stagingToken:m})).map(l)}}export{S as addBeneficiary,T as getBeneficiaries,w as getBeneficiary,x as untrustBeneficiaries,j as updateBeneficiary};
@@ -1 +1 @@
1
- import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";import{validateExpectedStringValues as i,validatePresenceOfRequiredParams as t}from"../validation/input-param-validation.js";const r=[{name:"name"},{name:"iban"}];function n(i){if(!i)throw new e("beneficiaryId parameter is required for the called function");if(i&&"string"!=typeof i)throw new e("beneficiaryId must be a string");return i}function a(n){if(!n)throw new e("beneficiary parameter is required for the called function");if("object"!=typeof n)throw new e("beneficiary must be an object");t(n,r);const a=i({name:n.name,iban:n.iban,email:n.email,activityTag:n.activityTag,bic:n.bic});if(a.length>0)throw new e(a);return n}function o(t){const{id:r,name:n,email:a,activityTag:o}=t||{};if(!r)throw new e("Invalid parameters were passed to the function:\nA beneficiary ID is required for the called function");if(!n&&!a&&!o)throw new e("Invalid parameters were passed to the function:\nAt least one of the following properties must be provided: name, email, activityTag");const f=i({name:n,email:a,activityTag:o});if(f.length>0)throw new e(f);return{id:r,name:n,email:a,activityTag:o}}function f(i){if(!i)throw new e("beneficiaryIds parameter is required for the called function");if(!Array.isArray(i)||!i.every((e=>"string"==typeof e)))throw new e("beneficiaryIds must be an array of strings");return i}export{a as validateAddBeneficiaryParams,n as validateGetBeneficiaryParams,f as validateTrustBeneficiariesParams,o as validateUpdateBeneficiaryParams};
1
+ import{validateExpectedStringValues as e,validatePresenceOfRequiredParams as i}from"../validation/input-param-validation.js";import{InvalidParametersError as t}from"../errors/InvalidParametersError.js";const r=[{name:"name"},{name:"iban"}];function n(e){if(!e)throw new t("beneficiaryId parameter is required for the called function");if(e&&"string"!=typeof e)throw new t("beneficiaryId must be a string");return e}function a(n){if(!n)throw new t("beneficiary parameter is required for the called function");if("object"!=typeof n)throw new t("beneficiary must be an object");i(n,r);const a=e({name:n.name,iban:n.iban,email:n.email,activityTag:n.activityTag,bic:n.bic});if(a.length>0)throw new t(a);return n}function o(i){const{id:r,name:n,email:a,activityTag:o}=i||{};if(!r)throw new t("Invalid parameters were passed to the function:\nA beneficiary ID is required for the called function");if(!n&&!a&&!o)throw new t("Invalid parameters were passed to the function:\nAt least one of the following properties must be provided: name, email, activityTag");const f=e({name:n,email:a,activityTag:o});if(f.length>0)throw new t(f);return{id:r,name:n,email:a,activityTag:o}}function f(e){if(!e)throw new t("beneficiaryIds parameter is required for the called function");if(!Array.isArray(e)||!e.every((e=>"string"==typeof e)))throw new t("beneficiaryIds must be an array of strings");return e}export{a as validateAddBeneficiaryParams,n as validateGetBeneficiaryParams,f as validateTrustBeneficiariesParams,o as validateUpdateBeneficiaryParams};
@@ -1 +1 @@
1
- import{makeNetworkCall as n}from"../common/network/network.js";import{prepareAuthLinkRequest as s}from"../auth-links/auth-links.api.js";import{AUTH_LINK_ACTIONS as e}from"../common/constants.js";function o({membershipId:n,accessToken:s,stagingToken:e}){return{path:n?`/v2/cards?holder_ids[]=${n}`:"/v2/cards",options:{method:"GET",headers:{accessToken:s,stagingToken:e}}}}async function a({membershipId:s,accessToken:e,stagingToken:a}){const t=o({membershipId:s,accessToken:e,stagingToken:a}),{cards:c}=await n(t);return c}function t({cardId:n,accessToken:s,stagingToken:e}){return{path:`/v2/cards?ids[]=${n}`,options:{method:"GET",headers:{accessToken:s,stagingToken:e}}}}async function c({cardId:s,accessToken:e,stagingToken:o}){const a=t({cardId:s,accessToken:e,stagingToken:o}),{cards:c}=await n(a);return c[0]}function r({accessToken:n,stagingToken:o}){return s({accessToken:n,stagingToken:o,action:e.CARD_DISPLAY})}async function i(s){const e=r(s),{embed_auth_link:o}=await n(e);return o}export{c as getCard,i as getCardIframeURL,a as getCards,t as prepareGetCardCall,r as prepareGetCardIframeUrl,o as prepareGetCardsCall};
1
+ import{prepareAuthLinkRequest as n}from"../auth-links/auth-links.api.js";import{AUTH_LINK_ACTIONS as s}from"../common/constants.js";import{makeNetworkCall as e}from"../common/network/network.js";function o({membershipId:n,accessToken:s,stagingToken:e}){return{path:n?`/v2/cards?holder_ids[]=${n}`:"/v2/cards",options:{method:"GET",headers:{accessToken:s,stagingToken:e}}}}async function a({membershipId:n,accessToken:s,stagingToken:a}){const t=o({membershipId:n,accessToken:s,stagingToken:a}),{cards:c}=await e(t);return c}function t({cardId:n,accessToken:s,stagingToken:e}){return{path:`/v2/cards?ids[]=${n}`,options:{method:"GET",headers:{accessToken:s,stagingToken:e}}}}async function c({cardId:n,accessToken:s,stagingToken:o}){const a=t({cardId:n,accessToken:s,stagingToken:o}),{cards:c}=await e(a);return c[0]}function r({accessToken:e,stagingToken:o}){return n({accessToken:e,stagingToken:o,action:s.CARD_DISPLAY})}async function i(n){const s=r(n),{embed_auth_link:o}=await e(s);return o}export{c as getCard,i as getCardIframeURL,a as getCards,t as prepareGetCardCall,r as prepareGetCardIframeUrl,o as prepareGetCardsCall};
@@ -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{createEmbedUI as e}from"./cards.helper.js";import{serializeUnlockCardPayload as t,serializeCard as r,serializeOrderCardPayload as n}from"./cards.serializer.js";import{validateDisplayCardParams as a,validateUnlockCardParams as o,validateOrderCardParams as s,validateGetCardParams as i}from"./cards.validate.js";import{tracker as c}from"../common/analytics/analytics-tracker.js";import{authManager as d}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as m}from"../common/auth/auth.validate.js";import{callProxyFunction as g}from"../common/common.utils.js";import{validateOperationSettingsParams as u}from"../validation/operation-settings-validation.js";import{prepareGetCardIframeUrl as p,getCardIframeURL as l,prepareGetCardCall as f,getCard as y,prepareGetCardsCall as k,getCards as T}from"./cards.api.js";import"./cards.types.js";import{InvalidParametersError as I}from"../errors/InvalidParametersError.js";import{buildIframeUrl as S,createIframe as h}from"../iframe/iframe-manager.js";async function b(e){try{const t=e?.cardSettings?.membershipId;if(t&&"string"!=typeof t)throw new I("membershipId must be a string");const{proxyRequestFunction:n,stagingToken:a}=u(e?.operationSettings||{});let o;if(n){const e=k({membershipId:t,stagingToken:a});o=(await g({proxyFunction:n,networkCallDescriptor:e})).body.cards.map((e=>r(e)))}else{const n=e?.operationSettings?.accessToken||m();o=(await T({membershipId:t,accessToken:n,stagingToken:a})).map((e=>r(e)))}return c.cardsList(),o}catch(e){return Promise.reject(e)}}async function j({cardSettings:e,operationSettings:t}){try{i(e);const n=e.cardId,{proxyRequestFunction:a,stagingToken:o}=u(t||{});if(a){const e=f({cardId:n,stagingToken:o}),t=(await g({proxyFunction:a,networkCallDescriptor:e})).body.cards;if(Array.isArray(t)&&t.length>0)return r(t[0]);throw new I("Unable to retrieve card data")}{const e=t?.accessToken||m(),a=await y({cardId:n,accessToken:e,stagingToken:o});return r(a)}}catch(e){return Promise.reject(e)}}async function w(e){try{const t=m(),{uiParentElementId:a,debugMode:o}=u(e.operationSettings,{requiresUI:!0});s(e.cardSettings);const i="virtual"===e.cardSettings.cardLevel,g=S({accessToken:t,stagingToken:d.getStagingToken()||void 0,debugMode:o}),p=await h({iframeUrl:g,parentElementId:a}),l=n(e.cardSettings),f=await p.postMessage(l);return p.destroy(),i?c.cardsOrderVirtual():c.cardsOrderPhysical(),r(f)}catch(e){return Promise.reject(e)}}async function P(e){try{const n=m(),{uiParentElementId:a,debugMode:s}=u(e.operationSettings,{requiresUI:!0});o(e.cardSettings);const i=S({accessToken:n,stagingToken:d.getStagingToken()||void 0,debugMode:s}),c=await h({iframeUrl:i,parentElementId:a}),g=t(e),p=await c.postMessage(g);return c.destroy(),r(p)}catch(e){return Promise.reject(e)}}async function v(t){try{const{uiParentElementId:r,accessToken:n,stagingToken:o,debugMode:s,mfaPreference:i,proxyRequestFunction:c}=u(t.operationSettings,{requiresUI:!0});if(a(t.cardSettings),c){const n=p({stagingToken:o}),a=(await g({proxyFunction:c,networkCallDescriptor:n})).body.embed_auth_link;return e({decorationParams:t.cardSettings,operationSettings:{uiParentElementId:r,debugMode:s},cardIframeUrl:a.url})}{const a=n||m(),c=await l({...t.cardSettings,accessToken:a,stagingToken:o});return e({decorationParams:t.cardSettings,operationSettings:{uiParentElementId:r,debugMode:s,mfaPreference:i},cardIframeUrl:c.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{initialize as i,logout as t}from"./initialize/initialize.js";import*as o from"./constants.js";const n={initialize:i,logout:t,constants:o};export{n as common};
1
+ import*as i from"./constants.js";import{initialize as t,logout as o}from"./initialize/initialize.js";const n={initialize:t,logout:o,constants:i};export{n as common};
@@ -1 +1 @@
1
- import{EmbedOperationError as e}from"../errors/EmbedOperationError.js";import{buildRequestHeaders as t,encodeNetworkCall as o,decodeNetworkResponse as r}from"./network/network.js";import{EmbedApiError as n}from"../errors/EmbedApiError.js";function s(t){let o=null;if(o="function"==typeof t?t():document.getElementById(t),!(o&&o instanceof HTMLElement))throw new e(`Could not install the UI Element because the parent element with id ${t} was not found.\nPlease make sure to pass a valid parentElementId or ensure the parentElementId function returns a valid element.`);return o}async function i({proxyFunction:s,networkCallDescriptor:i,proxyEndpointDescriptor:a}){if(a){const e={...Object.fromEntries([...t(i.options?.headers)??{}])},s={...i,options:{...i.options,headers:e}},p=o(s),d=await fetch(a.path,{method:a.method,headers:a.options.headers,body:p}),m=await d.text(),c=r(m);if(!d.ok)throw new n({code:d.status,data:c,message:`Error from proxy endpoint: ${d.status} ${d.statusText}`});return c}if(s){const e=Object.fromEntries([...t(i.options?.headers)??{}]),n={...i,options:{...i.options,headers:e}},a=o(n),p=await s(a);return r(p)}throw new e("No proxy function or proxy endpoint descriptor provided for proxy call.")}export{i as callProxyFunction,s as getUIParentElement};
1
+ import{buildRequestHeaders as e,encodeNetworkCall as t,decodeNetworkResponse as o}from"./network/network.js";import{EmbedApiError as r}from"../errors/EmbedApiError.js";import{EmbedOperationError as n}from"../errors/EmbedOperationError.js";function s(e){let t=null;if(t="function"==typeof e?e():document.getElementById(e),!(t&&t instanceof HTMLElement))throw new n(`Could not install the UI Element because the parent element with id ${e} was not found.\nPlease make sure to pass a valid parentElementId or ensure the parentElementId function returns a valid element.`);return t}async function i({proxyFunction:s,networkCallDescriptor:i,proxyEndpointDescriptor:a}){if(a){const n={...Object.fromEntries([...e(i.options?.headers)??{}])},s={...i,options:{...i.options,headers:n}},p=t(s),d=await fetch(a.path,{method:a.method,headers:a.options.headers,body:p}),m=await d.text(),c=o(m);if(!d.ok)throw new r({code:d.status,data:c,message:`Error from proxy endpoint: ${d.status} ${d.statusText}`});return c}if(s){const r=Object.fromEntries([...e(i.options?.headers)??{}]),n={...i,options:{...i.options,headers:r}},a=t(n),p=await s(a);return o(p)}throw new n("No proxy function or proxy endpoint descriptor provided for proxy call.")}export{i as callProxyFunction,s as getUIParentElement};
@@ -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{initialize as e,reset as t}from"../analytics/analytics-tracker.js";import{authManager as n}from"../auth/auth.js";import{environmentManager as o}from"../environment/environment-manager.js";import{localeManager as i}from"../locale/locale-manager.js";import{info as a}from"../logger/logger.js";import{operationSettingsManager as r}from"../operation-settings/operation-settings.js";import{sentryManager as s}from"../sentry/sentry-manager.js";import{validateInitializeParams as c}from"./initialize.validate.js";function l(t){const{accessToken:l,stagingToken:m,operationSettings:g,environment:f,branch:p,locale:u}=c(t);l&&n.setAccessToken(l),m&&n.setStagingToken(m),u&&i.setLocale(u),g&&r.setSettings(g),f&&(o.setEnvironment(f),p&&o.setBranch(p)),s.initialize(),e(),a("SDK initialized successfully",{environment:f,locale:u,debugMode:g?.debugMode})}function m(){n.clearAccessToken(),n.clearStagingToken(),i.setDefaultLocale(),r.clearSettings(),t()}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&&!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};
1
+ import{validateLocale as n}from"../locale/locale.validate.js";import{validateOperationSettingsParams as o}from"../../validation/operation-settings-validation.js";import{InvalidParametersError as t}from"../../errors/InvalidParametersError.js";function e(e){if(!e?.accessToken&&!e?.operationSettings?.proxyRequestFunction&&!e?.operationSettings?.proxyEndpointDescriptor)throw new t("Either operationSettings.proxyRequestFunction, operationSettings.proxyEndpointDescriptor, or access token is required when calling initialize()");return e?.operationSettings&&o(e.operationSettings),function(n){if(n.environment){if(!["production","staging","local"].includes(n.environment))throw new t('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(n.branch&&!["master","sandbox","qa"].includes(n.branch))throw new t('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&&n(e.locale),e}export{e as validateInitializeParams};
@@ -1 +1 @@
1
- import{authManager as e}from"../auth/auth.js";import{operationSettingsManager as o}from"../operation-settings/operation-settings.js";import{localeManager as n}from"../locale/locale-manager.js";import{EmbedApiError as t}from"../../errors/EmbedApiError.js";import{base64Encode as r,base64Decode as a}from"../codec/codec.js";import{environmentManager as s}from"../environment/environment-manager.js";function i({accessToken:t,stagingToken:r,idempotencyKey:a,mfaPreference:s,scaSessionToken:i}){const p=new Headers;p.append("Authorization",`Bearer ${t}`);const c=r||e.getStagingToken();c&&p.append("X-Qonto-Staging-Token",c),a&&p.append("X-Qonto-Idempotency-Key",a);const d=s||o.getMFAPreference();return d&&p.append("X-Qonto-2fa-Preference",d),i&&p.append("X-Qonto-SCA-Session-Token",i),p.append("Content-Type","application/json"),p.append("Accept-Language",n.getLocale()),p}async function p({path:e,options:o}){const n=`${s.getEnvironmentUrls().THIRD_PARTY_API_URL}${e}`,r=await fetch(n,{...o,headers:i(o.headers),body:o.body?JSON.stringify(o.body):void 0});if(204===r.status)return;const a=await r.json();if(!r.ok)throw a.errors?new t({code:r.status,message:a.errors.map((e=>`${e.code}: ${e.detail}`))}):new t({code:r.status,message:`${a.code}: ${a.detail}`,data:a});return a}function c(e){const o={method:e.options.method,headers:e.options.headers,path:e.path,payload:e.options?.body},n=JSON.stringify(o);return r(n)}function d(e){return JSON.parse(a(e))}export{i as buildRequestHeaders,d as decodeNetworkResponse,c as encodeNetworkCall,p as makeNetworkCall};
1
+ import{authManager as e}from"../auth/auth.js";import{base64Encode as o,base64Decode as n}from"../codec/codec.js";import{environmentManager as t}from"../environment/environment-manager.js";import{localeManager as r}from"../locale/locale-manager.js";import{operationSettingsManager as a}from"../operation-settings/operation-settings.js";import{EmbedApiError as s}from"../../errors/EmbedApiError.js";function i({accessToken:o,stagingToken:n,idempotencyKey:t,mfaPreference:s,scaSessionToken:i}){const p=new Headers;p.append("Authorization",`Bearer ${o}`);const c=n||e.getStagingToken();c&&p.append("X-Qonto-Staging-Token",c),t&&p.append("X-Qonto-Idempotency-Key",t);const d=s||a.getMFAPreference();return d&&p.append("X-Qonto-2fa-Preference",d),i&&p.append("X-Qonto-SCA-Session-Token",i),p.append("Content-Type","application/json"),p.append("Accept-Language",r.getLocale()),p}async function p({path:e,options:o}){const n=`${t.getEnvironmentUrls().THIRD_PARTY_API_URL}${e}`,r=await fetch(n,{...o,headers:i(o.headers),body:o.body?JSON.stringify(o.body):void 0});if(204===r.status)return;const a=await r.json();if(!r.ok)throw a.errors?new s({code:r.status,message:a.errors.map((e=>`${e.code}: ${e.detail}`))}):new s({code:r.status,message:`${a.code}: ${a.detail}`,data:a});return a}function c(e){const n={method:e.options.method,headers:e.options.headers,path:e.path,payload:e.options?.body},t=JSON.stringify(n);return o(t)}function d(e){return JSON.parse(n(e))}export{i as buildRequestHeaders,d as decodeNetworkResponse,c as encodeNetworkCall,p as makeNetworkCall};
@@ -1 +1 @@
1
- import{environmentManager as e}from"../environment/environment-manager.js";import{ENVIRONMENTS as n}from"../constants.js";import{init as i}from"../../../node_modules/.pnpm/@sentry_browser@8.55.0/node_modules/@sentry/browser/build/npm/esm/sdk.js";import{captureException as t,captureMessage as s}from"../../../node_modules/.pnpm/@sentry_core@8.55.0/node_modules/@sentry/core/build/esm/exports.js";class r{constructor(){this.isInitialized=!1}static getInstance(){return r.instance||(r.instance=new r),r.instance}initialize(){if(this.isInitialized)return;const t=e.getEnvironment()||"production";if(!(t===n.PRODUCTION||t===n.STAGING))return;i({dsn:"https://8e000dda9faf4372bd40163105017f8a@o74188.ingest.us.sentry.io/4510466352742400",environment:t,sampleRate:.1}),this.isInitialized=!0}isEnabled(){return this.isInitialized}captureError(e){this.isInitialized&&t(e)}captureMessage(e,n="info"){this.isInitialized&&s(e,n)}}const o=r.getInstance();export{r as SentryManager,o as sentryManager};
1
+ import{ENVIRONMENTS as e}from"../constants.js";import{environmentManager as n}from"../environment/environment-manager.js";import{init as i}from"../../../node_modules/.pnpm/@sentry_browser@8.55.0/node_modules/@sentry/browser/build/npm/esm/sdk.js";import{captureException as t,captureMessage as s}from"../../../node_modules/.pnpm/@sentry_core@8.55.0/node_modules/@sentry/core/build/esm/exports.js";class r{constructor(){this.isInitialized=!1}static getInstance(){return r.instance||(r.instance=new r),r.instance}initialize(){if(this.isInitialized)return;const t=n.getEnvironment()||"production";if(!(t===e.PRODUCTION||t===e.STAGING))return;i({dsn:"https://8e000dda9faf4372bd40163105017f8a@o74188.ingest.us.sentry.io/4510466352742400",environment:t,sampleRate:.1}),this.isInitialized=!0}isEnabled(){return this.isInitialized}captureError(e){this.isInitialized&&t(e)}captureMessage(e,n="info"){this.isInitialized&&s(e,n)}}const o=r.getInstance();export{r as SentryManager,o as sentryManager};
@@ -1 +1 @@
1
- import{IFRAME_EVENTS as e}from"../common/constants.js";import{EmbedOperationError as t}from"../errors/EmbedOperationError.js";import{buildIframeMessage as s}from"./iframe-message-builder.js";import{getUIParentElement as i}from"../common/common.utils.js";class n{constructor(e){this.options=e,this.iframe=null,this.parentElement=null,this.messageListeners=new Map,this.defaultTimeout=3e4;const t=new URL(e.iframeUrl);this.targetOrigin=`${t.protocol}//${t.host}`}async initialize(){if(this.iframe)return this;if(this.parentElement=i(this.options.parentElementId),!this.parentElement)throw new t(`Could not install the authentication UI because the parent element with id ${this.options.parentElementId} was not found.\nPlease make sure to pass a valid parentElementId when calling the method.`);return new Promise(((s,i)=>{this.iframe=document.createElement("iframe"),this.iframe.src=this.options.iframeUrl,this.iframe.style.width="100%",this.iframe.style.height="100%",this.iframe.style.border="none";const n=this.options.timeout||this.defaultTimeout,r=setTimeout((()=>{window.removeEventListener("message",a),i(new t(`Could not install the authentication UI because the timeout of ${n}ms was reached.\nPlease make sure the application can reach the Internet.`))}),n),a=t=>{t.data.eventId===e.READY&&(clearTimeout(r),window.removeEventListener("message",a),s(this))};window.addEventListener("message",a),this.parentElement?.appendChild(this.iframe)}))}postMessage(e){if(!this.iframe||!this.iframe.contentWindow)return Promise.reject(new t("Attempted to perform an Embed operation without having the authentication UI initialized."));const i=s(e);return new Promise(((e,s)=>{const n=r=>{if(r.data?.actionId===i.actionId){if("error"===r.data.status)return this.removeMessageListener(i.actionId,n),s(new t(`An error occurred when performing the action ${i.actionId}.\n${JSON.stringify(r.data.payload)}`));this.removeMessageListener(i.actionId,n),e(r.data.payload)}};this.addMessageListener(i.actionId,n),this.iframe?.contentWindow?.postMessage(i,this.targetOrigin)}))}addMessageListener(e,t){this.messageListeners.has(e)||this.messageListeners.set(e,[]);this.messageListeners.get(e).push(t),window.addEventListener("message",t)}removeMessageListener(e,t){const s=this.messageListeners.get(e);if(s){const e=s.indexOf(t);-1!==e&&(s.splice(e,1),window.removeEventListener("message",t))}}destroy(){this.messageListeners.forEach((e=>{e.forEach((e=>{window.removeEventListener("message",e)}))})),this.messageListeners.clear(),this.iframe&&this.parentElement&&(this.parentElement.removeChild(this.iframe),this.iframe=null)}}export{n as EmbedIframe};
1
+ import{getUIParentElement as e}from"../common/common.utils.js";import{IFRAME_EVENTS as t}from"../common/constants.js";import{buildIframeMessage as s}from"./iframe-message-builder.js";import{EmbedOperationError as i}from"../errors/EmbedOperationError.js";class n{constructor(e){this.options=e,this.iframe=null,this.parentElement=null,this.messageListeners=new Map,this.defaultTimeout=3e4;const t=new URL(e.iframeUrl);this.targetOrigin=`${t.protocol}//${t.host}`}async initialize(){if(this.iframe)return this;if(this.parentElement=e(this.options.parentElementId),!this.parentElement)throw new i(`Could not install the authentication UI because the parent element with id ${this.options.parentElementId} was not found.\nPlease make sure to pass a valid parentElementId when calling the method.`);return new Promise(((e,s)=>{this.iframe=document.createElement("iframe"),this.iframe.src=this.options.iframeUrl,this.iframe.style.width="100%",this.iframe.style.height="100%",this.iframe.style.border="none";const n=this.options.timeout||this.defaultTimeout,r=setTimeout((()=>{window.removeEventListener("message",a),s(new i(`Could not install the authentication UI because the timeout of ${n}ms was reached.\nPlease make sure the application can reach the Internet.`))}),n),a=s=>{s.data.eventId===t.READY&&(clearTimeout(r),window.removeEventListener("message",a),e(this))};window.addEventListener("message",a),this.parentElement?.appendChild(this.iframe)}))}postMessage(e){if(!this.iframe||!this.iframe.contentWindow)return Promise.reject(new i("Attempted to perform an Embed operation without having the authentication UI initialized."));const t=s(e);return new Promise(((e,s)=>{const n=r=>{if(r.data?.actionId===t.actionId){if("error"===r.data.status)return this.removeMessageListener(t.actionId,n),s(new i(`An error occurred when performing the action ${t.actionId}.\n${JSON.stringify(r.data.payload)}`));this.removeMessageListener(t.actionId,n),e(r.data.payload)}};this.addMessageListener(t.actionId,n),this.iframe?.contentWindow?.postMessage(t,this.targetOrigin)}))}addMessageListener(e,t){this.messageListeners.has(e)||this.messageListeners.set(e,[]);this.messageListeners.get(e).push(t),window.addEventListener("message",t)}removeMessageListener(e,t){const s=this.messageListeners.get(e);if(s){const e=s.indexOf(t);-1!==e&&(s.splice(e,1),window.removeEventListener("message",t))}}destroy(){this.messageListeners.forEach((e=>{e.forEach((e=>{window.removeEventListener("message",e)}))})),this.messageListeners.clear(),this.iframe&&this.parentElement&&(this.parentElement.removeChild(this.iframe),this.iframe=null)}}export{n as EmbedIframe};
@@ -1 +1 @@
1
- import{EmbedIframe as e}from"./embed-iframe.js";import{environmentManager as n}from"../common/environment/environment-manager.js";import{localeManager as o}from"../common/locale/locale-manager.js";function t({accessToken:e,stagingToken:t,locale:m,debugMode:r}){const a=r||!1,i=m||o.getLocale(),c=n.getEnvironmentUrls().EMBED_URL,l=t?`;staging_token=${encodeURIComponent(t)}`:"";return`${c}?debug=${a}&lang=${encodeURIComponent(i)}#access_token=${encodeURIComponent(e)}${l}`}function m({parentElementId:n,iframeUrl:o}){return new e({parentElementId:n,iframeUrl:o}).initialize()}export{t as buildIframeUrl,m as createIframe};
1
+ import{environmentManager as e}from"../common/environment/environment-manager.js";import{localeManager as n}from"../common/locale/locale-manager.js";import{EmbedIframe as o}from"./embed-iframe.js";function t({accessToken:o,stagingToken:t,locale:m,debugMode:r}){const a=r||!1,i=m||n.getLocale(),c=e.getEnvironmentUrls().EMBED_URL,l=t?`;staging_token=${encodeURIComponent(t)}`:"";return`${c}?debug=${a}&lang=${encodeURIComponent(i)}#access_token=${encodeURIComponent(o)}${l}`}function m({parentElementId:e,iframeUrl:n}){return new o({parentElementId:e,iframeUrl:n}).initialize()}export{t as buildIframeUrl,m as createIframe};
package/dist/src/index.js CHANGED
@@ -1 +1 @@
1
- export{constants,initialize,logout}from"./common/index.js";export{cards}from"./cards/index.js";export{beneficiaries}from"./beneficiaries/index.js";export{sepaTransfers}from"./sepa-transfers/index.js";export{paymentLinks}from"./payment-links/index.js";export{organizations}from"./organizations/index.js";export{transactions}from"./transactions/index.js";export{authLinks}from"./auth-links/index.js";export{ui}from"./ui/index.js";
1
+ export{authLinks}from"./auth-links/index.js";export{beneficiaries}from"./beneficiaries/index.js";export{cards}from"./cards/index.js";export{constants,initialize,logout}from"./common/index.js";export{organizations}from"./organizations/index.js";export{paymentLinks}from"./payment-links/index.js";export{sepaTransfers}from"./sepa-transfers/index.js";export{transactions}from"./transactions/index.js";export{ui}from"./ui/index.js";
@@ -1 +1 @@
1
- import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{prepareGetBankAccounts as n,getBankAccounts as t,prepareGetOrganization as a,getOrganization as i}from"./organizations.api.js";import{serializeBankAccount as s,serializeOrganization as r}from"./organizations.serializer.js";import{validateOperationSettingsParams as e}from"../validation/operation-settings-validation.js";import{callProxyFunction as c}from"../common/common.utils.js";const m=async n=>{const{stagingToken:t,proxyRequestFunction:s}=e(n);if(s){const o=a({stagingToken:t}),n=await c({proxyFunction:s,networkCallDescriptor:o});return r(n.body.organization)}{const a=n.accessToken||o(),s=await i({accessToken:a,stagingToken:t});return r(s.organization)}},g=async a=>{const{stagingToken:i,proxyRequestFunction:r}=e(a);if(r){const o=n({stagingToken:i});return(await c({proxyFunction:r,networkCallDescriptor:o})).body.bank_accounts.map(s)}{const n=a.accessToken||o();return(await t({accessToken:n,stagingToken:i})).bank_accounts.map(s)}};export{g as getBankAccounts,m as getOrganization};
1
+ import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{callProxyFunction as n}from"../common/common.utils.js";import{validateOperationSettingsParams as t}from"../validation/operation-settings-validation.js";import{prepareGetBankAccounts as a,getBankAccounts as i,prepareGetOrganization as s,getOrganization as r}from"./organizations.api.js";import{serializeBankAccount as e,serializeOrganization as c}from"./organizations.serializer.js";const m=async a=>{const{stagingToken:i,proxyRequestFunction:e}=t(a);if(e){const o=s({stagingToken:i}),t=await n({proxyFunction:e,networkCallDescriptor:o});return c(t.body.organization)}{const n=a.accessToken||o(),t=await r({accessToken:n,stagingToken:i});return c(t.organization)}},g=async s=>{const{stagingToken:r,proxyRequestFunction:c}=t(s);if(c){const o=a({stagingToken:r});return(await n({proxyFunction:c,networkCallDescriptor:o})).body.bank_accounts.map(e)}{const n=s.accessToken||o();return(await i({accessToken:n,stagingToken:r})).bank_accounts.map(e)}};export{g as getBankAccounts,m as getOrganization};
@@ -1 +1 @@
1
- import{validateItems as t,validatePaymentLinkCreationFlowParams as n}from"./validation/payment-links.validate.js";import{request as i}from"../auth-links/auth-links.js";import{AUTH_LINK_ACTIONS as o}from"../common/constants.js";const s=async({paymentLinkSettings:s,operationSettings:a})=>{const{items:r}=s;t(r);const e=n(s),m=await i({requestSettings:{action:o.PAYMENT_LINK_CREATE,callbackUrl:e},operationSettings:a}),c=new URLSearchParams({...r?{items:JSON.stringify(r)}:{}});return c.toString()?`${m.url}?${c.toString()}`:m.url};export{s as getPaymentLinkCreationFlowUrl};
1
+ import{AUTH_LINK_ACTIONS as t}from"../common/constants.js";import{validateItems as n,validatePaymentLinkCreationFlowParams as i}from"./validation/payment-links.validate.js";import{request as o}from"../auth-links/auth-links.js";const s=async({paymentLinkSettings:s,operationSettings:a})=>{const{items:r}=s;n(r);const e=i(s),m=await o({requestSettings:{action:t.PAYMENT_LINK_CREATE,callbackUrl:e},operationSettings:a}),c=new URLSearchParams({...r?{items:JSON.stringify(r)}:{}});return c.toString()?`${m.url}?${c.toString()}`:m.url};export{s as getPaymentLinkCreationFlowUrl};
@@ -1 +1 @@
1
- import{InvalidParametersError as o}from"../errors/InvalidParametersError.js";import{prepareScaPollingCall as s}from"./sca.api.js";import{serializeScaPollingResponse as t}from"./sca.serializer.js";import{callProxyFunction as e}from"../common/common.utils.js";import{SCA_POLLING_RESULTS as n}from"./sca.constants.js";async function*i({scaSettings:i,operationSettings:r}){if(!i||!i.scaSessionToken)throw new o("scaSettings with scaSessionToken is required to poll SCA session.");if(!r?.proxyRequestFunction)throw new o("operationSettings with proxyRequestFunction is required to poll SCA session.");const a=s({scaSessionToken:i.scaSessionToken,stagingToken:r.stagingToken});let c;do{c&&(yield c);const o=await e({proxyFunction:r.proxyRequestFunction,networkCallDescriptor:a});c=t(o.body)}while(c.result===n.WAITING);return c}export{i as pollScaSession};
1
+ import{callProxyFunction as o}from"../common/common.utils.js";import{prepareScaPollingCall as s}from"./sca.api.js";import{SCA_POLLING_RESULTS as t}from"./sca.constants.js";import{serializeScaPollingResponse as e}from"./sca.serializer.js";import{InvalidParametersError as n}from"../errors/InvalidParametersError.js";async function*i({scaSettings:i,operationSettings:r}){if(!i||!i.scaSessionToken)throw new n("scaSettings with scaSessionToken is required to poll SCA session.");if(!r?.proxyRequestFunction)throw new n("operationSettings with proxyRequestFunction is required to poll SCA session.");const a=s({scaSessionToken:i.scaSessionToken,stagingToken:r.stagingToken});let c;do{c&&(yield c);const s=await o({proxyFunction:r.proxyRequestFunction,networkCallDescriptor:a});c=e(s.body)}while(c.result===t.WAITING);return c}export{i as pollScaSession};
@@ -1 +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};
1
+ import{serializePaginationResponse as e}from"../../../common/api-pagination/api-pagination.js";import{authManager as r}from"../../../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../../../common/auth/auth.validate.js";import{callProxyFunction as t}from"../../../common/common.utils.js";import{VOP_DECISIONS as n,ACTIONS as s}from"../../../common/constants.js";import{isRunningInBrowser as i}from"../../../common/runtime/runtime.validation.js";import{validateOperationSettingsParams as a,validateClientOperationSettings as m}from"../../../validation/operation-settings-validation.js";import{InvalidRuntimeError as p,RUNTIME_ENVIRONMENT as u}from"../../../errors/InvalidRuntimeError.js";import{buildIframeUrl as c,createIframe as f}from"../../../iframe/iframe-manager.js";import{buildIframeMessage as d}from"../../../iframe/iframe-message-builder.js";import{verifySepaPayees as l,prepareGetBulkTransferCall as y,prepareGetBulkTransfersCall as b}from"../shared/bulk-transfers.api.js";import{serializeToBulkVopVerificationResult as k,serializeToNewBulkTransferDataObject as g,serializeBulkTransfer as T}from"../shared/bulk-transfers.serializer.js";import{validateCreateBulkTransferParams as E,validateBulkTransferParams as j}from"../shared/bulk-transfers.validate.js";import x from"../../../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";async function v(r){const{proxyRequestFunction:o,proxyEndpointDescriptor:n,paginationSettings:s}=m(r?.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=b({paginationSettings:s}),a=await t({proxyFunction:o,proxyEndpointDescriptor:n,networkCallDescriptor:i}),p=a.body.bulk_transfers.map(T),u=e(a.body.meta);return{bulkTransfers:p,...u?{meta:u}:{}}}async function h({bulkTransferSettings:e,operationSettings:r}){const o=j(e?.bulkTransferId),{proxyRequestFunction:n,proxyEndpointDescriptor:s}=m(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=y({bulkTransferId:o}),a=await t({proxyFunction:n,proxyEndpointDescriptor:s,networkCallDescriptor:i});return T(a.body.bulk_transfer)}async function*w({bulkTransferSettings:e,operationSettings:t}){const m=t?.accessToken||o(),y=t?.stagingToken||r.getStagingToken(),b=t?.idempotencyKey||x();E(e);const{uiParentElementId:j,debugMode:v}=a(t,{requiresUI:!0});if(!i())throw new p(u.BROWSER);const h=new Map;for(const r of e.bulkTransfers){const e=r.beneficiary.iban;e&&!h.has(e)&&h.set(e,{name:r.beneficiary.name,iban:e})}const w=Array.from(h.values()),I=await l({sepaPayees:w,accessToken:m,stagingToken:y||void 0});if((yield I.requests.map(k))===n.REJECT)return;let R,q;try{const r=c({accessToken:m,stagingToken:y||void 0,debugMode:v});q=await f({iframeUrl:r,parentElementId:j});const o={bankAccountId:e.bankAccountId,bulkTransfers:e.bulkTransfers.map((e=>g(e)))};R=await q.postMessage(d({actionId:s.TRANSFER_BULK_CREATE,actionData:{body:o,idempotencyKey:b}}))}finally{q?.destroy()}return{bulkTransfer:T(R),meta:{idempotencyKey:b}}}export{w as createBulkTransfer,h as getBulkTransfer,v as getBulkTransfers};
@@ -1 +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};
1
+ import{buildPaginationParams as e}from"../../../common/api-pagination/api-pagination.js";import"../../../common/environment/environment-manager.js";import{makeNetworkCall as n}from"../../../common/network/network.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:n,accessToken:s,stagingToken:o}){const t={method:"GET",headers:{accessToken:s,stagingToken:o}},r=e(n),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:e,accessToken:s,stagingToken:o}){const a=i({sepaPayees:e,accessToken:s,stagingToken:o});return await n(a)}export{a as BULK_TRANSFERS_ENDPOINT,r as prepareGetBulkTransferCall,t as prepareGetBulkTransfersCall,i as prepareVerifySepaPayeesCall,c as verifySepaPayees};
@@ -1 +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};
1
+ import{validateExpectedStringValues as e,validateExpectedNumericValues as r}from"../../../validation/input-param-validation.js";import{AMOUNT_REQUIRING_ATTACHMENTS as n}from"../../../common/constants.js";import{InvalidParametersError as a}from"../../../errors/InvalidParametersError.js";function t(e){if(!e)throw new a("bulkTransferId parameter is required for the called function.");if("string"!=typeof e)throw new a("bulkTransferId must be a string.");return e}function i(t){if(!t)throw new a("bulkTransferSettings parameter is required for the called function.");if(!t.bankAccountId)throw new a("bankAccountId is required");if(!Array.isArray(t.bulkTransfers))throw new a("bulkTransfers must be an array");if(t.bulkTransfers.length>400)throw new a("Maximum of 400 bulk transfers allowed");return t.bulkTransfers.forEach(((t,i)=>{!function(t,i){if(!t)throw new a(`Invalid bulkTransfer at index ${i}: bulkTransfer object is required`);if(!t.beneficiary)throw new a(`Invalid bulkTransfer at index ${i}: Beneficiary details must be provided in the bulkTransferSettings.beneficiary field`);if(!t.beneficiary.iban)throw new a(`Invalid bulkTransfer at index ${i}: IBAN is required as part of the beneficiary details`);if(!t.beneficiary.name)throw new a(`Invalid bulkTransfer at index ${i}: Beneficiary name is required as part of the beneficiary details`);const f=e({reference:t.reference,clientTransferId:t.clientTransferId,note:t.note}),s=r({amount:t.amount}),o=[...f,...s].flat();if(o.length>0)throw new a(o);if(t.amount>n&&(!t.attachmentsIds||0===t.attachmentsIds.length))throw new a(`Invalid bulkTransfer at index ${i}: Attachments are required for transfers over €${n}`)}(t,i)})),t}export{t as validateBulkTransferParams,i as validateCreateBulkTransferParams};