@yuno-payments/dashboard-api-mfe 0.42.8 → 0.42.10

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.
@@ -138,6 +138,7 @@ export declare class Api extends HttpClient {
138
138
  payload: Audit.AuditApiLogsParams;
139
139
  }): Promise<AxiosResponse<T>>;
140
140
  getApiLogsDetailByPaymentCode<T>(paymentCode: string): Promise<AxiosResponse<T>>;
141
+ getApiLogsByTransactionCode<T>(transactionCode: string, accountCode: string): Promise<AxiosResponse<T>>;
141
142
  useGetPaymentStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
142
143
  useGetTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
143
144
  useGetReconciliationTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
@@ -9,3 +9,4 @@ export declare function usePostWebhookLogs({ params, }: {
9
9
  params: Audit.AuditWebhooksParams;
10
10
  }): UseQueryResult<Audit.AuditWebhooksResponse, BFFErrorResponse>;
11
11
  export declare function useGetApiLogsDetailByPaymentCode(code: string | null | undefined): UseQueryResult<unknown, BFFErrorResponse>;
12
+ export declare function useGetApiLogsByTransactionCode(transactionCode: string | null | undefined, accountCode: string | null | undefined): UseQueryResult<Audit.ApiLogByTransactionCode, BFFErrorResponse>;
@@ -203,4 +203,18 @@ export declare namespace Audit {
203
203
  interface AuditWebhooksResendParams {
204
204
  codes: string[];
205
205
  }
206
+ interface ApiLogByTransactionCode {
207
+ code: string;
208
+ url: string;
209
+ method: string;
210
+ source: string;
211
+ headers: AuditApiJSON;
212
+ request: AuditApiJSON;
213
+ response: AuditApiJSON;
214
+ account_name: string;
215
+ account_code: string;
216
+ status_code: number;
217
+ trace_id: string;
218
+ created_at: string;
219
+ }
206
220
  }