@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>;
|
package/build/index.d.ts
CHANGED
|
@@ -3739,7 +3739,7 @@ declare namespace Styling {
|
|
|
3739
3739
|
}
|
|
3740
3740
|
export {};
|
|
3741
3741
|
}
|
|
3742
|
-
declare namespace
|
|
3742
|
+
declare namespace StylingSettings {
|
|
3743
3743
|
interface UpdateSettings {
|
|
3744
3744
|
styles: {
|
|
3745
3745
|
global: {
|
|
@@ -4137,8 +4137,8 @@ declare function usePostFraudTransactions(params: GetTransactionsParams): UseQue
|
|
|
4137
4137
|
declare function useGetPayoutDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details | AxiosError>;
|
|
4138
4138
|
declare function useGetPayoutTransactionDetail(params: GetPayoutTransactionDetail): UseQueryResult;
|
|
4139
4139
|
declare function useGetPayoutHistoryDetail(params: GetPayoutDetail): UseQueryResult;
|
|
4140
|
-
declare function useGetProofOfCancel(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4141
|
-
declare function useGetProofOfPayment(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4140
|
+
declare function useGetProofOfCancel(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4141
|
+
declare function useGetProofOfPayment(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4142
4142
|
declare function useSendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body, options: SendPaymentNotification.Options): UseQueryResult<SendPaymentNotification.Response, AxiosError>;
|
|
4143
4143
|
|
|
4144
4144
|
declare function usePayoutsList(params: GetPaymentsParams | null): UseQueryResult<Payouts.List | AxiosError>;
|
|
@@ -4300,11 +4300,11 @@ declare function useGetStylingSdkDynamic({ accountCode, }: {
|
|
|
4300
4300
|
declare function useGetStylingSettings({ accountCode, environment, }: {
|
|
4301
4301
|
accountCode: string;
|
|
4302
4302
|
environment?: string;
|
|
4303
|
-
}): _tanstack_react_query.UseQueryResult<
|
|
4304
|
-
declare function useChangeStylingSettings(): _tanstack_react_query.UseMutationResult<
|
|
4303
|
+
}): _tanstack_react_query.UseQueryResult<StylingSettings.UpdateSettingsResponse, unknown>;
|
|
4304
|
+
declare function useChangeStylingSettings(): _tanstack_react_query.UseMutationResult<StylingSettings.UpdateSettingsResponse, unknown, {
|
|
4305
4305
|
accountCode: string;
|
|
4306
4306
|
environment?: string | undefined;
|
|
4307
|
-
payload:
|
|
4307
|
+
payload: StylingSettings.UpdateSettings;
|
|
4308
4308
|
}, unknown>;
|
|
4309
4309
|
|
|
4310
4310
|
declare function useGetProfile(): UseQueryResult<User.UserResponsePayload, unknown>;
|
|
@@ -4333,7 +4333,7 @@ declare function useGetDownloadReport(reportId: string, enabled: boolean | undef
|
|
|
4333
4333
|
}, unknown>;
|
|
4334
4334
|
declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
|
|
4335
4335
|
declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<Reports.IColumn[], unknown>;
|
|
4336
|
-
declare function useGetRefundPdf(transactionCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4336
|
+
declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4337
4337
|
|
|
4338
4338
|
declare function useGetTeamsFiltersMembers(): UseQueryResult<Team.TeamList[], unknown>;
|
|
4339
4339
|
declare function usePostMembersPaginatedV2({ organizationCode, accountCodes, email, page, pageSize, }: {
|
|
@@ -4766,12 +4766,12 @@ declare class Api extends HttpClient {
|
|
|
4766
4766
|
getStylingSettings({ accountCode, environment, }: {
|
|
4767
4767
|
accountCode: string;
|
|
4768
4768
|
environment?: string;
|
|
4769
|
-
}): Promise<AxiosResponse<
|
|
4769
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4770
4770
|
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
4771
4771
|
accountCode: string;
|
|
4772
4772
|
environment?: string;
|
|
4773
|
-
payload:
|
|
4774
|
-
}): Promise<AxiosResponse<
|
|
4773
|
+
payload: StylingSettings.UpdateSettings;
|
|
4774
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4775
4775
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
4776
4776
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
4777
4777
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -4784,9 +4784,9 @@ declare class Api extends HttpClient {
|
|
|
4784
4784
|
createReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
4785
4785
|
updateReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
4786
4786
|
getReportColumns<T>(templateType: TemplateType, reportType: ReportType): Promise<any>;
|
|
4787
|
-
getRefundPdf<T>(transactionCode:
|
|
4788
|
-
getProofOfCancel<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
4789
|
-
getProofOfPayment<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
4787
|
+
getRefundPdf<T>(transactionCode: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
4788
|
+
getProofOfCancel<T>(transactionCode: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
4789
|
+
getProofOfPayment<T>(transactionCode: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
4790
4790
|
getScheduledReport<T>(reportType: any): Promise<AxiosResponse<T>>;
|
|
4791
4791
|
postScheduledReport<T>(payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
4792
4792
|
updateScheduledReport<T>(reportCode: string, payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|