@yuno-payments/dashboard-api-mfe 0.36.20-CORECM-11508.7 → 0.36.21-smart-recovery-beta.1
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +18 -14
- package/build/cjs/types/queries/checkouts/styling/styling.query.d.ts +4 -11
- package/build/cjs/types/queries/payments/payments.query.d.ts +2 -2
- package/build/cjs/types/queries/reports/reports.query.d.ts +1 -1
- package/build/cjs/types/queries/users/users.query.d.ts +14 -1
- package/build/cjs/types/types/ai/ai.d.ts +50 -0
- package/build/cjs/types/types/checkout/styling/styling.d.ts +0 -63
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +18 -14
- package/build/esm/types/queries/checkouts/styling/styling.query.d.ts +4 -11
- package/build/esm/types/queries/payments/payments.query.d.ts +2 -2
- package/build/esm/types/queries/reports/reports.query.d.ts +1 -1
- package/build/esm/types/queries/users/users.query.d.ts +14 -1
- package/build/esm/types/types/ai/ai.d.ts +50 -0
- package/build/esm/types/types/checkout/styling/styling.d.ts +0 -63
- package/build/index.d.ts +88 -90
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { ChangePaymentsWebhook } from '../mutations';
|
|
|
8
8
|
import { S3Client } from '../types/s3-client';
|
|
9
9
|
import { AllowedList } from '../types/allowed-list';
|
|
10
10
|
import { Cost } from '../types/connection/costs';
|
|
11
|
-
import { Styling
|
|
11
|
+
import { Styling } from '../types/checkout/styling/styling';
|
|
12
12
|
import { FeatureFlags } from '../types/feature-flags/intex';
|
|
13
13
|
import { FeatureFlagsResult } from '../queries';
|
|
14
14
|
interface S3Payload {
|
|
@@ -213,18 +213,9 @@ export declare class Api extends HttpClient {
|
|
|
213
213
|
accountCode: string;
|
|
214
214
|
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
215
215
|
updateStylingTheme({ accountCode, theme, }: Styling.UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
216
|
-
|
|
216
|
+
getStylingSettings({ accountCode }: {
|
|
217
217
|
accountCode: any;
|
|
218
218
|
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
219
|
-
getStylingSettings({ accountCode, environment, }: {
|
|
220
|
-
accountCode: string;
|
|
221
|
-
environment?: string;
|
|
222
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
223
|
-
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
224
|
-
accountCode: string;
|
|
225
|
-
environment?: string;
|
|
226
|
-
payload: StylingSettings.UpdateSettings;
|
|
227
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
228
219
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
229
220
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
230
221
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -237,9 +228,9 @@ export declare class Api extends HttpClient {
|
|
|
237
228
|
createReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
238
229
|
updateReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
239
230
|
getReportColumns<T>(templateType: TemplateType, reportType: ReportType): Promise<any>;
|
|
240
|
-
getRefundPdf<T>(transactionCode:
|
|
241
|
-
getProofOfCancel<T>(transactionCode: string, organizationCode: string
|
|
242
|
-
getProofOfPayment<T>(transactionCode: string, organizationCode: string
|
|
231
|
+
getRefundPdf<T>(transactionCode: any, organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
232
|
+
getProofOfCancel<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
233
|
+
getProofOfPayment<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
243
234
|
getScheduledReport<T>(reportType: any): Promise<AxiosResponse<T>>;
|
|
244
235
|
postScheduledReport<T>(payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
245
236
|
updateScheduledReport<T>(reportCode: string, payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
@@ -479,5 +470,18 @@ export declare class Api extends HttpClient {
|
|
|
479
470
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
480
471
|
getLanguages<T>(): Promise<AxiosResponse<T, any>>;
|
|
481
472
|
getTranslations<T>(): Promise<AxiosResponse<T, any>>;
|
|
473
|
+
getCommunications<T>(payload: {
|
|
474
|
+
start_date: string;
|
|
475
|
+
end_date: string;
|
|
476
|
+
account_codes: string[];
|
|
477
|
+
country: string[];
|
|
478
|
+
status: string[];
|
|
479
|
+
focus: string[];
|
|
480
|
+
skip: number;
|
|
481
|
+
limit: number;
|
|
482
|
+
search_value: string;
|
|
483
|
+
}): Promise<AxiosResponse<T, any>>;
|
|
484
|
+
getCommunicationsFilters<T>(): Promise<AxiosResponse<T, any>>;
|
|
485
|
+
getCommunicationDetails<T>(communicationId: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
482
486
|
}
|
|
483
487
|
export {};
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function useGetStylingSdkDynamic({ accountCode, }: {
|
|
1
|
+
export declare function useGetStylingTheme({ accountCode }: {
|
|
3
2
|
accountCode: string;
|
|
4
|
-
}): import("@tanstack/react-query").UseQueryResult<Styling.
|
|
5
|
-
export declare function useGetStylingSettings({ accountCode,
|
|
3
|
+
}): import("@tanstack/react-query").UseQueryResult<import("../../../types/checkout/styling/styling").Styling.Theme, unknown>;
|
|
4
|
+
export declare function useGetStylingSettings({ accountCode, }: {
|
|
6
5
|
accountCode: string;
|
|
7
|
-
|
|
8
|
-
}): import("@tanstack/react-query").UseQueryResult<StylingSettings.UpdateSettingsResponse, unknown>;
|
|
9
|
-
export declare function useChangeStylingSettings(): import("@tanstack/react-query").UseMutationResult<StylingSettings.UpdateSettingsResponse, unknown, {
|
|
10
|
-
accountCode: string;
|
|
11
|
-
environment?: string | undefined;
|
|
12
|
-
payload: StylingSettings.UpdateSettings;
|
|
13
|
-
}, unknown>;
|
|
6
|
+
}): import("@tanstack/react-query").UseQueryResult<import("../../../types/checkout/styling/styling").Styling.Settings, unknown>;
|
|
@@ -31,6 +31,6 @@ export declare function usePostFraudTransactions(params: GetTransactionsParams):
|
|
|
31
31
|
export declare function useGetPayoutDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details | AxiosError>;
|
|
32
32
|
export declare function useGetPayoutTransactionDetail(params: GetPayoutTransactionDetail): UseQueryResult;
|
|
33
33
|
export declare function useGetPayoutHistoryDetail(params: GetPayoutDetail): UseQueryResult;
|
|
34
|
-
export declare function useGetProofOfCancel(transactionCode: string
|
|
35
|
-
export declare function useGetProofOfPayment(transactionCode: string
|
|
34
|
+
export declare function useGetProofOfCancel(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
35
|
+
export declare function useGetProofOfPayment(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
36
36
|
export declare function useSendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body, options: SendPaymentNotification.Options): UseQueryResult<SendPaymentNotification.Response, AxiosError>;
|
|
@@ -10,4 +10,4 @@ export declare function useGetDownloadReport(reportId: string, enabled: boolean
|
|
|
10
10
|
}, unknown>;
|
|
11
11
|
export declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
|
|
12
12
|
export declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[], unknown>;
|
|
13
|
-
export declare function useGetRefundPdf(transactionCode: string
|
|
13
|
+
export declare function useGetRefundPdf(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { AxiosError } from 'axios';
|
|
3
|
-
import { Accounts, User } from '../../types';
|
|
3
|
+
import { Accounts, User, AI } from '../../types';
|
|
4
4
|
export declare function useGetProfile(): UseQueryResult<User.UserResponsePayload, unknown>;
|
|
5
5
|
export declare function useGetPermissions(organizationCode: any, accountCode: any): UseQueryResult<Accounts.PermissionsResponse[], unknown>;
|
|
6
6
|
export declare function useEmailVerification(email: string): UseQueryResult<User.UserResponseEmailVerification | string, unknown>;
|
|
7
7
|
export declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
8
8
|
export declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
9
9
|
export declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
10
|
+
export declare function useCommunications(payload: {
|
|
11
|
+
start_date: string;
|
|
12
|
+
end_date: string;
|
|
13
|
+
account_codes: string[];
|
|
14
|
+
country: string[];
|
|
15
|
+
status: string[];
|
|
16
|
+
focus: string[];
|
|
17
|
+
skip: number;
|
|
18
|
+
limit: number;
|
|
19
|
+
search_value: string;
|
|
20
|
+
}): UseQueryResult<AI.CommunicationsListResponse, AxiosError>;
|
|
21
|
+
export declare function useCommunicationsFilters(): UseQueryResult<AI.CommunicationsFiltersResponse, AxiosError>;
|
|
22
|
+
export declare function useCommunicationDetails(communicationId: string, accountCode: string): UseQueryResult<AI.CommunicationDetailsResponse, AxiosError>;
|
|
@@ -23,4 +23,54 @@ export declare namespace AI {
|
|
|
23
23
|
REFUSED = "REFUSED",
|
|
24
24
|
FRONT_FAILED = "FRONT_FAILED"
|
|
25
25
|
}
|
|
26
|
+
type CommunicationItem = {
|
|
27
|
+
communication_id: string;
|
|
28
|
+
order_id: string;
|
|
29
|
+
payment_id: string;
|
|
30
|
+
status: string;
|
|
31
|
+
destination_phone: string | null;
|
|
32
|
+
duration: number;
|
|
33
|
+
country: string;
|
|
34
|
+
channel: string;
|
|
35
|
+
messages: number;
|
|
36
|
+
focus: string | null;
|
|
37
|
+
created_at: string;
|
|
38
|
+
};
|
|
39
|
+
type CommunicationsListResponse = {
|
|
40
|
+
total: number;
|
|
41
|
+
skip: number;
|
|
42
|
+
limit: number;
|
|
43
|
+
data: CommunicationItem[];
|
|
44
|
+
};
|
|
45
|
+
type CommunicationsFiltersResponse = {
|
|
46
|
+
countries: string[];
|
|
47
|
+
status: string[];
|
|
48
|
+
focus: string[];
|
|
49
|
+
};
|
|
50
|
+
type TranscriptionMessage = {
|
|
51
|
+
id: string;
|
|
52
|
+
role: string;
|
|
53
|
+
content: string | null;
|
|
54
|
+
created_at: string;
|
|
55
|
+
provider_status: string;
|
|
56
|
+
status: string;
|
|
57
|
+
content_type: string | null;
|
|
58
|
+
media_content_type: string | null;
|
|
59
|
+
media_url: string | null;
|
|
60
|
+
};
|
|
61
|
+
type CommunicationDetailsResponse = {
|
|
62
|
+
communication_id: string;
|
|
63
|
+
order_id: string;
|
|
64
|
+
payment_id: string;
|
|
65
|
+
status: string;
|
|
66
|
+
destination_phone: string | null;
|
|
67
|
+
duration: number;
|
|
68
|
+
country: string;
|
|
69
|
+
channel: string;
|
|
70
|
+
messages: number;
|
|
71
|
+
focus: string | null;
|
|
72
|
+
created_at: string;
|
|
73
|
+
summary: string;
|
|
74
|
+
transcription: TranscriptionMessage[];
|
|
75
|
+
};
|
|
26
76
|
}
|
|
@@ -74,66 +74,3 @@ export declare namespace Styling {
|
|
|
74
74
|
}
|
|
75
75
|
export {};
|
|
76
76
|
}
|
|
77
|
-
export declare namespace StylingSettings {
|
|
78
|
-
interface UpdateSettings {
|
|
79
|
-
styles: {
|
|
80
|
-
global?: {
|
|
81
|
-
accent_color?: string;
|
|
82
|
-
primary_background_color?: string;
|
|
83
|
-
primary_text_color?: string;
|
|
84
|
-
primary_button_text_color?: string;
|
|
85
|
-
secondary_background_color?: string;
|
|
86
|
-
secondary_text_color?: string;
|
|
87
|
-
secondary_button_background_color?: string;
|
|
88
|
-
secondary_button_text_color?: string;
|
|
89
|
-
font_family?: string;
|
|
90
|
-
};
|
|
91
|
-
header?: {
|
|
92
|
-
logo_border_size?: number;
|
|
93
|
-
logo_border_color?: string;
|
|
94
|
-
logo_corner_radius?: number;
|
|
95
|
-
font_size?: number;
|
|
96
|
-
font_weight?: number;
|
|
97
|
-
};
|
|
98
|
-
button?: {
|
|
99
|
-
corner_radius?: number;
|
|
100
|
-
border_size?: number;
|
|
101
|
-
primary_border_color?: string;
|
|
102
|
-
secondary_border_color?: string;
|
|
103
|
-
font_size?: number;
|
|
104
|
-
font_weight?: number;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
settings: {
|
|
108
|
-
sdk_type?: {
|
|
109
|
-
web?: 'SEAMLESS' | 'FULL';
|
|
110
|
-
mobile?: 'SEAMLESS' | 'FULL';
|
|
111
|
-
};
|
|
112
|
-
card?: {
|
|
113
|
-
save_on_success?: boolean;
|
|
114
|
-
visualization_mode?: VisualizationMode;
|
|
115
|
-
};
|
|
116
|
-
web_sdk?: {
|
|
117
|
-
hide_pay_button?: boolean;
|
|
118
|
-
render_mode?: RenderMode;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
interface UpdateSettingsResponse extends UpdateSettings {
|
|
123
|
-
external_fonts: {
|
|
124
|
-
family_name: string;
|
|
125
|
-
files: {
|
|
126
|
-
url: string;
|
|
127
|
-
weight: number;
|
|
128
|
-
}[];
|
|
129
|
-
}[];
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export declare enum RenderMode {
|
|
133
|
-
MODAL = "MODAL",
|
|
134
|
-
UNFOLDED = "UNFOLDED"
|
|
135
|
-
}
|
|
136
|
-
export declare enum VisualizationMode {
|
|
137
|
-
ONE_STEP = "ONE_STEP",
|
|
138
|
-
STEP_BY_STEP = "STEP_BY_STEP"
|
|
139
|
-
}
|
package/build/index.d.ts
CHANGED
|
@@ -3524,6 +3524,56 @@ declare namespace AI {
|
|
|
3524
3524
|
REFUSED = "REFUSED",
|
|
3525
3525
|
FRONT_FAILED = "FRONT_FAILED"
|
|
3526
3526
|
}
|
|
3527
|
+
type CommunicationItem = {
|
|
3528
|
+
communication_id: string;
|
|
3529
|
+
order_id: string;
|
|
3530
|
+
payment_id: string;
|
|
3531
|
+
status: string;
|
|
3532
|
+
destination_phone: string | null;
|
|
3533
|
+
duration: number;
|
|
3534
|
+
country: string;
|
|
3535
|
+
channel: string;
|
|
3536
|
+
messages: number;
|
|
3537
|
+
focus: string | null;
|
|
3538
|
+
created_at: string;
|
|
3539
|
+
};
|
|
3540
|
+
type CommunicationsListResponse = {
|
|
3541
|
+
total: number;
|
|
3542
|
+
skip: number;
|
|
3543
|
+
limit: number;
|
|
3544
|
+
data: CommunicationItem[];
|
|
3545
|
+
};
|
|
3546
|
+
type CommunicationsFiltersResponse = {
|
|
3547
|
+
countries: string[];
|
|
3548
|
+
status: string[];
|
|
3549
|
+
focus: string[];
|
|
3550
|
+
};
|
|
3551
|
+
type TranscriptionMessage = {
|
|
3552
|
+
id: string;
|
|
3553
|
+
role: string;
|
|
3554
|
+
content: string | null;
|
|
3555
|
+
created_at: string;
|
|
3556
|
+
provider_status: string;
|
|
3557
|
+
status: string;
|
|
3558
|
+
content_type: string | null;
|
|
3559
|
+
media_content_type: string | null;
|
|
3560
|
+
media_url: string | null;
|
|
3561
|
+
};
|
|
3562
|
+
type CommunicationDetailsResponse = {
|
|
3563
|
+
communication_id: string;
|
|
3564
|
+
order_id: string;
|
|
3565
|
+
payment_id: string;
|
|
3566
|
+
status: string;
|
|
3567
|
+
destination_phone: string | null;
|
|
3568
|
+
duration: number;
|
|
3569
|
+
country: string;
|
|
3570
|
+
channel: string;
|
|
3571
|
+
messages: number;
|
|
3572
|
+
focus: string | null;
|
|
3573
|
+
created_at: string;
|
|
3574
|
+
summary: string;
|
|
3575
|
+
transcription: TranscriptionMessage[];
|
|
3576
|
+
};
|
|
3527
3577
|
}
|
|
3528
3578
|
|
|
3529
3579
|
type DeleteMutation = UseMutationResult<AxiosResponse<Organization.AccountOrganization, unknown>, {
|
|
@@ -3739,69 +3789,6 @@ declare namespace Styling {
|
|
|
3739
3789
|
}
|
|
3740
3790
|
export {};
|
|
3741
3791
|
}
|
|
3742
|
-
declare namespace StylingSettings {
|
|
3743
|
-
interface UpdateSettings {
|
|
3744
|
-
styles: {
|
|
3745
|
-
global?: {
|
|
3746
|
-
accent_color?: string;
|
|
3747
|
-
primary_background_color?: string;
|
|
3748
|
-
primary_text_color?: string;
|
|
3749
|
-
primary_button_text_color?: string;
|
|
3750
|
-
secondary_background_color?: string;
|
|
3751
|
-
secondary_text_color?: string;
|
|
3752
|
-
secondary_button_background_color?: string;
|
|
3753
|
-
secondary_button_text_color?: string;
|
|
3754
|
-
font_family?: string;
|
|
3755
|
-
};
|
|
3756
|
-
header?: {
|
|
3757
|
-
logo_border_size?: number;
|
|
3758
|
-
logo_border_color?: string;
|
|
3759
|
-
logo_corner_radius?: number;
|
|
3760
|
-
font_size?: number;
|
|
3761
|
-
font_weight?: number;
|
|
3762
|
-
};
|
|
3763
|
-
button?: {
|
|
3764
|
-
corner_radius?: number;
|
|
3765
|
-
border_size?: number;
|
|
3766
|
-
primary_border_color?: string;
|
|
3767
|
-
secondary_border_color?: string;
|
|
3768
|
-
font_size?: number;
|
|
3769
|
-
font_weight?: number;
|
|
3770
|
-
};
|
|
3771
|
-
};
|
|
3772
|
-
settings: {
|
|
3773
|
-
sdk_type?: {
|
|
3774
|
-
web?: 'SEAMLESS' | 'FULL';
|
|
3775
|
-
mobile?: 'SEAMLESS' | 'FULL';
|
|
3776
|
-
};
|
|
3777
|
-
card?: {
|
|
3778
|
-
save_on_success?: boolean;
|
|
3779
|
-
visualization_mode?: VisualizationMode;
|
|
3780
|
-
};
|
|
3781
|
-
web_sdk?: {
|
|
3782
|
-
hide_pay_button?: boolean;
|
|
3783
|
-
render_mode?: RenderMode;
|
|
3784
|
-
};
|
|
3785
|
-
};
|
|
3786
|
-
}
|
|
3787
|
-
interface UpdateSettingsResponse extends UpdateSettings {
|
|
3788
|
-
external_fonts: {
|
|
3789
|
-
family_name: string;
|
|
3790
|
-
files: {
|
|
3791
|
-
url: string;
|
|
3792
|
-
weight: number;
|
|
3793
|
-
}[];
|
|
3794
|
-
}[];
|
|
3795
|
-
}
|
|
3796
|
-
}
|
|
3797
|
-
declare enum RenderMode {
|
|
3798
|
-
MODAL = "MODAL",
|
|
3799
|
-
UNFOLDED = "UNFOLDED"
|
|
3800
|
-
}
|
|
3801
|
-
declare enum VisualizationMode {
|
|
3802
|
-
ONE_STEP = "ONE_STEP",
|
|
3803
|
-
STEP_BY_STEP = "STEP_BY_STEP"
|
|
3804
|
-
}
|
|
3805
3792
|
|
|
3806
3793
|
declare function useUpdateStylingTheme(): _tanstack_react_query.UseMutationResult<unknown, unknown, Styling.UpdateStylingThemeParams, unknown>;
|
|
3807
3794
|
|
|
@@ -4145,8 +4132,8 @@ declare function usePostFraudTransactions(params: GetTransactionsParams): UseQue
|
|
|
4145
4132
|
declare function useGetPayoutDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details | AxiosError>;
|
|
4146
4133
|
declare function useGetPayoutTransactionDetail(params: GetPayoutTransactionDetail): UseQueryResult;
|
|
4147
4134
|
declare function useGetPayoutHistoryDetail(params: GetPayoutDetail): UseQueryResult;
|
|
4148
|
-
declare function useGetProofOfCancel(transactionCode: string
|
|
4149
|
-
declare function useGetProofOfPayment(transactionCode: string
|
|
4135
|
+
declare function useGetProofOfCancel(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4136
|
+
declare function useGetProofOfPayment(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4150
4137
|
declare function useSendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body, options: SendPaymentNotification.Options): UseQueryResult<SendPaymentNotification.Response, AxiosError>;
|
|
4151
4138
|
|
|
4152
4139
|
declare function usePayoutsList(params: GetPaymentsParams | null): UseQueryResult<Payouts.List | AxiosError>;
|
|
@@ -4302,18 +4289,12 @@ declare const useGetNameAndIcon: ({ paymentMethodType, type }: Checkout.GetNameA
|
|
|
4302
4289
|
declare const getQueryKeyRequiredFields: ({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs) => string[];
|
|
4303
4290
|
declare const useGetRequiredFields: ({ paymentMethodType, type }: Checkout.GetRequiredFieldsArgs, option?: UseQueryOptions<Checkout.GetRequiredFieldsResponse, unknown, Checkout.GetRequiredFieldsResponse>) => UseQueryResult<Checkout.GetRequiredFieldsResponse, unknown>;
|
|
4304
4291
|
|
|
4305
|
-
declare function
|
|
4306
|
-
accountCode: string;
|
|
4307
|
-
}): _tanstack_react_query.UseQueryResult<Styling.Settings, unknown>;
|
|
4308
|
-
declare function useGetStylingSettings({ accountCode, environment, }: {
|
|
4292
|
+
declare function useGetStylingTheme({ accountCode }: {
|
|
4309
4293
|
accountCode: string;
|
|
4310
|
-
|
|
4311
|
-
}
|
|
4312
|
-
declare function useChangeStylingSettings(): _tanstack_react_query.UseMutationResult<StylingSettings.UpdateSettingsResponse, unknown, {
|
|
4294
|
+
}): _tanstack_react_query.UseQueryResult<Styling.Theme, unknown>;
|
|
4295
|
+
declare function useGetStylingSettings({ accountCode, }: {
|
|
4313
4296
|
accountCode: string;
|
|
4314
|
-
|
|
4315
|
-
payload: StylingSettings.UpdateSettings;
|
|
4316
|
-
}, unknown>;
|
|
4297
|
+
}): _tanstack_react_query.UseQueryResult<Styling.Settings, unknown>;
|
|
4317
4298
|
|
|
4318
4299
|
declare function useGetProfile(): UseQueryResult<User.UserResponsePayload, unknown>;
|
|
4319
4300
|
declare function useGetPermissions(organizationCode: any, accountCode: any): UseQueryResult<Accounts.PermissionsResponse[], unknown>;
|
|
@@ -4321,6 +4302,19 @@ declare function useEmailVerification(email: string): UseQueryResult<User.UserRe
|
|
|
4321
4302
|
declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
4322
4303
|
declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
4323
4304
|
declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
4305
|
+
declare function useCommunications(payload: {
|
|
4306
|
+
start_date: string;
|
|
4307
|
+
end_date: string;
|
|
4308
|
+
account_codes: string[];
|
|
4309
|
+
country: string[];
|
|
4310
|
+
status: string[];
|
|
4311
|
+
focus: string[];
|
|
4312
|
+
skip: number;
|
|
4313
|
+
limit: number;
|
|
4314
|
+
search_value: string;
|
|
4315
|
+
}): UseQueryResult<AI.CommunicationsListResponse, AxiosError>;
|
|
4316
|
+
declare function useCommunicationsFilters(): UseQueryResult<AI.CommunicationsFiltersResponse, AxiosError>;
|
|
4317
|
+
declare function useCommunicationDetails(communicationId: string, accountCode: string): UseQueryResult<AI.CommunicationDetailsResponse, AxiosError>;
|
|
4324
4318
|
|
|
4325
4319
|
declare function useGetNotificationsCustomer(customer: string): UseQueryResult<Notifications.NotificationsBodyResponse, unknown>;
|
|
4326
4320
|
declare function useGetValidateOpsgenieKey(key: string): UseQueryResult<{
|
|
@@ -4341,7 +4335,7 @@ declare function useGetDownloadReport(reportId: string, enabled: boolean | undef
|
|
|
4341
4335
|
}, unknown>;
|
|
4342
4336
|
declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
|
|
4343
4337
|
declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[], unknown>;
|
|
4344
|
-
declare function useGetRefundPdf(transactionCode: string
|
|
4338
|
+
declare function useGetRefundPdf(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4345
4339
|
|
|
4346
4340
|
declare function useGetTeamsFiltersMembers(): UseQueryResult<Team.TeamList[], unknown>;
|
|
4347
4341
|
declare function usePostMembersPaginatedV2({ organizationCode, accountCodes, email, page, pageSize, }: {
|
|
@@ -4768,18 +4762,9 @@ declare class Api extends HttpClient {
|
|
|
4768
4762
|
accountCode: string;
|
|
4769
4763
|
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
4770
4764
|
updateStylingTheme({ accountCode, theme, }: Styling.UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
4771
|
-
|
|
4765
|
+
getStylingSettings({ accountCode }: {
|
|
4772
4766
|
accountCode: any;
|
|
4773
4767
|
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
4774
|
-
getStylingSettings({ accountCode, environment, }: {
|
|
4775
|
-
accountCode: string;
|
|
4776
|
-
environment?: string;
|
|
4777
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4778
|
-
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
4779
|
-
accountCode: string;
|
|
4780
|
-
environment?: string;
|
|
4781
|
-
payload: StylingSettings.UpdateSettings;
|
|
4782
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4783
4768
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
4784
4769
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
4785
4770
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -4792,9 +4777,9 @@ declare class Api extends HttpClient {
|
|
|
4792
4777
|
createReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
4793
4778
|
updateReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
4794
4779
|
getReportColumns<T>(templateType: TemplateType, reportType: ReportType): Promise<any>;
|
|
4795
|
-
getRefundPdf<T>(transactionCode:
|
|
4796
|
-
getProofOfCancel<T>(transactionCode: string, organizationCode: string
|
|
4797
|
-
getProofOfPayment<T>(transactionCode: string, organizationCode: string
|
|
4780
|
+
getRefundPdf<T>(transactionCode: any, organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
4781
|
+
getProofOfCancel<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
4782
|
+
getProofOfPayment<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
4798
4783
|
getScheduledReport<T>(reportType: any): Promise<AxiosResponse<T>>;
|
|
4799
4784
|
postScheduledReport<T>(payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
4800
4785
|
updateScheduledReport<T>(reportCode: string, payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
@@ -5034,6 +5019,19 @@ declare class Api extends HttpClient {
|
|
|
5034
5019
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
5035
5020
|
getLanguages<T>(): Promise<AxiosResponse<T, any>>;
|
|
5036
5021
|
getTranslations<T>(): Promise<AxiosResponse<T, any>>;
|
|
5022
|
+
getCommunications<T>(payload: {
|
|
5023
|
+
start_date: string;
|
|
5024
|
+
end_date: string;
|
|
5025
|
+
account_codes: string[];
|
|
5026
|
+
country: string[];
|
|
5027
|
+
status: string[];
|
|
5028
|
+
focus: string[];
|
|
5029
|
+
skip: number;
|
|
5030
|
+
limit: number;
|
|
5031
|
+
search_value: string;
|
|
5032
|
+
}): Promise<AxiosResponse<T, any>>;
|
|
5033
|
+
getCommunicationsFilters<T>(): Promise<AxiosResponse<T, any>>;
|
|
5034
|
+
getCommunicationDetails<T>(communicationId: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
5037
5035
|
}
|
|
5038
5036
|
|
|
5039
5037
|
declare class ApiSingleton extends Api {
|
|
@@ -5057,5 +5055,5 @@ declare enum ApiErrorCodes {
|
|
|
5057
5055
|
ERR_BAD_REQUEST = "ERR_BAD_REQUEST"
|
|
5058
5056
|
}
|
|
5059
5057
|
|
|
5060
|
-
export { AI, Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentLinks, Payouts, Reconciliation, ReconciliationAdvancements, ReconciliationAgenda, ReconciliationAgendaInsight, ReconciliationAlerts, ReconciliationFees, ReconciliationReportType, ReconciliationSales, ReportType, Reports, RoutingMonitors, S3Client, SamlConfig, SendPaymentNotification, SmartRouting, Team, TemplateType, Translation, User, VelocityRules, Webhook, getQueryKeyGetNameAndIcon, getQueryKeyRequiredFields, queryCache, queryClient, use3DSExemptions, useAICreateWorkflow, useAllFeatureFlags, useAllowListDetail, useBlackListDetail, useCachedFeatureFlag, useCancelReport, useChangePasswordV2, useChangePaymentsWebhook, useChangeStatusBlackList, useChangeStatusItemBlackList,
|
|
5058
|
+
export { AI, Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentLinks, Payouts, Reconciliation, ReconciliationAdvancements, ReconciliationAgenda, ReconciliationAgendaInsight, ReconciliationAlerts, ReconciliationFees, ReconciliationReportType, ReconciliationSales, ReportType, Reports, RoutingMonitors, S3Client, SamlConfig, SendPaymentNotification, SmartRouting, Team, TemplateType, Translation, User, VelocityRules, Webhook, getQueryKeyGetNameAndIcon, getQueryKeyRequiredFields, queryCache, queryClient, use3DSExemptions, useAICreateWorkflow, useAllFeatureFlags, useAllowListDetail, useBlackListDetail, useCachedFeatureFlag, useCancelReport, useChangePasswordV2, useChangePaymentsWebhook, useChangeStatusBlackList, useChangeStatusItemBlackList, useChargebacksUpload, useChartExecute, useCommunicationDetails, useCommunications, useCommunicationsFilters, useConfirmedOtpMfa, useCountRowsForReport, useCreateAndExecuteChart, useCreateChart, useCreateMonitorTemplate, useCreateMonitorThreshold, useCreateOperationTransaction, useCreatePaymentLinks, useCreateReconciliationAlert, useCreateReconciliationReportTemplate, useCreateReconciliationsReportV2, useCreateReportTemplate, useCreateReportV2, useCreateRoles, useCreateSamlConfig, useCreateScheduledReport, useCreateUserAuth0, useCreateWorkflow, useDeleteAccountsUserMassive, useDeleteAllowlistItem, useDeleteBlackListType, useDeleteBlockListItem, useDeleteChart, useDeleteCustomizedApiKeys, useDeletePaymentLink, useDeleteReconciliationAlert, useDeleteRoles, useDeleteSamlConfig, useDeleteScheduledReport, useDeleteUserTeamV2, useDeleteVersion, useDeleteWebhookV2, useDuplicateVersion, useEditPaymentLinks, useEditRoles, useEmailVerification, useExcludeUsers, useFeatureFlags, useFirebaseUserSubscribe, useGenerateFeedback, useGetAccounts, useGetAccountsByUser, useGetAccountsV2, useGetAllConfigRules, useGetAllOrganizations, useGetAllReconciliationsAdvancements, useGetAllReconciliationsAgenda, useGetAllReconciliationsAlerts, useGetAllReconciliationsFees, useGetAllReconciliationsSales, useGetAllTableColumns, useGetAllowedIps, useGetAuditEvents, useGetAuditLogsFilters, useGetAuditMonitorEventDetail, useGetBatchRefundProcessedFileDownload, useGetBatchRefundUserFileDownload, useGetBatchRefunds, useGetBlackList, useGetBlockListSummary, useGetCardBrands, useGetChartsByUser, useGetChartsByUserWithResults, useGetCheckoutTemplate, useGetCheckouts, useGetConditionalConfigRules, useGetConfigAllowlist, useGetConnections, useGetConnectionsByPaymentMethod, useGetCountriesConfigPaymentLink, useGetCountriesConfigPaymentLinkV2, useGetCredentials, useGetCredentialsMFA, useGetCustomizedApiKeys, useGetCustomizedApiKeysAccounts, useGetCustomizedApiKeysMembers, useGetCustomizedApiKeysProducts, useGetCustomizedApiKeysToken, useGetDashboardStaticContents, useGetDialogs, useGetDownloadReport, useGetEmailOtp, useGetHashPylon, useGetImpersonationEnabled, useGetImpersonationUsers, useGetInsightsReport, useGetInsightsReportAgain, useGetIntegrationByAccountV2, useGetIntegrationParams, useGetLanguages, useGetLocales, useGetLoginMethods, useGetMFAConfig, useGetMFAExcludedUsers, useGetMFAStatus, useGetMenu, useGetMergedNotifications, useGetNameAndIcon, useGetNotificationsCustomer, useGetNotificationsNumberMutation, useGetOrganization, useGetPaymentFilters, useGetPaymentLinkByCode, useGetPaymentLinks, useGetPaymentMethodsAndProviders, useGetPaymentMetricsFilters, useGetPaymentStatusesStyles, useGetPaymentTransactionsDetails, useGetPaymentV2, useGetPaymentsMethodsByCountry, useGetPayoutDetail, useGetPayoutHistoryDetail, useGetPayoutTransactionDetail, useGetPermissions, useGetPermissionsCatalog, useGetProfile, useGetProofOfCancel, useGetProofOfPayment, useGetProviderParams, useGetReconciliationActive, useGetReconciliationAgendaInsightsByKey, useGetReconciliationFilters, useGetReconciliationMetrics, useGetReconciliationTransactionStatusesStyles, useGetReconciliationTransactions, useGetReconciliationsReportColumns, useGetReconciliationsReportTemplates, useGetRefundPdf, useGetReportColumns, useGetReportTemplates, useGetReportsList, useGetReportsListMultiEnv, useGetRequiredFields, useGetRoles, useGetRolesPermissions, useGetRoutingMonitorsTemplate, useGetRoutingMonitorsTemplates, useGetRule, useGetSamlConfig, useGetScheduledReportsList, useGetSettlements, useGetSmartRoutingConditionPaymentMethod, useGetSmartRoutingConditionTypes, useGetSmartRoutingConditionTypesValues, useGetSmartRoutingDataReport, useGetSmartRoutingDeclineGroups, useGetSmartRoutingMethods, useGetSmartRoutingNextRoute, useGetSmartRoutingPaymentRoute, useGetSmartRoutingSearchConditionValues, useGetSmartRoutingSimulateConditionTypeValues, useGetSmartRoutingWorkflow, useGetSmartRoutingWorkflowVersion, useGetStylingSettings, useGetStylingTheme, useGetTeamsFiltersMembers, useGetTimeZoneCatalog, useGetTimezonePaymentLink, useGetTokenValidation, useGetTransactionDetailsV2, useGetTransactionHistoryByPaymentCode, useGetTransactionRawResponse, useGetTransactionStatusesStyles, useGetTranslations, useGetValidateOpsgenieKey, useGetWebhookParamsV2, useGetWebhooksV2Detail, useGetWebhooksV3, useInsights3dsConversionRateAndEvolution, useInsights3dsDeclineReasons, useInsights3dsFrictionlessVsChallenge, useInsights3dsVolumeAndCountTx, useInsightsChargebacksByCardBrand, useInsightsChargebacksByProviderAndCardBrand, useInsightsChargebacksDisputed, useInsightsChargebacksReasonsDistribution, useInsightsChargebacksStatusDistribution, useInsightsChargebacksVolumeAndCountTx, useInsightsChargebacksWinRate, useInsightsConversionRateMetricsV2, useInsightsCustomerPaymentsAndFraudMetrics, useInsightsFallbackMetrics, useInsightsFraudScreeningConversionRate, useInsightsFraudScreeningVolumeAndCountTx, useInsightsHomeMetrics, useInsightsOverviewMetrics, useInsightsOverviewMetricsV3, useInsightsTotalPaymentsAndFraudMetrics, useInsightsVolumeMetrics, useInsightsVolumeMetricsV2, useInviteUsersMultiaccountMassive, useIsTesting, useLoginMethods, useNewPostConnectionValidate, usePatchAccountV2, usePatchAddAllowlistItems, usePatchAllowedIps, usePatchAllowlist, usePatchAndExecuteChart, usePatchApiKeysEditNote, usePatchChangeStatusAllowlist, usePatchChangeStatusAllowlistItem, usePatchChartName, usePatchConnection, usePathCreateCustomizedApiKeys, usePathNotifications, usePayoutsFilters, usePayoutsList, usePostAccount, usePostAllowlistMultiAccount, usePostApiKeysRoll, usePostAuditMonitors, usePostBatchRefundByFile, usePostBlackListBatch, usePostBlackListItems, usePostBlackListMultiAccount, usePostBlockList, usePostCall, usePostChangeStatusConnection, usePostConnectionMultiAccount, usePostCreateAllowlistMultiAccount, usePostCreateCustomizedApiKeys, usePostCreateInsightsReport, usePostCreateRuleMultiAccount, usePostCredentialsValidatePassword, usePostDefaultRoutes, usePostEditRule, usePostFraudTransactions, usePostGetAllowlistItems, usePostGetAllowlistMultiAccount, usePostMembersPaginatedV2, usePostPaymentsEvaluated, usePostPaymentsLazy, usePostSlackMessageChannel, usePostTransactions, usePostUserSettings, usePostUserSettingsPinned, usePostUserSettingsTables, usePostUserThemeSettings, usePostValideStatusConnection, usePostVelocityRules, usePostWebhookMultiAccount, useProviderConversionRatesData, usePublishVersion, usePutAccountPrincipal, usePutAccountsUserMassive, usePutBlackListType, usePutCosts, useSaveVersion, useSendPaymentNotification, useSetCustodian, useSmartRoutingCreateDeclinedGroup, useSmartRoutingEditWorkflowName, useSmartRoutingMultiAccountDeclinedGroupCreate, useSmartRoutingRemoveDeclinedGroup, useSmartRoutingSimulateTransaction, useSmartRoutingToggleFavorite, useSmartRoutingUpdateDeclinedGroup, useSmartRoutingUpdateMonitorRedistribution, useToggleMethod, useUnInviteUsersV2, useUnrollUserV2, useUpdateCheckoutTemplate, useUpdateIsActiveCheckout, useUpdateMFAConfig, useUpdateOrganizationStatus, useUpdateProfile, useUpdateReconciliationAlert, useUpdateReconciliationReportTemplate, useUpdateReportTemplate, useUpdateSamlConfig, useUpdateScheduledReport, useUpdateStylingTheme, useUpdateWebhookV2, useUploadBatchRefundsFileV2, useUploadBatchRefundsV2, useUploadFileS3ClientBatchRefunds, useValiateAllowlistItems, useValidateBlockListItems, useValidateCredentials, useValidateOrgName, useValidatePasswordStatus, useViewMoreMetrics };
|
|
5061
5059
|
export type { AccountRoles, AllowlistMultiAccount, BFFErrorResponse, Blacklist, ChangePaymentsWebhook, ChargebacksCount, ChargebacksVolume, ChartGPTChart, ChartGPTChartWithResults, ChartGPTExecuteResponse, ChartGPTResult, Condition, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds, ConversionRateParams, ConversionRatePeriodicityRecord, Cost, CostPayload, Countries, CreateAndExecuteChartPayload, CreateAndExecuteChartResult, CreateChartGPTChartPayload, CreateChartGPTChartResponse, ErrorChartGPTResponse, ErrorProp, ErrorRoutingAIResponse, ErrorRoutingAIResponseData, FeatureFlagsResult, FirebaseUserSubscribe, Fraud3dsCount, Fraud3dsVolume, FraudScreeningCount, FraudScreeningVolume, GetApiLogsParams, GetPaymentMethodsByProviderParams, GetPaymentParams, GetPaymentTransactionsParams, GetPaymentsEvaluatedParams, GetPaymentsParams, GetPayoutDetail, GetPayoutTransactionDetail, GetReconciliationMetricParams, GetTransactionDetailsParams, GetTransactionDetailsV2Params, GetTransactionsParams, IChangePassword, ICreateReportsRequest, IKeyRoll, IListScheduledReportsResponse, InsightMetricParams, Insights3dsConversionRate, Insights3dsDeclineReasons, Insights3dsFrictionlessVsChallenge, Insights3dsResumeResponse, InsightsChargebacksByCardBrand, InsightsChargebacksByProviderAndCardBrand, InsightsChargebacksByReason, InsightsChargebacksDisputed, InsightsChargebacksResumeResponse, InsightsChargebacksStatusDistribution, InsightsChargebacksWinRate, InsightsFraudBody, InsightsFraudConversionRateResponse, InsightsFraudParams, InsightsFraudScreeningResumeResponse, MfaUserPayload, MfaUserSubscribe, PatchAndExecuteChartResult, PatchChartGPTChartPayload, PatchChartGPTPayload, PathNotification, PaymentMethodStyled, PaymentsSettings, PeriodicityRecord, PinnedSections, PostBlackList, ProviderStyled, ReconAgendaProps, RefundPdfResponse, ThemeSettings, TimeZoneCatalog, TotalTimeline, TransactionHistory, UseGetAllReconciliationsAdvancementsProps, UseGetAllReconciliationsAlertsProps, UseGetAllReconciliationsFeesProps, UseGetAllReconciliationsSalesProps, UserInviteMultiaccountPayload };
|