@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,362 @@
|
|
|
1
|
+
import { Checkout } from '../checkout';
|
|
2
|
+
export declare namespace SmartRouting {
|
|
3
|
+
export type RoutingType = 'smart-routing' | 'routing-payouts';
|
|
4
|
+
export const DEFAULT_ROUTING_TYPE: RoutingType;
|
|
5
|
+
export type WorkflowStatus = 'DRAFT' | 'PUBLISHED';
|
|
6
|
+
export interface ExtendRoutingMethods extends Checkout.PaymentMethods {
|
|
7
|
+
is_routing_active?: boolean;
|
|
8
|
+
workflow_status: WorkflowStatus;
|
|
9
|
+
}
|
|
10
|
+
export interface PaymentMethods {
|
|
11
|
+
payment_methods: ExtendRoutingMethods[];
|
|
12
|
+
}
|
|
13
|
+
export type NextRoute = {
|
|
14
|
+
index: number;
|
|
15
|
+
percentage: number;
|
|
16
|
+
};
|
|
17
|
+
export interface Output {
|
|
18
|
+
output: StatusTransaction;
|
|
19
|
+
next_route_indexes: NextRoute[];
|
|
20
|
+
next_route_index: null;
|
|
21
|
+
id?: number;
|
|
22
|
+
decline_types: string[];
|
|
23
|
+
has_split: boolean;
|
|
24
|
+
order: number;
|
|
25
|
+
retry: boolean;
|
|
26
|
+
type: OutputType;
|
|
27
|
+
}
|
|
28
|
+
export type RouteType = 'PROVIDER' | 'ENDING' | 'SMART_ROUTING';
|
|
29
|
+
export interface Route {
|
|
30
|
+
outputs: Output[];
|
|
31
|
+
type: RouteType;
|
|
32
|
+
index: number;
|
|
33
|
+
updated_at: string;
|
|
34
|
+
repair?: boolean;
|
|
35
|
+
alerted?: boolean;
|
|
36
|
+
paused?: boolean;
|
|
37
|
+
data: {
|
|
38
|
+
integration_code?: string;
|
|
39
|
+
provider_id?: string;
|
|
40
|
+
provider_type?: string;
|
|
41
|
+
provider_icon?: string;
|
|
42
|
+
percentage?: number;
|
|
43
|
+
provider_name?: string;
|
|
44
|
+
action?: AvailableActions;
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export type Conditional = 'EQUAL' | 'NOT_EQUAL' | 'ONE_OF' | 'NOT_ONE_OF';
|
|
49
|
+
export type ConditionalNumber = 'GREATER_THAN' | 'LESS_THAN' | 'BETWEEN' | 'EQUAL';
|
|
50
|
+
export type ConditionalTypesMix = Conditional[] | ConditionalNumber[];
|
|
51
|
+
export interface ConditionalTypes {
|
|
52
|
+
conditional_types: ConditionalTypesMix;
|
|
53
|
+
}
|
|
54
|
+
export interface WorkflowVersion {
|
|
55
|
+
condition_sets: ConditionItem[];
|
|
56
|
+
fraud_condition_sets: ConditionItem[];
|
|
57
|
+
workflow: Workflow;
|
|
58
|
+
version: Version;
|
|
59
|
+
response?: {
|
|
60
|
+
status: number;
|
|
61
|
+
message: string;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export interface ConditionItem {
|
|
65
|
+
sort_number: number;
|
|
66
|
+
updated_at: string;
|
|
67
|
+
category: 'FRAUD' | 'PAYMENT' | 'FRAUD_POST_AUTH';
|
|
68
|
+
conditions: Condition[];
|
|
69
|
+
expired?: boolean;
|
|
70
|
+
routes: Route[];
|
|
71
|
+
editable: boolean;
|
|
72
|
+
start: NextRoute[];
|
|
73
|
+
threshold_code?: string;
|
|
74
|
+
monitor_active?: boolean;
|
|
75
|
+
id?: number;
|
|
76
|
+
name?: string;
|
|
77
|
+
description?: string;
|
|
78
|
+
}
|
|
79
|
+
export type StatusVersion = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED';
|
|
80
|
+
export interface Version {
|
|
81
|
+
created_at?: string;
|
|
82
|
+
updated_at?: string;
|
|
83
|
+
code: string;
|
|
84
|
+
id: number;
|
|
85
|
+
workflow_id: number;
|
|
86
|
+
linked_version?: Version;
|
|
87
|
+
status: StatusVersion;
|
|
88
|
+
paymentEnabled: boolean;
|
|
89
|
+
fraudEnabled: boolean;
|
|
90
|
+
paused: boolean;
|
|
91
|
+
alerted: boolean;
|
|
92
|
+
number: number;
|
|
93
|
+
published_at?: string;
|
|
94
|
+
name: string;
|
|
95
|
+
repair: boolean;
|
|
96
|
+
favorite: boolean;
|
|
97
|
+
publishable: boolean;
|
|
98
|
+
updated_by?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface Workflow {
|
|
101
|
+
id: number;
|
|
102
|
+
code: string;
|
|
103
|
+
name: string;
|
|
104
|
+
status: StatusVersion;
|
|
105
|
+
account_code: string;
|
|
106
|
+
created_at: string;
|
|
107
|
+
updated_at: string;
|
|
108
|
+
payment_method_type: string;
|
|
109
|
+
withdrawal_method_type: string;
|
|
110
|
+
is_active: boolean;
|
|
111
|
+
payment_method_description?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface WorkflowVersions {
|
|
114
|
+
workflow: Workflow;
|
|
115
|
+
versions: Version[];
|
|
116
|
+
}
|
|
117
|
+
export interface WorkflowNewVersion {
|
|
118
|
+
workflow: Workflow;
|
|
119
|
+
version: Version;
|
|
120
|
+
}
|
|
121
|
+
export interface WorkflowCreate {
|
|
122
|
+
name: string;
|
|
123
|
+
payment_method: string;
|
|
124
|
+
}
|
|
125
|
+
export interface ConditionTypes {
|
|
126
|
+
payment_method: string;
|
|
127
|
+
condition_types: ConditionType[];
|
|
128
|
+
}
|
|
129
|
+
export interface ConditionPaymentMethod {
|
|
130
|
+
condition_set: {
|
|
131
|
+
id: number;
|
|
132
|
+
code: string;
|
|
133
|
+
payment_method_type: string;
|
|
134
|
+
withdrawal_method_type: string;
|
|
135
|
+
account_code: string;
|
|
136
|
+
payment_method_data: {
|
|
137
|
+
logo: string | null;
|
|
138
|
+
name: string | null;
|
|
139
|
+
description: string | null;
|
|
140
|
+
};
|
|
141
|
+
name: string;
|
|
142
|
+
order: number;
|
|
143
|
+
created_at: string;
|
|
144
|
+
updated_at: string | null;
|
|
145
|
+
};
|
|
146
|
+
conditions: {
|
|
147
|
+
id: number;
|
|
148
|
+
payment_method_condition_set_id: number;
|
|
149
|
+
condition_type: string;
|
|
150
|
+
values: string[];
|
|
151
|
+
conditional: string;
|
|
152
|
+
metadata_key: string | null;
|
|
153
|
+
complex_name: string | null;
|
|
154
|
+
complex_index: string | null;
|
|
155
|
+
additional_field_name: string | null;
|
|
156
|
+
created_at: string;
|
|
157
|
+
updated_at: string;
|
|
158
|
+
}[];
|
|
159
|
+
}
|
|
160
|
+
export type CRITERIA = 'GENERAL' | 'COMPLEX';
|
|
161
|
+
export type ValueSource = 'CONFIG' | 'TEXT';
|
|
162
|
+
export interface ConditionType {
|
|
163
|
+
name: string;
|
|
164
|
+
payment_method_type?: string;
|
|
165
|
+
withdrawal_method_type?: string;
|
|
166
|
+
value_source: ValueSource;
|
|
167
|
+
description: string;
|
|
168
|
+
icon: string;
|
|
169
|
+
criteria: CRITERIA;
|
|
170
|
+
operators: ConditionalTypesMix;
|
|
171
|
+
example: {
|
|
172
|
+
conditional_type: Conditional | ConditionalNumber;
|
|
173
|
+
values: string[];
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
export interface Detail {
|
|
177
|
+
name: string;
|
|
178
|
+
description: string;
|
|
179
|
+
criteria: CRITERIA;
|
|
180
|
+
operators: ConditionalTypesMix;
|
|
181
|
+
payment_method: string;
|
|
182
|
+
value_source: ValueSource;
|
|
183
|
+
icon: string;
|
|
184
|
+
}
|
|
185
|
+
export type Frequency = 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY';
|
|
186
|
+
export type Day = 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
187
|
+
export interface ConditionTypeValuesObject {
|
|
188
|
+
condition: string;
|
|
189
|
+
values: Condition[];
|
|
190
|
+
}
|
|
191
|
+
export type AllConditionTypeValues = SmartRouting.ConditionTypeValuesObject[];
|
|
192
|
+
export interface Condition {
|
|
193
|
+
id: number;
|
|
194
|
+
condition_set_id: number;
|
|
195
|
+
condition_type: string;
|
|
196
|
+
values: string[];
|
|
197
|
+
icon: string;
|
|
198
|
+
conditional: Conditional | ConditionalNumber;
|
|
199
|
+
complex_name?: string;
|
|
200
|
+
complex_index?: number;
|
|
201
|
+
additional_field_name?: string;
|
|
202
|
+
metadata_key?: string;
|
|
203
|
+
detail: Detail;
|
|
204
|
+
time_period_repeat_amount?: number;
|
|
205
|
+
time_period_repeat_frequency?: Frequency;
|
|
206
|
+
time_period_repetition_days?: Day[];
|
|
207
|
+
timezone?: string;
|
|
208
|
+
time_period_start_time?: string;
|
|
209
|
+
time_period_end_time?: string;
|
|
210
|
+
}
|
|
211
|
+
export interface ConditionTypeValues {
|
|
212
|
+
condition_type: ConditionType;
|
|
213
|
+
values: ConditionTypeValuesObj[];
|
|
214
|
+
}
|
|
215
|
+
export interface ConditionTypeValuesObj {
|
|
216
|
+
id: number;
|
|
217
|
+
currency_symbol?: string;
|
|
218
|
+
condition_type_id: number;
|
|
219
|
+
value: string;
|
|
220
|
+
description: string;
|
|
221
|
+
detail?: string;
|
|
222
|
+
category?: string;
|
|
223
|
+
}
|
|
224
|
+
export interface ConditionTypeValues {
|
|
225
|
+
condition_type: ConditionType;
|
|
226
|
+
values: ConditionTypeValuesObj[];
|
|
227
|
+
}
|
|
228
|
+
export type ConditionActions = 'ADD_PROVIDER' | 'ADD_FRAUD_PROVIDER' | 'REFUND' | 'DECLINE' | 'CANCEL';
|
|
229
|
+
export type ProviderType = 'PAYMENT' | 'FRAUD';
|
|
230
|
+
export type AvailableActions = 'END' | 'DECLINE' | 'CAPTURE' | 'CANCEL' | 'REVERT' | 'RETRY';
|
|
231
|
+
export type OutputType = 'SUCCESS' | 'ERROR' | 'WARNING';
|
|
232
|
+
export type StatusTransaction = 'SUCCEEDED' | 'PENDING' | 'PROCEED' | 'ERROR' | 'DECLINED' | 'DECLINE_GROUP';
|
|
233
|
+
export enum StepType {
|
|
234
|
+
FRAUD = "FRAUD",
|
|
235
|
+
PAYMENT = "PAYMENT",
|
|
236
|
+
THREE_D_SECURE = "THREE_D_SECURE",
|
|
237
|
+
CYBERSOURCE_3DS = "CYBERSOURCE_3DS"
|
|
238
|
+
}
|
|
239
|
+
export interface TransactionStatuses {
|
|
240
|
+
condition_actions: ConditionActions[];
|
|
241
|
+
transaction_statuses: {
|
|
242
|
+
provider_type: ProviderType;
|
|
243
|
+
statuses: {
|
|
244
|
+
status: StatusTransaction;
|
|
245
|
+
actions: AvailableActions[];
|
|
246
|
+
}[];
|
|
247
|
+
}[];
|
|
248
|
+
}
|
|
249
|
+
export interface DeclineGroups {
|
|
250
|
+
decline_groups: DeclineGroup[];
|
|
251
|
+
types: DeclineTypes;
|
|
252
|
+
}
|
|
253
|
+
export type DeclineTypes = {
|
|
254
|
+
label: string;
|
|
255
|
+
name: string;
|
|
256
|
+
group?: DeclineGroupType;
|
|
257
|
+
is_used: boolean;
|
|
258
|
+
step_type?: StepType;
|
|
259
|
+
}[];
|
|
260
|
+
export interface DeclineGroup {
|
|
261
|
+
id?: number;
|
|
262
|
+
name: string;
|
|
263
|
+
account_code: string;
|
|
264
|
+
decline_types: string[];
|
|
265
|
+
group_type?: DeclineGroupType;
|
|
266
|
+
}
|
|
267
|
+
export interface PaymentRoute {
|
|
268
|
+
index: number;
|
|
269
|
+
processed_status: string;
|
|
270
|
+
processed_sub_status?: string;
|
|
271
|
+
retry: boolean;
|
|
272
|
+
}
|
|
273
|
+
export interface PaymentRoutes {
|
|
274
|
+
route: PaymentRoute[];
|
|
275
|
+
version_code: string;
|
|
276
|
+
condition_set_id: number;
|
|
277
|
+
}
|
|
278
|
+
export interface MonitorRedistribution {
|
|
279
|
+
condition_set_id: number;
|
|
280
|
+
active: boolean;
|
|
281
|
+
available_provider: number;
|
|
282
|
+
unavailable_provider: number;
|
|
283
|
+
}
|
|
284
|
+
export enum DeclineGroupType {
|
|
285
|
+
PROVIDER_STATUS = "PROVIDER_STATUS",
|
|
286
|
+
MAC_CODE = "MAC_CODE"
|
|
287
|
+
}
|
|
288
|
+
interface ApprovalRateOpsgenie {
|
|
289
|
+
opsgenie_service_name: string;
|
|
290
|
+
opsgenie_api_keys: string;
|
|
291
|
+
}
|
|
292
|
+
export interface ApprovalRateCondition {
|
|
293
|
+
timelapse_seconds?: string;
|
|
294
|
+
approval_rate: number;
|
|
295
|
+
conditional: 'ABOVE' | 'BELOW' | 'BETWEEN';
|
|
296
|
+
payments_amounts: number[];
|
|
297
|
+
}
|
|
298
|
+
export interface MonitorRedistributionRequest {
|
|
299
|
+
opsgenie_alerts_users: ApprovalRateOpsgenie[];
|
|
300
|
+
conditions: ApprovalRateCondition[];
|
|
301
|
+
template_name: string;
|
|
302
|
+
redistribute_traffic: boolean;
|
|
303
|
+
available_traffic_percentage: number;
|
|
304
|
+
emails: string[];
|
|
305
|
+
unavailable_traffic_percentage: number;
|
|
306
|
+
timelapse_seconds: string;
|
|
307
|
+
}
|
|
308
|
+
export interface MonitorRedistributionResponse {
|
|
309
|
+
threshold: {
|
|
310
|
+
code: string;
|
|
311
|
+
redistribute_traffic: boolean;
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
export interface SRConversionRates {
|
|
315
|
+
conversion_rate: number;
|
|
316
|
+
latency_succeeded: number;
|
|
317
|
+
latency_declined: number;
|
|
318
|
+
country: string;
|
|
319
|
+
provider_id: string;
|
|
320
|
+
}
|
|
321
|
+
export interface PayloadDeclinedGroupCreate {
|
|
322
|
+
name: string;
|
|
323
|
+
types: string[];
|
|
324
|
+
account_codes: string[];
|
|
325
|
+
group?: DeclineGroupType;
|
|
326
|
+
}
|
|
327
|
+
export interface PayloadAIWorkflowCreate {
|
|
328
|
+
payment_method: string;
|
|
329
|
+
message: string;
|
|
330
|
+
}
|
|
331
|
+
export interface ThreeDSExemptionsResponse {
|
|
332
|
+
three_ds_exemptions: string[];
|
|
333
|
+
}
|
|
334
|
+
export interface NetworkTokensOnboardingResponse {
|
|
335
|
+
available: boolean;
|
|
336
|
+
}
|
|
337
|
+
export interface NetworkTokensOnboardingData {
|
|
338
|
+
company_name: string;
|
|
339
|
+
client: string;
|
|
340
|
+
website: string;
|
|
341
|
+
required_provider: string;
|
|
342
|
+
company_legal_name: string;
|
|
343
|
+
company_registered_state: string;
|
|
344
|
+
company_registered_zip_code: string;
|
|
345
|
+
company_registered_address: string;
|
|
346
|
+
company_registered_country: string;
|
|
347
|
+
company_registered_phone: string;
|
|
348
|
+
primary_contact_first_name: string;
|
|
349
|
+
primary_contact_last_name: string;
|
|
350
|
+
business_identification_type: string;
|
|
351
|
+
business_identification_number: string;
|
|
352
|
+
}
|
|
353
|
+
export interface NetworkTokensOnboardingPayload extends NetworkTokensOnboardingData {
|
|
354
|
+
accounts: string[];
|
|
355
|
+
}
|
|
356
|
+
export interface NetworkTokensOnboardingGetResponse extends NetworkTokensOnboardingData {
|
|
357
|
+
id?: string;
|
|
358
|
+
created_at?: string;
|
|
359
|
+
updated_at?: string;
|
|
360
|
+
}
|
|
361
|
+
export {};
|
|
362
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './subscriptions';
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export type AmountType = 'FIXED' | 'VARIABLE';
|
|
2
|
+
export type FrequencyType = 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
3
|
+
export type FrequencyExecution = 'YUNO' | 'EXTERNAL';
|
|
4
|
+
export type BillingDateType = 'DAY' | 'NEXT';
|
|
5
|
+
export interface SubscriptionAmount {
|
|
6
|
+
currency: string;
|
|
7
|
+
value: number;
|
|
8
|
+
type?: AmountType;
|
|
9
|
+
}
|
|
10
|
+
export interface SubscriptionCustomerPayer {
|
|
11
|
+
code: string;
|
|
12
|
+
}
|
|
13
|
+
export interface SubscriptionPaymentMethodCard {
|
|
14
|
+
installments: number;
|
|
15
|
+
network_transaction_id?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface SubscriptionPaymentMethod {
|
|
18
|
+
type: string;
|
|
19
|
+
vaulted_token: string;
|
|
20
|
+
card?: SubscriptionPaymentMethodCard;
|
|
21
|
+
}
|
|
22
|
+
export interface SubscriptionFrequency {
|
|
23
|
+
type: FrequencyType;
|
|
24
|
+
value?: number;
|
|
25
|
+
execution?: FrequencyExecution;
|
|
26
|
+
monthly_billing_day?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface SubscriptionBillingDate {
|
|
29
|
+
type: BillingDateType;
|
|
30
|
+
day?: number;
|
|
31
|
+
}
|
|
32
|
+
export interface SubscriptionBillingCycles {
|
|
33
|
+
total: number | null;
|
|
34
|
+
}
|
|
35
|
+
export interface SubscriptionAvailability {
|
|
36
|
+
start_at: string;
|
|
37
|
+
finish_at: string;
|
|
38
|
+
}
|
|
39
|
+
export interface SubscriptionRetryScheduleItem {
|
|
40
|
+
attempt: number;
|
|
41
|
+
delay_seconds: number;
|
|
42
|
+
}
|
|
43
|
+
export interface SubscriptionRetries {
|
|
44
|
+
retry_on_decline: boolean;
|
|
45
|
+
amount: number;
|
|
46
|
+
strategy?: string;
|
|
47
|
+
schedule?: SubscriptionRetryScheduleItem[];
|
|
48
|
+
stop_on_hard_decline?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface SubscriptionMetadata {
|
|
51
|
+
key: string;
|
|
52
|
+
value: string;
|
|
53
|
+
}
|
|
54
|
+
export interface SubscriptionTrialPeriod {
|
|
55
|
+
billing_cycles?: number;
|
|
56
|
+
amount: SubscriptionAmount;
|
|
57
|
+
}
|
|
58
|
+
export interface CreateSubscriptionPayload {
|
|
59
|
+
name: string;
|
|
60
|
+
country: string;
|
|
61
|
+
merchant_reference: string;
|
|
62
|
+
amount: SubscriptionAmount;
|
|
63
|
+
customer_payer: SubscriptionCustomerPayer;
|
|
64
|
+
payment_method: SubscriptionPaymentMethod;
|
|
65
|
+
description?: string | null;
|
|
66
|
+
frequency?: SubscriptionFrequency;
|
|
67
|
+
billing_date?: SubscriptionBillingDate;
|
|
68
|
+
billing_cycles?: SubscriptionBillingCycles;
|
|
69
|
+
availability?: SubscriptionAvailability;
|
|
70
|
+
retries?: SubscriptionRetries;
|
|
71
|
+
metadata?: SubscriptionMetadata[];
|
|
72
|
+
additional_data?: Record<string, any>;
|
|
73
|
+
trial_period?: SubscriptionTrialPeriod;
|
|
74
|
+
initial_payment_validation?: boolean;
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './team';
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
export type RoleType = 'ACCOUNT' | 'ORGANIZATION';
|
|
2
|
+
export declare namespace Team {
|
|
3
|
+
type TeamResponse = {
|
|
4
|
+
content: {
|
|
5
|
+
user: Team.TeamList;
|
|
6
|
+
role: {
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
code: string;
|
|
10
|
+
account: {
|
|
11
|
+
code_live: string;
|
|
12
|
+
code_testing: string;
|
|
13
|
+
name: string;
|
|
14
|
+
}[];
|
|
15
|
+
}[];
|
|
16
|
+
page: number;
|
|
17
|
+
page_size: number;
|
|
18
|
+
total_elements: number;
|
|
19
|
+
};
|
|
20
|
+
type TeamList = {
|
|
21
|
+
first_name: string;
|
|
22
|
+
last_name: string;
|
|
23
|
+
code: string;
|
|
24
|
+
email: string;
|
|
25
|
+
status: string;
|
|
26
|
+
roles: string[];
|
|
27
|
+
};
|
|
28
|
+
type RolesList = {
|
|
29
|
+
id: string;
|
|
30
|
+
organization_code: string;
|
|
31
|
+
name: string;
|
|
32
|
+
description: string;
|
|
33
|
+
custom: string;
|
|
34
|
+
can_be_used_to_invite?: boolean;
|
|
35
|
+
};
|
|
36
|
+
type SetRoleResponse = {
|
|
37
|
+
auth0_id: string;
|
|
38
|
+
user_code: string;
|
|
39
|
+
organization_code: string;
|
|
40
|
+
role_ids: string[];
|
|
41
|
+
};
|
|
42
|
+
type NewRoleResponse = {
|
|
43
|
+
id: string;
|
|
44
|
+
organization_code: string;
|
|
45
|
+
name: string;
|
|
46
|
+
description: string;
|
|
47
|
+
admin: boolean;
|
|
48
|
+
permission_ids: string[];
|
|
49
|
+
};
|
|
50
|
+
type NewRoleRequest = {
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
permission_ids: string[];
|
|
54
|
+
};
|
|
55
|
+
type ListRolesPermissions = {
|
|
56
|
+
id: string;
|
|
57
|
+
organization_code: string;
|
|
58
|
+
name: string;
|
|
59
|
+
description: string;
|
|
60
|
+
admin: string;
|
|
61
|
+
permission_ids: string[];
|
|
62
|
+
role_type: RoleType;
|
|
63
|
+
};
|
|
64
|
+
type CatalogPermissions = {
|
|
65
|
+
section: string;
|
|
66
|
+
order: number;
|
|
67
|
+
permissions_catalog: Permissions[];
|
|
68
|
+
show_in_frontend?: boolean;
|
|
69
|
+
};
|
|
70
|
+
type Permissions = {
|
|
71
|
+
id: string;
|
|
72
|
+
title: string;
|
|
73
|
+
description: string;
|
|
74
|
+
action_type: string;
|
|
75
|
+
order: number;
|
|
76
|
+
};
|
|
77
|
+
type UserExportRequest = {
|
|
78
|
+
account_codes: string[];
|
|
79
|
+
name: string;
|
|
80
|
+
search?: string;
|
|
81
|
+
statuses?: string[];
|
|
82
|
+
role_ids?: string[];
|
|
83
|
+
};
|
|
84
|
+
type StartUserExportParams = {
|
|
85
|
+
accountCodes: string[];
|
|
86
|
+
name: string;
|
|
87
|
+
search?: string;
|
|
88
|
+
statuses?: string[];
|
|
89
|
+
roleIds?: string[];
|
|
90
|
+
};
|
|
91
|
+
type StartUserExportResponse = {
|
|
92
|
+
export_code: string;
|
|
93
|
+
message: string;
|
|
94
|
+
};
|
|
95
|
+
type UserExportStatus = 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED';
|
|
96
|
+
type UserExportListItem = {
|
|
97
|
+
code: string;
|
|
98
|
+
name?: string | null;
|
|
99
|
+
status: UserExportStatus;
|
|
100
|
+
total_records?: number | null;
|
|
101
|
+
created_at: string;
|
|
102
|
+
completed_at?: string | null;
|
|
103
|
+
};
|
|
104
|
+
type UserExportListResponse = {
|
|
105
|
+
exports: UserExportListItem[];
|
|
106
|
+
total_elements: number;
|
|
107
|
+
};
|
|
108
|
+
type UserExportDetailResponse = {
|
|
109
|
+
code: string;
|
|
110
|
+
status: UserExportStatus;
|
|
111
|
+
total_records?: number | null;
|
|
112
|
+
download_url?: string | null;
|
|
113
|
+
url_expiration_at?: string | null;
|
|
114
|
+
error_message?: string | null;
|
|
115
|
+
created_at: string;
|
|
116
|
+
completed_at?: string | null;
|
|
117
|
+
};
|
|
118
|
+
type UserExportListParams = {
|
|
119
|
+
page?: number;
|
|
120
|
+
pageSize?: number;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type FrequencyType = 'daily' | 'weekly' | 'monthly';
|
|
2
|
+
export type FormatType = 'csv' | 'zip';
|
|
3
|
+
export type TemplateVariantType = 'predefined' | 'derived' | 'custom';
|
|
4
|
+
export type TemplateStatusType = 'active' | 'inactive';
|
|
5
|
+
export type ScheduleExecutionStatusType = 'running' | 'completed' | 'failed';
|
|
6
|
+
export type DatePresetType = 'TODAY' | 'LAST_3_DAYS' | 'LAST_7_DAYS' | 'LAST_30_DAYS' | 'THIS_MONTH' | 'LAST_2_MONTHS' | 'NEXT_3_DAYS' | 'NEXT_7_DAYS' | 'NEXT_30_DAYS' | 'NEXT_MONTH' | 'NEXT_2_MONTHS';
|
|
7
|
+
export type ColumnModeType = 'DEFAULT' | 'ALL' | 'CUSTOM';
|
|
8
|
+
export type FilterKindType = 'date' | 'multiSelect' | 'range';
|
|
9
|
+
export interface DateFilterValue {
|
|
10
|
+
mode: 'preset' | 'custom';
|
|
11
|
+
preset?: DatePresetType;
|
|
12
|
+
from?: string;
|
|
13
|
+
to?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface MultiSelectFilterValue {
|
|
16
|
+
value: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface RangeFilterValue {
|
|
19
|
+
min?: number;
|
|
20
|
+
max?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface FilterBase {
|
|
23
|
+
kind: FilterKindType;
|
|
24
|
+
required: boolean;
|
|
25
|
+
reportFieldName?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface DateFilter extends FilterBase {
|
|
28
|
+
kind: 'date';
|
|
29
|
+
allowPast?: boolean;
|
|
30
|
+
allowFuture?: boolean;
|
|
31
|
+
allowCustom?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface MultiSelectFilter extends FilterBase {
|
|
34
|
+
kind: 'multiSelect';
|
|
35
|
+
allowedValues?: string[];
|
|
36
|
+
}
|
|
37
|
+
export interface RangeFilter extends FilterBase {
|
|
38
|
+
kind: 'range';
|
|
39
|
+
}
|
|
40
|
+
export type FilterDefinition = DateFilter | MultiSelectFilter | RangeFilter;
|
|
41
|
+
export interface FilterSelectionBase {
|
|
42
|
+
kind: FilterKindType;
|
|
43
|
+
}
|
|
44
|
+
export interface DateFilterSelection extends FilterSelectionBase {
|
|
45
|
+
kind: 'date';
|
|
46
|
+
value: DateFilterValue;
|
|
47
|
+
}
|
|
48
|
+
export interface MultiSelectFilterSelection extends FilterSelectionBase {
|
|
49
|
+
kind: 'multiSelect';
|
|
50
|
+
value: string[];
|
|
51
|
+
}
|
|
52
|
+
export interface RangeFilterSelection extends FilterSelectionBase {
|
|
53
|
+
kind: 'range';
|
|
54
|
+
value: RangeFilterValue;
|
|
55
|
+
}
|
|
56
|
+
export type FilterSelection = DateFilterSelection | MultiSelectFilterSelection | RangeFilterSelection;
|
|
57
|
+
export interface TemplateReportingError {
|
|
58
|
+
code: string;
|
|
59
|
+
message: string;
|
|
60
|
+
details?: Record<string, any>;
|
|
61
|
+
}
|
|
62
|
+
export interface DeleteResponse {
|
|
63
|
+
id: number;
|
|
64
|
+
message: string;
|
|
65
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export * from './common.types';
|
|
2
|
+
export * from './template.types';
|
|
3
|
+
export * from './schedule.types';
|
|
4
|
+
import * as CommonTypes from './common.types';
|
|
5
|
+
import * as TemplateTypes from './template.types';
|
|
6
|
+
import * as ScheduleTypes from './schedule.types';
|
|
7
|
+
export declare namespace TemplateReporting {
|
|
8
|
+
type FrequencyType = CommonTypes.FrequencyType;
|
|
9
|
+
type FormatType = CommonTypes.FormatType;
|
|
10
|
+
type TemplateVariantType = CommonTypes.TemplateVariantType;
|
|
11
|
+
type TemplateStatusType = CommonTypes.TemplateStatusType;
|
|
12
|
+
type ScheduleExecutionStatusType = CommonTypes.ScheduleExecutionStatusType;
|
|
13
|
+
type DatePresetType = CommonTypes.DatePresetType;
|
|
14
|
+
type ColumnModeType = CommonTypes.ColumnModeType;
|
|
15
|
+
type FilterKindType = CommonTypes.FilterKindType;
|
|
16
|
+
type DateFilterValue = CommonTypes.DateFilterValue;
|
|
17
|
+
type MultiSelectFilterValue = CommonTypes.MultiSelectFilterValue;
|
|
18
|
+
type RangeFilterValue = CommonTypes.RangeFilterValue;
|
|
19
|
+
type FilterBase = CommonTypes.FilterBase;
|
|
20
|
+
type DateFilter = CommonTypes.DateFilter;
|
|
21
|
+
type MultiSelectFilter = CommonTypes.MultiSelectFilter;
|
|
22
|
+
type RangeFilter = CommonTypes.RangeFilter;
|
|
23
|
+
type FilterDefinition = CommonTypes.FilterDefinition;
|
|
24
|
+
type FilterSelectionBase = CommonTypes.FilterSelectionBase;
|
|
25
|
+
type DateFilterSelection = CommonTypes.DateFilterSelection;
|
|
26
|
+
type MultiSelectFilterSelection = CommonTypes.MultiSelectFilterSelection;
|
|
27
|
+
type RangeFilterSelection = CommonTypes.RangeFilterSelection;
|
|
28
|
+
type FilterSelection = CommonTypes.FilterSelection;
|
|
29
|
+
type TemplateReportingError = CommonTypes.TemplateReportingError;
|
|
30
|
+
type DeleteResponse = CommonTypes.DeleteResponse;
|
|
31
|
+
type TemplateMetadata = TemplateTypes.TemplateMetadata;
|
|
32
|
+
type TemplateSelection = TemplateTypes.TemplateSelection;
|
|
33
|
+
type ReportTemplateMetadata = TemplateTypes.ReportTemplateMetadata;
|
|
34
|
+
type ReportTemplate = TemplateTypes.ReportTemplate;
|
|
35
|
+
type AvailableColumn = TemplateTypes.AvailableColumn;
|
|
36
|
+
type SearchTemplatesRequest = TemplateTypes.SearchTemplatesRequest;
|
|
37
|
+
type SearchTemplateByIdRequest = TemplateTypes.SearchTemplateByIdRequest;
|
|
38
|
+
type GetTemplatesListResponse = TemplateTypes.GetTemplatesListResponse;
|
|
39
|
+
type CreateTemplateRequest = TemplateTypes.CreateTemplateRequest;
|
|
40
|
+
type CloneTemplateRequest = TemplateTypes.CloneTemplateRequest;
|
|
41
|
+
type UpdateTemplateSelectionRequest = TemplateTypes.UpdateTemplateSelectionRequest;
|
|
42
|
+
type ChangeTemplateStatusRequest = TemplateTypes.ChangeTemplateStatusRequest;
|
|
43
|
+
type DeleteTemplateRequest = TemplateTypes.DeleteTemplateRequest;
|
|
44
|
+
type TemplateWithMetadata = TemplateTypes.TemplateWithMetadata;
|
|
45
|
+
type ReportSchedule = ScheduleTypes.ReportSchedule;
|
|
46
|
+
type ReportScheduleExecution = ScheduleTypes.ReportScheduleExecution;
|
|
47
|
+
type SearchSchedulesRequest = ScheduleTypes.SearchSchedulesRequest;
|
|
48
|
+
type SearchScheduleByIdRequest = ScheduleTypes.SearchScheduleByIdRequest;
|
|
49
|
+
type GetSchedulesListResponse = ScheduleTypes.GetSchedulesListResponse;
|
|
50
|
+
type CreateScheduleRequest = ScheduleTypes.CreateScheduleRequest;
|
|
51
|
+
type DisableScheduleRequest = ScheduleTypes.DisableScheduleRequest;
|
|
52
|
+
type DeleteScheduleRequest = ScheduleTypes.DeleteScheduleRequest;
|
|
53
|
+
type ScheduleWithTemplate = ScheduleTypes.ScheduleWithTemplate;
|
|
54
|
+
type ScheduleWithExecutions = ScheduleTypes.ScheduleWithExecutions;
|
|
55
|
+
}
|