@yuno-payments/dashboard-api-mfe 0.36.26 → 0.36.27
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 +13 -8
- package/build/cjs/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/cjs/types/mutations/checkouts/index.d.ts +0 -1
- package/build/cjs/types/queries/checkouts/checkouts.query.d.ts +1 -1
- package/build/cjs/types/queries/checkouts/styling/styling.query.d.ts +11 -4
- package/build/cjs/types/types/checkout/styling/styling.d.ts +63 -8
- package/build/esm/index.js +3 -3
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +13 -8
- package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/esm/types/mutations/checkouts/index.d.ts +0 -1
- package/build/esm/types/queries/checkouts/checkouts.query.d.ts +1 -1
- package/build/esm/types/queries/checkouts/styling/styling.query.d.ts +11 -4
- package/build/esm/types/types/checkout/styling/styling.d.ts +63 -8
- package/build/index.d.ts +157 -93
- package/package.json +1 -1
- package/build/cjs/types/mutations/checkouts/styling/styling.mutation.d.ts +0 -2
- package/build/esm/types/mutations/checkouts/styling/styling.mutation.d.ts +0 -2
|
@@ -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 } from '../types/checkout/styling/styling';
|
|
11
|
+
import { Styling, StylingSettings } from '../types/checkout/styling/styling';
|
|
12
12
|
import { FeatureFlags } from '../types/feature-flags/intex';
|
|
13
13
|
import { FeatureFlagsResult } from '../queries';
|
|
14
14
|
interface S3Payload {
|
|
@@ -194,7 +194,7 @@ export declare class Api extends HttpClient {
|
|
|
194
194
|
accountCode: any;
|
|
195
195
|
}): Promise<AxiosResponse<Checkout.CheckoutList[]>>;
|
|
196
196
|
/**
|
|
197
|
-
* @deprecated since v0.28.6. Use
|
|
197
|
+
* @deprecated since v0.28.6. Use getStylingSettings instead
|
|
198
198
|
*/
|
|
199
199
|
getCheckoutTemplate<T>({ accountCode }: {
|
|
200
200
|
accountCode: any;
|
|
@@ -202,20 +202,25 @@ export declare class Api extends HttpClient {
|
|
|
202
202
|
getNameAndIcon({ paymentMethodType, type, }: Checkout.GetNameAndIconArgs): Promise<AxiosResponse<Checkout.GetNameAndIconResponse>>;
|
|
203
203
|
getRequiredFields({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs): Promise<AxiosResponse<Checkout.GetRequiredFieldsResponse>>;
|
|
204
204
|
/**
|
|
205
|
-
* @deprecated since v0.28.6. Use
|
|
205
|
+
* @deprecated since v0.28.6. Use changeStylingSettings instead
|
|
206
206
|
*/
|
|
207
207
|
updateCheckoutTemplate<T>({ accountCode, template, }: {
|
|
208
208
|
accountCode: any;
|
|
209
209
|
template: any;
|
|
210
210
|
}): Promise<AxiosResponse<T>>;
|
|
211
211
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
212
|
-
|
|
213
|
-
accountCode: string;
|
|
214
|
-
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
215
|
-
updateStylingTheme({ accountCode, theme, }: Styling.UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
216
|
-
getStylingSettings({ accountCode }: {
|
|
212
|
+
getStylingSdkDynamic({ accountCode }: {
|
|
217
213
|
accountCode: any;
|
|
218
214
|
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
215
|
+
getStylingSettings({ accountCode, environment, }: {
|
|
216
|
+
accountCode: string;
|
|
217
|
+
environment?: string;
|
|
218
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
219
|
+
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
220
|
+
accountCode: string;
|
|
221
|
+
environment?: string;
|
|
222
|
+
payload: StylingSettings.UpdateSettings;
|
|
223
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
219
224
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
220
225
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
221
226
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -3,7 +3,7 @@ import { Checkout } from '../../types';
|
|
|
3
3
|
import { AxiosResponse } from 'axios';
|
|
4
4
|
export declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): import("@tanstack/react-query").UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated since version 0.28.6. use
|
|
6
|
+
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
7
7
|
*/
|
|
8
8
|
export declare function useUpdateCheckoutTemplate(): import("@tanstack/react-query").UseMutationResult<Checkout.CheckoutList, unknown, {
|
|
9
9
|
accountCode: string;
|
|
@@ -4,7 +4,7 @@ export declare function useGetCheckouts({ accountCode }: {
|
|
|
4
4
|
accountCode: any;
|
|
5
5
|
}): UseQueryResult<Checkout.CheckoutList[], unknown>;
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated since version 0.28.6. use
|
|
7
|
+
* @deprecated since version 0.28.6. use useGetStylingSettings instead
|
|
8
8
|
*/
|
|
9
9
|
export declare function useGetCheckoutTemplate({ accountCode, }: {
|
|
10
10
|
accountCode: any;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}): import("@tanstack/react-query").UseQueryResult<import("../../../types/checkout/styling/styling").Styling.Theme, unknown>;
|
|
4
|
-
export declare function useGetStylingSettings({ accountCode, }: {
|
|
1
|
+
import { StylingSettings } from '../../../types/checkout/styling/styling';
|
|
2
|
+
export declare function useGetStylingSdkDynamic({ accountCode, }: {
|
|
5
3
|
accountCode: string;
|
|
6
4
|
}): import("@tanstack/react-query").UseQueryResult<import("../../../types/checkout/styling/styling").Styling.Settings, unknown>;
|
|
5
|
+
export declare function useGetStylingSettings({ accountCode, environment, }: {
|
|
6
|
+
accountCode: string;
|
|
7
|
+
environment?: string;
|
|
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>;
|
|
@@ -61,16 +61,71 @@ export declare namespace Styling {
|
|
|
61
61
|
account_code: string;
|
|
62
62
|
sections: Sections;
|
|
63
63
|
}
|
|
64
|
-
interface ThemeWithPartialSections {
|
|
65
|
-
account_code: string;
|
|
66
|
-
sections: Partial<Sections>;
|
|
67
|
-
}
|
|
68
|
-
export interface UpdateStylingThemeParams {
|
|
69
|
-
accountCode: string;
|
|
70
|
-
theme: ThemeWithPartialSections;
|
|
71
|
-
}
|
|
72
64
|
export interface Settings {
|
|
73
65
|
sdk_dynamic: boolean;
|
|
74
66
|
}
|
|
75
67
|
export {};
|
|
76
68
|
}
|
|
69
|
+
export declare namespace StylingSettings {
|
|
70
|
+
interface UpdateSettings {
|
|
71
|
+
styles: {
|
|
72
|
+
global?: {
|
|
73
|
+
accent_color?: string;
|
|
74
|
+
primary_background_color?: string;
|
|
75
|
+
primary_text_color?: string;
|
|
76
|
+
primary_button_text_color?: string;
|
|
77
|
+
secondary_background_color?: string;
|
|
78
|
+
secondary_text_color?: string;
|
|
79
|
+
secondary_button_background_color?: string;
|
|
80
|
+
secondary_button_text_color?: string;
|
|
81
|
+
font_family?: string;
|
|
82
|
+
};
|
|
83
|
+
header?: {
|
|
84
|
+
logo_border_size?: number;
|
|
85
|
+
logo_border_color?: string;
|
|
86
|
+
logo_corner_radius?: number;
|
|
87
|
+
font_size?: number;
|
|
88
|
+
font_weight?: number;
|
|
89
|
+
};
|
|
90
|
+
button?: {
|
|
91
|
+
corner_radius?: number;
|
|
92
|
+
border_size?: number;
|
|
93
|
+
primary_border_color?: string;
|
|
94
|
+
secondary_border_color?: string;
|
|
95
|
+
font_size?: number;
|
|
96
|
+
font_weight?: number;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
settings: {
|
|
100
|
+
sdk_type?: {
|
|
101
|
+
web?: 'SEAMLESS' | 'FULL';
|
|
102
|
+
mobile?: 'SEAMLESS' | 'FULL';
|
|
103
|
+
};
|
|
104
|
+
card?: {
|
|
105
|
+
save_on_success?: boolean;
|
|
106
|
+
visualization_mode?: VisualizationMode;
|
|
107
|
+
};
|
|
108
|
+
web_sdk?: {
|
|
109
|
+
hide_pay_button?: boolean;
|
|
110
|
+
render_mode?: RenderMode;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
interface UpdateSettingsResponse extends UpdateSettings {
|
|
115
|
+
external_fonts: {
|
|
116
|
+
family_name: string;
|
|
117
|
+
files: {
|
|
118
|
+
url: string;
|
|
119
|
+
weight: number;
|
|
120
|
+
}[];
|
|
121
|
+
}[];
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
export declare enum RenderMode {
|
|
125
|
+
MODAL = "MODAL",
|
|
126
|
+
UNFOLDED = "UNFOLDED"
|
|
127
|
+
}
|
|
128
|
+
export declare enum VisualizationMode {
|
|
129
|
+
ONE_STEP = "ONE_STEP",
|
|
130
|
+
STEP_BY_STEP = "STEP_BY_STEP"
|
|
131
|
+
}
|
package/build/index.d.ts
CHANGED
|
@@ -3673,92 +3673,13 @@ declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axio
|
|
|
3673
3673
|
|
|
3674
3674
|
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
3675
3675
|
/**
|
|
3676
|
-
* @deprecated since version 0.28.6. use
|
|
3676
|
+
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
3677
3677
|
*/
|
|
3678
3678
|
declare function useUpdateCheckoutTemplate(): _tanstack_react_query.UseMutationResult<Checkout.CheckoutList, unknown, {
|
|
3679
3679
|
accountCode: string;
|
|
3680
3680
|
template: Record<string, string>;
|
|
3681
3681
|
}, unknown>;
|
|
3682
3682
|
|
|
3683
|
-
declare namespace Styling {
|
|
3684
|
-
type Mode = 'default';
|
|
3685
|
-
interface Spacing {
|
|
3686
|
-
top: number;
|
|
3687
|
-
right: number;
|
|
3688
|
-
bottom: number;
|
|
3689
|
-
left: number;
|
|
3690
|
-
}
|
|
3691
|
-
interface BorderRadius {
|
|
3692
|
-
top_left: number;
|
|
3693
|
-
top_right: number;
|
|
3694
|
-
bottom_right: number;
|
|
3695
|
-
bottom_left: number;
|
|
3696
|
-
}
|
|
3697
|
-
interface Decorator {
|
|
3698
|
-
hover: StyleProps;
|
|
3699
|
-
disabled: StyleProps;
|
|
3700
|
-
focused: StyleProps;
|
|
3701
|
-
error: StyleProps;
|
|
3702
|
-
}
|
|
3703
|
-
type StyleProps = {
|
|
3704
|
-
color: string;
|
|
3705
|
-
font_family: string;
|
|
3706
|
-
font_size: number;
|
|
3707
|
-
font_weight: string | number;
|
|
3708
|
-
line_height: number;
|
|
3709
|
-
padding: Spacing;
|
|
3710
|
-
margin: Spacing;
|
|
3711
|
-
background_color: string;
|
|
3712
|
-
border_radius: BorderRadius;
|
|
3713
|
-
decorator: Decorator;
|
|
3714
|
-
text_align: string;
|
|
3715
|
-
width: number;
|
|
3716
|
-
height: number;
|
|
3717
|
-
weight: number;
|
|
3718
|
-
border_color: string;
|
|
3719
|
-
border_style: string;
|
|
3720
|
-
border_width: number;
|
|
3721
|
-
};
|
|
3722
|
-
type Style = {
|
|
3723
|
-
props: StyleProps;
|
|
3724
|
-
ref: string;
|
|
3725
|
-
};
|
|
3726
|
-
type Variables = {
|
|
3727
|
-
color_primary: string;
|
|
3728
|
-
background_color: string;
|
|
3729
|
-
};
|
|
3730
|
-
interface Section {
|
|
3731
|
-
mode: Mode;
|
|
3732
|
-
variables?: Variables;
|
|
3733
|
-
styles: Style[];
|
|
3734
|
-
}
|
|
3735
|
-
interface Sections {
|
|
3736
|
-
general: Section;
|
|
3737
|
-
pm_list: Section;
|
|
3738
|
-
apm: Section;
|
|
3739
|
-
card_one_step: Section;
|
|
3740
|
-
card_step_by_step: Section;
|
|
3741
|
-
}
|
|
3742
|
-
export interface Theme {
|
|
3743
|
-
account_code: string;
|
|
3744
|
-
sections: Sections;
|
|
3745
|
-
}
|
|
3746
|
-
interface ThemeWithPartialSections {
|
|
3747
|
-
account_code: string;
|
|
3748
|
-
sections: Partial<Sections>;
|
|
3749
|
-
}
|
|
3750
|
-
export interface UpdateStylingThemeParams {
|
|
3751
|
-
accountCode: string;
|
|
3752
|
-
theme: ThemeWithPartialSections;
|
|
3753
|
-
}
|
|
3754
|
-
export interface Settings {
|
|
3755
|
-
sdk_dynamic: boolean;
|
|
3756
|
-
}
|
|
3757
|
-
export {};
|
|
3758
|
-
}
|
|
3759
|
-
|
|
3760
|
-
declare function useUpdateStylingTheme(): _tanstack_react_query.UseMutationResult<unknown, unknown, Styling.UpdateStylingThemeParams, unknown>;
|
|
3761
|
-
|
|
3762
3683
|
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
3763
3684
|
payload: OperationTransaction.Request;
|
|
3764
3685
|
transactionId: string;
|
|
@@ -4246,7 +4167,7 @@ declare function useGetCheckouts({ accountCode }: {
|
|
|
4246
4167
|
accountCode: any;
|
|
4247
4168
|
}): UseQueryResult<Checkout.CheckoutList[], unknown>;
|
|
4248
4169
|
/**
|
|
4249
|
-
* @deprecated since version 0.28.6. use
|
|
4170
|
+
* @deprecated since version 0.28.6. use useGetStylingSettings instead
|
|
4250
4171
|
*/
|
|
4251
4172
|
declare function useGetCheckoutTemplate({ accountCode, }: {
|
|
4252
4173
|
accountCode: any;
|
|
@@ -4256,12 +4177,150 @@ declare const useGetNameAndIcon: ({ paymentMethodType, type }: Checkout.GetNameA
|
|
|
4256
4177
|
declare const getQueryKeyRequiredFields: ({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs) => string[];
|
|
4257
4178
|
declare const useGetRequiredFields: ({ paymentMethodType, type }: Checkout.GetRequiredFieldsArgs, option?: UseQueryOptions<Checkout.GetRequiredFieldsResponse, unknown, Checkout.GetRequiredFieldsResponse>) => UseQueryResult<Checkout.GetRequiredFieldsResponse, unknown>;
|
|
4258
4179
|
|
|
4259
|
-
declare
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4180
|
+
declare namespace Styling {
|
|
4181
|
+
type Mode = 'default';
|
|
4182
|
+
interface Spacing {
|
|
4183
|
+
top: number;
|
|
4184
|
+
right: number;
|
|
4185
|
+
bottom: number;
|
|
4186
|
+
left: number;
|
|
4187
|
+
}
|
|
4188
|
+
interface BorderRadius {
|
|
4189
|
+
top_left: number;
|
|
4190
|
+
top_right: number;
|
|
4191
|
+
bottom_right: number;
|
|
4192
|
+
bottom_left: number;
|
|
4193
|
+
}
|
|
4194
|
+
interface Decorator {
|
|
4195
|
+
hover: StyleProps;
|
|
4196
|
+
disabled: StyleProps;
|
|
4197
|
+
focused: StyleProps;
|
|
4198
|
+
error: StyleProps;
|
|
4199
|
+
}
|
|
4200
|
+
type StyleProps = {
|
|
4201
|
+
color: string;
|
|
4202
|
+
font_family: string;
|
|
4203
|
+
font_size: number;
|
|
4204
|
+
font_weight: string | number;
|
|
4205
|
+
line_height: number;
|
|
4206
|
+
padding: Spacing;
|
|
4207
|
+
margin: Spacing;
|
|
4208
|
+
background_color: string;
|
|
4209
|
+
border_radius: BorderRadius;
|
|
4210
|
+
decorator: Decorator;
|
|
4211
|
+
text_align: string;
|
|
4212
|
+
width: number;
|
|
4213
|
+
height: number;
|
|
4214
|
+
weight: number;
|
|
4215
|
+
border_color: string;
|
|
4216
|
+
border_style: string;
|
|
4217
|
+
border_width: number;
|
|
4218
|
+
};
|
|
4219
|
+
type Style = {
|
|
4220
|
+
props: StyleProps;
|
|
4221
|
+
ref: string;
|
|
4222
|
+
};
|
|
4223
|
+
type Variables = {
|
|
4224
|
+
color_primary: string;
|
|
4225
|
+
background_color: string;
|
|
4226
|
+
};
|
|
4227
|
+
interface Section {
|
|
4228
|
+
mode: Mode;
|
|
4229
|
+
variables?: Variables;
|
|
4230
|
+
styles: Style[];
|
|
4231
|
+
}
|
|
4232
|
+
interface Sections {
|
|
4233
|
+
general: Section;
|
|
4234
|
+
pm_list: Section;
|
|
4235
|
+
apm: Section;
|
|
4236
|
+
card_one_step: Section;
|
|
4237
|
+
card_step_by_step: Section;
|
|
4238
|
+
}
|
|
4239
|
+
export interface Theme {
|
|
4240
|
+
account_code: string;
|
|
4241
|
+
sections: Sections;
|
|
4242
|
+
}
|
|
4243
|
+
export interface Settings {
|
|
4244
|
+
sdk_dynamic: boolean;
|
|
4245
|
+
}
|
|
4246
|
+
export {};
|
|
4247
|
+
}
|
|
4248
|
+
declare namespace StylingSettings {
|
|
4249
|
+
interface UpdateSettings {
|
|
4250
|
+
styles: {
|
|
4251
|
+
global?: {
|
|
4252
|
+
accent_color?: string;
|
|
4253
|
+
primary_background_color?: string;
|
|
4254
|
+
primary_text_color?: string;
|
|
4255
|
+
primary_button_text_color?: string;
|
|
4256
|
+
secondary_background_color?: string;
|
|
4257
|
+
secondary_text_color?: string;
|
|
4258
|
+
secondary_button_background_color?: string;
|
|
4259
|
+
secondary_button_text_color?: string;
|
|
4260
|
+
font_family?: string;
|
|
4261
|
+
};
|
|
4262
|
+
header?: {
|
|
4263
|
+
logo_border_size?: number;
|
|
4264
|
+
logo_border_color?: string;
|
|
4265
|
+
logo_corner_radius?: number;
|
|
4266
|
+
font_size?: number;
|
|
4267
|
+
font_weight?: number;
|
|
4268
|
+
};
|
|
4269
|
+
button?: {
|
|
4270
|
+
corner_radius?: number;
|
|
4271
|
+
border_size?: number;
|
|
4272
|
+
primary_border_color?: string;
|
|
4273
|
+
secondary_border_color?: string;
|
|
4274
|
+
font_size?: number;
|
|
4275
|
+
font_weight?: number;
|
|
4276
|
+
};
|
|
4277
|
+
};
|
|
4278
|
+
settings: {
|
|
4279
|
+
sdk_type?: {
|
|
4280
|
+
web?: 'SEAMLESS' | 'FULL';
|
|
4281
|
+
mobile?: 'SEAMLESS' | 'FULL';
|
|
4282
|
+
};
|
|
4283
|
+
card?: {
|
|
4284
|
+
save_on_success?: boolean;
|
|
4285
|
+
visualization_mode?: VisualizationMode;
|
|
4286
|
+
};
|
|
4287
|
+
web_sdk?: {
|
|
4288
|
+
hide_pay_button?: boolean;
|
|
4289
|
+
render_mode?: RenderMode;
|
|
4290
|
+
};
|
|
4291
|
+
};
|
|
4292
|
+
}
|
|
4293
|
+
interface UpdateSettingsResponse extends UpdateSettings {
|
|
4294
|
+
external_fonts: {
|
|
4295
|
+
family_name: string;
|
|
4296
|
+
files: {
|
|
4297
|
+
url: string;
|
|
4298
|
+
weight: number;
|
|
4299
|
+
}[];
|
|
4300
|
+
}[];
|
|
4301
|
+
}
|
|
4302
|
+
}
|
|
4303
|
+
declare enum RenderMode {
|
|
4304
|
+
MODAL = "MODAL",
|
|
4305
|
+
UNFOLDED = "UNFOLDED"
|
|
4306
|
+
}
|
|
4307
|
+
declare enum VisualizationMode {
|
|
4308
|
+
ONE_STEP = "ONE_STEP",
|
|
4309
|
+
STEP_BY_STEP = "STEP_BY_STEP"
|
|
4310
|
+
}
|
|
4311
|
+
|
|
4312
|
+
declare function useGetStylingSdkDynamic({ accountCode, }: {
|
|
4263
4313
|
accountCode: string;
|
|
4264
4314
|
}): _tanstack_react_query.UseQueryResult<Styling.Settings, unknown>;
|
|
4315
|
+
declare function useGetStylingSettings({ accountCode, environment, }: {
|
|
4316
|
+
accountCode: string;
|
|
4317
|
+
environment?: string;
|
|
4318
|
+
}): _tanstack_react_query.UseQueryResult<StylingSettings.UpdateSettingsResponse, unknown>;
|
|
4319
|
+
declare function useChangeStylingSettings(): _tanstack_react_query.UseMutationResult<StylingSettings.UpdateSettingsResponse, unknown, {
|
|
4320
|
+
accountCode: string;
|
|
4321
|
+
environment?: string | undefined;
|
|
4322
|
+
payload: StylingSettings.UpdateSettings;
|
|
4323
|
+
}, unknown>;
|
|
4265
4324
|
|
|
4266
4325
|
declare function useGetProfile(): UseQueryResult<User.UserResponsePayload, unknown>;
|
|
4267
4326
|
declare function useGetPermissions(organizationCode: any, accountCode: any): UseQueryResult<Accounts.PermissionsResponse[], unknown>;
|
|
@@ -4697,7 +4756,7 @@ declare class Api extends HttpClient {
|
|
|
4697
4756
|
accountCode: any;
|
|
4698
4757
|
}): Promise<AxiosResponse<Checkout.CheckoutList[]>>;
|
|
4699
4758
|
/**
|
|
4700
|
-
* @deprecated since v0.28.6. Use
|
|
4759
|
+
* @deprecated since v0.28.6. Use getStylingSettings instead
|
|
4701
4760
|
*/
|
|
4702
4761
|
getCheckoutTemplate<T>({ accountCode }: {
|
|
4703
4762
|
accountCode: any;
|
|
@@ -4705,20 +4764,25 @@ declare class Api extends HttpClient {
|
|
|
4705
4764
|
getNameAndIcon({ paymentMethodType, type, }: Checkout.GetNameAndIconArgs): Promise<AxiosResponse<Checkout.GetNameAndIconResponse>>;
|
|
4706
4765
|
getRequiredFields({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs): Promise<AxiosResponse<Checkout.GetRequiredFieldsResponse>>;
|
|
4707
4766
|
/**
|
|
4708
|
-
* @deprecated since v0.28.6. Use
|
|
4767
|
+
* @deprecated since v0.28.6. Use changeStylingSettings instead
|
|
4709
4768
|
*/
|
|
4710
4769
|
updateCheckoutTemplate<T>({ accountCode, template, }: {
|
|
4711
4770
|
accountCode: any;
|
|
4712
4771
|
template: any;
|
|
4713
4772
|
}): Promise<AxiosResponse<T>>;
|
|
4714
4773
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
4715
|
-
|
|
4716
|
-
accountCode: string;
|
|
4717
|
-
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
4718
|
-
updateStylingTheme({ accountCode, theme, }: Styling.UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
4719
|
-
getStylingSettings({ accountCode }: {
|
|
4774
|
+
getStylingSdkDynamic({ accountCode }: {
|
|
4720
4775
|
accountCode: any;
|
|
4721
4776
|
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
4777
|
+
getStylingSettings({ accountCode, environment, }: {
|
|
4778
|
+
accountCode: string;
|
|
4779
|
+
environment?: string;
|
|
4780
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4781
|
+
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
4782
|
+
accountCode: string;
|
|
4783
|
+
environment?: string;
|
|
4784
|
+
payload: StylingSettings.UpdateSettings;
|
|
4785
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4722
4786
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
4723
4787
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
4724
4788
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -4996,5 +5060,5 @@ declare enum ApiErrorCodes {
|
|
|
4996
5060
|
ERR_BAD_REQUEST = "ERR_BAD_REQUEST"
|
|
4997
5061
|
}
|
|
4998
5062
|
|
|
4999
|
-
export { AI, Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentFiltersSection, 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, 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,
|
|
5063
|
+
export { AI, Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentFiltersSection, 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, useChangeStylingSettings, useChargebacksUpload, useChartExecute, 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, useGetStylingSdkDynamic, useGetStylingSettings, 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, useUpdateWebhookV2, useUploadBatchRefundsFileV2, useUploadBatchRefundsV2, useUploadFileS3ClientBatchRefunds, useValiateAllowlistItems, useValidateBlockListItems, useValidateCredentials, useValidateOrgName, useValidatePasswordStatus, useViewMoreMetrics };
|
|
5000
5064
|
export type { AccountRoles, AllowlistMultiAccount, BFFErrorResponse, Blacklist, CentralizedColumn, 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 };
|
package/package.json
CHANGED