flexinet-api 0.0.1260 → 0.0.1262

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.1260
1
+ ## flexinet-api@0.0.1262
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.1260 --save
39
+ npm install flexinet-api@0.0.1262 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -603,6 +603,12 @@ export interface Client {
603
603
  * @memberof Client
604
604
  */
605
605
  'isSuspended'?: boolean;
606
+ /**
607
+ *
608
+ * @type {boolean}
609
+ * @memberof Client
610
+ */
611
+ 'isExcluded'?: boolean;
606
612
  }
607
613
  /**
608
614
  *
@@ -666,6 +672,25 @@ export interface ClientListResponse {
666
672
  */
667
673
  'hasMore': boolean;
668
674
  }
675
+ /**
676
+ *
677
+ * @export
678
+ * @interface ClientUpdateRequest
679
+ */
680
+ export interface ClientUpdateRequest {
681
+ /**
682
+ *
683
+ * @type {string}
684
+ * @memberof ClientUpdateRequest
685
+ */
686
+ 'referenceId': string;
687
+ /**
688
+ *
689
+ * @type {boolean}
690
+ * @memberof ClientUpdateRequest
691
+ */
692
+ 'isExcluded': boolean;
693
+ }
669
694
  /**
670
695
  *
671
696
  * @export
@@ -679,6 +704,19 @@ export interface ClientsBulkCreationRequest {
679
704
  */
680
705
  'clients': Array<ClientCreationRequest>;
681
706
  }
707
+ /**
708
+ *
709
+ * @export
710
+ * @interface ClientsBulkUpdateRequest
711
+ */
712
+ export interface ClientsBulkUpdateRequest {
713
+ /**
714
+ *
715
+ * @type {Array<ClientUpdateRequest>}
716
+ * @memberof ClientsBulkUpdateRequest
717
+ */
718
+ 'clients': Array<ClientUpdateRequest>;
719
+ }
682
720
  /**
683
721
  *
684
722
  * @export
@@ -4970,6 +5008,44 @@ export const BulkApiAxiosParamCreator = function (configuration?: Configuration)
4970
5008
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4971
5009
  localVarRequestOptions.data = serializeDataIfNeeded(tagsBulkCreationRequest, localVarRequestOptions, configuration)
4972
5010
 
5011
+ return {
5012
+ url: toPathString(localVarUrlObj),
5013
+ options: localVarRequestOptions,
5014
+ };
5015
+ },
5016
+ /**
5017
+ * Update multiple clients
5018
+ * @summary Update multiple clients
5019
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
5020
+ * @param {*} [options] Override http request option.
5021
+ * @throws {RequiredError}
5022
+ */
5023
+ bulkUpdateClients: async (clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5024
+ const localVarPath = `/admins/clients/bulk`;
5025
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5026
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5027
+ let baseOptions;
5028
+ if (configuration) {
5029
+ baseOptions = configuration.baseOptions;
5030
+ }
5031
+
5032
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5033
+ const localVarHeaderParameter = {} as any;
5034
+ const localVarQueryParameter = {} as any;
5035
+
5036
+ // authentication systemJWT required
5037
+ // http bearer authentication required
5038
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5039
+
5040
+
5041
+
5042
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5043
+
5044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5047
+ localVarRequestOptions.data = serializeDataIfNeeded(clientsBulkUpdateRequest, localVarRequestOptions, configuration)
5048
+
4973
5049
  return {
4974
5050
  url: toPathString(localVarUrlObj),
4975
5051
  options: localVarRequestOptions,
@@ -5018,6 +5094,17 @@ export const BulkApiFp = function(configuration?: Configuration) {
5018
5094
  const localVarAxiosArgs = await localVarAxiosParamCreator.bulkCreateTags(tagsBulkCreationRequest, options);
5019
5095
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5020
5096
  },
5097
+ /**
5098
+ * Update multiple clients
5099
+ * @summary Update multiple clients
5100
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
5101
+ * @param {*} [options] Override http request option.
5102
+ * @throws {RequiredError}
5103
+ */
5104
+ async bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>> {
5105
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bulkUpdateClients(clientsBulkUpdateRequest, options);
5106
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5107
+ },
5021
5108
  }
5022
5109
  };
