[@webitel/api-services](../index.html) / [team-hook-service/team-hook-service.api.gen](../modules/team-hook-service_team-hook-service.api.gen.html) / getTeamHookService # kind_function: getTeamHookService() > **getTeamHookService**(): `{ createTeamHook: (teamId: string, engineTeamHookServiceCreateTeamHookBody: EngineTeamHookServiceCreateTeamHookBody, options?: AxiosRequestConfig) => Promise; deleteTeamHook: (teamId: string, id: number, options?: AxiosRequestConfig) => Promise; patchTeamHook: (teamId: string, id: number, engineTeamHookServicePatchTeamHookBody: EngineTeamHookServicePatchTeamHookBody, options?: AxiosRequestConfig) => Promise; readTeamHook: (teamId: string, id: number, options?: AxiosRequestConfig) => Promise; searchTeamHook: (teamId: string, params?: SearchTeamHookParams, options?: AxiosRequestConfig) => Promise; updateTeamHook: (teamId: string, id: number, engineTeamHookServiceUpdateTeamHookBody: EngineTeamHookServiceUpdateTeamHookBody, options?: AxiosRequestConfig) => Promise }` ## theme_returns `{ createTeamHook: (teamId: string, engineTeamHookServiceCreateTeamHookBody: EngineTeamHookServiceCreateTeamHookBody, options?: AxiosRequestConfig) => Promise; deleteTeamHook: (teamId: string, id: number, options?: AxiosRequestConfig) => Promise; patchTeamHook: (teamId: string, id: number, engineTeamHookServicePatchTeamHookBody: EngineTeamHookServicePatchTeamHookBody, options?: AxiosRequestConfig) => Promise; readTeamHook: (teamId: string, id: number, options?: AxiosRequestConfig) => Promise; searchTeamHook: (teamId: string, params?: SearchTeamHookParams, options?: AxiosRequestConfig) => Promise; updateTeamHook: (teamId: string, id: number, engineTeamHookServiceUpdateTeamHookBody: EngineTeamHookServiceUpdateTeamHookBody, options?: AxiosRequestConfig) => Promise }` ### createTeamHook() > **createTeamHook**: `(teamId: string, engineTeamHookServiceCreateTeamHookBody: EngineTeamHookServiceCreateTeamHookBody, options?: AxiosRequestConfig) => Promise` #### kind_plural_type_parameter ##### TData `TData` = `AxiosResponse` #### kind_plural_parameter ##### teamId `string` ##### engineTeamHookServiceCreateTeamHookBody `EngineTeamHookServiceCreateTeamHookBody` ##### options? `AxiosRequestConfig` #### theme_returns `Promise` ### deleteTeamHook() > **deleteTeamHook**: `(teamId: string, id: number, options?: AxiosRequestConfig) => Promise` #### kind_plural_type_parameter ##### TData `TData` = `AxiosResponse` #### kind_plural_parameter ##### teamId `string` ##### id `number` ##### options? `AxiosRequestConfig` #### theme_returns `Promise` ### patchTeamHook() > **patchTeamHook**: `(teamId: string, id: number, engineTeamHookServicePatchTeamHookBody: EngineTeamHookServicePatchTeamHookBody, options?: AxiosRequestConfig) => Promise` #### kind_plural_type_parameter ##### TData `TData` = `AxiosResponse` #### kind_plural_parameter ##### teamId `string` ##### id `number` ##### engineTeamHookServicePatchTeamHookBody `EngineTeamHookServicePatchTeamHookBody` ##### options? `AxiosRequestConfig` #### theme_returns `Promise` ### readTeamHook() > **readTeamHook**: `(teamId: string, id: number, options?: AxiosRequestConfig) => Promise` #### kind_plural_type_parameter ##### TData `TData` = `AxiosResponse` #### kind_plural_parameter ##### teamId `string` ##### id `number` ##### options? `AxiosRequestConfig` #### theme_returns `Promise` ### searchTeamHook() > **searchTeamHook**: `(teamId: string, params?: SearchTeamHookParams, options?: AxiosRequestConfig) => Promise` #### kind_plural_type_parameter ##### TData `TData` = `AxiosResponse` #### kind_plural_parameter ##### teamId `string` ##### params? `SearchTeamHookParams` ##### options? `AxiosRequestConfig` #### theme_returns `Promise` ### updateTeamHook() > **updateTeamHook**: `(teamId: string, id: number, engineTeamHookServiceUpdateTeamHookBody: EngineTeamHookServiceUpdateTeamHookBody, options?: AxiosRequestConfig) => Promise` #### kind_plural_type_parameter ##### TData `TData` = `AxiosResponse` #### kind_plural_parameter ##### teamId `string` ##### id `number` ##### engineTeamHookServiceUpdateTeamHookBody `EngineTeamHookServiceUpdateTeamHookBody` ##### options? `AxiosRequestConfig` #### theme_returns `Promise`