(
key: IntegrationTaskKey,
params: { id: string; input: L.AttachmentUpdateInput }
)
| 261 | } |
| 262 | |
| 263 | updateAttachment( |
| 264 | key: IntegrationTaskKey, |
| 265 | params: { id: string; input: L.AttachmentUpdateInput } |
| 266 | ): LinearReturnType<AttachmentPayload, "attachment"> { |
| 267 | return this.runTask( |
| 268 | key, |
| 269 | async (client) => { |
| 270 | const payload = await client.updateAttachment(params.id, params.input); |
| 271 | return serializeLinearOutput(await payload.attachment); |
| 272 | }, |
| 273 | { |
| 274 | name: "Update Attachment", |
| 275 | params, |
| 276 | properties: [{ label: "Attachment ID", text: params.id }], |
| 277 | } |
| 278 | ); |
| 279 | } |
| 280 | |
| 281 | attachmentLinkDiscord( |
| 282 | key: IntegrationTaskKey, |
nothing calls this directly
no test coverage detected