@yuno-payments/dashboard-api-mfe 1.10.8 → 1.10.9
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 +33 -12
- package/build/cjs/types/api/api.singleton.d.ts +1 -0
- package/build/cjs/types/api/api.types.d.ts +1 -0
- package/build/cjs/types/msw/handlers/mfa.d.ts +1 -0
- package/build/cjs/types/mutations/concierge/concierge.mutation.d.ts +8 -0
- package/build/cjs/types/mutations/concierge/index.d.ts +1 -0
- package/build/cjs/types/mutations/index.d.ts +2 -0
- package/build/cjs/types/mutations/payment-links/payment-links.mutation.d.ts +9 -0
- package/build/cjs/types/mutations/recipients/recipients.mutation.d.ts +18 -0
- package/build/cjs/types/mutations/settings/index.d.ts +1 -0
- package/build/cjs/types/mutations/settings/use-table-onboarding.d.ts +6 -0
- package/build/cjs/types/queries/audit/audit-v3.query.d.ts +9 -0
- package/build/cjs/types/queries/audit/audit.query.d.ts +5 -1
- package/build/cjs/types/queries/audit/index.d.ts +1 -0
- package/build/cjs/types/queries/checkouts/checkouts.query.d.ts +105 -1
- package/build/cjs/types/queries/concierge/concierge.query.d.ts +6 -0
- package/build/cjs/types/queries/concierge/index.d.ts +1 -0
- package/build/cjs/types/queries/index.d.ts +1 -2
- package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +4 -1
- package/build/cjs/types/queries/payment-links/payment-links.query.d.ts +0 -1
- package/build/cjs/types/queries/recipients/recipients.query.d.ts +6 -1
- package/build/cjs/types/types/audit/audit.d.ts +80 -0
- package/build/cjs/types/types/checkout/styling/styling.d.ts +31 -0
- package/build/cjs/types/types/concierge/concierge-alerts.d.ts +42 -0
- package/build/cjs/types/types/concierge/index.d.ts +1 -0
- package/build/cjs/types/types/index.d.ts +1 -1
- package/build/cjs/types/types/installments/installments.d.ts +4 -0
- package/build/cjs/types/types/mfa/mfa.d.ts +4 -0
- package/build/cjs/types/types/organization/organization.d.ts +1 -0
- package/build/cjs/types/types/recipients/index.d.ts +2 -0
- package/build/cjs/types/types/recipients/recipients-export.d.ts +52 -0
- package/build/cjs/types/types/recipients/recipients.d.ts +7 -0
- package/build/cjs/types/types/reports/reports.d.ts +1 -0
- package/build/cjs/types/types/subscriptions/subscriptions.d.ts +7 -0
- package/build/cjs/types/types/team/team.d.ts +1 -0
- package/build/cjs/types/types/template-reporting/template.types.d.ts +4 -0
- package/build/cjs/types/types/webhook/webhook.d.ts +2 -0
- package/build/cjs/types/utils/enums.d.ts +0 -143
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +33 -12
- package/build/esm/types/api/api.singleton.d.ts +1 -0
- package/build/esm/types/api/api.types.d.ts +1 -0
- package/build/esm/types/msw/handlers/mfa.d.ts +1 -0
- package/build/esm/types/msw/handlers/recipients.d.ts +1 -0
- package/build/esm/types/msw/mocks/recipients/recipients.mock.d.ts +775 -0
- package/build/esm/types/mutations/concierge/concierge.mutation.d.ts +8 -0
- package/build/esm/types/mutations/concierge/index.d.ts +1 -0
- package/build/esm/types/mutations/index.d.ts +2 -0
- package/build/esm/types/mutations/payment-links/payment-links.mutation.d.ts +9 -0
- package/build/esm/types/mutations/recipients/index.d.ts +1 -0
- package/build/esm/types/mutations/recipients/recipients.mutation.d.ts +18 -0
- package/build/esm/types/mutations/settings/index.d.ts +1 -0
- package/build/esm/types/mutations/settings/use-table-onboarding.d.ts +6 -0
- package/build/esm/types/queries/audit/audit-v3.query.d.ts +9 -0
- package/build/esm/types/queries/audit/audit.query.d.ts +5 -1
- package/build/esm/types/queries/audit/index.d.ts +1 -0
- package/build/esm/types/queries/checkouts/checkouts.query.d.ts +105 -1
- package/build/esm/types/queries/concierge/concierge.query.d.ts +6 -0
- package/build/esm/types/queries/concierge/index.d.ts +1 -0
- package/build/esm/types/queries/index.d.ts +1 -2
- package/build/esm/types/queries/mfa/organization-settings.query.d.ts +4 -1
- package/build/esm/types/queries/payment-links/payment-links.query.d.ts +0 -1
- package/build/esm/types/queries/recipients/recipients.query.d.ts +6 -1
- package/build/esm/types/types/audit/audit.d.ts +80 -0
- package/build/esm/types/types/checkout/styling/styling.d.ts +31 -0
- package/build/esm/types/types/concierge/concierge-alerts.d.ts +42 -0
- package/build/esm/types/types/concierge/index.d.ts +1 -0
- package/build/esm/types/types/index.d.ts +1 -1
- package/build/esm/types/types/installments/installments.d.ts +4 -0
- package/build/esm/types/types/mfa/mfa.d.ts +4 -0
- package/build/esm/types/types/organization/organization.d.ts +1 -0
- package/build/esm/types/types/recipients/index.d.ts +2 -0
- package/build/esm/types/types/recipients/recipients-export.d.ts +52 -0
- package/build/esm/types/types/recipients/recipients-mutations.d.ts +136 -0
- package/build/esm/types/types/recipients/recipients.d.ts +7 -0
- package/build/esm/types/types/reports/reports.d.ts +1 -0
- package/build/esm/types/types/subscriptions/subscriptions.d.ts +7 -0
- package/build/esm/types/types/team/team.d.ts +1 -0
- package/build/esm/types/types/template-reporting/template.types.d.ts +4 -0
- package/build/esm/types/types/webhook/webhook.d.ts +2 -0
- package/build/esm/types/utils/enums.d.ts +0 -143
- package/build/index.d.ts +569 -77
- package/package.json +1 -1
- package/build/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +0 -10
- package/build/api/api.d.ts +0 -675
- package/build/api/api.singleton.d.ts +0 -9
- package/build/api/api.test.d.ts +0 -1
- package/build/api/api.types.d.ts +0 -229
- package/build/api/index.d.ts +0 -3
- package/build/api-provider.d.ts +0 -4
- package/build/cjs/types/queries/cms/cms.query.d.ts +0 -14
- package/build/cjs/types/queries/cms/index.d.ts +0 -1
- package/build/cjs/types/queries/dialogs/dialogs.query.d.ts +0 -2
- package/build/cjs/types/queries/dialogs/index.d.ts +0 -1
- package/build/cjs/types/types/cms/cms.d.ts +0 -47
- package/build/cjs/types/types/cms/index.d.ts +0 -1
- 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/queries/cms/cms.query.d.ts +0 -14
- package/build/esm/types/queries/cms/index.d.ts +0 -1
- package/build/esm/types/queries/dialogs/dialogs.query.d.ts +0 -2
- package/build/esm/types/queries/dialogs/index.d.ts +0 -1
- package/build/esm/types/types/cms/cms.d.ts +0 -47
- package/build/esm/types/types/cms/index.d.ts +0 -1
- 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/msw/browser.d.ts +0 -1
- package/build/msw/handlers/api-logs.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/organizations.d.ts +0 -1
- package/build/msw/handlers/payments.d.ts +0 -1
- package/build/msw/handlers/reconciliation-insights.d.ts +0 -1
- package/build/msw/handlers/webhooks.d.ts +0 -1
- package/build/msw/index.d.ts +0 -1
- package/build/msw/mocks/api-logs/api-logs-v3.mock.d.ts +0 -2
- 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/reconciliation-insights/index.d.ts +0 -22
- package/build/msw/mocks/webhooks/webhook-timeline.mock.d.ts +0 -2
- 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 -57
- 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 -2
- 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/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/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 -52
- package/build/mutations/fraud-screening/index.d.ts +0 -1
- package/build/mutations/index.d.ts +0 -34
- 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/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 -6
- 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/organization-settings/index.d.ts +0 -1
- package/build/mutations/organization-settings/organization-settings.mutations.d.ts +0 -9
- package/build/mutations/organizations/index.d.ts +0 -1
- package/build/mutations/organizations/organizations.mutation.d.ts +0 -2
- 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/recipients/recipients.mutation.d.ts +0 -11
- 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 -1
- package/build/mutations/settings/settings.mutation.d.ts +0 -17
- package/build/mutations/settings/settings.mutation.test.d.ts +0 -1
- 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 -17
- 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.d.ts +0 -30
- 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/api-logs/api-logs-v3.query.d.ts +0 -9
- package/build/queries/api-logs/api-logs-v3.query.test.d.ts +0 -1
- package/build/queries/api-logs/index.d.ts +0 -1
- package/build/queries/audit/audit.query.d.ts +0 -28
- package/build/queries/audit/audit.query.test.d.ts +0 -1
- package/build/queries/audit/index.d.ts +0 -1
- 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/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 -12
- 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/cms/cms.query.d.ts +0 -14
- package/build/queries/cms/cms.query.test.d.ts +0 -1
- package/build/queries/cms/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 -20
- 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/dialogs/dialogs.query.d.ts +0 -2
- package/build/queries/dialogs/dialogs.query.test.d.ts +0 -1
- package/build/queries/dialogs/index.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 -8
- 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 -11
- 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 -30
- 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 -7
- 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 -8
- package/build/queries/reconciliations/index.d.ts +0 -7
- package/build/queries/reconciliations/reconciliation-insights.query.d.ts +0 -26
- 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 -8
- 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 -25
- 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/queries/webhooks/index.d.ts +0 -1
- package/build/queries/webhooks/webhook-timeline.query.d.ts +0 -9
- package/build/queries/webhooks/webhook-timeline.query.test.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 -387
- 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/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 -176
- package/build/types/cms/cms.d.ts +0 -47
- package/build/types/cms/index.d.ts +0 -1
- 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 -66
- 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/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 -37
- package/build/types/installments/index.d.ts +0 -1
- package/build/types/installments/installments.d.ts +0 -125
- package/build/types/mfa/index.d.ts +0 -1
- package/build/types/mfa/mfa.d.ts +0 -6
- 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 -137
- 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 -581
- 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/recipients/index.d.ts +0 -2
- package/build/types/recipients/recipients.d.ts +0 -223
- 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 -188
- 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 -154
- 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 -68
- 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 -98
- 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 -208
- 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/enums.d.ts +0 -162
- package/build/utils/handler-error.d.ts +0 -6
- package/build/utils/index.d.ts +0 -3
- 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 -9
- /package/build/{msw → cjs/types/msw}/handlers/recipients.d.ts +0 -0
- /package/build/{msw → cjs/types/msw}/mocks/recipients/recipients.mock.d.ts +0 -0
- /package/build/{mutations → cjs/types/mutations}/recipients/index.d.ts +0 -0
- /package/build/{set-public-path.d.ts → cjs/types/set-public-path.d.ts} +0 -0
- /package/build/{types → cjs/types/types}/recipients/recipients-mutations.d.ts +0 -0
- /package/build/{api-provider.test.d.ts → esm/types/set-public-path.d.ts} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { ConciergeAlerts } from '../../types';
|
|
3
|
+
export declare function useCreateConciergeAlert(): UseMutationResult<ConciergeAlerts.CreateAlertResponse, ConciergeAlerts.Error, ConciergeAlerts.CreateAlertPayload>;
|
|
4
|
+
export declare function useDeleteConciergeAlert(): UseMutationResult<ConciergeAlerts.DeleteAlertResponse, ConciergeAlerts.Error, string>;
|
|
5
|
+
export declare function useEnableConciergeAlert(): UseMutationResult<ConciergeAlerts.EnableAlertResponse, ConciergeAlerts.Error, {
|
|
6
|
+
alertId: string;
|
|
7
|
+
payload: ConciergeAlerts.EnableAlertPayload;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './concierge.mutation';
|
|
@@ -10,3 +10,12 @@ export declare function useEditPaymentLinks(): import("@tanstack/react-query").U
|
|
|
10
10
|
accountCode: string;
|
|
11
11
|
paymentLinkCode: string;
|
|
12
12
|
}, unknown>;
|
|
13
|
+
export declare function useUploadPaymentLinkLogo(): import("@tanstack/react-query").UseMutationResult<{
|
|
14
|
+
s3_url: string;
|
|
15
|
+
logo: string;
|
|
16
|
+
}, unknown, {
|
|
17
|
+
payload: {
|
|
18
|
+
base64_data: string;
|
|
19
|
+
file_name: string;
|
|
20
|
+
};
|
|
21
|
+
}, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './recipients.mutation';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AxiosError } from 'axios';
|
|
2
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
+
import { RecipientsExport } from '../../types/recipients';
|
|
4
|
+
import { CreateRecipientParams, UpdateRecipientParams, DeleteRecipientParams, CreateOnboardingParams, UpdateOnboardingParams, BlockOnboardingParams, UnblockOnboardingParams } from '../../types/recipients/recipients-mutations';
|
|
5
|
+
import { Recipients } from '../../types/recipients/recipients';
|
|
6
|
+
import { BFFErrorResponse } from '../smart-routing/smart-routing.mutation';
|
|
7
|
+
export declare function useCreateRecipientExport(): UseMutationResult<RecipientsExport.ExportItem, unknown>;
|
|
8
|
+
export declare function useDownloadRecipientExport(): UseMutationResult<{
|
|
9
|
+
download_url: string;
|
|
10
|
+
expires_in_seconds: number;
|
|
11
|
+
}, unknown>;
|
|
12
|
+
export declare function useCreateRecipient(): UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, CreateRecipientParams, unknown>;
|
|
13
|
+
export declare function useUpdateRecipient(): UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, UpdateRecipientParams, unknown>;
|
|
14
|
+
export declare function useDeleteRecipient(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, DeleteRecipientParams, unknown>;
|
|
15
|
+
export declare function useCreateOnboarding(): UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, CreateOnboardingParams, unknown>;
|
|
16
|
+
export declare function useUpdateOnboarding(): UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, UpdateOnboardingParams, unknown>;
|
|
17
|
+
export declare function useBlockOnboarding(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, BlockOnboardingParams, unknown>;
|
|
18
|
+
export declare function useUnblockOnboarding(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, UnblockOnboardingParams, unknown>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import type { Audit } from '../../types';
|
|
3
|
+
import { BFFErrorResponse } from '../../mutations';
|
|
4
|
+
export interface UseGetApiLogsV3ByPaymentCodeOptions {
|
|
5
|
+
paymentCode: string;
|
|
6
|
+
createdAtFrom?: string;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function useGetApiLogsV3ByPaymentCode({ paymentCode, createdAtFrom, enabled, }: UseGetApiLogsV3ByPaymentCodeOptions): UseQueryResult<Audit.ApiLogsV3ListResponse, BFFErrorResponse>;
|
|
@@ -8,7 +8,7 @@ export declare function usePostApiLogs(params: Audit.AuditApiLogsParams): UseQue
|
|
|
8
8
|
export declare function usePostWebhookLogs({ params, }: {
|
|
9
9
|
params: Audit.AuditWebhooksParams;
|
|
10
10
|
}): UseQueryResult<Audit.AuditWebhooksResponse, BFFErrorResponse>;
|
|
11
|
-
export declare function useGetApiLogsDetailByPaymentCode(code: string | null | undefined): UseQueryResult<
|
|
11
|
+
export declare function useGetApiLogsDetailByPaymentCode(code: string | null | undefined, createdAtFrom?: string): UseQueryResult<Audit.ApiLogsDetailByPaymentCode, BFFErrorResponse>;
|
|
12
12
|
export declare function useGetApiLogsByTransactionCode(transactionCode: string | null | undefined, accountCode: string | null | undefined): UseQueryResult<Audit.ApiLogByTransactionCode, BFFErrorResponse>;
|
|
13
13
|
export declare function useGetAuditExportsList(reportType: Audit.AuditExportReportType, enabled?: boolean): UseQueryResult<Audit.AuditExportResponse[], BFFErrorResponse>;
|
|
14
14
|
export declare function useGetAuditExportDownload(reportId: string, enabled?: boolean, onSuccess?: (data: Audit.AuditExportDownloadResponse) => void): UseQueryResult<Audit.AuditExportDownloadResponse, BFFErrorResponse>;
|
|
@@ -26,3 +26,7 @@ export interface UnifiedExportsListQueryParams {
|
|
|
26
26
|
enabled?: boolean;
|
|
27
27
|
}
|
|
28
28
|
export declare function useGetUnifiedExportsList({ tab, page, size, enabled, }: UnifiedExportsListQueryParams): UseQueryResult<Audit.UnifiedExportListResponse, BFFErrorResponse>;
|
|
29
|
+
export declare function useGetApiLogsStatsRequests(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsStatsResponse, BFFErrorResponse>;
|
|
30
|
+
export declare function useGetApiLogsStatsErrors(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsStatsResponse, BFFErrorResponse>;
|
|
31
|
+
export declare function useGetApiLogsStatsErrorsByEndpoint(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsErrorsByEndpointResponse, BFFErrorResponse>;
|
|
32
|
+
export declare function useGetApiLogsList(params: Audit.ApiLogsListParams): UseQueryResult<Audit.ApiLogsListResponse, BFFErrorResponse>;
|
|
@@ -2,7 +2,111 @@ import { UseQueryOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { Checkout } from '../../types';
|
|
3
3
|
export declare function useGetCheckouts({ accountCode }: {
|
|
4
4
|
accountCode: any;
|
|
5
|
-
}, options?: UseQueryOptions<Checkout.CheckoutList[], unknown, Checkout.CheckoutList[]>):
|
|
5
|
+
}, options?: UseQueryOptions<Checkout.CheckoutList[], unknown, Checkout.CheckoutList[]>): {
|
|
6
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
7
|
+
data: Checkout.CheckoutList[];
|
|
8
|
+
error: unknown;
|
|
9
|
+
isError: true;
|
|
10
|
+
isLoading: false;
|
|
11
|
+
isLoadingError: false;
|
|
12
|
+
isRefetchError: true;
|
|
13
|
+
isSuccess: false;
|
|
14
|
+
status: "error";
|
|
15
|
+
dataUpdatedAt: number;
|
|
16
|
+
errorUpdatedAt: number;
|
|
17
|
+
failureCount: number;
|
|
18
|
+
failureReason: unknown;
|
|
19
|
+
errorUpdateCount: number;
|
|
20
|
+
isFetched: boolean;
|
|
21
|
+
isFetchedAfterMount: boolean;
|
|
22
|
+
isFetching: boolean;
|
|
23
|
+
isInitialLoading: boolean;
|
|
24
|
+
isPaused: boolean;
|
|
25
|
+
isPlaceholderData: boolean;
|
|
26
|
+
isPreviousData: boolean;
|
|
27
|
+
isRefetching: boolean;
|
|
28
|
+
isStale: boolean;
|
|
29
|
+
remove: () => void;
|
|
30
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
31
|
+
} | {
|
|
32
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
33
|
+
data: Checkout.CheckoutList[];
|
|
34
|
+
error: null;
|
|
35
|
+
isError: false;
|
|
36
|
+
isLoading: false;
|
|
37
|
+
isLoadingError: false;
|
|
38
|
+
isRefetchError: false;
|
|
39
|
+
isSuccess: true;
|
|
40
|
+
status: "success";
|
|
41
|
+
dataUpdatedAt: number;
|
|
42
|
+
errorUpdatedAt: number;
|
|
43
|
+
failureCount: number;
|
|
44
|
+
failureReason: unknown;
|
|
45
|
+
errorUpdateCount: number;
|
|
46
|
+
isFetched: boolean;
|
|
47
|
+
isFetchedAfterMount: boolean;
|
|
48
|
+
isFetching: boolean;
|
|
49
|
+
isInitialLoading: boolean;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
isPlaceholderData: boolean;
|
|
52
|
+
isPreviousData: boolean;
|
|
53
|
+
isRefetching: boolean;
|
|
54
|
+
isStale: boolean;
|
|
55
|
+
remove: () => void;
|
|
56
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
57
|
+
} | {
|
|
58
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
59
|
+
data: undefined;
|
|
60
|
+
error: unknown;
|
|
61
|
+
isError: true;
|
|
62
|
+
isLoading: false;
|
|
63
|
+
isLoadingError: true;
|
|
64
|
+
isRefetchError: false;
|
|
65
|
+
isSuccess: false;
|
|
66
|
+
status: "error";
|
|
67
|
+
dataUpdatedAt: number;
|
|
68
|
+
errorUpdatedAt: number;
|
|
69
|
+
failureCount: number;
|
|
70
|
+
failureReason: unknown;
|
|
71
|
+
errorUpdateCount: number;
|
|
72
|
+
isFetched: boolean;
|
|
73
|
+
isFetchedAfterMount: boolean;
|
|
74
|
+
isFetching: boolean;
|
|
75
|
+
isInitialLoading: boolean;
|
|
76
|
+
isPaused: boolean;
|
|
77
|
+
isPlaceholderData: boolean;
|
|
78
|
+
isPreviousData: boolean;
|
|
79
|
+
isRefetching: boolean;
|
|
80
|
+
isStale: boolean;
|
|
81
|
+
remove: () => void;
|
|
82
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
83
|
+
} | {
|
|
84
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
85
|
+
data: undefined;
|
|
86
|
+
error: null;
|
|
87
|
+
isError: false;
|
|
88
|
+
isLoading: true;
|
|
89
|
+
isLoadingError: false;
|
|
90
|
+
isRefetchError: false;
|
|
91
|
+
isSuccess: false;
|
|
92
|
+
status: "loading";
|
|
93
|
+
dataUpdatedAt: number;
|
|
94
|
+
errorUpdatedAt: number;
|
|
95
|
+
failureCount: number;
|
|
96
|
+
failureReason: unknown;
|
|
97
|
+
errorUpdateCount: number;
|
|
98
|
+
isFetched: boolean;
|
|
99
|
+
isFetchedAfterMount: boolean;
|
|
100
|
+
isFetching: boolean;
|
|
101
|
+
isInitialLoading: boolean;
|
|
102
|
+
isPaused: boolean;
|
|
103
|
+
isPlaceholderData: boolean;
|
|
104
|
+
isPreviousData: boolean;
|
|
105
|
+
isRefetching: boolean;
|
|
106
|
+
isStale: boolean;
|
|
107
|
+
remove: () => void;
|
|
108
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
109
|
+
};
|
|
6
110
|
export declare const getQueryKeyGetNameAndIcon: ({ paymentMethodType, type, }: Checkout.GetNameAndIconArgs) => string[];
|
|
7
111
|
export declare const useGetNameAndIcon: ({ paymentMethodType, type }: Checkout.GetNameAndIconArgs, option?: UseQueryOptions<Checkout.GetNameAndIconResponse, unknown, Checkout.GetNameAndIconResponse>) => import("@tanstack/react-query").UseQueryResult<Checkout.GetNameAndIconResponse, unknown>;
|
|
8
112
|
export declare const getQueryKeyRequiredFields: ({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs) => string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ConciergeAlerts } from '../../types';
|
|
3
|
+
export declare const CONCIERGE_ALERTS_QUERY_KEY = "GET/concierge/alerts";
|
|
4
|
+
export declare const CONCIERGE_ALERT_BY_ID_QUERY_KEY = "GET/concierge/alerts/by-id";
|
|
5
|
+
export declare function useGetConciergeAlerts(): UseQueryResult<ConciergeAlerts.Alert[], ConciergeAlerts.Error>;
|
|
6
|
+
export declare function useGetConciergeAlertById(alertId: string): UseQueryResult<ConciergeAlerts.Alert, ConciergeAlerts.Error>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './concierge.query';
|
|
@@ -2,9 +2,7 @@ export * from './payments';
|
|
|
2
2
|
export * from './developers';
|
|
3
3
|
export * from './organizations';
|
|
4
4
|
export * from './connections';
|
|
5
|
-
export * from './dialogs';
|
|
6
5
|
export * from './accounts';
|
|
7
|
-
export * from './cms';
|
|
8
6
|
export * from './smart-routing';
|
|
9
7
|
export * from './routing-monitors';
|
|
10
8
|
export * from './checkouts';
|
|
@@ -37,3 +35,4 @@ export * from './installments';
|
|
|
37
35
|
export * from './api-logs';
|
|
38
36
|
export * from './webhooks';
|
|
39
37
|
export * from './security';
|
|
38
|
+
export * from './concierge';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { OrganizationSettings } from '../../types';
|
|
2
|
+
import { MFA, OrganizationSettings } from '../../types';
|
|
3
3
|
export declare function useGetMFAExcludedUsers({ organizationCode, }: {
|
|
4
4
|
organizationCode: string;
|
|
5
5
|
}, enabled: boolean): UseQueryResult<OrganizationSettings.MfaConfig[], unknown>;
|
|
@@ -9,3 +9,6 @@ export declare function useGetMFAConfig({ organizationCode, }: {
|
|
|
9
9
|
export declare function useGetMFAStatus({ accountCode, }: {
|
|
10
10
|
accountCode: string;
|
|
11
11
|
}, enabled: boolean): UseQueryResult<OrganizationSettings.MfaConfig, unknown>;
|
|
12
|
+
export declare function useGetWorkOsMfaStatus({ enabled, }: {
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
}): UseQueryResult<MFA.WorkOsMfaStatus, unknown>;
|
|
@@ -4,4 +4,3 @@ export declare function useGetPaymentLinks(params: any, accountCode: any): UseQu
|
|
|
4
4
|
export declare function useGetPaymentLinkByCode(paymentLinkCode: any): UseQueryResult<any, unknown>;
|
|
5
5
|
export declare function useGetCountriesConfigPaymentLink(enabled?: boolean): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
|
|
6
6
|
export declare function useGetCountriesConfigPaymentLinkV2(acceptLanguage?: string): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
|
|
7
|
-
export declare function useGetTimezonePaymentLink(organizationCode: string): UseQueryResult<any, unknown>;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
2
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
3
|
-
import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams } from '../../types/recipients';
|
|
3
|
+
import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams, RecipientsExport, GetRecipientExportsParams } from '../../types/recipients';
|
|
4
4
|
import { BFFErrorResponse } from '../../mutations';
|
|
5
5
|
export declare function useGetRecipients(organizationCode: string, params: GetRecipientsParams, enabled?: boolean): UseQueryResult<Recipients.RecipientListResponse, AxiosError<BFFErrorResponse>>;
|
|
6
6
|
export declare function useGetRecipientById(organizationCode: string, params: GetRecipientByIdParams, enabled?: boolean): UseQueryResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse>>;
|
|
7
7
|
export declare function useGetOnboardingDetail(organizationCode: string, params: GetOnboardingDetailParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse>>;
|
|
8
8
|
export declare function useGetOnboardingTimeline(organizationCode: string, params: GetOnboardingTimelineParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingTimeline, AxiosError<BFFErrorResponse>>;
|
|
9
|
+
export declare function useGetRecipientExports(accountCode: string, params: GetRecipientExportsParams, enabled?: boolean): UseQueryResult<RecipientsExport.ExportListResponse, AxiosError<BFFErrorResponse>>;
|
|
10
|
+
export declare function useGetRecipientExportDownload(accountCode: string, exportCode: string, enabled?: boolean): UseQueryResult<{
|
|
11
|
+
download_url: string;
|
|
12
|
+
expires_in_seconds: number;
|
|
13
|
+
}, AxiosError<BFFErrorResponse>>;
|
|
@@ -1,4 +1,11 @@
|
|
|
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
|
+
}
|
|
2
9
|
interface AuditEventsParams {
|
|
3
10
|
page: number;
|
|
4
11
|
size: number;
|
|
@@ -377,4 +384,77 @@ export declare namespace Audit {
|
|
|
377
384
|
interface AuditExportDownloadResponse {
|
|
378
385
|
redirect_link: string;
|
|
379
386
|
}
|
|
387
|
+
interface ApiLogsStatsParams {
|
|
388
|
+
start_date?: string;
|
|
389
|
+
end_date?: string;
|
|
390
|
+
timezone?: string;
|
|
391
|
+
accounts?: string[];
|
|
392
|
+
granularity?: string;
|
|
393
|
+
}
|
|
394
|
+
interface ApiLogsStatsResponse {
|
|
395
|
+
total: number;
|
|
396
|
+
time_series: Array<{
|
|
397
|
+
timestamp: string;
|
|
398
|
+
count: number;
|
|
399
|
+
}>;
|
|
400
|
+
}
|
|
401
|
+
interface ApiLogsErrorsByEndpointResponse {
|
|
402
|
+
total: number;
|
|
403
|
+
endpoints: Array<{
|
|
404
|
+
url: string;
|
|
405
|
+
count: number;
|
|
406
|
+
time_series: Array<{
|
|
407
|
+
timestamp: string;
|
|
408
|
+
count: number;
|
|
409
|
+
}>;
|
|
410
|
+
}>;
|
|
411
|
+
}
|
|
412
|
+
interface ApiLogsListParams {
|
|
413
|
+
page?: number;
|
|
414
|
+
size?: number;
|
|
415
|
+
start_date?: string;
|
|
416
|
+
end_date?: string;
|
|
417
|
+
status_codes?: number[];
|
|
418
|
+
methods?: string[];
|
|
419
|
+
search?: string;
|
|
420
|
+
accounts?: string[];
|
|
421
|
+
}
|
|
422
|
+
interface ApiLogsListResponse {
|
|
423
|
+
page: number;
|
|
424
|
+
size: number;
|
|
425
|
+
total_rows: number;
|
|
426
|
+
total_pages: number;
|
|
427
|
+
data: ApiLogItem[];
|
|
428
|
+
}
|
|
429
|
+
interface ApiLogItem {
|
|
430
|
+
code: string;
|
|
431
|
+
url: string;
|
|
432
|
+
method: string;
|
|
433
|
+
status_code: number;
|
|
434
|
+
trace_id: string | null;
|
|
435
|
+
created_at: string;
|
|
436
|
+
account_code: string | null;
|
|
437
|
+
request: unknown;
|
|
438
|
+
response: unknown;
|
|
439
|
+
}
|
|
440
|
+
interface ApiLogV3Item {
|
|
441
|
+
organization_code: string | null;
|
|
442
|
+
account_code: string | null;
|
|
443
|
+
method: string | null;
|
|
444
|
+
request_uri: string | null;
|
|
445
|
+
status_code: number | null;
|
|
446
|
+
payment_id: string | null;
|
|
447
|
+
trace_id: string | null;
|
|
448
|
+
request_body: unknown;
|
|
449
|
+
response_body: unknown;
|
|
450
|
+
response_time: number | null;
|
|
451
|
+
created_at: string | null;
|
|
452
|
+
}
|
|
453
|
+
interface ApiLogsV3ListResponse {
|
|
454
|
+
page: number;
|
|
455
|
+
size: number;
|
|
456
|
+
total_rows: number;
|
|
457
|
+
total_pages: number;
|
|
458
|
+
data: ApiLogV3Item[];
|
|
459
|
+
}
|
|
380
460
|
}
|
|
@@ -66,6 +66,36 @@ export declare namespace Styling {
|
|
|
66
66
|
}
|
|
67
67
|
export {};
|
|
68
68
|
}
|
|
69
|
+
export interface PaymentLinkStyles {
|
|
70
|
+
panel?: {
|
|
71
|
+
left?: {
|
|
72
|
+
logo?: string | null;
|
|
73
|
+
background?: {
|
|
74
|
+
color?: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
checkbox?: {
|
|
79
|
+
color?: string;
|
|
80
|
+
};
|
|
81
|
+
border?: {
|
|
82
|
+
color?: string;
|
|
83
|
+
};
|
|
84
|
+
radio_button?: {
|
|
85
|
+
color?: string;
|
|
86
|
+
};
|
|
87
|
+
button?: {
|
|
88
|
+
text?: {
|
|
89
|
+
color?: string;
|
|
90
|
+
};
|
|
91
|
+
background?: {
|
|
92
|
+
color?: string;
|
|
93
|
+
hover?: {
|
|
94
|
+
color?: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
69
99
|
export declare namespace StylingSettings {
|
|
70
100
|
interface UpdateSettings {
|
|
71
101
|
styles: {
|
|
@@ -124,6 +154,7 @@ export declare namespace StylingSettings {
|
|
|
124
154
|
flags?: {
|
|
125
155
|
force_default_styles?: boolean;
|
|
126
156
|
};
|
|
157
|
+
payment_link_styles?: PaymentLinkStyles;
|
|
127
158
|
}
|
|
128
159
|
interface UpdateSettingsResponse extends UpdateSettings {
|
|
129
160
|
external_fonts: {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare namespace ConciergeAlerts {
|
|
2
|
+
interface AntiNoiseControls {
|
|
3
|
+
cooldown: number;
|
|
4
|
+
minimum_transactions: number;
|
|
5
|
+
}
|
|
6
|
+
interface ThresholdConfiguration {
|
|
7
|
+
error_rate_threshold: number;
|
|
8
|
+
error_types: string[];
|
|
9
|
+
}
|
|
10
|
+
interface ScopeFilters {
|
|
11
|
+
countries: string[];
|
|
12
|
+
providers: string[];
|
|
13
|
+
payment_methods: string[];
|
|
14
|
+
card_brands: string[];
|
|
15
|
+
}
|
|
16
|
+
interface Alert {
|
|
17
|
+
id: string;
|
|
18
|
+
alert_type: string;
|
|
19
|
+
name: string;
|
|
20
|
+
language: string;
|
|
21
|
+
analysis_window: string;
|
|
22
|
+
comparison_baseline: string;
|
|
23
|
+
anti_noise_controls: AntiNoiseControls;
|
|
24
|
+
threshold_configuration: ThresholdConfiguration;
|
|
25
|
+
scope_filters: ScopeFilters;
|
|
26
|
+
enabled: boolean;
|
|
27
|
+
}
|
|
28
|
+
type CreateAlertPayload = Omit<Alert, 'id' | 'enabled'>;
|
|
29
|
+
type CreateAlertResponse = Pick<Alert, 'id'>;
|
|
30
|
+
type DeleteAlertResponse = Pick<Alert, 'id'>;
|
|
31
|
+
interface EnableAlertPayload {
|
|
32
|
+
enable: boolean;
|
|
33
|
+
}
|
|
34
|
+
interface EnableAlertResponse {
|
|
35
|
+
id: string;
|
|
36
|
+
enable: boolean;
|
|
37
|
+
}
|
|
38
|
+
type Error = {
|
|
39
|
+
code?: string;
|
|
40
|
+
name?: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './concierge-alerts';
|
|
@@ -8,7 +8,6 @@ export * from './connection';
|
|
|
8
8
|
export * from './webhook';
|
|
9
9
|
export * from './user';
|
|
10
10
|
export * from './country';
|
|
11
|
-
export * from './cms';
|
|
12
11
|
export * from './checkout';
|
|
13
12
|
export * from './reports';
|
|
14
13
|
export * from './notifications';
|
|
@@ -35,3 +34,4 @@ export * from './organization-config';
|
|
|
35
34
|
export * from './onboarding';
|
|
36
35
|
export * from './recipients';
|
|
37
36
|
export * from './installments';
|
|
37
|
+
export * from './concierge';
|
|
@@ -50,6 +50,7 @@ export declare namespace Installments {
|
|
|
50
50
|
amount: PlanAmount;
|
|
51
51
|
availability?: Availability;
|
|
52
52
|
types_list?: string[] | null;
|
|
53
|
+
payment_method_type?: string;
|
|
53
54
|
created_at?: string;
|
|
54
55
|
updated_at?: string;
|
|
55
56
|
}
|
|
@@ -61,6 +62,7 @@ export declare namespace Installments {
|
|
|
61
62
|
amount?: PlanAmount;
|
|
62
63
|
installments_plan?: InstallmentPlanItem[];
|
|
63
64
|
availability?: Availability;
|
|
65
|
+
payment_method_type?: string;
|
|
64
66
|
}
|
|
65
67
|
interface CreateInstallmentsPlanResponse extends InstallmentsPlan {
|
|
66
68
|
}
|
|
@@ -70,6 +72,7 @@ export declare namespace Installments {
|
|
|
70
72
|
amount?: PlanAmount;
|
|
71
73
|
installments_plan?: InstallmentPlanItem[];
|
|
72
74
|
availability?: Availability;
|
|
75
|
+
payment_method_type?: string;
|
|
73
76
|
}
|
|
74
77
|
interface UpdateInstallmentsPlanResponse extends InstallmentsPlan {
|
|
75
78
|
}
|
|
@@ -105,6 +108,7 @@ export declare namespace Installments {
|
|
|
105
108
|
amount?: PlanAmount;
|
|
106
109
|
installments_plan?: InstallmentPlanItem[];
|
|
107
110
|
availability?: Availability;
|
|
111
|
+
payment_method_type?: string;
|
|
108
112
|
}
|
|
109
113
|
interface BulkCreateInstallmentsPlansResponse {
|
|
110
114
|
created: InstallmentsPlan[];
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare namespace RecipientsExport {
|
|
2
|
+
interface ExportFilters {
|
|
3
|
+
type?: string;
|
|
4
|
+
countries?: string[];
|
|
5
|
+
entity_types?: string[];
|
|
6
|
+
sort_by?: string;
|
|
7
|
+
sort_order?: string;
|
|
8
|
+
columns?: string[];
|
|
9
|
+
}
|
|
10
|
+
interface CreateExportRequest {
|
|
11
|
+
export_name: string;
|
|
12
|
+
filters: ExportFilters;
|
|
13
|
+
}
|
|
14
|
+
interface ExportItem {
|
|
15
|
+
code: string;
|
|
16
|
+
export_name: string;
|
|
17
|
+
status: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
|
18
|
+
download_url: string | null;
|
|
19
|
+
error_message: string | null;
|
|
20
|
+
created_at: string;
|
|
21
|
+
}
|
|
22
|
+
interface ExportListResponse {
|
|
23
|
+
content: ExportItem[];
|
|
24
|
+
empty: boolean;
|
|
25
|
+
first: boolean;
|
|
26
|
+
last: boolean;
|
|
27
|
+
number: number;
|
|
28
|
+
number_of_elements: number;
|
|
29
|
+
size: number;
|
|
30
|
+
pageable: {
|
|
31
|
+
offset: number;
|
|
32
|
+
page_number: number;
|
|
33
|
+
page_size: number;
|
|
34
|
+
paged: boolean;
|
|
35
|
+
sort: {
|
|
36
|
+
empty: boolean;
|
|
37
|
+
sorted: boolean;
|
|
38
|
+
unsorted: boolean;
|
|
39
|
+
};
|
|
40
|
+
unpaged: boolean;
|
|
41
|
+
};
|
|
42
|
+
sort: {
|
|
43
|
+
empty: boolean;
|
|
44
|
+
sorted: boolean;
|
|
45
|
+
unsorted: boolean;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export interface GetRecipientExportsParams {
|
|
50
|
+
page?: number;
|
|
51
|
+
size?: number;
|
|
52
|
+
}
|