Function UserApiAxiosParamCreator

UserApi - axios parameter creator

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        userControllerAssignRole: ((id: string, roleId: string, userRoleAssignChangeDTO?: UserRoleAssignChangeDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerCreate: ((userCreateInputDTO?: UserCreateInputDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerDeleteSelectedDomainCookie: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerGetOne: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerInvite: ((inviteCreateDTO?: InviteCreateDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerLinkPlayerProfile: ((linkPlayerUnauthedInputDTO?: LinkPlayerUnauthedInputDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerLogin: ((loginDTO?: LoginDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerLogout: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerMe: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerRemove: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerRemoveRole: ((id: string, roleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerSearch: ((userSearchInputDTO?: UserSearchInputDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerSetSelectedDomain: ((domainId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        userControllerUpdate: ((id: string, userUpdateDTO?: UserUpdateDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • userControllerAssignRole: ((id: string, roleId: string, userRoleAssignChangeDTO?: UserRoleAssignChangeDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: MANAGE_USERS, MANAGE_ROLES

      Assign role

        • (id, roleId, userRoleAssignChangeDTO?, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • roleId: string
          • OptionaluserRoleAssignChangeDTO: UserRoleAssignChangeDTO

            UserRoleAssignChangeDTO

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerCreate: ((userCreateInputDTO?: UserCreateInputDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: MANAGE_USERS

      Create

        • (userCreateInputDTO?, options?): Promise<RequestArgs>
        • Parameters

          • OptionaluserCreateInputDTO: UserCreateInputDTO

            UserCreateInputDTO

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerDeleteSelectedDomainCookie: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Unset the selected domain for the user, this will clear the domain cookie. On the next request, the backend will set this again.

      Unset the selected domain for the user

        • (options?): Promise<RequestArgs>
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerGetOne: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: READ_USERS

      Get one

        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerInvite: ((inviteCreateDTO?: InviteCreateDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: MANAGE_USERS

      Invite

        • (inviteCreateDTO?, options?): Promise<RequestArgs>
        • Parameters

          • OptionalinviteCreateDTO: InviteCreateDTO

            InviteCreateDTO

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerLinkPlayerProfile: ((linkPlayerUnauthedInputDTO?: LinkPlayerUnauthedInputDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.

      Link player profile

        • (linkPlayerUnauthedInputDTO?, options?): Promise<RequestArgs>
        • Parameters

          • OptionallinkPlayerUnauthedInputDTO: LinkPlayerUnauthedInputDTO

            LinkPlayerUnauthedInputDTO

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerLogin: ((loginDTO?: LoginDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Login

        • (loginDTO?, options?): Promise<RequestArgs>
        • Parameters

          • OptionalloginDTO: LoginDTO

            LoginDTO

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerLogout: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Logout

        • (options?): Promise<RequestArgs>
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerMe: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get the current user and the domains that the user has access to. Note that you can only make requests in the scope of a single domain. In order to switch the domain, you need to use the domain selection endpoints

      Get the current logged in user

        • (options?): Promise<RequestArgs>
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerRemove: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: MANAGE_USERS

      Remove

        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerRemoveRole: ((id: string, roleId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: MANAGE_USERS, MANAGE_ROLES

      Remove role

        • (id, roleId, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • roleId: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerSearch: ((userSearchInputDTO?: UserSearchInputDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: READ_USERS

      Search

        • (userSearchInputDTO?, options?): Promise<RequestArgs>
        • Parameters

          • OptionaluserSearchInputDTO: UserSearchInputDTO

            UserSearchInputDTO

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerSetSelectedDomain: ((domainId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      One user can have multiple domains, this endpoint is a helper to set the selected domain for the user

      Set the selected domain for the user

        • (domainId, options?): Promise<RequestArgs>
        • Parameters

          • domainId: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • userControllerUpdate: ((id: string, userUpdateDTO?: UserUpdateDTO, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Required permissions: MANAGE_USERS

      Update

        • (id, userUpdateDTO?, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • OptionaluserUpdateDTO: UserUpdateDTO

            UserUpdateDTO

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>