flexinet-api 0.0.565-prerelease0 → 0.0.572-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.565-prerelease0
1
+ ## flexinet-api@0.0.572-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.565-prerelease0 --save
39
+ npm install flexinet-api@0.0.572-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -553,6 +553,12 @@ export interface Client {
553
553
  * @memberof Client
554
554
  */
555
555
  'manager'?: User;
556
+ /**
557
+ *
558
+ * @type {boolean}
559
+ * @memberof Client
560
+ */
561
+ 'isSuspended'?: boolean;
556
562
  }
557
563
  /**
558
564
  *
@@ -584,6 +590,12 @@ export interface ClientCreationRequest {
584
590
  * @memberof ClientCreationRequest
585
591
  */
586
592
  'managerId'?: string;
593
+ /**
594
+ *
595
+ * @type {boolean}
596
+ * @memberof ClientCreationRequest
597
+ */
598
+ 'isSuspended'?: boolean;
587
599
  }
588
600
  /**
589
601
  *
@@ -2769,7 +2781,7 @@ export interface TargetLevel {
2769
2781
  export const TargetMu = {
2770
2782
  Currency: 'currency',
2771
2783
  Product: 'product',
2772
- Liter: 'liter'
2784
+ Additional: 'additional'
2773
2785
  } as const;
2774
2786
 
2775
2787
  export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
@@ -2873,7 +2885,7 @@ export interface TransactionEventDetails {
2873
2885
  * @type {number}
2874
2886
  * @memberof TransactionEventDetails
2875
2887
  */
2876
- 'liter': number;
2888
+ 'additionalMu': number;
2877
2889
  /**
2878
2890
  *
2879
2891
  * @type {string}
@@ -4212,6 +4224,50 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
4212
4224
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4213
4225
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4214
4226
 
4227
+ return {
4228
+ url: toPathString(localVarUrlObj),
4229
+ options: localVarRequestOptions,
4230
+ };
4231
+ },
4232
+ /**
4233
+ * Update client
4234
+ * @summary Update client
4235
+ * @param {string} clientID client ID
4236
+ * @param {ClientCreationRequest} clientCreationRequest client data
4237
+ * @param {*} [options] Override http request option.
4238
+ * @throws {RequiredError}
4239
+ */
4240
+ updateClient: async (clientID: string, clientCreationRequest: ClientCreationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4241
+ // verify required parameter 'clientID' is not null or undefined
4242
+ assertParamExists('updateClient', 'clientID', clientID)
4243
+ // verify required parameter 'clientCreationRequest' is not null or undefined
4244
+ assertParamExists('updateClient', 'clientCreationRequest', clientCreationRequest)
4245
+ const localVarPath = `/admins/clients/{clientID}`
4246
+ .replace(`{${"clientID"}}`, encodeURIComponent(String(clientID)));
4247
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4248
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4249
+ let baseOptions;
4250
+ if (configuration) {
4251
+ baseOptions = configuration.baseOptions;
4252
+ }
4253
+
4254
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4255
+ const localVarHeaderParameter = {} as any;
4256
+ const localVarQueryParameter = {} as any;
4257
+
4258
+ // authentication systemJWT required
4259
+ // http bearer authentication required
4260
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4261
+
4262
+
4263
+
4264
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4265
+
4266
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4267
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4268
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4269
+ localVarRequestOptions.data = serializeDataIfNeeded(clientCreationRequest, localVarRequestOptions, configuration)
4270
+
4215
4271
  return {
4216
4272
  url: toPathString(localVarUrlObj),
4217
4273
  options: localVarRequestOptions,
@@ -4264,6 +4320,18 @@ export const ClientApiFp = function(configuration?: Configuration) {
4264
4320
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, options);
4265
4321
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4266
4322
  },
4323
+ /**
4324
+ * Update client
4325
+ * @summary Update client
4326
+ * @param {string} clientID client ID
4327
+ * @param {ClientCreationRequest} clientCreationRequest client data
4328
+ * @param {*} [options] Override http request option.
4329
+ * @throws {RequiredError}
4330
+ */
4331
+ async updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4332
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClient(clientID, clientCreationRequest, options);
4333
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4334
+ },
4267
4335
  }
