@keystrokehq/productlane 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-changelog.cjs +1 -0
- package/dist/actions/create-changelog.cjs.map +1 -1
- package/dist/actions/create-changelog.d.cts +3 -6
- package/dist/actions/create-changelog.d.cts.map +1 -1
- package/dist/actions/create-changelog.d.mts +3 -6
- package/dist/actions/create-changelog.d.mts.map +1 -1
- package/dist/actions/create-changelog.mjs +1 -0
- package/dist/actions/create-changelog.mjs.map +1 -1
- package/dist/actions/create-company.cjs +1 -0
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +3 -13
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +3 -13
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +1 -0
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -7
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -7
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-feedback.cjs +1 -0
- package/dist/actions/create-feedback.cjs.map +1 -1
- package/dist/actions/create-feedback.d.cts +3 -13
- package/dist/actions/create-feedback.d.cts.map +1 -1
- package/dist/actions/create-feedback.d.mts +3 -13
- package/dist/actions/create-feedback.d.mts.map +1 -1
- package/dist/actions/create-feedback.mjs +1 -0
- package/dist/actions/create-feedback.mjs.map +1 -1
- package/dist/actions/create-insight.cjs +1 -0
- package/dist/actions/create-insight.cjs.map +1 -1
- package/dist/actions/create-insight.d.cts +3 -16
- package/dist/actions/create-insight.d.cts.map +1 -1
- package/dist/actions/create-insight.d.mts +3 -16
- package/dist/actions/create-insight.d.mts.map +1 -1
- package/dist/actions/create-insight.mjs +1 -0
- package/dist/actions/create-insight.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +1 -0
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +3 -9
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +3 -9
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +1 -0
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upvote.cjs +1 -0
- package/dist/actions/create-upvote.cjs.map +1 -1
- package/dist/actions/create-upvote.d.cts +3 -5
- package/dist/actions/create-upvote.d.cts.map +1 -1
- package/dist/actions/create-upvote.d.mts +3 -5
- package/dist/actions/create-upvote.d.mts.map +1 -1
- package/dist/actions/create-upvote.mjs +1 -0
- package/dist/actions/create-upvote.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -0
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +3 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +3 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +1 -0
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-upvote.cjs +1 -0
- package/dist/actions/delete-upvote.cjs.map +1 -1
- package/dist/actions/delete-upvote.d.cts +3 -3
- package/dist/actions/delete-upvote.d.cts.map +1 -1
- package/dist/actions/delete-upvote.d.mts +3 -3
- package/dist/actions/delete-upvote.d.mts.map +1 -1
- package/dist/actions/delete-upvote.mjs +1 -0
- package/dist/actions/delete-upvote.mjs.map +1 -1
- package/dist/actions/enable-widget.cjs +1 -0
- package/dist/actions/enable-widget.cjs.map +1 -1
- package/dist/actions/enable-widget.d.cts +3 -1
- package/dist/actions/enable-widget.d.cts.map +1 -1
- package/dist/actions/enable-widget.d.mts +3 -1
- package/dist/actions/enable-widget.d.mts.map +1 -1
- package/dist/actions/enable-widget.mjs +1 -0
- package/dist/actions/enable-widget.mjs.map +1 -1
- package/dist/actions/get-changelog.cjs +1 -0
- package/dist/actions/get-changelog.cjs.map +1 -1
- package/dist/actions/get-changelog.d.cts +3 -5
- package/dist/actions/get-changelog.d.cts.map +1 -1
- package/dist/actions/get-changelog.d.mts +3 -5
- package/dist/actions/get-changelog.d.mts.map +1 -1
- package/dist/actions/get-changelog.mjs +1 -0
- package/dist/actions/get-changelog.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -0
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +3 -4
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +3 -4
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +1 -0
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-help-center-article.cjs +1 -0
- package/dist/actions/get-help-center-article.cjs.map +1 -1
- package/dist/actions/get-help-center-article.d.cts +3 -5
- package/dist/actions/get-help-center-article.d.cts.map +1 -1
- package/dist/actions/get-help-center-article.d.mts +3 -5
- package/dist/actions/get-help-center-article.d.mts.map +1 -1
- package/dist/actions/get-help-center-article.mjs +1 -0
- package/dist/actions/get-help-center-article.mjs.map +1 -1
- package/dist/actions/get-insight.cjs +1 -0
- package/dist/actions/get-insight.cjs.map +1 -1
- package/dist/actions/get-insight.d.cts +3 -4
- package/dist/actions/get-insight.d.cts.map +1 -1
- package/dist/actions/get-insight.d.mts +3 -4
- package/dist/actions/get-insight.d.mts.map +1 -1
- package/dist/actions/get-insight.mjs +1 -0
- package/dist/actions/get-insight.mjs.map +1 -1
- package/dist/actions/get-issue.cjs +1 -0
- package/dist/actions/get-issue.cjs.map +1 -1
- package/dist/actions/get-issue.d.cts +3 -5
- package/dist/actions/get-issue.d.cts.map +1 -1
- package/dist/actions/get-issue.d.mts +3 -5
- package/dist/actions/get-issue.d.mts.map +1 -1
- package/dist/actions/get-issue.mjs +1 -0
- package/dist/actions/get-issue.mjs.map +1 -1
- package/dist/actions/get-linear-options.cjs +1 -0
- package/dist/actions/get-linear-options.cjs.map +1 -1
- package/dist/actions/get-linear-options.d.cts +3 -1
- package/dist/actions/get-linear-options.d.cts.map +1 -1
- package/dist/actions/get-linear-options.d.mts +3 -1
- package/dist/actions/get-linear-options.d.mts.map +1 -1
- package/dist/actions/get-linear-options.mjs +1 -0
- package/dist/actions/get-linear-options.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -5
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -5
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +1 -0
- package/dist/actions/get-workspace.cjs.map +1 -1
- package/dist/actions/get-workspace.d.cts +3 -3
- package/dist/actions/get-workspace.d.cts.map +1 -1
- package/dist/actions/get-workspace.d.mts +3 -3
- package/dist/actions/get-workspace.d.mts.map +1 -1
- package/dist/actions/get-workspace.mjs +1 -0
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/invite-user.cjs +1 -0
- package/dist/actions/invite-user.cjs.map +1 -1
- package/dist/actions/invite-user.d.cts +3 -5
- package/dist/actions/invite-user.d.cts.map +1 -1
- package/dist/actions/invite-user.d.mts +3 -5
- package/dist/actions/invite-user.d.mts.map +1 -1
- package/dist/actions/invite-user.mjs +1 -0
- package/dist/actions/invite-user.mjs.map +1 -1
- package/dist/actions/list-changelogs.cjs +1 -0
- package/dist/actions/list-changelogs.cjs.map +1 -1
- package/dist/actions/list-changelogs.d.cts +3 -4
- package/dist/actions/list-changelogs.d.cts.map +1 -1
- package/dist/actions/list-changelogs.d.mts +3 -4
- package/dist/actions/list-changelogs.d.mts.map +1 -1
- package/dist/actions/list-changelogs.mjs +1 -0
- package/dist/actions/list-changelogs.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +1 -0
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +3 -6
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +3 -6
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +1 -0
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -4
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -4
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-help-center-articles.cjs +1 -0
- package/dist/actions/list-help-center-articles.cjs.map +1 -1
- package/dist/actions/list-help-center-articles.d.cts +3 -4
- package/dist/actions/list-help-center-articles.d.cts.map +1 -1
- package/dist/actions/list-help-center-articles.d.mts +3 -4
- package/dist/actions/list-help-center-articles.d.mts.map +1 -1
- package/dist/actions/list-help-center-articles.mjs +1 -0
- package/dist/actions/list-help-center-articles.mjs.map +1 -1
- package/dist/actions/list-insights.cjs +1 -0
- package/dist/actions/list-insights.cjs.map +1 -1
- package/dist/actions/list-insights.d.cts +3 -7
- package/dist/actions/list-insights.d.cts.map +1 -1
- package/dist/actions/list-insights.d.mts +3 -7
- package/dist/actions/list-insights.d.mts.map +1 -1
- package/dist/actions/list-insights.mjs +1 -0
- package/dist/actions/list-insights.mjs.map +1 -1
- package/dist/actions/list-issues.cjs +1 -0
- package/dist/actions/list-issues.cjs.map +1 -1
- package/dist/actions/list-issues.d.cts +3 -4
- package/dist/actions/list-issues.d.cts.map +1 -1
- package/dist/actions/list-issues.d.mts +3 -4
- package/dist/actions/list-issues.d.mts.map +1 -1
- package/dist/actions/list-issues.mjs +1 -0
- package/dist/actions/list-issues.mjs.map +1 -1
- package/dist/actions/list-members.cjs +1 -0
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +3 -1
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -1
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +1 -0
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -4
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -4
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/update-company.cjs +1 -0
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +3 -14
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +3 -14
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +1 -0
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -8
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -8
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-insight.cjs +1 -0
- package/dist/actions/update-insight.cjs.map +1 -1
- package/dist/actions/update-insight.d.cts +3 -15
- package/dist/actions/update-insight.d.cts.map +1 -1
- package/dist/actions/update-insight.d.mts +3 -15
- package/dist/actions/update-insight.d.mts.map +1 -1
- package/dist/actions/update-insight.mjs +1 -0
- package/dist/actions/update-insight.mjs.map +1 -1
- package/dist/actions/widget-close.cjs +1 -0
- package/dist/actions/widget-close.cjs.map +1 -1
- package/dist/actions/widget-close.d.cts +3 -1
- package/dist/actions/widget-close.d.cts.map +1 -1
- package/dist/actions/widget-close.d.mts +3 -1
- package/dist/actions/widget-close.d.mts.map +1 -1
- package/dist/actions/widget-close.mjs +1 -0
- package/dist/actions/widget-close.mjs.map +1 -1
- package/dist/actions/widget-disable.cjs +1 -0
- package/dist/actions/widget-disable.cjs.map +1 -1
- package/dist/actions/widget-disable.d.cts +3 -1
- package/dist/actions/widget-disable.d.cts.map +1 -1
- package/dist/actions/widget-disable.d.mts +3 -1
- package/dist/actions/widget-disable.d.mts.map +1 -1
- package/dist/actions/widget-disable.mjs +1 -0
- package/dist/actions/widget-disable.mjs.map +1 -1
- package/dist/actions/widget-off-event.cjs +1 -0
- package/dist/actions/widget-off-event.cjs.map +1 -1
- package/dist/actions/widget-off-event.d.cts +3 -4
- package/dist/actions/widget-off-event.d.cts.map +1 -1
- package/dist/actions/widget-off-event.d.mts +3 -4
- package/dist/actions/widget-off-event.d.mts.map +1 -1
- package/dist/actions/widget-off-event.mjs +1 -0
- package/dist/actions/widget-off-event.mjs.map +1 -1
- package/dist/actions/widget-on-event.cjs +1 -0
- package/dist/actions/widget-on-event.cjs.map +1 -1
- package/dist/actions/widget-on-event.d.cts +3 -4
- package/dist/actions/widget-on-event.d.cts.map +1 -1
- package/dist/actions/widget-on-event.d.mts +3 -4
- package/dist/actions/widget-on-event.d.mts.map +1 -1
- package/dist/actions/widget-on-event.mjs +1 -0
- package/dist/actions/widget-on-event.mjs.map +1 -1
- package/dist/actions/widget-open-docs.cjs +1 -0
- package/dist/actions/widget-open-docs.cjs.map +1 -1
- package/dist/actions/widget-open-docs.d.cts +3 -4
- package/dist/actions/widget-open-docs.d.cts.map +1 -1
- package/dist/actions/widget-open-docs.d.mts +3 -4
- package/dist/actions/widget-open-docs.d.mts.map +1 -1
- package/dist/actions/widget-open-docs.mjs +1 -0
- package/dist/actions/widget-open-docs.mjs.map +1 -1
- package/dist/actions/widget-open.cjs +1 -0
- package/dist/actions/widget-open.cjs.map +1 -1
- package/dist/actions/widget-open.d.cts +3 -3
- package/dist/actions/widget-open.d.cts.map +1 -1
- package/dist/actions/widget-open.d.mts +3 -3
- package/dist/actions/widget-open.d.mts.map +1 -1
- package/dist/actions/widget-open.mjs +1 -0
- package/dist/actions/widget-open.mjs.map +1 -1
- package/dist/actions/widget-toggle.cjs +1 -0
- package/dist/actions/widget-toggle.cjs.map +1 -1
- package/dist/actions/widget-toggle.d.cts +3 -1
- package/dist/actions/widget-toggle.d.cts.map +1 -1
- package/dist/actions/widget-toggle.d.mts +3 -1
- package/dist/actions/widget-toggle.d.mts.map +1 -1
- package/dist/actions/widget-toggle.mjs +1 -0
- package/dist/actions/widget-toggle.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-insight.mjs","names":[],"sources":["../../src/actions/update-insight.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateInsightInput = z.object({\n id: z.string().describe(\"Unique identifier of the insight to update\"),\n text: z.string().describe(\"Updated text content for the insight\").optional(),\n state: z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight\").optional(),\n title: z.string().describe(\"Updated title for the insight\").optional(),\n notify: z.object({\n email: z.boolean().describe(\"Whether to send email notification\").optional(),\n slack: z.boolean().describe(\"Whether to send Slack notification\").optional(),\n}).describe(\"Notification settings for the update\").optional(),\n tagIds: z.array(z.string()).describe(\"List of tag IDs to associate with this insight\").optional(),\n companyId: z.string().describe(\"ID of the company to associate with this insight\").optional(),\n contactId: z.string().describe(\"ID of the contact to associate with this insight\").optional(),\n painLevel: z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level for the insight\").optional(),\n projectId: z.string().describe(\"ID of the project to associate with this insight\").optional(),\n}).describe(\"Request model for updating an insight (thread)\");\nconst ProductlaneUpdateInsight_TagInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the tag\").nullable(),\n icon: z.string().describe(\"Icon identifier for the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code for the tag\").nullable(),\n tagGroupId: z.string().describe(\"ID of the tag group this tag belongs to\").nullable(),\n}).passthrough().describe(\"Information about a tag\");\nconst ProductlaneUpdateInsight_InsightStateSchema = z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight\");\nconst ProductlaneUpdateInsight_InsightOriginSchema = z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Origin of the insight\");\nconst ProductlaneUpdateInsight_PainLevelSchema = z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level for the insight\");\nexport const ProductlaneUpdateInsightOutput = z.object({\n id: z.string().describe(\"Unique identifier of the insight\").nullable(),\n tags: z.array(ProductlaneUpdateInsight_TagInfoSchema).describe(\"Tags associated with this insight\").nullable().optional(),\n text: z.string().describe(\"Text content of the insight\").nullable(),\n state: ProductlaneUpdateInsight_InsightStateSchema.nullable(),\n title: z.string().describe(\"Title of the insight\").nullable().optional(),\n origin: ProductlaneUpdateInsight_InsightOriginSchema.nullable(),\n frontId: z.string().describe(\"Front ID if from Front\").nullable().optional(),\n plainId: z.string().describe(\"Plain ID if from Plain\").nullable().optional(),\n videoId: z.string().describe(\"ID of associated video\").nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier for the insight\").nullable().optional(),\n companyId: z.string().describe(\"ID of the associated company\").nullable().optional(),\n contactId: z.string().describe(\"ID of the associated contact\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when insight was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID if from HubSpot\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the insight has been deleted\").nullable(),\n painLevel: ProductlaneUpdateInsight_PainLevelSchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when insight was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk ID if from Zendesk\").nullable().optional(),\n assigneeId: z.string().describe(\"ID of the user assigned to this insight\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom ID if from Intercom\").nullable().optional(),\n reporterId: z.string().describe(\"ID of the user who reported this insight\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments\").nullable().optional(),\n recordingId: z.string().describe(\"ID of associated recording\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this insight belongs to\").nullable(),\n slackReplyId: z.string().describe(\"Slack reply ID\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until when the insight is snoozed\").nullable().optional(),\n productboardId: z.string().describe(\"Productboard ID if linked\").nullable().optional(),\n showRecordCall: z.boolean().describe(\"Whether to show record call option\").nullable(),\n slackChannelId: z.string().describe(\"Slack channel ID if from Slack\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of last state change\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Linear attachment ID\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last inbound message\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last outbound message\").nullable().optional(),\n}).passthrough().describe(\"Response model for update insight action\");\n\nexport const productlaneUpdateInsight = action(\"PRODUCTLANE_UPDATE_INSIGHT\", {\n slug: \"productlane-update-insight\",\n name: \"Update Insight\",\n description: \"Tool to update an existing insight (thread) by ID. Use when you need to modify insight properties such as title, state, pain level, or associations with projects, companies, or contacts.\",\n input: ProductlaneUpdateInsightInput,\n output: ProductlaneUpdateInsightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,KAAK;EAAC;EAAO;EAAa;EAAa;EAAW;CAAW,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,QAA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,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-insight.mjs","names":[],"sources":["../../src/actions/update-insight.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { productlane } from \"../app\";\n\nexport const ProductlaneUpdateInsightInput = z.object({\n id: z.string().describe(\"Unique identifier of the insight to update\"),\n text: z.string().describe(\"Updated text content for the insight\").optional(),\n state: z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight\").optional(),\n title: z.string().describe(\"Updated title for the insight\").optional(),\n notify: z.object({\n email: z.boolean().describe(\"Whether to send email notification\").optional(),\n slack: z.boolean().describe(\"Whether to send Slack notification\").optional(),\n}).describe(\"Notification settings for the update\").optional(),\n tagIds: z.array(z.string()).describe(\"List of tag IDs to associate with this insight\").optional(),\n companyId: z.string().describe(\"ID of the company to associate with this insight\").optional(),\n contactId: z.string().describe(\"ID of the contact to associate with this insight\").optional(),\n painLevel: z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level for the insight\").optional(),\n projectId: z.string().describe(\"ID of the project to associate with this insight\").optional(),\n}).describe(\"Request model for updating an insight (thread)\");\nconst ProductlaneUpdateInsight_TagInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the tag\").nullable(),\n icon: z.string().describe(\"Icon identifier for the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code for the tag\").nullable(),\n tagGroupId: z.string().describe(\"ID of the tag group this tag belongs to\").nullable(),\n}).passthrough().describe(\"Information about a tag\");\nconst ProductlaneUpdateInsight_InsightStateSchema = z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight\");\nconst ProductlaneUpdateInsight_InsightOriginSchema = z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Origin of the insight\");\nconst ProductlaneUpdateInsight_PainLevelSchema = z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level for the insight\");\nexport const ProductlaneUpdateInsightOutput = z.object({\n id: z.string().describe(\"Unique identifier of the insight\").nullable(),\n tags: z.array(ProductlaneUpdateInsight_TagInfoSchema).describe(\"Tags associated with this insight\").nullable().optional(),\n text: z.string().describe(\"Text content of the insight\").nullable(),\n state: ProductlaneUpdateInsight_InsightStateSchema.nullable(),\n title: z.string().describe(\"Title of the insight\").nullable().optional(),\n origin: ProductlaneUpdateInsight_InsightOriginSchema.nullable(),\n frontId: z.string().describe(\"Front ID if from Front\").nullable().optional(),\n plainId: z.string().describe(\"Plain ID if from Plain\").nullable().optional(),\n videoId: z.string().describe(\"ID of associated video\").nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier for the insight\").nullable().optional(),\n companyId: z.string().describe(\"ID of the associated company\").nullable().optional(),\n contactId: z.string().describe(\"ID of the associated contact\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when insight was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID if from HubSpot\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the insight has been deleted\").nullable(),\n painLevel: ProductlaneUpdateInsight_PainLevelSchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when insight was last updated\").nullable(),\n zendeskId: z.string().describe(\"Zendesk ID if from Zendesk\").nullable().optional(),\n assigneeId: z.string().describe(\"ID of the user assigned to this insight\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom ID if from Intercom\").nullable().optional(),\n reporterId: z.string().describe(\"ID of the user who reported this insight\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments\").nullable().optional(),\n recordingId: z.string().describe(\"ID of associated recording\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this insight belongs to\").nullable(),\n slackReplyId: z.string().describe(\"Slack reply ID\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until when the insight is snoozed\").nullable().optional(),\n productboardId: z.string().describe(\"Productboard ID if linked\").nullable().optional(),\n showRecordCall: z.boolean().describe(\"Whether to show record call option\").nullable(),\n slackChannelId: z.string().describe(\"Slack channel ID if from Slack\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of last state change\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Linear attachment ID\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last inbound message\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last outbound message\").nullable().optional(),\n}).passthrough().describe(\"Response model for update insight action\");\n\nexport const productlaneUpdateInsight: AppAction<\n typeof ProductlaneUpdateInsightInput,\n typeof ProductlaneUpdateInsightOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_UPDATE_INSIGHT\", {\n slug: \"productlane-update-insight\",\n name: \"Update Insight\",\n description: \"Tool to update an existing insight (thread) by ID. Use when you need to modify insight properties such as title, state, pain level, or associations with projects, companies, or contacts.\",\n input: ProductlaneUpdateInsightInput,\n output: ProductlaneUpdateInsightOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,KAAK;EAAC;EAAO;EAAa;EAAa;EAAW;CAAW,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,KAAK;EAAC;EAAW;EAAO;EAAU;CAAM,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,O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AAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-close.cjs","names":["z","action"],"sources":["../../src/actions/widget-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetCloseInput = z.object({}).describe(\"Request model for closing the Productlane widget.\\nNo parameters are required.\");\nexport const ProductlaneWidgetCloseOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to close the Productlane widget.\").nullable(),\n}).passthrough().describe(\"Response model for closing the Productlane widget.\");\n\nexport const productlaneWidgetClose = action(\"PRODUCTLANE_WIDGET_CLOSE\", {\n slug: \"productlane-widget-close\",\n name: \"Close Productlane Widget\",\n description: \"Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.\",\n input: ProductlaneWidgetCloseInput,\n output: ProductlaneWidgetCloseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-close.cjs","names":["z","action"],"sources":["../../src/actions/widget-close.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 ProductlaneWidgetCloseInput = z.object({}).describe(\"Request model for closing the Productlane widget.\\nNo parameters are required.\");\nexport const ProductlaneWidgetCloseOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to close the Productlane widget.\").nullable(),\n}).passthrough().describe(\"Response model for closing the Productlane widget.\");\n\nexport const productlaneWidgetClose: AppAction<\n typeof ProductlaneWidgetCloseInput,\n typeof ProductlaneWidgetCloseOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_CLOSE\", {\n slug: \"productlane-widget-close\",\n name: \"Close Productlane Widget\",\n description: \"Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.\",\n input: ProductlaneWidgetCloseInput,\n output: ProductlaneWidgetCloseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACjJ,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,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/widget-close.d.ts
|
|
@@ -5,7 +7,7 @@ declare const ProductlaneWidgetCloseInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const ProductlaneWidgetCloseOutput: z.ZodObject<{
|
|
6
8
|
script: z.ZodNullable<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const productlaneWidgetClose:
|
|
10
|
+
declare const productlaneWidgetClose: AppAction<typeof ProductlaneWidgetCloseInput, typeof ProductlaneWidgetCloseOutput, typeof productlane.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { productlaneWidgetClose };
|
|
11
13
|
//# sourceMappingURL=widget-close.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-close.d.cts","names":[],"sources":["../../src/actions/widget-close.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-close.d.cts","names":[],"sources":["../../src/actions/widget-close.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,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/widget-close.d.ts
|
|
@@ -5,7 +7,7 @@ declare const ProductlaneWidgetCloseInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const ProductlaneWidgetCloseOutput: z.ZodObject<{
|
|
6
8
|
script: z.ZodNullable<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const productlaneWidgetClose:
|
|
10
|
+
declare const productlaneWidgetClose: AppAction<typeof ProductlaneWidgetCloseInput, typeof ProductlaneWidgetCloseOutput, typeof productlane.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { productlaneWidgetClose };
|
|
11
13
|
//# sourceMappingURL=widget-close.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-close.d.mts","names":[],"sources":["../../src/actions/widget-close.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-close.d.mts","names":[],"sources":["../../src/actions/widget-close.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-close.mjs","names":[],"sources":["../../src/actions/widget-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetCloseInput = z.object({}).describe(\"Request model for closing the Productlane widget.\\nNo parameters are required.\");\nexport const ProductlaneWidgetCloseOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to close the Productlane widget.\").nullable(),\n}).passthrough().describe(\"Response model for closing the Productlane widget.\");\n\nexport const productlaneWidgetClose = action(\"PRODUCTLANE_WIDGET_CLOSE\", {\n slug: \"productlane-widget-close\",\n name: \"Close Productlane Widget\",\n description: \"Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.\",\n input: ProductlaneWidgetCloseInput,\n output: ProductlaneWidgetCloseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-close.mjs","names":[],"sources":["../../src/actions/widget-close.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 ProductlaneWidgetCloseInput = z.object({}).describe(\"Request model for closing the Productlane widget.\\nNo parameters are required.\");\nexport const ProductlaneWidgetCloseOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to close the Productlane widget.\").nullable(),\n}).passthrough().describe(\"Response model for closing the Productlane widget.\");\n\nexport const productlaneWidgetClose: AppAction<\n typeof ProductlaneWidgetCloseInput,\n typeof ProductlaneWidgetCloseOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_CLOSE\", {\n slug: \"productlane-widget-close\",\n name: \"Close Productlane Widget\",\n description: \"Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.\",\n input: ProductlaneWidgetCloseInput,\n output: ProductlaneWidgetCloseOutput,\n});\n"],"mappings":";;;AAWA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAaxD;CACP,QAb0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-disable.cjs","names":["z","action"],"sources":["../../src/actions/widget-disable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetDisableInput = z.object({}).describe(\"No parameters required to disable the Productlane widget.\");\nexport const ProductlaneWidgetDisableOutput = z.object({\n message: z.string().describe(\"Client-side instruction to invoke Productlane.disable()\").nullable(),\n success: z.boolean().describe(\"True if the widget disable instruction was generated successfully\").nullable(),\n}).passthrough().describe(\"Response schema for disabling the Productlane widget.\");\n\nexport const productlaneWidgetDisable = action(\"PRODUCTLANE_WIDGET_DISABLE\", {\n slug: \"productlane-widget-disable\",\n name: \"Disable Productlane Widget\",\n description: \"Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.\",\n input: ProductlaneWidgetDisableInput,\n output: ProductlaneWidgetDisableOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-disable.cjs","names":["z","action"],"sources":["../../src/actions/widget-disable.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 ProductlaneWidgetDisableInput = z.object({}).describe(\"No parameters required to disable the Productlane widget.\");\nexport const ProductlaneWidgetDisableOutput = z.object({\n message: z.string().describe(\"Client-side instruction to invoke Productlane.disable()\").nullable(),\n success: z.boolean().describe(\"True if the widget disable instruction was generated successfully\").nullable(),\n}).passthrough().describe(\"Response schema for disabling the Productlane widget.\");\n\nexport const productlaneWidgetDisable: AppAction<\n typeof ProductlaneWidgetDisableInput,\n typeof ProductlaneWidgetDisableOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_DISABLE\", {\n slug: \"productlane-widget-disable\",\n name: \"Disable Productlane Widget\",\n description: \"Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.\",\n input: ProductlaneWidgetDisableInput,\n output: ProductlaneWidgetDisableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC9H,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/widget-disable.d.ts
|
|
@@ -6,7 +8,7 @@ declare const ProductlaneWidgetDisableOutput: z.ZodObject<{
|
|
|
6
8
|
message: z.ZodNullable<z.ZodString>;
|
|
7
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const productlaneWidgetDisable:
|
|
11
|
+
declare const productlaneWidgetDisable: AppAction<typeof ProductlaneWidgetDisableInput, typeof ProductlaneWidgetDisableOutput, typeof productlane.credential>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { productlaneWidgetDisable };
|
|
12
14
|
//# sourceMappingURL=widget-disable.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-disable.d.cts","names":[],"sources":["../../src/actions/widget-disable.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-disable.d.cts","names":[],"sources":["../../src/actions/widget-disable.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/widget-disable.d.ts
|
|
@@ -6,7 +8,7 @@ declare const ProductlaneWidgetDisableOutput: z.ZodObject<{
|
|
|
6
8
|
message: z.ZodNullable<z.ZodString>;
|
|
7
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const productlaneWidgetDisable:
|
|
11
|
+
declare const productlaneWidgetDisable: AppAction<typeof ProductlaneWidgetDisableInput, typeof ProductlaneWidgetDisableOutput, typeof productlane.credential>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { productlaneWidgetDisable };
|
|
12
14
|
//# sourceMappingURL=widget-disable.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-disable.d.mts","names":[],"sources":["../../src/actions/widget-disable.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-disable.d.mts","names":[],"sources":["../../src/actions/widget-disable.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-disable.mjs","names":[],"sources":["../../src/actions/widget-disable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetDisableInput = z.object({}).describe(\"No parameters required to disable the Productlane widget.\");\nexport const ProductlaneWidgetDisableOutput = z.object({\n message: z.string().describe(\"Client-side instruction to invoke Productlane.disable()\").nullable(),\n success: z.boolean().describe(\"True if the widget disable instruction was generated successfully\").nullable(),\n}).passthrough().describe(\"Response schema for disabling the Productlane widget.\");\n\nexport const productlaneWidgetDisable = action(\"PRODUCTLANE_WIDGET_DISABLE\", {\n slug: \"productlane-widget-disable\",\n name: \"Disable Productlane Widget\",\n description: \"Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.\",\n input: ProductlaneWidgetDisableInput,\n output: ProductlaneWidgetDisableOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-disable.mjs","names":[],"sources":["../../src/actions/widget-disable.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 ProductlaneWidgetDisableInput = z.object({}).describe(\"No parameters required to disable the Productlane widget.\");\nexport const ProductlaneWidgetDisableOutput = z.object({\n message: z.string().describe(\"Client-side instruction to invoke Productlane.disable()\").nullable(),\n success: z.boolean().describe(\"True if the widget disable instruction was generated successfully\").nullable(),\n}).passthrough().describe(\"Response schema for disabling the Productlane widget.\");\n\nexport const productlaneWidgetDisable: AppAction<\n typeof ProductlaneWidgetDisableInput,\n typeof ProductlaneWidgetDisableOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_DISABLE\", {\n slug: \"productlane-widget-disable\",\n name: \"Disable Productlane Widget\",\n description: \"Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.\",\n input: ProductlaneWidgetDisableInput,\n output: ProductlaneWidgetDisableOutput,\n});\n"],"mappings":";;;AAYA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAc1D;CACP,QAd4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-off-event.cjs","names":["z","action"],"sources":["../../src/actions/widget-off-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOffEventInput = z.object({\n event: z.enum([\"loaded\", \"opened\", \"closed\", \"toggled\", \"customLinkClicked\", \"openDocsPage\"]).describe(\"The widget event name to unregister.\"),\n callback: z.string().describe(\"The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().\"),\n}).describe(\"Request model for removing a widget event listener.\");\nexport const ProductlaneWidgetOffEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet that calls Productlane.off for the specified event and callback.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to remove the widget event listener.\");\n\nexport const productlaneWidgetOffEvent = action(\"PRODUCTLANE_WIDGET_OFF_EVENT\", {\n slug: \"productlane-widget-off-event\",\n name: \"Widget off event\",\n description: \"Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.\",\n input: ProductlaneWidgetOffEventInput,\n output: ProductlaneWidgetOffEventOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-off-event.cjs","names":["z","action"],"sources":["../../src/actions/widget-off-event.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 ProductlaneWidgetOffEventInput = z.object({\n event: z.enum([\"loaded\", \"opened\", \"closed\", \"toggled\", \"customLinkClicked\", \"openDocsPage\"]).describe(\"The widget event name to unregister.\"),\n callback: z.string().describe(\"The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().\"),\n}).describe(\"Request model for removing a widget event listener.\");\nexport const ProductlaneWidgetOffEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet that calls Productlane.off for the specified event and callback.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to remove the widget event listener.\");\n\nexport const productlaneWidgetOffEvent: AppAction<\n typeof ProductlaneWidgetOffEventInput,\n typeof ProductlaneWidgetOffEventOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_OFF_EVENT\", {\n slug: \"productlane-widget-off-event\",\n name: \"Widget off event\",\n description: \"Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.\",\n input: ProductlaneWidgetOffEventInput,\n output: ProductlaneWidgetOffEventOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAU;EAAU;EAAW;EAAqB;CAAc,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;AACpJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/widget-off-event.d.ts
|
|
@@ -15,10 +17,7 @@ declare const ProductlaneWidgetOffEventInput: z.ZodObject<{
|
|
|
15
17
|
declare const ProductlaneWidgetOffEventOutput: z.ZodObject<{
|
|
16
18
|
snippet: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const productlaneWidgetOffEvent:
|
|
19
|
-
event: "loaded" | "opened" | "closed" | "toggled" | "customLinkClicked" | "openDocsPage";
|
|
20
|
-
callback: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const productlaneWidgetOffEvent: AppAction<typeof ProductlaneWidgetOffEventInput, typeof ProductlaneWidgetOffEventOutput, typeof productlane.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { productlaneWidgetOffEvent };
|
|
24
23
|
//# sourceMappingURL=widget-off-event.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-off-event.d.cts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-off-event.d.cts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/widget-off-event.d.ts
|
|
@@ -15,10 +17,7 @@ declare const ProductlaneWidgetOffEventInput: z.ZodObject<{
|
|
|
15
17
|
declare const ProductlaneWidgetOffEventOutput: z.ZodObject<{
|
|
16
18
|
snippet: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const productlaneWidgetOffEvent:
|
|
19
|
-
event: "loaded" | "opened" | "closed" | "toggled" | "customLinkClicked" | "openDocsPage";
|
|
20
|
-
callback: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const productlaneWidgetOffEvent: AppAction<typeof ProductlaneWidgetOffEventInput, typeof ProductlaneWidgetOffEventOutput, typeof productlane.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { productlaneWidgetOffEvent };
|
|
24
23
|
//# sourceMappingURL=widget-off-event.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-off-event.d.mts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-off-event.d.mts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-off-event.mjs","names":[],"sources":["../../src/actions/widget-off-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOffEventInput = z.object({\n event: z.enum([\"loaded\", \"opened\", \"closed\", \"toggled\", \"customLinkClicked\", \"openDocsPage\"]).describe(\"The widget event name to unregister.\"),\n callback: z.string().describe(\"The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().\"),\n}).describe(\"Request model for removing a widget event listener.\");\nexport const ProductlaneWidgetOffEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet that calls Productlane.off for the specified event and callback.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to remove the widget event listener.\");\n\nexport const productlaneWidgetOffEvent = action(\"PRODUCTLANE_WIDGET_OFF_EVENT\", {\n slug: \"productlane-widget-off-event\",\n name: \"Widget off event\",\n description: \"Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.\",\n input: ProductlaneWidgetOffEventInput,\n output: ProductlaneWidgetOffEventOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-off-event.mjs","names":[],"sources":["../../src/actions/widget-off-event.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 ProductlaneWidgetOffEventInput = z.object({\n event: z.enum([\"loaded\", \"opened\", \"closed\", \"toggled\", \"customLinkClicked\", \"openDocsPage\"]).describe(\"The widget event name to unregister.\"),\n callback: z.string().describe(\"The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().\"),\n}).describe(\"Request model for removing a widget event listener.\");\nexport const ProductlaneWidgetOffEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet that calls Productlane.off for the specified event and callback.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to remove the widget event listener.\");\n\nexport const productlaneWidgetOffEvent: AppAction<\n typeof ProductlaneWidgetOffEventInput,\n typeof ProductlaneWidgetOffEventOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_OFF_EVENT\", {\n slug: \"productlane-widget-off-event\",\n name: \"Widget off event\",\n description: \"Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.\",\n input: ProductlaneWidgetOffEventInput,\n output: ProductlaneWidgetOffEventOutput,\n});\n"],"mappings":";;;AAcA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO;EACrD,OAAO,EAAE,KAAK;GAAC;GAAU;GAAU;GAAU;GAAW;GAAqB;EAAc,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CACpJ,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-on-event.cjs","names":["z","action"],"sources":["../../src/actions/widget-on-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOnEventInput = z.object({\n event: z.enum([\"open\", \"close\", \"widgetLoaded\", \"submit\"]).describe(\"Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'.\"),\n callback: z.string().describe(\"JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.\"),\n}).describe(\"Request model for registering a widget event listener.\");\nexport const ProductlaneWidgetOnEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet to register the event listener.\").nullable(),\n}).passthrough().describe(\"Response model containing the JS snippet for widget event registration.\");\n\nexport const productlaneWidgetOnEvent = action(\"PRODUCTLANE_WIDGET_ON_EVENT\", {\n slug: \"productlane-widget-on-event\",\n name: \"Register Widget Event Listener\",\n description: \"Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.\",\n input: ProductlaneWidgetOnEventInput,\n output: ProductlaneWidgetOnEventOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-on-event.cjs","names":["z","action"],"sources":["../../src/actions/widget-on-event.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 ProductlaneWidgetOnEventInput = z.object({\n event: z.enum([\"open\", \"close\", \"widgetLoaded\", \"submit\"]).describe(\"Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'.\"),\n callback: z.string().describe(\"JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.\"),\n}).describe(\"Request model for registering a widget event listener.\");\nexport const ProductlaneWidgetOnEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet to register the event listener.\").nullable(),\n}).passthrough().describe(\"Response model containing the JS snippet for widget event registration.\");\n\nexport const productlaneWidgetOnEvent: AppAction<\n typeof ProductlaneWidgetOnEventInput,\n typeof ProductlaneWidgetOnEventOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_ON_EVENT\", {\n slug: \"productlane-widget-on-event\",\n name: \"Register Widget Event Listener\",\n description: \"Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.\",\n input: ProductlaneWidgetOnEventInput,\n output: ProductlaneWidgetOnEventOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAgB;CAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;AAC7I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/widget-on-event.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ProductlaneWidgetOnEventInput: z.ZodObject<{
|
|
|
13
15
|
declare const ProductlaneWidgetOnEventOutput: z.ZodObject<{
|
|
14
16
|
snippet: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const productlaneWidgetOnEvent:
|
|
17
|
-
event: "open" | "close" | "widgetLoaded" | "submit";
|
|
18
|
-
callback: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const productlaneWidgetOnEvent: AppAction<typeof ProductlaneWidgetOnEventInput, typeof ProductlaneWidgetOnEventOutput, typeof productlane.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { productlaneWidgetOnEvent };
|
|
22
21
|
//# sourceMappingURL=widget-on-event.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-on-event.d.cts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-on-event.d.cts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/widget-on-event.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ProductlaneWidgetOnEventInput: z.ZodObject<{
|
|
|
13
15
|
declare const ProductlaneWidgetOnEventOutput: z.ZodObject<{
|
|
14
16
|
snippet: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const productlaneWidgetOnEvent:
|
|
17
|
-
event: "open" | "close" | "widgetLoaded" | "submit";
|
|
18
|
-
callback: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const productlaneWidgetOnEvent: AppAction<typeof ProductlaneWidgetOnEventInput, typeof ProductlaneWidgetOnEventOutput, typeof productlane.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { productlaneWidgetOnEvent };
|
|
22
21
|
//# sourceMappingURL=widget-on-event.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-on-event.d.mts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-on-event.d.mts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-on-event.mjs","names":[],"sources":["../../src/actions/widget-on-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOnEventInput = z.object({\n event: z.enum([\"open\", \"close\", \"widgetLoaded\", \"submit\"]).describe(\"Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'.\"),\n callback: z.string().describe(\"JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.\"),\n}).describe(\"Request model for registering a widget event listener.\");\nexport const ProductlaneWidgetOnEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet to register the event listener.\").nullable(),\n}).passthrough().describe(\"Response model containing the JS snippet for widget event registration.\");\n\nexport const productlaneWidgetOnEvent = action(\"PRODUCTLANE_WIDGET_ON_EVENT\", {\n slug: \"productlane-widget-on-event\",\n name: \"Register Widget Event Listener\",\n description: \"Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.\",\n input: ProductlaneWidgetOnEventInput,\n output: ProductlaneWidgetOnEventOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-on-event.mjs","names":[],"sources":["../../src/actions/widget-on-event.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 ProductlaneWidgetOnEventInput = z.object({\n event: z.enum([\"open\", \"close\", \"widgetLoaded\", \"submit\"]).describe(\"Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'.\"),\n callback: z.string().describe(\"JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.\"),\n}).describe(\"Request model for registering a widget event listener.\");\nexport const ProductlaneWidgetOnEventOutput = z.object({\n snippet: z.string().describe(\"JavaScript code snippet to register the event listener.\").nullable(),\n}).passthrough().describe(\"Response model containing the JS snippet for widget event registration.\");\n\nexport const productlaneWidgetOnEvent: AppAction<\n typeof ProductlaneWidgetOnEventInput,\n typeof ProductlaneWidgetOnEventOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_ON_EVENT\", {\n slug: \"productlane-widget-on-event\",\n name: \"Register Widget Event Listener\",\n description: \"Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.\",\n input: ProductlaneWidgetOnEventInput,\n output: ProductlaneWidgetOnEventOutput,\n});\n"],"mappings":";;;AAcA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,OAAO,EAAE,KAAK;GAAC;GAAQ;GAAS;GAAgB;EAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG;EAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC7I,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAb4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open-docs.cjs","names":["z","action"],"sources":["../../src/actions/widget-open-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenDocsInput = z.object({\n document_id: z.string().describe(\"Internal ID of the docs article. Provide either this or document_url_name.\").optional(),\n document_url_name: z.string().describe(\"URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.\").optional(),\n}).describe(\"Request model for opening a specific documentation article in the Productlane widget.\\n\\nEither `document_url_name` or `document_id` must be provided (but not both).\");\nexport const ProductlaneWidgetOpenDocsOutput = z.object({\n script: z.string().describe(\"JavaScript snippet to execute on the client to open the documentation article.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to open the targeted docs article.\");\n\nexport const productlaneWidgetOpenDocs = action(\"PRODUCTLANE_WIDGET_OPEN_DOCS\", {\n slug: \"productlane-widget-open-docs\",\n name: \"Open Productlane Docs Article in Widget\",\n description: \"Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.\",\n input: ProductlaneWidgetOpenDocsInput,\n output: ProductlaneWidgetOpenDocsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open-docs.cjs","names":["z","action"],"sources":["../../src/actions/widget-open-docs.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 ProductlaneWidgetOpenDocsInput = z.object({\n document_id: z.string().describe(\"Internal ID of the docs article. Provide either this or document_url_name.\").optional(),\n document_url_name: z.string().describe(\"URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.\").optional(),\n}).describe(\"Request model for opening a specific documentation article in the Productlane widget.\\n\\nEither `document_url_name` or `document_id` must be provided (but not both).\");\nexport const ProductlaneWidgetOpenDocsOutput = z.object({\n script: z.string().describe(\"JavaScript snippet to execute on the client to open the documentation article.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to open the targeted docs article.\");\n\nexport const productlaneWidgetOpenDocs: AppAction<\n typeof ProductlaneWidgetOpenDocsInput,\n typeof ProductlaneWidgetOpenDocsOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_OPEN_DOCS\", {\n slug: \"productlane-widget-open-docs\",\n name: \"Open Productlane Docs Article in Widget\",\n description: \"Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.\",\n input: ProductlaneWidgetOpenDocsInput,\n output: ProductlaneWidgetOpenDocsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uKAAuK;AACnL,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAE/G,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/widget-open-docs.d.ts
|
|
@@ -8,10 +10,7 @@ declare const ProductlaneWidgetOpenDocsInput: z.ZodObject<{
|
|
|
8
10
|
declare const ProductlaneWidgetOpenDocsOutput: z.ZodObject<{
|
|
9
11
|
script: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const productlaneWidgetOpenDocs:
|
|
12
|
-
document_id?: string | undefined;
|
|
13
|
-
document_url_name?: string | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const productlaneWidgetOpenDocs: AppAction<typeof ProductlaneWidgetOpenDocsInput, typeof ProductlaneWidgetOpenDocsOutput, typeof productlane.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { productlaneWidgetOpenDocs };
|
|
17
16
|
//# sourceMappingURL=widget-open-docs.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open-docs.d.cts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open-docs.d.cts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/widget-open-docs.d.ts
|
|
@@ -8,10 +10,7 @@ declare const ProductlaneWidgetOpenDocsInput: z.ZodObject<{
|
|
|
8
10
|
declare const ProductlaneWidgetOpenDocsOutput: z.ZodObject<{
|
|
9
11
|
script: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const productlaneWidgetOpenDocs:
|
|
12
|
-
document_id?: string | undefined;
|
|
13
|
-
document_url_name?: string | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const productlaneWidgetOpenDocs: AppAction<typeof ProductlaneWidgetOpenDocsInput, typeof ProductlaneWidgetOpenDocsOutput, typeof productlane.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { productlaneWidgetOpenDocs };
|
|
17
16
|
//# sourceMappingURL=widget-open-docs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open-docs.d.mts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open-docs.d.mts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open-docs.mjs","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenDocsInput = z.object({\n document_id: z.string().describe(\"Internal ID of the docs article. Provide either this or document_url_name.\").optional(),\n document_url_name: z.string().describe(\"URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.\").optional(),\n}).describe(\"Request model for opening a specific documentation article in the Productlane widget.\\n\\nEither `document_url_name` or `document_id` must be provided (but not both).\");\nexport const ProductlaneWidgetOpenDocsOutput = z.object({\n script: z.string().describe(\"JavaScript snippet to execute on the client to open the documentation article.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to open the targeted docs article.\");\n\nexport const productlaneWidgetOpenDocs = action(\"PRODUCTLANE_WIDGET_OPEN_DOCS\", {\n slug: \"productlane-widget-open-docs\",\n name: \"Open Productlane Docs Article in Widget\",\n description: \"Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.\",\n input: ProductlaneWidgetOpenDocsInput,\n output: ProductlaneWidgetOpenDocsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open-docs.mjs","names":[],"sources":["../../src/actions/widget-open-docs.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 ProductlaneWidgetOpenDocsInput = z.object({\n document_id: z.string().describe(\"Internal ID of the docs article. Provide either this or document_url_name.\").optional(),\n document_url_name: z.string().describe(\"URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.\").optional(),\n}).describe(\"Request model for opening a specific documentation article in the Productlane widget.\\n\\nEither `document_url_name` or `document_id` must be provided (but not both).\");\nexport const ProductlaneWidgetOpenDocsOutput = z.object({\n script: z.string().describe(\"JavaScript snippet to execute on the client to open the documentation article.\").nullable(),\n}).passthrough().describe(\"Response model containing the JavaScript snippet to open the targeted docs article.\");\n\nexport const productlaneWidgetOpenDocs: AppAction<\n typeof ProductlaneWidgetOpenDocsInput,\n typeof ProductlaneWidgetOpenDocsOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_OPEN_DOCS\", {\n slug: \"productlane-widget-open-docs\",\n name: \"Open Productlane Docs Article in Widget\",\n description: \"Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.\",\n input: ProductlaneWidgetOpenDocsInput,\n output: ProductlaneWidgetOpenDocsOutput,\n});\n"],"mappings":";;;AAcA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO;EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,uKAaH;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.cjs","names":["z","action"],"sources":["../../src/actions/widget-open.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenInput = z.object({\n view: z.enum([\"INDEX\", \"CHANGELOG\", \"DOCS\", \"FEEDBACK\"]).describe(\"The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.\").optional(),\n});\nexport const ProductlaneWidgetOpenOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to open the Productlane widget.\").nullable(),\n}).passthrough();\n\nexport const productlaneWidgetOpen = action(\"PRODUCTLANE_WIDGET_OPEN\", {\n slug: \"productlane-widget-open\",\n name: \"Open Productlane Widget\",\n description: \"Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.\",\n input: ProductlaneWidgetOpenInput,\n output: ProductlaneWidgetOpenOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open.cjs","names":["z","action"],"sources":["../../src/actions/widget-open.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 ProductlaneWidgetOpenInput = z.object({\n view: z.enum([\"INDEX\", \"CHANGELOG\", \"DOCS\", \"FEEDBACK\"]).describe(\"The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.\").optional(),\n});\nexport const ProductlaneWidgetOpenOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to open the Productlane widget.\").nullable(),\n}).passthrough();\n\nexport const productlaneWidgetOpen: AppAction<\n typeof ProductlaneWidgetOpenInput,\n typeof ProductlaneWidgetOpenOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_OPEN\", {\n slug: \"productlane-widget-open\",\n name: \"Open Productlane Widget\",\n description: \"Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.\",\n input: ProductlaneWidgetOpenInput,\n output: ProductlaneWidgetOpenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAa;CAAQ;AAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,EACtM,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY;AAEf,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/widget-open.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ProductlaneWidgetOpenInput: z.ZodObject<{
|
|
|
12
14
|
declare const ProductlaneWidgetOpenOutput: z.ZodObject<{
|
|
13
15
|
script: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const productlaneWidgetOpen:
|
|
16
|
-
view?: "INDEX" | "CHANGELOG" | "DOCS" | "FEEDBACK" | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const productlaneWidgetOpen: AppAction<typeof ProductlaneWidgetOpenInput, typeof ProductlaneWidgetOpenOutput, typeof productlane.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { productlaneWidgetOpen };
|
|
20
20
|
//# sourceMappingURL=widget-open.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.d.cts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open.d.cts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAG1B,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/widget-open.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ProductlaneWidgetOpenInput: z.ZodObject<{
|
|
|
12
14
|
declare const ProductlaneWidgetOpenOutput: z.ZodObject<{
|
|
13
15
|
script: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const productlaneWidgetOpen:
|
|
16
|
-
view?: "INDEX" | "CHANGELOG" | "DOCS" | "FEEDBACK" | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const productlaneWidgetOpen: AppAction<typeof ProductlaneWidgetOpenInput, typeof ProductlaneWidgetOpenOutput, typeof productlane.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { productlaneWidgetOpen };
|
|
20
20
|
//# sourceMappingURL=widget-open.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.d.mts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open.d.mts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.mjs","names":[],"sources":["../../src/actions/widget-open.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenInput = z.object({\n view: z.enum([\"INDEX\", \"CHANGELOG\", \"DOCS\", \"FEEDBACK\"]).describe(\"The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.\").optional(),\n});\nexport const ProductlaneWidgetOpenOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to open the Productlane widget.\").nullable(),\n}).passthrough();\n\nexport const productlaneWidgetOpen = action(\"PRODUCTLANE_WIDGET_OPEN\", {\n slug: \"productlane-widget-open\",\n name: \"Open Productlane Widget\",\n description: \"Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.\",\n input: ProductlaneWidgetOpenInput,\n output: ProductlaneWidgetOpenOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-open.mjs","names":[],"sources":["../../src/actions/widget-open.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 ProductlaneWidgetOpenInput = z.object({\n view: z.enum([\"INDEX\", \"CHANGELOG\", \"DOCS\", \"FEEDBACK\"]).describe(\"The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.\").optional(),\n});\nexport const ProductlaneWidgetOpenOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to open the Productlane widget.\").nullable(),\n}).passthrough();\n\nexport const productlaneWidgetOpen: AppAction<\n typeof ProductlaneWidgetOpenInput,\n typeof ProductlaneWidgetOpenOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_OPEN\", {\n slug: \"productlane-widget-open\",\n name: \"Open Productlane Widget\",\n description: \"Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.\",\n input: ProductlaneWidgetOpenInput,\n output: ProductlaneWidgetOpenOutput,\n});\n"],"mappings":";;;AAaA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfwC,EAAE,OAAO,EACjD,MAAM,EAAE,KAAK;EAAC;EAAS;EAAa;EAAQ;CAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,EACtM,CAaS;CACP,QAbyC,EAAE,OAAO,EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-toggle.cjs","names":["z","action"],"sources":["../../src/actions/widget-toggle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetToggleInput = z.object({}).describe(\"Request schema for PRODUCTLANE_WIDGET_TOGGLE.\\nThis action does not require parameters; calling it toggles the widget.\");\nexport const ProductlaneWidgetToggleOutput = z.object({\n javascript: z.string().describe(\"JavaScript code snippet to toggle the Productlane widget\").nullable(),\n}).passthrough();\n\nexport const productlaneWidgetToggle = action(\"PRODUCTLANE_WIDGET_TOGGLE\", {\n slug: \"productlane-widget-toggle\",\n name: \"Toggle Productlane Widget\",\n description: \"Tool to toggle the Productlane widget between open and closed states. Use after widget initialization.\",\n input: ProductlaneWidgetToggleInput,\n output: ProductlaneWidgetToggleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-toggle.cjs","names":["z","action"],"sources":["../../src/actions/widget-toggle.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 ProductlaneWidgetToggleInput = z.object({}).describe(\"Request schema for PRODUCTLANE_WIDGET_TOGGLE.\\nThis action does not require parameters; calling it toggles the widget.\");\nexport const ProductlaneWidgetToggleOutput = z.object({\n javascript: z.string().describe(\"JavaScript code snippet to toggle the Productlane widget\").nullable(),\n}).passthrough();\n\nexport const productlaneWidgetToggle: AppAction<\n typeof ProductlaneWidgetToggleInput,\n typeof ProductlaneWidgetToggleOutput,\n typeof productlane.credential\n> = action(\"PRODUCTLANE_WIDGET_TOGGLE\", {\n slug: \"productlane-widget-toggle\",\n name: \"Toggle Productlane Widget\",\n description: \"Tool to toggle the Productlane widget between open and closed states. Use after widget initialization.\",\n input: ProductlaneWidgetToggleInput,\n output: ProductlaneWidgetToggleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AAC1L,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|