5023
5110
 
@@ -5058,6 +5145,16 @@ export const BulkApiFactory = function (configuration?: Configuration, basePath?
5058
5145
  bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>> {
5059
5146
  return localVarFp.bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(axios, basePath));
5060
5147
  },
5148
+ /**
5149
+ * Update multiple clients
5150
+ * @summary Update multiple clients
5151
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
5152
+ * @param {*} [options] Override http request option.
5153
+ * @throws {RequiredError}
5154
+ */
5155
+ bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: any): AxiosPromise<Array<Client>> {
5156
+ return localVarFp.bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(axios, basePath));
5157
+ },
5061
5158
  };
5062
5159
  };
5063
5160
 
@@ -5103,6 +5200,18 @@ export class BulkApi extends BaseAPI {
5103
5200
  public bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) {
5104
5201
  return BulkApiFp(this.configuration).bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
5105
5202
  }
5203
+
5204
+ /**
5205
+ * Update multiple clients
5206
+ * @summary Update multiple clients
5207
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
5208
+ * @param {*} [options] Override http request option.
5209
+ * @throws {RequiredError}
5210
+ * @memberof BulkApi
5211
+ */
5212
+ public bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig) {
5213
+ return BulkApiFp(this.configuration).bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(this.axios, this.basePath));
5214
+ }
5106
5215
  }
5107
5216
 
5108
5217
 
package/dist/api.d.ts CHANGED
@@ -560,6 +560,12 @@ export interface Client {
560
560
  * @memberof Client
561
561
  */
562
562
  'isSuspended'?: boolean;
563
+ /**
564
+ *
565
+ * @type {boolean}
566
+ * @memberof Client
567
+ */
568
+ 'isExcluded'?: boolean;
563
569
  }
564
570
  /**
565
571
  *
@@ -625,6 +631,25 @@ export interface ClientListResponse {
625
631
  */
626
632
  'hasMore': boolean;
627
633
  }
634
+ /**
635
+ *
636
+ * @export
637
+ * @interface ClientUpdateRequest
638
+ */
639
+ export interface ClientUpdateRequest {
640
+ /**
641
+ *
642
+ * @type {string}
643
+ * @memberof ClientUpdateRequest
644
+ */
645
+ 'referenceId': string;
646
+ /**
647
+ *
648
+ * @type {boolean}
649
+ * @memberof ClientUpdateRequest
650
+ */
651
+ 'isExcluded': boolean;
652
+ }
628
653
  /**
629
654
  *
630
655
  * @export
@@ -638,6 +663,19 @@ export interface ClientsBulkCreationRequest {
638
663
  */
639
664
  'clients': Array<ClientCreationRequest>;
640
665
  }
666
+ /**
667
+ *
668
+ * @export
669
+ * @interface ClientsBulkUpdateRequest
670
+ */
671
+ export interface ClientsBulkUpdateRequest {
672
+ /**
673
+ *
674
+ * @type {Array<ClientUpdateRequest>}
675
+ * @memberof ClientsBulkUpdateRequest
676
+ */
677
+ 'clients': Array<ClientUpdateRequest>;
678
+ }
641
679
  /**
642
680
  *
643
681
  * @export
@@ -4402,6 +4440,14 @@ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) =
4402
4440
  * @throws {RequiredError}
4403
4441
  */
4404
4442
  bulkCreateTags: (tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4443
+ /**
4444
+ * Update multiple clients
4445
+ * @summary Update multiple clients
4446
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4447
+ * @param {*} [options] Override http request option.
4448
+ * @throws {RequiredError}
4449
+ */
4450
+ bulkUpdateClients: (clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4405
4451
  };
4406
4452
  /**
4407
4453
  * BulkApi - functional programming interface
@@ -4432,6 +4478,14 @@ export declare const BulkApiFp: (configuration?: Configuration) => {
4432
4478
  * @throws {RequiredError}
4433
4479
  */
4434
4480
  bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TagDetailed>>>;
4481
+ /**
4482
+ * Update multiple clients
4483
+ * @summary Update multiple clients
4484
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4485
+ * @param {*} [options] Override http request option.
4486
+ * @throws {RequiredError}
4487
+ */
4488
+ bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
4435
4489
  };
