We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d6a729 + 907d318 commit 24cd4bfCopy full SHA for 24cd4bf
index.d.ts
@@ -431,18 +431,18 @@ declare namespace SendGrid.Rest {
431
export const emptyRequest: Request;
432
433
interface Request {
434
- host: string;
+ host?: string;
435
method: "GET" | "PATCH" | "POST" | "PUT" | "DELETE";
436
path: string;
437
- headers: {
+ headers?: {
438
[header: string]: string|number;
439
};
440
- body: string | {};
441
- queryParams: {
+ body?: string | {};
+ queryParams?: {
442
[param: string]: string;
443
444
- test: boolean;
445
- port: string|number;
+ test?: boolean;
+ port?: string|number;
446
}
447
448
interface Response {
0 commit comments