@keystrokehq/productlane 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-changelog.cjs +33 -0
  7. package/dist/actions/create-changelog.cjs.map +1 -0
  8. package/dist/actions/create-changelog.d.cts +9 -0
  9. package/dist/actions/create-changelog.d.cts.map +1 -0
  10. package/dist/actions/create-changelog.d.mts +9 -0
  11. package/dist/actions/create-changelog.d.mts.map +1 -0
  12. package/dist/actions/create-changelog.mjs +30 -0
  13. package/dist/actions/create-changelog.mjs.map +1 -0
  14. package/dist/actions/create-company.cjs +52 -0
  15. package/dist/actions/create-company.cjs.map +1 -0
  16. package/dist/actions/create-company.d.cts +9 -0
  17. package/dist/actions/create-company.d.cts.map +1 -0
  18. package/dist/actions/create-company.d.mts +9 -0
  19. package/dist/actions/create-company.d.mts.map +1 -0
  20. package/dist/actions/create-company.mjs +49 -0
  21. package/dist/actions/create-company.mjs.map +1 -0
  22. package/dist/actions/create-contact.cjs +37 -0
  23. package/dist/actions/create-contact.cjs.map +1 -0
  24. package/dist/actions/create-contact.d.cts +9 -0
  25. package/dist/actions/create-contact.d.cts.map +1 -0
  26. package/dist/actions/create-contact.d.mts +9 -0
  27. package/dist/actions/create-contact.d.mts.map +1 -0
  28. package/dist/actions/create-contact.mjs +34 -0
  29. package/dist/actions/create-contact.mjs.map +1 -0
  30. package/dist/actions/create-feedback.cjs +53 -0
  31. package/dist/actions/create-feedback.cjs.map +1 -0
  32. package/dist/actions/create-feedback.d.cts +9 -0
  33. package/dist/actions/create-feedback.d.cts.map +1 -0
  34. package/dist/actions/create-feedback.d.mts +9 -0
  35. package/dist/actions/create-feedback.d.mts.map +1 -0
  36. package/dist/actions/create-feedback.mjs +50 -0
  37. package/dist/actions/create-feedback.mjs.map +1 -0
  38. package/dist/actions/create-insight.cjs +188 -0
  39. package/dist/actions/create-insight.cjs.map +1 -0
  40. package/dist/actions/create-insight.d.cts +9 -0
  41. package/dist/actions/create-insight.d.cts.map +1 -0
  42. package/dist/actions/create-insight.d.mts +9 -0
  43. package/dist/actions/create-insight.d.mts.map +1 -0
  44. package/dist/actions/create-insight.mjs +187 -0
  45. package/dist/actions/create-insight.mjs.map +1 -0
  46. package/dist/actions/create-thread.cjs +29 -0
  47. package/dist/actions/create-thread.cjs.map +1 -0
  48. package/dist/actions/create-thread.d.cts +9 -0
  49. package/dist/actions/create-thread.d.cts.map +1 -0
  50. package/dist/actions/create-thread.d.mts +9 -0
  51. package/dist/actions/create-thread.d.mts.map +1 -0
  52. package/dist/actions/create-thread.mjs +26 -0
  53. package/dist/actions/create-thread.mjs.map +1 -0
  54. package/dist/actions/create-upvote.cjs +28 -0
  55. package/dist/actions/create-upvote.cjs.map +1 -0
  56. package/dist/actions/create-upvote.d.cts +9 -0
  57. package/dist/actions/create-upvote.d.cts.map +1 -0
  58. package/dist/actions/create-upvote.d.mts +9 -0
  59. package/dist/actions/create-upvote.d.mts.map +1 -0
  60. package/dist/actions/create-upvote.mjs +25 -0
  61. package/dist/actions/create-upvote.mjs.map +1 -0
  62. package/dist/actions/delete-company.cjs +16 -0
  63. package/dist/actions/delete-company.cjs.map +1 -0
  64. package/dist/actions/delete-company.d.cts +9 -0
  65. package/dist/actions/delete-company.d.cts.map +1 -0
  66. package/dist/actions/delete-company.d.mts +9 -0
  67. package/dist/actions/delete-company.d.mts.map +1 -0
  68. package/dist/actions/delete-company.mjs +13 -0
  69. package/dist/actions/delete-company.mjs.map +1 -0
  70. package/dist/actions/delete-contact.cjs +16 -0
  71. package/dist/actions/delete-contact.cjs.map +1 -0
  72. package/dist/actions/delete-contact.d.cts +9 -0
  73. package/dist/actions/delete-contact.d.cts.map +1 -0
  74. package/dist/actions/delete-contact.d.mts +9 -0
  75. package/dist/actions/delete-contact.d.mts.map +1 -0
  76. package/dist/actions/delete-contact.mjs +13 -0
  77. package/dist/actions/delete-contact.mjs.map +1 -0
  78. package/dist/actions/delete-upvote.cjs +25 -0
  79. package/dist/actions/delete-upvote.cjs.map +1 -0
  80. package/dist/actions/delete-upvote.d.cts +9 -0
  81. package/dist/actions/delete-upvote.d.cts.map +1 -0
  82. package/dist/actions/delete-upvote.d.mts +9 -0
  83. package/dist/actions/delete-upvote.d.mts.map +1 -0
  84. package/dist/actions/delete-upvote.mjs +22 -0
  85. package/dist/actions/delete-upvote.mjs.map +1 -0
  86. package/dist/actions/enable-widget.cjs +19 -0
  87. package/dist/actions/enable-widget.cjs.map +1 -0
  88. package/dist/actions/enable-widget.d.cts +9 -0
  89. package/dist/actions/enable-widget.d.cts.map +1 -0
  90. package/dist/actions/enable-widget.d.mts +9 -0
  91. package/dist/actions/enable-widget.d.mts.map +1 -0
  92. package/dist/actions/enable-widget.mjs +16 -0
  93. package/dist/actions/enable-widget.mjs.map +1 -0
  94. package/dist/actions/get-changelog.cjs +38 -0
  95. package/dist/actions/get-changelog.cjs.map +1 -0
  96. package/dist/actions/get-changelog.d.cts +9 -0
  97. package/dist/actions/get-changelog.d.cts.map +1 -0
  98. package/dist/actions/get-changelog.d.mts +9 -0
  99. package/dist/actions/get-changelog.d.mts.map +1 -0
  100. package/dist/actions/get-changelog.mjs +35 -0
  101. package/dist/actions/get-changelog.mjs.map +1 -0
  102. package/dist/actions/get-company.cjs +44 -0
  103. package/dist/actions/get-company.cjs.map +1 -0
  104. package/dist/actions/get-company.d.cts +9 -0
  105. package/dist/actions/get-company.d.cts.map +1 -0
  106. package/dist/actions/get-company.d.mts +9 -0
  107. package/dist/actions/get-company.d.mts.map +1 -0
  108. package/dist/actions/get-company.mjs +43 -0
  109. package/dist/actions/get-company.mjs.map +1 -0
  110. package/dist/actions/get-contact.cjs +31 -0
  111. package/dist/actions/get-contact.cjs.map +1 -0
  112. package/dist/actions/get-contact.d.cts +9 -0
  113. package/dist/actions/get-contact.d.cts.map +1 -0
  114. package/dist/actions/get-contact.d.mts +9 -0
  115. package/dist/actions/get-contact.d.mts.map +1 -0
  116. package/dist/actions/get-contact.mjs +28 -0
  117. package/dist/actions/get-contact.mjs.map +1 -0
  118. package/dist/actions/get-help-center-article.cjs +33 -0
  119. package/dist/actions/get-help-center-article.cjs.map +1 -0
  120. package/dist/actions/get-help-center-article.d.cts +9 -0
  121. package/dist/actions/get-help-center-article.d.cts.map +1 -0
  122. package/dist/actions/get-help-center-article.d.mts +9 -0
  123. package/dist/actions/get-help-center-article.d.mts.map +1 -0
  124. package/dist/actions/get-help-center-article.mjs +30 -0
  125. package/dist/actions/get-help-center-article.mjs.map +1 -0
  126. package/dist/actions/get-insight.cjs +167 -0
  127. package/dist/actions/get-insight.cjs.map +1 -0
  128. package/dist/actions/get-insight.d.cts +9 -0
  129. package/dist/actions/get-insight.d.cts.map +1 -0
  130. package/dist/actions/get-insight.d.mts +9 -0
  131. package/dist/actions/get-insight.d.mts.map +1 -0
  132. package/dist/actions/get-insight.mjs +166 -0
  133. package/dist/actions/get-insight.mjs.map +1 -0
  134. package/dist/actions/get-issue.cjs +43 -0
  135. package/dist/actions/get-issue.cjs.map +1 -0
  136. package/dist/actions/get-issue.d.cts +9 -0
  137. package/dist/actions/get-issue.d.cts.map +1 -0
  138. package/dist/actions/get-issue.d.mts +9 -0
  139. package/dist/actions/get-issue.d.mts.map +1 -0
  140. package/dist/actions/get-issue.mjs +40 -0
  141. package/dist/actions/get-issue.mjs.map +1 -0
  142. package/dist/actions/get-linear-options.cjs +28 -0
  143. package/dist/actions/get-linear-options.cjs.map +1 -0
  144. package/dist/actions/get-linear-options.d.cts +9 -0
  145. package/dist/actions/get-linear-options.d.cts.map +1 -0
  146. package/dist/actions/get-linear-options.d.mts +9 -0
  147. package/dist/actions/get-linear-options.d.mts.map +1 -0
  148. package/dist/actions/get-linear-options.mjs +27 -0
  149. package/dist/actions/get-linear-options.mjs.map +1 -0
  150. package/dist/actions/get-project.cjs +34 -0
  151. package/dist/actions/get-project.cjs.map +1 -0
  152. package/dist/actions/get-project.d.cts +9 -0
  153. package/dist/actions/get-project.d.cts.map +1 -0
  154. package/dist/actions/get-project.d.mts +9 -0
  155. package/dist/actions/get-project.d.mts.map +1 -0
  156. package/dist/actions/get-project.mjs +31 -0
  157. package/dist/actions/get-project.mjs.map +1 -0
  158. package/dist/actions/get-workspace.cjs +53 -0
  159. package/dist/actions/get-workspace.cjs.map +1 -0
  160. package/dist/actions/get-workspace.d.cts +9 -0
  161. package/dist/actions/get-workspace.d.cts.map +1 -0
  162. package/dist/actions/get-workspace.d.mts +9 -0
  163. package/dist/actions/get-workspace.d.mts.map +1 -0
  164. package/dist/actions/get-workspace.mjs +52 -0
  165. package/dist/actions/get-workspace.mjs.map +1 -0
  166. package/dist/actions/index.cjs +79 -0
  167. package/dist/actions/index.d.cts +40 -0
  168. package/dist/actions/index.d.mts +40 -0
  169. package/dist/actions/index.mjs +40 -0
  170. package/dist/actions/invite-user.cjs +24 -0
  171. package/dist/actions/invite-user.cjs.map +1 -0
  172. package/dist/actions/invite-user.d.cts +9 -0
  173. package/dist/actions/invite-user.d.cts.map +1 -0
  174. package/dist/actions/invite-user.d.mts +9 -0
  175. package/dist/actions/invite-user.d.mts.map +1 -0
  176. package/dist/actions/invite-user.mjs +21 -0
  177. package/dist/actions/invite-user.mjs.map +1 -0
  178. package/dist/actions/list-changelogs.cjs +34 -0
  179. package/dist/actions/list-changelogs.cjs.map +1 -0
  180. package/dist/actions/list-changelogs.d.cts +9 -0
  181. package/dist/actions/list-changelogs.d.cts.map +1 -0
  182. package/dist/actions/list-changelogs.d.mts +9 -0
  183. package/dist/actions/list-changelogs.d.mts.map +1 -0
  184. package/dist/actions/list-changelogs.mjs +33 -0
  185. package/dist/actions/list-changelogs.mjs.map +1 -0
  186. package/dist/actions/list-companies.cjs +61 -0
  187. package/dist/actions/list-companies.cjs.map +1 -0
  188. package/dist/actions/list-companies.d.cts +9 -0
  189. package/dist/actions/list-companies.d.cts.map +1 -0
  190. package/dist/actions/list-companies.d.mts +9 -0
  191. package/dist/actions/list-companies.d.mts.map +1 -0
  192. package/dist/actions/list-companies.mjs +60 -0
  193. package/dist/actions/list-companies.mjs.map +1 -0
  194. package/dist/actions/list-contacts.cjs +46 -0
  195. package/dist/actions/list-contacts.cjs.map +1 -0
  196. package/dist/actions/list-contacts.d.cts +9 -0
  197. package/dist/actions/list-contacts.d.cts.map +1 -0
  198. package/dist/actions/list-contacts.d.mts +9 -0
  199. package/dist/actions/list-contacts.d.mts.map +1 -0
  200. package/dist/actions/list-contacts.mjs +45 -0
  201. package/dist/actions/list-contacts.mjs.map +1 -0
  202. package/dist/actions/list-help-center-articles.cjs +33 -0
  203. package/dist/actions/list-help-center-articles.cjs.map +1 -0
  204. package/dist/actions/list-help-center-articles.d.cts +9 -0
  205. package/dist/actions/list-help-center-articles.d.cts.map +1 -0
  206. package/dist/actions/list-help-center-articles.d.mts +9 -0
  207. package/dist/actions/list-help-center-articles.d.mts.map +1 -0
  208. package/dist/actions/list-help-center-articles.mjs +32 -0
  209. package/dist/actions/list-help-center-articles.mjs.map +1 -0
  210. package/dist/actions/list-insights.cjs +90 -0
  211. package/dist/actions/list-insights.cjs.map +1 -0
  212. package/dist/actions/list-insights.d.cts +9 -0
  213. package/dist/actions/list-insights.d.cts.map +1 -0
  214. package/dist/actions/list-insights.d.mts +9 -0
  215. package/dist/actions/list-insights.d.mts.map +1 -0
  216. package/dist/actions/list-insights.mjs +89 -0
  217. package/dist/actions/list-insights.mjs.map +1 -0
  218. package/dist/actions/list-issues.cjs +43 -0
  219. package/dist/actions/list-issues.cjs.map +1 -0
  220. package/dist/actions/list-issues.d.cts +9 -0
  221. package/dist/actions/list-issues.d.cts.map +1 -0
  222. package/dist/actions/list-issues.d.mts +9 -0
  223. package/dist/actions/list-issues.d.mts.map +1 -0
  224. package/dist/actions/list-issues.mjs +42 -0
  225. package/dist/actions/list-issues.mjs.map +1 -0
  226. package/dist/actions/list-members.cjs +31 -0
  227. package/dist/actions/list-members.cjs.map +1 -0
  228. package/dist/actions/list-members.d.cts +9 -0
  229. package/dist/actions/list-members.d.cts.map +1 -0
  230. package/dist/actions/list-members.d.mts +9 -0
  231. package/dist/actions/list-members.d.mts.map +1 -0
  232. package/dist/actions/list-members.mjs +30 -0
  233. package/dist/actions/list-members.mjs.map +1 -0
  234. package/dist/actions/list-projects.cjs +34 -0
  235. package/dist/actions/list-projects.cjs.map +1 -0
  236. package/dist/actions/list-projects.d.cts +9 -0
  237. package/dist/actions/list-projects.d.cts.map +1 -0
  238. package/dist/actions/list-projects.d.mts +9 -0
  239. package/dist/actions/list-projects.d.mts.map +1 -0
  240. package/dist/actions/list-projects.mjs +33 -0
  241. package/dist/actions/list-projects.mjs.map +1 -0
  242. package/dist/actions/update-company.cjs +53 -0
  243. package/dist/actions/update-company.cjs.map +1 -0
  244. package/dist/actions/update-company.d.cts +9 -0
  245. package/dist/actions/update-company.d.cts.map +1 -0
  246. package/dist/actions/update-company.d.mts +9 -0
  247. package/dist/actions/update-company.d.mts.map +1 -0
  248. package/dist/actions/update-company.mjs +50 -0
  249. package/dist/actions/update-company.mjs.map +1 -0
  250. package/dist/actions/update-contact.cjs +38 -0
  251. package/dist/actions/update-contact.cjs.map +1 -0
  252. package/dist/actions/update-contact.d.cts +9 -0
  253. package/dist/actions/update-contact.d.cts.map +1 -0
  254. package/dist/actions/update-contact.d.mts +9 -0
  255. package/dist/actions/update-contact.d.mts.map +1 -0
  256. package/dist/actions/update-contact.mjs +35 -0
  257. package/dist/actions/update-contact.mjs.map +1 -0
  258. package/dist/actions/update-insight.cjs +116 -0
  259. package/dist/actions/update-insight.cjs.map +1 -0
  260. package/dist/actions/update-insight.d.cts +9 -0
  261. package/dist/actions/update-insight.d.cts.map +1 -0
  262. package/dist/actions/update-insight.d.mts +9 -0
  263. package/dist/actions/update-insight.d.mts.map +1 -0
  264. package/dist/actions/update-insight.mjs +115 -0
  265. package/dist/actions/update-insight.mjs.map +1 -0
  266. package/dist/actions/widget-close.cjs +16 -0
  267. package/dist/actions/widget-close.cjs.map +1 -0
  268. package/dist/actions/widget-close.d.cts +9 -0
  269. package/dist/actions/widget-close.d.cts.map +1 -0
  270. package/dist/actions/widget-close.d.mts +9 -0
  271. package/dist/actions/widget-close.d.mts.map +1 -0
  272. package/dist/actions/widget-close.mjs +13 -0
  273. package/dist/actions/widget-close.mjs.map +1 -0
  274. package/dist/actions/widget-disable.cjs +19 -0
  275. package/dist/actions/widget-disable.cjs.map +1 -0
  276. package/dist/actions/widget-disable.d.cts +9 -0
  277. package/dist/actions/widget-disable.d.cts.map +1 -0
  278. package/dist/actions/widget-disable.d.mts +9 -0
  279. package/dist/actions/widget-disable.d.mts.map +1 -0
  280. package/dist/actions/widget-disable.mjs +16 -0
  281. package/dist/actions/widget-disable.mjs.map +1 -0
  282. package/dist/actions/widget-off-event.cjs +26 -0
  283. package/dist/actions/widget-off-event.cjs.map +1 -0
  284. package/dist/actions/widget-off-event.d.cts +9 -0
  285. package/dist/actions/widget-off-event.d.cts.map +1 -0
  286. package/dist/actions/widget-off-event.d.mts +9 -0
  287. package/dist/actions/widget-off-event.d.mts.map +1 -0
  288. package/dist/actions/widget-off-event.mjs +23 -0
  289. package/dist/actions/widget-off-event.mjs.map +1 -0
  290. package/dist/actions/widget-on-event.cjs +24 -0
  291. package/dist/actions/widget-on-event.cjs.map +1 -0
  292. package/dist/actions/widget-on-event.d.cts +9 -0
  293. package/dist/actions/widget-on-event.d.cts.map +1 -0
  294. package/dist/actions/widget-on-event.d.mts +9 -0
  295. package/dist/actions/widget-on-event.d.mts.map +1 -0
  296. package/dist/actions/widget-on-event.mjs +21 -0
  297. package/dist/actions/widget-on-event.mjs.map +1 -0
  298. package/dist/actions/widget-open-docs.cjs +19 -0
  299. package/dist/actions/widget-open-docs.cjs.map +1 -0
  300. package/dist/actions/widget-open-docs.d.cts +9 -0
  301. package/dist/actions/widget-open-docs.d.cts.map +1 -0
  302. package/dist/actions/widget-open-docs.d.mts +9 -0
  303. package/dist/actions/widget-open-docs.d.mts.map +1 -0
  304. package/dist/actions/widget-open-docs.mjs +16 -0
  305. package/dist/actions/widget-open-docs.mjs.map +1 -0
  306. package/dist/actions/widget-open.cjs +21 -0
  307. package/dist/actions/widget-open.cjs.map +1 -0
  308. package/dist/actions/widget-open.d.cts +9 -0
  309. package/dist/actions/widget-open.d.cts.map +1 -0
  310. package/dist/actions/widget-open.d.mts +9 -0
  311. package/dist/actions/widget-open.d.mts.map +1 -0
  312. package/dist/actions/widget-open.mjs +18 -0
  313. package/dist/actions/widget-open.mjs.map +1 -0
  314. package/dist/actions/widget-toggle.cjs +16 -0
  315. package/dist/actions/widget-toggle.cjs.map +1 -0
  316. package/dist/actions/widget-toggle.d.cts +9 -0
  317. package/dist/actions/widget-toggle.d.cts.map +1 -0
  318. package/dist/actions/widget-toggle.d.mts +9 -0
  319. package/dist/actions/widget-toggle.d.mts.map +1 -0
  320. package/dist/actions/widget-toggle.mjs +13 -0
  321. package/dist/actions/widget-toggle.mjs.map +1 -0
  322. package/dist/app.cjs +9 -0
  323. package/dist/app.cjs.map +1 -0
  324. package/dist/app.d.cts +5 -0
  325. package/dist/app.d.cts.map +1 -0
  326. package/dist/app.d.mts +5 -0
  327. package/dist/app.d.mts.map +1 -0
  328. package/dist/app.mjs +10 -0
  329. package/dist/app.mjs.map +1 -0
  330. package/dist/catalog.cjs +15 -0
  331. package/dist/catalog.cjs.map +1 -0
  332. package/dist/catalog.d.cts +14 -0
  333. package/dist/catalog.d.cts.map +1 -0
  334. package/dist/catalog.d.mts +14 -0
  335. package/dist/catalog.d.mts.map +1 -0
  336. package/dist/catalog.mjs +15 -0
  337. package/dist/catalog.mjs.map +1 -0
  338. package/dist/execute.cjs +18 -0
  339. package/dist/execute.cjs.map +1 -0
  340. package/dist/execute.mjs +18 -0
  341. package/dist/execute.mjs.map +1 -0
  342. package/dist/index.cjs +84 -0
  343. package/dist/index.d.cts +42 -0
  344. package/dist/index.d.mts +42 -0
  345. package/dist/index.mjs +43 -0
  346. package/package.json +49 -0
