@yuno-payments/dashboard-api-mfe 2.4.0 → 2.7.0
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/build/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +10 -0
- package/build/api/api.d.ts +739 -0
- package/build/api/api.singleton.d.ts +10 -0
- package/build/api/api.singleton.test.d.ts +1 -0
- package/build/api/api.test.d.ts +1 -0
- package/build/api/api.types.d.ts +231 -0
- package/build/api/index.d.ts +3 -0
- package/build/api-provider.d.ts +4 -0
- package/build/api-provider.test.d.ts +1 -0
- package/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +46 -37
- package/build/cjs/types/msw/handlers/api-logs.d.ts +1 -0
- package/build/cjs/types/msw/handlers/webhooks.d.ts +1 -0
- package/build/cjs/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +2 -0
- package/build/cjs/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +2 -0
- package/build/cjs/types/mutations/audit/audit-api.mutation.d.ts +4 -0
- package/build/cjs/types/mutations/audit/audit-subscriptions.mutation.d.ts +41 -0
- package/build/cjs/types/mutations/audit/index.d.ts +1 -1
- package/build/cjs/types/mutations/concierge/concierge.mutation.d.ts +6 -8
- package/build/cjs/types/mutations/index.d.ts +1 -1
- package/build/cjs/types/mutations/organization-settings/index.d.ts +1 -0
- package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
- package/build/cjs/types/mutations/users/users.mutation.d.ts +4 -0
- package/build/cjs/types/queries/api-logs/api-logs-v3.query.d.ts +9 -0
- package/build/cjs/types/queries/api-logs/index.d.ts +1 -0
- package/build/cjs/types/queries/audit/audit-subscriptions.query.d.ts +14 -0
- package/build/cjs/types/queries/audit/audit-v3.query.d.ts +9 -0
- package/build/cjs/types/queries/audit/audit.query.d.ts +8 -9
- package/build/cjs/types/queries/audit/index.d.ts +2 -1
- package/build/cjs/types/queries/concierge/concierge.query.d.ts +5 -5
- package/build/cjs/types/queries/index.d.ts +2 -1
- package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +10 -1
- package/build/cjs/types/queries/users/users.query.d.ts +1 -0
- package/build/cjs/types/queries/webhooks/index.d.ts +1 -0
- package/build/cjs/types/queries/webhooks/webhook-timeline.query.d.ts +9 -0
- package/build/cjs/types/types/audit/audit.d.ts +152 -8
- package/build/cjs/types/types/concierge/concierge-alerts.d.ts +42 -0
- package/build/cjs/types/types/concierge/index.d.ts +1 -2
- package/build/cjs/types/types/index.d.ts +0 -1
- package/build/cjs/types/types/recipients/recipients.d.ts +0 -1
- package/build/common/config.d.ts +13 -0
- package/build/common/config.test.d.ts +0 -0
- package/build/constants/errors-code.constant.d.ts +5 -0
- package/build/constants/index.d.ts +1 -0
- package/build/esm/index.js +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +46 -37
- package/build/esm/types/msw/handlers/api-logs.d.ts +1 -0
- package/build/esm/types/msw/handlers/webhooks.d.ts +1 -0
- package/build/esm/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +2 -0
- package/build/esm/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +2 -0
- package/build/esm/types/mutations/audit/audit-api.mutation.d.ts +4 -0
- package/build/esm/types/mutations/audit/audit-subscriptions.mutation.d.ts +41 -0
- package/build/esm/types/mutations/audit/index.d.ts +1 -1
- package/build/esm/types/mutations/concierge/concierge.mutation.d.ts +6 -8
- package/build/esm/types/mutations/index.d.ts +1 -1
- package/build/esm/types/mutations/organization-settings/index.d.ts +1 -0
- package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
- package/build/esm/types/mutations/users/users.mutation.d.ts +4 -0
- package/build/esm/types/queries/api-logs/api-logs-v3.query.d.ts +9 -0
- package/build/esm/types/queries/api-logs/index.d.ts +1 -0
- package/build/esm/types/queries/audit/audit-subscriptions.query.d.ts +14 -0
- package/build/esm/types/queries/audit/audit-v3.query.d.ts +9 -0
- package/build/esm/types/queries/audit/audit.query.d.ts +8 -9
- package/build/esm/types/queries/audit/index.d.ts +2 -1
- package/build/esm/types/queries/concierge/concierge.query.d.ts +5 -5
- package/build/esm/types/queries/index.d.ts +2 -1
- package/build/esm/types/queries/mfa/organization-settings.query.d.ts +10 -1
- package/build/esm/types/queries/users/users.query.d.ts +1 -0
- package/build/esm/types/queries/webhooks/index.d.ts +1 -0
- package/build/esm/types/queries/webhooks/webhook-timeline.query.d.ts +9 -0
- package/build/esm/types/types/audit/audit.d.ts +152 -8
- package/build/esm/types/types/concierge/concierge-alerts.d.ts +42 -0
- package/build/esm/types/types/concierge/index.d.ts +1 -2
- package/build/esm/types/types/index.d.ts +0 -1
- package/build/esm/types/types/recipients/recipients.d.ts +0 -1
- package/build/index.d.ts +332 -268
- package/build/lib/http-client/__tests__/http-client.test.d.ts +1 -0
- package/build/lib/http-client/api.config.d.ts +2 -0
- package/build/lib/http-client/axios.d.ts +19 -0
- package/build/lib/http-client/http-client.d.ts +175 -0
- package/build/lib/http-client/index.d.ts +2 -0
- package/build/lib/session-expired/emit-expired.d.ts +4 -0
- package/build/lib/session-expired/emit-expired.test.d.ts +1 -0
- package/build/lib/session-expired/index.d.ts +1 -0
- package/build/msw/browser.d.ts +1 -0
- package/build/msw/handlers/accounts.d.ts +1 -0
- package/build/msw/handlers/field-visibility.d.ts +1 -0
- package/build/msw/handlers/index.d.ts +1 -0
- package/build/msw/handlers/insights.d.ts +1 -0
- package/build/msw/handlers/installments.d.ts +1 -0
- package/build/msw/handlers/mfa.d.ts +1 -0
- package/build/msw/handlers/organizations.d.ts +1 -0
- package/build/msw/handlers/payments.d.ts +1 -0
- package/build/msw/handlers/recipients.d.ts +1 -0
- package/build/msw/handlers/reconciliation-insights.d.ts +1 -0
- package/build/msw/index.d.ts +1 -0
- package/build/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +14 -0
- package/build/msw/mocks/insights/conversion-rate/overview.mock.d.ts +34 -0
- package/build/msw/mocks/insights/overview/overview-metrics.mock.d.ts +9 -0
- package/build/msw/mocks/insights/overview/overview.mock.d.ts +139 -0
- package/build/msw/mocks/installments/installments.mock.d.ts +8 -0
- package/build/msw/mocks/payments/payments.mock.d.ts +92 -0
- package/build/msw/mocks/payments/transaction-details.mock.d.ts +579 -0
- package/build/msw/mocks/recipients/recipients.mock.d.ts +775 -0
- package/build/msw/mocks/reconciliation-insights/index.d.ts +23 -0
- package/build/mutations/S3Client/S3Client.mutation.d.ts +6 -0
- package/build/mutations/S3Client/index.d.ts +1 -0
- package/build/mutations/accounts/accounts.mutation.d.ts +59 -0
- package/build/mutations/accounts/accounts.mutation.test.d.ts +1 -0
- package/build/mutations/accounts/delete-mutation.d.ts +20 -0
- package/build/mutations/accounts/index.d.ts +2 -0
- package/build/mutations/accounts/types.d.ts +25 -0
- package/build/mutations/ai/ai.mutation.d.ts +28 -0
- package/build/mutations/ai/ai.mutation.test.d.ts +1 -0
- package/build/mutations/ai/index.d.ts +1 -0
- package/build/mutations/audit/audit-api.mutation.d.ts +13 -0
- package/build/mutations/audit/audit-api.mutation.test.d.ts +1 -0
- package/build/mutations/audit/audit.mutation.d.ts +6 -0
- package/build/mutations/audit/index.d.ts +3 -0
- package/build/mutations/audit/settings.mutation.test.d.ts +1 -0
- package/build/mutations/batch-refunds/batch-refunds.mutation.d.ts +32 -0
- package/build/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +1 -0
- package/build/mutations/batch-refunds/index.d.ts +1 -0
- package/build/mutations/certificates/certificates.mutation.d.ts +31 -0
- package/build/mutations/certificates/index.d.ts +1 -0
- package/build/mutations/chartgpt/chartgpt.mutation.d.ts +70 -0
- package/build/mutations/chartgpt/chartgpt.mutation.test.d.ts +1 -0
- package/build/mutations/chartgpt/index.d.ts +1 -0
- package/build/mutations/checkouts/checkouts.mutation.d.ts +5 -0
- package/build/mutations/checkouts/checkouts.mutation.test.d.ts +1 -0
- package/build/mutations/checkouts/index.d.ts +1 -0
- package/build/mutations/concierge/concierge.mutation.d.ts +10 -0
- package/build/mutations/concierge/index.d.ts +1 -0
- package/build/mutations/connections/conections.mutation.test.d.ts +1 -0
- package/build/mutations/connections/connections.mutation.d.ts +40 -0
- package/build/mutations/connections/index.d.ts +1 -0
- package/build/mutations/developers/developers.mutation.d.ts +31 -0
- package/build/mutations/developers/developers.mutation.test.d.ts +1 -0
- package/build/mutations/developers/index.d.ts +2 -0
- package/build/mutations/developers/types.d.ts +5 -0
- package/build/mutations/fraud-screening/fraud-screening.mutation.d.ts +54 -0
- package/build/mutations/fraud-screening/index.d.ts +1 -0
- package/build/mutations/index.d.ts +38 -0
- package/build/mutations/insights/index.d.ts +1 -0
- package/build/mutations/insights/insights.mutation.d.ts +2 -0
- package/build/mutations/installments/index.d.ts +1 -0
- package/build/mutations/installments/installments.mutation.d.ts +17 -0
- package/build/mutations/installments/installments.mutation.test.d.ts +1 -0
- package/build/mutations/integration-requests/index.d.ts +1 -0
- package/build/mutations/integration-requests/integration-requests.mutation.d.ts +12 -0
- package/build/mutations/integration-requests/integration-requests.mutation.test.d.ts +1 -0
- package/build/mutations/multi-factor-authentication/index.d.ts +1 -0
- package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +12 -0
- package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.test.d.ts +1 -0
- package/build/mutations/notifications/index.d.ts +1 -0
- package/build/mutations/notifications/notifications.mutation.d.ts +5 -0
- package/build/mutations/organization-config/index.d.ts +1 -0
- package/build/mutations/organization-config/organization-config.mutation.d.ts +6 -0
- package/build/mutations/organizations/index.d.ts +1 -0
- package/build/mutations/organizations/organizations.mutation.d.ts +1 -0
- package/build/mutations/organizations/organizations.mutation.test.d.ts +1 -0
- package/build/mutations/payment-links/index.d.ts +1 -0
- package/build/mutations/payment-links/payment-links.mutation.d.ts +21 -0
- package/build/mutations/payment-links/payment-links.mutation.test.d.ts +1 -0
- package/build/mutations/payments/index.d.ts +1 -0
- package/build/mutations/payments/payments.mutation.d.ts +21 -0
- package/build/mutations/payments/payments.mutation.test.d.ts +1 -0
- package/build/mutations/playground/index.d.ts +1 -0
- package/build/mutations/playground/playground.mutation.d.ts +7 -0
- package/build/mutations/playground/playground.mutation.test.d.ts +1 -0
- package/build/mutations/recipients/index.d.ts +1 -0
- package/build/mutations/recipients/recipients.mutation.d.ts +18 -0
- package/build/mutations/reconciliations/index.d.ts +2 -0
- package/build/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +5 -0
- package/build/mutations/reconciliations/reconciliations-alerts.mutation.test.d.ts +1 -0
- package/build/mutations/reconciliations/reconciliations.mutation.d.ts +4 -0
- package/build/mutations/reports/index.d.ts +1 -0
- package/build/mutations/reports/reports.mutation.d.ts +10 -0
- package/build/mutations/reports/reports.mutation.test.d.ts +1 -0
- package/build/mutations/routing-monitors/index.d.ts +1 -0
- package/build/mutations/routing-monitors/routing-monitors.mutation.d.ts +4 -0
- package/build/mutations/saml-config/index.d.ts +1 -0
- package/build/mutations/saml-config/saml-config.query.d.ts +4 -0
- package/build/mutations/saml-config/saml-config.query.test.d.ts +1 -0
- package/build/mutations/scheduled-reports/index.d.ts +1 -0
- package/build/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +8 -0
- package/build/mutations/security/index.d.ts +1 -0
- package/build/mutations/security/security.mutation.d.ts +7 -0
- package/build/mutations/security/security.mutation.test.d.ts +1 -0
- package/build/mutations/settings/index.d.ts +2 -0
- package/build/mutations/settings/settings.mutation.d.ts +17 -0
- package/build/mutations/settings/settings.mutation.test.d.ts +1 -0
- package/build/mutations/settings/use-table-onboarding.d.ts +6 -0
- package/build/mutations/smart-routing/index.d.ts +1 -0
- package/build/mutations/smart-routing/smart-routing.mutation.d.ts +90 -0
- package/build/mutations/smart-routing/smart-routing.mutation.test.d.ts +1 -0
- package/build/mutations/subscriptions/index.d.ts +1 -0
- package/build/mutations/subscriptions/subscriptions.mutation.d.ts +19 -0
- package/build/mutations/subscriptions/subscriptions.mutation.test.d.ts +1 -0
- package/build/mutations/team/index.d.ts +1 -0
- package/build/mutations/team/team.mutaion.test.d.ts +1 -0
- package/build/mutations/team/team.mutation.d.ts +12 -0
- package/build/mutations/template-reporting/index.d.ts +1 -0
- package/build/mutations/template-reporting/template-reporting.mutation.d.ts +29 -0
- package/build/mutations/template-reporting/template-reporting.mutation.test.d.ts +1 -0
- package/build/mutations/users/index.d.ts +1 -0
- package/build/mutations/users/users.mutation.d.ts +12 -0
- package/build/mutations/users/users.mutation.test.d.ts +1 -0
- package/build/mutations/velocity-rules/index.d.ts +1 -0
- package/build/mutations/velocity-rules/velocity-rules.mutation.d.ts +5 -0
- package/build/queries/accounts/accounts.query.by-organization.test.d.ts +1 -0
- package/build/queries/accounts/accounts.query.d.ts +33 -0
- package/build/queries/accounts/accounts.query.test.d.ts +1 -0
- package/build/queries/accounts/index.d.ts +2 -0
- package/build/queries/accounts/types.d.ts +21 -0
- package/build/queries/audit/audit.query.d.ts +49 -0
- package/build/queries/audit/audit.query.test.d.ts +1 -0
- package/build/queries/audit/index.d.ts +2 -0
- package/build/queries/batch-refunds/batch-refunds.query.d.ts +3 -0
- package/build/queries/batch-refunds/index.d.ts +1 -0
- package/build/queries/certificates/certificates.query.d.ts +6 -0
- package/build/queries/certificates/index.d.ts +1 -0
- package/build/queries/chartgpt/chartgpt.query.d.ts +65 -0
- package/build/queries/chartgpt/chartgpt.query.test.d.ts +1 -0
- package/build/queries/chartgpt/index.d.ts +1 -0
- package/build/queries/checkouts/checkouts.query.d.ts +116 -0
- package/build/queries/checkouts/checkouts.query.test.d.ts +1 -0
- package/build/queries/checkouts/index.d.ts +2 -0
- package/build/queries/checkouts/styling/styling.query.d.ts +11 -0
- package/build/queries/checkouts/styling/styling.query.test.d.ts +1 -0
- package/build/queries/concierge/concierge.query.d.ts +6 -0
- package/build/queries/concierge/index.d.ts +1 -0
- package/build/queries/connections/connections.query.d.ts +3 -0
- package/build/queries/connections/connections.query.test.d.ts +1 -0
- package/build/queries/connections/index.d.ts +1 -0
- package/build/queries/data-report/data-report.query.d.ts +16 -0
- package/build/queries/data-report/data-report.query.test.d.ts +1 -0
- package/build/queries/data-report/fraud/fraud.query.d.ts +17 -0
- package/build/queries/data-report/fraud/fraud.query.test.d.ts +1 -0
- package/build/queries/data-report/index.d.ts +2 -0
- package/build/queries/developers/developers.query.d.ts +16 -0
- package/build/queries/developers/developers.query.test.d.ts +1 -0
- package/build/queries/developers/index.d.ts +1 -0
- package/build/queries/feature-flags/datadog-hooks.d.ts +34 -0
- package/build/queries/feature-flags/datadog-hooks.test.d.ts +1 -0
- package/build/queries/feature-flags/feature-flags.test.d.ts +1 -0
- package/build/queries/feature-flags/index.d.ts +17 -0
- package/build/queries/feature-flags/index.test.d.ts +11 -0
- package/build/queries/feature-flags/legacy-hooks.d.ts +8 -0
- package/build/queries/feature-flags/parity.test.d.ts +8 -0
- package/build/queries/field-visibility/field-visibility.query.d.ts +8 -0
- package/build/queries/field-visibility/field-visibility.query.test.d.ts +1 -0
- package/build/queries/field-visibility/index.d.ts +1 -0
- package/build/queries/firebase/firebase.query.d.ts +8 -0
- package/build/queries/firebase/firebase.query.test.d.ts +1 -0
- package/build/queries/firebase/index.d.ts +1 -0
- package/build/queries/fraud-screening/fraud-screening.query.d.ts +11 -0
- package/build/queries/fraud-screening/fraud-screening.query.test.d.ts +1 -0
- package/build/queries/fraud-screening/index.d.ts +1 -0
- package/build/queries/index.d.ts +39 -0
- package/build/queries/installments/index.d.ts +1 -0
- package/build/queries/installments/installments.query.d.ts +4 -0
- package/build/queries/installments/installments.query.test.d.ts +1 -0
- package/build/queries/mfa/index.d.ts +1 -0
- package/build/queries/mfa/organization-settings.query.d.ts +5 -0
- package/build/queries/mfa/organization-settings.query.test.d.ts +1 -0
- package/build/queries/network-tokens/index.d.ts +1 -0
- package/build/queries/network-tokens/network-tokens.query.d.ts +4 -0
- package/build/queries/notifications/index.d.ts +1 -0
- package/build/queries/notifications/notifications.query.d.ts +12 -0
- package/build/queries/notifications/notifications.query.test.d.ts +1 -0
- package/build/queries/onboarding/index.d.ts +1 -0
- package/build/queries/onboarding/onboarding.query.d.ts +7 -0
- package/build/queries/onboarding/onboarding.query.test.d.ts +1 -0
- package/build/queries/organization-config/index.d.ts +1 -0
- package/build/queries/organization-config/organization-config.query.d.ts +4 -0
- package/build/queries/organizations/index.d.ts +1 -0
- package/build/queries/organizations/organizations.query.d.ts +29 -0
- package/build/queries/organizations/organizations.query.test.d.ts +1 -0
- package/build/queries/payment-links/index.d.ts +1 -0
- package/build/queries/payment-links/payment-links.query.d.ts +6 -0
- package/build/queries/payment-links/payment-links.query.test.d.ts +1 -0
- package/build/queries/payments/index.d.ts +2 -0
- package/build/queries/payments/payments.query.d.ts +36 -0
- package/build/queries/payments/payments.query.test.d.ts +1 -0
- package/build/queries/payments/payouts-timeline.query.test.d.ts +1 -0
- package/build/queries/payments/payouts.query.d.ts +7 -0
- package/build/queries/payments/payouts.query.test.d.ts +1 -0
- package/build/queries/recipients/index.d.ts +1 -0
- package/build/queries/recipients/recipients.query.d.ts +14 -0
- package/build/queries/reconciliations/index.d.ts +7 -0
- package/build/queries/reconciliations/reconciliation-insights.query.d.ts +27 -0
- package/build/queries/reconciliations/reconciliation-insights.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-advancements.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-advancements.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-agenda.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-agenda.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-alerts.query.d.ts +8 -0
- package/build/queries/reconciliations/reconciliations-alerts.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-fees.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-fees.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-sales.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-sales.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations.query.d.ts +11 -0
- package/build/queries/reconciliations/reconciliations.query.test.d.ts +1 -0
- package/build/queries/reports/index.d.ts +1 -0
- package/build/queries/reports/reports.query.d.ts +13 -0
- package/build/queries/reports/reports.query.test.d.ts +1 -0
- package/build/queries/routing-monitors/index.d.ts +1 -0
- package/build/queries/routing-monitors/routing-monitors.query.d.ts +4 -0
- package/build/queries/saml-config/index.d.ts +1 -0
- package/build/queries/saml-config/saml-config.query.d.ts +4 -0
- package/build/queries/saml-config/saml-config.query.test.d.ts +1 -0
- package/build/queries/security/index.d.ts +1 -0
- package/build/queries/security/security.query.d.ts +23 -0
- package/build/queries/security/security.query.test.d.ts +1 -0
- package/build/queries/smart-recovery/index.d.ts +1 -0
- package/build/queries/smart-recovery/smart-recovery-overview.query.d.ts +9 -0
- package/build/queries/smart-recovery/smart-recovery-overview.query.test.d.ts +1 -0
- package/build/queries/smart-routing/index.d.ts +1 -0
- package/build/queries/smart-routing/smart-routing.query.d.ts +28 -0
- package/build/queries/smart-routing/smart-routing.query.test.d.ts +1 -0
- package/build/queries/subscriptions/index.d.ts +1 -0
- package/build/queries/subscriptions/subscriptions.query.d.ts +3 -0
- package/build/queries/subscriptions/subscriptions.query.test.d.ts +1 -0
- package/build/queries/team/index.d.ts +1 -0
- package/build/queries/team/team.query.d.ts +28 -0
- package/build/queries/team/team.query.test.d.ts +1 -0
- package/build/queries/template-reporting/index.d.ts +1 -0
- package/build/queries/template-reporting/template-reporting.query.d.ts +7 -0
- package/build/queries/template-reporting/template-reporting.query.test.d.ts +1 -0
- package/build/queries/translation/index.d.ts +1 -0
- package/build/queries/translation/translation.query.d.ts +5 -0
- package/build/queries/users/index.d.ts +1 -0
- package/build/queries/users/users.query.d.ts +24 -0
- package/build/queries/users/users.query.test.d.ts +1 -0
- package/build/queries/velocity-rules/index.d.ts +1 -0
- package/build/queries/velocity-rules/velocity-rules.query.d.ts +6 -0
- package/build/set-public-path.d.ts +1 -0
- package/build/store/index.d.ts +3 -0
- package/build/types/accounts/accounts.d.ts +11 -0
- package/build/types/accounts/index.d.ts +1 -0
- package/build/types/ai/ai.d.ts +78 -0
- package/build/types/ai/index.d.ts +1 -0
- package/build/types/allowed-list/allowed-list.d.ts +9 -0
- package/build/types/allowed-list/index.d.ts +1 -0
- package/build/types/audit/audit.d.ts +352 -0
- package/build/types/audit/index.d.ts +1 -0
- package/build/types/batch-refunds/batch-refunds.d.ts +38 -0
- package/build/types/batch-refunds/index.d.ts +1 -0
- package/build/types/certificates/certificates.d.ts +26 -0
- package/build/types/certificates/index.d.ts +1 -0
- package/build/types/chartgpt/feedback.types.d.ts +34 -0
- package/build/types/chartgpt/index.d.ts +1 -0
- package/build/types/checkout/checkout.d.ts +289 -0
- package/build/types/checkout/index.d.ts +1 -0
- package/build/types/checkout/styling/styling.d.ts +177 -0
- package/build/{cjs/types/types → types}/concierge/concierge-access.d.ts +1 -1
- package/build/types/concierge/index.d.ts +2 -0
- package/build/types/connection/connection.d.ts +81 -0
- package/build/types/connection/costs.d.ts +26 -0
- package/build/types/connection/index.d.ts +2 -0
- package/build/types/country/country.d.ts +12 -0
- package/build/types/country/index.d.ts +1 -0
- package/build/types/customized-api-keys/customized-api-keys.d.ts +30 -0
- package/build/types/customized-api-keys/index.d.ts +1 -0
- package/build/types/data-report/conversion-rate.types.d.ts +48 -0
- package/build/types/data-report/data-report.d.ts +70 -0
- package/build/types/data-report/fraud.types.d.ts +166 -0
- package/build/types/data-report/index.d.ts +3 -0
- package/build/types/developer/developer.d.ts +13 -0
- package/build/types/developer/index.d.ts +1 -0
- package/build/types/feature-flags/intex.d.ts +13 -0
- package/build/types/field-visibility/field-visibility.d.ts +6 -0
- package/build/types/field-visibility/index.d.ts +1 -0
- package/build/types/fraud-screening/fraud-screening.d.ts +109 -0
- package/build/types/fraud-screening/index.d.ts +1 -0
- package/build/types/index.d.ts +42 -0
- package/build/types/installments/index.d.ts +1 -0
- package/build/types/installments/installments.d.ts +129 -0
- package/build/types/integration-requests/index.d.ts +1 -0
- package/build/types/integration-requests/integration-request.d.ts +26 -0
- package/build/types/mfa/index.d.ts +1 -0
- package/build/types/mfa/mfa.d.ts +10 -0
- package/build/types/notifications/index.d.ts +1 -0
- package/build/types/notifications/notifications.d.ts +39 -0
- package/build/types/onboarding/index.d.ts +1 -0
- package/build/types/onboarding/onboarding.d.ts +7 -0
- package/build/types/operation-transaction/index.d.ts +1 -0
- package/build/types/operation-transaction/operation-transaction.d.ts +28 -0
- package/build/types/organization/index.d.ts +1 -0
- package/build/types/organization/organization.d.ts +141 -0
- package/build/types/organization-config/index.d.ts +1 -0
- package/build/types/organization-config/organization-config.d.ts +34 -0
- package/build/types/organization-settings/index.d.ts +1 -0
- package/build/types/organization-settings/organization-settings.d.ts +27 -0
- package/build/types/payment/index.d.ts +1 -0
- package/build/types/payment/payment.d.ts +582 -0
- package/build/types/payment-links/index.d.ts +1 -0
- package/build/types/payment-links/payment-links.d.ts +16 -0
- package/build/types/payouts/index.d.ts +1 -0
- package/build/types/payouts/payouts.d.ts +125 -0
- package/build/types/playground/index.d.ts +1 -0
- package/build/types/playground/playground.d.ts +33 -0
- package/build/types/recipients/index.d.ts +3 -0
- package/build/types/recipients/recipients-export.d.ts +52 -0
- package/build/types/recipients/recipients-mutations.d.ts +136 -0
- package/build/types/recipients/recipients.d.ts +242 -0
- package/build/types/reconciliation/index.d.ts +7 -0
- package/build/types/reconciliation/reconciliation-advancements.d.ts +40 -0
- package/build/types/reconciliation/reconciliation-agenda.d.ts +84 -0
- package/build/types/reconciliation/reconciliation-alerts.d.ts +38 -0
- package/build/types/reconciliation/reconciliation-fees.d.ts +45 -0
- package/build/types/reconciliation/reconciliation-insights.d.ts +238 -0
- package/build/types/reconciliation/reconciliation-sales.d.ts +56 -0
- package/build/types/reconciliation/reconciliation.d.ts +349 -0
- package/build/types/reports/index.d.ts +1 -0
- package/build/types/reports/reports.d.ts +155 -0
- package/build/types/routing-monitors/index.d.ts +1 -0
- package/build/types/routing-monitors/routing-monitors.d.ts +35 -0
- package/build/types/s3-client/index.d.ts +1 -0
- package/build/types/s3-client/s3-client.d.ts +19 -0
- package/build/types/saml-config/index.d.ts +1 -0
- package/build/types/saml-config/saml-config.d.ts +28 -0
- package/build/types/smart-recovery/index.d.ts +1 -0
- package/build/types/smart-recovery/smart-recovery-overview.types.d.ts +94 -0
- package/build/types/smart-routing/index.d.ts +1 -0
- package/build/types/smart-routing/smart-routing.d.ts +362 -0
- package/build/types/subscriptions/index.d.ts +1 -0
- package/build/types/subscriptions/subscriptions.d.ts +75 -0
- package/build/types/team/index.d.ts +1 -0
- package/build/types/team/team.d.ts +122 -0
- package/build/types/template-reporting/common.types.d.ts +65 -0
- package/build/types/template-reporting/index.d.ts +55 -0
- package/build/types/template-reporting/schedule.types.d.ts +72 -0
- package/build/types/template-reporting/template.types.d.ts +102 -0
- package/build/types/translation/index.d.ts +1 -0
- package/build/types/translation/translation.d.ts +8 -0
- package/build/types/user/index.d.ts +1 -0
- package/build/types/user/user.d.ts +199 -0
- package/build/types/velocity-rules/index.d.ts +1 -0
- package/build/types/velocity-rules/velocity-rules.d.ts +15 -0
- package/build/types/webhook/index.d.ts +1 -0
- package/build/types/webhook/webhook.d.ts +73 -0
- package/build/utils/datadog-environment.d.ts +33 -0
- package/build/utils/datadog-environment.test.d.ts +1 -0
- package/build/utils/enums.d.ts +19 -0
- package/build/utils/feature-flags-provider.d.ts +21 -0
- package/build/utils/feature-flags-provider.test.d.ts +1 -0
- package/build/utils/handler-error.d.ts +6 -0
- package/build/utils/index.d.ts +5 -0
- package/build/utils/test-utils.d.ts +4 -0
- package/build/utils/use-account-code.d.ts +1 -0
- package/build/utils/use-account-code.test.d.ts +1 -0
- package/build/utils/use-is-testing.d.ts +3 -0
- package/build/utils/use-is-testing.test.d.ts +1 -0
- package/build/utils/use-localstorage.d.ts +2 -0
- package/build/websockets/index.d.ts +1 -0
- package/build/websockets/use-chart-assistant-socket.d.ts +17 -0
- package/build/websockets/use-chart-assistant-socket.test.d.ts +1 -0
- package/build/yuno-dashboard-api-mfe.d.ts +10 -0
- package/package.json +1 -1
- package/build/esm/types/mutations/audit/audit-subscriptions-v2.mutation.d.ts +0 -12
- package/build/esm/types/mutations/domains/domains.mutation.d.ts +0 -41
- package/build/esm/types/mutations/domains/index.d.ts +0 -1
- package/build/esm/types/queries/audit/audit-subscriptions-v2.query.d.ts +0 -4
- package/build/esm/types/queries/domains/domains.query.d.ts +0 -13
- package/build/esm/types/queries/domains/index.d.ts +0 -1
- package/build/esm/types/types/concierge/concierge-access-request.d.ts +0 -36
- package/build/esm/types/types/concierge/concierge-access.d.ts +0 -50
- package/build/esm/types/types/domains/domains.d.ts +0 -77
- package/build/esm/types/types/domains/index.d.ts +0 -1
- /package/build/{cjs/types/mutations → mutations}/audit/audit-subscriptions-v2.mutation.d.ts +0 -0
- /package/build/{cjs/types/mutations → mutations}/domains/domains.mutation.d.ts +0 -0
- /package/build/{cjs/types/mutations → mutations}/domains/index.d.ts +0 -0
- /package/build/{cjs/types/queries → queries}/audit/audit-subscriptions-v2.query.d.ts +0 -0
- /package/build/{cjs/types/queries → queries}/domains/domains.query.d.ts +0 -0
- /package/build/{cjs/types/queries → queries}/domains/index.d.ts +0 -0
- /package/build/{cjs/types/types → types}/concierge/concierge-access-request.d.ts +0 -0
- /package/build/{cjs/types/types → types}/domains/domains.d.ts +0 -0
- /package/build/{cjs/types/types → types}/domains/index.d.ts +0 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
export declare namespace Checkout {
|
|
2
|
+
export interface PaymentMethodsPayload {
|
|
3
|
+
payment_method_type: string;
|
|
4
|
+
is_active: boolean;
|
|
5
|
+
is_archive?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface PaymentMethods {
|
|
8
|
+
payment_method_type: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
is_active: boolean;
|
|
12
|
+
is_archive: boolean;
|
|
13
|
+
icon: string;
|
|
14
|
+
created_at: Date;
|
|
15
|
+
updated_at: Date;
|
|
16
|
+
deleted_at?: Date;
|
|
17
|
+
category: string;
|
|
18
|
+
hint?: string;
|
|
19
|
+
short_name: string;
|
|
20
|
+
order_to_show: number;
|
|
21
|
+
type: string;
|
|
22
|
+
has_enrollment: boolean;
|
|
23
|
+
conditions_quantity: number;
|
|
24
|
+
active_enrollment_type: string;
|
|
25
|
+
}
|
|
26
|
+
export interface CheckoutList {
|
|
27
|
+
account_code: string;
|
|
28
|
+
code: string;
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
is_active: boolean;
|
|
32
|
+
is_archive: boolean;
|
|
33
|
+
organization_code: string;
|
|
34
|
+
root: boolean;
|
|
35
|
+
created_at: Date;
|
|
36
|
+
updated_at: Date;
|
|
37
|
+
deleted_at?: Date;
|
|
38
|
+
payment_methods: PaymentMethods[];
|
|
39
|
+
feature_flags?: {
|
|
40
|
+
custom_required_fields?: boolean;
|
|
41
|
+
custom_logo_icon?: boolean;
|
|
42
|
+
};
|
|
43
|
+
general_settings: GeneralSettings;
|
|
44
|
+
}
|
|
45
|
+
export interface GeneralSettings {
|
|
46
|
+
country_documents: {
|
|
47
|
+
country_code: string;
|
|
48
|
+
documents: string[];
|
|
49
|
+
}[] | null;
|
|
50
|
+
}
|
|
51
|
+
export interface GetNameAndIconArgs {
|
|
52
|
+
paymentMethodType: string;
|
|
53
|
+
type: string;
|
|
54
|
+
}
|
|
55
|
+
export interface GetNameAndIconResponse {
|
|
56
|
+
is_active: boolean;
|
|
57
|
+
icon: string | null;
|
|
58
|
+
name: string | null;
|
|
59
|
+
description: string | null;
|
|
60
|
+
default: {
|
|
61
|
+
icon: string | null;
|
|
62
|
+
name: string | null;
|
|
63
|
+
description: string | null;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export interface GetRequiredFieldsArgs {
|
|
67
|
+
paymentMethodType: string;
|
|
68
|
+
type: string;
|
|
69
|
+
}
|
|
70
|
+
interface Provider {
|
|
71
|
+
provider_id: string;
|
|
72
|
+
icon: string;
|
|
73
|
+
}
|
|
74
|
+
interface RequiredField {
|
|
75
|
+
field_name: string;
|
|
76
|
+
providers: Provider[];
|
|
77
|
+
is_active: boolean;
|
|
78
|
+
current_value?: string;
|
|
79
|
+
options?: string[];
|
|
80
|
+
conditions_to_override?: {
|
|
81
|
+
name: string;
|
|
82
|
+
order: number;
|
|
83
|
+
payment_method_data: {
|
|
84
|
+
name: string | null;
|
|
85
|
+
description: string | null;
|
|
86
|
+
logo: string | null;
|
|
87
|
+
};
|
|
88
|
+
conditions: {
|
|
89
|
+
id: number;
|
|
90
|
+
payment_method_condition_set_id: number;
|
|
91
|
+
condition_type: string;
|
|
92
|
+
values: string[];
|
|
93
|
+
conditional: string;
|
|
94
|
+
metadata_key: string | null;
|
|
95
|
+
additional_field_name: string | null;
|
|
96
|
+
complex_name: string | null;
|
|
97
|
+
complex_index: number | null;
|
|
98
|
+
created_at: string;
|
|
99
|
+
updated_at: string;
|
|
100
|
+
}[];
|
|
101
|
+
}[];
|
|
102
|
+
}
|
|
103
|
+
export interface GetRequiredFieldsResponse {
|
|
104
|
+
payment_method: string;
|
|
105
|
+
is_active: boolean;
|
|
106
|
+
required_fields: RequiredField[];
|
|
107
|
+
}
|
|
108
|
+
export interface CheckoutTemplateResponse {
|
|
109
|
+
account_code: string;
|
|
110
|
+
organization_code: string;
|
|
111
|
+
template: {
|
|
112
|
+
branding: {
|
|
113
|
+
primary: string;
|
|
114
|
+
};
|
|
115
|
+
payment_form: {
|
|
116
|
+
field: {
|
|
117
|
+
name: {
|
|
118
|
+
display: string;
|
|
119
|
+
font_size: number;
|
|
120
|
+
font_color: string;
|
|
121
|
+
font_weight: string;
|
|
122
|
+
};
|
|
123
|
+
style: string;
|
|
124
|
+
font_size: number;
|
|
125
|
+
font_color: string;
|
|
126
|
+
font_weight: string;
|
|
127
|
+
background_color: string;
|
|
128
|
+
placeholder_color: string;
|
|
129
|
+
};
|
|
130
|
+
button: {
|
|
131
|
+
style: string;
|
|
132
|
+
font_size: number;
|
|
133
|
+
font_color: string;
|
|
134
|
+
font_weight: string;
|
|
135
|
+
background_color: string;
|
|
136
|
+
};
|
|
137
|
+
selector: {
|
|
138
|
+
style: string;
|
|
139
|
+
thickness: number;
|
|
140
|
+
border_color: string;
|
|
141
|
+
background_color: string;
|
|
142
|
+
};
|
|
143
|
+
settings: {
|
|
144
|
+
font_size: number;
|
|
145
|
+
font_color: string;
|
|
146
|
+
font_weight: string;
|
|
147
|
+
background_color: string;
|
|
148
|
+
};
|
|
149
|
+
container: {
|
|
150
|
+
edge_color: string;
|
|
151
|
+
fill_color: string;
|
|
152
|
+
edge_radius: number;
|
|
153
|
+
edge_weight: number;
|
|
154
|
+
outside_color: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
checkout_font: {
|
|
158
|
+
font_family: string;
|
|
159
|
+
};
|
|
160
|
+
shopping_cart: {
|
|
161
|
+
font_color: string;
|
|
162
|
+
description: {
|
|
163
|
+
font_color: string;
|
|
164
|
+
};
|
|
165
|
+
information: {
|
|
166
|
+
background_color: string;
|
|
167
|
+
};
|
|
168
|
+
background_color: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
created_at: string;
|
|
172
|
+
updated_at: string;
|
|
173
|
+
}
|
|
174
|
+
export interface IconNameOverride {
|
|
175
|
+
is_active: boolean;
|
|
176
|
+
name: string | null;
|
|
177
|
+
icon: string | null;
|
|
178
|
+
description: string | null;
|
|
179
|
+
}
|
|
180
|
+
export interface RequiredFieldOverride {
|
|
181
|
+
current_value: string | null;
|
|
182
|
+
field_name: string;
|
|
183
|
+
is_active: boolean;
|
|
184
|
+
}
|
|
185
|
+
export interface RequiredFieldsOverride {
|
|
186
|
+
is_active: boolean | null;
|
|
187
|
+
fields: RequiredFieldOverride[];
|
|
188
|
+
enrollment_fields: RequiredFieldOverride[];
|
|
189
|
+
is_enrollment_active: boolean | null;
|
|
190
|
+
}
|
|
191
|
+
export interface ConditionEntry {
|
|
192
|
+
icon: string | null;
|
|
193
|
+
condition_type: string;
|
|
194
|
+
conditional: string;
|
|
195
|
+
values: string[];
|
|
196
|
+
id: string | null;
|
|
197
|
+
condition_set_id: string | null;
|
|
198
|
+
additional_field_name: string | null;
|
|
199
|
+
time_period_start_time: string | null;
|
|
200
|
+
metadata_key: string | null;
|
|
201
|
+
time_period_end_time: string | null;
|
|
202
|
+
time_period_repeat_amount: string | null;
|
|
203
|
+
time_period_repeat_frequency: string | null;
|
|
204
|
+
time_period_repetition_days: string | null;
|
|
205
|
+
complex_index: number | null;
|
|
206
|
+
complex_name: string | null;
|
|
207
|
+
detail: {
|
|
208
|
+
operators: string[] | null;
|
|
209
|
+
payment_method: string | null;
|
|
210
|
+
value_source: string | null;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
export interface ConditionSet {
|
|
214
|
+
name: string;
|
|
215
|
+
order: number;
|
|
216
|
+
payment_method_data: {
|
|
217
|
+
name: string | null;
|
|
218
|
+
description: string | null;
|
|
219
|
+
logo: string | null;
|
|
220
|
+
};
|
|
221
|
+
conditions: ConditionEntry[];
|
|
222
|
+
}
|
|
223
|
+
export interface BasePaymentMethodEntry {
|
|
224
|
+
is_active: boolean;
|
|
225
|
+
payment_method_type: string;
|
|
226
|
+
order_to_show: number;
|
|
227
|
+
active_enrollment_type?: string;
|
|
228
|
+
type: string;
|
|
229
|
+
icon_name_to_override?: IconNameOverride;
|
|
230
|
+
required_fields_to_override?: RequiredFieldsOverride;
|
|
231
|
+
conditions_to_override?: ConditionSet[];
|
|
232
|
+
}
|
|
233
|
+
export interface UpdateIsActiveCheckoutParams {
|
|
234
|
+
accountCode?: string;
|
|
235
|
+
checkoutCode: string;
|
|
236
|
+
paymentMethods: BasePaymentMethodEntry[];
|
|
237
|
+
general_settings?: GeneralSettings;
|
|
238
|
+
}
|
|
239
|
+
export interface DocumentType {
|
|
240
|
+
country: string;
|
|
241
|
+
code: string;
|
|
242
|
+
description: string;
|
|
243
|
+
regex: string;
|
|
244
|
+
mask: string;
|
|
245
|
+
display_code: string;
|
|
246
|
+
display_description: string;
|
|
247
|
+
function?: string;
|
|
248
|
+
}
|
|
249
|
+
export type GetCountryDataResponse = {
|
|
250
|
+
country_name: string;
|
|
251
|
+
country_code: string;
|
|
252
|
+
icon: string;
|
|
253
|
+
icon_url: string;
|
|
254
|
+
document_types: DocumentType[];
|
|
255
|
+
}[];
|
|
256
|
+
export type GetPaymentMethodAccountsArgs = {
|
|
257
|
+
paymentMethod: string;
|
|
258
|
+
organizationCode: string;
|
|
259
|
+
};
|
|
260
|
+
export type PaymentMethodAccountProvider = {
|
|
261
|
+
provider_id: string;
|
|
262
|
+
icon: string;
|
|
263
|
+
};
|
|
264
|
+
export type PaymentMethodAccount = {
|
|
265
|
+
id: string;
|
|
266
|
+
name: string;
|
|
267
|
+
enabled: boolean;
|
|
268
|
+
providers: PaymentMethodAccountProvider[] | null;
|
|
269
|
+
};
|
|
270
|
+
export type GetPaymentMethodAccountsResponse = {
|
|
271
|
+
accounts: PaymentMethodAccount[];
|
|
272
|
+
};
|
|
273
|
+
export interface CopyToAccount {
|
|
274
|
+
account_code: string;
|
|
275
|
+
is_active: boolean;
|
|
276
|
+
}
|
|
277
|
+
export interface PublishCheckoutParams {
|
|
278
|
+
accountCode?: string;
|
|
279
|
+
checkoutCode: string;
|
|
280
|
+
paymentMethods: (Omit<BasePaymentMethodEntry, 'conditions_to_override'> & {
|
|
281
|
+
copy_to_accounts?: CopyToAccount[];
|
|
282
|
+
conditions_to_override?: (ConditionSet & {
|
|
283
|
+
is_active?: boolean;
|
|
284
|
+
})[];
|
|
285
|
+
})[];
|
|
286
|
+
general_settings?: GeneralSettings;
|
|
287
|
+
}
|
|
288
|
+
export {};
|
|
289
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './checkout';
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
export declare namespace Styling {
|
|
2
|
+
type Mode = 'default';
|
|
3
|
+
interface Spacing {
|
|
4
|
+
top: number;
|
|
5
|
+
right: number;
|
|
6
|
+
bottom: number;
|
|
7
|
+
left: number;
|
|
8
|
+
}
|
|
9
|
+
interface BorderRadius {
|
|
10
|
+
top_left: number;
|
|
11
|
+
top_right: number;
|
|
12
|
+
bottom_right: number;
|
|
13
|
+
bottom_left: number;
|
|
14
|
+
}
|
|
15
|
+
interface Decorator {
|
|
16
|
+
hover: StyleProps;
|
|
17
|
+
disabled: StyleProps;
|
|
18
|
+
focused: StyleProps;
|
|
19
|
+
error: StyleProps;
|
|
20
|
+
}
|
|
21
|
+
type StyleProps = {
|
|
22
|
+
color: string;
|
|
23
|
+
font_family: string;
|
|
24
|
+
font_size: number;
|
|
25
|
+
font_weight: string | number;
|
|
26
|
+
line_height: number;
|
|
27
|
+
padding: Spacing;
|
|
28
|
+
margin: Spacing;
|
|
29
|
+
background_color: string;
|
|
30
|
+
border_radius: BorderRadius;
|
|
31
|
+
decorator: Decorator;
|
|
32
|
+
text_align: string;
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
weight: number;
|
|
36
|
+
border_color: string;
|
|
37
|
+
border_style: string;
|
|
38
|
+
border_width: number;
|
|
39
|
+
};
|
|
40
|
+
type Style = {
|
|
41
|
+
props: StyleProps;
|
|
42
|
+
ref: string;
|
|
43
|
+
};
|
|
44
|
+
type Variables = {
|
|
45
|
+
color_primary: string;
|
|
46
|
+
background_color: string;
|
|
47
|
+
};
|
|
48
|
+
interface Section {
|
|
49
|
+
mode: Mode;
|
|
50
|
+
variables?: Variables;
|
|
51
|
+
styles: Style[];
|
|
52
|
+
}
|
|
53
|
+
interface Sections {
|
|
54
|
+
general: Section;
|
|
55
|
+
pm_list: Section;
|
|
56
|
+
apm: Section;
|
|
57
|
+
card_one_step: Section;
|
|
58
|
+
card_step_by_step: Section;
|
|
59
|
+
}
|
|
60
|
+
export interface Theme {
|
|
61
|
+
account_code: string;
|
|
62
|
+
sections: Sections;
|
|
63
|
+
}
|
|
64
|
+
export interface Settings {
|
|
65
|
+
sdk_dynamic: boolean;
|
|
66
|
+
}
|
|
67
|
+
export {};
|
|
68
|
+
}
|
|
69
|
+
export interface PaymentLinkStyles {
|
|
70
|
+
panel?: {
|
|
71
|
+
left?: {
|
|
72
|
+
logo?: string | null;
|
|
73
|
+
background?: {
|
|
74
|
+
color?: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
checkbox?: {
|
|
79
|
+
color?: string;
|
|
80
|
+
};
|
|
81
|
+
border?: {
|
|
82
|
+
color?: string;
|
|
83
|
+
};
|
|
84
|
+
radio_button?: {
|
|
85
|
+
color?: string;
|
|
86
|
+
};
|
|
87
|
+
button?: {
|
|
88
|
+
text?: {
|
|
89
|
+
color?: string;
|
|
90
|
+
};
|
|
91
|
+
background?: {
|
|
92
|
+
color?: string;
|
|
93
|
+
hover?: {
|
|
94
|
+
color?: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
export declare namespace StylingSettings {
|
|
100
|
+
interface UpdateSettings {
|
|
101
|
+
styles: {
|
|
102
|
+
global?: {
|
|
103
|
+
accent_color?: string;
|
|
104
|
+
primary_background_color?: string;
|
|
105
|
+
primary_text_color?: string;
|
|
106
|
+
primary_button_text_color?: string;
|
|
107
|
+
secondary_background_color?: string;
|
|
108
|
+
secondary_text_color?: string;
|
|
109
|
+
secondary_button_background_color?: string;
|
|
110
|
+
secondary_button_text_color?: string;
|
|
111
|
+
font_family?: string;
|
|
112
|
+
};
|
|
113
|
+
header?: {
|
|
114
|
+
logo_border_size?: number;
|
|
115
|
+
logo_border_color?: string;
|
|
116
|
+
logo_corner_radius?: number;
|
|
117
|
+
font_size?: number;
|
|
118
|
+
font_weight?: number;
|
|
119
|
+
};
|
|
120
|
+
button?: {
|
|
121
|
+
corner_radius?: number;
|
|
122
|
+
border_size?: number;
|
|
123
|
+
primary_border_color?: string;
|
|
124
|
+
secondary_border_color?: string;
|
|
125
|
+
font_size?: number;
|
|
126
|
+
font_weight?: number;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
settings: {
|
|
130
|
+
sdk_type?: {
|
|
131
|
+
web?: 'SEAMLESS' | 'FULL';
|
|
132
|
+
mobile?: 'SEAMLESS' | 'FULL';
|
|
133
|
+
};
|
|
134
|
+
card?: {
|
|
135
|
+
enable_ocr?: boolean;
|
|
136
|
+
save_on_success?: boolean;
|
|
137
|
+
visualization_mode?: VisualizationMode;
|
|
138
|
+
credit_card_only_processing?: boolean;
|
|
139
|
+
};
|
|
140
|
+
web_sdk?: {
|
|
141
|
+
hide_pay_button?: boolean;
|
|
142
|
+
render_mode?: RenderMode;
|
|
143
|
+
};
|
|
144
|
+
payment_method_list?: {
|
|
145
|
+
unfolded_display?: boolean;
|
|
146
|
+
preselected_payment_method?: boolean;
|
|
147
|
+
condensed_checkout_view?: boolean;
|
|
148
|
+
edit_payment_method_list?: boolean;
|
|
149
|
+
};
|
|
150
|
+
ui?: {
|
|
151
|
+
dark_mode?: boolean;
|
|
152
|
+
show_secure_payment_tag?: boolean;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
flags?: {
|
|
156
|
+
force_default_styles?: boolean;
|
|
157
|
+
};
|
|
158
|
+
payment_link_styles?: PaymentLinkStyles;
|
|
159
|
+
}
|
|
160
|
+
interface UpdateSettingsResponse extends UpdateSettings {
|
|
161
|
+
external_fonts: {
|
|
162
|
+
family_name: string;
|
|
163
|
+
files: {
|
|
164
|
+
url: string;
|
|
165
|
+
weight: number;
|
|
166
|
+
}[];
|
|
167
|
+
}[];
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export declare enum RenderMode {
|
|
171
|
+
MODAL = "MODAL",
|
|
172
|
+
RENDER = "RENDER"
|
|
173
|
+
}
|
|
174
|
+
export declare enum VisualizationMode {
|
|
175
|
+
ONE_STEP = "ONE_STEP",
|
|
176
|
+
STEP_BY_STEP = "STEP_BY_STEP"
|
|
177
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Cost } from './costs';
|
|
2
|
+
export declare namespace Connection {
|
|
3
|
+
interface Connection {
|
|
4
|
+
id: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
more_info_url: string;
|
|
7
|
+
name: string;
|
|
8
|
+
category: string;
|
|
9
|
+
location_coverage: string[];
|
|
10
|
+
description: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
future?: boolean;
|
|
13
|
+
created_at: string;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
}
|
|
16
|
+
interface ConnectionPayloadParams {
|
|
17
|
+
param_id: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}
|
|
20
|
+
interface ConnectionPayload {
|
|
21
|
+
provider_id: string;
|
|
22
|
+
country: string;
|
|
23
|
+
name: string;
|
|
24
|
+
params: ConnectionPayloadParams[];
|
|
25
|
+
costs?: Cost[];
|
|
26
|
+
accounts?: string[];
|
|
27
|
+
}
|
|
28
|
+
interface ConnectionMultiaccountResponse {
|
|
29
|
+
accounts: string[];
|
|
30
|
+
provider_id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
payment_method_type: string;
|
|
33
|
+
withdrawal_method_type: string;
|
|
34
|
+
country: string;
|
|
35
|
+
params: Params[];
|
|
36
|
+
}
|
|
37
|
+
interface Params {
|
|
38
|
+
param_id: string;
|
|
39
|
+
value: string;
|
|
40
|
+
}
|
|
41
|
+
type PostDefaultRoutes = {
|
|
42
|
+
payload: {
|
|
43
|
+
provider_id: string;
|
|
44
|
+
connections: [integration_code: string, account_code: string];
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
type PostDefaultRoutesResponse = {
|
|
48
|
+
default_routes_created: [
|
|
49
|
+
{
|
|
50
|
+
account_code: string;
|
|
51
|
+
workflow_version_code: string;
|
|
52
|
+
}
|
|
53
|
+
];
|
|
54
|
+
};
|
|
55
|
+
interface NetworkTokensOnboardingMerchantData {
|
|
56
|
+
network_token: NetworkTokensOnboardingData | null;
|
|
57
|
+
account_codes: string[];
|
|
58
|
+
}
|
|
59
|
+
interface NetworkTokensOnboardingData {
|
|
60
|
+
name: string | null;
|
|
61
|
+
legal_name: string | null;
|
|
62
|
+
website: string | null;
|
|
63
|
+
identification_type: string | null;
|
|
64
|
+
identification_number: string | null;
|
|
65
|
+
address_line_1: string | null;
|
|
66
|
+
address_line_2: string | null;
|
|
67
|
+
city: string | null;
|
|
68
|
+
state: string | null;
|
|
69
|
+
country: string | null;
|
|
70
|
+
zip_code: string | null;
|
|
71
|
+
phone: string | null;
|
|
72
|
+
contact_first_name: string | null;
|
|
73
|
+
contact_last_name: string | null;
|
|
74
|
+
contact_email: string | null;
|
|
75
|
+
merchant_category_code: string | null;
|
|
76
|
+
country_code: string | null;
|
|
77
|
+
}
|
|
78
|
+
interface NetworkTokensOnboardingMerchantRequest extends NetworkTokensOnboardingData {
|
|
79
|
+
account_codes: string[];
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface Condition {
|
|
2
|
+
condition_name: string;
|
|
3
|
+
condition_type: string;
|
|
4
|
+
condition_values: string[];
|
|
5
|
+
conditional: string;
|
|
6
|
+
}
|
|
7
|
+
export interface Cost {
|
|
8
|
+
cost_name: string;
|
|
9
|
+
sort_number: number;
|
|
10
|
+
cost_values: {
|
|
11
|
+
successful: {
|
|
12
|
+
percentage: number;
|
|
13
|
+
fixed_fee: number;
|
|
14
|
+
};
|
|
15
|
+
unsuccessful: {
|
|
16
|
+
percentage: number;
|
|
17
|
+
fixed_fee: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
currency: string[];
|
|
21
|
+
conditions: Condition[];
|
|
22
|
+
}
|
|
23
|
+
export interface CostPayload {
|
|
24
|
+
costs: Cost[];
|
|
25
|
+
integration_code: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './country';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare namespace CustomizedApiKeys {
|
|
2
|
+
interface ICustomizedApiKeys {
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
credential: string;
|
|
6
|
+
user_code: string;
|
|
7
|
+
details: {
|
|
8
|
+
accounts: [
|
|
9
|
+
{
|
|
10
|
+
name: string;
|
|
11
|
+
code_live: string;
|
|
12
|
+
code_testing: string;
|
|
13
|
+
}
|
|
14
|
+
];
|
|
15
|
+
assigned_users: [
|
|
16
|
+
{
|
|
17
|
+
code: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
};
|
|
22
|
+
apply_to_all_accounts: false;
|
|
23
|
+
created_at: string;
|
|
24
|
+
last_used: null;
|
|
25
|
+
}
|
|
26
|
+
interface ICustomizedApiKeysProducts {
|
|
27
|
+
key: string;
|
|
28
|
+
description: string;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './customized-api-keys';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface ConversionRateParams {
|
|
2
|
+
start_date: string;
|
|
3
|
+
end_date: string;
|
|
4
|
+
periodicity: string;
|
|
5
|
+
provider_id: string;
|
|
6
|
+
payment_method_type: string;
|
|
7
|
+
currency_code: string;
|
|
8
|
+
timezone: string;
|
|
9
|
+
source: string;
|
|
10
|
+
new_version: boolean;
|
|
11
|
+
payment_statuses: string;
|
|
12
|
+
card_brand: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ConversionRateBody {
|
|
15
|
+
account_codes: string[];
|
|
16
|
+
connection_name: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface ConversionRatePeriodicityRecord {
|
|
19
|
+
[key: string]: number;
|
|
20
|
+
}
|
|
21
|
+
export interface ConversionRateOverview {
|
|
22
|
+
total: {
|
|
23
|
+
total_conversion_rate: number;
|
|
24
|
+
insight_payment_total_conversion_rate_periodicity: ConversionRatePeriodicityRecord;
|
|
25
|
+
};
|
|
26
|
+
cards: {
|
|
27
|
+
cards_approvals_rate: number;
|
|
28
|
+
insight_payment_total_conversion_rate_periodicity_for_card: ConversionRatePeriodicityRecord;
|
|
29
|
+
};
|
|
30
|
+
apms: {
|
|
31
|
+
apms_conversion_rate: number;
|
|
32
|
+
insight_payment_total_conversion_rate_periodicity_for_apm: ConversionRatePeriodicityRecord;
|
|
33
|
+
};
|
|
34
|
+
cards_without_insufficient_funds: {
|
|
35
|
+
without_insufficient_funds_conversion_rate: number;
|
|
36
|
+
insight_conversion_rate_without_insufficient_funds: ConversionRatePeriodicityRecord;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export interface ConversionRateOverviewFraud3ds {
|
|
40
|
+
fraud: {
|
|
41
|
+
conversion_rate_fraud_transactions: number;
|
|
42
|
+
conversion_fraud_transactions_periodicity: ConversionRatePeriodicityRecord | null;
|
|
43
|
+
};
|
|
44
|
+
'3ds': {
|
|
45
|
+
conversion_rate_card_transactions3ds: number;
|
|
46
|
+
conversion_rate_card_transactions3ds_periodicity: ConversionRatePeriodicityRecord;
|
|
47
|
+
};
|
|
48
|
+
}
|