@yuno-payments/dashboard-api-mfe 0.36.24 → 0.36.25

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.
@@ -1,7 +1,7 @@
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 } from './api.types';
4
- import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI } from '../types';
4
+ import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection } 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';
@@ -297,7 +297,7 @@ export declare class Api extends HttpClient {
297
297
  getPermissionsCatalog<T>(): Promise<AxiosResponse<T>>;
298
298
  changePasswordV2<T>(body: any): Promise<AxiosResponse<T>>;
299
299
  getCardBrands<T>(): Promise<AxiosResponse<T>>;
300
- getPaymentFilters<T>(section: string): Promise<AxiosResponse<T>>;
300
+ getPaymentFilters<T>(section: PaymentFiltersSection): Promise<AxiosResponse<T>>;
301
301
  getPaymentMetricsFilters<T>(): Promise<AxiosResponse<T>>;
302
302
  sendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body): Promise<AxiosResponse<SendPaymentNotification.Response>>;
303
303
  postAuditMonitors<T>(payload: Audit.AuditMonitorsParams): Promise<AxiosResponse<T, any>>;
@@ -1,5 +1,5 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
- import type { RefundPdfResponse, Reports, ReportType, TemplateType } from '../../types';
2
+ import type { RefundPdfResponse, Reports, ReportType, TemplateType, CentralizedColumn } from '../../types';
3
3
  import { AxiosError } from 'axios';
4
4
  export declare function useGetReportsList(): UseQueryResult<Array<Reports.IListReportsResponse>, unknown>;
5
5
  export declare function useGetReportsListMultiEnv(enabled?: boolean): UseQueryResult<Reports.IRetrieveReportResponse[] | {
@@ -9,5 +9,5 @@ export declare function useGetDownloadReport(reportId: string, enabled: boolean
9
9
  code: string;
10
10
  }, unknown>;
11
11
  export declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
12
- export declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[], unknown>;
12
+ export declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[] | CentralizedColumn[], unknown>;
13
13
  export declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
@@ -65,6 +65,19 @@ export declare namespace Reports {
65
65
  name: string;
66
66
  }
67
67
  }
68
+ export type CentralizedColumn = {
69
+ name: string;
70
+ table: string;
71
+ snowflake_name: string;
72
+ snowflake_table: string;
73
+ report_name: string;
74
+ type: 'general';
75
+ report_type: 'PAYOUTS';
76
+ dashboard_name: string;
77
+ selection: 'ALL';
78
+ CreatedAt: Date;
79
+ UpdatedAt: Date;
80
+ };
68
81
  export declare enum ReportType {
69
82
  PAYMENTS = "PAYMENTS",
70
83
  TRANSACTIONS = "TRANSACTIONS",
package/build/index.d.ts CHANGED
@@ -1617,6 +1617,19 @@ declare namespace Reports {
1617
1617
  name: string;
1618
1618
  }
1619
1619
  }
