@yuno-payments/dashboard-api-mfe 1.3.1 → 1.4.1

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.
@@ -60,6 +60,9 @@ export declare class Api extends HttpClient {
60
60
  getReconciliationInsightsNotConfirmAggregators<T>(body: ReconciliationInsights.BaseFiltersWithAcquirer): Promise<AxiosResponse<T>>;
61
61
  getReconciliationInsightsNotConfirmList<T>(body: ReconciliationInsights.ListFiltersWithAcquirer): Promise<AxiosResponse<T>>;
62
62
  getReconciliationInsightsAmountToBeSettledSummary<T>(body: ReconciliationInsights.BaseFiltersWithAcquirer): Promise<AxiosResponse<T>>;
63
+ getReconciliationInsightsReconciliationRateByProvider<T>(body: ReconciliationInsights.BaseFiltersWithProvider): Promise<AxiosResponse<T>>;
64
+ getReconciliationInsightsReconciliationRateByAccount<T>(body: ReconciliationInsights.BaseFiltersWithProvider): Promise<AxiosResponse<T>>;
65
+ getReconciliationInsightsReconciliationRateByCurrency<T>(body: ReconciliationInsights.BaseFiltersWithProvider): Promise<AxiosResponse<T>>;
63
66
  postPaymentsLazy<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
64
67
  postPayouts<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
65
68
  getPayoutsFilters<T>(organizationCode: any): Promise<AxiosResponse<T>>;
@@ -543,6 +546,14 @@ export declare class Api extends HttpClient {
543
546
  getCustomizedApiKeysToken<T>(code: string, password?: string, otp?: string, mfaToken?: string): Promise<AxiosResponse<T, any>>;
544
547
  validatePasswordStatus<T>(): Promise<AxiosResponse<T, any, {}>>;
545
548
  deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
549
+ private buildAuthHeaders;
550
+ getOrganizationKeysMetadata<T>(): Promise<AxiosResponse<T, any>>;
551
+ patchOrganizationKeysNote<T>(payload: {
552
+ note: string;
553
+ }, password: string): Promise<AxiosResponse<T, any>>;
554
+ postOrganizationKeysRoll<T>(password?: string, otp?: string, mfaToken?: string): Promise<AxiosResponse<T, any>>;
555
+ postOrganizationKeysTamRequest<T>(password?: string, otp?: string, mfaToken?: string): Promise<AxiosResponse<T, any>>;
556
+ postOrganizationKeysMarkRevealed<T>(password?: string, otp?: string, mfaToken?: string): Promise<AxiosResponse<T, any>>;
546
557
  postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
547
558
  getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
548
559
  getInsightsReportAgain<T>(payload: any): Promise<AxiosResponse<T, any>>;
@@ -20,5 +20,12 @@ export declare function useGetCredentialsMFA(): UseMutationResult<{
20
20
  }, unknown, {
21
21
  password?: string | undefined;
22
22
  accountCode?: string | undefined;
23
+ otp?: string | undefined;
24
+ mfaToken?: string | undefined;
23
25
  }, unknown>;
24
26
  export declare function usePostCredentialsWithOtpMfa(): UseMutationResult<unknown>;
27
+ export declare function useGetOrganizationKeysMetadata(): UseMutationResult<unknown>;
28
+ export declare function usePatchOrganizationKeysNote(): UseMutationResult<unknown>;
29
+ export declare function usePostOrganizationKeysRoll(): UseMutationResult<unknown>;
30
+ export declare function usePostOrganizationKeysTamRequest(): UseMutationResult<unknown>;
31
+ export declare function usePostOrganizationKeysMarkRevealed(): UseMutationResult<unknown>;
@@ -21,3 +21,6 @@ export declare function useGetReconciliationInsightsNotConfirmSummary({ body, en
21
21
  export declare function useGetReconciliationInsightsNotConfirmAggregators({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithAcquirer>): UseQueryResult<ReconciliationInsights.Aggregators, ReconciliationInsights.Error>;
22
22
  export declare function useGetReconciliationInsightsNotConfirmList({ body, enabled, }: ReconciliationInsights.UseInsightsListQueryProps<ReconciliationInsights.ListFiltersWithAcquirer>): UseQueryResult<ReconciliationInsights.ProcessedTransactionList, ReconciliationInsights.Error>;
23
23
  export declare function useGetReconciliationInsightsAmountToBeSettledSummary({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithAcquirer>): UseQueryResult<ReconciliationInsights.ChartWithGraph, ReconciliationInsights.Error>;
24
+ export declare function useGetReconciliationInsightsReconciliationRateByProvider({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithProvider>): UseQueryResult<ReconciliationInsights.ReconciliationRateByProviderResponse, ReconciliationInsights.Error>;
25
+ export declare function useGetReconciliationInsightsReconciliationRateByAccount({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithProvider>): UseQueryResult<ReconciliationInsights.ReconciliationRateItem[], ReconciliationInsights.Error>;
26
+ export declare function useGetReconciliationInsightsReconciliationRateByCurrency({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithProvider>): UseQueryResult<ReconciliationInsights.ReconciliationRateItem[], ReconciliationInsights.Error>;
@@ -145,6 +145,27 @@ export declare namespace ReconciliationInsights {
145
145
  status_conflict: GenericChartSummary;
146
146
  amount_conflict: GenericChartSummary;
147
147
  }
148
+ export interface ReconciliationRateTotal {
149
+ total_transactions: number;
150
+ transactions_percentage: number;
151
+ }
152
+ export interface ReconciliationRateByProviderDay {
153
+ transaction_date: string;
154
+ total_transactions: number;
155
+ reconciled_transactions: number;
156
+ }
157
+ export interface ReconciliationRateItem {
158
+ code: string;
159
+ total_transactions: number;
160
+ transactions_percentage: number;
161
+ }
162
+ export interface ReconciliationRateByProvider extends ReconciliationRateItem {
163
+ metrics: ReconciliationRateByProviderDay[];
164
+ }
165
+ export interface ReconciliationRateByProviderResponse {
166
+ total: ReconciliationRateTotal;
167
+ data: ReconciliationRateByProvider[];
168
+ }
148
169
  export interface UseInsightsQueryProps<T> {
149
170
  body: T;
150
171
  enabled?: boolean;