@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.
Files changed (317) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-changelog.cjs +9 -9
  4. package/dist/actions/create-changelog.cjs.map +1 -1
  5. package/dist/actions/create-changelog.d.cts +25 -3
  6. package/dist/actions/create-changelog.d.cts.map +1 -1
  7. package/dist/actions/create-changelog.d.mts +25 -3
  8. package/dist/actions/create-changelog.d.mts.map +1 -1
  9. package/dist/actions/create-changelog.mjs +9 -9
  10. package/dist/actions/create-changelog.mjs.map +1 -1
  11. package/dist/actions/create-company.cjs +7 -7
  12. package/dist/actions/create-company.cjs.map +1 -1
  13. package/dist/actions/create-company.d.cts +51 -3
  14. package/dist/actions/create-company.d.cts.map +1 -1
  15. package/dist/actions/create-company.d.mts +51 -3
  16. package/dist/actions/create-company.d.mts.map +1 -1
  17. package/dist/actions/create-company.mjs +7 -7
  18. package/dist/actions/create-company.mjs.map +1 -1
  19. package/dist/actions/create-contact.cjs +7 -7
  20. package/dist/actions/create-contact.cjs.map +1 -1
  21. package/dist/actions/create-contact.d.cts +30 -3
  22. package/dist/actions/create-contact.d.cts.map +1 -1
  23. package/dist/actions/create-contact.d.mts +30 -3
  24. package/dist/actions/create-contact.d.mts.map +1 -1
  25. package/dist/actions/create-contact.mjs +7 -7
  26. package/dist/actions/create-contact.mjs.map +1 -1
  27. package/dist/actions/create-feedback.cjs +1 -1
  28. package/dist/actions/create-feedback.cjs.map +1 -1
  29. package/dist/actions/create-feedback.d.cts +54 -3
  30. package/dist/actions/create-feedback.d.cts.map +1 -1
  31. package/dist/actions/create-feedback.d.mts +54 -3
  32. package/dist/actions/create-feedback.d.mts.map +1 -1
  33. package/dist/actions/create-feedback.mjs +1 -1
  34. package/dist/actions/create-feedback.mjs.map +1 -1
  35. package/dist/actions/create-insight.cjs +27 -27
  36. package/dist/actions/create-insight.cjs.map +1 -1
  37. package/dist/actions/create-insight.d.cts +184 -3
  38. package/dist/actions/create-insight.d.cts.map +1 -1
  39. package/dist/actions/create-insight.d.mts +184 -3
  40. package/dist/actions/create-insight.d.mts.map +1 -1
  41. package/dist/actions/create-insight.mjs +27 -27
  42. package/dist/actions/create-insight.mjs.map +1 -1
  43. package/dist/actions/create-thread.cjs +1 -1
  44. package/dist/actions/create-thread.cjs.map +1 -1
  45. package/dist/actions/create-thread.d.cts +26 -3
  46. package/dist/actions/create-thread.d.cts.map +1 -1
  47. package/dist/actions/create-thread.d.mts +26 -3
  48. package/dist/actions/create-thread.d.mts.map +1 -1
  49. package/dist/actions/create-thread.mjs +1 -1
  50. package/dist/actions/create-thread.mjs.map +1 -1
  51. package/dist/actions/create-upvote.cjs +4 -4
  52. package/dist/actions/create-upvote.cjs.map +1 -1
  53. package/dist/actions/create-upvote.d.cts +19 -3
  54. package/dist/actions/create-upvote.d.cts.map +1 -1
  55. package/dist/actions/create-upvote.d.mts +19 -3
  56. package/dist/actions/create-upvote.d.mts.map +1 -1
  57. package/dist/actions/create-upvote.mjs +4 -4
  58. package/dist/actions/create-upvote.mjs.map +1 -1
  59. package/dist/actions/delete-company.cjs +1 -1
  60. package/dist/actions/delete-company.cjs.map +1 -1
  61. package/dist/actions/delete-company.d.cts +9 -3
  62. package/dist/actions/delete-company.d.cts.map +1 -1
  63. package/dist/actions/delete-company.d.mts +9 -3
  64. package/dist/actions/delete-company.d.mts.map +1 -1
  65. package/dist/actions/delete-company.mjs +1 -1
  66. package/dist/actions/delete-company.mjs.map +1 -1
  67. package/dist/actions/delete-contact.cjs +1 -1
  68. package/dist/actions/delete-contact.cjs.map +1 -1
  69. package/dist/actions/delete-contact.d.cts +9 -3
  70. package/dist/actions/delete-contact.d.cts.map +1 -1
  71. package/dist/actions/delete-contact.d.mts +9 -3
  72. package/dist/actions/delete-contact.d.mts.map +1 -1
  73. package/dist/actions/delete-contact.mjs +1 -1
  74. package/dist/actions/delete-contact.mjs.map +1 -1
  75. package/dist/actions/delete-upvote.cjs.map +1 -1
  76. package/dist/actions/delete-upvote.d.cts +16 -3
  77. package/dist/actions/delete-upvote.d.cts.map +1 -1
  78. package/dist/actions/delete-upvote.d.mts +16 -3
  79. package/dist/actions/delete-upvote.d.mts.map +1 -1
  80. package/dist/actions/delete-upvote.mjs.map +1 -1
  81. package/dist/actions/enable-widget.cjs +2 -2
  82. package/dist/actions/enable-widget.cjs.map +1 -1
  83. package/dist/actions/enable-widget.d.cts +6 -3
  84. package/dist/actions/enable-widget.d.cts.map +1 -1
  85. package/dist/actions/enable-widget.d.mts +6 -3
  86. package/dist/actions/enable-widget.d.mts.map +1 -1
  87. package/dist/actions/enable-widget.mjs +2 -2
  88. package/dist/actions/enable-widget.mjs.map +1 -1
  89. package/dist/actions/get-changelog.cjs +9 -9
  90. package/dist/actions/get-changelog.cjs.map +1 -1
  91. package/dist/actions/get-changelog.d.cts +25 -3
  92. package/dist/actions/get-changelog.d.cts.map +1 -1
  93. package/dist/actions/get-changelog.d.mts +25 -3
  94. package/dist/actions/get-changelog.d.mts.map +1 -1
  95. package/dist/actions/get-changelog.mjs +9 -9
  96. package/dist/actions/get-changelog.mjs.map +1 -1
  97. package/dist/actions/get-company.cjs +7 -7
  98. package/dist/actions/get-company.cjs.map +1 -1
  99. package/dist/actions/get-company.d.cts +35 -3
  100. package/dist/actions/get-company.d.cts.map +1 -1
  101. package/dist/actions/get-company.d.mts +35 -3
  102. package/dist/actions/get-company.d.mts.map +1 -1
  103. package/dist/actions/get-company.mjs +7 -7
  104. package/dist/actions/get-company.mjs.map +1 -1
  105. package/dist/actions/get-contact.cjs +7 -7
  106. package/dist/actions/get-contact.cjs.map +1 -1
  107. package/dist/actions/get-contact.d.cts +22 -3
  108. package/dist/actions/get-contact.d.cts.map +1 -1
  109. package/dist/actions/get-contact.d.mts +22 -3
  110. package/dist/actions/get-contact.d.mts.map +1 -1
  111. package/dist/actions/get-contact.mjs +7 -7
  112. package/dist/actions/get-contact.mjs.map +1 -1
  113. package/dist/actions/get-help-center-article.cjs +9 -9
  114. package/dist/actions/get-help-center-article.cjs.map +1 -1
  115. package/dist/actions/get-help-center-article.d.cts +24 -3
  116. package/dist/actions/get-help-center-article.d.cts.map +1 -1
  117. package/dist/actions/get-help-center-article.d.mts +24 -3
  118. package/dist/actions/get-help-center-article.d.mts.map +1 -1
  119. package/dist/actions/get-help-center-article.mjs +9 -9
  120. package/dist/actions/get-help-center-article.mjs.map +1 -1
  121. package/dist/actions/get-insight.cjs +38 -38
  122. package/dist/actions/get-insight.cjs.map +1 -1
  123. package/dist/actions/get-insight.d.cts +160 -3
  124. package/dist/actions/get-insight.d.cts.map +1 -1
  125. package/dist/actions/get-insight.d.mts +160 -3
  126. package/dist/actions/get-insight.d.mts.map +1 -1
  127. package/dist/actions/get-insight.mjs +38 -38
  128. package/dist/actions/get-insight.mjs.map +1 -1
  129. package/dist/actions/get-issue.cjs +16 -16
  130. package/dist/actions/get-issue.cjs.map +1 -1
  131. package/dist/actions/get-issue.d.cts +34 -3
  132. package/dist/actions/get-issue.d.cts.map +1 -1
  133. package/dist/actions/get-issue.d.mts +34 -3
  134. package/dist/actions/get-issue.d.mts.map +1 -1
  135. package/dist/actions/get-issue.mjs +16 -16
  136. package/dist/actions/get-issue.mjs.map +1 -1
  137. package/dist/actions/get-linear-options.cjs +5 -5
  138. package/dist/actions/get-linear-options.cjs.map +1 -1
  139. package/dist/actions/get-linear-options.d.cts +13 -3
  140. package/dist/actions/get-linear-options.d.cts.map +1 -1
  141. package/dist/actions/get-linear-options.d.mts +13 -3
  142. package/dist/actions/get-linear-options.d.mts.map +1 -1
  143. package/dist/actions/get-linear-options.mjs +5 -5
  144. package/dist/actions/get-linear-options.mjs.map +1 -1
  145. package/dist/actions/get-project.cjs +6 -6
  146. package/dist/actions/get-project.cjs.map +1 -1
  147. package/dist/actions/get-project.d.cts +25 -3
  148. package/dist/actions/get-project.d.cts.map +1 -1
  149. package/dist/actions/get-project.d.mts +25 -3
  150. package/dist/actions/get-project.d.mts.map +1 -1
  151. package/dist/actions/get-project.mjs +6 -6
  152. package/dist/actions/get-project.mjs.map +1 -1
  153. package/dist/actions/get-workspace.cjs +23 -23
  154. package/dist/actions/get-workspace.cjs.map +1 -1
  155. package/dist/actions/get-workspace.d.cts +42 -3
  156. package/dist/actions/get-workspace.d.cts.map +1 -1
  157. package/dist/actions/get-workspace.d.mts +42 -3
  158. package/dist/actions/get-workspace.d.mts.map +1 -1
  159. package/dist/actions/get-workspace.mjs +23 -23
  160. package/dist/actions/get-workspace.mjs.map +1 -1
  161. package/dist/actions/invite-user.cjs.map +1 -1
  162. package/dist/actions/invite-user.d.cts +15 -3
  163. package/dist/actions/invite-user.d.cts.map +1 -1
  164. package/dist/actions/invite-user.d.mts +15 -3
  165. package/dist/actions/invite-user.d.mts.map +1 -1
  166. package/dist/actions/invite-user.mjs.map +1 -1
  167. package/dist/actions/list-changelogs.cjs +9 -9
  168. package/dist/actions/list-changelogs.cjs.map +1 -1
  169. package/dist/actions/list-changelogs.d.cts +25 -3
  170. package/dist/actions/list-changelogs.d.cts.map +1 -1
  171. package/dist/actions/list-changelogs.d.mts +25 -3
  172. package/dist/actions/list-changelogs.d.mts.map +1 -1
  173. package/dist/actions/list-changelogs.mjs +9 -9
  174. package/dist/actions/list-changelogs.mjs.map +1 -1
  175. package/dist/actions/list-companies.cjs +11 -11
  176. package/dist/actions/list-companies.cjs.map +1 -1
  177. package/dist/actions/list-companies.d.cts +50 -3
  178. package/dist/actions/list-companies.d.cts.map +1 -1
  179. package/dist/actions/list-companies.d.mts +50 -3
  180. package/dist/actions/list-companies.d.mts.map +1 -1
  181. package/dist/actions/list-companies.mjs +11 -11
  182. package/dist/actions/list-companies.mjs.map +1 -1
  183. package/dist/actions/list-contacts.cjs +13 -13
  184. package/dist/actions/list-contacts.cjs.map +1 -1
  185. package/dist/actions/list-contacts.d.cts +33 -3
  186. package/dist/actions/list-contacts.d.cts.map +1 -1
  187. package/dist/actions/list-contacts.d.mts +33 -3
  188. package/dist/actions/list-contacts.d.mts.map +1 -1
  189. package/dist/actions/list-contacts.mjs +13 -13
  190. package/dist/actions/list-contacts.mjs.map +1 -1
  191. package/dist/actions/list-help-center-articles.cjs +9 -9
  192. package/dist/actions/list-help-center-articles.cjs.map +1 -1
  193. package/dist/actions/list-help-center-articles.d.cts +24 -3
  194. package/dist/actions/list-help-center-articles.d.cts.map +1 -1
  195. package/dist/actions/list-help-center-articles.d.mts +24 -3
  196. package/dist/actions/list-help-center-articles.d.mts.map +1 -1
  197. package/dist/actions/list-help-center-articles.mjs +9 -9
  198. package/dist/actions/list-help-center-articles.mjs.map +1 -1
  199. package/dist/actions/list-insights.cjs +10 -10
  200. package/dist/actions/list-insights.cjs.map +1 -1
  201. package/dist/actions/list-insights.d.cts +81 -3
  202. package/dist/actions/list-insights.d.cts.map +1 -1
  203. package/dist/actions/list-insights.d.mts +81 -3
  204. package/dist/actions/list-insights.d.mts.map +1 -1
  205. package/dist/actions/list-insights.mjs +10 -10
  206. package/dist/actions/list-insights.mjs.map +1 -1
  207. package/dist/actions/list-issues.cjs +16 -16
  208. package/dist/actions/list-issues.cjs.map +1 -1
  209. package/dist/actions/list-issues.d.cts +34 -3
  210. package/dist/actions/list-issues.d.cts.map +1 -1
  211. package/dist/actions/list-issues.d.mts +34 -3
  212. package/dist/actions/list-issues.d.mts.map +1 -1
  213. package/dist/actions/list-issues.mjs +16 -16
  214. package/dist/actions/list-issues.mjs.map +1 -1
  215. package/dist/actions/list-members.cjs +9 -9
  216. package/dist/actions/list-members.cjs.map +1 -1
  217. package/dist/actions/list-members.d.cts +18 -3
  218. package/dist/actions/list-members.d.cts.map +1 -1
  219. package/dist/actions/list-members.d.mts +18 -3
  220. package/dist/actions/list-members.d.mts.map +1 -1
  221. package/dist/actions/list-members.mjs +9 -9
  222. package/dist/actions/list-members.mjs.map +1 -1
  223. package/dist/actions/list-projects.cjs +6 -6
  224. package/dist/actions/list-projects.cjs.map +1 -1
  225. package/dist/actions/list-projects.d.cts +25 -3
  226. package/dist/actions/list-projects.d.cts.map +1 -1
  227. package/dist/actions/list-projects.d.mts +25 -3
  228. package/dist/actions/list-projects.d.mts.map +1 -1
  229. package/dist/actions/list-projects.mjs +6 -6
  230. package/dist/actions/list-projects.mjs.map +1 -1
  231. package/dist/actions/update-company.cjs +7 -7
  232. package/dist/actions/update-company.cjs.map +1 -1
  233. package/dist/actions/update-company.d.cts +53 -3
  234. package/dist/actions/update-company.d.cts.map +1 -1
  235. package/dist/actions/update-company.d.mts +53 -3
  236. package/dist/actions/update-company.d.mts.map +1 -1
  237. package/dist/actions/update-company.mjs +7 -7
  238. package/dist/actions/update-company.mjs.map +1 -1
  239. package/dist/actions/update-contact.cjs +7 -7
  240. package/dist/actions/update-contact.cjs.map +1 -1
  241. package/dist/actions/update-contact.d.cts +32 -3
  242. package/dist/actions/update-contact.d.cts.map +1 -1
  243. package/dist/actions/update-contact.d.mts +32 -3
  244. package/dist/actions/update-contact.d.mts.map +1 -1
  245. package/dist/actions/update-contact.mjs +7 -7
  246. package/dist/actions/update-contact.mjs.map +1 -1
  247. package/dist/actions/update-insight.cjs +12 -12
  248. package/dist/actions/update-insight.cjs.map +1 -1
  249. package/dist/actions/update-insight.d.cts +113 -3
  250. package/dist/actions/update-insight.d.cts.map +1 -1
  251. package/dist/actions/update-insight.d.mts +113 -3
  252. package/dist/actions/update-insight.d.mts.map +1 -1
  253. package/dist/actions/update-insight.mjs +12 -12
  254. package/dist/actions/update-insight.mjs.map +1 -1
  255. package/dist/actions/widget-close.cjs +1 -1
  256. package/dist/actions/widget-close.cjs.map +1 -1
  257. package/dist/actions/widget-close.d.cts +5 -3
  258. package/dist/actions/widget-close.d.cts.map +1 -1
  259. package/dist/actions/widget-close.d.mts +5 -3
  260. package/dist/actions/widget-close.d.mts.map +1 -1
  261. package/dist/actions/widget-close.mjs +1 -1
  262. package/dist/actions/widget-close.mjs.map +1 -1
  263. package/dist/actions/widget-disable.cjs +2 -2
  264. package/dist/actions/widget-disable.cjs.map +1 -1
  265. package/dist/actions/widget-disable.d.cts +6 -3
  266. package/dist/actions/widget-disable.d.cts.map +1 -1
  267. package/dist/actions/widget-disable.d.mts +6 -3
  268. package/dist/actions/widget-disable.d.mts.map +1 -1
  269. package/dist/actions/widget-disable.mjs +2 -2
  270. package/dist/actions/widget-disable.mjs.map +1 -1
  271. package/dist/actions/widget-off-event.cjs +1 -1
  272. package/dist/actions/widget-off-event.cjs.map +1 -1
  273. package/dist/actions/widget-off-event.d.cts +18 -3
  274. package/dist/actions/widget-off-event.d.cts.map +1 -1
  275. package/dist/actions/widget-off-event.d.mts +18 -3
  276. package/dist/actions/widget-off-event.d.mts.map +1 -1
  277. package/dist/actions/widget-off-event.mjs +1 -1
  278. package/dist/actions/widget-off-event.mjs.map +1 -1
  279. package/dist/actions/widget-on-event.cjs +1 -1
  280. package/dist/actions/widget-on-event.cjs.map +1 -1
  281. package/dist/actions/widget-on-event.d.cts +16 -3
  282. package/dist/actions/widget-on-event.d.cts.map +1 -1
  283. package/dist/actions/widget-on-event.d.mts +16 -3
  284. package/dist/actions/widget-on-event.d.mts.map +1 -1
  285. package/dist/actions/widget-on-event.mjs +1 -1
  286. package/dist/actions/widget-on-event.mjs.map +1 -1
  287. package/dist/actions/widget-open-docs.cjs +1 -1
  288. package/dist/actions/widget-open-docs.cjs.map +1 -1
  289. package/dist/actions/widget-open-docs.d.cts +11 -3
  290. package/dist/actions/widget-open-docs.d.cts.map +1 -1
  291. package/dist/actions/widget-open-docs.d.mts +11 -3
  292. package/dist/actions/widget-open-docs.d.mts.map +1 -1
  293. package/dist/actions/widget-open-docs.mjs +1 -1
  294. package/dist/actions/widget-open-docs.mjs.map +1 -1
  295. package/dist/actions/widget-open.cjs +1 -1
  296. package/dist/actions/widget-open.cjs.map +1 -1
  297. package/dist/actions/widget-open.d.cts +14 -3
  298. package/dist/actions/widget-open.d.cts.map +1 -1
  299. package/dist/actions/widget-open.d.mts +14 -3
  300. package/dist/actions/widget-open.d.mts.map +1 -1
  301. package/dist/actions/widget-open.mjs +1 -1
  302. package/dist/actions/widget-open.mjs.map +1 -1
  303. package/dist/actions/widget-toggle.cjs +1 -1
  304. package/dist/actions/widget-toggle.cjs.map +1 -1
  305. package/dist/actions/widget-toggle.d.cts +5 -3
  306. package/dist/actions/widget-toggle.d.cts.map +1 -1
  307. package/dist/actions/widget-toggle.d.mts +5 -3
  308. package/dist/actions/widget-toggle.d.mts.map +1 -1
  309. package/dist/actions/widget-toggle.mjs +1 -1
  310. package/dist/actions/widget-toggle.mjs.map +1 -1
  311. package/dist/catalog.cjs +7 -1
  312. package/dist/catalog.cjs.map +1 -1
  313. package/dist/catalog.d.cts +8 -0
  314. package/dist/catalog.d.mts +8 -0
  315. package/dist/catalog.mjs +7 -1
  316. package/dist/catalog.mjs.map +1 -1
  317. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["productlane","executeProductlaneTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { productlane } from \"./app\";\nimport { executeProductlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return productlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProductlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["productlane","executeProductlaneTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { productlane } from \"./app\";\nimport { executeProductlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return productlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeProductlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { productlane } from \"./app\";\nimport { executeProductlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return productlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProductlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { productlane } from \"./app\";\nimport { executeProductlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return productlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeProductlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
@@ -8,17 +8,17 @@ const ProductlaneCreateChangelogInput = zod.z.object({
8
8
  published: zod.z.boolean().default(false).describe("Whether the changelog entry should be published immediately. Defaults to false (draft mode).").optional()
9
9
  }).describe("Request schema for creating a new changelog entry.");
10
10
  const ProductlaneCreateChangelogOutput = zod.z.object({
11
- id: zod.z.string().describe("Unique identifier for the changelog entry."),
11
+ id: zod.z.string().describe("Unique identifier for the changelog entry.").nullable(),
12
12
  date: zod.z.string().describe("Publication date of the changelog entry (ISO 8601 format). Null if not set.").nullable().optional(),
13
- title: zod.z.string().describe("Title of the changelog entry."),
14
- version: zod.z.number().describe("Version number of the changelog entry."),
15
- archived: zod.z.boolean().describe("Whether the changelog entry is archived."),
16
- createdAt: zod.z.string().describe("Timestamp when the changelog entry was created (ISO 8601 format)."),
17
- isDeleted: zod.z.boolean().describe("Whether the changelog entry is deleted."),
13
+ title: zod.z.string().describe("Title of the changelog entry.").nullable(),
14
+ version: zod.z.number().describe("Version number of the changelog entry.").nullable(),
15
+ archived: zod.z.boolean().describe("Whether the changelog entry is archived.").nullable(),
16
+ createdAt: zod.z.string().describe("Timestamp when the changelog entry was created (ISO 8601 format).").nullable(),
17
+ isDeleted: zod.z.boolean().describe("Whether the changelog entry is deleted.").nullable(),
18
18
  projectId: zod.z.string().describe("ID of the project associated with this changelog entry. Null if not associated with a project.").nullable().optional(),
19
- published: zod.z.boolean().describe("Whether the changelog entry is published or in draft mode."),
20
- updatedAt: zod.z.string().describe("Timestamp when the changelog entry was last updated (ISO 8601 format)."),
21
- workspaceId: zod.z.string().describe("ID of the workspace this changelog entry belongs to.")
19
+ published: zod.z.boolean().describe("Whether the changelog entry is published or in draft mode.").nullable(),
20
+ updatedAt: zod.z.string().describe("Timestamp when the changelog entry was last updated (ISO 8601 format).").nullable(),
21
+ workspaceId: zod.z.string().describe("ID of the workspace this changelog entry belongs to.").nullable()
22
22
  }).describe("Response schema for creating a changelog entry.");
23
23
  const productlaneCreateChangelog = require_action.action("PRODUCTLANE_CREATE_CHANGELOG", {
24
24
  slug: "productlane-create-changelog",
@@ -1 +1 @@
1
- {"version":3,"file":"create-changelog.cjs","names":["z","action"],"sources":["../../src/actions/create-changelog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateChangelogInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.\").optional(),\n title: z.string().describe(\"Title of the changelog entry. Must be at least 1 character long.\"),\n content: z.string().describe(\"Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features.\"),\n published: z.boolean().default(false).describe(\"Whether the changelog entry should be published immediately. Defaults to false (draft mode).\").optional(),\n}).describe(\"Request schema for creating a new changelog entry.\");\nexport const ProductlaneCreateChangelogOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the changelog entry.\"),\n date: z.string().describe(\"Publication date of the changelog entry (ISO 8601 format). Null if not set.\").nullable().optional(),\n title: z.string().describe(\"Title of the changelog entry.\"),\n version: z.number().describe(\"Version number of the changelog entry.\"),\n archived: z.boolean().describe(\"Whether the changelog entry is archived.\"),\n createdAt: z.string().describe(\"Timestamp when the changelog entry was created (ISO 8601 format).\"),\n isDeleted: z.boolean().describe(\"Whether the changelog entry is deleted.\"),\n projectId: z.string().describe(\"ID of the project associated with this changelog entry. Null if not associated with a project.\").nullable().optional(),\n published: z.boolean().describe(\"Whether the changelog entry is published or in draft mode.\"),\n updatedAt: z.string().describe(\"Timestamp when the changelog entry was last updated (ISO 8601 format).\"),\n workspaceId: z.string().describe(\"ID of the workspace this changelog entry belongs to.\"),\n}).describe(\"Response schema for creating a changelog entry.\");\n\nexport const productlaneCreateChangelog = action(\"PRODUCTLANE_CREATE_CHANGELOG\", {\n slug: \"productlane-create-changelog\",\n name: \"Create Changelog Entry\",\n description: \"Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.\",\n input: ProductlaneCreateChangelogInput,\n output: ProductlaneCreateChangelogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACtL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CACzK,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAClG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-changelog.cjs","names":["z","action"],"sources":["../../src/actions/create-changelog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateChangelogInput = z.object({\n date: z.string().describe(\"Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.\").optional(),\n title: z.string().describe(\"Title of the changelog entry. Must be at least 1 character long.\"),\n content: z.string().describe(\"Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features.\"),\n published: z.boolean().default(false).describe(\"Whether the changelog entry should be published immediately. Defaults to false (draft mode).\").optional(),\n}).describe(\"Request schema for creating a new changelog entry.\");\nexport const ProductlaneCreateChangelogOutput = z.object({\n id: z.string().describe(\"Unique identifier for the changelog entry.\").nullable(),\n date: z.string().describe(\"Publication date of the changelog entry (ISO 8601 format). Null if not set.\").nullable().optional(),\n title: z.string().describe(\"Title of the changelog entry.\").nullable(),\n version: z.number().describe(\"Version number of the changelog entry.\").nullable(),\n archived: z.boolean().describe(\"Whether the changelog entry is archived.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the changelog entry was created (ISO 8601 format).\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the changelog entry is deleted.\").nullable(),\n projectId: z.string().describe(\"ID of the project associated with this changelog entry. Null if not associated with a project.\").nullable().optional(),\n published: z.boolean().describe(\"Whether the changelog entry is published or in draft mode.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the changelog entry was last updated (ISO 8601 format).\").nullable(),\n workspaceId: z.string().describe(\"ID of the workspace this changelog entry belongs to.\").nullable(),\n}).describe(\"Response schema for creating a changelog entry.\");\n\nexport const productlaneCreateChangelog = action(\"PRODUCTLANE_CREATE_CHANGELOG\", {\n slug: \"productlane-create-changelog\",\n name: \"Create Changelog Entry\",\n description: \"Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.\",\n input: ProductlaneCreateChangelogInput,\n output: ProductlaneCreateChangelogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACtL,OAAOA,IAAAA,EAAE,OAAO,CAAC,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AgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-changelog.d.ts
4
- declare const ProductlaneCreateChangelogInput: z.ZodTypeAny;
5
- declare const ProductlaneCreateChangelogOutput: z.ZodTypeAny;
6
- declare const productlaneCreateChangelog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProductlaneCreateChangelogInput: z.ZodObject<{
5
+ date: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodString;
7
+ content: z.ZodString;
8
+ published: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ }, z.core.$strip>;
10
+ declare const ProductlaneCreateChangelogOutput: z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ title: z.ZodNullable<z.ZodString>;
14
+ version: z.ZodNullable<z.ZodNumber>;
15
+ archived: z.ZodNullable<z.ZodBoolean>;
16
+ createdAt: z.ZodNullable<z.ZodString>;
17
+ isDeleted: z.ZodNullable<z.ZodBoolean>;
18
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ published: z.ZodNullable<z.ZodBoolean>;
20
+ updatedAt: z.ZodNullable<z.ZodString>;
21
+ workspaceId: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ declare const productlaneCreateChangelog: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ title: string;
25
+ content: string;
26
+ date?: string | undefined;
27
+ published?: boolean | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { productlaneCreateChangelog };
9
31
  //# sourceMappingURL=create-changelog.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-changelog.d.cts","names":[],"sources":["../../src/actions/create-changelog.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKiB;AAAA,cACpD,gCAAA,EAAkC,CAAA,CAAE,UAYa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-changelog.d.cts","names":[],"sources":["../../src/actions/create-changelog.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAchC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-changelog.d.ts
4
- declare const ProductlaneCreateChangelogInput: z.ZodTypeAny;
5
- declare const ProductlaneCreateChangelogOutput: z.ZodTypeAny;
6
- declare const productlaneCreateChangelog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProductlaneCreateChangelogInput: z.ZodObject<{
5
+ date: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodString;
7
+ content: z.ZodString;
8
+ published: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ }, z.core.$strip>;
10
+ declare const ProductlaneCreateChangelogOutput: z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ title: z.ZodNullable<z.ZodString>;
14
+ version: z.ZodNullable<z.ZodNumber>;
15
+ archived: z.ZodNullable<z.ZodBoolean>;
16
+ createdAt: z.ZodNullable<z.ZodString>;
17
+ isDeleted: z.ZodNullable<z.ZodBoolean>;
18
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ published: z.ZodNullable<z.ZodBoolean>;
20
+ updatedAt: z.ZodNullable<z.ZodString>;
21
+ workspaceId: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ declare const productlaneCreateChangelog: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ title: string;
25
+ content: string;
26
+ date?: string | undefined;
27
+ published?: boolean | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { productlaneCreateChangelog };
9
31
  //# sourceMappingURL=create-changelog.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-changelog.d.mts","names":[],"sources":["../../src/actions/create-changelog.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKiB;AAAA,cACpD,gCAAA,EAAkC,CAAA,CAAE,UAYa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-changelog.d.mts","names":[],"sources":["../../src/actions/create-changelog.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAchC,0BAAA,gCAA0B,wBAAA"}
@@ -11,17 +11,17 @@ const productlaneCreateChangelog = action("PRODUCTLANE_CREATE_CHANGELOG", {
11
11
  published: z.boolean().default(false).describe("Whether the changelog entry should be published immediately. Defaults to false (draft mode).").optional()
12
12
  }).describe("Request schema for creating a new changelog entry."),
13
13
  output: z.object({
14
- id: z.string().describe("Unique identifier for the changelog entry."),
14
+ id: z.string().describe("Unique identifier for the changelog entry.").nullable(),
15
15
  date: z.string().describe("Publication date of the changelog entry (ISO 8601 format). Null if not set.").nullable().optional(),
16
- title: z.string().describe("Title of the changelog entry."),
17
- version: z.number().describe("Version number of the changelog entry."),
18
- archived: z.boolean().describe("Whether the changelog entry is archived."),
19
- createdAt: z.string().describe("Timestamp when the changelog entry was created (ISO 8601 format)."),
20
- isDeleted: z.boolean().describe("Whether the changelog entry is deleted."),
16
+ title: z.string().describe("Title of the changelog entry.").nullable(),
17
+ version: z.number().describe("Version number of the changelog entry.").nullable(),
18
+ archived: z.boolean().describe("Whether the changelog entry is archived.").nullable(),
19
+ createdAt: z.string().describe("Timestamp when the changelog entry was created (ISO 8601 format).").nullable(),
20
+ isDeleted: z.boolean().describe("Whether the changelog entry is deleted.").nullable(),
21
21
  projectId: z.string().describe("ID of the project associated with this changelog entry. Null if not associated with a project.").nullable().optional(),
22
- published: z.boolean().describe("Whether the changelog entry is published or in draft mode."),
23
- updatedAt: z.string().describe("Timestamp when the changelog entry was last updated (ISO 8601 format)."),
24
- workspaceId: z.string().describe("ID of the workspace this changelog entry belongs to.")
22
+ published: z.boolean().describe("Whether the changelog entry is published or in draft mode.").nullable(),
23
+ updatedAt: z.string().describe("Timestamp when the changelog entry was last updated (ISO 8601 format).").nullable(),
24
+ workspaceId: z.string().describe("ID of the workspace this changelog entry belongs to.").nullable()
25
25
  }).describe("Response schema for creating a changelog entry.")
26
26
  });
27
27
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-changelog.mjs","names":[],"sources":["../../src/actions/create-changelog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateChangelogInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.\").optional(),\n title: z.string().describe(\"Title of the changelog entry. Must be at least 1 character long.\"),\n content: z.string().describe(\"Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features.\"),\n published: z.boolean().default(false).describe(\"Whether the changelog entry should be published immediately. Defaults to false (draft mode).\").optional(),\n}).describe(\"Request schema for creating a new changelog entry.\");\nexport const ProductlaneCreateChangelogOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the changelog entry.\"),\n date: z.string().describe(\"Publication date of the changelog entry (ISO 8601 format). Null if not set.\").nullable().optional(),\n title: z.string().describe(\"Title of the changelog entry.\"),\n version: z.number().describe(\"Version number of the changelog entry.\"),\n archived: z.boolean().describe(\"Whether the changelog entry is archived.\"),\n createdAt: z.string().describe(\"Timestamp when the changelog entry was created (ISO 8601 format).\"),\n isDeleted: z.boolean().describe(\"Whether the changelog entry is deleted.\"),\n projectId: z.string().describe(\"ID of the project associated with this changelog entry. Null if not associated with a project.\").nullable().optional(),\n published: z.boolean().describe(\"Whether the changelog entry is published or in draft mode.\"),\n updatedAt: z.string().describe(\"Timestamp when the changelog entry was last updated (ISO 8601 format).\"),\n workspaceId: z.string().describe(\"ID of the workspace this changelog entry belongs to.\"),\n}).describe(\"Response schema for creating a changelog entry.\");\n\nexport const productlaneCreateChangelog = action(\"PRODUCTLANE_CREATE_CHANGELOG\", {\n slug: \"productlane-create-changelog\",\n name: \"Create Changelog Entry\",\n description: \"Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.\",\n input: ProductlaneCreateChangelogInput,\n output: ProductlaneCreateChangelogOutput,\n});\n"],"mappings":";;AAwBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACtL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;EACzK,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,oDAmBH;CACP,QAnB4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAClG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACzF,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-changelog.mjs","names":[],"sources":["../../src/actions/create-changelog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateChangelogInput = z.object({\n date: z.string().describe(\"Publication date for the changelog entry in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, defaults to the current timestamp.\").optional(),\n title: z.string().describe(\"Title of the changelog entry. Must be at least 1 character long.\"),\n content: z.string().describe(\"Content of the changelog entry. Supports markdown formatting including headings, bulleted lists, code blocks, and other markdown features.\"),\n published: z.boolean().default(false).describe(\"Whether the changelog entry should be published immediately. Defaults to false (draft mode).\").optional(),\n}).describe(\"Request schema for creating a new changelog entry.\");\nexport const ProductlaneCreateChangelogOutput = z.object({\n id: z.string().describe(\"Unique identifier for the changelog entry.\").nullable(),\n date: z.string().describe(\"Publication date of the changelog entry (ISO 8601 format). Null if not set.\").nullable().optional(),\n title: z.string().describe(\"Title of the changelog entry.\").nullable(),\n version: z.number().describe(\"Version number of the changelog entry.\").nullable(),\n archived: z.boolean().describe(\"Whether the changelog entry is archived.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the changelog entry was created (ISO 8601 format).\").nullable(),\n isDeleted: z.boolean().describe(\"Whether the changelog entry is deleted.\").nullable(),\n projectId: z.string().describe(\"ID of the project associated with this changelog entry. Null if not associated with a project.\").nullable().optional(),\n published: z.boolean().describe(\"Whether the changelog entry is published or in draft mode.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the changelog entry was last updated (ISO 8601 format).\").nullable(),\n workspaceId: z.string().describe(\"ID of the workspace this changelog entry belongs to.\").nullable(),\n}).describe(\"Response schema for creating a changelog entry.\");\n\nexport const productlaneCreateChangelog = action(\"PRODUCTLANE_CREATE_CHANGELOG\", {\n slug: \"productlane-create-changelog\",\n name: \"Create Changelog Entry\",\n description: \"Tool to create a new changelog entry in Productlane. Use when you need to document product updates, new features, or bug fixes. The content supports markdown format including headings, bulleted lists, and other markdown features.\",\n input: ProductlaneCreateChangelogInput,\n output: ProductlaneCreateChangelogOutput,\n});\n"],"mappings":";;AAwBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACtL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;EACzK,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,oDAmBH;CACP,QAnB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -15,8 +15,8 @@ const ProductlaneCreateCompanyInput = zod.z.object({
15
15
  statusColor: zod.z.string().describe("Status color for Linear customer integration (hex color code or color name). Can be null.").optional()
16
16
  }).describe("Request parameters for creating a new company in Productlane.");
17
17
  const ProductlaneCreateCompanyOutput = zod.z.object({
18
- id: zod.z.string().describe("Unique company identifier (UUID format)."),
19
- name: zod.z.string().describe("Company name."),
18
+ id: zod.z.string().describe("Unique company identifier (UUID format).").nullable(),
19
+ name: zod.z.string().describe("Company name.").nullable(),
20
20
  size: zod.z.number().int().describe("Company size (number of employees). Can be null.").nullable().optional(),
21
21
  slugId: zod.z.string().describe("URL-friendly slug identifier. Can be null.").nullable().optional(),
22
22
  tierId: zod.z.string().describe("Tier ID for Linear customer. Can be null.").nullable().optional(),
@@ -24,18 +24,18 @@ const ProductlaneCreateCompanyOutput = zod.z.object({
24
24
  domains: zod.z.array(zod.z.string()).describe("List of company domains."),
25
25
  logoUrl: zod.z.string().describe("URL to the company logo. Can be null.").nullable().optional(),
26
26
  revenue: zod.z.number().int().describe("Company revenue. Can be null.").nullable().optional(),
27
- version: zod.z.number().int().describe("Version number for optimistic locking."),
27
+ version: zod.z.number().int().describe("Version number for optimistic locking.").nullable(),
28
28
  statusId: zod.z.string().describe("Status ID for Linear customer. Can be null.").nullable().optional(),
29
29
  tierName: zod.z.string().describe("Tier name for Linear customer. Can be null.").nullable().optional(),
30
- createdAt: zod.z.string().describe("ISO 8601 timestamp when the company was created."),
30
+ createdAt: zod.z.string().describe("ISO 8601 timestamp when the company was created.").nullable(),
31
31
  hubspotId: zod.z.string().describe("HubSpot integration ID. Can be null.").nullable().optional(),
32
- isDeleted: zod.z.boolean().describe("Whether the company is marked as deleted. Always false for new companies."),
33
- updatedAt: zod.z.string().describe("ISO 8601 timestamp when the company was last updated."),
32
+ isDeleted: zod.z.boolean().describe("Whether the company is marked as deleted. Always false for new companies.").nullable(),
33
+ updatedAt: zod.z.string().describe("ISO 8601 timestamp when the company was last updated.").nullable(),
34
34
  intercomId: zod.z.string().describe("Intercom integration ID. Can be null.").nullable().optional(),
35
35
  statusName: zod.z.string().describe("Status name for Linear customer. Can be null.").nullable().optional(),
36
36
  externalIds: zod.z.array(zod.z.string()).describe("List of external identifiers from other systems."),
37
37
  statusColor: zod.z.string().describe("Status color for Linear customer. Can be null.").nullable().optional(),
38
- workspaceId: zod.z.string().describe("Workspace ID this company belongs to (UUID format)."),
38
+ workspaceId: zod.z.string().describe("Workspace ID this company belongs to (UUID format).").nullable(),
39
39
  productboardId: zod.z.string().describe("Productboard integration ID. Can be null.").nullable().optional(),
40
40
  linearCustomerId: zod.z.string().describe("Linear customer ID if integrated. Can be null.").nullable().optional()
41
41
  }).describe("Response containing the newly created company details.");
@@ -1 +1 @@
1
- {"version":3,"file":"create-company.cjs","names":["z","action"],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateCompanyInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Company name. This is the only required field.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer integration. Can be null.\").optional(),\n autoAdd: z.boolean().describe(\"Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.\").optional(),\n domains: z.array(z.string()).describe(\"List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\\\.(?:(?:co|or|gv|ac|com)\\\\.)?[a-z]{2,7}$\").optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").optional(),\n statusId: z.string().describe(\"Status ID for Linear customer integration. Can be null.\").optional(),\n tierName: z.string().describe(\"Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.\").optional(),\n statusName: z.string().describe(\"Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.\").optional(),\n externalIds: z.array(z.string()).describe(\"External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.\").optional(),\n statusColor: z.string().describe(\"Status color for Linear customer integration (hex color code or color name). Can be null.\").optional(),\n}).describe(\"Request parameters for creating a new company in Productlane.\");\nexport const ProductlaneCreateCompanyOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique company identifier (UUID format).\"),\n name: z.string().describe(\"Company name.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier. Can be null.\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer. Can be null.\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether automatic contact linking is enabled. Can be null.\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of company domains.\"),\n logoUrl: z.string().describe(\"URL to the company logo. Can be null.\").nullable().optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").nullable().optional(),\n version: z.number().int().describe(\"Version number for optimistic locking.\"),\n statusId: z.string().describe(\"Status ID for Linear customer. Can be null.\").nullable().optional(),\n tierName: z.string().describe(\"Tier name for Linear customer. Can be null.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created.\"),\n hubspotId: z.string().describe(\"HubSpot integration ID. Can be null.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is marked as deleted. Always false for new companies.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated.\"),\n intercomId: z.string().describe(\"Intercom integration ID. Can be null.\").nullable().optional(),\n statusName: z.string().describe(\"Status name for Linear customer. Can be null.\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers from other systems.\"),\n statusColor: z.string().describe(\"Status color for Linear customer. Can be null.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this company belongs to (UUID format).\"),\n productboardId: z.string().describe(\"Productboard integration ID. Can be null.\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated. Can be null.\").nullable().optional(),\n}).describe(\"Response containing the newly created company details.\");\n\nexport const productlaneCreateCompany = action(\"PRODUCTLANE_CREATE_COMPANY\", {\n slug: \"productlane-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.\",\n input: ProductlaneCreateCompanyInput,\n output: ProductlaneCreateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC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A+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-company.cjs","names":["z","action"],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateCompanyInput = z.object({\n name: z.string().describe(\"Company name. This is the only required field.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer integration. Can be null.\").optional(),\n autoAdd: z.boolean().describe(\"Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.\").optional(),\n domains: z.array(z.string()).describe(\"List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\\\.(?:(?:co|or|gv|ac|com)\\\\.)?[a-z]{2,7}$\").optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").optional(),\n statusId: z.string().describe(\"Status ID for Linear customer integration. Can be null.\").optional(),\n tierName: z.string().describe(\"Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.\").optional(),\n statusName: z.string().describe(\"Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.\").optional(),\n externalIds: z.array(z.string()).describe(\"External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.\").optional(),\n statusColor: z.string().describe(\"Status color for Linear customer integration (hex color code or color name). Can be null.\").optional(),\n}).describe(\"Request parameters for creating a new company in Productlane.\");\nexport const ProductlaneCreateCompanyOutput = z.object({\n id: z.string().describe(\"Unique company identifier (UUID format).\").nullable(),\n name: z.string().describe(\"Company name.\").nullable(),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier. Can be null.\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer. Can be null.\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether automatic contact linking is enabled. Can be null.\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of company domains.\"),\n logoUrl: z.string().describe(\"URL to the company logo. Can be null.\").nullable().optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").nullable().optional(),\n version: z.number().int().describe(\"Version number for optimistic locking.\").nullable(),\n statusId: z.string().describe(\"Status ID for Linear customer. Can be null.\").nullable().optional(),\n tierName: z.string().describe(\"Tier name for Linear customer. Can be null.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created.\").nullable(),\n hubspotId: z.string().describe(\"HubSpot integration ID. Can be null.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is marked as deleted. Always false for new companies.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated.\").nullable(),\n intercomId: z.string().describe(\"Intercom integration ID. Can be null.\").nullable().optional(),\n statusName: z.string().describe(\"Status name for Linear customer. Can be null.\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers from other systems.\"),\n statusColor: z.string().describe(\"Status color for Linear customer. Can be null.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this company belongs to (UUID format).\").nullable(),\n productboardId: z.string().describe(\"Productboard integration ID. Can be null.\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated. Can be null.\").nullable().optional(),\n}).describe(\"Response containing the newly created company details.\");\n\nexport const productlaneCreateCompany = action(\"PRODUCTLANE_CREATE_COMPANY\", {\n slug: \"productlane-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.\",\n input: ProductlaneCreateCompanyInput,\n output: ProductlaneCreateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qOAAqO,CAAC,CAAC,SAAS;CAC9Q,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;CACxS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,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2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-company.d.ts
4
- declare const ProductlaneCreateCompanyInput: z.ZodTypeAny;
5
- declare const ProductlaneCreateCompanyOutput: z.ZodTypeAny;
6
- declare const productlaneCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProductlaneCreateCompanyInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ size: z.ZodOptional<z.ZodNumber>;
7
+ tierId: z.ZodOptional<z.ZodString>;
8
+ autoAdd: z.ZodOptional<z.ZodBoolean>;
9
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ revenue: z.ZodOptional<z.ZodNumber>;
11
+ statusId: z.ZodOptional<z.ZodString>;
12
+ tierName: z.ZodOptional<z.ZodString>;
13
+ statusName: z.ZodOptional<z.ZodString>;
14
+ externalIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ statusColor: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const ProductlaneCreateCompanyOutput: z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ slugId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ tierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ autoAdd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ domains: z.ZodArray<z.ZodString>;
25
+ logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ revenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ version: z.ZodNullable<z.ZodNumber>;
28
+ statusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ tierName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ createdAt: z.ZodNullable<z.ZodString>;
31
+ hubspotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ isDeleted: z.ZodNullable<z.ZodBoolean>;
33
+ updatedAt: z.ZodNullable<z.ZodString>;
34
+ intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ statusName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ externalIds: z.ZodArray<z.ZodString>;
37
+ statusColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ workspaceId: z.ZodNullable<z.ZodString>;
39
+ productboardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ linearCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$strip>;
42
+ declare const productlaneCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
43
+ name: string;
44
+ size?: number | undefined;
45
+ tierId?: string | undefined;
46
+ autoAdd?: boolean | undefined;
47
+ domains?: string[] | undefined;
48
+ revenue?: number | undefined;
49
+ statusId?: string | undefined;
50
+ tierName?: string | undefined;
51
+ statusName?: string | undefined;
52
+ externalIds?: string[] | undefined;
53
+ statusColor?: string | undefined;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { productlaneCreateCompany };
9
57
  //# sourceMappingURL=create-company.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-company.d.cts","names":[],"sources":["../../src/actions/create-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAY8B;AAAA,cAC/D,8BAAA,EAAgC,CAAA,CAAE,UAwBsB;AAAA,cAExD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-company.d.cts","names":[],"sources":["../../src/actions/create-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cA0B9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-company.d.ts
4
- declare const ProductlaneCreateCompanyInput: z.ZodTypeAny;
5
- declare const ProductlaneCreateCompanyOutput: z.ZodTypeAny;
6
- declare const productlaneCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProductlaneCreateCompanyInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ size: z.ZodOptional<z.ZodNumber>;
7
+ tierId: z.ZodOptional<z.ZodString>;
8
+ autoAdd: z.ZodOptional<z.ZodBoolean>;
9
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ revenue: z.ZodOptional<z.ZodNumber>;
11
+ statusId: z.ZodOptional<z.ZodString>;
12
+ tierName: z.ZodOptional<z.ZodString>;
13
+ statusName: z.ZodOptional<z.ZodString>;
14
+ externalIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ statusColor: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const ProductlaneCreateCompanyOutput: z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ slugId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ tierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ autoAdd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ domains: z.ZodArray<z.ZodString>;
25
+ logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ revenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ version: z.ZodNullable<z.ZodNumber>;
28
+ statusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ tierName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ createdAt: z.ZodNullable<z.ZodString>;
31
+ hubspotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ isDeleted: z.ZodNullable<z.ZodBoolean>;
33
+ updatedAt: z.ZodNullable<z.ZodString>;
34
+ intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ statusName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ externalIds: z.ZodArray<z.ZodString>;
37
+ statusColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ workspaceId: z.ZodNullable<z.ZodString>;
39
+ productboardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ linearCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$strip>;
42
+ declare const productlaneCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
43
+ name: string;
44
+ size?: number | undefined;
45
+ tierId?: string | undefined;
46
+ autoAdd?: boolean | undefined;
47
+ domains?: string[] | undefined;
48
+ revenue?: number | undefined;
49
+ statusId?: string | undefined;
50
+ tierName?: string | undefined;
51
+ statusName?: string | undefined;
52
+ externalIds?: string[] | undefined;
53
+ statusColor?: string | undefined;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { productlaneCreateCompany };
9
57
  //# sourceMappingURL=create-company.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-company.d.mts","names":[],"sources":["../../src/actions/create-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAY8B;AAAA,cAC/D,8BAAA,EAAgC,CAAA,CAAE,UAwBsB;AAAA,cAExD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-company.d.mts","names":[],"sources":["../../src/actions/create-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cA0B9B,wBAAA,gCAAwB,wBAAA"}
@@ -18,8 +18,8 @@ const productlaneCreateCompany = action("PRODUCTLANE_CREATE_COMPANY", {
18
18
  statusColor: z.string().describe("Status color for Linear customer integration (hex color code or color name). Can be null.").optional()
19
19
  }).describe("Request parameters for creating a new company in Productlane."),
20
20
  output: z.object({
21
- id: z.string().describe("Unique company identifier (UUID format)."),
22
- name: z.string().describe("Company name."),
21
+ id: z.string().describe("Unique company identifier (UUID format).").nullable(),
22
+ name: z.string().describe("Company name.").nullable(),
23
23
  size: z.number().int().describe("Company size (number of employees). Can be null.").nullable().optional(),
24
24
  slugId: z.string().describe("URL-friendly slug identifier. Can be null.").nullable().optional(),
25
25
  tierId: z.string().describe("Tier ID for Linear customer. Can be null.").nullable().optional(),
@@ -27,18 +27,18 @@ const productlaneCreateCompany = action("PRODUCTLANE_CREATE_COMPANY", {
27
27
  domains: z.array(z.string()).describe("List of company domains."),
28
28
  logoUrl: z.string().describe("URL to the company logo. Can be null.").nullable().optional(),
29
29
  revenue: z.number().int().describe("Company revenue. Can be null.").nullable().optional(),
30
- version: z.number().int().describe("Version number for optimistic locking."),
30
+ version: z.number().int().describe("Version number for optimistic locking.").nullable(),
31
31
  statusId: z.string().describe("Status ID for Linear customer. Can be null.").nullable().optional(),
32
32
  tierName: z.string().describe("Tier name for Linear customer. Can be null.").nullable().optional(),
33
- createdAt: z.string().describe("ISO 8601 timestamp when the company was created."),
33
+ createdAt: z.string().describe("ISO 8601 timestamp when the company was created.").nullable(),
34
34
  hubspotId: z.string().describe("HubSpot integration ID. Can be null.").nullable().optional(),
35
- isDeleted: z.boolean().describe("Whether the company is marked as deleted. Always false for new companies."),
36
- updatedAt: z.string().describe("ISO 8601 timestamp when the company was last updated."),
35
+ isDeleted: z.boolean().describe("Whether the company is marked as deleted. Always false for new companies.").nullable(),
36
+ updatedAt: z.string().describe("ISO 8601 timestamp when the company was last updated.").nullable(),
37
37
  intercomId: z.string().describe("Intercom integration ID. Can be null.").nullable().optional(),
38
38
  statusName: z.string().describe("Status name for Linear customer. Can be null.").nullable().optional(),
39
39
  externalIds: z.array(z.string()).describe("List of external identifiers from other systems."),
40
40
  statusColor: z.string().describe("Status color for Linear customer. Can be null.").nullable().optional(),
41
- workspaceId: z.string().describe("Workspace ID this company belongs to (UUID format)."),
41
+ workspaceId: z.string().describe("Workspace ID this company belongs to (UUID format).").nullable(),
42
42
  productboardId: z.string().describe("Productboard integration ID. Can be null.").nullable().optional(),
43
43
  linearCustomerId: z.string().describe("Linear customer ID if integrated. Can be null.").nullable().optional()
44
44
  }).describe("Response containing the newly created company details.")
@@ -1 +1 @@
1
- {"version":3,"file":"create-company.mjs","names":[],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateCompanyInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Company name. This is the only required field.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer integration. Can be null.\").optional(),\n autoAdd: z.boolean().describe(\"Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.\").optional(),\n domains: z.array(z.string()).describe(\"List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\\\.(?:(?:co|or|gv|ac|com)\\\\.)?[a-z]{2,7}$\").optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").optional(),\n statusId: z.string().describe(\"Status ID for Linear customer integration. Can be null.\").optional(),\n tierName: z.string().describe(\"Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.\").optional(),\n statusName: z.string().describe(\"Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.\").optional(),\n externalIds: z.array(z.string()).describe(\"External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.\").optional(),\n statusColor: z.string().describe(\"Status color for Linear customer integration (hex color code or color name). Can be null.\").optional(),\n}).describe(\"Request parameters for creating a new company in Productlane.\");\nexport const ProductlaneCreateCompanyOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique company identifier (UUID format).\"),\n name: z.string().describe(\"Company name.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier. Can be null.\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer. Can be null.\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether automatic contact linking is enabled. Can be null.\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of company domains.\"),\n logoUrl: z.string().describe(\"URL to the company logo. Can be null.\").nullable().optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").nullable().optional(),\n version: z.number().int().describe(\"Version number for optimistic locking.\"),\n statusId: z.string().describe(\"Status ID for Linear customer. Can be null.\").nullable().optional(),\n tierName: z.string().describe(\"Tier name for Linear customer. Can be null.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created.\"),\n hubspotId: z.string().describe(\"HubSpot integration ID. Can be null.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is marked as deleted. Always false for new companies.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated.\"),\n intercomId: z.string().describe(\"Intercom integration ID. Can be null.\").nullable().optional(),\n statusName: z.string().describe(\"Status name for Linear customer. Can be null.\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers from other systems.\"),\n statusColor: z.string().describe(\"Status color for Linear customer. Can be null.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this company belongs to (UUID format).\"),\n productboardId: z.string().describe(\"Productboard integration ID. Can be null.\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated. Can be null.\").nullable().optional(),\n}).describe(\"Response containing the newly created company details.\");\n\nexport const productlaneCreateCompany = action(\"PRODUCTLANE_CREATE_COMPANY\", {\n slug: \"productlane-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.\",\n input: ProductlaneCreateCompanyInput,\n output: ProductlaneCreateCompanyOutput,\n});\n"],"mappings":";;AA2CA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3CyD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qOAAqO,CAAC,CAAC,SAAS;EAC9Q,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;EACxS,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,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6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E;EAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-company.mjs","names":[],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateCompanyInput = z.object({\n name: z.string().describe(\"Company name. This is the only required field.\"),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer integration. Can be null.\").optional(),\n autoAdd: z.boolean().describe(\"Automatically add contacts with matching email domains to this company. When enabled, existing and future contacts whose email domains match the company's domains will be automatically linked. Defaults to false if not provided.\").optional(),\n domains: z.array(z.string()).describe(\"List of company domains (e.g., ['example.com', 'example.co.uk']). Used for automatic contact linking. Each domain must be 1-63 characters, lowercase alphanumeric with hyphens, matching pattern: [0-9a-z-]+\\\\.(?:(?:co|or|gv|ac|com)\\\\.)?[a-z]{2,7}$\").optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").optional(),\n statusId: z.string().describe(\"Status ID for Linear customer integration. Can be null.\").optional(),\n tierName: z.string().describe(\"Tier name for Linear customer integration (e.g., 'Enterprise', 'Pro'). Can be null.\").optional(),\n statusName: z.string().describe(\"Status name for Linear customer integration (e.g., 'Active', 'Churned'). Can be null.\").optional(),\n externalIds: z.array(z.string()).describe(\"External identifiers from other systems (e.g., CRM IDs, customer IDs). Each ID must be 1-255 characters. Useful for integrating with external systems.\").optional(),\n statusColor: z.string().describe(\"Status color for Linear customer integration (hex color code or color name). Can be null.\").optional(),\n}).describe(\"Request parameters for creating a new company in Productlane.\");\nexport const ProductlaneCreateCompanyOutput = z.object({\n id: z.string().describe(\"Unique company identifier (UUID format).\").nullable(),\n name: z.string().describe(\"Company name.\").nullable(),\n size: z.number().int().describe(\"Company size (number of employees). Can be null.\").nullable().optional(),\n slugId: z.string().describe(\"URL-friendly slug identifier. Can be null.\").nullable().optional(),\n tierId: z.string().describe(\"Tier ID for Linear customer. Can be null.\").nullable().optional(),\n autoAdd: z.boolean().describe(\"Whether automatic contact linking is enabled. Can be null.\").nullable().optional(),\n domains: z.array(z.string()).describe(\"List of company domains.\"),\n logoUrl: z.string().describe(\"URL to the company logo. Can be null.\").nullable().optional(),\n revenue: z.number().int().describe(\"Company revenue. Can be null.\").nullable().optional(),\n version: z.number().int().describe(\"Version number for optimistic locking.\").nullable(),\n statusId: z.string().describe(\"Status ID for Linear customer. Can be null.\").nullable().optional(),\n tierName: z.string().describe(\"Tier name for Linear customer. Can be null.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the company was created.\").nullable(),\n hubspotId: z.string().describe(\"HubSpot integration ID. Can be null.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the company is marked as deleted. Always false for new companies.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the company was last updated.\").nullable(),\n intercomId: z.string().describe(\"Intercom integration ID. Can be null.\").nullable().optional(),\n statusName: z.string().describe(\"Status name for Linear customer. Can be null.\").nullable().optional(),\n externalIds: z.array(z.string()).describe(\"List of external identifiers from other systems.\"),\n statusColor: z.string().describe(\"Status color for Linear customer. Can be null.\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID this company belongs to (UUID format).\").nullable(),\n productboardId: z.string().describe(\"Productboard integration ID. Can be null.\").nullable().optional(),\n linearCustomerId: z.string().describe(\"Linear customer ID if integrated. Can be null.\").nullable().optional(),\n}).describe(\"Response containing the newly created company details.\");\n\nexport const productlaneCreateCompany = action(\"PRODUCTLANE_CREATE_COMPANY\", {\n slug: \"productlane-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in Productlane. Use when you need to add a company record with optional domain-based contact auto-linking. Authentication required via Bearer token.\",\n input: ProductlaneCreateCompanyInput,\n output: ProductlaneCreateCompanyOutput,\n});\n"],"mappings":";;AA2CA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3C2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qOAAqO,CAAC,CAAC,SAAS;EAC9Q,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;EACxS,SAAS,EA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+9,19 @@ const ProductlaneCreateContactInput = zod.z.object({
9
9
  companyExternalId: zod.z.string().describe("External company identifier (optional, 1-255 characters). Used to reference companies from external systems.").optional()
10
10
  }).describe("Request model for creating a new contact in Productlane workspace.");
11
11
  const ProductlaneCreateContactOutput = zod.z.object({
12
- id: zod.z.string().describe("Unique identifier for the created contact."),
12
+ id: zod.z.string().describe("Unique identifier for the created contact.").nullable(),
13
13
  name: zod.z.string().describe("Name of the contact. Null if not provided during creation.").nullable().optional(),
14
- email: zod.z.string().describe("Email address of the contact."),
15
- version: zod.z.number().describe("Version number for the contact record."),
14
+ email: zod.z.string().describe("Email address of the contact.").nullable(),
15
+ version: zod.z.number().describe("Version number for the contact record.").nullable(),
16
16
  imageUrl: zod.z.string().describe("Profile image URL for the contact. Null if no image is available.").nullable().optional(),
17
17
  companyId: zod.z.string().describe("ID of the associated company. Null if not linked to a company.").nullable().optional(),
18
- createdAt: zod.z.string().describe("ISO 8601 timestamp indicating when the contact was created."),
18
+ createdAt: zod.z.string().describe("ISO 8601 timestamp indicating when the contact was created.").nullable(),
19
19
  hubspotId: zod.z.string().describe("HubSpot integration ID if synced with HubSpot. Null if not synced.").nullable().optional(),
20
- isDeleted: zod.z.boolean().describe("Boolean flag indicating whether the contact has been deleted."),
21
- updatedAt: zod.z.string().describe("ISO 8601 timestamp indicating when the contact was last updated."),
20
+ isDeleted: zod.z.boolean().describe("Boolean flag indicating whether the contact has been deleted.").nullable(),
21
+ updatedAt: zod.z.string().describe("ISO 8601 timestamp indicating when the contact was last updated.").nullable(),
22
22
  zendeskId: zod.z.string().describe("Zendesk integration ID if synced with Zendesk. Null if not synced.").nullable().optional(),
23
23
  intercomId: zod.z.string().describe("Intercom integration ID if synced with Intercom. Null if not synced.").nullable().optional(),
24
- workspaceId: zod.z.string().describe("ID of the workspace this contact belongs to."),
24
+ workspaceId: zod.z.string().describe("ID of the workspace this contact belongs to.").nullable(),
25
25
  productboardId: zod.z.string().describe("Productboard integration ID if synced with Productboard. Null if not synced.").nullable().optional()
26
26
  }).describe("Response model returned after creating a contact in Productlane.");
27
27
  const productlaneCreateContact = require_action.action("PRODUCTLANE_CREATE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateContactInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Contact name (optional, 1-255 characters). The display name for the contact.\").optional(),\n email: z.string().describe(\"Contact email address (required, max 254 characters). Must be a valid email format.\"),\n companyId: z.string().describe(\"Associated company ID (optional, 1-255 characters). Links the contact to an existing company in your workspace.\").optional(),\n companyName: z.string().describe(\"Company name (optional, 1-255 characters). Can be used to create or reference a company by name.\").optional(),\n companyExternalId: z.string().describe(\"External company identifier (optional, 1-255 characters). Used to reference companies from external systems.\").optional(),\n}).describe(\"Request model for creating a new contact in Productlane workspace.\");\nexport const ProductlaneCreateContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created contact.\"),\n name: z.string().describe(\"Name of the contact. Null if not provided during creation.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\"),\n version: z.number().describe(\"Version number for the contact record.\"),\n imageUrl: z.string().describe(\"Profile image URL for the contact. Null if no image is available.\").nullable().optional(),\n companyId: z.string().describe(\"ID of the associated company. Null if not linked to a company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was created.\"),\n hubspotId: z.string().describe(\"HubSpot integration ID if synced with HubSpot. Null if not synced.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Boolean flag indicating whether the contact has been deleted.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was last updated.\"),\n zendeskId: z.string().describe(\"Zendesk integration ID if synced with Zendesk. Null if not synced.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom integration ID if synced with Intercom. Null if not synced.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this contact belongs to.\"),\n productboardId: z.string().describe(\"Productboard integration ID if synced with Productboard. Null if not synced.\").nullable().optional(),\n}).describe(\"Response model returned after creating a contact in Productlane.\");\n\nexport const productlaneCreateContact = action(\"PRODUCTLANE_CREATE_CONTACT\", {\n slug: \"productlane-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your Productlane workspace with optional company linking. Use when adding new contacts to track customer interactions and feedback.\",\n input: ProductlaneCreateContactInput,\n output: ProductlaneCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC9I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneCreateContactInput = z.object({\n name: z.string().describe(\"Contact name (optional, 1-255 characters). The display name for the contact.\").optional(),\n email: z.string().describe(\"Contact email address (required, max 254 characters). Must be a valid email format.\"),\n companyId: z.string().describe(\"Associated company ID (optional, 1-255 characters). Links the contact to an existing company in your workspace.\").optional(),\n companyName: z.string().describe(\"Company name (optional, 1-255 characters). Can be used to create or reference a company by name.\").optional(),\n companyExternalId: z.string().describe(\"External company identifier (optional, 1-255 characters). Used to reference companies from external systems.\").optional(),\n}).describe(\"Request model for creating a new contact in Productlane workspace.\");\nexport const ProductlaneCreateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the created contact.\").nullable(),\n name: z.string().describe(\"Name of the contact. Null if not provided during creation.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n version: z.number().describe(\"Version number for the contact record.\").nullable(),\n imageUrl: z.string().describe(\"Profile image URL for the contact. Null if no image is available.\").nullable().optional(),\n companyId: z.string().describe(\"ID of the associated company. Null if not linked to a company.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was created.\").nullable(),\n hubspotId: z.string().describe(\"HubSpot integration ID if synced with HubSpot. Null if not synced.\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Boolean flag indicating whether the contact has been deleted.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when the contact was last updated.\").nullable(),\n zendeskId: z.string().describe(\"Zendesk integration ID if synced with Zendesk. Null if not synced.\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom integration ID if synced with Intercom. Null if not synced.\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this contact belongs to.\").nullable(),\n productboardId: z.string().describe(\"Productboard integration ID if synced with Productboard. Null if not synced.\").nullable().optional(),\n}).describe(\"Response model returned after creating a contact in Productlane.\");\n\nexport const productlaneCreateContact = action(\"PRODUCTLANE_CREATE_CONTACT\", {\n slug: \"productlane-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your Productlane workspace with optional company linking. Use when adding new contacts to track customer interactions and feedback.\",\n input: ProductlaneCreateContactInput,\n output: ProductlaneCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAA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AS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact.d.ts
4
- declare const ProductlaneCreateContactInput: z.ZodTypeAny;
5
- declare const ProductlaneCreateContactOutput: z.ZodTypeAny;
6
- declare const productlaneCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProductlaneCreateContactInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodString;
7
+ companyId: z.ZodOptional<z.ZodString>;
8
+ companyName: z.ZodOptional<z.ZodString>;
9
+ companyExternalId: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const ProductlaneCreateContactOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ email: z.ZodNullable<z.ZodString>;
15
+ version: z.ZodNullable<z.ZodNumber>;
16
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ createdAt: z.ZodNullable<z.ZodString>;
19
+ hubspotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ isDeleted: z.ZodNullable<z.ZodBoolean>;
21
+ updatedAt: z.ZodNullable<z.ZodString>;
22
+ zendeskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ intercomId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ workspaceId: z.ZodNullable<z.ZodString>;
25
+ productboardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$strip>;
27
+ declare const productlaneCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ email: string;
29
+ name?: string | undefined;
30
+ companyId?: string | undefined;
31
+ companyName?: string | undefined;
32
+ companyExternalId?: string | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { productlaneCreateContact };
9
36
  //# sourceMappingURL=create-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAMmC;AAAA,cACpE,8BAAA,EAAgC,CAAA,CAAE,UAegC;AAAA,cAElE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB9B,wBAAA,gCAAwB,wBAAA"}