@yuno-payments/dashboard-api-mfe 1.10.6 → 1.10.8
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 +675 -0
- package/build/api/api.singleton.d.ts +9 -0
- package/build/api/api.types.d.ts +229 -0
- package/build/api/index.d.ts +3 -0
- package/build/api-provider.d.ts +4 -0
- package/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +2 -26
- package/build/cjs/types/api/api.singleton.d.ts +0 -1
- package/build/cjs/types/api/api.types.d.ts +0 -1
- package/build/cjs/types/mutations/index.d.ts +0 -2
- package/build/cjs/types/mutations/payment-links/payment-links.mutation.d.ts +0 -9
- package/build/cjs/types/mutations/settings/index.d.ts +0 -1
- package/build/cjs/types/queries/audit/audit.query.d.ts +1 -5
- package/build/cjs/types/queries/audit/index.d.ts +0 -1
- package/build/cjs/types/queries/index.d.ts +0 -1
- package/build/cjs/types/types/audit/audit.d.ts +0 -80
- package/build/cjs/types/types/checkout/styling/styling.d.ts +0 -31
- package/build/cjs/types/types/index.d.ts +0 -1
- package/build/cjs/types/types/organization/organization.d.ts +0 -1
- package/build/cjs/types/types/recipients/index.d.ts +0 -1
- package/build/cjs/types/types/recipients/recipients.d.ts +0 -7
- package/build/cjs/types/types/team/team.d.ts +0 -1
- package/build/cjs/types/types/webhook/webhook.d.ts +0 -2
- 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 +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +2 -26
- package/build/esm/types/api/api.singleton.d.ts +0 -1
- package/build/esm/types/api/api.types.d.ts +0 -1
- package/build/esm/types/mutations/index.d.ts +0 -2
- package/build/esm/types/mutations/payment-links/payment-links.mutation.d.ts +0 -9
- package/build/esm/types/mutations/settings/index.d.ts +0 -1
- package/build/esm/types/queries/audit/audit.query.d.ts +1 -5
- package/build/esm/types/queries/audit/index.d.ts +0 -1
- package/build/esm/types/queries/index.d.ts +0 -1
- package/build/esm/types/types/audit/audit.d.ts +0 -80
- package/build/esm/types/types/checkout/styling/styling.d.ts +0 -31
- package/build/esm/types/types/index.d.ts +0 -1
- package/build/esm/types/types/organization/organization.d.ts +0 -1
- package/build/esm/types/types/recipients/index.d.ts +0 -1
- package/build/esm/types/types/recipients/recipients.d.ts +0 -7
- package/build/esm/types/types/team/team.d.ts +0 -1
- package/build/esm/types/types/webhook/webhook.d.ts +0 -2
- package/build/index.d.ts +4 -378
- 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/msw/browser.d.ts +1 -0
- package/build/msw/handlers/api-logs.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/organizations.d.ts +1 -0
- package/build/msw/handlers/payments.d.ts +1 -0
- package/build/msw/handlers/reconciliation-insights.d.ts +1 -0
- package/build/msw/handlers/webhooks.d.ts +1 -0
- package/build/msw/index.d.ts +1 -0
- package/build/msw/mocks/api-logs/api-logs-v3.mock.d.ts +2 -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/reconciliation-insights/index.d.ts +22 -0
- package/build/msw/mocks/webhooks/webhook-timeline.mock.d.ts +2 -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 +57 -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 +2 -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/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/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 +52 -0
- package/build/mutations/fraud-screening/index.d.ts +1 -0
- package/build/mutations/index.d.ts +34 -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/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 +6 -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/organization-settings/index.d.ts +1 -0
- package/build/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
- package/build/mutations/organizations/index.d.ts +1 -0
- package/build/mutations/organizations/organizations.mutation.d.ts +2 -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/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 +1 -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/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 +17 -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.d.ts +30 -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/api-logs/api-logs-v3.query.d.ts +9 -0
- package/build/queries/api-logs/api-logs-v3.query.test.d.ts +1 -0
- package/build/queries/api-logs/index.d.ts +1 -0
- package/build/queries/audit/audit.query.d.ts +28 -0
- package/build/queries/audit/audit.query.test.d.ts +1 -0
- package/build/queries/audit/index.d.ts +1 -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/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 +12 -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/cms/cms.query.d.ts +14 -0
- package/build/queries/cms/cms.query.test.d.ts +1 -0
- package/build/queries/cms/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 +20 -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/dialogs/dialogs.query.d.ts +2 -0
- package/build/queries/dialogs/dialogs.query.test.d.ts +1 -0
- package/build/queries/dialogs/index.d.ts +1 -0
- package/build/queries/feature-flags/feature-flags.test.d.ts +1 -0
- package/build/queries/feature-flags/index.d.ts +8 -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 +11 -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 +30 -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 +7 -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 +8 -0
- package/build/queries/reconciliations/index.d.ts +7 -0
- package/build/queries/reconciliations/reconciliation-insights.query.d.ts +26 -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 +8 -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 +25 -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/queries/webhooks/index.d.ts +1 -0
- package/build/queries/webhooks/webhook-timeline.query.d.ts +9 -0
- package/build/queries/webhooks/webhook-timeline.query.test.d.ts +1 -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 +387 -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/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 +176 -0
- package/build/types/cms/cms.d.ts +47 -0
- package/build/types/cms/index.d.ts +1 -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 +66 -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/fraud-screening/fraud-screening.d.ts +109 -0
- package/build/types/fraud-screening/index.d.ts +1 -0
- package/build/types/index.d.ts +37 -0
- package/build/types/installments/index.d.ts +1 -0
- package/build/types/installments/installments.d.ts +125 -0
- package/build/types/mfa/index.d.ts +1 -0
- package/build/types/mfa/mfa.d.ts +6 -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 +137 -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 +581 -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/recipients/index.d.ts +2 -0
- package/build/types/recipients/recipients.d.ts +223 -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 +188 -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 +154 -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 +68 -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 +98 -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 +208 -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/enums.d.ts +162 -0
- package/build/utils/handler-error.d.ts +6 -0
- package/build/utils/index.d.ts +3 -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 +9 -0
- package/package.json +1 -1
- package/build/cjs/types/mutations/concierge/concierge.mutation.d.ts +0 -8
- package/build/cjs/types/mutations/concierge/index.d.ts +0 -1
- package/build/cjs/types/mutations/settings/use-table-onboarding.d.ts +0 -6
- package/build/cjs/types/queries/audit/audit-v3.query.d.ts +0 -9
- package/build/cjs/types/queries/concierge/concierge.query.d.ts +0 -6
- package/build/cjs/types/queries/concierge/index.d.ts +0 -1
- package/build/cjs/types/types/concierge/concierge-alerts.d.ts +0 -42
- package/build/cjs/types/types/concierge/index.d.ts +0 -1
- package/build/esm/types/msw/handlers/recipients.d.ts +0 -1
- package/build/esm/types/msw/mocks/recipients/recipients.mock.d.ts +0 -775
- package/build/esm/types/mutations/concierge/concierge.mutation.d.ts +0 -8
- package/build/esm/types/mutations/concierge/index.d.ts +0 -1
- package/build/esm/types/mutations/recipients/index.d.ts +0 -1
- package/build/esm/types/mutations/recipients/recipients.mutation.d.ts +0 -11
- package/build/esm/types/mutations/settings/use-table-onboarding.d.ts +0 -6
- package/build/esm/types/queries/audit/audit-v3.query.d.ts +0 -9
- package/build/esm/types/queries/concierge/concierge.query.d.ts +0 -6
- package/build/esm/types/queries/concierge/index.d.ts +0 -1
- package/build/esm/types/types/concierge/concierge-alerts.d.ts +0 -42
- package/build/esm/types/types/concierge/index.d.ts +0 -1
- package/build/esm/types/types/recipients/recipients-mutations.d.ts +0 -136
- package/build/main.31b800bdfc7bcf66.hot-update.js +0 -23
- package/build/main.31b800bdfc7bcf66.hot-update.js.map +0 -1
- package/build/main.31b800bdfc7bcf66.hot-update.json +0 -1
- package/build/main.31ef41183a0357fd.hot-update.js +0 -23
- package/build/main.31ef41183a0357fd.hot-update.js.map +0 -1
- package/build/main.31ef41183a0357fd.hot-update.json +0 -1
- package/build/main.5231ec959bfdd54a.hot-update.js +0 -823
- package/build/main.5231ec959bfdd54a.hot-update.js.map +0 -1
- package/build/main.5231ec959bfdd54a.hot-update.json +0 -1
- package/build/main.60642e2056d40cbc.hot-update.js +0 -23
- package/build/main.60642e2056d40cbc.hot-update.js.map +0 -1
- package/build/main.60642e2056d40cbc.hot-update.json +0 -1
- package/build/main.7734f96d14c3c07a.hot-update.js +0 -10
- package/build/main.7734f96d14c3c07a.hot-update.js.map +0 -1
- package/build/main.7734f96d14c3c07a.hot-update.json +0 -1
- package/build/main.9a70cae7efc29065.hot-update.js +0 -39
- package/build/main.9a70cae7efc29065.hot-update.js.map +0 -1
- package/build/main.9a70cae7efc29065.hot-update.json +0 -1
- package/build/main.9c87c39ff7873bca.hot-update.js +0 -10
- package/build/main.9c87c39ff7873bca.hot-update.js.map +0 -1
- package/build/main.9c87c39ff7873bca.hot-update.json +0 -1
- package/build/main.a0a0faaf03061b21.hot-update.js +0 -23
- package/build/main.a0a0faaf03061b21.hot-update.js.map +0 -1
- package/build/main.a0a0faaf03061b21.hot-update.json +0 -1
- package/build/main.d62d5a57d5bc6614.hot-update.js +0 -4236
- package/build/main.d62d5a57d5bc6614.hot-update.js.map +0 -1
- package/build/main.d62d5a57d5bc6614.hot-update.json +0 -1
- package/build/main.ecc2159bd4dc7d54.hot-update.js +0 -23
- package/build/main.ecc2159bd4dc7d54.hot-update.js.map +0 -1
- package/build/main.ecc2159bd4dc7d54.hot-update.json +0 -1
- package/build/yuno-dashboard-api-mfe.js +0 -57105
- package/build/yuno-dashboard-api-mfe.js.map +0 -1
- /package/build/{esm/types/set-public-path.d.ts → api/api.test.d.ts} +0 -0
- /package/build/{cjs/types/set-public-path.d.ts → api-provider.test.d.ts} +0 -0
- /package/build/{cjs/types/msw → msw}/handlers/recipients.d.ts +0 -0
- /package/build/{cjs/types/msw → msw}/mocks/recipients/recipients.mock.d.ts +0 -0
- /package/build/{cjs/types/mutations → mutations}/recipients/index.d.ts +0 -0
- /package/build/{cjs/types/mutations → mutations}/recipients/recipients.mutation.d.ts +0 -0
- /package/build/{cjs/types/types → types}/recipients/recipients-mutations.d.ts +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { SmartRouting } from '../../types';
|
|
3
|
+
import { AxiosError } from 'axios';
|
|
4
|
+
import { BFFErrorResponse } from '../../mutations';
|
|
5
|
+
export interface ErrorProp {
|
|
6
|
+
name?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function useGetSmartRoutingMethods(accountCode: string, routingType?: SmartRouting.RoutingType): UseQueryResult<SmartRouting.PaymentMethods & ErrorProp, unknown>;
|
|
9
|
+
export declare function useGetSmartRoutingWorkflow(accountCode: string, paymentMethod: string, routingType?: SmartRouting.RoutingType): UseQueryResult<SmartRouting.WorkflowVersions & ErrorProp, unknown>;
|
|
10
|
+
export declare function useGetSmartRoutingConditionTypes(accountCode: string, paymentMethod: string, routingType?: SmartRouting.RoutingType): UseQueryResult<SmartRouting.ConditionTypes & ErrorProp, unknown>;
|
|
11
|
+
export declare function useGetSmartRoutingConditionPaymentMethod(accountCode: string, paymentMethod: string): UseQueryResult<SmartRouting.ConditionPaymentMethod[], unknown & ErrorProp>;
|
|
12
|
+
export declare function useGetSmartRoutingConditionTypesValues(accountCode: string, index: number): UseQueryResult<SmartRouting.ConditionTypeValues & ErrorProp, unknown>;
|
|
13
|
+
export declare function useGetSmartRoutingWorkflowVersion({ accountCode, workflowVersionId, routingType, }: {
|
|
14
|
+
accountCode: string;
|
|
15
|
+
workflowVersionId: string;
|
|
16
|
+
routingType?: SmartRouting.RoutingType;
|
|
17
|
+
}): UseQueryResult<SmartRouting.WorkflowVersion & ErrorProp, unknown>;
|
|
18
|
+
export declare function useGetSmartRoutingNextRoute(accountCode: string, stepType: string, status: string, routingType?: SmartRouting.RoutingType): UseQueryResult<string[] & ErrorProp, unknown>;
|
|
19
|
+
export declare function useGetSmartRoutingDeclineGroups(accountCode: string, routingType?: SmartRouting.RoutingType): UseQueryResult<SmartRouting.DeclineGroups & ErrorProp, unknown>;
|
|
20
|
+
export declare function useGetSmartRoutingPaymentRoute(accountCode: string, paymentId: string, routingType?: SmartRouting.RoutingType): UseQueryResult<SmartRouting.PaymentRoutes & ErrorProp, unknown>;
|
|
21
|
+
export declare function useGetSmartRoutingSimulateConditionTypeValues(accountCode: string, routingType?: SmartRouting.RoutingType): UseQueryResult<SmartRouting.AllConditionTypeValues & ErrorProp, unknown>;
|
|
22
|
+
export declare function useGetSmartRoutingSearchConditionValues({ text, conditionType, }: {
|
|
23
|
+
text: string;
|
|
24
|
+
conditionType: string;
|
|
25
|
+
}): UseQueryResult<SmartRouting.ConditionTypeValues & ErrorProp, unknown>;
|
|
26
|
+
export declare function useProviderConversionRatesData(): UseQueryResult<SmartRouting.SRConversionRates[] & ErrorProp, unknown>;
|
|
27
|
+
export declare function use3DSExemptions(): UseQueryResult<SmartRouting.ThreeDSExemptionsResponse, AxiosError<BFFErrorResponse>>;
|
|
28
|
+
export declare function useNetworkTokensOnboarding(): UseQueryResult<SmartRouting.NetworkTokensOnboardingResponse, AxiosError<BFFErrorResponse>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './subscriptions.query';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
export declare function useGetSubscriptionByCode(subscriptionCode: string, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
3
|
+
export declare function useGetSubscriptionPayments(subscriptionCode: string, page?: number, size?: number, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './team.query';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { AxiosError } from 'axios';
|
|
3
|
+
import { Team } from '../../types';
|
|
4
|
+
export declare function useGetTeamsFiltersMembers(): UseQueryResult<Team.TeamList[], unknown>;
|
|
5
|
+
export declare function usePostMembersPaginatedV2({ organizationCode, accountCodes, search, status, roleId, statuses, roleIds, page, pageSize, }: {
|
|
6
|
+
organizationCode: any;
|
|
7
|
+
accountCodes: any;
|
|
8
|
+
search: any;
|
|
9
|
+
status: any;
|
|
10
|
+
roleId: any;
|
|
11
|
+
statuses: any;
|
|
12
|
+
roleIds: any;
|
|
13
|
+
page: any;
|
|
14
|
+
pageSize: any;
|
|
15
|
+
}): UseQueryResult<Team.TeamResponse, unknown>;
|
|
16
|
+
export declare function useGetRoles(): UseQueryResult<Team.RolesList[], AxiosError>;
|
|
17
|
+
export declare function useGetRolesPermissions(): UseQueryResult<Team.ListRolesPermissions[], unknown>;
|
|
18
|
+
export declare function useGetPermissionsCatalog(): UseQueryResult<Team.CatalogPermissions[], unknown>;
|
|
19
|
+
export declare function useGetOrgRolesPermissions(): UseQueryResult<Team.ListRolesPermissions[], unknown>;
|
|
20
|
+
export declare function useGetOrgPermissionsCatalog(): UseQueryResult<Team.CatalogPermissions[], unknown>;
|
|
21
|
+
export declare function useGetUserExportStatus({ exportCode, enabled, }: {
|
|
22
|
+
exportCode: string;
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
}): UseQueryResult<Team.UserExportDetailResponse, AxiosError>;
|
|
25
|
+
export declare function useListUserExports({ page, pageSize, enabled, }: Team.UserExportListParams & {
|
|
26
|
+
enabled?: boolean;
|
|
27
|
+
}): UseQueryResult<Team.UserExportListResponse, AxiosError>;
|
|
28
|
+
export declare function useFetchUserExportDetail(): (exportCode: string) => Promise<Team.UserExportDetailResponse>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './template-reporting.query';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { AxiosError } from 'axios';
|
|
3
|
+
import { TemplateReporting } from '../../types';
|
|
4
|
+
export declare function useSearchTemplates(payload: TemplateReporting.SearchTemplatesRequest, enabled: boolean): UseQueryResult<TemplateReporting.GetTemplatesListResponse, AxiosError>;
|
|
5
|
+
export declare function useSearchTemplateById(templateId: number, payload: TemplateReporting.SearchTemplateByIdRequest, enabled: boolean): UseQueryResult<TemplateReporting.ReportTemplate, AxiosError>;
|
|
6
|
+
export declare function useSearchSchedules(payload: TemplateReporting.SearchSchedulesRequest, enabled: boolean): UseQueryResult<TemplateReporting.GetSchedulesListResponse, AxiosError>;
|
|
7
|
+
export declare function useSearchScheduleById(scheduleId: number, payload: TemplateReporting.SearchScheduleByIdRequest, enabled: boolean): UseQueryResult<TemplateReporting.ReportSchedule, AxiosError>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './translation.query';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { AxiosError } from 'axios';
|
|
3
|
+
import { Translation } from '../../types';
|
|
4
|
+
export declare function useGetLanguages(): UseQueryResult<Translation.Languages, AxiosError>;
|
|
5
|
+
export declare function useGetTranslations(): UseQueryResult<Translation.Translations, AxiosError>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './users.query';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { AxiosError } from 'axios';
|
|
3
|
+
import { Accounts, User, AI, GetUserFullResponse } from '../../types';
|
|
4
|
+
export declare function useGetProfile(): UseQueryResult<User.UserResponsePayload, unknown>;
|
|
5
|
+
export declare function useGetUserFull(): UseQueryResult<GetUserFullResponse, unknown>;
|
|
6
|
+
export declare function useGetPermissions(organizationCode: any, accountCode: any): UseQueryResult<Accounts.PermissionsResponse[], unknown>;
|
|
7
|
+
export declare function useEmailVerification(email: string): UseQueryResult<User.UserResponseEmailVerification | string, unknown>;
|
|
8
|
+
export declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
9
|
+
export declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
10
|
+
export declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
11
|
+
export declare function useGetUsersToImpersonate(organizationCode: string, accountCodes?: string[], page?: number, pageSize?: number, searchValue?: string, roleIds?: string[]): UseQueryResult<User.UsersToImpersonateResponse, AxiosError>;
|
|
12
|
+
export declare function useCommunications(payload: {
|
|
13
|
+
start_date: string;
|
|
14
|
+
end_date: string;
|
|
15
|
+
account_codes: string[];
|
|
16
|
+
country: string[];
|
|
17
|
+
status: string[];
|
|
18
|
+
focus: string[];
|
|
19
|
+
skip: number;
|
|
20
|
+
limit: number;
|
|
21
|
+
search_value: string;
|
|
22
|
+
channel: string[];
|
|
23
|
+
}): UseQueryResult<AI.CommunicationsListResponse, AxiosError>;
|
|
24
|
+
export declare function useCommunicationsFilters(): UseQueryResult<AI.CommunicationsFiltersResponse, AxiosError>;
|
|
25
|
+
export declare function useCommunicationDetails(communicationId: string, accountCode: string): UseQueryResult<AI.CommunicationDetailsResponse, AxiosError>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './velocity-rules.query';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { VelocityRules } from '../../types';
|
|
3
|
+
export declare function usePostVelocityRules(params: {
|
|
4
|
+
[key: string]: string | string[];
|
|
5
|
+
}): UseQueryResult<VelocityRules.VelocityRulesList, unknown>;
|
|
6
|
+
export declare function useGetAllConfigRules(): UseQueryResult<unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './webhook-timeline.query';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { Audit } from '../../types';
|
|
3
|
+
import { AxiosError } from 'axios';
|
|
4
|
+
import { BFFErrorResponse } from '../../mutations';
|
|
5
|
+
export interface UseGetWebhookTimelineOptions {
|
|
6
|
+
paymentCode: string;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function useGetWebhookTimeline({ paymentCode, enabled, }: UseGetWebhookTimelineOptions): UseQueryResult<Audit.WebhookTimelineResponse, AxiosError<BFFErrorResponse>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './accounts';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { SmartRouting } from '../smart-routing';
|
|
2
|
+
export declare namespace AI {
|
|
3
|
+
/**
|
|
4
|
+
* @description Payload for AI generation feedback
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* code: '123', // code of the workflow, not the version code
|
|
8
|
+
* generated_json: [{
|
|
9
|
+
* type: 'condition',
|
|
10
|
+
* value: '123'
|
|
11
|
+
* }],
|
|
12
|
+
* status: 'ACCEPTED' | 'REJECTED' | 'FRONT_FAILED'
|
|
13
|
+
*/
|
|
14
|
+
type AIGenerate = {
|
|
15
|
+
code: string;
|
|
16
|
+
generated_json: {
|
|
17
|
+
condition_sets: SmartRouting.ConditionItem[];
|
|
18
|
+
};
|
|
19
|
+
status: AIGenerateStatus;
|
|
20
|
+
};
|
|
21
|
+
enum AIGenerateStatus {
|
|
22
|
+
ACCEPTED = "ACCEPTED",
|
|
23
|
+
REFUSED = "REFUSED",
|
|
24
|
+
FRONT_FAILED = "FRONT_FAILED"
|
|
25
|
+
}
|
|
26
|
+
type CommunicationItem = {
|
|
27
|
+
communication_id: string;
|
|
28
|
+
order_id: string;
|
|
29
|
+
payment_id: string;
|
|
30
|
+
status: string;
|
|
31
|
+
sub_status: string;
|
|
32
|
+
destination_phone: string | null;
|
|
33
|
+
duration: number;
|
|
34
|
+
country: string;
|
|
35
|
+
channel: string;
|
|
36
|
+
messages: number;
|
|
37
|
+
focus: string | null;
|
|
38
|
+
created_at: string;
|
|
39
|
+
};
|
|
40
|
+
type CommunicationsListResponse = {
|
|
41
|
+
total: number;
|
|
42
|
+
skip: number;
|
|
43
|
+
limit: number;
|
|
44
|
+
data: CommunicationItem[];
|
|
45
|
+
};
|
|
46
|
+
type CommunicationsFiltersResponse = {
|
|
47
|
+
countries: string[];
|
|
48
|
+
status: string[];
|
|
49
|
+
focus: string[];
|
|
50
|
+
};
|
|
51
|
+
type TranscriptionMessage = {
|
|
52
|
+
id: string;
|
|
53
|
+
role: string;
|
|
54
|
+
content: string | null;
|
|
55
|
+
created_at: string;
|
|
56
|
+
provider_status: string;
|
|
57
|
+
status: string;
|
|
58
|
+
content_type: string | null;
|
|
59
|
+
media_content_type: string | null;
|
|
60
|
+
media_url: string | null;
|
|
61
|
+
};
|
|
62
|
+
type CommunicationDetailsResponse = {
|
|
63
|
+
communication_id: string;
|
|
64
|
+
order_id: string;
|
|
65
|
+
payment_id: string;
|
|
66
|
+
status: string;
|
|
67
|
+
sub_status?: string;
|
|
68
|
+
destination_phone: string | null;
|
|
69
|
+
duration: number;
|
|
70
|
+
country: string;
|
|
71
|
+
channel: string;
|
|
72
|
+
messages: number;
|
|
73
|
+
focus: string | null;
|
|
74
|
+
created_at: string;
|
|
75
|
+
summary: string;
|
|
76
|
+
transcription: TranscriptionMessage[];
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ai';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './allowed-list';
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
export declare namespace Audit {
|
|
2
|
+
interface ApiLogsDetailByPaymentCode {
|
|
3
|
+
data: ApiLogByTransactionCode[];
|
|
4
|
+
page: number;
|
|
5
|
+
size: number;
|
|
6
|
+
total_rows: number;
|
|
7
|
+
total_pages: number;
|
|
8
|
+
}
|
|
9
|
+
interface AuditEventsParams {
|
|
10
|
+
page: number;
|
|
11
|
+
size: number;
|
|
12
|
+
periodicity?: string;
|
|
13
|
+
account_code?: string[];
|
|
14
|
+
event?: string[];
|
|
15
|
+
source?: string[];
|
|
16
|
+
start_date?: string;
|
|
17
|
+
end_date?: string;
|
|
18
|
+
search?: string[];
|
|
19
|
+
organizationCode?: string;
|
|
20
|
+
time_zone?: string;
|
|
21
|
+
now?: string;
|
|
22
|
+
}
|
|
23
|
+
interface AuditEventData {
|
|
24
|
+
code: string;
|
|
25
|
+
user_code: string;
|
|
26
|
+
user_email?: string;
|
|
27
|
+
event: string;
|
|
28
|
+
source: string;
|
|
29
|
+
ip: string;
|
|
30
|
+
request: any;
|
|
31
|
+
response: any;
|
|
32
|
+
user: {
|
|
33
|
+
code: string;
|
|
34
|
+
email: string;
|
|
35
|
+
first_name: string;
|
|
36
|
+
last_name: string;
|
|
37
|
+
rol_id: string;
|
|
38
|
+
rol_name: string;
|
|
39
|
+
};
|
|
40
|
+
account_name: string;
|
|
41
|
+
account_code: string;
|
|
42
|
+
description: string;
|
|
43
|
+
requested_at: string;
|
|
44
|
+
translations: {
|
|
45
|
+
key: string;
|
|
46
|
+
params?: string[] | null;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
interface AuditEvents {
|
|
51
|
+
page: number;
|
|
52
|
+
size: number;
|
|
53
|
+
total_rows: number;
|
|
54
|
+
total_pages: number;
|
|
55
|
+
data?: AuditEventData[] | null;
|
|
56
|
+
}
|
|
57
|
+
interface AuditMonitorsParams {
|
|
58
|
+
page: number;
|
|
59
|
+
size: number;
|
|
60
|
+
periodicity: string;
|
|
61
|
+
status?: string[];
|
|
62
|
+
payment_methods?: string[];
|
|
63
|
+
providers?: string[];
|
|
64
|
+
traffic_redistribution?: boolean;
|
|
65
|
+
start_date?: string;
|
|
66
|
+
end_date?: string;
|
|
67
|
+
now: string;
|
|
68
|
+
time_zone: string;
|
|
69
|
+
account_codes?: string[] | null;
|
|
70
|
+
}
|
|
71
|
+
interface AuditMonitorData {
|
|
72
|
+
alert_id: number;
|
|
73
|
+
status: string;
|
|
74
|
+
route_name: string;
|
|
75
|
+
payment_method: string;
|
|
76
|
+
provider_id: string;
|
|
77
|
+
connection_name: string;
|
|
78
|
+
recovered_at?: string | null;
|
|
79
|
+
created_at: string;
|
|
80
|
+
configured_threshold: number;
|
|
81
|
+
configured_timelapse: number;
|
|
82
|
+
route_plan_index: number;
|
|
83
|
+
total_transactions: number;
|
|
84
|
+
redistribution_active: boolean;
|
|
85
|
+
condition_set_name: string;
|
|
86
|
+
condition_set_id: number;
|
|
87
|
+
approval_rate: number;
|
|
88
|
+
account_code: string;
|
|
89
|
+
}
|
|
90
|
+
interface AuditMonitors {
|
|
91
|
+
page: number;
|
|
92
|
+
size: number;
|
|
93
|
+
total_rows: number;
|
|
94
|
+
total_pages: number;
|
|
95
|
+
data?: AuditMonitorData[];
|
|
96
|
+
}
|
|
97
|
+
interface AuditMonitorDetail {
|
|
98
|
+
alert_id: number;
|
|
99
|
+
status: string;
|
|
100
|
+
outage_duration: number;
|
|
101
|
+
created_at: string;
|
|
102
|
+
recovered_at: string;
|
|
103
|
+
approval_rate: number;
|
|
104
|
+
connection_name: string;
|
|
105
|
+
condition_set_id: number;
|
|
106
|
+
condition_set_name: string;
|
|
107
|
+
published_route_name: string;
|
|
108
|
+
route_name: string;
|
|
109
|
+
fallback_provider_id: number;
|
|
110
|
+
configured_threshold: number;
|
|
111
|
+
configured_timelapse: number;
|
|
112
|
+
decline_reasons: DeclineReason[];
|
|
113
|
+
}
|
|
114
|
+
interface DeclineReason {
|
|
115
|
+
type: string;
|
|
116
|
+
percentage: number;
|
|
117
|
+
}
|
|
118
|
+
interface ExportWebhooksLogsRequest {
|
|
119
|
+
report_name: string;
|
|
120
|
+
account_code?: string[];
|
|
121
|
+
start_date: string;
|
|
122
|
+
end_date: string;
|
|
123
|
+
time_zone: string;
|
|
124
|
+
organizationCode?: string;
|
|
125
|
+
status_codes?: string[];
|
|
126
|
+
methods?: string[];
|
|
127
|
+
size?: number;
|
|
128
|
+
page?: number;
|
|
129
|
+
}
|
|
130
|
+
interface ExportApiLogsRequest {
|
|
131
|
+
report_name: string;
|
|
132
|
+
account_code?: string[];
|
|
133
|
+
start_date: string;
|
|
134
|
+
end_date: string;
|
|
135
|
+
time_zone: string;
|
|
136
|
+
organizationCode?: string;
|
|
137
|
+
status_codes?: string[];
|
|
138
|
+
methods?: string[];
|
|
139
|
+
size?: number;
|
|
140
|
+
page?: number;
|
|
141
|
+
}
|
|
142
|
+
interface AuditApiJSON {
|
|
143
|
+
[key: string]: string;
|
|
144
|
+
}
|
|
145
|
+
interface AuditApiLogs {
|
|
146
|
+
code: string;
|
|
147
|
+
url: string;
|
|
148
|
+
method: string;
|
|
149
|
+
source: string;
|
|
150
|
+
headers: AuditApiJSON;
|
|
151
|
+
request: AuditApiJSON;
|
|
152
|
+
response: AuditApiJSON;
|
|
153
|
+
account_name: string;
|
|
154
|
+
account_code: string;
|
|
155
|
+
status_code: number;
|
|
156
|
+
trace_id: string;
|
|
157
|
+
created_at: string;
|
|
158
|
+
}
|
|
159
|
+
interface AuditApiLogsResponse {
|
|
160
|
+
data: AuditApiLogs[];
|
|
161
|
+
page: number;
|
|
162
|
+
size: number;
|
|
163
|
+
total_rows: number;
|
|
164
|
+
total_pages: number;
|
|
165
|
+
}
|
|
166
|
+
interface AuditApiLogsParams {
|
|
167
|
+
page: number;
|
|
168
|
+
size: number;
|
|
169
|
+
periodicity?: string;
|
|
170
|
+
account_code?: string[];
|
|
171
|
+
organizationCode?: string;
|
|
172
|
+
status_codes?: string[];
|
|
173
|
+
methods?: string[];
|
|
174
|
+
}
|
|
175
|
+
interface AuditWebhooksParams {
|
|
176
|
+
page: number;
|
|
177
|
+
size: number;
|
|
178
|
+
organizationCode?: string;
|
|
179
|
+
periodicity?: string;
|
|
180
|
+
account_code?: string[];
|
|
181
|
+
status_codes?: string[];
|
|
182
|
+
methods?: string[];
|
|
183
|
+
}
|
|
184
|
+
interface AuditWebhooks {
|
|
185
|
+
id: number;
|
|
186
|
+
organization_code: string;
|
|
187
|
+
account_code: string;
|
|
188
|
+
type: string;
|
|
189
|
+
created_at: string;
|
|
190
|
+
updated_at: string;
|
|
191
|
+
time: number;
|
|
192
|
+
http_method: string;
|
|
193
|
+
url: string;
|
|
194
|
+
request: string;
|
|
195
|
+
response: string;
|
|
196
|
+
response_status: number;
|
|
197
|
+
connect_timeout: number;
|
|
198
|
+
read_timeout: number;
|
|
199
|
+
exception: string;
|
|
200
|
+
headers: string;
|
|
201
|
+
trace_id: string;
|
|
202
|
+
origin_id: string;
|
|
203
|
+
}
|
|
204
|
+
interface AuditWebhooksResponse {
|
|
205
|
+
data: AuditWebhooks[];
|
|
206
|
+
page: number;
|
|
207
|
+
size: number;
|
|
208
|
+
total_rows: number;
|
|
209
|
+
total_pages: number;
|
|
210
|
+
}
|
|
211
|
+
interface AuditWebhooksResendParams {
|
|
212
|
+
codes: string[];
|
|
213
|
+
}
|
|
214
|
+
interface ApiLogV3 {
|
|
215
|
+
code: string;
|
|
216
|
+
url: string;
|
|
217
|
+
method: string;
|
|
218
|
+
source: string;
|
|
219
|
+
headers: AuditApiJSON;
|
|
220
|
+
request: AuditApiJSON;
|
|
221
|
+
response: AuditApiJSON;
|
|
222
|
+
account_name: string;
|
|
223
|
+
account_code: string;
|
|
224
|
+
status_code: number;
|
|
225
|
+
trace_id: string;
|
|
226
|
+
created_at: string;
|
|
227
|
+
payment_code?: string;
|
|
228
|
+
transaction_code?: string;
|
|
229
|
+
}
|
|
230
|
+
interface ApiLogsV3Response {
|
|
231
|
+
data: ApiLogV3[];
|
|
232
|
+
page: number;
|
|
233
|
+
size: number;
|
|
234
|
+
total_rows: number;
|
|
235
|
+
total_pages: number;
|
|
236
|
+
}
|
|
237
|
+
interface ApiLogsV3Params {
|
|
238
|
+
page: number;
|
|
239
|
+
size: number;
|
|
240
|
+
periodicity?: string;
|
|
241
|
+
account_code?: string[];
|
|
242
|
+
organizationCode?: string;
|
|
243
|
+
status_codes?: string[];
|
|
244
|
+
methods?: string[];
|
|
245
|
+
start_date?: string;
|
|
246
|
+
end_date?: string;
|
|
247
|
+
search?: string;
|
|
248
|
+
time_zone?: string;
|
|
249
|
+
now?: string;
|
|
250
|
+
payment_code?: string;
|
|
251
|
+
}
|
|
252
|
+
interface WebhookTimelineItem {
|
|
253
|
+
id: number;
|
|
254
|
+
organization_code: string;
|
|
255
|
+
account_code: string;
|
|
256
|
+
type: string;
|
|
257
|
+
created_at: string;
|
|
258
|
+
updated_at: string;
|
|
259
|
+
time: number;
|
|
260
|
+
http_method: string;
|
|
261
|
+
url: string;
|
|
262
|
+
request: string;
|
|
263
|
+
response: string;
|
|
264
|
+
response_status: number;
|
|
265
|
+
connect_timeout: number;
|
|
266
|
+
read_timeout: number;
|
|
267
|
+
exception: string;
|
|
268
|
+
headers: string;
|
|
269
|
+
trace_id: string;
|
|
270
|
+
origin_id: string;
|
|
271
|
+
payment_code?: string;
|
|
272
|
+
transaction_code?: string;
|
|
273
|
+
}
|
|
274
|
+
interface WebhookTimelineResponse {
|
|
275
|
+
data: WebhookTimelineItem[];
|
|
276
|
+
page: number;
|
|
277
|
+
size: number;
|
|
278
|
+
total_rows: number;
|
|
279
|
+
total_pages: number;
|
|
280
|
+
}
|
|
281
|
+
interface WebhookTimelineParams {
|
|
282
|
+
page: number;
|
|
283
|
+
size: number;
|
|
284
|
+
organizationCode?: string;
|
|
285
|
+
periodicity?: string;
|
|
286
|
+
account_code?: string[];
|
|
287
|
+
status_codes?: string[];
|
|
288
|
+
methods?: string[];
|
|
289
|
+
start_date?: string;
|
|
290
|
+
end_date?: string;
|
|
291
|
+
time_zone?: string;
|
|
292
|
+
now?: string;
|
|
293
|
+
payment_code?: string;
|
|
294
|
+
transaction_code?: string;
|
|
295
|
+
}
|
|
296
|
+
interface ApiLogByTransactionCode {
|
|
297
|
+
code: string;
|
|
298
|
+
url: string;
|
|
299
|
+
method: string;
|
|
300
|
+
source: string;
|
|
301
|
+
headers: AuditApiJSON;
|
|
302
|
+
request: AuditApiJSON;
|
|
303
|
+
response: AuditApiJSON;
|
|
304
|
+
account_name: string;
|
|
305
|
+
account_code: string;
|
|
306
|
+
status_code: number;
|
|
307
|
+
trace_id: string;
|
|
308
|
+
created_at: string;
|
|
309
|
+
}
|
|
310
|
+
enum AuditExportReportType {
|
|
311
|
+
DASHBOARD = "DASHBOARD",
|
|
312
|
+
API = "API",
|
|
313
|
+
WEBHOOKS = "WEBHOOKS",
|
|
314
|
+
MONITORS = "MONITORS"
|
|
315
|
+
}
|
|
316
|
+
type AuditExportStatus = 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
|
317
|
+
interface ExportDashboardLogsRequest {
|
|
318
|
+
report_name: string;
|
|
319
|
+
account_code?: string[];
|
|
320
|
+
start_date: string;
|
|
321
|
+
end_date: string;
|
|
322
|
+
time_zone: string;
|
|
323
|
+
event?: string[];
|
|
324
|
+
source?: string[];
|
|
325
|
+
search?: string[];
|
|
326
|
+
}
|
|
327
|
+
interface ExportMonitorsLogsRequest {
|
|
328
|
+
report_name: string;
|
|
329
|
+
account_codes?: string[];
|
|
330
|
+
start_date: string;
|
|
331
|
+
end_date: string;
|
|
332
|
+
time_zone: string;
|
|
333
|
+
status?: string[];
|
|
334
|
+
payment_methods?: string[];
|
|
335
|
+
providers?: string[];
|
|
336
|
+
traffic_redistribution?: boolean;
|
|
337
|
+
}
|
|
338
|
+
type UnifiedExportTabType = 'dashboard-logs' | 'api-logs' | 'webhook-logs' | 'monitor-logs';
|
|
339
|
+
interface UnifiedExportRequest {
|
|
340
|
+
start_date: string;
|
|
341
|
+
end_date: string;
|
|
342
|
+
export_name: string;
|
|
343
|
+
timezone: string;
|
|
344
|
+
accounts?: string[];
|
|
345
|
+
columns?: string[];
|
|
346
|
+
}
|
|
347
|
+
interface UnifiedExportStartResponse {
|
|
348
|
+
export_id: string;
|
|
349
|
+
status: AuditExportStatus;
|
|
350
|
+
message: string;
|
|
351
|
+
}
|
|
352
|
+
interface UnifiedExportStatusResponse {
|
|
353
|
+
export_id: string;
|
|
354
|
+
status: AuditExportStatus;
|
|
355
|
+
download_url?: string;
|
|
356
|
+
created_at: string;
|
|
357
|
+
export_name: string;
|
|
358
|
+
error_message?: string | null;
|
|
359
|
+
}
|
|
360
|
+
interface UnifiedExportListResponse {
|
|
361
|
+
exports: UnifiedExportStatusResponse[];
|
|
362
|
+
total: number;
|
|
363
|
+
page: number;
|
|
364
|
+
size: number;
|
|
365
|
+
}
|
|
366
|
+
interface AuditExportResponse {
|
|
367
|
+
report_id: string;
|
|
368
|
+
report_type: AuditExportReportType;
|
|
369
|
+
status: AuditExportStatus;
|
|
370
|
+
name: string;
|
|
371
|
+
start_date: string;
|
|
372
|
+
end_date: string;
|
|
373
|
+
created_at: string;
|
|
374
|
+
updated_at: string;
|
|
375
|
+
url?: string | null;
|
|
376
|
+
}
|
|
377
|
+
interface AuditExportListResponse {
|
|
378
|
+
data: AuditExportResponse[];
|
|
379
|
+
page: number;
|
|
380
|
+
size: number;
|
|
381
|
+
total_rows: number;
|
|
382
|
+
total_pages: number;
|
|
383
|
+
}
|
|
384
|
+
interface AuditExportDownloadResponse {
|
|
385
|
+
redirect_link: string;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './audit';
|