MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / attachmentLinkIntercom

Method attachmentLinkIntercom

integrations/linear/src/index.ts:348–375  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: {
      conversationId: string;
      issueId: string;
      variables?: Omit<L.AttachmentLinkIntercomMutationVariables, "conversationId" | "issueId">;
    }
  )

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 2

runTaskMethod · 0.95
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected