flexinet-api 0.0.471-prerelease0 → 0.0.490-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/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
  }