@yuno-payments/dashboard-api-mfe 0.39.6 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +241 -0
- package/build/cjs/index.js.map +1 -0
- package/build/{types → cjs/types}/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +3 -2
- package/build/{types → cjs/types}/api/api.d.ts +4 -1
- package/build/{types → cjs/types}/lib/http-client/http-client.d.ts +7 -0
- package/build/{types → cjs/types}/mutations/chartgpt/chartgpt.mutation.d.ts +4 -0
- package/build/{types → cjs/types}/mutations/connections/connections.mutation.d.ts +5 -0
- package/build/{types → cjs/types}/queries/index.d.ts +1 -0
- package/build/cjs/types/queries/network-tokens/index.d.ts +1 -0
- package/build/cjs/types/queries/network-tokens/network-tokens.query.d.ts +5 -0
- package/build/{types → cjs/types}/types/audit/audit.d.ts +3 -2
- package/build/{types → cjs/types}/types/connection/connection.d.ts +18 -0
- package/build/{types → cjs/types}/types/organization/organization.d.ts +2 -0
- package/build/{types → cjs/types}/utils/test-utils.d.ts +2 -1
- package/build/esm/index.js +241 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/types/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +11 -0
- package/build/esm/types/api/api.d.ts +540 -0
- package/build/esm/types/api/api.singleton.d.ts +9 -0
- package/build/esm/types/api/api.types.d.ts +199 -0
- package/build/esm/types/api/index.d.ts +3 -0
- package/build/esm/types/api-provider.d.ts +4 -0
- package/build/esm/types/common/config.d.ts +13 -0
- package/build/esm/types/constants/errors-code.constant.d.ts +5 -0
- package/build/esm/types/constants/index.d.ts +1 -0
- package/build/esm/types/lib/http-client/__tests__/http-client.test.d.ts +1 -0
- package/build/esm/types/lib/http-client/api.config.d.ts +2 -0
- package/build/esm/types/lib/http-client/axios.d.ts +19 -0
- package/build/esm/types/lib/http-client/http-client.d.ts +175 -0
- package/build/esm/types/lib/http-client/index.d.ts +2 -0
- package/build/esm/types/msw/browser.d.ts +1 -0
- package/build/esm/types/msw/handlers/index.d.ts +1 -0
- package/build/esm/types/msw/handlers/insights.d.ts +1 -0
- package/build/esm/types/msw/handlers/organizations.d.ts +1 -0
- package/build/esm/types/msw/handlers/payments.d.ts +1 -0
- package/build/esm/types/msw/index.d.ts +1 -0
- package/build/esm/types/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +14 -0
- package/build/esm/types/msw/mocks/insights/conversion-rate/overview.mock.d.ts +34 -0
- package/build/esm/types/msw/mocks/insights/overview/overview-metrics.mock.d.ts +9 -0
- package/build/esm/types/msw/mocks/insights/overview/overview.mock.d.ts +139 -0
- package/build/esm/types/msw/mocks/payments/payments.mock.d.ts +92 -0
- package/build/esm/types/msw/mocks/payments/transaction-details.mock.d.ts +579 -0
- package/build/esm/types/mutations/S3Client/S3Client.mutation.d.ts +6 -0
- package/build/esm/types/mutations/S3Client/index.d.ts +1 -0
- package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +52 -0
- package/build/esm/types/mutations/accounts/delete-mutation.d.ts +20 -0
- package/build/esm/types/mutations/accounts/index.d.ts +1 -0
- package/build/esm/types/mutations/ai/ai.mutation.d.ts +28 -0
- package/build/esm/types/mutations/ai/ai.mutation.test.d.ts +1 -0
- package/build/esm/types/mutations/ai/index.d.ts +1 -0
- package/build/esm/types/mutations/audit/audit-api.mutation.d.ts +5 -0
- package/build/esm/types/mutations/audit/audit.mutation.d.ts +6 -0
- package/build/esm/types/mutations/audit/index.d.ts +2 -0
- package/build/esm/types/mutations/batch-refunds/batch-refunds.mutation.d.ts +32 -0
- package/build/esm/types/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +1 -0
- package/build/esm/types/mutations/batch-refunds/index.d.ts +1 -0
- package/build/esm/types/mutations/chartgpt/chartgpt.mutation.d.ts +41 -0
- package/build/esm/types/mutations/chartgpt/index.d.ts +1 -0
- package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +11 -0
- package/build/esm/types/mutations/checkouts/index.d.ts +2 -0
- package/build/esm/types/mutations/checkouts/styling/styling.mutation.d.ts +2 -0
- package/build/esm/types/mutations/connections/connections.mutation.d.ts +41 -0
- package/build/esm/types/mutations/connections/index.d.ts +1 -0
- package/build/esm/types/mutations/developers/developers.mutation.d.ts +21 -0
- package/build/esm/types/mutations/developers/index.d.ts +1 -0
- package/build/esm/types/mutations/fraud-screening/fraud-screening.mutation.d.ts +52 -0
- package/build/esm/types/mutations/fraud-screening/index.d.ts +1 -0
- package/build/esm/types/mutations/index.d.ts +30 -0
- package/build/esm/types/mutations/insights/index.d.ts +1 -0
- package/build/esm/types/mutations/insights/insights.mutation.d.ts +2 -0
- package/build/esm/types/mutations/multi-factor-authentication/index.d.ts +1 -0
- package/build/esm/types/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +12 -0
- package/build/esm/types/mutations/notifications/index.d.ts +1 -0
- package/build/esm/types/mutations/notifications/notifications.mutation.d.ts +6 -0
- 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/organizations/index.d.ts +1 -0
- package/build/esm/types/mutations/organizations/organizations.mutation.d.ts +2 -0
- package/build/esm/types/mutations/payment-links/index.d.ts +1 -0
- package/build/esm/types/mutations/payment-links/payment-links.mutation.d.ts +12 -0
- package/build/esm/types/mutations/payments/index.d.ts +1 -0
- package/build/esm/types/mutations/payments/payments.mutation.d.ts +13 -0
- package/build/esm/types/mutations/reconciliations/index.d.ts +2 -0
- package/build/esm/types/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +5 -0
- package/build/esm/types/mutations/reconciliations/reconciliations.mutation.d.ts +4 -0
- package/build/esm/types/mutations/reports/index.d.ts +1 -0
- package/build/esm/types/mutations/reports/reports.mutation.d.ts +8 -0
- package/build/esm/types/mutations/routing-monitors/index.d.ts +1 -0
- package/build/esm/types/mutations/routing-monitors/routing-monitors.mutation.d.ts +4 -0
- package/build/esm/types/mutations/saml-config/index.d.ts +1 -0
- package/build/esm/types/mutations/saml-config/saml-config.query.d.ts +4 -0
- package/build/esm/types/mutations/scheduled-reports/index.d.ts +1 -0
- package/build/esm/types/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +8 -0
- package/build/esm/types/mutations/security/index.d.ts +1 -0
- package/build/esm/types/mutations/security/security.mutation.d.ts +3 -0
- package/build/esm/types/mutations/settings/index.d.ts +1 -0
- package/build/esm/types/mutations/settings/settings.mutation.d.ts +17 -0
- package/build/esm/types/mutations/smart-routing/index.d.ts +1 -0
- package/build/esm/types/mutations/smart-routing/smart-routing.mutation.d.ts +67 -0
- package/build/esm/types/mutations/team/index.d.ts +1 -0
- package/build/esm/types/mutations/team/team.mutaion.test.d.ts +1 -0
- package/build/esm/types/mutations/team/team.mutation.d.ts +8 -0
- package/build/esm/types/mutations/template-reporting/index.d.ts +1 -0
- package/build/esm/types/mutations/template-reporting/template-reporting.mutation.d.ts +20 -0
- package/build/esm/types/mutations/users/index.d.ts +1 -0
- package/build/esm/types/mutations/users/users.mutation.d.ts +16 -0
- package/build/esm/types/mutations/velocity-rules/index.d.ts +1 -0
- package/build/esm/types/mutations/velocity-rules/velocity-rules.mutation.d.ts +5 -0
- package/build/esm/types/queries/accounts/accounts.query.d.ts +24 -0
- package/build/esm/types/queries/accounts/index.d.ts +1 -0
- package/build/esm/types/queries/audit/audit.query.d.ts +11 -0
- package/build/esm/types/queries/audit/index.d.ts +1 -0
- package/build/esm/types/queries/batch-refunds/batch-refunds.query.d.ts +3 -0
- package/build/esm/types/queries/batch-refunds/index.d.ts +1 -0
- package/build/esm/types/queries/chartgpt/chartgpt.query.d.ts +44 -0
- package/build/esm/types/queries/chartgpt/index.d.ts +1 -0
- package/build/esm/types/queries/checkouts/checkouts.query.d.ts +15 -0
- package/build/esm/types/queries/checkouts/index.d.ts +2 -0
- package/build/esm/types/queries/checkouts/styling/styling.query.d.ts +25 -0
- package/build/esm/types/queries/cms/cms.query.d.ts +14 -0
- package/build/esm/types/queries/cms/index.d.ts +1 -0
- package/build/esm/types/queries/connections/connections.query.d.ts +3 -0
- package/build/esm/types/queries/connections/index.d.ts +1 -0
- package/build/esm/types/queries/data-report/data-report.query.d.ts +17 -0
- package/build/esm/types/queries/data-report/fraud/fraud.query.d.ts +17 -0
- package/build/esm/types/queries/data-report/fraud/fraud.query.test.d.ts +1 -0
- package/build/esm/types/queries/data-report/index.d.ts +2 -0
- package/build/esm/types/queries/developers/developers.query.d.ts +14 -0
- package/build/esm/types/queries/developers/index.d.ts +1 -0
- package/build/esm/types/queries/dialogs/dialogs.query.d.ts +2 -0
- package/build/esm/types/queries/dialogs/index.d.ts +1 -0
- package/build/esm/types/queries/feature-flags/feature-flags.test.d.ts +1 -0
- package/build/esm/types/queries/feature-flags/index.d.ts +8 -0
- package/build/esm/types/queries/firebase/firebase.query.d.ts +10 -0
- package/build/esm/types/queries/firebase/index.d.ts +1 -0
- package/build/esm/types/queries/fraud-screening/fraud-screening.query.d.ts +11 -0
- package/build/esm/types/queries/fraud-screening/index.d.ts +1 -0
- package/build/esm/types/queries/index.d.ts +29 -0
- package/build/esm/types/queries/mfa/index.d.ts +1 -0
- package/build/esm/types/queries/mfa/organization-settings.query.d.ts +11 -0
- package/build/esm/types/queries/network-tokens/index.d.ts +1 -0
- package/build/esm/types/queries/network-tokens/network-tokens.query.d.ts +5 -0
- package/build/esm/types/queries/notifications/index.d.ts +1 -0
- package/build/esm/types/queries/notifications/notifications.query.d.ts +12 -0
- package/build/esm/types/queries/organizations/index.d.ts +1 -0
- package/build/esm/types/queries/organizations/organizations.query.d.ts +28 -0
- package/build/esm/types/queries/payment-links/index.d.ts +1 -0
- package/build/esm/types/queries/payment-links/payment-links.query.d.ts +7 -0
- package/build/esm/types/queries/payments/index.d.ts +2 -0
- package/build/esm/types/queries/payments/payments.query.d.ts +36 -0
- package/build/esm/types/queries/payments/payouts.query.d.ts +6 -0
- package/build/esm/types/queries/reconciliations/index.d.ts +6 -0
- package/build/esm/types/queries/reconciliations/reconciliations-advancements.query.d.ts +9 -0
- package/build/esm/types/queries/reconciliations/reconciliations-agenda.query.d.ts +9 -0
- package/build/esm/types/queries/reconciliations/reconciliations-alerts.query.d.ts +8 -0
- package/build/esm/types/queries/reconciliations/reconciliations-fees.query.d.ts +9 -0
- package/build/esm/types/queries/reconciliations/reconciliations-sales.query.d.ts +9 -0
- package/build/esm/types/queries/reconciliations/reconciliations.query.d.ts +11 -0
- package/build/esm/types/queries/reports/index.d.ts +1 -0
- package/build/esm/types/queries/reports/reports.query.d.ts +13 -0
- package/build/esm/types/queries/routing-monitors/index.d.ts +1 -0
- package/build/esm/types/queries/routing-monitors/routing-monitors.query.d.ts +4 -0
- package/build/esm/types/queries/saml-config/index.d.ts +1 -0
- package/build/esm/types/queries/saml-config/saml-config.query.d.ts +4 -0
- package/build/esm/types/queries/smart-routing/index.d.ts +1 -0
- package/build/esm/types/queries/smart-routing/smart-routing.query.d.ts +30 -0
- package/build/esm/types/queries/team/index.d.ts +1 -0
- package/build/esm/types/queries/team/team.query.d.ts +14 -0
- package/build/esm/types/queries/template-reporting/index.d.ts +1 -0
- package/build/esm/types/queries/template-reporting/template-reporting.query.d.ts +7 -0
- package/build/esm/types/queries/translation/index.d.ts +1 -0
- package/build/esm/types/queries/translation/translation.query.d.ts +5 -0
- package/build/esm/types/queries/users/index.d.ts +1 -0
- package/build/esm/types/queries/users/users.query.d.ts +25 -0
- package/build/esm/types/queries/velocity-rules/index.d.ts +1 -0
- package/build/esm/types/queries/velocity-rules/velocity-rules.query.d.ts +6 -0
- package/build/esm/types/store/index.d.ts +3 -0
- package/build/esm/types/types/accounts/accounts.d.ts +11 -0
- package/build/esm/types/types/accounts/index.d.ts +1 -0
- package/build/esm/types/types/ai/ai.d.ts +78 -0
- package/build/esm/types/types/ai/index.d.ts +1 -0
- package/build/esm/types/types/allowed-list/allowed-list.d.ts +9 -0
- package/build/esm/types/types/allowed-list/index.d.ts +1 -0
- package/build/esm/types/types/audit/audit.d.ts +192 -0
- package/build/esm/types/types/audit/index.d.ts +1 -0
- package/build/esm/types/types/batch-refunds/batch-refunds.d.ts +38 -0
- package/build/esm/types/types/batch-refunds/index.d.ts +1 -0
- package/build/esm/types/types/checkout/checkout.d.ts +207 -0
- package/build/esm/types/types/checkout/index.d.ts +1 -0
- package/build/esm/types/types/checkout/styling/styling.d.ts +215 -0
- package/build/esm/types/types/cms/cms.d.ts +47 -0
- package/build/esm/types/types/cms/index.d.ts +1 -0
- package/build/esm/types/types/connection/connection.d.ts +72 -0
- package/build/esm/types/types/connection/costs.d.ts +26 -0
- package/build/esm/types/types/connection/index.d.ts +2 -0
- package/build/esm/types/types/country/country.d.ts +12 -0
- package/build/esm/types/types/country/index.d.ts +1 -0
- package/build/esm/types/types/customized-api-keys/customized-api-keys.d.ts +30 -0
- package/build/esm/types/types/customized-api-keys/index.d.ts +1 -0
- package/build/esm/types/types/data-report/conversion-rate.types.d.ts +48 -0
- package/build/esm/types/types/data-report/data-report.d.ts +51 -0
- package/build/esm/types/types/data-report/fraud.types.d.ts +165 -0
- package/build/esm/types/types/data-report/index.d.ts +3 -0
- package/build/esm/types/types/developer/developer.d.ts +13 -0
- package/build/esm/types/types/developer/index.d.ts +1 -0
- package/build/esm/types/types/feature-flags/intex.d.ts +13 -0
- package/build/esm/types/types/fraud-screening/fraud-screening.d.ts +109 -0
- package/build/esm/types/types/fraud-screening/index.d.ts +1 -0
- package/build/esm/types/types/index.d.ts +31 -0
- package/build/esm/types/types/mfa/index.d.ts +1 -0
- package/build/esm/types/types/mfa/mfa.d.ts +6 -0
- package/build/esm/types/types/notifications/index.d.ts +1 -0
- package/build/esm/types/types/notifications/notifications.d.ts +39 -0
- package/build/esm/types/types/operation-transaction/index.d.ts +1 -0
- package/build/esm/types/types/operation-transaction/operation-transaction.d.ts +28 -0
- package/build/esm/types/types/organization/index.d.ts +1 -0
- package/build/esm/types/types/organization/organization.d.ts +136 -0
- package/build/esm/types/types/organization-settings/index.d.ts +1 -0
- package/build/esm/types/types/organization-settings/organization-settings.d.ts +27 -0
- package/build/esm/types/types/payment/index.d.ts +1 -0
- package/build/esm/types/types/payment/payment.d.ts +566 -0
- package/build/esm/types/types/payment-links/index.d.ts +1 -0
- package/build/esm/types/types/payment-links/payment-links.d.ts +15 -0
- package/build/esm/types/types/payouts/index.d.ts +1 -0
- package/build/esm/types/types/payouts/payouts.d.ts +105 -0
- package/build/esm/types/types/reconciliation/index.d.ts +6 -0
- package/build/esm/types/types/reconciliation/reconciliation-advancements.d.ts +40 -0
- package/build/esm/types/types/reconciliation/reconciliation-agenda.d.ts +84 -0
- package/build/esm/types/types/reconciliation/reconciliation-alerts.d.ts +38 -0
- package/build/esm/types/types/reconciliation/reconciliation-fees.d.ts +45 -0
- package/build/esm/types/types/reconciliation/reconciliation-sales.d.ts +56 -0
- package/build/esm/types/types/reconciliation/reconciliation.d.ts +345 -0
- package/build/esm/types/types/reports/index.d.ts +1 -0
- package/build/esm/types/types/reports/reports.d.ts +136 -0
- package/build/esm/types/types/routing-monitors/index.d.ts +1 -0
- package/build/esm/types/types/routing-monitors/routing-monitors.d.ts +35 -0
- package/build/esm/types/types/s3-client/index.d.ts +1 -0
- package/build/esm/types/types/s3-client/s3-client.d.ts +19 -0
- package/build/esm/types/types/saml-config/index.d.ts +1 -0
- package/build/esm/types/types/saml-config/saml-config.d.ts +28 -0
- package/build/esm/types/types/smart-routing/index.d.ts +1 -0
- package/build/esm/types/types/smart-routing/smart-routing.d.ts +330 -0
- package/build/esm/types/types/team/index.d.ts +1 -0
- package/build/esm/types/types/team/team.d.ts +75 -0
- package/build/esm/types/types/template-reporting/common.types.d.ts +60 -0
- package/build/esm/types/types/template-reporting/index.d.ts +47 -0
- package/build/esm/types/types/template-reporting/schedule.types.d.ts +58 -0
- package/build/esm/types/types/template-reporting/template.types.d.ts +86 -0
- package/build/esm/types/types/translation/index.d.ts +1 -0
- package/build/esm/types/types/translation/translation.d.ts +8 -0
- package/build/esm/types/types/user/index.d.ts +1 -0
- package/build/esm/types/types/user/user.d.ts +181 -0
- package/build/esm/types/types/velocity-rules/index.d.ts +1 -0
- package/build/esm/types/types/velocity-rules/velocity-rules.d.ts +15 -0
- package/build/esm/types/types/webhook/index.d.ts +1 -0
- package/build/esm/types/types/webhook/webhook.d.ts +63 -0
- package/build/esm/types/utils/enums.d.ts +162 -0
- package/build/esm/types/utils/handler-error.d.ts +6 -0
- package/build/esm/types/utils/test-utils.d.ts +5 -0
- package/build/esm/types/utils/use-localstorage.d.ts +2 -0
- package/build/esm/types/websockets/index.d.ts +1 -0
- package/build/esm/types/websockets/use-chart-assistant-socket.d.ts +17 -0
- package/build/esm/types/websockets/use-chart-assistant-socket.test.d.ts +1 -0
- package/build/esm/types/yuno-dashboard-api-mfe.d.ts +8 -0
- package/build/index.d.ts +38 -3
- package/package.json +30 -32
- package/build/index.js +0 -42
- /package/build/{types → cjs/types}/api/api.singleton.d.ts +0 -0
- /package/build/{types → cjs/types}/api/api.types.d.ts +0 -0
- /package/build/{types → cjs/types}/api/index.d.ts +0 -0
- /package/build/{types → cjs/types}/api-provider.d.ts +0 -0
- /package/build/{types → cjs/types}/common/config.d.ts +0 -0
- /package/build/{types → cjs/types}/constants/errors-code.constant.d.ts +0 -0
- /package/build/{types → cjs/types}/constants/index.d.ts +0 -0
- /package/build/{types → cjs/types}/lib/http-client/__tests__/http-client.test.d.ts +0 -0
- /package/build/{types → cjs/types}/lib/http-client/api.config.d.ts +0 -0
- /package/build/{types → cjs/types}/lib/http-client/axios.d.ts +0 -0
- /package/build/{types → cjs/types}/lib/http-client/index.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/browser.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/handlers/index.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/handlers/insights.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/handlers/organizations.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/handlers/payments.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/index.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/mocks/insights/conversion-rate/overview.mock.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/mocks/insights/overview/overview-metrics.mock.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/mocks/insights/overview/overview.mock.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/mocks/payments/payments.mock.d.ts +0 -0
- /package/build/{types → cjs/types}/msw/mocks/payments/transaction-details.mock.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/S3Client/S3Client.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/S3Client/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/accounts/accounts.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/accounts/delete-mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/accounts/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/ai/ai.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/ai/ai.mutation.test.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/ai/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/audit/audit-api.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/audit/audit.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/audit/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/batch-refunds/batch-refunds.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/batch-refunds/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/chartgpt/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/checkouts/checkouts.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/checkouts/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/checkouts/styling/styling.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/connections/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/developers/developers.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/developers/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/fraud-screening/fraud-screening.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/fraud-screening/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/insights/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/insights/insights.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/multi-factor-authentication/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/notifications/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/notifications/notifications.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/organization-settings/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/organization-settings/organization-settings.mutations.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/organizations/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/organizations/organizations.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/payment-links/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/payment-links/payment-links.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/payments/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/payments/payments.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/reconciliations/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/reconciliations/reconciliations.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/reports/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/reports/reports.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/routing-monitors/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/routing-monitors/routing-monitors.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/saml-config/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/saml-config/saml-config.query.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/scheduled-reports/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/security/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/security/security.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/settings/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/settings/settings.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/smart-routing/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/smart-routing/smart-routing.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/team/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/team/team.mutaion.test.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/team/team.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/template-reporting/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/template-reporting/template-reporting.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/users/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/users/users.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/velocity-rules/index.d.ts +0 -0
- /package/build/{types → cjs/types}/mutations/velocity-rules/velocity-rules.mutation.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/accounts/accounts.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/accounts/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/audit/audit.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/audit/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/batch-refunds/batch-refunds.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/batch-refunds/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/chartgpt/chartgpt.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/chartgpt/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/checkouts/checkouts.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/checkouts/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/checkouts/styling/styling.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/cms/cms.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/cms/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/connections/connections.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/connections/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/data-report/data-report.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/data-report/fraud/fraud.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/data-report/fraud/fraud.query.test.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/data-report/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/developers/developers.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/developers/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/dialogs/dialogs.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/dialogs/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/feature-flags/feature-flags.test.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/feature-flags/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/firebase/firebase.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/firebase/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/fraud-screening/fraud-screening.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/fraud-screening/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/mfa/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/mfa/organization-settings.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/notifications/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/notifications/notifications.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/organizations/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/organizations/organizations.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/payment-links/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/payment-links/payment-links.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/payments/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/payments/payments.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/payments/payouts.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reconciliations/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reconciliations/reconciliations-advancements.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reconciliations/reconciliations-agenda.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reconciliations/reconciliations-alerts.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reconciliations/reconciliations-fees.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reconciliations/reconciliations-sales.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reconciliations/reconciliations.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reports/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/reports/reports.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/routing-monitors/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/routing-monitors/routing-monitors.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/saml-config/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/saml-config/saml-config.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/smart-routing/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/smart-routing/smart-routing.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/team/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/team/team.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/template-reporting/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/template-reporting/template-reporting.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/translation/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/translation/translation.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/users/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/users/users.query.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/velocity-rules/index.d.ts +0 -0
- /package/build/{types → cjs/types}/queries/velocity-rules/velocity-rules.query.d.ts +0 -0
- /package/build/{types → cjs/types}/store/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/accounts/accounts.d.ts +0 -0
- /package/build/{types → cjs/types}/types/accounts/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/ai/ai.d.ts +0 -0
- /package/build/{types → cjs/types}/types/ai/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/allowed-list/allowed-list.d.ts +0 -0
- /package/build/{types → cjs/types}/types/allowed-list/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/audit/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/batch-refunds/batch-refunds.d.ts +0 -0
- /package/build/{types → cjs/types}/types/batch-refunds/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/checkout/checkout.d.ts +0 -0
- /package/build/{types → cjs/types}/types/checkout/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/checkout/styling/styling.d.ts +0 -0
- /package/build/{types → cjs/types}/types/cms/cms.d.ts +0 -0
- /package/build/{types → cjs/types}/types/cms/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/connection/costs.d.ts +0 -0
- /package/build/{types → cjs/types}/types/connection/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/country/country.d.ts +0 -0
- /package/build/{types → cjs/types}/types/country/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/customized-api-keys/customized-api-keys.d.ts +0 -0
- /package/build/{types → cjs/types}/types/customized-api-keys/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/data-report/conversion-rate.types.d.ts +0 -0
- /package/build/{types → cjs/types}/types/data-report/data-report.d.ts +0 -0
- /package/build/{types → cjs/types}/types/data-report/fraud.types.d.ts +0 -0
- /package/build/{types → cjs/types}/types/data-report/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/developer/developer.d.ts +0 -0
- /package/build/{types → cjs/types}/types/developer/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/feature-flags/intex.d.ts +0 -0
- /package/build/{types → cjs/types}/types/fraud-screening/fraud-screening.d.ts +0 -0
- /package/build/{types → cjs/types}/types/fraud-screening/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/mfa/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/mfa/mfa.d.ts +0 -0
- /package/build/{types → cjs/types}/types/notifications/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/notifications/notifications.d.ts +0 -0
- /package/build/{types → cjs/types}/types/operation-transaction/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/operation-transaction/operation-transaction.d.ts +0 -0
- /package/build/{types → cjs/types}/types/organization/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/organization-settings/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/organization-settings/organization-settings.d.ts +0 -0
- /package/build/{types → cjs/types}/types/payment/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/payment/payment.d.ts +0 -0
- /package/build/{types → cjs/types}/types/payment-links/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/payment-links/payment-links.d.ts +0 -0
- /package/build/{types → cjs/types}/types/payouts/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/payouts/payouts.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reconciliation/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reconciliation/reconciliation-advancements.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reconciliation/reconciliation-agenda.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reconciliation/reconciliation-alerts.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reconciliation/reconciliation-fees.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reconciliation/reconciliation-sales.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reconciliation/reconciliation.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reports/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/reports/reports.d.ts +0 -0
- /package/build/{types → cjs/types}/types/routing-monitors/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/routing-monitors/routing-monitors.d.ts +0 -0
- /package/build/{types → cjs/types}/types/s3-client/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/s3-client/s3-client.d.ts +0 -0
- /package/build/{types → cjs/types}/types/saml-config/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/saml-config/saml-config.d.ts +0 -0
- /package/build/{types → cjs/types}/types/smart-routing/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/smart-routing/smart-routing.d.ts +0 -0
- /package/build/{types → cjs/types}/types/team/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/team/team.d.ts +0 -0
- /package/build/{types → cjs/types}/types/template-reporting/common.types.d.ts +0 -0
- /package/build/{types → cjs/types}/types/template-reporting/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/template-reporting/schedule.types.d.ts +0 -0
- /package/build/{types → cjs/types}/types/template-reporting/template.types.d.ts +0 -0
- /package/build/{types → cjs/types}/types/translation/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/translation/translation.d.ts +0 -0
- /package/build/{types → cjs/types}/types/user/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/user/user.d.ts +0 -0
- /package/build/{types → cjs/types}/types/velocity-rules/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/velocity-rules/velocity-rules.d.ts +0 -0
- /package/build/{types → cjs/types}/types/webhook/index.d.ts +0 -0
- /package/build/{types → cjs/types}/types/webhook/webhook.d.ts +0 -0
- /package/build/{types → cjs/types}/utils/enums.d.ts +0 -0
- /package/build/{types → cjs/types}/utils/handler-error.d.ts +0 -0
- /package/build/{types → cjs/types}/utils/use-localstorage.d.ts +0 -0
- /package/build/{types → cjs/types}/websockets/index.d.ts +0 -0
- /package/build/{types → cjs/types}/websockets/use-chart-assistant-socket.d.ts +0 -0
- /package/build/{types → cjs/types}/websockets/use-chart-assistant-socket.test.d.ts +0 -0
- /package/build/{types → cjs/types}/yuno-dashboard-api-mfe.d.ts +0 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export declare namespace Reports {
|
|
2
|
+
interface ICreateReportPayload {
|
|
3
|
+
type: string;
|
|
4
|
+
start_date: string;
|
|
5
|
+
end_date: string;
|
|
6
|
+
merchant_reference_id: string;
|
|
7
|
+
}
|
|
8
|
+
interface ICreateReportsResponse {
|
|
9
|
+
status: 'COMPLETED' | 'PENDING';
|
|
10
|
+
total_lines: number;
|
|
11
|
+
url: string | null;
|
|
12
|
+
}
|
|
13
|
+
interface CountRowsReportsResponse {
|
|
14
|
+
total_rows: number;
|
|
15
|
+
}
|
|
16
|
+
interface IRetrieveReportResponse {
|
|
17
|
+
report_id: string;
|
|
18
|
+
report_type: string;
|
|
19
|
+
status: string;
|
|
20
|
+
merchant_reference_id: string;
|
|
21
|
+
start_date: string;
|
|
22
|
+
end_date: string;
|
|
23
|
+
created_at: string;
|
|
24
|
+
updated_at: string;
|
|
25
|
+
}
|
|
26
|
+
interface IListReportsQueryParams {
|
|
27
|
+
page_number: string;
|
|
28
|
+
page_size: string;
|
|
29
|
+
start_date: string;
|
|
30
|
+
end_date: string;
|
|
31
|
+
code?: string;
|
|
32
|
+
content: string;
|
|
33
|
+
}
|
|
34
|
+
interface IListReportsResponse {
|
|
35
|
+
report_id: number;
|
|
36
|
+
id: string;
|
|
37
|
+
organization_code: string;
|
|
38
|
+
account_code: string;
|
|
39
|
+
type: string;
|
|
40
|
+
s3_link: string;
|
|
41
|
+
merchant_reference_id: string;
|
|
42
|
+
start_date: string;
|
|
43
|
+
end_date: string;
|
|
44
|
+
created_at: string;
|
|
45
|
+
updated_at: string;
|
|
46
|
+
status: string;
|
|
47
|
+
}
|
|
48
|
+
interface ITemplate {
|
|
49
|
+
id: number;
|
|
50
|
+
name: string;
|
|
51
|
+
columns: string[];
|
|
52
|
+
organization_code: string;
|
|
53
|
+
flow_type: string;
|
|
54
|
+
metadata_fields: [];
|
|
55
|
+
type: ReportType;
|
|
56
|
+
}
|
|
57
|
+
interface ICreateTemplate {
|
|
58
|
+
name: string;
|
|
59
|
+
columns: string[];
|
|
60
|
+
metadata_fields?: string[];
|
|
61
|
+
type: string;
|
|
62
|
+
}
|
|
63
|
+
interface IColumn {
|
|
64
|
+
key: string;
|
|
65
|
+
name: string;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
export type CentralizedColumn = {
|
|
69
|
+
name: string;
|
|
70
|
+
table: string;
|
|
71
|
+
snowflake_name: string;
|
|
72
|
+
snowflake_table: string;
|
|
73
|
+
report_name: string;
|
|
74
|
+
type: 'general';
|
|
75
|
+
report_type: 'PAYOUTS';
|
|
76
|
+
dashboard_name: string;
|
|
77
|
+
selection: 'ALL';
|
|
78
|
+
CreatedAt: Date;
|
|
79
|
+
UpdatedAt: Date;
|
|
80
|
+
};
|
|
81
|
+
export declare enum ReportType {
|
|
82
|
+
PAYMENTS = "PAYMENTS",
|
|
83
|
+
TRANSACTIONS = "TRANSACTIONS",
|
|
84
|
+
FRAUD_TRANSACTIONS = "FRAUD_TRANSACTIONS",
|
|
85
|
+
PAYOUTS = "PAYOUTS"
|
|
86
|
+
}
|
|
87
|
+
export declare enum TemplateType {
|
|
88
|
+
ALL = "ALL",
|
|
89
|
+
DEFAULT = "DEFAULT",
|
|
90
|
+
CUSTOM = "CUSTOM"
|
|
91
|
+
}
|
|
92
|
+
export interface ICreateReportsRequest {
|
|
93
|
+
type: ReportType;
|
|
94
|
+
name: string;
|
|
95
|
+
start_date: string;
|
|
96
|
+
end_date: string;
|
|
97
|
+
template: string;
|
|
98
|
+
file_format: string;
|
|
99
|
+
filters?: {
|
|
100
|
+
account_codes?: string[];
|
|
101
|
+
payment_code?: string;
|
|
102
|
+
transaction_code?: string;
|
|
103
|
+
order_id?: string;
|
|
104
|
+
merchant_reference?: string;
|
|
105
|
+
provider_transaction_id?: string;
|
|
106
|
+
statuses?: string[];
|
|
107
|
+
sub_statuses?: string[];
|
|
108
|
+
payment_method_types?: string[];
|
|
109
|
+
provider_ids?: string[];
|
|
110
|
+
start_date?: string;
|
|
111
|
+
end_date?: string;
|
|
112
|
+
customer_payer_email?: string;
|
|
113
|
+
country?: string;
|
|
114
|
+
transaction_type?: string;
|
|
115
|
+
transaction_status?: string;
|
|
116
|
+
updated_at_start?: string;
|
|
117
|
+
updated_at_end?: string;
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
export interface IListScheduledReportsResponse {
|
|
121
|
+
id?: string;
|
|
122
|
+
code?: string;
|
|
123
|
+
name: string;
|
|
124
|
+
schedule_type: 'DAILY' | 'WEEKLY' | 'MONTHLY';
|
|
125
|
+
recipients?: string[];
|
|
126
|
+
columns: string[];
|
|
127
|
+
metadata_fields?: string[];
|
|
128
|
+
column_preference: 'ALL' | 'CUSTOM' | 'DEFAULT';
|
|
129
|
+
file_type: 'CSV' | 'CSV_ZIP';
|
|
130
|
+
report_type: 'PAYMENTS' | 'TRANSACTIONS' | 'FRAUD_TRANSACTIONS';
|
|
131
|
+
user_timezone: string;
|
|
132
|
+
day_scheduled: number | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY' | '';
|
|
133
|
+
hour_scheduled: string;
|
|
134
|
+
timezone: string;
|
|
135
|
+
day_week_scheduled: 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY' | '';
|
|
136
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './routing-monitors';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare namespace RoutingMonitors {
|
|
2
|
+
export interface TemplateSelector {
|
|
3
|
+
code: string;
|
|
4
|
+
template_name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface Template {
|
|
7
|
+
threshold: Threshold;
|
|
8
|
+
conditions: Condition[];
|
|
9
|
+
opsgenie_alert_users: any[];
|
|
10
|
+
}
|
|
11
|
+
interface Condition {
|
|
12
|
+
id: number;
|
|
13
|
+
approval_rate: number;
|
|
14
|
+
timelapse_seconds: number;
|
|
15
|
+
conditional: 'BETWEEN' | 'ABOVE' | 'BELOW';
|
|
16
|
+
payments_amounts: number[];
|
|
17
|
+
threshold_id: number;
|
|
18
|
+
}
|
|
19
|
+
interface Threshold {
|
|
20
|
+
id: number;
|
|
21
|
+
organization_code: string;
|
|
22
|
+
account_code: string;
|
|
23
|
+
code: string;
|
|
24
|
+
emails: string[];
|
|
25
|
+
redistribute_traffic: boolean;
|
|
26
|
+
unavailable_traffic_percentage: number;
|
|
27
|
+
available_traffic_percentage: number;
|
|
28
|
+
template_name: string;
|
|
29
|
+
condition_set_id?: number;
|
|
30
|
+
created_at: string;
|
|
31
|
+
updated_at?: string;
|
|
32
|
+
redistribution_active: boolean;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './s3-client';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare namespace S3Client {
|
|
2
|
+
interface UploadS3Response {
|
|
3
|
+
s3_url: string;
|
|
4
|
+
pre_signed_url: string;
|
|
5
|
+
}
|
|
6
|
+
interface PayloadV1 {
|
|
7
|
+
base64_data: string;
|
|
8
|
+
name_file: string;
|
|
9
|
+
ext_file: string;
|
|
10
|
+
base_path: string;
|
|
11
|
+
days: number;
|
|
12
|
+
}
|
|
13
|
+
interface PayloadV2 {
|
|
14
|
+
base64_data: string | ArrayBuffer;
|
|
15
|
+
name_file: string;
|
|
16
|
+
ext_file: string;
|
|
17
|
+
days: number;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './saml-config';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare namespace SamlConfig {
|
|
2
|
+
interface SamlConfigResponse {
|
|
3
|
+
code: string;
|
|
4
|
+
organization_code: string;
|
|
5
|
+
connection_name: string | null;
|
|
6
|
+
entity_id: string;
|
|
7
|
+
idp_entity_id: string | null;
|
|
8
|
+
sign_in_url: string | null;
|
|
9
|
+
sign_out_url: string | null;
|
|
10
|
+
certificate: string | null;
|
|
11
|
+
metadata_url: string | null;
|
|
12
|
+
http_binding: 'POST' | 'REDIRECT';
|
|
13
|
+
status: 'ENABLED' | 'DISABLED';
|
|
14
|
+
created_at: string;
|
|
15
|
+
updated_at: string;
|
|
16
|
+
}
|
|
17
|
+
interface SamlConfigRequest {
|
|
18
|
+
connection_name?: string;
|
|
19
|
+
entity_id: string;
|
|
20
|
+
idp_entity_id?: string;
|
|
21
|
+
sign_in_url?: string;
|
|
22
|
+
sign_out_url?: string;
|
|
23
|
+
certificate?: string;
|
|
24
|
+
metadata_url?: string;
|
|
25
|
+
http_binding?: 'POST' | 'REDIRECT';
|
|
26
|
+
status?: 'ENABLED' | 'DISABLED';
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './smart-routing';
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { Checkout } from '../checkout';
|
|
2
|
+
export declare namespace SmartRouting {
|
|
3
|
+
export type WorkflowStatus = 'DRAFT' | 'PUBLISHED';
|
|
4
|
+
export interface ExtendRoutingMethods extends Checkout.PaymentMethods {
|
|
5
|
+
is_routing_active?: boolean;
|
|
6
|
+
workflow_status: WorkflowStatus;
|
|
7
|
+
}
|
|
8
|
+
export interface PaymentMethods {
|
|
9
|
+
payment_methods: ExtendRoutingMethods[];
|
|
10
|
+
}
|
|
11
|
+
export type NextRoute = {
|
|
12
|
+
index: number;
|
|
13
|
+
percentage: number;
|
|
14
|
+
};
|
|
15
|
+
export interface Output {
|
|
16
|
+
output: StatusTransaction;
|
|
17
|
+
next_route_indexes: NextRoute[];
|
|
18
|
+
next_route_index: null;
|
|
19
|
+
id?: number;
|
|
20
|
+
decline_types: string[];
|
|
21
|
+
has_split: boolean;
|
|
22
|
+
order: number;
|
|
23
|
+
type: OutputType;
|
|
24
|
+
}
|
|
25
|
+
export type RouteType = 'PROVIDER' | 'ENDING' | 'SMART_ROUTING';
|
|
26
|
+
export interface Route {
|
|
27
|
+
outputs: Output[];
|
|
28
|
+
type: RouteType;
|
|
29
|
+
index: number;
|
|
30
|
+
updated_at: string;
|
|
31
|
+
repair?: boolean;
|
|
32
|
+
alerted?: boolean;
|
|
33
|
+
paused?: boolean;
|
|
34
|
+
data: {
|
|
35
|
+
integration_code?: string;
|
|
36
|
+
provider_id?: string;
|
|
37
|
+
provider_type?: string;
|
|
38
|
+
provider_icon?: string;
|
|
39
|
+
percentage?: number;
|
|
40
|
+
provider_name?: string;
|
|
41
|
+
action?: AvailableActions;
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export type Conditional = 'EQUAL' | 'NOT_EQUAL' | 'ONE_OF' | 'NOT_ONE_OF';
|
|
46
|
+
export type ConditionalNumber = 'GREATER_THAN' | 'LESS_THAN' | 'BETWEEN' | 'EQUAL';
|
|
47
|
+
export type ConditionalTypesMix = Conditional[] | ConditionalNumber[];
|
|
48
|
+
export interface ConditionalTypes {
|
|
49
|
+
conditional_types: ConditionalTypesMix;
|
|
50
|
+
}
|
|
51
|
+
export interface WorkflowVersion {
|
|
52
|
+
condition_sets: ConditionItem[];
|
|
53
|
+
fraud_condition_sets: ConditionItem[];
|
|
54
|
+
workflow: Workflow;
|
|
55
|
+
version: Version;
|
|
56
|
+
response?: {
|
|
57
|
+
status: number;
|
|
58
|
+
message: string;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export interface ConditionItem {
|
|
62
|
+
sort_number: number;
|
|
63
|
+
updated_at: string;
|
|
64
|
+
category: 'FRAUD' | 'PAYMENT' | 'FRAUD_POST_AUTH';
|
|
65
|
+
conditions: Condition[];
|
|
66
|
+
expired?: boolean;
|
|
67
|
+
routes: Route[];
|
|
68
|
+
editable: boolean;
|
|
69
|
+
start: NextRoute[];
|
|
70
|
+
threshold_code?: string;
|
|
71
|
+
monitor_active?: boolean;
|
|
72
|
+
id?: number;
|
|
73
|
+
name?: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
}
|
|
76
|
+
export type StatusVersion = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED';
|
|
77
|
+
export interface Version {
|
|
78
|
+
created_at?: string;
|
|
79
|
+
updated_at?: string;
|
|
80
|
+
code: string;
|
|
81
|
+
id: number;
|
|
82
|
+
workflow_id: number;
|
|
83
|
+
linked_version?: Version;
|
|
84
|
+
status: StatusVersion;
|
|
85
|
+
paymentEnabled: boolean;
|
|
86
|
+
fraudEnabled: boolean;
|
|
87
|
+
paused: boolean;
|
|
88
|
+
alerted: boolean;
|
|
89
|
+
number: number;
|
|
90
|
+
published_at?: string;
|
|
91
|
+
name: string;
|
|
92
|
+
repair: boolean;
|
|
93
|
+
favorite: boolean;
|
|
94
|
+
publishable: boolean;
|
|
95
|
+
updated_by?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface Workflow {
|
|
98
|
+
id: number;
|
|
99
|
+
code: string;
|
|
100
|
+
name: string;
|
|
101
|
+
status: StatusVersion;
|
|
102
|
+
account_code: string;
|
|
103
|
+
created_at: string;
|
|
104
|
+
updated_at: string;
|
|
105
|
+
payment_method_type: string;
|
|
106
|
+
is_active: boolean;
|
|
107
|
+
payment_method_description?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface WorkflowVersions {
|
|
110
|
+
workflow: Workflow;
|
|
111
|
+
versions: Version[];
|
|
112
|
+
}
|
|
113
|
+
export interface WorkflowNewVersion {
|
|
114
|
+
workflow: Workflow;
|
|
115
|
+
version: Version;
|
|
116
|
+
}
|
|
117
|
+
export interface WorkflowCreate {
|
|
118
|
+
name: string;
|
|
119
|
+
payment_method: string;
|
|
120
|
+
}
|
|
121
|
+
export interface ConditionTypes {
|
|
122
|
+
payment_method: string;
|
|
123
|
+
condition_types: ConditionType[];
|
|
124
|
+
}
|
|
125
|
+
export interface ConditionPaymentMethod {
|
|
126
|
+
condition_set: {
|
|
127
|
+
id: number;
|
|
128
|
+
code: string;
|
|
129
|
+
payment_method_type: string;
|
|
130
|
+
account_code: string;
|
|
131
|
+
payment_method_data: {
|
|
132
|
+
logo: string | null;
|
|
133
|
+
name: string | null;
|
|
134
|
+
description: string | null;
|
|
135
|
+
};
|
|
136
|
+
name: string;
|
|
137
|
+
order: number;
|
|
138
|
+
created_at: string;
|
|
139
|
+
updated_at: string | null;
|
|
140
|
+
};
|
|
141
|
+
conditions: {
|
|
142
|
+
id: number;
|
|
143
|
+
payment_method_condition_set_id: number;
|
|
144
|
+
condition_type: string;
|
|
145
|
+
values: string[];
|
|
146
|
+
conditional: string;
|
|
147
|
+
metadata_key: string | null;
|
|
148
|
+
complex_name: string | null;
|
|
149
|
+
complex_index: string | null;
|
|
150
|
+
additional_field_name: string | null;
|
|
151
|
+
created_at: string;
|
|
152
|
+
updated_at: string;
|
|
153
|
+
}[];
|
|
154
|
+
}
|
|
155
|
+
export type CRITERIA = 'GENERAL' | 'COMPLEX';
|
|
156
|
+
export type ValueSource = 'CONFIG' | 'TEXT';
|
|
157
|
+
export interface ConditionType {
|
|
158
|
+
name: string;
|
|
159
|
+
payment_method_type?: string;
|
|
160
|
+
value_source: ValueSource;
|
|
161
|
+
description: string;
|
|
162
|
+
icon: string;
|
|
163
|
+
criteria: CRITERIA;
|
|
164
|
+
operators: ConditionalTypesMix;
|
|
165
|
+
example: {
|
|
166
|
+
conditional_type: Conditional | ConditionalNumber;
|
|
167
|
+
values: string[];
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
export interface Detail {
|
|
171
|
+
name: string;
|
|
172
|
+
description: string;
|
|
173
|
+
criteria: CRITERIA;
|
|
174
|
+
operators: ConditionalTypesMix;
|
|
175
|
+
payment_method: string;
|
|
176
|
+
value_source: ValueSource;
|
|
177
|
+
icon: string;
|
|
178
|
+
}
|
|
179
|
+
export type Frequency = 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY';
|
|
180
|
+
export type Day = 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
181
|
+
export interface ConditionTypeValuesObject {
|
|
182
|
+
condition: string;
|
|
183
|
+
values: Condition[];
|
|
184
|
+
}
|
|
185
|
+
export type AllConditionTypeValues = SmartRouting.ConditionTypeValuesObject[];
|
|
186
|
+
export interface Condition {
|
|
187
|
+
id: number;
|
|
188
|
+
condition_set_id: number;
|
|
189
|
+
condition_type: string;
|
|
190
|
+
values: string[];
|
|
191
|
+
icon: string;
|
|
192
|
+
conditional: Conditional | ConditionalNumber;
|
|
193
|
+
complex_name?: string;
|
|
194
|
+
complex_index?: number;
|
|
195
|
+
additional_field_name?: string;
|
|
196
|
+
metadata_key?: string;
|
|
197
|
+
detail: Detail;
|
|
198
|
+
time_period_repeat_amount?: number;
|
|
199
|
+
time_period_repeat_frequency?: Frequency;
|
|
200
|
+
time_period_repetition_days?: Day[];
|
|
201
|
+
time_period_start_time?: string;
|
|
202
|
+
time_period_end_time?: string;
|
|
203
|
+
}
|
|
204
|
+
export interface ConditionTypeValues {
|
|
205
|
+
condition_type: ConditionType;
|
|
206
|
+
values: ConditionTypeValuesObj[];
|
|
207
|
+
}
|
|
208
|
+
export interface ConditionTypeValuesObj {
|
|
209
|
+
id: number;
|
|
210
|
+
currency_symbol?: string;
|
|
211
|
+
condition_type_id: number;
|
|
212
|
+
value: string;
|
|
213
|
+
description: string;
|
|
214
|
+
detail?: string;
|
|
215
|
+
category?: string;
|
|
216
|
+
}
|
|
217
|
+
export interface ConditionTypeValues {
|
|
218
|
+
condition_type: ConditionType;
|
|
219
|
+
values: ConditionTypeValuesObj[];
|
|
220
|
+
}
|
|
221
|
+
export type ConditionActions = 'ADD_PROVIDER' | 'ADD_FRAUD_PROVIDER' | 'REFUND' | 'DECLINE' | 'CANCEL';
|
|
222
|
+
export type ProviderType = 'PAYMENT' | 'FRAUD';
|
|
223
|
+
export type AvailableActions = 'END' | 'DECLINE' | 'CAPTURE' | 'CANCEL' | 'REVERT' | 'RETRY';
|
|
224
|
+
export type OutputType = 'SUCCESS' | 'ERROR' | 'WARNING';
|
|
225
|
+
export type StatusTransaction = 'SUCCEEDED' | 'PENDING' | 'PROCEED' | 'ERROR' | 'DECLINED' | 'DECLINE_GROUP';
|
|
226
|
+
export enum StepType {
|
|
227
|
+
FRAUD = "FRAUD",
|
|
228
|
+
PAYMENT = "PAYMENT",
|
|
229
|
+
THREE_D_SECURE = "THREE_D_SECURE",
|
|
230
|
+
CYBERSOURCE_3DS = "CYBERSOURCE_3DS"
|
|
231
|
+
}
|
|
232
|
+
export interface TransactionStatuses {
|
|
233
|
+
condition_actions: ConditionActions[];
|
|
234
|
+
transaction_statuses: {
|
|
235
|
+
provider_type: ProviderType;
|
|
236
|
+
statuses: {
|
|
237
|
+
status: StatusTransaction;
|
|
238
|
+
actions: AvailableActions[];
|
|
239
|
+
}[];
|
|
240
|
+
}[];
|
|
241
|
+
}
|
|
242
|
+
export interface DeclineGroups {
|
|
243
|
+
decline_groups: DeclineGroup[];
|
|
244
|
+
types: DeclineTypes;
|
|
245
|
+
}
|
|
246
|
+
export type DeclineTypes = {
|
|
247
|
+
label: string;
|
|
248
|
+
name: string;
|
|
249
|
+
group?: DeclineGroupType;
|
|
250
|
+
is_used: boolean;
|
|
251
|
+
step_type?: StepType;
|
|
252
|
+
}[];
|
|
253
|
+
export interface DeclineGroup {
|
|
254
|
+
id?: number;
|
|
255
|
+
name: string;
|
|
256
|
+
account_code: string;
|
|
257
|
+
decline_types: string[];
|
|
258
|
+
group_type?: DeclineGroupType;
|
|
259
|
+
}
|
|
260
|
+
export interface PaymentRoute {
|
|
261
|
+
index: number;
|
|
262
|
+
processed_status: string;
|
|
263
|
+
processed_sub_status?: string;
|
|
264
|
+
}
|
|
265
|
+
export interface PaymentRoutes {
|
|
266
|
+
route: PaymentRoute[];
|
|
267
|
+
version_code: string;
|
|
268
|
+
condition_set_id: number;
|
|
269
|
+
}
|
|
270
|
+
export interface MonitorRedistribution {
|
|
271
|
+
condition_set_id: number;
|
|
272
|
+
active: boolean;
|
|
273
|
+
available_provider: number;
|
|
274
|
+
unavailable_provider: number;
|
|
275
|
+
}
|
|
276
|
+
export enum DeclineGroupType {
|
|
277
|
+
PROVIDER_STATUS = "PROVIDER_STATUS",
|
|
278
|
+
MAC_CODE = "MAC_CODE"
|
|
279
|
+
}
|
|
280
|
+
interface ApprovalRateOpsgenie {
|
|
281
|
+
opsgenie_service_name: string;
|
|
282
|
+
opsgenie_api_keys: string;
|
|
283
|
+
}
|
|
284
|
+
export interface ApprovalRateCondition {
|
|
285
|
+
timelapse_seconds?: string;
|
|
286
|
+
approval_rate: number;
|
|
287
|
+
conditional: 'ABOVE' | 'BELOW' | 'BETWEEN';
|
|
288
|
+
payments_amounts: number[];
|
|
289
|
+
}
|
|
290
|
+
export interface MonitorRedistributionRequest {
|
|
291
|
+
opsgenie_alerts_users: ApprovalRateOpsgenie[];
|
|
292
|
+
conditions: ApprovalRateCondition[];
|
|
293
|
+
template_name: string;
|
|
294
|
+
redistribute_traffic: boolean;
|
|
295
|
+
available_traffic_percentage: number;
|
|
296
|
+
emails: string[];
|
|
297
|
+
unavailable_traffic_percentage: number;
|
|
298
|
+
timelapse_seconds: string;
|
|
299
|
+
}
|
|
300
|
+
export interface MonitorRedistributionResponse {
|
|
301
|
+
threshold: {
|
|
302
|
+
code: string;
|
|
303
|
+
redistribute_traffic: boolean;
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
export interface SRConversionRates {
|
|
307
|
+
conversion_rate: number;
|
|
308
|
+
latency_succeeded: number;
|
|
309
|
+
latency_declined: number;
|
|
310
|
+
country: string;
|
|
311
|
+
provider_id: string;
|
|
312
|
+
}
|
|
313
|
+
export interface PayloadDeclinedGroupCreate {
|
|
314
|
+
name: string;
|
|
315
|
+
types: string[];
|
|
316
|
+
account_codes: string[];
|
|
317
|
+
group?: DeclineGroupType;
|
|
318
|
+
}
|
|
319
|
+
export interface PayloadAIWorkflowCreate {
|
|
320
|
+
payment_method: string;
|
|
321
|
+
message: string;
|
|
322
|
+
}
|
|
323
|
+
export interface ThreeDSExemptionsResponse {
|
|
324
|
+
three_ds_exemptions: string[];
|
|
325
|
+
}
|
|
326
|
+
export interface NetworkTokensOnboardingResponse {
|
|
327
|
+
available: boolean;
|
|
328
|
+
}
|
|
329
|
+
export {};
|
|
330
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './team';
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare namespace Team {
|
|
2
|
+
type TeamResponse = {
|
|
3
|
+
content: {
|
|
4
|
+
user: Team.TeamList;
|
|
5
|
+
role: {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
code: string;
|
|
9
|
+
account: {
|
|
10
|
+
code_live: string;
|
|
11
|
+
code_testing: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
}[];
|
|
15
|
+
page: number;
|
|
16
|
+
page_size: number;
|
|
17
|
+
total_elements: number;
|
|
18
|
+
};
|
|
19
|
+
type TeamList = {
|
|
20
|
+
first_name: string;
|
|
21
|
+
last_name: string;
|
|
22
|
+
code: string;
|
|
23
|
+
email: string;
|
|
24
|
+
status: string;
|
|
25
|
+
roles: string[];
|
|
26
|
+
};
|
|
27
|
+
type RolesList = {
|
|
28
|
+
id: string;
|
|
29
|
+
organization_code: string;
|
|
30
|
+
name: string;
|
|
31
|
+
description: string;
|
|
32
|
+
custom: string;
|
|
33
|
+
can_be_used_to_invite?: boolean;
|
|
34
|
+
};
|
|
35
|
+
type SetRoleResponse = {
|
|
36
|
+
auth0_id: string;
|
|
37
|
+
user_code: string;
|
|
38
|
+
organization_code: string;
|
|
39
|
+
role_ids: string[];
|
|
40
|
+
};
|
|
41
|
+
type NewRoleResponse = {
|
|
42
|
+
id: string;
|
|
43
|
+
organization_code: string;
|
|
44
|
+
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
admin: boolean;
|
|
47
|
+
permission_ids: string[];
|
|
48
|
+
};
|
|
49
|
+
type NewRoleRequest = {
|
|
50
|
+
name: string;
|
|
51
|
+
description: string;
|
|
52
|
+
permission_ids: string[];
|
|
53
|
+
};
|
|
54
|
+
type ListRolesPermissions = {
|
|
55
|
+
id: string;
|
|
56
|
+
organization_code: string;
|
|
57
|
+
name: string;
|
|
58
|
+
description: string;
|
|
59
|
+
admin: string;
|
|
60
|
+
permission_ids: string[];
|
|
61
|
+
};
|
|
62
|
+
type CatalogPermissions = {
|
|
63
|
+
section: string;
|
|
64
|
+
order: number;
|
|
65
|
+
permissions_catalog: Permissions[];
|
|
66
|
+
show_in_frontend?: boolean;
|
|
67
|
+
};
|
|
68
|
+
type Permissions = {
|
|
69
|
+
id: string;
|
|
70
|
+
title: string;
|
|
71
|
+
description: string;
|
|
72
|
+
action_type: string;
|
|
73
|
+
order: number;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 DateFilter {
|
|
23
|
+
kind: 'date';
|
|
24
|
+
allowPast?: boolean;
|
|
25
|
+
allowFuture?: boolean;
|
|
26
|
+
allowCustom?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface MultiSelectFilter {
|
|
29
|
+
kind: 'multiSelect';
|
|
30
|
+
allowedValues?: string[];
|
|
31
|
+
}
|
|
32
|
+
export interface RangeFilter {
|
|
33
|
+
kind: 'range';
|
|
34
|
+
}
|
|
35
|
+
export type FilterDefinition = DateFilter | MultiSelectFilter | RangeFilter;
|
|
36
|
+
export interface FilterSelectionBase {
|
|
37
|
+
kind: FilterKindType;
|
|
38
|
+
}
|
|
39
|
+
export interface DateFilterSelection extends FilterSelectionBase {
|
|
40
|
+
kind: 'date';
|
|
41
|
+
value: DateFilterValue;
|
|
42
|
+
}
|
|
43
|
+
export interface MultiSelectFilterSelection extends FilterSelectionBase {
|
|
44
|
+
kind: 'multiSelect';
|
|
45
|
+
value: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface RangeFilterSelection extends FilterSelectionBase {
|
|
48
|
+
kind: 'range';
|
|
49
|
+
value: RangeFilterValue;
|
|
50
|
+
}
|
|
51
|
+
export type FilterSelection = DateFilterSelection | MultiSelectFilterSelection | RangeFilterSelection;
|
|
52
|
+
export interface TemplateReportingError {
|
|
53
|
+
code: string;
|
|
54
|
+
message: string;
|
|
55
|
+
details?: Record<string, any>;
|
|
56
|
+
}
|
|
57
|
+
export interface DeleteResponse {
|
|
58
|
+
id: number;
|
|
59
|
+
message: string;
|
|
60
|
+
}
|