{
  "version": 3,
  "sources": ["twenty-sdk-define-stub:__twenty-sdk-define-stub__", "../../../../src/constants/universal-identifiers.ts", "../../../../node_modules/twenty-sdk/src/sdk/logic-function/connections/errors/app-connection-auth-failed.error.ts", "../../../../node_modules/twenty-shared/dist/application.mjs", "../../../../node_modules/twenty-sdk/src/sdk/logic-function/connections/utils/post-connections-endpoint.util.ts", "../../../../node_modules/twenty-sdk/src/sdk/logic-function/connections/get-connection.ts", "../../../../node_modules/twenty-sdk/src/sdk/logic-function/connections/list-connections.ts", "../../../../node_modules/twenty-sdk/src/sdk/logic-function/connections/find-connection-for-request.ts", "../../../../src/logic-functions/utils/call-linear-graphql.ts", "../../../../src/logic-functions/handlers/list-linear-issue-options-handler.ts", "../../../../src/logic-functions/list-linear-issue-options.ts"],
  "sourcesContent": ["\n// Auto-generated stub for twenty-sdk/define injected by the SDK CLI build.\n// Real implementations would pull in zod, twenty-shared and ~1MB of code; at\n// runtime only `default.config.handler` is consumed, so tiny no-ops suffice.\nconst __defineFactoryStub = (config) => ({\n  success: true,\n  config,\n  errors: [],\n});\n\nconst __anyHandler = {\n  get(_target, prop) {\n    if (prop === '__esModule') return true;\n    if (prop === Symbol.toPrimitive) return () => '';\n    if (typeof prop === 'symbol') return undefined;\n    return new Proxy(() => undefined, __anyHandler);\n  },\n  apply() {\n    return new Proxy(() => undefined, __anyHandler);\n  },\n};\nconst __anyStub = new Proxy(() => undefined, __anyHandler);\n\nexport const createValidationResult = __defineFactoryStub;\nexport const defineAgent = __defineFactoryStub;\nexport const defineApplication = __defineFactoryStub;\nexport const defineApplicationRole = __defineFactoryStub;\nexport const defineCommandMenuItem = __defineFactoryStub;\nexport const defineConnectionProvider = __defineFactoryStub;\nexport const defineField = __defineFactoryStub;\nexport const defineFrontComponent = __defineFactoryStub;\nexport const defineLogicFunction = __defineFactoryStub;\nexport const defineNavigationMenuItem = __defineFactoryStub;\nexport const defineObject = __defineFactoryStub;\nexport const definePageLayout = __defineFactoryStub;\nexport const definePageLayoutTab = __defineFactoryStub;\nexport const definePostInstallLogicFunction = __defineFactoryStub;\nexport const definePreInstallLogicFunction = __defineFactoryStub;\nexport const defineRole = __defineFactoryStub;\nexport const defineSkill = __defineFactoryStub;\nexport const defineView = __defineFactoryStub;\nexport const AggregateOperations = __anyStub;\nexport const DateDisplayFormat = __anyStub;\nexport const FieldMetadataSettingsOnClickAction = __anyStub;\nexport const FieldType = __anyStub;\nexport const HTTPMethod = __anyStub;\nexport const NavigationMenuItemType = __anyStub;\nexport const NumberDataType = __anyStub;\nexport const ObjectRecordGroupByDateGranularity = __anyStub;\nexport const OnDeleteAction = __anyStub;\nexport const PageLayoutTabLayoutMode = __anyStub;\nexport const PermissionFlag = __anyStub;\nexport const RelationType = __anyStub;\nexport const STANDARD_OBJECT = __anyStub;\nexport const STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS = __anyStub;\nexport const ViewCalendarLayout = __anyStub;\nexport const ViewFilterGroupLogicalOperator = __anyStub;\nexport const ViewFilterOperand = __anyStub;\nexport const ViewKey = __anyStub;\nexport const ViewOpenRecordIn = __anyStub;\nexport const ViewSortDirection = __anyStub;\nexport const ViewType = __anyStub;\nexport const ViewVisibility = __anyStub;\nexport const generateDefaultFieldUniversalIdentifier = __anyStub;\nexport const getPublicAssetUrl = __anyStub;\nexport const validateFields = __anyStub;\n", "// Group all universal identifiers in a single file. Per the codebase\n// convention (see twenty-for-twenty), closely-related constants live\n// together so the rest of the app's source files can stay at one\n// `export default` per file.\n\nexport const APPLICATION_UNIVERSAL_IDENTIFIER =\n  '6f4e7c2a-3d8e-4a91-b2cf-9e0b8d5f4a2e';\n\nexport const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER =\n  'b6c33347-e41c-4b90-8a37-7b3c49baa85a';\n\nexport const LINEAR_CONNECTION_PROVIDER_UNIVERSAL_IDENTIFIER =\n  '9c7d1f5e-6a0b-4d44-be0c-3f8b5a9d4e6f';\n\nexport const CREATE_LINEAR_ISSUE_UNIVERSAL_IDENTIFIER =\n  '01f829c9-1661-41fa-9ee1-b67e64716c2e';\n\nexport const LIST_LINEAR_TEAMS_UNIVERSAL_IDENTIFIER =\n  '15824bbc-9c64-4f97-b45f-d0a44b402bb8';\n\nexport const LIST_LINEAR_TEAMS_ROUTE_UNIVERSAL_IDENTIFIER =\n  'a1d4e7b3-5c2f-4a89-9b0e-6f3d8c1a7e5b';\n\nexport const CREATE_LINEAR_ISSUE_ROUTE_UNIVERSAL_IDENTIFIER =\n  'c8f2a6d1-3b7e-4e09-8d5c-2a9f0b4e6c3d';\n\nexport const CREATE_ISSUE_FORM_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =\n  'd4a1c8e5-7f3b-4d62-a90e-1b5c3f8d2a6e';\n\nexport const LIST_LINEAR_WORKFLOW_STATES_ROUTE_UNIVERSAL_IDENTIFIER =\n  'f5a2d8c1-4b7e-4f93-a6d0-9c3e1b8f5a2d';\n\nexport const LIST_LINEAR_ISSUE_OPTIONS_ROUTE_UNIVERSAL_IDENTIFIER =\n  'a3b7e1d9-8c4f-4a26-b5d0-7e9f2c6a8b3d';\n\nexport const LIST_LINEAR_ISSUE_OPTIONS_UNIVERSAL_IDENTIFIER =\n  'c2b99086-6c1b-43e4-9685-de4ade6bda63';\n\nexport const CREATE_ISSUE_COMMAND_UNIVERSAL_IDENTIFIER =\n  'e7b3d9f2-6a1c-4e85-b4d0-8f2c5a7e3b19';\n", "// Thrown when the platform asks the SDK to operate on a connection whose\n// OAuth refresh failed permanently (`authFailedAt` is set). The end user\n// must reconnect from the app's settings tab — the app cannot recover on\n// its own.\n//\n// `listConnections` filters these out by default (the user can't act on\n// them anyway). `getConnection` throws this when the looked-up connection\n// is in this state, so a stored connection id can be safely retried until\n// it works again.\nexport class AppConnectionAuthFailedError extends Error {\n  readonly connectionId: string;\n\n  constructor(connectionId: string) {\n    super(\n      `App connection ${connectionId} requires the user to reconnect ` +\n        `(authFailedAt is set). Surface a \"Reconnect\" prompt in your UI.`,\n    );\n    this.name = 'AppConnectionAuthFailedError';\n    this.connectionId = connectionId;\n  }\n}\n", "const _ = \"public\", A = \"TWENTY_API_KEY\", T = \"TWENTY_API_URL\", r = \"TWENTY_APP_ACCESS_TOKEN\", t = \"generated\", N = {\n  js: `import { createRequire as __createRequire } from 'module';\nconst require = __createRequire(import.meta.url);`\n}, u = \".twenty/output\", I = \"Standard\", n = \"20202020-64aa-4b6f-b003-9c74b97cee20\";\nvar e = /* @__PURE__ */ ((o) => (o.Object = \"object\", o.Field = \"field\", o.LogicFunction = \"logicFunction\", o.FrontComponent = \"frontComponent\", o.Role = \"role\", o.Skill = \"skill\", o.Agent = \"agent\", o.ConnectionProvider = \"connectionProvider\", o.View = \"view\", o.NavigationMenuItem = \"navigationMenuItem\", o.PageLayout = \"pageLayout\", o.PageLayoutTab = \"pageLayoutTab\", o.CommandMenuItem = \"commandMenuItem\", o))(e || {});\nexport {\n  _ as ASSETS_DIR,\n  A as DEFAULT_API_KEY_NAME,\n  T as DEFAULT_API_URL_NAME,\n  r as DEFAULT_APP_ACCESS_TOKEN_NAME,\n  t as GENERATED_DIR,\n  N as NODE_ESM_CJS_BANNER,\n  u as OUTPUT_DIR,\n  e as SyncableEntity,\n  I as TWENTY_STANDARD_APPLICATION_NAME,\n  n as TWENTY_STANDARD_APPLICATION_UNIVERSAL_IDENTIFIER\n};\n", "import {\n  DEFAULT_API_URL_NAME,\n  DEFAULT_APP_ACCESS_TOKEN_NAME,\n} from 'twenty-shared/application';\n\n// Shared transport for `/apps/connections/*` endpoints. Centralises the\n// env-var check, auth header, and HTTP error translation so each helper\n// stays focused on its own input/output shape.\nexport const postConnectionsEndpoint = async <TBody, TResponse>(\n  path: 'list' | 'get',\n  body: TBody,\n): Promise<TResponse> => {\n  const apiUrl = process.env[DEFAULT_API_URL_NAME];\n  const accessToken = process.env[DEFAULT_APP_ACCESS_TOKEN_NAME];\n\n  if (!apiUrl || !accessToken) {\n    throw new Error(\n      `${path === 'list' ? 'listConnections' : 'getConnection'}() requires the app runtime env vars ` +\n        `${DEFAULT_API_URL_NAME} and ${DEFAULT_APP_ACCESS_TOKEN_NAME}.`,\n    );\n  }\n\n  const response = await fetch(`${apiUrl}/apps/connections/${path}`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application/json',\n      Authorization: `Bearer ${accessToken}`,\n    },\n    body: JSON.stringify(body),\n  });\n\n  if (!response.ok) {\n    throw new Error(\n      `${path === 'list' ? 'listConnections' : 'getConnection'}() failed: ` +\n        `HTTP ${response.status} ${response.statusText}`,\n    );\n  }\n\n  return (await response.json()) as TResponse;\n};\n", "import { AppConnectionAuthFailedError } from '@/sdk/logic-function/connections/errors/app-connection-auth-failed.error';\nimport { type AppConnection } from '@/sdk/logic-function/connections/types/app-connection.type';\nimport { postConnectionsEndpoint } from '@/sdk/logic-function/connections/utils/post-connections-endpoint.util';\n\n// Look up a single connection by id. The id is stable across reconnects\n// (the row keeps its id when the user clicks \"Reconnect\"), so apps can\n// safely persist it in their own data and call this helper on each\n// invocation to retrieve a fresh access token.\n//\n// Throws `AppConnectionAuthFailedError` if the credential is in a\n// permanent-failure state (the user must reconnect from the app's\n// settings tab). Throws a regular `Error` for any other failure\n// (network, not-found, transient refresh failure).\nexport const getConnection = async (id: string): Promise<AppConnection> => {\n  const connection = await postConnectionsEndpoint<\n    { id: string },\n    AppConnection\n  >('get', { id });\n\n  if (connection.authFailedAt !== null) {\n    throw new AppConnectionAuthFailedError(connection.id);\n  }\n\n  return connection;\n};\n", "import { type AppConnection } from '@/sdk/logic-function/connections/types/app-connection.type';\nimport { postConnectionsEndpoint } from '@/sdk/logic-function/connections/utils/post-connections-endpoint.util';\n\nexport type ListConnectionsFilter = {\n  // Provider name as declared on `defineConnectionProvider({ name })`.\n  providerName?: string;\n  // Restrict to credentials owned by a specific user. Useful in cron\n  // triggers when picking a service-account user via app config.\n  userWorkspaceId?: string;\n  // Restrict by row visibility — 'user' (private) or 'workspace' (shared).\n  visibility?: 'user' | 'workspace';\n};\n\n// Returns every connection owned by the running app, optionally filtered.\n// The server refreshes each access token on read, so the returned values\n// are usable immediately. When the running execution carries a user\n// context (HTTP-route trigger with `isAuthRequired`, tool calls, etc.),\n// `scope: 'user'` connections belonging to other users are filtered out\n// server-side. Cron and database-event triggers see all connections.\nexport const listConnections = async (\n  filter: ListConnectionsFilter = {},\n): Promise<AppConnection[]> =>\n  postConnectionsEndpoint<ListConnectionsFilter, AppConnection[]>(\n    'list',\n    filter,\n  );\n", "import { type AppConnection } from '@/sdk/logic-function/connections/types/app-connection.type';\n\n// Resolution rule for an HTTP-route handler that wants \"the request user's\n// connection, or fall back to a workspace-shared one.\" Pure function — no\n// network. Pass it the result of `listConnections` and the trigger event.\n//\n// The plan-of-record for picking a connection is documented in the v3 plan\n// notes; this utility encodes the most common case so handlers don't have\n// to repeat the same `find(...) ?? find(...)` chain.\n//\n// Returns `null` when no candidate exists — caller decides whether that's\n// a 4xx for the end user or a hard error.\nexport const findConnectionForRequest = (\n  connections: AppConnection[],\n  event: { userWorkspaceId: string | null },\n): AppConnection | null => {\n  // 1. Personal credential of the request user (highest specificity).\n  if (event.userWorkspaceId !== null) {\n    const personal = connections.find(\n      (connection) =>\n        connection.visibility === 'user' &&\n        connection.userWorkspaceId === event.userWorkspaceId,\n    );\n\n    if (personal) {\n      return personal;\n    }\n  }\n\n  // 2. Any workspace-shared credential (team-managed service account).\n  const workspaceShared = connections.find(\n    (connection) => connection.visibility === 'workspace',\n  );\n\n  return workspaceShared ?? null;\n};\n", "import { type LinearGraphQLResult } from 'src/logic-functions/utils/types/linear-graphql-result.type';\n\nconst LINEAR_GRAPHQL_ENDPOINT = 'https://api.linear.app/graphql';\n\nexport const callLinearGraphQL = async <TData>({\n  accessToken,\n  query,\n  variables,\n}: {\n  accessToken: string;\n  query: string;\n  variables?: Record<string, unknown>;\n}): Promise<LinearGraphQLResult<TData>> => {\n  let response: Response;\n\n  try {\n    response = await fetch(LINEAR_GRAPHQL_ENDPOINT, {\n      method: 'POST',\n      headers: {\n        'Content-Type': 'application/json',\n        Authorization: `Bearer ${accessToken}`,\n      },\n      body: JSON.stringify({ query, variables }),\n    });\n  } catch (error) {\n    return {\n      errors: [\n        {\n          message: `Linear API request failed: ${(error as Error).message}`,\n        },\n      ],\n    };\n  }\n\n  if (!response.ok) {\n    const text = await response.text().catch(() => '');\n\n    return {\n      errors: [\n        {\n          message: `Linear API responded with ${response.status}: ${text.slice(0, 500)}`,\n        },\n      ],\n    };\n  }\n\n  try {\n    return (await response.json()) as LinearGraphQLResult<TData>;\n  } catch (error) {\n    return {\n      errors: [\n        {\n          message: `Linear API returned a non-JSON response: ${(error as Error).message}`,\n        },\n      ],\n    };\n  }\n};\n", "import { listConnections } from 'twenty-sdk/logic-function';\n\nimport { callLinearGraphQL } from 'src/logic-functions/utils/call-linear-graphql';\n\ntype LinearMember = {\n  id: string;\n  name: string;\n  displayName: string;\n};\n\ntype LinearProject = {\n  id: string;\n  name: string;\n};\n\ntype LinearLabel = {\n  id: string;\n  name: string;\n  color: string;\n};\n\ntype LinearCycle = {\n  id: string;\n  name: string | null;\n  number: number;\n  startsAt: string;\n  endsAt: string;\n};\n\ntype LinearWorkflowState = {\n  id: string;\n  name: string;\n  type: string;\n  position: number;\n};\n\ntype IssueOptionsQueryResult = {\n  team: {\n    states: { nodes: LinearWorkflowState[] };\n    members: { nodes: LinearMember[] };\n    cycles: { nodes: LinearCycle[] };\n    issueEstimationType: string;\n    issueEstimationAllowZero: boolean;\n  };\n  projects: { nodes: LinearProject[] };\n  issueLabels: { nodes: LinearLabel[] };\n};\n\ntype IssueOptions = {\n  states: LinearWorkflowState[];\n  members: LinearMember[];\n  projects: LinearProject[];\n  labels: LinearLabel[];\n  cycles: LinearCycle[];\n  estimationType: string;\n  estimationAllowZero: boolean;\n};\n\ntype HandlerResult =\n  | { success: true; options: IssueOptions }\n  | { success: false; error: string };\n\nexport const listLinearIssueOptionsHandler = async (input: {\n  teamId?: string;\n}): Promise<HandlerResult> => {\n  if (!input.teamId) {\n    return { success: false, error: '`teamId` is required.' };\n  }\n\n  const connections = await listConnections({ providerName: 'linear' });\n  const connection =\n    connections.find((c) => c.visibility === 'workspace') ?? connections[0];\n\n  if (!connection) {\n    return {\n      success: false,\n      error:\n        'Linear is not connected. Open the app settings and click \"Add connection\" first.',\n    };\n  }\n\n  const result = await callLinearGraphQL<IssueOptionsQueryResult>({\n    accessToken: connection.accessToken,\n    query: `\n      query IssueOptions($teamId: String!) {\n        team(id: $teamId) {\n          states { nodes { id name type position } }\n          members { nodes { id name displayName } }\n          cycles { nodes { id name number startsAt endsAt } }\n          issueEstimationType\n          issueEstimationAllowZero\n        }\n        projects { nodes { id name } }\n        issueLabels { nodes { id name color } }\n      }\n    `,\n    variables: { teamId: input.teamId },\n  });\n\n  if (result.errors || !result.data) {\n    return {\n      success: false,\n      error: result.errors?.[0]?.message ?? 'Unknown Linear API error',\n    };\n  }\n\n  const { team, projects, issueLabels } = result.data;\n\n  const now = new Date().toISOString();\n  const activeCycles = team.cycles.nodes.filter((c) => c.endsAt >= now);\n\n  return {\n    success: true,\n    options: {\n      states: team.states.nodes.sort((a, b) => a.position - b.position),\n      members: team.members.nodes.sort((a, b) =>\n        a.displayName.localeCompare(b.displayName),\n      ),\n      projects: projects.nodes.sort((a, b) => a.name.localeCompare(b.name)),\n      labels: issueLabels.nodes.sort((a, b) => a.name.localeCompare(b.name)),\n      cycles: activeCycles.sort(\n        (a, b) =>\n          new Date(a.startsAt).getTime() - new Date(b.startsAt).getTime(),\n      ),\n      estimationType: team.issueEstimationType,\n      estimationAllowZero: team.issueEstimationAllowZero,\n    },\n  };\n};\n", "import { defineLogicFunction } from 'twenty-sdk/define';\n\nimport { LIST_LINEAR_ISSUE_OPTIONS_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';\nimport { listLinearIssueOptionsHandler } from 'src/logic-functions/handlers/list-linear-issue-options-handler';\n\nexport default defineLogicFunction({\n  universalIdentifier: LIST_LINEAR_ISSUE_OPTIONS_UNIVERSAL_IDENTIFIER,\n  name: 'list-linear-issue-options',\n  description:\n    'Returns available options for creating a Linear issue in a specific team: workflow states, members, projects, labels, cycles, and estimation settings. Requires a teamId (call list-linear-teams to discover one).',\n  timeoutSeconds: 15,\n  handler: listLinearIssueOptionsHandler,\n  toolTriggerSettings: {\n    inputSchema: {\n      type: 'object',\n      properties: {\n        teamId: {\n          type: 'string',\n          description:\n            'The Linear team ID to fetch issue options for. Use list-linear-teams to discover available teams.',\n        },\n      },\n      required: ['teamId'],\n    },\n  },\n  workflowActionTriggerSettings: {\n    label: 'List Linear Issue Options',\n    inputSchema: [\n      {\n        type: 'object',\n        properties: {\n          teamId: { type: 'string' },\n        },\n      },\n    ],\n    outputSchema: [\n      {\n        type: 'object',\n        properties: {\n          success: { type: 'boolean' },\n          options: {\n            type: 'object',\n            properties: {\n              states: {\n                type: 'array',\n                items: {\n                  type: 'object',\n                  properties: {\n                    id: { type: 'string' },\n                    name: { type: 'string' },\n                    type: { type: 'string' },\n                    position: { type: 'number' },\n                  },\n                },\n              },\n              members: {\n                type: 'array',\n                items: {\n                  type: 'object',\n                  properties: {\n                    id: { type: 'string' },\n                    name: { type: 'string' },\n                    displayName: { type: 'string' },\n                  },\n                },\n              },\n              projects: {\n                type: 'array',\n                items: {\n                  type: 'object',\n                  properties: {\n                    id: { type: 'string' },\n                    name: { type: 'string' },\n                  },\n                },\n              },\n              labels: {\n                type: 'array',\n                items: {\n                  type: 'object',\n                  properties: {\n                    id: { type: 'string' },\n                    name: { type: 'string' },\n                    color: { type: 'string' },\n                  },\n                },\n              },\n              cycles: {\n                type: 'array',\n                items: {\n                  type: 'object',\n                  properties: {\n                    id: { type: 'string' },\n                    name: { type: 'string' },\n                    number: { type: 'number' },\n                    startsAt: { type: 'string' },\n                    endsAt: { type: 'string' },\n                  },\n                },\n              },\n              estimationType: { type: 'string' },\n              estimationAllowZero: { type: 'boolean' },\n            },\n          },\n          error: { type: 'string' },\n        },\n      },\n    ],\n  },\n});\n"],
  "mappings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SAAS;AAAA,kBACzB;AAAA,gBACF;AAAA,cACF;AAAA,cACA,QAAQ;AAAA,gBACN,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,kBACN,YAAY;AAAA,oBACV,IAAI,EAAE,MAAM,SAAS;AAAA,oBACrB,MAAM,EAAE,MAAM,SAAS;AAAA,oBACvB,OAAO,EAAE,MAAM,SAAS;AAAA,kBAC1B;AAAA,gBACF;AAAA,cACF;AAAA,cACA,QAAQ;AAAA,gBACN,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,kBACN,YAAY;AAAA,oBACV,IAAI,EAAE,MAAM,SAAS;AAAA,oBACrB,MAAM,EAAE,MAAM,SAAS;AAAA,oBACvB,QAAQ,EAAE,MAAM,SAAS;AAAA,oBACzB,UAAU,EAAE,MAAM,SAAS;AAAA,oBAC3B,QAAQ,EAAE,MAAM,SAAS;AAAA,kBAC3B;AAAA,gBACF;AAAA,cACF;AAAA,cACA,gBAAgB,EAAE,MAAM,SAAS;AAAA,cACjC,qBAAqB,EAAE,MAAM,UAAU;AAAA,YACzC;AAAA,UACF;AAAA,UACA,OAAO,EAAE,MAAM,SAAS;AAAA,QAC1B;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
  "names": ["T", "r", "postConnectionsEndpoint", "path", "body", "apiUrl", "DEFAULT_API_URL_NAME", "accessToken", "DEFAULT_APP_ACCESS_TOKEN_NAME", "response", "listConnections", "filter", "postConnectionsEndpoint", "c"]
}
