Class TallyUserService

Service class for interacting with Tally user endpoints

Provides methods to retrieve information about the currently authenticated user through the API. All methods return a standardized response object with the structure { data, error }, where exactly one of data or error will be defined.

  • This service is automatically instantiated by TallyClient - do not instantiate manually
  • All methods validate required parameters and throw a TallyInvalidRequestError if required parameters are missing
  • Responses follow the pattern: { data: T | null, error: TallyError | null }
  • HTTP errors are transformed into typed TallyError instances containing the error response from the API
  • The getMe method requires a valid authentication token to be set in the client

Constructors

Methods

Constructors

Methods