@keystrokehq/productlane 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-changelog.cjs +1 -0
- package/dist/actions/create-changelog.cjs.map +1 -1
- package/dist/actions/create-changelog.d.cts +3 -6
- package/dist/actions/create-changelog.d.cts.map +1 -1
- package/dist/actions/create-changelog.d.mts +3 -6
- package/dist/actions/create-changelog.d.mts.map +1 -1
- package/dist/actions/create-changelog.mjs +1 -0
- package/dist/actions/create-changelog.mjs.map +1 -1
- package/dist/actions/create-company.cjs +1 -0
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +3 -13
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +3 -13
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +1 -0
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -7
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -7
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-feedback.cjs +1 -0
- package/dist/actions/create-feedback.cjs.map +1 -1
- package/dist/actions/create-feedback.d.cts +3 -13
- package/dist/actions/create-feedback.d.cts.map +1 -1
- package/dist/actions/create-feedback.d.mts +3 -13
- package/dist/actions/create-feedback.d.mts.map +1 -1
- package/dist/actions/create-feedback.mjs +1 -0
- package/dist/actions/create-feedback.mjs.map +1 -1
- package/dist/actions/create-insight.cjs +1 -0
- package/dist/actions/create-insight.cjs.map +1 -1
- package/dist/actions/create-insight.d.cts +3 -16
- package/dist/actions/create-insight.d.cts.map +1 -1
- package/dist/actions/create-insight.d.mts +3 -16
- package/dist/actions/create-insight.d.mts.map +1 -1
- package/dist/actions/create-insight.mjs +1 -0
- package/dist/actions/create-insight.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +1 -0
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +3 -9
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +3 -9
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +1 -0
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upvote.cjs +1 -0
- package/dist/actions/create-upvote.cjs.map +1 -1
- package/dist/actions/create-upvote.d.cts +3 -5
- package/dist/actions/create-upvote.d.cts.map +1 -1
- package/dist/actions/create-upvote.d.mts +3 -5
- package/dist/actions/create-upvote.d.mts.map +1 -1
- package/dist/actions/create-upvote.mjs +1 -0
- package/dist/actions/create-upvote.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -0
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +3 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +3 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +1 -0
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-upvote.cjs +1 -0
- package/dist/actions/delete-upvote.cjs.map +1 -1
- package/dist/actions/delete-upvote.d.cts +3 -3
- package/dist/actions/delete-upvote.d.cts.map +1 -1
- package/dist/actions/delete-upvote.d.mts +3 -3
- package/dist/actions/delete-upvote.d.mts.map +1 -1
- package/dist/actions/delete-upvote.mjs +1 -0
- package/dist/actions/delete-upvote.mjs.map +1 -1
- package/dist/actions/enable-widget.cjs +1 -0
- package/dist/actions/enable-widget.cjs.map +1 -1
- package/dist/actions/enable-widget.d.cts +3 -1
- package/dist/actions/enable-widget.d.cts.map +1 -1
- package/dist/actions/enable-widget.d.mts +3 -1
- package/dist/actions/enable-widget.d.mts.map +1 -1
- package/dist/actions/enable-widget.mjs +1 -0
- package/dist/actions/enable-widget.mjs.map +1 -1
- package/dist/actions/get-changelog.cjs +1 -0
- package/dist/actions/get-changelog.cjs.map +1 -1
- package/dist/actions/get-changelog.d.cts +3 -5
- package/dist/actions/get-changelog.d.cts.map +1 -1
- package/dist/actions/get-changelog.d.mts +3 -5
- package/dist/actions/get-changelog.d.mts.map +1 -1
- package/dist/actions/get-changelog.mjs +1 -0
- package/dist/actions/get-changelog.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -0
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +3 -4
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +3 -4
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +1 -0
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-help-center-article.cjs +1 -0
- package/dist/actions/get-help-center-article.cjs.map +1 -1
- package/dist/actions/get-help-center-article.d.cts +3 -5
- package/dist/actions/get-help-center-article.d.cts.map +1 -1
- package/dist/actions/get-help-center-article.d.mts +3 -5
- package/dist/actions/get-help-center-article.d.mts.map +1 -1
- package/dist/actions/get-help-center-article.mjs +1 -0
- package/dist/actions/get-help-center-article.mjs.map +1 -1
- package/dist/actions/get-insight.cjs +1 -0
- package/dist/actions/get-insight.cjs.map +1 -1
- package/dist/actions/get-insight.d.cts +3 -4
- package/dist/actions/get-insight.d.cts.map +1 -1
- package/dist/actions/get-insight.d.mts +3 -4
- package/dist/actions/get-insight.d.mts.map +1 -1
- package/dist/actions/get-insight.mjs +1 -0
- package/dist/actions/get-insight.mjs.map +1 -1
- package/dist/actions/get-issue.cjs +1 -0
- package/dist/actions/get-issue.cjs.map +1 -1
- package/dist/actions/get-issue.d.cts +3 -5
- package/dist/actions/get-issue.d.cts.map +1 -1
- package/dist/actions/get-issue.d.mts +3 -5
- package/dist/actions/get-issue.d.mts.map +1 -1
- package/dist/actions/get-issue.mjs +1 -0
- package/dist/actions/get-issue.mjs.map +1 -1
- package/dist/actions/get-linear-options.cjs +1 -0
- package/dist/actions/get-linear-options.cjs.map +1 -1
- package/dist/actions/get-linear-options.d.cts +3 -1
- package/dist/actions/get-linear-options.d.cts.map +1 -1
- package/dist/actions/get-linear-options.d.mts +3 -1
- package/dist/actions/get-linear-options.d.mts.map +1 -1
- package/dist/actions/get-linear-options.mjs +1 -0
- package/dist/actions/get-linear-options.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -5
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -5
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +1 -0
- package/dist/actions/get-workspace.cjs.map +1 -1
- package/dist/actions/get-workspace.d.cts +3 -3
- package/dist/actions/get-workspace.d.cts.map +1 -1
- package/dist/actions/get-workspace.d.mts +3 -3
- package/dist/actions/get-workspace.d.mts.map +1 -1
- package/dist/actions/get-workspace.mjs +1 -0
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/invite-user.cjs +1 -0
- package/dist/actions/invite-user.cjs.map +1 -1
- package/dist/actions/invite-user.d.cts +3 -5
- package/dist/actions/invite-user.d.cts.map +1 -1
- package/dist/actions/invite-user.d.mts +3 -5
- package/dist/actions/invite-user.d.mts.map +1 -1
- package/dist/actions/invite-user.mjs +1 -0
- package/dist/actions/invite-user.mjs.map +1 -1
- package/dist/actions/list-changelogs.cjs +1 -0
- package/dist/actions/list-changelogs.cjs.map +1 -1
- package/dist/actions/list-changelogs.d.cts +3 -4
- package/dist/actions/list-changelogs.d.cts.map +1 -1
- package/dist/actions/list-changelogs.d.mts +3 -4
- package/dist/actions/list-changelogs.d.mts.map +1 -1
- package/dist/actions/list-changelogs.mjs +1 -0
- package/dist/actions/list-changelogs.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +1 -0
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +3 -6
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +3 -6
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +1 -0
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -4
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -4
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-help-center-articles.cjs +1 -0
- package/dist/actions/list-help-center-articles.cjs.map +1 -1
- package/dist/actions/list-help-center-articles.d.cts +3 -4
- package/dist/actions/list-help-center-articles.d.cts.map +1 -1
- package/dist/actions/list-help-center-articles.d.mts +3 -4
- package/dist/actions/list-help-center-articles.d.mts.map +1 -1
- package/dist/actions/list-help-center-articles.mjs +1 -0
- package/dist/actions/list-help-center-articles.mjs.map +1 -1
- package/dist/actions/list-insights.cjs +1 -0
- package/dist/actions/list-insights.cjs.map +1 -1
- package/dist/actions/list-insights.d.cts +3 -7
- package/dist/actions/list-insights.d.cts.map +1 -1
- package/dist/actions/list-insights.d.mts +3 -7
- package/dist/actions/list-insights.d.mts.map +1 -1
- package/dist/actions/list-insights.mjs +1 -0
- package/dist/actions/list-insights.mjs.map +1 -1
- package/dist/actions/list-issues.cjs +1 -0
- package/dist/actions/list-issues.cjs.map +1 -1
- package/dist/actions/list-issues.d.cts +3 -4
- package/dist/actions/list-issues.d.cts.map +1 -1
- package/dist/actions/list-issues.d.mts +3 -4
- package/dist/actions/list-issues.d.mts.map +1 -1
- package/dist/actions/list-issues.mjs +1 -0
- package/dist/actions/list-issues.mjs.map +1 -1
- package/dist/actions/list-members.cjs +1 -0
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +3 -1
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -1
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +1 -0
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -4
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -4
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/update-company.cjs +1 -0
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +3 -14
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +3 -14
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +1 -0
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -8
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -8
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-insight.cjs +1 -0
- package/dist/actions/update-insight.cjs.map +1 -1
- package/dist/actions/update-insight.d.cts +3 -15
- package/dist/actions/update-insight.d.cts.map +1 -1
- package/dist/actions/update-insight.d.mts +3 -15
- package/dist/actions/update-insight.d.mts.map +1 -1
- package/dist/actions/update-insight.mjs +1 -0
- package/dist/actions/update-insight.mjs.map +1 -1
- package/dist/actions/widget-close.cjs +1 -0
- package/dist/actions/widget-close.cjs.map +1 -1
- package/dist/actions/widget-close.d.cts +3 -1
- package/dist/actions/widget-close.d.cts.map +1 -1
- package/dist/actions/widget-close.d.mts +3 -1
- package/dist/actions/widget-close.d.mts.map +1 -1
- package/dist/actions/widget-close.mjs +1 -0
- package/dist/actions/widget-close.mjs.map +1 -1
- package/dist/actions/widget-disable.cjs +1 -0
- package/dist/actions/widget-disable.cjs.map +1 -1
- package/dist/actions/widget-disable.d.cts +3 -1
- package/dist/actions/widget-disable.d.cts.map +1 -1
- package/dist/actions/widget-disable.d.mts +3 -1
- package/dist/actions/widget-disable.d.mts.map +1 -1
- package/dist/actions/widget-disable.mjs +1 -0
- package/dist/actions/widget-disable.mjs.map +1 -1
- package/dist/actions/widget-off-event.cjs +1 -0
- package/dist/actions/widget-off-event.cjs.map +1 -1
- package/dist/actions/widget-off-event.d.cts +3 -4
- package/dist/actions/widget-off-event.d.cts.map +1 -1
- package/dist/actions/widget-off-event.d.mts +3 -4
- package/dist/actions/widget-off-event.d.mts.map +1 -1
- package/dist/actions/widget-off-event.mjs +1 -0
- package/dist/actions/widget-off-event.mjs.map +1 -1
- package/dist/actions/widget-on-event.cjs +1 -0
- package/dist/actions/widget-on-event.cjs.map +1 -1
- package/dist/actions/widget-on-event.d.cts +3 -4
- package/dist/actions/widget-on-event.d.cts.map +1 -1
- package/dist/actions/widget-on-event.d.mts +3 -4
- package/dist/actions/widget-on-event.d.mts.map +1 -1
- package/dist/actions/widget-on-event.mjs +1 -0
- package/dist/actions/widget-on-event.mjs.map +1 -1
- package/dist/actions/widget-open-docs.cjs +1 -0
- package/dist/actions/widget-open-docs.cjs.map +1 -1
- package/dist/actions/widget-open-docs.d.cts +3 -4
- package/dist/actions/widget-open-docs.d.cts.map +1 -1
- package/dist/actions/widget-open-docs.d.mts +3 -4
- package/dist/actions/widget-open-docs.d.mts.map +1 -1
- package/dist/actions/widget-open-docs.mjs +1 -0
- package/dist/actions/widget-open-docs.mjs.map +1 -1
- package/dist/actions/widget-open.cjs +1 -0
- package/dist/actions/widget-open.cjs.map +1 -1
- package/dist/actions/widget-open.d.cts +3 -3
- package/dist/actions/widget-open.d.cts.map +1 -1
- package/dist/actions/widget-open.d.mts +3 -3
- package/dist/actions/widget-open.d.mts.map +1 -1
- package/dist/actions/widget-open.mjs +1 -0
- package/dist/actions/widget-open.mjs.map +1 -1
- package/dist/actions/widget-toggle.cjs +1 -0
- package/dist/actions/widget-toggle.cjs.map +1 -1
- package/dist/actions/widget-toggle.d.cts +3 -1
- package/dist/actions/widget-toggle.d.cts.map +1 -1
- package/dist/actions/widget-toggle.d.mts +3 -1
- package/dist/actions/widget-toggle.d.mts.map +1 -1
- package/dist/actions/widget-toggle.mjs +1 -0
- package/dist/actions/widget-toggle.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-help-center-article.cjs","names":["z","action"],"sources":["../../src/actions/get-help-center-article.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetHelpCenterArticleInput = z.object({\n language: z.string().describe(\"Optional language code to retrieve the article in a specific language.\").optional(),\n articleId: z.string().describe(\"The unique identifier of the help center article to retrieve.\"),\n workspaceId: z.string().describe(\"The unique identifier of the workspace containing the help center article.\"),\n}).describe(\"Request model for retrieving a help center article by ID.\");\nexport const ProductlaneGetHelpCenterArticleOutput = z.object({\n id: z.string().describe(\"Unique identifier of the help center article.\").nullable(),\n date: z.string().describe(\"Optional publication date of the article in ISO 8601 format.\").nullable().optional(),\n title: z.string().describe(\"Title of the help center article.\").nullable(),\n content: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n version: z.number().describe(\"Version number of the article.\").nullable(),\n archived: z.boolean().describe(\"Whether the article has been archived.\").nullable(),\n imageUrl: z.string().describe(\"URL of the article's featured image.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the article was created.\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the article has been marked as deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published and visible to users.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Identifier of the workspace this article belongs to.\").nullable(),\n}).passthrough().describe(\"Response model containing help center article details.\");\n\nexport const productlaneGetHelpCenterArticle = action(\"PRODUCTLANE_GET_HELP_CENTER_ARTICLE\", {\n slug: \"productlane-get-help-center-article\",\n name: \"Get Help Center Article\",\n description: \"Tool to retrieve a help center article by its ID. Use when you need to fetch details, content, and metadata for a specific help center article.\",\n input: ProductlaneGetHelpCenterArticleInput,\n output: ProductlaneGetHelpCenterArticleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-help-center-article.cjs","names":["z","action"],"sources":["../../src/actions/get-help-center-article.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetHelpCenterArticleInput = z.object({\n language: z.string().describe(\"Optional language code to retrieve the article in a specific language.\").optional(),\n articleId: z.string().describe(\"The unique identifier of the help center article to retrieve.\"),\n workspaceId: z.string().describe(\"The unique identifier of the workspace containing the help center article.\"),\n}).describe(\"Request model for retrieving a help center article by ID.\");\nexport const ProductlaneGetHelpCenterArticleOutput = z.object({\n id: z.string().describe(\"Unique identifier of the help center article.\").nullable(),\n date: z.string().describe(\"Optional publication date of the article in ISO 8601 format.\").nullable().optional(),\n title: z.string().describe(\"Title of the help center article.\").nullable(),\n content: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n version: z.number().describe(\"Version number of the article.\").nullable(),\n archived: z.boolean().describe(\"Whether the article has been archived.\").nullable(),\n imageUrl: z.string().describe(\"URL of the article's featured image.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the article was created.\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the article has been marked as deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published and visible to users.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Identifier of the workspace this article belongs to.\").nullable(),\n}).passthrough().describe(\"Response model containing help center article details.\");\n\nexport const productlaneGetHelpCenterArticle: AppAction<\n typeof ProductlaneGetHelpCenterArticleInput,\n typeof ProductlaneGetHelpCenterArticleOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_HELP_CENTER_ARTICLE\", {\n slug: \"productlane-get-help-center-article\",\n name: \"Get Help Center Article\",\n description: \"Tool to retrieve a help center article by its ID. Use when you need to fetch details, content, and metadata for a specific help center article.\",\n input: ProductlaneGetHelpCenterArticleInput,\n output: ProductlaneGetHelpCenterArticleOutput,\n});\n"],"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,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { productlane } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-help-center-article.d.ts
|
|
@@ -20,11 +22,7 @@ declare const ProductlaneGetHelpCenterArticleOutput: z.ZodObject<{
|
|
|
20
22
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
21
23
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const productlaneGetHelpCenterArticle:
|
|
24
|
-
articleId: string;
|
|
25
|
-
workspaceId: string;
|
|
26
|
-
language?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const productlaneGetHelpCenterArticle: AppAction<typeof ProductlaneGetHelpCenterArticleInput, typeof ProductlaneGetHelpCenterArticleOutput, typeof productlane.credential>;
|
|
28
26
|
//#endregion
|
|
29
27
|
export { productlaneGetHelpCenterArticle };
|
|
30
28
|
//# sourceMappingURL=get-help-center-article.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-help-center-article.d.cts","names":[],"sources":["../../src/actions/get-help-center-article.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-help-center-article.d.cts","names":[],"sources":["../../src/actions/get-help-center-article.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAKpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAerC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { productlane } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-help-center-article.d.ts
|
|
@@ -20,11 +22,7 @@ declare const ProductlaneGetHelpCenterArticleOutput: z.ZodObject<{
|
|
|
20
22
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
21
23
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const productlaneGetHelpCenterArticle:
|
|
24
|
-
articleId: string;
|
|
25
|
-
workspaceId: string;
|
|
26
|
-
language?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const productlaneGetHelpCenterArticle: AppAction<typeof ProductlaneGetHelpCenterArticleInput, typeof ProductlaneGetHelpCenterArticleOutput, typeof productlane.credential>;
|
|
28
26
|
//#endregion
|
|
29
27
|
export { productlaneGetHelpCenterArticle };
|
|
30
28
|
//# sourceMappingURL=get-help-center-article.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-help-center-article.d.mts","names":[],"sources":["../../src/actions/get-help-center-article.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-help-center-article.d.mts","names":[],"sources":["../../src/actions/get-help-center-article.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAKpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAerC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-help-center-article.mjs","names":[],"sources":["../../src/actions/get-help-center-article.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetHelpCenterArticleInput = z.object({\n language: z.string().describe(\"Optional language code to retrieve the article in a specific language.\").optional(),\n articleId: z.string().describe(\"The unique identifier of the help center article to retrieve.\"),\n workspaceId: z.string().describe(\"The unique identifier of the workspace containing the help center article.\"),\n}).describe(\"Request model for retrieving a help center article by ID.\");\nexport const ProductlaneGetHelpCenterArticleOutput = z.object({\n id: z.string().describe(\"Unique identifier of the help center article.\").nullable(),\n date: z.string().describe(\"Optional publication date of the article in ISO 8601 format.\").nullable().optional(),\n title: z.string().describe(\"Title of the help center article.\").nullable(),\n content: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n version: z.number().describe(\"Version number of the article.\").nullable(),\n archived: z.boolean().describe(\"Whether the article has been archived.\").nullable(),\n imageUrl: z.string().describe(\"URL of the article's featured image.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the article was created.\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the article has been marked as deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published and visible to users.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Identifier of the workspace this article belongs to.\").nullable(),\n}).passthrough().describe(\"Response model containing help center article details.\");\n\nexport const productlaneGetHelpCenterArticle = action(\"PRODUCTLANE_GET_HELP_CENTER_ARTICLE\", {\n slug: \"productlane-get-help-center-article\",\n name: \"Get Help Center Article\",\n description: \"Tool to retrieve a help center article by its ID. Use when you need to fetch details, content, and metadata for a specific help center article.\",\n input: ProductlaneGetHelpCenterArticleInput,\n output: ProductlaneGetHelpCenterArticleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-help-center-article.mjs","names":[],"sources":["../../src/actions/get-help-center-article.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetHelpCenterArticleInput = z.object({\n language: z.string().describe(\"Optional language code to retrieve the article in a specific language.\").optional(),\n articleId: z.string().describe(\"The unique identifier of the help center article to retrieve.\"),\n workspaceId: z.string().describe(\"The unique identifier of the workspace containing the help center article.\"),\n}).describe(\"Request model for retrieving a help center article by ID.\");\nexport const ProductlaneGetHelpCenterArticleOutput = z.object({\n id: z.string().describe(\"Unique identifier of the help center article.\").nullable(),\n date: z.string().describe(\"Optional publication date of the article in ISO 8601 format.\").nullable().optional(),\n title: z.string().describe(\"Title of the help center article.\").nullable(),\n content: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n version: z.number().describe(\"Version number of the article.\").nullable(),\n archived: z.boolean().describe(\"Whether the article has been archived.\").nullable(),\n imageUrl: z.string().describe(\"URL of the article's featured image.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the article was created.\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the article has been marked as deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published and visible to users.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Identifier of the workspace this article belongs to.\").nullable(),\n}).passthrough().describe(\"Response model containing help center article details.\");\n\nexport const productlaneGetHelpCenterArticle: AppAction<\n typeof ProductlaneGetHelpCenterArticleInput,\n typeof ProductlaneGetHelpCenterArticleOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_HELP_CENTER_ARTICLE\", {\n slug: \"productlane-get-help-center-article\",\n name: \"Get Help Center Article\",\n description: \"Tool to retrieve a help center article by its ID. Use when you need to fetch details, content, and metadata for a specific help center article.\",\n input: ProductlaneGetHelpCenterArticleInput,\n output: ProductlaneGetHelpCenterArticleOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BkD,EAAE,OAAO;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC/G,CAAC,CAAC,CAAC,SAAS,2DAwBH;CACP,QAxBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-insight.cjs","names":["z","action"],"sources":["../../src/actions/get-insight.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetInsightInput = z.object({\n id: z.string().describe(\"The unique identifier of the insight/thread to retrieve.\"),\n includeConversation: z.enum([\"true\", \"false\"]).describe(\"Whether to include conversation data in the response.\").optional(),\n});\nconst ProductlaneGetInsight_TagModelSchema = z.object({\n id: z.string().describe(\"Tag ID\").nullable(),\n icon: z.string().describe(\"Tag icon\").nullable(),\n name: z.string().describe(\"Tag name\").nullable(),\n color: z.string().describe(\"Tag color code\").nullable(),\n tagGroupId: z.string().describe(\"Tag group ID\").nullable(),\n}).passthrough().describe(\"Tag information.\");\nconst ProductlaneGetInsight_StateEnumSchema = z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight.\");\nconst ProductlaneGetInsight_OriginEnumSchema = z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Source/origin of the insight.\");\nconst ProductlaneGetInsight_CompanyModelSchema = z.object({\n id: z.string().describe(\"Company ID\").nullable(),\n name: z.string().describe(\"Company name\").nullable(),\n size: z.number().describe(\"Company size\").nullable().optional(),\n slugId: z.string().describe(\"Slug ID\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether to auto-add contacts from company domains\").nullable().optional(),\n domains: z.array(z.string()).describe(\"Company domains\").nullable().optional(),\n logoUrl: z.string().describe(\"Company logo URL\").nullable().optional(),\n revenue: z.number().describe(\"Company revenue\").nullable().optional(),\n version: z.number().describe(\"Company record version number\").nullable(),\n statusId: z.string().describe(\"Status ID\").nullable().optional(),\n tierName: z.string().describe(\"Tier name\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot company ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\").nullable(),\n intercomId: z.string().describe(\"Intercom company ID\").nullable().optional(),\n statusName: z.string().describe(\"Status name\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"External IDs\").nullable().optional(),\n statusColor: z.string().describe(\"Status color code\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID the company belongs to\").nullable(),\n productboardId: z.string().describe(\"Productboard company ID\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID\").nullable().optional(),\n}).passthrough().describe(\"Company/Organization information.\");\nconst ProductlaneGetInsight_ContactModelSchema = z.object({\n id: z.string().describe(\"Contact ID\").nullable(),\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable(),\n version: z.number().describe(\"Contact record version number\").nullable(),\n imageUrl: z.string().describe(\"Contact profile image URL\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the contact was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot contact ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the contact was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk contact ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom contact ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n productboardId: z.string().describe(\"Productboard contact ID\").nullable().optional(),\n}).passthrough().describe(\"Contact information.\");\nconst ProductlaneGetInsight_UserModelSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable().optional(),\n role: z.string().describe(\"User role\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the user was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the user was last updated\").nullable().optional(),\n selectedTeamIds: z.array(z.string()).describe(\"List of team IDs the user is associated with\").nullable().optional(),\n}).passthrough().describe(\"User/Team member information.\");\nconst ProductlaneGetInsight_PainLevelEnumSchema = z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level of the insight.\");\nconst ProductlaneGetInsight_ConversationItemSchema = z.object({\n id: z.string().describe(\"Conversation item ID\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"Conversation item data\"),\n type: z.string().describe(\"Type of conversation item\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the conversation item\").nullable(),\n}).passthrough().describe(\"Conversation history item.\");\nconst ProductlaneGetInsight_CustomerNeedModelSchema = z.object({\n id: z.string().describe(\"Customer need ID\").nullable(),\n issueId: z.string().describe(\"Issue ID\").nullable(),\n priority: z.number().describe(\"Priority value\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the customer need was created\").nullable(),\n projectId: z.string().describe(\"Project ID\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the customer need was last updated\").nullable(),\n feedbackId: z.string().describe(\"Feedback/insight ID\").nullable(),\n linearCustomerNeedId: z.string().describe(\"Linear customer need ID\").nullable(),\n}).passthrough().describe(\"Customer need linking feedback to projects/issues.\");\nexport const ProductlaneGetInsightOutput = z.object({\n id: z.string().describe(\"Insight ID\").nullable(),\n tags: z.array(ProductlaneGetInsight_TagModelSchema).describe(\"List of tags\"),\n text: z.string().describe(\"Insight text content\").nullable(),\n state: ProductlaneGetInsight_StateEnumSchema.nullable(),\n title: z.string().describe(\"Insight title\").nullable().optional(),\n origin: ProductlaneGetInsight_OriginEnumSchema.nullable(),\n company: ProductlaneGetInsight_CompanyModelSchema.nullable().optional(),\n contact: ProductlaneGetInsight_ContactModelSchema.nullable().optional(),\n frontId: z.string().describe(\"Front ID\").nullable().optional(),\n plainId: z.string().describe(\"Plain ID\").nullable().optional(),\n videoId: z.string().describe(\"Video ID\").nullable().optional(),\n assignee: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n reporter: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n contactId: z.string().describe(\"Contact ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the insight was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the insight is deleted\").nullable(),\n painLevel: ProductlaneGetInsight_PainLevelEnumSchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the insight was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk ID\").nullable().optional(),\n assigneeId: z.string().describe(\"Assignee user ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom ID\").nullable().optional(),\n reporterId: z.string().describe(\"Reporter user ID\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments\"),\n recordingId: z.string().describe(\"Recording ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n conversation: z.array(ProductlaneGetInsight_ConversationItemSchema).describe(\"Conversation history (only included if includeConversation=true)\").nullable().optional(),\n slackReplyId: z.string().describe(\"Slack reply ID\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until which the insight is snoozed\").nullable().optional(),\n customerNeeds: z.array(ProductlaneGetInsight_CustomerNeedModelSchema).describe(\"List of customer needs linked to this insight\"),\n productboardId: z.string().describe(\"Productboard ID\").nullable().optional(),\n showRecordCall: z.boolean().describe(\"Whether to show the record call button\").nullable(),\n slackChannelId: z.string().describe(\"Slack channel ID\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of last state change\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Linear attachment ID\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last inbound message\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last outbound message\").nullable().optional(),\n}).passthrough().describe(\"Response structure for getting an insight/thread.\");\n\nexport const productlaneGetInsight = action(\"PRODUCTLANE_GET_INSIGHT\", {\n slug: \"productlane-get-insight\",\n name: \"Get Insight\",\n description: \"Tool to retrieve an insight/thread by its ID. Use when you need to fetch details about a specific piece of feedback or customer insight.\",\n input: ProductlaneGetInsightInput,\n output: ProductlaneGetInsightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC3C,MAAMA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C,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAeA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-insight.cjs","names":["z","action"],"sources":["../../src/actions/get-insight.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetInsightInput = z.object({\n id: z.string().describe(\"The unique identifier of the insight/thread to retrieve.\"),\n includeConversation: z.enum([\"true\", \"false\"]).describe(\"Whether to include conversation data in the response.\").optional(),\n});\nconst ProductlaneGetInsight_TagModelSchema = z.object({\n id: z.string().describe(\"Tag ID\").nullable(),\n icon: z.string().describe(\"Tag icon\").nullable(),\n name: z.string().describe(\"Tag name\").nullable(),\n color: z.string().describe(\"Tag color code\").nullable(),\n tagGroupId: z.string().describe(\"Tag group ID\").nullable(),\n}).passthrough().describe(\"Tag information.\");\nconst ProductlaneGetInsight_StateEnumSchema = z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight.\");\nconst ProductlaneGetInsight_OriginEnumSchema = z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Source/origin of the insight.\");\nconst ProductlaneGetInsight_CompanyModelSchema = z.object({\n id: z.string().describe(\"Company ID\").nullable(),\n name: z.string().describe(\"Company name\").nullable(),\n size: z.number().describe(\"Company size\").nullable().optional(),\n slugId: z.string().describe(\"Slug ID\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether to auto-add contacts from company domains\").nullable().optional(),\n domains: z.array(z.string()).describe(\"Company domains\").nullable().optional(),\n logoUrl: z.string().describe(\"Company logo URL\").nullable().optional(),\n revenue: z.number().describe(\"Company revenue\").nullable().optional(),\n version: z.number().describe(\"Company record version number\").nullable(),\n statusId: z.string().describe(\"Status ID\").nullable().optional(),\n tierName: z.string().describe(\"Tier name\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot company ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\").nullable(),\n intercomId: z.string().describe(\"Intercom company ID\").nullable().optional(),\n statusName: z.string().describe(\"Status name\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"External IDs\").nullable().optional(),\n statusColor: z.string().describe(\"Status color code\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID the company belongs to\").nullable(),\n productboardId: z.string().describe(\"Productboard company ID\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID\").nullable().optional(),\n}).passthrough().describe(\"Company/Organization information.\");\nconst ProductlaneGetInsight_ContactModelSchema = z.object({\n id: z.string().describe(\"Contact ID\").nullable(),\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable(),\n version: z.number().describe(\"Contact record version number\").nullable(),\n imageUrl: z.string().describe(\"Contact profile image URL\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the contact was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot contact ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the contact was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk contact ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom contact ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n productboardId: z.string().describe(\"Productboard contact ID\").nullable().optional(),\n}).passthrough().describe(\"Contact information.\");\nconst ProductlaneGetInsight_UserModelSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable().optional(),\n role: z.string().describe(\"User role\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the user was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the user was last updated\").nullable().optional(),\n selectedTeamIds: z.array(z.string()).describe(\"List of team IDs the user is associated with\").nullable().optional(),\n}).passthrough().describe(\"User/Team member information.\");\nconst ProductlaneGetInsight_PainLevelEnumSchema = z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level of the insight.\");\nconst ProductlaneGetInsight_ConversationItemSchema = z.object({\n id: z.string().describe(\"Conversation item ID\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"Conversation item data\"),\n type: z.string().describe(\"Type of conversation item\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the conversation item\").nullable(),\n}).passthrough().describe(\"Conversation history item.\");\nconst ProductlaneGetInsight_CustomerNeedModelSchema = z.object({\n id: z.string().describe(\"Customer need ID\").nullable(),\n issueId: z.string().describe(\"Issue ID\").nullable(),\n priority: z.number().describe(\"Priority value\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the customer need was created\").nullable(),\n projectId: z.string().describe(\"Project ID\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the customer need was last updated\").nullable(),\n feedbackId: z.string().describe(\"Feedback/insight ID\").nullable(),\n linearCustomerNeedId: z.string().describe(\"Linear customer need ID\").nullable(),\n}).passthrough().describe(\"Customer need linking feedback to projects/issues.\");\nexport const ProductlaneGetInsightOutput = z.object({\n id: z.string().describe(\"Insight ID\").nullable(),\n tags: z.array(ProductlaneGetInsight_TagModelSchema).describe(\"List of tags\"),\n text: z.string().describe(\"Insight text content\").nullable(),\n state: ProductlaneGetInsight_StateEnumSchema.nullable(),\n title: z.string().describe(\"Insight title\").nullable().optional(),\n origin: ProductlaneGetInsight_OriginEnumSchema.nullable(),\n company: ProductlaneGetInsight_CompanyModelSchema.nullable().optional(),\n contact: ProductlaneGetInsight_ContactModelSchema.nullable().optional(),\n frontId: z.string().describe(\"Front ID\").nullable().optional(),\n plainId: z.string().describe(\"Plain ID\").nullable().optional(),\n videoId: z.string().describe(\"Video ID\").nullable().optional(),\n assignee: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n reporter: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n contactId: z.string().describe(\"Contact ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the insight was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the insight is deleted\").nullable(),\n painLevel: ProductlaneGetInsight_PainLevelEnumSchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the insight was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk ID\").nullable().optional(),\n assigneeId: z.string().describe(\"Assignee user ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom ID\").nullable().optional(),\n reporterId: z.string().describe(\"Reporter user ID\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments\"),\n recordingId: z.string().describe(\"Recording ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n conversation: z.array(ProductlaneGetInsight_ConversationItemSchema).describe(\"Conversation history (only included if includeConversation=true)\").nullable().optional(),\n slackReplyId: z.string().describe(\"Slack reply ID\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until which the insight is snoozed\").nullable().optional(),\n customerNeeds: z.array(ProductlaneGetInsight_CustomerNeedModelSchema).describe(\"List of customer needs linked to this insight\"),\n productboardId: z.string().describe(\"Productboard ID\").nullable().optional(),\n showRecordCall: z.boolean().describe(\"Whether to show the record call button\").nullable(),\n slackChannelId: z.string().describe(\"Slack channel ID\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of last state change\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Linear attachment ID\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last inbound message\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last outbound message\").nullable().optional(),\n}).passthrough().describe(\"Response structure for getting an insight/thread.\");\n\nexport const productlaneGetInsight: AppAction<\n typeof ProductlaneGetInsightInput,\n typeof ProductlaneGetInsightOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_INSIGHT\", {\n slug: \"productlane-get-insight\",\n name: \"Get Insight\",\n description: \"Tool to retrieve an insight/thread by its ID. Use when you need to fetch details about a specific piece of feedback or customer insight.\",\n input: ProductlaneGetInsightInput,\n output: ProductlaneGetInsightOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC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AAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { productlane } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-insight.d.ts
|
|
@@ -157,10 +159,7 @@ declare const ProductlaneGetInsightOutput: z.ZodObject<{
|
|
|
157
159
|
lastInboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
160
|
lastOutboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
161
|
}, z.core.$loose>;
|
|
160
|
-
declare const productlaneGetInsight:
|
|
161
|
-
id: string;
|
|
162
|
-
includeConversation?: "true" | "false" | undefined;
|
|
163
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
162
|
+
declare const productlaneGetInsight: AppAction<typeof ProductlaneGetInsightInput, typeof ProductlaneGetInsightOutput, typeof productlane.credential>;
|
|
164
163
|
//#endregion
|
|
165
164
|
export { productlaneGetInsight };
|
|
166
165
|
//# sourceMappingURL=get-insight.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-insight.d.cts","names":[],"sources":["../../src/actions/get-insight.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-insight.d.cts","names":[],"sources":["../../src/actions/get-insight.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAiF1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { productlane } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-insight.d.ts
|
|
@@ -157,10 +159,7 @@ declare const ProductlaneGetInsightOutput: z.ZodObject<{
|
|
|
157
159
|
lastInboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
160
|
lastOutboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
161
|
}, z.core.$loose>;
|
|
160
|
-
declare const productlaneGetInsight:
|
|
161
|
-
id: string;
|
|
162
|
-
includeConversation?: "true" | "false" | undefined;
|
|
163
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
162
|
+
declare const productlaneGetInsight: AppAction<typeof ProductlaneGetInsightInput, typeof ProductlaneGetInsightOutput, typeof productlane.credential>;
|
|
164
163
|
//#endregion
|
|
165
164
|
export { productlaneGetInsight };
|
|
166
165
|
//# sourceMappingURL=get-insight.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-insight.d.mts","names":[],"sources":["../../src/actions/get-insight.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-insight.d.mts","names":[],"sources":["../../src/actions/get-insight.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAiF1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-insight.mjs","names":[],"sources":["../../src/actions/get-insight.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetInsightInput = z.object({\n id: z.string().describe(\"The unique identifier of the insight/thread to retrieve.\"),\n includeConversation: z.enum([\"true\", \"false\"]).describe(\"Whether to include conversation data in the response.\").optional(),\n});\nconst ProductlaneGetInsight_TagModelSchema = z.object({\n id: z.string().describe(\"Tag ID\").nullable(),\n icon: z.string().describe(\"Tag icon\").nullable(),\n name: z.string().describe(\"Tag name\").nullable(),\n color: z.string().describe(\"Tag color code\").nullable(),\n tagGroupId: z.string().describe(\"Tag group ID\").nullable(),\n}).passthrough().describe(\"Tag information.\");\nconst ProductlaneGetInsight_StateEnumSchema = z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight.\");\nconst ProductlaneGetInsight_OriginEnumSchema = z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Source/origin of the insight.\");\nconst ProductlaneGetInsight_CompanyModelSchema = z.object({\n id: z.string().describe(\"Company ID\").nullable(),\n name: z.string().describe(\"Company name\").nullable(),\n size: z.number().describe(\"Company size\").nullable().optional(),\n slugId: z.string().describe(\"Slug ID\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether to auto-add contacts from company domains\").nullable().optional(),\n domains: z.array(z.string()).describe(\"Company domains\").nullable().optional(),\n logoUrl: z.string().describe(\"Company logo URL\").nullable().optional(),\n revenue: z.number().describe(\"Company revenue\").nullable().optional(),\n version: z.number().describe(\"Company record version number\").nullable(),\n statusId: z.string().describe(\"Status ID\").nullable().optional(),\n tierName: z.string().describe(\"Tier name\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot company ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\").nullable(),\n intercomId: z.string().describe(\"Intercom company ID\").nullable().optional(),\n statusName: z.string().describe(\"Status name\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"External IDs\").nullable().optional(),\n statusColor: z.string().describe(\"Status color code\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID the company belongs to\").nullable(),\n productboardId: z.string().describe(\"Productboard company ID\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID\").nullable().optional(),\n}).passthrough().describe(\"Company/Organization information.\");\nconst ProductlaneGetInsight_ContactModelSchema = z.object({\n id: z.string().describe(\"Contact ID\").nullable(),\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable(),\n version: z.number().describe(\"Contact record version number\").nullable(),\n imageUrl: z.string().describe(\"Contact profile image URL\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the contact was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot contact ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the contact was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk contact ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom contact ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n productboardId: z.string().describe(\"Productboard contact ID\").nullable().optional(),\n}).passthrough().describe(\"Contact information.\");\nconst ProductlaneGetInsight_UserModelSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable().optional(),\n role: z.string().describe(\"User role\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the user was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the user was last updated\").nullable().optional(),\n selectedTeamIds: z.array(z.string()).describe(\"List of team IDs the user is associated with\").nullable().optional(),\n}).passthrough().describe(\"User/Team member information.\");\nconst ProductlaneGetInsight_PainLevelEnumSchema = z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level of the insight.\");\nconst ProductlaneGetInsight_ConversationItemSchema = z.object({\n id: z.string().describe(\"Conversation item ID\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"Conversation item data\"),\n type: z.string().describe(\"Type of conversation item\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the conversation item\").nullable(),\n}).passthrough().describe(\"Conversation history item.\");\nconst ProductlaneGetInsight_CustomerNeedModelSchema = z.object({\n id: z.string().describe(\"Customer need ID\").nullable(),\n issueId: z.string().describe(\"Issue ID\").nullable(),\n priority: z.number().describe(\"Priority value\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the customer need was created\").nullable(),\n projectId: z.string().describe(\"Project ID\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the customer need was last updated\").nullable(),\n feedbackId: z.string().describe(\"Feedback/insight ID\").nullable(),\n linearCustomerNeedId: z.string().describe(\"Linear customer need ID\").nullable(),\n}).passthrough().describe(\"Customer need linking feedback to projects/issues.\");\nexport const ProductlaneGetInsightOutput = z.object({\n id: z.string().describe(\"Insight ID\").nullable(),\n tags: z.array(ProductlaneGetInsight_TagModelSchema).describe(\"List of tags\"),\n text: z.string().describe(\"Insight text content\").nullable(),\n state: ProductlaneGetInsight_StateEnumSchema.nullable(),\n title: z.string().describe(\"Insight title\").nullable().optional(),\n origin: ProductlaneGetInsight_OriginEnumSchema.nullable(),\n company: ProductlaneGetInsight_CompanyModelSchema.nullable().optional(),\n contact: ProductlaneGetInsight_ContactModelSchema.nullable().optional(),\n frontId: z.string().describe(\"Front ID\").nullable().optional(),\n plainId: z.string().describe(\"Plain ID\").nullable().optional(),\n videoId: z.string().describe(\"Video ID\").nullable().optional(),\n assignee: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n reporter: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n contactId: z.string().describe(\"Contact ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the insight was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the insight is deleted\").nullable(),\n painLevel: ProductlaneGetInsight_PainLevelEnumSchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the insight was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk ID\").nullable().optional(),\n assigneeId: z.string().describe(\"Assignee user ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom ID\").nullable().optional(),\n reporterId: z.string().describe(\"Reporter user ID\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments\"),\n recordingId: z.string().describe(\"Recording ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n conversation: z.array(ProductlaneGetInsight_ConversationItemSchema).describe(\"Conversation history (only included if includeConversation=true)\").nullable().optional(),\n slackReplyId: z.string().describe(\"Slack reply ID\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until which the insight is snoozed\").nullable().optional(),\n customerNeeds: z.array(ProductlaneGetInsight_CustomerNeedModelSchema).describe(\"List of customer needs linked to this insight\"),\n productboardId: z.string().describe(\"Productboard ID\").nullable().optional(),\n showRecordCall: z.boolean().describe(\"Whether to show the record call button\").nullable(),\n slackChannelId: z.string().describe(\"Slack channel ID\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of last state change\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Linear attachment ID\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last inbound message\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last outbound message\").nullable().optional(),\n}).passthrough().describe(\"Response structure for getting an insight/thread.\");\n\nexport const productlaneGetInsight = action(\"PRODUCTLANE_GET_INSIGHT\", {\n slug: \"productlane-get-insight\",\n name: \"Get Insight\",\n description: \"Tool to retrieve an insight/thread by its ID. Use when you need to fetch details about a specific piece of feedback or customer insight.\",\n input: ProductlaneGetInsightInput,\n output: ProductlaneGetInsightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,qBAAqB,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kBAAkB;AAC5C,MAAM,wCAAwC,EAAE,KAAK;CAAC;CAAO;CAAa;CAAa;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAChJ,MAAM,yCAAyC,EAAE,KAAK;CAAC;CAAS;CAAU;CAAkB;CAAO;CAAS;CAAiB;CAAY;CAAuB;CAAsB;CAAW;CAAoB;CAAS;CAAU;CAAW;CAAS;CAAY;CAAU;CAAW;AAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAChV,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAA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AAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-insight.mjs","names":[],"sources":["../../src/actions/get-insight.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetInsightInput = z.object({\n id: z.string().describe(\"The unique identifier of the insight/thread to retrieve.\"),\n includeConversation: z.enum([\"true\", \"false\"]).describe(\"Whether to include conversation data in the response.\").optional(),\n});\nconst ProductlaneGetInsight_TagModelSchema = z.object({\n id: z.string().describe(\"Tag ID\").nullable(),\n icon: z.string().describe(\"Tag icon\").nullable(),\n name: z.string().describe(\"Tag name\").nullable(),\n color: z.string().describe(\"Tag color code\").nullable(),\n tagGroupId: z.string().describe(\"Tag group ID\").nullable(),\n}).passthrough().describe(\"Tag information.\");\nconst ProductlaneGetInsight_StateEnumSchema = z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight.\");\nconst ProductlaneGetInsight_OriginEnumSchema = z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Source/origin of the insight.\");\nconst ProductlaneGetInsight_CompanyModelSchema = z.object({\n id: z.string().describe(\"Company ID\").nullable(),\n name: z.string().describe(\"Company name\").nullable(),\n size: z.number().describe(\"Company size\").nullable().optional(),\n slugId: z.string().describe(\"Slug ID\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether to auto-add contacts from company domains\").nullable().optional(),\n domains: z.array(z.string()).describe(\"Company domains\").nullable().optional(),\n logoUrl: z.string().describe(\"Company logo URL\").nullable().optional(),\n revenue: z.number().describe(\"Company revenue\").nullable().optional(),\n version: z.number().describe(\"Company record version number\").nullable(),\n statusId: z.string().describe(\"Status ID\").nullable().optional(),\n tierName: z.string().describe(\"Tier name\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot company ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\").nullable(),\n intercomId: z.string().describe(\"Intercom company ID\").nullable().optional(),\n statusName: z.string().describe(\"Status name\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"External IDs\").nullable().optional(),\n statusColor: z.string().describe(\"Status color code\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID the company belongs to\").nullable(),\n productboardId: z.string().describe(\"Productboard company ID\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID\").nullable().optional(),\n}).passthrough().describe(\"Company/Organization information.\");\nconst ProductlaneGetInsight_ContactModelSchema = z.object({\n id: z.string().describe(\"Contact ID\").nullable(),\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable(),\n version: z.number().describe(\"Contact record version number\").nullable(),\n imageUrl: z.string().describe(\"Contact profile image URL\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the contact was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot contact ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the contact was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk contact ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom contact ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n productboardId: z.string().describe(\"Productboard contact ID\").nullable().optional(),\n}).passthrough().describe(\"Contact information.\");\nconst ProductlaneGetInsight_UserModelSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable().optional(),\n role: z.string().describe(\"User role\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the user was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the user was last updated\").nullable().optional(),\n selectedTeamIds: z.array(z.string()).describe(\"List of team IDs the user is associated with\").nullable().optional(),\n}).passthrough().describe(\"User/Team member information.\");\nconst ProductlaneGetInsight_PainLevelEnumSchema = z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level of the insight.\");\nconst ProductlaneGetInsight_ConversationItemSchema = z.object({\n id: z.string().describe(\"Conversation item ID\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"Conversation item data\"),\n type: z.string().describe(\"Type of conversation item\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the conversation item\").nullable(),\n}).passthrough().describe(\"Conversation history item.\");\nconst ProductlaneGetInsight_CustomerNeedModelSchema = z.object({\n id: z.string().describe(\"Customer need ID\").nullable(),\n issueId: z.string().describe(\"Issue ID\").nullable(),\n priority: z.number().describe(\"Priority value\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the customer need was created\").nullable(),\n projectId: z.string().describe(\"Project ID\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the customer need was last updated\").nullable(),\n feedbackId: z.string().describe(\"Feedback/insight ID\").nullable(),\n linearCustomerNeedId: z.string().describe(\"Linear customer need ID\").nullable(),\n}).passthrough().describe(\"Customer need linking feedback to projects/issues.\");\nexport const ProductlaneGetInsightOutput = z.object({\n id: z.string().describe(\"Insight ID\").nullable(),\n tags: z.array(ProductlaneGetInsight_TagModelSchema).describe(\"List of tags\"),\n text: z.string().describe(\"Insight text content\").nullable(),\n state: ProductlaneGetInsight_StateEnumSchema.nullable(),\n title: z.string().describe(\"Insight title\").nullable().optional(),\n origin: ProductlaneGetInsight_OriginEnumSchema.nullable(),\n company: ProductlaneGetInsight_CompanyModelSchema.nullable().optional(),\n contact: ProductlaneGetInsight_ContactModelSchema.nullable().optional(),\n frontId: z.string().describe(\"Front ID\").nullable().optional(),\n plainId: z.string().describe(\"Plain ID\").nullable().optional(),\n videoId: z.string().describe(\"Video ID\").nullable().optional(),\n assignee: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n reporter: ProductlaneGetInsight_UserModelSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier\").nullable().optional(),\n companyId: z.string().describe(\"Company ID\").nullable().optional(),\n contactId: z.string().describe(\"Contact ID\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the insight was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the insight is deleted\").nullable(),\n painLevel: ProductlaneGetInsight_PainLevelEnumSchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the insight was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk ID\").nullable().optional(),\n assigneeId: z.string().describe(\"Assignee user ID\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom ID\").nullable().optional(),\n reporterId: z.string().describe(\"Reporter user ID\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments\"),\n recordingId: z.string().describe(\"Recording ID\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable(),\n conversation: z.array(ProductlaneGetInsight_ConversationItemSchema).describe(\"Conversation history (only included if includeConversation=true)\").nullable().optional(),\n slackReplyId: z.string().describe(\"Slack reply ID\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until which the insight is snoozed\").nullable().optional(),\n customerNeeds: z.array(ProductlaneGetInsight_CustomerNeedModelSchema).describe(\"List of customer needs linked to this insight\"),\n productboardId: z.string().describe(\"Productboard ID\").nullable().optional(),\n showRecordCall: z.boolean().describe(\"Whether to show the record call button\").nullable(),\n slackChannelId: z.string().describe(\"Slack channel ID\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of last state change\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Linear attachment ID\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last inbound message\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last outbound message\").nullable().optional(),\n}).passthrough().describe(\"Response structure for getting an insight/thread.\");\n\nexport const productlaneGetInsight: AppAction<\n typeof ProductlaneGetInsightInput,\n typeof ProductlaneGetInsightOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_INSIGHT\", {\n slug: \"productlane-get-insight\",\n name: \"Get Insight\",\n description: \"Tool to retrieve an insight/thread by its ID. Use when you need to fetch details about a specific piece of feedback or custom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,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.cjs","names":["z","action"],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetIssueInput = z.object({\n issue_id: z.string().describe(\"The unique identifier of the issue to retrieve.\"),\n language: z.string().describe(\"Optional language code for localized content. If not provided, defaults to the workspace's default language.\").optional(),\n workspace_id: z.string().describe(\"The unique identifier of the workspace containing the issue.\"),\n}).describe(\"Request model for getting an issue by ID.\");\nexport const ProductlaneGetIssueOutput = z.object({\n id: z.string().describe(\"The unique identifier of the issue.\").nullable(),\n url: z.string().describe(\"Public URL to view the issue.\").nullable(),\n team: z.string().describe(\"The team responsible for this issue.\").nullable(),\n title: z.string().describe(\"The title of the issue.\").nullable(),\n status: z.string().describe(\"Current status of the issue.\").nullable(),\n summary: z.array(z.string()).describe(\"List of summary points for the issue.\"),\n upvotes: z.number().describe(\"Number of upvotes this issue has received.\").nullable(),\n version: z.number().describe(\"Version number of the issue.\").nullable(),\n priority: z.string().describe(\"Priority level of the issue.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the issue was created (ISO 8601 format).\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue has been deleted.\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible to users.\").nullable().optional(),\n projectId: z.string().describe(\"The project ID this issue is associated with.\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order value for displaying the issue.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the issue was last updated (ISO 8601 format).\").nullable(),\n identifier: z.string().describe(\"Human-readable identifier for the issue (e.g., 'PROJ-123').\").nullable(),\n description: z.string().describe(\"The description of the issue in plain text.\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace ID this issue belongs to.\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket identifier.\").nullable(),\n summaryUpdated: z.string().describe(\"Timestamp when the summary was last updated (ISO 8601 format).\").nullable().optional(),\n descriptionData: z.string().describe(\"Rich text description data in structured format (stringified JSON).\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score for the issue.\").nullable(),\n}).passthrough().describe(\"Response model containing the issue details.\");\n\nexport const productlaneGetIssue = action(\"PRODUCTLANE_GET_ISSUE\", {\n slug: \"productlane-get-issue\",\n name: \"Get Issue by ID\",\n description: \"Tool to retrieve a specific issue by its ID from a workspace. Use when you need to fetch detailed information about an issue including its title, description, status, priority, and metadata.\",\n input: ProductlaneGetIssueInput,\n output: ProductlaneGetIssueOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-issue.cjs","names":["z","action"],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetIssueInput = z.object({\n issue_id: z.string().describe(\"The unique identifier of the issue to retrieve.\"),\n language: z.string().describe(\"Optional language code for localized content. If not provided, defaults to the workspace's default language.\").optional(),\n workspace_id: z.string().describe(\"The unique identifier of the workspace containing the issue.\"),\n}).describe(\"Request model for getting an issue by ID.\");\nexport const ProductlaneGetIssueOutput = z.object({\n id: z.string().describe(\"The unique identifier of the issue.\").nullable(),\n url: z.string().describe(\"Public URL to view the issue.\").nullable(),\n team: z.string().describe(\"The team responsible for this issue.\").nullable(),\n title: z.string().describe(\"The title of the issue.\").nullable(),\n status: z.string().describe(\"Current status of the issue.\").nullable(),\n summary: z.array(z.string()).describe(\"List of summary points for the issue.\"),\n upvotes: z.number().describe(\"Number of upvotes this issue has received.\").nullable(),\n version: z.number().describe(\"Version number of the issue.\").nullable(),\n priority: z.string().describe(\"Priority level of the issue.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the issue was created (ISO 8601 format).\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue has been deleted.\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible to users.\").nullable().optional(),\n projectId: z.string().describe(\"The project ID this issue is associated with.\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order value for displaying the issue.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the issue was last updated (ISO 8601 format).\").nullable(),\n identifier: z.string().describe(\"Human-readable identifier for the issue (e.g., 'PROJ-123').\").nullable(),\n description: z.string().describe(\"The description of the issue in plain text.\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace ID this issue belongs to.\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket identifier.\").nullable(),\n summaryUpdated: z.string().describe(\"Timestamp when the summary was last updated (ISO 8601 format).\").nullable().optional(),\n descriptionData: z.string().describe(\"Rich text description data in structured format (stringified JSON).\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score for the issue.\").nullable(),\n}).passthrough().describe(\"Response model containing the issue details.\");\n\nexport const productlaneGetIssue: AppAction<\n typeof ProductlaneGetIssueInput,\n typeof ProductlaneGetIssueOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_ISSUE\", {\n slug: \"productlane-get-issue\",\n name: \"Get Issue by ID\",\n description: \"Tool to retrieve a specific issue by its ID from a workspace. Use when you need to fetch detailed information about an issue including its title, description, status, priority, and metadata.\",\n input: ProductlaneGetIssueInput,\n output: ProductlaneGetIssueOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACvJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAClG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAA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from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-issue.d.ts
|
|
@@ -30,11 +32,7 @@ declare const ProductlaneGetIssueOutput: z.ZodObject<{
|
|
|
30
32
|
descriptionData: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
importanceScore: z.ZodNullable<z.ZodNumber>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const productlaneGetIssue:
|
|
34
|
-
issue_id: string;
|
|
35
|
-
workspace_id: string;
|
|
36
|
-
language?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
|
+
declare const productlaneGetIssue: AppAction<typeof ProductlaneGetIssueInput, typeof ProductlaneGetIssueOutput, typeof productlane.credential>;
|
|
38
36
|
//#endregion
|
|
39
37
|
export { productlaneGetIssue };
|
|
40
38
|
//# sourceMappingURL=get-issue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.d.cts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-issue.d.cts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { productlane } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-issue.d.ts
|
|
@@ -30,11 +32,7 @@ declare const ProductlaneGetIssueOutput: z.ZodObject<{
|
|
|
30
32
|
descriptionData: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
importanceScore: z.ZodNullable<z.ZodNumber>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const productlaneGetIssue:
|
|
34
|
-
issue_id: string;
|
|
35
|
-
workspace_id: string;
|
|
36
|
-
language?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
|
+
declare const productlaneGetIssue: AppAction<typeof ProductlaneGetIssueInput, typeof ProductlaneGetIssueOutput, typeof productlane.credential>;
|
|
38
36
|
//#endregion
|
|
39
37
|
export { productlaneGetIssue };
|
|
40
38
|
//# sourceMappingURL=get-issue.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.d.mts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-issue.d.mts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.mjs","names":[],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetIssueInput = z.object({\n issue_id: z.string().describe(\"The unique identifier of the issue to retrieve.\"),\n language: z.string().describe(\"Optional language code for localized content. If not provided, defaults to the workspace's default language.\").optional(),\n workspace_id: z.string().describe(\"The unique identifier of the workspace containing the issue.\"),\n}).describe(\"Request model for getting an issue by ID.\");\nexport const ProductlaneGetIssueOutput = z.object({\n id: z.string().describe(\"The unique identifier of the issue.\").nullable(),\n url: z.string().describe(\"Public URL to view the issue.\").nullable(),\n team: z.string().describe(\"The team responsible for this issue.\").nullable(),\n title: z.string().describe(\"The title of the issue.\").nullable(),\n status: z.string().describe(\"Current status of the issue.\").nullable(),\n summary: z.array(z.string()).describe(\"List of summary points for the issue.\"),\n upvotes: z.number().describe(\"Number of upvotes this issue has received.\").nullable(),\n version: z.number().describe(\"Version number of the issue.\").nullable(),\n priority: z.string().describe(\"Priority level of the issue.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the issue was created (ISO 8601 format).\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue has been deleted.\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible to users.\").nullable().optional(),\n projectId: z.string().describe(\"The project ID this issue is associated with.\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order value for displaying the issue.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the issue was last updated (ISO 8601 format).\").nullable(),\n identifier: z.string().describe(\"Human-readable identifier for the issue (e.g., 'PROJ-123').\").nullable(),\n description: z.string().describe(\"The description of the issue in plain text.\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace ID this issue belongs to.\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket identifier.\").nullable(),\n summaryUpdated: z.string().describe(\"Timestamp when the summary was last updated (ISO 8601 format).\").nullable().optional(),\n descriptionData: z.string().describe(\"Rich text description data in structured format (stringified JSON).\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score for the issue.\").nullable(),\n}).passthrough().describe(\"Response model containing the issue details.\");\n\nexport const productlaneGetIssue = action(\"PRODUCTLANE_GET_ISSUE\", {\n slug: \"productlane-get-issue\",\n name: \"Get Issue by ID\",\n description: \"Tool to retrieve a specific issue by its ID from a workspace. Use when you need to fetch detailed information about an issue including its title, description, status, priority, and metadata.\",\n input: ProductlaneGetIssueInput,\n output: ProductlaneGetIssueOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-issue.mjs","names":[],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetIssueInput = z.object({\n issue_id: z.string().describe(\"The unique identifier of the issue to retrieve.\"),\n language: z.string().describe(\"Optional language code for localized content. If not provided, defaults to the workspace's default language.\").optional(),\n workspace_id: z.string().describe(\"The unique identifier of the workspace containing the issue.\"),\n}).describe(\"Request model for getting an issue by ID.\");\nexport const ProductlaneGetIssueOutput = z.object({\n id: z.string().describe(\"The unique identifier of the issue.\").nullable(),\n url: z.string().describe(\"Public URL to view the issue.\").nullable(),\n team: z.string().describe(\"The team responsible for this issue.\").nullable(),\n title: z.string().describe(\"The title of the issue.\").nullable(),\n status: z.string().describe(\"Current status of the issue.\").nullable(),\n summary: z.array(z.string()).describe(\"List of summary points for the issue.\"),\n upvotes: z.number().describe(\"Number of upvotes this issue has received.\").nullable(),\n version: z.number().describe(\"Version number of the issue.\").nullable(),\n priority: z.string().describe(\"Priority level of the issue.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the issue was created (ISO 8601 format).\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue has been deleted.\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible to users.\").nullable().optional(),\n projectId: z.string().describe(\"The project ID this issue is associated with.\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order value for displaying the issue.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the issue was last updated (ISO 8601 format).\").nullable(),\n identifier: z.string().describe(\"Human-readable identifier for the issue (e.g., 'PROJ-123').\").nullable(),\n description: z.string().describe(\"The description of the issue in plain text.\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace ID this issue belongs to.\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket identifier.\").nullable(),\n summaryUpdated: z.string().describe(\"Timestamp when the summary was last updated (ISO 8601 format).\").nullable().optional(),\n descriptionData: z.string().describe(\"Rich text description data in structured format (stringified JSON).\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score for the issue.\").nullable(),\n}).passthrough().describe(\"Response model containing the issue details.\");\n\nexport const productlaneGetIssue: AppAction<\n typeof ProductlaneGetIssueInput,\n typeof ProductlaneGetIssueOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_ISSUE\", {\n slug: \"productlane-get-issue\",\n name: \"Get Issue by ID\",\n description: \"Tool to retrieve a specific issue by its ID from a workspace. Use when you need to fetch detailed information about an issue including its title, description, status, priority, and metadata.\",\n input: ProductlaneGetIssueInput,\n output: ProductlaneGetIssueOutput,\n});\n"],"mappings":";;;AAoCA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtCsC,EAAE,OAAO;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACvJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAClG,CAAC,CAAC,CAAC,SAAS,2CAkCH;CACP,QAlCuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC7E,SAAS,EAAE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S,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-linear-options.cjs","names":["z","action"],"sources":["../../src/actions/get-linear-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetLinearOptionsInput = z.object({}).describe(\"Request model for getting Linear customer options.\\nNo parameters are required - authentication is handled via bearer token.\");\nconst ProductlaneGetLinearOptions_LinearTierSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer tier.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer tier.\").nullable(),\n}).passthrough().describe(\"Linear customer tier model.\");\nconst ProductlaneGetLinearOptions_LinearStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer status.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer status.\").nullable(),\n color: z.string().describe(\"Color code associated with the Linear customer status.\").nullable(),\n}).passthrough().describe(\"Linear customer status model.\");\nexport const ProductlaneGetLinearOptionsOutput = z.object({\n tiers: z.array(ProductlaneGetLinearOptions_LinearTierSchema).describe(\"List of available Linear customer tiers. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n statuses: z.array(ProductlaneGetLinearOptions_LinearStatusSchema).describe(\"List of available Linear customer statuses. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Linear customer options.\");\n\nexport const productlaneGetLinearOptions = action(\"PRODUCTLANE_GET_LINEAR_OPTIONS\", {\n slug: \"productlane-get-linear-options\",\n name: \"Get Linear Customer Options\",\n description: \"Tool to retrieve available Linear customer statuses and tiers for your workspace. Use when you need to know the valid Linear options before creating or updating companies. Returns null for both statuses and tiers if Linear is not connected.\",\n input: ProductlaneGetLinearOptionsInput,\n output: ProductlaneGetLinearOptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-linear-options.cjs","names":["z","action"],"sources":["../../src/actions/get-linear-options.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetLinearOptionsInput = z.object({}).describe(\"Request model for getting Linear customer options.\\nNo parameters are required - authentication is handled via bearer token.\");\nconst ProductlaneGetLinearOptions_LinearTierSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer tier.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer tier.\").nullable(),\n}).passthrough().describe(\"Linear customer tier model.\");\nconst ProductlaneGetLinearOptions_LinearStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer status.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer status.\").nullable(),\n color: z.string().describe(\"Color code associated with the Linear customer status.\").nullable(),\n}).passthrough().describe(\"Linear customer status model.\");\nexport const ProductlaneGetLinearOptionsOutput = z.object({\n tiers: z.array(ProductlaneGetLinearOptions_LinearTierSchema).describe(\"List of available Linear customer tiers. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n statuses: z.array(ProductlaneGetLinearOptions_LinearStatusSchema).describe(\"List of available Linear customer statuses. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Linear customer options.\");\n\nexport const productlaneGetLinearOptions: AppAction<\n typeof ProductlaneGetLinearOptionsInput,\n typeof ProductlaneGetLinearOptionsOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_LINEAR_OPTIONS\", {\n slug: \"productlane-get-linear-options\",\n name: \"Get Linear Customer Options\",\n description: \"Tool to retrieve available Linear customer statuses and tiers for your workspace. Use when you need to know the valid Linear options before creating or updating companies. Returns null for both statuses and tiers if Linear is not connected.\",\n input: ProductlaneGetLinearOptionsInput,\n output: ProductlaneGetLinearOptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H;AACpM,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { productlane } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-linear-options.d.ts
|
|
@@ -13,7 +15,7 @@ declare const ProductlaneGetLinearOptionsOutput: z.ZodObject<{
|
|
|
13
15
|
color: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const productlaneGetLinearOptions:
|
|
18
|
+
declare const productlaneGetLinearOptions: AppAction<typeof ProductlaneGetLinearOptionsInput, typeof ProductlaneGetLinearOptionsOutput, typeof productlane.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { productlaneGetLinearOptions };
|
|
19
21
|
//# sourceMappingURL=get-linear-options.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-linear-options.d.cts","names":[],"sources":["../../src/actions/get-linear-options.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-linear-options.d.cts","names":[],"sources":["../../src/actions/get-linear-options.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { productlane } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-linear-options.d.ts
|
|
@@ -13,7 +15,7 @@ declare const ProductlaneGetLinearOptionsOutput: z.ZodObject<{
|
|
|
13
15
|
color: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const productlaneGetLinearOptions:
|
|
18
|
+
declare const productlaneGetLinearOptions: AppAction<typeof ProductlaneGetLinearOptionsInput, typeof ProductlaneGetLinearOptionsOutput, typeof productlane.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { productlaneGetLinearOptions };
|
|
19
21
|
//# sourceMappingURL=get-linear-options.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-linear-options.d.mts","names":[],"sources":["../../src/actions/get-linear-options.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-linear-options.d.mts","names":[],"sources":["../../src/actions/get-linear-options.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-linear-options.mjs","names":[],"sources":["../../src/actions/get-linear-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneGetLinearOptionsInput = z.object({}).describe(\"Request model for getting Linear customer options.\\nNo parameters are required - authentication is handled via bearer token.\");\nconst ProductlaneGetLinearOptions_LinearTierSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer tier.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer tier.\").nullable(),\n}).passthrough().describe(\"Linear customer tier model.\");\nconst ProductlaneGetLinearOptions_LinearStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer status.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer status.\").nullable(),\n color: z.string().describe(\"Color code associated with the Linear customer status.\").nullable(),\n}).passthrough().describe(\"Linear customer status model.\");\nexport const ProductlaneGetLinearOptionsOutput = z.object({\n tiers: z.array(ProductlaneGetLinearOptions_LinearTierSchema).describe(\"List of available Linear customer tiers. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n statuses: z.array(ProductlaneGetLinearOptions_LinearStatusSchema).describe(\"List of available Linear customer statuses. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Linear customer options.\");\n\nexport const productlaneGetLinearOptions = action(\"PRODUCTLANE_GET_LINEAR_OPTIONS\", {\n slug: \"productlane-get-linear-options\",\n name: \"Get Linear Customer Options\",\n description: \"Tool to retrieve available Linear customer statuses and tiers for your workspace. Use when you need to know the valid Linear options before creating or updating companies. Returns null for both statuses and tiers if Linear is not connected.\",\n input: ProductlaneGetLinearOptionsInput,\n output: ProductlaneGetLinearOptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-linear-options.mjs","names":[],"sources":["../../src/actions/get-linear-options.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneGetLinearOptionsInput = z.object({}).describe(\"Request model for getting Linear customer options.\\nNo parameters are required - authentication is handled via bearer token.\");\nconst ProductlaneGetLinearOptions_LinearTierSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer tier.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer tier.\").nullable(),\n}).passthrough().describe(\"Linear customer tier model.\");\nconst ProductlaneGetLinearOptions_LinearStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Linear customer status.\").nullable(),\n name: z.string().describe(\"Display name of the Linear customer status.\").nullable(),\n color: z.string().describe(\"Color code associated with the Linear customer status.\").nullable(),\n}).passthrough().describe(\"Linear customer status model.\");\nexport const ProductlaneGetLinearOptionsOutput = z.object({\n tiers: z.array(ProductlaneGetLinearOptions_LinearTierSchema).describe(\"List of available Linear customer tiers. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n statuses: z.array(ProductlaneGetLinearOptions_LinearStatusSchema).describe(\"List of available Linear customer statuses. Returns null if Linear is not connected to your workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Linear customer options.\");\n\nexport const productlaneGetLinearOptions: AppAction<\n typeof ProductlaneGetLinearOptionsInput,\n typeof ProductlaneGetLinearOptionsOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_GET_LINEAR_OPTIONS\", {\n slug: \"productlane-get-linear-options\",\n name: \"Get Linear Customer Options\",\n description: \"Tool to retrieve available Linear customer statuses and tiers for your workspace. Use when you need to know the valid Linear options before creating or updating companies. Returns null for both statuses and tiers if Linear is not connected.\",\n input: ProductlaneGetLinearOptionsInput,\n output: ProductlaneGetLinearOptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H;AACpM,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjM,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|