@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 @@
|
|
|
1
|
+
import{getBeneficiary as e}from"../../beneficiaries/beneficiaries.js";import{localeManager as n}from"../../common/locale/locale-manager.js";import"../../common/auth/auth.js";import"../../common/operation-settings/operation-settings.js";import"../../common/environment/environment-manager.js";async function a({sepaTransferSettings:n,operationSettings:a}){return n?.beneficiary?n.beneficiary:await e({beneficiarySettings:{beneficiaryId:n?.beneficiaryId},operationSettings:a})}function r(e,a){const r=a?.locale||n.getLocale(),i=new URL(e);return r&&i.searchParams.append("lang",r),a?.mfaPreference&&i.searchParams.append("mfaPreference",a.mfaPreference),a?.idempotencyKey&&i.searchParams.append("idempotencyKey",a.idempotencyKey),i.toString()}export{r as decorateUrlWithExtraParams,a as findBeneficiary};
|
|
@@ -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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";function r(r,t){const n=t.filter((e=>e.requiredIfPresent?!r[e.name]&&r[e.requiredIfPresent]:void 0===r[e.name])).map((e=>e.name));if(n.length>0)throw new e(n.map((e=>`Missing required parameter: ${e}`)))}function t(e){return Object.entries(e).filter((([,e])=>void 0!==e)).filter((([,e])=>"string"!=typeof e)).map((([e])=>`${e} must be a string`))}function n(e){return Object.entries(e).filter((([,e])=>void 0!==e)).filter((([,e])=>"number"!=typeof e)).map((([e])=>`${e} must be a number`))}export{n as validateExpectedNumericValues,t as validateExpectedStringValues,r as validatePresenceOfRequiredParams};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{InvalidParametersError as e}from"../errors/InvalidParametersError.js";import{operationSettingsManager as t}from"../common/operation-settings/operation-settings.js";import{MFA_METHODS as n}from"../common/constants.js";import{environmentManager as o}from"../common/environment/environment-manager.js";const r={requiresUI:!1};function i(i,{requiresUI:s}=r){const a=i?.uiParentElementId||t.getUIParentElementId();if(s){if(!a)throw new e("operationSettings parameter must have a uiParentElementId for the called function.\nYou can pass it either to the initialize function or in a per function basis.");if(!["string","function"].includes(typeof a))throw new e("operationSettings.uiParentElementId must be a string or a function returning an HTMLElement")}const c=i?.mfaPreference||t.getMFAPreference();if(c){const t=(u=Object.values(n),o.isProductionEnvironment()?u.filter((e=>e!==n.MOCK)):u);if(!t.includes(c))throw new e(`operationSettings.mfaPreference must be one of ${t.join(", ")}`);if(o.isProductionEnvironment()&&c===n.MOCK)throw new e("operationSettings.mfaPreference cannot be set to mock in production environment.")}var u;const m=i?.debugMode||t.getDebugMode();if(void 0!==m&&"boolean"!=typeof m)throw new e("operationSettings.debugMode must be a boolean.");const p=i?.proxyRequestFunction||t.getProxyRequestFunction();if(p&&"function"!=typeof p)throw new e("operationSettings.proxyRequestFunction must be a function.");const f=i?.proxyEndpointDescriptor||t.getProxyEndpointDescriptor();if(f&&!f.path)throw new e("operationSettings.proxyEndpointDescriptor must have at least a string-formatted path property.");return{...i,uiParentElementId:a,mfaPreference:c,debugMode:m,proxyRequestFunction:p,proxyEndpointDescriptor:f}}export{i as validateOperationSettingsParams};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The transactions namespace contains all the functions related to transaction operations.
|
|
3
|
+
* It provides functionality to fetch and filter transactions for the authenticated user.
|
|
4
|
+
*
|
|
5
|
+
* It can be accessed like this:
|
|
6
|
+
* ```ts
|
|
7
|
+
* import { transactions } from '@qonto/embed-sdk/transactions';
|
|
8
|
+
* ```
|
|
9
|
+
*
|
|
10
|
+
* Then, the transactions object contains the functions to perform transaction operations:
|
|
11
|
+
* ```ts
|
|
12
|
+
* // Fetch all transactions with optional filtering
|
|
13
|
+
* const { transactions: txns, meta } = await transactions.getTransactions({
|
|
14
|
+
* transactionSettings: {
|
|
15
|
+
* status: 'completed',
|
|
16
|
+
* side: 'debit',
|
|
17
|
+
* bankAccountId: 'account_123'
|
|
18
|
+
* },
|
|
19
|
+
* operationSettings: {
|
|
20
|
+
* // For client side authentication, you can provide a proxy function (recommended for
|
|
21
|
+
* // security reasons). Read more in <a href="https://docs.qonto.com/api-reference/sdk-libraries/doc-pages/proxy-endpoint-implementation">Proxy request implementation</a>
|
|
22
|
+
* // article.
|
|
23
|
+
* proxyRequestFunction: async (payload: string) => {}
|
|
24
|
+
* // Or, for server side authentication, you can provide an access token directly
|
|
25
|
+
* accessToken: 'your_token'
|
|
26
|
+
* }
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* // Fetch a specific transaction by ID
|
|
30
|
+
* const transaction = await transactions.getTransaction({
|
|
31
|
+
* transactionSettings: { transactionId: 'txn_123' },
|
|
32
|
+
* operationSettings: {
|
|
33
|
+
* // For client side authentication, you can provide a proxy function (recommended for
|
|
34
|
+
* // security reasons). Read more in <a href="https://docs.qonto.com/api-reference/sdk-libraries/doc-pages/proxy-endpoint-implementation">Proxy request implementation</a>
|
|
35
|
+
* // article.
|
|
36
|
+
* proxyRequestFunction: async (payload: string) => {}
|
|
37
|
+
* // Or, for server side authentication, you can provide an access token directly
|
|
38
|
+
* accessToken: 'your_token'
|
|
39
|
+
* }
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare const transactions: {
|
|
44
|
+
getTransactions: typeof import("./transactions").getTransactions;
|
|
45
|
+
getTransaction: typeof import("./transactions").getTransaction;
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transactions/index.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,YAAY;;;CAAqC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { TransactionDataObject, GetTransactionsSettings, GetTransactionSettings } from './transactions.types';
|
|
2
|
+
import type { PaginationResponseDataObject } from '@common/api-pagination/api-pagination.types';
|
|
3
|
+
import { type NetworkCallDescriptor } from '@common/network/network';
|
|
4
|
+
import type { OperationSettings } from '@validation/operation-settings-validation';
|
|
5
|
+
interface GetTransactionsParams extends GetTransactionsSettings {
|
|
6
|
+
accessToken?: string;
|
|
7
|
+
stagingToken?: string;
|
|
8
|
+
}
|
|
9
|
+
interface GetTransactionParams extends GetTransactionSettings {
|
|
10
|
+
accessToken?: string;
|
|
11
|
+
stagingToken?: string;
|
|
12
|
+
}
|
|
13
|
+
interface GetTransactionsApiResponse {
|
|
14
|
+
transactions: TransactionDataObject[];
|
|
15
|
+
meta: PaginationResponseDataObject;
|
|
16
|
+
}
|
|
17
|
+
type GetTransactionsCallParams = GetTransactionsParams & OperationSettings;
|
|
18
|
+
export declare function prepareGetTransactionsCall({ bankAccountId, iban, status, updatedAtFrom, updatedAtTo, emittedAtFrom, emittedAtTo, settledAtFrom, settledAtTo, side, operationType, withAttachments, paginationSettings, accessToken, stagingToken, }: GetTransactionsCallParams): NetworkCallDescriptor;
|
|
19
|
+
export declare function getTransactions(params: GetTransactionsParams): Promise<GetTransactionsApiResponse>;
|
|
20
|
+
export declare function prepareGetTransactionCall({ transactionId, accessToken, stagingToken, }: GetTransactionParams): NetworkCallDescriptor;
|
|
21
|
+
export declare function getTransaction(params: GetTransactionParams): Promise<TransactionDataObject>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=transactions.api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactions.api.d.ts","sourceRoot":"","sources":["../../../src/transactions/transactions.api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAChG,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF,UAAU,qBAAsB,SAAQ,uBAAuB;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,oBAAqB,SAAQ,sBAAsB;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,0BAA0B;IAClC,YAAY,EAAE,qBAAqB,EAAE,CAAC;IACtC,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED,KAAK,yBAAyB,GAAG,qBAAqB,GAAG,iBAAiB,CAAC;AAI3E,wBAAgB,0BAA0B,CAAC,EACzC,aAAa,EACb,IAAI,EACJ,MAAM,EACN,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,EACX,IAAI,EACJ,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,YAAY,GACb,EAAE,yBAAyB,GAAG,qBAAqB,CAqCnD;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,0BAA0B,CAAC,CAYrC;AAED,wBAAgB,yBAAyB,CAAC,EACxC,aAAa,EACb,WAAW,EACX,YAAY,GACb,EAAE,oBAAoB,GAAG,qBAAqB,CAW9C;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,oBAAoB,GAC3B,OAAO,CAAC,qBAAqB,CAAC,CAQhC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Transaction, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings } from './transactions.types';
|
|
2
|
+
import type { OperationSettings } from '@validation/operation-settings-validation';
|
|
3
|
+
/**
|
|
4
|
+
* This is the common parameter format all the transaction functions expect
|
|
5
|
+
* as their only parameter. It consists of a `transactionSettings` object and an
|
|
6
|
+
* optional `operationSettings` object. The `transactionSettings` object's
|
|
7
|
+
* properties will be different depending on the function being called. Read the
|
|
8
|
+
* docs of each transaction related function to see the expected properties of
|
|
9
|
+
* the `transactionSettings` object.
|
|
10
|
+
*/
|
|
11
|
+
export interface TransactionParams<T> {
|
|
12
|
+
/**
|
|
13
|
+
* An object with the parameters relevant to different transaction operations.
|
|
14
|
+
* Read the documentation of each function to see the expected properties of
|
|
15
|
+
* this object.
|
|
16
|
+
*/
|
|
17
|
+
transactionSettings?: T;
|
|
18
|
+
operationSettings?: OperationSettings;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Fetches the list of transactions for the current user with optional filtering.
|
|
22
|
+
* @param getTransactionsParams - An object containing:
|
|
23
|
+
* - `transactionSettings`: An object with optional filtering parameters such as
|
|
24
|
+
* `bankAccountId`, `iban`, `status`, `side`, `operationType`, date ranges, and
|
|
25
|
+
* attachment filters.
|
|
26
|
+
* - `operationSettings`: An object with operation-level settings such as
|
|
27
|
+
* `proxyRequestFunction` (preferred over using the access token flow),
|
|
28
|
+
* `accessToken`, `stagingToken`, `mfaPreference`, and other optional
|
|
29
|
+
* parameters. This function also allows managing pagination by passing the
|
|
30
|
+
* `paginationSettings` property under `operationSettings`, which accepts an
|
|
31
|
+
* object with the page and itemsPerPage properties. See {@link TransactionParams}.
|
|
32
|
+
* @returns A promise that resolves to an array of transactions and a `meta`
|
|
33
|
+
* object containing pagination state.
|
|
34
|
+
* @throws `InvalidParametersError` If any of the values provided under
|
|
35
|
+
* operationSettings or transactionSettings is invalid.
|
|
36
|
+
* @throws `AuthenticationError` If both the `proxyRequestFunction` and
|
|
37
|
+
* `accessToken` are invalid or missing within `operationSettings`.
|
|
38
|
+
* @throws `EmbedApiError` If the API request fails or returns an error.
|
|
39
|
+
*/
|
|
40
|
+
export declare function getTransactions(getTransactionsParams?: TransactionParams<GetTransactionsSettings>): Promise<GetTransactionsResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Fetches a single transaction of the current user by ID.
|
|
43
|
+
* @param getTransactionParams - An object containing:
|
|
44
|
+
* - `transactionSettings`: An object with the `transactionId` property (string).
|
|
45
|
+
* - `operationSettings`: An object with operation-level settings such as
|
|
46
|
+
* `proxyRequestFunction` (preferred over using the access token flow),
|
|
47
|
+
* `accessToken`, `stagingToken`, `mfaPreference`, and other optional parameters.
|
|
48
|
+
* See {@link TransactionParams}.
|
|
49
|
+
* @returns A promise that resolves to a transaction.
|
|
50
|
+
* @throws `InvalidParametersError` If the `transactionId` parameter is not a string or is missing.
|
|
51
|
+
* @throws `AuthenticationError` If both the `proxyRequestFunction` and `accessToken` are invalid or missing within
|
|
52
|
+
* `operationSettings`.
|
|
53
|
+
* @throws `EmbedApiError` If the API request fails or returns an error.
|
|
54
|
+
*/
|
|
55
|
+
export declare function getTransaction({ transactionSettings, operationSettings, }: TransactionParams<GetTransactionSettings>): Promise<Transaction>;
|
|
56
|
+
//# sourceMappingURL=transactions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../../src/transactions/transactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EAEX,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAO9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAOnF;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,eAAe,CACnC,qBAAqB,CAAC,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,GACjE,OAAO,CAAC,uBAAuB,CAAC,CAyClC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CA0BlE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getTransactions, getTransaction } from './transactions';
|
|
2
|
+
declare const transactions: {
|
|
3
|
+
getTransactions: typeof getTransactions;
|
|
4
|
+
getTransaction: typeof getTransaction;
|
|
5
|
+
};
|
|
6
|
+
export { transactions };
|
|
7
|
+
export type { Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, } from './transactions.types';
|
|
8
|
+
//# sourceMappingURL=transactions.public-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactions.public-api.d.ts","sourceRoot":"","sources":["../../../src/transactions/transactions.public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEjE,QAAA,MAAM,YAAY;;;CAGjB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,YAAY,EACV,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Transaction, type TransactionDataObject } from './transactions.types';
|
|
2
|
+
/**
|
|
3
|
+
* Serializes raw transaction data from the API into a clean Transaction object.
|
|
4
|
+
* This function converts snake_case properties to camelCase, transforms date strings
|
|
5
|
+
* to Date objects, and handles optional transfer details.
|
|
6
|
+
*
|
|
7
|
+
* @param transactionData - Raw transaction data object from the API
|
|
8
|
+
* @returns Serialized transaction object with camelCase properties and Date objects
|
|
9
|
+
*/
|
|
10
|
+
export declare function serializeTransaction(transactionData: TransactionDataObject): Transaction;
|
|
11
|
+
//# sourceMappingURL=transactions.serializer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactions.serializer.d.ts","sourceRoot":"","sources":["../../../src/transactions/transactions.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC3B,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,qBAAqB,GACrC,WAAW,CAkDb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactions.test.d.ts","sourceRoot":"","sources":["../../../src/transactions/transactions.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import type { PaginationResponseDataObject } from '@common/api-pagination/api-pagination.types';
|
|
2
|
+
import type { TRANSACTION_STATUSES } from '@common/constants';
|
|
3
|
+
/**
|
|
4
|
+
* Raw transaction data object as received from the Qonto API.
|
|
5
|
+
* This interface represents the exact structure returned by the `/v2/transactions` endpoints.
|
|
6
|
+
*/
|
|
7
|
+
export interface TransactionDataObject {
|
|
8
|
+
transaction_id: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
amount_cents: number;
|
|
11
|
+
settled_balance: number;
|
|
12
|
+
settled_balance_cents: number;
|
|
13
|
+
attachment_ids: string[];
|
|
14
|
+
local_amount: number;
|
|
15
|
+
local_amount_cents: number;
|
|
16
|
+
side: 'debit' | 'credit';
|
|
17
|
+
operation_type: string;
|
|
18
|
+
currency: string;
|
|
19
|
+
local_currency: string;
|
|
20
|
+
label: string;
|
|
21
|
+
settled_at: string;
|
|
22
|
+
emitted_at: string;
|
|
23
|
+
updated_at: string;
|
|
24
|
+
status: TransactionStatus;
|
|
25
|
+
note: string;
|
|
26
|
+
reference: string | null;
|
|
27
|
+
vat_amount: number | null;
|
|
28
|
+
vat_amount_cents: number | null;
|
|
29
|
+
vat_rate: number | null;
|
|
30
|
+
initiator_id: string;
|
|
31
|
+
label_ids: string[];
|
|
32
|
+
attachment_lost: boolean;
|
|
33
|
+
attachment_required: boolean;
|
|
34
|
+
card_last_digits: string;
|
|
35
|
+
category: string;
|
|
36
|
+
cashflow_category: {
|
|
37
|
+
name: string;
|
|
38
|
+
};
|
|
39
|
+
cashflow_subcategory: {
|
|
40
|
+
name: string;
|
|
41
|
+
};
|
|
42
|
+
id: string;
|
|
43
|
+
subject_type: string;
|
|
44
|
+
transfer?: {
|
|
45
|
+
counterparty_account_number: string;
|
|
46
|
+
counterparty_name: string;
|
|
47
|
+
counterparty_bic: string;
|
|
48
|
+
counterparty_iban: string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Object representing a Qonto transaction which can be any movement of money in
|
|
53
|
+
* or out of a bank account, such as transfers, card payments, direct debits,
|
|
54
|
+
* and other types of transactions.
|
|
55
|
+
*/
|
|
56
|
+
export interface Transaction {
|
|
57
|
+
/**
|
|
58
|
+
* Unique identifier for the transaction
|
|
59
|
+
*/
|
|
60
|
+
transactionId: string;
|
|
61
|
+
/**
|
|
62
|
+
* Transaction amount in the currency
|
|
63
|
+
*/
|
|
64
|
+
amount: number;
|
|
65
|
+
/**
|
|
66
|
+
* Transaction amount in cents
|
|
67
|
+
*/
|
|
68
|
+
amountCents: number;
|
|
69
|
+
/**
|
|
70
|
+
* Balance after transaction settlement
|
|
71
|
+
*/
|
|
72
|
+
settledBalance: number;
|
|
73
|
+
/**
|
|
74
|
+
* Balance after settlement in cents
|
|
75
|
+
*/
|
|
76
|
+
settledBalanceCents: number;
|
|
77
|
+
/**
|
|
78
|
+
* List of attachment identifiers associated with this transaction
|
|
79
|
+
*/
|
|
80
|
+
attachmentIds: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Transaction amount in local currency
|
|
83
|
+
*/
|
|
84
|
+
localAmount: number;
|
|
85
|
+
/**
|
|
86
|
+
* Local amount in cents
|
|
87
|
+
*/
|
|
88
|
+
localAmountCents: number;
|
|
89
|
+
/**
|
|
90
|
+
* Transaction direction - 'credit' for incoming, 'debit' for outgoing
|
|
91
|
+
*/
|
|
92
|
+
side: 'debit' | 'credit';
|
|
93
|
+
/**
|
|
94
|
+
* Type of operation (e.g., "transfer", "card_payment", "direct_debit")
|
|
95
|
+
*/
|
|
96
|
+
operationType: string;
|
|
97
|
+
/**
|
|
98
|
+
* Transaction currency (e.g., "EUR", "USD")
|
|
99
|
+
*/
|
|
100
|
+
currency: string;
|
|
101
|
+
/**
|
|
102
|
+
* Local currency of the transaction
|
|
103
|
+
*/
|
|
104
|
+
localCurrency: string;
|
|
105
|
+
/**
|
|
106
|
+
* Transaction description/label
|
|
107
|
+
*/
|
|
108
|
+
label: string;
|
|
109
|
+
/**
|
|
110
|
+
* Date and time when the transaction was settled
|
|
111
|
+
*/
|
|
112
|
+
settledAt: Date;
|
|
113
|
+
/**
|
|
114
|
+
* Date and time when the transaction was emitted
|
|
115
|
+
*/
|
|
116
|
+
emittedAt: Date;
|
|
117
|
+
/**
|
|
118
|
+
* Date and time when the transaction was last updated
|
|
119
|
+
*/
|
|
120
|
+
updatedAt: Date;
|
|
121
|
+
/**
|
|
122
|
+
* Current status of the transaction
|
|
123
|
+
*/
|
|
124
|
+
status: TransactionStatus;
|
|
125
|
+
/**
|
|
126
|
+
* Additional notes for the transaction
|
|
127
|
+
*/
|
|
128
|
+
note: string;
|
|
129
|
+
/**
|
|
130
|
+
* Transaction reference identifier
|
|
131
|
+
*/
|
|
132
|
+
reference: string | null;
|
|
133
|
+
/**
|
|
134
|
+
* VAT amount if applicable
|
|
135
|
+
*/
|
|
136
|
+
vatAmount: number | null;
|
|
137
|
+
/**
|
|
138
|
+
* VAT amount in cents if applicable
|
|
139
|
+
*/
|
|
140
|
+
vatAmountCents: number | null;
|
|
141
|
+
/**
|
|
142
|
+
* VAT rate as a percentage if applicable
|
|
143
|
+
*/
|
|
144
|
+
vatRate: number | null;
|
|
145
|
+
/**
|
|
146
|
+
* ID of the person/entity who initiated the transaction
|
|
147
|
+
*/
|
|
148
|
+
initiatorId: string;
|
|
149
|
+
/**
|
|
150
|
+
* Associated label identifiers for categorization
|
|
151
|
+
*/
|
|
152
|
+
labelIds: string[];
|
|
153
|
+
/**
|
|
154
|
+
* Whether the transaction attachment has been lost
|
|
155
|
+
*/
|
|
156
|
+
attachmentLost: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Whether an attachment is required for this transaction
|
|
159
|
+
*/
|
|
160
|
+
attachmentRequired: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* Last 4 digits of the card used (if card transaction)
|
|
163
|
+
*/
|
|
164
|
+
cardLastDigits: string;
|
|
165
|
+
/**
|
|
166
|
+
* Transaction category
|
|
167
|
+
*/
|
|
168
|
+
category: string;
|
|
169
|
+
/**
|
|
170
|
+
* Cashflow category information
|
|
171
|
+
*/
|
|
172
|
+
cashflowCategory: {
|
|
173
|
+
name: string;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Cashflow subcategory information
|
|
177
|
+
*/
|
|
178
|
+
cashflowSubcategory: {
|
|
179
|
+
name: string;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Alternative unique transaction identifier
|
|
183
|
+
*/
|
|
184
|
+
id: string;
|
|
185
|
+
/**
|
|
186
|
+
* Type of the transaction subject
|
|
187
|
+
*/
|
|
188
|
+
subjectType: string;
|
|
189
|
+
/**
|
|
190
|
+
* Transfer details if this is a transfer transaction
|
|
191
|
+
*/
|
|
192
|
+
transfer?: {
|
|
193
|
+
counterpartyAccountNumber: string;
|
|
194
|
+
counterpartyName: string;
|
|
195
|
+
counterpartyBic: string;
|
|
196
|
+
counterpartyIban: string;
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Response object returned by the getTransactions function.
|
|
201
|
+
*/
|
|
202
|
+
export interface GetTransactionsResponse {
|
|
203
|
+
/** Array of serialized transaction objects */
|
|
204
|
+
transactions: Transaction[];
|
|
205
|
+
/** Pagination metadata containing information about the current page, total pages, etc. */
|
|
206
|
+
meta?: PaginationResponseDataObject;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Settings object for filtering transactions in the getTransactions function.
|
|
210
|
+
* All properties are optional and can be combined for more specific filtering.
|
|
211
|
+
*/
|
|
212
|
+
export interface GetTransactionsSettings {
|
|
213
|
+
/** Filter by specific bank account ID */
|
|
214
|
+
bankAccountId?: string;
|
|
215
|
+
/** Filter by specific IBAN */
|
|
216
|
+
iban?: string;
|
|
217
|
+
/** Filter by transaction status */
|
|
218
|
+
status?: TransactionStatus;
|
|
219
|
+
/** Filter transactions updated after this date (ISO string) */
|
|
220
|
+
updatedAtFrom?: string;
|
|
221
|
+
/** Filter transactions updated before this date (ISO string) */
|
|
222
|
+
updatedAtTo?: string;
|
|
223
|
+
/** Filter transactions emitted after this date (ISO string) */
|
|
224
|
+
emittedAtFrom?: string;
|
|
225
|
+
/** Filter transactions emitted before this date (ISO string) */
|
|
226
|
+
emittedAtTo?: string;
|
|
227
|
+
/** Filter transactions settled after this date (ISO string) */
|
|
228
|
+
settledAtFrom?: string;
|
|
229
|
+
/** Filter transactions settled before this date (ISO string) */
|
|
230
|
+
settledAtTo?: string;
|
|
231
|
+
/** Filter by transaction side: 'credit' for incoming, 'debit' for outgoing */
|
|
232
|
+
side?: 'credit' | 'debit';
|
|
233
|
+
/** Filter by operation type (e.g., 'transfer', 'card_payment', 'direct_debit') */
|
|
234
|
+
operationType?: string;
|
|
235
|
+
/** Filter to include only transactions with or without attachments */
|
|
236
|
+
withAttachments?: boolean;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Settings object for the getTransaction function.
|
|
240
|
+
*/
|
|
241
|
+
export interface GetTransactionSettings {
|
|
242
|
+
/** The unique identifier of the transaction to fetch */
|
|
243
|
+
transactionId: string;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Represents the possible statuses of a transaction.
|
|
247
|
+
*/
|
|
248
|
+
export type TransactionStatus = (typeof TRANSACTION_STATUSES)[keyof typeof TRANSACTION_STATUSES];
|
|
249
|
+
//# sourceMappingURL=transactions.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactions.types.d.ts","sourceRoot":"","sources":["../../../src/transactions/transactions.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAChG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IACzB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,oBAAoB,EAAE;QACpB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE;QACT,2BAA2B,EAAE,MAAM,CAAC;QACpC,iBAAiB,EAAE,MAAM,CAAC;QAC1B,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,gBAAgB,EAAE;QAChB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF;;OAEG;IACH,mBAAmB,EAAE;QACnB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT,yBAAyB,EAAE,MAAM,CAAC;QAClC,gBAAgB,EAAE,MAAM,CAAC;QACzB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,8CAA8C;IAC9C,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,2FAA2F;IAC3F,IAAI,CAAC,EAAE,4BAA4B,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,yCAAyC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactions.validation.d.ts","sourceRoot":"","sources":["../../../src/transactions/transactions.validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/E,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,sBAAsB,GAAG,SAAS,GACzC,sBAAsB,CAiBxB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, GetBeneficiariesResponse, Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, VopVerificationResult, VopCheckResult, PaginationState, Locale, BankAccount, ACCOUNT_STATUS, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction } from './types.public-api';
|
|
2
|
+
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, };
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,MAAM,EACN,WAAW,EACX,cAAc,EACd,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACf,MAAM,oBAAoB,CAAC;AAM5B,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,MAAM,EACN,WAAW,EAEX,cAAc,EACd,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings } from '@cards/cards.types';
|
|
2
|
+
import type { Beneficiary, GetBeneficiariesResponse } from '@beneficiaries/beneficiaries.types';
|
|
3
|
+
import type { SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, CreateSepaTransferResponse, VopVerificationResult, VopCheckResult } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
4
|
+
import type { PaginationState } from '@common/api-pagination/api-pagination.types';
|
|
5
|
+
import type { Locale } from '@common/locale/locale.types';
|
|
6
|
+
import type { BankAccount, ACCOUNT_STATUS } from '@organizations/organizations.types';
|
|
7
|
+
import type { CreatePaymentLinkSettings, Item, PaymentLinkParams } from '@payment-links/payment-links.types';
|
|
8
|
+
import type { Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings } from '@transactions/transactions.types';
|
|
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, CreateSepaTransferResponse, Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, VopVerificationResult, VopCheckResult, PaginationState, Locale, BankAccount, ACCOUNT_STATUS, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
|
|
11
|
+
//# sourceMappingURL=types.public-api.d.ts.map
|
|
@@ -0,0 +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,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"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../styles/styles.css';
|
|
3
|
+
export declare class QontoAmountField extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
locale: string;
|
|
11
|
+
private _value;
|
|
12
|
+
get value(): number;
|
|
13
|
+
set value(val: number | string);
|
|
14
|
+
/**
|
|
15
|
+
* Whether the amount field is in an error state
|
|
16
|
+
*/
|
|
17
|
+
error: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Error message to display below the amount field
|
|
20
|
+
*/
|
|
21
|
+
errorMessage: string;
|
|
22
|
+
private displayValue;
|
|
23
|
+
private isFocused;
|
|
24
|
+
private decimalPlaces;
|
|
25
|
+
private get hasValue();
|
|
26
|
+
/**
|
|
27
|
+
* Computed property that returns true if error styles should be shown
|
|
28
|
+
* (either error is explicitly true or errorMessage is provided)
|
|
29
|
+
*/
|
|
30
|
+
private get hasError();
|
|
31
|
+
connectedCallback(): void;
|
|
32
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
33
|
+
private updateDisplayValue;
|
|
34
|
+
private showRawValueForEditing;
|
|
35
|
+
private handleFocus;
|
|
36
|
+
private handleBlur;
|
|
37
|
+
private handleInput;
|
|
38
|
+
private handleChange;
|
|
39
|
+
render(): import("lit").TemplateResult<1>;
|
|
40
|
+
}
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
'qonto-amount-field': QontoAmountField;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=qonto-amount-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-amount-field.d.ts","sourceRoot":"","sources":["../../../../../src/ui/customizable-components/amount-field/qonto-amount-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,OAAO,sBAAsB,CAAC;AAE9B,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAA0B;IAGvC,EAAE,EAAE,MAAM,CAAM;IAGhB,KAAK,EAAE,MAAM,CAAM;IAGnB,QAAQ,EAAE,MAAM,CAAS;IAGzB,WAAW,EAAE,MAAM,CAAU;IAG7B,QAAQ,EAAE,OAAO,CAAS;IAG1B,MAAM,EAAE,MAAM,CAAQ;IAItB,OAAO,CAAC,MAAM,CAAa;IAE3B,IACI,KAAK,IAAI,MAAM,CAElB;IAED,IAAI,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAI7B;IAED;;OAEG;IAEH,KAAK,EAAE,OAAO,CAAS;IAEvB;;OAEG;IAEH,YAAY,EAAE,MAAM,CAAM;IAG1B,OAAO,CAAC,YAAY,CAAc;IAGlC,OAAO,CAAC,SAAS,CAAkB;IAEnC,OAAO,CAAC,aAAa,CAAa;IAElC,OAAO,KAAK,QAAQ,GAEnB;IAED;;;OAGG;IACH,OAAO,KAAK,QAAQ,GAEnB;IAED,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IAK9B,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,WAAW;IAgBnB,OAAO,CAAC,YAAY;IAepB,MAAM;CAqCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,gBAAgB,CAAC;KACxC;CACF"}
|
package/dist/server/ui/customizable-components/amount-field/qonto-amount-field.styles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-amount-field.styles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/customizable-components/amount-field/qonto-amount-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yBAiLlC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formats a numeric amount with locale-specific formatting
|
|
3
|
+
* @param value - The numeric value to format
|
|
4
|
+
* @param locale - The locale to use for formatting (default: 'en-US')
|
|
5
|
+
* @param decimalPlaces - Number of decimal places to display (default: 2)
|
|
6
|
+
* @returns Formatted string representation of the amount
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* formatAmount(1234.56, 'en', 2) // "1,234.56"
|
|
10
|
+
* formatAmount(1234.56, 'fr', 2) // "1 234,56"
|
|
11
|
+
* formatAmount(1234.5, 'en', 2) // "1,234.50"
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatAmount(value: number, locale?: string, decimalPlaces?: number): string;
|
|
14
|
+
/**
|
|
15
|
+
* Parses a string input to a numeric value
|
|
16
|
+
* Handles various input formats including:
|
|
17
|
+
* - Comma and period separators
|
|
18
|
+
* - Negative numbers
|
|
19
|
+
* - Empty strings
|
|
20
|
+
*
|
|
21
|
+
* @param input - The string to parse
|
|
22
|
+
* @returns The parsed numeric value, or 0 if input is invalid
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* parseAmount("1,234.56") // 1234.56
|
|
26
|
+
* parseAmount("1.234,56") // 1234.56
|
|
27
|
+
* parseAmount("-100") // -100
|
|
28
|
+
* parseAmount("") // 0
|
|
29
|
+
* parseAmount("abc") // 0
|
|
30
|
+
*/
|
|
31
|
+
export declare function parseAmount(input: string): number;
|
|
32
|
+
//# sourceMappingURL=qonto-amount-field.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-amount-field.utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/customizable-components/amount-field/qonto-amount-field.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,MAAM,EACb,MAAM,GAAE,MAAa,EACrB,aAAa,GAAE,MAAU,GACxB,MAAM,CAcR;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAqCjD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../styles/styles.css';
|
|
3
|
+
export declare const BADGE_LEVELS: {
|
|
4
|
+
ERROR: string;
|
|
5
|
+
INACTIVE: string;
|
|
6
|
+
IN_PROGRESS: string;
|
|
7
|
+
VALIDATED: string;
|
|
8
|
+
WAITING: string;
|
|
9
|
+
WARNING: string;
|
|
10
|
+
DECLINED: string;
|
|
11
|
+
};
|
|
12
|
+
export type Level = (typeof BADGE_LEVELS)[keyof typeof BADGE_LEVELS];
|
|
13
|
+
export declare class QontoBadgeStatus extends LitElement {
|
|
14
|
+
static styles: import("lit").CSSResult;
|
|
15
|
+
level: Level;
|
|
16
|
+
render(): import("lit").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=qonto-badge-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-badge-status.d.ts","sourceRoot":"","sources":["../../../../../src/ui/customizable-components/badge-status/qonto-badge-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,sBAAsB,CAAC;AAS9B,eAAO,MAAM,YAAY;;;;;;;;CAQxB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAYrE,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAA0B;IAGvC,KAAK,EAAE,KAAK,CAAa;IAEzB,MAAM;CAMP"}
|
package/dist/server/ui/customizable-components/badge-status/qonto-badge-status.styles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-badge-status.styles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/customizable-components/badge-status/qonto-badge-status.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yBAiIlC,CAAC"}
|