@kukkingu/contracting-sdk to call the Contracting API with typed helpers.
What you get
- A single client factory:
createContractingSdkClient - Typed resource methods for:
addressesbillablesclientscontactscontractsemailshealthinvoicesprojectstenantstimeEntriesusers
- Request body validation through Zod before network calls
- Standardized errors:
ApiClientErrorandApiClientValidationError
Core behavior
- The default API base URL is
https://api.contracting.kukkingu.software/api/v1. - You can set global
tenantIdandtokenwhen you create the client. - You can override
tenantId,token,headers,query, andsignalper request. - Most endpoints return
{ data: ... }. The SDK unwraps this toresponse.data.
Next steps
- Configure your client in Client setup.
- Learn request options and error handling in Request options and errors.
- Copy endpoint usage from Resources and examples.