@keystrokehq/productlane 0.1.2 → 0.1.3
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/actions/create-changelog.cjs +1 -1
- package/dist/actions/create-changelog.cjs.map +1 -1
- package/dist/actions/create-changelog.d.cts +1 -1
- package/dist/actions/create-changelog.d.mts +1 -1
- package/dist/actions/create-changelog.mjs +1 -1
- package/dist/actions/create-changelog.mjs.map +1 -1
- package/dist/actions/create-company.cjs +1 -1
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +1 -1
- package/dist/actions/create-company.d.mts +1 -1
- package/dist/actions/create-company.mjs +1 -1
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -1
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +1 -1
- package/dist/actions/create-contact.d.mts +1 -1
- package/dist/actions/create-contact.mjs +1 -1
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-feedback.cjs +1 -1
- package/dist/actions/create-feedback.cjs.map +1 -1
- package/dist/actions/create-feedback.d.cts +1 -1
- package/dist/actions/create-feedback.d.mts +1 -1
- package/dist/actions/create-feedback.mjs +1 -1
- package/dist/actions/create-feedback.mjs.map +1 -1
- package/dist/actions/create-insight.cjs +6 -6
- package/dist/actions/create-insight.cjs.map +1 -1
- package/dist/actions/create-insight.d.cts +6 -6
- package/dist/actions/create-insight.d.mts +6 -6
- package/dist/actions/create-insight.mjs +6 -6
- package/dist/actions/create-insight.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +1 -1
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +1 -1
- package/dist/actions/create-thread.d.mts +1 -1
- package/dist/actions/create-thread.mjs +1 -1
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upvote.cjs +1 -1
- package/dist/actions/create-upvote.cjs.map +1 -1
- package/dist/actions/create-upvote.d.cts +1 -1
- package/dist/actions/create-upvote.d.mts +1 -1
- package/dist/actions/create-upvote.mjs +1 -1
- package/dist/actions/create-upvote.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -1
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +1 -1
- package/dist/actions/delete-company.d.mts +1 -1
- package/dist/actions/delete-company.mjs +1 -1
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-upvote.cjs +1 -1
- package/dist/actions/delete-upvote.cjs.map +1 -1
- package/dist/actions/delete-upvote.d.cts +1 -1
- package/dist/actions/delete-upvote.d.mts +1 -1
- package/dist/actions/delete-upvote.mjs +1 -1
- package/dist/actions/delete-upvote.mjs.map +1 -1
- package/dist/actions/enable-widget.cjs +1 -1
- package/dist/actions/enable-widget.cjs.map +1 -1
- package/dist/actions/enable-widget.d.cts +1 -1
- package/dist/actions/enable-widget.d.mts +1 -1
- package/dist/actions/enable-widget.mjs +1 -1
- package/dist/actions/enable-widget.mjs.map +1 -1
- package/dist/actions/get-changelog.cjs +1 -1
- package/dist/actions/get-changelog.cjs.map +1 -1
- package/dist/actions/get-changelog.d.cts +1 -1
- package/dist/actions/get-changelog.d.mts +1 -1
- package/dist/actions/get-changelog.mjs +1 -1
- package/dist/actions/get-changelog.mjs.map +1 -1
- package/dist/actions/get-company.cjs +2 -2
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +2 -2
- package/dist/actions/get-company.d.mts +2 -2
- package/dist/actions/get-company.mjs +2 -2
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -1
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +1 -1
- package/dist/actions/get-contact.d.mts +1 -1
- package/dist/actions/get-contact.mjs +1 -1
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-help-center-article.cjs +2 -2
- package/dist/actions/get-help-center-article.cjs.map +1 -1
- package/dist/actions/get-help-center-article.d.cts +2 -2
- package/dist/actions/get-help-center-article.d.mts +2 -2
- package/dist/actions/get-help-center-article.mjs +2 -2
- package/dist/actions/get-help-center-article.mjs.map +1 -1
- package/dist/actions/get-insight.cjs +7 -7
- package/dist/actions/get-insight.cjs.map +1 -1
- package/dist/actions/get-insight.d.cts +8 -8
- package/dist/actions/get-insight.d.mts +8 -8
- package/dist/actions/get-insight.mjs +7 -7
- package/dist/actions/get-insight.mjs.map +1 -1
- package/dist/actions/get-issue.cjs +1 -1
- package/dist/actions/get-issue.cjs.map +1 -1
- package/dist/actions/get-issue.d.cts +1 -1
- package/dist/actions/get-issue.d.mts +1 -1
- package/dist/actions/get-issue.mjs +1 -1
- package/dist/actions/get-issue.mjs.map +1 -1
- package/dist/actions/get-linear-options.cjs +3 -3
- package/dist/actions/get-linear-options.cjs.map +1 -1
- package/dist/actions/get-linear-options.d.cts +3 -3
- package/dist/actions/get-linear-options.d.mts +3 -3
- package/dist/actions/get-linear-options.mjs +3 -3
- package/dist/actions/get-linear-options.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -1
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +1 -1
- package/dist/actions/get-project.d.mts +1 -1
- package/dist/actions/get-project.mjs +1 -1
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +3 -3
- package/dist/actions/get-workspace.cjs.map +1 -1
- package/dist/actions/get-workspace.d.cts +3 -3
- package/dist/actions/get-workspace.d.mts +3 -3
- package/dist/actions/get-workspace.mjs +3 -3
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/invite-user.cjs +1 -1
- package/dist/actions/invite-user.cjs.map +1 -1
- package/dist/actions/invite-user.d.cts +1 -1
- package/dist/actions/invite-user.d.cts.map +1 -1
- package/dist/actions/invite-user.d.mts +1 -1
- package/dist/actions/invite-user.d.mts.map +1 -1
- package/dist/actions/invite-user.mjs +1 -1
- package/dist/actions/invite-user.mjs.map +1 -1
- package/dist/actions/list-changelogs.cjs +2 -2
- package/dist/actions/list-changelogs.cjs.map +1 -1
- package/dist/actions/list-changelogs.d.cts +2 -2
- package/dist/actions/list-changelogs.d.mts +2 -2
- package/dist/actions/list-changelogs.mjs +2 -2
- package/dist/actions/list-changelogs.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +4 -4
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +4 -4
- package/dist/actions/list-companies.d.mts +4 -4
- package/dist/actions/list-companies.mjs +4 -4
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +4 -4
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +4 -4
- package/dist/actions/list-contacts.d.mts +4 -4
- package/dist/actions/list-contacts.mjs +4 -4
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-help-center-articles.cjs +3 -3
- package/dist/actions/list-help-center-articles.cjs.map +1 -1
- package/dist/actions/list-help-center-articles.d.cts +3 -3
- package/dist/actions/list-help-center-articles.d.mts +3 -3
- package/dist/actions/list-help-center-articles.mjs +3 -3
- package/dist/actions/list-help-center-articles.mjs.map +1 -1
- package/dist/actions/list-insights.cjs +8 -8
- package/dist/actions/list-insights.cjs.map +1 -1
- package/dist/actions/list-insights.d.cts +9 -9
- package/dist/actions/list-insights.d.mts +9 -9
- package/dist/actions/list-insights.mjs +8 -8
- package/dist/actions/list-insights.mjs.map +1 -1
- package/dist/actions/list-issues.cjs +2 -2
- package/dist/actions/list-issues.cjs.map +1 -1
- package/dist/actions/list-issues.d.cts +2 -2
- package/dist/actions/list-issues.d.mts +2 -2
- package/dist/actions/list-issues.mjs +2 -2
- package/dist/actions/list-issues.mjs.map +1 -1
- package/dist/actions/list-members.cjs +3 -3
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +3 -3
- package/dist/actions/list-members.d.mts +3 -3
- package/dist/actions/list-members.mjs +3 -3
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +2 -2
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +2 -2
- package/dist/actions/list-projects.d.mts +2 -2
- package/dist/actions/list-projects.mjs +2 -2
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/update-company.cjs +1 -1
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +1 -1
- package/dist/actions/update-company.d.mts +1 -1
- package/dist/actions/update-company.mjs +1 -1
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +1 -1
- package/dist/actions/update-contact.d.mts +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-insight.cjs +3 -3
- package/dist/actions/update-insight.cjs.map +1 -1
- package/dist/actions/update-insight.d.cts +3 -3
- package/dist/actions/update-insight.d.mts +3 -3
- package/dist/actions/update-insight.mjs +3 -3
- package/dist/actions/update-insight.mjs.map +1 -1
- package/dist/actions/widget-close.cjs +1 -1
- package/dist/actions/widget-close.cjs.map +1 -1
- package/dist/actions/widget-close.d.cts +1 -1
- package/dist/actions/widget-close.d.mts +1 -1
- package/dist/actions/widget-close.mjs +1 -1
- package/dist/actions/widget-close.mjs.map +1 -1
- package/dist/actions/widget-disable.cjs +1 -1
- package/dist/actions/widget-disable.cjs.map +1 -1
- package/dist/actions/widget-disable.d.cts +1 -1
- package/dist/actions/widget-disable.d.mts +1 -1
- package/dist/actions/widget-disable.mjs +1 -1
- package/dist/actions/widget-disable.mjs.map +1 -1
- package/dist/actions/widget-off-event.cjs +1 -1
- package/dist/actions/widget-off-event.cjs.map +1 -1
- package/dist/actions/widget-off-event.d.cts +1 -1
- package/dist/actions/widget-off-event.d.mts +1 -1
- package/dist/actions/widget-off-event.mjs +1 -1
- package/dist/actions/widget-off-event.mjs.map +1 -1
- package/dist/actions/widget-on-event.cjs +1 -1
- package/dist/actions/widget-on-event.cjs.map +1 -1
- package/dist/actions/widget-on-event.d.cts +1 -1
- package/dist/actions/widget-on-event.d.mts +1 -1
- package/dist/actions/widget-on-event.mjs +1 -1
- package/dist/actions/widget-on-event.mjs.map +1 -1
- package/dist/actions/widget-open-docs.cjs +1 -1
- package/dist/actions/widget-open-docs.cjs.map +1 -1
- package/dist/actions/widget-open-docs.d.cts +1 -1
- package/dist/actions/widget-open-docs.d.mts +1 -1
- package/dist/actions/widget-open-docs.mjs +1 -1
- package/dist/actions/widget-open-docs.mjs.map +1 -1
- package/dist/actions/widget-open.cjs +1 -1
- package/dist/actions/widget-open.cjs.map +1 -1
- package/dist/actions/widget-open.d.cts +1 -1
- package/dist/actions/widget-open.d.mts +1 -1
- package/dist/actions/widget-open.mjs +1 -1
- package/dist/actions/widget-open.mjs.map +1 -1
- package/dist/actions/widget-toggle.cjs +1 -1
- package/dist/actions/widget-toggle.cjs.map +1 -1
- package/dist/actions/widget-toggle.d.cts +1 -1
- package/dist/actions/widget-toggle.d.mts +1 -1
- package/dist/actions/widget-toggle.mjs +1 -1
- package/dist/actions/widget-toggle.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to update. This is the contact's UUID in the Productlane system.\"),\n name: z.string().describe(\"The new name for the contact. Must be between 1-255 characters if provided.\").optional(),\n email: z.string().describe(\"The new email address for the contact. Must be a valid email format with maximum 254 characters.\").optional(),\n companyId: z.string().describe(\"The unique identifier of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyName: z.string().describe(\"The name of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyExternalId: z.string().describe(\"External identifier for the company (e.g., from a CRM system). Must be between 1-255 characters if provided.\").optional(),\n}).describe(\"Request model for updating a contact in Productlane.\");\nexport const ProductlaneUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\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().optional(),\n companyId: z.string().describe(\"Unique identifier of the associated company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the contact was created.\").nullable(),\n hubspotId: z.string().describe(\"HubSpot identifier for this contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is marked as deleted.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the contact was last updated.\").nullable(),\n zendeskId: z.string().describe(\"Zendesk identifier for this contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for this 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 this contact, if integrated.\").nullable().optional(),\n}).describe(\"Response model for the updated contact.\");\n\nexport const productlaneUpdateContact = action(\"PRODUCTLANE_UPDATE_CONTACT\", {\n slug: \"productlane-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Productlane. Use when you need to modify contact details such as name, email, or company associations. Users can only update their own contacts.\",\n input: ProductlaneUpdateContactInput,\n output: ProductlaneUpdateContactOutput,\n});\n"],"mappings":";;AA6BA,MAAa,2BA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AAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to update. This is the contact's UUID in the Productlane system.\"),\n name: z.string().describe(\"The new name for the contact. Must be between 1-255 characters if provided.\").optional(),\n email: z.string().describe(\"The new email address for the contact. Must be a valid email format with maximum 254 characters.\").optional(),\n companyId: z.string().describe(\"The unique identifier of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyName: z.string().describe(\"The name of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyExternalId: z.string().describe(\"External identifier for the company (e.g., from a CRM system). Must be between 1-255 characters if provided.\").optional(),\n}).describe(\"Request model for updating a contact in Productlane.\");\nexport const ProductlaneUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\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().optional(),\n companyId: z.string().describe(\"Unique identifier of the associated company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the contact was created.\").nullable(),\n hubspotId: z.string().describe(\"HubSpot identifier for this contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is marked as deleted.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the contact was last updated.\").nullable(),\n zendeskId: z.string().describe(\"Zendesk identifier for this contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for this 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 this contact, if integrated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated contact.\");\n\nexport const productlaneUpdateContact = action(\"PRODUCTLANE_UPDATE_CONTACT\", {\n slug: \"productlane-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Productlane. Use when you need to modify contact details such as name, email, or company associations. Users can only update their own contacts.\",\n input: ProductlaneUpdateContactInput,\n output: ProductlaneUpdateContactOutput,\n});\n"],"mappings":";;AA6BA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC9J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACnJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClK,CAAC,CAAC,CAAC,SAAS,sDAsBH;CACP,QAtB4C,EAAE,OAAO;EACrD,IA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|
name: zod.z.string().describe("Name of the tag").nullable(),
|
|
34
34
|
color: zod.z.string().describe("Color code for the tag").nullable(),
|
|
35
35
|
tagGroupId: zod.z.string().describe("ID of the tag group this tag belongs to").nullable()
|
|
36
|
-
}).describe("Information about a tag");
|
|
36
|
+
}).passthrough().describe("Information about a tag");
|
|
37
37
|
const ProductlaneUpdateInsight_InsightStateSchema = zod.z.enum([
|
|
38
38
|
"NEW",
|
|
39
39
|
"PROCESSED",
|
|
@@ -90,7 +90,7 @@ const ProductlaneUpdateInsightOutput = zod.z.object({
|
|
|
90
90
|
assigneeId: zod.z.string().describe("ID of the user assigned to this insight").nullable().optional(),
|
|
91
91
|
intercomId: zod.z.string().describe("Intercom ID if from Intercom").nullable().optional(),
|
|
92
92
|
reporterId: zod.z.string().describe("ID of the user who reported this insight").nullable().optional(),
|
|
93
|
-
attachments: zod.z.array(zod.z.
|
|
93
|
+
attachments: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of attachments").nullable().optional(),
|
|
94
94
|
recordingId: zod.z.string().describe("ID of associated recording").nullable().optional(),
|
|
95
95
|
workspaceId: zod.z.string().describe("ID of the workspace this insight belongs to").nullable(),
|
|
96
96
|
slackReplyId: zod.z.string().describe("Slack reply ID").nullable().optional(),
|
|
@@ -102,7 +102,7 @@ const ProductlaneUpdateInsightOutput = zod.z.object({
|
|
|
102
102
|
linearAttachmentId: zod.z.string().describe("Linear attachment ID").nullable().optional(),
|
|
103
103
|
lastInboundMessageAt: zod.z.string().describe("ISO 8601 timestamp of last inbound message").nullable().optional(),
|
|
104
104
|
lastOutboundMessageAt: zod.z.string().describe("ISO 8601 timestamp of last outbound message").nullable().optional()
|
|
105
|
-
}).describe("Response model for update insight action");
|
|
105
|
+
}).passthrough().describe("Response model for update insight action");
|
|
106
106
|
const productlaneUpdateInsight = require_action.action("PRODUCTLANE_UPDATE_INSIGHT", {
|
|
107
107
|
slug: "productlane-update-insight",
|
|
108
108
|
name: "Update Insight",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-insight.cjs","names":["z","action"],"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}).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.object({})).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}).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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAa;EAAa;EAAW;CAAW,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAA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AO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-insight.cjs","names":["z","action"],"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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAa;EAAa;EAAW;CAAW,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3D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BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -35,7 +35,7 @@ declare const ProductlaneUpdateInsightOutput: z.ZodObject<{
|
|
|
35
35
|
name: z.ZodNullable<z.ZodString>;
|
|
36
36
|
color: z.ZodNullable<z.ZodString>;
|
|
37
37
|
tagGroupId: z.ZodNullable<z.ZodString>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
text: z.ZodNullable<z.ZodString>;
|
|
40
40
|
state: z.ZodNullable<z.ZodEnum<{
|
|
41
41
|
NEW: "NEW";
|
|
@@ -86,7 +86,7 @@ declare const ProductlaneUpdateInsightOutput: z.ZodObject<{
|
|
|
86
86
|
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
87
|
intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
88
|
reporterId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
89
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
90
90
|
recordingId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
91
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
92
92
|
slackReplyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -98,7 +98,7 @@ declare const ProductlaneUpdateInsightOutput: z.ZodObject<{
|
|
|
98
98
|
linearAttachmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
99
|
lastInboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
100
|
lastOutboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
-
}, z.core.$
|
|
101
|
+
}, z.core.$loose>;
|
|
102
102
|
declare const productlaneUpdateInsight: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
103
103
|
id: string;
|
|
104
104
|
text?: string | undefined;
|
|
@@ -35,7 +35,7 @@ declare const ProductlaneUpdateInsightOutput: z.ZodObject<{
|
|
|
35
35
|
name: z.ZodNullable<z.ZodString>;
|
|
36
36
|
color: z.ZodNullable<z.ZodString>;
|
|
37
37
|
tagGroupId: z.ZodNullable<z.ZodString>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
text: z.ZodNullable<z.ZodString>;
|
|
40
40
|
state: z.ZodNullable<z.ZodEnum<{
|
|
41
41
|
NEW: "NEW";
|
|
@@ -86,7 +86,7 @@ declare const ProductlaneUpdateInsightOutput: z.ZodObject<{
|
|
|
86
86
|
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
87
|
intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
88
|
reporterId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
89
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
90
90
|
recordingId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
91
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
92
92
|
slackReplyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -98,7 +98,7 @@ declare const ProductlaneUpdateInsightOutput: z.ZodObject<{
|
|
|
98
98
|
linearAttachmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
99
|
lastInboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
100
|
lastOutboundMessageAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
-
}, z.core.$
|
|
101
|
+
}, z.core.$loose>;
|
|
102
102
|
declare const productlaneUpdateInsight: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
103
103
|
id: string;
|
|
104
104
|
text?: string | undefined;
|
|
@@ -33,7 +33,7 @@ const ProductlaneUpdateInsight_TagInfoSchema = z.object({
|
|
|
33
33
|
name: z.string().describe("Name of the tag").nullable(),
|
|
34
34
|
color: z.string().describe("Color code for the tag").nullable(),
|
|
35
35
|
tagGroupId: z.string().describe("ID of the tag group this tag belongs to").nullable()
|
|
36
|
-
}).describe("Information about a tag");
|
|
36
|
+
}).passthrough().describe("Information about a tag");
|
|
37
37
|
const ProductlaneUpdateInsight_InsightStateSchema = z.enum([
|
|
38
38
|
"NEW",
|
|
39
39
|
"PROCESSED",
|
|
@@ -95,7 +95,7 @@ const productlaneUpdateInsight = action("PRODUCTLANE_UPDATE_INSIGHT", {
|
|
|
95
95
|
assigneeId: z.string().describe("ID of the user assigned to this insight").nullable().optional(),
|
|
96
96
|
intercomId: z.string().describe("Intercom ID if from Intercom").nullable().optional(),
|
|
97
97
|
reporterId: z.string().describe("ID of the user who reported this insight").nullable().optional(),
|
|
98
|
-
attachments: z.array(z.
|
|
98
|
+
attachments: z.array(z.record(z.string(), z.unknown())).describe("List of attachments").nullable().optional(),
|
|
99
99
|
recordingId: z.string().describe("ID of associated recording").nullable().optional(),
|
|
100
100
|
workspaceId: z.string().describe("ID of the workspace this insight belongs to").nullable(),
|
|
101
101
|
slackReplyId: z.string().describe("Slack reply ID").nullable().optional(),
|
|
@@ -107,7 +107,7 @@ const productlaneUpdateInsight = action("PRODUCTLANE_UPDATE_INSIGHT", {
|
|
|
107
107
|
linearAttachmentId: z.string().describe("Linear attachment ID").nullable().optional(),
|
|
108
108
|
lastInboundMessageAt: z.string().describe("ISO 8601 timestamp of last inbound message").nullable().optional(),
|
|
109
109
|
lastOutboundMessageAt: z.string().describe("ISO 8601 timestamp of last outbound message").nullable().optional()
|
|
110
|
-
}).describe("Response model for update insight action")
|
|
110
|
+
}).passthrough().describe("Response model for update insight action")
|
|
111
111
|
});
|
|
112
112
|
//#endregion
|
|
113
113
|
export { productlaneUpdateInsight };
|
|
@@ -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}).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.object({})).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}).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,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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ChH,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
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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AAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,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"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/widget-close.ts
|
|
4
4
|
const ProductlaneWidgetCloseInput = zod.z.object({}).describe("Request model for closing the Productlane widget.\nNo parameters are required.");
|
|
5
|
-
const ProductlaneWidgetCloseOutput = zod.z.object({ script: zod.z.string().describe("HTML <script> tag containing JavaScript to close the Productlane widget.").nullable() }).describe("Response model for closing the Productlane widget.");
|
|
5
|
+
const ProductlaneWidgetCloseOutput = zod.z.object({ script: zod.z.string().describe("HTML <script> tag containing JavaScript to close the Productlane widget.").nullable() }).passthrough().describe("Response model for closing the Productlane widget.");
|
|
6
6
|
const productlaneWidgetClose = require_action.action("PRODUCTLANE_WIDGET_CLOSE", {
|
|
7
7
|
slug: "productlane-widget-close",
|
|
8
8
|
name: "Close Productlane Widget",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,oDAAoD;
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ProductlaneWidgetCloseInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const ProductlaneWidgetCloseOutput: z.ZodObject<{
|
|
6
6
|
script: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const productlaneWidgetClose: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { productlaneWidgetClose };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ProductlaneWidgetCloseInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const ProductlaneWidgetCloseOutput: z.ZodObject<{
|
|
6
6
|
script: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const productlaneWidgetClose: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { productlaneWidgetClose };
|
|
@@ -5,7 +5,7 @@ const productlaneWidgetClose = action("PRODUCTLANE_WIDGET_CLOSE", {
|
|
|
5
5
|
name: "Close Productlane Widget",
|
|
6
6
|
description: "Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.",
|
|
7
7
|
input: z.object({}).describe("Request model for closing the Productlane widget.\nNo parameters are required."),
|
|
8
|
-
output: z.object({ script: z.string().describe("HTML <script> tag containing JavaScript to close the Productlane widget.").nullable() }).describe("Response model for closing the Productlane widget.")
|
|
8
|
+
output: z.object({ script: z.string().describe("HTML <script> tag containing JavaScript to close the Productlane widget.").nullable() }).passthrough().describe("Response model for closing the Productlane widget.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { productlaneWidgetClose };
|
|
@@ -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}).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":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFASxD;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,
|
|
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":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFASxD;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ProductlaneWidgetDisableInput = zod.z.object({}).describe("No parameters r
|
|
|
5
5
|
const ProductlaneWidgetDisableOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Client-side instruction to invoke Productlane.disable()").nullable(),
|
|
7
7
|
success: zod.z.boolean().describe("True if the widget disable instruction was generated successfully").nullable()
|
|
8
|
-
}).describe("Response schema for disabling the Productlane widget.");
|
|
8
|
+
}).passthrough().describe("Response schema for disabling the Productlane widget.");
|
|
9
9
|
const productlaneWidgetDisable = require_action.action("PRODUCTLANE_WIDGET_DISABLE", {
|
|
10
10
|
slug: "productlane-widget-disable",
|
|
11
11
|
name: "Disable Productlane Widget",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,uDAAuD;
|
|
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const ProductlaneWidgetDisableInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const ProductlaneWidgetDisableOutput: z.ZodObject<{
|
|
6
6
|
message: z.ZodNullable<z.ZodString>;
|
|
7
7
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const productlaneWidgetDisable: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { productlaneWidgetDisable };
|
|
@@ -5,7 +5,7 @@ declare const ProductlaneWidgetDisableInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const ProductlaneWidgetDisableOutput: z.ZodObject<{
|
|
6
6
|
message: z.ZodNullable<z.ZodString>;
|
|
7
7
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const productlaneWidgetDisable: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { productlaneWidgetDisable };
|
|
@@ -8,7 +8,7 @@ const productlaneWidgetDisable = action("PRODUCTLANE_WIDGET_DISABLE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Client-side instruction to invoke Productlane.disable()").nullable(),
|
|
10
10
|
success: z.boolean().describe("True if the widget disable instruction was generated successfully").nullable()
|
|
11
|
-
}).describe("Response schema for disabling the Productlane widget.")
|
|
11
|
+
}).passthrough().describe("Response schema for disabling the Productlane widget.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { productlaneWidgetDisable };
|
|
@@ -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}).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":";;AAUA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAU1D;CACP,QAV4C,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,SAAS,
|
|
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":";;AAUA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAU1D;CACP,QAV4C,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,uDAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const ProductlaneWidgetOffEventInput = zod.z.object({
|
|
|
12
12
|
]).describe("The widget event name to unregister."),
|
|
13
13
|
callback: zod.z.string().describe("The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().")
|
|
14
14
|
}).describe("Request model for removing a widget event listener.");
|
|
15
|
-
const ProductlaneWidgetOffEventOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript code snippet that calls Productlane.off for the specified event and callback.").nullable() }).describe("Response model containing the JavaScript snippet to remove the widget event listener.");
|
|
15
|
+
const ProductlaneWidgetOffEventOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript code snippet that calls Productlane.off for the specified event and callback.").nullable() }).passthrough().describe("Response model containing the JavaScript snippet to remove the widget event listener.");
|
|
16
16
|
const productlaneWidgetOffEvent = require_action.action("PRODUCTLANE_WIDGET_OFF_EVENT", {
|
|
17
17
|
slug: "productlane-widget-off-event",
|
|
18
18
|
name: "Widget off event",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,uFAAuF;
|
|
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":";;;AAIA,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,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const ProductlaneWidgetOffEventInput: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const ProductlaneWidgetOffEventOutput: z.ZodObject<{
|
|
16
16
|
snippet: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const productlaneWidgetOffEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
event: "loaded" | "opened" | "closed" | "toggled" | "customLinkClicked" | "openDocsPage";
|
|
20
20
|
callback: string;
|
|
@@ -14,7 +14,7 @@ declare const ProductlaneWidgetOffEventInput: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const ProductlaneWidgetOffEventOutput: z.ZodObject<{
|
|
16
16
|
snippet: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const productlaneWidgetOffEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
event: "loaded" | "opened" | "closed" | "toggled" | "customLinkClicked" | "openDocsPage";
|
|
20
20
|
callback: string;
|
|
@@ -15,7 +15,7 @@ const productlaneWidgetOffEvent = action("PRODUCTLANE_WIDGET_OFF_EVENT", {
|
|
|
15
15
|
]).describe("The widget event name to unregister."),
|
|
16
16
|
callback: z.string().describe("The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().")
|
|
17
17
|
}).describe("Request model for removing a widget event listener."),
|
|
18
|
-
output: z.object({ snippet: z.string().describe("JavaScript code snippet that calls Productlane.off for the specified event and callback.").nullable() }).describe("Response model containing the JavaScript snippet to remove the widget event listener.")
|
|
18
|
+
output: z.object({ snippet: z.string().describe("JavaScript code snippet that calls Productlane.off for the specified event and callback.").nullable() }).passthrough().describe("Response model containing the JavaScript snippet to remove the widget event listener.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { productlaneWidgetOffEvent };
|
|
@@ -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}).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":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,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,qDASH;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,
|
|
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":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,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,qDASH;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const ProductlaneWidgetOnEventInput = zod.z.object({
|
|
|
10
10
|
]).describe("Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'."),
|
|
11
11
|
callback: zod.z.string().describe("JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.")
|
|
12
12
|
}).describe("Request model for registering a widget event listener.");
|
|
13
|
-
const ProductlaneWidgetOnEventOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript code snippet to register the event listener.").nullable() }).describe("Response model containing the JS snippet for widget event registration.");
|
|
13
|
+
const ProductlaneWidgetOnEventOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript code snippet to register the event listener.").nullable() }).passthrough().describe("Response model containing the JS snippet for widget event registration.");
|
|
14
14
|
const productlaneWidgetOnEvent = require_action.action("PRODUCTLANE_WIDGET_ON_EVENT", {
|
|
15
15
|
slug: "productlane-widget-on-event",
|
|
16
16
|
name: "Register Widget Event Listener",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,yEAAyE;
|
|
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const ProductlaneWidgetOnEventInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const ProductlaneWidgetOnEventOutput: z.ZodObject<{
|
|
14
14
|
snippet: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const productlaneWidgetOnEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
event: "open" | "close" | "widgetLoaded" | "submit";
|
|
18
18
|
callback: string;
|
|
@@ -12,7 +12,7 @@ declare const ProductlaneWidgetOnEventInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const ProductlaneWidgetOnEventOutput: z.ZodObject<{
|
|
14
14
|
snippet: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const productlaneWidgetOnEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
event: "open" | "close" | "widgetLoaded" | "submit";
|
|
18
18
|
callback: string;
|
|
@@ -13,7 +13,7 @@ const productlaneWidgetOnEvent = action("PRODUCTLANE_WIDGET_ON_EVENT", {
|
|
|
13
13
|
]).describe("Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'."),
|
|
14
14
|
callback: z.string().describe("JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.")
|
|
15
15
|
}).describe("Request model for registering a widget event listener."),
|
|
16
|
-
output: z.object({ snippet: z.string().describe("JavaScript code snippet to register the event listener.").nullable() }).describe("Response model containing the JS snippet for widget event registration.")
|
|
16
|
+
output: z.object({ snippet: z.string().describe("JavaScript code snippet to register the event listener.").nullable() }).passthrough().describe("Response model containing the JS snippet for widget event registration.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { productlaneWidgetOnEvent };
|
|
@@ -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}).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":";;AAYA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,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,wDASH;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,
|
|
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":";;AAYA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,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,wDASH;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ProductlaneWidgetOpenDocsInput = zod.z.object({
|
|
|
5
5
|
document_id: zod.z.string().describe("Internal ID of the docs article. Provide either this or document_url_name.").optional(),
|
|
6
6
|
document_url_name: zod.z.string().describe("URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.").optional()
|
|
7
7
|
}).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).");
|
|
8
|
-
const ProductlaneWidgetOpenDocsOutput = zod.z.object({ script: zod.z.string().describe("JavaScript snippet to execute on the client to open the documentation article.").nullable() }).describe("Response model containing the JavaScript snippet to open the targeted docs article.");
|
|
8
|
+
const ProductlaneWidgetOpenDocsOutput = zod.z.object({ script: zod.z.string().describe("JavaScript snippet to execute on the client to open the documentation article.").nullable() }).passthrough().describe("Response model containing the JavaScript snippet to open the targeted docs article.");
|
|
9
9
|
const productlaneWidgetOpenDocs = require_action.action("PRODUCTLANE_WIDGET_OPEN_DOCS", {
|
|
10
10
|
slug: "productlane-widget-open-docs",
|
|
11
11
|
name: "Open Productlane Docs Article in Widget",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,qFAAqF;
|
|
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":";;;AAIA,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,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ProductlaneWidgetOpenDocsInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ProductlaneWidgetOpenDocsOutput: z.ZodObject<{
|
|
9
9
|
script: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const productlaneWidgetOpenDocs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
document_id?: string | undefined;
|
|
13
13
|
document_url_name?: string | undefined;
|
|
@@ -7,7 +7,7 @@ declare const ProductlaneWidgetOpenDocsInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ProductlaneWidgetOpenDocsOutput: z.ZodObject<{
|
|
9
9
|
script: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const productlaneWidgetOpenDocs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
document_id?: string | undefined;
|
|
13
13
|
document_url_name?: string | undefined;
|
|
@@ -8,7 +8,7 @@ const productlaneWidgetOpenDocs = action("PRODUCTLANE_WIDGET_OPEN_DOCS", {
|
|
|
8
8
|
document_id: z.string().describe("Internal ID of the docs article. Provide either this or document_url_name.").optional(),
|
|
9
9
|
document_url_name: z.string().describe("URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.").optional()
|
|
10
10
|
}).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)."),
|
|
11
|
-
output: z.object({ script: z.string().describe("JavaScript snippet to execute on the client to open the documentation article.").nullable() }).describe("Response model containing the JavaScript snippet to open the targeted docs article.")
|
|
11
|
+
output: z.object({ script: z.string().describe("JavaScript snippet to execute on the client to open the documentation article.").nullable() }).passthrough().describe("Response model containing the JavaScript snippet to open the targeted docs article.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { productlaneWidgetOpenDocs };
|
|
@@ -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}).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":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,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,uKASH;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,
|
|
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":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,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,uKASH;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAOhB;AACV,CAAC"}
|