@qonto/embed-sdk 0.50.0 → 0.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cards/cards.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/initialize/initialize.d.ts.map +1 -1
- package/dist/common/initialize/initialize.validate.d.ts.map +1 -1
- package/dist/index.server.d.ts +5 -0
- package/dist/index.server.d.ts.map +1 -0
- package/dist/index.umd.js +21 -22
- package/dist/mocks/handlers.d.ts +3 -3
- package/dist/mocks/handlers.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/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +2 -2
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +46 -0
- package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts +2 -0
- package/dist/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/index.d.ts +26 -0
- package/dist/sepa-transfers/bulk-transfers/index.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +133 -0
- package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts +2 -0
- package/dist/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/server.d.ts +30 -0
- package/dist/sepa-transfers/bulk-transfers/server.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.api.d.ts → shared/bulk-transfers.api.d.ts} +3 -2
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts +2 -0
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.types.d.ts → shared/bulk-transfers.types.d.ts} +21 -2
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -0
- package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -0
- package/dist/sepa-transfers/client/sepa-transfers.client.d.ts +85 -0
- package/dist/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -0
- package/dist/sepa-transfers/client/sepa-transfers.client.test.d.ts +2 -0
- package/dist/sepa-transfers/client/sepa-transfers.client.test.d.ts.map +1 -0
- package/dist/sepa-transfers/index.d.ts +24 -18
- package/dist/sepa-transfers/index.d.ts.map +1 -1
- package/dist/sepa-transfers/index.server.d.ts +44 -0
- package/dist/sepa-transfers/index.server.d.ts.map +1 -0
- 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/server/sepa-transfers.server.d.ts +161 -0
- package/dist/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -0
- package/dist/sepa-transfers/server/sepa-transfers.server.test.d.ts +2 -0
- package/dist/sepa-transfers/server/sepa-transfers.server.test.d.ts.map +1 -0
- package/dist/sepa-transfers/{sepa-transfers.api.d.ts → shared/sepa-transfers.api.d.ts} +3 -2
- package/dist/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -0
- package/dist/sepa-transfers/{sepa-transfers.serializer.d.ts → shared/sepa-transfers.serializer.d.ts} +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -0
- package/dist/sepa-transfers/shared/sepa-transfers.shared.test.d.ts +2 -0
- package/dist/sepa-transfers/shared/sepa-transfers.shared.test.d.ts.map +1 -0
- package/dist/sepa-transfers/{sepa-transfers.types.d.ts → shared/sepa-transfers.types.d.ts} +19 -0
- package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -0
- package/dist/sepa-transfers/{sepa-transfers.utils.d.ts → shared/sepa-transfers.utils.d.ts} +3 -3
- package/dist/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -0
- package/dist/sepa-transfers/{sepa-transfers.validate.d.ts → shared/sepa-transfers.validate.d.ts} +1 -1
- package/dist/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -0
- package/dist/server/auth-links/auth-links.api.d.ts +20 -0
- package/dist/server/auth-links/auth-links.api.d.ts.map +1 -0
- package/dist/server/auth-links/auth-links.d.ts +46 -0
- package/dist/server/auth-links/auth-links.d.ts.map +1 -0
- package/dist/server/auth-links/auth-links.public-api.d.ts +6 -0
- package/dist/server/auth-links/auth-links.public-api.d.ts.map +1 -0
- package/dist/server/auth-links/auth-links.test.d.ts +2 -0
- package/dist/server/auth-links/auth-links.test.d.ts.map +1 -0
- package/dist/server/auth-links/auth-links.types.d.ts +68 -0
- package/dist/server/auth-links/auth-links.types.d.ts.map +1 -0
- package/dist/server/auth-links/auth-links.validate.d.ts +6 -0
- package/dist/server/auth-links/auth-links.validate.d.ts.map +1 -0
- package/dist/server/auth-links/auth-links.validate.test.d.ts +2 -0
- package/dist/server/auth-links/auth-links.validate.test.d.ts.map +1 -0
- package/dist/server/auth-links/index.d.ts +25 -0
- package/dist/server/auth-links/index.d.ts.map +1 -0
- package/dist/server/beneficiaries/beneficiaries.api.d.ts +56 -0
- package/dist/server/beneficiaries/beneficiaries.api.d.ts.map +1 -0
- package/dist/server/beneficiaries/beneficiaries.d.ts +131 -0
- package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -0
- package/dist/server/beneficiaries/beneficiaries.public-api.d.ts +10 -0
- package/dist/server/beneficiaries/beneficiaries.public-api.d.ts.map +1 -0
- package/dist/server/beneficiaries/beneficiaries.serializer.d.ts +4 -0
- package/dist/server/beneficiaries/beneficiaries.serializer.d.ts.map +1 -0
- package/dist/server/beneficiaries/beneficiaries.test.d.ts +2 -0
- package/dist/server/beneficiaries/beneficiaries.test.d.ts.map +1 -0
- package/dist/server/beneficiaries/beneficiaries.types.d.ts +65 -0
- package/dist/server/beneficiaries/beneficiaries.types.d.ts.map +1 -0
- package/dist/server/beneficiaries/beneficiaries.validate.d.ts +6 -0
- package/dist/server/beneficiaries/beneficiaries.validate.d.ts.map +1 -0
- package/dist/server/beneficiaries/index.d.ts +22 -0
- package/dist/server/beneficiaries/index.d.ts.map +1 -0
- package/dist/server/cards/cards.api.d.ts +35 -0
- package/dist/server/cards/cards.api.d.ts.map +1 -0
- package/dist/server/cards/cards.d.ts +205 -0
- package/dist/server/cards/cards.d.ts.map +1 -0
- package/dist/server/cards/cards.helper.d.ts +17 -0
- package/dist/server/cards/cards.helper.d.ts.map +1 -0
- package/dist/server/cards/cards.public-api.d.ts +10 -0
- package/dist/server/cards/cards.public-api.d.ts.map +1 -0
- package/dist/server/cards/cards.serializer.d.ts +72 -0
- package/dist/server/cards/cards.serializer.d.ts.map +1 -0
- package/dist/server/cards/cards.test.d.ts +2 -0
- package/dist/server/cards/cards.test.d.ts.map +1 -0
- package/dist/server/cards/cards.types.d.ts +294 -0
- package/dist/server/cards/cards.types.d.ts.map +1 -0
- package/dist/server/cards/cards.validate.d.ts +16 -0
- package/dist/server/cards/cards.validate.d.ts.map +1 -0
- package/dist/server/cards/cards.validate.test.d.ts +2 -0
- package/dist/server/cards/cards.validate.test.d.ts.map +1 -0
- package/dist/server/cards/index.d.ts +23 -0
- package/dist/server/cards/index.d.ts.map +1 -0
- 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/api-pagination/api-pagination.d.ts +14 -0
- package/dist/server/common/api-pagination/api-pagination.d.ts.map +1 -0
- package/dist/server/common/api-pagination/api-pagination.test.d.ts +2 -0
- package/dist/server/common/api-pagination/api-pagination.test.d.ts.map +1 -0
- package/dist/server/common/api-pagination/api-pagination.types.d.ts +31 -0
- package/dist/server/common/api-pagination/api-pagination.types.d.ts.map +1 -0
- package/dist/server/common/auth/auth.d.ts +38 -0
- package/dist/server/common/auth/auth.d.ts.map +1 -0
- package/dist/server/common/auth/auth.test.d.ts +2 -0
- package/dist/server/common/auth/auth.test.d.ts.map +1 -0
- package/dist/server/common/auth/auth.validate.d.ts +2 -0
- package/dist/server/common/auth/auth.validate.d.ts.map +1 -0
- package/dist/server/common/auth/index.d.ts +3 -0
- package/dist/server/common/auth/index.d.ts.map +1 -0
- package/dist/server/common/codec/codec.d.ts +3 -0
- package/dist/server/common/codec/codec.d.ts.map +1 -0
- package/dist/server/common/codec/index.d.ts +2 -0
- package/dist/server/common/codec/index.d.ts.map +1 -0
- package/dist/server/common/common.public-api.d.ts +9 -0
- package/dist/server/common/common.public-api.d.ts.map +1 -0
- package/dist/server/common/common.test.d.ts +2 -0
- package/dist/server/common/common.test.d.ts.map +1 -0
- package/dist/server/common/common.types.d.ts +9 -0
- package/dist/server/common/common.types.d.ts.map +1 -0
- package/dist/server/common/common.utils.d.ts +12 -0
- package/dist/server/common/common.utils.d.ts.map +1 -0
- package/dist/server/common/constants.d.ts +201 -0
- package/dist/server/common/constants.d.ts.map +1 -0
- package/dist/server/common/environment/environment-manager.d.ts +58 -0
- package/dist/server/common/environment/environment-manager.d.ts.map +1 -0
- package/dist/server/common/environment/environment-manager.test.d.ts +2 -0
- package/dist/server/common/environment/environment-manager.test.d.ts.map +1 -0
- package/dist/server/common/index.d.ts +3 -0
- package/dist/server/common/index.d.ts.map +1 -0
- package/dist/server/common/initialize/index.d.ts +2 -0
- package/dist/server/common/initialize/index.d.ts.map +1 -0
- package/dist/server/common/initialize/initialize.d.ts +73 -0
- package/dist/server/common/initialize/initialize.d.ts.map +1 -0
- package/dist/server/common/initialize/initialize.test.d.ts +2 -0
- package/dist/server/common/initialize/initialize.test.d.ts.map +1 -0
- package/dist/server/common/initialize/initialize.types.d.ts +39 -0
- package/dist/server/common/initialize/initialize.types.d.ts.map +1 -0
- package/dist/server/common/initialize/initialize.validate.d.ts +9 -0
- package/dist/server/common/initialize/initialize.validate.d.ts.map +1 -0
- package/dist/server/common/locale/index.d.ts +2 -0
- package/dist/server/common/locale/index.d.ts.map +1 -0
- package/dist/server/common/locale/locale-manager.d.ts +13 -0
- package/dist/server/common/locale/locale-manager.d.ts.map +1 -0
- package/dist/server/common/locale/locale-manager.test.d.ts +2 -0
- package/dist/server/common/locale/locale-manager.test.d.ts.map +1 -0
- package/dist/server/common/locale/locale.types.d.ts +8 -0
- package/dist/server/common/locale/locale.types.d.ts.map +1 -0
- package/dist/server/common/locale/locale.validate.d.ts +3 -0
- package/dist/server/common/locale/locale.validate.d.ts.map +1 -0
- package/dist/server/common/logger/index.d.ts +2 -0
- package/dist/server/common/logger/index.d.ts.map +1 -0
- package/dist/server/common/logger/logger.d.ts +8 -0
- package/dist/server/common/logger/logger.d.ts.map +1 -0
- package/dist/server/common/logger/logger.test.d.ts +2 -0
- package/dist/server/common/logger/logger.test.d.ts.map +1 -0
- package/dist/server/common/network/network.d.ts +31 -0
- package/dist/server/common/network/network.d.ts.map +1 -0
- package/dist/server/common/network/network.test.d.ts +2 -0
- package/dist/server/common/network/network.test.d.ts.map +1 -0
- package/dist/server/common/network/network.types.d.ts +5 -0
- package/dist/server/common/network/network.types.d.ts.map +1 -0
- package/dist/server/common/operation-settings/operation-settings.d.ts +48 -0
- package/dist/server/common/operation-settings/operation-settings.d.ts.map +1 -0
- package/dist/server/common/operation-settings/operation-settings.types.d.ts +3 -0
- package/dist/server/common/operation-settings/operation-settings.types.d.ts.map +1 -0
- package/dist/server/common/runtime/runtime.validation.d.ts +3 -0
- package/dist/server/common/runtime/runtime.validation.d.ts.map +1 -0
- package/dist/server/common/runtime/runtime.validation.test.d.ts +2 -0
- package/dist/server/common/runtime/runtime.validation.test.d.ts.map +1 -0
- package/dist/server/common/sentry/index.d.ts +2 -0
- package/dist/server/common/sentry/index.d.ts.map +1 -0
- package/dist/server/common/sentry/sentry-manager.d.ts +36 -0
- package/dist/server/common/sentry/sentry-manager.d.ts.map +1 -0
- package/dist/server/customization/customization.constants.d.ts +2 -0
- package/dist/server/customization/customization.constants.d.ts.map +1 -0
- package/dist/server/customization/customization.d.ts +18 -0
- package/dist/server/customization/customization.d.ts.map +1 -0
- package/dist/server/customization/customization.test.d.ts +2 -0
- package/dist/server/customization/customization.test.d.ts.map +1 -0
- package/dist/server/customization/index.d.ts +2 -0
- package/dist/server/customization/index.d.ts.map +1 -0
- package/dist/server/errors/AuthenticationError.d.ts +11 -0
- package/dist/server/errors/AuthenticationError.d.ts.map +1 -0
- package/dist/server/errors/EmbedApiError.d.ts +16 -0
- package/dist/server/errors/EmbedApiError.d.ts.map +1 -0
- package/dist/server/errors/EmbedOperationError.d.ts +11 -0
- package/dist/server/errors/EmbedOperationError.d.ts.map +1 -0
- package/dist/server/errors/EmbedUIElementError.d.ts +11 -0
- package/dist/server/errors/EmbedUIElementError.d.ts.map +1 -0
- package/dist/server/errors/InvalidParametersError.d.ts +14 -0
- package/dist/server/errors/InvalidParametersError.d.ts.map +1 -0
- package/dist/server/errors/InvalidRuntimeError.d.ts +18 -0
- package/dist/server/errors/InvalidRuntimeError.d.ts.map +1 -0
- package/dist/server/errors/QontoEmbedSdkError.d.ts +8 -0
- package/dist/server/errors/QontoEmbedSdkError.d.ts.map +1 -0
- package/dist/server/iframe/embed-iframe.d.ts +23 -0
- package/dist/server/iframe/embed-iframe.d.ts.map +1 -0
- package/dist/server/iframe/iframe-manager.d.ts +17 -0
- package/dist/server/iframe/iframe-manager.d.ts.map +1 -0
- package/dist/server/iframe/iframe-manager.test.d.ts +2 -0
- package/dist/server/iframe/iframe-manager.test.d.ts.map +1 -0
- package/dist/server/iframe/iframe-message-builder.d.ts +8 -0
- package/dist/server/iframe/iframe-message-builder.d.ts.map +1 -0
- package/dist/server/iframe/iframe.test.d.ts +2 -0
- package/dist/server/iframe/iframe.test.d.ts.map +1 -0
- package/dist/server/iframe/iframe.types.d.ts +11 -0
- package/dist/server/iframe/iframe.types.d.ts.map +1 -0
- package/dist/server/index.d.ts +13 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.server.d.ts +5 -0
- package/dist/server/index.server.d.ts.map +1 -0
- package/dist/server/index.server.umd.js +1 -0
- package/dist/server/mocks/handlers.d.ts +95 -0
- package/dist/server/mocks/handlers.d.ts.map +1 -0
- package/dist/server/mocks/node.d.ts +2 -0
- package/dist/server/mocks/node.d.ts.map +1 -0
- package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.js +1 -0
- package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/server/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js +1 -0
- package/dist/server/organizations/index.d.ts +13 -0
- package/dist/server/organizations/index.d.ts.map +1 -0
- package/dist/server/organizations/organizations.api.d.ts +23 -0
- package/dist/server/organizations/organizations.api.d.ts.map +1 -0
- package/dist/server/organizations/organizations.d.ts +29 -0
- package/dist/server/organizations/organizations.d.ts.map +1 -0
- package/dist/server/organizations/organizations.public-api.d.ts +5 -0
- package/dist/server/organizations/organizations.public-api.d.ts.map +1 -0
- package/dist/server/organizations/organizations.serializer.d.ts +4 -0
- package/dist/server/organizations/organizations.serializer.d.ts.map +1 -0
- package/dist/server/organizations/organizations.test.d.ts +2 -0
- package/dist/server/organizations/organizations.test.d.ts.map +1 -0
- package/dist/server/organizations/organizations.types.d.ts +106 -0
- package/dist/server/organizations/organizations.types.d.ts.map +1 -0
- package/dist/server/payment-links/index.d.ts +13 -0
- package/dist/server/payment-links/index.d.ts.map +1 -0
- package/dist/server/payment-links/payment-links.d.ts +58 -0
- package/dist/server/payment-links/payment-links.d.ts.map +1 -0
- package/dist/server/payment-links/payment-links.public-api.d.ts +5 -0
- package/dist/server/payment-links/payment-links.public-api.d.ts.map +1 -0
- package/dist/server/payment-links/payment-links.test.d.ts +2 -0
- package/dist/server/payment-links/payment-links.test.d.ts.map +1 -0
- package/dist/server/payment-links/payment-links.types.d.ts +29 -0
- package/dist/server/payment-links/payment-links.types.d.ts.map +1 -0
- package/dist/server/payment-links/validation/currency.validation.d.ts +2 -0
- package/dist/server/payment-links/validation/currency.validation.d.ts.map +1 -0
- package/dist/server/payment-links/validation/payment-links.validate.d.ts +8 -0
- package/dist/server/payment-links/validation/payment-links.validate.d.ts.map +1 -0
- package/dist/server/payment-links/validation/unit.validation.d.ts +2 -0
- package/dist/server/payment-links/validation/unit.validation.d.ts.map +1 -0
- package/dist/server/public-api.test.d.ts +2 -0
- package/dist/server/public-api.test.d.ts.map +1 -0
- package/dist/server/sca/sca.api.d.ts +16 -0
- package/dist/server/sca/sca.api.d.ts.map +1 -0
- package/dist/server/sca/sca.constants.d.ts +6 -0
- package/dist/server/sca/sca.constants.d.ts.map +1 -0
- package/dist/server/sca/sca.d.ts +4 -0
- package/dist/server/sca/sca.d.ts.map +1 -0
- package/dist/server/sca/sca.serializer.d.ts +10 -0
- package/dist/server/sca/sca.serializer.d.ts.map +1 -0
- package/dist/server/sca/sca.test.d.ts +2 -0
- package/dist/server/sca/sca.test.d.ts.map +1 -0
- package/dist/server/sca/sca.types.d.ts +39 -0
- package/dist/server/sca/sca.types.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts +67 -0
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts +21 -0
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.test.d.ts +2 -0
- package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts +46 -0
- package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts +2 -0
- package/dist/server/sepa-transfers/bulk-transfers/client/bulk-transfers.client.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/index.d.ts +26 -0
- package/dist/server/sepa-transfers/bulk-transfers/index.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts +133 -0
- package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts +2 -0
- package/dist/server/sepa-transfers/bulk-transfers/server/bulk-transfers.server.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/server.d.ts +30 -0
- package/dist/server/sepa-transfers/bulk-transfers/server.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts +45 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.d.ts +5 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts +2 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.shared.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +270 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts +4 -0
- package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.d.ts.map +1 -0
- package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts +85 -0
- package/dist/server/sepa-transfers/client/sepa-transfers.client.d.ts.map +1 -0
- package/dist/server/sepa-transfers/client/sepa-transfers.client.test.d.ts +2 -0
- package/dist/server/sepa-transfers/client/sepa-transfers.client.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/index.d.ts +43 -0
- package/dist/server/sepa-transfers/index.d.ts.map +1 -0
- package/dist/server/sepa-transfers/index.server.d.ts +44 -0
- package/dist/server/sepa-transfers/index.server.d.ts.map +1 -0
- package/dist/server/sepa-transfers/sepa-transfers.d.ts +170 -0
- package/dist/server/sepa-transfers/sepa-transfers.d.ts.map +1 -0
- package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts +20 -0
- package/dist/server/sepa-transfers/sepa-transfers.public-api.d.ts.map +1 -0
- package/dist/server/sepa-transfers/sepa-transfers.utils.test.d.ts +2 -0
- package/dist/server/sepa-transfers/sepa-transfers.utils.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts +161 -0
- package/dist/server/sepa-transfers/server/sepa-transfers.server.d.ts.map +1 -0
- package/dist/server/sepa-transfers/server/sepa-transfers.server.test.d.ts +2 -0
- package/dist/server/sepa-transfers/server/sepa-transfers.server.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts +101 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.api.d.ts.map +1 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts +7 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.serializer.d.ts.map +1 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.shared.test.d.ts +2 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.shared.test.d.ts.map +1 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts +272 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts +26 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.utils.d.ts.map +1 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.validate.d.ts +7 -0
- package/dist/server/sepa-transfers/shared/sepa-transfers.validate.d.ts.map +1 -0
- package/dist/server/setup-test.d.ts +2 -0
- package/dist/server/setup-test.d.ts.map +1 -0
- package/dist/server/src/auth-links/auth-links.api.js +1 -0
- package/dist/server/src/auth-links/auth-links.js +1 -0
- package/dist/server/src/auth-links/auth-links.public-api.js +1 -0
- package/dist/server/src/auth-links/auth-links.validate.js +1 -0
- package/dist/server/src/auth-links/index.js +1 -0
- package/dist/server/src/beneficiaries/beneficiaries.api.js +1 -0
- package/dist/server/src/beneficiaries/beneficiaries.js +1 -0
- package/dist/server/src/beneficiaries/beneficiaries.serializer.js +1 -0
- package/dist/server/src/beneficiaries/beneficiaries.validate.js +1 -0
- package/dist/server/src/common/api-pagination/api-pagination.js +1 -0
- package/dist/server/src/common/auth/auth.js +1 -0
- package/dist/server/src/common/auth/auth.validate.js +1 -0
- package/dist/server/src/common/codec/codec.js +1 -0
- package/dist/server/src/common/common.utils.js +1 -0
- package/dist/server/src/common/constants.js +1 -0
- package/dist/server/src/common/environment/environment-manager.js +1 -0
- package/dist/server/src/common/locale/locale-manager.js +1 -0
- package/dist/server/src/common/network/network.js +1 -0
- package/dist/server/src/common/operation-settings/operation-settings.js +1 -0
- package/dist/server/src/common/runtime/runtime.validation.js +1 -0
- package/dist/server/src/errors/AuthenticationError.js +1 -0
- package/dist/server/src/errors/EmbedApiError.js +1 -0
- package/dist/server/src/errors/EmbedOperationError.js +1 -0
- package/dist/server/src/errors/InvalidParametersError.js +1 -0
- package/dist/server/src/errors/QontoEmbedSdkError.js +1 -0
- package/dist/server/src/index.server.js +1 -0
- package/dist/server/src/sepa-transfers/bulk-transfers/server/bulk-transfers.server.js +1 -0
- package/dist/server/src/sepa-transfers/bulk-transfers/server.js +1 -0
- package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -0
- package/dist/server/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -0
- package/dist/server/src/sepa-transfers/index.server.js +1 -0
- package/dist/server/src/sepa-transfers/server/sepa-transfers.server.js +1 -0
- package/dist/server/src/sepa-transfers/shared/sepa-transfers.api.js +1 -0
- package/dist/server/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -0
- package/dist/server/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -0
- package/dist/server/src/validation/input-param-validation.js +1 -0
- package/dist/server/src/validation/operation-settings-validation.js +1 -0
- package/dist/server/transactions/index.d.ts +47 -0
- package/dist/server/transactions/index.d.ts.map +1 -0
- package/dist/server/transactions/transactions.api.d.ts +23 -0
- package/dist/server/transactions/transactions.api.d.ts.map +1 -0
- package/dist/server/transactions/transactions.d.ts +56 -0
- package/dist/server/transactions/transactions.d.ts.map +1 -0
- package/dist/server/transactions/transactions.public-api.d.ts +8 -0
- package/dist/server/transactions/transactions.public-api.d.ts.map +1 -0
- package/dist/server/transactions/transactions.serializer.d.ts +11 -0
- package/dist/server/transactions/transactions.serializer.d.ts.map +1 -0
- package/dist/server/transactions/transactions.test.d.ts +2 -0
- package/dist/server/transactions/transactions.test.d.ts.map +1 -0
- package/dist/server/transactions/transactions.types.d.ts +249 -0
- package/dist/server/transactions/transactions.types.d.ts.map +1 -0
- package/dist/server/transactions/transactions.validation.d.ts +3 -0
- package/dist/server/transactions/transactions.validation.d.ts.map +1 -0
- package/dist/server/types/index.d.ts +3 -0
- package/dist/server/types/index.d.ts.map +1 -0
- package/dist/server/types/types.public-api.d.ts +11 -0
- package/dist/server/types/types.public-api.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.d.ts +46 -0
- package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.utils.d.ts +32 -0
- package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.utils.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.d.ts +18 -0
- package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts +14 -0
- package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/button/qonto-button.d.ts +11 -0
- package/dist/server/ui/customizable-components/button/qonto-button.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/button/qonto-button.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/button/qonto-button.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/customizable-components.constants.d.ts +2 -0
- package/dist/server/ui/customizable-components/customizable-components.constants.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/icons/icon-checkmark-rounded-filled.d.ts +2 -0
- package/dist/server/ui/customizable-components/icons/icon-checkmark-rounded-filled.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/icons/icon-clock-filled.d.ts +2 -0
- package/dist/server/ui/customizable-components/icons/icon-clock-filled.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/icons/icon-declined.d.ts +2 -0
- package/dist/server/ui/customizable-components/icons/icon-declined.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/icons/icon-error-filled.d.ts +2 -0
- package/dist/server/ui/customizable-components/icons/icon-error-filled.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/icons/icon-in-progress.d.ts +2 -0
- package/dist/server/ui/customizable-components/icons/icon-in-progress.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/icons/icon-warning.d.ts +2 -0
- package/dist/server/ui/customizable-components/icons/icon-warning.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/lottie-player/index.d.ts +3 -0
- package/dist/server/ui/customizable-components/lottie-player/index.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.d.ts +17 -0
- package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.types.d.ts +6 -0
- package/dist/server/ui/customizable-components/lottie-player/qonto-lottie-player.types.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/select-field/index.d.ts +3 -0
- package/dist/server/ui/customizable-components/select-field/index.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/select-field/qonto-option.d.ts +48 -0
- package/dist/server/ui/customizable-components/select-field/qonto-option.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/select-field/qonto-select-field.d.ts +111 -0
- package/dist/server/ui/customizable-components/select-field/qonto-select-field.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/select-field/qonto-select-field.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/select-field/qonto-select-field.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.d.ts +11 -0
- package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/text/qonto-text-body.d.ts +8 -0
- package/dist/server/ui/customizable-components/text/qonto-text-body.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/text/qonto-text-body.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/text/qonto-text-body.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/text/qonto-text-heading.d.ts +8 -0
- package/dist/server/ui/customizable-components/text/qonto-text-heading.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/text/qonto-text-heading.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/text/qonto-text-heading.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/text-field/index.d.ts +2 -0
- package/dist/server/ui/customizable-components/text-field/index.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/text-field/qonto-text-field.d.ts +31 -0
- package/dist/server/ui/customizable-components/text-field/qonto-text-field.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/text-field/qonto-text-field.styles.d.ts +2 -0
- package/dist/server/ui/customizable-components/text-field/qonto-text-field.styles.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/utils/format-date.d.ts +61 -0
- package/dist/server/ui/customizable-components/utils/format-date.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/utils/format-money.d.ts +39 -0
- package/dist/server/ui/customizable-components/utils/format-money.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/utils/locales.d.ts +76 -0
- package/dist/server/ui/customizable-components/utils/locales.d.ts.map +1 -0
- package/dist/server/ui/customizable-components/utils/storybook-define-custom-props-from-css.d.ts +14 -0
- package/dist/server/ui/customizable-components/utils/storybook-define-custom-props-from-css.d.ts.map +1 -0
- package/dist/server/ui/index.d.ts +16 -0
- package/dist/server/ui/index.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/configure-localization.d.ts +6 -0
- package/dist/server/ui/ui-elements/localize/configure-localization.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/generated/locale-codes.d.ts +14 -0
- package/dist/server/ui/ui-elements/localize/generated/locale-codes.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/de.d.ts +52 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/de.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/es.d.ts +52 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/es.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/fr.d.ts +52 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/fr.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/it.d.ts +52 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/it.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/nl.d.ts +52 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/nl.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/pt.d.ts +52 -0
- package/dist/server/ui/ui-elements/localize/generated/locales/pt.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts +31 -0
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts +3 -0
- package/dist/server/ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.utils.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts +13 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts +21 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts +4 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +20 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +41 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts +11 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts +12 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +25 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts +2 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.utils.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts +53 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +41 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.utils.d.ts +7 -0
- package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.utils.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts +13 -0
- package/dist/server/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.d.ts +21 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.events.d.ts +8 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.events.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.styles.d.ts +2 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.styles.d.ts.map +1 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts +7 -0
- package/dist/server/ui/ui-elements/transfer-list/transfer-list.utils.d.ts.map +1 -0
- package/dist/server/ui/ui-elements.constants.d.ts +5 -0
- package/dist/server/ui/ui-elements.constants.d.ts.map +1 -0
- package/dist/server/ui/ui-elements.d.ts +18 -0
- package/dist/server/ui/ui-elements.d.ts.map +1 -0
- package/dist/server/ui/ui-elements.public-api.d.ts +4 -0
- package/dist/server/ui/ui-elements.public-api.d.ts.map +1 -0
- package/dist/server/ui/ui-elements.types.d.ts +75 -0
- package/dist/server/ui/ui-elements.types.d.ts.map +1 -0
- package/dist/server/ui/ui-elements.validation.d.ts +5 -0
- package/dist/server/ui/ui-elements.validation.d.ts.map +1 -0
- package/dist/server/validation/index.d.ts +2 -0
- package/dist/server/validation/index.d.ts.map +1 -0
- package/dist/server/validation/input-param-validation.d.ts +43 -0
- package/dist/server/validation/input-param-validation.d.ts.map +1 -0
- package/dist/server/validation/operation-settings-validation.d.ts +275 -0
- package/dist/server/validation/operation-settings-validation.d.ts.map +1 -0
- 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/initialize/initialize.js +1 -1
- package/dist/src/common/initialize/initialize.validate.js +1 -1
- package/dist/src/sepa-transfers/bulk-transfers/client/bulk-transfers.client.js +1 -0
- package/dist/src/sepa-transfers/bulk-transfers/index.js +1 -0
- package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.api.js +1 -0
- package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.serializer.js +1 -0
- package/dist/src/sepa-transfers/bulk-transfers/shared/bulk-transfers.validate.js +1 -0
- package/dist/src/sepa-transfers/client/sepa-transfers.client.js +1 -0
- 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 -0
- package/dist/src/sepa-transfers/shared/sepa-transfers.serializer.js +1 -0
- package/dist/src/sepa-transfers/shared/sepa-transfers.utils.js +1 -0
- package/dist/src/sepa-transfers/shared/sepa-transfers.validate.js +1 -0
- package/dist/src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.js +7 -7
- package/dist/src/validation/operation-settings-validation.js +1 -1
- package/dist/types/types.public-api.d.ts +2 -2
- package/dist/types/types.public-api.d.ts.map +1 -1
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +1 -1
- 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-summary-page.d.ts +1 -1
- 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/sepa-transfer-creation.d.ts.map +1 -1
- package/dist/validation/operation-settings-validation.d.ts +152 -0
- package/dist/validation/operation-settings-validation.d.ts.map +1 -1
- package/package.json +18 -8
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.api.d.ts.map +0 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.serializer.d.ts.map +0 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.test.d.ts +0 -2
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.test.d.ts.map +0 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.types.d.ts.map +0 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.validate.d.ts.map +0 -1
- package/dist/sepa-transfers/sepa-transfers.api.d.ts.map +0 -1
- package/dist/sepa-transfers/sepa-transfers.serializer.d.ts.map +0 -1
- package/dist/sepa-transfers/sepa-transfers.test.d.ts +0 -2
- package/dist/sepa-transfers/sepa-transfers.test.d.ts.map +0 -1
- package/dist/sepa-transfers/sepa-transfers.types.d.ts.map +0 -1
- package/dist/sepa-transfers/sepa-transfers.utils.d.ts.map +0 -1
- package/dist/sepa-transfers/sepa-transfers.validate.d.ts.map +0 -1
- package/dist/src/sepa-transfers/bulk-transfers/bulk-transfers.api.js +0 -1
- package/dist/src/sepa-transfers/bulk-transfers/bulk-transfers.js +0 -1
- package/dist/src/sepa-transfers/bulk-transfers/bulk-transfers.validate.js +0 -1
- package/dist/src/sepa-transfers/sepa-transfers.api.js +0 -1
- package/dist/src/sepa-transfers/sepa-transfers.public-api.js +0 -1
- package/dist/src/sepa-transfers/sepa-transfers.utils.js +0 -1
- package/dist/src/sepa-transfers/sepa-transfers.validate.js +0 -1
- /package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.serializer.d.ts → shared/bulk-transfers.serializer.d.ts} +0 -0
- /package/dist/sepa-transfers/bulk-transfers/{bulk-transfers.validate.d.ts → shared/bulk-transfers.validate.d.ts} +0 -0
- /package/dist/{src/sepa-transfers/bulk-transfers → server/src/sepa-transfers/bulk-transfers/shared}/bulk-transfers.serializer.js +0 -0
- /package/dist/{src/sepa-transfers → server/src/sepa-transfers/shared}/sepa-transfers.serializer.js +0 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import type { MfaMethod } from '@common/operation-settings/operation-settings.types';
|
|
2
|
+
import type { Locale } from '@common/locale/locale.types';
|
|
3
|
+
import type { PaginationSettings } from '@common/api-pagination/api-pagination.types';
|
|
4
|
+
import type { ProxyEndpointDescriptor, ProxyRequestFunction } from '@common/common.types.ts';
|
|
5
|
+
export type UIParentElementId = string | (() => HTMLElement);
|
|
6
|
+
/**
|
|
7
|
+
* Optional settings to configure the SDK's operations that will be performed
|
|
8
|
+
* after the initialization. This can be also provided when calling the
|
|
9
|
+
* operation functions themselves.
|
|
10
|
+
*/
|
|
11
|
+
export interface OperationSettings {
|
|
12
|
+
/**
|
|
13
|
+
* The id of the element where the SDK UI for sensitive operations will be
|
|
14
|
+
* rendered.
|
|
15
|
+
*/
|
|
16
|
+
uiParentElementId?: UIParentElementId;
|
|
17
|
+
/**
|
|
18
|
+
* The Multifactor Authentication (MFA) preference to use for the operations.
|
|
19
|
+
* This can be either `MFA_METHODS.PASSKEY`, `MFA_METHODS.PAIRED_DEVICE` or
|
|
20
|
+
* `MFA_METHODS.SMS_OTP`. If not provided, the SDK will default to 'PASSKEY'.
|
|
21
|
+
*/
|
|
22
|
+
mfaPreference?: MfaMethod;
|
|
23
|
+
/**
|
|
24
|
+
* Whether to enable debug mode for the SDK. If not provided, the SDK will
|
|
25
|
+
* default to false.
|
|
26
|
+
* If debug mode is enabled, it will print extra logging to the console
|
|
27
|
+
* during the execution of the SDK functions in which an iframe is involved.
|
|
28
|
+
*/
|
|
29
|
+
debugMode?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Optional access token to use for the operation. If not provided, the
|
|
32
|
+
* SDK will use the access token set during initialization.
|
|
33
|
+
*/
|
|
34
|
+
accessToken?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional staging token to use for the operation. The staging token is only
|
|
37
|
+
* needed when working in the staging environment, and it is irrelevant and not
|
|
38
|
+
* needed in production. If not provided, the SDK will use the staging token
|
|
39
|
+
* set during initialization.
|
|
40
|
+
*/
|
|
41
|
+
stagingToken?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Optional idempotency key to use for the operation. If not provided, the
|
|
44
|
+
* SDK will generate a random key for the functions that require it.
|
|
45
|
+
*/
|
|
46
|
+
idempotencyKey?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Optional pagination settings to use for the operation. If the called function
|
|
49
|
+
* is not subject to pagination, this parameter will be ignored.
|
|
50
|
+
*/
|
|
51
|
+
paginationSettings?: PaginationSettings;
|
|
52
|
+
/**
|
|
53
|
+
* `proxyRequestFunction` is a mechanism to avoid operating with sensitive
|
|
54
|
+
* information, like the access token and the staging token, in client side
|
|
55
|
+
* environments. Using them in client side could lead to data leak.It works as
|
|
56
|
+
* follows:
|
|
57
|
+
*
|
|
58
|
+
* Qonto Embed exposes a proxy endpoint in its API that is capable of getting
|
|
59
|
+
* requests prepared by the SDK. In your web application, you must implement a
|
|
60
|
+
* backend endpoint that receives a string value in the body,
|
|
61
|
+
* adds the access token in the `Authentication` header and calls the Qonto
|
|
62
|
+
* Embed proxy endpoint with the string payload you received. The `proxyRequestFunction`
|
|
63
|
+
* the SDK expects is a function in which you will implement the call to your
|
|
64
|
+
* backend endpoint. It receives a string parameter, it must perform a call to
|
|
65
|
+
* your endpoint and return the data the endpoint sends you back.
|
|
66
|
+
*
|
|
67
|
+
* The SDK will then decode the received data and return the appropriate return
|
|
68
|
+
* value to the called function. Read more about implementing the whole flow in
|
|
69
|
+
* [the Proxy Endpoint Implementation guide](https://docs.qonto.com/api-reference/embed-sdk-api/variables/overview-common).
|
|
70
|
+
*/
|
|
71
|
+
proxyRequestFunction?: ProxyRequestFunction;
|
|
72
|
+
/**
|
|
73
|
+
* `proxyEndpointDescriptor` is a mechanism to avoid operating with sensitive
|
|
74
|
+
* information, like the access token and the staging token, in client side
|
|
75
|
+
* environments. Using them in client side could lead to data leak. It works as
|
|
76
|
+
* follows:
|
|
77
|
+
*
|
|
78
|
+
* Qonto Embed exposes a proxy endpoint in its API that is capable of getting
|
|
79
|
+
* requests prepared by the SDK. In your web application, you must implement a
|
|
80
|
+
* backend endpoint that receives a string value in the body,
|
|
81
|
+
* adds the access token in the `Authorization` header and calls the Qonto
|
|
82
|
+
* Embed proxy endpoint with the string payload you received. The `proxyEndpointDescriptor`
|
|
83
|
+
* the SDK expects is an object in which you will describe the call to your
|
|
84
|
+
* backend endpoint.
|
|
85
|
+
*
|
|
86
|
+
* When the SDK needs to perform an operation that involves a call to the Embed
|
|
87
|
+
* API which needs to include the access token, it will use the `proxyEndpointDescriptor`
|
|
88
|
+
* to call your backend endpoint.
|
|
89
|
+
*
|
|
90
|
+
* The `proxyEndpointDescriptor` must at least include:
|
|
91
|
+
* - `path`: A string representing the endpoint in your web app the SDK will call.
|
|
92
|
+
* - `method`: (optional) The HTTP method to use when calling your endpoint. Defaults to 'POST'.
|
|
93
|
+
* - `options.headers`: (optional) An object including a set of key value pairs
|
|
94
|
+
* which will be sent as headers to your web app's endpoint.
|
|
95
|
+
*/
|
|
96
|
+
proxyEndpointDescriptor?: ProxyEndpointDescriptor;
|
|
97
|
+
/**
|
|
98
|
+
* The locale to use for the SDK. This is optional, and if not provided, it will
|
|
99
|
+
* default to English. Setting the locale will make the SDK render its UI in the
|
|
100
|
+
* specified language.
|
|
101
|
+
*/
|
|
102
|
+
locale?: Locale;
|
|
103
|
+
}
|
|
104
|
+
export interface OperationSettingsValidationConfiguration {
|
|
105
|
+
/**
|
|
106
|
+
* Whether the operation, due ot its nature or because it is a sensitive operation, requires a UI parent
|
|
107
|
+
* element to be specified.
|
|
108
|
+
*/
|
|
109
|
+
requiresUI?: boolean;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* OperationSettings with mandatory uiParentElementId
|
|
113
|
+
*/
|
|
114
|
+
export type OperationSettingsWithUI = OperationSettings & {
|
|
115
|
+
uiParentElementId: UIParentElementId;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Client-side operation settings that enforce proxy-based authentication.
|
|
119
|
+
* These settings are designed for browser environments where direct access
|
|
120
|
+
* to authentication tokens should be avoided for security reasons.
|
|
121
|
+
*/
|
|
122
|
+
export interface ClientOperationSettings {
|
|
123
|
+
/**
|
|
124
|
+
* Required for client-side operations: either proxyRequestFunction or proxyEndpointDescriptor.
|
|
125
|
+
*
|
|
126
|
+
* `proxyRequestFunction` is a mechanism to avoid operating with sensitive
|
|
127
|
+
* information, like the access token and the staging token, in client side
|
|
128
|
+
* environments. Using them in client side could lead to data leak. It works as
|
|
129
|
+
* follows:
|
|
130
|
+
*
|
|
131
|
+
* Qonto Embed exposes a proxy endpoint in its API that is capable of getting
|
|
132
|
+
* requests prepared by the SDK. In your web application, you must implement a
|
|
133
|
+
* backend endpoint that receives a string value in the body,
|
|
134
|
+
* adds the access token in the `Authentication` header and calls the Qonto
|
|
135
|
+
* Embed proxy endpoint with the string payload you received. The `proxyRequestFunction`
|
|
136
|
+
* the SDK expects is a function in which you will implement the call to your
|
|
137
|
+
* backend endpoint. It receives a string parameter, it must perform a call to
|
|
138
|
+
* your endpoint and return the data the endpoint sends you back.
|
|
139
|
+
*/
|
|
140
|
+
proxyRequestFunction?: ProxyRequestFunction;
|
|
141
|
+
/**
|
|
142
|
+
* `proxyEndpointDescriptor` is a mechanism to avoid operating with sensitive
|
|
143
|
+
* information, like the access token and the staging token, in client side
|
|
144
|
+
* environments. Using them in client side could lead to data leak. It works as
|
|
145
|
+
* follows:
|
|
146
|
+
*
|
|
147
|
+
* Qonto Embed exposes a proxy endpoint in its API that is capable of getting
|
|
148
|
+
* requests prepared by the SDK. In your web application, you must implement a
|
|
149
|
+
* backend endpoint that receives a string value in the body,
|
|
150
|
+
* adds the access token in the `Authorization` header and calls the Qonto
|
|
151
|
+
* Embed proxy endpoint with the string payload you received. The `proxyEndpointDescriptor`
|
|
152
|
+
* the SDK expects is an object in which you will describe the call to your
|
|
153
|
+
* backend endpoint.
|
|
154
|
+
*/
|
|
155
|
+
proxyEndpointDescriptor?: ProxyEndpointDescriptor;
|
|
156
|
+
/**
|
|
157
|
+
* The id of the element where the SDK UI for sensitive operations will be
|
|
158
|
+
* rendered. Required for operations that involve UI components (e.g., SCA flows).
|
|
159
|
+
*/
|
|
160
|
+
uiParentElementId?: UIParentElementId;
|
|
161
|
+
/**
|
|
162
|
+
* The Multifactor Authentication (MFA) preference to use for the operations.
|
|
163
|
+
* This can be either `MFA_METHODS.PASSKEY`, `MFA_METHODS.PAIRED_DEVICE` or
|
|
164
|
+
* `MFA_METHODS.SMS_OTP`. If not provided, the SDK will default to 'PASSKEY'.
|
|
165
|
+
*/
|
|
166
|
+
mfaPreference?: MfaMethod;
|
|
167
|
+
/**
|
|
168
|
+
* Whether to enable debug mode for the SDK. If not provided, the SDK will
|
|
169
|
+
* default to false.
|
|
170
|
+
* If debug mode is enabled, it will print extra logging to the console
|
|
171
|
+
* during the execution of the SDK functions in which an iframe is involved.
|
|
172
|
+
*/
|
|
173
|
+
debugMode?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* Optional idempotency key to use for the operation. If not provided, the
|
|
176
|
+
* SDK will generate a random key for the functions that require it.
|
|
177
|
+
*/
|
|
178
|
+
idempotencyKey?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Optional pagination settings to use for the operation. If the called function
|
|
181
|
+
* is not subject to pagination, this parameter will be ignored.
|
|
182
|
+
*/
|
|
183
|
+
paginationSettings?: PaginationSettings;
|
|
184
|
+
/**
|
|
185
|
+
* The locale to use for the SDK. This is optional, and if not provided, it will
|
|
186
|
+
* default to English. Setting the locale will make the SDK render its UI in the
|
|
187
|
+
* specified language.
|
|
188
|
+
*/
|
|
189
|
+
locale?: Locale;
|
|
190
|
+
/**
|
|
191
|
+
* Server-only properties are explicitly excluded from client settings.
|
|
192
|
+
* Use `@qonto/embed-sdk/{namespace}/server` for server-side operations.
|
|
193
|
+
*/
|
|
194
|
+
accessToken?: never;
|
|
195
|
+
stagingToken?: never;
|
|
196
|
+
scaSessionToken?: never;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Client-side operation settings with mandatory UI parent element.
|
|
200
|
+
* Required for operations that always involve UI components.
|
|
201
|
+
*/
|
|
202
|
+
export type ClientOperationSettingsWithUI = ClientOperationSettings & {
|
|
203
|
+
uiParentElementId: UIParentElementId;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Server-side operation settings that enforce token-based authentication.
|
|
207
|
+
* These settings are designed for server environments where access tokens
|
|
208
|
+
* can be safely managed.
|
|
209
|
+
*/
|
|
210
|
+
export interface ServerOperationSettings {
|
|
211
|
+
/**
|
|
212
|
+
* Optional access token to use for the operation. If not provided, the
|
|
213
|
+
* SDK will use the access token set during initialization.
|
|
214
|
+
*/
|
|
215
|
+
accessToken?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Optional staging token to use for the operation. The staging token is only
|
|
218
|
+
* needed when working in the staging environment, and it is irrelevant and not
|
|
219
|
+
* needed in production. If not provided, the SDK will use the staging token
|
|
220
|
+
* set during initialization.
|
|
221
|
+
*/
|
|
222
|
+
stagingToken?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Optional idempotency key to use for the operation. If not provided, the
|
|
225
|
+
* SDK will generate a random key for the functions that require it.
|
|
226
|
+
*/
|
|
227
|
+
idempotencyKey?: string;
|
|
228
|
+
/**
|
|
229
|
+
* Optional pagination settings to use for the operation. If the called function
|
|
230
|
+
* is not subject to pagination, this parameter will be ignored.
|
|
231
|
+
*/
|
|
232
|
+
paginationSettings?: PaginationSettings;
|
|
233
|
+
/**
|
|
234
|
+
* Optional SCA session token for retry operations after SCA challenges.
|
|
235
|
+
* When a function returns a 428 error with a sca_session_token, include
|
|
236
|
+
* it here when calling the function again after completing the SCA flow.
|
|
237
|
+
*/
|
|
238
|
+
scaSessionToken?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Client-only properties are explicitly excluded from server settings.
|
|
241
|
+
* Use `@qonto/embed-sdk/{namespace}` for client-side operations.
|
|
242
|
+
*/
|
|
243
|
+
proxyRequestFunction?: never;
|
|
244
|
+
proxyEndpointDescriptor?: never;
|
|
245
|
+
uiParentElementId?: never;
|
|
246
|
+
mfaPreference?: never;
|
|
247
|
+
debugMode?: never;
|
|
248
|
+
locale?: never;
|
|
249
|
+
}
|
|
250
|
+
export declare function validateOperationSettingsParams(params: OperationSettings | undefined, config: OperationSettingsValidationConfiguration & {
|
|
251
|
+
requiresUI: true;
|
|
252
|
+
}): OperationSettingsWithUI;
|
|
253
|
+
export declare function validateOperationSettingsParams(params: OperationSettings | undefined, config?: OperationSettingsValidationConfiguration & {
|
|
254
|
+
requiresUI?: false;
|
|
255
|
+
}): OperationSettings;
|
|
256
|
+
/**
|
|
257
|
+
* Validates client operation settings and ensures either proxyRequestFunction
|
|
258
|
+
* or proxyEndpointDescriptor is provided (either in params or from global settings).
|
|
259
|
+
*
|
|
260
|
+
* @param params - Client operation settings to validate
|
|
261
|
+
* @param errorMessage - Custom error message to throw if validation fails
|
|
262
|
+
* @returns Validated client operation settings with proxy configuration
|
|
263
|
+
* @throws InvalidParametersError if neither proxyRequestFunction nor proxyEndpointDescriptor is provided
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* ```typescript
|
|
267
|
+
* const settings = validateClientOperationSettings(
|
|
268
|
+
* params?.operationSettings,
|
|
269
|
+
* 'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. ' +
|
|
270
|
+
* 'If you need to use accessToken, import from "@qonto/embed-sdk/{namespace}/server".'
|
|
271
|
+
* );
|
|
272
|
+
* ```
|
|
273
|
+
*/
|
|
274
|
+
export declare function validateClientOperationSettings(params: ClientOperationSettings | undefined, errorMessage?: string): ClientOperationSettings;
|
|
275
|
+
//# sourceMappingURL=operation-settings-validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-settings-validation.d.ts","sourceRoot":"","sources":["../../../src/validation/operation-settings-validation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qDAAqD,CAAC;AAErF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,CAAC,MAAM,WAAW,CAAC,CAAC;AAE7D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IAEH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC;;;;;;;;;;;;;;;;;;OAkBG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wCAAwC;IACvD;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG;IACxD,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAE5C;;;;;;;;;;;;;OAaG;IACH,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAElD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAEtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GAAG,uBAAuB,GAAG;IACpE,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC;IAC7B,uBAAuB,CAAC,EAAE,KAAK,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AAMD,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,iBAAiB,GAAG,SAAS,EACrC,MAAM,EAAE,wCAAwC,GAAG;IAAE,UAAU,EAAE,IAAI,CAAA;CAAE,GACtE,uBAAuB,CAAC;AAC3B,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,iBAAiB,GAAG,SAAS,EACrC,MAAM,CAAC,EAAE,wCAAwC,GAAG;IAAE,UAAU,CAAC,EAAE,KAAK,CAAA;CAAE,GACzE,iBAAiB,CAAC;AA+ErB;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,uBAAuB,GAAG,SAAS,EAC3C,YAAY,CAAC,EAAE,MAAM,GACpB,uBAAuB,CAqBzB"}
|
package/dist/src/cards/cards.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{authManager as e}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{callProxyFunction as r}from"../common/common.utils.js";import{prepareGetCardIframeUrl as
|
|
1
|
+
import{authManager as e}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{callProxyFunction as r}from"../common/common.utils.js";import{tracker as n}from"../common/analytics/analytics-tracker.js";import{prepareGetCardIframeUrl as a,getCardIframeURL as o,prepareGetCardCall as s,getCard as i,prepareGetCardsCall as c,getCards as d}from"./cards.api.js";import"./cards.types.js";import{validateDisplayCardParams as m,validateUnlockCardParams as g,validateOrderCardParams as u,validateGetCardParams as p}from"./cards.validate.js";import{buildIframeUrl as l,createIframe as f}from"../iframe/iframe-manager.js";import{serializeUnlockCardPayload as y,serializeCard as k,serializeOrderCardPayload as T}from"./cards.serializer.js";import{validateOperationSettingsParams as I}from"../validation/operation-settings-validation.js";import{InvalidParametersError as S}from"../errors/InvalidParametersError.js";import{createEmbedUI as h}from"./cards.helper.js";async function b(e){try{const a=e?.cardSettings?.membershipId;if(a&&"string"!=typeof a)throw new S("membershipId must be a string");const{proxyRequestFunction:o,stagingToken:s}=I(e?.operationSettings||{});let i;if(o){const e=c({membershipId:a,stagingToken:s});i=(await r({proxyFunction:o,networkCallDescriptor:e})).body.cards.map((e=>k(e)))}else{const r=e?.operationSettings?.accessToken||t();i=(await d({membershipId:a,accessToken:r,stagingToken:s})).map((e=>k(e)))}return n.cardsList(),i}catch(e){return Promise.reject(e)}}async function j({cardSettings:e,operationSettings:n}){try{p(e);const a=e.cardId,{proxyRequestFunction:o,stagingToken:c}=I(n||{});if(o){const e=s({cardId:a,stagingToken:c}),t=(await r({proxyFunction:o,networkCallDescriptor:e})).body.cards;if(Array.isArray(t)&&t.length>0)return k(t[0]);throw new S("Unable to retrieve card data")}{const e=n?.accessToken||t(),r=await i({cardId:a,accessToken:e,stagingToken:c});return k(r)}}catch(e){return Promise.reject(e)}}async function w(r){try{const a=t(),{uiParentElementId:o,debugMode:s}=I(r.operationSettings,{requiresUI:!0});u(r.cardSettings);const i="virtual"===r.cardSettings.cardLevel,c=l({accessToken:a,stagingToken:e.getStagingToken()||void 0,debugMode:s}),d=await f({iframeUrl:c,parentElementId:o}),m=T(r.cardSettings),g=await d.postMessage(m);return d.destroy(),i?n.cardsOrderVirtual():n.cardsOrderPhysical(),k(g)}catch(e){return Promise.reject(e)}}async function P(r){try{const n=t(),{uiParentElementId:a,debugMode:o}=I(r.operationSettings,{requiresUI:!0});g(r.cardSettings);const s=l({accessToken:n,stagingToken:e.getStagingToken()||void 0,debugMode:o}),i=await f({iframeUrl:s,parentElementId:a}),c=y(r),d=await i.postMessage(c);return i.destroy(),k(d)}catch(e){return Promise.reject(e)}}async function v(e){try{const{uiParentElementId:n,accessToken:s,stagingToken:i,debugMode:c,mfaPreference:d,proxyRequestFunction:g}=I(e.operationSettings,{requiresUI:!0});if(m(e.cardSettings),g){const t=a({stagingToken:i}),o=(await r({proxyFunction:g,networkCallDescriptor:t})).body.embed_auth_link;return h({decorationParams:e.cardSettings,operationSettings:{uiParentElementId:n,debugMode:c},cardIframeUrl:o.url})}{const r=s||t(),a=await o({...e.cardSettings,accessToken:r,stagingToken:i});return h({decorationParams:e.cardSettings,operationSettings:{uiParentElementId:n,debugMode:c,mfaPreference:d},cardIframeUrl:a.url})}}catch(e){return Promise.reject(e)}}export{v as displayCard,j as getCard,b as getCards,w as orderCard,P as unlockCard};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as i from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{init as e,track as t,reset as n}from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.32.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{ENVIRONMENTS as o}from"../constants.js";import{environmentManager as s}from"../environment/environment-manager.js";import{info as a}from"../logger/logger.js";import{isRunningInServer as r}from"../runtime/runtime.validation.js";import{ANALYTICS_EVENTS as l}from"./analytics.constants.js";import{LogLevel as c}from"../../../node_modules/.pnpm/@amplitude_analytics-core@2.34.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js";class m{constructor(){this.isInitialized=!1}static getInstance(){return m.instance||(m.instance=new m),m.instance}initialize(){if(this.isInitialized||r())return;const t=s.getEnvironment()||"production",n=t===o.PRODUCTION?"52c120d2f5c89ca646fae6649a1ce7ad":"373aa80c38e5bc2a55895a96c8447fef";if(n)try{if(!i||"function"!=typeof e)throw new Error("Analytics SDK module not available");const s={defaultTracking:{sessions:!1,pageViews:!1,formInteractions:!1,fileDownloads:!1},logLevel:t!==o.PRODUCTION?c.Debug:c.None};e(n,void 0,s),this.isInitialized=!0,this.track(l.SDK_INITIALIZED)}catch(i){console.error("Failed to initialize analytics tracking:",i)}else a("No tracking client will be initialized due to missing API key")}isEnabled(){return this.isInitialized}track(i,e){if(this.isInitialized)try{t(i,e)}catch(i){console.error("Failed to track analytics event:",i)}}reset(){if(this.isInitialized)try{n()}catch(i){console.error("Failed to reset analytics:",i)}}}const d=m.getInstance();export{m as AmplitudeManager,d as amplitudeManager};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{amplitudeManager as e}from"./amplitude-manager.js";import{ANALYTICS_EVENTS as t}from"./analytics.constants.js";function a(){e.initialize()}function i(){e.reset()}function r(t,a){e.track(t,a)}const s={cardsList:e=>{r(t.CARDS_LIST,e)},cardsOrderVirtual:e=>{r(t.CARDS_ORDER_VIRTUAL,e)},cardsOrderPhysical:e=>{r(t.CARDS_ORDER_PHYSICAL,e)},beneficiariesList:e=>{r(t.BENEFICIARIES_LIST,e)},sepaTransferCreate:e=>{r(t.SEPA_TRANSFER_CREATE,e)},sepaTransferBulkCreate:e=>{r(t.SEPA_TRANSFER_BULK_CREATE,e)},transactionsList:e=>{r(t.TRANSACTIONS_LIST,e)},organizationsList:e=>{r(t.ORGANIZATIONS_LIST,e)},paymentLinksCreate:e=>{r(t.PAYMENT_LINKS_CREATE,e)},authLinksRequest:e=>{r(t.AUTH_LINKS_REQUEST,e)},uiElementCreated:(e,a)=>{r(t.UI_ELEMENT_CREATED,{uiElementType:e,...a})}};export{a as initialize,i as reset,r as trackEvent,s as tracker};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const E={SDK_INITIALIZED:"SDK Initialized",CARDS_LIST:"Cards List",CARDS_ORDER_VIRTUAL:"Cards Order Virtual",CARDS_ORDER_PHYSICAL:"Cards Order Physical",BENEFICIARIES_LIST:"Beneficiaries List",SEPA_TRANSFER_CREATE:"SEPA Transfer Create",SEPA_TRANSFER_BULK_CREATE:"SEPA Transfer Bulk Create",TRANSACTIONS_LIST:"Transactions List",ORGANIZATIONS_LIST:"Organizations List",PAYMENT_LINKS_CREATE:"Payment Links Create",AUTH_LINKS_REQUEST:"Auth Links Request",UI_ELEMENT_CREATED:"UI Element Created"};export{E as ANALYTICS_EVENTS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{authManager as e}from"../auth/auth.js";import{validateInitializeParams as t}from"./initialize.validate.js";import{operationSettingsManager as n}from"../operation-settings/operation-settings.js";import{environmentManager as o}from"../environment/environment-manager.js";import{localeManager as i}from"../locale/locale-manager.js";import{sentryManager as
|
|
1
|
+
import{authManager as e}from"../auth/auth.js";import{validateInitializeParams as t}from"./initialize.validate.js";import{operationSettingsManager as n}from"../operation-settings/operation-settings.js";import{environmentManager as o}from"../environment/environment-manager.js";import{localeManager as i}from"../locale/locale-manager.js";import{sentryManager as a}from"../sentry/sentry-manager.js";import{info as r}from"../logger/logger.js";import{initialize as s,reset as c}from"../analytics/analytics-tracker.js";function l(c){const{accessToken:l,stagingToken:m,operationSettings:g,environment:f,branch:p,locale:u}=t(c);l&&e.setAccessToken(l),m&&e.setStagingToken(m),u&&i.setLocale(u),g&&n.setSettings(g),f&&(o.setEnvironment(f),p&&o.setBranch(p)),a.initialize(),s(),r("SDK initialized successfully",{environment:f,locale:u,debugMode:g?.debugMode})}function m(){e.clearAccessToken(),e.clearStagingToken(),i.setDefaultLocale(),n.clearSettings(),c()}export{l as initialize,m as logout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{InvalidParametersError as n}from"../../errors/InvalidParametersError.js";import{validateOperationSettingsParams as o}from"../../validation/operation-settings-validation.js";import{validateLocale as t}from"../locale/locale.validate.js";function e(e){if(!e?.accessToken&&!e?.operationSettings?.proxyRequestFunction)throw new n("Either operationSettings.proxyRequestFunction or access token is required when calling initialize()");return e?.operationSettings&&o(e.operationSettings),function(o){if(o.environment){if(!["production","staging","local"].includes(o.environment))throw new n('If provided, environment must be either "production" or "staging"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.environment.PRODUCTION" or "constants.environment.STAGING"');if(o.branch&&!["master","sandbox","qa"].includes(o.branch))throw new n('If provided, branch must be either "master", "sandbox" or "qa"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.branch.MASTER" or "constants.environment.SANDBOX" and so on')}}(e),e.locale&&t(e.locale),e}export{e as validateInitializeParams};
|
|
1
|
+
import{InvalidParametersError as n}from"../../errors/InvalidParametersError.js";import{validateOperationSettingsParams as o}from"../../validation/operation-settings-validation.js";import{validateLocale as t}from"../locale/locale.validate.js";function e(e){if(!e?.accessToken&&!e?.operationSettings?.proxyRequestFunction&&!e?.operationSettings?.proxyEndpointDescriptor)throw new n("Either operationSettings.proxyRequestFunction, operationSettings.proxyEndpointDescriptor, or access token is required when calling initialize()");return e?.operationSettings&&o(e.operationSettings),function(o){if(o.environment){if(!["production","staging","local"].includes(o.environment))throw new n('If provided, environment must be either "production" or "staging"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.environment.PRODUCTION" or "constants.environment.STAGING"');if(o.branch&&!["master","sandbox","qa"].includes(o.branch))throw new n('If provided, branch must be either "master", "sandbox" or "qa"\nYou can "import constants from @qonto/embed-sdk/common" and then use "constants.branch.MASTER" or "constants.environment.SANDBOX" and so on')}}(e),e.locale&&t(e.locale),e}export{e as validateInitializeParams};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{authManager as e}from"../../../common/auth/auth.js";import{validatePresenceOfAuthToken as r}from"../../../common/auth/auth.validate.js";import{serializePaginationResponse as o}from"../../../common/api-pagination/api-pagination.js";import{verifySepaPayees as t,prepareGetBulkTransferCall as n,prepareGetBulkTransfersCall as s}from"../shared/bulk-transfers.api.js";import{serializeToBulkVopVerificationResult as i,serializeToNewBulkTransferDataObject as a,serializeBulkTransfer as m}from"../shared/bulk-transfers.serializer.js";import{validateOperationSettingsParams as p,validateClientOperationSettings as u}from"../../../validation/operation-settings-validation.js";import{validateCreateBulkTransferParams as c,validateBulkTransferParams as f}from"../shared/bulk-transfers.validate.js";import{isRunningInBrowser as d}from"../../../common/runtime/runtime.validation.js";import{InvalidRuntimeError as l,RUNTIME_ENVIRONMENT as y}from"../../../errors/InvalidRuntimeError.js";import{buildIframeUrl as b,createIframe as k}from"../../../iframe/iframe-manager.js";import{buildIframeMessage as g}from"../../../iframe/iframe-message-builder.js";import{VOP_DECISIONS as T,ACTIONS as E}from"../../../common/constants.js";import{callProxyFunction as j}from"../../../common/common.utils.js";import x from"../../../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";async function v(e){const{proxyRequestFunction:r,proxyEndpointDescriptor:t,paginationSettings:n}=u(e?.operationSettings,'Client-side bulk transfer operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/bulk-transfers/server".'),i=s({paginationSettings:n}),a=await j({proxyFunction:r,proxyEndpointDescriptor:t,networkCallDescriptor:i}),p=a.body.bulk_transfers.map(m),c=o(a.body.meta);return{bulkTransfers:p,...c?{meta:c}:{}}}async function h({bulkTransferSettings:e,operationSettings:r}){const o=f(e?.bulkTransferId),{proxyRequestFunction:t,proxyEndpointDescriptor:s}=u(r,'Client-side bulk transfer operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/bulk-transfers/server".'),i=n({bulkTransferId:o}),a=await j({proxyFunction:t,proxyEndpointDescriptor:s,networkCallDescriptor:i});return m(a.body.bulk_transfer)}async function*w({bulkTransferSettings:o,operationSettings:n}){const s=n?.accessToken||r(),u=n?.stagingToken||e.getStagingToken(),f=n?.idempotencyKey||x();c(o);const{uiParentElementId:j,debugMode:v}=p(n,{requiresUI:!0});if(!d())throw new l(y.BROWSER);const h=new Map;for(const e of o.bulkTransfers){const r=e.beneficiary.iban;r&&!h.has(r)&&h.set(r,{name:e.beneficiary.name,iban:r})}const w=Array.from(h.values()),I=await t({sepaPayees:w,accessToken:s,stagingToken:u||void 0});if((yield I.requests.map(i))===T.REJECT)return;let R,q;try{const e=b({accessToken:s,stagingToken:u||void 0,debugMode:v});q=await k({iframeUrl:e,parentElementId:j});const r={bankAccountId:o.bankAccountId,bulkTransfers:o.bulkTransfers.map((e=>a(e)))};R=await q.postMessage(g({actionId:E.TRANSFER_BULK_CREATE,actionData:{body:r,idempotencyKey:f}}))}finally{q?.destroy()}return{bulkTransfer:m(R),meta:{idempotencyKey:f}}}export{w as createBulkTransfer,h as getBulkTransfer,v as getBulkTransfers};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createBulkTransfer as r,getBulkTransfer as e,getBulkTransfers as t}from"./client/bulk-transfers.client.js";const s={getBulkTransfers:t,getBulkTransfer:e,createBulkTransfer:r};export{s as bulkTransfers};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeNetworkCall as e}from"../../../common/network/network.js";import"../../../common/environment/environment-manager.js";import{buildPaginationParams as n}from"../../../common/api-pagination/api-pagination.js";import{SEPA_ENDPOINT as s}from"../../shared/sepa-transfers.api.js";import{serializeToSepaPayeeDataObject as o}from"../../shared/sepa-transfers.serializer.js";const a="/v2/sepa/bulk_transfers";function t({paginationSettings:e,accessToken:s,stagingToken:o}){const t={method:"GET",headers:{accessToken:s,stagingToken:o}},r=n(e),i=r.size?`?${r.toString()}`:"";return{path:`${a}${i}`,options:t}}function r({bulkTransferId:e,accessToken:n,stagingToken:s}){return{path:`${a}/${e}`,options:{method:"GET",headers:{accessToken:n,stagingToken:s}}}}function i({sepaPayees:e,accessToken:n,stagingToken:a}){return{path:`${s}/bulk_verify_payee`,options:{method:"POST",headers:{accessToken:n,stagingToken:a},body:{requests:e.map(o)}}}}async function c({sepaPayees:n,accessToken:s,stagingToken:o}){const a=i({sepaPayees:n,accessToken:s,stagingToken:o});return await e(a)}export{a as BULK_TRANSFERS_ENDPOINT,r as prepareGetBulkTransferCall,t as prepareGetBulkTransfersCall,i as prepareVerifySepaPayeesCall,c as verifySepaPayees};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return{id:e.id,initiatorId:e.initiator_id,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),totalCount:Number(e.total_count),completedCount:Number(e.completed_count),failedCount:Number(e.failed_count),pendingCount:Number(e.pending_count),results:e.results.map((e=>({clientTransferId:e.client_transfer_id,transferId:e.transfer_id??null,errors:e.errors||null,status:e.status})))}}function t(e){return{beneficiary_id:e.beneficiaryId||e.beneficiary?.id,client_transfer_id:e.clientTransferId,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentsIds?{attachment_ids:e.attachmentsIds}:{}}}function n(e){return{id:e.id,response:{matchResult:e.response.match_result,matchedName:e.response.matched_name}}}export{e as serializeBulkTransfer,n as serializeToBulkVopVerificationResult,t as serializeToNewBulkTransferDataObject};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{InvalidParametersError as e}from"../../../errors/InvalidParametersError.js";import{validateExpectedStringValues as r,validateExpectedNumericValues as n}from"../../../validation/input-param-validation.js";import{AMOUNT_REQUIRING_ATTACHMENTS as a}from"../../../common/constants.js";function t(r){if(!r)throw new e("bulkTransferId parameter is required for the called function.");if("string"!=typeof r)throw new e("bulkTransferId must be a string.");return r}function i(t){if(!t)throw new e("bulkTransferSettings parameter is required for the called function.");if(!t.bankAccountId)throw new e("bankAccountId is required");if(!Array.isArray(t.bulkTransfers))throw new e("bulkTransfers must be an array");if(t.bulkTransfers.length>400)throw new e("Maximum of 400 bulk transfers allowed");return t.bulkTransfers.forEach(((t,i)=>{!function(t,i){if(!t)throw new e(`Invalid bulkTransfer at index ${i}: bulkTransfer object is required`);if(!t.beneficiary)throw new e(`Invalid bulkTransfer at index ${i}: Beneficiary details must be provided in the bulkTransferSettings.beneficiary field`);if(!t.beneficiary.iban)throw new e(`Invalid bulkTransfer at index ${i}: IBAN is required as part of the beneficiary details`);if(!t.beneficiary.name)throw new e(`Invalid bulkTransfer at index ${i}: Beneficiary name is required as part of the beneficiary details`);const f=r({reference:t.reference,clientTransferId:t.clientTransferId,note:t.note}),s=n({amount:t.amount}),o=[...f,...s].flat();if(o.length>0)throw new e(o);if(t.amount>a&&(!t.attachmentsIds||0===t.attachmentsIds.length))throw new e(`Invalid bulkTransfer at index ${i}: Attachments are required for transfers over €${a}`)}(t,i)})),t}export{t as validateBulkTransferParams,i as validateCreateBulkTransferParams};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{serializePaginationResponse as e}from"../../common/api-pagination/api-pagination.js";import{prepareCreateSepaTransferCall as r,prepareCancelSepaTransferCall as o,prepareGetSepaTransferCall as t,prepareGetSepaTransfersCall as n,prepareVerifySepaPayeeCall as s}from"../shared/sepa-transfers.api.js";import{serializeToVopVerificationResult as i,serializeSepaTransfer as a}from"../shared/sepa-transfers.serializer.js";import{validateTransferBeneficiaryParams as p,validateCreateSepaTransferParams as c,validateGetSepaTransferCreationFlowLinkParams as u,validateCancelSepaTransferParams as m,validateGetSepaTransferParams as d}from"../shared/sepa-transfers.validate.js";import{VOP_DECISIONS as f,HTTP_CODES as y,AUTH_LINK_ACTIONS as l}from"../../common/constants.js";import{isRunningInBrowser as x}from"../../common/runtime/runtime.validation.js";import{InvalidRuntimeError as E,RUNTIME_ENVIRONMENT as g}from"../../errors/InvalidRuntimeError.js";import{authLinks as k}from"../../auth-links/index.js";import{findBeneficiary as q,createSepaTransferScaElement as D,waitForSepaTransferScaResult as S,decorateUrlWithExtraParams as T}from"../shared/sepa-transfers.utils.js";import"../../ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.js";import{EmbedApiError as w}from"../../errors/EmbedApiError.js";import{serializePreconditionRequiredResponse as R}from"../../sca/sca.serializer.js";import{callProxyFunction as b}from"../../common/common.utils.js";import{authManager as F}from"../../common/auth/auth.js";import{validateClientOperationSettings as I}from"../../validation/operation-settings-validation.js";import{InvalidParametersError as h}from"../../errors/InvalidParametersError.js";import j from"../../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";async function v(r){const{proxyRequestFunction:o,proxyEndpointDescriptor:t,paginationSettings:s}=I(r?.operationSettings,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),i=n({paginationSettings:s}),p=await b({proxyFunction:o,proxyEndpointDescriptor:t,networkCallDescriptor:i}),c=p.body.transfers.map(a),u=e(p.body.meta);return{transfers:c,...u?{meta:u}:{}}}async function C({sepaTransferSettings:e,operationSettings:r}){const o=d(e?.sepaTransferId),{proxyRequestFunction:n,proxyEndpointDescriptor:s}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),i=t({sepaTransferId:o}),p=await b({proxyFunction:n,proxyEndpointDescriptor:s,networkCallDescriptor:i});return a(p.body.transfer)}async function*P({sepaTransferSettings:e,operationSettings:o}){const{proxyRequestFunction:t,proxyEndpointDescriptor:n,uiParentElementId:u,locale:m}=I(o),d=F.getStagingToken(),l=o?.idempotencyKey||j();let k;p(e);const T=await q({sepaTransferSettings:e,operationSettings:o}),v={name:T.name,iban:T.iban},C=await async function({sepaPayee:e,operationSettings:r}){const{proxyRequestFunction:o,proxyEndpointDescriptor:t}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),n=s({sepaPayee:e}),i=await b({proxyFunction:o,proxyEndpointDescriptor:t,networkCallDescriptor:n});return i.body}({sepaPayee:v,operationSettings:o}),P=yield i(C);let _;if("string"==typeof P){if(P===f.REJECT)return}else{if(P.vopDecision===f.REJECT)return;_=P.sepaTransferSettings}const A={...e,..._};c(A);const K={...A,beneficiary:T};if(K.beneficiary?.trusted){const e=r({transfer:K,vopProofToken:C.proof_token.token,idempotencyKey:l});k=(await b({proxyFunction:t,proxyEndpointDescriptor:n,networkCallDescriptor:e})).body.transfer}else{if(!x())throw new E(g.BROWSER);if(!u)throw new h("operationSettings.uiParentElementId is required for creating transfers to untrusted beneficiaries. This operation requires UI interaction for SCA.");const e=r({transfer:K,vopProofToken:C.proof_token.token,stagingToken:d||void 0,idempotencyKey:l});let o;try{k=(await b({proxyFunction:t,proxyEndpointDescriptor:n,networkCallDescriptor:e})).body.transfer}catch(e){if(!(e instanceof w&&e.code===y.PRECONDITION_REQUIRED))throw e;o=R(e.data.body).scaSessionToken}const s=D({networkCallDescriptor:e,scaSessionToken:o,operationSettings:{uiParentElementId:u,proxyRequestFunction:t,locale:m}});try{k=await S(s)}finally{s.remove()}}return{transfer:a(k),meta:{idempotencyKey:l}}}async function _({sepaTransferSettings:e,operationSettings:r}){const t=m(e?.sepaTransferId),{proxyRequestFunction:n,proxyEndpointDescriptor:s}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),i=o({sepaTransferId:t});await b({proxyFunction:n,proxyEndpointDescriptor:s,networkCallDescriptor:i})}async function A({sepaTransferSettings:e,operationSettings:r}){const o=u(e),{proxyRequestFunction:t,proxyEndpointDescriptor:n}=I(r,'Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import from "@qonto/embed-sdk/sepa-transfers/server".'),s=await k.request({requestSettings:{action:l.SEPA_TRANSFER_CREATE,callbackUrl:o},operationSettings:{proxyRequestFunction:t,proxyEndpointDescriptor:n}});return{...s,url:T(s.url,r)}}export{_ as cancelSepaTransfer,P as createSepaTransfer,C as getSepaTransfer,A as getSepaTransferCreationFlowLink,v as getSepaTransfers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{createSepaTransfer as e,getSepaTransferCreationFlowLink as r,cancelSepaTransfer as a,getSepaTransfer as s,getSepaTransfers as n}from"./client/sepa-transfers.client.js";import{bulkTransfers as t}from"./bulk-transfers/index.js";const f={getSepaTransfers:n,getSepaTransfer:s,createSepaTransfer:e,cancelSepaTransfer:a,getSepaTransferCreationFlowLink:r,bulkTransfers:t};export{f as sepaTransfers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{serializePaginationResponse as o}from"../common/api-pagination/api-pagination.js";import{prepareGetSepaTransfersCall as a,getSepaTransfers as n}from"./shared/sepa-transfers.api.js";import{serializeSepaTransfer as s}from"./shared/sepa-transfers.serializer.js";import{validateOperationSettingsParams as i}from"../validation/operation-settings-validation.js";import"../common/operation-settings/operation-settings.js";import"../common/locale/locale-manager.js";import"../common/environment/environment-manager.js";import{callProxyFunction as e}from"../common/common.utils.js";import"../ui/ui-elements/sca-passkey/qonto-sca-passkey-waiting.js";async function r(r){const{stagingToken:m,proxyRequestFunction:p,accessToken:c,paginationSettings:g}=i(r?.operationSettings||{});if(p){const t=a({paginationSettings:g}),n=await e({proxyFunction:p,networkCallDescriptor:t}),i=n.body.transfers.map(s),r=o(n.body.meta);return{transfers:i,...r?{meta:r}:{}}}{const a=c||t(),i=await n({accessToken:a,stagingToken:m,paginationSettings:g}),e=i.transfers.map(s),r=o(i.meta);return{transfers:e,...r?{meta:r}:{}}}}export{r as getSepaTransfers};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeNetworkCall as n}from"../../common/network/network.js";import{buildPaginationParams as e}from"../../common/api-pagination/api-pagination.js";import{serializeToNewSepaTransferDataObject as o}from"./sepa-transfers.serializer.js";const s="/v2/sepa",a=`${s}/transfers`;function t({paginationSettings:n,accessToken:o,stagingToken:s}){const t={method:"GET",headers:{accessToken:o,stagingToken:s}},i=e(n),r=i.size?`?${i.toString()}`:"";return{path:`${a}${r}`,options:t}}async function i({accessToken:e,stagingToken:o,paginationSettings:s}){const a=t({paginationSettings:s,accessToken:e,stagingToken:o}),{transfers:i,meta:r}=await n(a);return{transfers:i,meta:r}}function r({sepaTransferId:n,accessToken:e,stagingToken:o}){return{path:`${a}/${n}`,options:{method:"GET",headers:{accessToken:e,stagingToken:o}}}}function c({transfer:n,vopProofToken:e,accessToken:s,stagingToken:t,scaSessionToken:i,idempotencyKey:r}){const c=o(n);return{path:a,options:{method:"POST",headers:{accessToken:s,stagingToken:t,scaSessionToken:i,idempotencyKey:r},body:{transfer:c,vop_proof_token:e}}}}function T({sepaTransferId:n,accessToken:e,stagingToken:o}){return{path:`${a}/${n}/cancel`,options:{method:"POST",headers:{accessToken:e,stagingToken:o}}}}function g({sepaPayee:n,accessToken:e,stagingToken:o}){return{path:`${s}/verify_payee`,options:{method:"POST",headers:{accessToken:e,stagingToken:o},body:{beneficiary_name:n.name,iban:n.iban}}}}export{s as SEPA_ENDPOINT,a as SEPA_TRANSFERS_ENDPOINT,i as getSepaTransfers,T as prepareCancelSepaTransferCall,c as prepareCreateSepaTransferCall,r as prepareGetSepaTransferCall,t as prepareGetSepaTransfersCall,g as prepareVerifySepaPayeeCall};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return{id:e.id,initiatorId:e.initiator_id,bankAccountId:e.bank_account_id,amount:Number(e.amount),amountCents:Number(e.amount_cents),amountCurrency:e.amount_currency,status:e.status,beneficiaryId:e.beneficiary_id,reference:e.reference,note:e.note,declinedReason:e.declined_reason,scheduledDate:new Date(e.scheduled_date),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),processedAt:new Date(e.processed_at),completedAt:new Date(e.completed_at),transactionId:e.transaction_id}}function t(e){const t=e.beneficiaryId||e.beneficiary?.id;return{bank_account_id:e.bankAccountId,beneficiary_id:t,amount:e.amount.toString(),reference:e.reference,...e.note?{note:e.note}:{},...e.scheduledDate?{scheduled_date:e.scheduledDate.toISOString().split("T")[0]}:{},...e.attachmentIds?{attachment_ids:e.attachmentIds}:{}}}function n(e){return{matchResult:e.match_result,matchedName:e.matched_name}}function a(e){return{name:e.name,iban:e.iban}}export{e as serializeSepaTransfer,t as serializeToNewSepaTransferDataObject,a as serializeToSepaPayeeDataObject,n as serializeToVopVerificationResult};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getBeneficiary as e}from"../../beneficiaries/beneficiaries.js";import{localeManager as n}from"../../common/locale/locale-manager.js";import{getUIParentElement as t}from"../../common/common.utils.js";async function r({sepaTransferSettings:n,operationSettings:t}){return n?.beneficiary?n.beneficiary:await e({beneficiarySettings:{beneficiaryId:n?.beneficiaryId},operationSettings:t})}function o(e,t){const r=t?.locale||n.getLocale(),o=new URL(e);return r&&o.searchParams.append("lang",r),t?.mfaPreference&&o.searchParams.append("mfaPreference",t.mfaPreference),t?.idempotencyKey&&o.searchParams.append("idempotencyKey",t.idempotencyKey),o.toString()}function a({networkCallDescriptor:e,scaSessionToken:n,operationSettings:r}){const{uiParentElementId:o,proxyRequestFunction:a,locale:i}=r,s=t(o);s.innerHTML="";const c=document.createElement("qonto-sca-passkey-waiting");return c.networkCallDescriptor={...e,options:{...e.options,headers:{...e.options.headers,scaSessionToken:n}}},c.operationSettings={uiParentElementId:o,proxyRequestFunction:a,locale:i},s.appendChild(c),c}async function i(e){return new Promise(((n,t)=>{e.addEventListener("sca-success",(e=>{n(e.detail.result.transfer)}),{once:!0}),e.addEventListener("sca-error",(e=>{t(e.detail.error)}),{once:!0}),e.addEventListener("sca-abort",(e=>{t(e.detail.result)}),{once:!0})}))}export{a as createSepaTransferScaElement,o as decorateUrlWithExtraParams,r as findBeneficiary,i as waitForSepaTransferScaResult};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{InvalidParametersError as e}from"../../errors/InvalidParametersError.js";import{validateExpectedStringValues as r,validatePresenceOfRequiredParams as t,validateExpectedNumericValues as n}from"../../validation/input-param-validation.js";import{AMOUNT_REQUIRING_ATTACHMENTS as a}from"../../common/constants.js";const i=[{name:"bankAccountId"},{name:"reference"},{name:"amount"}];function o(r){if(!r)throw new e("sepaTransferId parameter is required for the called function");if(r&&"string"!=typeof r)throw new e("sepaTransferId must be a string");return r}function f(t){if(!t)throw new e("sepaTransferSettings parameter is required for the called function");if("object"!=typeof t)throw new e("sepaTransferSettings must be an object");if(!t.beneficiaryId&&!t.beneficiary)throw new e("Either beneficiaryId or beneficiary must be provided");const n=r({beneficiaryId:t.beneficiaryId});if(n.length>0)throw new e(n);return t}function s(o){if(!o)throw new e("sepaTransferSettings parameter is required for the called function");if("object"!=typeof o)throw new e("sepaTransferSettings must be an object");t(o,i);const f=[...r({bankAccountId:o.bankAccountId,note:o.note,reference:o.reference}),...n({amount:o.amount})].flat();if(f.length>0)throw new e(f);if(o.amount>a&&(!o.attachmentIds||0===o.attachmentIds.length))throw new e("Attachments are required for transfers over €30,000");return o}function c(r){if(!r)throw new e("sepaTransferId parameter is required for the called function");if("string"!=typeof r)throw new e("sepaTransferId must be a string");return r}function u(r){if(!r||!r.callbackUrl)throw new e("callbackUrl parameter is required for the getSepaTransferCreationFlowLink function");if("string"!=typeof r.callbackUrl)throw new e("callbackUrl must be a string");return r.callbackUrl}export{c as validateCancelSepaTransferParams,s as validateCreateSepaTransferParams,u as validateGetSepaTransferCreationFlowLinkParams,o as validateGetSepaTransferParams,f as validateTransferBeneficiaryParams};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as t}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as r}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as
|
|
1
|
+
import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as t}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as r}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as o}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as i}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{localized as n}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{sepaTransferCreationStyles as a}from"./sepa-transfer-creation.styles.js";import{setLocale as c}from"../localize/configure-localization.js";import"./pages/beneficiary-selection-page.js";import"./pages/transfer-details-page.js";import"./pages/transfer-summary-page.js";import"./pages/transfer-success-page.js";import"./pages/transfer-error-page.js";import"../../customizable-components/styles/styles.css.js";import{sepaTransfers as l}from"../../../sepa-transfers/index.js";import{VOP_DECISIONS as p}from"../../../common/constants.js";const m={BENEFICIARY_SELECTION:"beneficiary-selection",TRANSFER_DETAILS:"transfer-details",TRANSFER_SUMMARY:"transfer-summary",TRANSFER_SUCCESS:"transfer-success",TRANSFER_ERROR:"transfer-error"};let d=class extends r{constructor(){super(...arguments),this.locale="en",this.currentPage=m.BENEFICIARY_SELECTION,this.formData={beneficiary:void 0,accountToDebit:void 0,amount:"",reference:""},this.isCreatingTransfer=!1,this.handleRecipientInfoSubmitted=async e=>{const t=e.detail;if(this.formData={...this.formData,beneficiary:t.beneficiary},!this.operationSettings)return console.error("operationSettings is required to create transfer"),void(this.transferError="Missing configuration. Please try again.");this.isCreatingTransfer=!0,this.transferError=void 0;try{this.currentPage=m.TRANSFER_DETAILS,this.transferCreationProcess=l.createSepaTransfer({sepaTransferSettings:{beneficiary:t.beneficiary},operationSettings:{...this.operationSettings?{proxyRequestFunction:this.operationSettings.proxyRequestFunction,proxyEndpointDescriptor:this.operationSettings.proxyEndpointDescriptor,mfaPreference:this.operationSettings.mfaPreference,debugMode:this.operationSettings.debugMode,locale:this.operationSettings.locale}:{},uiParentElementId:()=>{const e=document.querySelector("qonto-sepa-transfer-creation");return e?.shadowRoot?.getElementById("sca-container")}}});const e=await this.transferCreationProcess.next();this.vopResult=e.value}catch(e){console.error("Failed to start transfer creation:",e),this.transferError=e instanceof Error?e.message:"Failed to verify beneficiary. Please try again."}finally{this.isCreatingTransfer=!1}},this.handleTransferDetailsSubmitted=e=>{const t=e.detail;this.formData={...this.formData,accountToDebit:t.accountToDebit,amount:t.amount,reference:t.reference},this.currentPage=m.TRANSFER_SUMMARY},this.handleGoToStep=e=>{this.currentPage=e.detail.step},this.handleTransferConfirmed=async e=>{const t=e.detail;if(!this.transferCreationProcess||!this.formData.accountToDebit)return console.error("Transfer creation process not initialized"),void(this.transferError="Transfer process not initialized. Please try again.");this.isCreatingTransfer=!0,this.transferError=void 0;try{const e=parseFloat(t.amount);if(isNaN(e)||e<=0)throw new Error("Invalid transfer amount");const r=await this.transferCreationProcess.next({vopDecision:p.ACCEPT,sepaTransferSettings:{bankAccountId:this.formData.accountToDebit.id,amount:e,reference:t.reference}});r.value&&"transfer"in r.value&&(this.dispatchEvent(new CustomEvent("sepa-transfer-created",{detail:r.value.transfer,bubbles:!0,composed:!0})),this.currentPage=m.TRANSFER_SUCCESS)}catch(e){this.transferError=e instanceof Error?e.message:"Failed to create transfer. Please try again.",this.currentPage=m.TRANSFER_ERROR}finally{this.isCreatingTransfer=!1}}}connectedCallback(){super.connectedCallback(),c(this.locale),this.addEventListener("recipient-info-submitted",this.handleRecipientInfoSubmitted),this.addEventListener("transfer-details-submitted",this.handleTransferDetailsSubmitted),this.addEventListener("go-to-step",this.handleGoToStep),this.addEventListener("transfer-confirmed",this.handleTransferConfirmed)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("recipient-info-submitted",this.handleRecipientInfoSubmitted),this.removeEventListener("transfer-details-submitted",this.handleTransferDetailsSubmitted),this.removeEventListener("go-to-step",this.handleGoToStep),this.removeEventListener("transfer-confirmed",this.handleTransferConfirmed)}updated(e){e.has("locale")&&c(this.locale)}render(){return t`
|
|
2
2
|
<div data-router-outlet>
|
|
3
3
|
<div id="sca-container" data-sca-modal></div>
|
|
4
|
-
${(()=>{switch(this.currentPage){case
|
|
4
|
+
${(()=>{switch(this.currentPage){case m.BENEFICIARY_SELECTION:return t`<qonto-beneficiary-selection-page
|
|
5
5
|
.operationSettings=${this.operationSettings}
|
|
6
6
|
.locale=${this.locale}
|
|
7
|
-
></qonto-beneficiary-selection-page>`;case
|
|
7
|
+
></qonto-beneficiary-selection-page>`;case m.TRANSFER_DETAILS:return t`<qonto-transfer-details-page
|
|
8
8
|
.locale=${this.locale}
|
|
9
9
|
.operationSettings=${this.operationSettings}
|
|
10
10
|
.beneficiary=${this.formData.beneficiary}
|
|
@@ -13,7 +13,7 @@ import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typesc
|
|
|
13
13
|
.transferReference=${this.formData.reference}
|
|
14
14
|
.vopResult=${this.vopResult}
|
|
15
15
|
.isLoadingVop=${this.isCreatingTransfer}
|
|
16
|
-
></qonto-transfer-details-page>`;case
|
|
16
|
+
></qonto-transfer-details-page>`;case m.TRANSFER_SUMMARY:return t`<qonto-transfer-summary-page
|
|
17
17
|
.locale=${this.locale}
|
|
18
18
|
.operationSettings=${this.operationSettings}
|
|
19
19
|
.beneficiary=${this.formData.beneficiary}
|
|
@@ -23,10 +23,10 @@ import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typesc
|
|
|
23
23
|
.vopResult=${this.vopResult}
|
|
24
24
|
.isConfirming=${this.isCreatingTransfer}
|
|
25
25
|
.error=${this.transferError}
|
|
26
|
-
></qonto-transfer-summary-page>`;case
|
|
26
|
+
></qonto-transfer-summary-page>`;case m.TRANSFER_SUCCESS:return t`<qonto-transfer-success-page
|
|
27
27
|
.locale=${this.locale}
|
|
28
|
-
></qonto-transfer-success-page>`;case
|
|
28
|
+
></qonto-transfer-success-page>`;case m.TRANSFER_ERROR:return t`<qonto-transfer-error-page
|
|
29
29
|
.locale=${this.locale}
|
|
30
30
|
></qonto-transfer-error-page>`}})()}
|
|
31
31
|
</div>
|
|
32
|
-
`}};
|
|
32
|
+
`}};d.styles=a,e([o({type:Object})],d.prototype,"operationSettings",void 0),e([o({type:String})],d.prototype,"locale",void 0),e([i()],d.prototype,"currentPage",void 0),e([i()],d.prototype,"formData",void 0),e([i()],d.prototype,"transferCreationProcess",void 0),e([i()],d.prototype,"vopResult",void 0),e([i()],d.prototype,"isCreatingTransfer",void 0),e([i()],d.prototype,"transferError",void 0),d=e([n(),s("qonto-sepa-transfer-creation")],d);export{m as SEPA_TRANSFER_PAGES,d as SepaTransferCreation};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";import{operationSettingsManager as t}from"../common/operation-settings/operation-settings.js";import{MFA_METHODS as n}from"../common/constants.js";import{environmentManager as o}from"../common/environment/environment-manager.js";const r={requiresUI:!1};function i(i,{requiresUI:s}=r){const
|
|
1
|
+
import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";import{operationSettingsManager as t}from"../common/operation-settings/operation-settings.js";import{MFA_METHODS as n}from"../common/constants.js";import{environmentManager as o}from"../common/environment/environment-manager.js";const r={requiresUI:!1};function i(i,{requiresUI:s}=r){const p=i?.uiParentElementId||t.getUIParentElementId();if(s){if(!p)throw new e("operationSettings parameter must have a uiParentElementId for the called function.\nYou can pass it either to the initialize function or in a per function basis.");if(!["string","function"].includes(typeof p))throw new e("operationSettings.uiParentElementId must be a string or a function returning an HTMLElement")}const u=i?.mfaPreference||t.getMFAPreference();if(u){const t=(c=Object.values(n),o.isProductionEnvironment()?c.filter((e=>e!==n.MOCK)):c);if(!t.includes(u))throw new e(`operationSettings.mfaPreference must be one of ${t.join(", ")}`);if(o.isProductionEnvironment()&&u===n.MOCK)throw new e("operationSettings.mfaPreference cannot be set to mock in production environment.")}var c;const a=i?.debugMode||t.getDebugMode();if(void 0!==a&&"boolean"!=typeof a)throw new e("operationSettings.debugMode must be a boolean.");const m=i?.proxyRequestFunction||t.getProxyRequestFunction();if(m&&"function"!=typeof m)throw new e("operationSettings.proxyRequestFunction must be a function.");const f=i?.proxyEndpointDescriptor||t.getProxyEndpointDescriptor();if(f&&!f.path)throw new e("operationSettings.proxyEndpointDescriptor must have at least a string-formatted path property.");return{...i,uiParentElementId:p,mfaPreference:u,debugMode:a,proxyRequestFunction:m,proxyEndpointDescriptor:f}}function s(n,o){const r=n?.proxyRequestFunction||t.getProxyRequestFunction(),i=n?.proxyEndpointDescriptor||t.getProxyEndpointDescriptor();if(!r&&!i)throw new e(o||"Client-side operations require either proxyRequestFunction or proxyEndpointDescriptor. If you need to use accessToken, import the server version of this module.");return{...n,proxyRequestFunction:r,proxyEndpointDescriptor:i}}export{s as validateClientOperationSettings,i as validateOperationSettingsParams};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings } from '@cards/cards.types';
|
|
2
2
|
import type { Beneficiary, GetBeneficiariesResponse } from '@beneficiaries/beneficiaries.types';
|
|
3
|
-
import type { SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, VopVerificationResult, VopCheckResult } from '@sepa-transfers/sepa-transfers.types';
|
|
3
|
+
import type { SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, CreateSepaTransferResponse, VopVerificationResult, VopCheckResult } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
4
4
|
import type { PaginationState } from '@common/api-pagination/api-pagination.types';
|
|
5
5
|
import type { Locale } from '@common/locale/locale.types';
|
|
6
6
|
import type { BankAccount, ACCOUNT_STATUS } from '@organizations/organizations.types';
|
|
7
7
|
import type { CreatePaymentLinkSettings, Item, PaymentLinkParams } from '@payment-links/payment-links.types';
|
|
8
8
|
import type { Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings } from '@transactions/transactions.types';
|
|
9
9
|
import type { AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction } from '@auth-links/auth-links.types';
|
|
10
|
-
export type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, GetBeneficiariesResponse, SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, VopVerificationResult, VopCheckResult, PaginationState, Locale, BankAccount, ACCOUNT_STATUS, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
|
|
10
|
+
export type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, GetBeneficiariesResponse, SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, CreateSepaTransferResponse, Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, VopVerificationResult, VopCheckResult, PaginationState, Locale, BankAccount, ACCOUNT_STATUS, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
|
|
11
11
|
//# sourceMappingURL=types.public-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.public-api.d.ts","sourceRoot":"","sources":["../../src/types/types.public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,EACf,MAAM,
|
|
1
|
+
{"version":3,"file":"types.public-api.d.ts","sourceRoot":"","sources":["../../src/types/types.public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,cAAc,EACf,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,yBAAyB,EACzB,IAAI,EACJ,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,MAAM,EACN,WAAW,EACX,cAAc,EACd,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
|
|
@@ -10,7 +10,7 @@ import '../../../customizable-components/select-field/qonto-option.ts';
|
|
|
10
10
|
import '../../../customizable-components/amount-field/qonto-amount-field.ts';
|
|
11
11
|
import type { OperationSettings } from '@validation/operation-settings-validation.ts';
|
|
12
12
|
import type { BankAccount } from '@organizations/organizations.types.ts';
|
|
13
|
-
import type { VopVerificationResult } from '@sepa-transfers/sepa-transfers.types';
|
|
13
|
+
import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
14
14
|
import type { Beneficiary } from '@beneficiaries/beneficiaries.types.ts';
|
|
15
15
|
export declare class TransferDetailsPage extends LitElement {
|
|
16
16
|
static styles: import("lit").CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-details-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,yDAAyD,CAAC;AACjE,OAAO,gFAAgF,CAAC;AACxF,OAAO,6EAA6E,CAAC;AACrF,OAAO,iEAAiE,CAAC;AACzE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,+DAA+D,CAAC;AACvE,OAAO,qEAAqE,CAAC;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"transfer-details-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,yDAAyD,CAAC;AACjE,OAAO,gFAAgF,CAAC;AACxF,OAAO,6EAA6E,CAAC;AACrF,OAAO,iEAAiE,CAAC;AACzE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,+DAA+D,CAAC;AACvE,OAAO,qEAAqE,CAAC;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAGzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAMzE,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAGrC,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAGxC,cAAc,EAAE,MAAM,CAAK;IAG3B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,OAAO,CAAC,YAAY,CAAqB;IAGzC,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAGlC,OAAO,CAAC,aAAa,CAAkB;IAGvC,OAAO,CAAC,gBAAgB,CAAkB;IAE1C,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,iBAAiB;IAwB/B,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,YAAY;IAYpB,MAAM;CA6IP"}
|
|
@@ -4,7 +4,7 @@ import '../../../customizable-components/button/qonto-button.ts';
|
|
|
4
4
|
import type { OperationSettings } from '@validation/operation-settings-validation.ts';
|
|
5
5
|
import type { BankAccount } from '@organizations/organizations.types.ts';
|
|
6
6
|
import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
|
|
7
|
-
import type { VopVerificationResult } from '@sepa-transfers/sepa-transfers.types';
|
|
7
|
+
import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
8
8
|
export declare class TransferSummaryPage extends LitElement {
|
|
9
9
|
static styles: import("lit").CSSResult;
|
|
10
10
|
operationSettings: OperationSettings | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKzF,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAa;IAGjD,cAAc,EAAE,WAAW,GAAG,SAAS,CAAa;IAGpD,cAAc,EAAE,MAAM,CAAM;IAG5B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;IAcrB,MAAM;CAuGP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sepa-transfer-creation.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAQnF,OAAO,uCAAuC,CAAC;AAC/C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,iDAAiD,CAAC;AAiBzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;;;;;;;;;;;;GAaG;AACH,qBAEa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,0BAA8B;IAG3C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,WAAW,CACyB;IAG5C,OAAO,CAAC,QAAQ,CAKd;IAGF,OAAO,CAAC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"sepa-transfer-creation.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAQnF,OAAO,uCAAuC,CAAC;AAC/C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,iDAAiD,CAAC;AAiBzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;;;;;;;;;;;;GAaG;AACH,qBAEa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,0BAA8B;IAG3C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,WAAW,CACyB;IAG5C,OAAO,CAAC,QAAQ,CAKd;IAGF,OAAO,CAAC,uBAAuB,CAKjB;IAGd,OAAO,CAAC,SAAS,CAAoC;IAGrD,OAAO,CAAC,kBAAkB,CAAkB;IAG5C,OAAO,CAAC,aAAa,CAAqB;IAE1C,iBAAiB;IAkBjB,oBAAoB;IAoBpB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,4BAA4B,CA8DlC;IAEF,OAAO,CAAC,8BAA8B,CAYpC;IAEF,OAAO,CAAC,cAAc,CAEpB;IAEF,OAAO,CAAC,uBAAuB,CAkD7B;IAEF,MAAM;CA+CP"}
|