Creates an instance of the KaryaRestClient class.
The configuration object containing the base URL and protocol settings.
Creates a new user in the Karya system.
The request object containing user creation data.
A promise that resolves to the created user.
Retrieves the details of a specific plan by ID.
The ID of the plan to retrieve.
A promise that resolves to the plan details.
Retrieves the summary for a specific plan by ID.
The ID of the plan for which the summary is requested.
A promise that resolves to the plan summary.
Retrieves a list of plans associated with a specific user.
The ID of the user whose plans are to be retrieved.
The page number of the results to retrieve.
A promise that resolves to a list of plans for the user.
Submits a new plan to the Karya API.
The request object containing plan submission data.
A promise that resolves to the created plan.
Updates an existing plan with new details.
The request object containing updated plan data.
A promise that resolves to the updated plan.
Represents the Karya API client for interacting with the Karya REST API. Provides methods for creating and managing users, plans, and retrieving plan details.