@yuno-payments/dashboard-api-mfe 1.11.2 → 1.12.0

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.
@@ -67,6 +67,9 @@ export declare class Api extends HttpClient {
67
67
  postPaymentsLazy<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
68
68
  postPayouts<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
69
69
  getPayoutsFilters<T>(organizationCode: any): Promise<AxiosResponse<T>>;
70
+ getHiddenFields<T>({ scope, }: {
71
+ scope: string;
72
+ }): Promise<AxiosResponse<T>>;
70
73
  postPaymentsEvaluated<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
71
74
  getPaymentV2<T>(paymentCode: string): Promise<AxiosResponse<T, any>>;
72
75
  postTransactions<T>(params: GetTransactionsParams): Promise<AxiosResponse<T, any>>;
@@ -352,9 +355,8 @@ export declare class Api extends HttpClient {
352
355
  getMergedNotifications<T>(): Promise<AxiosResponse<T>>;
353
356
  getNotificationsCustomer<T>(customer: any): Promise<AxiosResponse<T>>;
354
357
  getValidateOpsgenieKey<T>(key: any): Promise<AxiosResponse<T>>;
355
- postSlackMessageChannel<T>(payload: {
356
- channel: string;
357
- text: string;
358
+ postSlackFeatureNotification<T>(payload: {
359
+ feature: string;
358
360
  }): Promise<AxiosResponse<T>>;
359
361
  pathNotification<T>(payload: PathNotification): Promise<AxiosResponse<T>>;
360
362
  getNotificationsNumber<T>(customer: any): Promise<AxiosResponse<T>>;
@@ -0,0 +1 @@
1
+ export declare const fieldVisibilityHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
@@ -1,6 +1,5 @@
1
- export declare function usePostSlackMessageChannel(): import("@tanstack/react-query").UseMutationResult<unknown, unknown, {
1
+ export declare function usePostSlackFeatureNotification(): import("@tanstack/react-query").UseMutationResult<unknown, unknown, {
2
2
  payload: {
3
- channel: string;
4
- text: string;
3
+ feature: string;
5
4
  };
6
5
  }, unknown>;
@@ -0,0 +1,8 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { AxiosError } from 'axios';
3
+ import type { FieldVisibility } from '../../types';
4
+ import { BFFErrorResponse } from '../../mutations';
5
+ export declare function useGetHiddenFields({ scope, enabled, }: {
6
+ scope: string;
7
+ enabled?: boolean;
8
+ }): UseQueryResult<FieldVisibility.ScopedHiddenFields[], AxiosError<BFFErrorResponse>>;
@@ -0,0 +1 @@
1
+ export * from './field-visibility.query';
@@ -36,3 +36,4 @@ export * from './api-logs';
36
36
  export * from './webhooks';
37
37
  export * from './security';
38
38
  export * from './concierge';
39
+ export * from './field-visibility';
@@ -0,0 +1,6 @@
1
+ export declare namespace FieldVisibility {
2
+ interface ScopedHiddenFields {
3
+ scope: string;
4
+ fields: string[];
5
+ }
6
+ }
@@ -0,0 +1 @@
1
+ export * from './field-visibility';
@@ -36,3 +36,4 @@ export * from './recipients';
36
36
  export * from './installments';
37
37
  export * from './concierge';
38
38
  export * from './playground';
39
+ export * from './field-visibility';