@@ -0,0 +1,115 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-insight.ts
4
+ const ProductlaneUpdateInsightInput = z.object({
5
+ id: z.string().describe("Unique identifier of the insight to update"),
6
+ text: z.string().describe("Updated text content for the insight").optional(),
7
+ state: z.enum([
8
+ "NEW",
9
+ "PROCESSED",
10
+ "COMPLETED",
11
+ "SNOOZED",
12
+ "UNSNOOZED"
13
+ ]).describe("State of the insight").optional(),
14
+ title: z.string().describe("Updated title for the insight").optional(),
15
+ notify: z.object({
16
+ email: z.boolean().describe("Whether to send email notification").optional(),
17
+ slack: z.boolean().describe("Whether to send Slack notification").optional()
18
+ }).describe("Notification settings for the update").optional(),
19
+ tagIds: z.array(z.string()).describe("List of tag IDs to associate with this insight").optional(),
20
+ companyId: z.string().describe("ID of the company to associate with this insight").optional(),
21
+ contactId: z.string().describe("ID of the contact to associate with this insight").optional(),
22
+ painLevel: z.enum([
23
+ "UNKNOWN",
24
+ "LOW",
25
+ "MEDIUM",
26
+ "HIGH"
27
+ ]).describe("Pain level for the insight").optional(),
28
+ projectId: z.string().describe("ID of the project to associate with this insight").optional()
29
+ }).describe("Request model for updating an insight (thread)");
30
+ const ProductlaneUpdateInsight_TagInfoSchema = z.object({
31
+ id: z.string().describe("Unique identifier of the tag"),
32
+ icon: z.string().describe("Icon identifier for the tag"),
33
+ name: z.string().describe("Name of the tag"),
34
+ color: z.string().describe("Color code for the tag"),
35
+ tagGroupId: z.string().describe("ID of the tag group this tag belongs to")
36
+ }).describe("Information about a tag");
37
+ const ProductlaneUpdateInsight_InsightStateSchema = z.enum([
38
+ "NEW",
39
+ "PROCESSED",
40
+ "COMPLETED",
41
+ "SNOOZED",
42
+ "UNSNOOZED"
43
+ ]).describe("State of the insight");
44
+ const ProductlaneUpdateInsight_InsightOriginSchema = z.enum([
45
+ "INAPP",
46
+ "PORTAL",
47
+ "SUPPORT_PORTAL",
48
+ "API",
49
+ "SLACK",
50
+ "SLACK_CONNECT",
51
+ "INTERCOM",
52
+ "INTERCOM_ATTACHMENT",
53
+ "ZENDESK_ATTACHMENT",
54
+ "ZENDESK",
55
+ "FRONT_ATTACHMENT",
56
+ "EMAIL",
57
+ "ZAPIER",
58
+ "HUBSPOT",
59
+ "PLAIN",
60
+ "CALENDAR",
61
+ "WIDGET",
62
+ "AI_CHAT",
63
+ "UPVOTE"
64
+ ]).describe("Origin of the insight");
65
+ const ProductlaneUpdateInsight_PainLevelSchema = z.enum([
66
+ "UNKNOWN",
67
+ "LOW",
68
+ "MEDIUM",
69
+ "HIGH"
70
+ ]).describe("Pain level for the insight");
71
+ const productlaneUpdateInsight = action("PRODUCTLANE_UPDATE_INSIGHT", {
72
+ slug: "productlane-update-insight",
73
+ name: "Update Insight",
74
+ description: "Tool to update an existing insight (thread) by ID. Use when you need to modify insight properties such as title, state, pain level, or associations with projects, companies, or contacts.",
75
+ input: ProductlaneUpdateInsightInput,
76
+ output: z.object({
77
+ id: z.string().describe("Unique identifier of the insight"),
78
+ tags: z.array(ProductlaneUpdateInsight_TagInfoSchema).describe("Tags associated with this insight").nullable().optional(),
79
+ text: z.string().describe("Text content of the insight"),
80
+ state: ProductlaneUpdateInsight_InsightStateSchema.nullable(),
81
+ title: z.string().describe("Title of the insight").nullable().optional(),
82
+ origin: ProductlaneUpdateInsight_InsightOriginSchema.nullable(),
83
+ frontId: z.string().describe("Front ID if from Front").nullable().optional(),
84
+ plainId: z.string().describe("Plain ID if from Plain").nullable().optional(),
85
+ videoId: z.string().describe("ID of associated video").nullable().optional(),
86
+ uniqueId: z.string().describe("Unique identifier for the insight").nullable().optional(),
87
+ companyId: z.string().describe("ID of the associated company").nullable().optional(),
88
+ contactId: z.string().describe("ID of the associated contact").nullable().optional(),
89
+ createdAt: z.string().describe("ISO 8601 timestamp when insight was created"),
90
+ hubspotId: z.string().describe("HubSpot ID if from HubSpot").nullable().optional(),
91
+ isDeleted: z.boolean().describe("Whether the insight has been deleted"),
92
+ painLevel: ProductlaneUpdateInsight_PainLevelSchema.nullable(),
93
+ updatedAt: z.string().describe("ISO 8601 timestamp when insight was last updated"),
94
+ zendeskId: z.string().describe("Zendesk ID if from Zendesk").nullable().optional(),
95
+ assigneeId: z.string().describe("ID of the user assigned to this insight").nullable().optional(),
96
+ intercomId: z.string().describe("Intercom ID if from Intercom").nullable().optional(),
97
+ reporterId: z.string().describe("ID of the user who reported this insight").nullable().optional(),
98
+ attachments: z.array(z.object({})).describe("List of attachments").nullable().optional(),
99
+ recordingId: z.string().describe("ID of associated recording").nullable().optional(),
100
+ workspaceId: z.string().describe("ID of the workspace this insight belongs to"),
101
+ slackReplyId: z.string().describe("Slack reply ID").nullable().optional(),
102
+ snoozedUntil: z.string().describe("ISO 8601 timestamp until when the insight is snoozed").nullable().optional(),
103
+ productboardId: z.string().describe("Productboard ID if linked").nullable().optional(),
104
+ showRecordCall: z.boolean().describe("Whether to show record call option"),
105
+ slackChannelId: z.string().describe("Slack channel ID if from Slack").nullable().optional(),
106
+ lastStateChangeAt: z.string().describe("ISO 8601 timestamp of last state change").nullable().optional(),
107
+ linearAttachmentId: z.string().describe("Linear attachment ID").nullable().optional(),
108
+ lastInboundMessageAt: z.string().describe("ISO 8601 timestamp of last inbound message").nullable().optional(),
109
+ lastOutboundMessageAt: z.string().describe("ISO 8601 timestamp of last outbound message").nullable().optional()
110
+ }).describe("Response model for update insight action")
111
+ });
112
+ //#endregion
113
+ export { productlaneUpdateInsight };
114
+
115
+ //# sourceMappingURL=update-insight.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-insight.mjs","names":[],"sources":["../../src/actions/update-insight.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneUpdateInsightInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the insight to update\"),\n text: z.string().describe(\"Updated text content for the insight\").optional(),\n state: z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight\").optional(),\n title: z.string().describe(\"Updated title for the insight\").optional(),\n notify: z.object({\n email: z.boolean().describe(\"Whether to send email notification\").optional(),\n slack: z.boolean().describe(\"Whether to send Slack notification\").optional(),\n}).describe(\"Notification settings for the update\").optional(),\n tagIds: z.array(z.string()).describe(\"List of tag IDs to associate with this insight\").optional(),\n companyId: z.string().describe(\"ID of the company to associate with this insight\").optional(),\n contactId: z.string().describe(\"ID of the contact to associate with this insight\").optional(),\n painLevel: z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level for the insight\").optional(),\n projectId: z.string().describe(\"ID of the project to associate with this insight\").optional(),\n}).describe(\"Request model for updating an insight (thread)\");\nconst ProductlaneUpdateInsight_TagInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the tag\"),\n icon: z.string().describe(\"Icon identifier for the tag\"),\n name: z.string().describe(\"Name of the tag\"),\n color: z.string().describe(\"Color code for the tag\"),\n tagGroupId: z.string().describe(\"ID of the tag group this tag belongs to\"),\n}).describe(\"Information about a tag\");\nconst ProductlaneUpdateInsight_InsightStateSchema: z.ZodTypeAny = z.enum([\"NEW\", \"PROCESSED\", \"COMPLETED\", \"SNOOZED\", \"UNSNOOZED\"]).describe(\"State of the insight\");\nconst ProductlaneUpdateInsight_InsightOriginSchema: z.ZodTypeAny = z.enum([\"INAPP\", \"PORTAL\", \"SUPPORT_PORTAL\", \"API\", \"SLACK\", \"SLACK_CONNECT\", \"INTERCOM\", \"INTERCOM_ATTACHMENT\", \"ZENDESK_ATTACHMENT\", \"ZENDESK\", \"FRONT_ATTACHMENT\", \"EMAIL\", \"ZAPIER\", \"HUBSPOT\", \"PLAIN\", \"CALENDAR\", \"WIDGET\", \"AI_CHAT\", \"UPVOTE\"]).describe(\"Origin of the insight\");\nconst ProductlaneUpdateInsight_PainLevelSchema: z.ZodTypeAny = z.enum([\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\"]).describe(\"Pain level for the insight\");\nexport const ProductlaneUpdateInsightOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the insight\"),\n tags: z.array(ProductlaneUpdateInsight_TagInfoSchema).describe(\"Tags associated with this insight\").nullable().optional(),\n text: z.string().describe(\"Text content of the insight\"),\n state: ProductlaneUpdateInsight_InsightStateSchema.nullable(),\n title: z.string().describe(\"Title of the insight\").nullable().optional(),\n origin: ProductlaneUpdateInsight_InsightOriginSchema.nullable(),\n frontId: z.string().describe(\"Front ID if from Front\").nullable().optional(),\n plainId: z.string().describe(\"Plain ID if from Plain\").nullable().optional(),\n videoId: z.string().describe(\"ID of associated video\").nullable().optional(),\n uniqueId: z.string().describe(\"Unique identifier for the insight\").nullable().optional(),\n companyId: z.string().describe(\"ID of the associated company\").nullable().optional(),\n contactId: z.string().describe(\"ID of the associated contact\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when insight was created\"),\n hubspotId: z.string().describe(\"HubSpot ID if from HubSpot\").nullable().optional(),\n isDeleted: z.boolean().describe(\"Whether the insight has been deleted\"),\n painLevel: ProductlaneUpdateInsight_PainLevelSchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when insight was last updated\"),\n zendeskId: z.string().describe(\"Zendesk ID if from Zendesk\").nullable().optional(),\n assigneeId: z.string().describe(\"ID of the user assigned to this insight\").nullable().optional(),\n intercomId: z.string().describe(\"Intercom ID if from Intercom\").nullable().optional(),\n reporterId: z.string().describe(\"ID of the user who reported this insight\").nullable().optional(),\n attachments: z.array(z.object({})).describe(\"List of attachments\").nullable().optional(),\n recordingId: z.string().describe(\"ID of associated recording\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this insight belongs to\"),\n slackReplyId: z.string().describe(\"Slack reply ID\").nullable().optional(),\n snoozedUntil: z.string().describe(\"ISO 8601 timestamp until when the insight is snoozed\").nullable().optional(),\n productboardId: z.string().describe(\"Productboard ID if linked\").nullable().optional(),\n showRecordCall: z.boolean().describe(\"Whether to show record call option\"),\n slackChannelId: z.string().describe(\"Slack channel ID if from Slack\").nullable().optional(),\n lastStateChangeAt: z.string().describe(\"ISO 8601 timestamp of last state change\").nullable().optional(),\n linearAttachmentId: z.string().describe(\"Linear attachment ID\").nullable().optional(),\n lastInboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last inbound message\").nullable().optional(),\n lastOutboundMessageAt: z.string().describe(\"ISO 8601 timestamp of last outbound message\").nullable().optional(),\n}).describe(\"Response model for update insight action\");\n\nexport const productlaneUpdateInsight = action(\"PRODUCTLANE_UPDATE_INSIGHT\", {\n slug: \"productlane-update-insight\",\n name: \"Update Insight\",\n description: \"Tool to update an existing insight (thread) by ID. Use when you need to modify insight properties such as title, state, pain level, or associations with projects, companies, or contacts.\",\n input: ProductlaneUpdateInsightInput,\n output: ProductlaneUpdateInsightOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/widget-close.ts
4
+ const ProductlaneWidgetCloseInput = zod.z.object({}).describe("Request model for closing the Productlane widget.\nNo parameters are required.");
5
+ const ProductlaneWidgetCloseOutput = zod.z.object({ script: zod.z.string().describe("HTML <script> tag containing JavaScript to close the Productlane widget.") }).describe("Response model for closing the Productlane widget.");
6
+ const productlaneWidgetClose = require_action.action("PRODUCTLANE_WIDGET_CLOSE", {
7
+ slug: "productlane-widget-close",
8
+ name: "Close Productlane Widget",
9
+ description: "Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.",
10
+ input: ProductlaneWidgetCloseInput,
11
+ output: ProductlaneWidgetCloseOutput
12
+ });
13
+ //#endregion
14
+ exports.productlaneWidgetClose = productlaneWidgetClose;
15
+
16
+ //# sourceMappingURL=widget-close.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-close.cjs","names":["z","action"],"sources":["../../src/actions/widget-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetCloseInput: z.ZodTypeAny = z.object({}).describe(\"Request model for closing the Productlane widget.\\nNo parameters are required.\");\nexport const ProductlaneWidgetCloseOutput: z.ZodTypeAny = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to close the Productlane widget.\"),\n}).describe(\"Response model for closing the Productlane widget.\");\n\nexport const productlaneWidgetClose = action(\"PRODUCTLANE_WIDGET_CLOSE\", {\n slug: \"productlane-widget-close\",\n name: \"Close Productlane Widget\",\n description: \"Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.\",\n input: ProductlaneWidgetCloseInput,\n output: ProductlaneWidgetCloseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC/J,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EACxG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-close.d.ts
4
+ declare const ProductlaneWidgetCloseInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetCloseOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetClose: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetClose };
9
+ //# sourceMappingURL=widget-close.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-close.d.cts","names":[],"sources":["../../src/actions/widget-close.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAoH;AAAA,cACnJ,4BAAA,EAA8B,CAAA,CAAE,UAEoB;AAAA,cAEpD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-close.d.ts
4
+ declare const ProductlaneWidgetCloseInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetCloseOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetClose: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetClose };
9
+ //# sourceMappingURL=widget-close.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-close.d.mts","names":[],"sources":["../../src/actions/widget-close.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAoH;AAAA,cACnJ,4BAAA,EAA8B,CAAA,CAAE,UAEoB;AAAA,cAEpD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const productlaneWidgetClose = action("PRODUCTLANE_WIDGET_CLOSE", {
4
+ slug: "productlane-widget-close",
5
+ name: "Close Productlane Widget",
6
+ description: "Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.",
7
+ input: z.object({}).describe("Request model for closing the Productlane widget.\nNo parameters are required."),
8
+ output: z.object({ script: z.string().describe("HTML <script> tag containing JavaScript to close the Productlane widget.") }).describe("Response model for closing the Productlane widget.")
9
+ });
10
+ //#endregion
11
+ export { productlaneWidgetClose };
12
+
13
+ //# sourceMappingURL=widget-close.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-close.mjs","names":[],"sources":["../../src/actions/widget-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetCloseInput: z.ZodTypeAny = z.object({}).describe(\"Request model for closing the Productlane widget.\\nNo parameters are required.\");\nexport const ProductlaneWidgetCloseOutput: z.ZodTypeAny = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to close the Productlane widget.\"),\n}).describe(\"Response model for closing the Productlane widget.\");\n\nexport const productlaneWidgetClose = action(\"PRODUCTLANE_WIDGET_CLOSE\", {\n slug: \"productlane-widget-close\",\n name: \"Close Productlane Widget\",\n description: \"Tool to close the Productlane widget. Use when you need to hide the widget after completing an interaction.\",\n input: ProductlaneWidgetCloseInput,\n output: ProductlaneWidgetCloseOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAStE;CACP,QATwD,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EACxG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/widget-disable.ts
4
+ const ProductlaneWidgetDisableInput = zod.z.object({}).describe("No parameters required to disable the Productlane widget.");
5
+ const ProductlaneWidgetDisableOutput = zod.z.object({
6
+ message: zod.z.string().describe("Client-side instruction to invoke Productlane.disable()"),
7
+ success: zod.z.boolean().describe("True if the widget disable instruction was generated successfully")
8
+ }).describe("Response schema for disabling the Productlane widget.");
9
+ const productlaneWidgetDisable = require_action.action("PRODUCTLANE_WIDGET_DISABLE", {
10
+ slug: "productlane-widget-disable",
11
+ name: "Disable Productlane Widget",
12
+ description: "Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.",
13
+ input: ProductlaneWidgetDisableInput,
14
+ output: ProductlaneWidgetDisableOutput
15
+ });
16
+ //#endregion
17
+ exports.productlaneWidgetDisable = productlaneWidgetDisable;
18
+
19
+ //# sourceMappingURL=widget-disable.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-disable.cjs","names":["z","action"],"sources":["../../src/actions/widget-disable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetDisableInput: z.ZodTypeAny = z.object({}).describe(\"No parameters required to disable the Productlane widget.\");\nexport const ProductlaneWidgetDisableOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Client-side instruction to invoke Productlane.disable()\"),\n success: z.boolean().describe(\"True if the widget disable instruction was generated successfully\"),\n}).describe(\"Response schema for disabling the Productlane widget.\");\n\nexport const productlaneWidgetDisable = action(\"PRODUCTLANE_WIDGET_DISABLE\", {\n slug: \"productlane-widget-disable\",\n name: \"Disable Productlane Widget\",\n description: \"Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.\",\n input: ProductlaneWidgetDisableInput,\n output: ProductlaneWidgetDisableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC5I,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACtF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE;AACnG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-disable.d.ts
4
+ declare const ProductlaneWidgetDisableInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetDisableOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetDisable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetDisable };
9
+ //# sourceMappingURL=widget-disable.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-disable.d.cts","names":[],"sources":["../../src/actions/widget-disable.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA+F;AAAA,cAChI,8BAAA,EAAgC,CAAA,CAAE,UAGqB;AAAA,cAEvD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-disable.d.ts
4
+ declare const ProductlaneWidgetDisableInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetDisableOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetDisable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetDisable };
9
+ //# sourceMappingURL=widget-disable.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-disable.d.mts","names":[],"sources":["../../src/actions/widget-disable.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA+F;AAAA,cAChI,8BAAA,EAAgC,CAAA,CAAE,UAGqB;AAAA,cAEvD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const productlaneWidgetDisable = action("PRODUCTLANE_WIDGET_DISABLE", {
4
+ slug: "productlane-widget-disable",
5
+ name: "Disable Productlane Widget",
6
+ description: "Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.",
7
+ input: z.object({}).describe("No parameters required to disable the Productlane widget."),
8
+ output: z.object({
9
+ message: z.string().describe("Client-side instruction to invoke Productlane.disable()"),
10
+ success: z.boolean().describe("True if the widget disable instruction was generated successfully")
11
+ }).describe("Response schema for disabling the Productlane widget.")
12
+ });
13
+ //#endregion
14
+ export { productlaneWidgetDisable };
15
+
16
+ //# sourceMappingURL=widget-disable.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-disable.mjs","names":[],"sources":["../../src/actions/widget-disable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetDisableInput: z.ZodTypeAny = z.object({}).describe(\"No parameters required to disable the Productlane widget.\");\nexport const ProductlaneWidgetDisableOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Client-side instruction to invoke Productlane.disable()\"),\n success: z.boolean().describe(\"True if the widget disable instruction was generated successfully\"),\n}).describe(\"Response schema for disabling the Productlane widget.\");\n\nexport const productlaneWidgetDisable = action(\"PRODUCTLANE_WIDGET_DISABLE\", {\n slug: \"productlane-widget-disable\",\n name: \"Disable Productlane Widget\",\n description: \"Tool to disable the Productlane widget across the entire page. Use when needing to turn off the widget programmatically.\",\n input: ProductlaneWidgetDisableInput,\n output: ProductlaneWidgetDisableOutput,\n});\n"],"mappings":";;AAUA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVyD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAUxE;CACP,QAV0D,EAAE,OAAO;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACtF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE;CACnG,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/widget-off-event.ts
4
+ const ProductlaneWidgetOffEventInput = zod.z.object({
5
+ event: zod.z.enum([
6
+ "loaded",
7
+ "opened",
8
+ "closed",
9
+ "toggled",
10
+ "customLinkClicked",
11
+ "openDocsPage"
12
+ ]).describe("The widget event name to unregister."),
13
+ callback: zod.z.string().describe("The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().")
14
+ }).describe("Request model for removing a widget event listener.");
15
+ const ProductlaneWidgetOffEventOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript code snippet that calls Productlane.off for the specified event and callback.") }).describe("Response model containing the JavaScript snippet to remove the widget event listener.");
16
+ const productlaneWidgetOffEvent = require_action.action("PRODUCTLANE_WIDGET_OFF_EVENT", {
17
+ slug: "productlane-widget-off-event",
18
+ name: "Widget off event",
19
+ description: "Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.",
20
+ input: ProductlaneWidgetOffEventInput,
21
+ output: ProductlaneWidgetOffEventOutput
22
+ });
23
+ //#endregion
24
+ exports.productlaneWidgetOffEvent = productlaneWidgetOffEvent;
25
+
26
+ //# sourceMappingURL=widget-off-event.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-off-event.cjs","names":["z","action"],"sources":["../../src/actions/widget-off-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOffEventInput: z.ZodTypeAny = z.object({\n event: z.enum([\"loaded\", \"opened\", \"closed\", \"toggled\", \"customLinkClicked\", \"openDocsPage\"]).describe(\"The widget event name to unregister.\"),\n callback: z.string().describe(\"The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().\"),\n}).describe(\"Request model for removing a widget event listener.\");\nexport const ProductlaneWidgetOffEventOutput: z.ZodTypeAny = z.object({\n snippet: z.string().describe(\"JavaScript code snippet that calls Productlane.off for the specified event and callback.\"),\n}).describe(\"Response model containing the JavaScript snippet to remove the widget event listener.\");\n\nexport const productlaneWidgetOffEvent = action(\"PRODUCTLANE_WIDGET_OFF_EVENT\", {\n slug: \"productlane-widget-off-event\",\n name: \"Widget off event\",\n description: \"Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.\",\n input: ProductlaneWidgetOffEventInput,\n output: ProductlaneWidgetOffEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAU;EAAU;EAAW;EAAqB;CAAc,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;AACpJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EACzH,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAEnG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-off-event.d.ts
4
+ declare const ProductlaneWidgetOffEventInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetOffEventOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetOffEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetOffEvent };
9
+ //# sourceMappingURL=widget-off-event.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-off-event.d.cts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGmB;AAAA,cACrD,+BAAA,EAAiC,CAAA,CAAE,UAEoD;AAAA,cAEvF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-off-event.d.ts
4
+ declare const ProductlaneWidgetOffEventInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetOffEventOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetOffEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetOffEvent };
9
+ //# sourceMappingURL=widget-off-event.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-off-event.d.mts","names":[],"sources":["../../src/actions/widget-off-event.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGmB;AAAA,cACrD,+BAAA,EAAiC,CAAA,CAAE,UAEoD;AAAA,cAEvF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const productlaneWidgetOffEvent = action("PRODUCTLANE_WIDGET_OFF_EVENT", {
4
+ slug: "productlane-widget-off-event",
5
+ name: "Widget off event",
6
+ description: "Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.",
7
+ input: z.object({
8
+ event: z.enum([
9
+ "loaded",
10
+ "opened",
11
+ "closed",
12
+ "toggled",
13
+ "customLinkClicked",
14
+ "openDocsPage"
15
+ ]).describe("The widget event name to unregister."),
16
+ callback: z.string().describe("The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().")
17
+ }).describe("Request model for removing a widget event listener."),
18
+ output: z.object({ snippet: z.string().describe("JavaScript code snippet that calls Productlane.off for the specified event and callback.") }).describe("Response model containing the JavaScript snippet to remove the widget event listener.")
19
+ });
20
+ //#endregion
21
+ export { productlaneWidgetOffEvent };
22
+
23
+ //# sourceMappingURL=widget-off-event.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-off-event.mjs","names":[],"sources":["../../src/actions/widget-off-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOffEventInput: z.ZodTypeAny = z.object({\n event: z.enum([\"loaded\", \"opened\", \"closed\", \"toggled\", \"customLinkClicked\", \"openDocsPage\"]).describe(\"The widget event name to unregister.\"),\n callback: z.string().describe(\"The JavaScript callback function reference to remove. Must match the original function passed to Productlane.on().\"),\n}).describe(\"Request model for removing a widget event listener.\");\nexport const ProductlaneWidgetOffEventOutput: z.ZodTypeAny = z.object({\n snippet: z.string().describe(\"JavaScript code snippet that calls Productlane.off for the specified event and callback.\"),\n}).describe(\"Response model containing the JavaScript snippet to remove the widget event listener.\");\n\nexport const productlaneWidgetOffEvent = action(\"PRODUCTLANE_WIDGET_OFF_EVENT\", {\n slug: \"productlane-widget-off-event\",\n name: \"Widget off event\",\n description: \"Tool to remove a previously registered widget event listener. Use after widget setup to deregister callbacks.\",\n input: ProductlaneWidgetOffEventInput,\n output: ProductlaneWidgetOffEventOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO;EACnE,OAAO,EAAE,KAAK;GAAC;GAAU;GAAU;GAAU;GAAW;GAAqB;EAAc,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CACpJ,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EACzH,CAAC,CAAC,CAAC,SAAS,uFAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/widget-on-event.ts
4
+ const ProductlaneWidgetOnEventInput = zod.z.object({
5
+ event: zod.z.enum([
6
+ "open",
7
+ "close",
8
+ "widgetLoaded",
9
+ "submit"
10
+ ]).describe("Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'."),
11
+ callback: zod.z.string().describe("JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.")
12
+ }).describe("Request model for registering a widget event listener.");
13
+ const ProductlaneWidgetOnEventOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript code snippet to register the event listener.") }).describe("Response model containing the JS snippet for widget event registration.");
14
+ const productlaneWidgetOnEvent = require_action.action("PRODUCTLANE_WIDGET_ON_EVENT", {
15
+ slug: "productlane-widget-on-event",
16
+ name: "Register Widget Event Listener",
17
+ description: "Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.",
18
+ input: ProductlaneWidgetOnEventInput,
19
+ output: ProductlaneWidgetOnEventOutput
20
+ });
21
+ //#endregion
22
+ exports.productlaneWidgetOnEvent = productlaneWidgetOnEvent;
23
+
24
+ //# sourceMappingURL=widget-on-event.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-on-event.cjs","names":["z","action"],"sources":["../../src/actions/widget-on-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOnEventInput: z.ZodTypeAny = z.object({\n event: z.enum([\"open\", \"close\", \"widgetLoaded\", \"submit\"]).describe(\"Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'.\"),\n callback: z.string().describe(\"JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.\"),\n}).describe(\"Request model for registering a widget event listener.\");\nexport const ProductlaneWidgetOnEventOutput: z.ZodTypeAny = z.object({\n snippet: z.string().describe(\"JavaScript code snippet to register the event listener.\"),\n}).describe(\"Response model containing the JS snippet for widget event registration.\");\n\nexport const productlaneWidgetOnEvent = action(\"PRODUCTLANE_WIDGET_ON_EVENT\", {\n slug: \"productlane-widget-on-event\",\n name: \"Register Widget Event Listener\",\n description: \"Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.\",\n input: ProductlaneWidgetOnEventInput,\n output: ProductlaneWidgetOnEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAgB;CAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;AAC7I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACxF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-on-event.d.ts
4
+ declare const ProductlaneWidgetOnEventInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetOnEventOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetOnEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetOnEvent };
9
+ //# sourceMappingURL=widget-on-event.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-on-event.d.cts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGuB;AAAA,cACxD,8BAAA,EAAgC,CAAA,CAAE,UAEuC;AAAA,cAEzE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-on-event.d.ts
4
+ declare const ProductlaneWidgetOnEventInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetOnEventOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetOnEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetOnEvent };
9
+ //# sourceMappingURL=widget-on-event.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-on-event.d.mts","names":[],"sources":["../../src/actions/widget-on-event.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGuB;AAAA,cACxD,8BAAA,EAAgC,CAAA,CAAE,UAEuC;AAAA,cAEzE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const productlaneWidgetOnEvent = action("PRODUCTLANE_WIDGET_ON_EVENT", {
4
+ slug: "productlane-widget-on-event",
5
+ name: "Register Widget Event Listener",
6
+ description: "Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.",
7
+ input: z.object({
8
+ event: z.enum([
9
+ "open",
10
+ "close",
11
+ "widgetLoaded",
12
+ "submit"
13
+ ]).describe("Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'."),
14
+ callback: z.string().describe("JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.")
15
+ }).describe("Request model for registering a widget event listener."),
16
+ output: z.object({ snippet: z.string().describe("JavaScript code snippet to register the event listener.") }).describe("Response model containing the JS snippet for widget event registration.")
17
+ });
18
+ //#endregion
19
+ export { productlaneWidgetOnEvent };
20
+
21
+ //# sourceMappingURL=widget-on-event.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-on-event.mjs","names":[],"sources":["../../src/actions/widget-on-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOnEventInput: z.ZodTypeAny = z.object({\n event: z.enum([\"open\", \"close\", \"widgetLoaded\", \"submit\"]).describe(\"Name of the widget event to listen for. Supported events: 'open', 'close', 'widgetLoaded', 'submit'.\"),\n callback: z.string().describe(\"JavaScript function or arrow function to execute when the event fires. E.g., '(data) => console.log(data)'.\"),\n}).describe(\"Request model for registering a widget event listener.\");\nexport const ProductlaneWidgetOnEventOutput: z.ZodTypeAny = z.object({\n snippet: z.string().describe(\"JavaScript code snippet to register the event listener.\"),\n}).describe(\"Response model containing the JS snippet for widget event registration.\");\n\nexport const productlaneWidgetOnEvent = action(\"PRODUCTLANE_WIDGET_ON_EVENT\", {\n slug: \"productlane-widget-on-event\",\n name: \"Register Widget Event Listener\",\n description: \"Tool to register a listener for Productlane widget events. Use after widget initialization to run custom logic on 'open', 'close', 'submit', or 'widgetLoaded' events.\",\n input: ProductlaneWidgetOnEventInput,\n output: ProductlaneWidgetOnEventOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyD,EAAE,OAAO;EAClE,OAAO,EAAE,KAAK;GAAC;GAAQ;GAAS;GAAgB;EAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG;EAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC7I,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACxF,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/widget-open-docs.ts
4
+ const ProductlaneWidgetOpenDocsInput = zod.z.object({
5
+ document_id: zod.z.string().describe("Internal ID of the docs article. Provide either this or document_url_name.").optional(),
6
+ document_url_name: zod.z.string().describe("URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.").optional()
7
+ }).describe("Request model for opening a specific documentation article in the Productlane widget.\n\nEither `document_url_name` or `document_id` must be provided (but not both).");
8
+ const ProductlaneWidgetOpenDocsOutput = zod.z.object({ script: zod.z.string().describe("JavaScript snippet to execute on the client to open the documentation article.") }).describe("Response model containing the JavaScript snippet to open the targeted docs article.");
9
+ const productlaneWidgetOpenDocs = require_action.action("PRODUCTLANE_WIDGET_OPEN_DOCS", {
10
+ slug: "productlane-widget-open-docs",
11
+ name: "Open Productlane Docs Article in Widget",
12
+ description: "Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.",
13
+ input: ProductlaneWidgetOpenDocsInput,
14
+ output: ProductlaneWidgetOpenDocsOutput
15
+ });
16
+ //#endregion
17
+ exports.productlaneWidgetOpenDocs = productlaneWidgetOpenDocs;
18
+
19
+ //# sourceMappingURL=widget-open-docs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-open-docs.cjs","names":["z","action"],"sources":["../../src/actions/widget-open-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenDocsInput: z.ZodTypeAny = z.object({\n document_id: z.string().describe(\"Internal ID of the docs article. Provide either this or document_url_name.\").optional(),\n document_url_name: z.string().describe(\"URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.\").optional(),\n}).describe(\"Request model for opening a specific documentation article in the Productlane widget.\\n\\nEither `document_url_name` or `document_id` must be provided (but not both).\");\nexport const ProductlaneWidgetOpenDocsOutput: z.ZodTypeAny = z.object({\n script: z.string().describe(\"JavaScript snippet to execute on the client to open the documentation article.\"),\n}).describe(\"Response model containing the JavaScript snippet to open the targeted docs article.\");\n\nexport const productlaneWidgetOpenDocs = action(\"PRODUCTLANE_WIDGET_OPEN_DOCS\", {\n slug: \"productlane-widget-open-docs\",\n name: \"Open Productlane Docs Article in Widget\",\n description: \"Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.\",\n input: ProductlaneWidgetOpenDocsInput,\n output: ProductlaneWidgetOpenDocsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uKAAuK;AACnL,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAC9G,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAEjG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-open-docs.d.ts
4
+ declare const ProductlaneWidgetOpenDocsInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetOpenDocsOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetOpenDocs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetOpenDocs };
9
+ //# sourceMappingURL=widget-open-docs.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-open-docs.d.cts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGqI;AAAA,cACvK,+BAAA,EAAiC,CAAA,CAAE,UAEkD;AAAA,cAErF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/widget-open-docs.d.ts
4
+ declare const ProductlaneWidgetOpenDocsInput: z.ZodTypeAny;
5
+ declare const ProductlaneWidgetOpenDocsOutput: z.ZodTypeAny;
6
+ declare const productlaneWidgetOpenDocs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { productlaneWidgetOpenDocs };
9
+ //# sourceMappingURL=widget-open-docs.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-open-docs.d.mts","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGqI;AAAA,cACvK,+BAAA,EAAiC,CAAA,CAAE,UAEkD;AAAA,cAErF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const productlaneWidgetOpenDocs = action("PRODUCTLANE_WIDGET_OPEN_DOCS", {
4
+ slug: "productlane-widget-open-docs",
5
+ name: "Open Productlane Docs Article in Widget",
6
+ description: "Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.",
7
+ input: z.object({
8
+ document_id: z.string().describe("Internal ID of the docs article. Provide either this or document_url_name.").optional(),
9
+ document_url_name: z.string().describe("URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.").optional()
10
+ }).describe("Request model for opening a specific documentation article in the Productlane widget.\n\nEither `document_url_name` or `document_id` must be provided (but not both)."),
11
+ output: z.object({ script: z.string().describe("JavaScript snippet to execute on the client to open the documentation article.") }).describe("Response model containing the JavaScript snippet to open the targeted docs article.")
12
+ });
13
+ //#endregion
14
+ export { productlaneWidgetOpenDocs };
15
+
16
+ //# sourceMappingURL=widget-open-docs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-open-docs.mjs","names":[],"sources":["../../src/actions/widget-open-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenDocsInput: z.ZodTypeAny = z.object({\n document_id: z.string().describe(\"Internal ID of the docs article. Provide either this or document_url_name.\").optional(),\n document_url_name: z.string().describe(\"URL path of the docs article, e.g., 'get-started/quickstart'. Provide either this or document_id.\").optional(),\n}).describe(\"Request model for opening a specific documentation article in the Productlane widget.\\n\\nEither `document_url_name` or `document_id` must be provided (but not both).\");\nexport const ProductlaneWidgetOpenDocsOutput: z.ZodTypeAny = z.object({\n script: z.string().describe(\"JavaScript snippet to execute on the client to open the documentation article.\"),\n}).describe(\"Response model containing the JavaScript snippet to open the targeted docs article.\");\n\nexport const productlaneWidgetOpenDocs = action(\"PRODUCTLANE_WIDGET_OPEN_DOCS\", {\n slug: \"productlane-widget-open-docs\",\n name: \"Open Productlane Docs Article in Widget\",\n description: \"Tool to open a specific docs article in the Productlane widget. Use after widget initialization and load.\",\n input: ProductlaneWidgetOpenDocsInput,\n output: ProductlaneWidgetOpenDocsOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,uKASH;CACP,QAT2D,EAAE,OAAO,EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAC9G,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
@@ -0,0 +1,21 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/widget-open.ts
4
+ const ProductlaneWidgetOpenInput = zod.z.object({ view: zod.z.enum([
5
+ "INDEX",
6
+ "CHANGELOG",
7
+ "DOCS",
8
+ "FEEDBACK"
9
+ ]).describe("The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.").optional() });
10
+ const ProductlaneWidgetOpenOutput = zod.z.object({ script: zod.z.string().describe("HTML <script> tag containing JavaScript to open the Productlane widget.") });
11
+ const productlaneWidgetOpen = require_action.action("PRODUCTLANE_WIDGET_OPEN", {
12
+ slug: "productlane-widget-open",
13
+ name: "Open Productlane Widget",
14
+ description: "Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.",
15
+ input: ProductlaneWidgetOpenInput,
16
+ output: ProductlaneWidgetOpenOutput
17
+ });
18
+ //#endregion
19
+ exports.productlaneWidgetOpen = productlaneWidgetOpen;
20
+
21
+ //# sourceMappingURL=widget-open.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-open.cjs","names":["z","action"],"sources":["../../src/actions/widget-open.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProductlaneWidgetOpenInput: z.ZodTypeAny = z.object({\n view: z.enum([\"INDEX\", \"CHANGELOG\", \"DOCS\", \"FEEDBACK\"]).describe(\"The widget view to open. Valid values: 'INDEX', 'CHANGELOG', 'DOCS', 'FEEDBACK'. Defaults to 'INDEX' if not provided.\").optional(),\n});\nexport const ProductlaneWidgetOpenOutput: z.ZodTypeAny = z.object({\n script: z.string().describe(\"HTML <script> tag containing JavaScript to open the Productlane widget.\"),\n});\n\nexport const productlaneWidgetOpen = action(\"PRODUCTLANE_WIDGET_OPEN\", {\n slug: \"productlane-widget-open\",\n name: \"Open Productlane Widget\",\n description: \"Tool to generate a JavaScript snippet that opens the Productlane widget. Use when you need to programmatically display the widget on your front-end after page load.\",\n input: ProductlaneWidgetOpenInput,\n output: ProductlaneWidgetOpenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAa;CAAQ;AAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,EACtM,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACvG,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}