flexinet-api 0.0.463-prerelease0 → 0.0.464-prerelease0
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.ts +23 -7
- package/dist/api.d.ts +12 -4
- package/dist/api.js +21 -7
- package/dist/esm/api.d.ts +12 -4
- package/dist/esm/api.js +21 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.464-prerelease0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install flexinet-api@0.0.
|
|
39
|
+
npm install flexinet-api@0.0.464-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -5282,10 +5282,12 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5282
5282
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
5283
5283
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
5284
5284
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
5285
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
5286
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
5285
5287
|
* @param {*} [options] Override http request option.
|
|
5286
5288
|
* @throws {RequiredError}
|
|
5287
5289
|
*/
|
|
5288
|
-
listOrders: async (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5290
|
+
listOrders: async (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5289
5291
|
const localVarPath = `/admins/orders`;
|
|
5290
5292
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5291
5293
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5330,6 +5332,14 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5330
5332
|
createdBefore;
|
|
5331
5333
|
}
|
|
5332
5334
|
|
|
5335
|
+
if (userIDs) {
|
|
5336
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
5337
|
+
}
|
|
5338
|
+
|
|
5339
|
+
if (clientIDs) {
|
|
5340
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
5341
|
+
}
|
|
5342
|
+
|
|
5333
5343
|
|
|
5334
5344
|
|
|
5335
5345
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5446,11 +5456,13 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
5446
5456
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
5447
5457
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
5448
5458
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
5459
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
5460
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
5449
5461
|
* @param {*} [options] Override http request option.
|
|
5450
5462
|
* @throws {RequiredError}
|
|
5451
5463
|
*/
|
|
5452
|
-
async listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
|
|
5453
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options);
|
|
5464
|
+
async listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
|
|
5465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options);
|
|
5454
5466
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5455
5467
|
},
|
|
5456
5468
|
/**
|
|
@@ -5508,11 +5520,13 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
|
|
|
5508
5520
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
5509
5521
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
5510
5522
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
5523
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
5524
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
5511
5525
|
* @param {*} [options] Override http request option.
|
|
5512
5526
|
* @throws {RequiredError}
|
|
5513
5527
|
*/
|
|
5514
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse> {
|
|
5515
|
-
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
5528
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse> {
|
|
5529
|
+
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(axios, basePath));
|
|
5516
5530
|
},
|
|
5517
5531
|
/**
|
|
5518
5532
|
* List existing orders
|
|
@@ -5572,12 +5586,14 @@ export class OrderApi extends BaseAPI {
|
|
|
5572
5586
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
5573
5587
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
5574
5588
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
5589
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
5590
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
5575
5591
|
* @param {*} [options] Override http request option.
|
|
5576
5592
|
* @throws {RequiredError}
|
|
5577
5593
|
* @memberof OrderApi
|
|
5578
5594
|
*/
|
|
5579
|
-
public listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) {
|
|
5580
|
-
return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
5595
|
+
public listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) {
|
|
5596
|
+
return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(this.axios, this.basePath));
|
|
5581
5597
|
}
|
|
5582
5598
|
|
|
5583
5599
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -4057,10 +4057,12 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4057
4057
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4058
4058
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4059
4059
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4060
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4061
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4060
4062
|
* @param {*} [options] Override http request option.
|
|
4061
4063
|
* @throws {RequiredError}
|
|
4062
4064
|
*/
|
|
4063
|
-
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4065
|
+
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4064
4066
|
/**
|
|
4065
4067
|
* List existing orders
|
|
4066
4068
|
* @summary List existing orders
|
|
@@ -4105,10 +4107,12 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
4105
4107
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4106
4108
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4107
4109
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4110
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4111
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4108
4112
|
* @param {*} [options] Override http request option.
|
|
4109
4113
|
* @throws {RequiredError}
|
|
4110
4114
|
*/
|
|
4111
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4115
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4112
4116
|
/**
|
|
4113
4117
|
* List existing orders
|
|
4114
4118
|
* @summary List existing orders
|
|
@@ -4153,10 +4157,12 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4153
4157
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4154
4158
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4155
4159
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4160
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4161
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4156
4162
|
* @param {*} [options] Override http request option.
|
|
4157
4163
|
* @throws {RequiredError}
|
|
4158
4164
|
*/
|
|
4159
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse>;
|
|
4165
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse>;
|
|
4160
4166
|
/**
|
|
4161
4167
|
* List existing orders
|
|
4162
4168
|
* @summary List existing orders
|
|
@@ -4205,11 +4211,13 @@ export declare class OrderApi extends BaseAPI {
|
|
|
4205
4211
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4206
4212
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4207
4213
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4214
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4215
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4208
4216
|
* @param {*} [options] Override http request option.
|
|
4209
4217
|
* @throws {RequiredError}
|
|
4210
4218
|
* @memberof OrderApi
|
|
4211
4219
|
*/
|
|
4212
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4220
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4213
4221
|
/**
|
|
4214
4222
|
* List existing orders
|
|
4215
4223
|
* @summary List existing orders
|
package/dist/api.js
CHANGED
|
@@ -2264,10 +2264,12 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2264
2264
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2265
2265
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2266
2266
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2267
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2268
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2267
2269
|
* @param {*} [options] Override http request option.
|
|
2268
2270
|
* @throws {RequiredError}
|
|
2269
2271
|
*/
|
|
2270
|
-
listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2272
|
+
listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2271
2273
|
const localVarPath = `/admins/orders`;
|
|
2272
2274
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2273
2275
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2303,6 +2305,12 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2303
2305
|
createdBefore.toISOString() :
|
|
2304
2306
|
createdBefore;
|
|
2305
2307
|
}
|
|
2308
|
+
if (userIDs) {
|
|
2309
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
2310
|
+
}
|
|
2311
|
+
if (clientIDs) {
|
|
2312
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
2313
|
+
}
|
|
2306
2314
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2307
2315
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2308
2316
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2409,12 +2417,14 @@ const OrderApiFp = function (configuration) {
|
|
|
2409
2417
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2410
2418
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2411
2419
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2420
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2421
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2412
2422
|
* @param {*} [options] Override http request option.
|
|
2413
2423
|
* @throws {RequiredError}
|
|
2414
2424
|
*/
|
|
2415
|
-
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2425
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
|
|
2416
2426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2417
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options);
|
|
2427
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options);
|
|
2418
2428
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2419
2429
|
});
|
|
2420
2430
|
},
|
|
@@ -2475,11 +2485,13 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2475
2485
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2476
2486
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2477
2487
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2488
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2489
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2478
2490
|
* @param {*} [options] Override http request option.
|
|
2479
2491
|
* @throws {RequiredError}
|
|
2480
2492
|
*/
|
|
2481
|
-
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2482
|
-
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2493
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
|
|
2494
|
+
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(axios, basePath));
|
|
2483
2495
|
},
|
|
2484
2496
|
/**
|
|
2485
2497
|
* List existing orders
|
|
@@ -2537,12 +2549,14 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
2537
2549
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2538
2550
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2539
2551
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2552
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2553
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2540
2554
|
* @param {*} [options] Override http request option.
|
|
2541
2555
|
* @throws {RequiredError}
|
|
2542
2556
|
* @memberof OrderApi
|
|
2543
2557
|
*/
|
|
2544
|
-
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2545
|
-
return (0, exports.OrderApiFp)(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
2558
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
|
|
2559
|
+
return (0, exports.OrderApiFp)(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(this.axios, this.basePath));
|
|
2546
2560
|
}
|
|
2547
2561
|
/**
|
|
2548
2562
|
* List existing orders
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4057,10 +4057,12 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4057
4057
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4058
4058
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4059
4059
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4060
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4061
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4060
4062
|
* @param {*} [options] Override http request option.
|
|
4061
4063
|
* @throws {RequiredError}
|
|
4062
4064
|
*/
|
|
4063
|
-
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4065
|
+
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4064
4066
|
/**
|
|
4065
4067
|
* List existing orders
|
|
4066
4068
|
* @summary List existing orders
|
|
@@ -4105,10 +4107,12 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
4105
4107
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4106
4108
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4107
4109
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4110
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4111
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4108
4112
|
* @param {*} [options] Override http request option.
|
|
4109
4113
|
* @throws {RequiredError}
|
|
4110
4114
|
*/
|
|
4111
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4115
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4112
4116
|
/**
|
|
4113
4117
|
* List existing orders
|
|
4114
4118
|
* @summary List existing orders
|
|
@@ -4153,10 +4157,12 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4153
4157
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4154
4158
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4155
4159
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4160
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4161
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4156
4162
|
* @param {*} [options] Override http request option.
|
|
4157
4163
|
* @throws {RequiredError}
|
|
4158
4164
|
*/
|
|
4159
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse>;
|
|
4165
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse>;
|
|
4160
4166
|
/**
|
|
4161
4167
|
* List existing orders
|
|
4162
4168
|
* @summary List existing orders
|
|
@@ -4205,11 +4211,13 @@ export declare class OrderApi extends BaseAPI {
|
|
|
4205
4211
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4206
4212
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4207
4213
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4214
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4215
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
4208
4216
|
* @param {*} [options] Override http request option.
|
|
4209
4217
|
* @throws {RequiredError}
|
|
4210
4218
|
* @memberof OrderApi
|
|
4211
4219
|
*/
|
|
4212
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4220
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4213
4221
|
/**
|
|
4214
4222
|
* List existing orders
|
|
4215
4223
|
* @summary List existing orders
|
package/dist/esm/api.js
CHANGED
|
@@ -2223,10 +2223,12 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2223
2223
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2224
2224
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2225
2225
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2226
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2227
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2226
2228
|
* @param {*} [options] Override http request option.
|
|
2227
2229
|
* @throws {RequiredError}
|
|
2228
2230
|
*/
|
|
2229
|
-
listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2231
|
+
listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2230
2232
|
const localVarPath = `/admins/orders`;
|
|
2231
2233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2232
2234
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2262,6 +2264,12 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2262
2264
|
createdBefore.toISOString() :
|
|
2263
2265
|
createdBefore;
|
|
2264
2266
|
}
|
|
2267
|
+
if (userIDs) {
|
|
2268
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
2269
|
+
}
|
|
2270
|
+
if (clientIDs) {
|
|
2271
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
2272
|
+
}
|
|
2265
2273
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2266
2274
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2267
2275
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2367,12 +2375,14 @@ export const OrderApiFp = function (configuration) {
|
|
|
2367
2375
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2368
2376
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2369
2377
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2378
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2379
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2370
2380
|
* @param {*} [options] Override http request option.
|
|
2371
2381
|
* @throws {RequiredError}
|
|
2372
2382
|
*/
|
|
2373
|
-
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2383
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
|
|
2374
2384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2375
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options);
|
|
2385
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options);
|
|
2376
2386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2377
2387
|
});
|
|
2378
2388
|
},
|
|
@@ -2432,11 +2442,13 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2432
2442
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2433
2443
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2434
2444
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2445
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2446
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2435
2447
|
* @param {*} [options] Override http request option.
|
|
2436
2448
|
* @throws {RequiredError}
|
|
2437
2449
|
*/
|
|
2438
|
-
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2439
|
-
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2450
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
|
|
2451
|
+
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(axios, basePath));
|
|
2440
2452
|
},
|
|
2441
2453
|
/**
|
|
2442
2454
|
* List existing orders
|
|
@@ -2493,12 +2505,14 @@ export class OrderApi extends BaseAPI {
|
|
|
2493
2505
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2494
2506
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2495
2507
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2508
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2509
|
+
* @param {Array<string>} [clientIDs] Filter by client ids
|
|
2496
2510
|
* @param {*} [options] Override http request option.
|
|
2497
2511
|
* @throws {RequiredError}
|
|
2498
2512
|
* @memberof OrderApi
|
|
2499
2513
|
*/
|
|
2500
|
-
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2501
|
-
return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
2514
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
|
|
2515
|
+
return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(this.axios, this.basePath));
|
|
2502
2516
|
}
|
|
2503
2517
|
/**
|
|
2504
2518
|
* List existing orders
|