Skip to content

Commit 4ad9968

Browse files
committed
Add type for skipEncodingChars option in z.request
1 parent 849584f commit 4ad9968

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/core/types/zapier.custom.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ export interface HttpRequestOptions {
164164
url?: string;
165165
skipThrowForStatus?: boolean;
166166

167+
/**
168+
* Contains the characters that you want left unencoded in the query
169+
* params (`req.params`). If unspecified, `z.request()` will
170+
* percent-encode non-ascii characters and these reserved characters:
171+
* ``:$/?#[]@$&+,;=^@`\``.
172+
*/
173+
skipEncodingChars?: string;
174+
167175
/**
168176
* This is a special field that can be used to pass data to
169177
* middleware. It is not sent with the request, but is available in

0 commit comments

Comments
 (0)