@yuno-payments/dashboard-api-mfe 0.39.6 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +76 -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}/mutations/connections/connections.mutation.d.ts +1 -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 +76 -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 +537 -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 +168 -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 +37 -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 +37 -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 +28 -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/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 +191 -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 +54 -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 +3 -0
- package/package.json +8 -10
- package/build/index.js +0 -42
- /package/build/{types → cjs/types}/api/api.d.ts +0 -0
- /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/http-client.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/chartgpt.mutation.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/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/audit.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/connection.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,47 @@
|
|
|
1
|
+
export * from './common.types';
|
|
2
|
+
export * from './template.types';
|
|
3
|
+
export * from './schedule.types';
|
|
4
|
+
import * as CommonTypes from './common.types';
|
|
5
|
+
import * as TemplateTypes from './template.types';
|
|
6
|
+
import * as ScheduleTypes from './schedule.types';
|
|
7
|
+
export declare namespace TemplateReporting {
|
|
8
|
+
type FrequencyType = CommonTypes.FrequencyType;
|
|
9
|
+
type FormatType = CommonTypes.FormatType;
|
|
10
|
+
type TemplateVariantType = CommonTypes.TemplateVariantType;
|
|
11
|
+
type TemplateStatusType = CommonTypes.TemplateStatusType;
|
|
12
|
+
type ScheduleExecutionStatusType = CommonTypes.ScheduleExecutionStatusType;
|
|
13
|
+
type DatePresetType = CommonTypes.DatePresetType;
|
|
14
|
+
type ColumnModeType = CommonTypes.ColumnModeType;
|
|
15
|
+
type FilterKindType = CommonTypes.FilterKindType;
|
|
16
|
+
type DateFilterValue = CommonTypes.DateFilterValue;
|
|
17
|
+
type MultiSelectFilterValue = CommonTypes.MultiSelectFilterValue;
|
|
18
|
+
type RangeFilterValue = CommonTypes.RangeFilterValue;
|
|
19
|
+
type DateFilter = CommonTypes.DateFilter;
|
|
20
|
+
type MultiSelectFilter = CommonTypes.MultiSelectFilter;
|
|
21
|
+
type RangeFilter = CommonTypes.RangeFilter;
|
|
22
|
+
type FilterDefinition = CommonTypes.FilterDefinition;
|
|
23
|
+
type FilterSelectionBase = CommonTypes.FilterSelectionBase;
|
|
24
|
+
type DateFilterSelection = CommonTypes.DateFilterSelection;
|
|
25
|
+
type MultiSelectFilterSelection = CommonTypes.MultiSelectFilterSelection;
|
|
26
|
+
type RangeFilterSelection = CommonTypes.RangeFilterSelection;
|
|
27
|
+
type FilterSelection = CommonTypes.FilterSelection;
|
|
28
|
+
type TemplateReportingError = CommonTypes.TemplateReportingError;
|
|
29
|
+
type DeleteResponse = CommonTypes.DeleteResponse;
|
|
30
|
+
type TemplateMetadata = TemplateTypes.TemplateMetadata;
|
|
31
|
+
type TemplateSelection = TemplateTypes.TemplateSelection;
|
|
32
|
+
type ReportTemplateMetadata = TemplateTypes.ReportTemplateMetadata;
|
|
33
|
+
type ReportTemplate = TemplateTypes.ReportTemplate;
|
|
34
|
+
type GetTemplatesListParams = TemplateTypes.GetTemplatesListParams;
|
|
35
|
+
type GetTemplatesListResponse = TemplateTypes.GetTemplatesListResponse;
|
|
36
|
+
type CreateTemplateRequest = TemplateTypes.CreateTemplateRequest;
|
|
37
|
+
type CloneTemplateRequest = TemplateTypes.CloneTemplateRequest;
|
|
38
|
+
type UpdateTemplateSelectionRequest = TemplateTypes.UpdateTemplateSelectionRequest;
|
|
39
|
+
type ChangeTemplateStatusRequest = TemplateTypes.ChangeTemplateStatusRequest;
|
|
40
|
+
type TemplateWithMetadata = TemplateTypes.TemplateWithMetadata;
|
|
41
|
+
type ReportSchedule = ScheduleTypes.ReportSchedule;
|
|
42
|
+
type ReportScheduleExecution = ScheduleTypes.ReportScheduleExecution;
|
|
43
|
+
type GetSchedulesListResponse = ScheduleTypes.GetSchedulesListResponse;
|
|
44
|
+
type CreateScheduleRequest = ScheduleTypes.CreateScheduleRequest;
|
|
45
|
+
type ScheduleWithTemplate = ScheduleTypes.ScheduleWithTemplate;
|
|
46
|
+
type ScheduleWithExecutions = ScheduleTypes.ScheduleWithExecutions;
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { FrequencyType, FormatType, ScheduleExecutionStatusType } from './common.types';
|
|
2
|
+
import { ReportTemplate } from './template.types';
|
|
3
|
+
export interface ReportSchedule {
|
|
4
|
+
id: number;
|
|
5
|
+
report_template_id?: number;
|
|
6
|
+
organization_code?: string;
|
|
7
|
+
accounts: string[];
|
|
8
|
+
name: string;
|
|
9
|
+
cron_expression?: string;
|
|
10
|
+
frequency: FrequencyType;
|
|
11
|
+
time_of_day: string;
|
|
12
|
+
day_of_week?: number;
|
|
13
|
+
day_of_month?: number;
|
|
14
|
+
format: FormatType;
|
|
15
|
+
start_date: string;
|
|
16
|
+
end_date?: string;
|
|
17
|
+
destination_emails: string[];
|
|
18
|
+
created_at?: string;
|
|
19
|
+
updated_at?: string;
|
|
20
|
+
deleted_at?: string;
|
|
21
|
+
report_template?: ReportTemplate;
|
|
22
|
+
executions?: ReportScheduleExecution[];
|
|
23
|
+
}
|
|
24
|
+
export interface ReportScheduleExecution {
|
|
25
|
+
id: number;
|
|
26
|
+
report_schedule_id: number;
|
|
27
|
+
started_at: string;
|
|
28
|
+
finished_at?: string;
|
|
29
|
+
status: ScheduleExecutionStatusType;
|
|
30
|
+
error_message?: string;
|
|
31
|
+
report_id?: string;
|
|
32
|
+
created_at: string;
|
|
33
|
+
updated_at: string;
|
|
34
|
+
report_schedule?: ReportSchedule;
|
|
35
|
+
}
|
|
36
|
+
export interface GetSchedulesListResponse {
|
|
37
|
+
schedules: ReportSchedule[];
|
|
38
|
+
total: number;
|
|
39
|
+
}
|
|
40
|
+
export interface CreateScheduleRequest {
|
|
41
|
+
report_template_id: number;
|
|
42
|
+
name: string;
|
|
43
|
+
frequency: FrequencyType;
|
|
44
|
+
time_of_day: string;
|
|
45
|
+
day_of_week?: number;
|
|
46
|
+
day_of_month?: number;
|
|
47
|
+
format: FormatType;
|
|
48
|
+
start_date?: string;
|
|
49
|
+
end_date?: string;
|
|
50
|
+
destination_emails: string[];
|
|
51
|
+
accounts: string[];
|
|
52
|
+
}
|
|
53
|
+
export type ScheduleWithTemplate = ReportSchedule & {
|
|
54
|
+
report_template: ReportTemplate;
|
|
55
|
+
};
|
|
56
|
+
export type ScheduleWithExecutions = ReportSchedule & {
|
|
57
|
+
executions: ReportScheduleExecution[];
|
|
58
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { TemplateVariantType, TemplateStatusType, ColumnModeType, FilterDefinition, FilterSelection } from './common.types';
|
|
2
|
+
export interface TemplateMetadata {
|
|
3
|
+
version: number;
|
|
4
|
+
filters: Record<string, FilterDefinition>;
|
|
5
|
+
timezone: {
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export interface TemplateSelection {
|
|
10
|
+
version: number;
|
|
11
|
+
filters: Record<string, FilterSelection>;
|
|
12
|
+
timezone?: string;
|
|
13
|
+
columns: {
|
|
14
|
+
mode: ColumnModeType;
|
|
15
|
+
keys?: string[];
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface ReportTemplateMetadata {
|
|
19
|
+
id: number;
|
|
20
|
+
metadata: TemplateMetadata;
|
|
21
|
+
created_at: string;
|
|
22
|
+
updated_at: string;
|
|
23
|
+
deleted_at?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ReportTemplate {
|
|
26
|
+
id: number;
|
|
27
|
+
module: string;
|
|
28
|
+
type: string;
|
|
29
|
+
variant: TemplateVariantType;
|
|
30
|
+
name: string;
|
|
31
|
+
is_system: boolean;
|
|
32
|
+
status: TemplateStatusType;
|
|
33
|
+
base_template_id?: number;
|
|
34
|
+
selection: TemplateSelection;
|
|
35
|
+
organization_code?: string;
|
|
36
|
+
accounts?: string[];
|
|
37
|
+
metadata_id?: number;
|
|
38
|
+
created_at?: string;
|
|
39
|
+
updated_at?: string;
|
|
40
|
+
deleted_at?: string;
|
|
41
|
+
metadata?: TemplateMetadata;
|
|
42
|
+
base_template?: ReportTemplate;
|
|
43
|
+
available_columns?: {
|
|
44
|
+
default: AvailableColumn[];
|
|
45
|
+
all: AvailableColumn[];
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export interface AvailableColumn {
|
|
49
|
+
name: string;
|
|
50
|
+
table: string;
|
|
51
|
+
report_name: string;
|
|
52
|
+
type: string;
|
|
53
|
+
dashboard_name: string;
|
|
54
|
+
snowflake_name?: string;
|
|
55
|
+
snowflake_table?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface GetTemplatesListParams {
|
|
58
|
+
module: string;
|
|
59
|
+
}
|
|
60
|
+
export interface GetTemplatesListResponse {
|
|
61
|
+
templates: ReportTemplate[];
|
|
62
|
+
}
|
|
63
|
+
export interface CreateTemplateRequest {
|
|
64
|
+
module: string;
|
|
65
|
+
type: string;
|
|
66
|
+
variant: TemplateVariantType;
|
|
67
|
+
name: string;
|
|
68
|
+
base_template_id?: number;
|
|
69
|
+
selection: TemplateSelection;
|
|
70
|
+
accounts: string[];
|
|
71
|
+
metadata: TemplateMetadata;
|
|
72
|
+
}
|
|
73
|
+
export interface CloneTemplateRequest {
|
|
74
|
+
name: string;
|
|
75
|
+
accounts?: string[];
|
|
76
|
+
selection?: TemplateSelection;
|
|
77
|
+
}
|
|
78
|
+
export interface UpdateTemplateSelectionRequest {
|
|
79
|
+
selection: TemplateSelection;
|
|
80
|
+
}
|
|
81
|
+
export interface ChangeTemplateStatusRequest {
|
|
82
|
+
status: TemplateStatusType;
|
|
83
|
+
}
|
|
84
|
+
export type TemplateWithMetadata = ReportTemplate & {
|
|
85
|
+
metadata: ReportTemplateMetadata;
|
|
86
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './translation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user';
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { Organization } from '../organization';
|
|
2
|
+
export declare namespace User {
|
|
3
|
+
interface PostSignUp {
|
|
4
|
+
code: string;
|
|
5
|
+
email: string;
|
|
6
|
+
first_name: string;
|
|
7
|
+
last_name: string;
|
|
8
|
+
rol_name: string;
|
|
9
|
+
rol_id: string;
|
|
10
|
+
status: 'PENDING_VERIFY' | 'INACTIVE' | 'ACTIVE';
|
|
11
|
+
organization: {
|
|
12
|
+
code: string;
|
|
13
|
+
name: string;
|
|
14
|
+
display_name: string;
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
account: Organization.Account;
|
|
18
|
+
}
|
|
19
|
+
interface Column {
|
|
20
|
+
hide: string[];
|
|
21
|
+
show: string[];
|
|
22
|
+
order: string[];
|
|
23
|
+
pinnedColumns: {
|
|
24
|
+
left: string[];
|
|
25
|
+
right: string[];
|
|
26
|
+
};
|
|
27
|
+
width: {
|
|
28
|
+
[key: string]: number;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
type UserSettingsProps = {
|
|
32
|
+
columns: Column[];
|
|
33
|
+
} | string[] | boolean | string;
|
|
34
|
+
interface UserSettingsTable {
|
|
35
|
+
pinned_sections: {
|
|
36
|
+
sections: string[];
|
|
37
|
+
};
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: UserSettingsProps;
|
|
40
|
+
} | UserSettingsProps | Timezone | {
|
|
41
|
+
mode: 'LIGHT_MODE' | 'DARK_MODE' | 'DEVICE_MODE';
|
|
42
|
+
} | undefined;
|
|
43
|
+
}
|
|
44
|
+
interface Timezone {
|
|
45
|
+
identifier?: string;
|
|
46
|
+
abbreviation?: {
|
|
47
|
+
dst?: string;
|
|
48
|
+
std?: string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
interface UserSettings extends UserSettingsTable {
|
|
52
|
+
language: string;
|
|
53
|
+
mfa_active: boolean;
|
|
54
|
+
timezone: Timezone;
|
|
55
|
+
viewed_tutorials: string[];
|
|
56
|
+
theme?: {
|
|
57
|
+
mode: 'LIGHT_MODE' | 'DARK_MODE' | 'DEVICE_MODE';
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
interface UserResponsePayload extends Pick<PostSignUp, 'code' | 'email' | 'first_name' | 'last_name' | 'status' | 'rol_name' | 'rol_id'> {
|
|
61
|
+
created_at: string;
|
|
62
|
+
updated_at: string;
|
|
63
|
+
status_code: number;
|
|
64
|
+
is_admin_of_all_accounts?: boolean;
|
|
65
|
+
settings?: UserSettings;
|
|
66
|
+
is_sso?: boolean;
|
|
67
|
+
}
|
|
68
|
+
interface UserResponseInviteUser extends Pick<PostSignUp, 'code' | 'email' | 'first_name' | 'last_name' | 'status' | 'rol_name'> {
|
|
69
|
+
created_at: string;
|
|
70
|
+
updated_at: string;
|
|
71
|
+
users_completed: string[];
|
|
72
|
+
duplicated_users: string[];
|
|
73
|
+
generic_failed: string[];
|
|
74
|
+
users_other_organization: string[];
|
|
75
|
+
status_code: number;
|
|
76
|
+
}
|
|
77
|
+
interface UserRequestPayload extends Pick<PostSignUp, 'first_name' | 'last_name'> {
|
|
78
|
+
}
|
|
79
|
+
interface UserResponseEmailVerification {
|
|
80
|
+
user_id: string;
|
|
81
|
+
}
|
|
82
|
+
interface UserInvitePayload {
|
|
83
|
+
emails: string[];
|
|
84
|
+
role_id: string;
|
|
85
|
+
}
|
|
86
|
+
interface ChangePasswordProfile {
|
|
87
|
+
client_id: string;
|
|
88
|
+
connection: string;
|
|
89
|
+
grant_type: string;
|
|
90
|
+
username: string;
|
|
91
|
+
password: string;
|
|
92
|
+
scope?: string;
|
|
93
|
+
id_token?: string;
|
|
94
|
+
device?: string;
|
|
95
|
+
}
|
|
96
|
+
interface ChangePasswordProfileRequest {
|
|
97
|
+
confirmPassword: string;
|
|
98
|
+
current: string;
|
|
99
|
+
new_password: string;
|
|
100
|
+
username: string;
|
|
101
|
+
user_id: string;
|
|
102
|
+
}
|
|
103
|
+
interface FailureReason {
|
|
104
|
+
response?: {
|
|
105
|
+
data?: {
|
|
106
|
+
data?: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
interface ChangePasswordResponse {
|
|
111
|
+
access_token: string;
|
|
112
|
+
id_token: string;
|
|
113
|
+
token_type: string;
|
|
114
|
+
}
|
|
115
|
+
interface ICustomizedApiKeysMembers {
|
|
116
|
+
code: string;
|
|
117
|
+
first_name: string;
|
|
118
|
+
last_name: string;
|
|
119
|
+
}
|
|
120
|
+
interface ICustomizedApiKeysAccounts {
|
|
121
|
+
name: string;
|
|
122
|
+
code: string;
|
|
123
|
+
}
|
|
124
|
+
interface CreateUserAuth0Request {
|
|
125
|
+
user_name: string;
|
|
126
|
+
user_email: string;
|
|
127
|
+
}
|
|
128
|
+
interface CreateUserAuth0Response {
|
|
129
|
+
email: string;
|
|
130
|
+
name: string;
|
|
131
|
+
user_id: string;
|
|
132
|
+
}
|
|
133
|
+
interface ImpersonationUserItem {
|
|
134
|
+
code: string;
|
|
135
|
+
name: string;
|
|
136
|
+
}
|
|
137
|
+
interface ImpersonationUser {
|
|
138
|
+
code: string;
|
|
139
|
+
organization_name: string;
|
|
140
|
+
organization_logo: string;
|
|
141
|
+
users: ImpersonationUserItem[];
|
|
142
|
+
status: string;
|
|
143
|
+
expires_at: string;
|
|
144
|
+
}
|
|
145
|
+
interface ImpersonationUsersResponse {
|
|
146
|
+
result: ImpersonationUser[];
|
|
147
|
+
}
|
|
148
|
+
interface ImpersonationEnabledResponse {
|
|
149
|
+
enabled: 'true' | 'false';
|
|
150
|
+
}
|
|
151
|
+
interface UsersToImpersonateUser {
|
|
152
|
+
code: string;
|
|
153
|
+
first_name: string;
|
|
154
|
+
last_name: string;
|
|
155
|
+
email: string;
|
|
156
|
+
account_code: string;
|
|
157
|
+
account_code_live: string;
|
|
158
|
+
account_code_testing: string;
|
|
159
|
+
account_name: string;
|
|
160
|
+
role: {
|
|
161
|
+
id: string;
|
|
162
|
+
name: string;
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
interface UsersToImpersonateResponse {
|
|
166
|
+
code: string;
|
|
167
|
+
organization_code: string;
|
|
168
|
+
organization_name: string;
|
|
169
|
+
organization_logo: string | null;
|
|
170
|
+
total_elements: number;
|
|
171
|
+
total_pages: number;
|
|
172
|
+
page: number;
|
|
173
|
+
page_size: number;
|
|
174
|
+
users: UsersToImpersonateUser[];
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
export interface GetUserFullResponse {
|
|
178
|
+
user: User.UserResponsePayload;
|
|
179
|
+
organizations: Organization.Organization;
|
|
180
|
+
accounts_user: Organization.Account[];
|
|
181
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './velocity-rules';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare namespace VelocityRules {
|
|
2
|
+
interface VelocityRule {
|
|
3
|
+
name: string;
|
|
4
|
+
a: string;
|
|
5
|
+
first_name: string;
|
|
6
|
+
created_at: string;
|
|
7
|
+
updated_at: string;
|
|
8
|
+
conditions: string;
|
|
9
|
+
}
|
|
10
|
+
interface VelocityRulesList {
|
|
11
|
+
total_pages: number;
|
|
12
|
+
total_records: number;
|
|
13
|
+
velocity_rules: VelocityRule[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './webhook';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare namespace Webhook {
|
|
2
|
+
type WebhookRequestPayload = {};
|
|
3
|
+
interface Param {
|
|
4
|
+
param_id: string;
|
|
5
|
+
type: string;
|
|
6
|
+
panel_name: string;
|
|
7
|
+
panel_description: string;
|
|
8
|
+
is_encrypted: boolean;
|
|
9
|
+
created_at: string;
|
|
10
|
+
updated_at: string;
|
|
11
|
+
}
|
|
12
|
+
interface WebhookParam extends Pick<Param, 'param_id'> {
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
interface WebHook {
|
|
16
|
+
code: string;
|
|
17
|
+
type: Param['type'];
|
|
18
|
+
params: WebhookParam[];
|
|
19
|
+
}
|
|
20
|
+
interface IWebhooksTriggers {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
24
|
+
interface ParamV2 {
|
|
25
|
+
id: string;
|
|
26
|
+
order: number;
|
|
27
|
+
type: string;
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
max_length: number;
|
|
31
|
+
options: IWebhooksTriggers[];
|
|
32
|
+
}
|
|
33
|
+
interface WebHookV2 {
|
|
34
|
+
id: number;
|
|
35
|
+
account_code: string;
|
|
36
|
+
name: string;
|
|
37
|
+
state: string;
|
|
38
|
+
url: string;
|
|
39
|
+
api_key?: string;
|
|
40
|
+
secret?: string;
|
|
41
|
+
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
42
|
+
payment_triggers?: Array<IWebhooksTriggers>;
|
|
43
|
+
report_triggers?: Array<IWebhooksTriggers>;
|
|
44
|
+
customer_triggers?: Array<IWebhooksTriggers>;
|
|
45
|
+
created_at: string;
|
|
46
|
+
updated_at?: string;
|
|
47
|
+
}
|
|
48
|
+
interface WebHookV2MultiAccount {
|
|
49
|
+
id: number;
|
|
50
|
+
account_codes: string[];
|
|
51
|
+
name: string;
|
|
52
|
+
state: string;
|
|
53
|
+
url: string;
|
|
54
|
+
api_key: string;
|
|
55
|
+
secret: string;
|
|
56
|
+
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
57
|
+
payment_triggers?: Array<IWebhooksTriggers>;
|
|
58
|
+
report_triggers?: Array<IWebhooksTriggers>;
|
|
59
|
+
customer_triggers?: Array<IWebhooksTriggers>;
|
|
60
|
+
created_at: string;
|
|
61
|
+
updated_at?: string;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
export declare const connectionsActions: string[];
|
|
2
|
+
export declare const connectionsActionsUrl: {
|
|
3
|
+
PAUSED: string;
|
|
4
|
+
DELETED: string;
|
|
5
|
+
ACTIVE: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const connectionsActionsValues: {
|
|
8
|
+
PAUSED: string;
|
|
9
|
+
DELETED: string;
|
|
10
|
+
ACTIVE: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const typesInsightsExport: {
|
|
13
|
+
CR_CARD_BIN: string;
|
|
14
|
+
CR_CARD_BRAND: string;
|
|
15
|
+
CR_CARD_ISSUER_NAME: string;
|
|
16
|
+
CR_CARD_TYPE: string;
|
|
17
|
+
CR_FALLBACK: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const dataIsNull: (res: any) => boolean;
|
|
20
|
+
export declare const cmsStatusPaymentStyles: {
|
|
21
|
+
status: string;
|
|
22
|
+
sub_status: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
type: string;
|
|
25
|
+
label: string;
|
|
26
|
+
sub_status_icon: string;
|
|
27
|
+
sub_status_label: string;
|
|
28
|
+
}[];
|
|
29
|
+
export declare const cmsStatusTransactionsStyles: {
|
|
30
|
+
status: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
}[];
|
|
35
|
+
export declare const cmsStatusReconciliationsTransactionsStyles: {
|
|
36
|
+
id: number;
|
|
37
|
+
status: string;
|
|
38
|
+
sub_status: string;
|
|
39
|
+
type: string;
|
|
40
|
+
label: string;
|
|
41
|
+
icon: string;
|
|
42
|
+
sub_status_label: string;
|
|
43
|
+
sub_status_icon: string;
|
|
44
|
+
}[];
|
|
45
|
+
export declare const cmsTimezoneCatalog: {
|
|
46
|
+
identifier: string;
|
|
47
|
+
utc_offset: {
|
|
48
|
+
dst: string;
|
|
49
|
+
std: string;
|
|
50
|
+
};
|
|
51
|
+
abbreviation: {
|
|
52
|
+
dst: string;
|
|
53
|
+
std: string;
|
|
54
|
+
};
|
|
55
|
+
}[];
|
|
56
|
+
export declare const cmsAuditFilters: {
|
|
57
|
+
id: number;
|
|
58
|
+
value: string;
|
|
59
|
+
type: string;
|
|
60
|
+
}[];
|
|
61
|
+
export declare const cmsStaticContents: {
|
|
62
|
+
docs_url: string;
|
|
63
|
+
};
|
|
64
|
+
export declare const cmsMenu: {
|
|
65
|
+
en: ({
|
|
66
|
+
text: string;
|
|
67
|
+
pathname: string;
|
|
68
|
+
position: number;
|
|
69
|
+
icon: string;
|
|
70
|
+
type: null;
|
|
71
|
+
target: null;
|
|
72
|
+
permission: string;
|
|
73
|
+
locale: string;
|
|
74
|
+
submenues: null;
|
|
75
|
+
} | {
|
|
76
|
+
text: string;
|
|
77
|
+
pathname: null;
|
|
78
|
+
position: number;
|
|
79
|
+
icon: string;
|
|
80
|
+
type: string;
|
|
81
|
+
target: null;
|
|
82
|
+
permission: string;
|
|
83
|
+
locale: string;
|
|
84
|
+
submenues: null;
|
|
85
|
+
} | {
|
|
86
|
+
text: string;
|
|
87
|
+
pathname: string;
|
|
88
|
+
position: number;
|
|
89
|
+
icon: string;
|
|
90
|
+
type: null;
|
|
91
|
+
target: string;
|
|
92
|
+
permission: string;
|
|
93
|
+
locale: string;
|
|
94
|
+
submenues: null;
|
|
95
|
+
})[];
|
|
96
|
+
pt: ({
|
|
97
|
+
text: string;
|
|
98
|
+
pathname: string;
|
|
99
|
+
position: number;
|
|
100
|
+
icon: string;
|
|
101
|
+
type: null;
|
|
102
|
+
target: null;
|
|
103
|
+
permission: string;
|
|
104
|
+
locale: string;
|
|
105
|
+
submenues: null;
|
|
106
|
+
} | {
|
|
107
|
+
text: string;
|
|
108
|
+
pathname: null;
|
|
109
|
+
position: number;
|
|
110
|
+
icon: string;
|
|
111
|
+
type: string;
|
|
112
|
+
target: null;
|
|
113
|
+
permission: string;
|
|
114
|
+
locale: string;
|
|
115
|
+
submenues: null;
|
|
116
|
+
} | {
|
|
117
|
+
text: string;
|
|
118
|
+
pathname: string;
|
|
119
|
+
position: number;
|
|
120
|
+
icon: string;
|
|
121
|
+
type: null;
|
|
122
|
+
target: string;
|
|
123
|
+
permission: string;
|
|
124
|
+
locale: string;
|
|
125
|
+
submenues: null;
|
|
126
|
+
})[];
|
|
127
|
+
es: ({
|
|
128
|
+
text: string;
|
|
129
|
+
pathname: string;
|
|
130
|
+
position: number;
|
|
131
|
+
icon: string;
|
|
132
|
+
type: null;
|
|
133
|
+
target: null;
|
|
134
|
+
permission: string;
|
|
135
|
+
locale: string;
|
|
136
|
+
submenues: null;
|
|
137
|
+
} | {
|
|
138
|
+
text: string;
|
|
139
|
+
pathname: null;
|
|
140
|
+
position: number;
|
|
141
|
+
icon: string;
|
|
142
|
+
type: string;
|
|
143
|
+
target: null;
|
|
144
|
+
permission: string;
|
|
145
|
+
locale: string;
|
|
146
|
+
submenues: null;
|
|
147
|
+
} | {
|
|
148
|
+
text: string;
|
|
149
|
+
pathname: string;
|
|
150
|
+
position: number;
|
|
151
|
+
icon: string;
|
|
152
|
+
type: null;
|
|
153
|
+
target: string;
|
|
154
|
+
permission: string;
|
|
155
|
+
locale: string;
|
|
156
|
+
submenues: null;
|
|
157
|
+
})[];
|
|
158
|
+
};
|
|
159
|
+
export declare const cmsLocales: {
|
|
160
|
+
code: string;
|
|
161
|
+
name: string;
|
|
162
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './use-chart-assistant-socket';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface WebSocketMessage {
|
|
2
|
+
type: string;
|
|
3
|
+
chart_id?: string;
|
|
4
|
+
token?: string;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export declare const useChartAssistantSocket: () => {
|
|
8
|
+
subscribe: (chart_id: string) => void;
|
|
9
|
+
unsubscribe: (chart_id: string) => void;
|
|
10
|
+
disconnect: () => void;
|
|
11
|
+
connect: () => void;
|
|
12
|
+
clearChartData: () => void;
|
|
13
|
+
isConnected: boolean;
|
|
14
|
+
chartData: any;
|
|
15
|
+
connectionError: string | null;
|
|
16
|
+
};
|
|
17
|
+
export default useChartAssistantSocket;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|