4268
4336
  };
4269
4337
 
@@ -4308,6 +4376,17 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
4308
4376
  listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: any): AxiosPromise<ClientListResponse> {
4309
4377
  return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, options).then((request) => request(axios, basePath));
4310
4378
  },
4379
+ /**
4380
+ * Update client
4381
+ * @summary Update client
4382
+ * @param {string} clientID client ID
4383
+ * @param {ClientCreationRequest} clientCreationRequest client data
4384
+ * @param {*} [options] Override http request option.
4385
+ * @throws {RequiredError}
4386
+ */
4387
+ updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: any): AxiosPromise<void> {
4388
+ return localVarFp.updateClient(clientID, clientCreationRequest, options).then((request) => request(axios, basePath));
4389
+ },
4311
4390
  };
4312
4391
  };
4313
4392
 
@@ -4357,6 +4436,19 @@ export class ClientApi extends BaseAPI {
4357
4436
  public listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: AxiosRequestConfig) {
4358
4437
  return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, options).then((request) => request(this.axios, this.basePath));
4359
4438
  }
4439
+
4440
+ /**
4441
+ * Update client
4442
+ * @summary Update client
4443
+ * @param {string} clientID client ID
4444
+ * @param {ClientCreationRequest} clientCreationRequest client data
4445
+ * @param {*} [options] Override http request option.
4446
+ * @throws {RequiredError}
4447
+ * @memberof ClientApi
4448
+ */
4449
+ public updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig) {
4450
+ return ClientApiFp(this.configuration).updateClient(clientID, clientCreationRequest, options).then((request) => request(this.axios, this.basePath));
4451
+ }
4360
4452
  }
4361
4453
 
4362
4454
 
package/dist/api.d.ts CHANGED
@@ -518,6 +518,12 @@ export interface Client {
518
518
  * @memberof Client
519
519
  */
520
520
  'manager'?: User;
521
+ /**
522
+ *
523
+ * @type {boolean}
524
+ * @memberof Client
525
+ */
526
+ 'isSuspended'?: boolean;
521
527
  }
522
528
  /**
523
529
  *
@@ -551,6 +557,12 @@ export interface ClientCreationRequest {
551
557
  * @memberof ClientCreationRequest
552
558
  */
553
559
  'managerId'?: string;
560
+ /**
561
+ *
562
+ * @type {boolean}
563
+ * @memberof ClientCreationRequest
564
+ */
565
+ 'isSuspended'?: boolean;
554
566
  }
555
567
  /**
556
568
  *
@@ -2625,7 +2637,7 @@ export interface TargetLevel {
2625
2637
  export declare const TargetMu: {
2626
2638
  readonly Currency: "currency";
2627
2639
  readonly Product: "product";
2628
- readonly Liter: "liter";
2640
+ readonly Additional: "additional";
2629
2641
  };
2630
2642
  export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
2631
2643
  /**
@@ -2726,7 +2738,7 @@ export interface TransactionEventDetails {
2726
2738
  * @type {number}
2727
2739
  * @memberof TransactionEventDetails
2728
2740
  */
2729
- 'liter': number;
2741
+ 'additionalMu': number;
2730
2742
  /**
2731
2743
  *
2732
2744
  * @type {string}
@@ -3603,6 +3615,15 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
3603
3615
  * @throws {RequiredError}
3604
3616
  */
