@keystrokehq/productlane 0.1.5 → 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 -18
- package/dist/actions/create-changelog.d.cts.map +1 -1
- package/dist/actions/create-changelog.d.mts +3 -18
- 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 -25
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +3 -25
- 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 -19
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -19
- 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 -25
- package/dist/actions/create-feedback.d.cts.map +1 -1
- package/dist/actions/create-feedback.d.mts +3 -25
- 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 -28
- package/dist/actions/create-insight.d.cts.map +1 -1
- package/dist/actions/create-insight.d.mts +3 -28
- 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 -21
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +3 -21
- 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 -17
- package/dist/actions/create-upvote.d.cts.map +1 -1
- package/dist/actions/create-upvote.d.mts +3 -17
- 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 -15
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-upvote.d.cts.map +1 -1
- package/dist/actions/delete-upvote.d.mts +3 -15
- 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 -13
- package/dist/actions/enable-widget.d.cts.map +1 -1
- package/dist/actions/enable-widget.d.mts +3 -13
- 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 -17
- package/dist/actions/get-changelog.d.cts.map +1 -1
- package/dist/actions/get-changelog.d.mts +3 -17
- 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 -16
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +3 -16
- 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 -15
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -15
- 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 -17
- package/dist/actions/get-help-center-article.d.cts.map +1 -1
- package/dist/actions/get-help-center-article.d.mts +3 -17
- 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 -16
- package/dist/actions/get-insight.d.cts.map +1 -1
- package/dist/actions/get-insight.d.mts +3 -16
- 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 -17
- package/dist/actions/get-issue.d.cts.map +1 -1
- package/dist/actions/get-issue.d.mts +3 -17
- 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 -13
- package/dist/actions/get-linear-options.d.cts.map +1 -1
- package/dist/actions/get-linear-options.d.mts +3 -13
- 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 -17
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -17
- 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 -15
- package/dist/actions/get-workspace.d.cts.map +1 -1
- package/dist/actions/get-workspace.d.mts +3 -15
- 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 -17
- package/dist/actions/invite-user.d.cts.map +1 -1
- package/dist/actions/invite-user.d.mts +3 -17
- 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 -16
- package/dist/actions/list-changelogs.d.cts.map +1 -1
- package/dist/actions/list-changelogs.d.mts +3 -16
- 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 -18
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +3 -18
- 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 -16
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -16
- 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 -16
- package/dist/actions/list-help-center-articles.d.cts.map +1 -1
- package/dist/actions/list-help-center-articles.d.mts +3 -16
- 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 -19
- package/dist/actions/list-insights.d.cts.map +1 -1
- package/dist/actions/list-insights.d.mts +3 -19
- 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 -16
- package/dist/actions/list-issues.d.cts.map +1 -1
- package/dist/actions/list-issues.d.mts +3 -16
- 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 -13
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -13
- 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 -16
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -16
- 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 -26
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +3 -26
- 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 -20
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -20
- 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 -27
- package/dist/actions/update-insight.d.cts.map +1 -1
- package/dist/actions/update-insight.d.mts +3 -27
- 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 -13
- package/dist/actions/widget-close.d.cts.map +1 -1
- package/dist/actions/widget-close.d.mts +3 -13
- 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 -13
- package/dist/actions/widget-disable.d.cts.map +1 -1
- package/dist/actions/widget-disable.d.mts +3 -13
- 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 -16
- package/dist/actions/widget-off-event.d.cts.map +1 -1
- package/dist/actions/widget-off-event.d.mts +3 -16
- 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 -16
- package/dist/actions/widget-on-event.d.cts.map +1 -1
- package/dist/actions/widget-on-event.d.mts +3 -16
- 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 -16
- package/dist/actions/widget-open-docs.d.cts.map +1 -1
- package/dist/actions/widget-open-docs.d.mts +3 -16
- 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 -15
- package/dist/actions/widget-open.d.cts.map +1 -1
- package/dist/actions/widget-open.d.mts +3 -15
- 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 -13
- package/dist/actions/widget-toggle.d.cts.map +1 -1
- package/dist/actions/widget-toggle.d.mts +3 -13
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListContactsInput = z.object({\n skip: z.number().int().describe(\"Number of contacts to skip for pagination. Use this to retrieve contacts starting from a specific position.\").optional(),\n take: z.number().int().describe(\"Maximum number of contacts to return in a single request. Use this to limit the response size.\").optional(),\n}).describe(\"Request model for listing Productlane contacts.\");\nconst ProductlaneListContacts_CompanySchema = z.record(z.string(), z.unknown()).describe(\"Company information associated with a contact.\");\nconst ProductlaneListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact.\").nullable(),\n name: z.string().describe(\"Name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n company: ProductlaneListContacts_CompanySchema.nullable().optional(),\n version: z.number().describe(\"Version number of the contact record.\").nullable(),\n imageUrl: z.string().describe(\"URL of the contact's profile image.\").nullable(),\n companyId: z.string().describe(\"Unique identifier of the company associated with this contact.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable(),\n hubspotId: z.string().describe(\"HubSpot identifier for the contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact has been marked as deleted.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable(),\n zendeskId: z.string().describe(\"Zendesk identifier for the contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for the contact, if integrated.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this contact belongs to.\").nullable(),\n productboardId: z.string().describe(\"Productboard identifier for the contact, if integrated.\").nullable().optional(),\n}).passthrough().describe(\"A contact in the Productlane workspace.\");\nconst ProductlaneListContacts_NextPageSchema = z.object({\n skip: z.number().int().describe(\"Number of items to skip to get to the next page.\").nullable(),\n take: z.number().int().describe(\"Number of items per page.\").nullable(),\n}).passthrough().describe(\"Pagination information for the next page of results.\");\nexport const ProductlaneListContactsOutput = z.object({\n count: z.number().describe(\"Total count of contacts.\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more contacts available after this page.\").nullable(),\n contacts: z.array(ProductlaneListContacts_ContactSchema).describe(\"List of contacts in the workspace.\"),\n nextPage: ProductlaneListContacts_NextPageSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of contacts and pagination information.\");\n\nexport const productlaneListContacts = action(\"PRODUCTLANE_LIST_CONTACTS\", {\n slug: \"productlane-list-contacts\",\n name: \"List contacts\",\n description: \"Tool to retrieve all contacts for your workspace. Use when you need to list contacts with optional pagination support.\",\n input: ProductlaneListContactsInput,\n output: ProductlaneListContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.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 ProductlaneListContactsInput = z.object({\n skip: z.number().int().describe(\"Number of contacts to skip for pagination. Use this to retrieve contacts starting from a specific position.\").optional(),\n take: z.number().int().describe(\"Maximum number of contacts to return in a single request. Use this to limit the response size.\").optional(),\n}).describe(\"Request model for listing Productlane contacts.\");\nconst ProductlaneListContacts_CompanySchema = z.record(z.string(), z.unknown()).describe(\"Company information associated with a contact.\");\nconst ProductlaneListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact.\").nullable(),\n name: z.string().describe(\"Name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n company: ProductlaneListContacts_CompanySchema.nullable().optional(),\n version: z.number().describe(\"Version number of the contact record.\").nullable(),\n imageUrl: z.string().describe(\"URL of the contact's profile image.\").nullable(),\n companyId: z.string().describe(\"Unique identifier of the company associated with this contact.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable(),\n hubspotId: z.string().describe(\"HubSpot identifier for the contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact has been marked as deleted.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable(),\n zendeskId: z.string().describe(\"Zendesk identifier for the contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for the contact, if integrated.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this contact belongs to.\").nullable(),\n productboardId: z.string().describe(\"Productboard identifier for the contact, if integrated.\").nullable().optional(),\n}).passthrough().describe(\"A contact in the Productlane workspace.\");\nconst ProductlaneListContacts_NextPageSchema = z.object({\n skip: z.number().int().describe(\"Number of items to skip to get to the next page.\").nullable(),\n take: z.number().int().describe(\"Number of items per page.\").nullable(),\n}).passthrough().describe(\"Pagination information for the next page of results.\");\nexport const ProductlaneListContactsOutput = z.object({\n count: z.number().describe(\"Total count of contacts.\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more contacts available after this page.\").nullable(),\n contacts: z.array(ProductlaneListContacts_ContactSchema).describe(\"List of contacts in the workspace.\"),\n nextPage: ProductlaneListContacts_NextPageSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of contacts and pagination information.\");\n\nexport const productlaneListContacts: AppAction<\n typeof ProductlaneListContactsInput,\n typeof ProductlaneListContactsOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_CONTACTS\", {\n slug: \"productlane-list-contacts\",\n name: \"List contacts\",\n description: \"Tool to retrieve all contacts for your workspace. Use when you need to list contacts with optional pagination support.\",\n input: ProductlaneListContactsInput,\n output: ProductlaneListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,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AAS;CACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAQhF,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oCAAoC;EACtG,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-help-center-articles.cjs","names":["z","action"],"sources":["../../src/actions/list-help-center-articles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListHelpCenterArticlesInput = z.object({\n language: z.string().describe(\"Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.\").optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace to list help center articles for.\"),\n}).describe(\"Request model for listing help center articles in a workspace.\");\nconst ProductlaneListHelpCenterArticles_HelpCenterArticleSchema = z.object({\n id: z.string().describe(\"Unique article identifier.\").nullable(),\n date: z.string().describe(\"ISO 8601 timestamp of the article date.\").nullable().optional(),\n title: z.string().describe(\"Title of the 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 is 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 deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Workspace identifier this article belongs to.\").nullable(),\n}).passthrough().describe(\"Individual help center article object.\");\nexport const ProductlaneListHelpCenterArticlesOutput = z.object({\n articles: z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe(\"List of help center articles in the workspace.\"),\n}).passthrough().describe(\"Response model for listing help center articles.\");\n\nexport const productlaneListHelpCenterArticles = action(\"PRODUCTLANE_LIST_HELP_CENTER_ARTICLES\", {\n slug: \"productlane-list-help-center-articles\",\n name: \"List Help Center Articles\",\n description: \"Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.\",\n input: ProductlaneListHelpCenterArticlesInput,\n output: ProductlaneListHelpCenterArticlesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.cjs","names":["z","action"],"sources":["../../src/actions/list-help-center-articles.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 ProductlaneListHelpCenterArticlesInput = z.object({\n language: z.string().describe(\"Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.\").optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace to list help center articles for.\"),\n}).describe(\"Request model for listing help center articles in a workspace.\");\nconst ProductlaneListHelpCenterArticles_HelpCenterArticleSchema = z.object({\n id: z.string().describe(\"Unique article identifier.\").nullable(),\n date: z.string().describe(\"ISO 8601 timestamp of the article date.\").nullable().optional(),\n title: z.string().describe(\"Title of the 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 is 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 deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Workspace identifier this article belongs to.\").nullable(),\n}).passthrough().describe(\"Individual help center article object.\");\nexport const ProductlaneListHelpCenterArticlesOutput = z.object({\n articles: z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe(\"List of help center articles in the workspace.\"),\n}).passthrough().describe(\"Response model for listing help center articles.\");\n\nexport const productlaneListHelpCenterArticles: AppAction<\n typeof ProductlaneListHelpCenterArticlesInput,\n typeof ProductlaneListHelpCenterArticlesOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_HELP_CENTER_ARTICLES\", {\n slug: \"productlane-list-help-center-articles\",\n name: \"List Help Center Articles\",\n description: \"Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.\",\n input: ProductlaneListHelpCenterArticlesInput,\n output: ProductlaneListHelpCenterArticlesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACzJ,aAAaA,IAAAA,EAAE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AAC,SAAS,wCAAwC;AAClE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,gDAAgD,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,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/list-help-center-articles.d.ts
|
|
@@ -21,22 +23,7 @@ declare const ProductlaneListHelpCenterArticlesOutput: z.ZodObject<{
|
|
|
21
23
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const productlaneListHelpCenterArticles:
|
|
25
|
-
workspaceId: string;
|
|
26
|
-
language?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const productlaneListHelpCenterArticles: AppAction<typeof ProductlaneListHelpCenterArticlesInput, typeof ProductlaneListHelpCenterArticlesOutput, typeof productlane.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { productlaneListHelpCenterArticles };
|
|
42
29
|
//# sourceMappingURL=list-help-center-articles.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-help-center-articles.d.cts","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.d.cts","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAkBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,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/list-help-center-articles.d.ts
|
|
@@ -21,22 +23,7 @@ declare const ProductlaneListHelpCenterArticlesOutput: z.ZodObject<{
|
|
|
21
23
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const productlaneListHelpCenterArticles:
|
|
25
|
-
workspaceId: string;
|
|
26
|
-
language?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const productlaneListHelpCenterArticles: AppAction<typeof ProductlaneListHelpCenterArticlesInput, typeof ProductlaneListHelpCenterArticlesOutput, typeof productlane.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { productlaneListHelpCenterArticles };
|
|
42
29
|
//# sourceMappingURL=list-help-center-articles.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-help-center-articles.d.mts","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.d.mts","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAkBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-help-center-articles.mjs","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListHelpCenterArticlesInput = z.object({\n language: z.string().describe(\"Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.\").optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace to list help center articles for.\"),\n}).describe(\"Request model for listing help center articles in a workspace.\");\nconst ProductlaneListHelpCenterArticles_HelpCenterArticleSchema = z.object({\n id: z.string().describe(\"Unique article identifier.\").nullable(),\n date: z.string().describe(\"ISO 8601 timestamp of the article date.\").nullable().optional(),\n title: z.string().describe(\"Title of the 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 is 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 deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Workspace identifier this article belongs to.\").nullable(),\n}).passthrough().describe(\"Individual help center article object.\");\nexport const ProductlaneListHelpCenterArticlesOutput = z.object({\n articles: z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe(\"List of help center articles in the workspace.\"),\n}).passthrough().describe(\"Response model for listing help center articles.\");\n\nexport const productlaneListHelpCenterArticles = action(\"PRODUCTLANE_LIST_HELP_CENTER_ARTICLES\", {\n slug: \"productlane-list-help-center-articles\",\n name: \"List Help Center Articles\",\n description: \"Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.\",\n input: ProductlaneListHelpCenterArticlesInput,\n output: ProductlaneListHelpCenterArticlesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.mjs","names":[],"sources":["../../src/actions/list-help-center-articles.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 ProductlaneListHelpCenterArticlesInput = z.object({\n language: z.string().describe(\"Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.\").optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace to list help center articles for.\"),\n}).describe(\"Request model for listing help center articles in a workspace.\");\nconst ProductlaneListHelpCenterArticles_HelpCenterArticleSchema = z.object({\n id: z.string().describe(\"Unique article identifier.\").nullable(),\n date: z.string().describe(\"ISO 8601 timestamp of the article date.\").nullable().optional(),\n title: z.string().describe(\"Title of the 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 is 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 deleted.\").nullable(),\n published: z.boolean().describe(\"Whether the article is published.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\").nullable(),\n workspaceId: z.string().describe(\"Workspace identifier this article belongs to.\").nullable(),\n}).passthrough().describe(\"Individual help center article object.\");\nexport const ProductlaneListHelpCenterArticlesOutput = z.object({\n articles: z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe(\"List of help center articles in the workspace.\"),\n}).passthrough().describe(\"Response model for listing help center articles.\");\n\nexport const productlaneListHelpCenterArticles: AppAction<\n typeof ProductlaneListHelpCenterArticlesInput,\n typeof ProductlaneListHelpCenterArticlesOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_HELP_CENTER_ARTICLES\", {\n slug: \"productlane-list-help-center-articles\",\n name: \"List Help Center Articles\",\n description: \"Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.\",\n input: ProductlaneListHelpCenterArticlesInput,\n output: ProductlaneListHelpCenterArticlesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACzJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC7G,CAAC,CAA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AAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-insights.cjs","names":["z","action"],"sources":["../../src/actions/list-insights.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListInsightsInput = z.object({\n skip: z.number().int().describe(\"Number of records to skip for pagination. Use with 'take' to implement pagination.\").optional(),\n take: z.number().int().describe(\"Maximum number of records to return. Use with 'skip' to implement pagination.\").optional(),\n state: z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight/thread.\").optional(),\n issueId: z.string().describe(\"Filter insights by issue ID. Returns only insights linked to the specified issue.\").optional(),\n projectId: z.string().describe(\"Filter insights by project ID. Returns only insights linked to the specified project.\").optional(),\n}).describe(\"Request model for listing insights.\");\nconst ProductlaneListInsights_TagSchema = z.object({\n id: z.string().describe(\"Tag ID.\").nullable().optional(),\n icon: z.string().describe(\"Tag icon.\").nullable().optional(),\n name: z.string().describe(\"Tag name.\").nullable().optional(),\n color: z.string().describe(\"Tag color.\").nullable().optional(),\n}).passthrough().describe(\"Tag object associated with an insight.\");\nconst ProductlaneListInsights_CompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID.\").nullable().optional(),\n}).passthrough().describe(\"Company object associated with an insight.\");\nconst ProductlaneListInsights_ContactSchema = z.object({\n id: z.string().describe(\"Contact ID.\").nullable().optional(),\n name: z.string().describe(\"Contact name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"Contact profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"Contact object associated with an insight.\");\nconst ProductlaneListInsights_UserSchema = z.object({\n id: z.string().describe(\"User ID.\").nullable().optional(),\n name: z.string().describe(\"User name.\").nullable().optional(),\n email: z.string().describe(\"User email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"User object (reporter or assignee).\");\nconst ProductlaneListInsights_CustomerNeedSchema = z.object({\n id: z.string().describe(\"Customer need ID.\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID.\").nullable().optional(),\n feedbackId: z.string().describe(\"Associated feedback ID.\").nullable().optional(),\n}).passthrough().describe(\"Customer need object linked to an insight.\");\nconst ProductlaneListInsights_InsightSchema = z.object({\n id: z.string().describe(\"Unique identifier for the insight.\").nullable(),\n tags: z.array(ProductlaneListInsights_TagSchema).describe(\"Array of tags associated with this insight.\").nullable().optional(),\n text: z.string().describe(\"Text content of the insight.\").nullable(),\n state: z.string().describe(\"Current state of the insight (NEW, PROCESSED, COMPLETED, SNOOZED, UNSNOOZED).\").nullable(),\n title: z.string().describe(\"Title of the insight.\").nullable(),\n origin: z.string().describe(\"Origin source of the insight.\").nullable(),\n company: ProductlaneListInsights_CompanySchema.nullable().optional(),\n contact: ProductlaneListInsights_ContactSchema.nullable().optional(),\n assignee: ProductlaneListInsights_UserSchema.nullable().optional(),\n reporter: ProductlaneListInsights_UserSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier for the insight within the workspace.\").nullable().optional(),\n painLevel: z.string().describe(\"The pain level associated with this insight.\").nullable().optional(),\n zendeskId: z.string().describe(\"Associated Zendesk ticket ID.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this insight belongs to.\").nullable(),\n slackReplyId: z.string().describe(\"Associated Slack thread reply ID.\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until when the insight is snoozed.\").nullable().optional(),\n customerNeeds: z.array(ProductlaneListInsights_CustomerNeedSchema).describe(\"Array of customer needs linked to this insight.\").nullable().optional(),\n productboardId: z.string().describe(\"Associated Productboard feature ID.\").nullable().optional(),\n slackChannelId: z.string().describe(\"Associated Slack channel ID.\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of the last state change.\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Associated Linear attachment ID.\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last inbound message.\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last outbound message.\").nullable().optional(),\n}).passthrough().describe(\"Individual insight/thread object.\");\nconst ProductlaneListInsights_NextPageSchema = z.object({\n skip: z.number().int().describe(\"The skip value to use for fetching the next page.\").nullable(),\n take: z.number().int().describe(\"The take value to use for fetching the next page.\").nullable(),\n}).passthrough().describe(\"Pagination information for next page.\");\nexport const ProductlaneListInsightsOutput = z.object({\n count: z.number().int().describe(\"Total count of insights returned in this response.\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more insights available beyond the current page.\").nullable(),\n insights: z.array(ProductlaneListInsights_InsightSchema).describe(\"Array of insight/thread objects matching the query filters.\"),\n nextPage: ProductlaneListInsights_NextPageSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing insights.\");\n\nexport const productlaneListInsights = action(\"PRODUCTLANE_LIST_INSIGHTS\", {\n slug: \"productlane-list-insights\",\n name: \"List Insights\",\n description: \"Tool to list all threads/insights for your workspace with optional filtering. Use when you need to retrieve insights filtered by state, issue, or project, with support for pagination via 'take' and 'skip' parameters.\",\n input: ProductlaneListInsightsInput,\n output: ProductlaneListInsightsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAa;EAAa;EAAW;CAAW,CAAC,CAAC,CAAC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AS;CAC7G,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6DAA6D;CAC/H,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-insights.cjs","names":["z","action"],"sources":["../../src/actions/list-insights.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 ProductlaneListInsightsInput = z.object({\n skip: z.number().int().describe(\"Number of records to skip for pagination. Use with 'take' to implement pagination.\").optional(),\n take: z.number().int().describe(\"Maximum number of records to return. Use with 'skip' to implement pagination.\").optional(),\n state: z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight/thread.\").optional(),\n issueId: z.string().describe(\"Filter insights by issue ID. Returns only insights linked to the specified issue.\").optional(),\n projectId: z.string().describe(\"Filter insights by project ID. Returns only insights linked to the specified project.\").optional(),\n}).describe(\"Request model for listing insights.\");\nconst ProductlaneListInsights_TagSchema = z.object({\n id: z.string().describe(\"Tag ID.\").nullable().optional(),\n icon: z.string().describe(\"Tag icon.\").nullable().optional(),\n name: z.string().describe(\"Tag name.\").nullable().optional(),\n color: z.string().describe(\"Tag color.\").nullable().optional(),\n}).passthrough().describe(\"Tag object associated with an insight.\");\nconst ProductlaneListInsights_CompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID.\").nullable().optional(),\n}).passthrough().describe(\"Company object associated with an insight.\");\nconst ProductlaneListInsights_ContactSchema = z.object({\n id: z.string().describe(\"Contact ID.\").nullable().optional(),\n name: z.string().describe(\"Contact name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"Contact profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"Contact object associated with an insight.\");\nconst ProductlaneListInsights_UserSchema = z.object({\n id: z.string().describe(\"User ID.\").nullable().optional(),\n name: z.string().describe(\"User name.\").nullable().optional(),\n email: z.string().describe(\"User email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"User object (reporter or assignee).\");\nconst ProductlaneListInsights_CustomerNeedSchema = z.object({\n id: z.string().describe(\"Customer need ID.\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID.\").nullable().optional(),\n feedbackId: z.string().describe(\"Associated feedback ID.\").nullable().optional(),\n}).passthrough().describe(\"Customer need object linked to an insight.\");\nconst ProductlaneListInsights_InsightSchema = z.object({\n id: z.string().describe(\"Unique identifier for the insight.\").nullable(),\n tags: z.array(ProductlaneListInsights_TagSchema).describe(\"Array of tags associated with this insight.\").nullable().optional(),\n text: z.string().describe(\"Text content of the insight.\").nullable(),\n state: z.string().describe(\"Current state of the insight (NEW, PROCESSED, COMPLETED, SNOOZED, UNSNOOZED).\").nullable(),\n title: z.string().describe(\"Title of the insight.\").nullable(),\n origin: z.string().describe(\"Origin source of the insight.\").nullable(),\n company: ProductlaneListInsights_CompanySchema.nullable().optional(),\n contact: ProductlaneListInsights_ContactSchema.nullable().optional(),\n assignee: ProductlaneListInsights_UserSchema.nullable().optional(),\n reporter: ProductlaneListInsights_UserSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier for the insight within the workspace.\").nullable().optional(),\n painLevel: z.string().describe(\"The pain level associated with this insight.\").nullable().optional(),\n zendeskId: z.string().describe(\"Associated Zendesk ticket ID.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this insight belongs to.\").nullable(),\n slackReplyId: z.string().describe(\"Associated Slack thread reply ID.\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until when the insight is snoozed.\").nullable().optional(),\n customerNeeds: z.array(ProductlaneListInsights_CustomerNeedSchema).describe(\"Array of customer needs linked to this insight.\").nullable().optional(),\n productboardId: z.string().describe(\"Associated Productboard feature ID.\").nullable().optional(),\n slackChannelId: z.string().describe(\"Associated Slack channel ID.\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of the last state change.\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Associated Linear attachment ID.\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last inbound message.\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last outbound message.\").nullable().optional(),\n}).passthrough().describe(\"Individual insight/thread object.\");\nconst ProductlaneListInsights_NextPageSchema = z.object({\n skip: z.number().int().describe(\"The skip value to use for fetching the next page.\").nullable(),\n take: z.number().int().describe(\"The take value to use for fetching the next page.\").nullable(),\n}).passthrough().describe(\"Pagination information for next page.\");\nexport const ProductlaneListInsightsOutput = z.object({\n count: z.number().int().describe(\"Total count of insights returned in this response.\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more insights available beyond the current page.\").nullable(),\n insights: z.array(ProductlaneListInsights_InsightSchema).describe(\"Array of insight/thread objects matching the query filters.\"),\n nextPage: ProductlaneListInsights_NextPageSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing insights.\");\n\nexport const productlaneListInsights: AppAction<\n typeof ProductlaneListInsightsInput,\n typeof ProductlaneListInsightsOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_INSIGHTS\", {\n slug: \"productlane-list-insights\",\n name: \"List Insights\",\n description: \"Tool to list all threads/insights for your workspace with optional filtering. Use when you need to retrieve insights filtered by state, issue, or project, with support for pagination via 'take' and 'skip' parameters.\",\n input: ProductlaneListInsightsInput,\n output: ProductlaneListInsightsOutput,\n});\n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AO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6DAA6D;CAC/H,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,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/list-insights.d.ts
|
|
@@ -75,25 +77,7 @@ declare const ProductlaneListInsightsOutput: z.ZodObject<{
|
|
|
75
77
|
take: z.ZodNullable<z.ZodNumber>;
|
|
76
78
|
}, z.core.$loose>>>;
|
|
77
79
|
}, z.core.$loose>;
|
|
78
|
-
declare const productlaneListInsights:
|
|
79
|
-
skip?: number | undefined;
|
|
80
|
-
take?: number | undefined;
|
|
81
|
-
state?: "NEW" | "PROCESSED" | "COMPLETED" | "SNOOZED" | "UNSNOOZED" | undefined;
|
|
82
|
-
issueId?: string | undefined;
|
|
83
|
-
projectId?: string | undefined;
|
|
84
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
85
|
-
connectionId: z.ZodString;
|
|
86
|
-
entityId: z.ZodString;
|
|
87
|
-
instanceId: z.ZodString;
|
|
88
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
-
generic_api_key: z.ZodString;
|
|
90
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
91
|
-
connectionId: z.ZodString;
|
|
92
|
-
entityId: z.ZodString;
|
|
93
|
-
instanceId: z.ZodString;
|
|
94
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
-
generic_api_key: z.ZodString;
|
|
96
|
-
}, z.core.$strip>>]>;
|
|
80
|
+
declare const productlaneListInsights: AppAction<typeof ProductlaneListInsightsInput, typeof ProductlaneListInsightsOutput, typeof productlane.credential>;
|
|
97
81
|
//#endregion
|
|
98
82
|
export { productlaneListInsights };
|
|
99
83
|
//# sourceMappingURL=list-insights.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-insights.d.cts","names":[],"sources":["../../src/actions/list-insights.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-insights.d.cts","names":[],"sources":["../../src/actions/list-insights.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgE5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/list-insights.d.ts
|
|
@@ -75,25 +77,7 @@ declare const ProductlaneListInsightsOutput: z.ZodObject<{
|
|
|
75
77
|
take: z.ZodNullable<z.ZodNumber>;
|
|
76
78
|
}, z.core.$loose>>>;
|
|
77
79
|
}, z.core.$loose>;
|
|
78
|
-
declare const productlaneListInsights:
|
|
79
|
-
skip?: number | undefined;
|
|
80
|
-
take?: number | undefined;
|
|
81
|
-
state?: "NEW" | "PROCESSED" | "COMPLETED" | "SNOOZED" | "UNSNOOZED" | undefined;
|
|
82
|
-
issueId?: string | undefined;
|
|
83
|
-
projectId?: string | undefined;
|
|
84
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
85
|
-
connectionId: z.ZodString;
|
|
86
|
-
entityId: z.ZodString;
|
|
87
|
-
instanceId: z.ZodString;
|
|
88
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
-
generic_api_key: z.ZodString;
|
|
90
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
91
|
-
connectionId: z.ZodString;
|
|
92
|
-
entityId: z.ZodString;
|
|
93
|
-
instanceId: z.ZodString;
|
|
94
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
-
generic_api_key: z.ZodString;
|
|
96
|
-
}, z.core.$strip>>]>;
|
|
80
|
+
declare const productlaneListInsights: AppAction<typeof ProductlaneListInsightsInput, typeof ProductlaneListInsightsOutput, typeof productlane.credential>;
|
|
97
81
|
//#endregion
|
|
98
82
|
export { productlaneListInsights };
|
|
99
83
|
//# sourceMappingURL=list-insights.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-insights.d.mts","names":[],"sources":["../../src/actions/list-insights.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-insights.d.mts","names":[],"sources":["../../src/actions/list-insights.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgE5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-insights.mjs","names":[],"sources":["../../src/actions/list-insights.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListInsightsInput = z.object({\n skip: z.number().int().describe(\"Number of records to skip for pagination. Use with 'take' to implement pagination.\").optional(),\n take: z.number().int().describe(\"Maximum number of records to return. Use with 'skip' to implement pagination.\").optional(),\n state: z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight/thread.\").optional(),\n issueId: z.string().describe(\"Filter insights by issue ID. Returns only insights linked to the specified issue.\").optional(),\n projectId: z.string().describe(\"Filter insights by project ID. Returns only insights linked to the specified project.\").optional(),\n}).describe(\"Request model for listing insights.\");\nconst ProductlaneListInsights_TagSchema = z.object({\n id: z.string().describe(\"Tag ID.\").nullable().optional(),\n icon: z.string().describe(\"Tag icon.\").nullable().optional(),\n name: z.string().describe(\"Tag name.\").nullable().optional(),\n color: z.string().describe(\"Tag color.\").nullable().optional(),\n}).passthrough().describe(\"Tag object associated with an insight.\");\nconst ProductlaneListInsights_CompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID.\").nullable().optional(),\n}).passthrough().describe(\"Company object associated with an insight.\");\nconst ProductlaneListInsights_ContactSchema = z.object({\n id: z.string().describe(\"Contact ID.\").nullable().optional(),\n name: z.string().describe(\"Contact name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"Contact profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"Contact object associated with an insight.\");\nconst ProductlaneListInsights_UserSchema = z.object({\n id: z.string().describe(\"User ID.\").nullable().optional(),\n name: z.string().describe(\"User name.\").nullable().optional(),\n email: z.string().describe(\"User email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"User object (reporter or assignee).\");\nconst ProductlaneListInsights_CustomerNeedSchema = z.object({\n id: z.string().describe(\"Customer need ID.\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID.\").nullable().optional(),\n feedbackId: z.string().describe(\"Associated feedback ID.\").nullable().optional(),\n}).passthrough().describe(\"Customer need object linked to an insight.\");\nconst ProductlaneListInsights_InsightSchema = z.object({\n id: z.string().describe(\"Unique identifier for the insight.\").nullable(),\n tags: z.array(ProductlaneListInsights_TagSchema).describe(\"Array of tags associated with this insight.\").nullable().optional(),\n text: z.string().describe(\"Text content of the insight.\").nullable(),\n state: z.string().describe(\"Current state of the insight (NEW, PROCESSED, COMPLETED, SNOOZED, UNSNOOZED).\").nullable(),\n title: z.string().describe(\"Title of the insight.\").nullable(),\n origin: z.string().describe(\"Origin source of the insight.\").nullable(),\n company: ProductlaneListInsights_CompanySchema.nullable().optional(),\n contact: ProductlaneListInsights_ContactSchema.nullable().optional(),\n assignee: ProductlaneListInsights_UserSchema.nullable().optional(),\n reporter: ProductlaneListInsights_UserSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier for the insight within the workspace.\").nullable().optional(),\n painLevel: z.string().describe(\"The pain level associated with this insight.\").nullable().optional(),\n zendeskId: z.string().describe(\"Associated Zendesk ticket ID.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this insight belongs to.\").nullable(),\n slackReplyId: z.string().describe(\"Associated Slack thread reply ID.\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until when the insight is snoozed.\").nullable().optional(),\n customerNeeds: z.array(ProductlaneListInsights_CustomerNeedSchema).describe(\"Array of customer needs linked to this insight.\").nullable().optional(),\n productboardId: z.string().describe(\"Associated Productboard feature ID.\").nullable().optional(),\n slackChannelId: z.string().describe(\"Associated Slack channel ID.\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of the last state change.\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Associated Linear attachment ID.\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last inbound message.\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last outbound message.\").nullable().optional(),\n}).passthrough().describe(\"Individual insight/thread object.\");\nconst ProductlaneListInsights_NextPageSchema = z.object({\n skip: z.number().int().describe(\"The skip value to use for fetching the next page.\").nullable(),\n take: z.number().int().describe(\"The take value to use for fetching the next page.\").nullable(),\n}).passthrough().describe(\"Pagination information for next page.\");\nexport const ProductlaneListInsightsOutput = z.object({\n count: z.number().int().describe(\"Total count of insights returned in this response.\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more insights available beyond the current page.\").nullable(),\n insights: z.array(ProductlaneListInsights_InsightSchema).describe(\"Array of insight/thread objects matching the query filters.\"),\n nextPage: ProductlaneListInsights_NextPageSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing insights.\");\n\nexport const productlaneListInsights = action(\"PRODUCTLANE_LIST_INSIGHTS\", {\n slug: \"productlane-list-insights\",\n name: \"List Insights\",\n description: \"Tool to list all threads/insights for your workspace with optional filtering. Use when you need to retrieve insights filtered by state, issue, or project, with support for pagination via 'take' and 'skip' parameters.\",\n input: ProductlaneListInsightsInput,\n output: ProductlaneListInsightsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,KAAK;EAAC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AmB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAQjE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6DAA6D;EAC/H,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-insights.mjs","names":[],"sources":["../../src/actions/list-insights.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 ProductlaneListInsightsInput = z.object({\n skip: z.number().int().describe(\"Number of records to skip for pagination. Use with 'take' to implement pagination.\").optional(),\n take: z.number().int().describe(\"Maximum number of records to return. Use with 'skip' to implement pagination.\").optional(),\n state: z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight/thread.\").optional(),\n issueId: z.string().describe(\"Filter insights by issue ID. Returns only insights linked to the specified issue.\").optional(),\n projectId: z.string().describe(\"Filter insights by project ID. Returns only insights linked to the specified project.\").optional(),\n}).describe(\"Request model for listing insights.\");\nconst ProductlaneListInsights_TagSchema = z.object({\n id: z.string().describe(\"Tag ID.\").nullable().optional(),\n icon: z.string().describe(\"Tag icon.\").nullable().optional(),\n name: z.string().describe(\"Tag name.\").nullable().optional(),\n color: z.string().describe(\"Tag color.\").nullable().optional(),\n}).passthrough().describe(\"Tag object associated with an insight.\");\nconst ProductlaneListInsights_CompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID.\").nullable().optional(),\n}).passthrough().describe(\"Company object associated with an insight.\");\nconst ProductlaneListInsights_ContactSchema = z.object({\n id: z.string().describe(\"Contact ID.\").nullable().optional(),\n name: z.string().describe(\"Contact name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"Contact profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"Contact object associated with an insight.\");\nconst ProductlaneListInsights_UserSchema = z.object({\n id: z.string().describe(\"User ID.\").nullable().optional(),\n name: z.string().describe(\"User name.\").nullable().optional(),\n email: z.string().describe(\"User email address.\").nullable().optional(),\n imageUrl: z.string().describe(\"User profile image URL.\").nullable().optional(),\n}).passthrough().describe(\"User object (reporter or assignee).\");\nconst ProductlaneListInsights_CustomerNeedSchema = z.object({\n id: z.string().describe(\"Customer need ID.\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID.\").nullable().optional(),\n feedbackId: z.string().describe(\"Associated feedback ID.\").nullable().optional(),\n}).passthrough().describe(\"Customer need object linked to an insight.\");\nconst ProductlaneListInsights_InsightSchema = z.object({\n id: z.string().describe(\"Unique identifier for the insight.\").nullable(),\n tags: z.array(ProductlaneListInsights_TagSchema).describe(\"Array of tags associated with this insight.\").nullable().optional(),\n text: z.string().describe(\"Text content of the insight.\").nullable(),\n state: z.string().describe(\"Current state of the insight (NEW, PROCESSED, COMPLETED, SNOOZED, UNSNOOZED).\").nullable(),\n title: z.string().describe(\"Title of the insight.\").nullable(),\n origin: z.string().describe(\"Origin source of the insight.\").nullable(),\n company: ProductlaneListInsights_CompanySchema.nullable().optional(),\n contact: ProductlaneListInsights_ContactSchema.nullable().optional(),\n assignee: ProductlaneListInsights_UserSchema.nullable().optional(),\n reporter: ProductlaneListInsights_UserSchema.nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier for the insight within the workspace.\").nullable().optional(),\n painLevel: z.string().describe(\"The pain level associated with this insight.\").nullable().optional(),\n zendeskId: z.string().describe(\"Associated Zendesk ticket ID.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this insight belongs to.\").nullable(),\n slackReplyId: z.string().describe(\"Associated Slack thread reply ID.\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until when the insight is snoozed.\").nullable().optional(),\n customerNeeds: z.array(ProductlaneListInsights_CustomerNeedSchema).describe(\"Array of customer needs linked to this insight.\").nullable().optional(),\n productboardId: z.string().describe(\"Associated Productboard feature ID.\").nullable().optional(),\n slackChannelId: z.string().describe(\"Associated Slack channel ID.\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of the last state change.\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Associated Linear attachment ID.\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last inbound message.\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of the last outbound message.\").nullable().optional(),\n}).passthrough().describe(\"Individual insight/thread object.\");\nconst ProductlaneListInsights_NextPageSchema = z.object({\n skip: z.number().int().describe(\"The skip value to use for fetching the next page.\").nullable(),\n take: z.number().int().describe(\"The take value to use for fetching the next page.\").nullable(),\n}).passthrough().describe(\"Pagination information for next page.\");\nexport const ProductlaneListInsightsOutput = z.object({\n count: z.number().int().describe(\"Total count of insights returned in this response.\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more insights available beyond the current page.\").nullable(),\n insights: z.array(ProductlaneListInsights_InsightSchema).describe(\"Array of insight/thread objects matching the query filters.\"),\n nextPage: ProductlaneListInsights_NextPageSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing insights.\");\n\nexport const productlaneListInsights: AppAction<\n typeof ProductlaneListInsightsInput,\n typeof ProductlaneListInsightsOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_INSIGHTS\", {\n slug: \"productlane-list-insights\",\n name: \"List Insights\",\n description: \"Tool to list all threads/insights for your workspace with optional filtering. Use when you need to retrieve insights filtered by state, issue, or project, with support for pagination via 'take' and 'skip' parameters.\",\n input: ProductlaneListInsightsInput,\n output: ProductlaneListInsightsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,KAAK;EAAC;EAAO;EAAa;EAAa;EAAW;CAAW,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3H,WAAW,EAA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;CAChG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAQjE,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6DAA6D;EAC/H,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-issues.cjs","names":["z","action"],"sources":["../../src/actions/list-issues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListIssuesInput = z.object({\n language: z.string().describe(\"Language code for localized content (e.g., 'en', 'de')\").optional(),\n workspace_id: z.string().describe(\"Workspace ID to retrieve issues from. The workspace must have their portal/roadmap published.\"),\n}).describe(\"Request model for listing issues from a Productlane workspace.\");\nconst ProductlaneListIssues_IssueItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the issue\").nullable(),\n url: z.string().describe(\"Public URL to view the issue\").nullable(),\n team: z.string().describe(\"Team assigned to the issue\").nullable(),\n title: z.string().describe(\"Issue title\").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 for the issue\").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(\"ISO 8601 timestamp when the issue was created\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue is deleted\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order for display\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the issue was last updated\").nullable(),\n identifier: z.string().describe(\"Human-readable issue identifier\").nullable(),\n description: z.string().describe(\"Issue description text\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this issue belongs to\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket ID\").nullable(),\n summaryUpdated: z.string().describe(\"ISO 8601 timestamp when summary was last updated\").nullable().optional(),\n descriptionData: z.unknown().describe(\"Structured description data\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score\").nullable(),\n}).passthrough().describe(\"Issue object from Productlane workspace.\");\nexport const ProductlaneListIssuesOutput = z.object({\n issues: z.array(ProductlaneListIssues_IssueItemSchema).describe(\"Array of issues from the workspace\"),\n}).passthrough().describe(\"Response model containing list of issues from Productlane.\");\n\nexport const productlaneListIssues = action(\"PRODUCTLANE_LIST_ISSUES\", {\n slug: \"productlane-list-issues\",\n name: \"List Productlane Issues\",\n description: \"Tool to retrieve all issues from a Productlane workspace. Use when you need to fetch issues from a workspace that has their portal/roadmap published.\",\n input: ProductlaneListIssuesInput,\n output: ProductlaneListIssuesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-issues.cjs","names":["z","action"],"sources":["../../src/actions/list-issues.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 ProductlaneListIssuesInput = z.object({\n language: z.string().describe(\"Language code for localized content (e.g., 'en', 'de')\").optional(),\n workspace_id: z.string().describe(\"Workspace ID to retrieve issues from. The workspace must have their portal/roadmap published.\"),\n}).describe(\"Request model for listing issues from a Productlane workspace.\");\nconst ProductlaneListIssues_IssueItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the issue\").nullable(),\n url: z.string().describe(\"Public URL to view the issue\").nullable(),\n team: z.string().describe(\"Team assigned to the issue\").nullable(),\n title: z.string().describe(\"Issue title\").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 for the issue\").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(\"ISO 8601 timestamp when the issue was created\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue is deleted\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order for display\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the issue was last updated\").nullable(),\n identifier: z.string().describe(\"Human-readable issue identifier\").nullable(),\n description: z.string().describe(\"Issue description text\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this issue belongs to\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket ID\").nullable(),\n summaryUpdated: z.string().describe(\"ISO 8601 timestamp when summary was last updated\").nullable().optional(),\n descriptionData: z.unknown().describe(\"Structured description data\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score\").nullable(),\n}).passthrough().describe(\"Issue object from Productlane workspace.\");\nexport const ProductlaneListIssuesOutput = z.object({\n issues: z.array(ProductlaneListIssues_IssueItemSchema).describe(\"Array of issues from the workspace\"),\n}).passthrough().describe(\"Response model containing list of issues from Productlane.\");\n\nexport const productlaneListIssues: AppAction<\n typeof ProductlaneListIssuesInput,\n typeof ProductlaneListIssuesOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_ISSUES\", {\n slug: \"productlane-list-issues\",\n name: \"List Productlane Issues\",\n description: \"Tool to retrieve all issues from a Productlane workspace. Use when you need to fetch issues from a workspace that has their portal/roadmap published.\",\n input: ProductlaneListIssuesInput,\n output: ProductlaneListIssuesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;AACnI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAA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S,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oCAAoC,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,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/list-issues.d.ts
|
|
@@ -31,22 +33,7 @@ declare const ProductlaneListIssuesOutput: z.ZodObject<{
|
|
|
31
33
|
importanceScore: z.ZodNullable<z.ZodNumber>;
|
|
32
34
|
}, z.core.$loose>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const productlaneListIssues:
|
|
35
|
-
workspace_id: string;
|
|
36
|
-
language?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
36
|
+
declare const productlaneListIssues: AppAction<typeof ProductlaneListIssuesInput, typeof ProductlaneListIssuesOutput, typeof productlane.credential>;
|
|
50
37
|
//#endregion
|
|
51
38
|
export { productlaneListIssues };
|
|
52
39
|
//# sourceMappingURL=list-issues.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-issues.d.cts","names":[],"sources":["../../src/actions/list-issues.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-issues.d.cts","names":[],"sources":["../../src/actions/list-issues.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,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/list-issues.d.ts
|
|
@@ -31,22 +33,7 @@ declare const ProductlaneListIssuesOutput: z.ZodObject<{
|
|
|
31
33
|
importanceScore: z.ZodNullable<z.ZodNumber>;
|
|
32
34
|
}, z.core.$loose>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const productlaneListIssues:
|
|
35
|
-
workspace_id: string;
|
|
36
|
-
language?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
36
|
+
declare const productlaneListIssues: AppAction<typeof ProductlaneListIssuesInput, typeof ProductlaneListIssuesOutput, typeof productlane.credential>;
|
|
50
37
|
//#endregion
|
|
51
38
|
export { productlaneListIssues };
|
|
52
39
|
//# sourceMappingURL=list-issues.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-issues.d.mts","names":[],"sources":["../../src/actions/list-issues.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-issues.d.mts","names":[],"sources":["../../src/actions/list-issues.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-issues.mjs","names":[],"sources":["../../src/actions/list-issues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListIssuesInput = z.object({\n language: z.string().describe(\"Language code for localized content (e.g., 'en', 'de')\").optional(),\n workspace_id: z.string().describe(\"Workspace ID to retrieve issues from. The workspace must have their portal/roadmap published.\"),\n}).describe(\"Request model for listing issues from a Productlane workspace.\");\nconst ProductlaneListIssues_IssueItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the issue\").nullable(),\n url: z.string().describe(\"Public URL to view the issue\").nullable(),\n team: z.string().describe(\"Team assigned to the issue\").nullable(),\n title: z.string().describe(\"Issue title\").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 for the issue\").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(\"ISO 8601 timestamp when the issue was created\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue is deleted\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order for display\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the issue was last updated\").nullable(),\n identifier: z.string().describe(\"Human-readable issue identifier\").nullable(),\n description: z.string().describe(\"Issue description text\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this issue belongs to\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket ID\").nullable(),\n summaryUpdated: z.string().describe(\"ISO 8601 timestamp when summary was last updated\").nullable().optional(),\n descriptionData: z.unknown().describe(\"Structured description data\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score\").nullable(),\n}).passthrough().describe(\"Issue object from Productlane workspace.\");\nexport const ProductlaneListIssuesOutput = z.object({\n issues: z.array(ProductlaneListIssues_IssueItemSchema).describe(\"Array of issues from the workspace\"),\n}).passthrough().describe(\"Response model containing list of issues from Productlane.\");\n\nexport const productlaneListIssues = action(\"PRODUCTLANE_LIST_ISSUES\", {\n slug: \"productlane-list-issues\",\n name: \"List Productlane Issues\",\n description: \"Tool to retrieve all issues from a Productlane workspace. Use when you need to fetch issues from a workspace that has their portal/roadmap published.\",\n input: ProductlaneListIssuesInput,\n output: ProductlaneListIssuesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-issues.mjs","names":[],"sources":["../../src/actions/list-issues.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 ProductlaneListIssuesInput = z.object({\n language: z.string().describe(\"Language code for localized content (e.g., 'en', 'de')\").optional(),\n workspace_id: z.string().describe(\"Workspace ID to retrieve issues from. The workspace must have their portal/roadmap published.\"),\n}).describe(\"Request model for listing issues from a Productlane workspace.\");\nconst ProductlaneListIssues_IssueItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the issue\").nullable(),\n url: z.string().describe(\"Public URL to view the issue\").nullable(),\n team: z.string().describe(\"Team assigned to the issue\").nullable(),\n title: z.string().describe(\"Issue title\").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 for the issue\").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(\"ISO 8601 timestamp when the issue was created\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the issue is deleted\").nullable(),\n isVisible: z.boolean().describe(\"Whether the issue is visible\").nullable().optional(),\n projectId: z.string().describe(\"Associated project ID\").nullable().optional(),\n sortOrder: z.number().describe(\"Sort order for display\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the issue was last updated\").nullable(),\n identifier: z.string().describe(\"Human-readable issue identifier\").nullable(),\n description: z.string().describe(\"Issue description text\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this issue belongs to\").nullable(),\n linearTicketId: z.string().describe(\"Associated Linear ticket ID\").nullable(),\n summaryUpdated: z.string().describe(\"ISO 8601 timestamp when summary was last updated\").nullable().optional(),\n descriptionData: z.unknown().describe(\"Structured description data\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score\").nullable(),\n}).passthrough().describe(\"Issue object from Productlane workspace.\");\nexport const ProductlaneListIssuesOutput = z.object({\n issues: z.array(ProductlaneListIssues_IssueItemSchema).describe(\"Array of issues from the workspace\"),\n}).passthrough().describe(\"Response model containing list of issues from Productlane.\");\n\nexport const productlaneListIssues: AppAction<\n typeof ProductlaneListIssuesInput,\n typeof ProductlaneListIssuesOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_ISSUES\", {\n slug: \"productlane-list-issues\",\n name: \"List Productlane Issues\",\n description: \"Tool to retrieve all issues from a Productlane workspace. Use when you need to fetch issues from a workspace that has their portal/roadmap published.\",\n input: ProductlaneListIssuesInput,\n output: ProductlaneListIssuesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;AACnI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE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E,MAAM,qCAAqC,CAAC,CAAC,SAAS,oCAAoC,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members.cjs","names":["z","action"],"sources":["../../src/actions/list-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListMembersInput = z.object({}).describe(\"Request model for listing workspace members.\\nNo parameters required - lists all members in the authenticated workspace.\");\nconst ProductlaneListMembers_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user.\").nullable(),\n name: z.string().describe(\"Display name of the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n imageUrl: z.string().describe(\"Profile image URL for the user.\").nullable().optional(),\n}).passthrough().describe(\"User information embedded in member object.\");\nconst ProductlaneListMembers_MemberInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the membership record.\").nullable(),\n role: z.string().describe(\"Role of the member in the workspace. Valid values: 'ADMIN', 'USER', 'VIEWER'.\").nullable(),\n user: ProductlaneListMembers_UserInfoSchema.nullable(),\n userId: z.string().describe(\"ID of the user associated with this membership.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the membership was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the membership was last updated.\").nullable(),\n workspaceId: z.string().describe(\"ID of the workspace this membership belongs to.\").nullable(),\n}).passthrough().describe(\"Member information with role and workspace details.\");\nexport const ProductlaneListMembersOutput = z.object({\n members: z.array(ProductlaneListMembers_MemberInfoSchema).describe(\"Array of membership objects with user details, sorted by role (admins first).\"),\n}).passthrough().describe(\"Response model containing list of workspace members.\");\n\nexport const productlaneListMembers = action(\"PRODUCTLANE_LIST_MEMBERS\", {\n slug: \"productlane-list-members\",\n name: \"List Workspace Members\",\n description: \"Tool to retrieve all members of your workspace with their roles and user information. Returns memberships sorted by role (admins first).\",\n input: ProductlaneListMembersInput,\n output: ProductlaneListMembersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members.cjs","names":["z","action"],"sources":["../../src/actions/list-members.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 ProductlaneListMembersInput = z.object({}).describe(\"Request model for listing workspace members.\\nNo parameters required - lists all members in the authenticated workspace.\");\nconst ProductlaneListMembers_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user.\").nullable(),\n name: z.string().describe(\"Display name of the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n imageUrl: z.string().describe(\"Profile image URL for the user.\").nullable().optional(),\n}).passthrough().describe(\"User information embedded in member object.\");\nconst ProductlaneListMembers_MemberInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the membership record.\").nullable(),\n role: z.string().describe(\"Role of the member in the workspace. Valid values: 'ADMIN', 'USER', 'VIEWER'.\").nullable(),\n user: ProductlaneListMembers_UserInfoSchema.nullable(),\n userId: z.string().describe(\"ID of the user associated with this membership.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the membership was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the membership was last updated.\").nullable(),\n workspaceId: z.string().describe(\"ID of the workspace this membership belongs to.\").nullable(),\n}).passthrough().describe(\"Member information with role and workspace details.\");\nexport const ProductlaneListMembersOutput = z.object({\n members: z.array(ProductlaneListMembers_MemberInfoSchema).describe(\"Array of membership objects with user details, sorted by role (admins first).\"),\n}).passthrough().describe(\"Response model containing list of workspace members.\");\n\nexport const productlaneListMembers: AppAction<\n typeof ProductlaneListMembersInput,\n typeof ProductlaneListMembersOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_LIST_MEMBERS\", {\n slug: \"productlane-list-members\",\n name: \"List Workspace Members\",\n description: \"Tool to retrieve all members of your workspace with their roles and user information. Returns memberships sorted by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AAM,uCAAuC,CAAC,CAAC,SAAS,+EAA+E,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/list-members.d.ts
|
|
@@ -18,19 +20,7 @@ declare const ProductlaneListMembersOutput: z.ZodObject<{
|
|
|
18
20
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const productlaneListMembers:
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const productlaneListMembers: AppAction<typeof ProductlaneListMembersInput, typeof ProductlaneListMembersOutput, typeof productlane.credential>;
|
|
34
24
|
//#endregion
|
|
35
25
|
export { productlaneListMembers };
|
|
36
26
|
//# sourceMappingURL=list-members.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members.d.cts","names":[],"sources":["../../src/actions/list-members.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members.d.cts","names":[],"sources":["../../src/actions/list-members.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/list-members.d.ts
|
|
@@ -18,19 +20,7 @@ declare const ProductlaneListMembersOutput: z.ZodObject<{
|
|
|
18
20
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const productlaneListMembers:
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"productlane", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const productlaneListMembers: AppAction<typeof ProductlaneListMembersInput, typeof ProductlaneListMembersOutput, typeof productlane.credential>;
|
|
34
24
|
//#endregion
|
|
35
25
|
export { productlaneListMembers };
|
|
36
26
|
//# sourceMappingURL=list-members.d.mts.map
|