@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.
- package/dist/auth-links/auth-links.api.d.ts +2 -2
- package/dist/auth-links/auth-links.api.d.ts.map +1 -1
- package/dist/auth-links/auth-links.d.ts.map +1 -1
- package/dist/auth-links/auth-links.types.d.ts +1 -1
- package/dist/auth-links/auth-links.types.d.ts.map +1 -1
- package/dist/auth-links/auth-links.validate.d.ts.map +1 -1
- package/dist/beneficiaries/beneficiaries.api.d.ts +1 -1
- package/dist/beneficiaries/beneficiaries.api.d.ts.map +1 -1
- package/dist/beneficiaries/beneficiaries.d.ts +1 -1
- package/dist/beneficiaries/beneficiaries.d.ts.map +1 -1
- package/dist/beneficiaries/beneficiaries.public-api.d.ts +1 -1
- package/dist/beneficiaries/beneficiaries.public-api.d.ts.map +1 -1
- package/dist/beneficiaries/beneficiaries.types.d.ts +1 -1
- package/dist/beneficiaries/beneficiaries.types.d.ts.map +1 -1
- package/dist/beneficiaries/beneficiaries.validate.d.ts.map +1 -1
- package/dist/cards/cards.api.d.ts +3 -3
- package/dist/cards/cards.api.d.ts.map +1 -1
- package/dist/cards/cards.d.ts +1 -1
- package/dist/cards/cards.d.ts.map +1 -1
- package/dist/cards/cards.helper.d.ts.map +1 -1
- package/dist/cards/cards.public-api.d.ts +1 -1
- package/dist/cards/cards.public-api.d.ts.map +1 -1
- package/dist/cards/cards.serializer.d.ts.map +1 -1
- package/dist/cards/cards.validate.d.ts.map +1 -1
- package/dist/common/analytics/amplitude-manager.d.ts +33 -0
- package/dist/common/analytics/amplitude-manager.d.ts.map +1 -0
- package/dist/common/analytics/analytics-tracker.d.ts +32 -0
- package/dist/common/analytics/analytics-tracker.d.ts.map +1 -0
- package/dist/common/analytics/analytics.constants.d.ts +23 -0
- package/dist/common/analytics/analytics.constants.d.ts.map +1 -0
- package/dist/common/analytics/index.d.ts +4 -0
- package/dist/common/analytics/index.d.ts.map +1 -0
- package/dist/common/common.public-api.d.ts +1 -1
- package/dist/common/common.public-api.d.ts.map +1 -1
- package/dist/common/common.utils.d.ts +2 -2
- package/dist/common/common.utils.d.ts.map +1 -1
- package/dist/common/initialize/initialize.d.ts.map +1 -1
- package/dist/common/initialize/initialize.types.d.ts +1 -1
- package/dist/common/initialize/initialize.types.d.ts.map +1 -1
- package/dist/common/initialize/initialize.validate.d.ts.map +1 -1
- package/dist/common/locale/locale.validate.d.ts.map +1 -1
- package/dist/common/network/network.d.ts.map +1 -1
- package/dist/common/operation-settings/operation-settings.d.ts +2 -2
- package/dist/common/operation-settings/operation-settings.d.ts.map +1 -1
- package/dist/common/sentry/sentry-manager.d.ts.map +1 -1
- package/dist/customization/customization.d.ts.map +1 -1
- package/dist/iframe/embed-iframe.d.ts +1 -1
- package/dist/iframe/embed-iframe.d.ts.map +1 -1
- package/dist/iframe/iframe-manager.d.ts +1 -1
- package/dist/iframe/iframe-manager.d.ts.map +1 -1
- package/dist/iframe/iframe-message-builder.d.ts.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.server.d.ts +1 -1
- package/dist/index.server.d.ts.map +1 -1
- package/dist/index.umd.js +587 -594
- package/dist/mocks/handlers.d.ts +3 -3
- package/dist/mocks/handlers.d.ts.map +1 -1
- package/dist/mocks/node.d.ts.map +1 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/config.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/constants.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/lib-prefix.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js +1 -0
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/types.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/version.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-connector@1.6.4/node_modules/@amplitude/analytics-connector/dist/analytics-connector.esm.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/config.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/core-client.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js +1 -0
- 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
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/language.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/logger.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/network-observer.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/query-params.js +1 -0
- 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
- 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
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/session.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/timeline.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/status.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/sampling.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +1 -0
- 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
- 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
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js +1 -0
- 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
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -0
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.18.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/web-vitals@5.0.1/node_modules/web-vitals/dist/web-vitals.js +1 -0
- package/dist/node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js +1 -0
- package/dist/organizations/organizations.api.d.ts.map +1 -1
- package/dist/organizations/organizations.d.ts +1 -1
- package/dist/organizations/organizations.d.ts.map +1 -1
- package/dist/payment-links/payment-links.d.ts.map +1 -1
- package/dist/payment-links/validation/payment-links.validate.d.ts +1 -1
- package/dist/payment-links/validation/payment-links.validate.d.ts.map +1 -1
- package/dist/sca/sca.d.ts.map +1 -1
- package/dist/sca/sca.serializer.d.ts +1 -1
- package/dist/sca/sca.serializer.d.ts.map +1 -1
- package/dist/sca/sca.types.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +1 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +1 -1
- package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/index.d.ts +1 -1
- package/dist/sepa-transfers/bulk-transfers/index.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +1 -1
- package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/server.d.ts +1 -1
- package/dist/sepa-transfers/bulk-transfers/server.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts +2 -2
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +1 -1
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -1
- package/dist/sepa-transfers/client/sepa-transfers.client.d.ts +2 -2
- package/dist/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -1
- package/dist/sepa-transfers/index.d.ts +1 -1
- package/dist/sepa-transfers/index.d.ts.map +1 -1
- package/dist/sepa-transfers/index.server.d.ts +1 -1
- package/dist/sepa-transfers/index.server.d.ts.map +1 -1
- package/dist/sepa-transfers/sepa-transfers.d.ts +1 -1
- package/dist/sepa-transfers/sepa-transfers.d.ts.map +1 -1
- package/dist/sepa-transfers/sepa-transfers.public-api.d.ts +2 -2
- package/dist/sepa-transfers/sepa-transfers.public-api.d.ts.map +1 -1
- package/dist/sepa-transfers/server/sepa-transfers.server.d.ts +1 -1
- package/dist/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.api.d.ts +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.serializer.d.ts +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts +2 -2
- package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.utils.d.ts +3 -3
- package/dist/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -1
- package/dist/server/auth-links/auth-links.api.d.ts +2 -2
- package/dist/server/auth-links/auth-links.api.d.ts.map +1 -1
- package/dist/server/auth-links/auth-links.d.ts.map +1 -1
- package/dist/server/auth-links/auth-links.types.d.ts +1 -1
- package/dist/server/auth-links/auth-links.types.d.ts.map +1 -1
- package/dist/server/auth-links/auth-links.validate.d.ts.map +1 -1
- package/dist/server/beneficiaries/beneficiaries.api.d.ts +1 -1
- package/dist/server/beneficiaries/beneficiaries.api.d.ts.map +1 -1
- package/dist/server/beneficiaries/beneficiaries.d.ts +1 -1
- package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -1
- package/dist/server/beneficiaries/beneficiaries.public-api.d.ts +1 -1
- package/dist/server/beneficiaries/beneficiaries.public-api.d.ts.map +1 -1
- package/dist/server/beneficiaries/beneficiaries.types.d.ts +1 -1
- package/dist/server/beneficiaries/beneficiaries.types.d.ts.map +1 -1
- package/dist/server/beneficiaries/beneficiaries.validate.d.ts.map +1 -1
- package/dist/server/cards/cards.api.d.ts +3 -3
- package/dist/server/cards/cards.api.d.ts.map +1 -1
- package/dist/server/cards/cards.d.ts +1 -1
- package/dist/server/cards/cards.d.ts.map +1 -1
- package/dist/server/cards/cards.helper.d.ts.map +1 -1
- package/dist/server/cards/cards.public-api.d.ts +1 -1
- package/dist/server/cards/cards.public-api.d.ts.map +1 -1
- package/dist/server/cards/cards.serializer.d.ts.map +1 -1
- package/dist/server/cards/cards.validate.d.ts.map +1 -1
- package/dist/server/common/analytics/amplitude-manager.d.ts +33 -0
- package/dist/server/common/analytics/amplitude-manager.d.ts.map +1 -0
- package/dist/server/common/analytics/analytics-tracker.d.ts +32 -0
- package/dist/server/common/analytics/analytics-tracker.d.ts.map +1 -0
- package/dist/server/common/analytics/analytics.constants.d.ts +23 -0
- package/dist/server/common/analytics/analytics.constants.d.ts.map +1 -0
- package/dist/server/common/analytics/index.d.ts +4 -0
- package/dist/server/common/analytics/index.d.ts.map +1 -0
- package/dist/server/common/common.public-api.d.ts +1 -1
- package/dist/server/common/common.public-api.d.ts.map +1 -1
- package/dist/server/common/common.utils.d.ts +2 -2
- package/dist/server/common/common.utils.d.ts.map +1 -1
- package/dist/server/common/initialize/initialize.d.ts.map +1 -1
- package/dist/server/common/initialize/initialize.types.d.ts +1 -1
- package/dist/server/common/initialize/initialize.types.d.ts.map +1 -1
- package/dist/server/common/initialize/initialize.validate.d.ts.map +1 -1
- package/dist/server/common/locale/locale.validate.d.ts.map +1 -1
- package/dist/server/common/network/network.d.ts.map +1 -1
- package/dist/server/common/operation-settings/operation-settings.d.ts +2 -2
- package/dist/server/common/operation-settings/operation-settings.d.ts.map +1 -1
- package/dist/server/common/sentry/sentry-manager.d.ts.map +1 -1
- package/dist/server/customization/customization.d.ts.map +1 -1
- package/dist/server/iframe/embed-iframe.d.ts +1 -1
- package/dist/server/iframe/embed-iframe.d.ts.map +1 -1
- package/dist/server/iframe/iframe-manager.d.ts +1 -1
- package/dist/server/iframe/iframe-manager.d.ts.map +1 -1
- package/dist/server/iframe/iframe-message-builder.d.ts.map +1 -1
- package/dist/server/index.d.ts +6 -6
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.server.d.ts +1 -1
- package/dist/server/index.server.d.ts.map +1 -1
- package/dist/server/index.server.umd.js +1 -1
- package/dist/server/mocks/handlers.d.ts +3 -3
- package/dist/server/mocks/handlers.d.ts.map +1 -1
- package/dist/server/mocks/node.d.ts.map +1 -1
- package/dist/server/organizations/organizations.api.d.ts.map +1 -1
- package/dist/server/organizations/organizations.d.ts +1 -1
- package/dist/server/organizations/organizations.d.ts.map +1 -1
- package/dist/server/payment-links/payment-links.d.ts.map +1 -1
- package/dist/server/payment-links/validation/payment-links.validate.d.ts +1 -1
- package/dist/server/payment-links/validation/payment-links.validate.d.ts.map +1 -1
- package/dist/server/sca/sca.d.ts.map +1 -1
- package/dist/server/sca/sca.serializer.d.ts +1 -1
- package/dist/server/sca/sca.serializer.d.ts.map +1 -1
- package/dist/server/sca/sca.types.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/index.d.ts +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/index.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/server.d.ts +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/server.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts +2 -2
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -1
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -1
- package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts +2 -2
- package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -1
- package/dist/server/sepa-transfers/index.d.ts +1 -1
- package/dist/server/sepa-transfers/index.d.ts.map +1 -1
- package/dist/server/sepa-transfers/index.server.d.ts +1 -1
- package/dist/server/sepa-transfers/index.server.d.ts.map +1 -1
- package/dist/server/sepa-transfers/sepa-transfers.d.ts +1 -1
- package/dist/server/sepa-transfers/sepa-transfers.d.ts.map +1 -1
- package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts +2 -2
- package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts.map +1 -1
- package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts +1 -1
- package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -1
- package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts +1 -1
- package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -1
- package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts +1 -1
- package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -1
- package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts +2 -2
- package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -1
- package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts +3 -3
- package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -1
- package/dist/server/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -1
- package/dist/server/src/auth-links/auth-links.js +1 -1
- package/dist/server/src/auth-links/auth-links.validate.js +1 -1
- package/dist/server/src/beneficiaries/beneficiaries.js +1 -1
- package/dist/server/src/common/common.utils.js +1 -1
- package/dist/server/src/common/network/network.js +1 -1
- package/dist/server/src/sepa-transfers/bulk-transfers/server/bulk-transfers.server.js +1 -1
- package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -1
- package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -1
- package/dist/server/src/sepa-transfers/index.server.js +1 -1
- package/dist/server/src/sepa-transfers/server/sepa-transfers.server.js +1 -1
- package/dist/server/src/sepa-transfers/shared/sepa-transfers.api.js +1 -1
- package/dist/server/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -1
- package/dist/server/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -1
- package/dist/server/src/validation/operation-settings-validation.js +1 -1
- package/dist/server/transactions/transactions.api.d.ts +1 -1
- package/dist/server/transactions/transactions.api.d.ts.map +1 -1
- package/dist/server/transactions/transactions.d.ts +1 -1
- package/dist/server/transactions/transactions.d.ts.map +1 -1
- package/dist/server/transactions/transactions.public-api.d.ts +1 -1
- package/dist/server/transactions/transactions.public-api.d.ts.map +1 -1
- package/dist/server/transactions/transactions.validation.d.ts.map +1 -1
- package/dist/server/types/index.d.ts +1 -1
- package/dist/server/types/index.d.ts.map +1 -1
- package/dist/server/types/types.public-api.d.ts +5 -5
- package/dist/server/types/types.public-api.d.ts.map +1 -1
- package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.d.ts.map +1 -1
- package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts.map +1 -1
- package/dist/server/ui/customizable-components/select-field/qonto-select-field.d.ts.map +1 -1
- package/dist/server/ui/customizable-components/text/qonto-text-body.d.ts.map +1 -1
- package/dist/server/ui/customizable-components/text/qonto-text-heading.d.ts.map +1 -1
- package/dist/server/ui/customizable-components/text-field/qonto-text-field.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/localize/configure-localization.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts +1 -1
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +4 -4
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +4 -4
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.d.ts.map +1 -1
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts +1 -1
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts.map +1 -1
- package/dist/server/ui/ui-elements.d.ts.map +1 -1
- package/dist/server/ui/ui-elements.types.d.ts +1 -1
- package/dist/server/ui/ui-elements.types.d.ts.map +1 -1
- package/dist/server/ui/ui-elements.validation.d.ts.map +1 -1
- package/dist/server/validation/operation-settings-validation.d.ts +2 -2
- package/dist/server/validation/operation-settings-validation.d.ts.map +1 -1
- package/dist/src/auth-links/auth-links.js +1 -1
- package/dist/src/auth-links/auth-links.validate.js +1 -1
- package/dist/src/beneficiaries/beneficiaries.api.js +1 -1
- package/dist/src/beneficiaries/beneficiaries.js +1 -1
- package/dist/src/beneficiaries/beneficiaries.validate.js +1 -1
- package/dist/src/cards/cards.api.js +1 -1
- package/dist/src/cards/cards.js +1 -1
- package/dist/src/common/analytics/amplitude-manager.js +1 -0
- package/dist/src/common/analytics/analytics-tracker.js +1 -0
- package/dist/src/common/analytics/analytics.constants.js +1 -0
- package/dist/src/common/common.public-api.js +1 -1
- package/dist/src/common/common.utils.js +1 -1
- package/dist/src/common/initialize/initialize.js +1 -1
- package/dist/src/common/initialize/initialize.validate.js +1 -1
- package/dist/src/common/network/network.js +1 -1
- package/dist/src/common/sentry/sentry-manager.js +1 -1
- package/dist/src/iframe/embed-iframe.js +1 -1
- package/dist/src/iframe/iframe-manager.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/organizations/organizations.js +1 -1
- package/dist/src/payment-links/payment-links.js +1 -1
- package/dist/src/sca/sca.js +1 -1
- package/dist/src/sepa-transfers/bulk-transfers/client/bulk-transfers.client.js +1 -1
- package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -1
- package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -1
- package/dist/src/sepa-transfers/client/sepa-transfers.client.js +1 -1
- package/dist/src/sepa-transfers/index.js +1 -1
- package/dist/src/sepa-transfers/sepa-transfers.js +1 -1
- package/dist/src/sepa-transfers/shared/sepa-transfers.api.js +1 -1
- package/dist/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -1
- package/dist/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -1
- package/dist/src/transactions/transactions.js +1 -1
- package/dist/src/ui/customizable-components/badge-status/qonto-badge-status.js +2 -2
- package/dist/src/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.js +3 -3
- package/dist/src/ui/customizable-components/select-field/qonto-select-field.js +1 -1
- package/dist/src/ui/customizable-components/text/qonto-text-heading.js +1 -1
- package/dist/src/ui/ui-elements/localize/configure-localization.js +1 -1
- package/dist/src/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.js +9 -9
- package/dist/src/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.js +2 -2
- package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.js +4 -4
- package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.js +24 -24
- package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.js +4 -4
- package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.js +5 -5
- package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.js +14 -14
- package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.js +8 -8
- package/dist/src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.js +7 -7
- package/dist/src/ui/ui-elements/transfer-list/transfer-list.js +17 -17
- package/dist/src/ui/ui-elements/transfer-list/transfer-list.utils.js +1 -1
- package/dist/src/ui/ui-elements.js +1 -1
- package/dist/src/ui/ui-elements.validation.js +1 -1
- package/dist/src/validation/operation-settings-validation.js +1 -1
- package/dist/transactions/transactions.api.d.ts +1 -1
- package/dist/transactions/transactions.api.d.ts.map +1 -1
- package/dist/transactions/transactions.d.ts +1 -1
- package/dist/transactions/transactions.d.ts.map +1 -1
- package/dist/transactions/transactions.public-api.d.ts +1 -1
- package/dist/transactions/transactions.public-api.d.ts.map +1 -1
- package/dist/transactions/transactions.validation.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.public-api.d.ts +5 -5
- package/dist/types/types.public-api.d.ts.map +1 -1
- package/dist/ui/customizable-components/amount-field/qonto-amount-field.d.ts.map +1 -1
- package/dist/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts.map +1 -1
- package/dist/ui/customizable-components/select-field/qonto-select-field.d.ts.map +1 -1
- package/dist/ui/customizable-components/text/qonto-text-body.d.ts.map +1 -1
- package/dist/ui/customizable-components/text/qonto-text-heading.d.ts.map +1 -1
- package/dist/ui/customizable-components/text-field/qonto-text-field.d.ts.map +1 -1
- package/dist/ui/ui-elements/localize/configure-localization.d.ts.map +1 -1
- package/dist/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts +1 -1
- package/dist/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts.map +1 -1
- package/dist/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +4 -4
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +4 -4
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
- package/dist/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts.map +1 -1
- package/dist/ui/ui-elements/transfer-list/transfer-list.d.ts.map +1 -1
- package/dist/ui/ui-elements/transfer-list/transfer-list.utils.d.ts +1 -1
- package/dist/ui/ui-elements/transfer-list/transfer-list.utils.d.ts.map +1 -1
- package/dist/ui/ui-elements.d.ts.map +1 -1
- package/dist/ui/ui-elements.types.d.ts +1 -1
- package/dist/ui/ui-elements.types.d.ts.map +1 -1
- package/dist/ui/ui-elements.validation.d.ts.map +1 -1
- package/dist/validation/operation-settings-validation.d.ts +2 -2
- package/dist/validation/operation-settings-validation.d.ts.map +1 -1
- package/package.json +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.utils.d.ts","sourceRoot":"","sources":["../../../src/common/common.utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"common.utils.d.ts","sourceRoot":"","sources":["../../../src/common/common.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EAIrB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAKtF,wBAAgB,kBAAkB,CAAC,iBAAiB,EAAE,iBAAiB,eActE;AAED,UAAU,uBAAuB;IAC/B,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CACnD;AAED,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,EACzC,aAAa,EACb,qBAAqB,EACrB,uBAAuB,GACxB,EAAE,uBAAuB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAkDvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAG3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,wBAAgB,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,QAqC5D;AAED;;;;GAIG;AACH,wBAAgB,MAAM,SAMrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OperationSettings } from '@validation/operation-settings-validation';
|
|
2
1
|
import type { Locale } from '@common/locale/locale.types';
|
|
2
|
+
import type { OperationSettings } from '@validation/operation-settings-validation';
|
|
3
3
|
/**
|
|
4
4
|
* An object with the parameters to initialize the SDK. The only required parameter
|
|
5
5
|
* is the `accessToken`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialize.types.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"initialize.types.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;IACjD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC;IACrC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialize.validate.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.validate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initialize.validate.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.validate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAG3D;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,gBAAgB,GACvB,gBAAgB,CAkBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.validate.d.ts","sourceRoot":"","sources":["../../../../src/common/locale/locale.validate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"locale.validate.d.ts","sourceRoot":"","sources":["../../../../src/common/locale/locale.validate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAM1D,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAOrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../../../src/common/network/network.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../../../src/common/network/network.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qDAAqD,CAAC;AAIrF,UAAU,eAAe;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,eAAe,CAAC;QACzB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAChC,CAAC;CACH;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,GAAG;IACjE,OAAO,EAAE,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,GAAG;QAC3D,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAC3C,CAAC;CACH,CAAC;AAEF,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,IAAI,EAAE,CAAC,CAAC;CACT;AAED,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,YAAY,EACZ,cAAc,EACd,aAAa,EACb,eAAe,GAChB,EAAE,eAAe,GAAG,OAAO,CAqB3B;AAED,wBAAsB,eAAe,CAAC,CAAC,EAAE,EACvC,IAAI,EACJ,OAAO,GACR,EAAE,qBAAqB,GAAG,OAAO,CAAC,CAAC,CAAC,CAiCpC;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAU3D;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,CAAC,CAAC,CAAC,CAE7E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { OperationSettings, UIParentElementId } from '@validation/operation-settings-validation';
|
|
2
|
-
import type { MfaMethod } from '@common/operation-settings/operation-settings.types';
|
|
3
1
|
import type { ProxyEndpointDescriptor } from '@common/common.types.ts';
|
|
2
|
+
import type { MfaMethod } from '@common/operation-settings/operation-settings.types';
|
|
3
|
+
import type { OperationSettings, UIParentElementId } from '@validation/operation-settings-validation';
|
|
4
4
|
/**
|
|
5
5
|
* A singleton class to manage operation settings
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-settings.d.ts","sourceRoot":"","sources":["../../../../src/common/operation-settings/operation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"operation-settings.d.ts","sourceRoot":"","sources":["../../../../src/common/operation-settings/operation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qDAAqD,CAAC;AAErF,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,2CAA2C,CAAC;AAEnD;;GAEG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA2B;IAClD,OAAO,CAAC,iBAAiB,CAAgC;IACzD,OAAO,CAAC,aAAa,CAAkC;IACvD,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,oBAAoB,CAEd;IACd,OAAO,CAAC,uBAAuB,CAAsC;IAErE,OAAO;IAIP;;OAEG;WACW,WAAW,IAAI,wBAAwB;IAOrD;;;OAGG;IACI,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,IAAI;IAkB9D;;;OAGG;IACI,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAI5D;;;OAGG;IACI,gBAAgB,IAAI,SAAS;IAIpC;;;OAGG;IACI,YAAY,IAAI,OAAO;IAIvB,uBAAuB,wBAhEN,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC;IAoE3C,0BAA0B,IAAI,uBAAuB,GAAG,SAAS;IAIxE;;OAEG;IACI,aAAa,IAAI,IAAI;IAOrB,WAAW,IAAI,iBAAiB;CAQxC;AAGD,eAAO,MAAM,wBAAwB,0BAAyC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentry-manager.d.ts","sourceRoot":"","sources":["../../../../src/common/sentry/sentry-manager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"sentry-manager.d.ts","sourceRoot":"","sources":["../../../../src/common/sentry/sentry-manager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKrD;;GAEG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAgB;IACvC,OAAO,CAAC,aAAa,CAAkB;IAEvC,OAAO;IAIP;;OAEG;WACW,WAAW,IAAI,aAAa;IAO1C;;;;OAIG;IACI,UAAU,IAAI,IAAI;IAyBzB;;OAEG;IACI,SAAS,IAAI,OAAO;IAI3B;;;OAGG;IACI,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAKvC;;;;OAIG;IACI,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,aAAsB,GAAG,IAAI;CAI5E;AAGD,eAAO,MAAM,aAAa,eAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customization.d.ts","sourceRoot":"","sources":["../../../src/customization/customization.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"customization.d.ts","sourceRoot":"","sources":["../../../src/customization/customization.ts"],"names":[],"mappings":"AAeA;;;;;;;GAOG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,cAAc,EAC3B,MAAM,EAAE,MAAM,GACb,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA2BxB;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,SAAqB,GAC1B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAKxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IframeMessage } from './iframe.types';
|
|
2
1
|
import type { UIParentElementId } from '@validation/operation-settings-validation.ts';
|
|
2
|
+
import type { IframeMessage } from './iframe.types';
|
|
3
3
|
interface IframeOptions {
|
|
4
4
|
parentElementId: UIParentElementId;
|
|
5
5
|
iframeUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-iframe.d.ts","sourceRoot":"","sources":["../../../src/iframe/embed-iframe.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"embed-iframe.d.ts","sourceRoot":"","sources":["../../../src/iframe/embed-iframe.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAGtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,UAAU,aAAa;IACrB,eAAe,EAAE,iBAAiB,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,WAAW;IAQV,OAAO,CAAC,OAAO;IAP3B,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,aAAa,CAA4B;IACjD,OAAO,CAAC,gBAAgB,CACZ;IACZ,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAiB;IAChD,OAAO,CAAC,YAAY,CAAS;gBAET,OAAO,EAAE,aAAa;IAKpC,UAAU,IAAI,OAAO,CAAC,WAAW,CAAC;IA0CxC,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;IA+BrD,OAAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,qBAAqB;IAc7B,OAAO,IAAI,IAAI;CAehB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EmbedIframe } from './embed-iframe';
|
|
2
1
|
import type { Locale } from '@common/locale/locale.types';
|
|
3
2
|
import type { UIParentElementId } from '@validation/operation-settings-validation.ts';
|
|
3
|
+
import { EmbedIframe } from './embed-iframe';
|
|
4
4
|
interface BuildIframeUrlParams {
|
|
5
5
|
accessToken: string;
|
|
6
6
|
stagingToken?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iframe-manager.d.ts","sourceRoot":"","sources":["../../../src/iframe/iframe-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iframe-manager.d.ts","sourceRoot":"","sources":["../../../src/iframe/iframe-manager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,UAAU,kBAAkB;IAC1B,eAAe,EAAE,iBAAiB,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,YAAY,EACZ,MAAM,EACN,SAAS,GACV,EAAE,oBAAoB,UAQtB;AAED,wBAAgB,YAAY,CAAC,EAC3B,eAAe,EACf,SAAS,GACV,EAAE,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,CAG3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iframe-message-builder.d.ts","sourceRoot":"","sources":["../../../src/iframe/iframe-message-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iframe-message-builder.d.ts","sourceRoot":"","sources":["../../../src/iframe/iframe-message-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhE,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,UAAU,GACX,EAAE,wBAAwB,GAAG,aAAa,CAU1C"}
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cards } from '@cards';
|
|
1
|
+
import { authLinks } from '@auth-links';
|
|
3
2
|
import { beneficiaries } from '@beneficiaries';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { cards } from '@cards';
|
|
4
|
+
import { constants, initialize, logout } from '@common';
|
|
6
5
|
import { organizations } from '@organizations';
|
|
6
|
+
import { paymentLinks } from '@payment-links';
|
|
7
|
+
import { sepaTransfers } from '@sepa-transfers';
|
|
7
8
|
import { transactions } from '@transactions';
|
|
8
|
-
import {
|
|
9
|
+
import type { AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, Beneficiary, Card, CardOrderSettings, CreatePaymentLinkSettings, Item, PaymentLinkParams, PhysicalCardOrderSettings, PostAuthAction, SepaTransfer, Transaction, VirtualCardOrderSettings } from '@types';
|
|
9
10
|
import { ui } from '@ui';
|
|
10
|
-
import type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, SepaTransfer, Transaction, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction } from '@types';
|
|
11
11
|
export { initialize, logout, cards, sepaTransfers, beneficiaries, constants, paymentLinks, organizations, transactions, authLinks, ui, };
|
|
12
12
|
export type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, SepaTransfer, Transaction, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,WAAW,EACX,IAAI,EACJ,iBAAiB,EACjB,yBAAyB,EACzB,IAAI,EACJ,iBAAiB,EACjB,yBAAyB,EACzB,cAAc,EACd,YAAY,EACZ,WAAW,EACX,wBAAwB,EACzB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,EAAE,EAAE,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,UAAU,EACV,MAAM,EACN,KAAK,EACL,aAAa,EACb,aAAa,EACb,SAAS,EACT,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,SAAS,EACT,EAAE,GACH,CAAC;AACF,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, Beneficiary, Card, CardOrderSettings, CreatePaymentLinkSettings, Item, PaymentLinkParams, PhysicalCardOrderSettings, PostAuthAction, SepaTransfer, Transaction, VirtualCardOrderSettings } from '@types';
|
|
1
2
|
import { sepaTransfers } from '@sepa-transfers/index.server';
|
|
2
|
-
import type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, SepaTransfer, Transaction, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction } from '@types';
|
|
3
3
|
export { sepaTransfers };
|
|
4
4
|
export type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, SepaTransfer, Transaction, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
|
|
5
5
|
//# sourceMappingURL=index.server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/index.server.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/index.server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,WAAW,EACX,IAAI,EACJ,iBAAiB,EACjB,yBAAyB,EACzB,IAAI,EACJ,iBAAiB,EACjB,yBAAyB,EACzB,cAAc,EACd,YAAY,EACZ,WAAW,EACX,wBAAwB,EACzB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).QontoEmbedServer={})}(this,(function(e){"use strict";const n=[];for(let e=0;e<256;++e)n.push((e+256).toString(16).slice(1));let t;const a=new Uint8Array(16);var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function s(e,s,o){if(r.randomUUID&&!e)return r.randomUUID();const i=(e=e||{}).random??e.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(a)}();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=15&i[6]|64,i[8]=63&i[8]|128,function(e,t=0){return(n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]).toLowerCase()}(i)}function o(e){const n=new URLSearchParams;return e?.page&&n.append("page",e.page.toString()),e?.itemsPerPage&&n.append("per_page",e.itemsPerPage.toString()),n}function i(e){if(e)return{totalItems:e?.total_count,totalPages:e?.total_pages,currentPage:e?.current_page,itemsPerPage:e?.per_page,previousPage:e?.prev_page||null,nextPage:e?.next_page||null}}class c{constructor(){this.accessToken=null,this.stagingToken=null}static getInstance(){return c.instance||(c.instance=new c),c.instance}setAccessToken(e){this.accessToken=e}getAccessToken(){return this.accessToken}hasAccessToken(){return null!==this.accessToken&&""!==this.accessToken}clearAccessToken(){this.accessToken=null}setStagingToken(e){this.stagingToken=e}getStagingToken(){return this.stagingToken}hasStagingToken(){return null!==this.stagingToken&&""!==this.stagingToken}clearStagingToken(){this.stagingToken=null}}const u=c.getInstance();class d extends Error{constructor(){super(),this.stack=""}toString(){return`${this.name}: ${this.message}`}}class f extends d{constructor(){super(),this.name="AuthenticationError",this.message="Authentication failed due to missing or invalid authentication method. Provide either a proxyRequestFunction (recommended) or accessToken, either as parameters or by calling the initialize function first."}}function p(){if(!u.hasAccessToken())throw new f;return u.getAccessToken()}const g={PRODUCTION:"production",STAGING:"staging",LOCAL:"local"},l={MASTER:"master",SANDBOX:"sandbox",QA:"qa"},T={PASSKEY:"passkey",SMS_OTP:"sms-otp",PAIRED_DEVICE:"paired-device",MOCK:"mock"},m=3e4,h="REJECT",k={CARD_DISPLAY:"display_card",PAYMENT_LINK_CREATE:"create_payment_link",SEPA_TRANSFER_CREATE:"create_sepa_transfer"};class b{constructor(){this.mfaPreference=T.PASSKEY,this.debugMode=!1}static getInstance(){return b.instance||(b.instance=new b),b.instance}setSettings(e){e.uiParentElementId&&(this.uiParentElementId=e.uiParentElementId),e.mfaPreference&&(this.mfaPreference=e.mfaPreference),e.debugMode&&(this.debugMode=e.debugMode),e.proxyRequestFunction&&(this.proxyRequestFunction=e.proxyRequestFunction),e.proxyEndpointDescriptor&&(this.proxyEndpointDescriptor=e.proxyEndpointDescriptor)}getUIParentElementId(){return this.uiParentElementId}getMFAPreference(){return this.mfaPreference}getDebugMode(){return this.debugMode}getProxyRequestFunction(){return this.proxyRequestFunction}getProxyEndpointDescriptor(){return this.proxyEndpointDescriptor}clearSettings(){this.uiParentElementId=void 0,this.mfaPreference=T.PASSKEY,this.debugMode=!1,this.proxyRequestFunction=void 0}getSettings(){return{uiParentElementId:this.uiParentElementId,mfaPreference:this.mfaPreference,debugMode:this.debugMode,proxyRequestFunction:this.proxyRequestFunction}}}const y=b.getInstance();class w{constructor(){this.currentLocale="en"}static getInstance(){return w.instance||(w.instance=new w),w.instance}setLocale(e){this.currentLocale=e}getLocale(){return this.currentLocale}setDefaultLocale(){this.currentLocale="en"}}const I=w.getInstance();class S extends d{constructor({message:e,data:n,code:t}){super(),this.code=500;const a=Array.isArray(e)?e.join("\n"):e;this.name="EmbedApiError",this.message=`The call to the Embed API failed with the following errors:\n${a}`,this.data=n||{},this.code=t||this.code}}function _(){return!("undefined"!=typeof window&&"undefined"!=typeof document)}const P="https://embed.qonto.com",E="https://embed-js{branch}.staging.qonto.co",A="https://embed.dev.qonto.co",v={[g.PRODUCTION]:{EMBED_BASE_URL:P,EMBED_URL:`${P}/connect`,THIRD_PARTY_API_URL:"https://thirdparty.qonto.com"},[g.STAGING]:{EMBED_BASE_URL:E,EMBED_URL:`${E}/connect`,THIRD_PARTY_API_URL:"https://thirdparty{branch}.staging.qonto.co"},[g.LOCAL]:{EMBED_BASE_URL:A,EMBED_URL:`${A}/connect`,THIRD_PARTY_API_URL:"https://thirdparty{branch}.staging.qonto.co"}};class R{constructor(){let e,n;this.environment=g.PRODUCTION,this.branch=l.SANDBOX,"undefined"!=typeof process&&process.env&&(e=process.env.QONTO_EMBED_ENVIRONMENT,n=process.env.QONTO_EMBED_BRANCH),this.environment=Object.values(g).includes(e)?e:g.PRODUCTION,this.branch=Object.values(l).includes(n)?n:l.SANDBOX}static getInstance(){return R.instance||(R.instance=new R),R.instance}setEnvironment(e){this.environment=e}getEnvironment(){return this.environment}isProductionEnvironment(){return this.environment===g.PRODUCTION}setBranch(e){this.branch=e}getBranch(){return this.branch}clear(){this.environment=g.PRODUCTION,this.branch=l.MASTER}getEnvironmentUrls(){if(this.environment===g.PRODUCTION)return v.production;{const e=v[this.environment];return Object.entries(e).reduce(((e,[n,t])=>({...e,[n]:t.replace("{branch}",`-${this.branch}`)})),{})}}}const D=R.getInstance();function x({accessToken:e,stagingToken:n,idempotencyKey:t,mfaPreference:a,scaSessionToken:r}){const s=new Headers;s.append("Authorization",`Bearer ${e}`);const o=n||u.getStagingToken();o&&s.append("X-Qonto-Staging-Token",o),t&&s.append("X-Qonto-Idempotency-Key",t);const i=a||y.getMFAPreference();return i&&s.append("X-Qonto-2fa-Preference",i),r&&s.append("X-Qonto-SCA-Session-Token",r),s.append("Content-Type","application/json"),s.append("Accept-Language",I.getLocale()),s}async function U({path:e,options:n}){const t=`${D.getEnvironmentUrls().THIRD_PARTY_API_URL}${e}`,a=await fetch(t,{...n,headers:x(n.headers),body:n.body?JSON.stringify(n.body):void 0});if(204===a.status)return;const r=await a.json();if(!a.ok)throw r.errors?new S({code:a.status,message:r.errors.map((e=>`${e.code}: ${e.detail}`))}):new S({code:a.status,message:`${r.code}: ${r.detail}`,data:r});return r}function O(e){const n={method:e.options.method,headers:e.options.headers,path:e.path,payload:e.options?.body},t=JSON.stringify(n);return a=t,_()?Buffer.from(a).toString("base64"):btoa(a);var a}function q(e){return JSON.parse((n=e,_()?Buffer.from(n,"base64").toString("utf-8"):atob(n)));var n}function $(e){return{id:e.id,initiatorId:e.initiator_id,bankAccountId:e.bank_account_id,amount:Number(e.amount),amountCents:Number(e.amount_cents),amountCurrency:e.amount_currency,status:e.status,beneficiaryId:e.beneficiary_id,reference:e.reference,note:e.note,declinedReason:e.declined_reason,scheduledDate:new Date(e.scheduled_date),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),processedAt:new Date(e.processed_at),completedAt:new Date(e.completed_at),transactionId:e.transaction_id}}function M(e){return{name:e.name,iban:e.iban}}const N="/v2/sepa",L=`${N}/transfers`;async function C({accessToken:e,stagingToken:n,paginationSettings:t}){const a=function({paginationSettings:e,accessToken:n,stagingToken:t}){const a={method:"GET",headers:{accessToken:n,stagingToken:t}},r=o(e),s=r.size?`?${r.toString()}`:"";return{path:`${L}${s}`,options:a}}({paginationSettings:t,accessToken:e,stagingToken:n}),{transfers:r,meta:s}=await U(a);return{transfers:r,meta:s}}async function j({accessToken:e,stagingToken:n,sepaTransferId:t}){const a=function({sepaTransferId:e,accessToken:n,stagingToken:t}){return{path:`${L}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:t}}}}({sepaTransferId:t,accessToken:e,stagingToken:n}),{transfer:r}=await U(a);return r}async function B({transfer:e,vopProofToken:n,accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s}){const o=function({transfer:e,vopProofToken:n,accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s}){const o=function(e){const n=e.beneficiaryId||e.beneficiary?.id;return{bank_account_id:e.bankAccountId,beneficiary_id:n,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentIds?{attachment_ids:e.attachmentIds}:{}}}(e);return{path:L,options:{method:"POST",headers:{accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s},body:{transfer:o,vop_proof_token:n}}}}({transfer:e,vopProofToken:n,accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s}),{transfer:i}=await U(o);return i}async function F({sepaTransferId:e,accessToken:n,stagingToken:t}){const a=function({sepaTransferId:e,accessToken:n,stagingToken:t}){return{path:`${L}/${e}/cancel`,options:{method:"POST",headers:{accessToken:n,stagingToken:t}}}}({sepaTransferId:e,accessToken:n,stagingToken:t});await U(a)}async function K({sepaPayee:e,accessToken:n,stagingToken:t}){const a=function({sepaPayee:e,accessToken:n,stagingToken:t}){return{path:`${N}/verify_payee`,options:{method:"POST",headers:{accessToken:n,stagingToken:t},body:{beneficiary_name:e.name,iban:e.iban}}}}({sepaPayee:e,accessToken:n,stagingToken:t});return await U(a)}class Y extends d{constructor(e){super(),this.name="InvalidParametersError",this.invalidParameters=Array.isArray(e)?e:[e],this.message=`Invalid parameters were passed to the function:\n${this.invalidParameters.map((e=>e)).join("\n")}`}}function G(e,n){const t=n.filter((n=>n.requiredIfPresent?!e[n.name]&&e[n.requiredIfPresent]:void 0===e[n.name])).map((e=>e.name));if(t.length>0)throw new Y(t.map((e=>`Missing required parameter: ${e}`)))}function H(e){return Object.entries(e).filter((([,e])=>void 0!==e)).filter((([,e])=>"string"!=typeof e)).map((([e])=>`${e} must be a string`))}function Q(e){return Object.entries(e).filter((([,e])=>void 0!==e)).filter((([,e])=>"number"!=typeof e)).map((([e])=>`${e} must be a number`))}const X=[{name:"bankAccountId"},{name:"reference"},{name:"amount"}];const z={requiresUI:!1};function J(e,{requiresUI:n}=z){const t=e?.uiParentElementId||y.getUIParentElementId();if(n){if(!t)throw new Y("operationSettings parameter must have a uiParentElementId for the called function.\nYou can pass it either to the initialize function or in a per function basis.");if(!["string","function"].includes(typeof t))throw new Y("operationSettings.uiParentElementId must be a string or a function returning an HTMLElement")}const a=e?.mfaPreference||y.getMFAPreference();if(a){const e=(r=Object.values(T),D.isProductionEnvironment()?r.filter((e=>e!==T.MOCK)):r);if(!e.includes(a))throw new Y(`operationSettings.mfaPreference must be one of ${e.join(", ")}`);if(D.isProductionEnvironment()&&a===T.MOCK)throw new Y("operationSettings.mfaPreference cannot be set to mock in production environment.")}var r;const s=e?.debugMode||y.getDebugMode();if(void 0!==s&&"boolean"!=typeof s)throw new Y("operationSettings.debugMode must be a boolean.");const o=e?.proxyRequestFunction||y.getProxyRequestFunction();if(o&&"function"!=typeof o)throw new Y("operationSettings.proxyRequestFunction must be a function.");const i=e?.proxyEndpointDescriptor||y.getProxyEndpointDescriptor();if(i&&!i.path)throw new Y("operationSettings.proxyEndpointDescriptor must have at least a string-formatted path property.");return{...e,uiParentElementId:t,mfaPreference:a,debugMode:s,proxyRequestFunction:o,proxyEndpointDescriptor:i}}function V({accessToken:e,stagingToken:n,action:t,callbackUrl:a}){const r={post_authn_action:t};return a&&(r.callback_url=a),{path:"/v1/embed_auth_links",options:{method:"POST",headers:{accessToken:e,stagingToken:n},body:{embed_auth_link:r}}}}class W extends d{constructor(e){super(),this.name="EmbedOperationError",this.message=e}}async function Z({proxyFunction:e,networkCallDescriptor:n,proxyEndpointDescriptor:t}){if(t){const e={...Object.fromEntries([...x(n.options?.headers)??{}])},a=O({...n,options:{...n.options,headers:e}}),r=await fetch(t.path,{method:t.method,headers:t.options.headers,body:a}),s=q(await r.text());if(!r.ok)throw new S({code:r.status,data:s,message:`Error from proxy endpoint: ${r.status} ${r.statusText}`});return s}if(e){const t=Object.fromEntries([...x(n.options?.headers)??{}]),a=O({...n,options:{...n.options,headers:t}});return q(await e(a))}throw new W("No proxy function or proxy endpoint descriptor provided for proxy call.")}function ee(e){return{url:e.url,postAuthAction:e.post_authn_action,callbackUrl:e.callback_url,expiresAt:e.expired_at,usedAt:e.used_at}}const ne={request:async function({requestSettings:e,operationSettings:n}){!function(e){if(!e||"object"!=typeof e)throw new Y("requestSettings must be an object");const n=e,{action:t,callbackUrl:a}=e;G(n,[{name:"action"}]);const r=H(n),s=Object.values(k);if(s.includes(t)||r.push(`action must be one of ${s.join(", ")}`),r.length>0)throw new Y(r);if(void 0!==a&&""===a.trim())throw new Y("callbackUrl cannot be empty")}(e);const{proxyRequestFunction:t,stagingToken:a}=J(n||{});if(t){const n=V({stagingToken:a,action:e.action,callbackUrl:e.callbackUrl});return ee((await Z({proxyFunction:t,networkCallDescriptor:n})).body)}{const t=n?.accessToken||p();return ee(await async function(e){const n=V({accessToken:e.accessToken,stagingToken:e.stagingToken,action:e.action,callbackUrl:e.callbackUrl}),{embed_auth_link:t}=await U(n);return{url:t.url,post_authn_action:t.post_authn_action,callback_url:t.callback_url,expired_at:t.expired_at,used_at:t.used_at}}({accessToken:t,stagingToken:a,action:e.action,callbackUrl:e.callbackUrl}))}}};function te(e){return{id:e.id,name:e.name,email:e.email,activityTag:e.activity_tag,iban:e.iban,bic:e.bic,currency:e.currency,status:e.status,trusted:e.trusted,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function ae({beneficiaryId:e,accessToken:n,stagingToken:t}){return{path:`/v2/sepa/beneficiaries/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:t}}}}async function re({beneficiarySettings:e,operationSettings:n}){const t=function(e){if(!e)throw new Y("beneficiaryId parameter is required for the called function");if(e&&"string"!=typeof e)throw new Y("beneficiaryId must be a string");return e}(e?.beneficiaryId),{proxyRequestFunction:a,accessToken:r,stagingToken:s}=J(n||{});if(a){const e=ae({beneficiaryId:t});return te((await Z({proxyFunction:a,networkCallDescriptor:e})).body.beneficiary)}{const e=r||p(),n=await async function({accessToken:e,stagingToken:n,beneficiaryId:t}){const a=ae({beneficiaryId:t,accessToken:e,stagingToken:n}),{beneficiary:r}=await U(a);return r}({beneficiaryId:t,accessToken:e,stagingToken:s});return te(n)}}function se(e,n){const t=n?.locale||I.getLocale(),a=new URL(e);return t&&a.searchParams.append("lang",t),n?.mfaPreference&&a.searchParams.append("mfaPreference",n.mfaPreference),n?.idempotencyKey&&a.searchParams.append("idempotencyKey",n.idempotencyKey),a.toString()}function oe(e){return{id:e.id,initiatorId:e.initiator_id,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),totalCount:Number(e.total_count),completedCount:Number(e.completed_count),failedCount:Number(e.failed_count),pendingCount:Number(e.pending_count),results:e.results.map((e=>({clientTransferId:e.client_transfer_id,transferId:e.transfer_id??null,errors:e.errors||null,status:e.status})))}}function ie(e){return{id:e.id,response:{matchResult:e.response.match_result,matchedName:e.response.matched_name}}}const ce="/v2/sepa/bulk_transfers";async function ue({accessToken:e,stagingToken:n,paginationSettings:t}){const a=function({paginationSettings:e,accessToken:n,stagingToken:t}){const a={method:"GET",headers:{accessToken:n,stagingToken:t}},r=o(e),s=r.size?`?${r.toString()}`:"";return{path:`${ce}${s}`,options:a}}({paginationSettings:t,accessToken:e,stagingToken:n}),{bulk_transfers:r,meta:s}=await U(a);return{bulkTransfers:r,meta:s}}async function de({accessToken:e,stagingToken:n,bulkTransferId:t}){const a=function({bulkTransferId:e,accessToken:n,stagingToken:t}){return{path:`${ce}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:t}}}}({bulkTransferId:t,accessToken:e,stagingToken:n}),{bulk_transfer:r}=await U(a);return r}async function fe({sepaPayees:e,accessToken:n,stagingToken:t}){const a=function({sepaPayees:e,accessToken:n,stagingToken:t}){return{path:`${N}/bulk_verify_payee`,options:{method:"POST",headers:{accessToken:n,stagingToken:t},body:{requests:e.map(M)}}}}({sepaPayees:e,accessToken:n,stagingToken:t});return await U(a)}function pe(e){if(!e)throw new Y("bulkTransferSettings parameter is required for the called function.");if(!e.bankAccountId)throw new Y("bankAccountId is required");if(!Array.isArray(e.bulkTransfers))throw new Y("bulkTransfers must be an array");if(e.bulkTransfers.length>400)throw new Y("Maximum of 400 bulk transfers allowed");return e.bulkTransfers.forEach(((e,n)=>{!function(e,n){if(!e)throw new Y(`Invalid bulkTransfer at index ${n}: bulkTransfer object is required`);if(!e.beneficiary)throw new Y(`Invalid bulkTransfer at index ${n}: Beneficiary details must be provided in the bulkTransferSettings.beneficiary field`);if(!e.beneficiary.iban)throw new Y(`Invalid bulkTransfer at index ${n}: IBAN is required as part of the beneficiary details`);if(!e.beneficiary.name)throw new Y(`Invalid bulkTransfer at index ${n}: Beneficiary name is required as part of the beneficiary details`);const t=H({reference:e.reference,clientTransferId:e.clientTransferId,note:e.note}),a=Q({amount:e.amount}),r=[...t,...a].flat();if(r.length>0)throw new Y(r);if(e.amount>m&&(!e.attachmentsIds||0===e.attachmentsIds.length))throw new Y(`Invalid bulkTransfer at index ${n}: Attachments are required for transfers over €30000`)}(e,n)})),e}const ge={getSepaTransfers:async function(e){const{accessToken:n,stagingToken:t,paginationSettings:a}=e?.operationSettings||{},r=n||p(),s=await C({accessToken:r,stagingToken:t,paginationSettings:a}),o=s.transfers.map($),c=i(s.meta);return{transfers:o,...c?{meta:c}:{}}},getSepaTransfer:async function({sepaTransferSettings:e,operationSettings:n}){const t=function(e){if(!e)throw new Y("sepaTransferId parameter is required for the called function");if(e&&"string"!=typeof e)throw new Y("sepaTransferId must be a string");return e}(e?.sepaTransferId),{accessToken:a,stagingToken:r}=n||{},s=a||p();return $(await j({sepaTransferId:t,accessToken:s,stagingToken:r}))},createSepaTransfer:async function*({sepaTransferSettings:e,operationSettings:n}){const{accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:o}=n||{},i=t||p(),c=o||s();!function(e){if(!e)throw new Y("sepaTransferSettings parameter is required for the called function");if("object"!=typeof e)throw new Y("sepaTransferSettings must be an object");if(!e.beneficiaryId&&!e.beneficiary)throw new Y("Either beneficiaryId or beneficiary must be provided");const n=H({beneficiaryId:e.beneficiaryId});if(n.length>0)throw new Y(n)}(e);const u=e?.beneficiary?e.beneficiary:await async function({sepaTransferSettings:e,operationSettings:n}){return e?.beneficiary?e.beneficiary:await re({beneficiarySettings:{beneficiaryId:e?.beneficiaryId},operationSettings:n})}({sepaTransferSettings:e,operationSettings:n}),d={name:u.name,iban:u.iban},f=await K({sepaPayee:d,accessToken:i,stagingToken:a}),g=yield(l=f,{matchResult:l.match_result,matchedName:l.matched_name});var l;let T;if("string"==typeof g){if(g===h)return}else{if(g.vopDecision===h)return;T=g.sepaTransferSettings}const k={...e,...T};!function(e){if(!e)throw new Y("sepaTransferSettings parameter is required for the called function");if("object"!=typeof e)throw new Y("sepaTransferSettings must be an object");G(e,X);const n=[...H({bankAccountId:e.bankAccountId,note:e.note,reference:e.reference}),...Q({amount:e.amount})].flat();if(n.length>0)throw new Y(n);if(e.amount>m&&(!e.attachmentIds||0===e.attachmentIds.length))throw new Y("Attachments are required for transfers over €30,000")}(k);const b={...k,beneficiary:u};return{transfer:$(await B({transfer:b,vopProofToken:f.proof_token.token,accessToken:i,stagingToken:a,scaSessionToken:r,idempotencyKey:c})),meta:{idempotencyKey:c}}},cancelSepaTransfer:async function({sepaTransferSettings:e,operationSettings:n}){const t=function(e){if(!e)throw new Y("sepaTransferId parameter is required for the called function");if("string"!=typeof e)throw new Y("sepaTransferId must be a string");return e}(e?.sepaTransferId),{accessToken:a,stagingToken:r}=n||{},s=a||p();await F({sepaTransferId:t,accessToken:s,stagingToken:r})},getSepaTransferCreationFlowLink:async function({sepaTransferSettings:e,operationSettings:n}){const t=function(e){if(!e||!e.callbackUrl)throw new Y("callbackUrl parameter is required for the getSepaTransferCreationFlowLink function");if("string"!=typeof e.callbackUrl)throw new Y("callbackUrl must be a string");return e.callbackUrl}(e),{accessToken:a,stagingToken:r}=n||{},s=a||p(),o=await ne.request({requestSettings:{action:k.SEPA_TRANSFER_CREATE,callbackUrl:t},operationSettings:{stagingToken:r,accessToken:s}});return{...o,url:se(o.url,n)}},bulkTransfers:{getBulkTransfers:async function(e){const{accessToken:n,stagingToken:t,paginationSettings:a}=e?.operationSettings||{},r=n||p(),s=await ue({accessToken:r,stagingToken:t,paginationSettings:a}),o=s.bulkTransfers?.map(oe),c=i(s.meta);return{bulkTransfers:o,...c?{meta:c}:{}}},getBulkTransfer:async function({bulkTransferSettings:e,operationSettings:n}){const t=function(e){if(!e)throw new Y("bulkTransferId parameter is required for the called function.");if("string"!=typeof e)throw new Y("bulkTransferId must be a string.");return e}(e?.bulkTransferId),{accessToken:a,stagingToken:r}=n||{},s=a||p();return oe(await de({accessToken:s,stagingToken:r,bulkTransferId:t}))},createBulkTransfer:async function*({bulkTransferSettings:e,operationSettings:n}){const{accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:o}=n||{},i=t||p(),c=o||s(),u=pe(e),d=new Map;for(const e of u.bulkTransfers){const n=e.beneficiary;if(n){const e=n.iban;e&&!d.has(e)&&d.set(e,{name:n.name,iban:e})}}const f=Array.from(d.values()),g=await fe({sepaPayees:f,accessToken:i,stagingToken:a});if((yield g.requests.map(ie))===h)return;const l=await async function({bulkTransfers:e,accessToken:n,stagingToken:t,scaSessionToken:a,bankAccountId:r,idempotencyKey:s}){const o={method:"POST",headers:{...x({accessToken:n,stagingToken:t,scaSessionToken:a,idempotencyKey:s})},body:JSON.stringify({bank_account_id:r,bulk_transfers:e.map((e=>function(e){return{beneficiary_id:e.beneficiaryId||e.beneficiary?.id,client_transfer_id:e.clientTransferId,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentsIds?{attachment_ids:e.attachmentsIds}:{}}}(e)))})},i=new URL(`${D.getEnvironmentUrls().THIRD_PARTY_API_URL}${ce}`),c=await fetch(i,o),u=await c.json();if(!c.ok||u.errors)throw new S({message:u.errors?u.errors.map((e=>`${e.code}: ${e.detail}`)).join(", "):"Failed to create SEPA bulk transfer"});return u.bulk_transfer}({bulkTransfers:u.bulkTransfers,bankAccountId:u.bankAccountId,accessToken:i,stagingToken:a,scaSessionToken:r,idempotencyKey:c});return{bulkTransfer:oe(l),meta:{idempotencyKey:c}}}}};e.sepaTransfers=ge}));
|
|
1
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).QontoEmbedServer={})}(this,(function(e){"use strict";const n=[];for(let e=0;e<256;++e)n.push((e+256).toString(16).slice(1));let t;const a=new Uint8Array(16);var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function s(e,s,o){if(r.randomUUID&&!e)return r.randomUUID();const i=(e=e||{}).random??e.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(a)}();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=15&i[6]|64,i[8]=63&i[8]|128,function(e,t=0){return(n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]).toLowerCase()}(i)}function o(e){const n=new URLSearchParams;return e?.page&&n.append("page",e.page.toString()),e?.itemsPerPage&&n.append("per_page",e.itemsPerPage.toString()),n}function i(e){if(e)return{totalItems:e?.total_count,totalPages:e?.total_pages,currentPage:e?.current_page,itemsPerPage:e?.per_page,previousPage:e?.prev_page||null,nextPage:e?.next_page||null}}class c{constructor(){this.accessToken=null,this.stagingToken=null}static getInstance(){return c.instance||(c.instance=new c),c.instance}setAccessToken(e){this.accessToken=e}getAccessToken(){return this.accessToken}hasAccessToken(){return null!==this.accessToken&&""!==this.accessToken}clearAccessToken(){this.accessToken=null}setStagingToken(e){this.stagingToken=e}getStagingToken(){return this.stagingToken}hasStagingToken(){return null!==this.stagingToken&&""!==this.stagingToken}clearStagingToken(){this.stagingToken=null}}const u=c.getInstance();class d extends Error{constructor(){super(),this.stack=""}toString(){return`${this.name}: ${this.message}`}}class f extends d{constructor(){super(),this.name="AuthenticationError",this.message="Authentication failed due to missing or invalid authentication method. Provide either a proxyRequestFunction (recommended) or accessToken, either as parameters or by calling the initialize function first."}}function p(){if(!u.hasAccessToken())throw new f;return u.getAccessToken()}const g={PRODUCTION:"production",STAGING:"staging",LOCAL:"local"},l={MASTER:"master",SANDBOX:"sandbox",QA:"qa"},T={PASSKEY:"passkey",SMS_OTP:"sms-otp",PAIRED_DEVICE:"paired-device",MOCK:"mock"},m=3e4,h="REJECT",k={CARD_DISPLAY:"display_card",PAYMENT_LINK_CREATE:"create_payment_link",SEPA_TRANSFER_CREATE:"create_sepa_transfer"},b="https://embed.qonto.com",y="https://embed-js{branch}.staging.qonto.co",w="https://embed.dev.qonto.co",I={[g.PRODUCTION]:{EMBED_BASE_URL:b,EMBED_URL:`${b}/connect`,THIRD_PARTY_API_URL:"https://thirdparty.qonto.com"},[g.STAGING]:{EMBED_BASE_URL:y,EMBED_URL:`${y}/connect`,THIRD_PARTY_API_URL:"https://thirdparty{branch}.staging.qonto.co"},[g.LOCAL]:{EMBED_BASE_URL:w,EMBED_URL:`${w}/connect`,THIRD_PARTY_API_URL:"https://thirdparty{branch}.staging.qonto.co"}};class S{constructor(){let e,n;this.environment=g.PRODUCTION,this.branch=l.SANDBOX,"undefined"!=typeof process&&process.env&&(e=process.env.QONTO_EMBED_ENVIRONMENT,n=process.env.QONTO_EMBED_BRANCH),this.environment=Object.values(g).includes(e)?e:g.PRODUCTION,this.branch=Object.values(l).includes(n)?n:l.SANDBOX}static getInstance(){return S.instance||(S.instance=new S),S.instance}setEnvironment(e){this.environment=e}getEnvironment(){return this.environment}isProductionEnvironment(){return this.environment===g.PRODUCTION}setBranch(e){this.branch=e}getBranch(){return this.branch}clear(){this.environment=g.PRODUCTION,this.branch=l.MASTER}getEnvironmentUrls(){if(this.environment===g.PRODUCTION)return I.production;{const e=I[this.environment];return Object.entries(e).reduce(((e,[n,t])=>({...e,[n]:t.replace("{branch}",`-${this.branch}`)})),{})}}}const _=S.getInstance();function P(){return!("undefined"!=typeof window&&"undefined"!=typeof document)}class E{constructor(){this.currentLocale="en"}static getInstance(){return E.instance||(E.instance=new E),E.instance}setLocale(e){this.currentLocale=e}getLocale(){return this.currentLocale}setDefaultLocale(){this.currentLocale="en"}}const A=E.getInstance();class v{constructor(){this.mfaPreference=T.PASSKEY,this.debugMode=!1}static getInstance(){return v.instance||(v.instance=new v),v.instance}setSettings(e){e.uiParentElementId&&(this.uiParentElementId=e.uiParentElementId),e.mfaPreference&&(this.mfaPreference=e.mfaPreference),e.debugMode&&(this.debugMode=e.debugMode),e.proxyRequestFunction&&(this.proxyRequestFunction=e.proxyRequestFunction),e.proxyEndpointDescriptor&&(this.proxyEndpointDescriptor=e.proxyEndpointDescriptor)}getUIParentElementId(){return this.uiParentElementId}getMFAPreference(){return this.mfaPreference}getDebugMode(){return this.debugMode}getProxyRequestFunction(){return this.proxyRequestFunction}getProxyEndpointDescriptor(){return this.proxyEndpointDescriptor}clearSettings(){this.uiParentElementId=void 0,this.mfaPreference=T.PASSKEY,this.debugMode=!1,this.proxyRequestFunction=void 0}getSettings(){return{uiParentElementId:this.uiParentElementId,mfaPreference:this.mfaPreference,debugMode:this.debugMode,proxyRequestFunction:this.proxyRequestFunction}}}const R=v.getInstance();class D extends d{constructor({message:e,data:n,code:t}){super(),this.code=500;const a=Array.isArray(e)?e.join("\n"):e;this.name="EmbedApiError",this.message=`The call to the Embed API failed with the following errors:\n${a}`,this.data=n||{},this.code=t||this.code}}function x({accessToken:e,stagingToken:n,idempotencyKey:t,mfaPreference:a,scaSessionToken:r}){const s=new Headers;s.append("Authorization",`Bearer ${e}`);const o=n||u.getStagingToken();o&&s.append("X-Qonto-Staging-Token",o),t&&s.append("X-Qonto-Idempotency-Key",t);const i=a||R.getMFAPreference();return i&&s.append("X-Qonto-2fa-Preference",i),r&&s.append("X-Qonto-SCA-Session-Token",r),s.append("Content-Type","application/json"),s.append("Accept-Language",A.getLocale()),s}async function U({path:e,options:n}){const t=`${_.getEnvironmentUrls().THIRD_PARTY_API_URL}${e}`,a=await fetch(t,{...n,headers:x(n.headers),body:n.body?JSON.stringify(n.body):void 0});if(204===a.status)return;const r=await a.json();if(!a.ok)throw r.errors?new D({code:a.status,message:r.errors.map((e=>`${e.code}: ${e.detail}`))}):new D({code:a.status,message:`${r.code}: ${r.detail}`,data:r});return r}function O(e){const n={method:e.options.method,headers:e.options.headers,path:e.path,payload:e.options?.body},t=JSON.stringify(n);return a=t,P()?Buffer.from(a).toString("base64"):btoa(a);var a}function q(e){return JSON.parse((n=e,P()?Buffer.from(n,"base64").toString("utf-8"):atob(n)));var n}function $(e){return{id:e.id,initiatorId:e.initiator_id,bankAccountId:e.bank_account_id,amount:Number(e.amount),amountCents:Number(e.amount_cents),amountCurrency:e.amount_currency,status:e.status,beneficiaryId:e.beneficiary_id,reference:e.reference,note:e.note,declinedReason:e.declined_reason,scheduledDate:new Date(e.scheduled_date),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),processedAt:new Date(e.processed_at),completedAt:new Date(e.completed_at),transactionId:e.transaction_id}}function M(e){return{name:e.name,iban:e.iban}}const N="/v2/sepa",L=`${N}/transfers`;async function C({accessToken:e,stagingToken:n,paginationSettings:t}){const a=function({paginationSettings:e,accessToken:n,stagingToken:t}){const a={method:"GET",headers:{accessToken:n,stagingToken:t}},r=o(e),s=r.size?`?${r.toString()}`:"";return{path:`${L}${s}`,options:a}}({paginationSettings:t,accessToken:e,stagingToken:n}),{transfers:r,meta:s}=await U(a);return{transfers:r,meta:s}}async function j({accessToken:e,stagingToken:n,sepaTransferId:t}){const a=function({sepaTransferId:e,accessToken:n,stagingToken:t}){return{path:`${L}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:t}}}}({sepaTransferId:t,accessToken:e,stagingToken:n}),{transfer:r}=await U(a);return r}async function B({transfer:e,vopProofToken:n,accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s}){const o=function({transfer:e,vopProofToken:n,accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s}){const o=function(e){const n=e.beneficiaryId||e.beneficiary?.id;return{bank_account_id:e.bankAccountId,beneficiary_id:n,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentIds?{attachment_ids:e.attachmentIds}:{}}}(e);return{path:L,options:{method:"POST",headers:{accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s},body:{transfer:o,vop_proof_token:n}}}}({transfer:e,vopProofToken:n,accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:s}),{transfer:i}=await U(o);return i}async function F({sepaTransferId:e,accessToken:n,stagingToken:t}){const a=function({sepaTransferId:e,accessToken:n,stagingToken:t}){return{path:`${L}/${e}/cancel`,options:{method:"POST",headers:{accessToken:n,stagingToken:t}}}}({sepaTransferId:e,accessToken:n,stagingToken:t});await U(a)}async function K({sepaPayee:e,accessToken:n,stagingToken:t}){const a=function({sepaPayee:e,accessToken:n,stagingToken:t}){return{path:`${N}/verify_payee`,options:{method:"POST",headers:{accessToken:n,stagingToken:t},body:{beneficiary_name:e.name,iban:e.iban}}}}({sepaPayee:e,accessToken:n,stagingToken:t});return await U(a)}function Y(e){return{id:e.id,initiatorId:e.initiator_id,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),totalCount:Number(e.total_count),completedCount:Number(e.completed_count),failedCount:Number(e.failed_count),pendingCount:Number(e.pending_count),results:e.results.map((e=>({clientTransferId:e.client_transfer_id,transferId:e.transfer_id??null,errors:e.errors||null,status:e.status})))}}function G(e){return{id:e.id,response:{matchResult:e.response.match_result,matchedName:e.response.matched_name}}}const H="/v2/sepa/bulk_transfers";async function Q({accessToken:e,stagingToken:n,paginationSettings:t}){const a=function({paginationSettings:e,accessToken:n,stagingToken:t}){const a={method:"GET",headers:{accessToken:n,stagingToken:t}},r=o(e),s=r.size?`?${r.toString()}`:"";return{path:`${H}${s}`,options:a}}({paginationSettings:t,accessToken:e,stagingToken:n}),{bulk_transfers:r,meta:s}=await U(a);return{bulkTransfers:r,meta:s}}async function X({accessToken:e,stagingToken:n,bulkTransferId:t}){const a=function({bulkTransferId:e,accessToken:n,stagingToken:t}){return{path:`${H}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:t}}}}({bulkTransferId:t,accessToken:e,stagingToken:n}),{bulk_transfer:r}=await U(a);return r}async function z({sepaPayees:e,accessToken:n,stagingToken:t}){const a=function({sepaPayees:e,accessToken:n,stagingToken:t}){return{path:`${N}/bulk_verify_payee`,options:{method:"POST",headers:{accessToken:n,stagingToken:t},body:{requests:e.map(M)}}}}({sepaPayees:e,accessToken:n,stagingToken:t});return await U(a)}class J extends d{constructor(e){super(),this.name="InvalidParametersError",this.invalidParameters=Array.isArray(e)?e:[e],this.message=`Invalid parameters were passed to the function:\n${this.invalidParameters.map((e=>e)).join("\n")}`}}function V(e,n){const t=n.filter((n=>n.requiredIfPresent?!e[n.name]&&e[n.requiredIfPresent]:void 0===e[n.name])).map((e=>e.name));if(t.length>0)throw new J(t.map((e=>`Missing required parameter: ${e}`)))}function W(e){return Object.entries(e).filter((([,e])=>void 0!==e)).filter((([,e])=>"string"!=typeof e)).map((([e])=>`${e} must be a string`))}function Z(e){return Object.entries(e).filter((([,e])=>void 0!==e)).filter((([,e])=>"number"!=typeof e)).map((([e])=>`${e} must be a number`))}function ee(e){if(!e)throw new J("bulkTransferSettings parameter is required for the called function.");if(!e.bankAccountId)throw new J("bankAccountId is required");if(!Array.isArray(e.bulkTransfers))throw new J("bulkTransfers must be an array");if(e.bulkTransfers.length>400)throw new J("Maximum of 400 bulk transfers allowed");return e.bulkTransfers.forEach(((e,n)=>{!function(e,n){if(!e)throw new J(`Invalid bulkTransfer at index ${n}: bulkTransfer object is required`);if(!e.beneficiary)throw new J(`Invalid bulkTransfer at index ${n}: Beneficiary details must be provided in the bulkTransferSettings.beneficiary field`);if(!e.beneficiary.iban)throw new J(`Invalid bulkTransfer at index ${n}: IBAN is required as part of the beneficiary details`);if(!e.beneficiary.name)throw new J(`Invalid bulkTransfer at index ${n}: Beneficiary name is required as part of the beneficiary details`);const t=W({reference:e.reference,clientTransferId:e.clientTransferId,note:e.note}),a=Z({amount:e.amount}),r=[...t,...a].flat();if(r.length>0)throw new J(r);if(e.amount>m&&(!e.attachmentsIds||0===e.attachmentsIds.length))throw new J(`Invalid bulkTransfer at index ${n}: Attachments are required for transfers over €30000`)}(e,n)})),e}const ne={getBulkTransfers:async function(e){const{accessToken:n,stagingToken:t,paginationSettings:a}=e?.operationSettings||{},r=n||p(),s=await Q({accessToken:r,stagingToken:t,paginationSettings:a}),o=s.bulkTransfers?.map(Y),c=i(s.meta);return{bulkTransfers:o,...c?{meta:c}:{}}},getBulkTransfer:async function({bulkTransferSettings:e,operationSettings:n}){const t=function(e){if(!e)throw new J("bulkTransferId parameter is required for the called function.");if("string"!=typeof e)throw new J("bulkTransferId must be a string.");return e}(e?.bulkTransferId),{accessToken:a,stagingToken:r}=n||{},s=a||p();return Y(await X({accessToken:s,stagingToken:r,bulkTransferId:t}))},createBulkTransfer:async function*({bulkTransferSettings:e,operationSettings:n}){const{accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:o}=n||{},i=t||p(),c=o||s(),u=ee(e),d=new Map;for(const e of u.bulkTransfers){const n=e.beneficiary;if(n){const e=n.iban;e&&!d.has(e)&&d.set(e,{name:n.name,iban:e})}}const f=Array.from(d.values()),g=await z({sepaPayees:f,accessToken:i,stagingToken:a});if((yield g.requests.map(G))===h)return;const l=await async function({bulkTransfers:e,accessToken:n,stagingToken:t,scaSessionToken:a,bankAccountId:r,idempotencyKey:s}){const o={method:"POST",headers:{...x({accessToken:n,stagingToken:t,scaSessionToken:a,idempotencyKey:s})},body:JSON.stringify({bank_account_id:r,bulk_transfers:e.map((e=>function(e){return{beneficiary_id:e.beneficiaryId||e.beneficiary?.id,client_transfer_id:e.clientTransferId,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentsIds?{attachment_ids:e.attachmentsIds}:{}}}(e)))})},i=new URL(`${_.getEnvironmentUrls().THIRD_PARTY_API_URL}${H}`),c=await fetch(i,o),u=await c.json();if(!c.ok||u.errors)throw new D({message:u.errors?u.errors.map((e=>`${e.code}: ${e.detail}`)).join(", "):"Failed to create SEPA bulk transfer"});return u.bulk_transfer}({bulkTransfers:u.bulkTransfers,bankAccountId:u.bankAccountId,accessToken:i,stagingToken:a,scaSessionToken:r,idempotencyKey:c});return{bulkTransfer:Y(l),meta:{idempotencyKey:c}}}};class te extends d{constructor(e){super(),this.name="EmbedOperationError",this.message=e}}async function ae({proxyFunction:e,networkCallDescriptor:n,proxyEndpointDescriptor:t}){if(t){const e={...Object.fromEntries([...x(n.options?.headers)??{}])},a=O({...n,options:{...n.options,headers:e}}),r=await fetch(t.path,{method:t.method,headers:t.options.headers,body:a}),s=q(await r.text());if(!r.ok)throw new D({code:r.status,data:s,message:`Error from proxy endpoint: ${r.status} ${r.statusText}`});return s}if(e){const t=Object.fromEntries([...x(n.options?.headers)??{}]),a=O({...n,options:{...n.options,headers:t}});return q(await e(a))}throw new te("No proxy function or proxy endpoint descriptor provided for proxy call.")}const re={requiresUI:!1};function se(e,{requiresUI:n}=re){const t=e?.uiParentElementId||R.getUIParentElementId();if(n){if(!t)throw new J("operationSettings parameter must have a uiParentElementId for the called function.\nYou can pass it either to the initialize function or in a per function basis.");if(!["string","function"].includes(typeof t))throw new J("operationSettings.uiParentElementId must be a string or a function returning an HTMLElement")}const a=e?.mfaPreference||R.getMFAPreference();if(a){const e=(r=Object.values(T),_.isProductionEnvironment()?r.filter((e=>e!==T.MOCK)):r);if(!e.includes(a))throw new J(`operationSettings.mfaPreference must be one of ${e.join(", ")}`);if(_.isProductionEnvironment()&&a===T.MOCK)throw new J("operationSettings.mfaPreference cannot be set to mock in production environment.")}var r;const s=e?.debugMode||R.getDebugMode();if(void 0!==s&&"boolean"!=typeof s)throw new J("operationSettings.debugMode must be a boolean.");const o=e?.proxyRequestFunction||R.getProxyRequestFunction();if(o&&"function"!=typeof o)throw new J("operationSettings.proxyRequestFunction must be a function.");const i=e?.proxyEndpointDescriptor||R.getProxyEndpointDescriptor();if(i&&!i.path)throw new J("operationSettings.proxyEndpointDescriptor must have at least a string-formatted path property.");return{...e,uiParentElementId:t,mfaPreference:a,debugMode:s,proxyRequestFunction:o,proxyEndpointDescriptor:i}}function oe({accessToken:e,stagingToken:n,action:t,callbackUrl:a}){const r={post_authn_action:t};return a&&(r.callback_url=a),{path:"/v1/embed_auth_links",options:{method:"POST",headers:{accessToken:e,stagingToken:n},body:{embed_auth_link:r}}}}function ie(e){return{url:e.url,postAuthAction:e.post_authn_action,callbackUrl:e.callback_url,expiresAt:e.expired_at,usedAt:e.used_at}}const ce={request:async function({requestSettings:e,operationSettings:n}){!function(e){if(!e||"object"!=typeof e)throw new J("requestSettings must be an object");const n=e,{action:t,callbackUrl:a}=e;V(n,[{name:"action"}]);const r=W(n),s=Object.values(k);if(s.includes(t)||r.push(`action must be one of ${s.join(", ")}`),r.length>0)throw new J(r);if(void 0!==a&&""===a.trim())throw new J("callbackUrl cannot be empty")}(e);const{proxyRequestFunction:t,stagingToken:a}=se(n||{});if(t){const n=oe({stagingToken:a,action:e.action,callbackUrl:e.callbackUrl});return ie((await ae({proxyFunction:t,networkCallDescriptor:n})).body)}{const t=n?.accessToken||p();return ie(await async function(e){const n=oe({accessToken:e.accessToken,stagingToken:e.stagingToken,action:e.action,callbackUrl:e.callbackUrl}),{embed_auth_link:t}=await U(n);return{url:t.url,post_authn_action:t.post_authn_action,callback_url:t.callback_url,expired_at:t.expired_at,used_at:t.used_at}}({accessToken:t,stagingToken:a,action:e.action,callbackUrl:e.callbackUrl}))}}};function ue(e){return{id:e.id,name:e.name,email:e.email,activityTag:e.activity_tag,iban:e.iban,bic:e.bic,currency:e.currency,status:e.status,trusted:e.trusted,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function de({beneficiaryId:e,accessToken:n,stagingToken:t}){return{path:`/v2/sepa/beneficiaries/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:t}}}}async function fe({beneficiarySettings:e,operationSettings:n}){const t=function(e){if(!e)throw new J("beneficiaryId parameter is required for the called function");if(e&&"string"!=typeof e)throw new J("beneficiaryId must be a string");return e}(e?.beneficiaryId),{proxyRequestFunction:a,accessToken:r,stagingToken:s}=se(n||{});if(a){const e=de({beneficiaryId:t});return ue((await ae({proxyFunction:a,networkCallDescriptor:e})).body.beneficiary)}{const e=r||p(),n=await async function({accessToken:e,stagingToken:n,beneficiaryId:t}){const a=de({beneficiaryId:t,accessToken:e,stagingToken:n}),{beneficiary:r}=await U(a);return r}({beneficiaryId:t,accessToken:e,stagingToken:s});return ue(n)}}function pe(e,n){const t=n?.locale||A.getLocale(),a=new URL(e);return t&&a.searchParams.append("lang",t),n?.mfaPreference&&a.searchParams.append("mfaPreference",n.mfaPreference),n?.idempotencyKey&&a.searchParams.append("idempotencyKey",n.idempotencyKey),a.toString()}const ge=[{name:"bankAccountId"},{name:"reference"},{name:"amount"}];const le={getSepaTransfers:async function(e){const{accessToken:n,stagingToken:t,paginationSettings:a}=e?.operationSettings||{},r=n||p(),s=await C({accessToken:r,stagingToken:t,paginationSettings:a}),o=s.transfers.map($),c=i(s.meta);return{transfers:o,...c?{meta:c}:{}}},getSepaTransfer:async function({sepaTransferSettings:e,operationSettings:n}){const t=function(e){if(!e)throw new J("sepaTransferId parameter is required for the called function");if(e&&"string"!=typeof e)throw new J("sepaTransferId must be a string");return e}(e?.sepaTransferId),{accessToken:a,stagingToken:r}=n||{},s=a||p();return $(await j({sepaTransferId:t,accessToken:s,stagingToken:r}))},createSepaTransfer:async function*({sepaTransferSettings:e,operationSettings:n}){const{accessToken:t,stagingToken:a,scaSessionToken:r,idempotencyKey:o}=n||{},i=t||p(),c=o||s();!function(e){if(!e)throw new J("sepaTransferSettings parameter is required for the called function");if("object"!=typeof e)throw new J("sepaTransferSettings must be an object");if(!e.beneficiaryId&&!e.beneficiary)throw new J("Either beneficiaryId or beneficiary must be provided");const n=W({beneficiaryId:e.beneficiaryId});if(n.length>0)throw new J(n)}(e);const u=e?.beneficiary?e.beneficiary:await async function({sepaTransferSettings:e,operationSettings:n}){return e?.beneficiary?e.beneficiary:await fe({beneficiarySettings:{beneficiaryId:e?.beneficiaryId},operationSettings:n})}({sepaTransferSettings:e,operationSettings:n}),d={name:u.name,iban:u.iban},f=await K({sepaPayee:d,accessToken:i,stagingToken:a}),g=yield(l=f,{matchResult:l.match_result,matchedName:l.matched_name});var l;let T;if("string"==typeof g){if(g===h)return}else{if(g.vopDecision===h)return;T=g.sepaTransferSettings}const k={...e,...T};!function(e){if(!e)throw new J("sepaTransferSettings parameter is required for the called function");if("object"!=typeof e)throw new J("sepaTransferSettings must be an object");V(e,ge);const n=[...W({bankAccountId:e.bankAccountId,note:e.note,reference:e.reference}),...Z({amount:e.amount})].flat();if(n.length>0)throw new J(n);if(e.amount>m&&(!e.attachmentIds||0===e.attachmentIds.length))throw new J("Attachments are required for transfers over €30,000")}(k);const b={...k,beneficiary:u};return{transfer:$(await B({transfer:b,vopProofToken:f.proof_token.token,accessToken:i,stagingToken:a,scaSessionToken:r,idempotencyKey:c})),meta:{idempotencyKey:c}}},cancelSepaTransfer:async function({sepaTransferSettings:e,operationSettings:n}){const t=function(e){if(!e)throw new J("sepaTransferId parameter is required for the called function");if("string"!=typeof e)throw new J("sepaTransferId must be a string");return e}(e?.sepaTransferId),{accessToken:a,stagingToken:r}=n||{},s=a||p();await F({sepaTransferId:t,accessToken:s,stagingToken:r})},getSepaTransferCreationFlowLink:async function({sepaTransferSettings:e,operationSettings:n}){const t=function(e){if(!e||!e.callbackUrl)throw new J("callbackUrl parameter is required for the getSepaTransferCreationFlowLink function");if("string"!=typeof e.callbackUrl)throw new J("callbackUrl must be a string");return e.callbackUrl}(e),{accessToken:a,stagingToken:r}=n||{},s=a||p(),o=await ce.request({requestSettings:{action:k.SEPA_TRANSFER_CREATE,callbackUrl:t},operationSettings:{stagingToken:r,accessToken:s}});return{...o,url:pe(o.url,n)}},bulkTransfers:ne};e.sepaTransfers=le}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Beneficiary, BeneficiaryDataObject } from '@beneficiaries/beneficiaries.types';
|
|
2
|
-
import type { SepaTransferDataObject } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
3
|
-
import type { BulkTransferDataObject, NewBulkTransfer, BulkTransferSettings, NewBulkTransferWithBeneficiary } from '@sepa-transfers/bulk-transfers/shared/bulk-transfers.types';
|
|
4
2
|
import type { CardDataObject } from '@cards/cards.types';
|
|
5
|
-
import type { TransactionDataObject } from '@transactions/transactions.types';
|
|
6
3
|
import type { BankAccountDataObject, OrganizationDataObject } from '@organizations/organizations.types';
|
|
4
|
+
import type { BulkTransferDataObject, BulkTransferSettings, NewBulkTransfer, NewBulkTransferWithBeneficiary } from '@sepa-transfers/bulk-transfers/shared/bulk-transfers.types';
|
|
5
|
+
import type { SepaTransferDataObject } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
6
|
+
import type { TransactionDataObject } from '@transactions/transactions.types';
|
|
7
7
|
export declare const INVALID_ACCESS_TOKEN = "INVALID_ACCESS_TOKEN";
|
|
8
8
|
export declare const mockedBankAccountsList: BankAccountDataObject[];
|
|
9
9
|
export declare const mockedOrganization: OrganizationDataObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/mocks/handlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/mocks/handlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUzD,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oCAAoC,CAAC;AAI5C,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EAEpB,eAAe,EAEf,8BAA8B,EAC/B,MAAM,4DAA4D,CAAC;AAEpE,OAAO,KAAK,EAEV,sBAAsB,EACvB,MAAM,6CAA6C,CAAC;AAErD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAI9E,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAK3D,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EA+BzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,sBAchC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAY/B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;CAOlC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAe1D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,sBAkBpC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,sBAAsB,EAqBrE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,sBAqBxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,sBAAsB,EAoBrE,CAAC;AAEF,eAAO,MAAM,wBAAwB,iEAC2B,CAAC;AAEjE,eAAO,MAAM,YAAY,EAAE,cAuD1B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,qBA2CzC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EA8EzD,CAAC;AAGF,eAAO,MAAM,kCAAkC,WAAW,CAAC;AAE3D,eAAO,MAAM,wBAAwB,EAAE,WAYtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,eAKtC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,8BAKnC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,oBAAoB,CAAC,eAAe,CAI7E,CAAC;AAEJ,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;CAiB1C,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;CAiB7C,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;CAuBzC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAEF,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,2BAA2B,eAAe,CAAC;AAExD,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAEX,eAAO,MAAM,WAAW,6BAyvBvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/mocks/node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/mocks/node.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,mCAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.api.d.ts","sourceRoot":"","sources":["../../../src/organizations/organizations.api.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"organizations.api.d.ts","sourceRoot":"","sources":["../../../src/organizations/organizations.api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAK/B,eAAO,MAAM,sBAAsB,GAAI,gCAGpC;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,qBAYH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,gCAGnC;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC;IAAE,YAAY,EAAE,sBAAsB,CAAA;CAAE,CASnD,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,gCAGpC;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,qBAYH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,gCAGnC;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC;IAAE,aAAa,EAAE,qBAAqB,EAAE,CAAA;CAAE,CASrD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BankAccount, Organization } from './organizations.types';
|
|
2
1
|
import { type OperationSettings } from '@validation/operation-settings-validation';
|
|
2
|
+
import type { BankAccount, Organization } from './organizations.types';
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves the organization information.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../src/organizations/organizations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../src/organizations/organizations.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,2CAA2C,CAAC;AAYnD,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EAEb,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,EAAE,CAC5B,iBAAiB,EAAE,iBAAiB,KACjC,OAAO,CAAC,YAAY,CAyBxB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,EAAE,CAC5B,iBAAiB,EAAE,iBAAiB,KACjC,OAAO,CAAC,WAAW,EAAE,CAuBzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-links.d.ts","sourceRoot":"","sources":["../../../src/payment-links/payment-links.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"payment-links.d.ts","sourceRoot":"","sources":["../../../src/payment-links/payment-links.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAO/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,6BAA6B,GAAU,6CAGjD,iBAAiB,CAAC,yBAAyB,CAAC,KAAG,OAAO,CAAC,MAAM,CAsB/D,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,iCAAiC,GAAU,6CAGrD,iBAAiB,CAAC,yBAAyB,CAAC,KAAG,OAAO,CAAC,IAAI,CAM7D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type CreatePaymentLinkSettings, type Item } from '../payment-links.types';
|
|
2
2
|
export declare function validateItems(items: Item[] | undefined): never[] | undefined;
|
|
3
3
|
export declare const validateType: (type: string) => void;
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-links.validate.d.ts","sourceRoot":"","sources":["../../../../src/payment-links/validation/payment-links.validate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"payment-links.validate.d.ts","sourceRoot":"","sources":["../../../../src/payment-links/validation/payment-links.validate.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,IAAI,EAEV,MAAM,wBAAwB,CAAC;AAgBhC,wBAAgB,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,SAAS,uBAqCtD;AAED,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,SAOxC,CAAC;AAEF;;GAEG;AACH,wBAAgB,qCAAqC,CACnD,mBAAmB,EAAE,yBAAyB,GAAG,SAAS,GACzD,MAAM,CAaR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sca.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sca.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,sBAAsB,EAEtB,SAAS,EACV,MAAM,gBAAgB,CAAC;AAGxB,wBAAuB,cAAc,CAAC,EACpC,WAAW,EACX,iBAAiB,GAClB,EAAE,SAAS,CAAC,sBAAsB,CAAC,mEA6BnC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PreconditionRequiredResponse, PreconditionRequiredResponseDataObject, QontoScaPollingResponseDataObject } from './sca.types.ts';
|
|
2
1
|
import { SCA_POLLING_RESULTS } from './sca.constants.ts';
|
|
2
|
+
import type { PreconditionRequiredResponse, PreconditionRequiredResponseDataObject, QontoScaPollingResponseDataObject } from './sca.types.ts';
|
|
3
3
|
export type ScaPollingResult = (typeof SCA_POLLING_RESULTS)[keyof typeof SCA_POLLING_RESULTS];
|
|
4
4
|
export interface ScaPollingResponse {
|
|
5
5
|
result: ScaPollingResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sca.serializer.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,4BAA4B,EAC5B,sCAAsC,EACtC,iCAAiC,EAClC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"sca.serializer.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,4BAA4B,EAC5B,sCAAsC,EACtC,iCAAiC,EAClC,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,gBAAgB,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,iCAAiC,GAC1C,kBAAkB,CAKpB;AAED,wBAAgB,qCAAqC,CACnD,QAAQ,EAAE,sCAAsC,GAC/C,4BAA4B,CAO9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sca.types.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"sca.types.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC;IAChB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE,gBAAgB,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,sCAAsC;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BulkTransfer, BulkTransferParams, GetBulkTransfer, GetBulkTransfersResponse, NewBulkTransferWithBeneficiary, SingleBulkVopVerificationResult } from './shared/bulk-transfers.types';
|
|
2
1
|
import type { SepaTransferParams } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
2
|
+
import type { BulkTransfer, BulkTransferParams, GetBulkTransfer, GetBulkTransfersResponse, NewBulkTransferWithBeneficiary, SingleBulkVopVerificationResult } from './shared/bulk-transfers.types';
|
|
3
3
|
/**
|
|
4
4
|
* Fetches the list of SEPA bulk transfers for the current user.
|
|
5
5
|
* @param getBulkTransfersParams - An optional object containing:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-transfers.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/bulk-transfers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-transfers.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/bulk-transfers.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAEV,kBAAkB,EACnB,MAAM,6CAA6C,CAAC;AAmBrD,OAAO,KAAK,EACV,YAAY,EAEZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAChC,MAAM,+BAA+B,CAAC;AAUvC;;;;;;;;;;;;;GAaG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,GACjD,OAAO,CAAC,wBAAwB,CAAC,CAuDnC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,eAAe,CAAC,EACpC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,kBAAkB,CAAC,eAAe,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CA2B7D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAuB,kBAAkB,CAAC,EACxC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,kBAAkB,CAAC,8BAA8B,CAAC,GAAG,cAAc,CACpE,+BAA+B,EAAE,EACjC,YAAY,GAAG,SAAS,CACzB,CAyFA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-transfers.utils.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/bulk-transfers.utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-transfers.utils.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/bulk-transfers.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAE3E,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,oBAAoB,EAAE;QACpB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B,CAAC;CACH;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,EACpC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,CAAC,CAa9C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BulkTransfer, BulkTransferSettings, CreateBulkTransferResponse, GetBulkTransfer, GetBulkTransfersResponse, NewBulkTransferWithBeneficiary, SingleBulkVopVerificationResult } from '../shared/bulk-transfers.types';
|
|
2
1
|
import type { ClientOperationSettings } from '@validation/operation-settings-validation';
|
|
2
|
+
import type { BulkTransfer, BulkTransferSettings, CreateBulkTransferResponse, GetBulkTransfer, GetBulkTransfersResponse, NewBulkTransferWithBeneficiary, SingleBulkVopVerificationResult } from '../shared/bulk-transfers.types';
|
|
3
3
|
/**
|
|
4
4
|
* Generic parameter type for client-side bulk transfer operations
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-transfers.client.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/client/bulk-transfers.client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-transfers.client.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/client/bulk-transfers.client.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAuBzF,OAAO,KAAK,EACV,YAAY,EAEZ,oBAAoB,EACpB,0BAA0B,EAC1B,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAChC,MAAM,gCAAgC,CAAC;AAMxC;;GAEG;AACH,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,CAAC;IACzB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,wBAAwB,CAAC,KAAK,CAAC,GACvD,OAAO,CAAC,wBAAwB,CAAC,CAiCnC;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,EACpC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,wBAAwB,CAAC,eAAe,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAqBnE;AAED;;GAEG;AACH,UAAU,8BAA8B;IACtC,oBAAoB,EAAE,oBAAoB,CAAC,8BAA8B,CAAC,CAAC;IAC3E,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;;;;;;GAWG;AACH,wBAAuB,kBAAkB,CAAC,EACxC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,8BAA8B,GAAG,cAAc,CAChD,+BAA+B,EAAE,EACjC,0BAA0B,GAAG,SAAS,CACvC,CAsFA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createBulkTransfer, getBulkTransfer, getBulkTransfers } from './client/bulk-transfers.client';
|
|
2
2
|
/**
|
|
3
3
|
* The bulkTransfers namespace contains client-side functions for SEPA bulk transfer operations.
|
|
4
4
|
* This version uses proxy-based authentication (proxyRequestFunction or proxyEndpointDescriptor)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAExC;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa;;;;CAIzB,CAAC;AAGF,mBAAmB,+BAA+B,CAAC;AACnD,YAAY,EACV,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BulkTransfer, BulkTransferSettings, CreateBulkTransferResponse, GetBulkTransfer, GetBulkTransfersResponse, NewBulkTransfer, SingleBulkVopVerificationResult } from '../shared/bulk-transfers.types';
|
|
2
1
|
import type { ServerOperationSettings } from '@validation/operation-settings-validation';
|
|
2
|
+
import type { BulkTransfer, BulkTransferSettings, CreateBulkTransferResponse, GetBulkTransfer, GetBulkTransfersResponse, NewBulkTransfer, SingleBulkVopVerificationResult } from '../shared/bulk-transfers.types';
|
|
3
3
|
/**
|
|
4
4
|
* Generic parameter type for server-side bulk transfer operations
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-transfers.server.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/server/bulk-transfers.server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-transfers.server.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/server/bulk-transfers.server.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAYzF,OAAO,KAAK,EACV,YAAY,EACZ,oBAAoB,EACpB,0BAA0B,EAC1B,eAAe,EACf,wBAAwB,EACxB,eAAe,EACf,+BAA+B,EAChC,MAAM,gCAAgC,CAAC;AAMxC;;GAEG;AACH,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,CAAC;IACzB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,wBAAwB,CAAC,KAAK,CAAC,GACvD,OAAO,CAAC,wBAAwB,CAAC,CAwBnC;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,EACpC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,wBAAwB,CAAC,eAAe,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAcnE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AACH,wBAAuB,kBAAkB,CAAC,EACxC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,wBAAwB,CACzB,oBAAoB,CAAC,eAAe,CAAC,CACtC,GAAG,cAAc,CAChB,+BAA+B,EAAE,EACjC,0BAA0B,GAAG,SAAS,CACvC,CAuDA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createBulkTransfer, getBulkTransfer, getBulkTransfers } from './server/bulk-transfers.server';
|
|
2
2
|
/**
|
|
3
3
|
* The bulkTransfers namespace contains server-side functions for SEPA bulk transfer operations.
|
|
4
4
|
* This version uses access token-based authentication and is designed for server environments.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/server.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/server.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,aAAa;;;;CAIzB,CAAC;AAGF,mBAAmB,+BAA+B,CAAC;AACnD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { PaginationResponseDataObject, PaginationSettings } from '@common/api-pagination/api-pagination.types';
|
|
1
2
|
import { type NetworkCallDescriptor } from '@common/network/network';
|
|
2
|
-
import type { PaginationSettings, PaginationResponseDataObject } from '@common/api-pagination/api-pagination.types';
|
|
3
|
-
import type { BulkTransferDataObject, NewBulkTransfer, VerifyBulkSepaPayeeApiResponse } from './bulk-transfers.types';
|
|
4
3
|
import type { SepaPayee } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
4
|
+
import type { BulkTransferDataObject, NewBulkTransfer, VerifyBulkSepaPayeeApiResponse } from './bulk-transfers.types';
|
|
5
5
|
interface AuthParams {
|
|
6
6
|
accessToken: string;
|
|
7
7
|
stagingToken?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-transfers.api.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-transfers.api.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,4BAA4B,EAC5B,kBAAkB,EACnB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EACL,KAAK,qBAAqB,EAG3B,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAG7E,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EACf,8BAA8B,EAC/B,MAAM,wBAAwB,CAAC;AAGhC,UAAU,UAAU;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,sBAAsB;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC;AAED,UAAU,2BAA2B;IACnC,aAAa,EAAE,sBAAsB,EAAE,CAAC;IACxC,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED,UAAU,qBAAsB,SAAQ,UAAU;IAChD,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,sBAAsB;IAC9B,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AAEjE,wBAAgB,2BAA2B,CAAC,EAC1C,kBAAkB,EAClB,WAAW,EACX,YAAY,GACb,EAAE,sBAAsB,GAAG,qBAAqB,CAgBhD;AAED,wBAAsB,gBAAgB,CAAC,EACrC,WAAW,EACX,YAAY,EACZ,kBAAkB,GACnB,EAAE,sBAAsB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAe/D;AAED,wBAAgB,0BAA0B,CAAC,EACzC,cAAc,EACd,WAAW,EACX,YAAY,GACb,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,qBAAqB,CAWxB;AAED,wBAAsB,eAAe,CAAC,EACpC,WAAW,EACX,YAAY,EACZ,cAAc,GACf,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAUzD;AAED,wBAAsB,kBAAkB,CAAC,EACvC,aAAa,EACb,WAAW,EACX,YAAY,EACZ,eAAe,EACf,aAAa,EACb,cAAc,GACf,EAAE,wBAAwB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAqC5D;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,UAAU,EACV,WAAW,EACX,YAAY,GACb,EAAE,sBAAsB,GAAG,qBAAqB,CAchD;AAED,wBAAsB,gBAAgB,CAAC,EACrC,UAAU,EACV,WAAW,EACX,YAAY,GACb,EAAE,sBAAsB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CASlE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
|
|
2
2
|
import type { PaginationState } from '@common/api-pagination/api-pagination.types';
|
|
3
3
|
import type { TRANSFER_STATUSES } from '@common/constants';
|
|
4
|
-
import type { OperationSettings } from '@validation/operation-settings-validation';
|
|
5
4
|
import type { VerifySepaPayeeApiResponse } from '@sepa-transfers/shared/sepa-transfers.api';
|
|
6
5
|
import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
6
|
+
import type { OperationSettings } from '@validation/operation-settings-validation';
|
|
7
7
|
/**
|
|
8
8
|
* Represents the possible statuses of a Bulk transfer result.
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-transfers.types.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"bulk-transfers.types.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,6BAA6B,EAAE,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,MAAM,EAAE,uBAAuB,EAAE,GAAG,IAAI,CAAC;IACzC;;OAEG;IACH,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAED,MAAM,WAAW,4BAA4B;IAC3C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,uBAAuB,EAAE,GAAG,IAAI,CAAC;IACzC,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,4BAA4B,EAAE,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE;QACJ;;;WAGG;QACH,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,eAAe,EACf,eAAe,CAChB,GAAG;IACF,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,aAAa,EAAE,CAAC,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,8BAA8B;IAC7C,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,MAAM,WAAW,yCAAyC;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,IAAI,CAAC,0BAA0B,EAAE,cAAc,GAAG,cAAc,CAAC,CAAC;CAC7E;AAED,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,EAAE,yCAAyC,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,qBAAqB,CAAC;CACjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-transfers.validate.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"bulk-transfers.validate.d.ts","sourceRoot":"","sources":["../../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAIhC,wBAAgB,0BAA0B,CACxC,cAAc,EAAE,MAAM,GAAG,SAAS,GACjC,MAAM,CAUR;AAED,wBAAgB,gCAAgC,CAC9C,oBAAoB,EAAE,oBAAoB,CAAC,eAAe,CAAC,GAAG,SAAS,yCA2BxE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BeneficiaryInformationForVop, CancelSepaTransferParams, CreateSepaTransferResponse, GetSepaTransfer, GetSepaTransfersResponse, NewSepaTransfer, SepaTransfer, SepaTransferCreationFlowRequest, VopVerificationResult } from '../shared/sepa-transfers.types';
|
|
2
1
|
import type { AuthLinkRequestResult } from '@auth-links/auth-links.types';
|
|
3
|
-
import '../../ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.ts';
|
|
4
2
|
import type { ClientOperationSettings } from '@validation/operation-settings-validation';
|
|
3
|
+
import type { BeneficiaryInformationForVop, CancelSepaTransferParams, CreateSepaTransferResponse, GetSepaTransfer, GetSepaTransfersResponse, NewSepaTransfer, SepaTransfer, SepaTransferCreationFlowRequest, VopVerificationResult } from '../shared/sepa-transfers.types';
|
|
4
|
+
import '../../ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.ts';
|
|
5
5
|
/**
|
|
6
6
|
* Generic parameter type for client-side SEPA transfer operations
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sepa-transfers.client.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/client/sepa-transfers.client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sepa-transfers.client.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/client/sepa-transfers.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAa1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAuBzF,OAAO,KAAK,EACV,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,eAAe,EACf,wBAAwB,EACxB,eAAe,EAEf,YAAY,EACZ,+BAA+B,EAI/B,qBAAqB,EACtB,MAAM,gCAAgC,CAAC;AAexC,OAAO,+DAA+D,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,CAAC;IACzB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,wBAAwB,CAAC,KAAK,CAAC,GACvD,OAAO,CAAC,wBAAwB,CAAC,CAiCnC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CAAC,EACpC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,wBAAwB,CAAC,eAAe,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAqBnE;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAuB,kBAAkB,CAAC,EACxC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,wBAAwB,CACzB,eAAe,GAAG,4BAA4B,CAC/C,GAAG,cAAc,CAChB,qBAAqB,EACrB,0BAA0B,GAAG,SAAS,CACvC,CAsIA;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,wBAAwB,CAAC,wBAAwB,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAmBpE;AA4BD;;;;;;;;;;;;GAYG;AACH,wBAAsB,+BAA+B,CAAC,EACpD,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,wBAAwB,CAAC,+BAA+B,CAAC,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA0B5F"}
|