@yuno-payments/dashboard-api-mfe 2.4.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +10 -0
- package/build/api/api.d.ts +739 -0
- package/build/api/api.singleton.d.ts +10 -0
- package/build/api/api.singleton.test.d.ts +1 -0
- package/build/api/api.test.d.ts +1 -0
- package/build/api/api.types.d.ts +231 -0
- package/build/api/index.d.ts +3 -0
- package/build/api-provider.d.ts +4 -0
- package/build/api-provider.test.d.ts +1 -0
- package/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +46 -37
- package/build/cjs/types/msw/handlers/api-logs.d.ts +1 -0
- package/build/cjs/types/msw/handlers/webhooks.d.ts +1 -0
- package/build/cjs/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +2 -0
- package/build/cjs/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +2 -0
- package/build/cjs/types/mutations/audit/audit-api.mutation.d.ts +4 -0
- package/build/cjs/types/mutations/audit/audit-subscriptions.mutation.d.ts +41 -0
- package/build/cjs/types/mutations/audit/index.d.ts +1 -1
- package/build/cjs/types/mutations/concierge/concierge.mutation.d.ts +6 -8
- package/build/cjs/types/mutations/index.d.ts +1 -1
- package/build/cjs/types/mutations/organization-settings/index.d.ts +1 -0
- package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
- package/build/cjs/types/mutations/users/users.mutation.d.ts +4 -0
- package/build/cjs/types/queries/api-logs/api-logs-v3.query.d.ts +9 -0
- package/build/cjs/types/queries/api-logs/index.d.ts +1 -0
- package/build/cjs/types/queries/audit/audit-subscriptions.query.d.ts +14 -0
- package/build/cjs/types/queries/audit/audit-v3.query.d.ts +9 -0
- package/build/cjs/types/queries/audit/audit.query.d.ts +8 -9
- package/build/cjs/types/queries/audit/index.d.ts +2 -1
- package/build/cjs/types/queries/concierge/concierge.query.d.ts +5 -5
- package/build/cjs/types/queries/index.d.ts +2 -1
- package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +10 -1
- package/build/cjs/types/queries/users/users.query.d.ts +1 -0
- package/build/cjs/types/queries/webhooks/index.d.ts +1 -0
- package/build/cjs/types/queries/webhooks/webhook-timeline.query.d.ts +9 -0
- package/build/cjs/types/types/audit/audit.d.ts +152 -8
- package/build/cjs/types/types/concierge/concierge-alerts.d.ts +42 -0
- package/build/cjs/types/types/concierge/index.d.ts +1 -2
- package/build/cjs/types/types/index.d.ts +0 -1
- package/build/cjs/types/types/recipients/recipients.d.ts +0 -1
- package/build/common/config.d.ts +13 -0
- package/build/common/config.test.d.ts +0 -0
- package/build/constants/errors-code.constant.d.ts +5 -0
- package/build/constants/index.d.ts +1 -0
- package/build/esm/index.js +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +46 -37
- package/build/esm/types/msw/handlers/api-logs.d.ts +1 -0
- package/build/esm/types/msw/handlers/webhooks.d.ts +1 -0
- package/build/esm/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +2 -0
- package/build/esm/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +2 -0
- package/build/esm/types/mutations/audit/audit-api.mutation.d.ts +4 -0
- package/build/esm/types/mutations/audit/audit-subscriptions.mutation.d.ts +41 -0
- package/build/esm/types/mutations/audit/index.d.ts +1 -1
- package/build/esm/types/mutations/concierge/concierge.mutation.d.ts +6 -8
- package/build/esm/types/mutations/index.d.ts +1 -1
- package/build/esm/types/mutations/organization-settings/index.d.ts +1 -0
- package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts +9 -0
- package/build/esm/types/mutations/users/users.mutation.d.ts +4 -0
- package/build/esm/types/queries/api-logs/api-logs-v3.query.d.ts +9 -0
- package/build/esm/types/queries/api-logs/index.d.ts +1 -0
- package/build/esm/types/queries/audit/audit-subscriptions.query.d.ts +14 -0
- package/build/esm/types/queries/audit/audit-v3.query.d.ts +9 -0
- package/build/esm/types/queries/audit/audit.query.d.ts +8 -9
- package/build/esm/types/queries/audit/index.d.ts +2 -1
- package/build/esm/types/queries/concierge/concierge.query.d.ts +5 -5
- package/build/esm/types/queries/index.d.ts +2 -1
- package/build/esm/types/queries/mfa/organization-settings.query.d.ts +10 -1
- package/build/esm/types/queries/users/users.query.d.ts +1 -0
- package/build/esm/types/queries/webhooks/index.d.ts +1 -0
- package/build/esm/types/queries/webhooks/webhook-timeline.query.d.ts +9 -0
- package/build/esm/types/types/audit/audit.d.ts +152 -8
- package/build/esm/types/types/concierge/concierge-alerts.d.ts +42 -0
- package/build/esm/types/types/concierge/index.d.ts +1 -2
- package/build/esm/types/types/index.d.ts +0 -1
- package/build/esm/types/types/recipients/recipients.d.ts +0 -1
- package/build/index.d.ts +332 -268
- package/build/lib/http-client/__tests__/http-client.test.d.ts +1 -0
- package/build/lib/http-client/api.config.d.ts +2 -0
- package/build/lib/http-client/axios.d.ts +19 -0
- package/build/lib/http-client/http-client.d.ts +175 -0
- package/build/lib/http-client/index.d.ts +2 -0
- package/build/lib/session-expired/emit-expired.d.ts +4 -0
- package/build/lib/session-expired/emit-expired.test.d.ts +1 -0
- package/build/lib/session-expired/index.d.ts +1 -0
- package/build/msw/browser.d.ts +1 -0
- package/build/msw/handlers/accounts.d.ts +1 -0
- package/build/msw/handlers/field-visibility.d.ts +1 -0
- package/build/msw/handlers/index.d.ts +1 -0
- package/build/msw/handlers/insights.d.ts +1 -0
- package/build/msw/handlers/installments.d.ts +1 -0
- package/build/msw/handlers/mfa.d.ts +1 -0
- package/build/msw/handlers/organizations.d.ts +1 -0
- package/build/msw/handlers/payments.d.ts +1 -0
- package/build/msw/handlers/recipients.d.ts +1 -0
- package/build/msw/handlers/reconciliation-insights.d.ts +1 -0
- package/build/msw/index.d.ts +1 -0
- package/build/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +14 -0
- package/build/msw/mocks/insights/conversion-rate/overview.mock.d.ts +34 -0
- package/build/msw/mocks/insights/overview/overview-metrics.mock.d.ts +9 -0
- package/build/msw/mocks/insights/overview/overview.mock.d.ts +139 -0
- package/build/msw/mocks/installments/installments.mock.d.ts +8 -0
- package/build/msw/mocks/payments/payments.mock.d.ts +92 -0
- package/build/msw/mocks/payments/transaction-details.mock.d.ts +579 -0
- package/build/msw/mocks/recipients/recipients.mock.d.ts +775 -0
- package/build/msw/mocks/reconciliation-insights/index.d.ts +23 -0
- package/build/mutations/S3Client/S3Client.mutation.d.ts +6 -0
- package/build/mutations/S3Client/index.d.ts +1 -0
- package/build/mutations/accounts/accounts.mutation.d.ts +59 -0
- package/build/mutations/accounts/accounts.mutation.test.d.ts +1 -0
- package/build/mutations/accounts/delete-mutation.d.ts +20 -0
- package/build/mutations/accounts/index.d.ts +2 -0
- package/build/mutations/accounts/types.d.ts +25 -0
- package/build/mutations/ai/ai.mutation.d.ts +28 -0
- package/build/mutations/ai/ai.mutation.test.d.ts +1 -0
- package/build/mutations/ai/index.d.ts +1 -0
- package/build/mutations/audit/audit-api.mutation.d.ts +13 -0
- package/build/mutations/audit/audit-api.mutation.test.d.ts +1 -0
- package/build/mutations/audit/audit.mutation.d.ts +6 -0
- package/build/mutations/audit/index.d.ts +3 -0
- package/build/mutations/audit/settings.mutation.test.d.ts +1 -0
- package/build/mutations/batch-refunds/batch-refunds.mutation.d.ts +32 -0
- package/build/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +1 -0
- package/build/mutations/batch-refunds/index.d.ts +1 -0
- package/build/mutations/certificates/certificates.mutation.d.ts +31 -0
- package/build/mutations/certificates/index.d.ts +1 -0
- package/build/mutations/chartgpt/chartgpt.mutation.d.ts +70 -0
- package/build/mutations/chartgpt/chartgpt.mutation.test.d.ts +1 -0
- package/build/mutations/chartgpt/index.d.ts +1 -0
- package/build/mutations/checkouts/checkouts.mutation.d.ts +5 -0
- package/build/mutations/checkouts/checkouts.mutation.test.d.ts +1 -0
- package/build/mutations/checkouts/index.d.ts +1 -0
- package/build/mutations/concierge/concierge.mutation.d.ts +10 -0
- package/build/mutations/concierge/index.d.ts +1 -0
- package/build/mutations/connections/conections.mutation.test.d.ts +1 -0
- package/build/mutations/connections/connections.mutation.d.ts +40 -0
- package/build/mutations/connections/index.d.ts +1 -0
- package/build/mutations/developers/developers.mutation.d.ts +31 -0
- package/build/mutations/developers/developers.mutation.test.d.ts +1 -0
- package/build/mutations/developers/index.d.ts +2 -0
- package/build/mutations/developers/types.d.ts +5 -0
- package/build/mutations/fraud-screening/fraud-screening.mutation.d.ts +54 -0
- package/build/mutations/fraud-screening/index.d.ts +1 -0
- package/build/mutations/index.d.ts +38 -0
- package/build/mutations/insights/index.d.ts +1 -0
- package/build/mutations/insights/insights.mutation.d.ts +2 -0
- package/build/mutations/installments/index.d.ts +1 -0
- package/build/mutations/installments/installments.mutation.d.ts +17 -0
- package/build/mutations/installments/installments.mutation.test.d.ts +1 -0
- package/build/mutations/integration-requests/index.d.ts +1 -0
- package/build/mutations/integration-requests/integration-requests.mutation.d.ts +12 -0
- package/build/mutations/integration-requests/integration-requests.mutation.test.d.ts +1 -0
- package/build/mutations/multi-factor-authentication/index.d.ts +1 -0
- package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +12 -0
- package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.test.d.ts +1 -0
- package/build/mutations/notifications/index.d.ts +1 -0
- package/build/mutations/notifications/notifications.mutation.d.ts +5 -0
- package/build/mutations/organization-config/index.d.ts +1 -0
- package/build/mutations/organization-config/organization-config.mutation.d.ts +6 -0
- package/build/mutations/organizations/index.d.ts +1 -0
- package/build/mutations/organizations/organizations.mutation.d.ts +1 -0
- package/build/mutations/organizations/organizations.mutation.test.d.ts +1 -0
- package/build/mutations/payment-links/index.d.ts +1 -0
- package/build/mutations/payment-links/payment-links.mutation.d.ts +21 -0
- package/build/mutations/payment-links/payment-links.mutation.test.d.ts +1 -0
- package/build/mutations/payments/index.d.ts +1 -0
- package/build/mutations/payments/payments.mutation.d.ts +21 -0
- package/build/mutations/payments/payments.mutation.test.d.ts +1 -0
- package/build/mutations/playground/index.d.ts +1 -0
- package/build/mutations/playground/playground.mutation.d.ts +7 -0
- package/build/mutations/playground/playground.mutation.test.d.ts +1 -0
- package/build/mutations/recipients/index.d.ts +1 -0
- package/build/mutations/recipients/recipients.mutation.d.ts +18 -0
- package/build/mutations/reconciliations/index.d.ts +2 -0
- package/build/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +5 -0
- package/build/mutations/reconciliations/reconciliations-alerts.mutation.test.d.ts +1 -0
- package/build/mutations/reconciliations/reconciliations.mutation.d.ts +4 -0
- package/build/mutations/reports/index.d.ts +1 -0
- package/build/mutations/reports/reports.mutation.d.ts +10 -0
- package/build/mutations/reports/reports.mutation.test.d.ts +1 -0
- package/build/mutations/routing-monitors/index.d.ts +1 -0
- package/build/mutations/routing-monitors/routing-monitors.mutation.d.ts +4 -0
- package/build/mutations/saml-config/index.d.ts +1 -0
- package/build/mutations/saml-config/saml-config.query.d.ts +4 -0
- package/build/mutations/saml-config/saml-config.query.test.d.ts +1 -0
- package/build/mutations/scheduled-reports/index.d.ts +1 -0
- package/build/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +8 -0
- package/build/mutations/security/index.d.ts +1 -0
- package/build/mutations/security/security.mutation.d.ts +7 -0
- package/build/mutations/security/security.mutation.test.d.ts +1 -0
- package/build/mutations/settings/index.d.ts +2 -0
- package/build/mutations/settings/settings.mutation.d.ts +17 -0
- package/build/mutations/settings/settings.mutation.test.d.ts +1 -0
- package/build/mutations/settings/use-table-onboarding.d.ts +6 -0
- package/build/mutations/smart-routing/index.d.ts +1 -0
- package/build/mutations/smart-routing/smart-routing.mutation.d.ts +90 -0
- package/build/mutations/smart-routing/smart-routing.mutation.test.d.ts +1 -0
- package/build/mutations/subscriptions/index.d.ts +1 -0
- package/build/mutations/subscriptions/subscriptions.mutation.d.ts +19 -0
- package/build/mutations/subscriptions/subscriptions.mutation.test.d.ts +1 -0
- package/build/mutations/team/index.d.ts +1 -0
- package/build/mutations/team/team.mutaion.test.d.ts +1 -0
- package/build/mutations/team/team.mutation.d.ts +12 -0
- package/build/mutations/template-reporting/index.d.ts +1 -0
- package/build/mutations/template-reporting/template-reporting.mutation.d.ts +29 -0
- package/build/mutations/template-reporting/template-reporting.mutation.test.d.ts +1 -0
- package/build/mutations/users/index.d.ts +1 -0
- package/build/mutations/users/users.mutation.d.ts +12 -0
- package/build/mutations/users/users.mutation.test.d.ts +1 -0
- package/build/mutations/velocity-rules/index.d.ts +1 -0
- package/build/mutations/velocity-rules/velocity-rules.mutation.d.ts +5 -0
- package/build/queries/accounts/accounts.query.by-organization.test.d.ts +1 -0
- package/build/queries/accounts/accounts.query.d.ts +33 -0
- package/build/queries/accounts/accounts.query.test.d.ts +1 -0
- package/build/queries/accounts/index.d.ts +2 -0
- package/build/queries/accounts/types.d.ts +21 -0
- package/build/queries/audit/audit.query.d.ts +49 -0
- package/build/queries/audit/audit.query.test.d.ts +1 -0
- package/build/queries/audit/index.d.ts +2 -0
- package/build/queries/batch-refunds/batch-refunds.query.d.ts +3 -0
- package/build/queries/batch-refunds/index.d.ts +1 -0
- package/build/queries/certificates/certificates.query.d.ts +6 -0
- package/build/queries/certificates/index.d.ts +1 -0
- package/build/queries/chartgpt/chartgpt.query.d.ts +65 -0
- package/build/queries/chartgpt/chartgpt.query.test.d.ts +1 -0
- package/build/queries/chartgpt/index.d.ts +1 -0
- package/build/queries/checkouts/checkouts.query.d.ts +116 -0
- package/build/queries/checkouts/checkouts.query.test.d.ts +1 -0
- package/build/queries/checkouts/index.d.ts +2 -0
- package/build/queries/checkouts/styling/styling.query.d.ts +11 -0
- package/build/queries/checkouts/styling/styling.query.test.d.ts +1 -0
- package/build/queries/concierge/concierge.query.d.ts +6 -0
- package/build/queries/concierge/index.d.ts +1 -0
- package/build/queries/connections/connections.query.d.ts +3 -0
- package/build/queries/connections/connections.query.test.d.ts +1 -0
- package/build/queries/connections/index.d.ts +1 -0
- package/build/queries/data-report/data-report.query.d.ts +16 -0
- package/build/queries/data-report/data-report.query.test.d.ts +1 -0
- package/build/queries/data-report/fraud/fraud.query.d.ts +17 -0
- package/build/queries/data-report/fraud/fraud.query.test.d.ts +1 -0
- package/build/queries/data-report/index.d.ts +2 -0
- package/build/queries/developers/developers.query.d.ts +16 -0
- package/build/queries/developers/developers.query.test.d.ts +1 -0
- package/build/queries/developers/index.d.ts +1 -0
- package/build/queries/feature-flags/datadog-hooks.d.ts +34 -0
- package/build/queries/feature-flags/datadog-hooks.test.d.ts +1 -0
- package/build/queries/feature-flags/feature-flags.test.d.ts +1 -0
- package/build/queries/feature-flags/index.d.ts +17 -0
- package/build/queries/feature-flags/index.test.d.ts +11 -0
- package/build/queries/feature-flags/legacy-hooks.d.ts +8 -0
- package/build/queries/feature-flags/parity.test.d.ts +8 -0
- package/build/queries/field-visibility/field-visibility.query.d.ts +8 -0
- package/build/queries/field-visibility/field-visibility.query.test.d.ts +1 -0
- package/build/queries/field-visibility/index.d.ts +1 -0
- package/build/queries/firebase/firebase.query.d.ts +8 -0
- package/build/queries/firebase/firebase.query.test.d.ts +1 -0
- package/build/queries/firebase/index.d.ts +1 -0
- package/build/queries/fraud-screening/fraud-screening.query.d.ts +11 -0
- package/build/queries/fraud-screening/fraud-screening.query.test.d.ts +1 -0
- package/build/queries/fraud-screening/index.d.ts +1 -0
- package/build/queries/index.d.ts +39 -0
- package/build/queries/installments/index.d.ts +1 -0
- package/build/queries/installments/installments.query.d.ts +4 -0
- package/build/queries/installments/installments.query.test.d.ts +1 -0
- package/build/queries/mfa/index.d.ts +1 -0
- package/build/queries/mfa/organization-settings.query.d.ts +5 -0
- package/build/queries/mfa/organization-settings.query.test.d.ts +1 -0
- package/build/queries/network-tokens/index.d.ts +1 -0
- package/build/queries/network-tokens/network-tokens.query.d.ts +4 -0
- package/build/queries/notifications/index.d.ts +1 -0
- package/build/queries/notifications/notifications.query.d.ts +12 -0
- package/build/queries/notifications/notifications.query.test.d.ts +1 -0
- package/build/queries/onboarding/index.d.ts +1 -0
- package/build/queries/onboarding/onboarding.query.d.ts +7 -0
- package/build/queries/onboarding/onboarding.query.test.d.ts +1 -0
- package/build/queries/organization-config/index.d.ts +1 -0
- package/build/queries/organization-config/organization-config.query.d.ts +4 -0
- package/build/queries/organizations/index.d.ts +1 -0
- package/build/queries/organizations/organizations.query.d.ts +29 -0
- package/build/queries/organizations/organizations.query.test.d.ts +1 -0
- package/build/queries/payment-links/index.d.ts +1 -0
- package/build/queries/payment-links/payment-links.query.d.ts +6 -0
- package/build/queries/payment-links/payment-links.query.test.d.ts +1 -0
- package/build/queries/payments/index.d.ts +2 -0
- package/build/queries/payments/payments.query.d.ts +36 -0
- package/build/queries/payments/payments.query.test.d.ts +1 -0
- package/build/queries/payments/payouts-timeline.query.test.d.ts +1 -0
- package/build/queries/payments/payouts.query.d.ts +7 -0
- package/build/queries/payments/payouts.query.test.d.ts +1 -0
- package/build/queries/recipients/index.d.ts +1 -0
- package/build/queries/recipients/recipients.query.d.ts +14 -0
- package/build/queries/reconciliations/index.d.ts +7 -0
- package/build/queries/reconciliations/reconciliation-insights.query.d.ts +27 -0
- package/build/queries/reconciliations/reconciliation-insights.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-advancements.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-advancements.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-agenda.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-agenda.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-alerts.query.d.ts +8 -0
- package/build/queries/reconciliations/reconciliations-alerts.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-fees.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-fees.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations-sales.query.d.ts +9 -0
- package/build/queries/reconciliations/reconciliations-sales.query.test.d.ts +1 -0
- package/build/queries/reconciliations/reconciliations.query.d.ts +11 -0
- package/build/queries/reconciliations/reconciliations.query.test.d.ts +1 -0
- package/build/queries/reports/index.d.ts +1 -0
- package/build/queries/reports/reports.query.d.ts +13 -0
- package/build/queries/reports/reports.query.test.d.ts +1 -0
- package/build/queries/routing-monitors/index.d.ts +1 -0
- package/build/queries/routing-monitors/routing-monitors.query.d.ts +4 -0
- package/build/queries/saml-config/index.d.ts +1 -0
- package/build/queries/saml-config/saml-config.query.d.ts +4 -0
- package/build/queries/saml-config/saml-config.query.test.d.ts +1 -0
- package/build/queries/security/index.d.ts +1 -0
- package/build/queries/security/security.query.d.ts +23 -0
- package/build/queries/security/security.query.test.d.ts +1 -0
- package/build/queries/smart-recovery/index.d.ts +1 -0
- package/build/queries/smart-recovery/smart-recovery-overview.query.d.ts +9 -0
- package/build/queries/smart-recovery/smart-recovery-overview.query.test.d.ts +1 -0
- package/build/queries/smart-routing/index.d.ts +1 -0
- package/build/queries/smart-routing/smart-routing.query.d.ts +28 -0
- package/build/queries/smart-routing/smart-routing.query.test.d.ts +1 -0
- package/build/queries/subscriptions/index.d.ts +1 -0
- package/build/queries/subscriptions/subscriptions.query.d.ts +3 -0
- package/build/queries/subscriptions/subscriptions.query.test.d.ts +1 -0
- package/build/queries/team/index.d.ts +1 -0
- package/build/queries/team/team.query.d.ts +28 -0
- package/build/queries/team/team.query.test.d.ts +1 -0
- package/build/queries/template-reporting/index.d.ts +1 -0
- package/build/queries/template-reporting/template-reporting.query.d.ts +7 -0
- package/build/queries/template-reporting/template-reporting.query.test.d.ts +1 -0
- package/build/queries/translation/index.d.ts +1 -0
- package/build/queries/translation/translation.query.d.ts +5 -0
- package/build/queries/users/index.d.ts +1 -0
- package/build/queries/users/users.query.d.ts +24 -0
- package/build/queries/users/users.query.test.d.ts +1 -0
- package/build/queries/velocity-rules/index.d.ts +1 -0
- package/build/queries/velocity-rules/velocity-rules.query.d.ts +6 -0
- package/build/set-public-path.d.ts +1 -0
- package/build/store/index.d.ts +3 -0
- package/build/types/accounts/accounts.d.ts +11 -0
- package/build/types/accounts/index.d.ts +1 -0
- package/build/types/ai/ai.d.ts +78 -0
- package/build/types/ai/index.d.ts +1 -0
- package/build/types/allowed-list/allowed-list.d.ts +9 -0
- package/build/types/allowed-list/index.d.ts +1 -0
- package/build/types/audit/audit.d.ts +352 -0
- package/build/types/audit/index.d.ts +1 -0
- package/build/types/batch-refunds/batch-refunds.d.ts +38 -0
- package/build/types/batch-refunds/index.d.ts +1 -0
- package/build/types/certificates/certificates.d.ts +26 -0
- package/build/types/certificates/index.d.ts +1 -0
- package/build/types/chartgpt/feedback.types.d.ts +34 -0
- package/build/types/chartgpt/index.d.ts +1 -0
- package/build/types/checkout/checkout.d.ts +289 -0
- package/build/types/checkout/index.d.ts +1 -0
- package/build/types/checkout/styling/styling.d.ts +177 -0
- package/build/{cjs/types/types → types}/concierge/concierge-access.d.ts +1 -1
- package/build/types/concierge/index.d.ts +2 -0
- package/build/types/connection/connection.d.ts +81 -0
- package/build/types/connection/costs.d.ts +26 -0
- package/build/types/connection/index.d.ts +2 -0
- package/build/types/country/country.d.ts +12 -0
- package/build/types/country/index.d.ts +1 -0
- package/build/types/customized-api-keys/customized-api-keys.d.ts +30 -0
- package/build/types/customized-api-keys/index.d.ts +1 -0
- package/build/types/data-report/conversion-rate.types.d.ts +48 -0
- package/build/types/data-report/data-report.d.ts +70 -0
- package/build/types/data-report/fraud.types.d.ts +166 -0
- package/build/types/data-report/index.d.ts +3 -0
- package/build/types/developer/developer.d.ts +13 -0
- package/build/types/developer/index.d.ts +1 -0
- package/build/types/feature-flags/intex.d.ts +13 -0
- package/build/types/field-visibility/field-visibility.d.ts +6 -0
- package/build/types/field-visibility/index.d.ts +1 -0
- package/build/types/fraud-screening/fraud-screening.d.ts +109 -0
- package/build/types/fraud-screening/index.d.ts +1 -0
- package/build/types/index.d.ts +42 -0
- package/build/types/installments/index.d.ts +1 -0
- package/build/types/installments/installments.d.ts +129 -0
- package/build/types/integration-requests/index.d.ts +1 -0
- package/build/types/integration-requests/integration-request.d.ts +26 -0
- package/build/types/mfa/index.d.ts +1 -0
- package/build/types/mfa/mfa.d.ts +10 -0
- package/build/types/notifications/index.d.ts +1 -0
- package/build/types/notifications/notifications.d.ts +39 -0
- package/build/types/onboarding/index.d.ts +1 -0
- package/build/types/onboarding/onboarding.d.ts +7 -0
- package/build/types/operation-transaction/index.d.ts +1 -0
- package/build/types/operation-transaction/operation-transaction.d.ts +28 -0
- package/build/types/organization/index.d.ts +1 -0
- package/build/types/organization/organization.d.ts +141 -0
- package/build/types/organization-config/index.d.ts +1 -0
- package/build/types/organization-config/organization-config.d.ts +34 -0
- package/build/types/organization-settings/index.d.ts +1 -0
- package/build/types/organization-settings/organization-settings.d.ts +27 -0
- package/build/types/payment/index.d.ts +1 -0
- package/build/types/payment/payment.d.ts +582 -0
- package/build/types/payment-links/index.d.ts +1 -0
- package/build/types/payment-links/payment-links.d.ts +16 -0
- package/build/types/payouts/index.d.ts +1 -0
- package/build/types/payouts/payouts.d.ts +125 -0
- package/build/types/playground/index.d.ts +1 -0
- package/build/types/playground/playground.d.ts +33 -0
- package/build/types/recipients/index.d.ts +3 -0
- package/build/types/recipients/recipients-export.d.ts +52 -0
- package/build/types/recipients/recipients-mutations.d.ts +136 -0
- package/build/types/recipients/recipients.d.ts +242 -0
- package/build/types/reconciliation/index.d.ts +7 -0
- package/build/types/reconciliation/reconciliation-advancements.d.ts +40 -0
- package/build/types/reconciliation/reconciliation-agenda.d.ts +84 -0
- package/build/types/reconciliation/reconciliation-alerts.d.ts +38 -0
- package/build/types/reconciliation/reconciliation-fees.d.ts +45 -0
- package/build/types/reconciliation/reconciliation-insights.d.ts +238 -0
- package/build/types/reconciliation/reconciliation-sales.d.ts +56 -0
- package/build/types/reconciliation/reconciliation.d.ts +349 -0
- package/build/types/reports/index.d.ts +1 -0
- package/build/types/reports/reports.d.ts +155 -0
- package/build/types/routing-monitors/index.d.ts +1 -0
- package/build/types/routing-monitors/routing-monitors.d.ts +35 -0
- package/build/types/s3-client/index.d.ts +1 -0
- package/build/types/s3-client/s3-client.d.ts +19 -0
- package/build/types/saml-config/index.d.ts +1 -0
- package/build/types/saml-config/saml-config.d.ts +28 -0
- package/build/types/smart-recovery/index.d.ts +1 -0
- package/build/types/smart-recovery/smart-recovery-overview.types.d.ts +94 -0
- package/build/types/smart-routing/index.d.ts +1 -0
- package/build/types/smart-routing/smart-routing.d.ts +362 -0
- package/build/types/subscriptions/index.d.ts +1 -0
- package/build/types/subscriptions/subscriptions.d.ts +75 -0
- package/build/types/team/index.d.ts +1 -0
- package/build/types/team/team.d.ts +122 -0
- package/build/types/template-reporting/common.types.d.ts +65 -0
- package/build/types/template-reporting/index.d.ts +55 -0
- package/build/types/template-reporting/schedule.types.d.ts +72 -0
- package/build/types/template-reporting/template.types.d.ts +102 -0
- package/build/types/translation/index.d.ts +1 -0
- package/build/types/translation/translation.d.ts +8 -0
- package/build/types/user/index.d.ts +1 -0
- package/build/types/user/user.d.ts +199 -0
- package/build/types/velocity-rules/index.d.ts +1 -0
- package/build/types/velocity-rules/velocity-rules.d.ts +15 -0
- package/build/types/webhook/index.d.ts +1 -0
- package/build/types/webhook/webhook.d.ts +73 -0
- package/build/utils/datadog-environment.d.ts +33 -0
- package/build/utils/datadog-environment.test.d.ts +1 -0
- package/build/utils/enums.d.ts +19 -0
- package/build/utils/feature-flags-provider.d.ts +21 -0
- package/build/utils/feature-flags-provider.test.d.ts +1 -0
- package/build/utils/handler-error.d.ts +6 -0
- package/build/utils/index.d.ts +5 -0
- package/build/utils/test-utils.d.ts +4 -0
- package/build/utils/use-account-code.d.ts +1 -0
- package/build/utils/use-account-code.test.d.ts +1 -0
- package/build/utils/use-is-testing.d.ts +3 -0
- package/build/utils/use-is-testing.test.d.ts +1 -0
- package/build/utils/use-localstorage.d.ts +2 -0
- package/build/websockets/index.d.ts +1 -0
- package/build/websockets/use-chart-assistant-socket.d.ts +17 -0
- package/build/websockets/use-chart-assistant-socket.test.d.ts +1 -0
- package/build/yuno-dashboard-api-mfe.d.ts +10 -0
- package/package.json +1 -1
- package/build/esm/types/mutations/audit/audit-subscriptions-v2.mutation.d.ts +0 -12
- package/build/esm/types/mutations/domains/domains.mutation.d.ts +0 -41
- package/build/esm/types/mutations/domains/index.d.ts +0 -1
- package/build/esm/types/queries/audit/audit-subscriptions-v2.query.d.ts +0 -4
- package/build/esm/types/queries/domains/domains.query.d.ts +0 -13
- package/build/esm/types/queries/domains/index.d.ts +0 -1
- package/build/esm/types/types/concierge/concierge-access-request.d.ts +0 -36
- package/build/esm/types/types/concierge/concierge-access.d.ts +0 -50
- package/build/esm/types/types/domains/domains.d.ts +0 -77
- package/build/esm/types/types/domains/index.d.ts +0 -1
- /package/build/{cjs/types/mutations → mutations}/audit/audit-subscriptions-v2.mutation.d.ts +0 -0
- /package/build/{cjs/types/mutations → mutations}/domains/domains.mutation.d.ts +0 -0
- /package/build/{cjs/types/mutations → mutations}/domains/index.d.ts +0 -0
- /package/build/{cjs/types/queries → queries}/audit/audit-subscriptions-v2.query.d.ts +0 -0
- /package/build/{cjs/types/queries → queries}/domains/domains.query.d.ts +0 -0
- /package/build/{cjs/types/queries → queries}/domains/index.d.ts +0 -0
- /package/build/{cjs/types/types → types}/concierge/concierge-access-request.d.ts +0 -0
- /package/build/{cjs/types/types → types}/domains/domains.d.ts +0 -0
- /package/build/{cjs/types/types → types}/domains/index.d.ts +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
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 SearchSchedulesRequest {
|
|
37
|
+
accounts: string[];
|
|
38
|
+
includeInactive?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface SearchScheduleByIdRequest {
|
|
41
|
+
accounts: string[];
|
|
42
|
+
}
|
|
43
|
+
export interface GetSchedulesListResponse {
|
|
44
|
+
schedules: ReportSchedule[];
|
|
45
|
+
total: number;
|
|
46
|
+
}
|
|
47
|
+
export interface CreateScheduleRequest {
|
|
48
|
+
report_template_id: number;
|
|
49
|
+
name: string;
|
|
50
|
+
frequency: FrequencyType;
|
|
51
|
+
time_of_day: string;
|
|
52
|
+
day_of_week?: number;
|
|
53
|
+
day_of_month?: number;
|
|
54
|
+
format: FormatType;
|
|
55
|
+
start_date?: string;
|
|
56
|
+
end_date?: string;
|
|
57
|
+
destination_emails: string[];
|
|
58
|
+
accounts: string[];
|
|
59
|
+
}
|
|
60
|
+
export interface DisableScheduleRequest {
|
|
61
|
+
accounts: string[];
|
|
62
|
+
end_date?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface DeleteScheduleRequest {
|
|
65
|
+
accounts: string[];
|
|
66
|
+
}
|
|
67
|
+
export type ScheduleWithTemplate = ReportSchedule & {
|
|
68
|
+
report_template: ReportTemplate;
|
|
69
|
+
};
|
|
70
|
+
export type ScheduleWithExecutions = ReportSchedule & {
|
|
71
|
+
executions: ReportScheduleExecution[];
|
|
72
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
columns_metadata?: {
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export interface TemplateSelection {
|
|
13
|
+
version: number;
|
|
14
|
+
filters: Record<string, FilterSelection>;
|
|
15
|
+
timezone?: string;
|
|
16
|
+
columns: {
|
|
17
|
+
mode: ColumnModeType;
|
|
18
|
+
keys?: string[];
|
|
19
|
+
};
|
|
20
|
+
columns_metadata?: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface ReportTemplateMetadata {
|
|
23
|
+
id: number;
|
|
24
|
+
metadata: TemplateMetadata;
|
|
25
|
+
created_at: string;
|
|
26
|
+
updated_at: string;
|
|
27
|
+
deleted_at?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ReportTemplate {
|
|
30
|
+
id: number;
|
|
31
|
+
module: string;
|
|
32
|
+
type: string;
|
|
33
|
+
variant: TemplateVariantType;
|
|
34
|
+
name: string;
|
|
35
|
+
is_system: boolean;
|
|
36
|
+
status: TemplateStatusType;
|
|
37
|
+
base_template_id?: number;
|
|
38
|
+
selection: TemplateSelection;
|
|
39
|
+
organization_code?: string;
|
|
40
|
+
accounts?: string[];
|
|
41
|
+
metadata_id?: number;
|
|
42
|
+
created_at?: string;
|
|
43
|
+
updated_at?: string;
|
|
44
|
+
deleted_at?: string;
|
|
45
|
+
metadata?: TemplateMetadata;
|
|
46
|
+
base_template?: ReportTemplate;
|
|
47
|
+
available_columns?: {
|
|
48
|
+
default: AvailableColumn[];
|
|
49
|
+
all: AvailableColumn[];
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export interface AvailableColumn {
|
|
53
|
+
name: string;
|
|
54
|
+
table: string;
|
|
55
|
+
report_name: string;
|
|
56
|
+
type: string;
|
|
57
|
+
dashboard_name: string;
|
|
58
|
+
snowflake_name?: string;
|
|
59
|
+
snowflake_table?: string;
|
|
60
|
+
unique_key: string;
|
|
61
|
+
}
|
|
62
|
+
export interface SearchTemplatesRequest {
|
|
63
|
+
accounts: string[];
|
|
64
|
+
module: string;
|
|
65
|
+
type?: string;
|
|
66
|
+
includeInactive?: boolean;
|
|
67
|
+
}
|
|
68
|
+
export interface SearchTemplateByIdRequest {
|
|
69
|
+
accounts: string[];
|
|
70
|
+
}
|
|
71
|
+
export interface GetTemplatesListResponse {
|
|
72
|
+
templates: ReportTemplate[];
|
|
73
|
+
}
|
|
74
|
+
export interface CreateTemplateRequest {
|
|
75
|
+
module: string;
|
|
76
|
+
type: string;
|
|
77
|
+
variant: TemplateVariantType;
|
|
78
|
+
name: string;
|
|
79
|
+
base_template_id?: number;
|
|
80
|
+
selection: TemplateSelection;
|
|
81
|
+
accounts: string[];
|
|
82
|
+
metadata: TemplateMetadata;
|
|
83
|
+
}
|
|
84
|
+
export interface CloneTemplateRequest {
|
|
85
|
+
name: string;
|
|
86
|
+
accounts: string[];
|
|
87
|
+
selection: TemplateSelection;
|
|
88
|
+
}
|
|
89
|
+
export interface UpdateTemplateSelectionRequest {
|
|
90
|
+
accounts: string[];
|
|
91
|
+
selection: TemplateSelection;
|
|
92
|
+
}
|
|
93
|
+
export interface ChangeTemplateStatusRequest {
|
|
94
|
+
accounts: string[];
|
|
95
|
+
status: TemplateStatusType;
|
|
96
|
+
}
|
|
97
|
+
export interface DeleteTemplateRequest {
|
|
98
|
+
accounts: string[];
|
|
99
|
+
}
|
|
100
|
+
export type TemplateWithMetadata = ReportTemplate & {
|
|
101
|
+
metadata: ReportTemplateMetadata;
|
|
102
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './translation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user';
|
|
@@ -0,0 +1,199 @@
|
|
|
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 MassiveUserInviteResponseV2 {
|
|
78
|
+
usersEnqueued: string[];
|
|
79
|
+
usersFailed: string[];
|
|
80
|
+
}
|
|
81
|
+
interface UserRequestPayload extends Pick<PostSignUp, 'first_name' | 'last_name'> {
|
|
82
|
+
}
|
|
83
|
+
interface UserResponseEmailVerification {
|
|
84
|
+
user_id: string;
|
|
85
|
+
}
|
|
86
|
+
interface UserInvitePayload {
|
|
87
|
+
emails: string[];
|
|
88
|
+
role_id: string;
|
|
89
|
+
}
|
|
90
|
+
interface ChangePasswordProfile {
|
|
91
|
+
client_id: string;
|
|
92
|
+
connection: string;
|
|
93
|
+
grant_type: string;
|
|
94
|
+
username: string;
|
|
95
|
+
password: string;
|
|
96
|
+
scope?: string;
|
|
97
|
+
id_token?: string;
|
|
98
|
+
device?: string;
|
|
99
|
+
}
|
|
100
|
+
interface ChangePasswordProfileRequest {
|
|
101
|
+
confirmPassword: string;
|
|
102
|
+
current: string;
|
|
103
|
+
new_password: string;
|
|
104
|
+
username: string;
|
|
105
|
+
user_id: string;
|
|
106
|
+
}
|
|
107
|
+
interface FailureReason {
|
|
108
|
+
response?: {
|
|
109
|
+
data?: {
|
|
110
|
+
data?: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
interface ChangePasswordResponse {
|
|
115
|
+
access_token: string;
|
|
116
|
+
id_token: string;
|
|
117
|
+
token_type: string;
|
|
118
|
+
}
|
|
119
|
+
interface WorkosPasswordResetRequest {
|
|
120
|
+
email: string;
|
|
121
|
+
}
|
|
122
|
+
interface WorkosPasswordResetResponse {
|
|
123
|
+
success: boolean;
|
|
124
|
+
}
|
|
125
|
+
interface WorkosAdminPortalResponse {
|
|
126
|
+
link: string;
|
|
127
|
+
}
|
|
128
|
+
interface WorkosVerifyMfaRequest {
|
|
129
|
+
challenge_token: string;
|
|
130
|
+
totp_code: string;
|
|
131
|
+
remember_device: boolean;
|
|
132
|
+
}
|
|
133
|
+
interface WorkosVerifyMfaResponse {
|
|
134
|
+
access_token: string;
|
|
135
|
+
mfa_token: string;
|
|
136
|
+
next_step: string;
|
|
137
|
+
session?: {
|
|
138
|
+
session_id: string;
|
|
139
|
+
expires_in: number;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
interface ICustomizedApiKeysMembers {
|
|
143
|
+
code: string;
|
|
144
|
+
first_name: string;
|
|
145
|
+
last_name: string;
|
|
146
|
+
}
|
|
147
|
+
interface ICustomizedApiKeysAccounts {
|
|
148
|
+
name: string;
|
|
149
|
+
code: string;
|
|
150
|
+
}
|
|
151
|
+
interface ImpersonationUserItem {
|
|
152
|
+
code: string;
|
|
153
|
+
name: string;
|
|
154
|
+
}
|
|
155
|
+
interface ImpersonationUser {
|
|
156
|
+
code: string;
|
|
157
|
+
organization_name: string;
|
|
158
|
+
organization_logo: string;
|
|
159
|
+
users: ImpersonationUserItem[];
|
|
160
|
+
status: string;
|
|
161
|
+
expires_at: string;
|
|
162
|
+
}
|
|
163
|
+
interface ImpersonationUsersResponse {
|
|
164
|
+
result: ImpersonationUser[];
|
|
165
|
+
}
|
|
166
|
+
interface ImpersonationEnabledResponse {
|
|
167
|
+
enabled: 'true' | 'false';
|
|
168
|
+
}
|
|
169
|
+
interface UsersToImpersonateUser {
|
|
170
|
+
code: string;
|
|
171
|
+
first_name: string;
|
|
172
|
+
last_name: string;
|
|
173
|
+
email: string;
|
|
174
|
+
account_code: string;
|
|
175
|
+
account_code_live: string;
|
|
176
|
+
account_code_testing: string;
|
|
177
|
+
account_name: string;
|
|
178
|
+
role: {
|
|
179
|
+
id: string;
|
|
180
|
+
name: string;
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
interface UsersToImpersonateResponse {
|
|
184
|
+
code: string;
|
|
185
|
+
organization_code: string;
|
|
186
|
+
organization_name: string;
|
|
187
|
+
organization_logo: string | null;
|
|
188
|
+
total_elements: number;
|
|
189
|
+
total_pages: number;
|
|
190
|
+
page: number;
|
|
191
|
+
page_size: number;
|
|
192
|
+
users: UsersToImpersonateUser[];
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
export interface GetUserFullResponse {
|
|
196
|
+
user: User.UserResponsePayload;
|
|
197
|
+
organizations: Organization.Organization;
|
|
198
|
+
accounts_user: Organization.Account[];
|
|
199
|
+
}
|
|
@@ -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,73 @@
|
|
|
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
|
+
hmac_client_secret?: string;
|
|
42
|
+
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
43
|
+
payment_triggers?: Array<IWebhooksTriggers>;
|
|
44
|
+
report_triggers?: Array<IWebhooksTriggers>;
|
|
45
|
+
customer_triggers?: Array<IWebhooksTriggers>;
|
|
46
|
+
subscription_triggers?: Array<IWebhooksTriggers>;
|
|
47
|
+
onboarding_triggers?: Array<IWebhooksTriggers>;
|
|
48
|
+
reports_v2_triggers?: Array<IWebhooksTriggers>;
|
|
49
|
+
renewal_days?: number;
|
|
50
|
+
created_at: string;
|
|
51
|
+
updated_at?: string;
|
|
52
|
+
}
|
|
53
|
+
interface WebHookV2MultiAccount {
|
|
54
|
+
id: number;
|
|
55
|
+
account_codes: string[];
|
|
56
|
+
name: string;
|
|
57
|
+
state: string;
|
|
58
|
+
url: string;
|
|
59
|
+
api_key: string;
|
|
60
|
+
secret: string;
|
|
61
|
+
hmac_client_secret?: string;
|
|
62
|
+
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
63
|
+
payment_triggers?: Array<IWebhooksTriggers>;
|
|
64
|
+
report_triggers?: Array<IWebhooksTriggers>;
|
|
65
|
+
customer_triggers?: Array<IWebhooksTriggers>;
|
|
66
|
+
subscription_triggers?: Array<IWebhooksTriggers>;
|
|
67
|
+
onboarding_triggers?: Array<IWebhooksTriggers>;
|
|
68
|
+
reports_v2_triggers?: Array<IWebhooksTriggers>;
|
|
69
|
+
renewal_days?: number;
|
|
70
|
+
created_at: string;
|
|
71
|
+
updated_at?: string;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve the current Datadog environment tag from the browser host.
|
|
3
|
+
*
|
|
4
|
+
* Uses the SHORT-FORM env values (`prod` / `stg` / `sb` / `dev`) to match
|
|
5
|
+
* the convention already used by Yuno's existing Datadog dashboards and
|
|
6
|
+
* the backend services they monitor. Confirmed by sweeping the
|
|
7
|
+
* frontend/RUM/dashboard-named dashboards in Datadog — every one of them
|
|
8
|
+
* filters on the short form. Do NOT switch to long-form values
|
|
9
|
+
* (`production` / `staging` / etc.) without coordinating a sweep of every
|
|
10
|
+
* dashboard, monitor, and saved view that filters on the short form.
|
|
11
|
+
*
|
|
12
|
+
* Mapping:
|
|
13
|
+
* - dashboard.y.uno → prod
|
|
14
|
+
* - dashboard.y.uno + isTesting=ON → sb (production hardware, test data)
|
|
15
|
+
* - dashboard.staging.y.uno → stg
|
|
16
|
+
* - dashboard.dev.y.uno → dev
|
|
17
|
+
* - anything else → dev (local dev, PR previews, ad-hoc hosts)
|
|
18
|
+
*
|
|
19
|
+
* Consumed by `dashboard-container-mfe` when bootstrapping the OpenFeature
|
|
20
|
+
* Datadog provider so flag evaluations — and any RUM/log correlation with
|
|
21
|
+
* backend services — are scoped to the correct environment. Kept in
|
|
22
|
+
* api-mfe (rather than container) so other consumers of the SDK can read
|
|
23
|
+
* the same env without re-implementing the host mapping.
|
|
24
|
+
*
|
|
25
|
+
* SSR / non-DOM safe: returns 'dev' when `window` or `localStorage`
|
|
26
|
+
* aren't available (SSR pre-hydration, web workers, Node-side unit tests).
|
|
27
|
+
*
|
|
28
|
+
* The `isTesting` flag mirrors the `'ON' | 'OFF'` convention used by
|
|
29
|
+
* `useIsTesting` elsewhere in this SDK — do not switch to `'true'`/`'false'`
|
|
30
|
+
* without migrating every reader.
|
|
31
|
+
*/
|
|
32
|
+
export type DatadogEnvironment = 'dev' | 'stg' | 'sb' | 'prod';
|
|
33
|
+
export declare function getDatadogEnvironment(): DatadogEnvironment;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
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;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Feature-flag provider switch (kill-switch for DAS-15798 migration).
|
|
3
|
+
*
|
|
4
|
+
* Set via the `FEATURE_FLAGS_PROVIDER` build env var (inlined at build
|
|
5
|
+
* time by rspack DefinePlugin). Defaults to 'legacy' (the in-house Go
|
|
6
|
+
* service via React Query). Flip to 'datadog' once the Datadog Feature
|
|
7
|
+
* Flags integration is bootstrapped by container-mfe.
|
|
8
|
+
*
|
|
9
|
+
* Read by `src/queries/feature-flags/index.ts` to route hook consumers
|
|
10
|
+
* between `./datadog-hooks` and `./legacy-hooks`. Also re-exported from
|
|
11
|
+
* the package public API so `dashboard-container-mfe` can read the same
|
|
12
|
+
* inlined value to gate its Datadog OpenFeature bootstrap — single
|
|
13
|
+
* source of truth across both MFEs.
|
|
14
|
+
*
|
|
15
|
+
* Rollback path: flip the env var and rebuild/redeploy api-mfe
|
|
16
|
+
* (~5–10 min). No code revert needed.
|
|
17
|
+
*
|
|
18
|
+
* Delete this file (and the legacy hooks branch) after Phase 4 soak.
|
|
19
|
+
*/
|
|
20
|
+
export type FeatureFlagsProvider = 'datadog' | 'legacy';
|
|
21
|
+
export declare function getFeatureFlagsProvider(): FeatureFlagsProvider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { useIsTesting } from './use-is-testing';
|
|
2
|
+
export { useLocalStorage, useOrganizationCode } from './use-localstorage';
|
|
3
|
+
export { useAccountCode } from './use-account-code';
|
|
4
|
+
export { getDatadogEnvironment, type DatadogEnvironment, } from './datadog-environment';
|
|
5
|
+
export { getFeatureFlagsProvider, type FeatureFlagsProvider, } from './feature-flags-provider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useAccountCode: () => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './api';
|
|
2
|
+
export * from './mutations';
|
|
3
|
+
export * from './queries';
|
|
4
|
+
export * from './api-provider';
|
|
5
|
+
export * from './store';
|
|
6
|
+
export * from './types';
|
|
7
|
+
export * from './constants';
|
|
8
|
+
export * from './websockets';
|
|
9
|
+
export * from './utils';
|
|
10
|
+
export { emitExpired, resetExpiredGuard, SESSION_EXPIRED_MESSAGE_TYPE, } from './lib/session-expired';
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
-
import { AxiosError } from 'axios';
|
|
3
|
-
import type { Audit } from '../../types';
|
|
4
|
-
import { BFFErrorResponse } from '../smart-routing';
|
|
5
|
-
export type CreateAuditSubscriptionV2Result = {
|
|
6
|
-
alreadyExists: false;
|
|
7
|
-
subscription: Audit.AuditSubscriptionGroupV2;
|
|
8
|
-
} | {
|
|
9
|
-
alreadyExists: true;
|
|
10
|
-
};
|
|
11
|
-
export declare function useCreateAuditSubscriptionV2(): UseMutationResult<CreateAuditSubscriptionV2Result, AxiosError<BFFErrorResponse>, Audit.CreateAuditSubscriptionV2Payload>;
|
|
12
|
-
export declare function useDeleteAuditSubscriptionV2(): UseMutationResult<void, AxiosError<BFFErrorResponse>, string>;
|