@yuno-payments/dashboard-api-mfe 1.18.0 → 1.19.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 +7 -24
- package/build/cjs/types/msw/mocks/reconciliation-insights/index.d.ts +0 -1
- package/build/cjs/types/mutations/fraud-screening/fraud-screening.mutation.d.ts +0 -2
- package/build/cjs/types/queries/recipients/recipients.query.d.ts +0 -1
- package/build/cjs/types/queries/reconciliations/reconciliation-insights.query.d.ts +0 -1
- package/build/cjs/types/types/recipients/recipients.d.ts +0 -18
- package/build/cjs/types/types/reconciliation/reconciliation-insights.d.ts +0 -50
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +7 -24
- package/build/esm/types/msw/mocks/reconciliation-insights/index.d.ts +0 -1
- package/build/esm/types/mutations/fraud-screening/fraud-screening.mutation.d.ts +0 -2
- package/build/esm/types/queries/recipients/recipients.query.d.ts +0 -1
- package/build/esm/types/queries/reconciliations/reconciliation-insights.query.d.ts +0 -1
- package/build/esm/types/types/recipients/recipients.d.ts +0 -18
- package/build/esm/types/types/reconciliation/reconciliation-insights.d.ts +0 -50
- package/build/index.d.ts +8 -97
- package/package.json +1 -1
|
@@ -65,7 +65,6 @@ export declare class Api extends HttpClient {
|
|
|
65
65
|
getReconciliationInsightsReconciliationRateByProvider<T>(body: ReconciliationInsights.BaseFiltersWithProvider): Promise<AxiosResponse<T>>;
|
|
66
66
|
getReconciliationInsightsReconciliationRateByAccount<T>(body: ReconciliationInsights.BaseFiltersWithProvider): Promise<AxiosResponse<T>>;
|
|
67
67
|
getReconciliationInsightsReconciliationRateByCurrency<T>(body: ReconciliationInsights.BaseFiltersWithProvider): Promise<AxiosResponse<T>>;
|
|
68
|
-
getReconciliationInsightsSettlementLookup<T>(body: ReconciliationInsights.SettlementLookupBody): Promise<AxiosResponse<T>>;
|
|
69
68
|
postPaymentsLazy<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
70
69
|
postPayouts<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
71
70
|
getPayoutsFilters<T>(organizationCode: any): Promise<AxiosResponse<T>>;
|
|
@@ -521,16 +520,14 @@ export declare class Api extends HttpClient {
|
|
|
521
520
|
putBlackListType<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
522
521
|
changeBlackListStatus<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
523
522
|
changeBlackListStatusItem<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
524
|
-
postBlackListItems<T>({ payload
|
|
525
|
-
payload:
|
|
526
|
-
accountCode?: string;
|
|
523
|
+
postBlackListItems<T>({ payload }: {
|
|
524
|
+
payload: any;
|
|
527
525
|
}): Promise<AxiosResponse<T, any>>;
|
|
528
|
-
postBlackListBatch<T>({ blacklist_code, expiration_days, file, handleSetProgress,
|
|
529
|
-
blacklist_code:
|
|
530
|
-
expiration_days:
|
|
531
|
-
file:
|
|
532
|
-
handleSetProgress:
|
|
533
|
-
accountCode?: string;
|
|
526
|
+
postBlackListBatch<T>({ blacklist_code, expiration_days, file, handleSetProgress, }: {
|
|
527
|
+
blacklist_code: any;
|
|
528
|
+
expiration_days: any;
|
|
529
|
+
file: any;
|
|
530
|
+
handleSetProgress: any;
|
|
534
531
|
}): Promise<AxiosResponse<T, any>>;
|
|
535
532
|
deleteBlackListType<T>({ black_list_code, }: {
|
|
536
533
|
black_list_code: any;
|
|
@@ -668,20 +665,6 @@ export declare class Api extends HttpClient {
|
|
|
668
665
|
sort_by?: string;
|
|
669
666
|
sort_order?: string;
|
|
670
667
|
}): Promise<AxiosResponse<T, any>>;
|
|
671
|
-
getRecipientsV2<T>(organizationCode: string, params: {
|
|
672
|
-
account_ids?: string;
|
|
673
|
-
countries?: string;
|
|
674
|
-
national_entities?: string;
|
|
675
|
-
entity_types?: string;
|
|
676
|
-
start_date?: string;
|
|
677
|
-
end_date?: string;
|
|
678
|
-
search_type?: string;
|
|
679
|
-
search_value?: string;
|
|
680
|
-
page?: number;
|
|
681
|
-
page_size?: number;
|
|
682
|
-
sort_by?: string;
|
|
683
|
-
sort_order?: string;
|
|
684
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
685
668
|
getRecipientById<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
|
|
686
669
|
getOnboardingDetail<T>(organizationCode: string, recipientId: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
687
670
|
getOnboardingTimeline<T>(organizationCode: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
@@ -20,4 +20,3 @@ export declare const NOT_CONFIRM_SUMMARY_MOCK: ReconciliationInsights.GenericCha
|
|
|
20
20
|
export declare const NOT_CONFIRM_AGGREGATORS_MOCK: ReconciliationInsights.Aggregators;
|
|
21
21
|
export declare const NOT_CONFIRM_LIST_MOCK: ReconciliationInsights.ProcessedTransactionList;
|
|
22
22
|
export declare const AMOUNT_TO_BE_SETTLED_SUMMARY_MOCK: ReconciliationInsights.ChartWithGraph;
|
|
23
|
-
export declare const SETTLEMENT_LOOKUP_MOCK: ReconciliationInsights.SettlementDetail;
|
|
@@ -18,13 +18,11 @@ export type PostBlackList = {
|
|
|
18
18
|
};
|
|
19
19
|
type PostBlackListItems = {
|
|
20
20
|
payload: FraudScreening.BlackListItemsPayload;
|
|
21
|
-
accountCode?: string;
|
|
22
21
|
};
|
|
23
22
|
type PostBlackListBatch = {
|
|
24
23
|
blacklist_code: string;
|
|
25
24
|
expiration_days: number;
|
|
26
25
|
file: string;
|
|
27
|
-
accountCode?: string;
|
|
28
26
|
};
|
|
29
27
|
export type ChangePaymentsWebhook = {
|
|
30
28
|
paymentCode: string;
|
|
@@ -3,7 +3,6 @@ import { UseQueryResult } from '@tanstack/react-query';
|
|
|
3
3
|
import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams, RecipientsExport, GetRecipientExportsParams } from '../../types/recipients';
|
|
4
4
|
import { BFFErrorResponse } from '../../mutations';
|
|
5
5
|
export declare function useGetRecipients(organizationCode: string, params: GetRecipientsParams, enabled?: boolean): UseQueryResult<Recipients.RecipientListResponse, AxiosError<BFFErrorResponse>>;
|
|
6
|
-
export declare function useGetRecipientsV2(organizationCode: string, params: GetRecipientsParams, enabled?: boolean): UseQueryResult<Recipients.RecipientListResponseV2, AxiosError<BFFErrorResponse>>;
|
|
7
6
|
export declare function useGetRecipientById(organizationCode: string, params: GetRecipientByIdParams, enabled?: boolean): UseQueryResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse>>;
|
|
8
7
|
export declare function useGetOnboardingDetail(organizationCode: string, params: GetOnboardingDetailParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse>>;
|
|
9
8
|
export declare function useGetOnboardingTimeline(organizationCode: string, params: GetOnboardingTimelineParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingTimeline, AxiosError<BFFErrorResponse>>;
|
|
@@ -24,4 +24,3 @@ export declare function useGetReconciliationInsightsAmountToBeSettledSummary({ b
|
|
|
24
24
|
export declare function useGetReconciliationInsightsReconciliationRateByProvider({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithProvider>): UseQueryResult<ReconciliationInsights.ReconciliationRateByProviderResponse, ReconciliationInsights.Error>;
|
|
25
25
|
export declare function useGetReconciliationInsightsReconciliationRateByAccount({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithProvider>): UseQueryResult<ReconciliationInsights.ReconciliationRateItem[], ReconciliationInsights.Error>;
|
|
26
26
|
export declare function useGetReconciliationInsightsReconciliationRateByCurrency({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.BaseFiltersWithProvider>): UseQueryResult<ReconciliationInsights.ReconciliationRateItem[], ReconciliationInsights.Error>;
|
|
27
|
-
export declare function useGetReconciliationInsightsSettlementLookup({ body, enabled, }: ReconciliationInsights.UseInsightsQueryProps<ReconciliationInsights.SettlementLookupBody>): UseQueryResult<ReconciliationInsights.SettlementDetail, ReconciliationInsights.Error>;
|
|
@@ -41,7 +41,6 @@ export declare namespace Recipients {
|
|
|
41
41
|
provider_id: string;
|
|
42
42
|
status: string;
|
|
43
43
|
created_at: string;
|
|
44
|
-
updated_at?: string;
|
|
45
44
|
}
|
|
46
45
|
interface RecipientListItem {
|
|
47
46
|
id: string;
|
|
@@ -73,23 +72,6 @@ export declare namespace Recipients {
|
|
|
73
72
|
data: RecipientListItem[];
|
|
74
73
|
pagination: Pagination;
|
|
75
74
|
}
|
|
76
|
-
interface RecipientListItemV2 {
|
|
77
|
-
id: string;
|
|
78
|
-
merchant_recipient_id: string | null;
|
|
79
|
-
national_entity: string;
|
|
80
|
-
entity_type: string | null;
|
|
81
|
-
country: string;
|
|
82
|
-
first_name: string | null;
|
|
83
|
-
last_name: string | null;
|
|
84
|
-
legal_name: string | null;
|
|
85
|
-
account_id: string;
|
|
86
|
-
updated_at: string;
|
|
87
|
-
onboardings: OnboardingSummary[];
|
|
88
|
-
}
|
|
89
|
-
interface RecipientListResponseV2 {
|
|
90
|
-
data: RecipientListItemV2[];
|
|
91
|
-
pagination: Pagination;
|
|
92
|
-
}
|
|
93
75
|
interface RecipientDetail {
|
|
94
76
|
id: string;
|
|
95
77
|
merchant_recipient_id: string | null;
|
|
@@ -184,55 +184,5 @@ export declare namespace ReconciliationInsights {
|
|
|
184
184
|
code?: string;
|
|
185
185
|
message?: string;
|
|
186
186
|
}
|
|
187
|
-
export type SettlementLookupKey = 'payment_id' | 'transaction_id' | 'provider_transaction_id' | 'third_party_transaction_id_transaction';
|
|
188
|
-
export interface SettlementLookupBody {
|
|
189
|
-
accounts?: string[];
|
|
190
|
-
key: SettlementLookupKey;
|
|
191
|
-
value: string;
|
|
192
|
-
}
|
|
193
|
-
export interface SettlementDetail {
|
|
194
|
-
primary_key: string;
|
|
195
|
-
organization_code: string;
|
|
196
|
-
account_id: string;
|
|
197
|
-
provider_merchant_id: string;
|
|
198
|
-
provider_id: string;
|
|
199
|
-
acquirer: string;
|
|
200
|
-
country: string;
|
|
201
|
-
payment_method_category: string;
|
|
202
|
-
payment_method_type: string;
|
|
203
|
-
settlement_batch_id: string;
|
|
204
|
-
payment_id: string;
|
|
205
|
-
transaction_id: string;
|
|
206
|
-
provider_transaction_id: string;
|
|
207
|
-
third_party_transaction_id_transaction: string;
|
|
208
|
-
merchant_order_id: string;
|
|
209
|
-
merchant_reference: string;
|
|
210
|
-
transaction_date: string;
|
|
211
|
-
settlement_date: string;
|
|
212
|
-
type: string;
|
|
213
|
-
reconciliation_status: string;
|
|
214
|
-
reconciliation_sub_status: string;
|
|
215
|
-
reconciliation_id: string;
|
|
216
|
-
amount: number;
|
|
217
|
-
gross_currency: string;
|
|
218
|
-
gross_credit: number;
|
|
219
|
-
gross_debit: number;
|
|
220
|
-
settlement_currency: string;
|
|
221
|
-
fx_rate: number;
|
|
222
|
-
settlement_gross_amount: number;
|
|
223
|
-
fee_rate: number;
|
|
224
|
-
settlement_fees: number;
|
|
225
|
-
settlement_fee_taxes: number;
|
|
226
|
-
settlement_taxes: number;
|
|
227
|
-
settlement_net_credit: number;
|
|
228
|
-
settlement_net_debit: number;
|
|
229
|
-
card_brand: string;
|
|
230
|
-
card_type: string;
|
|
231
|
-
card_iin: string;
|
|
232
|
-
card_lfd: string;
|
|
233
|
-
authorization_code: string;
|
|
234
|
-
installments: number;
|
|
235
|
-
installment_number: number;
|
|
236
|
-
}
|
|
237
187
|
export {};
|
|
238
188
|
}
|