@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,9 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { Api } from './api';
|
|
3
|
-
export declare class ApiSingleton extends Api {
|
|
4
|
-
private static classInstance;
|
|
5
|
-
private constructor();
|
|
6
|
-
static refreshInstance(config?: AxiosRequestConfig): ApiSingleton;
|
|
7
|
-
static getInstance(config?: AxiosRequestConfig): ApiSingleton;
|
|
8
|
-
static setMode(mode: any): Promise<void>;
|
|
9
|
-
}
|
package/build/api/api.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/build/api/api.types.d.ts
DELETED
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
export interface GetPaymentsParams {
|
|
2
|
-
start_date?: string | Date;
|
|
3
|
-
end_date?: string | Date;
|
|
4
|
-
page?: number;
|
|
5
|
-
size?: number;
|
|
6
|
-
enabled?: boolean;
|
|
7
|
-
account_code?: string;
|
|
8
|
-
payment_link_code?: string;
|
|
9
|
-
recipient_id?: string;
|
|
10
|
-
metadata?: Array<{
|
|
11
|
-
field: string;
|
|
12
|
-
formatType: 'TEXT' | 'NUMBER';
|
|
13
|
-
type: string;
|
|
14
|
-
values: string | string[];
|
|
15
|
-
}>;
|
|
16
|
-
}
|
|
17
|
-
export interface GetPaymentsEvaluatedParams {
|
|
18
|
-
start_date: string | Date;
|
|
19
|
-
end_date: string | Date;
|
|
20
|
-
page: number;
|
|
21
|
-
size: number;
|
|
22
|
-
enabled?: boolean;
|
|
23
|
-
account_code?: string;
|
|
24
|
-
date: string;
|
|
25
|
-
statuses: [];
|
|
26
|
-
sub_statuses: [];
|
|
27
|
-
account_codes: [];
|
|
28
|
-
countries: [];
|
|
29
|
-
payment_method_types: [];
|
|
30
|
-
currency_codes: [];
|
|
31
|
-
provider_ids: [];
|
|
32
|
-
skip: number;
|
|
33
|
-
payment_code?: string;
|
|
34
|
-
order_id?: string;
|
|
35
|
-
transaction_code?: string;
|
|
36
|
-
provider_transaction_id?: string;
|
|
37
|
-
merchant_reference?: string;
|
|
38
|
-
customer_payer_email?: string;
|
|
39
|
-
customer_payer_document?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface GetPaymentParams {
|
|
42
|
-
payment_code: string;
|
|
43
|
-
enabled?: boolean;
|
|
44
|
-
}
|
|
45
|
-
export interface GetPaymentTransactionsParams {
|
|
46
|
-
payment_code: string;
|
|
47
|
-
}
|
|
48
|
-
export interface GetTransactionDetailsParams {
|
|
49
|
-
payment_code: string;
|
|
50
|
-
transaction_code: string;
|
|
51
|
-
enabled?: boolean;
|
|
52
|
-
size?: number;
|
|
53
|
-
}
|
|
54
|
-
export interface GetTransactionDetailsV2Params {
|
|
55
|
-
payment_code?: string;
|
|
56
|
-
transaction_code?: string;
|
|
57
|
-
enabled?: boolean;
|
|
58
|
-
}
|
|
59
|
-
export interface IChangePassword {
|
|
60
|
-
user_id: string;
|
|
61
|
-
payload: IPayloadChangePassword;
|
|
62
|
-
}
|
|
63
|
-
interface IPayloadChangePassword {
|
|
64
|
-
password: string;
|
|
65
|
-
connection: string;
|
|
66
|
-
}
|
|
67
|
-
export interface GetPaymentMethodsByProviderParams {
|
|
68
|
-
provider: string;
|
|
69
|
-
}
|
|
70
|
-
export interface GetApiLogsParams {
|
|
71
|
-
page: number;
|
|
72
|
-
size: number;
|
|
73
|
-
periodicity?: string;
|
|
74
|
-
account_code?: string;
|
|
75
|
-
status_codes?: string;
|
|
76
|
-
methods?: string;
|
|
77
|
-
start_date?: string;
|
|
78
|
-
end_date?: string;
|
|
79
|
-
search?: string;
|
|
80
|
-
organizationCode?: string;
|
|
81
|
-
time_zone?: number;
|
|
82
|
-
now?: string;
|
|
83
|
-
}
|
|
84
|
-
export interface GetReconciliationMetricParams {
|
|
85
|
-
key_metric: string;
|
|
86
|
-
start_date?: string;
|
|
87
|
-
end_date?: string;
|
|
88
|
-
account_code?: string;
|
|
89
|
-
provider_id?: string;
|
|
90
|
-
country?: string;
|
|
91
|
-
currency?: string;
|
|
92
|
-
payment_method?: string;
|
|
93
|
-
metric_type?: string;
|
|
94
|
-
}
|
|
95
|
-
export interface FirebaseUserSubscribe {
|
|
96
|
-
token?: string;
|
|
97
|
-
topic?: string;
|
|
98
|
-
}
|
|
99
|
-
export interface PathNotification {
|
|
100
|
-
type: string;
|
|
101
|
-
}
|
|
102
|
-
export interface TimeZoneCatalog {
|
|
103
|
-
identifier: string;
|
|
104
|
-
utc_offset: {
|
|
105
|
-
dst: string;
|
|
106
|
-
std: string;
|
|
107
|
-
};
|
|
108
|
-
abbreviation: {
|
|
109
|
-
dst: string;
|
|
110
|
-
std: string;
|
|
111
|
-
};
|
|
112
|
-
createdAt: Date;
|
|
113
|
-
updatedAt: Date;
|
|
114
|
-
publishedAt: Date;
|
|
115
|
-
}
|
|
116
|
-
export interface MfaUserSubscribe {
|
|
117
|
-
mfaToken?: string;
|
|
118
|
-
otp: string;
|
|
119
|
-
}
|
|
120
|
-
export interface MfaUserPayload {
|
|
121
|
-
mfa_token?: string;
|
|
122
|
-
otp: string;
|
|
123
|
-
}
|
|
124
|
-
export interface AccountRoles {
|
|
125
|
-
account_code: string;
|
|
126
|
-
role_id: string;
|
|
127
|
-
}
|
|
128
|
-
export interface UserInviteMultiaccountPayload {
|
|
129
|
-
emails: string[];
|
|
130
|
-
account_roles: AccountRoles[];
|
|
131
|
-
organizationCode: string;
|
|
132
|
-
}
|
|
133
|
-
export interface GetTransactionsParams {
|
|
134
|
-
page?: number;
|
|
135
|
-
size?: number;
|
|
136
|
-
account_code?: string;
|
|
137
|
-
recipient_id?: string;
|
|
138
|
-
metadata?: Array<{
|
|
139
|
-
field: string;
|
|
140
|
-
formatType: 'TEXT' | 'NUMBER';
|
|
141
|
-
type: string;
|
|
142
|
-
values: string | string[];
|
|
143
|
-
}>;
|
|
144
|
-
}
|
|
145
|
-
export interface GetPayoutDetail {
|
|
146
|
-
payout_code: string;
|
|
147
|
-
enabled?: boolean;
|
|
148
|
-
organization_code?: string;
|
|
149
|
-
}
|
|
150
|
-
export interface GetPayoutTransactionDetail {
|
|
151
|
-
enabled?: boolean;
|
|
152
|
-
payout_code: string;
|
|
153
|
-
transaction_code: string;
|
|
154
|
-
organization_code: string;
|
|
155
|
-
}
|
|
156
|
-
interface Country {
|
|
157
|
-
country_name: string;
|
|
158
|
-
country_code: string;
|
|
159
|
-
prefix_phone: {
|
|
160
|
-
prefix: string;
|
|
161
|
-
regex: string;
|
|
162
|
-
};
|
|
163
|
-
icon: string;
|
|
164
|
-
}
|
|
165
|
-
interface CountryCurrencies {
|
|
166
|
-
[country: string]: Ar[];
|
|
167
|
-
}
|
|
168
|
-
interface Ar {
|
|
169
|
-
currency_code: string;
|
|
170
|
-
decimals: number;
|
|
171
|
-
}
|
|
172
|
-
interface DocumentType {
|
|
173
|
-
country: string;
|
|
174
|
-
code: string;
|
|
175
|
-
description: string;
|
|
176
|
-
regex: string;
|
|
177
|
-
}
|
|
178
|
-
export interface Countries {
|
|
179
|
-
countries?: Country[];
|
|
180
|
-
document_types?: DocumentType[];
|
|
181
|
-
link?: {
|
|
182
|
-
payment_terms_and_conditions: string;
|
|
183
|
-
payment_privacy: string;
|
|
184
|
-
};
|
|
185
|
-
country_currencies?: CountryCurrencies;
|
|
186
|
-
}
|
|
187
|
-
export interface InsightMetricParams {
|
|
188
|
-
account_code?: string;
|
|
189
|
-
periodicity: string;
|
|
190
|
-
organization_code: string;
|
|
191
|
-
start_date: string;
|
|
192
|
-
end_date: string;
|
|
193
|
-
currency_code: string;
|
|
194
|
-
source: string;
|
|
195
|
-
timezone: string;
|
|
196
|
-
}
|
|
197
|
-
export interface PaymentsSettings {
|
|
198
|
-
columns: {
|
|
199
|
-
hide: string[];
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
export interface ThemeSettings {
|
|
203
|
-
theme: {
|
|
204
|
-
mode: string;
|
|
205
|
-
[key: string]: string;
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
export interface PinnedSections {
|
|
209
|
-
pinned_sections: {
|
|
210
|
-
sections: string[];
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
export interface ListSubscriptionsParams {
|
|
214
|
-
organization_code: string;
|
|
215
|
-
account_codes?: string[];
|
|
216
|
-
start_date?: string;
|
|
217
|
-
end_date?: string;
|
|
218
|
-
statuses?: string[];
|
|
219
|
-
countries?: string[];
|
|
220
|
-
payment_method_types?: string[];
|
|
221
|
-
page?: number;
|
|
222
|
-
size?: number;
|
|
223
|
-
merchant_reference?: string;
|
|
224
|
-
subscription_id?: string;
|
|
225
|
-
payment_id?: string;
|
|
226
|
-
customer_search?: string;
|
|
227
|
-
timezone?: string;
|
|
228
|
-
}
|
|
229
|
-
export {};
|
package/build/api/index.d.ts
DELETED
package/build/api-provider.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { TimeZoneCatalog } from '../../api';
|
|
3
|
-
import { Cms } from '../../types';
|
|
4
|
-
import { AxiosError } from 'axios';
|
|
5
|
-
export declare function useGetMenu(): UseQueryResult<Cms.Menu, unknown>;
|
|
6
|
-
export declare function useGetPaymentStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
7
|
-
export declare function useGetTransactionStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
8
|
-
export declare function useGetReconciliationTransactionStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
9
|
-
export declare function useGetTimeZoneCatalog(): UseQueryResult<Array<TimeZoneCatalog>, unknown>;
|
|
10
|
-
export declare function useGetAuditLogsFilters(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
11
|
-
export declare function useGetDashboardStaticContents(): UseQueryResult<Array<{
|
|
12
|
-
[key: string]: string;
|
|
13
|
-
}>, unknown>;
|
|
14
|
-
export declare function useGetLocales(): UseQueryResult<Cms.Language[], AxiosError>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cms.query';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dialogs.query';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export declare namespace Cms {
|
|
2
|
-
enum Locale {
|
|
3
|
-
EN = "en",
|
|
4
|
-
ES = "es",
|
|
5
|
-
PT = "pt"
|
|
6
|
-
}
|
|
7
|
-
enum Target {
|
|
8
|
-
BLANK = "_blank",
|
|
9
|
-
PARENT = "_parent",
|
|
10
|
-
SELF = "_self",
|
|
11
|
-
TOP = "_top"
|
|
12
|
-
}
|
|
13
|
-
interface Content<T> {
|
|
14
|
-
id: 1;
|
|
15
|
-
attributes: T;
|
|
16
|
-
}
|
|
17
|
-
interface BaseItem {
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
publishedAt: string;
|
|
21
|
-
locale: Locale;
|
|
22
|
-
}
|
|
23
|
-
interface MenuItem extends BaseItem {
|
|
24
|
-
text: string;
|
|
25
|
-
pathname?: string;
|
|
26
|
-
position: number;
|
|
27
|
-
icon?: string;
|
|
28
|
-
type?: 'SUB_HEADER';
|
|
29
|
-
target?: Target;
|
|
30
|
-
permission: string;
|
|
31
|
-
}
|
|
32
|
-
type Menu = GroupByLocale<MenuItem>;
|
|
33
|
-
type GroupByLocale<T> = {
|
|
34
|
-
[key in Locale]: T;
|
|
35
|
-
};
|
|
36
|
-
type StatusStyle = {
|
|
37
|
-
status: string;
|
|
38
|
-
sub_status?: string;
|
|
39
|
-
icon: string;
|
|
40
|
-
type: string;
|
|
41
|
-
label: string;
|
|
42
|
-
};
|
|
43
|
-
type Language = {
|
|
44
|
-
code: string;
|
|
45
|
-
name: string;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cms';
|
package/build/common/config.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const environment: {
|
|
2
|
-
ENVIRONMENT: string | undefined;
|
|
3
|
-
BFF_URL_PROD: string | undefined;
|
|
4
|
-
BFF_URL_SBX: string | undefined;
|
|
5
|
-
BFF_URL_STG: string | undefined;
|
|
6
|
-
BFF_URL_DEV: string | undefined;
|
|
7
|
-
BFF_URL_LOCAL: string | undefined;
|
|
8
|
-
WS_URL_LOCAL: string | undefined;
|
|
9
|
-
WS_URL_PROD: string | undefined;
|
|
10
|
-
WS_URL_SBX: string | undefined;
|
|
11
|
-
WS_URL_STG: string | undefined;
|
|
12
|
-
WS_URL_DEV: string | undefined;
|
|
13
|
-
};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './errors-code.constant';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { TimeZoneCatalog } from '../../api';
|
|
3
|
-
import { Cms } from '../../types';
|
|
4
|
-
import { AxiosError } from 'axios';
|
|
5
|
-
export declare function useGetMenu(): UseQueryResult<Cms.Menu, unknown>;
|
|
6
|
-
export declare function useGetPaymentStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
7
|
-
export declare function useGetTransactionStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
8
|
-
export declare function useGetReconciliationTransactionStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
9
|
-
export declare function useGetTimeZoneCatalog(): UseQueryResult<Array<TimeZoneCatalog>, unknown>;
|
|
10
|
-
export declare function useGetAuditLogsFilters(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
11
|
-
export declare function useGetDashboardStaticContents(): UseQueryResult<Array<{
|
|
12
|
-
[key: string]: string;
|
|
13
|
-
}>, unknown>;
|
|
14
|
-
export declare function useGetLocales(): UseQueryResult<Cms.Language[], AxiosError>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cms.query';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dialogs.query';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export declare namespace Cms {
|
|
2
|
-
enum Locale {
|
|
3
|
-
EN = "en",
|
|
4
|
-
ES = "es",
|
|
5
|
-
PT = "pt"
|
|
6
|
-
}
|
|
7
|
-
enum Target {
|
|
8
|
-
BLANK = "_blank",
|
|
9
|
-
PARENT = "_parent",
|
|
10
|
-
SELF = "_self",
|
|
11
|
-
TOP = "_top"
|
|
12
|
-
}
|
|
13
|
-
interface Content<T> {
|
|
14
|
-
id: 1;
|
|
15
|
-
attributes: T;
|
|
16
|
-
}
|
|
17
|
-
interface BaseItem {
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
publishedAt: string;
|
|
21
|
-
locale: Locale;
|
|
22
|
-
}
|
|
23
|
-
interface MenuItem extends BaseItem {
|
|
24
|
-
text: string;
|
|
25
|
-
pathname?: string;
|
|
26
|
-
position: number;
|
|
27
|
-
icon?: string;
|
|
28
|
-
type?: 'SUB_HEADER';
|
|
29
|
-
target?: Target;
|
|
30
|
-
permission: string;
|
|
31
|
-
}
|
|
32
|
-
type Menu = GroupByLocale<MenuItem>;
|
|
33
|
-
type GroupByLocale<T> = {
|
|
34
|
-
[key in Locale]: T;
|
|
35
|
-
};
|
|
36
|
-
type StatusStyle = {
|
|
37
|
-
status: string;
|
|
38
|
-
sub_status?: string;
|
|
39
|
-
icon: string;
|
|
40
|
-
type: string;
|
|
41
|
-
label: string;
|
|
42
|
-
};
|
|
43
|
-
type Language = {
|
|
44
|
-
code: string;
|
|
45
|
-
name: string;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cms';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AxiosInterceptorManager, AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';
|
|
2
|
-
export declare class Axios {
|
|
3
|
-
interceptors?: {
|
|
4
|
-
/**
|
|
5
|
-
* The **Request** interceptor will be call rigth before the `http request`
|
|
6
|
-
* @summary
|
|
7
|
-
* This a useful method especially if you need to send a token on each request.
|
|
8
|
-
*/
|
|
9
|
-
request: AxiosInterceptorManager<AxiosRequestConfig>;
|
|
10
|
-
/**
|
|
11
|
-
* The **Response** interceptor will be call rigth before the `http request` is received.
|
|
12
|
-
* @summary
|
|
13
|
-
* This a useful method especially if you need to send a token on each request.
|
|
14
|
-
*/
|
|
15
|
-
response: AxiosInterceptorManager<AxiosResponse>;
|
|
16
|
-
};
|
|
17
|
-
protected instance: AxiosInstance;
|
|
18
|
-
constructor(config: AxiosRequestConfig);
|
|
19
|
-
}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { Axios } from './axios';
|
|
2
|
-
import { AxiosRequestConfig, AxiosResponse, AxiosError, CancelTokenSource } from 'axios';
|
|
3
|
-
/**
|
|
4
|
-
* Serializes parameters for URL query string with proper encoding
|
|
5
|
-
* and handling of arrays without duplication
|
|
6
|
-
* @param params - Object with parameters to serialize
|
|
7
|
-
* @returns URL encoded query string
|
|
8
|
-
*/
|
|
9
|
-
export declare const serializeParams: (params: Record<string, any>) => string;
|
|
10
|
-
/**
|
|
11
|
-
* @class Api Class is a fancy es6 wrapper class for axios.
|
|
12
|
-
*
|
|
13
|
-
* @param {import("axios").AxiosRequestConfig} config - axios Request Config.
|
|
14
|
-
* @link [AxiosRequestConfig](https://github.com/axios/axios#request-config)
|
|
15
|
-
*/
|
|
16
|
-
export declare class HttpClient extends Axios {
|
|
17
|
-
private token;
|
|
18
|
-
private cancelToken;
|
|
19
|
-
/**
|
|
20
|
-
* Creates an instance of api.
|
|
21
|
-
* @param {import("axios").AxiosRequestConfig} conf
|
|
22
|
-
*/
|
|
23
|
-
constructor(conf: AxiosRequestConfig);
|
|
24
|
-
/**
|
|
25
|
-
* Gets Token.
|
|
26
|
-
*
|
|
27
|
-
* @returns {string} token.
|
|
28
|
-
* @memberof Api
|
|
29
|
-
*/
|
|
30
|
-
getToken(): string;
|
|
31
|
-
/**
|
|
32
|
-
* Sets Token.
|
|
33
|
-
*
|
|
34
|
-
* @param {string} token - token.
|
|
35
|
-
* @memberof Api
|
|
36
|
-
*/
|
|
37
|
-
setToken(token: string): void;
|
|
38
|
-
/**
|
|
39
|
-
* Get Uri
|
|
40
|
-
*
|
|
41
|
-
* @param {import("axios").AxiosRequestConfig} [config]
|
|
42
|
-
* @returns {string}
|
|
43
|
-
* @memberof Api
|
|
44
|
-
*/
|
|
45
|
-
getUri(config?: AxiosRequestConfig): string;
|
|
46
|
-
getCancelTokenSource(): CancelTokenSource;
|
|
47
|
-
/**
|
|
48
|
-
* Generic request.
|
|
49
|
-
*
|
|
50
|
-
* @access public
|
|
51
|
-
* @template T - `TYPE`: expected object.
|
|
52
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
53
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
54
|
-
* @returns {Promise<R>} - HTTP axios response payload.
|
|
55
|
-
* @memberof Api
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* api.request({
|
|
59
|
-
* method: "GET|POST|DELETE|PUT|PATCH"
|
|
60
|
-
* baseUrl: "http://www.domain.com",
|
|
61
|
-
* url: "/api/v1/users",
|
|
62
|
-
* headers: {
|
|
63
|
-
* "Content-Type": "application/json"
|
|
64
|
-
* }
|
|
65
|
-
* }).then((response: AxiosResponse<User>) => response.data)
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
|
-
request<T, R = AxiosResponse<T>>(config: AxiosRequestConfig): Promise<R>;
|
|
69
|
-
/**
|
|
70
|
-
* HTTP GET method, used to fetch data `statusCode`: 200.
|
|
71
|
-
*
|
|
72
|
-
* @access public
|
|
73
|
-
* @template T - `TYPE`: expected object.
|
|
74
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
75
|
-
* @param {string} url - endpoint you want to reach.
|
|
76
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
77
|
-
* @returns {Promise<R>} HTTP `axios` response payload.
|
|
78
|
-
* @memberof Api
|
|
79
|
-
*/
|
|
80
|
-
get<T, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
81
|
-
/**
|
|
82
|
-
* HTTP OPTIONS method.
|
|
83
|
-
*
|
|
84
|
-
* @access public
|
|
85
|
-
* @template T - `TYPE`: expected object.
|
|
86
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
87
|
-
* @param {string} url - endpoint you want to reach.
|
|
88
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
89
|
-
* @returns {Promise<R>} HTTP `axios` response payload.
|
|
90
|
-
* @memberof Api
|
|
91
|
-
*/
|
|
92
|
-
options<T, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
93
|
-
/**
|
|
94
|
-
* HTTP DELETE method, `statusCode`: 204 No Content.
|
|
95
|
-
*
|
|
96
|
-
* @access public
|
|
97
|
-
* @template T - `TYPE`: expected object.
|
|
98
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
99
|
-
* @param {string} url - endpoint you want to reach.
|
|
100
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
101
|
-
* @returns {Promise<R>} - HTTP [axios] response payload.
|
|
102
|
-
* @memberof Api
|
|
103
|
-
*/
|
|
104
|
-
delete<T, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
105
|
-
/**
|
|
106
|
-
* HTTP HEAD method.
|
|
107
|
-
*
|
|
108
|
-
* @access public
|
|
109
|
-
* @template T - `TYPE`: expected object.
|
|
110
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
111
|
-
* @param {string} url - endpoint you want to reach.
|
|
112
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
113
|
-
* @returns {Promise<R>} - HTTP [axios] response payload.
|
|
114
|
-
* @memberof Api
|
|
115
|
-
*/
|
|
116
|
-
head<T, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
117
|
-
/**
|
|
118
|
-
* HTTP POST method `statusCode`: 201 Created.
|
|
119
|
-
*
|
|
120
|
-
* @access public
|
|
121
|
-
* @template T - `TYPE`: expected object.
|
|
122
|
-
* @template B - `BODY`: body request object.
|
|
123
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
124
|
-
* @param {string} url - endpoint you want to reach.
|
|
125
|
-
* @param {B} data - payload to be send as the `request body`,
|
|
126
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
127
|
-
* @returns {Promise<R>} - HTTP [axios] response payload.
|
|
128
|
-
* @memberof Api
|
|
129
|
-
*/
|
|
130
|
-
post<T, B, R = AxiosResponse<T>>(url: string, data?: B, config?: AxiosRequestConfig): Promise<R>;
|
|
131
|
-
/**
|
|
132
|
-
* HTTP PUT method.
|
|
133
|
-
*
|
|
134
|
-
* @access public
|
|
135
|
-
* @template T - `TYPE`: expected object.
|
|
136
|
-
* @template B - `BODY`: body request object.
|
|
137
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
138
|
-
* @param {string} url - endpoint you want to reach.
|
|
139
|
-
* @param {B} data - payload to be send as the `request body`,
|
|
140
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
141
|
-
* @returns {Promise<R>} - HTTP [axios] response payload.
|
|
142
|
-
* @memberof Api
|
|
143
|
-
*/
|
|
144
|
-
put<T, B, R = AxiosResponse<T>>(url: string, data?: B, config?: AxiosRequestConfig): Promise<R>;
|
|
145
|
-
/**
|
|
146
|
-
* HTTP PATCH method.
|
|
147
|
-
*
|
|
148
|
-
* @access public
|
|
149
|
-
* @template T - `TYPE`: expected object.
|
|
150
|
-
* @template B - `BODY`: body request object.
|
|
151
|
-
* @template R - `RESPONSE`: expected object inside a axios response format.
|
|
152
|
-
* @param {string} url - endpoint you want to reach.
|
|
153
|
-
* @param {B} data - payload to be send as the `request body`,
|
|
154
|
-
* @param {import("axios").AxiosRequestConfig} [config] - axios request configuration.
|
|
155
|
-
* @returns {Promise<R>} - HTTP [axios] response payload.
|
|
156
|
-
* @memberof Api
|
|
157
|
-
*/
|
|
158
|
-
patch<T, B, R = AxiosResponse<T>>(url: string, data?: B, config?: AxiosRequestConfig): Promise<R>;
|
|
159
|
-
/**
|
|
160
|
-
*
|
|
161
|
-
* @template T - type.
|
|
162
|
-
* @param {import("axios").AxiosResponse<T>} response - axios response.
|
|
163
|
-
* @returns {T} - expected object.
|
|
164
|
-
* @memberof Api
|
|
165
|
-
*/
|
|
166
|
-
success<T>(response: AxiosResponse<T>): T;
|
|
167
|
-
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* @template T type.
|
|
171
|
-
* @param {AxiosError<T>} error
|
|
172
|
-
* @memberof Api
|
|
173
|
-
*/
|
|
174
|
-
error<T>(error: AxiosError<T>): void;
|
|
175
|
-
}
|
package/build/msw/browser.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const worker: import("msw/browser").SetupWorker;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const apiLogsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const handlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const insightsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const installmentsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const organizationsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const paymentsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const reconciliationInsightsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const webhooksHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
package/build/msw/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function enableMocking(): Promise<void>;
|