flexinet-api 0.0.692-prerelease0 → 0.0.693-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 +15 -7
- package/dist/api.d.ts +8 -4
- package/dist/api.js +14 -7
- package/dist/esm/api.d.ts +8 -4
- package/dist/esm/api.js +14 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.693-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.693-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -6219,10 +6219,11 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6219
6219
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
6220
6220
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
6221
6221
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
6222
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
6222
6223
|
* @param {*} [options] Override http request option.
|
|
6223
6224
|
* @throws {RequiredError}
|
|
6224
6225
|
*/
|
|
6225
|
-
listOrdersUser: async (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6226
|
+
listOrdersUser: async (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6226
6227
|
const localVarPath = `/users/orders`;
|
|
6227
6228
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6228
6229
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6267,6 +6268,10 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6267
6268
|
createdBefore;
|
|
6268
6269
|
}
|
|
6269
6270
|
|
|
6271
|
+
if (userIDs) {
|
|
6272
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
6273
|
+
}
|
|
6274
|
+
|
|
6270
6275
|
|
|
6271
6276
|
|
|
6272
6277
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6348,11 +6353,12 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
6348
6353
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
6349
6354
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
6350
6355
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
6356
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
6351
6357
|
* @param {*} [options] Override http request option.
|
|
6352
6358
|
* @throws {RequiredError}
|
|
6353
6359
|
*/
|
|
6354
|
-
async listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
|
|
6355
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options);
|
|
6360
|
+
async listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
|
|
6361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
|
|
6356
6362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6357
6363
|
},
|
|
6358
6364
|
}
|
|
@@ -6421,11 +6427,12 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
|
|
|
6421
6427
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
6422
6428
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
6423
6429
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
6430
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
6424
6431
|
* @param {*} [options] Override http request option.
|
|
6425
6432
|
* @throws {RequiredError}
|
|
6426
6433
|
*/
|
|
6427
|
-
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse> {
|
|
6428
|
-
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
6434
|
+
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse> {
|
|
6435
|
+
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
|
|
6429
6436
|
},
|
|
6430
6437
|
};
|
|
6431
6438
|
};
|
|
@@ -6501,12 +6508,13 @@ export class OrderApi extends BaseAPI {
|
|
|
6501
6508
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
6502
6509
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
6503
6510
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
6511
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
6504
6512
|
* @param {*} [options] Override http request option.
|
|
6505
6513
|
* @throws {RequiredError}
|
|
6506
6514
|
* @memberof OrderApi
|
|
6507
6515
|
*/
|
|
6508
|
-
public listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) {
|
|
6509
|
-
return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
6516
|
+
public listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) {
|
|
6517
|
+
return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
6510
6518
|
}
|
|
6511
6519
|
}
|
|
6512
6520
|
|
package/dist/api.d.ts
CHANGED
|
@@ -4649,10 +4649,11 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4649
4649
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4650
4650
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4651
4651
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4652
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4652
4653
|
* @param {*} [options] Override http request option.
|
|
4653
4654
|
* @throws {RequiredError}
|
|
4654
4655
|
*/
|
|
4655
|
-
listOrdersUser: (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4656
|
+
listOrdersUser: (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4656
4657
|
};
|
|
4657
4658
|
/**
|
|
4658
4659
|
* OrderApi - functional programming interface
|
|
@@ -4707,10 +4708,11 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
4707
4708
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4708
4709
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4709
4710
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4711
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4710
4712
|
* @param {*} [options] Override http request option.
|
|
4711
4713
|
* @throws {RequiredError}
|
|
4712
4714
|
*/
|
|
4713
|
-
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4715
|
+
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4714
4716
|
};
|
|
4715
4717
|
/**
|
|
4716
4718
|
* OrderApi - factory interface
|
|
@@ -4765,10 +4767,11 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4765
4767
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4766
4768
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4767
4769
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4770
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4768
4771
|
* @param {*} [options] Override http request option.
|
|
4769
4772
|
* @throws {RequiredError}
|
|
4770
4773
|
*/
|
|
4771
|
-
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse>;
|
|
4774
|
+
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse>;
|
|
4772
4775
|
};
|
|
4773
4776
|
/**
|
|
4774
4777
|
* OrderApi - object-oriented interface
|
|
@@ -4829,11 +4832,12 @@ export declare class OrderApi extends BaseAPI {
|
|
|
4829
4832
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4830
4833
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4831
4834
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4835
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4832
4836
|
* @param {*} [options] Override http request option.
|
|
4833
4837
|
* @throws {RequiredError}
|
|
4834
4838
|
* @memberof OrderApi
|
|
4835
4839
|
*/
|
|
4836
|
-
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4840
|
+
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4837
4841
|
}
|
|
4838
4842
|
/**
|
|
4839
4843
|
* ProductApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -2758,10 +2758,11 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2758
2758
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2759
2759
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2760
2760
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2761
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2761
2762
|
* @param {*} [options] Override http request option.
|
|
2762
2763
|
* @throws {RequiredError}
|
|
2763
2764
|
*/
|
|
2764
|
-
listOrdersUser: (paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2765
|
+
listOrdersUser: (paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2765
2766
|
const localVarPath = `/users/orders`;
|
|
2766
2767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2767
2768
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2797,6 +2798,9 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2797
2798
|
createdBefore.toISOString() :
|
|
2798
2799
|
createdBefore;
|
|
2799
2800
|
}
|
|
2801
|
+
if (userIDs) {
|
|
2802
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
2803
|
+
}
|
|
2800
2804
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2801
2805
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2802
2806
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2883,12 +2887,13 @@ const OrderApiFp = function (configuration) {
|
|
|
2883
2887
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2884
2888
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2885
2889
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2890
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2886
2891
|
* @param {*} [options] Override http request option.
|
|
2887
2892
|
* @throws {RequiredError}
|
|
2888
2893
|
*/
|
|
2889
|
-
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2894
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
|
2890
2895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2891
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options);
|
|
2896
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
|
|
2892
2897
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2893
2898
|
});
|
|
2894
2899
|
},
|
|
@@ -2958,11 +2963,12 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2958
2963
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2959
2964
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2960
2965
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2966
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2961
2967
|
* @param {*} [options] Override http request option.
|
|
2962
2968
|
* @throws {RequiredError}
|
|
2963
2969
|
*/
|
|
2964
|
-
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2965
|
-
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2970
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
|
2971
|
+
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
|
|
2966
2972
|
},
|
|
2967
2973
|
};
|
|
2968
2974
|
};
|
|
@@ -3034,12 +3040,13 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
3034
3040
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
3035
3041
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
3036
3042
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
3043
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
3037
3044
|
* @param {*} [options] Override http request option.
|
|
3038
3045
|
* @throws {RequiredError}
|
|
3039
3046
|
* @memberof OrderApi
|
|
3040
3047
|
*/
|
|
3041
|
-
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
3042
|
-
return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
3048
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
|
3049
|
+
return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
3043
3050
|
}
|
|
3044
3051
|
}
|
|
3045
3052
|
exports.OrderApi = OrderApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4649,10 +4649,11 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4649
4649
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4650
4650
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4651
4651
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4652
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4652
4653
|
* @param {*} [options] Override http request option.
|
|
4653
4654
|
* @throws {RequiredError}
|
|
4654
4655
|
*/
|
|
4655
|
-
listOrdersUser: (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4656
|
+
listOrdersUser: (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4656
4657
|
};
|
|
4657
4658
|
/**
|
|
4658
4659
|
* OrderApi - functional programming interface
|
|
@@ -4707,10 +4708,11 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
4707
4708
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4708
4709
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4709
4710
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4711
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4710
4712
|
* @param {*} [options] Override http request option.
|
|
4711
4713
|
* @throws {RequiredError}
|
|
4712
4714
|
*/
|
|
4713
|
-
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4715
|
+
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
4714
4716
|
};
|
|
4715
4717
|
/**
|
|
4716
4718
|
* OrderApi - factory interface
|
|
@@ -4765,10 +4767,11 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4765
4767
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4766
4768
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4767
4769
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4770
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4768
4771
|
* @param {*} [options] Override http request option.
|
|
4769
4772
|
* @throws {RequiredError}
|
|
4770
4773
|
*/
|
|
4771
|
-
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse>;
|
|
4774
|
+
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse>;
|
|
4772
4775
|
};
|
|
4773
4776
|
/**
|
|
4774
4777
|
* OrderApi - object-oriented interface
|
|
@@ -4829,11 +4832,12 @@ export declare class OrderApi extends BaseAPI {
|
|
|
4829
4832
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
4830
4833
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
4831
4834
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
4835
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
4832
4836
|
* @param {*} [options] Override http request option.
|
|
4833
4837
|
* @throws {RequiredError}
|
|
4834
4838
|
* @memberof OrderApi
|
|
4835
4839
|
*/
|
|
4836
|
-
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4840
|
+
listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
4837
4841
|
}
|
|
4838
4842
|
/**
|
|
4839
4843
|
* ProductApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -2717,10 +2717,11 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2717
2717
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2718
2718
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2719
2719
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2720
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2720
2721
|
* @param {*} [options] Override http request option.
|
|
2721
2722
|
* @throws {RequiredError}
|
|
2722
2723
|
*/
|
|
2723
|
-
listOrdersUser: (paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2724
|
+
listOrdersUser: (paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2724
2725
|
const localVarPath = `/users/orders`;
|
|
2725
2726
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2726
2727
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2756,6 +2757,9 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2756
2757
|
createdBefore.toISOString() :
|
|
2757
2758
|
createdBefore;
|
|
2758
2759
|
}
|
|
2760
|
+
if (userIDs) {
|
|
2761
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
2762
|
+
}
|
|
2759
2763
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2760
2764
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2761
2765
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2841,12 +2845,13 @@ export const OrderApiFp = function (configuration) {
|
|
|
2841
2845
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2842
2846
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2843
2847
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2848
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2844
2849
|
* @param {*} [options] Override http request option.
|
|
2845
2850
|
* @throws {RequiredError}
|
|
2846
2851
|
*/
|
|
2847
|
-
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2852
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
|
2848
2853
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2849
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options);
|
|
2854
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
|
|
2850
2855
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2851
2856
|
});
|
|
2852
2857
|
},
|
|
@@ -2915,11 +2920,12 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2915
2920
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2916
2921
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2917
2922
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2923
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2918
2924
|
* @param {*} [options] Override http request option.
|
|
2919
2925
|
* @throws {RequiredError}
|
|
2920
2926
|
*/
|
|
2921
|
-
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2922
|
-
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2927
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
|
2928
|
+
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
|
|
2923
2929
|
},
|
|
2924
2930
|
};
|
|
2925
2931
|
};
|
|
@@ -2990,12 +2996,13 @@ export class OrderApi extends BaseAPI {
|
|
|
2990
2996
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2991
2997
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2992
2998
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2999
|
+
* @param {Array<string>} [userIDs] Filter by user ids
|
|
2993
3000
|
* @param {*} [options] Override http request option.
|
|
2994
3001
|
* @throws {RequiredError}
|
|
2995
3002
|
* @memberof OrderApi
|
|
2996
3003
|
*/
|
|
2997
|
-
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2998
|
-
return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
3004
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
|
3005
|
+
return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
2999
3006
|
}
|
|
3000
3007
|
}
|
|
3001
3008
|
/**
|