3605
3617
  listClients: (nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3618
+ /**
3619
+ * Update client
3620
+ * @summary Update client
3621
+ * @param {string} clientID client ID
3622
+ * @param {ClientCreationRequest} clientCreationRequest client data
3623
+ * @param {*} [options] Override http request option.
3624
+ * @throws {RequiredError}
3625
+ */
3626
+ updateClient: (clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3606
3627
  };
3607
3628
  /**
3608
3629
  * ClientApi - functional programming interface
@@ -3637,6 +3658,15 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
3637
3658
  * @throws {RequiredError}
3638
3659
  */
3639
3660
  listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>>;
3661
+ /**
3662
+ * Update client
3663
+ * @summary Update client
3664
+ * @param {string} clientID client ID
3665
+ * @param {ClientCreationRequest} clientCreationRequest client data
3666
+ * @param {*} [options] Override http request option.
3667
+ * @throws {RequiredError}
3668
+ */
3669
+ updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3640
3670
  };
3641
3671
  /**
3642
3672
  * ClientApi - factory interface
@@ -3671,6 +3701,15 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
3671
3701
  * @throws {RequiredError}
3672
3702
  */
3673
3703
  listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: any): AxiosPromise<ClientListResponse>;
3704
+ /**
3705
+ * Update client
3706
+ * @summary Update client
3707
+ * @param {string} clientID client ID
3708
+ * @param {ClientCreationRequest} clientCreationRequest client data
3709
+ * @param {*} [options] Override http request option.
3710
+ * @throws {RequiredError}
3711
+ */
3712
+ updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: any): AxiosPromise<void>;
3674
3713
  };
3675
3714
  /**
3676
3715
  * ClientApi - object-oriented interface
@@ -3710,6 +3749,16 @@ export declare class ClientApi extends BaseAPI {
3710
3749
  * @memberof ClientApi
3711
3750
  */
3712
3751
  listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientListResponse, any>>;
3752
+ /**
3753
+ * Update client
3754
+ * @summary Update client
3755
+ * @param {string} clientID client ID
3756
+ * @param {ClientCreationRequest} clientCreationRequest client data
3757
+ * @param {*} [options] Override http request option.
3758
+ * @throws {RequiredError}
3759
+ * @memberof ClientApi
3760
+ */
3761
+ updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3713
3762
  }
3714
3763
  /**
3715
3764
  * ConfigurationApi - axios parameter creator
package/dist/api.js CHANGED
@@ -270,7 +270,7 @@ exports.TagValidatorType = {
270
270
  exports.TargetMu = {
271
271
  Currency: 'currency',
272
272
  Product: 'product',
273
- Liter: 'liter'
273
+ Additional: 'additional'
274
274
  };
275
275
  /**
276
276
  *
@@ -1055,6 +1055,43 @@ const ClientApiAxiosParamCreator = function (configuration) {
1055
1055
  options: localVarRequestOptions,
1056
1056
  };
1057
1057
  }),
1058
+ /**
1059
+ * Update client
1060
+ * @summary Update client
1061
+ * @param {string} clientID client ID
1062
+ * @param {ClientCreationRequest} clientCreationRequest client data
1063
+ * @param {*} [options] Override http request option.
1064
+ * @throws {RequiredError}
1065
+ */
1066
+ updateClient: (clientID, clientCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1067
+ // verify required parameter 'clientID' is not null or undefined
1068
+ (0, common_1.assertParamExists)('updateClient', 'clientID', clientID);
1069
+ // verify required parameter 'clientCreationRequest' is not null or undefined
1070
+ (0, common_1.assertParamExists)('updateClient', 'clientCreationRequest', clientCreationRequest);
1071
+ const localVarPath = `/admins/clients/{clientID}`
1072
+ .replace(`{${"clientID"}}`, encodeURIComponent(String(clientID)));
1073
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1074
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1075
+ let baseOptions;
1076
+ if (configuration) {
1077
+ baseOptions = configuration.baseOptions;
1078
+ }
1079
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1080
+ const localVarHeaderParameter = {};
1081
+ const localVarQueryParameter = {};
1082
+ // authentication systemJWT required
1083
+ // http bearer authentication required
1084
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1085
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1086
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1087
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1088
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1089
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clientCreationRequest, localVarRequestOptions, configuration);
1090
+ return {
1091
+ url: (0, common_1.toPathString)(localVarUrlObj),
1092
+ options: localVarRequestOptions,
1093
+ };
1094
+ }),
1058
1095
  };
