flexinet-api 0.0.455-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 CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.455-prerelease0
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.455-prerelease0 --save
39
+ npm install flexinet-api@0.0.464-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -567,19 +567,6 @@ export const Condition = {
567
567
  export type Condition = typeof Condition[keyof typeof Condition];
568
568
 
569
569
 
570
- /**
571
- *
572
- * @export
573
- * @interface CreateOrderRequest
574
- */
575
- export interface CreateOrderRequest {
576
- /**
577
- *
578
- * @type {OrderCreationRequest}
579
- * @memberof CreateOrderRequest
580
- */
581
- 'tag'?: OrderCreationRequest;
582
- }
583
570
  /**
584
571
  *
585
572
  * @export
@@ -5217,11 +5204,11 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5217
5204
  /**
5218
5205
  * Create a product order. If successful the value of the product will be deducted from the used balance.
5219
5206
  * @summary Create an order for a product
5220
- * @param {CreateOrderRequest} [createOrderRequest]
5207
+ * @param {OrderCreationRequest} [orderCreationRequest]
5221
5208
  * @param {*} [options] Override http request option.
5222
5209
  * @throws {RequiredError}
5223
5210
  */
5224
- createOrder: async (createOrderRequest?: CreateOrderRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5211
+ createOrder: async (orderCreationRequest?: OrderCreationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5225
5212
  const localVarPath = `/users/orders`;
5226
5213
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5227
5214
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5234,6 +5221,10 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5234
5221
  const localVarHeaderParameter = {} as any;
5235
5222
  const localVarQueryParameter = {} as any;
5236
5223
 
5224
+ // authentication jwt required
5225
+ // http bearer authentication required
5226
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5227
+
5237
5228
 
5238
5229
 
5239
5230
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -5241,7 +5232,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5241
5232
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5242
5233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5243
5234
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5244
- localVarRequestOptions.data = serializeDataIfNeeded(createOrderRequest, localVarRequestOptions, configuration)
5235
+ localVarRequestOptions.data = serializeDataIfNeeded(orderCreationRequest, localVarRequestOptions, configuration)
5245
5236
 
5246
5237
  return {
5247
5238
  url: toPathString(localVarUrlObj),
@@ -5291,10 +5282,12 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5291
5282
  * @param {Array<string>} [balanceIDs] Filter by balance ids
5292
5283
  * @param {string} [createdAfter] Filter orders created after the specified date
5293
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
5294
5287
  * @param {*} [options] Override http request option.
5295
5288
  * @throws {RequiredError}
5296
5289
  */
5297
- 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> => {
5298
5291
  const localVarPath = `/admins/orders`;
5299
5292
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5300
5293
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5339,6 +5332,14 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5339
5332
  createdBefore;
5340
5333
  }
5341
5334
 
5335
+ if (userIDs) {
5336
+ localVarQueryParameter['userIDs'] = userIDs;
5337
+ }
5338
+
5339
+ if (clientIDs) {
5340
+ localVarQueryParameter['clientIDs'] = clientIDs;
5341
+ }
5342
+
5342
5343
 
5343
5344
 
5344
5345
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -5427,12 +5428,12 @@ export const OrderApiFp = function(configuration?: Configuration) {
5427
5428
  /**
5428
5429
  * Create a product order. If successful the value of the product will be deducted from the used balance.
5429
5430
  * @summary Create an order for a product
5430
- * @param {CreateOrderRequest} [createOrderRequest]
5431
+ * @param {OrderCreationRequest} [orderCreationRequest]
5431
5432
  * @param {*} [options] Override http request option.
5432
5433
  * @throws {RequiredError}
5433
5434
  */
5434
- async createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
5435
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrder(createOrderRequest, options);
5435
+ async createOrder(orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
5436
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrder(orderCreationRequest, options);
5436
5437
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5437
5438
  },
5438
5439
  /**
@@ -5455,11 +5456,13 @@ export const OrderApiFp = function(configuration?: Configuration) {
5455
5456
  * @param {Array<string>} [balanceIDs] Filter by balance ids
5456
5457
  * @param {string} [createdAfter] Filter orders created after the specified date
5457
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
5458
5461
  * @param {*} [options] Override http request option.
5459
5462
  * @throws {RequiredError}
5460
5463
  */
5461
- async listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
5462
- 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);
5463
5466
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5464
5467
  },
5465
5468
  /**
@@ -5491,12 +5494,12 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
5491
5494
  /**
5492
5495
  * Create a product order. If successful the value of the product will be deducted from the used balance.
5493
5496
  * @summary Create an order for a product
5494
- * @param {CreateOrderRequest} [createOrderRequest]
5497
+ * @param {OrderCreationRequest} [orderCreationRequest]
5495
5498
  * @param {*} [options] Override http request option.
5496
5499
  * @throws {RequiredError}
5497
5500
  */
5498
- createOrder(createOrderRequest?: CreateOrderRequest, options?: any): AxiosPromise<Order> {
5499
- return localVarFp.createOrder(createOrderRequest, options).then((request) => request(axios, basePath));
5501
+ createOrder(orderCreationRequest?: OrderCreationRequest, options?: any): AxiosPromise<Order> {
5502
+ return localVarFp.createOrder(orderCreationRequest, options).then((request) => request(axios, basePath));
5500
5503
  },
5501
5504
  /**
5502
5505
  * Get order details
@@ -5517,11 +5520,13 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
5517
5520
  * @param {Array<string>} [balanceIDs] Filter by balance ids
5518
5521
  * @param {string} [createdAfter] Filter orders created after the specified date
5519
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
5520
5525
  * @param {*} [options] Override http request option.
5521
5526
  * @throws {RequiredError}
5522
5527
  */
5523
- listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse> {
5524
- 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));
5525
5530
  },
5526
5531
  /**
5527
5532
  * List existing orders
@@ -5551,13 +5556,13 @@ export class OrderApi extends BaseAPI {
5551
5556
  /**
5552
5557
  * Create a product order. If successful the value of the product will be deducted from the used balance.
5553
5558
  * @summary Create an order for a product
5554
- * @param {CreateOrderRequest} [createOrderRequest]
5559
+ * @param {OrderCreationRequest} [orderCreationRequest]
5555
5560
  * @param {*} [options] Override http request option.
5556
5561
  * @throws {RequiredError}
5557
5562
  * @memberof OrderApi
5558
5563
  */
5559
- public createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig) {
5560
- return OrderApiFp(this.configuration).createOrder(createOrderRequest, options).then((request) => request(this.axios, this.basePath));
5564
+ public createOrder(orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig) {
5565
+ return OrderApiFp(this.configuration).createOrder(orderCreationRequest, options).then((request) => request(this.axios, this.basePath));
5561
5566
  }
5562
5567
 
5563
5568
  /**
@@ -5581,12 +5586,14 @@ export class OrderApi extends BaseAPI {
5581
5586
  * @param {Array<string>} [balanceIDs] Filter by balance ids
5582
5587
  * @param {string} [createdAfter] Filter orders created after the specified date
5583
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
5584
5591
  * @param {*} [options] Override http request option.
5585
5592
  * @throws {RequiredError}
5586
5593
  * @memberof OrderApi
5587
5594
  */
5588
- public listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) {
5589
- 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));
5590
5597
  }
