@yuno-payments/dashboard-api-mfe 0.40.5 → 0.40.8
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 +6 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +1 -1
- package/build/cjs/types/queries/index.d.ts +1 -0
- package/build/cjs/types/types/checkout/checkout.d.ts +22 -0
- package/build/cjs/types/types/reports/reports.d.ts +1 -0
- package/build/cjs/types/types/smart-routing/smart-routing.d.ts +24 -0
- package/build/esm/index.js +6 -13
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +1 -1
- package/build/esm/types/queries/index.d.ts +1 -0
- package/build/esm/types/types/checkout/checkout.d.ts +22 -0
- package/build/esm/types/types/reports/reports.d.ts +1 -0
- package/build/esm/types/types/smart-routing/smart-routing.d.ts +24 -0
- package/build/index.d.ts +50 -3
- package/package.json +1 -1
|
@@ -510,7 +510,7 @@ export declare class Api extends HttpClient {
|
|
|
510
510
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
511
511
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
512
512
|
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
513
|
-
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<
|
|
513
|
+
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingGetResponse>>;
|
|
514
514
|
postNetworkTokensOnboarding(payload: Connection.NetworkTokensOnboardingData, organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
515
515
|
createChartGPTChart<T>(payload: {
|
|
516
516
|
user_prompt: string;
|
|
@@ -25,6 +25,7 @@ export * from './mfa';
|
|
|
25
25
|
export * from './saml-config';
|
|
26
26
|
export * from './chartgpt';
|
|
27
27
|
export * from './translation';
|
|
28
|
+
export * from './network-tokens';
|
|
28
29
|
export * from './smart-recovery';
|
|
29
30
|
export * from './network-tokens';
|
|
30
31
|
export * from './template-reporting';
|
|
@@ -70,6 +70,28 @@ export declare namespace Checkout {
|
|
|
70
70
|
is_active: boolean;
|
|
71
71
|
current_value?: string;
|
|
72
72
|
options?: string[];
|
|
73
|
+
conditions_to_override?: {
|
|
74
|
+
name: string;
|
|
75
|
+
order: number;
|
|
76
|
+
payment_method_data: {
|
|
77
|
+
name: string | null;
|
|
78
|
+
description: string | null;
|
|
79
|
+
logo: string | null;
|
|
80
|
+
};
|
|
81
|
+
conditions: {
|
|
82
|
+
id: number;
|
|
83
|
+
payment_method_condition_set_id: number;
|
|
84
|
+
condition_type: string;
|
|
85
|
+
values: string[];
|
|
86
|
+
conditional: string;
|
|
87
|
+
metadata_key: string | null;
|
|
88
|
+
additional_field_name: string | null;
|
|
89
|
+
complex_name: string | null;
|
|
90
|
+
complex_index: number | null;
|
|
91
|
+
created_at: string;
|
|
92
|
+
updated_at: string;
|
|
93
|
+
}[];
|
|
94
|
+
}[];
|
|
73
95
|
}
|
|
74
96
|
export interface GetRequiredFieldsResponse {
|
|
75
97
|
payment_method: string;
|
|
@@ -326,5 +326,29 @@ export declare namespace SmartRouting {
|
|
|
326
326
|
export interface NetworkTokensOnboardingResponse {
|
|
327
327
|
available: boolean;
|
|
328
328
|
}
|
|
329
|
+
export interface NetworkTokensOnboardingData {
|
|
330
|
+
company_name: string;
|
|
331
|
+
client: string;
|
|
332
|
+
website: string;
|
|
333
|
+
required_provider: string;
|
|
334
|
+
company_legal_name: string;
|
|
335
|
+
company_registered_state: string;
|
|
336
|
+
company_registered_zip_code: string;
|
|
337
|
+
company_registered_address: string;
|
|
338
|
+
company_registered_country: string;
|
|
339
|
+
company_registered_phone: string;
|
|
340
|
+
primary_contact_first_name: string;
|
|
341
|
+
primary_contact_last_name: string;
|
|
342
|
+
business_identification_type: string;
|
|
343
|
+
business_identification_number: string;
|
|
344
|
+
}
|
|
345
|
+
export interface NetworkTokensOnboardingPayload extends NetworkTokensOnboardingData {
|
|
346
|
+
accounts: string[];
|
|
347
|
+
}
|
|
348
|
+
export interface NetworkTokensOnboardingGetResponse extends NetworkTokensOnboardingData {
|
|
349
|
+
id?: string;
|
|
350
|
+
created_at?: string;
|
|
351
|
+
updated_at?: string;
|
|
352
|
+
}
|
|
329
353
|
export {};
|
|
330
354
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -1621,6 +1621,28 @@ declare namespace Checkout {
|
|
|
1621
1621
|
is_active: boolean;
|
|
1622
1622
|
current_value?: string;
|
|
1623
1623
|
options?: string[];
|
|
1624
|
+
conditions_to_override?: {
|
|
1625
|
+
name: string;
|
|
1626
|
+
order: number;
|
|
1627
|
+
payment_method_data: {
|
|
1628
|
+
name: string | null;
|
|
1629
|
+
description: string | null;
|
|
1630
|
+
logo: string | null;
|
|
1631
|
+
};
|
|
1632
|
+
conditions: {
|
|
1633
|
+
id: number;
|
|
1634
|
+
payment_method_condition_set_id: number;
|
|
1635
|
+
condition_type: string;
|
|
1636
|
+
values: string[];
|
|
1637
|
+
conditional: string;
|
|
1638
|
+
metadata_key: string | null;
|
|
1639
|
+
additional_field_name: string | null;
|
|
1640
|
+
complex_name: string | null;
|
|
1641
|
+
complex_index: number | null;
|
|
1642
|
+
created_at: string;
|
|
1643
|
+
updated_at: string;
|
|
1644
|
+
}[];
|
|
1645
|
+
}[];
|
|
1624
1646
|
}
|
|
1625
1647
|
export interface GetRequiredFieldsResponse {
|
|
1626
1648
|
payment_method: string;
|
|
@@ -1836,6 +1858,7 @@ type CentralizedColumn = {
|
|
|
1836
1858
|
selection: 'ALL';
|
|
1837
1859
|
CreatedAt: Date;
|
|
1838
1860
|
UpdatedAt: Date;
|
|
1861
|
+
unique_key: string;
|
|
1839
1862
|
};
|
|
1840
1863
|
declare enum ReportType {
|
|
1841
1864
|
PAYMENTS = "PAYMENTS",
|
|
@@ -2261,6 +2284,30 @@ declare namespace SmartRouting {
|
|
|
2261
2284
|
export interface NetworkTokensOnboardingResponse {
|
|
2262
2285
|
available: boolean;
|
|
2263
2286
|
}
|
|
2287
|
+
export interface NetworkTokensOnboardingData {
|
|
2288
|
+
company_name: string;
|
|
2289
|
+
client: string;
|
|
2290
|
+
website: string;
|
|
2291
|
+
required_provider: string;
|
|
2292
|
+
company_legal_name: string;
|
|
2293
|
+
company_registered_state: string;
|
|
2294
|
+
company_registered_zip_code: string;
|
|
2295
|
+
company_registered_address: string;
|
|
2296
|
+
company_registered_country: string;
|
|
2297
|
+
company_registered_phone: string;
|
|
2298
|
+
primary_contact_first_name: string;
|
|
2299
|
+
primary_contact_last_name: string;
|
|
2300
|
+
business_identification_type: string;
|
|
2301
|
+
business_identification_number: string;
|
|
2302
|
+
}
|
|
2303
|
+
export interface NetworkTokensOnboardingPayload extends NetworkTokensOnboardingData {
|
|
2304
|
+
accounts: string[];
|
|
2305
|
+
}
|
|
2306
|
+
export interface NetworkTokensOnboardingGetResponse extends NetworkTokensOnboardingData {
|
|
2307
|
+
id?: string;
|
|
2308
|
+
created_at?: string;
|
|
2309
|
+
updated_at?: string;
|
|
2310
|
+
}
|
|
2264
2311
|
export {};
|
|
2265
2312
|
}
|
|
2266
2313
|
|
|
@@ -5391,14 +5438,14 @@ declare function usePatchAndExecuteChart(chart_id: string, patchPayload: PatchCh
|
|
|
5391
5438
|
declare function useGetLanguages(): UseQueryResult<Translation.Languages, AxiosError>;
|
|
5392
5439
|
declare function useGetTranslations(): UseQueryResult<Translation.Translations, AxiosError>;
|
|
5393
5440
|
|
|
5441
|
+
declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<Connection.NetworkTokensOnboardingData, AxiosError<CustomAxiosResponse>>;
|
|
5442
|
+
|
|
5394
5443
|
declare const useCommunicationsByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<DailyCommunicationsAndConversionRate, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<DailyCommunicationsAndConversionRate, AxiosError<BFFErrorResponse, any>>;
|
|
5395
5444
|
declare const useCommunicationsBySubstatus: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<CommunicationsBySubStatus, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<CommunicationsBySubStatus, AxiosError<BFFErrorResponse, any>>;
|
|
5396
5445
|
declare const useCommunicationsSubstatusByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<DailyCommunicationsSubStatusDistribution, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<DailyCommunicationsSubStatusDistribution, AxiosError<BFFErrorResponse, any>>;
|
|
5397
5446
|
declare const useRecoveredTPVByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<RecoveredTPV, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<RecoveredTPV, AxiosError<BFFErrorResponse, any>>;
|
|
5398
5447
|
declare const useRecoveredPaymentsByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<RecoveredPayments, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<RecoveredPayments, AxiosError<BFFErrorResponse, any>>;
|
|
5399
5448
|
|
|
5400
|
-
declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<Connection.NetworkTokensOnboardingData, AxiosError<CustomAxiosResponse>>;
|
|
5401
|
-
|
|
5402
5449
|
declare function useGetTemplatesList(params: TemplateReporting.GetTemplatesListParams, enabled: any): UseQueryResult<TemplateReporting.GetTemplatesListResponse, AxiosError>;
|
|
5403
5450
|
declare function useGetTemplateById(templateId: number, enabled: any): UseQueryResult<TemplateReporting.ReportTemplate, AxiosError>;
|
|
5404
5451
|
declare function useGetSchedulesList(enabled: any): UseQueryResult<TemplateReporting.GetSchedulesListResponse, AxiosError>;
|
|
@@ -5960,7 +6007,7 @@ declare class Api extends HttpClient {
|
|
|
5960
6007
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
5961
6008
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
5962
6009
|
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
5963
|
-
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<
|
|
6010
|
+
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingGetResponse>>;
|
|
5964
6011
|
postNetworkTokensOnboarding(payload: Connection.NetworkTokensOnboardingData, organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
5965
6012
|
createChartGPTChart<T>(payload: {
|
|
5966
6013
|
user_prompt: string;
|