4436
4490
  /**
4437
4491
  * BulkApi - factory interface
@@ -4462,6 +4516,14 @@ export declare const BulkApiFactory: (configuration?: Configuration, basePath?:
4462
4516
  * @throws {RequiredError}
4463
4517
  */
4464
4518
  bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>>;
4519
+ /**
4520
+ * Update multiple clients
4521
+ * @summary Update multiple clients
4522
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4523
+ * @param {*} [options] Override http request option.
4524
+ * @throws {RequiredError}
4525
+ */
4526
+ bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: any): AxiosPromise<Array<Client>>;
4465
4527
  };
4466
4528
  /**
4467
4529
  * BulkApi - object-oriented interface
@@ -4497,6 +4559,15 @@ export declare class BulkApi extends BaseAPI {
4497
4559
  * @memberof BulkApi
4498
4560
  */
4499
4561
  bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed[], any>>;
4562
+ /**
4563
+ * Update multiple clients
4564
+ * @summary Update multiple clients
4565
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4566
+ * @param {*} [options] Override http request option.
4567
+ * @throws {RequiredError}
4568
+ * @memberof BulkApi
4569
+ */
4570
+ bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
4500
4571
  }
4501
4572
  /**
4502
4573
  * CategoryApi - axios parameter creator
package/dist/api.js CHANGED
@@ -1021,6 +1021,37 @@ const BulkApiAxiosParamCreator = function (configuration) {
1021
1021
  options: localVarRequestOptions,
1022
1022
  };
1023
1023
  }),
1024
+ /**
1025
+ * Update multiple clients
1026
+ * @summary Update multiple clients
1027
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1028
+ * @param {*} [options] Override http request option.
1029
+ * @throws {RequiredError}
1030
+ */
1031
+ bulkUpdateClients: (clientsBulkUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1032
+ const localVarPath = `/admins/clients/bulk`;
1033
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1034
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1035
+ let baseOptions;
1036
+ if (configuration) {
1037
+ baseOptions = configuration.baseOptions;
1038
+ }
1039
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1040
+ const localVarHeaderParameter = {};
1041
+ const localVarQueryParameter = {};
1042
+ // authentication systemJWT required
1043
+ // http bearer authentication required
1044
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1045
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1046
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1047
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1048
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1049
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clientsBulkUpdateRequest, localVarRequestOptions, configuration);
1050
+ return {
1051
+ url: (0, common_1.toPathString)(localVarUrlObj),
1052
+ options: localVarRequestOptions,
1053
+ };
1054
+ }),
1024
1055
  };
1025
1056
  };
1026
1057
  exports.BulkApiAxiosParamCreator = BulkApiAxiosParamCreator;
@@ -1070,6 +1101,19 @@ const BulkApiFp = function (configuration) {
1070
1101
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1071
1102
  });
1072
1103
  },
1104
+ /**
1105
+ * Update multiple clients
1106
+ * @summary Update multiple clients
1107
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1108
+ * @param {*} [options] Override http request option.
1109
+ * @throws {RequiredError}
1110
+ */
1111
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1112
+ return __awaiter(this, void 0, void 0, function* () {
1113
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateClients(clientsBulkUpdateRequest, options);
1114
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1115
+ });
1116
+ },
1073
1117
  };
1074
1118
  };
1075
1119
  exports.BulkApiFp = BulkApiFp;
@@ -1110,6 +1154,16 @@ const BulkApiFactory = function (configuration, basePath, axios) {
1110
1154
  bulkCreateTags(tagsBulkCreationRequest, options) {
1111
1155
  return localVarFp.bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(axios, basePath));
1112
1156
  },
1157
+ /**
1158
+ * Update multiple clients
1159
+ * @summary Update multiple clients
1160
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1161
+ * @param {*} [options] Override http request option.
1162
+ * @throws {RequiredError}
1163
+ */
1164
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1165
+ return localVarFp.bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(axios, basePath));
1166
+ },
1113
1167
  };
1114
1168
  };
1115
1169
  exports.BulkApiFactory = BulkApiFactory;