1059
1096
  };
1060
1097
  exports.ClientApiAxiosParamCreator = ClientApiAxiosParamCreator;
@@ -1108,6 +1145,20 @@ const ClientApiFp = function (configuration) {
1108
1145
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1109
1146
  });
1110
1147
  },
1148
+ /**
1149
+ * Update client
1150
+ * @summary Update client
1151
+ * @param {string} clientID client ID
1152
+ * @param {ClientCreationRequest} clientCreationRequest client data
1153
+ * @param {*} [options] Override http request option.
1154
+ * @throws {RequiredError}
1155
+ */
1156
+ updateClient(clientID, clientCreationRequest, options) {
1157
+ return __awaiter(this, void 0, void 0, function* () {
1158
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClient(clientID, clientCreationRequest, options);
1159
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1160
+ });
1161
+ },
1111
1162
  };
1112
1163
  };
1113
1164
  exports.ClientApiFp = ClientApiFp;
@@ -1152,6 +1203,17 @@ const ClientApiFactory = function (configuration, basePath, axios) {
1152
1203
  listClients(nextToken, search, referenceIDs, clientIDs, managerID, options) {
1153
1204
  return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, options).then((request) => request(axios, basePath));
1154
1205
  },
1206
+ /**
1207
+ * Update client
1208
+ * @summary Update client
1209
+ * @param {string} clientID client ID
1210
+ * @param {ClientCreationRequest} clientCreationRequest client data
1211
+ * @param {*} [options] Override http request option.
1212
+ * @throws {RequiredError}
1213
+ */
1214
+ updateClient(clientID, clientCreationRequest, options) {
1215
+ return localVarFp.updateClient(clientID, clientCreationRequest, options).then((request) => request(axios, basePath));
1216
+ },
1155
1217
  };
1156
1218
  };
1157
1219
  exports.ClientApiFactory = ClientApiFactory;
@@ -1199,6 +1261,18 @@ class ClientApi extends base_1.BaseAPI {
1199
1261
  listClients(nextToken, search, referenceIDs, clientIDs, managerID, options) {
1200
1262
  return (0, exports.ClientApiFp)(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, options).then((request) => request(this.axios, this.basePath));
1201
1263
  }
1264
+ /**
1265
+ * Update client
1266
+ * @summary Update client
1267
+ * @param {string} clientID client ID
1268
+ * @param {ClientCreationRequest} clientCreationRequest client data
1269
+ * @param {*} [options] Override http request option.
1270
+ * @throws {RequiredError}
1271
+ * @memberof ClientApi
1272
+ */
1273
+ updateClient(clientID, clientCreationRequest, options) {
1274
+ return (0, exports.ClientApiFp)(this.configuration).updateClient(clientID, clientCreationRequest, options).then((request) => request(this.axios, this.basePath));
1275
+ }
1202
1276
  }
1203
1277
  exports.ClientApi = ClientApi;
1204
1278
  /**
package/dist/esm/api.d.ts CHANGED
@@ -518,6 +518,12 @@ export interface Client {
518
518
  * @memberof Client
519
519
  */
520
520
  'manager'?: User;
521
+ /**
522
+ *
523
+ * @type {boolean}
524
+ * @memberof Client
525
+ */
526
+ 'isSuspended'?: boolean;
521
527
  }
522
528
  /**
523
529
  *
@@ -551,6 +557,12 @@ export interface ClientCreationRequest {
551
557
  * @memberof ClientCreationRequest
552
558
  */
553
559
  'managerId'?: string;
560
+ /**
561
+ *
562
+ * @type {boolean}
563
+ * @memberof ClientCreationRequest
564
+ */
565
+ 'isSuspended'?: boolean;
554
566
  }
