flexinet-api 0.0.471-prerelease0 → 0.0.482-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.471-prerelease0
1
+ ## flexinet-api@0.0.482-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.471-prerelease0 --save
39
+ npm install flexinet-api@0.0.482-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -755,6 +755,38 @@ export interface Item {
755
755
  */
756
756
  'product': Product;
757
757
  }
758
+ /**
759
+ *
760
+ * @export
761
+ * @interface LoginRequest
762
+ */
763
+ export interface LoginRequest {
764
+ /**
765
+ *
766
+ * @type {string}
767
+ * @memberof LoginRequest
768
+ */
769
+ 'code': string;
770
+ /**
771
+ *
772
+ * @type {string}
773
+ * @memberof LoginRequest
774
+ */
775
+ 'tenantId': string;
776
+ }
777
+ /**
778
+ *
779
+ * @export
780
+ * @interface LoginResponse
781
+ */
782
+ export interface LoginResponse {
783
+ /**
784
+ *
785
+ * @type {string}
786
+ * @memberof LoginResponse
787
+ */
788
+ 'accessToken': string;
789
+ }
758
790
  /**
759
791
  *
760
792
  * @export
@@ -8919,6 +8951,42 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
8919
8951
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8920
8952
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8921
8953
 
8954
+ return {
8955
+ url: toPathString(localVarUrlObj),
8956
+ options: localVarRequestOptions,
8957
+ };
8958
+ },
8959
+ /**
8960
+ * Login
8961
+ * @summary Login
8962
+ * @param {LoginRequest} loginRequest user credentials
8963
+ * @param {*} [options] Override http request option.
8964
+ * @throws {RequiredError}
8965
+ */
8966
+ login: async (loginRequest: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8967
+ // verify required parameter 'loginRequest' is not null or undefined
8968
+ assertParamExists('login', 'loginRequest', loginRequest)
8969
+ const localVarPath = `/user/login`;
8970
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8971
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8972
+ let baseOptions;
8973
+ if (configuration) {
8974
+ baseOptions = configuration.baseOptions;
8975
+ }
8976
+
8977
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8978
+ const localVarHeaderParameter = {} as any;
8979
+ const localVarQueryParameter = {} as any;
8980
+
8981
+
8982
+
8983
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8984
+
8985
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8986
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8987
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8988
+ localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
8989
+
8922
8990
  return {
8923
8991
  url: toPathString(localVarUrlObj),
8924
8992
  options: localVarRequestOptions,
@@ -8972,6 +9040,17 @@ export const UserApiFp = function(configuration?: Configuration) {
8972
9040
  const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
8973
9041
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8974
9042
  },
9043
+ /**
9044
+ * Login
9045
+ * @summary Login
9046
+ * @param {LoginRequest} loginRequest user credentials
9047
+ * @param {*} [options] Override http request option.
9048
+ * @throws {RequiredError}
9049
+ */
9050
+ async login(loginRequest: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
9051
+ const localVarAxiosArgs = await localVarAxiosParamCreator.login(loginRequest, options);
9052
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9053
+ },
8975
9054
  }
8976
9055
  };
8977
9056
 
@@ -9017,6 +9096,16 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
9017
9096
  listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: any): AxiosPromise<UserListResponse> {
9018
9097
  return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
9019
9098
  },
9099
+ /**
9100
+ * Login
9101
+ * @summary Login
9102
+ * @param {LoginRequest} loginRequest user credentials
9103
+ * @param {*} [options] Override http request option.
9104
+ * @throws {RequiredError}
9105
+ */
9106
+ login(loginRequest: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
9107
+ return localVarFp.login(loginRequest, options).then((request) => request(axios, basePath));
9108
+ },
9020
9109
  };
9021
9110
  };
9022
9111
 
@@ -9067,6 +9156,18 @@ export class UserApi extends BaseAPI {
9067
9156
  public listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig) {
9068
9157
  return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
9069
9158
  }
9159
+
9160
+ /**
9161
+ * Login
9162
+ * @summary Login
9163
+ * @param {LoginRequest} loginRequest user credentials
9164
+ * @param {*} [options] Override http request option.
9165
+ * @throws {RequiredError}
9166
+ * @memberof UserApi
9167
+ */
9168
+ public login(loginRequest: LoginRequest, options?: AxiosRequestConfig) {
9169
+ return UserApiFp(this.configuration).login(loginRequest, options).then((request) => request(this.axios, this.basePath));
9170
+ }
9070
9171
  }
9071
9172
 
9072
9173
 
package/dist/api.d.ts CHANGED
@@ -709,6 +709,38 @@ export interface Item {
709
709
  */
710
710
  'product': Product;
711
711
  }
712
+ /**
713
+ *
714
+ * @export
715
+ * @interface LoginRequest
716
+ */
717
+ export interface LoginRequest {
718
+ /**
719
+ *
720
+ * @type {string}
721
+ * @memberof LoginRequest
722
+ */
723
+ 'code': string;
724
+ /**
725
+ *
726
+ * @type {string}
727
+ * @memberof LoginRequest
728
+ */
729
+ 'tenantId': string;
730
+ }
731
+ /**
732
+ *
733
+ * @export
734
+ * @interface LoginResponse
735
+ */
736
+ export interface LoginResponse {
737
+ /**
738
+ *
739
+ * @type {string}
740
+ * @memberof LoginResponse
741
+ */
742
+ 'accessToken': string;
743
+ }
712
744
  /**
713
745
  *
714
746
  * @export
@@ -5800,6 +5832,14 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
5800
5832
  * @throws {RequiredError}
5801
5833
  */
5802
5834
  listUsers: (nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5835
+ /**
5836
+ * Login
5837
+ * @summary Login
5838
+ * @param {LoginRequest} loginRequest user credentials
5839
+ * @param {*} [options] Override http request option.
5840
+ * @throws {RequiredError}
5841
+ */
5842
+ login: (loginRequest: LoginRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5803
5843
  };
5804
5844
  /**
5805
5845
  * UserApi - functional programming interface
@@ -5835,6 +5875,14 @@ export declare const UserApiFp: (configuration?: Configuration) => {
5835
5875
  * @throws {RequiredError}
5836
5876
  */
5837
5877
  listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>>;
5878
+ /**
5879
+ * Login
5880
+ * @summary Login
5881
+ * @param {LoginRequest} loginRequest user credentials
5882
+ * @param {*} [options] Override http request option.
5883
+ * @throws {RequiredError}
5884
+ */
5885
+ login(loginRequest: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
5838
5886
  };
5839
5887
  /**
5840
5888
  * UserApi - factory interface
@@ -5870,6 +5918,14 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
5870
5918
  * @throws {RequiredError}
5871
5919
  */
5872
5920
  listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: any): AxiosPromise<UserListResponse>;
5921
+ /**
5922
+ * Login
5923
+ * @summary Login
5924
+ * @param {LoginRequest} loginRequest user credentials
5925
+ * @param {*} [options] Override http request option.
5926
+ * @throws {RequiredError}
5927
+ */
5928
+ login(loginRequest: LoginRequest, options?: any): AxiosPromise<LoginResponse>;
5873
5929
  };
5874
5930
  /**
5875
5931
  * UserApi - object-oriented interface
@@ -5910,4 +5966,13 @@ export declare class UserApi extends BaseAPI {
5910
5966
  * @memberof UserApi
5911
5967
  */
5912
5968
  listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserListResponse, any>>;
5969
+ /**
5970
+ * Login
5971
+ * @summary Login
5972
+ * @param {LoginRequest} loginRequest user credentials
5973
+ * @param {*} [options] Override http request option.
5974
+ * @throws {RequiredError}
5975
+ * @memberof UserApi
5976
+ */
5977
+ login(loginRequest: LoginRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any>>;
5913
5978
  }
package/dist/api.js CHANGED
@@ -5602,6 +5602,36 @@ const UserApiAxiosParamCreator = function (configuration) {
5602
5602
  options: localVarRequestOptions,
5603
5603
  };
5604
5604
  }),
5605
+ /**
5606
+ * Login
5607
+ * @summary Login
5608
+ * @param {LoginRequest} loginRequest user credentials
5609
+ * @param {*} [options] Override http request option.
5610
+ * @throws {RequiredError}
5611
+ */
5612
+ login: (loginRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
5613
+ // verify required parameter 'loginRequest' is not null or undefined
5614
+ (0, common_1.assertParamExists)('login', 'loginRequest', loginRequest);
5615
+ const localVarPath = `/user/login`;
5616
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5617
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5618
+ let baseOptions;
5619
+ if (configuration) {
5620
+ baseOptions = configuration.baseOptions;
5621
+ }
5622
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5623
+ const localVarHeaderParameter = {};
5624
+ const localVarQueryParameter = {};
5625
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5626
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5627
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5628
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5629
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(loginRequest, localVarRequestOptions, configuration);
5630
+ return {
5631
+ url: (0, common_1.toPathString)(localVarUrlObj),
5632
+ options: localVarRequestOptions,
5633
+ };
5634
+ }),
5605
5635
  };
