@yuno-payments/dashboard-api-mfe 0.36.60-RC.6 → 0.36.60-RC.8

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.
@@ -1,5 +1,12 @@
1
1
  import { Axios } from './axios';
2
2
  import { AxiosRequestConfig, AxiosResponse, AxiosError, CancelTokenSource } from 'axios';
3
+ /**
4
+ * Serializes parameters for URL query string with proper encoding
5
+ * and handling of arrays without duplication
6
+ * @param params - Object with parameters to serialize
7
+ * @returns URL encoded query string
8
+ */
9
+ export declare const serializeParams: (params: Record<string, any>) => string;
3
10
  /**
4
11
  * @class Api Class is a fancy es6 wrapper class for axios.
5
12
  *
@@ -109,7 +109,7 @@ export declare namespace Audit {
109
109
  }
110
110
  interface ExportApiLogsRequest {
111
111
  report_name: string;
112
- account_code?: string;
112
+ account_code?: string[];
113
113
  start_date: string;
114
114
  end_date: string;
115
115
  time_zone: string;
@@ -144,19 +144,19 @@ export declare namespace Audit {
144
144
  page: number;
145
145
  size: number;
146
146
  periodicity?: string;
147
- account_code?: string;
147
+ account_code?: string[];
148
148
  organizationCode?: string;
149
- status_codes?: string;
150
- methods?: string;
149
+ status_codes?: string[];
150
+ methods?: string[];
151
151
  }
152
152
  interface AuditWebhooksParams {
153
153
  page: number;
154
154
  size: number;
155
155
  organizationCode?: string;
156
156
  periodicity?: string;
157
- account_code?: string;
158
- status_codes?: string;
159
- methods?: string;
157
+ account_code?: string[];
158
+ status_codes?: string[];
159
+ methods?: string[];
160
160
  }
161
161
  interface AuditWebhooks {
162
162
  id: number;