5591
5598
 
5592
5599
  /**
package/dist/api.d.ts CHANGED
@@ -533,19 +533,6 @@ export declare const Condition: {
533
533
  readonly Contains: "contains";
534
534
  };
535
535
  export type Condition = typeof Condition[keyof typeof Condition];
536
- /**
537
- *
538
- * @export
539
- * @interface CreateOrderRequest
540
- */
541
- export interface CreateOrderRequest {
542
- /**
543
- *
544
- * @type {OrderCreationRequest}
545
- * @memberof CreateOrderRequest
546
- */
547
- 'tag'?: OrderCreationRequest;
548
- }
549
536
  /**
550
537
  *
551
538
  * @export
@@ -4048,11 +4035,11 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
4048
4035
  /**
4049
4036
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4050
4037
  * @summary Create an order for a product
4051
- * @param {CreateOrderRequest} [createOrderRequest]
4038
+ * @param {OrderCreationRequest} [orderCreationRequest]
4052
4039
  * @param {*} [options] Override http request option.
4053
4040
  * @throws {RequiredError}
4054
4041
  */
4055
- createOrder: (createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4042
+ createOrder: (orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4056
4043
  /**
4057
4044
  * Get order details
4058
4045
  * @summary Get order details
@@ -4070,10 +4057,12 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
4070
4057
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4071
4058
  * @param {string} [createdAfter] Filter orders created after the specified date
4072
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
4073
4062
  * @param {*} [options] Override http request option.
4074
4063
  * @throws {RequiredError}
4075
4064
  */
4076
- 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>;
4077
4066
  /**
4078
4067
  * List existing orders
4079
4068
  * @summary List existing orders
@@ -4096,11 +4085,11 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
4096
4085
  /**
4097
4086
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4098
4087
  * @summary Create an order for a product
4099
- * @param {CreateOrderRequest} [createOrderRequest]
4088
+ * @param {OrderCreationRequest} [orderCreationRequest]
4100
4089
  * @param {*} [options] Override http request option.
4101
4090
  * @throws {RequiredError}
4102
4091
  */
4103
- createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
4092
+ createOrder(orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
4104
4093
  /**
4105
4094
  * Get order details
4106
4095
  * @summary Get order details
@@ -4118,10 +4107,12 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
4118
4107
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4119
4108
  * @param {string} [createdAfter] Filter orders created after the specified date
4120
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
4121
4112
  * @param {*} [options] Override http request option.
4122
4113
  * @throws {RequiredError}
4123
4114
  */
4124
- 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>>;
4125
4116
  /**
4126
4117
  * List existing orders
4127
4118
  * @summary List existing orders
@@ -4144,11 +4135,11 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
4144
4135
  /**
4145
4136
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4146
4137
  * @summary Create an order for a product
4147
- * @param {CreateOrderRequest} [createOrderRequest]
4138
+ * @param {OrderCreationRequest} [orderCreationRequest]
4148
4139
  * @param {*} [options] Override http request option.
4149
4140
  * @throws {RequiredError}
4150
4141
  */
4151
- createOrder(createOrderRequest?: CreateOrderRequest, options?: any): AxiosPromise<Order>;
4142
+ createOrder(orderCreationRequest?: OrderCreationRequest, options?: any): AxiosPromise<Order>;
4152
4143
  /**
4153
4144
  * Get order details
4154
4145
  * @summary Get order details
@@ -4166,10 +4157,12 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
4166
4157
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4167
4158
  * @param {string} [createdAfter] Filter orders created after the specified date
4168
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
4169
4162
  * @param {*} [options] Override http request option.
4170
4163
  * @throws {RequiredError}
4171
4164
  */
4172
- 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>;
4173
4166
  /**
4174
4167
  * List existing orders
4175
4168
  * @summary List existing orders
@@ -4194,12 +4187,12 @@ export declare class OrderApi extends BaseAPI {
4194
4187
  /**
4195
4188
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4196
4189
  * @summary Create an order for a product
4197
- * @param {CreateOrderRequest} [createOrderRequest]
4190
+ * @param {OrderCreationRequest} [orderCreationRequest]
4198
4191
  * @param {*} [options] Override http request option.
4199
4192
  * @throws {RequiredError}
4200
4193
  * @memberof OrderApi
4201
4194
  */
4202
- createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
4195
+ createOrder(orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
4203
4196
  /**
4204
4197
  * Get order details
4205
4198
  * @summary Get order details
@@ -4218,11 +4211,13 @@ export declare class OrderApi extends BaseAPI {
4218
4211
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4219
4212
  * @param {string} [createdAfter] Filter orders created after the specified date
4220
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
4221
4216
  * @param {*} [options] Override http request option.
4222
4217
  * @throws {RequiredError}
4223
4218
  * @memberof OrderApi
4224
4219
  */
4225
- 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>>;
4226
4221
  /**
4227
4222
  * List existing orders
4228
4223
  * @summary List existing orders
package/dist/api.js CHANGED
@@ -2198,11 +2198,11 @@ const OrderApiAxiosParamCreator = function (configuration) {
2198
2198
  /**
2199
2199
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2200
2200
  * @summary Create an order for a product
2201
- * @param {CreateOrderRequest} [createOrderRequest]
2201
+ * @param {OrderCreationRequest} [orderCreationRequest]
2202
2202
  * @param {*} [options] Override http request option.
2203
2203
  * @throws {RequiredError}
2204
2204
  */
2205
- createOrder: (createOrderRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2205
+ createOrder: (orderCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2206
2206
  const localVarPath = `/users/orders`;
2207
2207
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2208
2208
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2213,11 +2213,14 @@ const OrderApiAxiosParamCreator = function (configuration) {
2213
2213
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2214
2214
  const localVarHeaderParameter = {};
2215
2215
  const localVarQueryParameter = {};
2216
+ // authentication jwt required
2217
+ // http bearer authentication required
2218
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2216
2219
  localVarHeaderParameter['Content-Type'] = 'application/json';
2217
2220
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2218
2221
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2219
2222
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2220
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createOrderRequest, localVarRequestOptions, configuration);
2223
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderCreationRequest, localVarRequestOptions, configuration);
2221
2224
  return {
2222
2225
  url: (0, common_1.toPathString)(localVarUrlObj),
2223
2226
  options: localVarRequestOptions,
@@ -2261,10 +2264,12 @@ const OrderApiAxiosParamCreator = function (configuration) {
2261
2264
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2262
2265
  * @param {string} [createdAfter] Filter orders created after the specified date
2263
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
2264
2269
  * @param {*} [options] Override http request option.
2265
2270
  * @throws {RequiredError}
2266
2271
  */
2267
- 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* () {
2268
2273
  const localVarPath = `/admins/orders`;
2269
2274
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2270
2275
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2300,6 +2305,12 @@ const OrderApiAxiosParamCreator = function (configuration) {
2300
2305
  createdBefore.toISOString() :
2301
2306
  createdBefore;
2302
2307
  }
2308
+ if (userIDs) {
2309
+ localVarQueryParameter['userIDs'] = userIDs;
2310
+ }
2311
+ if (clientIDs) {
2312
+ localVarQueryParameter['clientIDs'] = clientIDs;
2313
+ }
2303
2314
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2304
2315
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2305
2316
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2374,13 +2385,13 @@ const OrderApiFp = function (configuration) {
2374
2385
  /**
2375
2386
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2376
2387
  * @summary Create an order for a product
2377
- * @param {CreateOrderRequest} [createOrderRequest]
2388
+ * @param {OrderCreationRequest} [orderCreationRequest]
2378
2389
  * @param {*} [options] Override http request option.
2379
2390
  * @throws {RequiredError}
2380
2391
  */
2381
- createOrder(createOrderRequest, options) {
2392
+ createOrder(orderCreationRequest, options) {
2382
2393
  return __awaiter(this, void 0, void 0, function* () {
2383
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrder(createOrderRequest, options);
2394
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrder(orderCreationRequest, options);
2384
2395
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2385
2396
  });
2386
2397
  },
@@ -2406,12 +2417,14 @@ const OrderApiFp = function (configuration) {
2406
2417
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2407
2418
  * @param {string} [createdAfter] Filter orders created after the specified date
2408
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
2409
2422
  * @param {*} [options] Override http request option.
2410
2423
  * @throws {RequiredError}
2411
2424
  */
2412
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
2425
+ listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
2413
2426
  return __awaiter(this, void 0, void 0, function* () {
2414
- 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);
2415
2428
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2416
2429
  });
2417
2430
  },
@@ -2446,12 +2459,12 @@ const OrderApiFactory = function (configuration, basePath, axios) {
2446
2459
  /**
2447
2460
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2448
2461
  * @summary Create an order for a product
2449
- * @param {CreateOrderRequest} [createOrderRequest]
2462
+ * @param {OrderCreationRequest} [orderCreationRequest]
2450
2463
  * @param {*} [options] Override http request option.
2451
2464
  * @throws {RequiredError}
2452
2465
  */
2453
- createOrder(createOrderRequest, options) {
2454
- return localVarFp.createOrder(createOrderRequest, options).then((request) => request(axios, basePath));
2466
+ createOrder(orderCreationRequest, options) {
2467
+ return localVarFp.createOrder(orderCreationRequest, options).then((request) => request(axios, basePath));
2455
2468
  },
2456
2469
  /**
2457
2470
  * Get order details
@@ -2472,11 +2485,13 @@ const OrderApiFactory = function (configuration, basePath, axios) {
2472
2485
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2473
2486
  * @param {string} [createdAfter] Filter orders created after the specified date
2474
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
2475
2490
  * @param {*} [options] Override http request option.
2476
2491
  * @throws {RequiredError}
2477
2492
  */
2478
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
2479
- 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));
2480
2495
  },
2481
2496
  /**
2482
2497
  * List existing orders
@@ -2506,13 +2521,13 @@ class OrderApi extends base_1.BaseAPI {
2506
2521
  /**
2507
2522
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2508
2523
  * @summary Create an order for a product
2509
- * @param {CreateOrderRequest} [createOrderRequest]
2524
+ * @param {OrderCreationRequest} [orderCreationRequest]
2510
2525
  * @param {*} [options] Override http request option.
2511
2526
  * @throws {RequiredError}
2512
2527
  * @memberof OrderApi
2513
2528
  */
2514
- createOrder(createOrderRequest, options) {
2515
- return (0, exports.OrderApiFp)(this.configuration).createOrder(createOrderRequest, options).then((request) => request(this.axios, this.basePath));
2529
+ createOrder(orderCreationRequest, options) {
2530
+ return (0, exports.OrderApiFp)(this.configuration).createOrder(orderCreationRequest, options).then((request) => request(this.axios, this.basePath));
2516
2531
  }
2517
2532
  /**
2518
2533
  * Get order details
@@ -2534,12 +2549,14 @@ class OrderApi extends base_1.BaseAPI {
2534
2549
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2535
2550
  * @param {string} [createdAfter] Filter orders created after the specified date
2536
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
2537
2554
  * @param {*} [options] Override http request option.
2538
2555
  * @throws {RequiredError}
2539
2556
  * @memberof OrderApi
2540
2557
  */
2541
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
2542
- 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));
2543
2560
  }
2544
2561
  /**
2545
2562
  * List existing orders
package/dist/esm/api.d.ts CHANGED
@@ -533,19 +533,6 @@ export declare const Condition: {
533
533
  readonly Contains: "contains";
534
534
  };
535
535
  export type Condition = typeof Condition[keyof typeof Condition];
536
- /**
537
- *
538
- * @export
539
- * @interface CreateOrderRequest
540
- */
541
- export interface CreateOrderRequest {
542
- /**
543
- *
544
- * @type {OrderCreationRequest}
545
- * @memberof CreateOrderRequest
546
- */
547
- 'tag'?: OrderCreationRequest;
548
- }
549
536
  /**
550
537
  *
551
538
  * @export
@@ -4048,11 +4035,11 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
4048
4035
  /**
4049
4036
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4050
4037
  * @summary Create an order for a product
4051
- * @param {CreateOrderRequest} [createOrderRequest]
4038
+ * @param {OrderCreationRequest} [orderCreationRequest]
4052
4039
  * @param {*} [options] Override http request option.
4053
4040
  * @throws {RequiredError}
4054
4041
  */
4055
- createOrder: (createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4042
+ createOrder: (orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4056
4043
  /**
4057
4044
  * Get order details
4058
4045
  * @summary Get order details
@@ -4070,10 +4057,12 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
4070
4057
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4071
4058
  * @param {string} [createdAfter] Filter orders created after the specified date
4072
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
4073
4062
  * @param {*} [options] Override http request option.
4074
4063
  * @throws {RequiredError}
4075
4064
  */
4076
- 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>;
4077
4066
  /**
4078
4067
  * List existing orders
4079
4068
  * @summary List existing orders
@@ -4096,11 +4085,11 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
4096
4085
  /**
4097
4086
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4098
4087
  * @summary Create an order for a product
4099
- * @param {CreateOrderRequest} [createOrderRequest]
4088
+ * @param {OrderCreationRequest} [orderCreationRequest]
4100
4089
  * @param {*} [options] Override http request option.
4101
4090
  * @throws {RequiredError}
4102
4091
  */
4103
- createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
4092
+ createOrder(orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
4104
4093
  /**
4105
4094
  * Get order details
4106
4095
  * @summary Get order details
@@ -4118,10 +4107,12 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
4118
4107
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4119
4108
  * @param {string} [createdAfter] Filter orders created after the specified date
4120
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
4121
4112
  * @param {*} [options] Override http request option.
4122
4113
  * @throws {RequiredError}
4123
4114
  */
4124
- 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>>;
4125
4116
  /**
4126
4117
  * List existing orders
4127
4118
  * @summary List existing orders
@@ -4144,11 +4135,11 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
4144
4135
  /**
4145
4136
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4146
4137
  * @summary Create an order for a product
4147
- * @param {CreateOrderRequest} [createOrderRequest]
4138
+ * @param {OrderCreationRequest} [orderCreationRequest]
4148
4139
  * @param {*} [options] Override http request option.
4149
4140
  * @throws {RequiredError}
4150
4141
  */
4151
- createOrder(createOrderRequest?: CreateOrderRequest, options?: any): AxiosPromise<Order>;
4142
+ createOrder(orderCreationRequest?: OrderCreationRequest, options?: any): AxiosPromise<Order>;
4152
4143
  /**
4153
4144
  * Get order details
4154
4145
  * @summary Get order details
@@ -4166,10 +4157,12 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
4166
4157
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4167
4158
  * @param {string} [createdAfter] Filter orders created after the specified date
4168
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
4169
4162
  * @param {*} [options] Override http request option.
4170
4163
  * @throws {RequiredError}
4171
4164
  */
4172
- 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>;
4173
4166
  /**
4174
4167
  * List existing orders
4175
4168
  * @summary List existing orders
@@ -4194,12 +4187,12 @@ export declare class OrderApi extends BaseAPI {
4194
4187
  /**
4195
4188
  * Create a product order. If successful the value of the product will be deducted from the used balance.
4196
4189
  * @summary Create an order for a product
4197
- * @param {CreateOrderRequest} [createOrderRequest]
4190
+ * @param {OrderCreationRequest} [orderCreationRequest]
4198
4191
  * @param {*} [options] Override http request option.
4199
4192
  * @throws {RequiredError}
4200
4193
  * @memberof OrderApi
4201
4194
  */
4202
- createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
4195
+ createOrder(orderCreationRequest?: OrderCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
4203
4196
  /**
4204
4197
  * Get order details
4205
4198
  * @summary Get order details
@@ -4218,11 +4211,13 @@ export declare class OrderApi extends BaseAPI {
4218
4211
  * @param {Array<string>} [balanceIDs] Filter by balance ids
4219
4212
  * @param {string} [createdAfter] Filter orders created after the specified date
4220
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
4221
4216
  * @param {*} [options] Override http request option.
4222
4217
  * @throws {RequiredError}
4223
4218
  * @memberof OrderApi
4224
4219
  */
4225
- 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>>;
4226
4221
  /**
4227
4222
  * List existing orders
4228
4223
  * @summary List existing orders
package/dist/esm/api.js CHANGED
@@ -2157,11 +2157,11 @@ export const OrderApiAxiosParamCreator = function (configuration) {
2157
2157
  /**
2158
2158
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2159
2159
  * @summary Create an order for a product
2160
- * @param {CreateOrderRequest} [createOrderRequest]
2160
+ * @param {OrderCreationRequest} [orderCreationRequest]
2161
2161
  * @param {*} [options] Override http request option.
2162
2162
  * @throws {RequiredError}
2163
2163
  */
2164
- createOrder: (createOrderRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2164
+ createOrder: (orderCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2165
2165
  const localVarPath = `/users/orders`;
2166
2166
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2167
2167
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2172,11 +2172,14 @@ export const OrderApiAxiosParamCreator = function (configuration) {
2172
2172
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2173
2173
  const localVarHeaderParameter = {};
2174
2174
  const localVarQueryParameter = {};
2175
+ // authentication jwt required
2176
+ // http bearer authentication required
2177
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2175
2178
  localVarHeaderParameter['Content-Type'] = 'application/json';
2176
2179
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2177
2180
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2178
2181
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2179
- localVarRequestOptions.data = serializeDataIfNeeded(createOrderRequest, localVarRequestOptions, configuration);
2182
+ localVarRequestOptions.data = serializeDataIfNeeded(orderCreationRequest, localVarRequestOptions, configuration);
2180
2183
  return {
2181
2184
  url: toPathString(localVarUrlObj),
2182
2185
  options: localVarRequestOptions,
@@ -2220,10 +2223,12 @@ export const OrderApiAxiosParamCreator = function (configuration) {
2220
2223
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2221
2224
  * @param {string} [createdAfter] Filter orders created after the specified date
2222
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
2223
2228
  * @param {*} [options] Override http request option.
2224
2229
  * @throws {RequiredError}
2225
2230
  */
2226
- 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* () {
2227
2232
  const localVarPath = `/admins/orders`;
2228
2233
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2229
2234
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2259,6 +2264,12 @@ export const OrderApiAxiosParamCreator = function (configuration) {
2259
2264
  createdBefore.toISOString() :
2260
2265
  createdBefore;
2261
2266
  }
2267
+ if (userIDs) {
2268
+ localVarQueryParameter['userIDs'] = userIDs;
2269
+ }
2270
+ if (clientIDs) {
2271
+ localVarQueryParameter['clientIDs'] = clientIDs;
2272
+ }
2262
2273
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2263
2274
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2264
2275
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2332,13 +2343,13 @@ export const OrderApiFp = function (configuration) {
2332
2343
  /**
2333
2344
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2334
2345
  * @summary Create an order for a product
2335
- * @param {CreateOrderRequest} [createOrderRequest]
2346
+ * @param {OrderCreationRequest} [orderCreationRequest]
2336
2347
  * @param {*} [options] Override http request option.
2337
2348
  * @throws {RequiredError}
2338
2349
  */
2339
- createOrder(createOrderRequest, options) {
2350
+ createOrder(orderCreationRequest, options) {
2340
2351
  return __awaiter(this, void 0, void 0, function* () {
2341
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrder(createOrderRequest, options);
2352
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrder(orderCreationRequest, options);
2342
2353
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2343
2354
  });
2344
2355
  },
@@ -2364,12 +2375,14 @@ export const OrderApiFp = function (configuration) {
2364
2375
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2365
2376
  * @param {string} [createdAfter] Filter orders created after the specified date
2366
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
2367
2380
  * @param {*} [options] Override http request option.
2368
2381
  * @throws {RequiredError}
2369
2382
  */
2370
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
2383
+ listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
2371
2384
  return __awaiter(this, void 0, void 0, function* () {
2372
- 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);
2373
2386
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2374
2387
  });
2375
2388
  },
@@ -2403,12 +2416,12 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
2403
2416
  /**
2404
2417
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2405
2418
  * @summary Create an order for a product
2406
- * @param {CreateOrderRequest} [createOrderRequest]
2419
+ * @param {OrderCreationRequest} [orderCreationRequest]
2407
2420
  * @param {*} [options] Override http request option.
2408
2421
  * @throws {RequiredError}
2409
2422
  */
2410
- createOrder(createOrderRequest, options) {
2411
- return localVarFp.createOrder(createOrderRequest, options).then((request) => request(axios, basePath));
2423
+ createOrder(orderCreationRequest, options) {
2424
+ return localVarFp.createOrder(orderCreationRequest, options).then((request) => request(axios, basePath));
2412
2425
  },
2413
2426
  /**
2414
2427
  * Get order details
@@ -2429,11 +2442,13 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
2429
2442
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2430
2443
  * @param {string} [createdAfter] Filter orders created after the specified date
2431
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
2432
2447
  * @param {*} [options] Override http request option.
2433
2448
  * @throws {RequiredError}
2434
2449
  */
2435
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
2436
- 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));
2437
2452
  },
2438
2453
  /**
2439
2454
  * List existing orders
@@ -2462,13 +2477,13 @@ export class OrderApi extends BaseAPI {
2462
2477
  /**
2463
2478
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2464
2479
  * @summary Create an order for a product
2465
- * @param {CreateOrderRequest} [createOrderRequest]
2480
+ * @param {OrderCreationRequest} [orderCreationRequest]
2466
2481
  * @param {*} [options] Override http request option.
2467
2482
  * @throws {RequiredError}
2468
2483
  * @memberof OrderApi
2469
2484
  */
2470
- createOrder(createOrderRequest, options) {
2471
- return OrderApiFp(this.configuration).createOrder(createOrderRequest, options).then((request) => request(this.axios, this.basePath));
2485
+ createOrder(orderCreationRequest, options) {
2486
+ return OrderApiFp(this.configuration).createOrder(orderCreationRequest, options).then((request) => request(this.axios, this.basePath));
2472
2487
  }
2473
2488
  /**
2474
2489
  * Get order details
@@ -2490,12 +2505,14 @@ export class OrderApi extends BaseAPI {
2490
2505
  * @param {Array<string>} [balanceIDs] Filter by balance ids
2491
2506
  * @param {string} [createdAfter] Filter orders created after the specified date
2492
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
2493
2510
  * @param {*} [options] Override http request option.
2494
2511
  * @throws {RequiredError}
2495
2512
  * @memberof OrderApi
2496
2513
  */
2497
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
2498
- 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));
2499
2516
  }
2500
2517
  /**
2501
2518
  * List existing orders
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.455-prerelease0",
3
+ "version": "0.0.464-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {