@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
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-changelogs.ts
|
|
4
|
+
const ProductlaneListChangelogsInput = z.object({
|
|
5
|
+
language: z.string().describe("Optional language filter for changelogs. If provided, only changelogs in the specified language will be returned.").optional(),
|
|
6
|
+
workspaceId: z.string().describe("The unique identifier of the workspace to list changelogs for.")
|
|
7
|
+
});
|
|
8
|
+
const ProductlaneListChangelogs_ChangelogItemSchema = z.object({
|
|
9
|
+
id: z.string().describe("Unique identifier of the changelog entry."),
|
|
10
|
+
date: z.string().describe("ISO 8601 timestamp of the changelog date, if set.").nullable().optional(),
|
|
11
|
+
notes: z.record(z.string(), z.unknown()).describe("Additional notes or metadata for the changelog entry.").nullable().optional(),
|
|
12
|
+
title: z.string().describe("Title of the changelog entry."),
|
|
13
|
+
version: z.number().describe("Version number of the changelog entry."),
|
|
14
|
+
archived: z.boolean().describe("Whether the changelog entry has been archived."),
|
|
15
|
+
imageUrl: z.string().describe("URL of the image associated with the changelog, if any.").nullable().optional(),
|
|
16
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the changelog was created."),
|
|
17
|
+
isDeleted: z.boolean().describe("Whether the changelog entry has been marked as deleted."),
|
|
18
|
+
projectId: z.string().describe("ID of the associated project, if any.").nullable().optional(),
|
|
19
|
+
published: z.boolean().describe("Whether the changelog entry is published and visible."),
|
|
20
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the changelog was last updated."),
|
|
21
|
+
workspaceId: z.string().describe("ID of the workspace this changelog belongs to.")
|
|
22
|
+
});
|
|
23
|
+
const productlaneListChangelogs = action("PRODUCTLANE_LIST_CHANGELOGS", {
|
|
24
|
+
slug: "productlane-list-changelogs",
|
|
25
|
+
name: "List Changelogs",
|
|
26
|
+
description: "Tool to list all published changelogs for a workspace by ID. Use when you need to retrieve changelog entries for a specific Productlane workspace.",
|
|
27
|
+
input: ProductlaneListChangelogsInput,
|
|
28
|
+
output: z.object({ changelogs: z.array(ProductlaneListChangelogs_ChangelogItemSchema).describe("List of published changelog entries for the workspace.") })
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { productlaneListChangelogs };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=list-changelogs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-changelogs.mjs","names":[],"sources":["../../src/actions/list-changelogs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListChangelogsInput: z.ZodTypeAny = z.object({\n language: z.string().describe(\"Optional language filter for changelogs. If provided, only changelogs in the specified language will be returned.\").optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace to list changelogs for.\"),\n});\nconst ProductlaneListChangelogs_ChangelogItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the changelog entry.\"),\n date: z.string().describe(\"ISO 8601 timestamp of the changelog date, if set.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Additional notes or metadata for the changelog entry.\").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 has been archived.\"),\n imageUrl: z.string().describe(\"URL of the image associated with the changelog, if any.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the changelog was created.\"),\n isDeleted: z.boolean().describe(\"Whether the changelog entry has been marked as deleted.\"),\n projectId: z.string().describe(\"ID of the associated project, if any.\").nullable().optional(),\n published: z.boolean().describe(\"Whether the changelog entry is published and visible.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the changelog was last updated.\"),\n workspaceId: z.string().describe(\"ID of the workspace this changelog belongs to.\"),\n});\nexport const ProductlaneListChangelogsOutput: z.ZodTypeAny = z.object({\n changelogs: z.array(ProductlaneListChangelogs_ChangelogItemSchema).describe(\"List of published changelog entries for the workspace.\"),\n});\n\nexport const productlaneListChangelogs = action(\"PRODUCTLANE_LIST_CHANGELOGS\", {\n slug: \"productlane-list-changelogs\",\n name: \"List Changelogs\",\n description: \"Tool to list all published changelogs for a workspace by ID. Use when you need to retrieve changelog entries for a specific Productlane workspace.\",\n input: ProductlaneListChangelogsInput,\n output: ProductlaneListChangelogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC5J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACnG,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACnF,CAAC;AAKD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,YAAY,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,wDAAwD,EACtI,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-companies.ts
|
|
4
|
+
const ProductlaneListCompaniesInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Filter companies by name. Returns companies matching this name (case-sensitive).").optional(),
|
|
6
|
+
skip: zod.z.number().int().describe("Number of companies to skip for pagination. Use with 'take' to paginate through results.").optional(),
|
|
7
|
+
take: zod.z.number().int().describe("Number of companies to retrieve. Defaults to 10 if not specified. Maximum recommended is 100.").optional(),
|
|
8
|
+
domain: zod.z.string().describe("Filter companies by domain. Returns companies that have this domain associated.").optional()
|
|
9
|
+
}).describe("Request model for listing companies in Productlane.");
|
|
10
|
+
const ProductlaneListCompanies_NextPageSchema = zod.z.object({
|
|
11
|
+
skip: zod.z.number().int().describe("Number of items to skip for the next page"),
|
|
12
|
+
take: zod.z.number().int().describe("Number of items to take for the next page")
|
|
13
|
+
}).describe("Pagination information for the next page.");
|
|
14
|
+
const ProductlaneListCompanies_CompanyCountSchema = zod.z.object({
|
|
15
|
+
contacts: zod.z.number().int().describe("Number of contacts in the company").nullable().optional(),
|
|
16
|
+
feedback: zod.z.number().int().describe("Number of feedback items from the company").nullable().optional()
|
|
17
|
+
}).describe("Count statistics for the company.");
|
|
18
|
+
const ProductlaneListCompanies_CompanySchema = zod.z.object({
|
|
19
|
+
id: zod.z.string().describe("Unique identifier for the company"),
|
|
20
|
+
meta: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata").nullable().optional(),
|
|
21
|
+
name: zod.z.string().describe("Name of the company"),
|
|
22
|
+
size: zod.z.number().int().describe("Company size (number of employees)").nullable().optional(),
|
|
23
|
+
_count: ProductlaneListCompanies_CompanyCountSchema.nullable(),
|
|
24
|
+
slugId: zod.z.string().describe("Slug identifier for the company").nullable().optional(),
|
|
25
|
+
tierId: zod.z.string().describe("Tier identifier").nullable().optional(),
|
|
26
|
+
autoAdd: zod.z.boolean().describe("Whether contacts are automatically added to this company").nullable().optional(),
|
|
27
|
+
domains: zod.z.array(zod.z.string()).describe("List of domains associated with the company").nullable().optional(),
|
|
28
|
+
logoUrl: zod.z.string().describe("URL of the company logo").nullable().optional(),
|
|
29
|
+
revenue: zod.z.number().describe("Company revenue").nullable().optional(),
|
|
30
|
+
version: zod.z.number().int().describe("Version number of the company record"),
|
|
31
|
+
statusId: zod.z.string().describe("Status identifier").nullable().optional(),
|
|
32
|
+
tierName: zod.z.string().describe("Tier name").nullable().optional(),
|
|
33
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the company was created"),
|
|
34
|
+
hubspotId: zod.z.string().describe("HubSpot ID").nullable().optional(),
|
|
35
|
+
isDeleted: zod.z.boolean().describe("Whether the company has been deleted"),
|
|
36
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the company was last updated"),
|
|
37
|
+
intercomId: zod.z.string().describe("Intercom ID").nullable().optional(),
|
|
38
|
+
statusName: zod.z.string().describe("Status name").nullable().optional(),
|
|
39
|
+
externalIds: zod.z.array(zod.z.string()).describe("List of external IDs").nullable().optional(),
|
|
40
|
+
statusColor: zod.z.string().describe("Status color").nullable().optional(),
|
|
41
|
+
workspaceId: zod.z.string().describe("Workspace identifier"),
|
|
42
|
+
productboardId: zod.z.string().describe("Productboard ID").nullable().optional(),
|
|
43
|
+
linearCustomerId: zod.z.string().describe("Linear customer ID").nullable().optional()
|
|
44
|
+
}).describe("Company object returned by the Productlane API.");
|
|
45
|
+
const ProductlaneListCompaniesOutput = zod.z.object({
|
|
46
|
+
count: zod.z.number().int().describe("Total count of companies matching the query"),
|
|
47
|
+
hasMore: zod.z.boolean().describe("Whether there are more companies available beyond this page"),
|
|
48
|
+
nextPage: ProductlaneListCompanies_NextPageSchema.nullable().optional(),
|
|
49
|
+
companies: zod.z.array(ProductlaneListCompanies_CompanySchema).describe("Array of company objects matching the query")
|
|
50
|
+
}).describe("Response model for listing companies in Productlane.");
|
|
51
|
+
const productlaneListCompanies = require_action.action("PRODUCTLANE_LIST_COMPANIES", {
|
|
52
|
+
slug: "productlane-list-companies",
|
|
53
|
+
name: "List Companies",
|
|
54
|
+
description: "Tool to list all companies in Productlane. Use 'take' and 'skip' parameters to paginate through results. Supports filtering by domain or name.",
|
|
55
|
+
input: ProductlaneListCompaniesInput,
|
|
56
|
+
output: ProductlaneListCompaniesOutput
|
|
57
|
+
});
|
|
58
|
+
//#endregion
|
|
59
|
+
exports.productlaneListCompanies = productlaneListCompanies;
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=list-companies.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListCompaniesInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter companies by name. Returns companies matching this name (case-sensitive).\").optional(),\n skip: z.number().int().describe(\"Number of companies to skip for pagination. Use with 'take' to paginate through results.\").optional(),\n take: z.number().int().describe(\"Number of companies to retrieve. Defaults to 10 if not specified. Maximum recommended is 100.\").optional(),\n domain: z.string().describe(\"Filter companies by domain. Returns companies that have this domain associated.\").optional(),\n}).describe(\"Request model for listing companies in Productlane.\");\nconst ProductlaneListCompanies_NextPageSchema: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of items to skip for the next page\"),\n take: z.number().int().describe(\"Number of items to take for the next page\"),\n}).describe(\"Pagination information for the next page.\");\nconst ProductlaneListCompanies_CompanyCountSchema: z.ZodTypeAny = z.object({\n contacts: z.number().int().describe(\"Number of contacts in the company\").nullable().optional(),\n feedback: z.number().int().describe(\"Number of feedback items from the company\").nullable().optional(),\n}).describe(\"Count statistics for the company.\");\nconst ProductlaneListCompanies_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the company\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Additional metadata\").nullable().optional(),\n name: z.string().describe(\"Name of the company\"),\n size: z.number().int().describe(\"Company size (number of employees)\").nullable().optional(),\n _count: ProductlaneListCompanies_CompanyCountSchema.nullable(),\n slugId: z.string().describe(\"Slug identifier for the company\").nullable().optional(),\n tierId: z.string().describe(\"Tier identifier\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether contacts are automatically added to this company\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of domains associated with the company\").nullable().optional(),\n logoUrl: z.string().describe(\"URL of the company logo\").nullable().optional(),\n revenue: z.number().describe(\"Company revenue\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the company record\"),\n statusId: z.string().describe(\"Status identifier\").nullable().optional(),\n tierName: z.string().describe(\"Tier name\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\"),\n hubspotId: z.string().describe(\"HubSpot ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company has been deleted\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\"),\n intercomId: z.string().describe(\"Intercom ID\").nullable().optional(),\n statusName: z.string().describe(\"Status name\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external IDs\").nullable().optional(),\n statusColor: z.string().describe(\"Status color\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace identifier\"),\n productboardId: z.string().describe(\"Productboard ID\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID\").nullable().optional(),\n}).describe(\"Company object returned by the Productlane API.\");\nexport const ProductlaneListCompaniesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total count of companies matching the query\"),\n hasMore: z.boolean().describe(\"Whether there are more companies available beyond this page\"),\n nextPage: ProductlaneListCompanies_NextPageSchema.nullable().optional(),\n companies: z.array(ProductlaneListCompanies_CompanySchema).describe(\"Array of company objects matching the query\"),\n}).describe(\"Response model for listing companies in Productlane.\");\n\nexport const productlaneListCompanies = action(\"PRODUCTLANE_LIST_COMPANIES\", {\n slug: \"productlane-list-companies\",\n name: \"List Companies\",\n description: \"Tool to list all companies in Productlane. Use 'take' and 'skip' parameters to paginate through results. Supports filtering by domain or name.\",\n input: ProductlaneListCompaniesInput,\n output: ProductlaneListCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;CAC3F,UAAU,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6CAA6C;AACnH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,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/list-companies.d.ts
|
|
4
|
+
declare const ProductlaneListCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneListCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneListCompanies };
|
|
9
|
+
//# sourceMappingURL=list-companies.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKoB;AAAA,cAoCrD,8BAAA,EAAgC,CAAA,CAAE,UAKoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-companies.d.ts
|
|
4
|
+
declare const ProductlaneListCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneListCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneListCompanies };
|
|
9
|
+
//# sourceMappingURL=list-companies.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKoB;AAAA,cAoCrD,8BAAA,EAAgC,CAAA,CAAE,UAKoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-companies.ts
|
|
4
|
+
const ProductlaneListCompaniesInput = z.object({
|
|
5
|
+
name: z.string().describe("Filter companies by name. Returns companies matching this name (case-sensitive).").optional(),
|
|
6
|
+
skip: z.number().int().describe("Number of companies to skip for pagination. Use with 'take' to paginate through results.").optional(),
|
|
7
|
+
take: z.number().int().describe("Number of companies to retrieve. Defaults to 10 if not specified. Maximum recommended is 100.").optional(),
|
|
8
|
+
domain: z.string().describe("Filter companies by domain. Returns companies that have this domain associated.").optional()
|
|
9
|
+
}).describe("Request model for listing companies in Productlane.");
|
|
10
|
+
const ProductlaneListCompanies_NextPageSchema = z.object({
|
|
11
|
+
skip: z.number().int().describe("Number of items to skip for the next page"),
|
|
12
|
+
take: z.number().int().describe("Number of items to take for the next page")
|
|
13
|
+
}).describe("Pagination information for the next page.");
|
|
14
|
+
const ProductlaneListCompanies_CompanyCountSchema = z.object({
|
|
15
|
+
contacts: z.number().int().describe("Number of contacts in the company").nullable().optional(),
|
|
16
|
+
feedback: z.number().int().describe("Number of feedback items from the company").nullable().optional()
|
|
17
|
+
}).describe("Count statistics for the company.");
|
|
18
|
+
const ProductlaneListCompanies_CompanySchema = z.object({
|
|
19
|
+
id: z.string().describe("Unique identifier for the company"),
|
|
20
|
+
meta: z.record(z.string(), z.unknown()).describe("Additional metadata").nullable().optional(),
|
|
21
|
+
name: z.string().describe("Name of the company"),
|
|
22
|
+
size: z.number().int().describe("Company size (number of employees)").nullable().optional(),
|
|
23
|
+
_count: ProductlaneListCompanies_CompanyCountSchema.nullable(),
|
|
24
|
+
slugId: z.string().describe("Slug identifier for the company").nullable().optional(),
|
|
25
|
+
tierId: z.string().describe("Tier identifier").nullable().optional(),
|
|
26
|
+
autoAdd: z.boolean().describe("Whether contacts are automatically added to this company").nullable().optional(),
|
|
27
|
+
domains: z.array(z.string()).describe("List of domains associated with the company").nullable().optional(),
|
|
28
|
+
logoUrl: z.string().describe("URL of the company logo").nullable().optional(),
|
|
29
|
+
revenue: z.number().describe("Company revenue").nullable().optional(),
|
|
30
|
+
version: z.number().int().describe("Version number of the company record"),
|
|
31
|
+
statusId: z.string().describe("Status identifier").nullable().optional(),
|
|
32
|
+
tierName: z.string().describe("Tier name").nullable().optional(),
|
|
33
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the company was created"),
|
|
34
|
+
hubspotId: z.string().describe("HubSpot ID").nullable().optional(),
|
|
35
|
+
isDeleted: z.boolean().describe("Whether the company has been deleted"),
|
|
36
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the company was last updated"),
|
|
37
|
+
intercomId: z.string().describe("Intercom ID").nullable().optional(),
|
|
38
|
+
statusName: z.string().describe("Status name").nullable().optional(),
|
|
39
|
+
externalIds: z.array(z.string()).describe("List of external IDs").nullable().optional(),
|
|
40
|
+
statusColor: z.string().describe("Status color").nullable().optional(),
|
|
41
|
+
workspaceId: z.string().describe("Workspace identifier"),
|
|
42
|
+
productboardId: z.string().describe("Productboard ID").nullable().optional(),
|
|
43
|
+
linearCustomerId: z.string().describe("Linear customer ID").nullable().optional()
|
|
44
|
+
}).describe("Company object returned by the Productlane API.");
|
|
45
|
+
const productlaneListCompanies = action("PRODUCTLANE_LIST_COMPANIES", {
|
|
46
|
+
slug: "productlane-list-companies",
|
|
47
|
+
name: "List Companies",
|
|
48
|
+
description: "Tool to list all companies in Productlane. Use 'take' and 'skip' parameters to paginate through results. Supports filtering by domain or name.",
|
|
49
|
+
input: ProductlaneListCompaniesInput,
|
|
50
|
+
output: z.object({
|
|
51
|
+
count: z.number().int().describe("Total count of companies matching the query"),
|
|
52
|
+
hasMore: z.boolean().describe("Whether there are more companies available beyond this page"),
|
|
53
|
+
nextPage: ProductlaneListCompanies_NextPageSchema.nullable().optional(),
|
|
54
|
+
companies: z.array(ProductlaneListCompanies_CompanySchema).describe("Array of company objects matching the query")
|
|
55
|
+
}).describe("Response model for listing companies in Productlane.")
|
|
56
|
+
});
|
|
57
|
+
//#endregion
|
|
58
|
+
export { productlaneListCompanies };
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=list-companies.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.mjs","names":[],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListCompaniesInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter companies by name. Returns companies matching this name (case-sensitive).\").optional(),\n skip: z.number().int().describe(\"Number of companies to skip for pagination. Use with 'take' to paginate through results.\").optional(),\n take: z.number().int().describe(\"Number of companies to retrieve. Defaults to 10 if not specified. Maximum recommended is 100.\").optional(),\n domain: z.string().describe(\"Filter companies by domain. Returns companies that have this domain associated.\").optional(),\n}).describe(\"Request model for listing companies in Productlane.\");\nconst ProductlaneListCompanies_NextPageSchema: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of items to skip for the next page\"),\n take: z.number().int().describe(\"Number of items to take for the next page\"),\n}).describe(\"Pagination information for the next page.\");\nconst ProductlaneListCompanies_CompanyCountSchema: z.ZodTypeAny = z.object({\n contacts: z.number().int().describe(\"Number of contacts in the company\").nullable().optional(),\n feedback: z.number().int().describe(\"Number of feedback items from the company\").nullable().optional(),\n}).describe(\"Count statistics for the company.\");\nconst ProductlaneListCompanies_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the company\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Additional metadata\").nullable().optional(),\n name: z.string().describe(\"Name of the company\"),\n size: z.number().int().describe(\"Company size (number of employees)\").nullable().optional(),\n _count: ProductlaneListCompanies_CompanyCountSchema.nullable(),\n slugId: z.string().describe(\"Slug identifier for the company\").nullable().optional(),\n tierId: z.string().describe(\"Tier identifier\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether contacts are automatically added to this company\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of domains associated with the company\").nullable().optional(),\n logoUrl: z.string().describe(\"URL of the company logo\").nullable().optional(),\n revenue: z.number().describe(\"Company revenue\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the company record\"),\n statusId: z.string().describe(\"Status identifier\").nullable().optional(),\n tierName: z.string().describe(\"Tier name\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\"),\n hubspotId: z.string().describe(\"HubSpot ID\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company has been deleted\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\"),\n intercomId: z.string().describe(\"Intercom ID\").nullable().optional(),\n statusName: z.string().describe(\"Status name\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external IDs\").nullable().optional(),\n statusColor: z.string().describe(\"Status color\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace identifier\"),\n productboardId: z.string().describe(\"Productboard ID\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID\").nullable().optional(),\n}).describe(\"Company object returned by the Productlane API.\");\nexport const ProductlaneListCompaniesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total count of companies matching the query\"),\n hasMore: z.boolean().describe(\"Whether there are more companies available beyond this page\"),\n nextPage: ProductlaneListCompanies_NextPageSchema.nullable().optional(),\n companies: z.array(ProductlaneListCompanies_CompanySchema).describe(\"Array of company objects matching the query\"),\n}).describe(\"Response model for listing companies in Productlane.\");\n\nexport const productlaneListCompanies = action(\"PRODUCTLANE_LIST_COMPANIES\", {\n slug: \"productlane-list-companies\",\n name: \"List Companies\",\n description: \"Tool to list all companies in Productlane. Use 'take' and 'skip' parameters to paginate through results. Supports filtering by domain or name.\",\n input: ProductlaneListCompaniesInput,\n output: ProductlaneListCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,S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C,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAQ7D,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;EAC3F,UAAU,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6CAA6C;CACnH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-contacts.ts
|
|
4
|
+
const ProductlaneListContactsInput = zod.z.object({
|
|
5
|
+
skip: zod.z.number().int().describe("Number of contacts to skip for pagination. Use this to retrieve contacts starting from a specific position.").optional(),
|
|
6
|
+
take: zod.z.number().int().describe("Maximum number of contacts to return in a single request. Use this to limit the response size.").optional()
|
|
7
|
+
}).describe("Request model for listing Productlane contacts.");
|
|
8
|
+
const ProductlaneListContacts_CompanySchema = zod.z.object({}).describe("Company information associated with a contact.");
|
|
9
|
+
const ProductlaneListContacts_ContactSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Unique identifier for the contact."),
|
|
11
|
+
name: zod.z.string().describe("Name of the contact."),
|
|
12
|
+
email: zod.z.string().describe("Email address of the contact."),
|
|
13
|
+
company: ProductlaneListContacts_CompanySchema.nullable().optional(),
|
|
14
|
+
version: zod.z.number().describe("Version number of the contact record."),
|
|
15
|
+
imageUrl: zod.z.string().describe("URL of the contact's profile image."),
|
|
16
|
+
companyId: zod.z.string().describe("Unique identifier of the company associated with this contact.").nullable().optional(),
|
|
17
|
+
createdAt: zod.z.string().describe("Timestamp when the contact was created (ISO 8601 format)."),
|
|
18
|
+
hubspotId: zod.z.string().describe("HubSpot identifier for the contact, if integrated.").nullable().optional(),
|
|
19
|
+
isDeleted: zod.z.boolean().describe("Whether the contact has been marked as deleted."),
|
|
20
|
+
updatedAt: zod.z.string().describe("Timestamp when the contact was last updated (ISO 8601 format)."),
|
|
21
|
+
zendeskId: zod.z.string().describe("Zendesk identifier for the contact, if integrated.").nullable().optional(),
|
|
22
|
+
intercomId: zod.z.string().describe("Intercom identifier for the contact, if integrated.").nullable().optional(),
|
|
23
|
+
workspaceId: zod.z.string().describe("Unique identifier of the workspace this contact belongs to."),
|
|
24
|
+
productboardId: zod.z.string().describe("Productboard identifier for the contact, if integrated.").nullable().optional()
|
|
25
|
+
}).describe("A contact in the Productlane workspace.");
|
|
26
|
+
const ProductlaneListContacts_NextPageSchema = zod.z.object({
|
|
27
|
+
skip: zod.z.number().int().describe("Number of items to skip to get to the next page."),
|
|
28
|
+
take: zod.z.number().int().describe("Number of items per page.")
|
|
29
|
+
}).describe("Pagination information for the next page of results.");
|
|
30
|
+
const ProductlaneListContactsOutput = zod.z.object({
|
|
31
|
+
count: zod.z.number().describe("Total count of contacts."),
|
|
32
|
+
hasMore: zod.z.boolean().describe("Whether there are more contacts available after this page."),
|
|
33
|
+
contacts: zod.z.array(ProductlaneListContacts_ContactSchema).describe("List of contacts in the workspace."),
|
|
34
|
+
nextPage: ProductlaneListContacts_NextPageSchema.nullable().optional()
|
|
35
|
+
}).describe("Response model containing a list of contacts and pagination information.");
|
|
36
|
+
const productlaneListContacts = require_action.action("PRODUCTLANE_LIST_CONTACTS", {
|
|
37
|
+
slug: "productlane-list-contacts",
|
|
38
|
+
name: "List contacts",
|
|
39
|
+
description: "Tool to retrieve all contacts for your workspace. Use when you need to list contacts with optional pagination support.",
|
|
40
|
+
input: ProductlaneListContactsInput,
|
|
41
|
+
output: ProductlaneListContactsOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.productlaneListContacts = productlaneListContacts;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=list-contacts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListContactsInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of contacts to skip for pagination. Use this to retrieve contacts starting from a specific position.\").optional(),\n take: z.number().int().describe(\"Maximum number of contacts to return in a single request. Use this to limit the response size.\").optional(),\n}).describe(\"Request model for listing Productlane contacts.\");\nconst ProductlaneListContacts_CompanySchema: z.ZodTypeAny = z.object({}).describe(\"Company information associated with a contact.\");\nconst ProductlaneListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact.\"),\n name: z.string().describe(\"Name of the contact.\"),\n email: z.string().describe(\"Email address of the contact.\"),\n company: ProductlaneListContacts_CompanySchema.nullable().optional(),\n version: z.number().describe(\"Version number of the contact record.\"),\n imageUrl: z.string().describe(\"URL of the contact's profile image.\"),\n companyId: z.string().describe(\"Unique identifier of the company associated with this contact.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\"),\n hubspotId: z.string().describe(\"HubSpot identifier for the contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact has been marked as deleted.\"),\n updatedAt: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\"),\n zendeskId: z.string().describe(\"Zendesk identifier for the contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for the contact, if integrated.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this contact belongs to.\"),\n productboardId: z.string().describe(\"Productboard identifier for the contact, if integrated.\").nullable().optional(),\n}).describe(\"A contact in the Productlane workspace.\");\nconst ProductlaneListContacts_NextPageSchema: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of items to skip to get to the next page.\"),\n take: z.number().int().describe(\"Number of items per page.\"),\n}).describe(\"Pagination information for the next page of results.\");\nexport const ProductlaneListContactsOutput: z.ZodTypeAny = z.object({\n count: z.number().describe(\"Total count of contacts.\"),\n hasMore: z.boolean().describe(\"Whether there are more contacts available after this page.\"),\n contacts: z.array(ProductlaneListContacts_ContactSchema).describe(\"List of contacts in the workspace.\"),\n nextPage: ProductlaneListContacts_NextPageSchema.nullable().optional(),\n}).describe(\"Response model containing a list of contacts and pagination information.\");\n\nexport const productlaneListContacts = action(\"PRODUCTLANE_LIST_CONTACTS\", {\n slug: \"productlane-list-contacts\",\n name: \"List contacts\",\n description: \"Tool to retrieve all contacts for your workspace. Use when you need to list contacts with optional pagination support.\",\n input: ProductlaneListContactsInput,\n output: ProductlaneListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACxJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,wCAAsDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAClI,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,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AAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC1F,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oCAAoC;CACtG,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,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/list-contacts.d.ts
|
|
4
|
+
declare const ProductlaneListContactsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneListContactsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneListContacts };
|
|
9
|
+
//# sourceMappingURL=list-contacts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGiB;AAAA,cAuBjD,6BAAA,EAA+B,CAAA,CAAE,UAKyC;AAAA,cAE1E,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contacts.d.ts
|
|
4
|
+
declare const ProductlaneListContactsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneListContactsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneListContacts };
|
|
9
|
+
//# sourceMappingURL=list-contacts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGiB;AAAA,cAuBjD,6BAAA,EAA+B,CAAA,CAAE,UAKyC;AAAA,cAE1E,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-contacts.ts
|
|
4
|
+
const ProductlaneListContactsInput = z.object({
|
|
5
|
+
skip: z.number().int().describe("Number of contacts to skip for pagination. Use this to retrieve contacts starting from a specific position.").optional(),
|
|
6
|
+
take: z.number().int().describe("Maximum number of contacts to return in a single request. Use this to limit the response size.").optional()
|
|
7
|
+
}).describe("Request model for listing Productlane contacts.");
|
|
8
|
+
const ProductlaneListContacts_CompanySchema = z.object({}).describe("Company information associated with a contact.");
|
|
9
|
+
const ProductlaneListContacts_ContactSchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique identifier for the contact."),
|
|
11
|
+
name: z.string().describe("Name of the contact."),
|
|
12
|
+
email: z.string().describe("Email address of the contact."),
|
|
13
|
+
company: ProductlaneListContacts_CompanySchema.nullable().optional(),
|
|
14
|
+
version: z.number().describe("Version number of the contact record."),
|
|
15
|
+
imageUrl: z.string().describe("URL of the contact's profile image."),
|
|
16
|
+
companyId: z.string().describe("Unique identifier of the company associated with this contact.").nullable().optional(),
|
|
17
|
+
createdAt: z.string().describe("Timestamp when the contact was created (ISO 8601 format)."),
|
|
18
|
+
hubspotId: z.string().describe("HubSpot identifier for the contact, if integrated.").nullable().optional(),
|
|
19
|
+
isDeleted: z.boolean().describe("Whether the contact has been marked as deleted."),
|
|
20
|
+
updatedAt: z.string().describe("Timestamp when the contact was last updated (ISO 8601 format)."),
|
|
21
|
+
zendeskId: z.string().describe("Zendesk identifier for the contact, if integrated.").nullable().optional(),
|
|
22
|
+
intercomId: z.string().describe("Intercom identifier for the contact, if integrated.").nullable().optional(),
|
|
23
|
+
workspaceId: z.string().describe("Unique identifier of the workspace this contact belongs to."),
|
|
24
|
+
productboardId: z.string().describe("Productboard identifier for the contact, if integrated.").nullable().optional()
|
|
25
|
+
}).describe("A contact in the Productlane workspace.");
|
|
26
|
+
const ProductlaneListContacts_NextPageSchema = z.object({
|
|
27
|
+
skip: z.number().int().describe("Number of items to skip to get to the next page."),
|
|
28
|
+
take: z.number().int().describe("Number of items per page.")
|
|
29
|
+
}).describe("Pagination information for the next page of results.");
|
|
30
|
+
const productlaneListContacts = action("PRODUCTLANE_LIST_CONTACTS", {
|
|
31
|
+
slug: "productlane-list-contacts",
|
|
32
|
+
name: "List contacts",
|
|
33
|
+
description: "Tool to retrieve all contacts for your workspace. Use when you need to list contacts with optional pagination support.",
|
|
34
|
+
input: ProductlaneListContactsInput,
|
|
35
|
+
output: z.object({
|
|
36
|
+
count: z.number().describe("Total count of contacts."),
|
|
37
|
+
hasMore: z.boolean().describe("Whether there are more contacts available after this page."),
|
|
38
|
+
contacts: z.array(ProductlaneListContacts_ContactSchema).describe("List of contacts in the workspace."),
|
|
39
|
+
nextPage: ProductlaneListContacts_NextPageSchema.nullable().optional()
|
|
40
|
+
}).describe("Response model containing a list of contacts and pagination information.")
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { productlaneListContacts };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=list-contacts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListContactsInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of contacts to skip for pagination. Use this to retrieve contacts starting from a specific position.\").optional(),\n take: z.number().int().describe(\"Maximum number of contacts to return in a single request. Use this to limit the response size.\").optional(),\n}).describe(\"Request model for listing Productlane contacts.\");\nconst ProductlaneListContacts_CompanySchema: z.ZodTypeAny = z.object({}).describe(\"Company information associated with a contact.\");\nconst ProductlaneListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact.\"),\n name: z.string().describe(\"Name of the contact.\"),\n email: z.string().describe(\"Email address of the contact.\"),\n company: ProductlaneListContacts_CompanySchema.nullable().optional(),\n version: z.number().describe(\"Version number of the contact record.\"),\n imageUrl: z.string().describe(\"URL of the contact's profile image.\"),\n companyId: z.string().describe(\"Unique identifier of the company associated with this contact.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\"),\n hubspotId: z.string().describe(\"HubSpot identifier for the contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact has been marked as deleted.\"),\n updatedAt: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\"),\n zendeskId: z.string().describe(\"Zendesk identifier for the contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for the contact, if integrated.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this contact belongs to.\"),\n productboardId: z.string().describe(\"Productboard identifier for the contact, if integrated.\").nullable().optional(),\n}).describe(\"A contact in the Productlane workspace.\");\nconst ProductlaneListContacts_NextPageSchema: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of items to skip to get to the next page.\"),\n take: z.number().int().describe(\"Number of items per page.\"),\n}).describe(\"Pagination information for the next page of results.\");\nexport const ProductlaneListContactsOutput: z.ZodTypeAny = z.object({\n count: z.number().describe(\"Total count of contacts.\"),\n hasMore: z.boolean().describe(\"Whether there are more contacts available after this page.\"),\n contacts: z.array(ProductlaneListContacts_ContactSchema).describe(\"List of contacts in the workspace.\"),\n nextPage: ProductlaneListContacts_NextPageSchema.nullable().optional(),\n}).describe(\"Response model containing a list of contacts and pagination information.\");\n\nexport const productlaneListContacts = action(\"PRODUCTLANE_LIST_CONTACTS\", {\n slug: \"productlane-list-contacts\",\n name: \"List contacts\",\n description: \"Tool to retrieve all contacts for your workspace. Use when you need to list contacts with optional pagination support.\",\n input: ProductlaneListContactsInput,\n output: ProductlaneListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,wCAAsD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAClI,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC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ions/list-help-center-articles.ts
|
|
4
|
+
const ProductlaneListHelpCenterArticlesInput = zod.z.object({
|
|
5
|
+
language: zod.z.string().describe("Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.").optional(),
|
|
6
|
+
workspaceId: zod.z.string().describe("The unique identifier of the workspace to list help center articles for.")
|
|
7
|
+
}).describe("Request model for listing help center articles in a workspace.");
|
|
8
|
+
const ProductlaneListHelpCenterArticles_HelpCenterArticleSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Unique article identifier."),
|
|
10
|
+
date: zod.z.string().describe("ISO 8601 timestamp of the article date.").nullable().optional(),
|
|
11
|
+
title: zod.z.string().describe("Title of the article."),
|
|
12
|
+
content: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional(),
|
|
13
|
+
version: zod.z.number().describe("Version number of the article."),
|
|
14
|
+
archived: zod.z.boolean().describe("Whether the article is archived."),
|
|
15
|
+
imageUrl: zod.z.string().describe("URL of the article's featured image.").nullable().optional(),
|
|
16
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the article was created."),
|
|
17
|
+
isDeleted: zod.z.boolean().describe("Whether the article has been deleted."),
|
|
18
|
+
published: zod.z.boolean().describe("Whether the article is published."),
|
|
19
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the article was last updated."),
|
|
20
|
+
workspaceId: zod.z.string().describe("Workspace identifier this article belongs to.")
|
|
21
|
+
}).describe("Individual help center article object.");
|
|
22
|
+
const ProductlaneListHelpCenterArticlesOutput = zod.z.object({ articles: zod.z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe("List of help center articles in the workspace.") }).describe("Response model for listing help center articles.");
|
|
23
|
+
const productlaneListHelpCenterArticles = require_action.action("PRODUCTLANE_LIST_HELP_CENTER_ARTICLES", {
|
|
24
|
+
slug: "productlane-list-help-center-articles",
|
|
25
|
+
name: "List Help Center Articles",
|
|
26
|
+
description: "Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.",
|
|
27
|
+
input: ProductlaneListHelpCenterArticlesInput,
|
|
28
|
+
output: ProductlaneListHelpCenterArticlesOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.productlaneListHelpCenterArticles = productlaneListHelpCenterArticles;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=list-help-center-articles.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.cjs","names":["z","action"],"sources":["../../src/actions/list-help-center-articles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListHelpCenterArticlesInput: z.ZodTypeAny = z.object({\n language: z.string().describe(\"Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.\").optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace to list help center articles for.\"),\n}).describe(\"Request model for listing help center articles in a workspace.\");\nconst ProductlaneListHelpCenterArticles_HelpCenterArticleSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique article identifier.\"),\n date: z.string().describe(\"ISO 8601 timestamp of the article date.\").nullable().optional(),\n title: z.string().describe(\"Title of the article.\"),\n content: z.union([z.string(), z.object({})]).nullable().optional(),\n version: z.number().describe(\"Version number of the article.\"),\n archived: z.boolean().describe(\"Whether the article is archived.\"),\n imageUrl: z.string().describe(\"URL of the article's featured image.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the article was created.\"),\n isDeleted: z.boolean().describe(\"Whether the article has been deleted.\"),\n published: z.boolean().describe(\"Whether the article is published.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\"),\n workspaceId: z.string().describe(\"Workspace identifier this article belongs to.\"),\n}).describe(\"Individual help center article object.\");\nexport const ProductlaneListHelpCenterArticlesOutput: z.ZodTypeAny = z.object({\n articles: z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe(\"List of help center articles in the workspace.\"),\n}).describe(\"Response model for listing help center articles.\");\n\nexport const productlaneListHelpCenterArticles = action(\"PRODUCTLANE_LIST_HELP_CENTER_ARTICLES\", {\n slug: \"productlane-list-help-center-articles\",\n name: \"List Help Center Articles\",\n description: \"Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.\",\n input: ProductlaneListHelpCenterArticlesInput,\n output: ProductlaneListHelpCenterArticlesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACzJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC7G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACvE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,UAAUA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,gDAAgD,EACxI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,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/list-help-center-articles.d.ts
|
|
4
|
+
declare const ProductlaneListHelpCenterArticlesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneListHelpCenterArticlesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneListHelpCenterArticles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneListHelpCenterArticles };
|
|
9
|
+
//# sourceMappingURL=list-help-center-articles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.d.cts","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGsB;AAAA,cAehE,uCAAA,EAAyC,CAAA,CAAE,UAEO;AAAA,cAElD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-help-center-articles.d.ts
|
|
4
|
+
declare const ProductlaneListHelpCenterArticlesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProductlaneListHelpCenterArticlesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const productlaneListHelpCenterArticles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productlaneListHelpCenterArticles };
|
|
9
|
+
//# sourceMappingURL=list-help-center-articles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.d.mts","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGsB;AAAA,cAehE,uCAAA,EAAyC,CAAA,CAAE,UAEO;AAAA,cAElD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-help-center-articles.ts
|
|
4
|
+
const ProductlaneListHelpCenterArticlesInput = z.object({
|
|
5
|
+
language: z.string().describe("Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.").optional(),
|
|
6
|
+
workspaceId: z.string().describe("The unique identifier of the workspace to list help center articles for.")
|
|
7
|
+
}).describe("Request model for listing help center articles in a workspace.");
|
|
8
|
+
const ProductlaneListHelpCenterArticles_HelpCenterArticleSchema = z.object({
|
|
9
|
+
id: z.string().describe("Unique article identifier."),
|
|
10
|
+
date: z.string().describe("ISO 8601 timestamp of the article date.").nullable().optional(),
|
|
11
|
+
title: z.string().describe("Title of the article."),
|
|
12
|
+
content: z.union([z.string(), z.object({})]).nullable().optional(),
|
|
13
|
+
version: z.number().describe("Version number of the article."),
|
|
14
|
+
archived: z.boolean().describe("Whether the article is archived."),
|
|
15
|
+
imageUrl: z.string().describe("URL of the article's featured image.").nullable().optional(),
|
|
16
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the article was created."),
|
|
17
|
+
isDeleted: z.boolean().describe("Whether the article has been deleted."),
|
|
18
|
+
published: z.boolean().describe("Whether the article is published."),
|
|
19
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the article was last updated."),
|
|
20
|
+
workspaceId: z.string().describe("Workspace identifier this article belongs to.")
|
|
21
|
+
}).describe("Individual help center article object.");
|
|
22
|
+
const productlaneListHelpCenterArticles = action("PRODUCTLANE_LIST_HELP_CENTER_ARTICLES", {
|
|
23
|
+
slug: "productlane-list-help-center-articles",
|
|
24
|
+
name: "List Help Center Articles",
|
|
25
|
+
description: "Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.",
|
|
26
|
+
input: ProductlaneListHelpCenterArticlesInput,
|
|
27
|
+
output: z.object({ articles: z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe("List of help center articles in the workspace.") }).describe("Response model for listing help center articles.")
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { productlaneListHelpCenterArticles };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=list-help-center-articles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-help-center-articles.mjs","names":[],"sources":["../../src/actions/list-help-center-articles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListHelpCenterArticlesInput: z.ZodTypeAny = z.object({\n language: z.string().describe(\"Filter articles by language code (e.g., 'en', 'de', 'fr'). If not provided, returns articles in all languages.\").optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace to list help center articles for.\"),\n}).describe(\"Request model for listing help center articles in a workspace.\");\nconst ProductlaneListHelpCenterArticles_HelpCenterArticleSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique article identifier.\"),\n date: z.string().describe(\"ISO 8601 timestamp of the article date.\").nullable().optional(),\n title: z.string().describe(\"Title of the article.\"),\n content: z.union([z.string(), z.object({})]).nullable().optional(),\n version: z.number().describe(\"Version number of the article.\"),\n archived: z.boolean().describe(\"Whether the article is archived.\"),\n imageUrl: z.string().describe(\"URL of the article's featured image.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the article was created.\"),\n isDeleted: z.boolean().describe(\"Whether the article has been deleted.\"),\n published: z.boolean().describe(\"Whether the article is published.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the article was last updated.\"),\n workspaceId: z.string().describe(\"Workspace identifier this article belongs to.\"),\n}).describe(\"Individual help center article object.\");\nexport const ProductlaneListHelpCenterArticlesOutput: z.ZodTypeAny = z.object({\n articles: z.array(ProductlaneListHelpCenterArticles_HelpCenterArticleSchema).describe(\"List of help center articles in the workspace.\"),\n}).describe(\"Response model for listing help center articles.\");\n\nexport const productlaneListHelpCenterArticles = action(\"PRODUCTLANE_LIST_HELP_CENTER_ARTICLES\", {\n slug: \"productlane-list-help-center-articles\",\n name: \"List Help Center Articles\",\n description: \"Tool to list all help center articles for a specific workspace. Use when you need to retrieve documentation or support articles from a workspace's help center.\",\n input: ProductlaneListHelpCenterArticlesInput,\n output: ProductlaneListHelpCenterArticlesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACzJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC7G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,4DAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAA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