@yuno-payments/dashboard-api-mfe 1.10.8 → 1.11.2
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 +34 -16
- 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 +3 -0
- package/build/cjs/types/mutations/payment-links/payment-links.mutation.d.ts +9 -0
- package/build/cjs/types/mutations/playground/index.d.ts +1 -0
- package/build/cjs/types/mutations/playground/playground.mutation.d.ts +7 -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/data-report/data-report.query.d.ts +0 -4
- 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 +82 -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/data-report/data-report.d.ts +4 -1
- package/build/cjs/types/types/index.d.ts +2 -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/playground/index.d.ts +1 -0
- package/build/cjs/types/types/playground/playground.d.ts +33 -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 +34 -16
- 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 +3 -0
- package/build/esm/types/mutations/payment-links/payment-links.mutation.d.ts +9 -0
- package/build/esm/types/mutations/playground/index.d.ts +1 -0
- package/build/esm/types/mutations/playground/playground.mutation.d.ts +7 -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/data-report/data-report.query.d.ts +0 -4
- 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 +82 -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/data-report/data-report.d.ts +4 -1
- package/build/esm/types/types/index.d.ts +2 -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/playground/index.d.ts +1 -0
- package/build/esm/types/types/playground/playground.d.ts +33 -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 +614 -86
- 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
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../lib/http-client';
|
|
3
3
|
import { GetPaymentsParams, GetReconciliationMetricParams, FirebaseUserSubscribe, PathNotification, TimeZoneCatalog, GetTransactionDetailsV2Params, MfaUserSubscribe, UserInviteMultiaccountPayload, GetTransactionsParams, PaymentsSettings, GetPayoutDetail, GetPayoutTransactionDetail, PinnedSections, ThemeSettings, ListSubscriptionsParams } from './api.types';
|
|
4
|
-
import { Audit, OperationTransaction, Organization, OrganizationConfig, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, ReconciliationInsights, Payment, AddToRiskListRequest, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, Installments, Connection, TemplateReporting, GetUserFullResponse, Team } from '../types';
|
|
4
|
+
import { Audit, OperationTransaction, Organization, OrganizationConfig, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, ReconciliationInsights, Payment, AddToRiskListRequest, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, Installments, Connection, TemplateReporting, GetUserFullResponse, Team, ConciergeAlerts, Playground } from '../types';
|
|
5
5
|
import { ConversionRateParams, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds } from '../types/data-report/conversion-rate.types';
|
|
6
6
|
import { RoutingMonitors } from '../types/routing-monitors';
|
|
7
7
|
import { ChangePaymentsWebhook } from '../mutations';
|
|
8
8
|
import { S3Client } from '../types/s3-client';
|
|
9
|
+
import { CreateRecipientPayload, UpdateRecipientPayload, CreateOnboardingPayload, UpdateOnboardingPayload } from '../types/recipients/recipients-mutations';
|
|
9
10
|
import { AllowedList } from '../types/allowed-list';
|
|
10
11
|
import { Cost } from '../types/connection/costs';
|
|
11
12
|
import { Styling, StylingSettings } from '../types/checkout/styling/styling';
|
|
@@ -139,7 +140,6 @@ export declare class Api extends HttpClient {
|
|
|
139
140
|
connections: [integration_code: string, account_code: string];
|
|
140
141
|
};
|
|
141
142
|
}): Promise<AxiosResponse<T, any>>;
|
|
142
|
-
getDialogs<T>(): Promise<AxiosResponse<T, any>>;
|
|
143
143
|
getWebhookParamsV2<T>(): Promise<AxiosResponse<T, Webhook.ParamV2[]>>;
|
|
144
144
|
getWebhooksV3<T>({ accountCode, name, }: {
|
|
145
145
|
accountCode: string;
|
|
@@ -153,7 +153,6 @@ export declare class Api extends HttpClient {
|
|
|
153
153
|
}): Promise<AxiosResponse<T>>;
|
|
154
154
|
deleteWebhookV2<T>(code: string, accountCode: string): Promise<AxiosResponse<T>>;
|
|
155
155
|
updateWebhookV2<T>(code: string, payload: any, accountCode: string): Promise<AxiosResponse<T>>;
|
|
156
|
-
getMenu<T>(): Promise<AxiosResponse<T>>;
|
|
157
156
|
postWebhookLogs<T>({ payload: { account_code, ...rest }, }: {
|
|
158
157
|
payload: Audit.AuditWebhooksParams;
|
|
159
158
|
}): Promise<AxiosResponse<T>>;
|
|
@@ -173,17 +172,15 @@ export declare class Api extends HttpClient {
|
|
|
173
172
|
postApiLogs<T>({ payload: { account_code, ...rest }, }: {
|
|
174
173
|
payload: Audit.AuditApiLogsParams;
|
|
175
174
|
}): Promise<AxiosResponse<T>>;
|
|
176
|
-
getApiLogsDetailByPaymentCode<T>(paymentCode: string): Promise<AxiosResponse<T>>;
|
|
175
|
+
getApiLogsDetailByPaymentCode<T>(paymentCode: string, createdAtFrom?: string): Promise<AxiosResponse<T>>;
|
|
177
176
|
getApiLogsByTransactionCode<T>(transactionCode: string, accountCode: string): Promise<AxiosResponse<T>>;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
postApiLogsStatsRequests<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
178
|
+
postApiLogsStatsErrors<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
179
|
+
postApiLogsStatsErrorsByEndpoint<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
180
|
+
postApiLogsList<T>(payload: Audit.ApiLogsListParams): Promise<AxiosResponse<T>>;
|
|
181
|
+
getApiLogsV3ByPaymentCode<T>(paymentCode: string, createdAtFrom?: string): Promise<AxiosResponse<T>>;
|
|
181
182
|
useGetCountriesConfig<T>(): Promise<AxiosResponse<T, any>>;
|
|
182
183
|
useGetCountriesConfigV2<T>(acceptLanguage?: string): Promise<AxiosResponse<T, any>>;
|
|
183
|
-
useGetTimeZoneCatalog<T>(): Promise<AxiosResponse<T, any>>;
|
|
184
|
-
useGetAuditLogsFilters<T>(): Promise<AxiosResponse<T, any>>;
|
|
185
|
-
getDashboardStaticContents<T>(): Promise<AxiosResponse<T, any>>;
|
|
186
|
-
getLocales<T>(): Promise<AxiosResponse<T, any>>;
|
|
187
184
|
getSmartRoutingMethods<T>(accountCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
188
185
|
putSmartRoutingToggleMethod<T>(accountCode: string, paymentMethod: string, active: boolean, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
189
186
|
getSmartRoutingConditionTypes<T>(accountCode: string, paymentMethod: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
@@ -227,7 +224,6 @@ export declare class Api extends HttpClient {
|
|
|
227
224
|
getInsightsMetricsConversionRateV2<T>(params: DataReport.InsightMetricParams, path: string): Promise<AxiosResponse<T, any>>;
|
|
228
225
|
getInsightsMetricsConversionRateViewMore<T>(params: DataReport.InsightMetricParams, type: string): Promise<AxiosResponse<T, any>>;
|
|
229
226
|
getInsightFallbackMetrics<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
230
|
-
getInsightsMetricsVolume<T>(account_codes: string, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
231
227
|
getInsightsMetricsVolumeV2<T>(account_codes: string, path: DataReport.InsightsVolumeMetricsV2Path, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
232
228
|
getInsightsFraudScreeningVolumeAndCountTx(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
233
229
|
getInsightsFraudScreeningConversionRate(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
@@ -243,11 +239,8 @@ export declare class Api extends HttpClient {
|
|
|
243
239
|
getInsightsChargebacksReasonsDistribution(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
244
240
|
getInsightsChargebacksStatusDistribution(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
245
241
|
getInsightsChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
246
|
-
getInsightOverview<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
247
242
|
getInsightOverviewV3<T>(params: DataReport.InsightMetricParams, type: DataReport.OverviewMetricType): Promise<AxiosResponse<T, any>>;
|
|
248
243
|
getInsighstHomeMetrics<T>(params: DataReport.InsightsHomeMetrics): Promise<AxiosResponse<T, any>>;
|
|
249
|
-
getInsightsMetricsTotalPaymentsAndFraud<T>(account_codes: string, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
250
|
-
getInsightsMetricsCustomerPaymentsAndFraud<T>(account_codes: string, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
251
244
|
getCheckouts({ accountCode, }: {
|
|
252
245
|
accountCode: any;
|
|
253
246
|
}): Promise<AxiosResponse<Checkout.CheckoutList[]>>;
|
|
@@ -443,6 +436,12 @@ export declare class Api extends HttpClient {
|
|
|
443
436
|
postDeletePaymentLink<T>({ code }: {
|
|
444
437
|
code: any;
|
|
445
438
|
}): Promise<AxiosResponse<T, any>>;
|
|
439
|
+
uploadPaymentLinkLogo<T>({ payload, }: {
|
|
440
|
+
payload: {
|
|
441
|
+
base64_data: string;
|
|
442
|
+
file_name: string;
|
|
443
|
+
};
|
|
444
|
+
}): Promise<AxiosResponse<T, any>>;
|
|
446
445
|
postSubscription<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
447
446
|
getSubscriptionByCode<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
448
447
|
postPauseSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
@@ -452,7 +451,6 @@ export declare class Api extends HttpClient {
|
|
|
452
451
|
postRescheduleSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
453
452
|
getSubscriptionPayments<T>(subscriptionCode: string, page?: number, size?: number): Promise<AxiosResponse<T, any>>;
|
|
454
453
|
postListSubscriptions<T>(payload: ListSubscriptionsParams): Promise<AxiosResponse<T, any>>;
|
|
455
|
-
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
456
454
|
getInstallmentPlans(params?: Installments.GetInstallmentsPlansParams): Promise<AxiosResponse<Installments.GetInstallmentsPlansResponse>>;
|
|
457
455
|
createInstallmentsPlan<T, P = unknown>(payload: P): Promise<AxiosResponse<T>>;
|
|
458
456
|
updateInstallmentsPlan<T, P = unknown>(code: string, payload: P): Promise<AxiosResponse<T>>;
|
|
@@ -555,6 +553,7 @@ export declare class Api extends HttpClient {
|
|
|
555
553
|
organizationCode: any;
|
|
556
554
|
}): Promise<AxiosResponse<T, any>>;
|
|
557
555
|
getMFAEnforcementStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
556
|
+
getWorkOsMfaStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
558
557
|
updateMFAConfig<T>(payload: OrganizationSettings.MfaConfigRequest, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
559
558
|
mfaExcludeUsers<T>(users: OrganizationSettings.MfaUserExcluded[], organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
560
559
|
getAllConfigRules<T>(): Promise<AxiosResponse<T, any>>;
|
|
@@ -657,5 +656,24 @@ export declare class Api extends HttpClient {
|
|
|
657
656
|
getRecipientById<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
|
|
658
657
|
getOnboardingDetail<T>(organizationCode: string, recipientId: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
659
658
|
getOnboardingTimeline<T>(organizationCode: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
659
|
+
createRecipientExport<T>(payload: unknown, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
660
|
+
getRecipientExports<T>(params: {
|
|
661
|
+
page?: number;
|
|
662
|
+
size?: number;
|
|
663
|
+
}, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
664
|
+
downloadRecipientExport<T>(exportCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
665
|
+
createRecipient<T>(organizationCode: string, payload: CreateRecipientPayload): Promise<AxiosResponse<T, any>>;
|
|
666
|
+
updateRecipient<T>(organizationCode: string, recipientId: string, payload: UpdateRecipientPayload): Promise<AxiosResponse<T, any>>;
|
|
667
|
+
deleteRecipient<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
|
|
668
|
+
createOnboarding<T>(organizationCode: string, recipientId: string, payload: CreateOnboardingPayload): Promise<AxiosResponse<T, any>>;
|
|
669
|
+
updateOnboarding<T>(organizationCode: string, recipientId: string, onboardingId: string, payload: UpdateOnboardingPayload): Promise<AxiosResponse<T, any>>;
|
|
670
|
+
blockOnboarding<T>(organizationCode: string, recipientId: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
671
|
+
unblockOnboarding<T>(organizationCode: string, recipientId: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
672
|
+
getConciergeAlerts<T>(): Promise<AxiosResponse<T>>;
|
|
673
|
+
getConciergeAlertById<T>(alertId: string): Promise<AxiosResponse<T>>;
|
|
674
|
+
createConciergeAlert<T>(payload: ConciergeAlerts.CreateAlertPayload): Promise<AxiosResponse<T>>;
|
|
675
|
+
deleteConciergeAlert<T>(alertId: string): Promise<AxiosResponse<T>>;
|
|
676
|
+
enableConciergeAlert<T>(alertId: string, payload: ConciergeAlerts.EnableAlertPayload): Promise<AxiosResponse<T>>;
|
|
677
|
+
postPlaygroundExecuteFlow<T>(payload: Playground.ExecuteFlowPayload): Promise<AxiosResponse<T, unknown>>;
|
|
660
678
|
}
|
|
661
679
|
export {};
|
|
@@ -3,6 +3,7 @@ import { Api } from './api';
|
|
|
3
3
|
export declare class ApiSingleton extends Api {
|
|
4
4
|
private static classInstance;
|
|
5
5
|
private constructor();
|
|
6
|
+
private static registerCanaryInterceptor;
|
|
6
7
|
static refreshInstance(config?: AxiosRequestConfig): ApiSingleton;
|
|
7
8
|
static getInstance(config?: AxiosRequestConfig): ApiSingleton;
|
|
8
9
|
static setMode(mode: any): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const mfaHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -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 './playground.mutation';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { AxiosError } from 'axios';
|
|
3
|
+
import { Playground } from '../../types';
|
|
4
|
+
import { BFFErrorResponse } from '../smart-routing';
|
|
5
|
+
export declare function usePostPlaygroundExecuteFlow(): UseMutationResult<Playground.ExecuteFlowResponse, AxiosError<BFFErrorResponse>, {
|
|
6
|
+
payload: Playground.ExecuteFlowPayload;
|
|
7
|
+
}>;
|
|
@@ -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';
|
|
@@ -9,11 +9,7 @@ export declare function useInsightsConversionRateMetricsV2(params: DataReport.In
|
|
|
9
9
|
}): UseQueryResult<any, unknown>;
|
|
10
10
|
export declare function useViewMoreMetrics(params: DataReport.InsightMetricParams, type: any): UseQueryResult<any, unknown>;
|
|
11
11
|
export declare function useInsightsFallbackMetrics(params: DataReport.InsightMetricParams): UseQueryResult<any, unknown>;
|
|
12
|
-
export declare function useInsightsVolumeMetrics(account_codes: string, params: DataReport.InsightMetricParams, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
13
12
|
export declare function useInsightsVolumeMetricsV2(account_codes: string, params: DataReport.InsightMetricParams, path: DataReport.InsightsVolumeMetricsV2Path, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
14
|
-
export declare function useInsightsTotalPaymentsAndFraudMetrics(account_codes: string, params: DataReport.InsightMetricParams, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
15
|
-
export declare function useInsightsCustomerPaymentsAndFraudMetrics(account_codes: string, params: DataReport.InsightMetricParams, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
16
|
-
export declare function useInsightsOverviewMetrics(params: DataReport.InsightMetricParams): UseQueryResult<any, unknown>;
|
|
17
13
|
export declare function useInsightsOverviewMetricsV3(params: DataReport.InsightMetricParams, type: DataReport.OverviewMetricType): UseQueryResult<any, unknown>;
|
|
18
14
|
export declare function useInsightsHomeMetrics(params: DataReport.InsightsHomeMetrics): UseQueryResult<any, unknown>;
|
|
19
15
|
export declare function useGetInsightsReport(params: DataReport.InsightExportParams): UseQueryResult<any, unknown>;
|
|
@@ -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;
|
|
@@ -61,6 +68,7 @@ export declare namespace Audit {
|
|
|
61
68
|
time_zone: string;
|
|
62
69
|
account_codes?: string[] | null;
|
|
63
70
|
}
|
|
71
|
+
type MonitorType = 'CREATED TRANSACTIONS' | 'SUCCEEDED TRANSACTIONS';
|
|
64
72
|
interface AuditMonitorData {
|
|
65
73
|
alert_id: number;
|
|
66
74
|
status: string;
|
|
@@ -79,6 +87,7 @@ export declare namespace Audit {
|
|
|
79
87
|
condition_set_id: number;
|
|
80
88
|
approval_rate: number;
|
|
81
89
|
account_code: string;
|
|
90
|
+
monitor_type?: MonitorType | null;
|
|
82
91
|
}
|
|
83
92
|
interface AuditMonitors {
|
|
84
93
|
page: number;
|
|
@@ -377,4 +386,77 @@ export declare namespace Audit {
|
|
|
377
386
|
interface AuditExportDownloadResponse {
|
|
378
387
|
redirect_link: string;
|
|
379
388
|
}
|
|
389
|
+
interface ApiLogsStatsParams {
|
|
390
|
+
start_date?: string;
|
|
391
|
+
end_date?: string;
|
|
392
|
+
timezone?: string;
|
|
393
|
+
accounts?: string[];
|
|
394
|
+
granularity?: string;
|
|
395
|
+
}
|
|
396
|
+
interface ApiLogsStatsResponse {
|
|
397
|
+
total: number;
|
|
398
|
+
time_series: Array<{
|
|
399
|
+
timestamp: string;
|
|
400
|
+
count: number;
|
|
401
|
+
}>;
|
|
402
|
+
}
|
|
403
|
+
interface ApiLogsErrorsByEndpointResponse {
|
|
404
|
+
total: number;
|
|
405
|
+
endpoints: Array<{
|
|
406
|
+
url: string;
|
|
407
|
+
count: number;
|
|
408
|
+
time_series: Array<{
|
|
409
|
+
timestamp: string;
|
|
410
|
+
count: number;
|
|
411
|
+
}>;
|
|
412
|
+
}>;
|
|
413
|
+
}
|
|
414
|
+
interface ApiLogsListParams {
|
|
415
|
+
page?: number;
|
|
416
|
+
size?: number;
|
|
417
|
+
start_date?: string;
|
|
418
|
+
end_date?: string;
|
|
419
|
+
status_codes?: number[];
|
|
420
|
+
methods?: string[];
|
|
421
|
+
search?: string;
|
|
422
|
+
accounts?: string[];
|
|
423
|
+
}
|
|
424
|
+
interface ApiLogsListResponse {
|
|
425
|
+
page: number;
|
|
426
|
+
size: number;
|
|
427
|
+
total_rows: number;
|
|
428
|
+
total_pages: number;
|
|
429
|
+
data: ApiLogItem[];
|
|
430
|
+
}
|
|
431
|
+
interface ApiLogItem {
|
|
432
|
+
code: string;
|
|
433
|
+
url: string;
|
|
434
|
+
method: string;
|
|
435
|
+
status_code: number;
|
|
436
|
+
trace_id: string | null;
|
|
437
|
+
created_at: string;
|
|
438
|
+
account_code: string | null;
|
|
439
|
+
request: unknown;
|
|
440
|
+
response: unknown;
|
|
441
|
+
}
|
|
442
|
+
interface ApiLogV3Item {
|
|
443
|
+
organization_code: string | null;
|
|
444
|
+
account_code: string | null;
|
|
445
|
+
method: string | null;
|
|
446
|
+
request_uri: string | null;
|
|
447
|
+
status_code: number | null;
|
|
448
|
+
payment_id: string | null;
|
|
449
|
+
trace_id: string | null;
|
|
450
|
+
request_body: unknown;
|
|
451
|
+
response_body: unknown;
|
|
452
|
+
response_time: number | null;
|
|
453
|
+
created_at: string | null;
|
|
454
|
+
}
|
|
455
|
+
interface ApiLogsV3ListResponse {
|
|
456
|
+
page: number;
|
|
457
|
+
size: number;
|
|
458
|
+
total_rows: number;
|
|
459
|
+
total_pages: number;
|
|
460
|
+
data: ApiLogV3Item[];
|
|
461
|
+
}
|
|
380
462
|
}
|
|
@@ -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: {
|