@yuno-payments/dashboard-api-mfe 0.36.30 → 0.36.31-CORECM-12234.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 +1 -1
- package/build/cjs/types/queries/reports/reports.query.d.ts +1 -1
- package/build/cjs/types/types/checkout/styling/styling.d.ts +7 -1
- package/build/esm/index.js +2 -2
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +1 -1
- package/build/esm/types/queries/reports/reports.query.d.ts +1 -1
- package/build/esm/types/types/checkout/styling/styling.d.ts +7 -1
- package/build/index.d.ts +9 -3
- package/package.json +1 -1
|
@@ -474,7 +474,7 @@ export declare class Api extends HttpClient {
|
|
|
474
474
|
executeChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
|
|
475
475
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
476
476
|
getLanguages<T>(): Promise<AxiosResponse<T, any>>;
|
|
477
|
-
getTranslations<T>(): Promise<AxiosResponse<T, any>>;
|
|
477
|
+
getTranslations<T>(lang: string): Promise<AxiosResponse<T, any>>;
|
|
478
478
|
getCommunications<T>(payload: {
|
|
479
479
|
start_date: string;
|
|
480
480
|
end_date: string;
|
|
@@ -9,5 +9,5 @@ export declare function useGetDownloadReport(reportId: string, enabled: boolean
|
|
|
9
9
|
code: string;
|
|
10
10
|
}, unknown>;
|
|
11
11
|
export declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
|
|
12
|
-
export declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<CentralizedColumn[], unknown>;
|
|
12
|
+
export declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[] | CentralizedColumn[], unknown>;
|
|
13
13
|
export declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
@@ -109,6 +109,12 @@ export declare namespace StylingSettings {
|
|
|
109
109
|
hide_pay_button?: boolean;
|
|
110
110
|
render_mode?: RenderMode;
|
|
111
111
|
};
|
|
112
|
+
payment_method_list?: {
|
|
113
|
+
unfolded_display?: boolean;
|
|
114
|
+
preselected_payment_method?: boolean;
|
|
115
|
+
condensed_checkout_view?: boolean;
|
|
116
|
+
edit_payment_method_list?: boolean;
|
|
117
|
+
};
|
|
112
118
|
};
|
|
113
119
|
}
|
|
114
120
|
interface UpdateSettingsResponse extends UpdateSettings {
|
|
@@ -123,7 +129,7 @@ export declare namespace StylingSettings {
|
|
|
123
129
|
}
|
|
124
130
|
export declare enum RenderMode {
|
|
125
131
|
MODAL = "MODAL",
|
|
126
|
-
|
|
132
|
+
RENDER = "RENDER"
|
|
127
133
|
}
|
|
128
134
|
export declare enum VisualizationMode {
|
|
129
135
|
ONE_STEP = "ONE_STEP",
|
package/build/index.d.ts
CHANGED
|
@@ -4338,6 +4338,12 @@ declare namespace StylingSettings {
|
|
|
4338
4338
|
hide_pay_button?: boolean;
|
|
4339
4339
|
render_mode?: RenderMode;
|
|
4340
4340
|
};
|
|
4341
|
+
payment_method_list?: {
|
|
4342
|
+
unfolded_display?: boolean;
|
|
4343
|
+
preselected_payment_method?: boolean;
|
|
4344
|
+
condensed_checkout_view?: boolean;
|
|
4345
|
+
edit_payment_method_list?: boolean;
|
|
4346
|
+
};
|
|
4341
4347
|
};
|
|
4342
4348
|
}
|
|
4343
4349
|
interface UpdateSettingsResponse extends UpdateSettings {
|
|
@@ -4352,7 +4358,7 @@ declare namespace StylingSettings {
|
|
|
4352
4358
|
}
|
|
4353
4359
|
declare enum RenderMode {
|
|
4354
4360
|
MODAL = "MODAL",
|
|
4355
|
-
|
|
4361
|
+
RENDER = "RENDER"
|
|
4356
4362
|
}
|
|
4357
4363
|
declare enum VisualizationMode {
|
|
4358
4364
|
ONE_STEP = "ONE_STEP",
|
|
@@ -4410,7 +4416,7 @@ declare function useGetDownloadReport(reportId: string, enabled: boolean | undef
|
|
|
4410
4416
|
code: string;
|
|
4411
4417
|
}, unknown>;
|
|
4412
4418
|
declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
|
|
4413
|
-
declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<CentralizedColumn[], unknown>;
|
|
4419
|
+
declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[] | CentralizedColumn[], unknown>;
|
|
4414
4420
|
declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4415
4421
|
|
|
4416
4422
|
declare function useGetTeamsFiltersMembers(): UseQueryResult<Team.TeamList[], unknown>;
|
|
@@ -5099,7 +5105,7 @@ declare class Api extends HttpClient {
|
|
|
5099
5105
|
executeChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
|
|
5100
5106
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
5101
5107
|
getLanguages<T>(): Promise<AxiosResponse<T, any>>;
|
|
5102
|
-
getTranslations<T>(): Promise<AxiosResponse<T, any>>;
|
|
5108
|
+
getTranslations<T>(lang: string): Promise<AxiosResponse<T, any>>;
|
|
5103
5109
|
getCommunications<T>(payload: {
|
|
5104
5110
|
start_date: string;
|
|
5105
5111
|
end_date: string;
|