@keystrokehq/productlane 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-changelog.cjs +9 -9
- package/dist/actions/create-changelog.cjs.map +1 -1
- package/dist/actions/create-changelog.d.cts +25 -3
- package/dist/actions/create-changelog.d.cts.map +1 -1
- package/dist/actions/create-changelog.d.mts +25 -3
- package/dist/actions/create-changelog.d.mts.map +1 -1
- package/dist/actions/create-changelog.mjs +9 -9
- package/dist/actions/create-changelog.mjs.map +1 -1
- package/dist/actions/create-company.cjs +7 -7
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +51 -3
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +51 -3
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +7 -7
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +7 -7
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +30 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +30 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +7 -7
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-feedback.cjs +1 -1
- package/dist/actions/create-feedback.cjs.map +1 -1
- package/dist/actions/create-feedback.d.cts +54 -3
- package/dist/actions/create-feedback.d.cts.map +1 -1
- package/dist/actions/create-feedback.d.mts +54 -3
- package/dist/actions/create-feedback.d.mts.map +1 -1
- package/dist/actions/create-feedback.mjs +1 -1
- package/dist/actions/create-feedback.mjs.map +1 -1
- package/dist/actions/create-insight.cjs +27 -27
- package/dist/actions/create-insight.cjs.map +1 -1
- package/dist/actions/create-insight.d.cts +184 -3
- package/dist/actions/create-insight.d.cts.map +1 -1
- package/dist/actions/create-insight.d.mts +184 -3
- package/dist/actions/create-insight.d.mts.map +1 -1
- package/dist/actions/create-insight.mjs +27 -27
- package/dist/actions/create-insight.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +1 -1
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +26 -3
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +26 -3
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +1 -1
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upvote.cjs +4 -4
- package/dist/actions/create-upvote.cjs.map +1 -1
- package/dist/actions/create-upvote.d.cts +19 -3
- package/dist/actions/create-upvote.d.cts.map +1 -1
- package/dist/actions/create-upvote.d.mts +19 -3
- package/dist/actions/create-upvote.d.mts.map +1 -1
- package/dist/actions/create-upvote.mjs +4 -4
- package/dist/actions/create-upvote.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -1
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +9 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +9 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +1 -1
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +9 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +9 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-upvote.cjs.map +1 -1
- package/dist/actions/delete-upvote.d.cts +16 -3
- package/dist/actions/delete-upvote.d.cts.map +1 -1
- package/dist/actions/delete-upvote.d.mts +16 -3
- package/dist/actions/delete-upvote.d.mts.map +1 -1
- package/dist/actions/delete-upvote.mjs.map +1 -1
- package/dist/actions/enable-widget.cjs +2 -2
- package/dist/actions/enable-widget.cjs.map +1 -1
- package/dist/actions/enable-widget.d.cts +6 -3
- package/dist/actions/enable-widget.d.cts.map +1 -1
- package/dist/actions/enable-widget.d.mts +6 -3
- package/dist/actions/enable-widget.d.mts.map +1 -1
- package/dist/actions/enable-widget.mjs +2 -2
- package/dist/actions/enable-widget.mjs.map +1 -1
- package/dist/actions/get-changelog.cjs +9 -9
- package/dist/actions/get-changelog.cjs.map +1 -1
- package/dist/actions/get-changelog.d.cts +25 -3
- package/dist/actions/get-changelog.d.cts.map +1 -1
- package/dist/actions/get-changelog.d.mts +25 -3
- package/dist/actions/get-changelog.d.mts.map +1 -1
- package/dist/actions/get-changelog.mjs +9 -9
- package/dist/actions/get-changelog.mjs.map +1 -1
- package/dist/actions/get-company.cjs +7 -7
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +35 -3
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +35 -3
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +7 -7
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +7 -7
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +22 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +22 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +7 -7
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-help-center-article.cjs +9 -9
- package/dist/actions/get-help-center-article.cjs.map +1 -1
- package/dist/actions/get-help-center-article.d.cts +24 -3
- package/dist/actions/get-help-center-article.d.cts.map +1 -1
- package/dist/actions/get-help-center-article.d.mts +24 -3
- package/dist/actions/get-help-center-article.d.mts.map +1 -1
- package/dist/actions/get-help-center-article.mjs +9 -9
- package/dist/actions/get-help-center-article.mjs.map +1 -1
- package/dist/actions/get-insight.cjs +38 -38
- package/dist/actions/get-insight.cjs.map +1 -1
- package/dist/actions/get-insight.d.cts +160 -3
- package/dist/actions/get-insight.d.cts.map +1 -1
- package/dist/actions/get-insight.d.mts +160 -3
- package/dist/actions/get-insight.d.mts.map +1 -1
- package/dist/actions/get-insight.mjs +38 -38
- package/dist/actions/get-insight.mjs.map +1 -1
- package/dist/actions/get-issue.cjs +16 -16
- package/dist/actions/get-issue.cjs.map +1 -1
- package/dist/actions/get-issue.d.cts +34 -3
- package/dist/actions/get-issue.d.cts.map +1 -1
- package/dist/actions/get-issue.d.mts +34 -3
- package/dist/actions/get-issue.d.mts.map +1 -1
- package/dist/actions/get-issue.mjs +16 -16
- package/dist/actions/get-issue.mjs.map +1 -1
- package/dist/actions/get-linear-options.cjs +5 -5
- package/dist/actions/get-linear-options.cjs.map +1 -1
- package/dist/actions/get-linear-options.d.cts +13 -3
- package/dist/actions/get-linear-options.d.cts.map +1 -1
- package/dist/actions/get-linear-options.d.mts +13 -3
- package/dist/actions/get-linear-options.d.mts.map +1 -1
- package/dist/actions/get-linear-options.mjs +5 -5
- package/dist/actions/get-linear-options.mjs.map +1 -1
- package/dist/actions/get-project.cjs +6 -6
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +25 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +25 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +6 -6
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +23 -23
- package/dist/actions/get-workspace.cjs.map +1 -1
- package/dist/actions/get-workspace.d.cts +42 -3
- package/dist/actions/get-workspace.d.cts.map +1 -1
- package/dist/actions/get-workspace.d.mts +42 -3
- package/dist/actions/get-workspace.d.mts.map +1 -1
- package/dist/actions/get-workspace.mjs +23 -23
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/invite-user.cjs.map +1 -1
- package/dist/actions/invite-user.d.cts +15 -3
- package/dist/actions/invite-user.d.cts.map +1 -1
- package/dist/actions/invite-user.d.mts +15 -3
- package/dist/actions/invite-user.d.mts.map +1 -1
- package/dist/actions/invite-user.mjs.map +1 -1
- package/dist/actions/list-changelogs.cjs +9 -9
- package/dist/actions/list-changelogs.cjs.map +1 -1
- package/dist/actions/list-changelogs.d.cts +25 -3
- package/dist/actions/list-changelogs.d.cts.map +1 -1
- package/dist/actions/list-changelogs.d.mts +25 -3
- package/dist/actions/list-changelogs.d.mts.map +1 -1
- package/dist/actions/list-changelogs.mjs +9 -9
- package/dist/actions/list-changelogs.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +11 -11
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +50 -3
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +50 -3
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +11 -11
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +13 -13
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +33 -3
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +33 -3
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +13 -13
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-help-center-articles.cjs +9 -9
- package/dist/actions/list-help-center-articles.cjs.map +1 -1
- package/dist/actions/list-help-center-articles.d.cts +24 -3
- package/dist/actions/list-help-center-articles.d.cts.map +1 -1
- package/dist/actions/list-help-center-articles.d.mts +24 -3
- package/dist/actions/list-help-center-articles.d.mts.map +1 -1
- package/dist/actions/list-help-center-articles.mjs +9 -9
- package/dist/actions/list-help-center-articles.mjs.map +1 -1
- package/dist/actions/list-insights.cjs +10 -10
- package/dist/actions/list-insights.cjs.map +1 -1
- package/dist/actions/list-insights.d.cts +81 -3
- package/dist/actions/list-insights.d.cts.map +1 -1
- package/dist/actions/list-insights.d.mts +81 -3
- package/dist/actions/list-insights.d.mts.map +1 -1
- package/dist/actions/list-insights.mjs +10 -10
- package/dist/actions/list-insights.mjs.map +1 -1
- package/dist/actions/list-issues.cjs +16 -16
- package/dist/actions/list-issues.cjs.map +1 -1
- package/dist/actions/list-issues.d.cts +34 -3
- package/dist/actions/list-issues.d.cts.map +1 -1
- package/dist/actions/list-issues.d.mts +34 -3
- package/dist/actions/list-issues.d.mts.map +1 -1
- package/dist/actions/list-issues.mjs +16 -16
- package/dist/actions/list-issues.mjs.map +1 -1
- package/dist/actions/list-members.cjs +9 -9
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +18 -3
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +18 -3
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +9 -9
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +6 -6
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +25 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +25 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +6 -6
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/update-company.cjs +7 -7
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +53 -3
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +53 -3
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +7 -7
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +7 -7
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +32 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +32 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +7 -7
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-insight.cjs +12 -12
- package/dist/actions/update-insight.cjs.map +1 -1
- package/dist/actions/update-insight.d.cts +113 -3
- package/dist/actions/update-insight.d.cts.map +1 -1
- package/dist/actions/update-insight.d.mts +113 -3
- package/dist/actions/update-insight.d.mts.map +1 -1
- package/dist/actions/update-insight.mjs +12 -12
- package/dist/actions/update-insight.mjs.map +1 -1
- package/dist/actions/widget-close.cjs +1 -1
- package/dist/actions/widget-close.cjs.map +1 -1
- package/dist/actions/widget-close.d.cts +5 -3
- package/dist/actions/widget-close.d.cts.map +1 -1
- package/dist/actions/widget-close.d.mts +5 -3
- package/dist/actions/widget-close.d.mts.map +1 -1
- package/dist/actions/widget-close.mjs +1 -1
- package/dist/actions/widget-close.mjs.map +1 -1
- package/dist/actions/widget-disable.cjs +2 -2
- package/dist/actions/widget-disable.cjs.map +1 -1
- package/dist/actions/widget-disable.d.cts +6 -3
- package/dist/actions/widget-disable.d.cts.map +1 -1
- package/dist/actions/widget-disable.d.mts +6 -3
- package/dist/actions/widget-disable.d.mts.map +1 -1
- package/dist/actions/widget-disable.mjs +2 -2
- package/dist/actions/widget-disable.mjs.map +1 -1
- package/dist/actions/widget-off-event.cjs +1 -1
- package/dist/actions/widget-off-event.cjs.map +1 -1
- package/dist/actions/widget-off-event.d.cts +18 -3
- package/dist/actions/widget-off-event.d.cts.map +1 -1
- package/dist/actions/widget-off-event.d.mts +18 -3
- package/dist/actions/widget-off-event.d.mts.map +1 -1
- package/dist/actions/widget-off-event.mjs +1 -1
- package/dist/actions/widget-off-event.mjs.map +1 -1
- package/dist/actions/widget-on-event.cjs +1 -1
- package/dist/actions/widget-on-event.cjs.map +1 -1
- package/dist/actions/widget-on-event.d.cts +16 -3
- package/dist/actions/widget-on-event.d.cts.map +1 -1
- package/dist/actions/widget-on-event.d.mts +16 -3
- package/dist/actions/widget-on-event.d.mts.map +1 -1
- package/dist/actions/widget-on-event.mjs +1 -1
- package/dist/actions/widget-on-event.mjs.map +1 -1
- package/dist/actions/widget-open-docs.cjs +1 -1
- package/dist/actions/widget-open-docs.cjs.map +1 -1
- package/dist/actions/widget-open-docs.d.cts +11 -3
- package/dist/actions/widget-open-docs.d.cts.map +1 -1
- package/dist/actions/widget-open-docs.d.mts +11 -3
- package/dist/actions/widget-open-docs.d.mts.map +1 -1
- package/dist/actions/widget-open-docs.mjs +1 -1
- package/dist/actions/widget-open-docs.mjs.map +1 -1
- package/dist/actions/widget-open.cjs +1 -1
- package/dist/actions/widget-open.cjs.map +1 -1
- package/dist/actions/widget-open.d.cts +14 -3
- package/dist/actions/widget-open.d.cts.map +1 -1
- package/dist/actions/widget-open.d.mts +14 -3
- package/dist/actions/widget-open.d.mts.map +1 -1
- package/dist/actions/widget-open.mjs +1 -1
- package/dist/actions/widget-open.mjs.map +1 -1
- package/dist/actions/widget-toggle.cjs +1 -1
- package/dist/actions/widget-toggle.cjs.map +1 -1
- package/dist/actions/widget-toggle.d.cts +5 -3
- package/dist/actions/widget-toggle.d.cts.map +1 -1
- package/dist/actions/widget-toggle.d.mts +5 -3
- package/dist/actions/widget-toggle.d.mts.map +1 -1
- package/dist/actions/widget-toggle.mjs +1 -1
- package/dist/actions/widget-toggle.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListProjectsInput
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneListProjectsInput = z.object({\n language: z.string().describe(\"Optional language code for localized project content (e.g., 'en', 'de', 'fr').\").optional(),\n workspace_id: z.string().describe(\"The unique identifier of the workspace. The workspace's portal or roadmap must be published to retrieve projects.\"),\n}).describe(\"Request to list all projects within a workspace.\");\nconst ProductlaneListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the project.\").nullable(),\n icon: z.string().describe(\"Icon associated with the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable(),\n color: z.string().describe(\"Color associated with the project (e.g., hex color code).\").nullable().optional(),\n state: z.string().describe(\"Current state of the project.\").nullable().optional(),\n upvotes: z.number().describe(\"Number of upvotes for the project.\").nullable(),\n progress: z.number().describe(\"Progress of the project (0.0 to 1.0).\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the project was created (ISO 8601 format).\").nullable(),\n sortOrder: z.number().describe(\"Sort order for displaying the project.\").nullable(),\n description: z.string().describe(\"Description of the project.\").nullable().optional(),\n linearTeamIds: z.array(z.string()).describe(\"List of Linear team IDs associated with this project.\").nullable().optional(),\n importanceScore: z.number().describe(\"Calculated importance score for the project.\").nullable(),\n linearProjectId: z.string().describe(\"Linear project ID if integrated with Linear.\").nullable().optional(),\n}).describe(\"A project within a workspace.\");\nexport const ProductlaneListProjectsOutput = z.object({\n projects: z.array(ProductlaneListProjects_ProjectSchema).describe(\"List of projects in the workspace.\"),\n}).describe(\"Response containing a list of projects.\");\n\nexport const productlaneListProjects = action(\"PRODUCTLANE_LIST_PROJECTS\", {\n slug: \"productlane-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve all projects within a workspace. Use when you need to list available projects from a published Productlane workspace portal or roadmap.\",\n input: ProductlaneListProjectsInput,\n output: ProductlaneListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,UAAU,EAAE,OAA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AAC,CAAC,SAAS,+BAA+B;AAK3C,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ const ProductlaneUpdateCompanyInput = zod.z.object({
|
|
|
16
16
|
statusColor: zod.z.string().describe("The color code for the company's status (e.g., hex color). Set to null to clear the value.").optional()
|
|
17
17
|
});
|
|
18
18
|
const ProductlaneUpdateCompanyOutput = zod.z.object({
|
|
19
|
-
id: zod.z.string().describe("The unique identifier (UUID) of the company"),
|
|
20
|
-
name: zod.z.string().describe("The name of the company"),
|
|
19
|
+
id: zod.z.string().describe("The unique identifier (UUID) of the company").nullable(),
|
|
20
|
+
name: zod.z.string().describe("The name of the company").nullable(),
|
|
21
21
|
size: zod.z.number().describe("The company size (typically number of employees)").nullable().optional(),
|
|
22
22
|
slugId: zod.z.string().describe("URL-friendly slug identifier for the company").nullable().optional(),
|
|
23
23
|
tierId: zod.z.string().describe("The unique identifier of the company's tier/plan").nullable().optional(),
|
|
@@ -25,18 +25,18 @@ const ProductlaneUpdateCompanyOutput = zod.z.object({
|
|
|
25
25
|
domains: zod.z.array(zod.z.string()).describe("List of domain names associated with the company"),
|
|
26
26
|
logoUrl: zod.z.string().describe("URL of the company's logo").nullable().optional(),
|
|
27
27
|
revenue: zod.z.number().describe("The company's revenue").nullable().optional(),
|
|
28
|
-
version: zod.z.number().describe("Version number of the company record"),
|
|
28
|
+
version: zod.z.number().describe("Version number of the company record").nullable(),
|
|
29
29
|
statusId: zod.z.string().describe("The unique identifier of the company's status").nullable().optional(),
|
|
30
30
|
tierName: zod.z.string().describe("The name of the company's tier/plan").nullable().optional(),
|
|
31
|
-
createdAt: zod.z.string().describe("ISO 8601 timestamp when the company was created"),
|
|
31
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the company was created").nullable(),
|
|
32
32
|
hubspotId: zod.z.string().describe("HubSpot ID if integrated").nullable().optional(),
|
|
33
|
-
isDeleted: zod.z.boolean().describe("Whether the company has been deleted"),
|
|
34
|
-
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the company was last updated"),
|
|
33
|
+
isDeleted: zod.z.boolean().describe("Whether the company has been deleted").nullable(),
|
|
34
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the company was last updated").nullable(),
|
|
35
35
|
intercomId: zod.z.string().describe("Intercom ID if integrated").nullable().optional(),
|
|
36
36
|
statusName: zod.z.string().describe("The name of the company's status").nullable().optional(),
|
|
37
37
|
externalIds: zod.z.array(zod.z.string()).describe("List of external identifiers for the company"),
|
|
38
38
|
statusColor: zod.z.string().describe("The color code for the company's status").nullable().optional(),
|
|
39
|
-
workspaceId: zod.z.string().describe("The unique identifier (UUID) of the workspace this company belongs to"),
|
|
39
|
+
workspaceId: zod.z.string().describe("The unique identifier (UUID) of the workspace this company belongs to").nullable(),
|
|
40
40
|
productboardId: zod.z.string().describe("Productboard ID if integrated").nullable().optional(),
|
|
41
41
|
linearCustomerId: zod.z.string().describe("Linear customer ID if integrated").nullable().optional()
|
|
42
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-company.cjs","names":["z","action"],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateCompanyInput
|
|
1
|
+
{"version":3,"file":"update-company.cjs","names":["z","action"],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the company to update\"),\n name: z.string().describe(\"The name of the company\").optional(),\n size: z.number().describe(\"The company size (typically number of employees) as a number. Set to null to clear the value.\").optional(),\n tierId: z.string().describe(\"The unique identifier of the company's tier/plan. Set to null to clear the value.\").optional(),\n autoAdd: z.boolean().describe(\"Whether to automatically add new users from the company's domains to this company\").optional(),\n domains: z.array(z.string()).describe(\"List of domain names associated with the company (e.g., ['acme.com', 'example.co.uk']). Each domain must be 1-63 characters and match the pattern: lowercase letters, numbers, hyphens, with valid TLD.\").optional(),\n revenue: z.number().describe(\"The company's revenue as a number. Set to null to clear the value.\").optional(),\n statusId: z.string().describe(\"The unique identifier of the company's status. Set to null to clear the value.\").optional(),\n tierName: z.string().describe(\"The name of the company's tier/plan (e.g., 'Enterprise', 'Professional', 'Free'). Set to null to clear the value.\").optional(),\n statusName: z.string().describe(\"The name of the company's status (e.g., 'Active', 'Inactive', 'Trial'). Set to null to clear the value.\").optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers for the company from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters.\").optional(),\n statusColor: z.string().describe(\"The color code for the company's status (e.g., hex color). Set to null to clear the value.\").optional(),\n});\nexport const ProductlaneUpdateCompanyOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the company\").nullable(),\n name: z.string().describe(\"The name of the company\").nullable(),\n size: z.number().describe(\"The company size (typically number of employees)\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier for the company\").nullable().optional(),\n tierId: z.string().describe(\"The unique identifier of the company's tier/plan\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether to automatically add new users from the company's domains\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of domain names associated with the company\"),\n logoUrl: z.string().describe(\"URL of the company's logo\").nullable().optional(),\n revenue: z.number().describe(\"The company's revenue\").nullable().optional(),\n version: z.number().describe(\"Version number of the company record\").nullable(),\n statusId: z.string().describe(\"The unique identifier of the company's status\").nullable().optional(),\n tierName: z.string().describe(\"The name of the company's tier/plan\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID if integrated\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company has been deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\").nullable(),\n intercomId: z.string().describe(\"Intercom ID if integrated\").nullable().optional(),\n statusName: z.string().describe(\"The name of the company's status\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers for the company\"),\n statusColor: z.string().describe(\"The color code for the company's status\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier (UUID) of the workspace this company belongs to\").nullable(),\n productboardId: z.string().describe(\"Productboard ID if integrated\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated\").nullable().optional(),\n});\n\nexport const productlaneUpdateCompany = action(\"PRODUCTLANE_UPDATE_COMPANY\", {\n slug: \"productlane-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in Productlane by its unique identifier. Use when you need to modify company details such as name, domains, revenue, size, status, tier, or external IDs. All fields except the company ID are optional.\",\n input: ProductlaneUpdateCompanyInput,\n output: ProductlaneUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CAC1P,SAASA,IAAAA,EAAE,OAAO,CAAC,CAA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AkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,59 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-company.d.ts
|
|
4
|
-
declare const ProductlaneUpdateCompanyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneUpdateCompanyInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
tierId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
autoAdd: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
revenue: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
statusId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
tierName: z.ZodOptional<z.ZodString>;
|
|
14
|
+
statusName: z.ZodOptional<z.ZodString>;
|
|
15
|
+
externalIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
statusColor: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const ProductlaneUpdateCompanyOutput: z.ZodObject<{
|
|
19
|
+
id: z.ZodNullable<z.ZodString>;
|
|
20
|
+
name: z.ZodNullable<z.ZodString>;
|
|
21
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
slugId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
tierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
autoAdd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
+
domains: z.ZodArray<z.ZodString>;
|
|
26
|
+
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
revenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
statusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
tierName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
32
|
+
hubspotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
isDeleted: z.ZodNullable<z.ZodBoolean>;
|
|
34
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
statusName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
externalIds: z.ZodArray<z.ZodString>;
|
|
38
|
+
statusColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
40
|
+
productboardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
linearCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const productlaneUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
|
+
id: string;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
size?: number | undefined;
|
|
47
|
+
tierId?: string | undefined;
|
|
48
|
+
autoAdd?: boolean | undefined;
|
|
49
|
+
domains?: string[] | undefined;
|
|
50
|
+
revenue?: number | undefined;
|
|
51
|
+
statusId?: string | undefined;
|
|
52
|
+
tierName?: string | undefined;
|
|
53
|
+
statusName?: string | undefined;
|
|
54
|
+
externalIds?: string[] | undefined;
|
|
55
|
+
statusColor?: string | undefined;
|
|
56
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
57
|
//#endregion
|
|
8
58
|
export { productlaneUpdateCompany };
|
|
9
59
|
//# sourceMappingURL=update-company.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cA0B9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,59 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-company.d.ts
|
|
4
|
-
declare const ProductlaneUpdateCompanyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneUpdateCompanyInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
tierId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
autoAdd: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
revenue: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
statusId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
tierName: z.ZodOptional<z.ZodString>;
|
|
14
|
+
statusName: z.ZodOptional<z.ZodString>;
|
|
15
|
+
externalIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
statusColor: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const ProductlaneUpdateCompanyOutput: z.ZodObject<{
|
|
19
|
+
id: z.ZodNullable<z.ZodString>;
|
|
20
|
+
name: z.ZodNullable<z.ZodString>;
|
|
21
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
slugId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
tierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
autoAdd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
+
domains: z.ZodArray<z.ZodString>;
|
|
26
|
+
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
revenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
statusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
tierName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
32
|
+
hubspotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
isDeleted: z.ZodNullable<z.ZodBoolean>;
|
|
34
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
statusName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
externalIds: z.ZodArray<z.ZodString>;
|
|
38
|
+
statusColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
40
|
+
productboardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
linearCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const productlaneUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
|
+
id: string;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
size?: number | undefined;
|
|
47
|
+
tierId?: string | undefined;
|
|
48
|
+
autoAdd?: boolean | undefined;
|
|
49
|
+
domains?: string[] | undefined;
|
|
50
|
+
revenue?: number | undefined;
|
|
51
|
+
statusId?: string | undefined;
|
|
52
|
+
tierName?: string | undefined;
|
|
53
|
+
statusName?: string | undefined;
|
|
54
|
+
externalIds?: string[] | undefined;
|
|
55
|
+
statusColor?: string | undefined;
|
|
56
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
57
|
//#endregion
|
|
8
58
|
export { productlaneUpdateCompany };
|
|
9
59
|
//# sourceMappingURL=update-company.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cA0B9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -19,8 +19,8 @@ const productlaneUpdateCompany = action("PRODUCTLANE_UPDATE_COMPANY", {
|
|
|
19
19
|
statusColor: z.string().describe("The color code for the company's status (e.g., hex color). Set to null to clear the value.").optional()
|
|
20
20
|
}),
|
|
21
21
|
output: z.object({
|
|
22
|
-
id: z.string().describe("The unique identifier (UUID) of the company"),
|
|
23
|
-
name: z.string().describe("The name of the company"),
|
|
22
|
+
id: z.string().describe("The unique identifier (UUID) of the company").nullable(),
|
|
23
|
+
name: z.string().describe("The name of the company").nullable(),
|
|
24
24
|
size: z.number().describe("The company size (typically number of employees)").nullable().optional(),
|
|
25
25
|
slugId: z.string().describe("URL-friendly slug identifier for the company").nullable().optional(),
|
|
26
26
|
tierId: z.string().describe("The unique identifier of the company's tier/plan").nullable().optional(),
|
|
@@ -28,18 +28,18 @@ const productlaneUpdateCompany = action("PRODUCTLANE_UPDATE_COMPANY", {
|
|
|
28
28
|
domains: z.array(z.string()).describe("List of domain names associated with the company"),
|
|
29
29
|
logoUrl: z.string().describe("URL of the company's logo").nullable().optional(),
|
|
30
30
|
revenue: z.number().describe("The company's revenue").nullable().optional(),
|
|
31
|
-
version: z.number().describe("Version number of the company record"),
|
|
31
|
+
version: z.number().describe("Version number of the company record").nullable(),
|
|
32
32
|
statusId: z.string().describe("The unique identifier of the company's status").nullable().optional(),
|
|
33
33
|
tierName: z.string().describe("The name of the company's tier/plan").nullable().optional(),
|
|
34
|
-
createdAt: z.string().describe("ISO 8601 timestamp when the company was created"),
|
|
34
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the company was created").nullable(),
|
|
35
35
|
hubspotId: z.string().describe("HubSpot ID if integrated").nullable().optional(),
|
|
36
|
-
isDeleted: z.boolean().describe("Whether the company has been deleted"),
|
|
37
|
-
updatedAt: z.string().describe("ISO 8601 timestamp when the company was last updated"),
|
|
36
|
+
isDeleted: z.boolean().describe("Whether the company has been deleted").nullable(),
|
|
37
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the company was last updated").nullable(),
|
|
38
38
|
intercomId: z.string().describe("Intercom ID if integrated").nullable().optional(),
|
|
39
39
|
statusName: z.string().describe("The name of the company's status").nullable().optional(),
|
|
40
40
|
externalIds: z.array(z.string()).describe("List of external identifiers for the company"),
|
|
41
41
|
statusColor: z.string().describe("The color code for the company's status").nullable().optional(),
|
|
42
|
-
workspaceId: z.string().describe("The unique identifier (UUID) of the workspace this company belongs to"),
|
|
42
|
+
workspaceId: z.string().describe("The unique identifier (UUID) of the workspace this company belongs to").nullable(),
|
|
43
43
|
productboardId: z.string().describe("Productboard ID if integrated").nullable().optional(),
|
|
44
44
|
linearCustomerId: z.string().describe("Linear customer ID if integrated").nullable().optional()
|
|
45
45
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-company.mjs","names":[],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateCompanyInput
|
|
1
|
+
{"version":3,"file":"update-company.mjs","names":[],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the company to update\"),\n name: z.string().describe(\"The name of the company\").optional(),\n size: z.number().describe(\"The company size (typically number of employees) as a number. Set to null to clear the value.\").optional(),\n tierId: z.string().describe(\"The unique identifier of the company's tier/plan. Set to null to clear the value.\").optional(),\n autoAdd: z.boolean().describe(\"Whether to automatically add new users from the company's domains to this company\").optional(),\n domains: z.array(z.string()).describe(\"List of domain names associated with the company (e.g., ['acme.com', 'example.co.uk']). Each domain must be 1-63 characters and match the pattern: lowercase letters, numbers, hyphens, with valid TLD.\").optional(),\n revenue: z.number().describe(\"The company's revenue as a number. Set to null to clear the value.\").optional(),\n statusId: z.string().describe(\"The unique identifier of the company's status. Set to null to clear the value.\").optional(),\n tierName: z.string().describe(\"The name of the company's tier/plan (e.g., 'Enterprise', 'Professional', 'Free'). Set to null to clear the value.\").optional(),\n statusName: z.string().describe(\"The name of the company's status (e.g., 'Active', 'Inactive', 'Trial'). Set to null to clear the value.\").optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers for the company from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters.\").optional(),\n statusColor: z.string().describe(\"The color code for the company's status (e.g., hex color). Set to null to clear the value.\").optional(),\n});\nexport const ProductlaneUpdateCompanyOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the company\").nullable(),\n name: z.string().describe(\"The name of the company\").nullable(),\n size: z.number().describe(\"The company size (typically number of employees)\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier for the company\").nullable().optional(),\n tierId: z.string().describe(\"The unique identifier of the company's tier/plan\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether to automatically add new users from the company's domains\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of domain names associated with the company\"),\n logoUrl: z.string().describe(\"URL of the company's logo\").nullable().optional(),\n revenue: z.number().describe(\"The company's revenue\").nullable().optional(),\n version: z.number().describe(\"Version number of the company record\").nullable(),\n statusId: z.string().describe(\"The unique identifier of the company's status\").nullable().optional(),\n tierName: z.string().describe(\"The name of the company's tier/plan\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created\").nullable(),\n hubspotId: z.string().describe(\"HubSpot ID if integrated\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company has been deleted\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated\").nullable(),\n intercomId: z.string().describe(\"Intercom ID if integrated\").nullable().optional(),\n statusName: z.string().describe(\"The name of the company's status\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers for the company\"),\n statusColor: z.string().describe(\"The color code for the company's status\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier (UUID) of the workspace this company belongs to\").nullable(),\n productboardId: z.string().describe(\"Productboard ID if integrated\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated\").nullable().optional(),\n});\n\nexport const productlaneUpdateCompany = action(\"PRODUCTLANE_UPDATE_COMPANY\", {\n slug: \"productlane-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in Productlane by its unique identifier. Use when you need to modify company details such as name, domains, revenue, size, status, tier, or external IDs. All fields except the company ID are optional.\",\n input: ProductlaneUpdateCompanyInput,\n output: ProductlaneUpdateCompanyOutput,\n});\n"],"mappings":";;AA4CA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5C2C,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AyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAOU;AACV,CAAC"}
|
|
@@ -10,19 +10,19 @@ const ProductlaneUpdateContactInput = zod.z.object({
|
|
|
10
10
|
companyExternalId: zod.z.string().describe("External identifier for the company (e.g., from a CRM system). Must be between 1-255 characters if provided.").optional()
|
|
11
11
|
}).describe("Request model for updating a contact in Productlane.");
|
|
12
12
|
const ProductlaneUpdateContactOutput = zod.z.object({
|
|
13
|
-
id: zod.z.string().describe("Unique identifier of the contact."),
|
|
13
|
+
id: zod.z.string().describe("Unique identifier of the contact.").nullable(),
|
|
14
14
|
name: zod.z.string().describe("Name of the contact.").nullable().optional(),
|
|
15
|
-
email: zod.z.string().describe("Email address of the contact."),
|
|
16
|
-
version: zod.z.number().describe("Version number of the contact record."),
|
|
15
|
+
email: zod.z.string().describe("Email address of the contact.").nullable(),
|
|
16
|
+
version: zod.z.number().describe("Version number of the contact record.").nullable(),
|
|
17
17
|
imageUrl: zod.z.string().describe("URL of the contact's profile image.").nullable().optional(),
|
|
18
18
|
companyId: zod.z.string().describe("Unique identifier of the associated company.").nullable().optional(),
|
|
19
|
-
createdAt: zod.z.string().describe("ISO 8601 timestamp of when the contact was created."),
|
|
19
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp of when the contact was created.").nullable(),
|
|
20
20
|
hubspotId: zod.z.string().describe("HubSpot identifier for this contact, if integrated.").nullable().optional(),
|
|
21
|
-
isDeleted: zod.z.boolean().describe("Whether the contact is marked as deleted."),
|
|
22
|
-
updatedAt: zod.z.string().describe("ISO 8601 timestamp of when the contact was last updated."),
|
|
21
|
+
isDeleted: zod.z.boolean().describe("Whether the contact is marked as deleted.").nullable(),
|
|
22
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp of when the contact was last updated.").nullable(),
|
|
23
23
|
zendeskId: zod.z.string().describe("Zendesk identifier for this contact, if integrated.").nullable().optional(),
|
|
24
24
|
intercomId: zod.z.string().describe("Intercom identifier for this contact, if integrated.").nullable().optional(),
|
|
25
|
-
workspaceId: zod.z.string().describe("Unique identifier of the workspace this contact belongs to."),
|
|
25
|
+
workspaceId: zod.z.string().describe("Unique identifier of the workspace this contact belongs to.").nullable(),
|
|
26
26
|
productboardId: zod.z.string().describe("Productboard identifier for this contact, if integrated.").nullable().optional()
|
|
27
27
|
}).describe("Response model for the updated contact.");
|
|
28
28
|
const productlaneUpdateContact = require_action.action("PRODUCTLANE_UPDATE_CONTACT", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateContactInput
|
|
1
|
+
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to update. This is the contact's UUID in the Productlane system.\"),\n name: z.string().describe(\"The new name for the contact. Must be between 1-255 characters if provided.\").optional(),\n email: z.string().describe(\"The new email address for the contact. Must be a valid email format with maximum 254 characters.\").optional(),\n companyId: z.string().describe(\"The unique identifier of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyName: z.string().describe(\"The name of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyExternalId: z.string().describe(\"External identifier for the company (e.g., from a CRM system). Must be between 1-255 characters if provided.\").optional(),\n}).describe(\"Request model for updating a contact in Productlane.\");\nexport const ProductlaneUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n version: z.number().describe(\"Version number of the contact record.\").nullable(),\n imageUrl: z.string().describe(\"URL of the contact's profile image.\").nullable().optional(),\n companyId: z.string().describe(\"Unique identifier of the associated company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the contact was created.\").nullable(),\n hubspotId: z.string().describe(\"HubSpot identifier for this contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is marked as deleted.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the contact was last updated.\").nullable(),\n zendeskId: z.string().describe(\"Zendesk identifier for this contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for this contact, if integrated.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this contact belongs to.\").nullable(),\n productboardId: z.string().describe(\"Productboard identifier for this contact, if integrated.\").nullable().optional(),\n}).describe(\"Response model for the updated contact.\");\n\nexport const productlaneUpdateContact = action(\"PRODUCTLANE_UPDATE_CONTACT\", {\n slug: \"productlane-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Productlane. Use when you need to modify contact details such as name, email, or company associations. Users can only update their own contacts.\",\n input: ProductlaneUpdateContactInput,\n output: ProductlaneUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAA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O,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-contact.d.ts
|
|
4
|
-
declare const ProductlaneUpdateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneUpdateContactInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
email: z.ZodOptional<z.ZodString>;
|
|
8
|
+
companyId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
10
|
+
companyExternalId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ProductlaneUpdateContactOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
email: z.ZodNullable<z.ZodString>;
|
|
16
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
20
|
+
hubspotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
isDeleted: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
23
|
+
zendeskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
26
|
+
productboardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const productlaneUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
id: string;
|
|
30
|
+
name?: string | undefined;
|
|
31
|
+
email?: string | undefined;
|
|
32
|
+
companyId?: string | undefined;
|
|
33
|
+
companyName?: string | undefined;
|
|
34
|
+
companyExternalId?: string | undefined;
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { productlaneUpdateContact };
|
|
9
38
|
//# sourceMappingURL=update-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-contact.d.ts
|
|
4
|
-
declare const ProductlaneUpdateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProductlaneUpdateContactInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
email: z.ZodOptional<z.ZodString>;
|
|
8
|
+
companyId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
10
|
+
companyExternalId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ProductlaneUpdateContactOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
email: z.ZodNullable<z.ZodString>;
|
|
16
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
20
|
+
hubspotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
isDeleted: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
23
|
+
zendeskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
26
|
+
productboardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const productlaneUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
id: string;
|
|
30
|
+
name?: string | undefined;
|
|
31
|
+
email?: string | undefined;
|
|
32
|
+
companyId?: string | undefined;
|
|
33
|
+
companyName?: string | undefined;
|
|
34
|
+
companyExternalId?: string | undefined;
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { productlaneUpdateContact };
|
|
9
38
|
//# sourceMappingURL=update-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -13,19 +13,19 @@ const productlaneUpdateContact = action("PRODUCTLANE_UPDATE_CONTACT", {
|
|
|
13
13
|
companyExternalId: z.string().describe("External identifier for the company (e.g., from a CRM system). Must be between 1-255 characters if provided.").optional()
|
|
14
14
|
}).describe("Request model for updating a contact in Productlane."),
|
|
15
15
|
output: z.object({
|
|
16
|
-
id: z.string().describe("Unique identifier of the contact."),
|
|
16
|
+
id: z.string().describe("Unique identifier of the contact.").nullable(),
|
|
17
17
|
name: z.string().describe("Name of the contact.").nullable().optional(),
|
|
18
|
-
email: z.string().describe("Email address of the contact."),
|
|
19
|
-
version: z.number().describe("Version number of the contact record."),
|
|
18
|
+
email: z.string().describe("Email address of the contact.").nullable(),
|
|
19
|
+
version: z.number().describe("Version number of the contact record.").nullable(),
|
|
20
20
|
imageUrl: z.string().describe("URL of the contact's profile image.").nullable().optional(),
|
|
21
21
|
companyId: z.string().describe("Unique identifier of the associated company.").nullable().optional(),
|
|
22
|
-
createdAt: z.string().describe("ISO 8601 timestamp of when the contact was created."),
|
|
22
|
+
createdAt: z.string().describe("ISO 8601 timestamp of when the contact was created.").nullable(),
|
|
23
23
|
hubspotId: z.string().describe("HubSpot identifier for this contact, if integrated.").nullable().optional(),
|
|
24
|
-
isDeleted: z.boolean().describe("Whether the contact is marked as deleted."),
|
|
25
|
-
updatedAt: z.string().describe("ISO 8601 timestamp of when the contact was last updated."),
|
|
24
|
+
isDeleted: z.boolean().describe("Whether the contact is marked as deleted.").nullable(),
|
|
25
|
+
updatedAt: z.string().describe("ISO 8601 timestamp of when the contact was last updated.").nullable(),
|
|
26
26
|
zendeskId: z.string().describe("Zendesk identifier for this contact, if integrated.").nullable().optional(),
|
|
27
27
|
intercomId: z.string().describe("Intercom identifier for this contact, if integrated.").nullable().optional(),
|
|
28
|
-
workspaceId: z.string().describe("Unique identifier of the workspace this contact belongs to."),
|
|
28
|
+
workspaceId: z.string().describe("Unique identifier of the workspace this contact belongs to.").nullable(),
|
|
29
29
|
productboardId: z.string().describe("Productboard identifier for this contact, if integrated.").nullable().optional()
|
|
30
30
|
}).describe("Response model for the updated contact.")
|
|
31
31
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateContactInput
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to update. This is the contact's UUID in the Productlane system.\"),\n name: z.string().describe(\"The new name for the contact. Must be between 1-255 characters if provided.\").optional(),\n email: z.string().describe(\"The new email address for the contact. Must be a valid email format with maximum 254 characters.\").optional(),\n companyId: z.string().describe(\"The unique identifier of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyName: z.string().describe(\"The name of the company to associate this contact with. Must be between 1-255 characters if provided.\").optional(),\n companyExternalId: z.string().describe(\"External identifier for the company (e.g., from a CRM system). Must be between 1-255 characters if provided.\").optional(),\n}).describe(\"Request model for updating a contact in Productlane.\");\nexport const ProductlaneUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n version: z.number().describe(\"Version number of the contact record.\").nullable(),\n imageUrl: z.string().describe(\"URL of the contact's profile image.\").nullable().optional(),\n companyId: z.string().describe(\"Unique identifier of the associated company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the contact was created.\").nullable(),\n hubspotId: z.string().describe(\"HubSpot identifier for this contact, if integrated.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the contact is marked as deleted.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the contact was last updated.\").nullable(),\n zendeskId: z.string().describe(\"Zendesk identifier for this contact, if integrated.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom identifier for this contact, if integrated.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this contact belongs to.\").nullable(),\n productboardId: z.string().describe(\"Productboard identifier for this contact, if integrated.\").nullable().optional(),\n}).describe(\"Response model for the updated contact.\");\n\nexport const productlaneUpdateContact = action(\"PRODUCTLANE_UPDATE_CONTACT\", {\n slug: \"productlane-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Productlane. Use when you need to modify contact details such as name, email, or company associations. Users can only update their own contacts.\",\n input: ProductlaneUpdateContactInput,\n output: ProductlaneUpdateContactOutput,\n});\n"],"mappings":";;AA6BA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACxI,WAAW,EAA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,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -28,11 +28,11 @@ const ProductlaneUpdateInsightInput = zod.z.object({
|
|
|
28
28
|
projectId: zod.z.string().describe("ID of the project to associate with this insight").optional()
|
|
29
29
|
}).describe("Request model for updating an insight (thread)");
|
|
30
30
|
const ProductlaneUpdateInsight_TagInfoSchema = zod.z.object({
|
|
31
|
-
id: zod.z.string().describe("Unique identifier of the tag"),
|
|
32
|
-
icon: zod.z.string().describe("Icon identifier for the tag"),
|
|
33
|
-
name: zod.z.string().describe("Name of the tag"),
|
|
34
|
-
color: zod.z.string().describe("Color code for the tag"),
|
|
35
|
-
tagGroupId: zod.z.string().describe("ID of the tag group this tag belongs to")
|
|
31
|
+
id: zod.z.string().describe("Unique identifier of the tag").nullable(),
|
|
32
|
+
icon: zod.z.string().describe("Icon identifier for the tag").nullable(),
|
|
33
|
+
name: zod.z.string().describe("Name of the tag").nullable(),
|
|
34
|
+
color: zod.z.string().describe("Color code for the tag").nullable(),
|
|
35
|
+
tagGroupId: zod.z.string().describe("ID of the tag group this tag belongs to").nullable()
|
|
36
36
|
}).describe("Information about a tag");
|
|
37
37
|
const ProductlaneUpdateInsight_InsightStateSchema = zod.z.enum([
|
|
38
38
|
"NEW",
|
|
@@ -69,9 +69,9 @@ const ProductlaneUpdateInsight_PainLevelSchema = zod.z.enum([
|
|
|
69
69
|
"HIGH"
|
|
70
70
|
]).describe("Pain level for the insight");
|
|
71
71
|
const ProductlaneUpdateInsightOutput = zod.z.object({
|
|
72
|
-
id: zod.z.string().describe("Unique identifier of the insight"),
|
|
72
|
+
id: zod.z.string().describe("Unique identifier of the insight").nullable(),
|
|
73
73
|
tags: zod.z.array(ProductlaneUpdateInsight_TagInfoSchema).describe("Tags associated with this insight").nullable().optional(),
|
|
74
|
-
text: zod.z.string().describe("Text content of the insight"),
|
|
74
|
+
text: zod.z.string().describe("Text content of the insight").nullable(),
|
|
75
75
|
state: ProductlaneUpdateInsight_InsightStateSchema.nullable(),
|
|
76
76
|
title: zod.z.string().describe("Title of the insight").nullable().optional(),
|
|
77
77
|
origin: ProductlaneUpdateInsight_InsightOriginSchema.nullable(),
|
|
@@ -81,22 +81,22 @@ const ProductlaneUpdateInsightOutput = zod.z.object({
|
|
|
81
81
|
uniqueId: zod.z.string().describe("Unique identifier for the insight").nullable().optional(),
|
|
82
82
|
companyId: zod.z.string().describe("ID of the associated company").nullable().optional(),
|
|
83
83
|
contactId: zod.z.string().describe("ID of the associated contact").nullable().optional(),
|
|
84
|
-
createdAt: zod.z.string().describe("ISO 8601 timestamp when insight was created"),
|
|
84
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when insight was created").nullable(),
|
|
85
85
|
hubspotId: zod.z.string().describe("HubSpot ID if from HubSpot").nullable().optional(),
|
|
86
|
-
isDeleted: zod.z.boolean().describe("Whether the insight has been deleted"),
|
|
86
|
+
isDeleted: zod.z.boolean().describe("Whether the insight has been deleted").nullable(),
|
|
87
87
|
painLevel: ProductlaneUpdateInsight_PainLevelSchema.nullable(),
|
|
88
|
-
updatedAt: zod.z.string().describe("ISO 8601 timestamp when insight was last updated"),
|
|
88
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp when insight was last updated").nullable(),
|
|
89
89
|
zendeskId: zod.z.string().describe("Zendesk ID if from Zendesk").nullable().optional(),
|
|
90
90
|
assigneeId: zod.z.string().describe("ID of the user assigned to this insight").nullable().optional(),
|
|
91
91
|
intercomId: zod.z.string().describe("Intercom ID if from Intercom").nullable().optional(),
|
|
92
92
|
reporterId: zod.z.string().describe("ID of the user who reported this insight").nullable().optional(),
|
|
93
93
|
attachments: zod.z.array(zod.z.object({})).describe("List of attachments").nullable().optional(),
|
|
94
94
|
recordingId: zod.z.string().describe("ID of associated recording").nullable().optional(),
|
|
95
|
-
workspaceId: zod.z.string().describe("ID of the workspace this insight belongs to"),
|
|
95
|
+
workspaceId: zod.z.string().describe("ID of the workspace this insight belongs to").nullable(),
|
|
96
96
|
slackReplyId: zod.z.string().describe("Slack reply ID").nullable().optional(),
|
|
97
97
|
snoozedUntil: zod.z.string().describe("ISO 8601 timestamp until when the insight is snoozed").nullable().optional(),
|
|
98
98
|
productboardId: zod.z.string().describe("Productboard ID if linked").nullable().optional(),
|
|
99
|
-
showRecordCall: zod.z.boolean().describe("Whether to show record call option"),
|
|
99
|
+
showRecordCall: zod.z.boolean().describe("Whether to show record call option").nullable(),
|
|
100
100
|
slackChannelId: zod.z.string().describe("Slack channel ID if from Slack").nullable().optional(),
|
|
101
101
|
lastStateChangeAt: zod.z.string().describe("ISO 8601 timestamp of last state change").nullable().optional(),
|
|
102
102
|
linearAttachmentId: zod.z.string().describe("Linear attachment ID").nullable().optional(),
|