@@ -1153,6 +1207,17 @@ class BulkApi extends base_1.BaseAPI {
1153
1207
  bulkCreateTags(tagsBulkCreationRequest, options) {
1154
1208
  return (0, exports.BulkApiFp)(this.configuration).bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1155
1209
  }
1210
+ /**
1211
+ * Update multiple clients
1212
+ * @summary Update multiple clients
1213
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1214
+ * @param {*} [options] Override http request option.
1215
+ * @throws {RequiredError}
1216
+ * @memberof BulkApi
1217
+ */
1218
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1219
+ return (0, exports.BulkApiFp)(this.configuration).bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(this.axios, this.basePath));
1220
+ }
1156
1221
  }
1157
1222
  exports.BulkApi = BulkApi;
1158
1223
  /**
package/dist/esm/api.d.ts CHANGED
@@ -560,6 +560,12 @@ export interface Client {
560
560
  * @memberof Client
561
561
  */
562
562
  'isSuspended'?: boolean;
563
+ /**
564
+ *
565
+ * @type {boolean}
566
+ * @memberof Client
567
+ */
568
+ 'isExcluded'?: boolean;
563
569
  }
564
570
  /**
565
571
  *
@@ -625,6 +631,25 @@ export interface ClientListResponse {
625
631
  */
626
632
  'hasMore': boolean;
627
633
  }
634
+ /**
635
+ *
636
+ * @export
637
+ * @interface ClientUpdateRequest
638
+ */
639
+ export interface ClientUpdateRequest {
640
+ /**
641
+ *
642
+ * @type {string}
643
+ * @memberof ClientUpdateRequest
644
+ */
645
+ 'referenceId': string;
646
+ /**
647
+ *
648
+ * @type {boolean}
649
+ * @memberof ClientUpdateRequest
650
+ */
651
+ 'isExcluded': boolean;
652
+ }
628
653
  /**
629
654
  *
630
655
  * @export
@@ -638,6 +663,19 @@ export interface ClientsBulkCreationRequest {
638
663
  */
639
664
  'clients': Array<ClientCreationRequest>;
640
665
  }
666
+ /**
667
+ *
668
+ * @export
669
+ * @interface ClientsBulkUpdateRequest
670
+ */
671
+ export interface ClientsBulkUpdateRequest {
672
+ /**
673
+ *
674
+ * @type {Array<ClientUpdateRequest>}
675
+ * @memberof ClientsBulkUpdateRequest
676
+ */
677
+ 'clients': Array<ClientUpdateRequest>;
678
+ }
641
679
  /**
642
680
  *
643
681
  * @export
@@ -4402,6 +4440,14 @@ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) =
4402
4440
  * @throws {RequiredError}
4403
4441
  */
4404
4442
  bulkCreateTags: (tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4443
+ /**
4444
+ * Update multiple clients
4445
+ * @summary Update multiple clients
4446
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4447
+ * @param {*} [options] Override http request option.
4448
+ * @throws {RequiredError}
4449
+ */
4450
+ bulkUpdateClients: (clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4405
4451
  };
4406
4452
  /**
4407
4453
  * BulkApi - functional programming interface
@@ -4432,6 +4478,14 @@ export declare const BulkApiFp: (configuration?: Configuration) => {
4432
4478
  * @throws {RequiredError}
4433
4479
  */
4434
4480
  bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TagDetailed>>>;
4481
+ /**
4482
+ * Update multiple clients
4483
+ * @summary Update multiple clients
4484
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4485
+ * @param {*} [options] Override http request option.
4486
+ * @throws {RequiredError}
4487
+ */
4488
+ bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
4435
4489
  };
4436
4490
  /**
4437
4491
  * BulkApi - factory interface
@@ -4462,6 +4516,14 @@ export declare const BulkApiFactory: (configuration?: Configuration, basePath?:
4462
4516
  * @throws {RequiredError}
4463
4517
  */
4464
4518
  bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>>;
4519
+ /**
4520
+ * Update multiple clients
4521
+ * @summary Update multiple clients
4522
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4523
+ * @param {*} [options] Override http request option.
4524
+ * @throws {RequiredError}
4525
+ */
4526
+ bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: any): AxiosPromise<Array<Client>>;
4465
4527
  };
