Overview
All types are exported from thecuey package. This page provides a complete reference of all available types.
Importing Types
Core Types
Cron
Represents a recurring cron job.Interface representing a cron job.
Event
Represents a scheduled event.Interface representing a scheduled event.
HttpMethod
Supported HTTP methods for webhook requests.Union type of supported HTTP methods.
EventStatus
Status values for event execution.Union type of event status values.
RetryConfig
Retry configuration for webhooks.Interface for retry configuration.
Json
JSON type for API payloads.Recursive union type representing any JSON-serializable value.
Input Types
CreateCronInput
Input for creating a cron job.Interface for creating a cron job.
UpdateCronInput
Input for updating a cron job (same structure asCreateCronInput).
Interface for updating a cron job. Same structure as
CreateCronInput.CreateEventInput
Input for creating an event.Interface for creating an event.
UpdateEventInput
Input for updating an event (same structure asCreateEventInput).
Interface for updating an event. Same structure as
CreateEventInput.Query Parameter Types
CronsQueryParams
Query parameters for listing crons.Interface for query parameters when listing crons.
EventsQueryParams
Query parameters for listing events.Interface for query parameters when listing events.
Configuration Types
CueyConfig
Configuration options for the Cuey client.Interface for Cuey client configuration.
API Response Types
ApiSuccess
Standard API success response.Generic interface for API success responses.
ApiSuccessWithPagination
Paginated API success response.Generic interface for paginated API success responses.
Error Types
See the Error Handling page for complete error type documentation.Base error class for all Cuey API errors. Extends JavaScript’s
Error.Union type of all possible error codes.