555
567
  /**
556
568
  *
@@ -2625,7 +2637,7 @@ export interface TargetLevel {
2625
2637
  export declare const TargetMu: {
2626
2638
  readonly Currency: "currency";
2627
2639
  readonly Product: "product";
2628
- readonly Liter: "liter";
2640
+ readonly Additional: "additional";
2629
2641
  };
2630
2642
  export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
2631
2643
  /**
@@ -2726,7 +2738,7 @@ export interface TransactionEventDetails {
2726
2738
  * @type {number}
2727
2739
  * @memberof TransactionEventDetails
2728
2740
  */
2729
- 'liter': number;
2741
+ 'additionalMu': number;
2730
2742
  /**
2731
2743
  *
2732
2744
  * @type {string}
@@ -3603,6 +3615,15 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
3603
3615
  * @throws {RequiredError}
3604
3616
  */
3605
3617
  listClients: (nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3618
+ /**
3619
+ * Update client
3620
+ * @summary Update client
3621
+ * @param {string} clientID client ID
3622
+ * @param {ClientCreationRequest} clientCreationRequest client data
3623
+ * @param {*} [options] Override http request option.
3624
+ * @throws {RequiredError}
3625
+ */
3626
+ updateClient: (clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3606
3627
  };
3607
3628
  /**
3608
3629
  * ClientApi - functional programming interface
@@ -3637,6 +3658,15 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
3637
3658
  * @throws {RequiredError}
3638
3659
  */
3639
3660
  listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>>;
3661
+ /**
3662
+ * Update client
3663
+ * @summary Update client
3664
+ * @param {string} clientID client ID
3665
+ * @param {ClientCreationRequest} clientCreationRequest client data
3666
+ * @param {*} [options] Override http request option.
3667
+ * @throws {RequiredError}
3668
+ */
3669
+ updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3640
3670
  };
3641
3671
  /**
3642
3672
  * ClientApi - factory interface
@@ -3671,6 +3701,15 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
3671
3701
  * @throws {RequiredError}
3672
3702
  */
3673
3703
  listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: any): AxiosPromise<ClientListResponse>;
3704
+ /**
3705
+ * Update client
3706
+ * @summary Update client
3707
+ * @param {string} clientID client ID
3708
+ * @param {ClientCreationRequest} clientCreationRequest client data
3709
+ * @param {*} [options] Override http request option.
3710
+ * @throws {RequiredError}
3711
+ */
3712
+ updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: any): AxiosPromise<void>;
3674
3713
  };
3675
3714
  /**
3676
3715
  * ClientApi - object-oriented interface
@@ -3710,6 +3749,16 @@ export declare class ClientApi extends BaseAPI {
3710
3749
  * @memberof ClientApi
3711
3750
  */
3712
3751
  listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientListResponse, any>>;
3752
+ /**
3753
+ * Update client
3754
+ * @summary Update client
3755
+ * @param {string} clientID client ID
3756
+ * @param {ClientCreationRequest} clientCreationRequest client data
3757
+ * @param {*} [options] Override http request option.
3758
+ * @throws {RequiredError}
3759
+ * @memberof ClientApi
3760
+ */
3761
+ updateClient(clientID: string, clientCreationRequest: ClientCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3713
3762
  }
