Undocumented endpoints
To make requests to undocumented endpoints, you can useclient.get, client.post, and other HTTP verbs. Options on the client, such as retries, will be respected when making these requests.
All client options like
maxRetries, timeout, and authentication are automatically applied to custom requests.Undocumented request params
To make requests using undocumented parameters, you may use// @ts-expect-error on the undocumented parameter. This library doesn’t validate at runtime that the request matches the type, so any extra values you send will be sent as-is.
Explicit request options
If you want to explicitly send an extra argument, you can do so with thequery, body, and headers request options.
Undocumented response properties
To access undocumented response properties, you may access the response object with// @ts-expect-error on the response object, or cast the response object to the requisite type.