Creates an instance of the ConditionSetsApi.
The configuration object for the Permit SDK.
The logger instance for logging.
Creates a new condition set.
The data for the new condition set.
A promise that resolves to the created condition set.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Deletes a condition set.
The key of the condition set to delete.
A promise that resolves when the condition set is deleted.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Ensure that the API Key has the necessary permissions to successfully call the API endpoint. Note that this check is not foolproof, and the API may still throw 401.
The required API Key Access level for the endpoint.
PermitContextError If the currently set API key access level does not match the required access level.
Ensure that the API context matches the required endpoint context.
The required API context level for the endpoint.
PermitContextError If the currently set API context level does not match the required context level.
Retrieves a condition set by its key.
The key of the condition set.
A promise that resolves to the condition set.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Retrieves a condition set by its ID. Alias for the get method.
The ID of the condition set.
A promise that resolves to the condition set.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Retrieves a condition set by its key. Alias for the get method.
The key of the condition set.
A promise that resolves to the condition set.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Retrieves a list of condition sets.
Optional
pagination: IPaginationThe pagination options,
A promise that resolves to an array of condition sets.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Updates a condition set.
The key of the condition set.
The updated data for the condition set.
A promise that resolves to the updated condition set.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Generated using TypeDoc
The ConditionSetsApi class provides methods for interacting with condition sets using the Permit REST API.