3714
3763
  /**
3715
3764
  * ConfigurationApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -265,7 +265,7 @@ export const TagValidatorType = {
265
265
  export const TargetMu = {
266
266
  Currency: 'currency',
267
267
  Product: 'product',
268
- Liter: 'liter'
268
+ Additional: 'additional'
269
269
  };
270
270
  /**
271
271
  *
@@ -1038,6 +1038,43 @@ export const ClientApiAxiosParamCreator = function (configuration) {
1038
1038
  options: localVarRequestOptions,
1039
1039
  };
1040
1040
  }),
1041
+ /**
1042
+ * Update client
1043
+ * @summary Update client
1044
+ * @param {string} clientID client ID
1045
+ * @param {ClientCreationRequest} clientCreationRequest client data
1046
+ * @param {*} [options] Override http request option.
1047
+ * @throws {RequiredError}
1048
+ */
1049
+ updateClient: (clientID, clientCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1050
+ // verify required parameter 'clientID' is not null or undefined
1051
+ assertParamExists('updateClient', 'clientID', clientID);
1052
+ // verify required parameter 'clientCreationRequest' is not null or undefined
1053
+ assertParamExists('updateClient', 'clientCreationRequest', clientCreationRequest);
1054
+ const localVarPath = `/admins/clients/{clientID}`
1055
+ .replace(`{${"clientID"}}`, encodeURIComponent(String(clientID)));
1056
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1057
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1058
+ let baseOptions;
1059
+ if (configuration) {
1060
+ baseOptions = configuration.baseOptions;
1061
+ }
1062
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1063
+ const localVarHeaderParameter = {};
1064
+ const localVarQueryParameter = {};
1065
+ // authentication systemJWT required
1066
+ // http bearer authentication required
1067
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1068
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1069
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1070
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1071
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1072
+ localVarRequestOptions.data = serializeDataIfNeeded(clientCreationRequest, localVarRequestOptions, configuration);
1073
+ return {
1074
+ url: toPathString(localVarUrlObj),
1075
+ options: localVarRequestOptions,
1076
+ };
1077
+ }),
1041
1078
  };
1042
1079
  };
1043
1080
  /**
@@ -1090,6 +1127,20 @@ export const ClientApiFp = function (configuration) {
1090
1127
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1091
1128
  });
1092
1129
  },
1130
+ /**
1131
+ * Update client
1132
+ * @summary Update client
1133
+ * @param {string} clientID client ID
1134
+ * @param {ClientCreationRequest} clientCreationRequest client data
1135
+ * @param {*} [options] Override http request option.
1136
+ * @throws {RequiredError}
1137
+ */
1138
+ updateClient(clientID, clientCreationRequest, options) {
1139
+ return __awaiter(this, void 0, void 0, function* () {
1140
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClient(clientID, clientCreationRequest, options);
1141
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1142
+ });
1143
+ },
1093
1144
  };
1094
1145
  };
1095
1146
  /**
@@ -1133,6 +1184,17 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
1133
1184
  listClients(nextToken, search, referenceIDs, clientIDs, managerID, options) {
1134
1185
  return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, options).then((request) => request(axios, basePath));
1135
1186
  },
1187
+ /**
1188
+ * Update client
1189
+ * @summary Update client
1190
+ * @param {string} clientID client ID
1191
+ * @param {ClientCreationRequest} clientCreationRequest client data
1192
+ * @param {*} [options] Override http request option.
1193
+ * @throws {RequiredError}
1194
+ */
1195
+ updateClient(clientID, clientCreationRequest, options) {
1196
+ return localVarFp.updateClient(clientID, clientCreationRequest, options).then((request) => request(axios, basePath));
1197
+ },
1136
1198
  };
1137
1199
  };
1138
1200
  /**
@@ -1179,6 +1241,18 @@ export class ClientApi extends BaseAPI {
1179
1241
  listClients(nextToken, search, referenceIDs, clientIDs, managerID, options) {
1180
1242
  return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, options).then((request) => request(this.axios, this.basePath));
1181
1243
  }
1244
+ /**
1245
+ * Update client
1246
+ * @summary Update client
1247
+ * @param {string} clientID client ID
1248
+ * @param {ClientCreationRequest} clientCreationRequest client data
1249
+ * @param {*} [options] Override http request option.
1250
+ * @throws {RequiredError}
1251
+ * @memberof ClientApi
1252
+ */
1253
+ updateClient(clientID, clientCreationRequest, options) {
1254
+ return ClientApiFp(this.configuration).updateClient(clientID, clientCreationRequest, options).then((request) => request(this.axios, this.basePath));
1255
+ }
1182
1256
  }
1183
1257
  /**
1184
1258
  * ConfigurationApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.565-prerelease0",
3
+ "version": "0.0.572-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {