@keystrokehq/salesflare 0.1.4 → 0.1.6

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 (517) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-account-contacts.cjs +1 -0
  4. package/dist/actions/add-account-contacts.cjs.map +1 -1
  5. package/dist/actions/add-account-contacts.d.cts +3 -7
  6. package/dist/actions/add-account-contacts.d.cts.map +1 -1
  7. package/dist/actions/add-account-contacts.d.mts +3 -7
  8. package/dist/actions/add-account-contacts.d.mts.map +1 -1
  9. package/dist/actions/add-account-contacts.mjs +1 -0
  10. package/dist/actions/add-account-contacts.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs +1 -0
  12. package/dist/actions/create-account.cjs.map +1 -1
  13. package/dist/actions/create-account.d.cts +3 -41
  14. package/dist/actions/create-account.d.cts.map +1 -1
  15. package/dist/actions/create-account.d.mts +3 -41
  16. package/dist/actions/create-account.d.mts.map +1 -1
  17. package/dist/actions/create-account.mjs +1 -0
  18. package/dist/actions/create-account.mjs.map +1 -1
  19. package/dist/actions/create-call.cjs +1 -0
  20. package/dist/actions/create-call.cjs.map +1 -1
  21. package/dist/actions/create-call.d.cts +3 -13
  22. package/dist/actions/create-call.d.cts.map +1 -1
  23. package/dist/actions/create-call.d.mts +3 -13
  24. package/dist/actions/create-call.d.mts.map +1 -1
  25. package/dist/actions/create-call.mjs +1 -0
  26. package/dist/actions/create-call.mjs.map +1 -1
  27. package/dist/actions/create-contact.cjs +1 -0
  28. package/dist/actions/create-contact.cjs.map +1 -1
  29. package/dist/actions/create-contact.d.cts +3 -58
  30. package/dist/actions/create-contact.d.cts.map +1 -1
  31. package/dist/actions/create-contact.d.mts +3 -58
  32. package/dist/actions/create-contact.d.mts.map +1 -1
  33. package/dist/actions/create-contact.mjs +1 -0
  34. package/dist/actions/create-contact.mjs.map +1 -1
  35. package/dist/actions/create-custom-field.cjs +1 -0
  36. package/dist/actions/create-custom-field.cjs.map +1 -1
  37. package/dist/actions/create-custom-field.d.cts +3 -24
  38. package/dist/actions/create-custom-field.d.cts.map +1 -1
  39. package/dist/actions/create-custom-field.d.mts +3 -24
  40. package/dist/actions/create-custom-field.d.mts.map +1 -1
  41. package/dist/actions/create-custom-field.mjs +1 -0
  42. package/dist/actions/create-custom-field.mjs.map +1 -1
  43. package/dist/actions/create-internal-note.cjs +1 -0
  44. package/dist/actions/create-internal-note.cjs.map +1 -1
  45. package/dist/actions/create-internal-note.d.cts +3 -6
  46. package/dist/actions/create-internal-note.d.cts.map +1 -1
  47. package/dist/actions/create-internal-note.d.mts +3 -6
  48. package/dist/actions/create-internal-note.d.mts.map +1 -1
  49. package/dist/actions/create-internal-note.mjs +1 -0
  50. package/dist/actions/create-internal-note.mjs.map +1 -1
  51. package/dist/actions/create-meeting.cjs +1 -0
  52. package/dist/actions/create-meeting.cjs.map +1 -1
  53. package/dist/actions/create-meeting.d.cts +3 -12
  54. package/dist/actions/create-meeting.d.cts.map +1 -1
  55. package/dist/actions/create-meeting.d.mts +3 -12
  56. package/dist/actions/create-meeting.d.mts.map +1 -1
  57. package/dist/actions/create-meeting.mjs +1 -0
  58. package/dist/actions/create-meeting.mjs.map +1 -1
  59. package/dist/actions/create-opportunity.cjs +1 -0
  60. package/dist/actions/create-opportunity.cjs.map +1 -1
  61. package/dist/actions/create-opportunity.d.cts +3 -24
  62. package/dist/actions/create-opportunity.d.cts.map +1 -1
  63. package/dist/actions/create-opportunity.d.mts +3 -24
  64. package/dist/actions/create-opportunity.d.mts.map +1 -1
  65. package/dist/actions/create-opportunity.mjs +1 -0
  66. package/dist/actions/create-opportunity.mjs.map +1 -1
  67. package/dist/actions/create-tag.cjs +1 -0
  68. package/dist/actions/create-tag.cjs.map +1 -1
  69. package/dist/actions/create-tag.d.cts +3 -3
  70. package/dist/actions/create-tag.d.cts.map +1 -1
  71. package/dist/actions/create-tag.d.mts +3 -3
  72. package/dist/actions/create-tag.d.mts.map +1 -1
  73. package/dist/actions/create-tag.mjs +1 -0
  74. package/dist/actions/create-tag.mjs.map +1 -1
  75. package/dist/actions/create-task.cjs +1 -0
  76. package/dist/actions/create-task.cjs.map +1 -1
  77. package/dist/actions/create-task.d.cts +3 -6
  78. package/dist/actions/create-task.d.cts.map +1 -1
  79. package/dist/actions/create-task.d.mts +3 -6
  80. package/dist/actions/create-task.d.mts.map +1 -1
  81. package/dist/actions/create-task.mjs +1 -0
  82. package/dist/actions/create-task.mjs.map +1 -1
  83. package/dist/actions/create-workflow.cjs +1 -0
  84. package/dist/actions/create-workflow.cjs.map +1 -1
  85. package/dist/actions/create-workflow.d.cts +3 -68
  86. package/dist/actions/create-workflow.d.cts.map +1 -1
  87. package/dist/actions/create-workflow.d.mts +3 -68
  88. package/dist/actions/create-workflow.d.mts.map +1 -1
  89. package/dist/actions/create-workflow.mjs +1 -0
  90. package/dist/actions/create-workflow.mjs.map +1 -1
  91. package/dist/actions/delete-account.cjs +1 -0
  92. package/dist/actions/delete-account.cjs.map +1 -1
  93. package/dist/actions/delete-account.d.cts +3 -3
  94. package/dist/actions/delete-account.d.cts.map +1 -1
  95. package/dist/actions/delete-account.d.mts +3 -3
  96. package/dist/actions/delete-account.d.mts.map +1 -1
  97. package/dist/actions/delete-account.mjs +1 -0
  98. package/dist/actions/delete-account.mjs.map +1 -1
  99. package/dist/actions/delete-contact.cjs +1 -0
  100. package/dist/actions/delete-contact.cjs.map +1 -1
  101. package/dist/actions/delete-contact.d.cts +3 -3
  102. package/dist/actions/delete-contact.d.cts.map +1 -1
  103. package/dist/actions/delete-contact.d.mts +3 -3
  104. package/dist/actions/delete-contact.d.mts.map +1 -1
  105. package/dist/actions/delete-contact.mjs +1 -0
  106. package/dist/actions/delete-contact.mjs.map +1 -1
  107. package/dist/actions/delete-custom-field.cjs +1 -0
  108. package/dist/actions/delete-custom-field.cjs.map +1 -1
  109. package/dist/actions/delete-custom-field.d.cts +3 -4
  110. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  111. package/dist/actions/delete-custom-field.d.mts +3 -4
  112. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  113. package/dist/actions/delete-custom-field.mjs +1 -0
  114. package/dist/actions/delete-custom-field.mjs.map +1 -1
  115. package/dist/actions/delete-internal-note.cjs +1 -0
  116. package/dist/actions/delete-internal-note.cjs.map +1 -1
  117. package/dist/actions/delete-internal-note.d.cts +3 -3
  118. package/dist/actions/delete-internal-note.d.cts.map +1 -1
  119. package/dist/actions/delete-internal-note.d.mts +3 -3
  120. package/dist/actions/delete-internal-note.d.mts.map +1 -1
  121. package/dist/actions/delete-internal-note.mjs +1 -0
  122. package/dist/actions/delete-internal-note.mjs.map +1 -1
  123. package/dist/actions/delete-meeting.cjs +1 -0
  124. package/dist/actions/delete-meeting.cjs.map +1 -1
  125. package/dist/actions/delete-meeting.d.cts +3 -3
  126. package/dist/actions/delete-meeting.d.cts.map +1 -1
  127. package/dist/actions/delete-meeting.d.mts +3 -3
  128. package/dist/actions/delete-meeting.d.mts.map +1 -1
  129. package/dist/actions/delete-meeting.mjs +1 -0
  130. package/dist/actions/delete-meeting.mjs.map +1 -1
  131. package/dist/actions/delete-opportunity.cjs +1 -0
  132. package/dist/actions/delete-opportunity.cjs.map +1 -1
  133. package/dist/actions/delete-opportunity.d.cts +3 -3
  134. package/dist/actions/delete-opportunity.d.cts.map +1 -1
  135. package/dist/actions/delete-opportunity.d.mts +3 -3
  136. package/dist/actions/delete-opportunity.d.mts.map +1 -1
  137. package/dist/actions/delete-opportunity.mjs +1 -0
  138. package/dist/actions/delete-opportunity.mjs.map +1 -1
  139. package/dist/actions/delete-tag.cjs +1 -0
  140. package/dist/actions/delete-tag.cjs.map +1 -1
  141. package/dist/actions/delete-tag.d.cts +3 -3
  142. package/dist/actions/delete-tag.d.cts.map +1 -1
  143. package/dist/actions/delete-tag.d.mts +3 -3
  144. package/dist/actions/delete-tag.d.mts.map +1 -1
  145. package/dist/actions/delete-tag.mjs +1 -0
  146. package/dist/actions/delete-tag.mjs.map +1 -1
  147. package/dist/actions/delete-task.cjs +1 -0
  148. package/dist/actions/delete-task.cjs.map +1 -1
  149. package/dist/actions/delete-task.d.cts +3 -3
  150. package/dist/actions/delete-task.d.cts.map +1 -1
  151. package/dist/actions/delete-task.d.mts +3 -3
  152. package/dist/actions/delete-task.d.mts.map +1 -1
  153. package/dist/actions/delete-task.mjs +1 -0
  154. package/dist/actions/delete-task.mjs.map +1 -1
  155. package/dist/actions/get-account.cjs +1 -0
  156. package/dist/actions/get-account.cjs.map +1 -1
  157. package/dist/actions/get-account.d.cts +3 -3
  158. package/dist/actions/get-account.d.cts.map +1 -1
  159. package/dist/actions/get-account.d.mts +3 -3
  160. package/dist/actions/get-account.d.mts.map +1 -1
  161. package/dist/actions/get-account.mjs +1 -0
  162. package/dist/actions/get-account.mjs.map +1 -1
  163. package/dist/actions/get-ai-settings.cjs +1 -0
  164. package/dist/actions/get-ai-settings.cjs.map +1 -1
  165. package/dist/actions/get-ai-settings.d.cts +3 -1
  166. package/dist/actions/get-ai-settings.d.cts.map +1 -1
  167. package/dist/actions/get-ai-settings.d.mts +3 -1
  168. package/dist/actions/get-ai-settings.d.mts.map +1 -1
  169. package/dist/actions/get-ai-settings.mjs +1 -0
  170. package/dist/actions/get-ai-settings.mjs.map +1 -1
  171. package/dist/actions/get-contact.cjs +1 -0
  172. package/dist/actions/get-contact.cjs.map +1 -1
  173. package/dist/actions/get-contact.d.cts +3 -3
  174. package/dist/actions/get-contact.d.cts.map +1 -1
  175. package/dist/actions/get-contact.d.mts +3 -3
  176. package/dist/actions/get-contact.d.mts.map +1 -1
  177. package/dist/actions/get-contact.mjs +1 -0
  178. package/dist/actions/get-contact.mjs.map +1 -1
  179. package/dist/actions/get-current-user.cjs +1 -0
  180. package/dist/actions/get-current-user.cjs.map +1 -1
  181. package/dist/actions/get-current-user.d.cts +3 -1
  182. package/dist/actions/get-current-user.d.cts.map +1 -1
  183. package/dist/actions/get-current-user.d.mts +3 -1
  184. package/dist/actions/get-current-user.d.mts.map +1 -1
  185. package/dist/actions/get-current-user.mjs +1 -0
  186. package/dist/actions/get-current-user.mjs.map +1 -1
  187. package/dist/actions/get-custom-field.cjs +1 -0
  188. package/dist/actions/get-custom-field.cjs.map +1 -1
  189. package/dist/actions/get-custom-field.d.cts +3 -4
  190. package/dist/actions/get-custom-field.d.cts.map +1 -1
  191. package/dist/actions/get-custom-field.d.mts +3 -4
  192. package/dist/actions/get-custom-field.d.mts.map +1 -1
  193. package/dist/actions/get-custom-field.mjs +1 -0
  194. package/dist/actions/get-custom-field.mjs.map +1 -1
  195. package/dist/actions/get-meeting.cjs +1 -0
  196. package/dist/actions/get-meeting.cjs.map +1 -1
  197. package/dist/actions/get-meeting.d.cts +3 -3
  198. package/dist/actions/get-meeting.d.cts.map +1 -1
  199. package/dist/actions/get-meeting.d.mts +3 -3
  200. package/dist/actions/get-meeting.d.mts.map +1 -1
  201. package/dist/actions/get-meeting.mjs +1 -0
  202. package/dist/actions/get-meeting.mjs.map +1 -1
  203. package/dist/actions/get-opportunity.cjs +1 -0
  204. package/dist/actions/get-opportunity.cjs.map +1 -1
  205. package/dist/actions/get-opportunity.d.cts +3 -3
  206. package/dist/actions/get-opportunity.d.cts.map +1 -1
  207. package/dist/actions/get-opportunity.d.mts +3 -3
  208. package/dist/actions/get-opportunity.d.mts.map +1 -1
  209. package/dist/actions/get-opportunity.mjs +1 -0
  210. package/dist/actions/get-opportunity.mjs.map +1 -1
  211. package/dist/actions/get-stage.cjs +1 -0
  212. package/dist/actions/get-stage.cjs.map +1 -1
  213. package/dist/actions/get-stage.d.cts +3 -3
  214. package/dist/actions/get-stage.d.cts.map +1 -1
  215. package/dist/actions/get-stage.d.mts +3 -3
  216. package/dist/actions/get-stage.d.mts.map +1 -1
  217. package/dist/actions/get-stage.mjs +1 -0
  218. package/dist/actions/get-stage.mjs.map +1 -1
  219. package/dist/actions/get-tag-usage.cjs +1 -0
  220. package/dist/actions/get-tag-usage.cjs.map +1 -1
  221. package/dist/actions/get-tag-usage.d.cts +3 -3
  222. package/dist/actions/get-tag-usage.d.cts.map +1 -1
  223. package/dist/actions/get-tag-usage.d.mts +3 -3
  224. package/dist/actions/get-tag-usage.d.mts.map +1 -1
  225. package/dist/actions/get-tag-usage.mjs +1 -0
  226. package/dist/actions/get-tag-usage.mjs.map +1 -1
  227. package/dist/actions/get-user.cjs +1 -0
  228. package/dist/actions/get-user.cjs.map +1 -1
  229. package/dist/actions/get-user.d.cts +3 -3
  230. package/dist/actions/get-user.d.cts.map +1 -1
  231. package/dist/actions/get-user.d.mts +3 -3
  232. package/dist/actions/get-user.d.mts.map +1 -1
  233. package/dist/actions/get-user.mjs +1 -0
  234. package/dist/actions/get-user.mjs.map +1 -1
  235. package/dist/actions/get-workflow-merge-fields.cjs +1 -0
  236. package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
  237. package/dist/actions/get-workflow-merge-fields.d.cts +3 -1
  238. package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -1
  239. package/dist/actions/get-workflow-merge-fields.d.mts +3 -1
  240. package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -1
  241. package/dist/actions/get-workflow-merge-fields.mjs +1 -0
  242. package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
  243. package/dist/actions/get-workflow.cjs +1 -0
  244. package/dist/actions/get-workflow.cjs.map +1 -1
  245. package/dist/actions/get-workflow.d.cts +3 -3
  246. package/dist/actions/get-workflow.d.cts.map +1 -1
  247. package/dist/actions/get-workflow.d.mts +3 -3
  248. package/dist/actions/get-workflow.d.mts.map +1 -1
  249. package/dist/actions/get-workflow.mjs +1 -0
  250. package/dist/actions/get-workflow.mjs.map +1 -1
  251. package/dist/actions/list-account-messages.cjs +1 -0
  252. package/dist/actions/list-account-messages.cjs.map +1 -1
  253. package/dist/actions/list-account-messages.d.cts +3 -6
  254. package/dist/actions/list-account-messages.d.cts.map +1 -1
  255. package/dist/actions/list-account-messages.d.mts +3 -6
  256. package/dist/actions/list-account-messages.d.mts.map +1 -1
  257. package/dist/actions/list-account-messages.mjs +1 -0
  258. package/dist/actions/list-account-messages.mjs.map +1 -1
  259. package/dist/actions/list-accounts.cjs +1 -0
  260. package/dist/actions/list-accounts.cjs.map +1 -1
  261. package/dist/actions/list-accounts.d.cts +3 -23
  262. package/dist/actions/list-accounts.d.cts.map +1 -1
  263. package/dist/actions/list-accounts.d.mts +3 -23
  264. package/dist/actions/list-accounts.d.mts.map +1 -1
  265. package/dist/actions/list-accounts.mjs +1 -0
  266. package/dist/actions/list-accounts.mjs.map +1 -1
  267. package/dist/actions/list-contacts.cjs +1 -0
  268. package/dist/actions/list-contacts.cjs.map +1 -1
  269. package/dist/actions/list-contacts.d.cts +3 -27
  270. package/dist/actions/list-contacts.d.cts.map +1 -1
  271. package/dist/actions/list-contacts.d.mts +3 -27
  272. package/dist/actions/list-contacts.d.mts.map +1 -1
  273. package/dist/actions/list-contacts.mjs +1 -0
  274. package/dist/actions/list-contacts.mjs.map +1 -1
  275. package/dist/actions/list-currencies.cjs +1 -0
  276. package/dist/actions/list-currencies.cjs.map +1 -1
  277. package/dist/actions/list-currencies.d.cts +3 -1
  278. package/dist/actions/list-currencies.d.cts.map +1 -1
  279. package/dist/actions/list-currencies.d.mts +3 -1
  280. package/dist/actions/list-currencies.d.mts.map +1 -1
  281. package/dist/actions/list-currencies.mjs +1 -0
  282. package/dist/actions/list-currencies.mjs.map +1 -1
  283. package/dist/actions/list-custom-field-options.cjs +1 -0
  284. package/dist/actions/list-custom-field-options.cjs.map +1 -1
  285. package/dist/actions/list-custom-field-options.d.cts +3 -5
  286. package/dist/actions/list-custom-field-options.d.cts.map +1 -1
  287. package/dist/actions/list-custom-field-options.d.mts +3 -5
  288. package/dist/actions/list-custom-field-options.d.mts.map +1 -1
  289. package/dist/actions/list-custom-field-options.mjs +1 -0
  290. package/dist/actions/list-custom-field-options.mjs.map +1 -1
  291. package/dist/actions/list-custom-field-types.cjs +1 -0
  292. package/dist/actions/list-custom-field-types.cjs.map +1 -1
  293. package/dist/actions/list-custom-field-types.d.cts +3 -1
  294. package/dist/actions/list-custom-field-types.d.cts.map +1 -1
  295. package/dist/actions/list-custom-field-types.d.mts +3 -1
  296. package/dist/actions/list-custom-field-types.d.mts.map +1 -1
  297. package/dist/actions/list-custom-field-types.mjs +1 -0
  298. package/dist/actions/list-custom-field-types.mjs.map +1 -1
  299. package/dist/actions/list-custom-fields.cjs +1 -0
  300. package/dist/actions/list-custom-fields.cjs.map +1 -1
  301. package/dist/actions/list-custom-fields.d.cts +3 -6
  302. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  303. package/dist/actions/list-custom-fields.d.mts +3 -6
  304. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  305. package/dist/actions/list-custom-fields.mjs +1 -0
  306. package/dist/actions/list-custom-fields.mjs.map +1 -1
  307. package/dist/actions/list-email-datasources.cjs +1 -0
  308. package/dist/actions/list-email-datasources.cjs.map +1 -1
  309. package/dist/actions/list-email-datasources.d.cts +3 -3
  310. package/dist/actions/list-email-datasources.d.cts.map +1 -1
  311. package/dist/actions/list-email-datasources.d.mts +3 -3
  312. package/dist/actions/list-email-datasources.d.mts.map +1 -1
  313. package/dist/actions/list-email-datasources.mjs +1 -0
  314. package/dist/actions/list-email-datasources.mjs.map +1 -1
  315. package/dist/actions/list-filter-fields.cjs +1 -0
  316. package/dist/actions/list-filter-fields.cjs.map +1 -1
  317. package/dist/actions/list-filter-fields.d.cts +7 -9
  318. package/dist/actions/list-filter-fields.d.cts.map +1 -1
  319. package/dist/actions/list-filter-fields.d.mts +7 -9
  320. package/dist/actions/list-filter-fields.d.mts.map +1 -1
  321. package/dist/actions/list-filter-fields.mjs +1 -0
  322. package/dist/actions/list-filter-fields.mjs.map +1 -1
  323. package/dist/actions/list-groups.cjs +1 -0
  324. package/dist/actions/list-groups.cjs.map +1 -1
  325. package/dist/actions/list-groups.d.cts +3 -1
  326. package/dist/actions/list-groups.d.cts.map +1 -1
  327. package/dist/actions/list-groups.d.mts +3 -1
  328. package/dist/actions/list-groups.d.mts.map +1 -1
  329. package/dist/actions/list-groups.mjs +1 -0
  330. package/dist/actions/list-groups.mjs.map +1 -1
  331. package/dist/actions/list-my-contacts.cjs +1 -0
  332. package/dist/actions/list-my-contacts.cjs.map +1 -1
  333. package/dist/actions/list-my-contacts.d.cts +3 -27
  334. package/dist/actions/list-my-contacts.d.cts.map +1 -1
  335. package/dist/actions/list-my-contacts.d.mts +3 -27
  336. package/dist/actions/list-my-contacts.d.mts.map +1 -1
  337. package/dist/actions/list-my-contacts.mjs +1 -0
  338. package/dist/actions/list-my-contacts.mjs.map +1 -1
  339. package/dist/actions/list-opportunities.cjs +1 -0
  340. package/dist/actions/list-opportunities.cjs.map +1 -1
  341. package/dist/actions/list-opportunities.d.cts +3 -33
  342. package/dist/actions/list-opportunities.d.cts.map +1 -1
  343. package/dist/actions/list-opportunities.d.mts +3 -33
  344. package/dist/actions/list-opportunities.d.mts.map +1 -1
  345. package/dist/actions/list-opportunities.mjs +1 -0
  346. package/dist/actions/list-opportunities.mjs.map +1 -1
  347. package/dist/actions/list-persons.cjs +1 -0
  348. package/dist/actions/list-persons.cjs.map +1 -1
  349. package/dist/actions/list-persons.d.cts +3 -6
  350. package/dist/actions/list-persons.d.cts.map +1 -1
  351. package/dist/actions/list-persons.d.mts +3 -6
  352. package/dist/actions/list-persons.d.mts.map +1 -1
  353. package/dist/actions/list-persons.mjs +1 -0
  354. package/dist/actions/list-persons.mjs.map +1 -1
  355. package/dist/actions/list-pipelines.cjs +1 -0
  356. package/dist/actions/list-pipelines.cjs.map +1 -1
  357. package/dist/actions/list-pipelines.d.cts +3 -5
  358. package/dist/actions/list-pipelines.d.cts.map +1 -1
  359. package/dist/actions/list-pipelines.d.mts +3 -5
  360. package/dist/actions/list-pipelines.d.mts.map +1 -1
  361. package/dist/actions/list-pipelines.mjs +1 -0
  362. package/dist/actions/list-pipelines.mjs.map +1 -1
  363. package/dist/actions/list-stages.cjs +1 -0
  364. package/dist/actions/list-stages.cjs.map +1 -1
  365. package/dist/actions/list-stages.d.cts +3 -7
  366. package/dist/actions/list-stages.d.cts.map +1 -1
  367. package/dist/actions/list-stages.d.mts +3 -7
  368. package/dist/actions/list-stages.d.mts.map +1 -1
  369. package/dist/actions/list-stages.mjs +1 -0
  370. package/dist/actions/list-stages.mjs.map +1 -1
  371. package/dist/actions/list-tags.cjs +1 -0
  372. package/dist/actions/list-tags.cjs.map +1 -1
  373. package/dist/actions/list-tags.d.cts +3 -7
  374. package/dist/actions/list-tags.d.cts.map +1 -1
  375. package/dist/actions/list-tags.d.mts +3 -7
  376. package/dist/actions/list-tags.d.mts.map +1 -1
  377. package/dist/actions/list-tags.mjs +1 -0
  378. package/dist/actions/list-tags.mjs.map +1 -1
  379. package/dist/actions/list-tasks.cjs +1 -0
  380. package/dist/actions/list-tasks.cjs.map +1 -1
  381. package/dist/actions/list-tasks.d.cts +3 -12
  382. package/dist/actions/list-tasks.d.cts.map +1 -1
  383. package/dist/actions/list-tasks.d.mts +3 -12
  384. package/dist/actions/list-tasks.d.mts.map +1 -1
  385. package/dist/actions/list-tasks.mjs +1 -0
  386. package/dist/actions/list-tasks.mjs.map +1 -1
  387. package/dist/actions/list-users.cjs +1 -0
  388. package/dist/actions/list-users.cjs.map +1 -1
  389. package/dist/actions/list-users.d.cts +3 -10
  390. package/dist/actions/list-users.d.cts.map +1 -1
  391. package/dist/actions/list-users.d.mts +3 -10
  392. package/dist/actions/list-users.d.mts.map +1 -1
  393. package/dist/actions/list-users.mjs +1 -0
  394. package/dist/actions/list-users.mjs.map +1 -1
  395. package/dist/actions/list-workflows.cjs +1 -0
  396. package/dist/actions/list-workflows.cjs.map +1 -1
  397. package/dist/actions/list-workflows.d.cts +3 -7
  398. package/dist/actions/list-workflows.d.cts.map +1 -1
  399. package/dist/actions/list-workflows.d.mts +3 -7
  400. package/dist/actions/list-workflows.d.mts.map +1 -1
  401. package/dist/actions/list-workflows.mjs +1 -0
  402. package/dist/actions/list-workflows.mjs.map +1 -1
  403. package/dist/actions/update-account-contacts.cjs +1 -0
  404. package/dist/actions/update-account-contacts.cjs.map +1 -1
  405. package/dist/actions/update-account-contacts.d.cts +3 -9
  406. package/dist/actions/update-account-contacts.d.cts.map +1 -1
  407. package/dist/actions/update-account-contacts.d.mts +3 -9
  408. package/dist/actions/update-account-contacts.d.mts.map +1 -1
  409. package/dist/actions/update-account-contacts.mjs +1 -0
  410. package/dist/actions/update-account-contacts.mjs.map +1 -1
  411. package/dist/actions/update-account-users.cjs +1 -0
  412. package/dist/actions/update-account-users.cjs.map +1 -1
  413. package/dist/actions/update-account-users.d.cts +3 -9
  414. package/dist/actions/update-account-users.d.cts.map +1 -1
  415. package/dist/actions/update-account-users.d.mts +3 -9
  416. package/dist/actions/update-account-users.d.mts.map +1 -1
  417. package/dist/actions/update-account-users.mjs +1 -0
  418. package/dist/actions/update-account-users.mjs.map +1 -1
  419. package/dist/actions/update-account.cjs +1 -0
  420. package/dist/actions/update-account.cjs.map +1 -1
  421. package/dist/actions/update-account.d.cts +3 -40
  422. package/dist/actions/update-account.d.cts.map +1 -1
  423. package/dist/actions/update-account.d.mts +3 -40
  424. package/dist/actions/update-account.d.mts.map +1 -1
  425. package/dist/actions/update-account.mjs +1 -0
  426. package/dist/actions/update-account.mjs.map +1 -1
  427. package/dist/actions/update-ai-settings.cjs +1 -0
  428. package/dist/actions/update-ai-settings.cjs.map +1 -1
  429. package/dist/actions/update-ai-settings.d.cts +3 -11
  430. package/dist/actions/update-ai-settings.d.cts.map +1 -1
  431. package/dist/actions/update-ai-settings.d.mts +3 -11
  432. package/dist/actions/update-ai-settings.d.mts.map +1 -1
  433. package/dist/actions/update-ai-settings.mjs +1 -0
  434. package/dist/actions/update-ai-settings.mjs.map +1 -1
  435. package/dist/actions/update-contact.cjs +1 -0
  436. package/dist/actions/update-contact.cjs.map +1 -1
  437. package/dist/actions/update-contact.d.cts +3 -60
  438. package/dist/actions/update-contact.d.cts.map +1 -1
  439. package/dist/actions/update-contact.d.mts +3 -60
  440. package/dist/actions/update-contact.d.mts.map +1 -1
  441. package/dist/actions/update-contact.mjs +1 -0
  442. package/dist/actions/update-contact.mjs.map +1 -1
  443. package/dist/actions/update-custom-field.cjs +1 -0
  444. package/dist/actions/update-custom-field.cjs.map +1 -1
  445. package/dist/actions/update-custom-field.d.cts +3 -25
  446. package/dist/actions/update-custom-field.d.cts.map +1 -1
  447. package/dist/actions/update-custom-field.d.mts +3 -25
  448. package/dist/actions/update-custom-field.d.mts.map +1 -1
  449. package/dist/actions/update-custom-field.mjs +1 -0
  450. package/dist/actions/update-custom-field.mjs.map +1 -1
  451. package/dist/actions/update-email-datasource.cjs +1 -0
  452. package/dist/actions/update-email-datasource.cjs.map +1 -1
  453. package/dist/actions/update-email-datasource.d.cts +3 -8
  454. package/dist/actions/update-email-datasource.d.cts.map +1 -1
  455. package/dist/actions/update-email-datasource.d.mts +3 -8
  456. package/dist/actions/update-email-datasource.d.mts.map +1 -1
  457. package/dist/actions/update-email-datasource.mjs +1 -0
  458. package/dist/actions/update-email-datasource.mjs.map +1 -1
  459. package/dist/actions/update-internal-note.cjs +1 -0
  460. package/dist/actions/update-internal-note.cjs.map +1 -1
  461. package/dist/actions/update-internal-note.d.cts +3 -7
  462. package/dist/actions/update-internal-note.d.cts.map +1 -1
  463. package/dist/actions/update-internal-note.d.mts +3 -7
  464. package/dist/actions/update-internal-note.d.mts.map +1 -1
  465. package/dist/actions/update-internal-note.mjs +1 -0
  466. package/dist/actions/update-internal-note.mjs.map +1 -1
  467. package/dist/actions/update-opportunity.cjs +1 -0
  468. package/dist/actions/update-opportunity.cjs.map +1 -1
  469. package/dist/actions/update-opportunity.d.cts +3 -26
  470. package/dist/actions/update-opportunity.d.cts.map +1 -1
  471. package/dist/actions/update-opportunity.d.mts +3 -26
  472. package/dist/actions/update-opportunity.d.mts.map +1 -1
  473. package/dist/actions/update-opportunity.mjs +1 -0
  474. package/dist/actions/update-opportunity.mjs.map +1 -1
  475. package/dist/actions/update-tag.cjs +1 -0
  476. package/dist/actions/update-tag.cjs.map +1 -1
  477. package/dist/actions/update-tag.d.cts +3 -4
  478. package/dist/actions/update-tag.d.cts.map +1 -1
  479. package/dist/actions/update-tag.d.mts +3 -4
  480. package/dist/actions/update-tag.d.mts.map +1 -1
  481. package/dist/actions/update-tag.mjs +1 -0
  482. package/dist/actions/update-tag.mjs.map +1 -1
  483. package/dist/actions/update-task.cjs +1 -0
  484. package/dist/actions/update-task.cjs.map +1 -1
  485. package/dist/actions/update-task.d.cts +3 -8
  486. package/dist/actions/update-task.d.cts.map +1 -1
  487. package/dist/actions/update-task.d.mts +3 -8
  488. package/dist/actions/update-task.d.mts.map +1 -1
  489. package/dist/actions/update-task.mjs +1 -0
  490. package/dist/actions/update-task.mjs.map +1 -1
  491. package/dist/actions/update-workflow-audience.cjs +1 -0
  492. package/dist/actions/update-workflow-audience.cjs.map +1 -1
  493. package/dist/actions/update-workflow-audience.d.cts +3 -6
  494. package/dist/actions/update-workflow-audience.d.cts.map +1 -1
  495. package/dist/actions/update-workflow-audience.d.mts +3 -6
  496. package/dist/actions/update-workflow-audience.d.mts.map +1 -1
  497. package/dist/actions/update-workflow-audience.mjs +1 -0
  498. package/dist/actions/update-workflow-audience.mjs.map +1 -1
  499. package/dist/actions/update-workflow.cjs +1 -0
  500. package/dist/actions/update-workflow.cjs.map +1 -1
  501. package/dist/actions/update-workflow.d.cts +3 -43
  502. package/dist/actions/update-workflow.d.cts.map +1 -1
  503. package/dist/actions/update-workflow.d.mts +3 -43
  504. package/dist/actions/update-workflow.d.mts.map +1 -1
  505. package/dist/actions/update-workflow.mjs +1 -0
  506. package/dist/actions/update-workflow.mjs.map +1 -1
  507. package/dist/app.cjs +5 -2
  508. package/dist/app.cjs.map +1 -1
  509. package/dist/app.d.cts +7 -1
  510. package/dist/app.d.cts.map +1 -1
  511. package/dist/app.d.mts +7 -1
  512. package/dist/app.d.mts.map +1 -1
  513. package/dist/app.mjs +3 -2
  514. package/dist/app.mjs.map +1 -1
  515. package/dist/index.d.cts +1 -1
  516. package/dist/index.d.mts +1 -1
  517. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-opportunity.cjs","names":["z","action"],"sources":["../../src/actions/create-opportunity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateOpportunityInput = z.object({\n name: z.string().describe(\"Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract'). If not provided, may be auto-generated by Salesflare.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to categorize the opportunity.\").optional(),\n owner: z.number().int().describe(\"User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n stage: z.number().int().describe(\"Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.\").optional(),\n units: z.number().describe(\"Number of units for this opportunity (e.g., number of licenses, seats, or products).\").optional(),\n value: z.number().describe(\"Total monetary value of the opportunity. Must be non-negative.\").optional(),\n closed: z.boolean().describe(\"Whether the opportunity is closed. Set to true when the deal is won or lost.\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.\").optional(),\n account: z.number().int().describe(\"REQUIRED. ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.\"),\n creator: z.number().int().describe(\"User ID of the person who created this opportunity. Defaults to the authenticated user if not specified.\").optional(),\n assignee: z.number().int().describe(\"User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n currency: z.number().int().describe(\"Currency ID for the opportunity value. Use LIST_CURRENCIES to find valid currency IDs.\").optional(),\n frequency: z.enum([\"annually\", \"weekly\", \"monthly\", \"daily\"]).describe(\"Frequency type for recurring opportunities.\").optional(),\n close_date: z.string().describe(\"Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').\").optional(),\n start_date: z.string().describe(\"Opportunity start date in ISO 8601 date-time format.\").optional(),\n lead_source: z.number().int().describe(\"Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.\").optional(),\n lost_reason: z.number().int().describe(\"Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.\").optional(),\n probability: z.number().describe(\"Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.\").optional(),\n main_contact: z.number().int().describe(\"Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.\").optional(),\n contract_end_date: z.string().describe(\"Contract end date in ISO 8601 date-time format.\").optional(),\n contract_start_date: z.string().describe(\"Contract start date in ISO 8601 date-time format.\").optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities.\").optional(),\n}).describe(\"Request model for creating an opportunity in Salesflare.\");\nexport const SalesflareCreateOpportunityOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created opportunity\").nullable(),\n}).passthrough().describe(\"Response model after creating an opportunity.\");\n\nexport const salesflareCreateOpportunity = action(\"SALESFLARE_CREATE_OPPORTUNITY\", {\n slug: \"salesflare-create-opportunity\",\n name: \"Create Opportunity\",\n description: \"Tool to create a new opportunity in Salesflare. Use when you need to add a sales opportunity or deal to the system. An opportunity represents a potential sale associated with an account (company).\",\n input: SalesflareCreateOpportunityInput,\n output: SalesflareCreateOpportunityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC5K,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAA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C,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACjJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACzJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACvG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-opportunity.cjs","names":["z","action"],"sources":["../../src/actions/create-opportunity.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareCreateOpportunityInput = z.object({\n name: z.string().describe(\"Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract'). If not provided, may be auto-generated by Salesflare.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to categorize the opportunity.\").optional(),\n owner: z.number().int().describe(\"User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n stage: z.number().int().describe(\"Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.\").optional(),\n units: z.number().describe(\"Number of units for this opportunity (e.g., number of licenses, seats, or products).\").optional(),\n value: z.number().describe(\"Total monetary value of the opportunity. Must be non-negative.\").optional(),\n closed: z.boolean().describe(\"Whether the opportunity is closed. Set to true when the deal is won or lost.\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.\").optional(),\n account: z.number().int().describe(\"REQUIRED. ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.\"),\n creator: z.number().int().describe(\"User ID of the person who created this opportunity. Defaults to the authenticated user if not specified.\").optional(),\n assignee: z.number().int().describe(\"User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n currency: z.number().int().describe(\"Currency ID for the opportunity value. Use LIST_CURRENCIES to find valid currency IDs.\").optional(),\n frequency: z.enum([\"annually\", \"weekly\", \"monthly\", \"daily\"]).describe(\"Frequency type for recurring opportunities.\").optional(),\n close_date: z.string().describe(\"Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').\").optional(),\n start_date: z.string().describe(\"Opportunity start date in ISO 8601 date-time format.\").optional(),\n lead_source: z.number().int().describe(\"Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.\").optional(),\n lost_reason: z.number().int().describe(\"Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.\").optional(),\n probability: z.number().describe(\"Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.\").optional(),\n main_contact: z.number().int().describe(\"Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.\").optional(),\n contract_end_date: z.string().describe(\"Contract end date in ISO 8601 date-time format.\").optional(),\n contract_start_date: z.string().describe(\"Contract start date in ISO 8601 date-time format.\").optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities.\").optional(),\n}).describe(\"Request model for creating an opportunity in Salesflare.\");\nexport const SalesflareCreateOpportunityOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created opportunity\").nullable(),\n}).passthrough().describe(\"Response model after creating an opportunity.\");\n\nexport const salesflareCreateOpportunity: AppAction<\n typeof SalesflareCreateOpportunityInput,\n typeof SalesflareCreateOpportunityOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_CREATE_OPPORTUNITY\", {\n slug: \"salesflare-create-opportunity\",\n name: \"Create Opportunity\",\n description: \"Tool to create a new opportunity in Salesflare. Use when you need to add a sales opportunity or deal to the system. An opportunity represents a potential sale associated with an account (company).\",\n input: SalesflareCreateOpportunityInput,\n output: SalesflareCreateOpportunityOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC5K,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kGAAkG,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AAgE,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-opportunity.d.ts
@@ -33,30 +35,7 @@ declare const SalesflareCreateOpportunityInput: z.ZodObject<{
33
35
  declare const SalesflareCreateOpportunityOutput: z.ZodObject<{
34
36
  id: z.ZodNullable<z.ZodNumber>;
35
37
  }, z.core.$loose>;
36
- declare const salesflareCreateOpportunity: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- account: number;
38
- name?: string | undefined;
39
- tags?: string[] | undefined;
40
- owner?: number | undefined;
41
- stage?: number | undefined;
42
- units?: number | undefined;
43
- value?: number | undefined;
44
- closed?: boolean | undefined;
45
- custom?: Record<string, unknown> | undefined;
46
- creator?: number | undefined;
47
- assignee?: number | undefined;
48
- currency?: number | undefined;
49
- frequency?: "annually" | "weekly" | "monthly" | "daily" | undefined;
50
- close_date?: string | undefined;
51
- start_date?: string | undefined;
52
- lead_source?: number | undefined;
53
- lost_reason?: number | undefined;
54
- probability?: number | undefined;
55
- main_contact?: number | undefined;
56
- contract_end_date?: string | undefined;
57
- contract_start_date?: string | undefined;
58
- recurring_price_per_unit?: number | undefined;
59
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const salesflareCreateOpportunity: AppAction<typeof SalesflareCreateOpportunityInput, typeof SalesflareCreateOpportunityOutput, typeof salesflare.credential>;
60
39
  //#endregion
61
40
  export { salesflareCreateOpportunity };
62
41
  //# sourceMappingURL=create-opportunity.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-opportunity.d.cts","names":[],"sources":["../../src/actions/create-opportunity.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA;;;;;;;;;WAMtC,MAAA"}
1
+ {"version":3,"file":"create-opportunity.d.cts","names":[],"sources":["../../src/actions/create-opportunity.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-opportunity.d.ts
@@ -33,30 +35,7 @@ declare const SalesflareCreateOpportunityInput: z.ZodObject<{
33
35
  declare const SalesflareCreateOpportunityOutput: z.ZodObject<{
34
36
  id: z.ZodNullable<z.ZodNumber>;
35
37
  }, z.core.$loose>;
36
- declare const salesflareCreateOpportunity: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- account: number;
38
- name?: string | undefined;
39
- tags?: string[] | undefined;
40
- owner?: number | undefined;
41
- stage?: number | undefined;
42
- units?: number | undefined;
43
- value?: number | undefined;
44
- closed?: boolean | undefined;
45
- custom?: Record<string, unknown> | undefined;
46
- creator?: number | undefined;
47
- assignee?: number | undefined;
48
- currency?: number | undefined;
49
- frequency?: "annually" | "weekly" | "monthly" | "daily" | undefined;
50
- close_date?: string | undefined;
51
- start_date?: string | undefined;
52
- lead_source?: number | undefined;
53
- lost_reason?: number | undefined;
54
- probability?: number | undefined;
55
- main_contact?: number | undefined;
56
- contract_end_date?: string | undefined;
57
- contract_start_date?: string | undefined;
58
- recurring_price_per_unit?: number | undefined;
59
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const salesflareCreateOpportunity: AppAction<typeof SalesflareCreateOpportunityInput, typeof SalesflareCreateOpportunityOutput, typeof salesflare.credential>;
60
39
  //#endregion
61
40
  export { salesflareCreateOpportunity };
62
41
  //# sourceMappingURL=create-opportunity.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-opportunity.d.mts","names":[],"sources":["../../src/actions/create-opportunity.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA;;;;;;;;;WAMtC,MAAA"}
1
+ {"version":3,"file":"create-opportunity.d.mts","names":[],"sources":["../../src/actions/create-opportunity.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const salesflareCreateOpportunity = action("SALESFLARE_CREATE_OPPORTUNITY", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-opportunity.mjs","names":[],"sources":["../../src/actions/create-opportunity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateOpportunityInput = z.object({\n name: z.string().describe(\"Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract'). If not provided, may be auto-generated by Salesflare.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to categorize the opportunity.\").optional(),\n owner: z.number().int().describe(\"User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n stage: z.number().int().describe(\"Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.\").optional(),\n units: z.number().describe(\"Number of units for this opportunity (e.g., number of licenses, seats, or products).\").optional(),\n value: z.number().describe(\"Total monetary value of the opportunity. Must be non-negative.\").optional(),\n closed: z.boolean().describe(\"Whether the opportunity is closed. Set to true when the deal is won or lost.\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.\").optional(),\n account: z.number().int().describe(\"REQUIRED. ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.\"),\n creator: z.number().int().describe(\"User ID of the person who created this opportunity. Defaults to the authenticated user if not specified.\").optional(),\n assignee: z.number().int().describe(\"User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n currency: z.number().int().describe(\"Currency ID for the opportunity value. Use LIST_CURRENCIES to find valid currency IDs.\").optional(),\n frequency: z.enum([\"annually\", \"weekly\", \"monthly\", \"daily\"]).describe(\"Frequency type for recurring opportunities.\").optional(),\n close_date: z.string().describe(\"Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').\").optional(),\n start_date: z.string().describe(\"Opportunity start date in ISO 8601 date-time format.\").optional(),\n lead_source: z.number().int().describe(\"Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.\").optional(),\n lost_reason: z.number().int().describe(\"Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.\").optional(),\n probability: z.number().describe(\"Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.\").optional(),\n main_contact: z.number().int().describe(\"Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.\").optional(),\n contract_end_date: z.string().describe(\"Contract end date in ISO 8601 date-time format.\").optional(),\n contract_start_date: z.string().describe(\"Contract start date in ISO 8601 date-time format.\").optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities.\").optional(),\n}).describe(\"Request model for creating an opportunity in Salesflare.\");\nexport const SalesflareCreateOpportunityOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created opportunity\").nullable(),\n}).passthrough().describe(\"Response model after creating an opportunity.\");\n\nexport const salesflareCreateOpportunity = action(\"SALESFLARE_CREATE_OPPORTUNITY\", {\n slug: \"salesflare-create-opportunity\",\n name: \"Create Opportunity\",\n description: \"Tool to create a new opportunity in Salesflare. Use when you need to add a sales opportunity or deal to the system. An opportunity represents a potential sale associated with an account (company).\",\n input: SalesflareCreateOpportunityInput,\n output: SalesflareCreateOpportunityOutput,\n});\n"],"mappings":";;AAgCA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhC8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;EAC5K,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAChI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAA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SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QAT+C,EAAE,OAAO,EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-opportunity.mjs","names":[],"sources":["../../src/actions/create-opportunity.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareCreateOpportunityInput = z.object({\n name: z.string().describe(\"Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract'). If not provided, may be auto-generated by Salesflare.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to categorize the opportunity.\").optional(),\n owner: z.number().int().describe(\"User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n stage: z.number().int().describe(\"Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.\").optional(),\n units: z.number().describe(\"Number of units for this opportunity (e.g., number of licenses, seats, or products).\").optional(),\n value: z.number().describe(\"Total monetary value of the opportunity. Must be non-negative.\").optional(),\n closed: z.boolean().describe(\"Whether the opportunity is closed. Set to true when the deal is won or lost.\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.\").optional(),\n account: z.number().int().describe(\"REQUIRED. ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.\"),\n creator: z.number().int().describe(\"User ID of the person who created this opportunity. Defaults to the authenticated user if not specified.\").optional(),\n assignee: z.number().int().describe(\"User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n currency: z.number().int().describe(\"Currency ID for the opportunity value. Use LIST_CURRENCIES to find valid currency IDs.\").optional(),\n frequency: z.enum([\"annually\", \"weekly\", \"monthly\", \"daily\"]).describe(\"Frequency type for recurring opportunities.\").optional(),\n close_date: z.string().describe(\"Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').\").optional(),\n start_date: z.string().describe(\"Opportunity start date in ISO 8601 date-time format.\").optional(),\n lead_source: z.number().int().describe(\"Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.\").optional(),\n lost_reason: z.number().int().describe(\"Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.\").optional(),\n probability: z.number().describe(\"Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.\").optional(),\n main_contact: z.number().int().describe(\"Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.\").optional(),\n contract_end_date: z.string().describe(\"Contract end date in ISO 8601 date-time format.\").optional(),\n contract_start_date: z.string().describe(\"Contract start date in ISO 8601 date-time format.\").optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities.\").optional(),\n}).describe(\"Request model for creating an opportunity in Salesflare.\");\nexport const SalesflareCreateOpportunityOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the newly created opportunity\").nullable(),\n}).passthrough().describe(\"Response model after creating an opportunity.\");\n\nexport const salesflareCreateOpportunity: AppAction<\n typeof SalesflareCreateOpportunityInput,\n typeof SalesflareCreateOpportunityOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_CREATE_OPPORTUNITY\", {\n slug: \"salesflare-create-opportunity\",\n name: \"Create Opportunity\",\n description: \"Tool to create a new opportunity in Salesflare. Use when you need to add a sales opportunity or deal to the system. An opportunity represents a potential sale associated with an account (company).\",\n input: SalesflareCreateOpportunityInput,\n output: SalesflareCreateOpportunityOutput,\n});\n"],"mappings":";;;AAkCA,MA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,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACzJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACjJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EACzJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACnG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,0DAaH;CACP,QAb+C,EAAE,OAAO,EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-tag.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateTagInput = z.object({\n name: z.string().describe(\"Name of the tag to create. Use descriptive names to categorize accounts, contacts, or opportunities effectively.\"),\n}).describe(\"Request model for creating a new tag in Salesflare.\");\nexport const SalesflareCreateTagOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created tag\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a tag in Salesflare.\");\n\nexport const salesflareCreateTag = action(\"SALESFLARE_CREATE_TAG\", {\n slug: \"salesflare-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in Salesflare. Use when you need to add a new tag for categorizing accounts, contacts, or opportunities.\",\n input: SalesflareCreateTagInput,\n output: SalesflareCreateTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareCreateTagInput = z.object({\n name: z.string().describe(\"Name of the tag to create. Use descriptive names to categorize accounts, contacts, or opportunities effectively.\"),\n}).describe(\"Request model for creating a new tag in Salesflare.\");\nexport const SalesflareCreateTagOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created tag\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a tag in Salesflare.\");\n\nexport const salesflareCreateTag: AppAction<\n typeof SalesflareCreateTagInput,\n typeof SalesflareCreateTagOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_CREATE_TAG\", {\n slug: \"salesflare-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in Salesflare. Use when you need to add a new tag for categorizing accounts, contacts, or opportunities.\",\n input: SalesflareCreateTagInput,\n output: SalesflareCreateTagOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-tag.d.ts
@@ -7,9 +9,7 @@ declare const SalesflareCreateTagInput: z.ZodObject<{
7
9
  declare const SalesflareCreateTagOutput: z.ZodObject<{
8
10
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
11
  }, z.core.$loose>;
10
- declare const salesflareCreateTag: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- name: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const salesflareCreateTag: AppAction<typeof SalesflareCreateTagInput, typeof SalesflareCreateTagOutput, typeof salesflare.credential>;
13
13
  //#endregion
14
14
  export { salesflareCreateTag };
15
15
  //# sourceMappingURL=create-tag.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-tag.d.cts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-tag.d.cts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-tag.d.ts
@@ -7,9 +9,7 @@ declare const SalesflareCreateTagInput: z.ZodObject<{
7
9
  declare const SalesflareCreateTagOutput: z.ZodObject<{
8
10
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
11
  }, z.core.$loose>;
10
- declare const salesflareCreateTag: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- name: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const salesflareCreateTag: AppAction<typeof SalesflareCreateTagInput, typeof SalesflareCreateTagOutput, typeof salesflare.credential>;
13
13
  //#endregion
14
14
  export { salesflareCreateTag };
15
15
  //# sourceMappingURL=create-tag.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-tag.d.mts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-tag.d.mts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const salesflareCreateTag = action("SALESFLARE_CREATE_TAG", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-tag.mjs","names":[],"sources":["../../src/actions/create-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateTagInput = z.object({\n name: z.string().describe(\"Name of the tag to create. Use descriptive names to categorize accounts, contacts, or opportunities effectively.\"),\n}).describe(\"Request model for creating a new tag in Salesflare.\");\nexport const SalesflareCreateTagOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created tag\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a tag in Salesflare.\");\n\nexport const salesflareCreateTag = action(\"SALESFLARE_CREATE_TAG\", {\n slug: \"salesflare-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in Salesflare. Use when you need to add a new tag for categorizing accounts, contacts, or opportunities.\",\n input: SalesflareCreateTagInput,\n output: SalesflareCreateTagOutput,\n});\n"],"mappings":";;AAWA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-tag.mjs","names":[],"sources":["../../src/actions/create-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareCreateTagInput = z.object({\n name: z.string().describe(\"Name of the tag to create. Use descriptive names to categorize accounts, contacts, or opportunities effectively.\"),\n}).describe(\"Request model for creating a new tag in Salesflare.\");\nexport const SalesflareCreateTagOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created tag\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a tag in Salesflare.\");\n\nexport const salesflareCreateTag: AppAction<\n typeof SalesflareCreateTagInput,\n typeof SalesflareCreateTagOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_CREATE_TAG\", {\n slug: \"salesflare-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in Salesflare. Use when you need to add a new tag for categorizing accounts, contacts, or opportunities.\",\n input: SalesflareCreateTagInput,\n output: SalesflareCreateTagOutput,\n});\n"],"mappings":";;;AAaA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAbuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-task.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateTaskInput = z.object({\n account: z.number().int().describe(\"ID of the account (company) to associate this task with. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(z.number().int()).describe(\"List of user IDs to assign this task to. Use GET_CURRENT_USER or LIST_USERS to find valid user IDs. If not specified, may default to the authenticated user.\").optional(),\n description: z.string().describe(\"REQUIRED. Description or title of the task. This is the main content describing what needs to be done.\"),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (YYYY-MM-DD) or date-time format (YYYY-MM-DDTHH:MM:SSZ). The system will send a reminder on this date.\").optional(),\n}).describe(\"Request model for creating a task in Salesflare.\");\nexport const SalesflareCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created task\").nullable(),\n}).passthrough().describe(\"Response model after creating a task in Salesflare.\");\n\nexport const salesflareCreateTask = action(\"SALESFLARE_CREATE_TASK\", {\n slug: \"salesflare-create-task\",\n name: \"Create Task\",\n description: \"Tool to create a new task in Salesflare. Use when you need to add a task or to-do item to the system. Tasks help track follow-ups, calls, meetings, and other action items.\",\n input: SalesflareCreateTaskInput,\n output: SalesflareCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzJ,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACvN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;CACzI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareCreateTaskInput = z.object({\n account: z.number().int().describe(\"ID of the account (company) to associate this task with. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(z.number().int()).describe(\"List of user IDs to assign this task to. Use GET_CURRENT_USER or LIST_USERS to find valid user IDs. If not specified, may default to the authenticated user.\").optional(),\n description: z.string().describe(\"REQUIRED. Description or title of the task. This is the main content describing what needs to be done.\"),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (YYYY-MM-DD) or date-time format (YYYY-MM-DDTHH:MM:SSZ). The system will send a reminder on this date.\").optional(),\n}).describe(\"Request model for creating a task in Salesflare.\");\nexport const SalesflareCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created task\").nullable(),\n}).passthrough().describe(\"Response model after creating a task in Salesflare.\");\n\nexport const salesflareCreateTask: AppAction<\n typeof SalesflareCreateTaskInput,\n typeof SalesflareCreateTaskOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_CREATE_TASK\", {\n slug: \"salesflare-create-task\",\n name: \"Create Task\",\n description: \"Tool to create a new task in Salesflare. Use when you need to add a task or to-do item to the system. Tasks help track follow-ups, calls, meetings, and other action items.\",\n input: SalesflareCreateTaskInput,\n output: SalesflareCreateTaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzJ,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACvN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;CACzI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-task.d.ts
@@ -10,12 +12,7 @@ declare const SalesflareCreateTaskInput: z.ZodObject<{
10
12
  declare const SalesflareCreateTaskOutput: z.ZodObject<{
11
13
  id: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const salesflareCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- description: string;
15
- account?: number | undefined;
16
- assignees?: number[] | undefined;
17
- reminder_date?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const salesflareCreateTask: AppAction<typeof SalesflareCreateTaskInput, typeof SalesflareCreateTaskOutput, typeof salesflare.credential>;
19
16
  //#endregion
20
17
  export { salesflareCreateTask };
21
18
  //# sourceMappingURL=create-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.d.cts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-task.d.cts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-task.d.ts
@@ -10,12 +12,7 @@ declare const SalesflareCreateTaskInput: z.ZodObject<{
10
12
  declare const SalesflareCreateTaskOutput: z.ZodObject<{
11
13
  id: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const salesflareCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- description: string;
15
- account?: number | undefined;
16
- assignees?: number[] | undefined;
17
- reminder_date?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const salesflareCreateTask: AppAction<typeof SalesflareCreateTaskInput, typeof SalesflareCreateTaskOutput, typeof salesflare.credential>;
19
16
  //#endregion
20
17
  export { salesflareCreateTask };
21
18
  //# sourceMappingURL=create-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.d.mts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-task.d.mts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const salesflareCreateTask = action("SALESFLARE_CREATE_TASK", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.mjs","names":[],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateTaskInput = z.object({\n account: z.number().int().describe(\"ID of the account (company) to associate this task with. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(z.number().int()).describe(\"List of user IDs to assign this task to. Use GET_CURRENT_USER or LIST_USERS to find valid user IDs. If not specified, may default to the authenticated user.\").optional(),\n description: z.string().describe(\"REQUIRED. Description or title of the task. This is the main content describing what needs to be done.\"),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (YYYY-MM-DD) or date-time format (YYYY-MM-DDTHH:MM:SSZ). The system will send a reminder on this date.\").optional(),\n}).describe(\"Request model for creating a task in Salesflare.\");\nexport const SalesflareCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created task\").nullable(),\n}).passthrough().describe(\"Response model after creating a task in Salesflare.\");\n\nexport const salesflareCreateTask = action(\"SALESFLARE_CREATE_TASK\", {\n slug: \"salesflare-create-task\",\n name: \"Create Task\",\n description: \"Tool to create a new task in Salesflare. Use when you need to add a task or to-do item to the system. Tasks help track follow-ups, calls, meetings, and other action items.\",\n input: SalesflareCreateTaskInput,\n output: SalesflareCreateTaskOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACzJ,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACvN,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;EACzI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-task.mjs","names":[],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareCreateTaskInput = z.object({\n account: z.number().int().describe(\"ID of the account (company) to associate this task with. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(z.number().int()).describe(\"List of user IDs to assign this task to. Use GET_CURRENT_USER or LIST_USERS to find valid user IDs. If not specified, may default to the authenticated user.\").optional(),\n description: z.string().describe(\"REQUIRED. Description or title of the task. This is the main content describing what needs to be done.\"),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (YYYY-MM-DD) or date-time format (YYYY-MM-DDTHH:MM:SSZ). The system will send a reminder on this date.\").optional(),\n}).describe(\"Request model for creating a task in Salesflare.\");\nexport const SalesflareCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created task\").nullable(),\n}).passthrough().describe(\"Response model after creating a task in Salesflare.\");\n\nexport const salesflareCreateTask: AppAction<\n typeof SalesflareCreateTaskInput,\n typeof SalesflareCreateTaskOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_CREATE_TASK\", {\n slug: \"salesflare-create-task\",\n name: \"Create Task\",\n description: \"Tool to create a new task in Salesflare. Use when you need to add a task or to-do item to the system. Tasks help track follow-ups, calls, meetings, and other action items.\",\n input: SalesflareCreateTaskInput,\n output: SalesflareCreateTaskOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACzJ,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACvN,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;EACzI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,SAAS,kDAaH;CACP,QAbwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-workflow.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-workflow.cjs","names":["z","action"],"sources":["../../src/actions/create-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateWorkflowInput = z.object({\n goal: z.enum([\"opened\", \"clicked\", \"replied\"]).describe(\"Goal types for workflow completion.\").optional(),\n name: z.string().describe(\"Name of the workflow. This is the only required field.\"),\n steps: z.array(z.object({\n id: z.number().int().describe(\"Step ID (typically assigned by system after creation)\").optional(),\n name: z.string().describe(\"Name/title of the workflow step\").optional(),\n order: z.number().int().describe(\"Order/position of this step in the workflow sequence (required)\"),\n filter: z.object({\n rules: z.array(z.object({\n field: z.string().describe(\"Field name to filter on\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).optional(),\n operator: z.string().describe(\"Comparison operator (e.g., equals, contains, greater_than)\").optional(),\n}).passthrough().describe(\"Individual filter rule for record filtering.\")).describe(\"List of filter rules for this step\").optional(),\n condition: z.string().describe(\"Filter condition type (e.g., AND, OR)\").optional(),\n}).describe(\"Filter configuration for a workflow step.\").optional(),\n trigger: z.string().describe(\"Trigger condition for this step (e.g., after_delay, goal_met)\").optional(),\n analytics: z.object({\n sent: z.number().int().describe(\"Number of emails sent\").optional(),\n opened: z.number().int().describe(\"Number of emails opened\").optional(),\n clicked: z.number().int().describe(\"Number of emails clicked\").optional(),\n replied: z.number().int().describe(\"Number of emails replied to\").optional(),\n}).describe(\"Analytics data for a workflow step.\").optional(),\n action_type: z.string().describe(\"Type of action to perform (e.g., send_email, wait, condition)\").optional(),\n metrics_data: z.object({\n open_rate: z.number().describe(\"Email open rate percentage\").optional(),\n click_rate: z.number().describe(\"Email click rate percentage\").optional(),\n reply_rate: z.number().describe(\"Email reply rate percentage\").optional(),\n}).describe(\"Metrics data for a workflow step.\").optional(),\n trigger_step: z.number().int().describe(\"ID of the step that triggers this step\").optional(),\n action_config: z.object({\n body: z.string().describe(\"Email body content\").optional(),\n subject: z.string().describe(\"Email subject line\").optional(),\n template_id: z.number().int().describe(\"Email template ID to use\").optional(),\n}).describe(\"Configuration for a workflow step action.\").optional(),\n action_source: z.number().int().describe(\"Source identifier for the action\").optional(),\n action_status: z.string().describe(\"Current status of the action\").optional(),\n trigger_after_days: z.number().describe(\"Number of days to wait before executing this step\").optional(),\n trigger_step_index: z.number().int().describe(\"Index of the step that triggers this step\").optional(),\n action_source_email: z.string().describe(\"Email address to send from\").optional(),\n}).passthrough().describe(\"Individual step in a workflow sequence.\")).describe(\"List of steps in the workflow sequence. Each step must have an 'order' field.\").optional(),\n filter: z.object({\n ids: z.array(z.number().int()).describe(\"List of record IDs to target. When provided, all other filter options will be ignored.\").optional(),\n}).describe(\"Filter configuration for workflow targeting.\").optional(),\n status: z.enum([\"live\", \"paused\", \"scheduled\", \"draft\"]).describe(\"Status options for workflow.\").optional(),\n continuous: z.boolean().describe(\"Whether the workflow runs continuously or only once per record\").optional(),\n record_type: z.enum([\"contact\"]).describe(\"Record type for workflow targets.\").optional(),\n schedule_date: z.string().describe(\"Date and time to start the workflow in ISO 8601 format (e.g., '2024-12-31T10:00:00Z')\").optional(),\n schedule_days: z.array(z.number().int()).describe(\"Days of the week to run the workflow (0=Sunday, 1=Monday, ..., 6=Saturday)\").optional(),\n status_message: z.string().describe(\"Status message or notes about the workflow\").optional(),\n exit_after_days: z.number().describe(\"Number of days after which records automatically exit the workflow\").optional(),\n schedule_time_end: z.string().describe(\"End time for daily workflow execution in HH:MM:SS format (e.g., '17:00:00')\").optional(),\n schedule_time_start: z.string().describe(\"Start time for daily workflow execution in HH:MM:SS format (e.g., '09:00:00')\").optional(),\n individual_record_filter: z.object({\n not: z.boolean().describe(\"If true, negates the entire filter condition\").optional(),\n rules: z.array(z.object({\n field: z.string().describe(\"Field name to filter on\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).optional(),\n operator: z.string().describe(\"Comparison operator (e.g., equals, contains, greater_than)\").optional(),\n}).passthrough().describe(\"Individual filter rule for record filtering.\")).describe(\"List of filter rules to apply to records\"),\n valid: z.boolean().describe(\"Whether the filter configuration is valid\").optional(),\n search: z.string().describe(\"Search query string to filter records\").optional(),\n order_by: z.string().describe(\"Field name to order results by\").optional(),\n condition: z.enum([\"AND\", \"OR\"]).describe(\"Logical condition to combine rules (AND or OR)\"),\n}).describe(\"Advanced filtering configuration for individual records.\").optional(),\n}).describe(\"Request model for creating a workflow in Salesflare.\");\nexport const SalesflareCreateWorkflowOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created workflow\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a workflow.\");\n\nexport const salesflareCreateWorkflow = action(\"SALESFLARE_CREATE_WORKFLOW\", {\n slug: \"salesflare-create-workflow\",\n name: \"Create Workflow\",\n description: \"Tool to create a new workflow (email automation sequence) in Salesflare. Use when you need to set up automated email sequences or campaigns for contacts. Only the workflow name is required; all other fields are optional for configuration.\",\n input: SalesflareCreateWorkflowInput,\n output: SalesflareCreateWorkflowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAS,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAClF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;E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V,CAAC"}
1
+ {"version":3,"file":"create-workflow.cjs","names":["z","action"],"sources":["../../src/actions/create-workflow.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareCreateWorkflowInput = z.object({\n goal: z.enum([\"opened\", \"clicked\", \"replied\"]).describe(\"Goal types for workflow completion.\").optional(),\n name: z.string().describe(\"Name of the workflow. This is the only required field.\"),\n steps: z.array(z.object({\n id: z.number().int().describe(\"Step ID (typically assigned by system after creation)\").optional(),\n name: z.string().describe(\"Name/title of the workflow step\").optional(),\n order: z.number().int().describe(\"Order/position of this step in the workflow sequence (required)\"),\n filter: z.object({\n rules: z.array(z.object({\n field: z.string().describe(\"Field name to filter on\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).optional(),\n operator: z.string().describe(\"Comparison operator (e.g., equals, contains, greater_than)\").optional(),\n}).passthrough().describe(\"Individual filter rule for record filtering.\")).describe(\"List of filter rules for this step\").optional(),\n condition: z.string().describe(\"Filter condition type (e.g., AND, OR)\").optional(),\n}).describe(\"Filter configuration for a workflow step.\").optional(),\n trigger: z.string().describe(\"Trigger condition for this step (e.g., after_delay, goal_met)\").optional(),\n analytics: z.object({\n sent: z.number().int().describe(\"Number of emails sent\").optional(),\n opened: z.number().int().describe(\"Number of emails opened\").optional(),\n clicked: z.number().int().describe(\"Number of emails clicked\").optional(),\n replied: z.number().int().describe(\"Number of emails replied to\").optional(),\n}).describe(\"Analytics data for a workflow step.\").optional(),\n action_type: z.string().describe(\"Type of action to perform (e.g., send_email, wait, condition)\").optional(),\n metrics_data: z.object({\n open_rate: z.number().describe(\"Email open rate percentage\").optional(),\n click_rate: z.number().describe(\"Email click rate percentage\").optional(),\n reply_rate: z.number().describe(\"Email reply rate percentage\").optional(),\n}).describe(\"Metrics data for a workflow step.\").optional(),\n trigger_step: z.number().int().describe(\"ID of the step that triggers this step\").optional(),\n action_config: z.object({\n body: z.string().describe(\"Email body content\").optional(),\n subject: z.string().describe(\"Email subject line\").optional(),\n template_id: z.number().int().describe(\"Email template ID to use\").optional(),\n}).describe(\"Configuration for a workflow step action.\").optional(),\n action_source: z.number().int().describe(\"Source identifier for the action\").optional(),\n action_status: z.string().describe(\"Current status of the action\").optional(),\n trigger_after_days: z.number().describe(\"Number of days to wait before executing this step\").optional(),\n trigger_step_index: z.number().int().describe(\"Index of the step that triggers this step\").optional(),\n action_source_email: z.string().describe(\"Email address to send from\").optional(),\n}).passthrough().describe(\"Individual step in a workflow sequence.\")).describe(\"List of steps in the workflow sequence. Each step must have an 'order' field.\").optional(),\n filter: z.object({\n ids: z.array(z.number().int()).describe(\"List of record IDs to target. When provided, all other filter options will be ignored.\").optional(),\n}).describe(\"Filter configuration for workflow targeting.\").optional(),\n status: z.enum([\"live\", \"paused\", \"scheduled\", \"draft\"]).describe(\"Status options for workflow.\").optional(),\n continuous: z.boolean().describe(\"Whether the workflow runs continuously or only once per record\").optional(),\n record_type: z.enum([\"contact\"]).describe(\"Record type for workflow targets.\").optional(),\n schedule_date: z.string().describe(\"Date and time to start the workflow in ISO 8601 format (e.g., '2024-12-31T10:00:00Z')\").optional(),\n schedule_days: z.array(z.number().int()).describe(\"Days of the week to run the workflow (0=Sunday, 1=Monday, ..., 6=Saturday)\").optional(),\n status_message: z.string().describe(\"Status message or notes about the workflow\").optional(),\n exit_after_days: z.number().describe(\"Number of days after which records automatically exit the workflow\").optional(),\n schedule_time_end: z.string().describe(\"End time for daily workflow execution in HH:MM:SS format (e.g., '17:00:00')\").optional(),\n schedule_time_start: z.string().describe(\"Start time for daily workflow execution in HH:MM:SS format (e.g., '09:00:00')\").optional(),\n individual_record_filter: z.object({\n not: z.boolean().describe(\"If true, negates the entire filter condition\").optional(),\n rules: z.array(z.object({\n field: z.string().describe(\"Field name to filter on\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).optional(),\n operator: z.string().describe(\"Comparison operator (e.g., equals, contains, greater_than)\").optional(),\n}).passthrough().describe(\"Individual filter rule for record filtering.\")).describe(\"List of filter rules to apply to records\"),\n valid: z.boolean().describe(\"Whether the filter configuration is valid\").optional(),\n search: z.string().describe(\"Search query string to filter records\").optional(),\n order_by: z.string().describe(\"Field name to order results by\").optional(),\n condition: z.enum([\"AND\", \"OR\"]).describe(\"Logical condition to combine rules (AND or OR)\"),\n}).describe(\"Advanced filtering configuration for individual records.\").optional(),\n}).describe(\"Request model for creating a workflow in Salesflare.\");\nexport const SalesflareCreateWorkflowOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created workflow\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a workflow.\");\n\nexport const salesflareCreateWorkflow: AppAction<\n typeof SalesflareCreateWorkflowInput,\n typeof SalesflareCreateWorkflowOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_CREATE_WORKFLOW\", {\n slug: \"salesflare-create-workflow\",\n name: \"Create Workflow\",\n description: \"Tool to create a new workflow (email automation sequence) in Salesflare. Use when you need to set up automated email sequences or campaigns for contacts. Only the workflow name is required; all other fields are optional for configuration.\",\n input: SalesflareCreateWorkflowInput,\n output: SalesflareCreateWorkflowOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAS,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAClF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,OAAOA,IAAAA,EAAE,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;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-workflow.d.ts
@@ -83,74 +85,7 @@ declare const SalesflareCreateWorkflowInput: z.ZodObject<{
83
85
  declare const SalesflareCreateWorkflowOutput: z.ZodObject<{
84
86
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
87
  }, z.core.$loose>;
86
- declare const salesflareCreateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
87
- name: string;
88
- goal?: "opened" | "clicked" | "replied" | undefined;
89
- steps?: {
90
- [x: string]: unknown;
91
- order: number;
92
- id?: number | undefined;
93
- name?: string | undefined;
94
- filter?: {
95
- rules?: {
96
- [x: string]: unknown;
97
- field?: string | undefined;
98
- value?: string | number | boolean | undefined;
99
- operator?: string | undefined;
100
- }[] | undefined;
101
- condition?: string | undefined;
102
- } | undefined;
103
- trigger?: string | undefined;
104
- analytics?: {
105
- sent?: number | undefined;
106
- opened?: number | undefined;
107
- clicked?: number | undefined;
108
- replied?: number | undefined;
109
- } | undefined;
110
- action_type?: string | undefined;
111
- metrics_data?: {
112
- open_rate?: number | undefined;
113
- click_rate?: number | undefined;
114
- reply_rate?: number | undefined;
115
- } | undefined;
116
- trigger_step?: number | undefined;
117
- action_config?: {
118
- body?: string | undefined;
119
- subject?: string | undefined;
120
- template_id?: number | undefined;
121
- } | undefined;
122
- action_source?: number | undefined;
123
- action_status?: string | undefined;
124
- trigger_after_days?: number | undefined;
125
- trigger_step_index?: number | undefined;
126
- action_source_email?: string | undefined;
127
- }[] | undefined;
128
- filter?: {
129
- ids?: number[] | undefined;
130
- } | undefined;
131
- status?: "live" | "paused" | "scheduled" | "draft" | undefined;
132
- continuous?: boolean | undefined;
133
- record_type?: "contact" | undefined;
134
- schedule_date?: string | undefined;
135
- schedule_days?: number[] | undefined;
136
- status_message?: string | undefined;
137
- exit_after_days?: number | undefined;
138
- schedule_time_end?: string | undefined;
139
- schedule_time_start?: string | undefined;
140
- individual_record_filter?: {
141
- rules: {
142
- [x: string]: unknown;
143
- field?: string | undefined;
144
- value?: string | number | boolean | undefined;
145
- operator?: string | undefined;
146
- }[];
147
- condition: "AND" | "OR";
148
- not?: boolean | undefined;
149
- valid?: boolean | undefined;
150
- search?: string | undefined;
151
- order_by?: string | undefined;
152
- } | undefined;
153
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
88
+ declare const salesflareCreateWorkflow: AppAction<typeof SalesflareCreateWorkflowInput, typeof SalesflareCreateWorkflowOutput, typeof salesflare.credential>;
154
89
  //#endregion
155
90
  export { salesflareCreateWorkflow };
156
91
  //# sourceMappingURL=create-workflow.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-workflow.d.cts","names":[],"sources":["../../src/actions/create-workflow.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiE7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-workflow.d.cts","names":[],"sources":["../../src/actions/create-workflow.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiE7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesflare } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-workflow.d.ts
@@ -83,74 +85,7 @@ declare const SalesflareCreateWorkflowInput: z.ZodObject<{
83
85
  declare const SalesflareCreateWorkflowOutput: z.ZodObject<{
84
86
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
87
  }, z.core.$loose>;
86
- declare const salesflareCreateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
87
- name: string;
88
- goal?: "opened" | "clicked" | "replied" | undefined;
89
- steps?: {
90
- [x: string]: unknown;
91
- order: number;
92
- id?: number | undefined;
93
- name?: string | undefined;
94
- filter?: {
95
- rules?: {
96
- [x: string]: unknown;
97
- field?: string | undefined;
98
- value?: string | number | boolean | undefined;
99
- operator?: string | undefined;
100
- }[] | undefined;
101
- condition?: string | undefined;
102
- } | undefined;
103
- trigger?: string | undefined;
104
- analytics?: {
105
- sent?: number | undefined;
106
- opened?: number | undefined;
107
- clicked?: number | undefined;
108
- replied?: number | undefined;
109
- } | undefined;
110
- action_type?: string | undefined;
111
- metrics_data?: {
112
- open_rate?: number | undefined;
113
- click_rate?: number | undefined;
114
- reply_rate?: number | undefined;
115
- } | undefined;
116
- trigger_step?: number | undefined;
117
- action_config?: {
118
- body?: string | undefined;
119
- subject?: string | undefined;
120
- template_id?: number | undefined;
121
- } | undefined;
122
- action_source?: number | undefined;
123
- action_status?: string | undefined;
124
- trigger_after_days?: number | undefined;
125
- trigger_step_index?: number | undefined;
126
- action_source_email?: string | undefined;
127
- }[] | undefined;
128
- filter?: {
129
- ids?: number[] | undefined;
130
- } | undefined;
131
- status?: "live" | "paused" | "scheduled" | "draft" | undefined;
132
- continuous?: boolean | undefined;
133
- record_type?: "contact" | undefined;
134
- schedule_date?: string | undefined;
135
- schedule_days?: number[] | undefined;
136
- status_message?: string | undefined;
137
- exit_after_days?: number | undefined;
138
- schedule_time_end?: string | undefined;
139
- schedule_time_start?: string | undefined;
140
- individual_record_filter?: {
141
- rules: {
142
- [x: string]: unknown;
143
- field?: string | undefined;
144
- value?: string | number | boolean | undefined;
145
- operator?: string | undefined;
146
- }[];
147
- condition: "AND" | "OR";
148
- not?: boolean | undefined;
149
- valid?: boolean | undefined;
150
- search?: string | undefined;
151
- order_by?: string | undefined;
152
- } | undefined;
153
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
88
+ declare const salesflareCreateWorkflow: AppAction<typeof SalesflareCreateWorkflowInput, typeof SalesflareCreateWorkflowOutput, typeof salesflare.credential>;
154
89
  //#endregion
155
90
  export { salesflareCreateWorkflow };
156
91
  //# sourceMappingURL=create-workflow.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-workflow.d.mts","names":[],"sources":["../../src/actions/create-workflow.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiE7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-workflow.d.mts","names":[],"sources":["../../src/actions/create-workflow.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiE7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const salesflareCreateWorkflow = action("SALESFLARE_CREATE_WORKFLOW", {