@keystrokehq/productlane 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-changelog.cjs +9 -9
- package/dist/actions/create-changelog.cjs.map +1 -1
- package/dist/actions/create-changelog.d.cts +25 -3
- package/dist/actions/create-changelog.d.cts.map +1 -1
- package/dist/actions/create-changelog.d.mts +25 -3
- package/dist/actions/create-changelog.d.mts.map +1 -1
- package/dist/actions/create-changelog.mjs +9 -9
- package/dist/actions/create-changelog.mjs.map +1 -1
- package/dist/actions/create-company.cjs +7 -7
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +51 -3
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +51 -3
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +7 -7
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +7 -7
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +30 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +30 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +7 -7
- 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 +54 -3
- package/dist/actions/create-feedback.d.cts.map +1 -1
- package/dist/actions/create-feedback.d.mts +54 -3
- package/dist/actions/create-feedback.d.mts.map +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 +27 -27
- package/dist/actions/create-insight.cjs.map +1 -1
- package/dist/actions/create-insight.d.cts +184 -3
- package/dist/actions/create-insight.d.cts.map +1 -1
- package/dist/actions/create-insight.d.mts +184 -3
- package/dist/actions/create-insight.d.mts.map +1 -1
- package/dist/actions/create-insight.mjs +27 -27
- 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 +26 -3
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +26 -3
- package/dist/actions/create-thread.d.mts.map +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 +4 -4
- package/dist/actions/create-upvote.cjs.map +1 -1
- package/dist/actions/create-upvote.d.cts +19 -3
- package/dist/actions/create-upvote.d.cts.map +1 -1
- package/dist/actions/create-upvote.d.mts +19 -3
- package/dist/actions/create-upvote.d.mts.map +1 -1
- package/dist/actions/create-upvote.mjs +4 -4
- 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 +9 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +9 -3
- package/dist/actions/delete-company.d.mts.map +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 +9 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +9 -3
- package/dist/actions/delete-contact.d.mts.map +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.map +1 -1
- package/dist/actions/delete-upvote.d.cts +16 -3
- package/dist/actions/delete-upvote.d.cts.map +1 -1
- package/dist/actions/delete-upvote.d.mts +16 -3
- package/dist/actions/delete-upvote.d.mts.map +1 -1
- package/dist/actions/delete-upvote.mjs.map +1 -1
- package/dist/actions/enable-widget.cjs +2 -2
- package/dist/actions/enable-widget.cjs.map +1 -1
- package/dist/actions/enable-widget.d.cts +6 -3
- package/dist/actions/enable-widget.d.cts.map +1 -1
- package/dist/actions/enable-widget.d.mts +6 -3
- package/dist/actions/enable-widget.d.mts.map +1 -1
- package/dist/actions/enable-widget.mjs +2 -2
- package/dist/actions/enable-widget.mjs.map +1 -1
- package/dist/actions/get-changelog.cjs +9 -9
- package/dist/actions/get-changelog.cjs.map +1 -1
- package/dist/actions/get-changelog.d.cts +25 -3
- package/dist/actions/get-changelog.d.cts.map +1 -1
- package/dist/actions/get-changelog.d.mts +25 -3
- package/dist/actions/get-changelog.d.mts.map +1 -1
- package/dist/actions/get-changelog.mjs +9 -9
- package/dist/actions/get-changelog.mjs.map +1 -1
- package/dist/actions/get-company.cjs +7 -7
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +35 -3
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +35 -3
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +7 -7
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +7 -7
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +22 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +22 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +7 -7
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-help-center-article.cjs +9 -9
- package/dist/actions/get-help-center-article.cjs.map +1 -1
- package/dist/actions/get-help-center-article.d.cts +24 -3
- package/dist/actions/get-help-center-article.d.cts.map +1 -1
- package/dist/actions/get-help-center-article.d.mts +24 -3
- package/dist/actions/get-help-center-article.d.mts.map +1 -1
- package/dist/actions/get-help-center-article.mjs +9 -9
- package/dist/actions/get-help-center-article.mjs.map +1 -1
- package/dist/actions/get-insight.cjs +38 -38
- package/dist/actions/get-insight.cjs.map +1 -1
- package/dist/actions/get-insight.d.cts +160 -3
- package/dist/actions/get-insight.d.cts.map +1 -1
- package/dist/actions/get-insight.d.mts +160 -3
- package/dist/actions/get-insight.d.mts.map +1 -1
- package/dist/actions/get-insight.mjs +38 -38
- package/dist/actions/get-insight.mjs.map +1 -1
- package/dist/actions/get-issue.cjs +16 -16
- package/dist/actions/get-issue.cjs.map +1 -1
- package/dist/actions/get-issue.d.cts +34 -3
- package/dist/actions/get-issue.d.cts.map +1 -1
- package/dist/actions/get-issue.d.mts +34 -3
- package/dist/actions/get-issue.d.mts.map +1 -1
- package/dist/actions/get-issue.mjs +16 -16
- package/dist/actions/get-issue.mjs.map +1 -1
- package/dist/actions/get-linear-options.cjs +5 -5
- package/dist/actions/get-linear-options.cjs.map +1 -1
- package/dist/actions/get-linear-options.d.cts +13 -3
- package/dist/actions/get-linear-options.d.cts.map +1 -1
- package/dist/actions/get-linear-options.d.mts +13 -3
- package/dist/actions/get-linear-options.d.mts.map +1 -1
- package/dist/actions/get-linear-options.mjs +5 -5
- package/dist/actions/get-linear-options.mjs.map +1 -1
- package/dist/actions/get-project.cjs +6 -6
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +25 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +25 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +6 -6
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +23 -23
- package/dist/actions/get-workspace.cjs.map +1 -1
- package/dist/actions/get-workspace.d.cts +42 -3
- package/dist/actions/get-workspace.d.cts.map +1 -1
- package/dist/actions/get-workspace.d.mts +42 -3
- package/dist/actions/get-workspace.d.mts.map +1 -1
- package/dist/actions/get-workspace.mjs +23 -23
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/invite-user.cjs.map +1 -1
- package/dist/actions/invite-user.d.cts +15 -3
- package/dist/actions/invite-user.d.cts.map +1 -1
- package/dist/actions/invite-user.d.mts +15 -3
- package/dist/actions/invite-user.d.mts.map +1 -1
- package/dist/actions/invite-user.mjs.map +1 -1
- package/dist/actions/list-changelogs.cjs +9 -9
- package/dist/actions/list-changelogs.cjs.map +1 -1
- package/dist/actions/list-changelogs.d.cts +25 -3
- package/dist/actions/list-changelogs.d.cts.map +1 -1
- package/dist/actions/list-changelogs.d.mts +25 -3
- package/dist/actions/list-changelogs.d.mts.map +1 -1
- package/dist/actions/list-changelogs.mjs +9 -9
- package/dist/actions/list-changelogs.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +11 -11
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +50 -3
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +50 -3
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +11 -11
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +13 -13
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +33 -3
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +33 -3
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +13 -13
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-help-center-articles.cjs +9 -9
- package/dist/actions/list-help-center-articles.cjs.map +1 -1
- package/dist/actions/list-help-center-articles.d.cts +24 -3
- package/dist/actions/list-help-center-articles.d.cts.map +1 -1
- package/dist/actions/list-help-center-articles.d.mts +24 -3
- package/dist/actions/list-help-center-articles.d.mts.map +1 -1
- package/dist/actions/list-help-center-articles.mjs +9 -9
- package/dist/actions/list-help-center-articles.mjs.map +1 -1
- package/dist/actions/list-insights.cjs +10 -10
- package/dist/actions/list-insights.cjs.map +1 -1
- package/dist/actions/list-insights.d.cts +81 -3
- package/dist/actions/list-insights.d.cts.map +1 -1
- package/dist/actions/list-insights.d.mts +81 -3
- package/dist/actions/list-insights.d.mts.map +1 -1
- package/dist/actions/list-insights.mjs +10 -10
- package/dist/actions/list-insights.mjs.map +1 -1
- package/dist/actions/list-issues.cjs +16 -16
- package/dist/actions/list-issues.cjs.map +1 -1
- package/dist/actions/list-issues.d.cts +34 -3
- package/dist/actions/list-issues.d.cts.map +1 -1
- package/dist/actions/list-issues.d.mts +34 -3
- package/dist/actions/list-issues.d.mts.map +1 -1
- package/dist/actions/list-issues.mjs +16 -16
- package/dist/actions/list-issues.mjs.map +1 -1
- package/dist/actions/list-members.cjs +9 -9
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +18 -3
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +18 -3
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +9 -9
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +6 -6
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +25 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +25 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +6 -6
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/update-company.cjs +7 -7
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +53 -3
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +53 -3
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +7 -7
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +7 -7
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +32 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +32 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +7 -7
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-insight.cjs +12 -12
- package/dist/actions/update-insight.cjs.map +1 -1
- package/dist/actions/update-insight.d.cts +113 -3
- package/dist/actions/update-insight.d.cts.map +1 -1
- package/dist/actions/update-insight.d.mts +113 -3
- package/dist/actions/update-insight.d.mts.map +1 -1
- package/dist/actions/update-insight.mjs +12 -12
- 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 +5 -3
- package/dist/actions/widget-close.d.cts.map +1 -1
- package/dist/actions/widget-close.d.mts +5 -3
- package/dist/actions/widget-close.d.mts.map +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 +2 -2
- package/dist/actions/widget-disable.cjs.map +1 -1
- package/dist/actions/widget-disable.d.cts +6 -3
- package/dist/actions/widget-disable.d.cts.map +1 -1
- package/dist/actions/widget-disable.d.mts +6 -3
- package/dist/actions/widget-disable.d.mts.map +1 -1
- package/dist/actions/widget-disable.mjs +2 -2
- 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 +18 -3
- package/dist/actions/widget-off-event.d.cts.map +1 -1
- package/dist/actions/widget-off-event.d.mts +18 -3
- package/dist/actions/widget-off-event.d.mts.map +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 +16 -3
- package/dist/actions/widget-on-event.d.cts.map +1 -1
- package/dist/actions/widget-on-event.d.mts +16 -3
- package/dist/actions/widget-on-event.d.mts.map +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 +11 -3
- package/dist/actions/widget-open-docs.d.cts.map +1 -1
- package/dist/actions/widget-open-docs.d.mts +11 -3
- package/dist/actions/widget-open-docs.d.mts.map +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 +14 -3
- package/dist/actions/widget-open.d.cts.map +1 -1
- package/dist/actions/widget-open.d.mts +14 -3
- package/dist/actions/widget-open.d.mts.map +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 +5 -3
- package/dist/actions/widget-toggle.d.cts.map +1 -1
- package/dist/actions/widget-toggle.d.mts +5 -3
- package/dist/actions/widget-toggle.d.mts.map +1 -1
- package/dist/actions/widget-toggle.mjs +1 -1
- package/dist/actions/widget-toggle.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
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;AAEnG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-off-event.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOffEventInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOffEventInput: z.ZodObject<{
|
|
5
|
+
event: z.ZodEnum<{
|
|
6
|
+
loaded: "loaded";
|
|
7
|
+
opened: "opened";
|
|
8
|
+
closed: "closed";
|
|
9
|
+
toggled: "toggled";
|
|
10
|
+
customLinkClicked: "customLinkClicked";
|
|
11
|
+
openDocsPage: "openDocsPage";
|
|
12
|
+
}>;
|
|
13
|
+
callback: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const ProductlaneWidgetOffEventOutput: z.ZodObject<{
|
|
16
|
+
snippet: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const productlaneWidgetOffEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
event: "loaded" | "opened" | "closed" | "toggled" | "customLinkClicked" | "openDocsPage";
|
|
20
|
+
callback: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { productlaneWidgetOffEvent };
|
|
9
24
|
//# sourceMappingURL=widget-off-event.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-off-event.d.cts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"widget-off-event.d.cts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-off-event.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOffEventInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOffEventInput: z.ZodObject<{
|
|
5
|
+
event: z.ZodEnum<{
|
|
6
|
+
loaded: "loaded";
|
|
7
|
+
opened: "opened";
|
|
8
|
+
closed: "closed";
|
|
9
|
+
toggled: "toggled";
|
|
10
|
+
customLinkClicked: "customLinkClicked";
|
|
11
|
+
openDocsPage: "openDocsPage";
|
|
12
|
+
}>;
|
|
13
|
+
callback: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const ProductlaneWidgetOffEventOutput: z.ZodObject<{
|
|
16
|
+
snippet: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const productlaneWidgetOffEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
event: "loaded" | "opened" | "closed" | "toggled" | "customLinkClicked" | "openDocsPage";
|
|
20
|
+
callback: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { productlaneWidgetOffEvent };
|
|
9
24
|
//# sourceMappingURL=widget-off-event.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-off-event.d.mts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"widget-off-event.d.mts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -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.") }).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() }).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
|
|
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,uFAOF;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.") }).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() }).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
|
|
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;AAErF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-on-event.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOnEventInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOnEventInput: z.ZodObject<{
|
|
5
|
+
event: z.ZodEnum<{
|
|
6
|
+
open: "open";
|
|
7
|
+
close: "close";
|
|
8
|
+
widgetLoaded: "widgetLoaded";
|
|
9
|
+
submit: "submit";
|
|
10
|
+
}>;
|
|
11
|
+
callback: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const ProductlaneWidgetOnEventOutput: z.ZodObject<{
|
|
14
|
+
snippet: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const productlaneWidgetOnEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
event: "open" | "close" | "widgetLoaded" | "submit";
|
|
18
|
+
callback: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { productlaneWidgetOnEvent };
|
|
9
22
|
//# sourceMappingURL=widget-on-event.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-on-event.d.cts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"widget-on-event.d.cts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-on-event.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOnEventInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOnEventInput: z.ZodObject<{
|
|
5
|
+
event: z.ZodEnum<{
|
|
6
|
+
open: "open";
|
|
7
|
+
close: "close";
|
|
8
|
+
widgetLoaded: "widgetLoaded";
|
|
9
|
+
submit: "submit";
|
|
10
|
+
}>;
|
|
11
|
+
callback: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const ProductlaneWidgetOnEventOutput: z.ZodObject<{
|
|
14
|
+
snippet: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const productlaneWidgetOnEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
event: "open" | "close" | "widgetLoaded" | "submit";
|
|
18
|
+
callback: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { productlaneWidgetOnEvent };
|
|
9
22
|
//# sourceMappingURL=widget-on-event.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-on-event.d.mts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"widget-on-event.d.mts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -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.") }).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() }).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
|
|
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,yEAOF;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.") }).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() }).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
|
|
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;AAEjG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-open-docs.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOpenDocsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOpenDocsInput: z.ZodObject<{
|
|
5
|
+
document_id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
document_url_name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProductlaneWidgetOpenDocsOutput: z.ZodObject<{
|
|
9
|
+
script: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const productlaneWidgetOpenDocs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
document_id?: string | undefined;
|
|
13
|
+
document_url_name?: string | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { productlaneWidgetOpenDocs };
|
|
9
17
|
//# sourceMappingURL=widget-open-docs.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open-docs.d.cts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"widget-open-docs.d.cts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-open-docs.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOpenDocsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOpenDocsInput: z.ZodObject<{
|
|
5
|
+
document_id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
document_url_name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProductlaneWidgetOpenDocsOutput: z.ZodObject<{
|
|
9
|
+
script: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const productlaneWidgetOpenDocs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
document_id?: string | undefined;
|
|
13
|
+
document_url_name?: string | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { productlaneWidgetOpenDocs };
|
|
9
17
|
//# sourceMappingURL=widget-open-docs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open-docs.d.mts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"widget-open-docs.d.mts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -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.") }).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() }).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
|
|
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,qFAOF;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const ProductlaneWidgetOpenInput = zod.z.object({ view: zod.z.enum([
|
|
|
7
7
|
"DOCS",
|
|
8
8
|
"FEEDBACK"
|
|
9
9
|
]).describe("The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.").optional() });
|
|
10
|
-
const ProductlaneWidgetOpenOutput = zod.z.object({ script: zod.z.string().describe("HTML <script> tag containing JavaScript to open the Productlane widget.") });
|
|
10
|
+
const ProductlaneWidgetOpenOutput = zod.z.object({ script: zod.z.string().describe("HTML <script> tag containing JavaScript to open the Productlane widget.").nullable() });
|
|
11
11
|
const productlaneWidgetOpen = require_action.action("PRODUCTLANE_WIDGET_OPEN", {
|
|
12
12
|
slug: "productlane-widget-open",
|
|
13
13
|
name: "Open Productlane Widget",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.cjs","names":["z","action"],"sources":["../../src/actions/widget-open.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenInput
|
|
1
|
+
{"version":3,"file":"widget-open.cjs","names":["z","action"],"sources":["../../src/actions/widget-open.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenInput = z.object({\n view: z.enum([\"INDEX\", \"CHANGELOG\", \"DOCS\", \"FEEDBACK\"]).describe(\"The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.\").optional(),\n});\nexport const ProductlaneWidgetOpenOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to open the Productlane widget.\").nullable(),\n});\n\nexport const productlaneWidgetOpen = action(\"PRODUCTLANE_WIDGET_OPEN\", {\n slug: \"productlane-widget-open\",\n name: \"Open Productlane Widget\",\n description: \"Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.\",\n input: ProductlaneWidgetOpenInput,\n output: ProductlaneWidgetOpenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAa;CAAQ;AAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,EACtM,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,EAClH,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-open.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOpenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOpenInput: z.ZodObject<{
|
|
5
|
+
view: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
INDEX: "INDEX";
|
|
7
|
+
CHANGELOG: "CHANGELOG";
|
|
8
|
+
DOCS: "DOCS";
|
|
9
|
+
FEEDBACK: "FEEDBACK";
|
|
10
|
+
}>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ProductlaneWidgetOpenOutput: z.ZodObject<{
|
|
13
|
+
script: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const productlaneWidgetOpen: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
view?: "INDEX" | "CHANGELOG" | "DOCS" | "FEEDBACK" | undefined;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { productlaneWidgetOpen };
|
|
9
20
|
//# sourceMappingURL=widget-open.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.d.cts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"widget-open.d.cts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-open.d.ts
|
|
4
|
-
declare const ProductlaneWidgetOpenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetOpenInput: z.ZodObject<{
|
|
5
|
+
view: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
INDEX: "INDEX";
|
|
7
|
+
CHANGELOG: "CHANGELOG";
|
|
8
|
+
DOCS: "DOCS";
|
|
9
|
+
FEEDBACK: "FEEDBACK";
|
|
10
|
+
}>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ProductlaneWidgetOpenOutput: z.ZodObject<{
|
|
13
|
+
script: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const productlaneWidgetOpen: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
view?: "INDEX" | "CHANGELOG" | "DOCS" | "FEEDBACK" | undefined;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { productlaneWidgetOpen };
|
|
9
20
|
//# sourceMappingURL=widget-open.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.d.mts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"widget-open.d.mts","names":[],"sources":["../../src/actions/widget-open.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -10,7 +10,7 @@ const productlaneWidgetOpen = action("PRODUCTLANE_WIDGET_OPEN", {
|
|
|
10
10
|
"DOCS",
|
|
11
11
|
"FEEDBACK"
|
|
12
12
|
]).describe("The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.").optional() }),
|
|
13
|
-
output: z.object({ script: z.string().describe("HTML <script> tag containing JavaScript to open the Productlane widget.") })
|
|
13
|
+
output: z.object({ script: z.string().describe("HTML <script> tag containing JavaScript to open the Productlane widget.").nullable() })
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { productlaneWidgetOpen };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-open.mjs","names":[],"sources":["../../src/actions/widget-open.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenInput
|
|
1
|
+
{"version":3,"file":"widget-open.mjs","names":[],"sources":["../../src/actions/widget-open.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenInput = z.object({\n view: z.enum([\"INDEX\", \"CHANGELOG\", \"DOCS\", \"FEEDBACK\"]).describe(\"The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.\").optional(),\n});\nexport const ProductlaneWidgetOpenOutput = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to open the Productlane widget.\").nullable(),\n});\n\nexport const productlaneWidgetOpen = action(\"PRODUCTLANE_WIDGET_OPEN\", {\n slug: \"productlane-widget-open\",\n name: \"Open Productlane Widget\",\n description: \"Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.\",\n input: ProductlaneWidgetOpenInput,\n output: ProductlaneWidgetOpenOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwC,EAAE,OAAO,EACjD,MAAM,EAAE,KAAK;EAAC;EAAS;EAAa;EAAQ;CAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,EACtM,CASS;CACP,QATyC,EAAE,OAAO,EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,EAClH,CAOU;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/widget-toggle.ts
|
|
4
4
|
const ProductlaneWidgetToggleInput = zod.z.object({}).describe("Request schema for PRODUCTLANE_WIDGET_TOGGLE.\nThis action does not require parameters; calling it toggles the widget.");
|
|
5
|
-
const ProductlaneWidgetToggleOutput = zod.z.object({ javascript: zod.z.string().describe("JavaScript code snippet to toggle the Productlane widget") });
|
|
5
|
+
const ProductlaneWidgetToggleOutput = zod.z.object({ javascript: zod.z.string().describe("JavaScript code snippet to toggle the Productlane widget").nullable() });
|
|
6
6
|
const productlaneWidgetToggle = require_action.action("PRODUCTLANE_WIDGET_TOGGLE", {
|
|
7
7
|
slug: "productlane-widget-toggle",
|
|
8
8
|
name: "Toggle Productlane Widget",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-toggle.cjs","names":["z","action"],"sources":["../../src/actions/widget-toggle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetToggleInput
|
|
1
|
+
{"version":3,"file":"widget-toggle.cjs","names":["z","action"],"sources":["../../src/actions/widget-toggle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetToggleInput = z.object({}).describe(\"Request schema for PRODUCTLANE_WIDGET_TOGGLE.\\nThis action does not require parameters; calling it toggles the widget.\");\nexport const ProductlaneWidgetToggleOutput = z.object({\n javascript: z.string().describe(\"JavaScript code snippet to toggle the Productlane widget\").nullable(),\n});\n\nexport const productlaneWidgetToggle = action(\"PRODUCTLANE_WIDGET_TOGGLE\", {\n slug: \"productlane-widget-toggle\",\n name: \"Toggle Productlane Widget\",\n description: \"Tool to toggle the Productlane widget between open and closed states. Use after widget initialization.\",\n input: ProductlaneWidgetToggleInput,\n output: ProductlaneWidgetToggleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AAC1L,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACvG,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-toggle.d.ts
|
|
4
|
-
declare const ProductlaneWidgetToggleInput: z.
|
|
5
|
-
declare const ProductlaneWidgetToggleOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetToggleInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProductlaneWidgetToggleOutput: z.ZodObject<{
|
|
6
|
+
javascript: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const productlaneWidgetToggle: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { productlaneWidgetToggle };
|
|
9
11
|
//# sourceMappingURL=widget-toggle.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-toggle.d.cts","names":[],"sources":["../../src/actions/widget-toggle.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"widget-toggle.d.cts","names":[],"sources":["../../src/actions/widget-toggle.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/widget-toggle.d.ts
|
|
4
|
-
declare const ProductlaneWidgetToggleInput: z.
|
|
5
|
-
declare const ProductlaneWidgetToggleOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneWidgetToggleInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProductlaneWidgetToggleOutput: z.ZodObject<{
|
|
6
|
+
javascript: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const productlaneWidgetToggle: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { productlaneWidgetToggle };
|
|
9
11
|
//# sourceMappingURL=widget-toggle.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-toggle.d.mts","names":[],"sources":["../../src/actions/widget-toggle.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"widget-toggle.d.mts","names":[],"sources":["../../src/actions/widget-toggle.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -5,7 +5,7 @@ const productlaneWidgetToggle = action("PRODUCTLANE_WIDGET_TOGGLE", {
|
|
|
5
5
|
name: "Toggle Productlane Widget",
|
|
6
6
|
description: "Tool to toggle the Productlane widget between open and closed states. Use after widget initialization.",
|
|
7
7
|
input: z.object({}).describe("Request schema for PRODUCTLANE_WIDGET_TOGGLE.\nThis action does not require parameters; calling it toggles the widget."),
|
|
8
|
-
output: z.object({ javascript: z.string().describe("JavaScript code snippet to toggle the Productlane widget") })
|
|
8
|
+
output: z.object({ javascript: z.string().describe("JavaScript code snippet to toggle the Productlane widget").nullable() })
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { productlaneWidgetToggle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-toggle.mjs","names":[],"sources":["../../src/actions/widget-toggle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetToggleInput
|
|
1
|
+
{"version":3,"file":"widget-toggle.mjs","names":[],"sources":["../../src/actions/widget-toggle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetToggleInput = z.object({}).describe(\"Request schema for PRODUCTLANE_WIDGET_TOGGLE.\\nThis action does not require parameters; calling it toggles the widget.\");\nexport const ProductlaneWidgetToggleOutput = z.object({\n javascript: z.string().describe(\"JavaScript code snippet to toggle the Productlane widget\").nullable(),\n});\n\nexport const productlaneWidgetToggle = action(\"PRODUCTLANE_WIDGET_TOGGLE\", {\n slug: \"productlane-widget-toggle\",\n name: \"Toggle Productlane Widget\",\n description: \"Tool to toggle the Productlane widget between open and closed states. Use after widget initialization.\",\n input: ProductlaneWidgetToggleInput,\n output: ProductlaneWidgetToggleOutput,\n});\n"],"mappings":";;AASA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHASzD;CACP,QAT2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACvG,CAOU;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const productlaneCatalog = {
|
|
|
7
7
|
"category": "Customer Support",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/productlane",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Productlane API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Productlane API key used for authentication."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.productlaneCatalog = productlaneCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const productlaneCatalog = {\n \"slug\": \"productlane\",\n \"name\": \"Productlane\",\n \"description\": \"Productlane is a customer support and feedback system designed for modern companies, built on Linear.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/productlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const productlaneCatalog = {\n \"slug\": \"productlane\",\n \"name\": \"Productlane\",\n \"description\": \"Productlane is a customer support and feedback system designed for modern companies, built on Linear.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/productlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Productlane API Key\",\n \"secret\": true,\n \"description\": \"Your Productlane API key used for authentication.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const productlaneCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/productlane";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Productlane API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Productlane API key used for authentication.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { productlaneCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const productlaneCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/productlane";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Productlane API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Productlane API key used for authentication.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { productlaneCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const productlaneCatalog = {
|
|
|
7
7
|
"category": "Customer Support",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/productlane",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Productlane API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Productlane API key used for authentication."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { productlaneCatalog };
|