Adds a member to an existing party.
The UUID of the party.
The ID of the user to add.
A promise resolving to the updated PartyEntity.
Changes the leader of an existing party.
The UUID of the party.
The payload containing the new leader's ID.
A promise resolving to the updated PartyEntity.
Creates a new party with the specified user as the leader.
The payload containing the leader's ID.
A promise resolving to the newly created PartyEntity.
Disbands a party entirely.
The UUID of the party.
A promise resolving when the party is disbanded.
Retrieves a party by its unique ID.
The UUID of the party.
A promise resolving to the PartyEntity.
Retrieves the party that a specific user currently belongs to.
The internal database ID of the user.
A promise resolving to the PartyEntity.
Removes a member from a party.
The UUID of the party.
The ID of the user to remove.
A promise resolving to the updated PartyEntity, or null if the party was disbanded.
Manages API operations related to User Parties. Handles creating parties, managing members, and disbanding.