@keystrokehq/productlane 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-changelog.cjs +33 -0
- package/dist/actions/create-changelog.cjs.map +1 -0
- package/dist/actions/create-changelog.d.cts +9 -0
- package/dist/actions/create-changelog.d.cts.map +1 -0
- package/dist/actions/create-changelog.d.mts +9 -0
- package/dist/actions/create-changelog.d.mts.map +1 -0
- package/dist/actions/create-changelog.mjs +30 -0
- package/dist/actions/create-changelog.mjs.map +1 -0
- package/dist/actions/create-company.cjs +52 -0
- package/dist/actions/create-company.cjs.map +1 -0
- package/dist/actions/create-company.d.cts +9 -0
- package/dist/actions/create-company.d.cts.map +1 -0
- package/dist/actions/create-company.d.mts +9 -0
- package/dist/actions/create-company.d.mts.map +1 -0
- package/dist/actions/create-company.mjs +49 -0
- package/dist/actions/create-company.mjs.map +1 -0
- package/dist/actions/create-contact.cjs +37 -0
- package/dist/actions/create-contact.cjs.map +1 -0
- package/dist/actions/create-contact.d.cts +9 -0
- package/dist/actions/create-contact.d.cts.map +1 -0
- package/dist/actions/create-contact.d.mts +9 -0
- package/dist/actions/create-contact.d.mts.map +1 -0
- package/dist/actions/create-contact.mjs +34 -0
- package/dist/actions/create-contact.mjs.map +1 -0
- package/dist/actions/create-feedback.cjs +53 -0
- package/dist/actions/create-feedback.cjs.map +1 -0
- package/dist/actions/create-feedback.d.cts +9 -0
- package/dist/actions/create-feedback.d.cts.map +1 -0
- package/dist/actions/create-feedback.d.mts +9 -0
- package/dist/actions/create-feedback.d.mts.map +1 -0
- package/dist/actions/create-feedback.mjs +50 -0
- package/dist/actions/create-feedback.mjs.map +1 -0
- package/dist/actions/create-insight.cjs +188 -0
- package/dist/actions/create-insight.cjs.map +1 -0
- package/dist/actions/create-insight.d.cts +9 -0
- package/dist/actions/create-insight.d.cts.map +1 -0
- package/dist/actions/create-insight.d.mts +9 -0
- package/dist/actions/create-insight.d.mts.map +1 -0
- package/dist/actions/create-insight.mjs +187 -0
- package/dist/actions/create-insight.mjs.map +1 -0
- package/dist/actions/create-thread.cjs +29 -0
- package/dist/actions/create-thread.cjs.map +1 -0
- package/dist/actions/create-thread.d.cts +9 -0
- package/dist/actions/create-thread.d.cts.map +1 -0
- package/dist/actions/create-thread.d.mts +9 -0
- package/dist/actions/create-thread.d.mts.map +1 -0
- package/dist/actions/create-thread.mjs +26 -0
- package/dist/actions/create-thread.mjs.map +1 -0
- package/dist/actions/create-upvote.cjs +28 -0
- package/dist/actions/create-upvote.cjs.map +1 -0
- package/dist/actions/create-upvote.d.cts +9 -0
- package/dist/actions/create-upvote.d.cts.map +1 -0
- package/dist/actions/create-upvote.d.mts +9 -0
- package/dist/actions/create-upvote.d.mts.map +1 -0
- package/dist/actions/create-upvote.mjs +25 -0
- package/dist/actions/create-upvote.mjs.map +1 -0
- package/dist/actions/delete-company.cjs +16 -0
- package/dist/actions/delete-company.cjs.map +1 -0
- package/dist/actions/delete-company.d.cts +9 -0
- package/dist/actions/delete-company.d.cts.map +1 -0
- package/dist/actions/delete-company.d.mts +9 -0
- package/dist/actions/delete-company.d.mts.map +1 -0
- package/dist/actions/delete-company.mjs +13 -0
- package/dist/actions/delete-company.mjs.map +1 -0
- package/dist/actions/delete-contact.cjs +16 -0
- package/dist/actions/delete-contact.cjs.map +1 -0
- package/dist/actions/delete-contact.d.cts +9 -0
- package/dist/actions/delete-contact.d.cts.map +1 -0
- package/dist/actions/delete-contact.d.mts +9 -0
- package/dist/actions/delete-contact.d.mts.map +1 -0
- package/dist/actions/delete-contact.mjs +13 -0
- package/dist/actions/delete-contact.mjs.map +1 -0
- package/dist/actions/delete-upvote.cjs +25 -0
- package/dist/actions/delete-upvote.cjs.map +1 -0
- package/dist/actions/delete-upvote.d.cts +9 -0
- package/dist/actions/delete-upvote.d.cts.map +1 -0
- package/dist/actions/delete-upvote.d.mts +9 -0
- package/dist/actions/delete-upvote.d.mts.map +1 -0
- package/dist/actions/delete-upvote.mjs +22 -0
- package/dist/actions/delete-upvote.mjs.map +1 -0
- package/dist/actions/enable-widget.cjs +19 -0
- package/dist/actions/enable-widget.cjs.map +1 -0
- package/dist/actions/enable-widget.d.cts +9 -0
- package/dist/actions/enable-widget.d.cts.map +1 -0
- package/dist/actions/enable-widget.d.mts +9 -0
- package/dist/actions/enable-widget.d.mts.map +1 -0
- package/dist/actions/enable-widget.mjs +16 -0
- package/dist/actions/enable-widget.mjs.map +1 -0
- package/dist/actions/get-changelog.cjs +38 -0
- package/dist/actions/get-changelog.cjs.map +1 -0
- package/dist/actions/get-changelog.d.cts +9 -0
- package/dist/actions/get-changelog.d.cts.map +1 -0
- package/dist/actions/get-changelog.d.mts +9 -0
- package/dist/actions/get-changelog.d.mts.map +1 -0
- package/dist/actions/get-changelog.mjs +35 -0
- package/dist/actions/get-changelog.mjs.map +1 -0
- package/dist/actions/get-company.cjs +44 -0
- package/dist/actions/get-company.cjs.map +1 -0
- package/dist/actions/get-company.d.cts +9 -0
- package/dist/actions/get-company.d.cts.map +1 -0
- package/dist/actions/get-company.d.mts +9 -0
- package/dist/actions/get-company.d.mts.map +1 -0
- package/dist/actions/get-company.mjs +43 -0
- package/dist/actions/get-company.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +31 -0
- package/dist/actions/get-contact.cjs.map +1 -0
- package/dist/actions/get-contact.d.cts +9 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +9 -0
- package/dist/actions/get-contact.d.mts.map +1 -0
- package/dist/actions/get-contact.mjs +28 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-help-center-article.cjs +33 -0
- package/dist/actions/get-help-center-article.cjs.map +1 -0
- package/dist/actions/get-help-center-article.d.cts +9 -0
- package/dist/actions/get-help-center-article.d.cts.map +1 -0
- package/dist/actions/get-help-center-article.d.mts +9 -0
- package/dist/actions/get-help-center-article.d.mts.map +1 -0
- package/dist/actions/get-help-center-article.mjs +30 -0
- package/dist/actions/get-help-center-article.mjs.map +1 -0
- package/dist/actions/get-insight.cjs +167 -0
- package/dist/actions/get-insight.cjs.map +1 -0
- package/dist/actions/get-insight.d.cts +9 -0
- package/dist/actions/get-insight.d.cts.map +1 -0
- package/dist/actions/get-insight.d.mts +9 -0
- package/dist/actions/get-insight.d.mts.map +1 -0
- package/dist/actions/get-insight.mjs +166 -0
- package/dist/actions/get-insight.mjs.map +1 -0
- package/dist/actions/get-issue.cjs +43 -0
- package/dist/actions/get-issue.cjs.map +1 -0
- package/dist/actions/get-issue.d.cts +9 -0
- package/dist/actions/get-issue.d.cts.map +1 -0
- package/dist/actions/get-issue.d.mts +9 -0
- package/dist/actions/get-issue.d.mts.map +1 -0
- package/dist/actions/get-issue.mjs +40 -0
- package/dist/actions/get-issue.mjs.map +1 -0
- package/dist/actions/get-linear-options.cjs +28 -0
- package/dist/actions/get-linear-options.cjs.map +1 -0
- package/dist/actions/get-linear-options.d.cts +9 -0
- package/dist/actions/get-linear-options.d.cts.map +1 -0
- package/dist/actions/get-linear-options.d.mts +9 -0
- package/dist/actions/get-linear-options.d.mts.map +1 -0
- package/dist/actions/get-linear-options.mjs +27 -0
- package/dist/actions/get-linear-options.mjs.map +1 -0
- package/dist/actions/get-project.cjs +34 -0
- package/dist/actions/get-project.cjs.map +1 -0
- package/dist/actions/get-project.d.cts +9 -0
- package/dist/actions/get-project.d.cts.map +1 -0
- package/dist/actions/get-project.d.mts +9 -0
- package/dist/actions/get-project.d.mts.map +1 -0
- package/dist/actions/get-project.mjs +31 -0
- package/dist/actions/get-project.mjs.map +1 -0
- package/dist/actions/get-workspace.cjs +53 -0
- package/dist/actions/get-workspace.cjs.map +1 -0
- package/dist/actions/get-workspace.d.cts +9 -0
- package/dist/actions/get-workspace.d.cts.map +1 -0
- package/dist/actions/get-workspace.d.mts +9 -0
- package/dist/actions/get-workspace.d.mts.map +1 -0
- package/dist/actions/get-workspace.mjs +52 -0
- package/dist/actions/get-workspace.mjs.map +1 -0
- package/dist/actions/index.cjs +79 -0
- package/dist/actions/index.d.cts +40 -0
- package/dist/actions/index.d.mts +40 -0
- package/dist/actions/index.mjs +40 -0
- package/dist/actions/invite-user.cjs +24 -0
- package/dist/actions/invite-user.cjs.map +1 -0
- package/dist/actions/invite-user.d.cts +9 -0
- package/dist/actions/invite-user.d.cts.map +1 -0
- package/dist/actions/invite-user.d.mts +9 -0
- package/dist/actions/invite-user.d.mts.map +1 -0
- package/dist/actions/invite-user.mjs +21 -0
- package/dist/actions/invite-user.mjs.map +1 -0
- package/dist/actions/list-changelogs.cjs +34 -0
- package/dist/actions/list-changelogs.cjs.map +1 -0
- package/dist/actions/list-changelogs.d.cts +9 -0
- package/dist/actions/list-changelogs.d.cts.map +1 -0
- package/dist/actions/list-changelogs.d.mts +9 -0
- package/dist/actions/list-changelogs.d.mts.map +1 -0
- package/dist/actions/list-changelogs.mjs +33 -0
- package/dist/actions/list-changelogs.mjs.map +1 -0
- package/dist/actions/list-companies.cjs +61 -0
- package/dist/actions/list-companies.cjs.map +1 -0
- package/dist/actions/list-companies.d.cts +9 -0
- package/dist/actions/list-companies.d.cts.map +1 -0
- package/dist/actions/list-companies.d.mts +9 -0
- package/dist/actions/list-companies.d.mts.map +1 -0
- package/dist/actions/list-companies.mjs +60 -0
- package/dist/actions/list-companies.mjs.map +1 -0
- package/dist/actions/list-contacts.cjs +46 -0
- package/dist/actions/list-contacts.cjs.map +1 -0
- package/dist/actions/list-contacts.d.cts +9 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +9 -0
- package/dist/actions/list-contacts.d.mts.map +1 -0
- package/dist/actions/list-contacts.mjs +45 -0
- package/dist/actions/list-contacts.mjs.map +1 -0
- package/dist/actions/list-help-center-articles.cjs +33 -0
- package/dist/actions/list-help-center-articles.cjs.map +1 -0
- package/dist/actions/list-help-center-articles.d.cts +9 -0
- package/dist/actions/list-help-center-articles.d.cts.map +1 -0
- package/dist/actions/list-help-center-articles.d.mts +9 -0
- package/dist/actions/list-help-center-articles.d.mts.map +1 -0
- package/dist/actions/list-help-center-articles.mjs +32 -0
- package/dist/actions/list-help-center-articles.mjs.map +1 -0
- package/dist/actions/list-insights.cjs +90 -0
- package/dist/actions/list-insights.cjs.map +1 -0
- package/dist/actions/list-insights.d.cts +9 -0
- package/dist/actions/list-insights.d.cts.map +1 -0
- package/dist/actions/list-insights.d.mts +9 -0
- package/dist/actions/list-insights.d.mts.map +1 -0
- package/dist/actions/list-insights.mjs +89 -0
- package/dist/actions/list-insights.mjs.map +1 -0
- package/dist/actions/list-issues.cjs +43 -0
- package/dist/actions/list-issues.cjs.map +1 -0
- package/dist/actions/list-issues.d.cts +9 -0
- package/dist/actions/list-issues.d.cts.map +1 -0
- package/dist/actions/list-issues.d.mts +9 -0
- package/dist/actions/list-issues.d.mts.map +1 -0
- package/dist/actions/list-issues.mjs +42 -0
- package/dist/actions/list-issues.mjs.map +1 -0
- package/dist/actions/list-members.cjs +31 -0
- package/dist/actions/list-members.cjs.map +1 -0
- package/dist/actions/list-members.d.cts +9 -0
- package/dist/actions/list-members.d.cts.map +1 -0
- package/dist/actions/list-members.d.mts +9 -0
- package/dist/actions/list-members.d.mts.map +1 -0
- package/dist/actions/list-members.mjs +30 -0
- package/dist/actions/list-members.mjs.map +1 -0
- package/dist/actions/list-projects.cjs +34 -0
- package/dist/actions/list-projects.cjs.map +1 -0
- package/dist/actions/list-projects.d.cts +9 -0
- package/dist/actions/list-projects.d.cts.map +1 -0
- package/dist/actions/list-projects.d.mts +9 -0
- package/dist/actions/list-projects.d.mts.map +1 -0
- package/dist/actions/list-projects.mjs +33 -0
- package/dist/actions/list-projects.mjs.map +1 -0
- package/dist/actions/update-company.cjs +53 -0
- package/dist/actions/update-company.cjs.map +1 -0
- package/dist/actions/update-company.d.cts +9 -0
- package/dist/actions/update-company.d.cts.map +1 -0
- package/dist/actions/update-company.d.mts +9 -0
- package/dist/actions/update-company.d.mts.map +1 -0
- package/dist/actions/update-company.mjs +50 -0
- package/dist/actions/update-company.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +38 -0
- package/dist/actions/update-contact.cjs.map +1 -0
- package/dist/actions/update-contact.d.cts +9 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +9 -0
- package/dist/actions/update-contact.d.mts.map +1 -0
- package/dist/actions/update-contact.mjs +35 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-insight.cjs +116 -0
- package/dist/actions/update-insight.cjs.map +1 -0
- package/dist/actions/update-insight.d.cts +9 -0
- package/dist/actions/update-insight.d.cts.map +1 -0
- package/dist/actions/update-insight.d.mts +9 -0
- package/dist/actions/update-insight.d.mts.map +1 -0
- package/dist/actions/update-insight.mjs +115 -0
- package/dist/actions/update-insight.mjs.map +1 -0
- package/dist/actions/widget-close.cjs +16 -0
- package/dist/actions/widget-close.cjs.map +1 -0
- package/dist/actions/widget-close.d.cts +9 -0
- package/dist/actions/widget-close.d.cts.map +1 -0
- package/dist/actions/widget-close.d.mts +9 -0
- package/dist/actions/widget-close.d.mts.map +1 -0
- package/dist/actions/widget-close.mjs +13 -0
- package/dist/actions/widget-close.mjs.map +1 -0
- package/dist/actions/widget-disable.cjs +19 -0
- package/dist/actions/widget-disable.cjs.map +1 -0
- package/dist/actions/widget-disable.d.cts +9 -0
- package/dist/actions/widget-disable.d.cts.map +1 -0
- package/dist/actions/widget-disable.d.mts +9 -0
- package/dist/actions/widget-disable.d.mts.map +1 -0
- package/dist/actions/widget-disable.mjs +16 -0
- package/dist/actions/widget-disable.mjs.map +1 -0
- package/dist/actions/widget-off-event.cjs +26 -0
- package/dist/actions/widget-off-event.cjs.map +1 -0
- package/dist/actions/widget-off-event.d.cts +9 -0
- package/dist/actions/widget-off-event.d.cts.map +1 -0
- package/dist/actions/widget-off-event.d.mts +9 -0
- package/dist/actions/widget-off-event.d.mts.map +1 -0
- package/dist/actions/widget-off-event.mjs +23 -0
- package/dist/actions/widget-off-event.mjs.map +1 -0
- package/dist/actions/widget-on-event.cjs +24 -0
- package/dist/actions/widget-on-event.cjs.map +1 -0
- package/dist/actions/widget-on-event.d.cts +9 -0
- package/dist/actions/widget-on-event.d.cts.map +1 -0
- package/dist/actions/widget-on-event.d.mts +9 -0
- package/dist/actions/widget-on-event.d.mts.map +1 -0
- package/dist/actions/widget-on-event.mjs +21 -0
- package/dist/actions/widget-on-event.mjs.map +1 -0
- package/dist/actions/widget-open-docs.cjs +19 -0
- package/dist/actions/widget-open-docs.cjs.map +1 -0
- package/dist/actions/widget-open-docs.d.cts +9 -0
- package/dist/actions/widget-open-docs.d.cts.map +1 -0
- package/dist/actions/widget-open-docs.d.mts +9 -0
- package/dist/actions/widget-open-docs.d.mts.map +1 -0
- package/dist/actions/widget-open-docs.mjs +16 -0
- package/dist/actions/widget-open-docs.mjs.map +1 -0
- package/dist/actions/widget-open.cjs +21 -0
- package/dist/actions/widget-open.cjs.map +1 -0
- package/dist/actions/widget-open.d.cts +9 -0
- package/dist/actions/widget-open.d.cts.map +1 -0
- package/dist/actions/widget-open.d.mts +9 -0
- package/dist/actions/widget-open.d.mts.map +1 -0
- package/dist/actions/widget-open.mjs +18 -0
- package/dist/actions/widget-open.mjs.map +1 -0
- package/dist/actions/widget-toggle.cjs +16 -0
- package/dist/actions/widget-toggle.cjs.map +1 -0
- package/dist/actions/widget-toggle.d.cts +9 -0
- package/dist/actions/widget-toggle.d.cts.map +1 -0
- package/dist/actions/widget-toggle.d.mts +9 -0
- package/dist/actions/widget-toggle.d.mts.map +1 -0
- package/dist/actions/widget-toggle.mjs +13 -0
- package/dist/actions/widget-toggle.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +84 -0
- package/dist/index.d.cts +42 -0
- package/dist/index.d.mts +42 -0
- package/dist/index.mjs +43 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/productlane
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `productlane`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 39
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { productlaneCreateChangelog } from "@keystrokehq/productlane/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "productlane-agent",
|
|
15
|
+
tools: [productlaneCreateChangelog],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.productlane.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeProductlaneTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["productlane","executeProductlaneTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { productlane } from \"./app\";\nimport { executeProductlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return productlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProductlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { productlane } from "./app.mjs";
|
|
2
|
+
import { executeProductlaneTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return productlane.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeProductlaneTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { productlane } from \"./app\";\nimport { executeProductlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return productlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProductlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-changelog.ts
|
|
4
|
+
const ProductlaneCreateChangelogInput = zod.z.object({
|
|
5
|
+
date: zod.z.string().describe("Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.").optional(),
|
|
6
|
+
title: zod.z.string().describe("Title of the changelog entry. Must be at least 1 character long."),
|
|
7
|
+
content: zod.z.string().describe("Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features."),
|
|
8
|
+
published: zod.z.boolean().default(false).describe("Whether the changelog entry should be published immediately. Defaults to false (draft mode).").optional()
|
|
9
|
+
}).describe("Request schema for creating a new changelog entry.");
|
|
10
|
+
const ProductlaneCreateChangelogOutput = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("Unique identifier for the changelog entry."),
|
|
12
|
+
date: zod.z.string().describe("Publication date of the changelog entry (ISO 8601 format). Null if not set.").nullable().optional(),
|
|
13
|
+
title: zod.z.string().describe("Title of the changelog entry."),
|
|
14
|
+
version: zod.z.number().describe("Version number of the changelog entry."),
|
|
15
|
+
archived: zod.z.boolean().describe("Whether the changelog entry is archived."),
|
|
16
|
+
createdAt: zod.z.string().describe("Timestamp when the changelog entry was created (ISO 8601 format)."),
|
|
17
|
+
isDeleted: zod.z.boolean().describe("Whether the changelog entry is deleted."),
|
|
18
|
+
projectId: zod.z.string().describe("ID of the project associated with this changelog entry. Null if not associated with a project.").nullable().optional(),
|
|
19
|
+
published: zod.z.boolean().describe("Whether the changelog entry is published or in draft mode."),
|
|
20
|
+
updatedAt: zod.z.string().describe("Timestamp when the changelog entry was last updated (ISO 8601 format)."),
|
|
21
|
+
workspaceId: zod.z.string().describe("ID of the workspace this changelog entry belongs to.")
|
|
22
|
+
}).describe("Response schema for creating a changelog entry.");
|
|
23
|
+
const productlaneCreateChangelog = require_action.action("PRODUCTLANE_CREATE_CHANGELOG", {
|
|
24
|
+
slug: "productlane-create-changelog",
|
|
25
|
+
name: "Create Changelog Entry",
|
|
26
|
+
description: "Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.",
|
|
27
|
+
input: ProductlaneCreateChangelogInput,
|
|
28
|
+
output: ProductlaneCreateChangelogOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.productlaneCreateChangelog = productlaneCreateChangelog;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=create-changelog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-changelog.cjs","names":["z","action"],"sources":["../../src/actions/create-changelog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateChangelogInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.\").optional(),\n title: z.string().describe(\"Title of the changelog entry. Must be at least 1 character long.\"),\n content: z.string().describe(\"Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features.\"),\n published: z.boolean().default(false).describe(\"Whether the changelog entry should be published immediately. Defaults to false (draft mode).\").optional(),\n}).describe(\"Request schema for creating a new changelog entry.\");\nexport const ProductlaneCreateChangelogOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the changelog entry.\"),\n date: z.string().describe(\"Publication date of the changelog entry (ISO 8601 format). Null if not set.\").nullable().optional(),\n title: z.string().describe(\"Title of the changelog entry.\"),\n version: z.number().describe(\"Version number of the changelog entry.\"),\n archived: z.boolean().describe(\"Whether the changelog entry is archived.\"),\n createdAt: z.string().describe(\"Timestamp when the changelog entry was created (ISO 8601 format).\"),\n isDeleted: z.boolean().describe(\"Whether the changelog entry is deleted.\"),\n projectId: z.string().describe(\"ID of the project associated with this changelog entry. Null if not associated with a project.\").nullable().optional(),\n published: z.boolean().describe(\"Whether the changelog entry is published or in draft mode.\"),\n updatedAt: z.string().describe(\"Timestamp when the changelog entry was last updated (ISO 8601 format).\"),\n workspaceId: z.string().describe(\"ID of the workspace this changelog entry belongs to.\"),\n}).describe(\"Response schema for creating a changelog entry.\");\n\nexport const productlaneCreateChangelog = action(\"PRODUCTLANE_CREATE_CHANGELOG\", {\n slug: \"productlane-create-changelog\",\n name: \"Create Changelog Entry\",\n description: \"Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.\",\n input: ProductlaneCreateChangelogInput,\n output: ProductlaneCreateChangelogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACtL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CACzK,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAClG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-changelog.d.ts
|
|
4
|
+
declare const ProductlaneCreateChangelogInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateChangelogOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateChangelog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateChangelog };
|
|
9
|
+
//# sourceMappingURL=create-changelog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-changelog.d.cts","names":[],"sources":["../../src/actions/create-changelog.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKiB;AAAA,cACpD,gCAAA,EAAkC,CAAA,CAAE,UAYa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-changelog.d.ts
|
|
4
|
+
declare const ProductlaneCreateChangelogInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateChangelogOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateChangelog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateChangelog };
|
|
9
|
+
//# sourceMappingURL=create-changelog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-changelog.d.mts","names":[],"sources":["../../src/actions/create-changelog.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKiB;AAAA,cACpD,gCAAA,EAAkC,CAAA,CAAE,UAYa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const productlaneCreateChangelog = action("PRODUCTLANE_CREATE_CHANGELOG", {
|
|
4
|
+
slug: "productlane-create-changelog",
|
|
5
|
+
name: "Create Changelog Entry",
|
|
6
|
+
description: "Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
date: z.string().describe("Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.").optional(),
|
|
9
|
+
title: z.string().describe("Title of the changelog entry. Must be at least 1 character long."),
|
|
10
|
+
content: z.string().describe("Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features."),
|
|
11
|
+
published: z.boolean().default(false).describe("Whether the changelog entry should be published immediately. Defaults to false (draft mode).").optional()
|
|
12
|
+
}).describe("Request schema for creating a new changelog entry."),
|
|
13
|
+
output: z.object({
|
|
14
|
+
id: z.string().describe("Unique identifier for the changelog entry."),
|
|
15
|
+
date: z.string().describe("Publication date of the changelog entry (ISO 8601 format). Null if not set.").nullable().optional(),
|
|
16
|
+
title: z.string().describe("Title of the changelog entry."),
|
|
17
|
+
version: z.number().describe("Version number of the changelog entry."),
|
|
18
|
+
archived: z.boolean().describe("Whether the changelog entry is archived."),
|
|
19
|
+
createdAt: z.string().describe("Timestamp when the changelog entry was created (ISO 8601 format)."),
|
|
20
|
+
isDeleted: z.boolean().describe("Whether the changelog entry is deleted."),
|
|
21
|
+
projectId: z.string().describe("ID of the project associated with this changelog entry. Null if not associated with a project.").nullable().optional(),
|
|
22
|
+
published: z.boolean().describe("Whether the changelog entry is published or in draft mode."),
|
|
23
|
+
updatedAt: z.string().describe("Timestamp when the changelog entry was last updated (ISO 8601 format)."),
|
|
24
|
+
workspaceId: z.string().describe("ID of the workspace this changelog entry belongs to.")
|
|
25
|
+
}).describe("Response schema for creating a changelog entry.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { productlaneCreateChangelog };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=create-changelog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-changelog.mjs","names":[],"sources":["../../src/actions/create-changelog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateChangelogInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.\").optional(),\n title: z.string().describe(\"Title of the changelog entry. Must be at least 1 character long.\"),\n content: z.string().describe(\"Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features.\"),\n published: z.boolean().default(false).describe(\"Whether the changelog entry should be published immediately. Defaults to false (draft mode).\").optional(),\n}).describe(\"Request schema for creating a new changelog entry.\");\nexport const ProductlaneCreateChangelogOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the changelog entry.\"),\n date: z.string().describe(\"Publication date of the changelog entry (ISO 8601 format). Null if not set.\").nullable().optional(),\n title: z.string().describe(\"Title of the changelog entry.\"),\n version: z.number().describe(\"Version number of the changelog entry.\"),\n archived: z.boolean().describe(\"Whether the changelog entry is archived.\"),\n createdAt: z.string().describe(\"Timestamp when the changelog entry was created (ISO 8601 format).\"),\n isDeleted: z.boolean().describe(\"Whether the changelog entry is deleted.\"),\n projectId: z.string().describe(\"ID of the project associated with this changelog entry. Null if not associated with a project.\").nullable().optional(),\n published: z.boolean().describe(\"Whether the changelog entry is published or in draft mode.\"),\n updatedAt: z.string().describe(\"Timestamp when the changelog entry was last updated (ISO 8601 format).\"),\n workspaceId: z.string().describe(\"ID of the workspace this changelog entry belongs to.\"),\n}).describe(\"Response schema for creating a changelog entry.\");\n\nexport const productlaneCreateChangelog = action(\"PRODUCTLANE_CREATE_CHANGELOG\", {\n slug: \"productlane-create-changelog\",\n name: \"Create Changelog Entry\",\n description: \"Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.\",\n input: ProductlaneCreateChangelogInput,\n output: ProductlaneCreateChangelogOutput,\n});\n"],"mappings":";;AAwBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACtL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;EACzK,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,oDAmBH;CACP,QAnB4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAClG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACzF,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-company.ts
|
|
4
|
+
const ProductlaneCreateCompanyInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Company name. This is the only required field."),
|
|
6
|
+
size: zod.z.number().int().describe("Company size (number of employees). Can be null.").optional(),
|
|
7
|
+
tierId: zod.z.string().describe("Tier ID for Linear customer integration. Can be null.").optional(),
|
|
8
|
+
autoAdd: zod.z.boolean().describe("Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.").optional(),
|
|
9
|
+
domains: zod.z.array(zod.z.string()).describe("List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\.(?:(?:co|or|gv|ac|com)\\.)?[a-z]{2,7}$").optional(),
|
|
10
|
+
revenue: zod.z.number().int().describe("Company revenue. Can be null.").optional(),
|
|
11
|
+
statusId: zod.z.string().describe("Status ID for Linear customer integration. Can be null.").optional(),
|
|
12
|
+
tierName: zod.z.string().describe("Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.").optional(),
|
|
13
|
+
statusName: zod.z.string().describe("Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.").optional(),
|
|
14
|
+
externalIds: zod.z.array(zod.z.string()).describe("External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.").optional(),
|
|
15
|
+
statusColor: zod.z.string().describe("Status color for Linear customer integration (hex color code or color name). Can be null.").optional()
|
|
16
|
+
}).describe("Request parameters for creating a new company in Productlane.");
|
|
17
|
+
const ProductlaneCreateCompanyOutput = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("Unique company identifier (UUID format)."),
|
|
19
|
+
name: zod.z.string().describe("Company name."),
|
|
20
|
+
size: zod.z.number().int().describe("Company size (number of employees). Can be null.").nullable().optional(),
|
|
21
|
+
slugId: zod.z.string().describe("URL-friendly slug identifier. Can be null.").nullable().optional(),
|
|
22
|
+
tierId: zod.z.string().describe("Tier ID for Linear customer. Can be null.").nullable().optional(),
|
|
23
|
+
autoAdd: zod.z.boolean().describe("Whether automatic contact linking is enabled. Can be null.").nullable().optional(),
|
|
24
|
+
domains: zod.z.array(zod.z.string()).describe("List of company domains."),
|
|
25
|
+
logoUrl: zod.z.string().describe("URL to the company logo. Can be null.").nullable().optional(),
|
|
26
|
+
revenue: zod.z.number().int().describe("Company revenue. Can be null.").nullable().optional(),
|
|
27
|
+
version: zod.z.number().int().describe("Version number for optimistic locking."),
|
|
28
|
+
statusId: zod.z.string().describe("Status ID for Linear customer. Can be null.").nullable().optional(),
|
|
29
|
+
tierName: zod.z.string().describe("Tier name for Linear customer. Can be null.").nullable().optional(),
|
|
30
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the company was created."),
|
|
31
|
+
hubspotId: zod.z.string().describe("HubSpot integration ID. Can be null.").nullable().optional(),
|
|
32
|
+
isDeleted: zod.z.boolean().describe("Whether the company is marked as deleted. Always false for new companies."),
|
|
33
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the company was last updated."),
|
|
34
|
+
intercomId: zod.z.string().describe("Intercom integration ID. Can be null.").nullable().optional(),
|
|
35
|
+
statusName: zod.z.string().describe("Status name for Linear customer. Can be null.").nullable().optional(),
|
|
36
|
+
externalIds: zod.z.array(zod.z.string()).describe("List of external identifiers from other systems."),
|
|
37
|
+
statusColor: zod.z.string().describe("Status color for Linear customer. Can be null.").nullable().optional(),
|
|
38
|
+
workspaceId: zod.z.string().describe("Workspace ID this company belongs to (UUID format)."),
|
|
39
|
+
productboardId: zod.z.string().describe("Productboard integration ID. Can be null.").nullable().optional(),
|
|
40
|
+
linearCustomerId: zod.z.string().describe("Linear customer ID if integrated. Can be null.").nullable().optional()
|
|
41
|
+
}).describe("Response containing the newly created company details.");
|
|
42
|
+
const productlaneCreateCompany = require_action.action("PRODUCTLANE_CREATE_COMPANY", {
|
|
43
|
+
slug: "productlane-create-company",
|
|
44
|
+
name: "Create Company",
|
|
45
|
+
description: "Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.",
|
|
46
|
+
input: ProductlaneCreateCompanyInput,
|
|
47
|
+
output: ProductlaneCreateCompanyOutput
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
exports.productlaneCreateCompany = productlaneCreateCompany;
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=create-company.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-company.cjs","names":["z","action"],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateCompanyInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Company name. This is the only required field.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer integration. Can be null.\").optional(),\n autoAdd: z.boolean().describe(\"Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.\").optional(),\n domains: z.array(z.string()).describe(\"List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\\\.(?:(?:co|or|gv|ac|com)\\\\.)?[a-z]{2,7}$\").optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").optional(),\n statusId: z.string().describe(\"Status ID for Linear customer integration. Can be null.\").optional(),\n tierName: z.string().describe(\"Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.\").optional(),\n statusName: z.string().describe(\"Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.\").optional(),\n externalIds: z.array(z.string()).describe(\"External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.\").optional(),\n statusColor: z.string().describe(\"Status color for Linear customer integration (hex color code or color name). Can be null.\").optional(),\n}).describe(\"Request parameters for creating a new company in Productlane.\");\nexport const ProductlaneCreateCompanyOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique company identifier (UUID format).\"),\n name: z.string().describe(\"Company name.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier. Can be null.\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer. Can be null.\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether automatic contact linking is enabled. Can be null.\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of company domains.\"),\n logoUrl: z.string().describe(\"URL to the company logo. Can be null.\").nullable().optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").nullable().optional(),\n version: z.number().int().describe(\"Version number for optimistic locking.\"),\n statusId: z.string().describe(\"Status ID for Linear customer. Can be null.\").nullable().optional(),\n tierName: z.string().describe(\"Tier name for Linear customer. Can be null.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created.\"),\n hubspotId: z.string().describe(\"HubSpot integration ID. Can be null.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is marked as deleted. Always false for new companies.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated.\"),\n intercomId: z.string().describe(\"Intercom integration ID. Can be null.\").nullable().optional(),\n statusName: z.string().describe(\"Status name for Linear customer. Can be null.\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers from other systems.\"),\n statusColor: z.string().describe(\"Status color for Linear customer. Can be null.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this company belongs to (UUID format).\"),\n productboardId: z.string().describe(\"Productboard integration ID. Can be null.\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated. Can be null.\").nullable().optional(),\n}).describe(\"Response containing the newly created company details.\");\n\nexport const productlaneCreateCompany = action(\"PRODUCTLANE_CREATE_COMPANY\", {\n slug: \"productlane-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.\",\n input: ProductlaneCreateCompanyInput,\n output: ProductlaneCreateCompanyOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-company.d.ts
|
|
4
|
+
declare const ProductlaneCreateCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateCompany };
|
|
9
|
+
//# sourceMappingURL=create-company.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-company.d.cts","names":[],"sources":["../../src/actions/create-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAY8B;AAAA,cAC/D,8BAAA,EAAgC,CAAA,CAAE,UAwBsB;AAAA,cAExD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-company.d.ts
|
|
4
|
+
declare const ProductlaneCreateCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateCompany };
|
|
9
|
+
//# sourceMappingURL=create-company.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-company.d.mts","names":[],"sources":["../../src/actions/create-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAY8B;AAAA,cAC/D,8BAAA,EAAgC,CAAA,CAAE,UAwBsB;AAAA,cAExD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const productlaneCreateCompany = action("PRODUCTLANE_CREATE_COMPANY", {
|
|
4
|
+
slug: "productlane-create-company",
|
|
5
|
+
name: "Create Company",
|
|
6
|
+
description: "Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Company name. This is the only required field."),
|
|
9
|
+
size: z.number().int().describe("Company size (number of employees). Can be null.").optional(),
|
|
10
|
+
tierId: z.string().describe("Tier ID for Linear customer integration. Can be null.").optional(),
|
|
11
|
+
autoAdd: z.boolean().describe("Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.").optional(),
|
|
12
|
+
domains: z.array(z.string()).describe("List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\.(?:(?:co|or|gv|ac|com)\\.)?[a-z]{2,7}$").optional(),
|
|
13
|
+
revenue: z.number().int().describe("Company revenue. Can be null.").optional(),
|
|
14
|
+
statusId: z.string().describe("Status ID for Linear customer integration. Can be null.").optional(),
|
|
15
|
+
tierName: z.string().describe("Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.").optional(),
|
|
16
|
+
statusName: z.string().describe("Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.").optional(),
|
|
17
|
+
externalIds: z.array(z.string()).describe("External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.").optional(),
|
|
18
|
+
statusColor: z.string().describe("Status color for Linear customer integration (hex color code or color name). Can be null.").optional()
|
|
19
|
+
}).describe("Request parameters for creating a new company in Productlane."),
|
|
20
|
+
output: z.object({
|
|
21
|
+
id: z.string().describe("Unique company identifier (UUID format)."),
|
|
22
|
+
name: z.string().describe("Company name."),
|
|
23
|
+
size: z.number().int().describe("Company size (number of employees). Can be null.").nullable().optional(),
|
|
24
|
+
slugId: z.string().describe("URL-friendly slug identifier. Can be null.").nullable().optional(),
|
|
25
|
+
tierId: z.string().describe("Tier ID for Linear customer. Can be null.").nullable().optional(),
|
|
26
|
+
autoAdd: z.boolean().describe("Whether automatic contact linking is enabled. Can be null.").nullable().optional(),
|
|
27
|
+
domains: z.array(z.string()).describe("List of company domains."),
|
|
28
|
+
logoUrl: z.string().describe("URL to the company logo. Can be null.").nullable().optional(),
|
|
29
|
+
revenue: z.number().int().describe("Company revenue. Can be null.").nullable().optional(),
|
|
30
|
+
version: z.number().int().describe("Version number for optimistic locking."),
|
|
31
|
+
statusId: z.string().describe("Status ID for Linear customer. Can be null.").nullable().optional(),
|
|
32
|
+
tierName: z.string().describe("Tier name for Linear customer. Can be null.").nullable().optional(),
|
|
33
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the company was created."),
|
|
34
|
+
hubspotId: z.string().describe("HubSpot integration ID. Can be null.").nullable().optional(),
|
|
35
|
+
isDeleted: z.boolean().describe("Whether the company is marked as deleted. Always false for new companies."),
|
|
36
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the company was last updated."),
|
|
37
|
+
intercomId: z.string().describe("Intercom integration ID. Can be null.").nullable().optional(),
|
|
38
|
+
statusName: z.string().describe("Status name for Linear customer. Can be null.").nullable().optional(),
|
|
39
|
+
externalIds: z.array(z.string()).describe("List of external identifiers from other systems."),
|
|
40
|
+
statusColor: z.string().describe("Status color for Linear customer. Can be null.").nullable().optional(),
|
|
41
|
+
workspaceId: z.string().describe("Workspace ID this company belongs to (UUID format)."),
|
|
42
|
+
productboardId: z.string().describe("Productboard integration ID. Can be null.").nullable().optional(),
|
|
43
|
+
linearCustomerId: z.string().describe("Linear customer ID if integrated. Can be null.").nullable().optional()
|
|
44
|
+
}).describe("Response containing the newly created company details.")
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
export { productlaneCreateCompany };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=create-company.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-company.mjs","names":[],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateCompanyInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Company name. This is the only required field.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer integration. Can be null.\").optional(),\n autoAdd: z.boolean().describe(\"Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.\").optional(),\n domains: z.array(z.string()).describe(\"List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\\\.(?:(?:co|or|gv|ac|com)\\\\.)?[a-z]{2,7}$\").optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").optional(),\n statusId: z.string().describe(\"Status ID for Linear customer integration. Can be null.\").optional(),\n tierName: z.string().describe(\"Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.\").optional(),\n statusName: z.string().describe(\"Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.\").optional(),\n externalIds: z.array(z.string()).describe(\"External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.\").optional(),\n statusColor: z.string().describe(\"Status color for Linear customer integration (hex color code or color name). Can be null.\").optional(),\n}).describe(\"Request parameters for creating a new company in Productlane.\");\nexport const ProductlaneCreateCompanyOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique company identifier (UUID format).\"),\n name: z.string().describe(\"Company name.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier. Can be null.\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer. Can be null.\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether automatic contact linking is enabled. Can be null.\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of company domains.\"),\n logoUrl: z.string().describe(\"URL to the company logo. Can be null.\").nullable().optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").nullable().optional(),\n version: z.number().int().describe(\"Version number for optimistic locking.\"),\n statusId: z.string().describe(\"Status ID for Linear customer. Can be null.\").nullable().optional(),\n tierName: z.string().describe(\"Tier name for Linear customer. Can be null.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created.\"),\n hubspotId: z.string().describe(\"HubSpot integration ID. Can be null.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is marked as deleted. Always false for new companies.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated.\"),\n intercomId: z.string().describe(\"Intercom integration ID. Can be null.\").nullable().optional(),\n statusName: z.string().describe(\"Status name for Linear customer. Can be null.\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers from other systems.\"),\n statusColor: z.string().describe(\"Status color for Linear customer. Can be null.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this company belongs to (UUID format).\"),\n productboardId: z.string().describe(\"Productboard integration ID. Can be null.\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated. Can be null.\").nullable().optional(),\n}).describe(\"Response containing the newly created company details.\");\n\nexport const productlaneCreateCompany = action(\"PRODUCTLANE_CREATE_COMPANY\", {\n slug: \"productlane-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.\",\n input: ProductlaneCreateCompanyInput,\n output: ProductlaneCreateCompanyOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-contact.ts
|
|
4
|
+
const ProductlaneCreateContactInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Contact name (optional, 1-255 characters). The display name for the contact.").optional(),
|
|
6
|
+
email: zod.z.string().describe("Contact email address (required, max 254 characters). Must be a valid email format."),
|
|
7
|
+
companyId: zod.z.string().describe("Associated company ID (optional, 1-255 characters). Links the contact to an existing company in your workspace.").optional(),
|
|
8
|
+
companyName: zod.z.string().describe("Company name (optional, 1-255 characters). Can be used to create or reference a company by name.").optional(),
|
|
9
|
+
companyExternalId: zod.z.string().describe("External company identifier (optional, 1-255 characters). Used to reference companies from external systems.").optional()
|
|
10
|
+
}).describe("Request model for creating a new contact in Productlane workspace.");
|
|
11
|
+
const ProductlaneCreateContactOutput = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("Unique identifier for the created contact."),
|
|
13
|
+
name: zod.z.string().describe("Name of the contact. Null if not provided during creation.").nullable().optional(),
|
|
14
|
+
email: zod.z.string().describe("Email address of the contact."),
|
|
15
|
+
version: zod.z.number().describe("Version number for the contact record."),
|
|
16
|
+
imageUrl: zod.z.string().describe("Profile image URL for the contact. Null if no image is available.").nullable().optional(),
|
|
17
|
+
companyId: zod.z.string().describe("ID of the associated company. Null if not linked to a company.").nullable().optional(),
|
|
18
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp indicating when the contact was created."),
|
|
19
|
+
hubspotId: zod.z.string().describe("HubSpot integration ID if synced with HubSpot. Null if not synced.").nullable().optional(),
|
|
20
|
+
isDeleted: zod.z.boolean().describe("Boolean flag indicating whether the contact has been deleted."),
|
|
21
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp indicating when the contact was last updated."),
|
|
22
|
+
zendeskId: zod.z.string().describe("Zendesk integration ID if synced with Zendesk. Null if not synced.").nullable().optional(),
|
|
23
|
+
intercomId: zod.z.string().describe("Intercom integration ID if synced with Intercom. Null if not synced.").nullable().optional(),
|
|
24
|
+
workspaceId: zod.z.string().describe("ID of the workspace this contact belongs to."),
|
|
25
|
+
productboardId: zod.z.string().describe("Productboard integration ID if synced with Productboard. Null if not synced.").nullable().optional()
|
|
26
|
+
}).describe("Response model returned after creating a contact in Productlane.");
|
|
27
|
+
const productlaneCreateContact = require_action.action("PRODUCTLANE_CREATE_CONTACT", {
|
|
28
|
+
slug: "productlane-create-contact",
|
|
29
|
+
name: "Create Contact",
|
|
30
|
+
description: "Tool to create a new contact in your Productlane workspace with optional company linking. Use when adding new contacts to track customer interactions and feedback.",
|
|
31
|
+
input: ProductlaneCreateContactInput,
|
|
32
|
+
output: ProductlaneCreateContactOutput
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.productlaneCreateContact = productlaneCreateContact;
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=create-contact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateContactInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Contact name (optional, 1-255 characters). The display name for the contact.\").optional(),\n email: z.string().describe(\"Contact email address (required, max 254 characters). Must be a valid email format.\"),\n companyId: z.string().describe(\"Associated company ID (optional, 1-255 characters). Links the contact to an existing company in your workspace.\").optional(),\n companyName: z.string().describe(\"Company name (optional, 1-255 characters). Can be used to create or reference a company by name.\").optional(),\n companyExternalId: z.string().describe(\"External company identifier (optional, 1-255 characters). Used to reference companies from external systems.\").optional(),\n}).describe(\"Request model for creating a new contact in Productlane workspace.\");\nexport const ProductlaneCreateContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created contact.\"),\n name: z.string().describe(\"Name of the contact. Null if not provided during creation.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\"),\n version: z.number().describe(\"Version number for the contact record.\"),\n imageUrl: z.string().describe(\"Profile image URL for the contact. Null if no image is available.\").nullable().optional(),\n companyId: z.string().describe(\"ID of the associated company. Null if not linked to a company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was created.\"),\n hubspotId: z.string().describe(\"HubSpot integration ID if synced with HubSpot. Null if not synced.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Boolean flag indicating whether the contact has been deleted.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was last updated.\"),\n zendeskId: z.string().describe(\"Zendesk integration ID if synced with Zendesk. Null if not synced.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom integration ID if synced with Intercom. Null if not synced.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this contact belongs to.\"),\n productboardId: z.string().describe(\"Productboard integration ID if synced with Productboard. Null if not synced.\").nullable().optional(),\n}).describe(\"Response model returned after creating a contact in Productlane.\");\n\nexport const productlaneCreateContact = action(\"PRODUCTLANE_CREATE_CONTACT\", {\n slug: \"productlane-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your Productlane workspace with optional company linking. Use when adding new contacts to track customer interactions and feedback.\",\n input: ProductlaneCreateContactInput,\n output: ProductlaneCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC9I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-contact.d.ts
|
|
4
|
+
declare const ProductlaneCreateContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateContact };
|
|
9
|
+
//# sourceMappingURL=create-contact.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAMmC;AAAA,cACpE,8BAAA,EAAgC,CAAA,CAAE,UAegC;AAAA,cAElE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-contact.d.ts
|
|
4
|
+
declare const ProductlaneCreateContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateContact };
|
|
9
|
+
//# sourceMappingURL=create-contact.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAMmC;AAAA,cACpE,8BAAA,EAAgC,CAAA,CAAE,UAegC;AAAA,cAElE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const productlaneCreateContact = action("PRODUCTLANE_CREATE_CONTACT", {
|
|
4
|
+
slug: "productlane-create-contact",
|
|
5
|
+
name: "Create Contact",
|
|
6
|
+
description: "Tool to create a new contact in your Productlane workspace with optional company linking. Use when adding new contacts to track customer interactions and feedback.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Contact name (optional, 1-255 characters). The display name for the contact.").optional(),
|
|
9
|
+
email: z.string().describe("Contact email address (required, max 254 characters). Must be a valid email format."),
|
|
10
|
+
companyId: z.string().describe("Associated company ID (optional, 1-255 characters). Links the contact to an existing company in your workspace.").optional(),
|
|
11
|
+
companyName: z.string().describe("Company name (optional, 1-255 characters). Can be used to create or reference a company by name.").optional(),
|
|
12
|
+
companyExternalId: z.string().describe("External company identifier (optional, 1-255 characters). Used to reference companies from external systems.").optional()
|
|
13
|
+
}).describe("Request model for creating a new contact in Productlane workspace."),
|
|
14
|
+
output: z.object({
|
|
15
|
+
id: z.string().describe("Unique identifier for the created contact."),
|
|
16
|
+
name: z.string().describe("Name of the contact. Null if not provided during creation.").nullable().optional(),
|
|
17
|
+
email: z.string().describe("Email address of the contact."),
|
|
18
|
+
version: z.number().describe("Version number for the contact record."),
|
|
19
|
+
imageUrl: z.string().describe("Profile image URL for the contact. Null if no image is available.").nullable().optional(),
|
|
20
|
+
companyId: z.string().describe("ID of the associated company. Null if not linked to a company.").nullable().optional(),
|
|
21
|
+
createdAt: z.string().describe("ISO 8601 timestamp indicating when the contact was created."),
|
|
22
|
+
hubspotId: z.string().describe("HubSpot integration ID if synced with HubSpot. Null if not synced.").nullable().optional(),
|
|
23
|
+
isDeleted: z.boolean().describe("Boolean flag indicating whether the contact has been deleted."),
|
|
24
|
+
updatedAt: z.string().describe("ISO 8601 timestamp indicating when the contact was last updated."),
|
|
25
|
+
zendeskId: z.string().describe("Zendesk integration ID if synced with Zendesk. Null if not synced.").nullable().optional(),
|
|
26
|
+
intercomId: z.string().describe("Intercom integration ID if synced with Intercom. Null if not synced.").nullable().optional(),
|
|
27
|
+
workspaceId: z.string().describe("ID of the workspace this contact belongs to."),
|
|
28
|
+
productboardId: z.string().describe("Productboard integration ID if synced with Productboard. Null if not synced.").nullable().optional()
|
|
29
|
+
}).describe("Response model returned after creating a contact in Productlane.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { productlaneCreateContact };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=create-contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateContactInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Contact name (optional, 1-255 characters). The display name for the contact.\").optional(),\n email: z.string().describe(\"Contact email address (required, max 254 characters). Must be a valid email format.\"),\n companyId: z.string().describe(\"Associated company ID (optional, 1-255 characters). Links the contact to an existing company in your workspace.\").optional(),\n companyName: z.string().describe(\"Company name (optional, 1-255 characters). Can be used to create or reference a company by name.\").optional(),\n companyExternalId: z.string().describe(\"External company identifier (optional, 1-255 characters). Used to reference companies from external systems.\").optional(),\n}).describe(\"Request model for creating a new contact in Productlane workspace.\");\nexport const ProductlaneCreateContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created contact.\"),\n name: z.string().describe(\"Name of the contact. Null if not provided during creation.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\"),\n version: z.number().describe(\"Version number for the contact record.\"),\n imageUrl: z.string().describe(\"Profile image URL for the contact. Null if no image is available.\").nullable().optional(),\n companyId: z.string().describe(\"ID of the associated company. Null if not linked to a company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was created.\"),\n hubspotId: z.string().describe(\"HubSpot integration ID if synced with HubSpot. Null if not synced.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Boolean flag indicating whether the contact has been deleted.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was last updated.\"),\n zendeskId: z.string().describe(\"Zendesk integration ID if synced with Zendesk. Null if not synced.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom integration ID if synced with Intercom. Null if not synced.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this contact belongs to.\"),\n productboardId: z.string().describe(\"Productboard integration ID if synced with Productboard. Null if not synced.\").nullable().optional(),\n}).describe(\"Response model returned after creating a contact in Productlane.\");\n\nexport const productlaneCreateContact = action(\"PRODUCTLANE_CREATE_CONTACT\", {\n slug: \"productlane-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your Productlane workspace with optional company linking. Use when adding new contacts to track customer interactions and feedback.\",\n input: ProductlaneCreateContactInput,\n output: ProductlaneCreateContactOutput,\n});\n"],"mappings":";;AA4BA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5ByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC9I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClK,CAAC,CAAC,CAAC,SAAS,oEAsBH;CACP,QAtB0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-feedback.ts
|
|
4
|
+
const ProductlaneCreateFeedbackInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Name of the person submitting the feedback. Optional but helpful for attribution.").optional(),
|
|
6
|
+
text: zod.z.string().describe("The feedback content. This is the main text of the feedback submission."),
|
|
7
|
+
email: zod.z.string().describe("Email address of the person submitting the feedback. Must be a valid email format."),
|
|
8
|
+
notify: zod.z.object({
|
|
9
|
+
email: zod.z.boolean().describe("Whether to send email notifications for this feedback.").optional(),
|
|
10
|
+
slack: zod.z.boolean().describe("Whether to send Slack notifications for this feedback.").optional()
|
|
11
|
+
}).describe("Notification preferences for the feedback.").optional(),
|
|
12
|
+
origin: zod.z.enum([
|
|
13
|
+
"INAPP",
|
|
14
|
+
"PORTAL",
|
|
15
|
+
"SUPPORT_PORTAL",
|
|
16
|
+
"API",
|
|
17
|
+
"SLACK",
|
|
18
|
+
"SLACK_CONNECT",
|
|
19
|
+
"INTERCOM",
|
|
20
|
+
"INTERCOM_ATTACHMENT",
|
|
21
|
+
"ZENDESK_ATTACHMENT",
|
|
22
|
+
"ZENDESK",
|
|
23
|
+
"FRONT_ATTACHMENT",
|
|
24
|
+
"EMAIL",
|
|
25
|
+
"ZAPIER",
|
|
26
|
+
"HUBSPOT",
|
|
27
|
+
"PLAIN",
|
|
28
|
+
"CALENDAR",
|
|
29
|
+
"WIDGET",
|
|
30
|
+
"AI_CHAT",
|
|
31
|
+
"UPVOTE"
|
|
32
|
+
]).describe("Source or channel from which the feedback originated.").optional(),
|
|
33
|
+
issueId: zod.z.string().describe("ID of an existing issue to associate this feedback with. Use when linking feedback to a tracked issue.").optional(),
|
|
34
|
+
painLevel: zod.z.enum([
|
|
35
|
+
"UNKNOWN",
|
|
36
|
+
"LOW",
|
|
37
|
+
"MEDIUM",
|
|
38
|
+
"HIGH"
|
|
39
|
+
]).describe("The pain level or severity of the feedback. Indicates how critical or urgent this feedback is."),
|
|
40
|
+
projectId: zod.z.string().describe("ID of the project to associate this feedback with. Use when organizing feedback by project.").optional()
|
|
41
|
+
});
|
|
42
|
+
const ProductlaneCreateFeedbackOutput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the newly created feedback.") }).describe("Response from creating feedback.");
|
|
43
|
+
const productlaneCreateFeedback = require_action.action("PRODUCTLANE_CREATE_FEEDBACK", {
|
|
44
|
+
slug: "productlane-create-feedback",
|
|
45
|
+
name: "Create Feedback",
|
|
46
|
+
description: "Tool to create new feedback in Productlane. Use when submitting user feedback, feature requests, or bug reports through the API. This is equivalent to adding feedback through the Productlane widget or portal. Requires email, feedback text, and pain level.",
|
|
47
|
+
input: ProductlaneCreateFeedbackInput,
|
|
48
|
+
output: ProductlaneCreateFeedbackOutput
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.productlaneCreateFeedback = productlaneCreateFeedback;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=create-feedback.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-feedback.cjs","names":["z","action"],"sources":["../../src/actions/create-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateFeedbackInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the person submitting the feedback. Optional but helpful for attribution.\").optional(),\n text: z.string().describe(\"The feedback content. This is the main text of the feedback submission.\"),\n email: z.string().describe(\"Email address of the person submitting the feedback. Must be a valid email format.\"),\n notify: z.object({\n email: z.boolean().describe(\"Whether to send email notifications for this feedback.\").optional(),\n slack: z.boolean().describe(\"Whether to send Slack notifications for this feedback.\").optional(),\n}).describe(\"Notification preferences for the feedback.\").optional(),\n origin: z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Source or channel from which the feedback originated.\").optional(),\n issueId: z.string().describe(\"ID of an existing issue to associate this feedback with. Use when linking feedback to a tracked issue.\").optional(),\n painLevel: z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"The pain level or severity of the feedback. Indicates how critical or urgent this feedback is.\"),\n projectId: z.string().describe(\"ID of the project to associate this feedback with. Use when organizing feedback by project.\").optional(),\n});\nexport const ProductlaneCreateFeedbackOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the newly created feedback.\"),\n}).describe(\"Response from creating feedback.\");\n\nexport const productlaneCreateFeedback = action(\"PRODUCTLANE_CREATE_FEEDBACK\", {\n slug: \"productlane-create-feedback\",\n name: \"Create Feedback\",\n description: \"Tool to create new feedback in Productlane. Use when submitting user feedback, feature requests, or bug reports through the API. This is equivalent to adding feedback through the Productlane widget or portal. Requires email, feedback text, and pain level.\",\n input: ProductlaneCreateFeedbackInput,\n output: ProductlaneCreateFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACxH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CAC/G,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;EAAkB;EAAO;EAAS;EAAiB;EAAY;EAAuB;EAAsB;EAAW;EAAoB;EAAS;EAAU;EAAW;EAAS;EAAY;EAAU;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5U,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAO;EAAU;CAAM,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACjK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EAC5E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-feedback.d.ts
|
|
4
|
+
declare const ProductlaneCreateFeedbackInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateFeedbackOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateFeedback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateFeedback };
|
|
9
|
+
//# sourceMappingURL=create-feedback.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-feedback.d.cts","names":[],"sources":["../../src/actions/create-feedback.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAY7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAED;AAAA,cAElC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-feedback.d.ts
|
|
4
|
+
declare const ProductlaneCreateFeedbackInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneCreateFeedbackOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneCreateFeedback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneCreateFeedback };
|
|
9
|
+
//# sourceMappingURL=create-feedback.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-feedback.d.mts","names":[],"sources":["../../src/actions/create-feedback.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAY7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAED;AAAA,cAElC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|