@yuno-payments/dashboard-api-mfe 0.36.60-RC.7 → 0.36.60-RC.9
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 +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/lib/http-client/http-client.d.ts +7 -0
- package/build/cjs/types/types/audit/audit.d.ts +6 -5
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/lib/http-client/http-client.d.ts +7 -0
- package/build/esm/types/types/audit/audit.d.ts +6 -5
- package/build/index.d.ts +6 -5
- package/package.json +25 -25
|
@@ -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
|
*
|
|
@@ -113,8 +113,9 @@ export declare namespace Audit {
|
|
|
113
113
|
start_date: string;
|
|
114
114
|
end_date: string;
|
|
115
115
|
time_zone: string;
|
|
116
|
-
method?: string;
|
|
117
116
|
organizationCode?: string;
|
|
117
|
+
status_codes?: string[];
|
|
118
|
+
methods?: string[];
|
|
118
119
|
}
|
|
119
120
|
interface AuditApiJSON {
|
|
120
121
|
[key: string]: string;
|
|
@@ -146,8 +147,8 @@ export declare namespace Audit {
|
|
|
146
147
|
periodicity?: string;
|
|
147
148
|
account_code?: string[];
|
|
148
149
|
organizationCode?: string;
|
|
149
|
-
status_codes?: string;
|
|
150
|
-
methods?: string;
|
|
150
|
+
status_codes?: string[];
|
|
151
|
+
methods?: string[];
|
|
151
152
|
}
|
|
152
153
|
interface AuditWebhooksParams {
|
|
153
154
|
page: number;
|
|
@@ -155,8 +156,8 @@ export declare namespace Audit {
|
|
|
155
156
|
organizationCode?: string;
|
|
156
157
|
periodicity?: string;
|
|
157
158
|
account_code?: string[];
|
|
158
|
-
status_codes?: string;
|
|
159
|
-
methods?: string;
|
|
159
|
+
status_codes?: string[];
|
|
160
|
+
methods?: string[];
|
|
160
161
|
}
|
|
161
162
|
interface AuditWebhooks {
|
|
162
163
|
id: number;
|