@yuno-payments/dashboard-api-mfe 1.11.3 → 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 +3 -0
- package/build/cjs/types/msw/handlers/field-visibility.d.ts +1 -0
- 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 +3 -0
- package/build/esm/types/msw/handlers/field-visibility.d.ts +1 -0
- 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 +16 -1
- 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>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fieldVisibilityHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -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';
|