5606
5636
  };
5607
5637
  exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
@@ -5656,6 +5686,19 @@ const UserApiFp = function (configuration) {
5656
5686
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5657
5687
  });
5658
5688
  },
5689
+ /**
5690
+ * Login
5691
+ * @summary Login
5692
+ * @param {LoginRequest} loginRequest user credentials
5693
+ * @param {*} [options] Override http request option.
5694
+ * @throws {RequiredError}
5695
+ */
5696
+ login(loginRequest, options) {
5697
+ return __awaiter(this, void 0, void 0, function* () {
5698
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.login(loginRequest, options);
5699
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5700
+ });
5701
+ },
5659
5702
  };
5660
5703
  };
5661
5704
  exports.UserApiFp = UserApiFp;
@@ -5701,6 +5744,16 @@ const UserApiFactory = function (configuration, basePath, axios) {
5701
5744
  listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5702
5745
  return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
5703
5746
  },
5747
+ /**
5748
+ * Login
5749
+ * @summary Login
5750
+ * @param {LoginRequest} loginRequest user credentials
5751
+ * @param {*} [options] Override http request option.
5752
+ * @throws {RequiredError}
5753
+ */
5754
+ login(loginRequest, options) {
5755
+ return localVarFp.login(loginRequest, options).then((request) => request(axios, basePath));
5756
+ },
5704
5757
  };
5705
5758
  };
5706
5759
  exports.UserApiFactory = UserApiFactory;
@@ -5749,5 +5802,16 @@ class UserApi extends base_1.BaseAPI {
5749
5802
  listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5750
5803
  return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
5751
5804
  }
5805
+ /**
5806
+ * Login
5807
+ * @summary Login
5808
+ * @param {LoginRequest} loginRequest user credentials
5809
+ * @param {*} [options] Override http request option.
5810
+ * @throws {RequiredError}
5811
+ * @memberof UserApi
5812
+ */
5813
+ login(loginRequest, options) {
5814
+ return (0, exports.UserApiFp)(this.configuration).login(loginRequest, options).then((request) => request(this.axios, this.basePath));
5815
+ }
5752
5816
  }
5753
5817
  exports.UserApi = UserApi;
package/dist/esm/api.d.ts CHANGED
@@ -709,6 +709,38 @@ export interface Item {
709
709
  */
710
710
  'product': Product;
711
711
  }
712
+ /**
713
+ *
714
+ * @export
715
+ * @interface LoginRequest
716
+ */
717
+ export interface LoginRequest {
718
+ /**
719
+ *
720
+ * @type {string}
721
+ * @memberof LoginRequest
722
+ */
723
+ 'code': string;
724
+ /**
725
+ *
726
+ * @type {string}
727
+ * @memberof LoginRequest
728
+ */
729
+ 'tenantId': string;
730
+ }
731
+ /**
732
+ *
733
+ * @export
734
+ * @interface LoginResponse
735
+ */
736
+ export interface LoginResponse {
737
+ /**
738
+ *
739
+ * @type {string}
740
+ * @memberof LoginResponse
741
+ */
742
+ 'accessToken': string;
743
+ }
712
744
  /**
713
745
  *
714
746
  * @export
@@ -5800,6 +5832,14 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
5800
5832
  * @throws {RequiredError}
5801
5833
  */
5802
5834
  listUsers: (nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5835
+ /**
5836
+ * Login
5837
+ * @summary Login
5838
+ * @param {LoginRequest} loginRequest user credentials
5839
+ * @param {*} [options] Override http request option.
5840
+ * @throws {RequiredError}
5841
+ */
5842
+ login: (loginRequest: LoginRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5803
5843
  };
5804
5844
  /**
5805
5845
  * UserApi - functional programming interface
@@ -5835,6 +5875,14 @@ export declare const UserApiFp: (configuration?: Configuration) => {
5835
5875
  * @throws {RequiredError}
5836
5876
  */
5837
5877
  listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>>;
5878
+ /**
5879
+ * Login
5880
+ * @summary Login
5881
+ * @param {LoginRequest} loginRequest user credentials
5882
+ * @param {*} [options] Override http request option.
5883
+ * @throws {RequiredError}
5884
+ */
5885
+ login(loginRequest: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
5838
5886
  };
5839
5887
  /**
5840
5888
  * UserApi - factory interface
@@ -5870,6 +5918,14 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
5870
5918
  * @throws {RequiredError}
5871
5919
  */
5872
5920
  listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: any): AxiosPromise<UserListResponse>;