1620
+ type CentralizedColumn = {
1621
+ name: string;
1622
+ table: string;
1623
+ snowflake_name: string;
1624
+ snowflake_table: string;
1625
+ report_name: string;
1626
+ type: 'general';
1627
+ report_type: 'PAYOUTS';
1628
+ dashboard_name: string;
1629
+ selection: 'ALL';
1630
+ CreatedAt: Date;
1631
+ UpdatedAt: Date;
1632
+ };
1620
1633
  declare enum ReportType {
1621
1634
  PAYMENTS = "PAYMENTS",
1622
1635
  TRANSACTIONS = "TRANSACTIONS",
@@ -4275,7 +4288,7 @@ declare function useGetDownloadReport(reportId: string, enabled: boolean | undef
4275
4288
  code: string;
4276
4289
  }, unknown>;
4277
4290
  declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
4278
- declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[], unknown>;
4291
+ declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[] | CentralizedColumn[], unknown>;
4279
4292
  declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
4280
4293
 
4281
4294
  declare function useGetTeamsFiltersMembers(): UseQueryResult<Team.TeamList[], unknown>;
@@ -4787,7 +4800,7 @@ declare class Api extends HttpClient {
4787
4800
  getPermissionsCatalog<T>(): Promise<AxiosResponse<T>>;
4788
4801
  changePasswordV2<T>(body: any): Promise<AxiosResponse<T>>;
4789
4802
  getCardBrands<T>(): Promise<AxiosResponse<T>>;
4790
- getPaymentFilters<T>(section: string): Promise<AxiosResponse<T>>;
4803
+ getPaymentFilters<T>(section: PaymentFiltersSection): Promise<AxiosResponse<T>>;
4791
4804
  getPaymentMetricsFilters<T>(): Promise<AxiosResponse<T>>;
4792
4805
  sendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body): Promise<AxiosResponse<SendPaymentNotification.Response>>;
4793
4806
  postAuditMonitors<T>(payload: Audit.AuditMonitorsParams): Promise<AxiosResponse<T, any>>;
@@ -4984,4 +4997,4 @@ declare enum ApiErrorCodes {
4984
4997
  }
4985
4998
 
4986
4999
  export { AI, Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentFiltersSection, PaymentLinks, Payouts, Reconciliation, ReconciliationAdvancements, ReconciliationAgenda, ReconciliationAgendaInsight, ReconciliationAlerts, ReconciliationFees, ReconciliationReportType, ReconciliationSales, ReportType, Reports, RoutingMonitors, S3Client, SamlConfig, SendPaymentNotification, SmartRouting, Team, TemplateType, Translation, User, VelocityRules, Webhook, getQueryKeyGetNameAndIcon, getQueryKeyRequiredFields, queryCache, queryClient, use3DSExemptions, useAICreateWorkflow, useAllFeatureFlags, useAllowListDetail, useBlackListDetail, useCachedFeatureFlag, useCancelReport, useChangePasswordV2, useChangePaymentsWebhook, useChangeStatusBlackList, useChangeStatusItemBlackList, useChargebacksUpload, useChartExecute, useConfirmedOtpMfa, useCountRowsForReport, useCreateAndExecuteChart, useCreateChart, useCreateMonitorTemplate, useCreateMonitorThreshold, useCreateOperationTransaction, useCreatePaymentLinks, useCreateReconciliationAlert, useCreateReconciliationReportTemplate, useCreateReconciliationsReportV2, useCreateReportTemplate, useCreateReportV2, useCreateRoles, useCreateSamlConfig, useCreateScheduledReport, useCreateUserAuth0, useCreateWorkflow, useDeleteAccountsUserMassive, useDeleteAllowlistItem, useDeleteBlackListType, useDeleteBlockListItem, useDeleteChart, useDeleteCustomizedApiKeys, useDeletePaymentLink, useDeleteReconciliationAlert, useDeleteRoles, useDeleteSamlConfig, useDeleteScheduledReport, useDeleteUserTeamV2, useDeleteVersion, useDeleteWebhookV2, useDuplicateVersion, useEditPaymentLinks, useEditRoles, useEmailVerification, useExcludeUsers, useFeatureFlags, useFirebaseUserSubscribe, useGenerateFeedback, useGetAccounts, useGetAccountsByUser, useGetAccountsV2, useGetAllConfigRules, useGetAllOrganizations, useGetAllReconciliationsAdvancements, useGetAllReconciliationsAgenda, useGetAllReconciliationsAlerts, useGetAllReconciliationsFees, useGetAllReconciliationsSales, useGetAllTableColumns, useGetAllowedIps, useGetAuditEvents, useGetAuditLogsFilters, useGetAuditMonitorEventDetail, useGetBatchRefundProcessedFileDownload, useGetBatchRefundUserFileDownload, useGetBatchRefunds, useGetBlackList, useGetBlockListSummary, useGetCardBrands, useGetChartsByUser, useGetChartsByUserWithResults, useGetCheckoutTemplate, useGetCheckouts, useGetConditionalConfigRules, useGetConfigAllowlist, useGetConnections, useGetConnectionsByPaymentMethod, useGetCountriesConfigPaymentLink, useGetCountriesConfigPaymentLinkV2, useGetCredentials, useGetCredentialsMFA, useGetCustomizedApiKeys, useGetCustomizedApiKeysAccounts, useGetCustomizedApiKeysMembers, useGetCustomizedApiKeysProducts, useGetCustomizedApiKeysToken, useGetDashboardStaticContents, useGetDialogs, useGetDownloadReport, useGetEmailOtp, useGetHashPylon, useGetImpersonationEnabled, useGetImpersonationUsers, useGetInsightsReport, useGetInsightsReportAgain, useGetIntegrationByAccountV2, useGetIntegrationParams, useGetLanguages, useGetLocales, useGetLoginMethods, useGetMFAConfig, useGetMFAExcludedUsers, useGetMFAStatus, useGetMenu, useGetMergedNotifications, useGetNameAndIcon, useGetNotificationsCustomer, useGetNotificationsNumberMutation, useGetOrganization, useGetPaymentFilters, useGetPaymentLinkByCode, useGetPaymentLinks, useGetPaymentMethodsAndProviders, useGetPaymentMetricsFilters, useGetPaymentStatusesStyles, useGetPaymentTransactionsDetails, useGetPaymentV2, useGetPaymentsMethodsByCountry, useGetPayoutDetail, useGetPayoutHistoryDetail, useGetPayoutTransactionDetail, useGetPermissions, useGetPermissionsCatalog, useGetProfile, useGetProofOfCancel, useGetProofOfPayment, useGetProviderParams, useGetReconciliationActive, useGetReconciliationAgendaInsightsByKey, useGetReconciliationFilters, useGetReconciliationMetrics, useGetReconciliationTransactionStatusesStyles, useGetReconciliationTransactions, useGetReconciliationsReportColumns, useGetReconciliationsReportTemplates, useGetRefundPdf, useGetReportColumns, useGetReportTemplates, useGetReportsList, useGetReportsListMultiEnv, useGetRequiredFields, useGetRoles, useGetRolesPermissions, useGetRoutingMonitorsTemplate, useGetRoutingMonitorsTemplates, useGetRule, useGetSamlConfig, useGetScheduledReportsList, useGetSettlements, useGetSmartRoutingConditionPaymentMethod, useGetSmartRoutingConditionTypes, useGetSmartRoutingConditionTypesValues, useGetSmartRoutingDataReport, useGetSmartRoutingDeclineGroups, useGetSmartRoutingMethods, useGetSmartRoutingNextRoute, useGetSmartRoutingPaymentRoute, useGetSmartRoutingSearchConditionValues, useGetSmartRoutingSimulateConditionTypeValues, useGetSmartRoutingWorkflow, useGetSmartRoutingWorkflowVersion, useGetStylingSettings, useGetStylingTheme, useGetTeamsFiltersMembers, useGetTimeZoneCatalog, useGetTimezonePaymentLink, useGetTokenValidation, useGetTransactionDetailsV2, useGetTransactionHistoryByPaymentCode, useGetTransactionRawResponse, useGetTransactionStatusesStyles, useGetTranslations, useGetValidateOpsgenieKey, useGetWebhookParamsV2, useGetWebhooksV2Detail, useGetWebhooksV3, useInsights3dsConversionRateAndEvolution, useInsights3dsDeclineReasons, useInsights3dsFrictionlessVsChallenge, useInsights3dsVolumeAndCountTx, useInsightsChargebacksByCardBrand, useInsightsChargebacksByProviderAndCardBrand, useInsightsChargebacksDisputed, useInsightsChargebacksReasonsDistribution, useInsightsChargebacksStatusDistribution, useInsightsChargebacksVolumeAndCountTx, useInsightsChargebacksWinRate, useInsightsConversionRateMetricsV2, useInsightsCustomerPaymentsAndFraudMetrics, useInsightsFallbackMetrics, useInsightsFraudScreeningConversionRate, useInsightsFraudScreeningVolumeAndCountTx, useInsightsHomeMetrics, useInsightsOverviewMetrics, useInsightsOverviewMetricsV3, useInsightsTotalPaymentsAndFraudMetrics, useInsightsVolumeMetrics, useInsightsVolumeMetricsV2, useInviteUsersMultiaccountMassive, useIsTesting, useLoginMethods, useNewPostConnectionValidate, usePatchAccountV2, usePatchAddAllowlistItems, usePatchAllowedIps, usePatchAllowlist, usePatchAndExecuteChart, usePatchApiKeysEditNote, usePatchChangeStatusAllowlist, usePatchChangeStatusAllowlistItem, usePatchChartName, usePatchConnection, usePathCreateCustomizedApiKeys, usePathNotifications, usePayoutsFilters, usePayoutsList, usePostAccount, usePostAllowlistMultiAccount, usePostApiKeysRoll, usePostAuditMonitors, usePostBatchRefundByFile, usePostBlackListBatch, usePostBlackListItems, usePostBlackListMultiAccount, usePostBlockList, usePostCall, usePostChangeStatusConnection, usePostConnectionMultiAccount, usePostCreateAllowlistMultiAccount, usePostCreateCustomizedApiKeys, usePostCreateInsightsReport, usePostCreateRuleMultiAccount, usePostCredentialsValidatePassword, usePostDefaultRoutes, usePostEditRule, usePostFraudTransactions, usePostGetAllowlistItems, usePostGetAllowlistMultiAccount, usePostMembersPaginatedV2, usePostPaymentsEvaluated, usePostPaymentsLazy, usePostSlackMessageChannel, usePostTransactions, usePostUserSettings, usePostUserSettingsPinned, usePostUserSettingsTables, usePostUserThemeSettings, usePostValideStatusConnection, usePostVelocityRules, usePostWebhookMultiAccount, useProviderConversionRatesData, usePublishVersion, usePutAccountPrincipal, usePutAccountsUserMassive, usePutBlackListType, usePutCosts, useSaveVersion, useSendPaymentNotification, useSetCustodian, useSmartRoutingCreateDeclinedGroup, useSmartRoutingEditWorkflowName, useSmartRoutingMultiAccountDeclinedGroupCreate, useSmartRoutingRemoveDeclinedGroup, useSmartRoutingSimulateTransaction, useSmartRoutingToggleFavorite, useSmartRoutingUpdateDeclinedGroup, useSmartRoutingUpdateMonitorRedistribution, useToggleMethod, useUnInviteUsersV2, useUnrollUserV2, useUpdateCheckoutTemplate, useUpdateIsActiveCheckout, useUpdateMFAConfig, useUpdateOrganizationStatus, useUpdateProfile, useUpdateReconciliationAlert, useUpdateReconciliationReportTemplate, useUpdateReportTemplate, useUpdateSamlConfig, useUpdateScheduledReport, useUpdateStylingTheme, useUpdateWebhookV2, useUploadBatchRefundsFileV2, useUploadBatchRefundsV2, useUploadFileS3ClientBatchRefunds, useValiateAllowlistItems, useValidateBlockListItems, useValidateCredentials, useValidateOrgName, useValidatePasswordStatus, useViewMoreMetrics };
4987
- export type { AccountRoles, AllowlistMultiAccount, BFFErrorResponse, Blacklist, ChangePaymentsWebhook, ChargebacksCount, ChargebacksVolume, ChartGPTChart, ChartGPTChartWithResults, ChartGPTExecuteResponse, ChartGPTResult, Condition, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds, ConversionRateParams, ConversionRatePeriodicityRecord, Cost, CostPayload, Countries, CreateAndExecuteChartPayload, CreateAndExecuteChartResult, CreateChartGPTChartPayload, CreateChartGPTChartResponse, ErrorChartGPTResponse, ErrorProp, ErrorRoutingAIResponse, ErrorRoutingAIResponseData, FeatureFlagsResult, FirebaseUserSubscribe, Fraud3dsCount, Fraud3dsVolume, FraudScreeningCount, FraudScreeningVolume, GetApiLogsParams, GetPaymentMethodsByProviderParams, GetPaymentParams, GetPaymentTransactionsParams, GetPaymentsEvaluatedParams, GetPaymentsParams, GetPayoutDetail, GetPayoutTransactionDetail, GetReconciliationMetricParams, GetTransactionDetailsParams, GetTransactionDetailsV2Params, GetTransactionsParams, IChangePassword, ICreateReportsRequest, IKeyRoll, IListScheduledReportsResponse, InsightMetricParams, Insights3dsConversionRate, Insights3dsDeclineReasons, Insights3dsFrictionlessVsChallenge, Insights3dsResumeResponse, InsightsChargebacksByCardBrand, InsightsChargebacksByProviderAndCardBrand, InsightsChargebacksByReason, InsightsChargebacksDisputed, InsightsChargebacksResumeResponse, InsightsChargebacksStatusDistribution, InsightsChargebacksWinRate, InsightsFraudBody, InsightsFraudConversionRateResponse, InsightsFraudParams, InsightsFraudScreeningResumeResponse, MfaUserPayload, MfaUserSubscribe, PatchAndExecuteChartResult, PatchChartGPTChartPayload, PatchChartGPTPayload, PathNotification, PaymentMethodStyled, PaymentsSettings, PeriodicityRecord, PinnedSections, PostBlackList, ProviderStyled, ReconAgendaProps, RefundPdfResponse, ThemeSettings, TimeZoneCatalog, TotalTimeline, TransactionHistory, UseGetAllReconciliationsAdvancementsProps, UseGetAllReconciliationsAlertsProps, UseGetAllReconciliationsFeesProps, UseGetAllReconciliationsSalesProps, UserInviteMultiaccountPayload };
5000
+ export type { AccountRoles, AllowlistMultiAccount, BFFErrorResponse, Blacklist, CentralizedColumn, ChangePaymentsWebhook, ChargebacksCount, ChargebacksVolume, ChartGPTChart, ChartGPTChartWithResults, ChartGPTExecuteResponse, ChartGPTResult, Condition, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds, ConversionRateParams, ConversionRatePeriodicityRecord, Cost, CostPayload, Countries, CreateAndExecuteChartPayload, CreateAndExecuteChartResult, CreateChartGPTChartPayload, CreateChartGPTChartResponse, ErrorChartGPTResponse, ErrorProp, ErrorRoutingAIResponse, ErrorRoutingAIResponseData, FeatureFlagsResult, FirebaseUserSubscribe, Fraud3dsCount, Fraud3dsVolume, FraudScreeningCount, FraudScreeningVolume, GetApiLogsParams, GetPaymentMethodsByProviderParams, GetPaymentParams, GetPaymentTransactionsParams, GetPaymentsEvaluatedParams, GetPaymentsParams, GetPayoutDetail, GetPayoutTransactionDetail, GetReconciliationMetricParams, GetTransactionDetailsParams, GetTransactionDetailsV2Params, GetTransactionsParams, IChangePassword, ICreateReportsRequest, IKeyRoll, IListScheduledReportsResponse, InsightMetricParams, Insights3dsConversionRate, Insights3dsDeclineReasons, Insights3dsFrictionlessVsChallenge, Insights3dsResumeResponse, InsightsChargebacksByCardBrand, InsightsChargebacksByProviderAndCardBrand, InsightsChargebacksByReason, InsightsChargebacksDisputed, InsightsChargebacksResumeResponse, InsightsChargebacksStatusDistribution, InsightsChargebacksWinRate, InsightsFraudBody, InsightsFraudConversionRateResponse, InsightsFraudParams, InsightsFraudScreeningResumeResponse, MfaUserPayload, MfaUserSubscribe, PatchAndExecuteChartResult, PatchChartGPTChartPayload, PatchChartGPTPayload, PathNotification, PaymentMethodStyled, PaymentsSettings, PeriodicityRecord, PinnedSections, PostBlackList, ProviderStyled, ReconAgendaProps, RefundPdfResponse, ThemeSettings, TimeZoneCatalog, TotalTimeline, TransactionHistory, UseGetAllReconciliationsAdvancementsProps, UseGetAllReconciliationsAlertsProps, UseGetAllReconciliationsFeesProps, UseGetAllReconciliationsSalesProps, UserInviteMultiaccountPayload };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "0.36.24",
3
+ "version": "0.36.25",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",