@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.
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +5 -3
- package/build/cjs/types/msw/handlers/field-visibility.d.ts +1 -0
- package/build/cjs/types/mutations/notifications/notifications.mutation.d.ts +2 -3
- package/build/cjs/types/queries/field-visibility/field-visibility.query.d.ts +8 -0
- package/build/cjs/types/queries/field-visibility/index.d.ts +1 -0
- package/build/cjs/types/queries/index.d.ts +1 -0
- package/build/cjs/types/types/field-visibility/field-visibility.d.ts +6 -0
- package/build/cjs/types/types/field-visibility/index.d.ts +1 -0
- package/build/cjs/types/types/index.d.ts +1 -0
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +5 -3
- package/build/esm/types/msw/handlers/field-visibility.d.ts +1 -0
- package/build/esm/types/mutations/notifications/notifications.mutation.d.ts +2 -3
- package/build/esm/types/queries/field-visibility/field-visibility.query.d.ts +8 -0
- package/build/esm/types/queries/field-visibility/index.d.ts +1 -0
- package/build/esm/types/queries/index.d.ts +1 -0
- package/build/esm/types/types/field-visibility/field-visibility.d.ts +6 -0
- package/build/esm/types/types/field-visibility/index.d.ts +1 -0
- package/build/esm/types/types/index.d.ts +1 -0
- package/build/index.d.ts +20 -7
- package/package.json +1 -1
|
@@ -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
|
-
|
|
356
|
-
|
|
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
|
|
1
|
+
export declare function usePostSlackFeatureNotification(): import("@tanstack/react-query").UseMutationResult<unknown, unknown, {
|
|
2
2
|
payload: {
|
|
3
|
-
|
|
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';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './field-visibility';
|