@yuno-payments/dashboard-api-mfe 0.36.60-RC.3 → 0.36.60-RC.4
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.map +1 -1
- package/build/cjs/types/api/api.d.ts +3 -3
- package/build/cjs/types/mutations/connections/connections.mutation.d.ts +4 -4
- package/build/cjs/types/queries/network-tokens/network-tokens.query.d.ts +2 -2
- package/build/cjs/types/types/connection/connection.d.ts +18 -0
- package/build/cjs/types/types/smart-routing/smart-routing.d.ts +0 -18
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +3 -3
- package/build/esm/types/mutations/connections/connections.mutation.d.ts +4 -4
- package/build/esm/types/queries/network-tokens/network-tokens.query.d.ts +2 -2
- package/build/esm/types/types/connection/connection.d.ts +18 -0
- package/build/esm/types/types/smart-routing/smart-routing.d.ts +0 -18
- package/build/index.d.ts +24 -24
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../lib/http-client';
|
|
3
3
|
import { GetPaymentsParams, GetReconciliationMetricParams, FirebaseUserSubscribe, PathNotification, TimeZoneCatalog, GetTransactionDetailsV2Params, MfaUserSubscribe, UserInviteMultiaccountPayload, GetTransactionsParams, PaymentsSettings, GetPayoutDetail, GetPayoutTransactionDetail, PinnedSections, ThemeSettings } from './api.types';
|
|
4
|
-
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection } from '../types';
|
|
4
|
+
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, Connection } from '../types';
|
|
5
5
|
import { ConversionRateParams, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds } from '../types/data-report/conversion-rate.types';
|
|
6
6
|
import { RoutingMonitors } from '../types/routing-monitors';
|
|
7
7
|
import { ChangePaymentsWebhook } from '../mutations';
|
|
@@ -497,8 +497,8 @@ export declare class Api extends HttpClient {
|
|
|
497
497
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
498
498
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
499
499
|
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
500
|
-
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<
|
|
501
|
-
postNetworkTokensOnboarding(payload:
|
|
500
|
+
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
501
|
+
postNetworkTokensOnboarding(payload: Connection.NetworkTokensOnboardingData, organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
502
502
|
createChartGPTChart<T>(payload: {
|
|
503
503
|
user_prompt: string;
|
|
504
504
|
}): Promise<AxiosResponse<T, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Connection
|
|
1
|
+
import { Connection } from '../../types';
|
|
2
2
|
import { Cost } from '../../types/connection/costs';
|
|
3
3
|
import { CustomAxiosResponse } from '../../utils/handler-error';
|
|
4
4
|
type PatchConnection = {
|
|
@@ -33,9 +33,9 @@ export declare function useValidateCredentials(): import("@tanstack/react-query"
|
|
|
33
33
|
payment_method: string;
|
|
34
34
|
};
|
|
35
35
|
}, unknown>;
|
|
36
|
-
export declare function useGetNetworkTokensOnboarding(organizationCode: string): import("@tanstack/react-query").UseQueryResult<
|
|
37
|
-
export declare function usePostNetworkTokensOnboarding(): import("@tanstack/react-query").UseMutationResult<
|
|
38
|
-
payload:
|
|
36
|
+
export declare function useGetNetworkTokensOnboarding(organizationCode: string): import("@tanstack/react-query").UseQueryResult<Connection.NetworkTokensOnboardingData, unknown>;
|
|
37
|
+
export declare function usePostNetworkTokensOnboarding(): import("@tanstack/react-query").UseMutationResult<Connection.NetworkTokensOnboardingData, unknown, {
|
|
38
|
+
payload: Connection.NetworkTokensOnboardingData;
|
|
39
39
|
organizationCode: string;
|
|
40
40
|
}, unknown>;
|
|
41
41
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { AxiosError } from 'axios';
|
|
3
|
-
import {
|
|
3
|
+
import { Connection } from '../../types';
|
|
4
4
|
import { CustomAxiosResponse } from '../../utils/handler-error';
|
|
5
|
-
export declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<
|
|
5
|
+
export declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<Connection.NetworkTokensOnboardingData, AxiosError<CustomAxiosResponse>>;
|
|
@@ -51,4 +51,22 @@ export declare namespace Connection {
|
|
|
51
51
|
}
|
|
52
52
|
];
|
|
53
53
|
};
|
|
54
|
+
interface NetworkTokensOnboardingData {
|
|
55
|
+
name: string;
|
|
56
|
+
legal_name: string;
|
|
57
|
+
website: string;
|
|
58
|
+
identification_type: string;
|
|
59
|
+
identification_number: string;
|
|
60
|
+
address_line_1: string;
|
|
61
|
+
address_line_2: string;
|
|
62
|
+
city: string;
|
|
63
|
+
state: string;
|
|
64
|
+
country: string;
|
|
65
|
+
zip_code: string;
|
|
66
|
+
phone: string;
|
|
67
|
+
contact_first_name: string;
|
|
68
|
+
contact_last_name: string;
|
|
69
|
+
contact_email: string;
|
|
70
|
+
account_codes: string[];
|
|
71
|
+
}
|
|
54
72
|
}
|
|
@@ -326,23 +326,5 @@ export declare namespace SmartRouting {
|
|
|
326
326
|
export interface NetworkTokensOnboardingResponse {
|
|
327
327
|
available: boolean;
|
|
328
328
|
}
|
|
329
|
-
export interface NetworkTokensOnboardingData {
|
|
330
|
-
name: string;
|
|
331
|
-
legal_name: string;
|
|
332
|
-
website: string;
|
|
333
|
-
identification_type: string;
|
|
334
|
-
identification_number: string;
|
|
335
|
-
address_line_1: string;
|
|
336
|
-
address_line_2: string;
|
|
337
|
-
city: string;
|
|
338
|
-
state: string;
|
|
339
|
-
country: string;
|
|
340
|
-
zip_code: string;
|
|
341
|
-
phone: string;
|
|
342
|
-
contact_first_name: string;
|
|
343
|
-
contact_last_name: string;
|
|
344
|
-
contact_email: string;
|
|
345
|
-
account_codes: string[];
|
|
346
|
-
}
|
|
347
329
|
export {};
|
|
348
330
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -1076,6 +1076,24 @@ declare namespace Connection {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
];
|
|
1078
1078
|
};
|
|
1079
|
+
interface NetworkTokensOnboardingData {
|
|
1080
|
+
name: string;
|
|
1081
|
+
legal_name: string;
|
|
1082
|
+
website: string;
|
|
1083
|
+
identification_type: string;
|
|
1084
|
+
identification_number: string;
|
|
1085
|
+
address_line_1: string;
|
|
1086
|
+
address_line_2: string;
|
|
1087
|
+
city: string;
|
|
1088
|
+
state: string;
|
|
1089
|
+
country: string;
|
|
1090
|
+
zip_code: string;
|
|
1091
|
+
phone: string;
|
|
1092
|
+
contact_first_name: string;
|
|
1093
|
+
contact_last_name: string;
|
|
1094
|
+
contact_email: string;
|
|
1095
|
+
account_codes: string[];
|
|
1096
|
+
}
|
|
1079
1097
|
}
|
|
1080
1098
|
|
|
1081
1099
|
declare namespace Organization {
|
|
@@ -2228,24 +2246,6 @@ declare namespace SmartRouting {
|
|
|
2228
2246
|
export interface NetworkTokensOnboardingResponse {
|
|
2229
2247
|
available: boolean;
|
|
2230
2248
|
}
|
|
2231
|
-
export interface NetworkTokensOnboardingData {
|
|
2232
|
-
name: string;
|
|
2233
|
-
legal_name: string;
|
|
2234
|
-
website: string;
|
|
2235
|
-
identification_type: string;
|
|
2236
|
-
identification_number: string;
|
|
2237
|
-
address_line_1: string;
|
|
2238
|
-
address_line_2: string;
|
|
2239
|
-
city: string;
|
|
2240
|
-
state: string;
|
|
2241
|
-
country: string;
|
|
2242
|
-
zip_code: string;
|
|
2243
|
-
phone: string;
|
|
2244
|
-
contact_first_name: string;
|
|
2245
|
-
contact_last_name: string;
|
|
2246
|
-
contact_email: string;
|
|
2247
|
-
account_codes: string[];
|
|
2248
|
-
}
|
|
2249
2249
|
export {};
|
|
2250
2250
|
}
|
|
2251
2251
|
|
|
@@ -3997,9 +3997,9 @@ declare function useValidateCredentials(): _tanstack_react_query.UseMutationResu
|
|
|
3997
3997
|
payment_method: string;
|
|
3998
3998
|
};
|
|
3999
3999
|
}, unknown>;
|
|
4000
|
-
declare function useGetNetworkTokensOnboarding(organizationCode: string): _tanstack_react_query.UseQueryResult<
|
|
4001
|
-
declare function usePostNetworkTokensOnboarding(): _tanstack_react_query.UseMutationResult<
|
|
4002
|
-
payload:
|
|
4000
|
+
declare function useGetNetworkTokensOnboarding(organizationCode: string): _tanstack_react_query.UseQueryResult<Connection.NetworkTokensOnboardingData, unknown>;
|
|
4001
|
+
declare function usePostNetworkTokensOnboarding(): _tanstack_react_query.UseMutationResult<Connection.NetworkTokensOnboardingData, unknown, {
|
|
4002
|
+
payload: Connection.NetworkTokensOnboardingData;
|
|
4003
4003
|
organizationCode: string;
|
|
4004
4004
|
}, unknown>;
|
|
4005
4005
|
|
|
@@ -5023,7 +5023,7 @@ declare function usePatchAndExecuteChart(chart_id: string, patchPayload: PatchCh
|
|
|
5023
5023
|
declare function useGetLanguages(): UseQueryResult<Translation.Languages, AxiosError>;
|
|
5024
5024
|
declare function useGetTranslations(): UseQueryResult<Translation.Translations, AxiosError>;
|
|
5025
5025
|
|
|
5026
|
-
declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<
|
|
5026
|
+
declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<Connection.NetworkTokensOnboardingData, AxiosError<CustomAxiosResponse>>;
|
|
5027
5027
|
|
|
5028
5028
|
interface CreateChartGPTChartPayload {
|
|
5029
5029
|
user_prompt: string;
|
|
@@ -5544,8 +5544,8 @@ declare class Api extends HttpClient {
|
|
|
5544
5544
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
5545
5545
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
5546
5546
|
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
5547
|
-
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<
|
|
5548
|
-
postNetworkTokensOnboarding(payload:
|
|
5547
|
+
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
5548
|
+
postNetworkTokensOnboarding(payload: Connection.NetworkTokensOnboardingData, organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
5549
5549
|
createChartGPTChart<T>(payload: {
|
|
5550
5550
|
user_prompt: string;
|
|
5551
5551
|
}): Promise<AxiosResponse<T, any>>;
|