@emilgroup/account-sdk-node 1.45.1-beta.16 → 1.45.1-beta.18
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/README.md +2 -2
- package/api/accounts-api.ts +12 -24
- package/common.ts +2 -3
- package/dist/api/accounts-api.d.ts +6 -6
- package/dist/api/accounts-api.js +21 -33
- package/dist/api/health-api.d.ts +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/account-sdk-node@1.45.1-beta.
|
|
20
|
+
npm install @emilgroup/account-sdk-node@1.45.1-beta.18 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/account-sdk-node@1.45.1-beta.
|
|
24
|
+
yarn add @emilgroup/account-sdk-node@1.45.1-beta.18
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `AccountsApi`.
|
package/api/accounts-api.ts
CHANGED
|
@@ -71,10 +71,8 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
if (authorizationValue) {
|
|
77
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
|
|
@@ -121,10 +119,8 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
121
119
|
// http bearer authentication required
|
|
122
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
121
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (authorizationValue) {
|
|
127
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
123
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
128
124
|
}
|
|
129
125
|
|
|
130
126
|
|
|
@@ -173,10 +169,8 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
173
169
|
localVarQueryParameter['expand'] = expand;
|
|
174
170
|
}
|
|
175
171
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
if (authorizationValue) {
|
|
179
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
172
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
173
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
180
174
|
}
|
|
181
175
|
|
|
182
176
|
|
|
@@ -225,10 +219,8 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
225
219
|
localVarQueryParameter['expand'] = expand;
|
|
226
220
|
}
|
|
227
221
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
if (authorizationValue) {
|
|
231
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
222
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
223
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
224
|
}
|
|
233
225
|
|
|
234
226
|
|
|
@@ -303,10 +295,8 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
303
295
|
localVarQueryParameter['filters'] = filters;
|
|
304
296
|
}
|
|
305
297
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
if (authorizationValue) {
|
|
309
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
298
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
299
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
310
300
|
}
|
|
311
301
|
|
|
312
302
|
|
|
@@ -353,10 +343,8 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
353
343
|
// http bearer authentication required
|
|
354
344
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
355
345
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
if (authorizationValue) {
|
|
359
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
346
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
347
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
360
348
|
}
|
|
361
349
|
|
|
362
350
|
|
package/common.ts
CHANGED
|
@@ -131,10 +131,9 @@ export const toPathString = function (url: URL) {
|
|
|
131
131
|
* @export
|
|
132
132
|
*/
|
|
133
133
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
134
|
-
|
|
135
|
-
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH): Promise<R> => {
|
|
134
|
+
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
136
135
|
const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url};
|
|
137
|
-
return axios.request<T, R>(axiosRequestArgs)
|
|
136
|
+
return axios.request<T, R>(axiosRequestArgs);
|
|
138
137
|
};
|
|
139
138
|
}
|
|
140
139
|
|
|
@@ -408,7 +408,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
408
408
|
* @throws {RequiredError}
|
|
409
409
|
* @memberof AccountsApi
|
|
410
410
|
*/
|
|
411
|
-
createAccount(requestParameters: AccountsApiCreateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountResponseClass, any, {}
|
|
411
|
+
createAccount(requestParameters: AccountsApiCreateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountResponseClass, any, {}>>;
|
|
412
412
|
/**
|
|
413
413
|
* Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
414
414
|
* @summary Delete the account
|
|
@@ -417,7 +417,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
417
417
|
* @throws {RequiredError}
|
|
418
418
|
* @memberof AccountsApi
|
|
419
419
|
*/
|
|
420
|
-
deleteAccount(requestParameters: AccountsApiDeleteAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}
|
|
420
|
+
deleteAccount(requestParameters: AccountsApiDeleteAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
421
421
|
/**
|
|
422
422
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information. **Required Permissions** \"partner-management.partners.view\"
|
|
423
423
|
* @summary Retrieve the account
|
|
@@ -426,7 +426,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
426
426
|
* @throws {RequiredError}
|
|
427
427
|
* @memberof AccountsApi
|
|
428
428
|
*/
|
|
429
|
-
getAccount(requestParameters: AccountsApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountResponseClass, any, {}
|
|
429
|
+
getAccount(requestParameters: AccountsApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountResponseClass, any, {}>>;
|
|
430
430
|
/**
|
|
431
431
|
* Retrieves the details of the account that was previously created. Supply the email that was returned when you created it and Emil Api will return the corresponding account information. Email matching is case-insensitive. **Required Permissions** \"partner-management.partners.view\"
|
|
432
432
|
* @summary Retrieve the account
|
|
@@ -435,7 +435,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
435
435
|
* @throws {RequiredError}
|
|
436
436
|
* @memberof AccountsApi
|
|
437
437
|
*/
|
|
438
|
-
getAccountByEmail(requestParameters: AccountsApiGetAccountByEmailRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountResponseClass, any, {}
|
|
438
|
+
getAccountByEmail(requestParameters: AccountsApiGetAccountByEmailRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountResponseClass, any, {}>>;
|
|
439
439
|
/**
|
|
440
440
|
* Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
|
|
441
441
|
* @summary List accounts
|
|
@@ -444,7 +444,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
444
444
|
* @throws {RequiredError}
|
|
445
445
|
* @memberof AccountsApi
|
|
446
446
|
*/
|
|
447
|
-
listAccounts(requestParameters?: AccountsApiListAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponseClass, any, {}
|
|
447
|
+
listAccounts(requestParameters?: AccountsApiListAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponseClass, any, {}>>;
|
|
448
448
|
/**
|
|
449
449
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
450
450
|
* @summary Update the account
|
|
@@ -453,5 +453,5 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
453
453
|
* @throws {RequiredError}
|
|
454
454
|
* @memberof AccountsApi
|
|
455
455
|
*/
|
|
456
|
-
updateAccount(requestParameters: AccountsApiUpdateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAccountResponseClass, any, {}
|
|
456
|
+
updateAccount(requestParameters: AccountsApiUpdateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAccountResponseClass, any, {}>>;
|
|
457
457
|
}
|
package/dist/api/accounts-api.js
CHANGED
|
@@ -107,7 +107,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createAccount: function (createAccountRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,16 +124,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
-
];
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
130
128
|
case 1:
|
|
131
129
|
// authentication bearer required
|
|
132
130
|
// http bearer authentication required
|
|
133
131
|
_a.sent();
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
137
134
|
}
|
|
138
135
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
139
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -159,7 +156,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
159
156
|
deleteAccount: function (code, authorization, options) {
|
|
160
157
|
if (options === void 0) { options = {}; }
|
|
161
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
162
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
163
160
|
return __generator(this, function (_a) {
|
|
164
161
|
switch (_a.label) {
|
|
165
162
|
case 0:
|
|
@@ -177,16 +174,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
177
174
|
localVarQueryParameter = {};
|
|
178
175
|
// authentication bearer required
|
|
179
176
|
// http bearer authentication required
|
|
180
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
-
];
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
183
178
|
case 1:
|
|
184
179
|
// authentication bearer required
|
|
185
180
|
// http bearer authentication required
|
|
186
181
|
_a.sent();
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
190
184
|
}
|
|
191
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
192
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -211,7 +205,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
211
205
|
getAccount: function (code, authorization, expand, options) {
|
|
212
206
|
if (options === void 0) { options = {}; }
|
|
213
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
214
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
208
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
209
|
return __generator(this, function (_a) {
|
|
216
210
|
switch (_a.label) {
|
|
217
211
|
case 0:
|
|
@@ -237,9 +231,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
237
231
|
if (expand !== undefined) {
|
|
238
232
|
localVarQueryParameter['expand'] = expand;
|
|
239
233
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
243
236
|
}
|
|
244
237
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
245
238
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -264,7 +257,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
264
257
|
getAccountByEmail: function (email, authorization, expand, options) {
|
|
265
258
|
if (options === void 0) { options = {}; }
|
|
266
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
267
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
260
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
268
261
|
return __generator(this, function (_a) {
|
|
269
262
|
switch (_a.label) {
|
|
270
263
|
case 0:
|
|
@@ -290,9 +283,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
290
283
|
if (expand !== undefined) {
|
|
291
284
|
localVarQueryParameter['expand'] = expand;
|
|
292
285
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
286
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
287
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
288
|
}
|
|
297
289
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
298
290
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -322,7 +314,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
322
314
|
listAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
323
315
|
if (options === void 0) { options = {}; }
|
|
324
316
|
return __awaiter(_this, void 0, void 0, function () {
|
|
325
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
317
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
326
318
|
return __generator(this, function (_a) {
|
|
327
319
|
switch (_a.label) {
|
|
328
320
|
case 0:
|
|
@@ -363,9 +355,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
363
355
|
if (filters !== undefined) {
|
|
364
356
|
localVarQueryParameter['filters'] = filters;
|
|
365
357
|
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
358
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
359
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
369
360
|
}
|
|
370
361
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
371
362
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -390,7 +381,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
390
381
|
updateAccount: function (code, updateAccountRequestDto, authorization, options) {
|
|
391
382
|
if (options === void 0) { options = {}; }
|
|
392
383
|
return __awaiter(_this, void 0, void 0, function () {
|
|
393
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
384
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
394
385
|
return __generator(this, function (_a) {
|
|
395
386
|
switch (_a.label) {
|
|
396
387
|
case 0:
|
|
@@ -410,16 +401,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
410
401
|
localVarQueryParameter = {};
|
|
411
402
|
// authentication bearer required
|
|
412
403
|
// http bearer authentication required
|
|
413
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
414
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
415
|
-
];
|
|
404
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
416
405
|
case 1:
|
|
417
406
|
// authentication bearer required
|
|
418
407
|
// http bearer authentication required
|
|
419
408
|
_a.sent();
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
409
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
410
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
423
411
|
}
|
|
424
412
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
425
413
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
package/dist/api/health-api.d.ts
CHANGED
|
@@ -66,5 +66,5 @@ export declare class HealthApi extends BaseAPI {
|
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
* @memberof HealthApi
|
|
68
68
|
*/
|
|
69
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
70
70
|
}
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL AccountService
|
|
69
69
|
* The EMIL AccountService API description
|
package/dist/common.js
CHANGED
|
@@ -234,7 +234,6 @@ exports.toPathString = toPathString;
|
|
|
234
234
|
* @export
|
|
235
235
|
*/
|
|
236
236
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
237
|
-
// Typed by hand: since axios 1.20, request() returns an internal axios type that SDK declarations cannot name.
|
|
238
237
|
return function (axios, basePath) {
|
|
239
238
|
if (axios === void 0) { axios = globalAxios; }
|
|
240
239
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/account-sdk-node",
|
|
3
|
-
"version": "1.45.1-beta.
|
|
3
|
+
"version": "1.45.1-beta.18",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/account-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "1.
|
|
21
|
+
"axios": "1.18.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|