5921
+ /**
5922
+ * Login
5923
+ * @summary Login
5924
+ * @param {LoginRequest} loginRequest user credentials
5925
+ * @param {*} [options] Override http request option.
5926
+ * @throws {RequiredError}
5927
+ */
5928
+ login(loginRequest: LoginRequest, options?: any): AxiosPromise<LoginResponse>;
5873
5929
  };
5874
5930
  /**
5875
5931
  * UserApi - object-oriented interface
@@ -5910,4 +5966,13 @@ export declare class UserApi extends BaseAPI {
5910
5966
  * @memberof UserApi
5911
5967
  */
5912
5968
  listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserListResponse, any>>;
5969
+ /**
5970
+ * Login
5971
+ * @summary Login
5972
+ * @param {LoginRequest} loginRequest user credentials
5973
+ * @param {*} [options] Override http request option.
5974
+ * @throws {RequiredError}
5975
+ * @memberof UserApi
5976
+ */
5977
+ login(loginRequest: LoginRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any>>;
5913
5978
  }
package/dist/esm/api.js CHANGED
@@ -5533,6 +5533,36 @@ export const UserApiAxiosParamCreator = function (configuration) {
5533
5533
  options: localVarRequestOptions,
5534
5534
  };
5535
5535
  }),
5536
+ /**
5537
+ * Login
5538
+ * @summary Login
5539
+ * @param {LoginRequest} loginRequest user credentials
5540
+ * @param {*} [options] Override http request option.
5541
+ * @throws {RequiredError}
5542
+ */
5543
+ login: (loginRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
5544
+ // verify required parameter 'loginRequest' is not null or undefined
5545
+ assertParamExists('login', 'loginRequest', loginRequest);
5546
+ const localVarPath = `/user/login`;
5547
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5548
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5549
+ let baseOptions;
5550
+ if (configuration) {
5551
+ baseOptions = configuration.baseOptions;
5552
+ }
5553
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5554
+ const localVarHeaderParameter = {};
5555
+ const localVarQueryParameter = {};
5556
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5557
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5558
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5559
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5560
+ localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration);
5561
+ return {
5562
+ url: toPathString(localVarUrlObj),
5563
+ options: localVarRequestOptions,
5564
+ };
5565
+ }),
5536
5566
  };
5537
5567
  };
5538
5568
  /**
@@ -5586,6 +5616,19 @@ export const UserApiFp = function (configuration) {
5586
5616
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5587
5617
  });
5588
5618
  },
5619
+ /**
5620
+ * Login
5621
+ * @summary Login
5622
+ * @param {LoginRequest} loginRequest user credentials
5623
+ * @param {*} [options] Override http request option.
5624
+ * @throws {RequiredError}
5625
+ */
5626
+ login(loginRequest, options) {
5627
+ return __awaiter(this, void 0, void 0, function* () {
5628
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.login(loginRequest, options);
5629
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5630
+ });
5631
+ },
5589
5632
  };
5590
5633
  };
5591
5634
  /**
@@ -5630,6 +5673,16 @@ export const UserApiFactory = function (configuration, basePath, axios) {
5630
5673
  listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5631
5674
  return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
5632
5675
  },
5676
+ /**
5677
+ * Login
5678
+ * @summary Login
5679
+ * @param {LoginRequest} loginRequest user credentials
5680
+ * @param {*} [options] Override http request option.
5681
+ * @throws {RequiredError}
5682
+ */
5683
+ login(loginRequest, options) {
5684
+ return localVarFp.login(loginRequest, options).then((request) => request(axios, basePath));
5685
+ },
5633
5686
  };
5634
5687
  };
5635
5688
  /**
@@ -5677,4 +5730,15 @@ export class UserApi extends BaseAPI {
5677
5730
  listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5678
5731
  return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
5679
5732
  }
5733
+ /**
5734
+ * Login
5735
+ * @summary Login
5736
+ * @param {LoginRequest} loginRequest user credentials
5737
+ * @param {*} [options] Override http request option.
5738
+ * @throws {RequiredError}
5739
+ * @memberof UserApi
5740
+ */
5741
+ login(loginRequest, options) {
5742
+ return UserApiFp(this.configuration).login(loginRequest, options).then((request) => request(this.axios, this.basePath));
5743
+ }
5680
5744
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.471-prerelease0",
3
+ "version": "0.0.482-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {