(
key: IntegrationTaskKey,
params: {
conversationId: string;
issueId: string;
variables?: Omit<L.AttachmentLinkIntercomMutationVariables, "conversationId" | "issueId">;
}
)
| 346 | } |
| 347 | |
| 348 | attachmentLinkIntercom( |
| 349 | key: IntegrationTaskKey, |
| 350 | params: { |
| 351 | conversationId: string; |
| 352 | issueId: string; |
| 353 | variables?: Omit<L.AttachmentLinkIntercomMutationVariables, "conversationId" | "issueId">; |
| 354 | } |
| 355 | ): LinearReturnType<AttachmentPayload, "attachment"> { |
| 356 | return this.runTask( |
| 357 | key, |
| 358 | async (client) => { |
| 359 | const payload = await client.attachmentLinkIntercom( |
| 360 | params.conversationId, |
| 361 | params.issueId, |
| 362 | params.variables |
| 363 | ); |
| 364 | return serializeLinearOutput(await payload.attachment); |
| 365 | }, |
| 366 | { |
| 367 | name: "Link Intercom Conversation", |
| 368 | params, |
| 369 | properties: [ |
| 370 | { label: "Issue ID", text: params.issueId }, |
| 371 | { label: "Conversation ID", text: params.conversationId }, |
| 372 | ], |
| 373 | } |
| 374 | ); |
| 375 | } |
| 376 | |
| 377 | attachmentLinkJiraIssue( |
| 378 | key: IntegrationTaskKey, |
nothing calls this directly
no test coverage detected