(key: IntegrationTaskKey, params: { id: string })
| 31 | } |
| 32 | |
| 33 | webhook(key: IntegrationTaskKey, params: { id: string }): LinearReturnType<Webhook> { |
| 34 | return this.runTask( |
| 35 | key, |
| 36 | async (client, task, io) => { |
| 37 | return serializeLinearOutput(await client.webhook(params.id)); |
| 38 | }, |
| 39 | { |
| 40 | name: "Get Webhook", |
| 41 | params, |
| 42 | properties: [{ label: "Webhook ID", text: params.id }], |
| 43 | } |
| 44 | ); |
| 45 | } |
| 46 | |
| 47 | webhooks( |
| 48 | key: IntegrationTaskKey, |
nothing calls this directly
no test coverage detected