Skip to content

Commit

Permalink
chore(types): Add type for z.request option skipEncodingChars (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkcranny authored Dec 11, 2024
1 parent 849584f commit ad4366e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/types/zapier.custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,14 @@ export interface HttpRequestOptions {
url?: string;
skipThrowForStatus?: boolean;

/**
* Contains the characters that you want left unencoded in the query
* params (`req.params`). If unspecified, `z.request()` will
* percent-encode non-ascii characters and these reserved characters:
* ``:$/?#[]@$&+,;=^@`\``.
*/
skipEncodingChars?: string;

/**
* This is a special field that can be used to pass data to
* middleware. It is not sent with the request, but is available in
Expand Down

0 comments on commit ad4366e

Please sign in to comment.