본문으로 건너뛰기

TeamService

Index

Constructors

constructor

Properties

publicreadonlyhttpRequest

httpRequest: BaseHttpRequest

Methods

publicteamCreate

  • Create a team Bot-compatible Creates a new team in the organization.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody?: { name: string; parent_id: string; reference?: string } }

    Returns CancelablePromise<{ data?: TeamCreateResponse }>

    any Successfully created the team.

publicteamDelete

  • Delete a team Bot-compatible Deletes a team.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody?: { id: string } }

    Returns CancelablePromise<{ data?: TeamDeleteResponse }>

    any Successfully deleted the team.

publicteamSort

  • Sort teams Sort the child teams of a parent team in a given order.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully sorted the teams.

publicteamUpdate

  • Update a team Bot-compatible Updates a team's information including its name and parent team.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody?: { id: string; name?: string; parent_id?: string; reference?: string } }

    Returns CancelablePromise<{ data?: TeamUpdateResponse }>

    any Successfully updated the team's information.

publicteamUserAdd

  • Add users to a team Bot-compatible Adds users to a team.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody?: { id?: string; user_ids?: string[] } }

    Returns CancelablePromise<{ data?: TeamUserCreateResponse }>

    any Successfully added the users to the selected team.

publicteamUserPrimaryUpdate

  • teamUserPrimaryUpdate(__namedParameters: { requestBody?: { id: string; user_id: string } }): CancelablePromise<void>
  • Update a user's primary team Bot-compatible Updates a user's primary team.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody?: { id: string; user_id: string } }

    Returns CancelablePromise<void>

    void

publicteamUserRemove

  • Remove team members Bot-compatible Removes members from a team.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody?: { id: string; user_ids: string[] } }

    Returns CancelablePromise<{ data?: TeamUserDeleteResponse }>

    any Successfully removed the members from the team.

publicuserTeamList

  • List out teams Bot-compatible List out the child teams of a given team. If no parameters are passed, the list of all teams in the organization is given as a response.

    @throws

    ApiError


    Parameters

    • __namedParameters: { directChildrenOnly?: boolean; parentId?: string }

    Returns CancelablePromise<{ data?: GetUserTeamListResponse }>

    any Successfully retrieved the list of teams.