Function UsersApiFactory

  • UsersApi - factory interface

    Export

    Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

    Returns {
        checkUserInvitation(requestParameters, options?) => AxiosPromise<UserInvitationCheck>;
        createUser(requestParameters, options?) => AxiosPromise<User>;
        createUserInvitation(requestParameters, options?) => AxiosPromise<UserInvitation>;
        deleteUser(requestParameters, options?) => AxiosPromise<object>;
        deleteUserInvitation(requestParameters, options?) => AxiosPromise<void>;
        forgotPassword(requestParameters, options?) => AxiosPromise<void>;
        getUser(requestParameters, options?) => AxiosPromise<User>;
        getUserInvitation(requestParameters, options?) => AxiosPromise<UserInvitation>;
        listUserInvitations(requestParameters, options?) => AxiosPromise<ListUserInvitations200Response>;
        listUsers(requestParameters, options?) => AxiosPromise<ListUsers200Response>;
        login(requestParameters, options?) => AxiosPromise<LoginDto>;
        logout(options?) => AxiosPromise<void>;
        refreshAccessToken(requestParameters, options?) => AxiosPromise<void>;
        register(requestParameters, options?) => AxiosPromise<RegisterDto>;
        resendUserInvitation(requestParameters, options?) => AxiosPromise<UserInvitation>;
        resetPassword(requestParameters, options?) => AxiosPromise<void>;
        updateUser(requestParameters, options?) => AxiosPromise<User>;
    }

    • checkUserInvitation:function
    • createUser:function
      • Creates a User.

        Summary

        Create a User

        Deprecated

        Throws

        Parameters

        • requestParameters: UsersApiCreateUserRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<User>

    • createUserInvitation:function
      • Creates a User invitation. Upon creation, an invitation email is sent to the User’s email address. Once the User registers for an Account, the invitation is deleted.

        Summary

        Create a User Invitation

        Throws

        Parameters

        Returns AxiosPromise<UserInvitation>

    • deleteUser:function
      • Deletes a User from a specific Account. If this is the User's only Account, the User is permanently deleted. This cannot be undone.

        Summary

        Delete a User

        Throws

        Parameters

        • requestParameters: UsersApiDeleteUserRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<object>

    • deleteUserInvitation:function
      • Deletes a User invitation. This cannot be undone.

        Summary

        Delete a User Invitation

        Throws

        Parameters

        Returns AxiosPromise<void>

    • forgotPassword:function
      • Requests a temporary link be sent to the provided email address, allowing the User to reset their password.

        Summary

        Forgot Password

        Throws

        Parameters

        • requestParameters: UsersApiForgotPasswordRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<void>

    • getUser:function
      • Retrieves the details of an existing User.

        Summary

        Get a User

        Throws

        Parameters

        • requestParameters: UsersApiGetUserRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<User>

    • getUserInvitation:function
    • listUserInvitations:function
    • listUsers:function
    • login:function
      • Creates a JSON Web Token.

        Summary

        Login

        Throws

        Parameters

        • requestParameters: UsersApiLoginRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<LoginDto>

    • logout:function
      • Invalidates a User’s refresh token.

        Summary

        Logout

        Throws

        Parameters

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<void>

    • refreshAccessToken:function
      • Generates a new access token with a User's refresh token.

        Summary

        Refresh an Access Token

        Throws

        Parameters

        Returns AxiosPromise<void>

    • register:function
      • Creates a User and simultaneously creates a partner Account. Note: This endpoint should only be used in the Sandbox environment.

        Summary

        Register

        Throws

        Parameters

        • requestParameters: UsersApiRegisterRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<RegisterDto>

    • resendUserInvitation:function
    • resetPassword:function
      • Resets a User's password. Resetting the password will also invalidate the User's refresh token.

        Summary

        Reset Password

        Throws

        Parameters

        • requestParameters: UsersApiResetPasswordRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<void>

    • updateUser:function
      • Updates a User by setting the values of the provided parameters. Any parameters not provided remain unchanged.

        Summary

        Update a User

        Throws

        Parameters

        • requestParameters: UsersApiUpdateUserRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<User>

Generated using TypeDoc