@yuno-payments/dashboard-api-mfe 0.36.20-CORECM-11508.2 → 0.36.20-CORECM-11508.3
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 +7 -7
- package/build/cjs/types/queries/checkouts/styling/styling.query.d.ts +4 -4
- 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/types/checkout/styling/styling.d.ts +1 -1
- package/build/esm/index.js +2 -2
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +7 -7
- package/build/esm/types/queries/checkouts/styling/styling.query.d.ts +4 -4
- 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/types/checkout/styling/styling.d.ts +1 -1
- package/build/index.d.ts +13 -13
- 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 } 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 {
|
|
@@ -219,12 +219,12 @@ export declare class Api extends HttpClient {
|
|
|
219
219
|
getStylingSettings({ accountCode, environment, }: {
|
|
220
220
|
accountCode: string;
|
|
221
221
|
environment?: string;
|
|
222
|
-
}): Promise<AxiosResponse<
|
|
222
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
223
223
|
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
224
224
|
accountCode: string;
|
|
225
225
|
environment?: string;
|
|
226
|
-
payload:
|
|
227
|
-
}): Promise<AxiosResponse<
|
|
226
|
+
payload: StylingSettings.UpdateSettings;
|
|
227
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
228
228
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
229
229
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
230
230
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -237,9 +237,9 @@ export declare class Api extends HttpClient {
|
|
|
237
237
|
createReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
238
238
|
updateReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
239
239
|
getReportColumns<T>(templateType: TemplateType, reportType: ReportType): Promise<any>;
|
|
240
|
-
getRefundPdf<T>(transactionCode:
|
|
241
|
-
getProofOfCancel<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
242
|
-
getProofOfPayment<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
240
|
+
getRefundPdf<T>(transactionCode: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
241
|
+
getProofOfCancel<T>(transactionCode: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
242
|
+
getProofOfPayment<T>(transactionCode: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
243
243
|
getScheduledReport<T>(reportType: any): Promise<AxiosResponse<T>>;
|
|
244
244
|
postScheduledReport<T>(payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
245
245
|
updateScheduledReport<T>(reportCode: string, payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Styling } from '../../../types/checkout/styling/styling';
|
|
1
|
+
import { Styling, StylingSettings } from '../../../types/checkout/styling/styling';
|
|
2
2
|
export declare function useGetStylingSdkDynamic({ accountCode, }: {
|
|
3
3
|
accountCode: string;
|
|
4
4
|
}): import("@tanstack/react-query").UseQueryResult<Styling.Settings, unknown>;
|
|
5
5
|
export declare function useGetStylingSettings({ accountCode, environment, }: {
|
|
6
6
|
accountCode: string;
|
|
7
7
|
environment?: string;
|
|
8
|
-
}): import("@tanstack/react-query").UseQueryResult<
|
|
9
|
-
export declare function useChangeStylingSettings(): import("@tanstack/react-query").UseMutationResult<
|
|
8
|
+
}): import("@tanstack/react-query").UseQueryResult<StylingSettings.UpdateSettingsResponse, unknown>;
|
|
9
|
+
export declare function useChangeStylingSettings(): import("@tanstack/react-query").UseMutationResult<StylingSettings.UpdateSettingsResponse, unknown, {
|
|
10
10
|
accountCode: string;
|
|
11
11
|
environment?: string | undefined;
|
|
12
|
-
payload:
|
|
12
|
+
payload: StylingSettings.UpdateSettings;
|
|
13
13
|
}, 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): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
35
|
-
export declare function useGetProofOfPayment(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
34
|
+
export declare function useGetProofOfCancel(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
35
|
+
export declare function useGetProofOfPayment(transactionCode: string, accountCode: 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): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
13
|
+
export declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|