diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index 4a0579c5ab..e602e16a50 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -8747,16 +8747,16 @@ export class Api< * @name Create * @summary Create Table Hook * @request POST:/api/v1/db/meta/tables/{tableId}/hooks - * @response `200` `HookReqType` OK + * @response `200` `HookType` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, }` */ - create: (tableId: IdType, data: AuditType, params: RequestParams = {}) => + create: (tableId: IdType, data: HookReqType, params: RequestParams = {}) => this.request< - HookReqType, + HookType, { /** @example BadRequest [Error]: */ msg: string;