Skip to content

Commit

Permalink
webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
yevheniyJ committed Nov 18, 2023
1 parent 2c7af3e commit 6c94bce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webhooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export namespace WebhooksModel {
name: string;
url: string;
events: Event[];
headers: string[];
payload: string[];
headers: Record<string, string>;
payload: Record<string, any>;
isActive: boolean;
batchingEnabled: boolean;
requestType: RequestType;
Expand All @@ -107,7 +107,7 @@ export namespace WebhooksModel {
events: Event[];
headers?: Record<string, string>;
requestType: RequestType;
payload?: any;
payload?: Record<string, any>;
}

export type ContentType = 'multipart/form-data' | 'application/json' | 'application/x-www-form-urlencoded';
Expand Down

0 comments on commit 6c94bce

Please sign in to comment.