4466
4528
  /**
4467
4529
  * BulkApi - object-oriented interface
@@ -4497,6 +4559,15 @@ export declare class BulkApi extends BaseAPI {
4497
4559
  * @memberof BulkApi
4498
4560
  */
4499
4561
  bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed[], any>>;
4562
+ /**
4563
+ * Update multiple clients
4564
+ * @summary Update multiple clients
4565
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
4566
+ * @param {*} [options] Override http request option.
4567
+ * @throws {RequiredError}
4568
+ * @memberof BulkApi
4569
+ */
4570
+ bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
4500
4571
  }
4501
4572
  /**
4502
4573
  * CategoryApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -1008,6 +1008,37 @@ export const BulkApiAxiosParamCreator = function (configuration) {
1008
1008
  options: localVarRequestOptions,
1009
1009
  };
1010
1010
  }),
1011
+ /**
1012
+ * Update multiple clients
1013
+ * @summary Update multiple clients
1014
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1015
+ * @param {*} [options] Override http request option.
1016
+ * @throws {RequiredError}
1017
+ */
1018
+ bulkUpdateClients: (clientsBulkUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1019
+ const localVarPath = `/admins/clients/bulk`;
1020
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1022
+ let baseOptions;
1023
+ if (configuration) {
1024
+ baseOptions = configuration.baseOptions;
1025
+ }
1026
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1027
+ const localVarHeaderParameter = {};
1028
+ const localVarQueryParameter = {};
1029
+ // authentication systemJWT required
1030
+ // http bearer authentication required
1031
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1032
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1033
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1034
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1035
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1036
+ localVarRequestOptions.data = serializeDataIfNeeded(clientsBulkUpdateRequest, localVarRequestOptions, configuration);
1037
+ return {
1038
+ url: toPathString(localVarUrlObj),
1039
+ options: localVarRequestOptions,
1040
+ };
1041
+ }),
1011
1042
  };
1012
1043
  };
1013
1044
  /**
@@ -1056,6 +1087,19 @@ export const BulkApiFp = function (configuration) {
1056
1087
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1057
1088
  });
1058
1089
  },
1090
+ /**
1091
+ * Update multiple clients
1092
+ * @summary Update multiple clients
1093
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1094
+ * @param {*} [options] Override http request option.
1095
+ * @throws {RequiredError}
1096
+ */
1097
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1098
+ return __awaiter(this, void 0, void 0, function* () {
1099
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateClients(clientsBulkUpdateRequest, options);
1100
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1101
+ });
1102
+ },
1059
1103
  };
1060
1104
  };
1061
1105
  /**
@@ -1095,6 +1139,16 @@ export const BulkApiFactory = function (configuration, basePath, axios) {
1095
1139
  bulkCreateTags(tagsBulkCreationRequest, options) {
1096
1140
  return localVarFp.bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(axios, basePath));
1097
1141
  },
1142
+ /**
1143
+ * Update multiple clients
1144
+ * @summary Update multiple clients
1145
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1146
+ * @param {*} [options] Override http request option.
1147
+ * @throws {RequiredError}
1148
+ */
1149
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1150
+ return localVarFp.bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(axios, basePath));
1151
+ },
1098
1152
  };
1099
1153
  };
1100
1154
  /**
@@ -1137,6 +1191,17 @@ export class BulkApi extends BaseAPI {
1137
1191
  bulkCreateTags(tagsBulkCreationRequest, options) {
1138
1192
  return BulkApiFp(this.configuration).bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1139
1193
  }
1194
+ /**
1195
+ * Update multiple clients
1196
+ * @summary Update multiple clients
1197
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1198
+ * @param {*} [options] Override http request option.
1199
+ * @throws {RequiredError}
1200
+ * @memberof BulkApi
1201
+ */
1202
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1203
+ return BulkApiFp(this.configuration).bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(this.axios, this.basePath));
1204
+ }
1140
1205
  }
1141
1206
  /**
1142
1207
  * CategoryApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.1260",
3
+ "version": "0.0.1262",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {