@keystrokehq/salesflare 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) 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 -1
  4. package/dist/actions/add-account-contacts.cjs.map +1 -1
  5. package/dist/actions/add-account-contacts.d.cts +15 -3
  6. package/dist/actions/add-account-contacts.d.cts.map +1 -1
  7. package/dist/actions/add-account-contacts.d.mts +15 -3
  8. package/dist/actions/add-account-contacts.d.mts.map +1 -1
  9. package/dist/actions/add-account-contacts.mjs +1 -1
  10. package/dist/actions/add-account-contacts.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs +2 -2
  12. package/dist/actions/create-account.cjs.map +1 -1
  13. package/dist/actions/create-account.d.cts +107 -3
  14. package/dist/actions/create-account.d.cts.map +1 -1
  15. package/dist/actions/create-account.d.mts +107 -3
  16. package/dist/actions/create-account.d.mts.map +1 -1
  17. package/dist/actions/create-account.mjs +2 -2
  18. package/dist/actions/create-account.mjs.map +1 -1
  19. package/dist/actions/create-call.cjs.map +1 -1
  20. package/dist/actions/create-call.d.cts +32 -3
  21. package/dist/actions/create-call.d.cts.map +1 -1
  22. package/dist/actions/create-call.d.mts +32 -3
  23. package/dist/actions/create-call.d.mts.map +1 -1
  24. package/dist/actions/create-call.mjs.map +1 -1
  25. package/dist/actions/create-contact.cjs +1 -1
  26. package/dist/actions/create-contact.cjs.map +1 -1
  27. package/dist/actions/create-contact.d.cts +117 -3
  28. package/dist/actions/create-contact.d.cts.map +1 -1
  29. package/dist/actions/create-contact.d.mts +117 -3
  30. package/dist/actions/create-contact.d.mts.map +1 -1
  31. package/dist/actions/create-contact.mjs +1 -1
  32. package/dist/actions/create-contact.mjs.map +1 -1
  33. package/dist/actions/create-custom-field.cjs.map +1 -1
  34. package/dist/actions/create-custom-field.d.cts +53 -3
  35. package/dist/actions/create-custom-field.d.cts.map +1 -1
  36. package/dist/actions/create-custom-field.d.mts +53 -3
  37. package/dist/actions/create-custom-field.d.mts.map +1 -1
  38. package/dist/actions/create-custom-field.mjs.map +1 -1
  39. package/dist/actions/create-internal-note.cjs.map +1 -1
  40. package/dist/actions/create-internal-note.d.cts +21 -3
  41. package/dist/actions/create-internal-note.d.cts.map +1 -1
  42. package/dist/actions/create-internal-note.d.mts +21 -3
  43. package/dist/actions/create-internal-note.d.mts.map +1 -1
  44. package/dist/actions/create-internal-note.mjs.map +1 -1
  45. package/dist/actions/create-meeting.cjs.map +1 -1
  46. package/dist/actions/create-meeting.d.cts +31 -3
  47. package/dist/actions/create-meeting.d.cts.map +1 -1
  48. package/dist/actions/create-meeting.d.mts +31 -3
  49. package/dist/actions/create-meeting.d.mts.map +1 -1
  50. package/dist/actions/create-meeting.mjs.map +1 -1
  51. package/dist/actions/create-opportunity.cjs +1 -1
  52. package/dist/actions/create-opportunity.cjs.map +1 -1
  53. package/dist/actions/create-opportunity.d.cts +56 -3
  54. package/dist/actions/create-opportunity.d.cts.map +1 -1
  55. package/dist/actions/create-opportunity.d.mts +56 -3
  56. package/dist/actions/create-opportunity.d.mts.map +1 -1
  57. package/dist/actions/create-opportunity.mjs +1 -1
  58. package/dist/actions/create-opportunity.mjs.map +1 -1
  59. package/dist/actions/create-tag.cjs.map +1 -1
  60. package/dist/actions/create-tag.d.cts +9 -3
  61. package/dist/actions/create-tag.d.cts.map +1 -1
  62. package/dist/actions/create-tag.d.mts +9 -3
  63. package/dist/actions/create-tag.d.mts.map +1 -1
  64. package/dist/actions/create-tag.mjs.map +1 -1
  65. package/dist/actions/create-task.cjs +1 -1
  66. package/dist/actions/create-task.cjs.map +1 -1
  67. package/dist/actions/create-task.d.cts +15 -3
  68. package/dist/actions/create-task.d.cts.map +1 -1
  69. package/dist/actions/create-task.d.mts +15 -3
  70. package/dist/actions/create-task.d.mts.map +1 -1
  71. package/dist/actions/create-task.mjs +1 -1
  72. package/dist/actions/create-task.mjs.map +1 -1
  73. package/dist/actions/create-workflow.cjs.map +1 -1
  74. package/dist/actions/create-workflow.d.cts +147 -3
  75. package/dist/actions/create-workflow.d.cts.map +1 -1
  76. package/dist/actions/create-workflow.d.mts +147 -3
  77. package/dist/actions/create-workflow.d.mts.map +1 -1
  78. package/dist/actions/create-workflow.mjs.map +1 -1
  79. package/dist/actions/delete-account.cjs +1 -1
  80. package/dist/actions/delete-account.cjs.map +1 -1
  81. package/dist/actions/delete-account.d.cts +9 -3
  82. package/dist/actions/delete-account.d.cts.map +1 -1
  83. package/dist/actions/delete-account.d.mts +9 -3
  84. package/dist/actions/delete-account.d.mts.map +1 -1
  85. package/dist/actions/delete-account.mjs +1 -1
  86. package/dist/actions/delete-account.mjs.map +1 -1
  87. package/dist/actions/delete-contact.cjs +2 -2
  88. package/dist/actions/delete-contact.cjs.map +1 -1
  89. package/dist/actions/delete-contact.d.cts +10 -3
  90. package/dist/actions/delete-contact.d.cts.map +1 -1
  91. package/dist/actions/delete-contact.d.mts +10 -3
  92. package/dist/actions/delete-contact.d.mts.map +1 -1
  93. package/dist/actions/delete-contact.mjs +2 -2
  94. package/dist/actions/delete-contact.mjs.map +1 -1
  95. package/dist/actions/delete-custom-field.cjs +2 -2
  96. package/dist/actions/delete-custom-field.cjs.map +1 -1
  97. package/dist/actions/delete-custom-field.d.cts +16 -3
  98. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  99. package/dist/actions/delete-custom-field.d.mts +16 -3
  100. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  101. package/dist/actions/delete-custom-field.mjs +2 -2
  102. package/dist/actions/delete-custom-field.mjs.map +1 -1
  103. package/dist/actions/delete-internal-note.cjs +3 -3
  104. package/dist/actions/delete-internal-note.cjs.map +1 -1
  105. package/dist/actions/delete-internal-note.d.cts +11 -3
  106. package/dist/actions/delete-internal-note.d.cts.map +1 -1
  107. package/dist/actions/delete-internal-note.d.mts +11 -3
  108. package/dist/actions/delete-internal-note.d.mts.map +1 -1
  109. package/dist/actions/delete-internal-note.mjs +3 -3
  110. package/dist/actions/delete-internal-note.mjs.map +1 -1
  111. package/dist/actions/delete-meeting.cjs +1 -1
  112. package/dist/actions/delete-meeting.cjs.map +1 -1
  113. package/dist/actions/delete-meeting.d.cts +9 -3
  114. package/dist/actions/delete-meeting.d.cts.map +1 -1
  115. package/dist/actions/delete-meeting.d.mts +9 -3
  116. package/dist/actions/delete-meeting.d.mts.map +1 -1
  117. package/dist/actions/delete-meeting.mjs +1 -1
  118. package/dist/actions/delete-meeting.mjs.map +1 -1
  119. package/dist/actions/delete-opportunity.cjs +1 -1
  120. package/dist/actions/delete-opportunity.cjs.map +1 -1
  121. package/dist/actions/delete-opportunity.d.cts +9 -3
  122. package/dist/actions/delete-opportunity.d.cts.map +1 -1
  123. package/dist/actions/delete-opportunity.d.mts +9 -3
  124. package/dist/actions/delete-opportunity.d.mts.map +1 -1
  125. package/dist/actions/delete-opportunity.mjs +1 -1
  126. package/dist/actions/delete-opportunity.mjs.map +1 -1
  127. package/dist/actions/delete-tag.cjs +1 -1
  128. package/dist/actions/delete-tag.cjs.map +1 -1
  129. package/dist/actions/delete-tag.d.cts +9 -3
  130. package/dist/actions/delete-tag.d.cts.map +1 -1
  131. package/dist/actions/delete-tag.d.mts +9 -3
  132. package/dist/actions/delete-tag.d.mts.map +1 -1
  133. package/dist/actions/delete-tag.mjs +1 -1
  134. package/dist/actions/delete-tag.mjs.map +1 -1
  135. package/dist/actions/delete-task.cjs +1 -1
  136. package/dist/actions/delete-task.cjs.map +1 -1
  137. package/dist/actions/delete-task.d.cts +9 -3
  138. package/dist/actions/delete-task.d.cts.map +1 -1
  139. package/dist/actions/delete-task.d.mts +9 -3
  140. package/dist/actions/delete-task.d.mts.map +1 -1
  141. package/dist/actions/delete-task.mjs +1 -1
  142. package/dist/actions/delete-task.mjs.map +1 -1
  143. package/dist/actions/get-account.cjs.map +1 -1
  144. package/dist/actions/get-account.d.cts +72 -3
  145. package/dist/actions/get-account.d.cts.map +1 -1
  146. package/dist/actions/get-account.d.mts +72 -3
  147. package/dist/actions/get-account.d.mts.map +1 -1
  148. package/dist/actions/get-account.mjs.map +1 -1
  149. package/dist/actions/get-ai-settings.cjs.map +1 -1
  150. package/dist/actions/get-ai-settings.d.cts +13 -3
  151. package/dist/actions/get-ai-settings.d.cts.map +1 -1
  152. package/dist/actions/get-ai-settings.d.mts +13 -3
  153. package/dist/actions/get-ai-settings.d.mts.map +1 -1
  154. package/dist/actions/get-ai-settings.mjs.map +1 -1
  155. package/dist/actions/get-contact.cjs +1 -1
  156. package/dist/actions/get-contact.cjs.map +1 -1
  157. package/dist/actions/get-contact.d.cts +98 -3
  158. package/dist/actions/get-contact.d.cts.map +1 -1
  159. package/dist/actions/get-contact.d.mts +98 -3
  160. package/dist/actions/get-contact.d.mts.map +1 -1
  161. package/dist/actions/get-contact.mjs +1 -1
  162. package/dist/actions/get-contact.mjs.map +1 -1
  163. package/dist/actions/get-current-user.cjs +5 -5
  164. package/dist/actions/get-current-user.cjs.map +1 -1
  165. package/dist/actions/get-current-user.d.cts +156 -3
  166. package/dist/actions/get-current-user.d.cts.map +1 -1
  167. package/dist/actions/get-current-user.d.mts +156 -3
  168. package/dist/actions/get-current-user.d.mts.map +1 -1
  169. package/dist/actions/get-current-user.mjs +5 -5
  170. package/dist/actions/get-current-user.mjs.map +1 -1
  171. package/dist/actions/get-custom-field.cjs.map +1 -1
  172. package/dist/actions/get-custom-field.d.cts +41 -3
  173. package/dist/actions/get-custom-field.d.cts.map +1 -1
  174. package/dist/actions/get-custom-field.d.mts +41 -3
  175. package/dist/actions/get-custom-field.d.mts.map +1 -1
  176. package/dist/actions/get-custom-field.mjs.map +1 -1
  177. package/dist/actions/get-meeting.cjs +1 -1
  178. package/dist/actions/get-meeting.cjs.map +1 -1
  179. package/dist/actions/get-meeting.d.cts +22 -3
  180. package/dist/actions/get-meeting.d.cts.map +1 -1
  181. package/dist/actions/get-meeting.d.mts +22 -3
  182. package/dist/actions/get-meeting.d.mts.map +1 -1
  183. package/dist/actions/get-meeting.mjs +1 -1
  184. package/dist/actions/get-meeting.mjs.map +1 -1
  185. package/dist/actions/get-opportunity.cjs +11 -11
  186. package/dist/actions/get-opportunity.cjs.map +1 -1
  187. package/dist/actions/get-opportunity.d.cts +100 -3
  188. package/dist/actions/get-opportunity.d.cts.map +1 -1
  189. package/dist/actions/get-opportunity.d.mts +100 -3
  190. package/dist/actions/get-opportunity.d.mts.map +1 -1
  191. package/dist/actions/get-opportunity.mjs +11 -11
  192. package/dist/actions/get-opportunity.mjs.map +1 -1
  193. package/dist/actions/get-stage.cjs +1 -1
  194. package/dist/actions/get-stage.cjs.map +1 -1
  195. package/dist/actions/get-stage.d.cts +21 -3
  196. package/dist/actions/get-stage.d.cts.map +1 -1
  197. package/dist/actions/get-stage.d.mts +21 -3
  198. package/dist/actions/get-stage.d.mts.map +1 -1
  199. package/dist/actions/get-stage.mjs +1 -1
  200. package/dist/actions/get-stage.mjs.map +1 -1
  201. package/dist/actions/get-tag-usage.cjs.map +1 -1
  202. package/dist/actions/get-tag-usage.d.cts +23 -3
  203. package/dist/actions/get-tag-usage.d.cts.map +1 -1
  204. package/dist/actions/get-tag-usage.d.mts +23 -3
  205. package/dist/actions/get-tag-usage.d.mts.map +1 -1
  206. package/dist/actions/get-tag-usage.mjs.map +1 -1
  207. package/dist/actions/get-user.cjs.map +1 -1
  208. package/dist/actions/get-user.d.cts +64 -3
  209. package/dist/actions/get-user.d.cts.map +1 -1
  210. package/dist/actions/get-user.d.mts +64 -3
  211. package/dist/actions/get-user.d.mts.map +1 -1
  212. package/dist/actions/get-user.mjs.map +1 -1
  213. package/dist/actions/get-workflow-merge-fields.cjs +1 -1
  214. package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
  215. package/dist/actions/get-workflow-merge-fields.d.cts +14 -3
  216. package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -1
  217. package/dist/actions/get-workflow-merge-fields.d.mts +14 -3
  218. package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -1
  219. package/dist/actions/get-workflow-merge-fields.mjs +1 -1
  220. package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
  221. package/dist/actions/get-workflow.cjs +4 -4
  222. package/dist/actions/get-workflow.cjs.map +1 -1
  223. package/dist/actions/get-workflow.d.cts +140 -3
  224. package/dist/actions/get-workflow.d.cts.map +1 -1
  225. package/dist/actions/get-workflow.d.mts +140 -3
  226. package/dist/actions/get-workflow.d.mts.map +1 -1
  227. package/dist/actions/get-workflow.mjs +4 -4
  228. package/dist/actions/get-workflow.mjs.map +1 -1
  229. package/dist/actions/list-account-messages.cjs.map +1 -1
  230. package/dist/actions/list-account-messages.d.cts +35 -3
  231. package/dist/actions/list-account-messages.d.cts.map +1 -1
  232. package/dist/actions/list-account-messages.d.mts +35 -3
  233. package/dist/actions/list-account-messages.d.mts.map +1 -1
  234. package/dist/actions/list-account-messages.mjs.map +1 -1
  235. package/dist/actions/list-accounts.cjs.map +1 -1
  236. package/dist/actions/list-accounts.d.cts +84 -3
  237. package/dist/actions/list-accounts.d.cts.map +1 -1
  238. package/dist/actions/list-accounts.d.mts +84 -3
  239. package/dist/actions/list-accounts.d.mts.map +1 -1
  240. package/dist/actions/list-accounts.mjs.map +1 -1
  241. package/dist/actions/list-contacts.cjs +3 -3
  242. package/dist/actions/list-contacts.cjs.map +1 -1
  243. package/dist/actions/list-contacts.d.cts +137 -3
  244. package/dist/actions/list-contacts.d.cts.map +1 -1
  245. package/dist/actions/list-contacts.d.mts +137 -3
  246. package/dist/actions/list-contacts.d.mts.map +1 -1
  247. package/dist/actions/list-contacts.mjs +3 -3
  248. package/dist/actions/list-contacts.mjs.map +1 -1
  249. package/dist/actions/list-currencies.cjs +3 -3
  250. package/dist/actions/list-currencies.cjs.map +1 -1
  251. package/dist/actions/list-currencies.d.cts +9 -3
  252. package/dist/actions/list-currencies.d.cts.map +1 -1
  253. package/dist/actions/list-currencies.d.mts +9 -3
  254. package/dist/actions/list-currencies.d.mts.map +1 -1
  255. package/dist/actions/list-currencies.mjs +3 -3
  256. package/dist/actions/list-currencies.mjs.map +1 -1
  257. package/dist/actions/list-custom-field-options.cjs.map +1 -1
  258. package/dist/actions/list-custom-field-options.d.cts +17 -3
  259. package/dist/actions/list-custom-field-options.d.cts.map +1 -1
  260. package/dist/actions/list-custom-field-options.d.mts +17 -3
  261. package/dist/actions/list-custom-field-options.d.mts.map +1 -1
  262. package/dist/actions/list-custom-field-options.mjs.map +1 -1
  263. package/dist/actions/list-custom-field-types.cjs +4 -4
  264. package/dist/actions/list-custom-field-types.cjs.map +1 -1
  265. package/dist/actions/list-custom-field-types.d.cts +10 -3
  266. package/dist/actions/list-custom-field-types.d.cts.map +1 -1
  267. package/dist/actions/list-custom-field-types.d.mts +10 -3
  268. package/dist/actions/list-custom-field-types.d.mts.map +1 -1
  269. package/dist/actions/list-custom-field-types.mjs +4 -4
  270. package/dist/actions/list-custom-field-types.mjs.map +1 -1
  271. package/dist/actions/list-custom-fields.cjs.map +1 -1
  272. package/dist/actions/list-custom-fields.d.cts +45 -3
  273. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  274. package/dist/actions/list-custom-fields.d.mts +45 -3
  275. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  276. package/dist/actions/list-custom-fields.mjs.map +1 -1
  277. package/dist/actions/list-email-datasources.cjs +10 -10
  278. package/dist/actions/list-email-datasources.cjs.map +1 -1
  279. package/dist/actions/list-email-datasources.d.cts +45 -3
  280. package/dist/actions/list-email-datasources.d.cts.map +1 -1
  281. package/dist/actions/list-email-datasources.d.mts +45 -3
  282. package/dist/actions/list-email-datasources.d.mts.map +1 -1
  283. package/dist/actions/list-email-datasources.mjs +10 -10
  284. package/dist/actions/list-email-datasources.mjs.map +1 -1
  285. package/dist/actions/list-filter-fields.cjs +4 -4
  286. package/dist/actions/list-filter-fields.cjs.map +1 -1
  287. package/dist/actions/list-filter-fields.d.cts +116 -3
  288. package/dist/actions/list-filter-fields.d.cts.map +1 -1
  289. package/dist/actions/list-filter-fields.d.mts +116 -3
  290. package/dist/actions/list-filter-fields.d.mts.map +1 -1
  291. package/dist/actions/list-filter-fields.mjs +4 -4
  292. package/dist/actions/list-filter-fields.mjs.map +1 -1
  293. package/dist/actions/list-groups.cjs.map +1 -1
  294. package/dist/actions/list-groups.d.cts +8 -3
  295. package/dist/actions/list-groups.d.cts.map +1 -1
  296. package/dist/actions/list-groups.d.mts +8 -3
  297. package/dist/actions/list-groups.d.mts.map +1 -1
  298. package/dist/actions/list-groups.mjs.map +1 -1
  299. package/dist/actions/list-my-contacts.cjs +4 -4
  300. package/dist/actions/list-my-contacts.cjs.map +1 -1
  301. package/dist/actions/list-my-contacts.d.cts +138 -3
  302. package/dist/actions/list-my-contacts.d.cts.map +1 -1
  303. package/dist/actions/list-my-contacts.d.mts +138 -3
  304. package/dist/actions/list-my-contacts.d.mts.map +1 -1
  305. package/dist/actions/list-my-contacts.mjs +4 -4
  306. package/dist/actions/list-my-contacts.mjs.map +1 -1
  307. package/dist/actions/list-opportunities.cjs.map +1 -1
  308. package/dist/actions/list-opportunities.d.cts +130 -3
  309. package/dist/actions/list-opportunities.d.cts.map +1 -1
  310. package/dist/actions/list-opportunities.d.mts +130 -3
  311. package/dist/actions/list-opportunities.d.mts.map +1 -1
  312. package/dist/actions/list-opportunities.mjs.map +1 -1
  313. package/dist/actions/list-persons.cjs +1 -1
  314. package/dist/actions/list-persons.cjs.map +1 -1
  315. package/dist/actions/list-persons.d.cts +46 -3
  316. package/dist/actions/list-persons.d.cts.map +1 -1
  317. package/dist/actions/list-persons.d.mts +46 -3
  318. package/dist/actions/list-persons.d.mts.map +1 -1
  319. package/dist/actions/list-persons.mjs +1 -1
  320. package/dist/actions/list-persons.mjs.map +1 -1
  321. package/dist/actions/list-pipelines.cjs.map +1 -1
  322. package/dist/actions/list-pipelines.d.cts +44 -3
  323. package/dist/actions/list-pipelines.d.cts.map +1 -1
  324. package/dist/actions/list-pipelines.d.mts +44 -3
  325. package/dist/actions/list-pipelines.d.mts.map +1 -1
  326. package/dist/actions/list-pipelines.mjs.map +1 -1
  327. package/dist/actions/list-stages.cjs.map +1 -1
  328. package/dist/actions/list-stages.d.cts +32 -3
  329. package/dist/actions/list-stages.d.cts.map +1 -1
  330. package/dist/actions/list-stages.d.mts +32 -3
  331. package/dist/actions/list-stages.d.mts.map +1 -1
  332. package/dist/actions/list-stages.mjs.map +1 -1
  333. package/dist/actions/list-tags.cjs.map +1 -1
  334. package/dist/actions/list-tags.d.cts +28 -3
  335. package/dist/actions/list-tags.d.cts.map +1 -1
  336. package/dist/actions/list-tags.d.mts +28 -3
  337. package/dist/actions/list-tags.d.mts.map +1 -1
  338. package/dist/actions/list-tags.mjs.map +1 -1
  339. package/dist/actions/list-tasks.cjs +1 -1
  340. package/dist/actions/list-tasks.cjs.map +1 -1
  341. package/dist/actions/list-tasks.d.cts +64 -3
  342. package/dist/actions/list-tasks.d.cts.map +1 -1
  343. package/dist/actions/list-tasks.d.mts +64 -3
  344. package/dist/actions/list-tasks.d.mts.map +1 -1
  345. package/dist/actions/list-tasks.mjs +1 -1
  346. package/dist/actions/list-tasks.mjs.map +1 -1
  347. package/dist/actions/list-users.cjs.map +1 -1
  348. package/dist/actions/list-users.d.cts +80 -3
  349. package/dist/actions/list-users.d.cts.map +1 -1
  350. package/dist/actions/list-users.d.mts +80 -3
  351. package/dist/actions/list-users.d.mts.map +1 -1
  352. package/dist/actions/list-users.mjs.map +1 -1
  353. package/dist/actions/list-workflows.cjs +3 -3
  354. package/dist/actions/list-workflows.cjs.map +1 -1
  355. package/dist/actions/list-workflows.d.cts +74 -3
  356. package/dist/actions/list-workflows.d.cts.map +1 -1
  357. package/dist/actions/list-workflows.d.mts +74 -3
  358. package/dist/actions/list-workflows.d.mts.map +1 -1
  359. package/dist/actions/list-workflows.mjs +3 -3
  360. package/dist/actions/list-workflows.mjs.map +1 -1
  361. package/dist/actions/update-account-contacts.cjs +1 -1
  362. package/dist/actions/update-account-contacts.cjs.map +1 -1
  363. package/dist/actions/update-account-contacts.d.cts +19 -3
  364. package/dist/actions/update-account-contacts.d.cts.map +1 -1
  365. package/dist/actions/update-account-contacts.d.mts +19 -3
  366. package/dist/actions/update-account-contacts.d.mts.map +1 -1
  367. package/dist/actions/update-account-contacts.mjs +1 -1
  368. package/dist/actions/update-account-contacts.mjs.map +1 -1
  369. package/dist/actions/update-account-users.cjs +1 -1
  370. package/dist/actions/update-account-users.cjs.map +1 -1
  371. package/dist/actions/update-account-users.d.cts +19 -3
  372. package/dist/actions/update-account-users.d.cts.map +1 -1
  373. package/dist/actions/update-account-users.d.mts +19 -3
  374. package/dist/actions/update-account-users.d.mts.map +1 -1
  375. package/dist/actions/update-account-users.mjs +1 -1
  376. package/dist/actions/update-account-users.mjs.map +1 -1
  377. package/dist/actions/update-account.cjs.map +1 -1
  378. package/dist/actions/update-account.d.cts +132 -3
  379. package/dist/actions/update-account.d.cts.map +1 -1
  380. package/dist/actions/update-account.d.mts +132 -3
  381. package/dist/actions/update-account.d.mts.map +1 -1
  382. package/dist/actions/update-account.mjs.map +1 -1
  383. package/dist/actions/update-ai-settings.cjs.map +1 -1
  384. package/dist/actions/update-ai-settings.d.cts +25 -3
  385. package/dist/actions/update-ai-settings.d.cts.map +1 -1
  386. package/dist/actions/update-ai-settings.d.mts +25 -3
  387. package/dist/actions/update-ai-settings.d.mts.map +1 -1
  388. package/dist/actions/update-ai-settings.mjs.map +1 -1
  389. package/dist/actions/update-contact.cjs.map +1 -1
  390. package/dist/actions/update-contact.d.cts +131 -3
  391. package/dist/actions/update-contact.d.cts.map +1 -1
  392. package/dist/actions/update-contact.d.mts +131 -3
  393. package/dist/actions/update-contact.d.mts.map +1 -1
  394. package/dist/actions/update-contact.mjs.map +1 -1
  395. package/dist/actions/update-custom-field.cjs +1 -1
  396. package/dist/actions/update-custom-field.cjs.map +1 -1
  397. package/dist/actions/update-custom-field.d.cts +76 -3
  398. package/dist/actions/update-custom-field.d.cts.map +1 -1
  399. package/dist/actions/update-custom-field.d.mts +76 -3
  400. package/dist/actions/update-custom-field.d.mts.map +1 -1
  401. package/dist/actions/update-custom-field.mjs +1 -1
  402. package/dist/actions/update-custom-field.mjs.map +1 -1
  403. package/dist/actions/update-email-datasource.cjs +1 -1
  404. package/dist/actions/update-email-datasource.cjs.map +1 -1
  405. package/dist/actions/update-email-datasource.d.cts +19 -3
  406. package/dist/actions/update-email-datasource.d.cts.map +1 -1
  407. package/dist/actions/update-email-datasource.d.mts +19 -3
  408. package/dist/actions/update-email-datasource.d.mts.map +1 -1
  409. package/dist/actions/update-email-datasource.mjs +1 -1
  410. package/dist/actions/update-email-datasource.mjs.map +1 -1
  411. package/dist/actions/update-internal-note.cjs.map +1 -1
  412. package/dist/actions/update-internal-note.d.cts +23 -3
  413. package/dist/actions/update-internal-note.d.cts.map +1 -1
  414. package/dist/actions/update-internal-note.d.mts +23 -3
  415. package/dist/actions/update-internal-note.d.mts.map +1 -1
  416. package/dist/actions/update-internal-note.mjs.map +1 -1
  417. package/dist/actions/update-opportunity.cjs.map +1 -1
  418. package/dist/actions/update-opportunity.d.cts +60 -3
  419. package/dist/actions/update-opportunity.d.cts.map +1 -1
  420. package/dist/actions/update-opportunity.d.mts +60 -3
  421. package/dist/actions/update-opportunity.d.mts.map +1 -1
  422. package/dist/actions/update-opportunity.mjs.map +1 -1
  423. package/dist/actions/update-tag.cjs.map +1 -1
  424. package/dist/actions/update-tag.d.cts +11 -3
  425. package/dist/actions/update-tag.d.cts.map +1 -1
  426. package/dist/actions/update-tag.d.mts +11 -3
  427. package/dist/actions/update-tag.d.mts.map +1 -1
  428. package/dist/actions/update-tag.mjs.map +1 -1
  429. package/dist/actions/update-task.cjs.map +1 -1
  430. package/dist/actions/update-task.d.cts +19 -3
  431. package/dist/actions/update-task.d.cts.map +1 -1
  432. package/dist/actions/update-task.d.mts +19 -3
  433. package/dist/actions/update-task.d.mts.map +1 -1
  434. package/dist/actions/update-task.mjs.map +1 -1
  435. package/dist/actions/update-workflow-audience.cjs.map +1 -1
  436. package/dist/actions/update-workflow-audience.d.cts +15 -3
  437. package/dist/actions/update-workflow-audience.d.cts.map +1 -1
  438. package/dist/actions/update-workflow-audience.d.mts +15 -3
  439. package/dist/actions/update-workflow-audience.d.mts.map +1 -1
  440. package/dist/actions/update-workflow-audience.mjs.map +1 -1
  441. package/dist/actions/update-workflow.cjs.map +1 -1
  442. package/dist/actions/update-workflow.d.cts +101 -3
  443. package/dist/actions/update-workflow.d.cts.map +1 -1
  444. package/dist/actions/update-workflow.d.mts +101 -3
  445. package/dist/actions/update-workflow.d.mts.map +1 -1
  446. package/dist/actions/update-workflow.mjs.map +1 -1
  447. package/dist/catalog.cjs +7 -1
  448. package/dist/catalog.cjs.map +1 -1
  449. package/dist/catalog.d.cts +8 -0
  450. package/dist/catalog.d.mts +8 -0
  451. package/dist/catalog.mjs +7 -1
  452. package/dist/catalog.mjs.map +1 -1
  453. package/package.json +2 -2
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created task\"),\n}).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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,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 { 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}).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,SAAS,qDAAqD;AAEjE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-task.d.ts
4
- declare const SalesflareCreateTaskInput: z.ZodTypeAny;
5
- declare const SalesflareCreateTaskOutput: z.ZodTypeAny;
6
- declare const salesflareCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareCreateTaskInput: z.ZodObject<{
5
+ account: z.ZodOptional<z.ZodNumber>;
6
+ assignees: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
7
+ description: z.ZodString;
8
+ reminder_date: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SalesflareCreateTaskOutput: z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$strip>;
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]>;
7
19
  //#endregion
8
20
  export { salesflareCreateTask };
9
21
  //# 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,EAA2B,CAAA,CAAE,UAKqB;AAAA,cAClD,0BAAA,EAA4B,CAAA,CAAE,UAEuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-task.d.ts
4
- declare const SalesflareCreateTaskInput: z.ZodTypeAny;
5
- declare const SalesflareCreateTaskOutput: z.ZodTypeAny;
6
- declare const salesflareCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareCreateTaskInput: z.ZodObject<{
5
+ account: z.ZodOptional<z.ZodNumber>;
6
+ assignees: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
7
+ description: z.ZodString;
8
+ reminder_date: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SalesflareCreateTaskOutput: z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$strip>;
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]>;
7
19
  //#endregion
8
20
  export { salesflareCreateTask };
9
21
  //# 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,EAA2B,CAAA,CAAE,UAKqB;AAAA,cAClD,0BAAA,EAA4B,CAAA,CAAE,UAEuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -10,7 +10,7 @@ const salesflareCreateTask = action("SALESFLARE_CREATE_TASK", {
10
10
  description: z.string().describe("REQUIRED. Description or title of the task. This is the main content describing what needs to be done."),
11
11
  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()
12
12
  }).describe("Request model for creating a task in Salesflare."),
13
- output: z.object({ id: z.number().int().describe("Unique identifier of the newly created task") }).describe("Response model after creating a task in Salesflare.")
13
+ output: z.object({ id: z.number().int().describe("Unique identifier of the newly created task").nullable() }).describe("Response model after creating a task in Salesflare.")
14
14
  });
15
15
  //#endregion
16
16
  export { salesflareCreateTask };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created task\"),\n}).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,OAdqD,EAAE,OAAO;EAC9D,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,QATsD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
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}).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,SAAS,qDAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = 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}).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}).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}).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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created workflow\").nullable().optional(),\n}).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,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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;EAClG,QAAQA,IAAAA,EAAE,OAAO;GACjB,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;IACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;IAC/D,OAAOA,IAAAA,EAAE,MAAM;KAACA,IAAAA,EAAE,OAAO;KAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;KAAGA,IAAAA,EAAE,OAAO;KAAGA,IAAAA,EAAE,QAAQ;IAAC,CAAC,CAAC,CAAC,SA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C,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,0CAA0C;EAC9G,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,WAAWA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).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}).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}).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}).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;EAClG,QAAQA,IAAAA,EAAE,OAAO;GACjB,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;IACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;IAC/D,OAAOA,IAAAA,EAAE,MAAM;KAACA,IAAAA,EAAE,OAAO;KAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;KAAGA,IAAAA,EAAE,OAAO;KAAGA,IAAAA,EAAE,QAAQ;IAAC,CAAC,CAAC,CAAC,SAAS;IACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;GACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;GACnH,W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C,SAAS;EAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,WAAWA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,153 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-workflow.d.ts
4
- declare const SalesflareCreateWorkflowInput: z.ZodTypeAny;
5
- declare const SalesflareCreateWorkflowOutput: z.ZodTypeAny;
6
- declare const salesflareCreateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareCreateWorkflowInput: z.ZodObject<{
5
+ goal: z.ZodOptional<z.ZodEnum<{
6
+ opened: "opened";
7
+ clicked: "clicked";
8
+ replied: "replied";
9
+ }>>;
10
+ name: z.ZodString;
11
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNumber>;
13
+ name: z.ZodOptional<z.ZodString>;
14
+ order: z.ZodNumber;
15
+ filter: z.ZodOptional<z.ZodObject<{
16
+ rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ field: z.ZodOptional<z.ZodString>;
18
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>;
19
+ operator: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>>>;
21
+ condition: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>>;
23
+ trigger: z.ZodOptional<z.ZodString>;
24
+ analytics: z.ZodOptional<z.ZodObject<{
25
+ sent: z.ZodOptional<z.ZodNumber>;
26
+ opened: z.ZodOptional<z.ZodNumber>;
27
+ clicked: z.ZodOptional<z.ZodNumber>;
28
+ replied: z.ZodOptional<z.ZodNumber>;
29
+ }, z.core.$strip>>;
30
+ action_type: z.ZodOptional<z.ZodString>;
31
+ metrics_data: z.ZodOptional<z.ZodObject<{
32
+ open_rate: z.ZodOptional<z.ZodNumber>;
33
+ click_rate: z.ZodOptional<z.ZodNumber>;
34
+ reply_rate: z.ZodOptional<z.ZodNumber>;
35
+ }, z.core.$strip>>;
36
+ trigger_step: z.ZodOptional<z.ZodNumber>;
37
+ action_config: z.ZodOptional<z.ZodObject<{
38
+ body: z.ZodOptional<z.ZodString>;
39
+ subject: z.ZodOptional<z.ZodString>;
40
+ template_id: z.ZodOptional<z.ZodNumber>;
41
+ }, z.core.$strip>>;
42
+ action_source: z.ZodOptional<z.ZodNumber>;
43
+ action_status: z.ZodOptional<z.ZodString>;
44
+ trigger_after_days: z.ZodOptional<z.ZodNumber>;
45
+ trigger_step_index: z.ZodOptional<z.ZodNumber>;
46
+ action_source_email: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>>;
48
+ filter: z.ZodOptional<z.ZodObject<{
49
+ ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
50
+ }, z.core.$strip>>;
51
+ status: z.ZodOptional<z.ZodEnum<{
52
+ live: "live";
53
+ paused: "paused";
54
+ scheduled: "scheduled";
55
+ draft: "draft";
56
+ }>>;
57
+ continuous: z.ZodOptional<z.ZodBoolean>;
58
+ record_type: z.ZodOptional<z.ZodEnum<{
59
+ contact: "contact";
60
+ }>>;
61
+ schedule_date: z.ZodOptional<z.ZodString>;
62
+ schedule_days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
63
+ status_message: z.ZodOptional<z.ZodString>;
64
+ exit_after_days: z.ZodOptional<z.ZodNumber>;
65
+ schedule_time_end: z.ZodOptional<z.ZodString>;
66
+ schedule_time_start: z.ZodOptional<z.ZodString>;
67
+ individual_record_filter: z.ZodOptional<z.ZodObject<{
68
+ not: z.ZodOptional<z.ZodBoolean>;
69
+ rules: z.ZodArray<z.ZodObject<{
70
+ field: z.ZodOptional<z.ZodString>;
71
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>;
72
+ operator: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strip>>;
74
+ valid: z.ZodOptional<z.ZodBoolean>;
75
+ search: z.ZodOptional<z.ZodString>;
76
+ order_by: z.ZodOptional<z.ZodString>;
77
+ condition: z.ZodEnum<{
78
+ AND: "AND";
79
+ OR: "OR";
80
+ }>;
81
+ }, z.core.$strip>>;
82
+ }, z.core.$strip>;
83
+ declare const SalesflareCreateWorkflowOutput: z.ZodObject<{
84
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
+ }, z.core.$strip>;
86
+ declare const salesflareCreateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
87
+ name: string;
88
+ goal?: "opened" | "clicked" | "replied" | undefined;
89
+ steps?: {
90
+ order: number;
91
+ id?: number | undefined;
92
+ name?: string | undefined;
93
+ filter?: {
94
+ rules?: {
95
+ field?: string | undefined;
96
+ value?: string | number | boolean | undefined;
97
+ operator?: string | undefined;
98
+ }[] | undefined;
99
+ condition?: string | undefined;
100
+ } | undefined;
101
+ trigger?: string | undefined;
102
+ analytics?: {
103
+ sent?: number | undefined;
104
+ opened?: number | undefined;
105
+ clicked?: number | undefined;
106
+ replied?: number | undefined;
107
+ } | undefined;
108
+ action_type?: string | undefined;
109
+ metrics_data?: {
110
+ open_rate?: number | undefined;
111
+ click_rate?: number | undefined;
112
+ reply_rate?: number | undefined;
113
+ } | undefined;
114
+ trigger_step?: number | undefined;
115
+ action_config?: {
116
+ body?: string | undefined;
117
+ subject?: string | undefined;
118
+ template_id?: number | undefined;
119
+ } | undefined;
120
+ action_source?: number | undefined;
121
+ action_status?: string | undefined;
122
+ trigger_after_days?: number | undefined;
123
+ trigger_step_index?: number | undefined;
124
+ action_source_email?: string | undefined;
125
+ }[] | undefined;
126
+ filter?: {
127
+ ids?: number[] | undefined;
128
+ } | undefined;
129
+ status?: "live" | "paused" | "scheduled" | "draft" | undefined;
130
+ continuous?: boolean | undefined;
131
+ record_type?: "contact" | undefined;
132
+ schedule_date?: string | undefined;
133
+ schedule_days?: number[] | undefined;
134
+ status_message?: string | undefined;
135
+ exit_after_days?: number | undefined;
136
+ schedule_time_end?: string | undefined;
137
+ schedule_time_start?: string | undefined;
138
+ individual_record_filter?: {
139
+ rules: {
140
+ field?: string | undefined;
141
+ value?: string | number | boolean | undefined;
142
+ operator?: string | undefined;
143
+ }[];
144
+ condition: "AND" | "OR";
145
+ not?: boolean | undefined;
146
+ valid?: boolean | undefined;
147
+ search?: string | undefined;
148
+ order_by?: string | undefined;
149
+ } | undefined;
150
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
151
  //#endregion
8
152
  export { salesflareCreateWorkflow };
9
153
  //# 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,EAA+B,CAAA,CAAE,UAgEqB;AAAA,cACtD,8BAAA,EAAgC,CAAA,CAAE,UAES;AAAA,cAE3C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,153 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-workflow.d.ts
4
- declare const SalesflareCreateWorkflowInput: z.ZodTypeAny;
5
- declare const SalesflareCreateWorkflowOutput: z.ZodTypeAny;
6
- declare const salesflareCreateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareCreateWorkflowInput: z.ZodObject<{
5
+ goal: z.ZodOptional<z.ZodEnum<{
6
+ opened: "opened";
7
+ clicked: "clicked";
8
+ replied: "replied";
9
+ }>>;
10
+ name: z.ZodString;
11
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNumber>;
13
+ name: z.ZodOptional<z.ZodString>;
14
+ order: z.ZodNumber;
15
+ filter: z.ZodOptional<z.ZodObject<{
16
+ rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ field: z.ZodOptional<z.ZodString>;
18
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>;
19
+ operator: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>>>;
21
+ condition: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>>;
23
+ trigger: z.ZodOptional<z.ZodString>;
24
+ analytics: z.ZodOptional<z.ZodObject<{
25
+ sent: z.ZodOptional<z.ZodNumber>;
26
+ opened: z.ZodOptional<z.ZodNumber>;
27
+ clicked: z.ZodOptional<z.ZodNumber>;
28
+ replied: z.ZodOptional<z.ZodNumber>;
29
+ }, z.core.$strip>>;
30
+ action_type: z.ZodOptional<z.ZodString>;
31
+ metrics_data: z.ZodOptional<z.ZodObject<{
32
+ open_rate: z.ZodOptional<z.ZodNumber>;
33
+ click_rate: z.ZodOptional<z.ZodNumber>;
34
+ reply_rate: z.ZodOptional<z.ZodNumber>;
35
+ }, z.core.$strip>>;
36
+ trigger_step: z.ZodOptional<z.ZodNumber>;
37
+ action_config: z.ZodOptional<z.ZodObject<{
38
+ body: z.ZodOptional<z.ZodString>;
39
+ subject: z.ZodOptional<z.ZodString>;
40
+ template_id: z.ZodOptional<z.ZodNumber>;
41
+ }, z.core.$strip>>;
42
+ action_source: z.ZodOptional<z.ZodNumber>;
43
+ action_status: z.ZodOptional<z.ZodString>;
44
+ trigger_after_days: z.ZodOptional<z.ZodNumber>;
45
+ trigger_step_index: z.ZodOptional<z.ZodNumber>;
46
+ action_source_email: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>>;
48
+ filter: z.ZodOptional<z.ZodObject<{
49
+ ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
50
+ }, z.core.$strip>>;
51
+ status: z.ZodOptional<z.ZodEnum<{
52
+ live: "live";
53
+ paused: "paused";
54
+ scheduled: "scheduled";
55
+ draft: "draft";
56
+ }>>;
57
+ continuous: z.ZodOptional<z.ZodBoolean>;
58
+ record_type: z.ZodOptional<z.ZodEnum<{
59
+ contact: "contact";
60
+ }>>;
61
+ schedule_date: z.ZodOptional<z.ZodString>;
62
+ schedule_days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
63
+ status_message: z.ZodOptional<z.ZodString>;
64
+ exit_after_days: z.ZodOptional<z.ZodNumber>;
65
+ schedule_time_end: z.ZodOptional<z.ZodString>;
66
+ schedule_time_start: z.ZodOptional<z.ZodString>;
67
+ individual_record_filter: z.ZodOptional<z.ZodObject<{
68
+ not: z.ZodOptional<z.ZodBoolean>;
69
+ rules: z.ZodArray<z.ZodObject<{
70
+ field: z.ZodOptional<z.ZodString>;
71
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>;
72
+ operator: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strip>>;
74
+ valid: z.ZodOptional<z.ZodBoolean>;
75
+ search: z.ZodOptional<z.ZodString>;
76
+ order_by: z.ZodOptional<z.ZodString>;
77
+ condition: z.ZodEnum<{
78
+ AND: "AND";
79
+ OR: "OR";
80
+ }>;
81
+ }, z.core.$strip>>;
82
+ }, z.core.$strip>;
83
+ declare const SalesflareCreateWorkflowOutput: z.ZodObject<{
84
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
+ }, z.core.$strip>;
86
+ declare const salesflareCreateWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
87
+ name: string;
88
+ goal?: "opened" | "clicked" | "replied" | undefined;
89
+ steps?: {
90
+ order: number;
91
+ id?: number | undefined;
92
+ name?: string | undefined;
93
+ filter?: {
94
+ rules?: {
95
+ field?: string | undefined;
96
+ value?: string | number | boolean | undefined;
97
+ operator?: string | undefined;
98
+ }[] | undefined;
99
+ condition?: string | undefined;
100
+ } | undefined;
101
+ trigger?: string | undefined;
102
+ analytics?: {
103
+ sent?: number | undefined;
104
+ opened?: number | undefined;
105
+ clicked?: number | undefined;
106
+ replied?: number | undefined;
107
+ } | undefined;
108
+ action_type?: string | undefined;
109
+ metrics_data?: {
110
+ open_rate?: number | undefined;
111
+ click_rate?: number | undefined;
112
+ reply_rate?: number | undefined;
113
+ } | undefined;
114
+ trigger_step?: number | undefined;
115
+ action_config?: {
116
+ body?: string | undefined;
117
+ subject?: string | undefined;
118
+ template_id?: number | undefined;
119
+ } | undefined;
120
+ action_source?: number | undefined;
121
+ action_status?: string | undefined;
122
+ trigger_after_days?: number | undefined;
123
+ trigger_step_index?: number | undefined;
124
+ action_source_email?: string | undefined;
125
+ }[] | undefined;
126
+ filter?: {
127
+ ids?: number[] | undefined;
128
+ } | undefined;
129
+ status?: "live" | "paused" | "scheduled" | "draft" | undefined;
130
+ continuous?: boolean | undefined;
131
+ record_type?: "contact" | undefined;
132
+ schedule_date?: string | undefined;
133
+ schedule_days?: number[] | undefined;
134
+ status_message?: string | undefined;
135
+ exit_after_days?: number | undefined;
136
+ schedule_time_end?: string | undefined;
137
+ schedule_time_start?: string | undefined;
138
+ individual_record_filter?: {
139
+ rules: {
140
+ field?: string | undefined;
141
+ value?: string | number | boolean | undefined;
142
+ operator?: string | undefined;
143
+ }[];
144
+ condition: "AND" | "OR";
145
+ not?: boolean | undefined;
146
+ valid?: boolean | undefined;
147
+ search?: string | undefined;
148
+ order_by?: string | undefined;
149
+ } | undefined;
150
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
151
  //#endregion
8
152
  export { salesflareCreateWorkflow };
9
153
  //# 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,EAA+B,CAAA,CAAE,UAgEqB;AAAA,cACtD,8BAAA,EAAgC,CAAA,CAAE,UAES;AAAA,cAE3C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +1 @@
1
- {"version":3,"file":"create-workflow.mjs","names":[],"sources":["../../src/actions/create-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateWorkflowInput: z.ZodTypeAny = 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}).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}).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}).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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created workflow\").nullable().optional(),\n}).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":";;AAyEA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzEyD,EAAE,OAAO;EAClE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAW;EAAS,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAClF,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;GAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;GAClG,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE,MAAM,EA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CAAC,SAAS;GAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;GACzE,WAAW,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD;EAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAT0D,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-workflow.mjs","names":[],"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}).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}).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}).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}).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":";;AAyEA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzE2C,EAAE,OAAO;EACpD,MAAM,EAAE,KAAK;GAAC;GAAU;GA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E,OAAO;IACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;IAC/D,OAAO,EAAE,MAAM;KAAC,EAAE,OAAO;KAAG,EAAE,OAAO,CAAC,CAAC,IAAI;KAAG,EAAE,OAAO;KAAG,EAAE,QAAQ;IAAC,CAAC,CAAC,CAAC,SAAS;IACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;GACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,0CAA0C;GAC9G,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;GAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;GACzE,WAAW,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD;EAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAT4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-account.ts
4
4
  const SalesflareDeleteAccountInput = zod.z.object({ account_id: zod.z.number().int().describe("Unique numeric identifier of the account to delete. WARNING: This permanently removes the account from the Salesflare system. This action cannot be undone. Ensure you have the correct account ID before deletion.") }).describe("Request parameters for deleting an account.");
5
- const SalesflareDeleteAccountOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message or response from the API indicating successful deletion.") }).describe("Response for successful account deletion.");
5
+ const SalesflareDeleteAccountOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message or response from the API indicating successful deletion.").nullable() }).describe("Response for successful account deletion.");
6
6
  const salesflareDeleteAccount = require_action.action("SALESFLARE_DELETE_ACCOUNT", {
7
7
  slug: "salesflare-delete-account",
8
8
  name: "Delete Account",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-account.cjs","names":["z","action"],"sources":["../../src/actions/delete-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareDeleteAccountInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Unique numeric identifier of the account to delete. WARNING: This permanently removes the account from the Salesflare system. This action cannot be undone. Ensure you have the correct account ID before deletion.\"),\n}).describe(\"Request parameters for deleting an account.\");\nexport const SalesflareDeleteAccountOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message or response from the API indicating successful deletion.\"),\n}).describe(\"Response for successful account deletion.\");\n\nexport const salesflareDeleteAccount = action(\"SALESFLARE_DELETE_ACCOUNT\", {\n slug: \"salesflare-delete-account\",\n name: \"Delete Account\",\n description: \"Tool to permanently delete an account from Salesflare. Use when you need to remove an account from the system. WARNING: This action cannot be undone and permanently removes the account.\",\n input: SalesflareDeleteAccountInput,\n output: SalesflareDeleteAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qNAAqN,EAC7P,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-account.cjs","names":["z","action"],"sources":["../../src/actions/delete-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareDeleteAccountInput = z.object({\n account_id: z.number().int().describe(\"Unique numeric identifier of the account to delete. WARNING: This permanently removes the account from the Salesflare system. This action cannot be undone. Ensure you have the correct account ID before deletion.\"),\n}).describe(\"Request parameters for deleting an account.\");\nexport const SalesflareDeleteAccountOutput = z.object({\n message: z.string().describe(\"Confirmation message or response from the API indicating successful deletion.\").nullable(),\n}).describe(\"Response for successful account deletion.\");\n\nexport const salesflareDeleteAccount = action(\"SALESFLARE_DELETE_ACCOUNT\", {\n slug: \"salesflare-delete-account\",\n name: \"Delete Account\",\n description: \"Tool to permanently delete an account from Salesflare. Use when you need to remove an account from the system. WARNING: This action cannot be undone and permanently removes the account.\",\n input: SalesflareDeleteAccountInput,\n output: SalesflareDeleteAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qNAAqN,EAC7P,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-account.d.ts
4
- declare const SalesflareDeleteAccountInput: z.ZodTypeAny;
5
- declare const SalesflareDeleteAccountOutput: z.ZodTypeAny;
6
- declare const salesflareDeleteAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareDeleteAccountInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SalesflareDeleteAccountOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const salesflareDeleteAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ account_id: number;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { salesflareDeleteAccount };
9
15
  //# sourceMappingURL=delete-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-account.d.cts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAC7C,6BAAA,EAA+B,CAAA,CAAE,UAEU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-account.d.cts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-account.d.ts
4
- declare const SalesflareDeleteAccountInput: z.ZodTypeAny;
5
- declare const SalesflareDeleteAccountOutput: z.ZodTypeAny;
6
- declare const salesflareDeleteAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareDeleteAccountInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SalesflareDeleteAccountOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const salesflareDeleteAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ account_id: number;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { salesflareDeleteAccount };
9
15
  //# sourceMappingURL=delete-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-account.d.mts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAC7C,6BAAA,EAA+B,CAAA,CAAE,UAEU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-account.d.mts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -5,7 +5,7 @@ const salesflareDeleteAccount = action("SALESFLARE_DELETE_ACCOUNT", {
5
5
  name: "Delete Account",
6
6
  description: "Tool to permanently delete an account from Salesflare. Use when you need to remove an account from the system. WARNING: This action cannot be undone and permanently removes the account.",
7
7
  input: z.object({ account_id: z.number().int().describe("Unique numeric identifier of the account to delete. WARNING: This permanently removes the account from the Salesflare system. This action cannot be undone. Ensure you have the correct account ID before deletion.") }).describe("Request parameters for deleting an account."),
8
- output: z.object({ message: z.string().describe("Confirmation message or response from the API indicating successful deletion.") }).describe("Response for successful account deletion.")
8
+ output: z.object({ message: z.string().describe("Confirmation message or response from the API indicating successful deletion.").nullable() }).describe("Response for successful account deletion.")
9
9
  });
10
10
  //#endregion
11
11
  export { salesflareDeleteAccount };