28 lines
917 B
TypeScript
28 lines
917 B
TypeScript
/**
|
|
* @hivegrid/api-client-ts
|
|
*
|
|
* Official TypeScript SDK for the HiveGrid REST API.
|
|
*
|
|
* The public surface is a thin Higher-Level-Wrapper around the @hey-api/openapi-ts
|
|
* generated client. The wrapper adds auth header injection, retry with exponential
|
|
* backoff (honoring Retry-After), idempotency-key auto-generation on mutating
|
|
* requests, an async pagination iterator, and an HMAC webhook signature verifier.
|
|
*
|
|
* Refs: docs/improvement-plan/08-mobile-cli-storybook-sdk/ts-sdk.md
|
|
*/
|
|
|
|
export {
|
|
createHiveGridClient,
|
|
HiveGridApiError,
|
|
HiveGridNetworkError,
|
|
type HiveGridClient,
|
|
type HiveGridClientConfig,
|
|
type HiveGridAuthConfig,
|
|
type HiveGridRetryConfig,
|
|
type HiveGridIdempotencyConfig,
|
|
type PaginatedResponse,
|
|
type PaginateOptions,
|
|
} from "./client.js";
|
|
|
|
export { verifyWebhookSignature, signWebhookPayload, type VerifyWebhookOptions, type SignWebhookOptions } from "./webhooks.js";
|