@yuno-payments/dashboard-api-mfe 2.7.0 → 2.7.3
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 +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +40 -46
- package/build/cjs/types/mutations/audit/audit-api.mutation.d.ts +4 -4
- package/build/cjs/types/mutations/audit/index.d.ts +1 -1
- package/build/cjs/types/mutations/concierge/concierge.mutation.d.ts +8 -6
- package/build/cjs/types/mutations/index.d.ts +1 -1
- package/build/cjs/types/mutations/users/users.mutation.d.ts +0 -4
- package/build/cjs/types/queries/audit/audit.query.d.ts +12 -8
- package/build/cjs/types/queries/audit/index.d.ts +1 -2
- package/build/cjs/types/queries/concierge/concierge.query.d.ts +5 -5
- package/build/cjs/types/queries/feature-flags/index.test.d.ts +7 -8
- package/build/cjs/types/queries/index.d.ts +1 -2
- package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +1 -10
- package/build/cjs/types/queries/users/users.query.d.ts +0 -1
- package/build/cjs/types/types/audit/audit.d.ts +21 -152
- package/build/cjs/types/types/concierge/index.d.ts +2 -1
- package/build/cjs/types/types/index.d.ts +1 -0
- package/build/cjs/types/types/recipients/recipients.d.ts +1 -0
- package/build/cjs/types/utils/feature-flags-provider.d.ts +14 -16
- package/build/cjs/types/utils/index.d.ts +1 -0
- package/build/cjs/types/yuno-dashboard-api-mfe.d.ts +2 -0
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +40 -46
- package/build/esm/types/mutations/audit/audit-api.mutation.d.ts +4 -4
- package/build/esm/types/mutations/audit/audit-subscriptions-v2.mutation.d.ts +12 -0
- package/build/esm/types/mutations/audit/index.d.ts +1 -1
- package/build/esm/types/mutations/concierge/concierge.mutation.d.ts +8 -6
- package/build/esm/types/mutations/domains/domains.mutation.d.ts +41 -0
- package/build/esm/types/mutations/domains/index.d.ts +1 -0
- package/build/esm/types/mutations/index.d.ts +1 -1
- package/build/esm/types/mutations/users/users.mutation.d.ts +0 -4
- package/build/esm/types/queries/audit/audit-subscriptions-v2.query.d.ts +4 -0
- package/build/esm/types/queries/audit/audit.query.d.ts +12 -8
- package/build/esm/types/queries/audit/index.d.ts +1 -2
- package/build/esm/types/queries/concierge/concierge.query.d.ts +5 -5
- package/build/esm/types/queries/domains/domains.query.d.ts +13 -0
- package/build/esm/types/queries/domains/index.d.ts +1 -0
- package/build/esm/types/queries/feature-flags/index.test.d.ts +7 -8
- package/build/esm/types/queries/index.d.ts +1 -2
- package/build/esm/types/queries/mfa/organization-settings.query.d.ts +1 -10
- package/build/esm/types/queries/users/users.query.d.ts +0 -1
- package/build/esm/types/types/audit/audit.d.ts +21 -152
- package/build/esm/types/types/concierge/concierge-access-request.d.ts +36 -0
- package/build/esm/types/types/concierge/concierge-access.d.ts +50 -0
- package/build/esm/types/types/concierge/index.d.ts +2 -1
- package/build/esm/types/types/domains/domains.d.ts +77 -0
- package/build/esm/types/types/domains/index.d.ts +1 -0
- package/build/esm/types/types/index.d.ts +1 -0
- package/build/esm/types/types/recipients/recipients.d.ts +1 -0
- package/build/esm/types/utils/feature-flags-provider.d.ts +14 -16
- package/build/esm/types/utils/index.d.ts +1 -0
- package/build/esm/types/yuno-dashboard-api-mfe.d.ts +2 -0
- package/build/index.d.ts +314 -332
- package/package.json +1 -1
- package/build/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +0 -10
- package/build/api/api.d.ts +0 -739
- package/build/api/api.singleton.d.ts +0 -10
- package/build/api/api.singleton.test.d.ts +0 -1
- package/build/api/api.test.d.ts +0 -1
- package/build/api/api.types.d.ts +0 -231
- package/build/api/index.d.ts +0 -3
- package/build/api-provider.d.ts +0 -4
- package/build/api-provider.test.d.ts +0 -1
- package/build/cjs/types/msw/handlers/api-logs.d.ts +0 -1
- package/build/cjs/types/msw/handlers/webhooks.d.ts +0 -1
- package/build/cjs/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +0 -2
- package/build/cjs/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +0 -2
- package/build/cjs/types/mutations/audit/audit-subscriptions.mutation.d.ts +0 -41
- package/build/cjs/types/mutations/organization-settings/index.d.ts +0 -1
- package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts +0 -9
- package/build/cjs/types/queries/api-logs/api-logs-v3.query.d.ts +0 -9
- package/build/cjs/types/queries/api-logs/index.d.ts +0 -1
- package/build/cjs/types/queries/audit/audit-subscriptions.query.d.ts +0 -14
- package/build/cjs/types/queries/audit/audit-v3.query.d.ts +0 -9
- package/build/cjs/types/queries/webhooks/index.d.ts +0 -1
- package/build/cjs/types/queries/webhooks/webhook-timeline.query.d.ts +0 -9
- package/build/cjs/types/types/concierge/concierge-alerts.d.ts +0 -42
- package/build/common/config.d.ts +0 -13
- package/build/common/config.test.d.ts +0 -0
- package/build/constants/errors-code.constant.d.ts +0 -5
- package/build/constants/index.d.ts +0 -1
- package/build/esm/types/msw/handlers/api-logs.d.ts +0 -1
- package/build/esm/types/msw/handlers/webhooks.d.ts +0 -1
- package/build/esm/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +0 -2
- package/build/esm/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +0 -2
- package/build/esm/types/mutations/audit/audit-subscriptions.mutation.d.ts +0 -41
- package/build/esm/types/mutations/organization-settings/index.d.ts +0 -1
- package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts +0 -9
- package/build/esm/types/queries/api-logs/api-logs-v3.query.d.ts +0 -9
- package/build/esm/types/queries/api-logs/index.d.ts +0 -1
- package/build/esm/types/queries/audit/audit-subscriptions.query.d.ts +0 -14
- package/build/esm/types/queries/audit/audit-v3.query.d.ts +0 -9
- package/build/esm/types/queries/webhooks/index.d.ts +0 -1
- package/build/esm/types/queries/webhooks/webhook-timeline.query.d.ts +0 -9
- package/build/esm/types/types/concierge/concierge-alerts.d.ts +0 -42
- package/build/lib/http-client/__tests__/http-client.test.d.ts +0 -1
- package/build/lib/http-client/api.config.d.ts +0 -2
- package/build/lib/http-client/axios.d.ts +0 -19
- package/build/lib/http-client/http-client.d.ts +0 -175
- package/build/lib/http-client/index.d.ts +0 -2
- package/build/lib/session-expired/emit-expired.d.ts +0 -4
- package/build/lib/session-expired/emit-expired.test.d.ts +0 -1
- package/build/lib/session-expired/index.d.ts +0 -1
- package/build/msw/browser.d.ts +0 -1
- package/build/msw/handlers/accounts.d.ts +0 -1
- package/build/msw/handlers/field-visibility.d.ts +0 -1
- package/build/msw/handlers/index.d.ts +0 -1
- package/build/msw/handlers/insights.d.ts +0 -1
- package/build/msw/handlers/installments.d.ts +0 -1
- package/build/msw/handlers/mfa.d.ts +0 -1
- package/build/msw/handlers/organizations.d.ts +0 -1
- package/build/msw/handlers/payments.d.ts +0 -1
- package/build/msw/handlers/recipients.d.ts +0 -1
- package/build/msw/handlers/reconciliation-insights.d.ts +0 -1
- package/build/msw/index.d.ts +0 -1
- package/build/msw/mocks/insights/conversion-rate/overview-fraud-3ds.mock.d.ts +0 -14
- package/build/msw/mocks/insights/conversion-rate/overview.mock.d.ts +0 -34
- package/build/msw/mocks/insights/overview/overview-metrics.mock.d.ts +0 -9
- package/build/msw/mocks/insights/overview/overview.mock.d.ts +0 -139
- package/build/msw/mocks/installments/installments.mock.d.ts +0 -8
- package/build/msw/mocks/payments/payments.mock.d.ts +0 -92
- package/build/msw/mocks/payments/transaction-details.mock.d.ts +0 -579
- package/build/msw/mocks/recipients/recipients.mock.d.ts +0 -775
- package/build/msw/mocks/reconciliation-insights/index.d.ts +0 -23
- package/build/mutations/S3Client/S3Client.mutation.d.ts +0 -6
- package/build/mutations/S3Client/index.d.ts +0 -1
- package/build/mutations/accounts/accounts.mutation.d.ts +0 -59
- package/build/mutations/accounts/accounts.mutation.test.d.ts +0 -1
- package/build/mutations/accounts/delete-mutation.d.ts +0 -20
- package/build/mutations/accounts/index.d.ts +0 -2
- package/build/mutations/accounts/types.d.ts +0 -25
- package/build/mutations/ai/ai.mutation.d.ts +0 -28
- package/build/mutations/ai/ai.mutation.test.d.ts +0 -1
- package/build/mutations/ai/index.d.ts +0 -1
- package/build/mutations/audit/audit-api.mutation.d.ts +0 -13
- package/build/mutations/audit/audit-api.mutation.test.d.ts +0 -1
- package/build/mutations/audit/audit.mutation.d.ts +0 -6
- package/build/mutations/audit/index.d.ts +0 -3
- package/build/mutations/audit/settings.mutation.test.d.ts +0 -1
- package/build/mutations/batch-refunds/batch-refunds.mutation.d.ts +0 -32
- package/build/mutations/batch-refunds/batch-refunds.mutation.test.d.ts +0 -1
- package/build/mutations/batch-refunds/index.d.ts +0 -1
- package/build/mutations/certificates/certificates.mutation.d.ts +0 -31
- package/build/mutations/certificates/index.d.ts +0 -1
- package/build/mutations/chartgpt/chartgpt.mutation.d.ts +0 -70
- package/build/mutations/chartgpt/chartgpt.mutation.test.d.ts +0 -1
- package/build/mutations/chartgpt/index.d.ts +0 -1
- package/build/mutations/checkouts/checkouts.mutation.d.ts +0 -5
- package/build/mutations/checkouts/checkouts.mutation.test.d.ts +0 -1
- package/build/mutations/checkouts/index.d.ts +0 -1
- package/build/mutations/concierge/concierge.mutation.d.ts +0 -10
- package/build/mutations/concierge/index.d.ts +0 -1
- package/build/mutations/connections/conections.mutation.test.d.ts +0 -1
- package/build/mutations/connections/connections.mutation.d.ts +0 -40
- package/build/mutations/connections/index.d.ts +0 -1
- package/build/mutations/developers/developers.mutation.d.ts +0 -31
- package/build/mutations/developers/developers.mutation.test.d.ts +0 -1
- package/build/mutations/developers/index.d.ts +0 -2
- package/build/mutations/developers/types.d.ts +0 -5
- package/build/mutations/fraud-screening/fraud-screening.mutation.d.ts +0 -54
- package/build/mutations/fraud-screening/index.d.ts +0 -1
- package/build/mutations/index.d.ts +0 -38
- package/build/mutations/insights/index.d.ts +0 -1
- package/build/mutations/insights/insights.mutation.d.ts +0 -2
- package/build/mutations/installments/index.d.ts +0 -1
- package/build/mutations/installments/installments.mutation.d.ts +0 -17
- package/build/mutations/installments/installments.mutation.test.d.ts +0 -1
- package/build/mutations/integration-requests/index.d.ts +0 -1
- package/build/mutations/integration-requests/integration-requests.mutation.d.ts +0 -12
- package/build/mutations/integration-requests/integration-requests.mutation.test.d.ts +0 -1
- package/build/mutations/multi-factor-authentication/index.d.ts +0 -1
- package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +0 -12
- package/build/mutations/multi-factor-authentication/multi-factor-authentication.mutation.test.d.ts +0 -1
- package/build/mutations/notifications/index.d.ts +0 -1
- package/build/mutations/notifications/notifications.mutation.d.ts +0 -5
- package/build/mutations/organization-config/index.d.ts +0 -1
- package/build/mutations/organization-config/organization-config.mutation.d.ts +0 -6
- package/build/mutations/organizations/index.d.ts +0 -1
- package/build/mutations/organizations/organizations.mutation.d.ts +0 -1
- package/build/mutations/organizations/organizations.mutation.test.d.ts +0 -1
- package/build/mutations/payment-links/index.d.ts +0 -1
- package/build/mutations/payment-links/payment-links.mutation.d.ts +0 -21
- package/build/mutations/payment-links/payment-links.mutation.test.d.ts +0 -1
- package/build/mutations/payments/index.d.ts +0 -1
- package/build/mutations/payments/payments.mutation.d.ts +0 -21
- package/build/mutations/payments/payments.mutation.test.d.ts +0 -1
- package/build/mutations/playground/index.d.ts +0 -1
- package/build/mutations/playground/playground.mutation.d.ts +0 -7
- package/build/mutations/playground/playground.mutation.test.d.ts +0 -1
- package/build/mutations/recipients/index.d.ts +0 -1
- package/build/mutations/recipients/recipients.mutation.d.ts +0 -18
- package/build/mutations/reconciliations/index.d.ts +0 -2
- package/build/mutations/reconciliations/reconciliations-alerts.mutation.d.ts +0 -5
- package/build/mutations/reconciliations/reconciliations-alerts.mutation.test.d.ts +0 -1
- package/build/mutations/reconciliations/reconciliations.mutation.d.ts +0 -4
- package/build/mutations/reports/index.d.ts +0 -1
- package/build/mutations/reports/reports.mutation.d.ts +0 -10
- package/build/mutations/reports/reports.mutation.test.d.ts +0 -1
- package/build/mutations/routing-monitors/index.d.ts +0 -1
- package/build/mutations/routing-monitors/routing-monitors.mutation.d.ts +0 -4
- package/build/mutations/saml-config/index.d.ts +0 -1
- package/build/mutations/saml-config/saml-config.query.d.ts +0 -4
- package/build/mutations/saml-config/saml-config.query.test.d.ts +0 -1
- package/build/mutations/scheduled-reports/index.d.ts +0 -1
- package/build/mutations/scheduled-reports/scheduled-reports.mutation.d.ts +0 -8
- package/build/mutations/security/index.d.ts +0 -1
- package/build/mutations/security/security.mutation.d.ts +0 -7
- package/build/mutations/security/security.mutation.test.d.ts +0 -1
- package/build/mutations/settings/index.d.ts +0 -2
- package/build/mutations/settings/settings.mutation.d.ts +0 -17
- package/build/mutations/settings/settings.mutation.test.d.ts +0 -1
- package/build/mutations/settings/use-table-onboarding.d.ts +0 -6
- package/build/mutations/smart-routing/index.d.ts +0 -1
- package/build/mutations/smart-routing/smart-routing.mutation.d.ts +0 -90
- package/build/mutations/smart-routing/smart-routing.mutation.test.d.ts +0 -1
- package/build/mutations/subscriptions/index.d.ts +0 -1
- package/build/mutations/subscriptions/subscriptions.mutation.d.ts +0 -19
- package/build/mutations/subscriptions/subscriptions.mutation.test.d.ts +0 -1
- package/build/mutations/team/index.d.ts +0 -1
- package/build/mutations/team/team.mutaion.test.d.ts +0 -1
- package/build/mutations/team/team.mutation.d.ts +0 -12
- package/build/mutations/template-reporting/index.d.ts +0 -1
- package/build/mutations/template-reporting/template-reporting.mutation.d.ts +0 -29
- package/build/mutations/template-reporting/template-reporting.mutation.test.d.ts +0 -1
- package/build/mutations/users/index.d.ts +0 -1
- package/build/mutations/users/users.mutation.d.ts +0 -12
- package/build/mutations/users/users.mutation.test.d.ts +0 -1
- package/build/mutations/velocity-rules/index.d.ts +0 -1
- package/build/mutations/velocity-rules/velocity-rules.mutation.d.ts +0 -5
- package/build/queries/accounts/accounts.query.by-organization.test.d.ts +0 -1
- package/build/queries/accounts/accounts.query.d.ts +0 -33
- package/build/queries/accounts/accounts.query.test.d.ts +0 -1
- package/build/queries/accounts/index.d.ts +0 -2
- package/build/queries/accounts/types.d.ts +0 -21
- package/build/queries/audit/audit.query.d.ts +0 -49
- package/build/queries/audit/audit.query.test.d.ts +0 -1
- package/build/queries/audit/index.d.ts +0 -2
- package/build/queries/batch-refunds/batch-refunds.query.d.ts +0 -3
- package/build/queries/batch-refunds/index.d.ts +0 -1
- package/build/queries/certificates/certificates.query.d.ts +0 -6
- package/build/queries/certificates/index.d.ts +0 -1
- package/build/queries/chartgpt/chartgpt.query.d.ts +0 -65
- package/build/queries/chartgpt/chartgpt.query.test.d.ts +0 -1
- package/build/queries/chartgpt/index.d.ts +0 -1
- package/build/queries/checkouts/checkouts.query.d.ts +0 -116
- package/build/queries/checkouts/checkouts.query.test.d.ts +0 -1
- package/build/queries/checkouts/index.d.ts +0 -2
- package/build/queries/checkouts/styling/styling.query.d.ts +0 -11
- package/build/queries/checkouts/styling/styling.query.test.d.ts +0 -1
- package/build/queries/concierge/concierge.query.d.ts +0 -6
- package/build/queries/concierge/index.d.ts +0 -1
- package/build/queries/connections/connections.query.d.ts +0 -3
- package/build/queries/connections/connections.query.test.d.ts +0 -1
- package/build/queries/connections/index.d.ts +0 -1
- package/build/queries/data-report/data-report.query.d.ts +0 -16
- package/build/queries/data-report/data-report.query.test.d.ts +0 -1
- package/build/queries/data-report/fraud/fraud.query.d.ts +0 -17
- package/build/queries/data-report/fraud/fraud.query.test.d.ts +0 -1
- package/build/queries/data-report/index.d.ts +0 -2
- package/build/queries/developers/developers.query.d.ts +0 -16
- package/build/queries/developers/developers.query.test.d.ts +0 -1
- package/build/queries/developers/index.d.ts +0 -1
- package/build/queries/feature-flags/datadog-hooks.d.ts +0 -34
- package/build/queries/feature-flags/datadog-hooks.test.d.ts +0 -1
- package/build/queries/feature-flags/feature-flags.test.d.ts +0 -1
- package/build/queries/feature-flags/index.d.ts +0 -17
- package/build/queries/feature-flags/index.test.d.ts +0 -11
- package/build/queries/feature-flags/legacy-hooks.d.ts +0 -8
- package/build/queries/feature-flags/parity.test.d.ts +0 -8
- package/build/queries/field-visibility/field-visibility.query.d.ts +0 -8
- package/build/queries/field-visibility/field-visibility.query.test.d.ts +0 -1
- package/build/queries/field-visibility/index.d.ts +0 -1
- package/build/queries/firebase/firebase.query.d.ts +0 -8
- package/build/queries/firebase/firebase.query.test.d.ts +0 -1
- package/build/queries/firebase/index.d.ts +0 -1
- package/build/queries/fraud-screening/fraud-screening.query.d.ts +0 -11
- package/build/queries/fraud-screening/fraud-screening.query.test.d.ts +0 -1
- package/build/queries/fraud-screening/index.d.ts +0 -1
- package/build/queries/index.d.ts +0 -39
- package/build/queries/installments/index.d.ts +0 -1
- package/build/queries/installments/installments.query.d.ts +0 -4
- package/build/queries/installments/installments.query.test.d.ts +0 -1
- package/build/queries/mfa/index.d.ts +0 -1
- package/build/queries/mfa/organization-settings.query.d.ts +0 -5
- package/build/queries/mfa/organization-settings.query.test.d.ts +0 -1
- package/build/queries/network-tokens/index.d.ts +0 -1
- package/build/queries/network-tokens/network-tokens.query.d.ts +0 -4
- package/build/queries/notifications/index.d.ts +0 -1
- package/build/queries/notifications/notifications.query.d.ts +0 -12
- package/build/queries/notifications/notifications.query.test.d.ts +0 -1
- package/build/queries/onboarding/index.d.ts +0 -1
- package/build/queries/onboarding/onboarding.query.d.ts +0 -7
- package/build/queries/onboarding/onboarding.query.test.d.ts +0 -1
- package/build/queries/organization-config/index.d.ts +0 -1
- package/build/queries/organization-config/organization-config.query.d.ts +0 -4
- package/build/queries/organizations/index.d.ts +0 -1
- package/build/queries/organizations/organizations.query.d.ts +0 -29
- package/build/queries/organizations/organizations.query.test.d.ts +0 -1
- package/build/queries/payment-links/index.d.ts +0 -1
- package/build/queries/payment-links/payment-links.query.d.ts +0 -6
- package/build/queries/payment-links/payment-links.query.test.d.ts +0 -1
- package/build/queries/payments/index.d.ts +0 -2
- package/build/queries/payments/payments.query.d.ts +0 -36
- package/build/queries/payments/payments.query.test.d.ts +0 -1
- package/build/queries/payments/payouts-timeline.query.test.d.ts +0 -1
- package/build/queries/payments/payouts.query.d.ts +0 -7
- package/build/queries/payments/payouts.query.test.d.ts +0 -1
- package/build/queries/recipients/index.d.ts +0 -1
- package/build/queries/recipients/recipients.query.d.ts +0 -14
- package/build/queries/reconciliations/index.d.ts +0 -7
- package/build/queries/reconciliations/reconciliation-insights.query.d.ts +0 -27
- package/build/queries/reconciliations/reconciliation-insights.query.test.d.ts +0 -1
- package/build/queries/reconciliations/reconciliations-advancements.query.d.ts +0 -9
- package/build/queries/reconciliations/reconciliations-advancements.query.test.d.ts +0 -1
- package/build/queries/reconciliations/reconciliations-agenda.query.d.ts +0 -9
- package/build/queries/reconciliations/reconciliations-agenda.query.test.d.ts +0 -1
- package/build/queries/reconciliations/reconciliations-alerts.query.d.ts +0 -8
- package/build/queries/reconciliations/reconciliations-alerts.query.test.d.ts +0 -1
- package/build/queries/reconciliations/reconciliations-fees.query.d.ts +0 -9
- package/build/queries/reconciliations/reconciliations-fees.query.test.d.ts +0 -1
- package/build/queries/reconciliations/reconciliations-sales.query.d.ts +0 -9
- package/build/queries/reconciliations/reconciliations-sales.query.test.d.ts +0 -1
- package/build/queries/reconciliations/reconciliations.query.d.ts +0 -11
- package/build/queries/reconciliations/reconciliations.query.test.d.ts +0 -1
- package/build/queries/reports/index.d.ts +0 -1
- package/build/queries/reports/reports.query.d.ts +0 -13
- package/build/queries/reports/reports.query.test.d.ts +0 -1
- package/build/queries/routing-monitors/index.d.ts +0 -1
- package/build/queries/routing-monitors/routing-monitors.query.d.ts +0 -4
- package/build/queries/saml-config/index.d.ts +0 -1
- package/build/queries/saml-config/saml-config.query.d.ts +0 -4
- package/build/queries/saml-config/saml-config.query.test.d.ts +0 -1
- package/build/queries/security/index.d.ts +0 -1
- package/build/queries/security/security.query.d.ts +0 -23
- package/build/queries/security/security.query.test.d.ts +0 -1
- package/build/queries/smart-recovery/index.d.ts +0 -1
- package/build/queries/smart-recovery/smart-recovery-overview.query.d.ts +0 -9
- package/build/queries/smart-recovery/smart-recovery-overview.query.test.d.ts +0 -1
- package/build/queries/smart-routing/index.d.ts +0 -1
- package/build/queries/smart-routing/smart-routing.query.d.ts +0 -28
- package/build/queries/smart-routing/smart-routing.query.test.d.ts +0 -1
- package/build/queries/subscriptions/index.d.ts +0 -1
- package/build/queries/subscriptions/subscriptions.query.d.ts +0 -3
- package/build/queries/subscriptions/subscriptions.query.test.d.ts +0 -1
- package/build/queries/team/index.d.ts +0 -1
- package/build/queries/team/team.query.d.ts +0 -28
- package/build/queries/team/team.query.test.d.ts +0 -1
- package/build/queries/template-reporting/index.d.ts +0 -1
- package/build/queries/template-reporting/template-reporting.query.d.ts +0 -7
- package/build/queries/template-reporting/template-reporting.query.test.d.ts +0 -1
- package/build/queries/translation/index.d.ts +0 -1
- package/build/queries/translation/translation.query.d.ts +0 -5
- package/build/queries/users/index.d.ts +0 -1
- package/build/queries/users/users.query.d.ts +0 -24
- package/build/queries/users/users.query.test.d.ts +0 -1
- package/build/queries/velocity-rules/index.d.ts +0 -1
- package/build/queries/velocity-rules/velocity-rules.query.d.ts +0 -6
- package/build/set-public-path.d.ts +0 -1
- package/build/store/index.d.ts +0 -3
- package/build/types/accounts/accounts.d.ts +0 -11
- package/build/types/accounts/index.d.ts +0 -1
- package/build/types/ai/ai.d.ts +0 -78
- package/build/types/ai/index.d.ts +0 -1
- package/build/types/allowed-list/allowed-list.d.ts +0 -9
- package/build/types/allowed-list/index.d.ts +0 -1
- package/build/types/audit/audit.d.ts +0 -352
- package/build/types/audit/index.d.ts +0 -1
- package/build/types/batch-refunds/batch-refunds.d.ts +0 -38
- package/build/types/batch-refunds/index.d.ts +0 -1
- package/build/types/certificates/certificates.d.ts +0 -26
- package/build/types/certificates/index.d.ts +0 -1
- package/build/types/chartgpt/feedback.types.d.ts +0 -34
- package/build/types/chartgpt/index.d.ts +0 -1
- package/build/types/checkout/checkout.d.ts +0 -289
- package/build/types/checkout/index.d.ts +0 -1
- package/build/types/checkout/styling/styling.d.ts +0 -177
- package/build/types/concierge/index.d.ts +0 -2
- package/build/types/connection/connection.d.ts +0 -81
- package/build/types/connection/costs.d.ts +0 -26
- package/build/types/connection/index.d.ts +0 -2
- package/build/types/country/country.d.ts +0 -12
- package/build/types/country/index.d.ts +0 -1
- package/build/types/customized-api-keys/customized-api-keys.d.ts +0 -30
- package/build/types/customized-api-keys/index.d.ts +0 -1
- package/build/types/data-report/conversion-rate.types.d.ts +0 -48
- package/build/types/data-report/data-report.d.ts +0 -70
- package/build/types/data-report/fraud.types.d.ts +0 -166
- package/build/types/data-report/index.d.ts +0 -3
- package/build/types/developer/developer.d.ts +0 -13
- package/build/types/developer/index.d.ts +0 -1
- package/build/types/feature-flags/intex.d.ts +0 -13
- package/build/types/field-visibility/field-visibility.d.ts +0 -6
- package/build/types/field-visibility/index.d.ts +0 -1
- package/build/types/fraud-screening/fraud-screening.d.ts +0 -109
- package/build/types/fraud-screening/index.d.ts +0 -1
- package/build/types/index.d.ts +0 -42
- package/build/types/installments/index.d.ts +0 -1
- package/build/types/installments/installments.d.ts +0 -129
- package/build/types/integration-requests/index.d.ts +0 -1
- package/build/types/integration-requests/integration-request.d.ts +0 -26
- package/build/types/mfa/index.d.ts +0 -1
- package/build/types/mfa/mfa.d.ts +0 -10
- package/build/types/notifications/index.d.ts +0 -1
- package/build/types/notifications/notifications.d.ts +0 -39
- package/build/types/onboarding/index.d.ts +0 -1
- package/build/types/onboarding/onboarding.d.ts +0 -7
- package/build/types/operation-transaction/index.d.ts +0 -1
- package/build/types/operation-transaction/operation-transaction.d.ts +0 -28
- package/build/types/organization/index.d.ts +0 -1
- package/build/types/organization/organization.d.ts +0 -141
- package/build/types/organization-config/index.d.ts +0 -1
- package/build/types/organization-config/organization-config.d.ts +0 -34
- package/build/types/organization-settings/index.d.ts +0 -1
- package/build/types/organization-settings/organization-settings.d.ts +0 -27
- package/build/types/payment/index.d.ts +0 -1
- package/build/types/payment/payment.d.ts +0 -582
- package/build/types/payment-links/index.d.ts +0 -1
- package/build/types/payment-links/payment-links.d.ts +0 -16
- package/build/types/payouts/index.d.ts +0 -1
- package/build/types/payouts/payouts.d.ts +0 -125
- package/build/types/playground/index.d.ts +0 -1
- package/build/types/playground/playground.d.ts +0 -33
- package/build/types/recipients/index.d.ts +0 -3
- package/build/types/recipients/recipients-export.d.ts +0 -52
- package/build/types/recipients/recipients-mutations.d.ts +0 -136
- package/build/types/recipients/recipients.d.ts +0 -242
- package/build/types/reconciliation/index.d.ts +0 -7
- package/build/types/reconciliation/reconciliation-advancements.d.ts +0 -40
- package/build/types/reconciliation/reconciliation-agenda.d.ts +0 -84
- package/build/types/reconciliation/reconciliation-alerts.d.ts +0 -38
- package/build/types/reconciliation/reconciliation-fees.d.ts +0 -45
- package/build/types/reconciliation/reconciliation-insights.d.ts +0 -238
- package/build/types/reconciliation/reconciliation-sales.d.ts +0 -56
- package/build/types/reconciliation/reconciliation.d.ts +0 -349
- package/build/types/reports/index.d.ts +0 -1
- package/build/types/reports/reports.d.ts +0 -155
- package/build/types/routing-monitors/index.d.ts +0 -1
- package/build/types/routing-monitors/routing-monitors.d.ts +0 -35
- package/build/types/s3-client/index.d.ts +0 -1
- package/build/types/s3-client/s3-client.d.ts +0 -19
- package/build/types/saml-config/index.d.ts +0 -1
- package/build/types/saml-config/saml-config.d.ts +0 -28
- package/build/types/smart-recovery/index.d.ts +0 -1
- package/build/types/smart-recovery/smart-recovery-overview.types.d.ts +0 -94
- package/build/types/smart-routing/index.d.ts +0 -1
- package/build/types/smart-routing/smart-routing.d.ts +0 -362
- package/build/types/subscriptions/index.d.ts +0 -1
- package/build/types/subscriptions/subscriptions.d.ts +0 -75
- package/build/types/team/index.d.ts +0 -1
- package/build/types/team/team.d.ts +0 -122
- package/build/types/template-reporting/common.types.d.ts +0 -65
- package/build/types/template-reporting/index.d.ts +0 -55
- package/build/types/template-reporting/schedule.types.d.ts +0 -72
- package/build/types/template-reporting/template.types.d.ts +0 -102
- package/build/types/translation/index.d.ts +0 -1
- package/build/types/translation/translation.d.ts +0 -8
- package/build/types/user/index.d.ts +0 -1
- package/build/types/user/user.d.ts +0 -199
- package/build/types/velocity-rules/index.d.ts +0 -1
- package/build/types/velocity-rules/velocity-rules.d.ts +0 -15
- package/build/types/webhook/index.d.ts +0 -1
- package/build/types/webhook/webhook.d.ts +0 -73
- package/build/utils/datadog-environment.d.ts +0 -33
- package/build/utils/datadog-environment.test.d.ts +0 -1
- package/build/utils/enums.d.ts +0 -19
- package/build/utils/feature-flags-provider.d.ts +0 -21
- package/build/utils/feature-flags-provider.test.d.ts +0 -1
- package/build/utils/handler-error.d.ts +0 -6
- package/build/utils/index.d.ts +0 -5
- package/build/utils/test-utils.d.ts +0 -4
- package/build/utils/use-account-code.d.ts +0 -1
- package/build/utils/use-account-code.test.d.ts +0 -1
- package/build/utils/use-is-testing.d.ts +0 -3
- package/build/utils/use-is-testing.test.d.ts +0 -1
- package/build/utils/use-localstorage.d.ts +0 -2
- package/build/websockets/index.d.ts +0 -1
- package/build/websockets/use-chart-assistant-socket.d.ts +0 -17
- package/build/websockets/use-chart-assistant-socket.test.d.ts +0 -1
- package/build/yuno-dashboard-api-mfe.d.ts +0 -10
- /package/build/{mutations → cjs/types/mutations}/audit/audit-subscriptions-v2.mutation.d.ts +0 -0
- /package/build/{mutations → cjs/types/mutations}/domains/domains.mutation.d.ts +0 -0
- /package/build/{mutations → cjs/types/mutations}/domains/index.d.ts +0 -0
- /package/build/{queries → cjs/types/queries}/audit/audit-subscriptions-v2.query.d.ts +0 -0
- /package/build/{queries → cjs/types/queries}/domains/domains.query.d.ts +0 -0
- /package/build/{queries → cjs/types/queries}/domains/index.d.ts +0 -0
- /package/build/{types → cjs/types/types}/concierge/concierge-access-request.d.ts +0 -0
- /package/build/{types → cjs/types/types}/concierge/concierge-access.d.ts +0 -0
- /package/build/{types → cjs/types/types}/domains/domains.d.ts +0 -0
- /package/build/{types → cjs/types/types}/domains/index.d.ts +0 -0
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
export declare namespace Audit {
|
|
2
|
-
interface ApiLogsDetailByPaymentCode {
|
|
3
|
-
data: ApiLogByTransactionCode[];
|
|
4
|
-
page: number;
|
|
5
|
-
size: number;
|
|
6
|
-
total_rows: number;
|
|
7
|
-
total_pages: number;
|
|
8
|
-
}
|
|
9
2
|
interface AuditEventsParams {
|
|
10
3
|
page: number;
|
|
11
4
|
size: number;
|
|
@@ -117,63 +110,9 @@ export declare namespace Audit {
|
|
|
117
110
|
type: string;
|
|
118
111
|
percentage: number;
|
|
119
112
|
}
|
|
120
|
-
interface ExportWebhooksLogsRequest {
|
|
121
|
-
report_name: string;
|
|
122
|
-
account_code?: string[];
|
|
123
|
-
start_date: string;
|
|
124
|
-
end_date: string;
|
|
125
|
-
time_zone: string;
|
|
126
|
-
organizationCode?: string;
|
|
127
|
-
status_codes?: string[];
|
|
128
|
-
methods?: string[];
|
|
129
|
-
size?: number;
|
|
130
|
-
page?: number;
|
|
131
|
-
}
|
|
132
|
-
interface ExportApiLogsRequest {
|
|
133
|
-
report_name: string;
|
|
134
|
-
account_code?: string[];
|
|
135
|
-
start_date: string;
|
|
136
|
-
end_date: string;
|
|
137
|
-
time_zone: string;
|
|
138
|
-
organizationCode?: string;
|
|
139
|
-
status_codes?: string[];
|
|
140
|
-
methods?: string[];
|
|
141
|
-
size?: number;
|
|
142
|
-
page?: number;
|
|
143
|
-
}
|
|
144
113
|
interface AuditApiJSON {
|
|
145
114
|
[key: string]: string;
|
|
146
115
|
}
|
|
147
|
-
interface AuditApiLogs {
|
|
148
|
-
code: string;
|
|
149
|
-
url: string;
|
|
150
|
-
method: string;
|
|
151
|
-
source: string;
|
|
152
|
-
headers: AuditApiJSON;
|
|
153
|
-
request: AuditApiJSON;
|
|
154
|
-
response: AuditApiJSON;
|
|
155
|
-
account_name: string;
|
|
156
|
-
account_code: string;
|
|
157
|
-
status_code: number;
|
|
158
|
-
trace_id: string;
|
|
159
|
-
created_at: string;
|
|
160
|
-
}
|
|
161
|
-
interface AuditApiLogsResponse {
|
|
162
|
-
data: AuditApiLogs[];
|
|
163
|
-
page: number;
|
|
164
|
-
size: number;
|
|
165
|
-
total_rows: number;
|
|
166
|
-
total_pages: number;
|
|
167
|
-
}
|
|
168
|
-
interface AuditApiLogsParams {
|
|
169
|
-
page: number;
|
|
170
|
-
size: number;
|
|
171
|
-
periodicity?: string;
|
|
172
|
-
account_code?: string[];
|
|
173
|
-
organizationCode?: string;
|
|
174
|
-
status_codes?: string[];
|
|
175
|
-
methods?: string[];
|
|
176
|
-
}
|
|
177
116
|
interface AuditWebhooksParams {
|
|
178
117
|
page: number;
|
|
179
118
|
size: number;
|
|
@@ -229,28 +168,6 @@ export declare namespace Audit {
|
|
|
229
168
|
payment_code?: string;
|
|
230
169
|
transaction_code?: string;
|
|
231
170
|
}
|
|
232
|
-
interface ApiLogsV3Response {
|
|
233
|
-
data: ApiLogV3[];
|
|
234
|
-
page: number;
|
|
235
|
-
size: number;
|
|
236
|
-
total_rows: number;
|
|
237
|
-
total_pages: number;
|
|
238
|
-
}
|
|
239
|
-
interface ApiLogsV3Params {
|
|
240
|
-
page: number;
|
|
241
|
-
size: number;
|
|
242
|
-
periodicity?: string;
|
|
243
|
-
account_code?: string[];
|
|
244
|
-
organizationCode?: string;
|
|
245
|
-
status_codes?: string[];
|
|
246
|
-
methods?: string[];
|
|
247
|
-
start_date?: string;
|
|
248
|
-
end_date?: string;
|
|
249
|
-
search?: string;
|
|
250
|
-
time_zone?: string;
|
|
251
|
-
now?: string;
|
|
252
|
-
payment_code?: string;
|
|
253
|
-
}
|
|
254
171
|
interface WebhookTimelineItem {
|
|
255
172
|
id: number;
|
|
256
173
|
organization_code: string;
|
|
@@ -273,42 +190,6 @@ export declare namespace Audit {
|
|
|
273
190
|
payment_code?: string;
|
|
274
191
|
transaction_code?: string;
|
|
275
192
|
}
|
|
276
|
-
interface WebhookTimelineResponse {
|
|
277
|
-
data: WebhookTimelineItem[];
|
|
278
|
-
page: number;
|
|
279
|
-
size: number;
|
|
280
|
-
total_rows: number;
|
|
281
|
-
total_pages: number;
|
|
282
|
-
}
|
|
283
|
-
interface WebhookTimelineParams {
|
|
284
|
-
page: number;
|
|
285
|
-
size: number;
|
|
286
|
-
organizationCode?: string;
|
|
287
|
-
periodicity?: string;
|
|
288
|
-
account_code?: string[];
|
|
289
|
-
status_codes?: string[];
|
|
290
|
-
methods?: string[];
|
|
291
|
-
start_date?: string;
|
|
292
|
-
end_date?: string;
|
|
293
|
-
time_zone?: string;
|
|
294
|
-
now?: string;
|
|
295
|
-
payment_code?: string;
|
|
296
|
-
transaction_code?: string;
|
|
297
|
-
}
|
|
298
|
-
interface ApiLogByTransactionCode {
|
|
299
|
-
code: string;
|
|
300
|
-
url: string;
|
|
301
|
-
method: string;
|
|
302
|
-
source: string;
|
|
303
|
-
headers: AuditApiJSON;
|
|
304
|
-
request: AuditApiJSON;
|
|
305
|
-
response: AuditApiJSON;
|
|
306
|
-
account_name: string;
|
|
307
|
-
account_code: string;
|
|
308
|
-
status_code: number;
|
|
309
|
-
trace_id: string;
|
|
310
|
-
created_at: string;
|
|
311
|
-
}
|
|
312
193
|
enum AuditExportReportType {
|
|
313
194
|
DASHBOARD = "DASHBOARD",
|
|
314
195
|
API = "API",
|
|
@@ -316,27 +197,6 @@ export declare namespace Audit {
|
|
|
316
197
|
MONITORS = "MONITORS"
|
|
317
198
|
}
|
|
318
199
|
type AuditExportStatus = 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
|
319
|
-
interface ExportDashboardLogsRequest {
|
|
320
|
-
report_name: string;
|
|
321
|
-
account_code?: string[];
|
|
322
|
-
start_date: string;
|
|
323
|
-
end_date: string;
|
|
324
|
-
time_zone: string;
|
|
325
|
-
event?: string[];
|
|
326
|
-
source?: string[];
|
|
327
|
-
search?: string[];
|
|
328
|
-
}
|
|
329
|
-
interface ExportMonitorsLogsRequest {
|
|
330
|
-
report_name: string;
|
|
331
|
-
account_codes?: string[];
|
|
332
|
-
start_date: string;
|
|
333
|
-
end_date: string;
|
|
334
|
-
time_zone: string;
|
|
335
|
-
status?: string[];
|
|
336
|
-
payment_methods?: string[];
|
|
337
|
-
providers?: string[];
|
|
338
|
-
traffic_redistribution?: boolean;
|
|
339
|
-
}
|
|
340
200
|
type UnifiedExportTabType = 'dashboard-logs' | 'api-logs' | 'webhook-logs' | 'monitor-logs';
|
|
341
201
|
interface UnifiedExportRequest {
|
|
342
202
|
start_date: string;
|
|
@@ -365,6 +225,19 @@ export declare namespace Audit {
|
|
|
365
225
|
page: number;
|
|
366
226
|
size: number;
|
|
367
227
|
}
|
|
228
|
+
interface V2DashboardLogsExportFilters {
|
|
229
|
+
account_ids?: string[];
|
|
230
|
+
start_date?: string;
|
|
231
|
+
end_date?: string;
|
|
232
|
+
events?: string[];
|
|
233
|
+
sources?: string[];
|
|
234
|
+
columns?: string[];
|
|
235
|
+
timezone?: string;
|
|
236
|
+
}
|
|
237
|
+
interface V2DashboardLogsExportRequest {
|
|
238
|
+
export_name: string;
|
|
239
|
+
filters: V2DashboardLogsExportFilters;
|
|
240
|
+
}
|
|
368
241
|
interface AuditExportResponse {
|
|
369
242
|
report_id: string;
|
|
370
243
|
report_type: AuditExportReportType;
|
|
@@ -421,13 +294,6 @@ export declare namespace Audit {
|
|
|
421
294
|
search?: string;
|
|
422
295
|
accounts?: string[];
|
|
423
296
|
}
|
|
424
|
-
interface ApiLogsListResponse {
|
|
425
|
-
page: number;
|
|
426
|
-
size: number;
|
|
427
|
-
total_rows: number;
|
|
428
|
-
total_pages: number;
|
|
429
|
-
data: ApiLogItem[];
|
|
430
|
-
}
|
|
431
297
|
interface ApiLogItem {
|
|
432
298
|
code: string;
|
|
433
299
|
url: string;
|
|
@@ -459,7 +325,7 @@ export declare namespace Audit {
|
|
|
459
325
|
total_pages: number;
|
|
460
326
|
data: ApiLogV3Item[];
|
|
461
327
|
}
|
|
462
|
-
interface
|
|
328
|
+
interface AuditSubscriptionGroupV2 {
|
|
463
329
|
code: string;
|
|
464
330
|
user_code: string;
|
|
465
331
|
user_email: string;
|
|
@@ -472,12 +338,15 @@ export declare namespace Audit {
|
|
|
472
338
|
updated_at: string;
|
|
473
339
|
last_fired_at?: string | null;
|
|
474
340
|
}
|
|
475
|
-
|
|
341
|
+
interface CreateAuditSubscriptionV2Payload {
|
|
476
342
|
sources: string[];
|
|
477
343
|
events: string[];
|
|
478
344
|
account_codes: string[];
|
|
479
|
-
}
|
|
480
|
-
interface
|
|
481
|
-
|
|
345
|
+
}
|
|
346
|
+
interface ListAuditSubscriptionsV2Params {
|
|
347
|
+
account_code?: string;
|
|
348
|
+
}
|
|
349
|
+
interface ListAuditSubscriptionsV2Response {
|
|
350
|
+
data: AuditSubscriptionGroupV2[];
|
|
482
351
|
}
|
|
483
352
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare namespace ConciergeAccessRequest {
|
|
2
|
+
type Channel = 'slack' | 'whatsapp' | 'telegram';
|
|
3
|
+
type SlackSetup = 'add_existing' | 'create_new';
|
|
4
|
+
type Status = 'pending' | 'in_review' | 'approved' | 'active' | 'rejected';
|
|
5
|
+
interface Item {
|
|
6
|
+
id: string;
|
|
7
|
+
organization_code: string;
|
|
8
|
+
merchant_name: string | null;
|
|
9
|
+
merchant_first_name: string | null;
|
|
10
|
+
kam_email: string | null;
|
|
11
|
+
tam_email: string | null;
|
|
12
|
+
agent_email: string | null;
|
|
13
|
+
requester_email: string;
|
|
14
|
+
status: Status;
|
|
15
|
+
channel: Channel | null;
|
|
16
|
+
slack_setup: SlackSetup | null;
|
|
17
|
+
group_name: string | null;
|
|
18
|
+
link: string | null;
|
|
19
|
+
activation_date: string | null;
|
|
20
|
+
brief_language: string | null;
|
|
21
|
+
created_at: string;
|
|
22
|
+
updated_at: string;
|
|
23
|
+
}
|
|
24
|
+
interface CreatePayload {
|
|
25
|
+
channel: Channel;
|
|
26
|
+
slack_setup?: SlackSetup | null;
|
|
27
|
+
group_name: string;
|
|
28
|
+
activation_date: string;
|
|
29
|
+
}
|
|
30
|
+
type CreateResponse = Item;
|
|
31
|
+
type StatusResponse = Item | null;
|
|
32
|
+
type Error = {
|
|
33
|
+
code?: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare namespace ConciergeAccess {
|
|
2
|
+
interface SlackChannels {
|
|
3
|
+
channel_ids: string[];
|
|
4
|
+
dm_user_ids: string[];
|
|
5
|
+
}
|
|
6
|
+
interface WhatsappChannels {
|
|
7
|
+
group_ids: string[];
|
|
8
|
+
dm_phones: string[];
|
|
9
|
+
}
|
|
10
|
+
interface TelegramChannels {
|
|
11
|
+
chat_ids: string[];
|
|
12
|
+
dm_usernames: string[];
|
|
13
|
+
}
|
|
14
|
+
interface ChannelsConfig {
|
|
15
|
+
slack?: SlackChannels;
|
|
16
|
+
whatsapp?: WhatsappChannels;
|
|
17
|
+
telegram?: TelegramChannels;
|
|
18
|
+
}
|
|
19
|
+
interface Brief {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
frequency: string;
|
|
24
|
+
day_of_week: string;
|
|
25
|
+
day_of_month: string;
|
|
26
|
+
delivery_time: string;
|
|
27
|
+
content: string;
|
|
28
|
+
}
|
|
29
|
+
interface HeartbeatConfig {
|
|
30
|
+
merchant_id: string;
|
|
31
|
+
preferred_language: string;
|
|
32
|
+
heartbeat_channel_id: string;
|
|
33
|
+
heartbeat_channel_name: string;
|
|
34
|
+
timezone: string;
|
|
35
|
+
briefs: Brief[];
|
|
36
|
+
channels: ChannelsConfig;
|
|
37
|
+
updated_at: string | null;
|
|
38
|
+
}
|
|
39
|
+
type GetResponse = HeartbeatConfig;
|
|
40
|
+
type UpdatePayload = ChannelsConfig;
|
|
41
|
+
type UpdateResponse = ChannelsConfig;
|
|
42
|
+
type CreateBriefPayload = Omit<Brief, 'id'>;
|
|
43
|
+
type CreateBriefResponse = Brief;
|
|
44
|
+
type UpdateBriefPayload = Omit<Brief, 'id'>;
|
|
45
|
+
type UpdateBriefResponse = Brief;
|
|
46
|
+
type Error = {
|
|
47
|
+
code?: string;
|
|
48
|
+
name?: string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './concierge-
|
|
1
|
+
export * from './concierge-access';
|
|
2
|
+
export * from './concierge-access-request';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apple Pay (and future Google Pay) merchant domain registrations.
|
|
3
|
+
*
|
|
4
|
+
* Backend statuses (`BackendStatus`) come straight from provider-domain-ms's
|
|
5
|
+
* `merchant_domain_registrations.status` column. Consumers usually want the
|
|
6
|
+
* coarser UI bucket (`UiStatus`) — see `mapBackendStatusToUi`.
|
|
7
|
+
*/
|
|
8
|
+
export declare namespace Domains {
|
|
9
|
+
type BackendStatus = 'REGISTERED' | 'CREATED' | 'ERROR' | 'INACTIVE';
|
|
10
|
+
/** UI bucket exposed to the Dashboard (matches the Figma status badge variants). */
|
|
11
|
+
type UiStatus = 'ACTIVE' | 'VERIFYING' | 'FAILED';
|
|
12
|
+
type PaymentMethodType = 'APPLE_PAY' | 'GOOGLE_PAY';
|
|
13
|
+
interface AppleDomain {
|
|
14
|
+
code: string;
|
|
15
|
+
domain: string;
|
|
16
|
+
status: BackendStatus;
|
|
17
|
+
paymentMethod: PaymentMethodType;
|
|
18
|
+
accountCode: string;
|
|
19
|
+
responseCode: string;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
}
|
|
23
|
+
interface Pagination {
|
|
24
|
+
page: number;
|
|
25
|
+
limit: number;
|
|
26
|
+
total: number;
|
|
27
|
+
totalPages: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Filters accepted by the list endpoint. Every multi-value filter is serialised
|
|
31
|
+
* as repeated query params (`?status=A&status=B`) by the BFF — matches the strict
|
|
32
|
+
* parser in provider-domain-ms.
|
|
33
|
+
*
|
|
34
|
+
* `createdAtFrom` / `createdAtTo` are required ISO-8601 instants; defaults are the
|
|
35
|
+
* caller's job (e.g. "last 90 days" in the UI).
|
|
36
|
+
*/
|
|
37
|
+
interface ListDomainsFilters {
|
|
38
|
+
createdAtFrom: string;
|
|
39
|
+
createdAtTo: string;
|
|
40
|
+
accountCode?: string[];
|
|
41
|
+
paymentMethodType?: PaymentMethodType[];
|
|
42
|
+
status?: BackendStatus[];
|
|
43
|
+
responseCode?: string[];
|
|
44
|
+
domainName?: string;
|
|
45
|
+
page?: number;
|
|
46
|
+
limit?: number;
|
|
47
|
+
}
|
|
48
|
+
interface ListDomainsResponse {
|
|
49
|
+
data: AppleDomain[];
|
|
50
|
+
pagination: Pagination;
|
|
51
|
+
}
|
|
52
|
+
interface RegisterDomainsPayload {
|
|
53
|
+
accountCode: string;
|
|
54
|
+
connectionCode: string;
|
|
55
|
+
paymentMethodType: PaymentMethodType;
|
|
56
|
+
domains: {
|
|
57
|
+
url: string;
|
|
58
|
+
}[];
|
|
59
|
+
}
|
|
60
|
+
interface RegisterDomainsResponse {
|
|
61
|
+
accountCode: string;
|
|
62
|
+
paymentMethod: PaymentMethodType;
|
|
63
|
+
domains: AppleDomain[];
|
|
64
|
+
}
|
|
65
|
+
interface DeleteDomainPayload {
|
|
66
|
+
paymentMethod: PaymentMethodType;
|
|
67
|
+
code: string;
|
|
68
|
+
reason: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Maps the backend status to the FE bucket the Figma uses for badges and row
|
|
72
|
+
* actions. INACTIVE rows are tombstones — callers typically filter them out
|
|
73
|
+
* before reaching the badge layer, but mapping to `null` keeps the function
|
|
74
|
+
* total in case a row slips through.
|
|
75
|
+
*/
|
|
76
|
+
const mapBackendStatusToUi: (status: BackendStatus) => UiStatus | null;
|
|
77
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './domains';
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Feature-flag provider switch (
|
|
2
|
+
* Feature-flag provider switch (DAS-15798 migration).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Hardcoded to 'datadog' as of v2.7.2. The env-var-based switch
|
|
5
|
+
* (`FEATURE_FLAGS_PROVIDER`) is gone: api-mfe queries always route to
|
|
6
|
+
* `./datadog-hooks`, and `dashboard-container-mfe`'s bootstrap effect
|
|
7
|
+
* (which checks this function) always proceeds to set up the
|
|
8
|
+
* OpenFeature Datadog provider.
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* The function and type are kept around (instead of inlining the
|
|
11
|
+
* constant) so:
|
|
12
|
+
* 1. Consumers like container-mfe don't need a code change.
|
|
13
|
+
* 2. Rollback to the legacy hooks (revert this file + republish) stays
|
|
14
|
+
* a single-file change.
|
|
13
15
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* share runtime modules without a shared-package coordination effort, so
|
|
18
|
-
* 4 lines of duplication is the pragmatic choice for this migration.
|
|
19
|
-
*
|
|
20
|
-
* Delete this file (and the legacy hooks branch) after Phase 4 soak.
|
|
16
|
+
* Once we're confident no rollback is needed, delete `./legacy-hooks`,
|
|
17
|
+
* delete this file, and inline the datadog branch in
|
|
18
|
+
* `queries/feature-flags/index.ts` (Phase 5 cleanup).
|
|
21
19
|
*/
|
|
22
20
|
export type FeatureFlagsProvider = 'datadog' | 'legacy';
|
|
23
21
|
export declare function getFeatureFlagsProvider(): FeatureFlagsProvider;
|
|
@@ -2,3 +2,4 @@ export { useIsTesting } from './use-is-testing';
|
|
|
2
2
|
export { useLocalStorage, useOrganizationCode } from './use-localstorage';
|
|
3
3
|
export { useAccountCode } from './use-account-code';
|
|
4
4
|
export { getDatadogEnvironment, type DatadogEnvironment, } from './datadog-environment';
|
|
5
|
+
export { getFeatureFlagsProvider, type FeatureFlagsProvider, } from './feature-flags-provider';
|
|
@@ -7,4 +7,6 @@ export * from './types';
|
|
|
7
7
|
export * from './constants';
|
|
8
8
|
export * from './websockets';
|
|
9
9
|
export * from './utils';
|
|
10
|
+
export { getFeatureFlagsProvider, type FeatureFlagsProvider, } from './utils/feature-flags-provider';
|
|
10
11
|
export { emitExpired, resetExpiredGuard, SESSION_EXPIRED_MESSAGE_TYPE, } from './lib/session-expired';
|
|
12
|
+
export { OpenFeature } from '@openfeature/web-sdk';
|