@keystrokehq/salesflare 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (538) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-account-contacts.cjs +19 -0
  7. package/dist/actions/add-account-contacts.cjs.map +1 -0
  8. package/dist/actions/add-account-contacts.d.cts +9 -0
  9. package/dist/actions/add-account-contacts.d.cts.map +1 -0
  10. package/dist/actions/add-account-contacts.d.mts +9 -0
  11. package/dist/actions/add-account-contacts.d.mts.map +1 -0
  12. package/dist/actions/add-account-contacts.mjs +16 -0
  13. package/dist/actions/add-account-contacts.mjs.map +1 -0
  14. package/dist/actions/create-account.cjs +83 -0
  15. package/dist/actions/create-account.cjs.map +1 -0
  16. package/dist/actions/create-account.d.cts +9 -0
  17. package/dist/actions/create-account.d.cts.map +1 -0
  18. package/dist/actions/create-account.d.mts +9 -0
  19. package/dist/actions/create-account.d.mts.map +1 -0
  20. package/dist/actions/create-account.mjs +82 -0
  21. package/dist/actions/create-account.mjs.map +1 -0
  22. package/dist/actions/create-call.cjs +31 -0
  23. package/dist/actions/create-call.cjs.map +1 -0
  24. package/dist/actions/create-call.d.cts +9 -0
  25. package/dist/actions/create-call.d.cts.map +1 -0
  26. package/dist/actions/create-call.d.mts +9 -0
  27. package/dist/actions/create-call.d.mts.map +1 -0
  28. package/dist/actions/create-call.mjs +30 -0
  29. package/dist/actions/create-call.mjs.map +1 -0
  30. package/dist/actions/create-contact.cjs +71 -0
  31. package/dist/actions/create-contact.cjs.map +1 -0
  32. package/dist/actions/create-contact.d.cts +9 -0
  33. package/dist/actions/create-contact.d.cts.map +1 -0
  34. package/dist/actions/create-contact.d.mts +9 -0
  35. package/dist/actions/create-contact.d.mts.map +1 -0
  36. package/dist/actions/create-contact.mjs +70 -0
  37. package/dist/actions/create-contact.mjs.map +1 -0
  38. package/dist/actions/create-custom-field.cjs +42 -0
  39. package/dist/actions/create-custom-field.cjs.map +1 -0
  40. package/dist/actions/create-custom-field.d.cts +9 -0
  41. package/dist/actions/create-custom-field.d.cts.map +1 -0
  42. package/dist/actions/create-custom-field.d.mts +9 -0
  43. package/dist/actions/create-custom-field.d.mts.map +1 -0
  44. package/dist/actions/create-custom-field.mjs +39 -0
  45. package/dist/actions/create-custom-field.mjs.map +1 -0
  46. package/dist/actions/create-internal-note.cjs +29 -0
  47. package/dist/actions/create-internal-note.cjs.map +1 -0
  48. package/dist/actions/create-internal-note.d.cts +9 -0
  49. package/dist/actions/create-internal-note.d.cts.map +1 -0
  50. package/dist/actions/create-internal-note.d.mts +9 -0
  51. package/dist/actions/create-internal-note.d.mts.map +1 -0
  52. package/dist/actions/create-internal-note.mjs +26 -0
  53. package/dist/actions/create-internal-note.mjs.map +1 -0
  54. package/dist/actions/create-meeting.cjs +30 -0
  55. package/dist/actions/create-meeting.cjs.map +1 -0
  56. package/dist/actions/create-meeting.d.cts +9 -0
  57. package/dist/actions/create-meeting.d.cts.map +1 -0
  58. package/dist/actions/create-meeting.d.mts +9 -0
  59. package/dist/actions/create-meeting.d.mts.map +1 -0
  60. package/dist/actions/create-meeting.mjs +27 -0
  61. package/dist/actions/create-meeting.mjs.map +1 -0
  62. package/dist/actions/create-opportunity.cjs +44 -0
  63. package/dist/actions/create-opportunity.cjs.map +1 -0
  64. package/dist/actions/create-opportunity.d.cts +9 -0
  65. package/dist/actions/create-opportunity.d.cts.map +1 -0
  66. package/dist/actions/create-opportunity.d.mts +9 -0
  67. package/dist/actions/create-opportunity.d.mts.map +1 -0
  68. package/dist/actions/create-opportunity.mjs +41 -0
  69. package/dist/actions/create-opportunity.mjs.map +1 -0
  70. package/dist/actions/create-tag.cjs +16 -0
  71. package/dist/actions/create-tag.cjs.map +1 -0
  72. package/dist/actions/create-tag.d.cts +9 -0
  73. package/dist/actions/create-tag.d.cts.map +1 -0
  74. package/dist/actions/create-tag.d.mts +9 -0
  75. package/dist/actions/create-tag.d.mts.map +1 -0
  76. package/dist/actions/create-tag.mjs +13 -0
  77. package/dist/actions/create-tag.mjs.map +1 -0
  78. package/dist/actions/create-task.cjs +21 -0
  79. package/dist/actions/create-task.cjs.map +1 -0
  80. package/dist/actions/create-task.d.cts +9 -0
  81. package/dist/actions/create-task.d.cts.map +1 -0
  82. package/dist/actions/create-task.d.mts +9 -0
  83. package/dist/actions/create-task.d.mts.map +1 -0
  84. package/dist/actions/create-task.mjs +18 -0
  85. package/dist/actions/create-task.mjs.map +1 -0
  86. package/dist/actions/create-workflow.cjs +97 -0
  87. package/dist/actions/create-workflow.cjs.map +1 -0
  88. package/dist/actions/create-workflow.d.cts +9 -0
  89. package/dist/actions/create-workflow.d.cts.map +1 -0
  90. package/dist/actions/create-workflow.d.mts +9 -0
  91. package/dist/actions/create-workflow.d.mts.map +1 -0
  92. package/dist/actions/create-workflow.mjs +94 -0
  93. package/dist/actions/create-workflow.mjs.map +1 -0
  94. package/dist/actions/delete-account.cjs +16 -0
  95. package/dist/actions/delete-account.cjs.map +1 -0
  96. package/dist/actions/delete-account.d.cts +9 -0
  97. package/dist/actions/delete-account.d.cts.map +1 -0
  98. package/dist/actions/delete-account.d.mts +9 -0
  99. package/dist/actions/delete-account.d.mts.map +1 -0
  100. package/dist/actions/delete-account.mjs +13 -0
  101. package/dist/actions/delete-account.mjs.map +1 -0
  102. package/dist/actions/delete-contact.cjs +19 -0
  103. package/dist/actions/delete-contact.cjs.map +1 -0
  104. package/dist/actions/delete-contact.d.cts +9 -0
  105. package/dist/actions/delete-contact.d.cts.map +1 -0
  106. package/dist/actions/delete-contact.d.mts +9 -0
  107. package/dist/actions/delete-contact.d.mts.map +1 -0
  108. package/dist/actions/delete-contact.mjs +16 -0
  109. package/dist/actions/delete-contact.mjs.map +1 -0
  110. package/dist/actions/delete-custom-field.cjs +26 -0
  111. package/dist/actions/delete-custom-field.cjs.map +1 -0
  112. package/dist/actions/delete-custom-field.d.cts +9 -0
  113. package/dist/actions/delete-custom-field.d.cts.map +1 -0
  114. package/dist/actions/delete-custom-field.d.mts +9 -0
  115. package/dist/actions/delete-custom-field.d.mts.map +1 -0
  116. package/dist/actions/delete-custom-field.mjs +23 -0
  117. package/dist/actions/delete-custom-field.mjs.map +1 -0
  118. package/dist/actions/delete-internal-note.cjs +20 -0
  119. package/dist/actions/delete-internal-note.cjs.map +1 -0
  120. package/dist/actions/delete-internal-note.d.cts +9 -0
  121. package/dist/actions/delete-internal-note.d.cts.map +1 -0
  122. package/dist/actions/delete-internal-note.d.mts +9 -0
  123. package/dist/actions/delete-internal-note.d.mts.map +1 -0
  124. package/dist/actions/delete-internal-note.mjs +17 -0
  125. package/dist/actions/delete-internal-note.mjs.map +1 -0
  126. package/dist/actions/delete-meeting.cjs +16 -0
  127. package/dist/actions/delete-meeting.cjs.map +1 -0
  128. package/dist/actions/delete-meeting.d.cts +9 -0
  129. package/dist/actions/delete-meeting.d.cts.map +1 -0
  130. package/dist/actions/delete-meeting.d.mts +9 -0
  131. package/dist/actions/delete-meeting.d.mts.map +1 -0
  132. package/dist/actions/delete-meeting.mjs +13 -0
  133. package/dist/actions/delete-meeting.mjs.map +1 -0
  134. package/dist/actions/delete-opportunity.cjs +16 -0
  135. package/dist/actions/delete-opportunity.cjs.map +1 -0
  136. package/dist/actions/delete-opportunity.d.cts +9 -0
  137. package/dist/actions/delete-opportunity.d.cts.map +1 -0
  138. package/dist/actions/delete-opportunity.d.mts +9 -0
  139. package/dist/actions/delete-opportunity.d.mts.map +1 -0
  140. package/dist/actions/delete-opportunity.mjs +13 -0
  141. package/dist/actions/delete-opportunity.mjs.map +1 -0
  142. package/dist/actions/delete-tag.cjs +16 -0
  143. package/dist/actions/delete-tag.cjs.map +1 -0
  144. package/dist/actions/delete-tag.d.cts +9 -0
  145. package/dist/actions/delete-tag.d.cts.map +1 -0
  146. package/dist/actions/delete-tag.d.mts +9 -0
  147. package/dist/actions/delete-tag.d.mts.map +1 -0
  148. package/dist/actions/delete-tag.mjs +13 -0
  149. package/dist/actions/delete-tag.mjs.map +1 -0
  150. package/dist/actions/delete-task.cjs +16 -0
  151. package/dist/actions/delete-task.cjs.map +1 -0
  152. package/dist/actions/delete-task.d.cts +9 -0
  153. package/dist/actions/delete-task.d.cts.map +1 -0
  154. package/dist/actions/delete-task.d.mts +9 -0
  155. package/dist/actions/delete-task.d.mts.map +1 -0
  156. package/dist/actions/delete-task.mjs +13 -0
  157. package/dist/actions/delete-task.mjs.map +1 -0
  158. package/dist/actions/get-account.cjs +80 -0
  159. package/dist/actions/get-account.cjs.map +1 -0
  160. package/dist/actions/get-account.d.cts +9 -0
  161. package/dist/actions/get-account.d.cts.map +1 -0
  162. package/dist/actions/get-account.d.mts +9 -0
  163. package/dist/actions/get-account.d.mts.map +1 -0
  164. package/dist/actions/get-account.mjs +79 -0
  165. package/dist/actions/get-account.mjs.map +1 -0
  166. package/dist/actions/get-ai-settings.cjs +28 -0
  167. package/dist/actions/get-ai-settings.cjs.map +1 -0
  168. package/dist/actions/get-ai-settings.d.cts +9 -0
  169. package/dist/actions/get-ai-settings.d.cts.map +1 -0
  170. package/dist/actions/get-ai-settings.d.mts +9 -0
  171. package/dist/actions/get-ai-settings.d.mts.map +1 -0
  172. package/dist/actions/get-ai-settings.mjs +27 -0
  173. package/dist/actions/get-ai-settings.mjs.map +1 -0
  174. package/dist/actions/get-contact.cjs +102 -0
  175. package/dist/actions/get-contact.cjs.map +1 -0
  176. package/dist/actions/get-contact.d.cts +9 -0
  177. package/dist/actions/get-contact.d.cts.map +1 -0
  178. package/dist/actions/get-contact.d.mts +9 -0
  179. package/dist/actions/get-contact.d.mts.map +1 -0
  180. package/dist/actions/get-contact.mjs +101 -0
  181. package/dist/actions/get-contact.mjs.map +1 -0
  182. package/dist/actions/get-current-user.cjs +177 -0
  183. package/dist/actions/get-current-user.cjs.map +1 -0
  184. package/dist/actions/get-current-user.d.cts +9 -0
  185. package/dist/actions/get-current-user.d.cts.map +1 -0
  186. package/dist/actions/get-current-user.d.mts +9 -0
  187. package/dist/actions/get-current-user.d.mts.map +1 -0
  188. package/dist/actions/get-current-user.mjs +176 -0
  189. package/dist/actions/get-current-user.mjs.map +1 -0
  190. package/dist/actions/get-custom-field.cjs +53 -0
  191. package/dist/actions/get-custom-field.cjs.map +1 -0
  192. package/dist/actions/get-custom-field.d.cts +9 -0
  193. package/dist/actions/get-custom-field.d.cts.map +1 -0
  194. package/dist/actions/get-custom-field.d.mts +9 -0
  195. package/dist/actions/get-custom-field.d.mts.map +1 -0
  196. package/dist/actions/get-custom-field.mjs +52 -0
  197. package/dist/actions/get-custom-field.mjs.map +1 -0
  198. package/dist/actions/get-meeting.cjs +32 -0
  199. package/dist/actions/get-meeting.cjs.map +1 -0
  200. package/dist/actions/get-meeting.d.cts +9 -0
  201. package/dist/actions/get-meeting.d.cts.map +1 -0
  202. package/dist/actions/get-meeting.d.mts +9 -0
  203. package/dist/actions/get-meeting.d.mts.map +1 -0
  204. package/dist/actions/get-meeting.mjs +31 -0
  205. package/dist/actions/get-meeting.mjs.map +1 -0
  206. package/dist/actions/get-opportunity.cjs +122 -0
  207. package/dist/actions/get-opportunity.cjs.map +1 -0
  208. package/dist/actions/get-opportunity.d.cts +9 -0
  209. package/dist/actions/get-opportunity.d.cts.map +1 -0
  210. package/dist/actions/get-opportunity.d.mts +9 -0
  211. package/dist/actions/get-opportunity.d.mts.map +1 -0
  212. package/dist/actions/get-opportunity.mjs +121 -0
  213. package/dist/actions/get-opportunity.mjs.map +1 -0
  214. package/dist/actions/get-stage.cjs +31 -0
  215. package/dist/actions/get-stage.cjs.map +1 -0
  216. package/dist/actions/get-stage.d.cts +9 -0
  217. package/dist/actions/get-stage.d.cts.map +1 -0
  218. package/dist/actions/get-stage.d.mts +9 -0
  219. package/dist/actions/get-stage.d.mts.map +1 -0
  220. package/dist/actions/get-stage.mjs +30 -0
  221. package/dist/actions/get-stage.mjs.map +1 -0
  222. package/dist/actions/get-tag-usage.cjs +35 -0
  223. package/dist/actions/get-tag-usage.cjs.map +1 -0
  224. package/dist/actions/get-tag-usage.d.cts +9 -0
  225. package/dist/actions/get-tag-usage.d.cts.map +1 -0
  226. package/dist/actions/get-tag-usage.d.mts +9 -0
  227. package/dist/actions/get-tag-usage.d.mts.map +1 -0
  228. package/dist/actions/get-tag-usage.mjs +34 -0
  229. package/dist/actions/get-tag-usage.mjs.map +1 -0
  230. package/dist/actions/get-user.cjs +79 -0
  231. package/dist/actions/get-user.cjs.map +1 -0
  232. package/dist/actions/get-user.d.cts +9 -0
  233. package/dist/actions/get-user.d.cts.map +1 -0
  234. package/dist/actions/get-user.d.mts +9 -0
  235. package/dist/actions/get-user.d.mts.map +1 -0
  236. package/dist/actions/get-user.mjs +78 -0
  237. package/dist/actions/get-user.mjs.map +1 -0
  238. package/dist/actions/get-workflow-merge-fields.cjs +24 -0
  239. package/dist/actions/get-workflow-merge-fields.cjs.map +1 -0
  240. package/dist/actions/get-workflow-merge-fields.d.cts +9 -0
  241. package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -0
  242. package/dist/actions/get-workflow-merge-fields.d.mts +9 -0
  243. package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -0
  244. package/dist/actions/get-workflow-merge-fields.mjs +23 -0
  245. package/dist/actions/get-workflow-merge-fields.mjs.map +1 -0
  246. package/dist/actions/get-workflow.cjs +111 -0
  247. package/dist/actions/get-workflow.cjs.map +1 -0
  248. package/dist/actions/get-workflow.d.cts +9 -0
  249. package/dist/actions/get-workflow.d.cts.map +1 -0
  250. package/dist/actions/get-workflow.d.mts +9 -0
  251. package/dist/actions/get-workflow.d.mts.map +1 -0
  252. package/dist/actions/get-workflow.mjs +110 -0
  253. package/dist/actions/get-workflow.mjs.map +1 -0
  254. package/dist/actions/index.cjs +127 -0
  255. package/dist/actions/index.d.cts +64 -0
  256. package/dist/actions/index.d.mts +64 -0
  257. package/dist/actions/index.mjs +64 -0
  258. package/dist/actions/list-account-messages.cjs +42 -0
  259. package/dist/actions/list-account-messages.cjs.map +1 -0
  260. package/dist/actions/list-account-messages.d.cts +9 -0
  261. package/dist/actions/list-account-messages.d.cts.map +1 -0
  262. package/dist/actions/list-account-messages.d.mts +9 -0
  263. package/dist/actions/list-account-messages.d.mts.map +1 -0
  264. package/dist/actions/list-account-messages.mjs +41 -0
  265. package/dist/actions/list-account-messages.mjs.map +1 -0
  266. package/dist/actions/list-accounts.cjs +82 -0
  267. package/dist/actions/list-accounts.cjs.map +1 -0
  268. package/dist/actions/list-accounts.d.cts +9 -0
  269. package/dist/actions/list-accounts.d.cts.map +1 -0
  270. package/dist/actions/list-accounts.d.mts +9 -0
  271. package/dist/actions/list-accounts.d.mts.map +1 -0
  272. package/dist/actions/list-accounts.mjs +81 -0
  273. package/dist/actions/list-accounts.mjs.map +1 -0
  274. package/dist/actions/list-contacts.cjs +128 -0
  275. package/dist/actions/list-contacts.cjs.map +1 -0
  276. package/dist/actions/list-contacts.d.cts +9 -0
  277. package/dist/actions/list-contacts.d.cts.map +1 -0
  278. package/dist/actions/list-contacts.d.mts +9 -0
  279. package/dist/actions/list-contacts.d.mts.map +1 -0
  280. package/dist/actions/list-contacts.mjs +127 -0
  281. package/dist/actions/list-contacts.mjs.map +1 -0
  282. package/dist/actions/list-currencies.cjs +21 -0
  283. package/dist/actions/list-currencies.cjs.map +1 -0
  284. package/dist/actions/list-currencies.d.cts +9 -0
  285. package/dist/actions/list-currencies.d.cts.map +1 -0
  286. package/dist/actions/list-currencies.d.mts +9 -0
  287. package/dist/actions/list-currencies.d.mts.map +1 -0
  288. package/dist/actions/list-currencies.mjs +20 -0
  289. package/dist/actions/list-currencies.mjs.map +1 -0
  290. package/dist/actions/list-custom-field-options.cjs +24 -0
  291. package/dist/actions/list-custom-field-options.cjs.map +1 -0
  292. package/dist/actions/list-custom-field-options.d.cts +9 -0
  293. package/dist/actions/list-custom-field-options.d.cts.map +1 -0
  294. package/dist/actions/list-custom-field-options.d.mts +9 -0
  295. package/dist/actions/list-custom-field-options.d.mts.map +1 -0
  296. package/dist/actions/list-custom-field-options.mjs +21 -0
  297. package/dist/actions/list-custom-field-options.mjs.map +1 -0
  298. package/dist/actions/list-custom-field-types.cjs +22 -0
  299. package/dist/actions/list-custom-field-types.cjs.map +1 -0
  300. package/dist/actions/list-custom-field-types.d.cts +9 -0
  301. package/dist/actions/list-custom-field-types.d.cts.map +1 -0
  302. package/dist/actions/list-custom-field-types.d.mts +9 -0
  303. package/dist/actions/list-custom-field-types.d.mts.map +1 -0
  304. package/dist/actions/list-custom-field-types.mjs +21 -0
  305. package/dist/actions/list-custom-field-types.mjs.map +1 -0
  306. package/dist/actions/list-custom-fields.cjs +53 -0
  307. package/dist/actions/list-custom-fields.cjs.map +1 -0
  308. package/dist/actions/list-custom-fields.d.cts +9 -0
  309. package/dist/actions/list-custom-fields.d.cts.map +1 -0
  310. package/dist/actions/list-custom-fields.d.mts +9 -0
  311. package/dist/actions/list-custom-fields.d.mts.map +1 -0
  312. package/dist/actions/list-custom-fields.mjs +52 -0
  313. package/dist/actions/list-custom-fields.mjs.map +1 -0
  314. package/dist/actions/list-email-datasources.cjs +56 -0
  315. package/dist/actions/list-email-datasources.cjs.map +1 -0
  316. package/dist/actions/list-email-datasources.d.cts +9 -0
  317. package/dist/actions/list-email-datasources.d.cts.map +1 -0
  318. package/dist/actions/list-email-datasources.d.mts +9 -0
  319. package/dist/actions/list-email-datasources.d.mts.map +1 -0
  320. package/dist/actions/list-email-datasources.mjs +55 -0
  321. package/dist/actions/list-email-datasources.mjs.map +1 -0
  322. package/dist/actions/list-filter-fields.cjs +131 -0
  323. package/dist/actions/list-filter-fields.cjs.map +1 -0
  324. package/dist/actions/list-filter-fields.d.cts +9 -0
  325. package/dist/actions/list-filter-fields.d.cts.map +1 -0
  326. package/dist/actions/list-filter-fields.d.mts +9 -0
  327. package/dist/actions/list-filter-fields.d.mts.map +1 -0
  328. package/dist/actions/list-filter-fields.mjs +130 -0
  329. package/dist/actions/list-filter-fields.mjs.map +1 -0
  330. package/dist/actions/list-groups.cjs +20 -0
  331. package/dist/actions/list-groups.cjs.map +1 -0
  332. package/dist/actions/list-groups.d.cts +9 -0
  333. package/dist/actions/list-groups.d.cts.map +1 -0
  334. package/dist/actions/list-groups.d.mts +9 -0
  335. package/dist/actions/list-groups.d.mts.map +1 -0
  336. package/dist/actions/list-groups.mjs +19 -0
  337. package/dist/actions/list-groups.mjs.map +1 -0
  338. package/dist/actions/list-my-contacts.cjs +128 -0
  339. package/dist/actions/list-my-contacts.cjs.map +1 -0
  340. package/dist/actions/list-my-contacts.d.cts +9 -0
  341. package/dist/actions/list-my-contacts.d.cts.map +1 -0
  342. package/dist/actions/list-my-contacts.d.mts +9 -0
  343. package/dist/actions/list-my-contacts.d.mts.map +1 -0
  344. package/dist/actions/list-my-contacts.mjs +127 -0
  345. package/dist/actions/list-my-contacts.mjs.map +1 -0
  346. package/dist/actions/list-opportunities.cjs +114 -0
  347. package/dist/actions/list-opportunities.cjs.map +1 -0
  348. package/dist/actions/list-opportunities.d.cts +9 -0
  349. package/dist/actions/list-opportunities.d.cts.map +1 -0
  350. package/dist/actions/list-opportunities.d.mts +9 -0
  351. package/dist/actions/list-opportunities.d.mts.map +1 -0
  352. package/dist/actions/list-opportunities.mjs +113 -0
  353. package/dist/actions/list-opportunities.mjs.map +1 -0
  354. package/dist/actions/list-persons.cjs +56 -0
  355. package/dist/actions/list-persons.cjs.map +1 -0
  356. package/dist/actions/list-persons.d.cts +9 -0
  357. package/dist/actions/list-persons.d.cts.map +1 -0
  358. package/dist/actions/list-persons.d.mts +9 -0
  359. package/dist/actions/list-persons.d.mts.map +1 -0
  360. package/dist/actions/list-persons.mjs +55 -0
  361. package/dist/actions/list-persons.mjs.map +1 -0
  362. package/dist/actions/list-pipelines.cjs +55 -0
  363. package/dist/actions/list-pipelines.cjs.map +1 -0
  364. package/dist/actions/list-pipelines.d.cts +9 -0
  365. package/dist/actions/list-pipelines.d.cts.map +1 -0
  366. package/dist/actions/list-pipelines.d.mts +9 -0
  367. package/dist/actions/list-pipelines.d.mts.map +1 -0
  368. package/dist/actions/list-pipelines.mjs +54 -0
  369. package/dist/actions/list-pipelines.mjs.map +1 -0
  370. package/dist/actions/list-stages.cjs +39 -0
  371. package/dist/actions/list-stages.cjs.map +1 -0
  372. package/dist/actions/list-stages.d.cts +9 -0
  373. package/dist/actions/list-stages.d.cts.map +1 -0
  374. package/dist/actions/list-stages.d.mts +9 -0
  375. package/dist/actions/list-stages.d.mts.map +1 -0
  376. package/dist/actions/list-stages.mjs +38 -0
  377. package/dist/actions/list-stages.mjs.map +1 -0
  378. package/dist/actions/list-tags.cjs +34 -0
  379. package/dist/actions/list-tags.cjs.map +1 -0
  380. package/dist/actions/list-tags.d.cts +9 -0
  381. package/dist/actions/list-tags.d.cts.map +1 -0
  382. package/dist/actions/list-tags.d.mts +9 -0
  383. package/dist/actions/list-tags.d.mts.map +1 -0
  384. package/dist/actions/list-tags.mjs +33 -0
  385. package/dist/actions/list-tags.mjs.map +1 -0
  386. package/dist/actions/list-tasks.cjs +68 -0
  387. package/dist/actions/list-tasks.cjs.map +1 -0
  388. package/dist/actions/list-tasks.d.cts +9 -0
  389. package/dist/actions/list-tasks.d.cts.map +1 -0
  390. package/dist/actions/list-tasks.d.mts +9 -0
  391. package/dist/actions/list-tasks.d.mts.map +1 -0
  392. package/dist/actions/list-tasks.mjs +67 -0
  393. package/dist/actions/list-tasks.mjs.map +1 -0
  394. package/dist/actions/list-users.cjs +89 -0
  395. package/dist/actions/list-users.cjs.map +1 -0
  396. package/dist/actions/list-users.d.cts +9 -0
  397. package/dist/actions/list-users.d.cts.map +1 -0
  398. package/dist/actions/list-users.d.mts +9 -0
  399. package/dist/actions/list-users.d.mts.map +1 -0
  400. package/dist/actions/list-users.mjs +88 -0
  401. package/dist/actions/list-users.mjs.map +1 -0
  402. package/dist/actions/list-workflows.cjs +81 -0
  403. package/dist/actions/list-workflows.cjs.map +1 -0
  404. package/dist/actions/list-workflows.d.cts +9 -0
  405. package/dist/actions/list-workflows.d.cts.map +1 -0
  406. package/dist/actions/list-workflows.d.mts +9 -0
  407. package/dist/actions/list-workflows.d.mts.map +1 -0
  408. package/dist/actions/list-workflows.mjs +80 -0
  409. package/dist/actions/list-workflows.mjs.map +1 -0
  410. package/dist/actions/update-account-contacts.cjs +23 -0
  411. package/dist/actions/update-account-contacts.cjs.map +1 -0
  412. package/dist/actions/update-account-contacts.d.cts +9 -0
  413. package/dist/actions/update-account-contacts.d.cts.map +1 -0
  414. package/dist/actions/update-account-contacts.d.mts +9 -0
  415. package/dist/actions/update-account-contacts.d.mts.map +1 -0
  416. package/dist/actions/update-account-contacts.mjs +20 -0
  417. package/dist/actions/update-account-contacts.mjs.map +1 -0
  418. package/dist/actions/update-account-users.cjs +23 -0
  419. package/dist/actions/update-account-users.cjs.map +1 -0
  420. package/dist/actions/update-account-users.d.cts +9 -0
  421. package/dist/actions/update-account-users.d.cts.map +1 -0
  422. package/dist/actions/update-account-users.d.mts +9 -0
  423. package/dist/actions/update-account-users.d.mts.map +1 -0
  424. package/dist/actions/update-account-users.mjs +20 -0
  425. package/dist/actions/update-account-users.mjs.map +1 -0
  426. package/dist/actions/update-account.cjs +105 -0
  427. package/dist/actions/update-account.cjs.map +1 -0
  428. package/dist/actions/update-account.d.cts +9 -0
  429. package/dist/actions/update-account.d.cts.map +1 -0
  430. package/dist/actions/update-account.d.mts +9 -0
  431. package/dist/actions/update-account.d.mts.map +1 -0
  432. package/dist/actions/update-account.mjs +104 -0
  433. package/dist/actions/update-account.mjs.map +1 -0
  434. package/dist/actions/update-ai-settings.cjs +26 -0
  435. package/dist/actions/update-ai-settings.cjs.map +1 -0
  436. package/dist/actions/update-ai-settings.d.cts +9 -0
  437. package/dist/actions/update-ai-settings.d.cts.map +1 -0
  438. package/dist/actions/update-ai-settings.d.mts +9 -0
  439. package/dist/actions/update-ai-settings.d.mts.map +1 -0
  440. package/dist/actions/update-ai-settings.mjs +23 -0
  441. package/dist/actions/update-ai-settings.mjs.map +1 -0
  442. package/dist/actions/update-contact.cjs +88 -0
  443. package/dist/actions/update-contact.cjs.map +1 -0
  444. package/dist/actions/update-contact.d.cts +9 -0
  445. package/dist/actions/update-contact.d.cts.map +1 -0
  446. package/dist/actions/update-contact.d.mts +9 -0
  447. package/dist/actions/update-contact.d.mts.map +1 -0
  448. package/dist/actions/update-contact.mjs +85 -0
  449. package/dist/actions/update-contact.mjs.map +1 -0
  450. package/dist/actions/update-custom-field.cjs +67 -0
  451. package/dist/actions/update-custom-field.cjs.map +1 -0
  452. package/dist/actions/update-custom-field.d.cts +9 -0
  453. package/dist/actions/update-custom-field.d.cts.map +1 -0
  454. package/dist/actions/update-custom-field.d.mts +9 -0
  455. package/dist/actions/update-custom-field.d.mts.map +1 -0
  456. package/dist/actions/update-custom-field.mjs +66 -0
  457. package/dist/actions/update-custom-field.mjs.map +1 -0
  458. package/dist/actions/update-email-datasource.cjs +23 -0
  459. package/dist/actions/update-email-datasource.cjs.map +1 -0
  460. package/dist/actions/update-email-datasource.d.cts +9 -0
  461. package/dist/actions/update-email-datasource.d.cts.map +1 -0
  462. package/dist/actions/update-email-datasource.d.mts +9 -0
  463. package/dist/actions/update-email-datasource.d.mts.map +1 -0
  464. package/dist/actions/update-email-datasource.mjs +20 -0
  465. package/dist/actions/update-email-datasource.mjs.map +1 -0
  466. package/dist/actions/update-internal-note.cjs +30 -0
  467. package/dist/actions/update-internal-note.cjs.map +1 -0
  468. package/dist/actions/update-internal-note.d.cts +9 -0
  469. package/dist/actions/update-internal-note.d.cts.map +1 -0
  470. package/dist/actions/update-internal-note.d.mts +9 -0
  471. package/dist/actions/update-internal-note.d.mts.map +1 -0
  472. package/dist/actions/update-internal-note.mjs +27 -0
  473. package/dist/actions/update-internal-note.mjs.map +1 -0
  474. package/dist/actions/update-opportunity.cjs +46 -0
  475. package/dist/actions/update-opportunity.cjs.map +1 -0
  476. package/dist/actions/update-opportunity.d.cts +9 -0
  477. package/dist/actions/update-opportunity.d.cts.map +1 -0
  478. package/dist/actions/update-opportunity.d.mts +9 -0
  479. package/dist/actions/update-opportunity.d.mts.map +1 -0
  480. package/dist/actions/update-opportunity.mjs +43 -0
  481. package/dist/actions/update-opportunity.mjs.map +1 -0
  482. package/dist/actions/update-tag.cjs +19 -0
  483. package/dist/actions/update-tag.cjs.map +1 -0
  484. package/dist/actions/update-tag.d.cts +9 -0
  485. package/dist/actions/update-tag.d.cts.map +1 -0
  486. package/dist/actions/update-tag.d.mts +9 -0
  487. package/dist/actions/update-tag.d.mts.map +1 -0
  488. package/dist/actions/update-tag.mjs +16 -0
  489. package/dist/actions/update-tag.mjs.map +1 -0
  490. package/dist/actions/update-task.cjs +23 -0
  491. package/dist/actions/update-task.cjs.map +1 -0
  492. package/dist/actions/update-task.d.cts +9 -0
  493. package/dist/actions/update-task.d.cts.map +1 -0
  494. package/dist/actions/update-task.d.mts +9 -0
  495. package/dist/actions/update-task.d.mts.map +1 -0
  496. package/dist/actions/update-task.mjs +20 -0
  497. package/dist/actions/update-task.mjs.map +1 -0
  498. package/dist/actions/update-workflow-audience.cjs +21 -0
  499. package/dist/actions/update-workflow-audience.cjs.map +1 -0
  500. package/dist/actions/update-workflow-audience.d.cts +9 -0
  501. package/dist/actions/update-workflow-audience.d.cts.map +1 -0
  502. package/dist/actions/update-workflow-audience.d.mts +9 -0
  503. package/dist/actions/update-workflow-audience.d.mts.map +1 -0
  504. package/dist/actions/update-workflow-audience.mjs +18 -0
  505. package/dist/actions/update-workflow-audience.mjs.map +1 -0
  506. package/dist/actions/update-workflow.cjs +64 -0
  507. package/dist/actions/update-workflow.cjs.map +1 -0
  508. package/dist/actions/update-workflow.d.cts +9 -0
  509. package/dist/actions/update-workflow.d.cts.map +1 -0
  510. package/dist/actions/update-workflow.d.mts +9 -0
  511. package/dist/actions/update-workflow.d.mts.map +1 -0
  512. package/dist/actions/update-workflow.mjs +61 -0
  513. package/dist/actions/update-workflow.mjs.map +1 -0
  514. package/dist/app.cjs +9 -0
  515. package/dist/app.cjs.map +1 -0
  516. package/dist/app.d.cts +5 -0
  517. package/dist/app.d.cts.map +1 -0
  518. package/dist/app.d.mts +5 -0
  519. package/dist/app.d.mts.map +1 -0
  520. package/dist/app.mjs +10 -0
  521. package/dist/app.mjs.map +1 -0
  522. package/dist/catalog.cjs +15 -0
  523. package/dist/catalog.cjs.map +1 -0
  524. package/dist/catalog.d.cts +14 -0
  525. package/dist/catalog.d.cts.map +1 -0
  526. package/dist/catalog.d.mts +14 -0
  527. package/dist/catalog.d.mts.map +1 -0
  528. package/dist/catalog.mjs +15 -0
  529. package/dist/catalog.mjs.map +1 -0
  530. package/dist/execute.cjs +18 -0
  531. package/dist/execute.cjs.map +1 -0
  532. package/dist/execute.mjs +18 -0
  533. package/dist/execute.mjs.map +1 -0
  534. package/dist/index.cjs +132 -0
  535. package/dist/index.d.cts +66 -0
  536. package/dist/index.d.mts +66 -0
  537. package/dist/index.mjs +67 -0
  538. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-accounts.d.ts
4
+ declare const SalesflareListAccountsInput: z.ZodTypeAny;
5
+ declare const SalesflareListAccountsOutput: z.ZodTypeAny;
6
+ declare const salesflareListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareListAccounts };
9
+ //# sourceMappingURL=list-accounts.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAsB8B;AAAA,cAyC7D,4BAAA,EAA8B,CAAA,CAAE,UAE4C;AAAA,cAE5E,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-accounts.d.ts
4
+ declare const SalesflareListAccountsInput: z.ZodTypeAny;
5
+ declare const SalesflareListAccountsOutput: z.ZodTypeAny;
6
+ declare const salesflareListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareListAccounts };
9
+ //# sourceMappingURL=list-accounts.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAsB8B;AAAA,cAyC7D,4BAAA,EAA8B,CAAA,CAAE,UAE4C;AAAA,cAE5E,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,81 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-accounts.ts
4
+ const SalesflareListAccountsInput = z.object({
5
+ q: z.string().describe("Quick search query parameter for filtering accounts.").optional(),
6
+ id: z.array(z.number().int()).describe("Filter accounts by specific IDs. Provide a list of account IDs to retrieve only those accounts.").optional(),
7
+ tag: z.array(z.number().int()).describe("Filter accounts by tag IDs. Provide a list of tag IDs to filter accounts that have these tags.").optional(),
8
+ name: z.string().describe("Filter accounts by exact or partial name match.").optional(),
9
+ limit: z.number().int().default(10).describe("Maximum number of accounts to return. Defaults to 10 if not specified.").optional(),
10
+ custom: z.string().describe("Custom filter query for advanced filtering. Consult API documentation for syntax.").optional(),
11
+ domain: z.array(z.string()).describe("Filter accounts by domain names. Provide a list of domains to match.").optional(),
12
+ "export": z.string().describe("Export format if requesting data export. Consult API documentation for supported formats.").optional(),
13
+ offset: z.number().int().describe("Number of records to skip for pagination. Use with limit for paginated results.").optional(),
14
+ search: z.string().describe("Search term to filter accounts. Searches across account name, domain, and other text fields.").optional(),
15
+ details: z.boolean().default(true).describe("Whether to include detailed account information in the response. Defaults to true.").optional(),
16
+ hotness: z.union([
17
+ z.literal(1),
18
+ z.literal(2),
19
+ z.literal(3)
20
+ ]).describe("Hotness level enumeration: 1: Room temp, 2: Hot, 3: On fire").optional(),
21
+ max_size: z.number().int().describe("Filter accounts with a maximum company size (number of employees).").optional(),
22
+ min_size: z.number().int().describe("Filter accounts with a minimum company size (number of employees).").optional(),
23
+ order_by: z.array(z.string()).describe("Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.").optional(),
24
+ "tag.name": z.array(z.string()).describe("Filter accounts by tag names. Provide a list of tag names to filter accounts.").optional(),
25
+ "address.city": z.array(z.string()).describe("Filter accounts by city. Provide a list of city names.").optional(),
26
+ creation_after: z.string().describe("Filter accounts created after this date. Use ISO 8601 format (YYYY-MM-DD or full timestamp).").optional(),
27
+ "address.country": z.array(z.string()).describe("Filter accounts by country. Provide a list of country names or codes.").optional(),
28
+ creation_before: z.string().describe("Filter accounts created before this date. Use ISO 8601 format (YYYY-MM-DD or full timestamp).").optional(),
29
+ "address.state_region": z.array(z.string()).describe("Filter accounts by state or region. Provide a list of state/region names.").optional()
30
+ }).describe("Request schema for listing accounts with filtering options.");
31
+ const SalesflareListAccounts_AccountTagSchema = z.object({
32
+ id: z.number().int().describe("Tag ID").nullable().optional(),
33
+ name: z.string().describe("Tag name").nullable().optional()
34
+ }).describe("Tag associated with an account.");
35
+ const SalesflareListAccounts_AccountOwnerSchema = z.object({
36
+ id: z.number().int().describe("User ID").nullable().optional(),
37
+ name: z.string().describe("User name").nullable().optional(),
38
+ email: z.string().describe("User email address").nullable().optional()
39
+ }).describe("Owner/user information for an account.");
40
+ const SalesflareListAccounts_AccountSocialSchema = z.object({
41
+ twitter: z.string().describe("Twitter handle").nullable().optional(),
42
+ facebook: z.string().describe("Facebook profile URL").nullable().optional(),
43
+ linkedin: z.string().describe("LinkedIn profile URL").nullable().optional()
44
+ }).describe("Social media profile information.");
45
+ const SalesflareListAccounts_AccountAddressSchema = z.object({
46
+ zip: z.string().describe("ZIP or postal code").nullable().optional(),
47
+ city: z.string().describe("City name").nullable().optional(),
48
+ street: z.string().describe("Street address").nullable().optional(),
49
+ country: z.string().describe("Country name").nullable().optional(),
50
+ state_region: z.string().describe("State or region").nullable().optional()
51
+ }).describe("Address information for an account.");
52
+ const SalesflareListAccounts_AccountSchema = z.object({
53
+ id: z.number().int().describe("Unique account identifier").nullable().optional(),
54
+ name: z.string().describe("Account name").nullable().optional(),
55
+ size: z.number().int().describe("Company size (number of employees)").nullable().optional(),
56
+ tags: z.array(SalesflareListAccounts_AccountTagSchema).describe("Tags associated with this account").nullable().optional(),
57
+ email: z.string().describe("Primary email address").nullable().optional(),
58
+ owner: SalesflareListAccounts_AccountOwnerSchema.nullable().optional(),
59
+ custom: z.object({}).describe("Custom fields and their values").nullable().optional(),
60
+ domain: z.string().describe("Primary domain name").nullable().optional(),
61
+ social: SalesflareListAccounts_AccountSocialSchema.nullable().optional(),
62
+ address: SalesflareListAccounts_AccountAddressSchema.nullable().optional(),
63
+ hotness: z.number().int().describe("Hotness level: 1 (Room temp), 2 (Hot), 3 (On fire)").nullable().optional(),
64
+ website: z.string().describe("Website URL").nullable().optional(),
65
+ industry: z.string().describe("Industry or sector").nullable().optional(),
66
+ description: z.string().describe("Account description").nullable().optional(),
67
+ phone_number: z.string().describe("Primary phone number").nullable().optional(),
68
+ creation_date: z.string().describe("Account creation date in ISO 8601 format").nullable().optional(),
69
+ modification_date: z.string().describe("Last modification date in ISO 8601 format").nullable().optional()
70
+ }).describe("Account object with all details.");
71
+ const salesflareListAccounts = action("SALESFLARE_LIST_ACCOUNTS", {
72
+ slug: "salesflare-list-accounts",
73
+ name: "List accounts",
74
+ description: "Tool to list accounts with various filtering options including search, name, creation dates, size, domain, tags, address, and hotness level. Use when you need to retrieve multiple accounts with specific criteria or browse all accounts in Salesflare.",
75
+ input: SalesflareListAccountsInput,
76
+ output: z.object({ accounts: z.array(SalesflareListAccounts_AccountSchema).describe("Array of account objects matching the filter criteria. May be empty if no accounts match.").nullable().optional() }).describe("Response schema for listing accounts. Returns an array of account objects.")
77
+ });
78
+ //#endregion
79
+ export { salesflareListAccounts };
80
+
81
+ //# sourceMappingURL=list-accounts.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListAccountsInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Quick search query parameter for filtering accounts.\").optional(),\n id: z.array(z.number().int()).describe(\"Filter accounts by specific IDs. Provide a list of account IDs to retrieve only those accounts.\").optional(),\n tag: z.array(z.number().int()).describe(\"Filter accounts by tag IDs. Provide a list of tag IDs to filter accounts that have these tags.\").optional(),\n name: z.string().describe(\"Filter accounts by exact or partial name match.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of accounts to return. Defaults to 10 if not specified.\").optional(),\n custom: z.string().describe(\"Custom filter query for advanced filtering. Consult API documentation for syntax.\").optional(),\n domain: z.array(z.string()).describe(\"Filter accounts by domain names. Provide a list of domains to match.\").optional(),\n \"export\": z.string().describe(\"Export format if requesting data export. Consult API documentation for supported formats.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Use with limit for paginated results.\").optional(),\n search: z.string().describe(\"Search term to filter accounts. Searches across account name, domain, and other text fields.\").optional(),\n details: z.boolean().default(true).describe(\"Whether to include detailed account information in the response. Defaults to true.\").optional(),\n hotness: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Hotness level enumeration: 1: Room temp, 2: Hot, 3: On fire\").optional(),\n max_size: z.number().int().describe(\"Filter accounts with a maximum company size (number of employees).\").optional(),\n min_size: z.number().int().describe(\"Filter accounts with a minimum company size (number of employees).\").optional(),\n order_by: z.array(z.string()).describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n \"tag.name\": z.array(z.string()).describe(\"Filter accounts by tag names. Provide a list of tag names to filter accounts.\").optional(),\n \"address.city\": z.array(z.string()).describe(\"Filter accounts by city. Provide a list of city names.\").optional(),\n creation_after: z.string().describe(\"Filter accounts created after this date. Use ISO 8601 format (YYYY-MM-DD or full timestamp).\").optional(),\n \"address.country\": z.array(z.string()).describe(\"Filter accounts by country. Provide a list of country names or codes.\").optional(),\n creation_before: z.string().describe(\"Filter accounts created before this date. Use ISO 8601 format (YYYY-MM-DD or full timestamp).\").optional(),\n \"address.state_region\": z.array(z.string()).describe(\"Filter accounts by state or region. Provide a list of state/region names.\").optional(),\n}).describe(\"Request schema for listing accounts with filtering options.\");\nconst SalesflareListAccounts_AccountTagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).describe(\"Tag associated with an account.\");\nconst SalesflareListAccounts_AccountOwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n}).describe(\"Owner/user information for an account.\");\nconst SalesflareListAccounts_AccountSocialSchema: z.ZodTypeAny = z.object({\n twitter: z.string().describe(\"Twitter handle\").nullable().optional(),\n facebook: z.string().describe(\"Facebook profile URL\").nullable().optional(),\n linkedin: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nconst SalesflareListAccounts_AccountAddressSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information for an account.\");\nconst SalesflareListAccounts_AccountSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable().optional(),\n name: z.string().describe(\"Account name\").nullable().optional(),\n size: z.number().int().describe(\"Company size (number of employees)\").nullable().optional(),\n tags: z.array(SalesflareListAccounts_AccountTagSchema).describe(\"Tags associated with this account\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n owner: SalesflareListAccounts_AccountOwnerSchema.nullable().optional(),\n custom: z.object({}).describe(\"Custom fields and their values\").nullable().optional(),\n domain: z.string().describe(\"Primary domain name\").nullable().optional(),\n social: SalesflareListAccounts_AccountSocialSchema.nullable().optional(),\n address: SalesflareListAccounts_AccountAddressSchema.nullable().optional(),\n hotness: z.number().int().describe(\"Hotness level: 1 (Room temp), 2 (Hot), 3 (On fire)\").nullable().optional(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n industry: z.string().describe(\"Industry or sector\").nullable().optional(),\n description: z.string().describe(\"Account description\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"Account creation date in ISO 8601 format\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n}).describe(\"Account object with all details.\");\nexport const SalesflareListAccountsOutput: z.ZodTypeAny = z.object({\n accounts: z.array(SalesflareListAccounts_AccountSchema).describe(\"Array of account objects matching the filter criteria. May be empty if no accounts match.\").nullable().optional(),\n}).describe(\"Response schema for listing accounts. Returns an array of account objects.\");\n\nexport const salesflareListAccounts = action(\"SALESFLARE_LIST_ACCOUNTS\", {\n slug: \"salesflare-list-accounts\",\n name: \"List accounts\",\n description: \"Tool to list accounts with various filtering options including search, name, creation dates, size, domain, tags, address, and hotness level. Use when you need to retrieve multiple accounts with specific criteria or browse all accounts in Salesflare.\",\n input: SalesflareListAccountsInput,\n output: SalesflareListAccountsOutput,\n});\n"],"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E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpL,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
@@ -0,0 +1,128 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-contacts.ts
4
+ const SalesflareListContactsInput = zod.z.object({
5
+ q: zod.z.string().describe("Query string for advanced filtering. Use for complex search queries.").optional(),
6
+ id: zod.z.array(zod.z.number().int()).describe("Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.").optional(),
7
+ tag: zod.z.array(zod.z.number().int()).describe("Filter contacts by tag IDs. Provide a list of tag IDs.").optional(),
8
+ name: zod.z.string().describe("Filter contacts by name. Partial matches are supported.").optional(),
9
+ type: zod.z.enum(["customer", "mycontacts"]).describe("Contact type filter options.").optional(),
10
+ email: zod.z.string().describe("Filter contacts by email address. Partial matches are supported.").optional(),
11
+ limit: zod.z.number().int().default(20).describe("Maximum number of contacts to return. Defaults to 20.").optional(),
12
+ custom: zod.z.string().describe("Filter by custom fields. Format depends on your custom field configuration.").optional(),
13
+ domain: zod.z.string().describe("Filter contacts by domain. Useful for finding contacts from specific companies.").optional(),
14
+ "export": zod.z.string().describe("Export format for the contacts. Specify the desired export format.").optional(),
15
+ offset: zod.z.number().int().default(0).describe("Number of contacts to skip for pagination. Defaults to 0.").optional(),
16
+ search: zod.z.string().describe("Search contacts by keyword. Searches across multiple fields like name, email, and company.").optional(),
17
+ account: zod.z.array(zod.z.number().int()).describe("Filter contacts by account IDs. Provide a list of account IDs.").optional(),
18
+ order_by: zod.z.array(zod.z.string()).describe("Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.").optional(),
19
+ "tag.name": zod.z.array(zod.z.string()).describe("Filter contacts by tag names. Provide a list of tag names.").optional(),
20
+ "address.city": zod.z.array(zod.z.string()).describe("Filter contacts by city. Provide a list of city names.").optional(),
21
+ phone_number: zod.z.string().describe("Filter contacts by phone number. Partial matches are supported.").optional(),
22
+ "position.role": zod.z.array(zod.z.string()).describe("Filter contacts by their position/role. Provide a list of role names.").optional(),
23
+ creation_after: zod.z.string().describe("Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
24
+ "address.country": zod.z.array(zod.z.string()).describe("Filter contacts by country. Provide a list of country names or codes.").optional(),
25
+ creation_before: zod.z.string().describe("Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
26
+ include_archived: zod.z.boolean().describe("Include archived contacts in the results. Set to true to include archived contacts.").optional(),
27
+ modification_after: zod.z.string().describe("Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
28
+ modification_before: zod.z.string().describe("Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
29
+ "address.state_region": zod.z.array(zod.z.string()).describe("Filter contacts by state or region. Provide a list of state/region names.").optional()
30
+ }).describe("Request model for listing contacts with filtering options.");
31
+ const SalesflareListContacts_TagSchema = zod.z.object({
32
+ id: zod.z.number().int().describe("Tag ID").nullable().optional(),
33
+ name: zod.z.string().describe("Tag name").nullable().optional()
34
+ }).describe("Tag information.");
35
+ const SalesflareListContacts_ContactFileSchema = zod.z.object({
36
+ id: zod.z.number().int().describe("File ID").nullable().optional(),
37
+ url: zod.z.string().describe("URL to download the file").nullable().optional(),
38
+ name: zod.z.string().describe("File name").nullable().optional(),
39
+ size: zod.z.number().int().describe("File size in bytes").nullable().optional(),
40
+ type: zod.z.string().describe("File MIME type").nullable().optional()
41
+ }).describe("File attachment information.");
42
+ const SalesflareListContacts_OwnerSummarySchema = zod.z.object({
43
+ id: zod.z.number().int().describe("Unique identifier of the owner"),
44
+ name: zod.z.string().describe("Name of the owner").nullable().optional(),
45
+ email: zod.z.string().describe("Email address of the owner").nullable().optional(),
46
+ picture: zod.z.string().describe("URL to the owner's picture").nullable().optional()
47
+ }).describe("Summary information about the contact owner.");
48
+ const SalesflareListContacts_AccountSummarySchema = zod.z.object({
49
+ id: zod.z.number().int().describe("Unique identifier of the account"),
50
+ name: zod.z.string().describe("Name of the account").nullable().optional(),
51
+ domain: zod.z.string().describe("Domain of the account").nullable().optional(),
52
+ picture: zod.z.string().describe("URL to the account's picture").nullable().optional()
53
+ }).describe("Summary information about an account.");
54
+ const SalesflareListContacts_AddressSchema = zod.z.object({
55
+ zip: zod.z.string().describe("ZIP or postal code").nullable().optional(),
56
+ city: zod.z.string().describe("City name").nullable().optional(),
57
+ type: zod.z.string().describe("Address type (e.g., home, work)").nullable().optional(),
58
+ street: zod.z.string().describe("Street address").nullable().optional(),
59
+ country: zod.z.string().describe("Country name").nullable().optional(),
60
+ state_region: zod.z.string().describe("State or region").nullable().optional()
61
+ }).describe("Address information.");
62
+ const SalesflareListContacts_PositionSchema = zod.z.object({
63
+ role: zod.z.string().describe("Role or job title").nullable().optional(),
64
+ account: zod.z.number().int().describe("Account ID associated with this position").nullable().optional(),
65
+ organisation: zod.z.string().describe("Organization name").nullable().optional()
66
+ }).describe("Position information.");
67
+ const SalesflareListContacts_PhoneNumberSchema = zod.z.object({
68
+ type: zod.z.string().describe("Type of phone number (e.g., work, mobile, home)").nullable().optional(),
69
+ number: zod.z.string().describe("Phone number").nullable().optional()
70
+ }).describe("Phone number information.");
71
+ const SalesflareListContacts_SocialProfileSchema = zod.z.object({
72
+ url: zod.z.string().describe("URL to the social profile").nullable().optional(),
73
+ type: zod.z.string().describe("Type of social profile (e.g., linkedin, twitter)").nullable().optional()
74
+ }).describe("Social media profile information.");
75
+ const SalesflareListContacts_ContactSchema = zod.z.object({
76
+ id: zod.z.number().int().describe("Unique identifier of the contact"),
77
+ name: zod.z.string().describe("Full name of the contact").nullable().optional(),
78
+ role: zod.z.string().describe("Role or job title of the contact").nullable().optional(),
79
+ tags: zod.z.array(SalesflareListContacts_TagSchema).describe("List of tags assigned to the contact").nullable().optional(),
80
+ type: zod.z.string().describe("Type of the contact").nullable().optional(),
81
+ email: zod.z.string().describe("Primary email address of the contact").nullable().optional(),
82
+ files: zod.z.array(SalesflareListContacts_ContactFileSchema).describe("List of files attached to the contact").nullable().optional(),
83
+ owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),
84
+ custom: zod.z.object({}).describe("Custom fields for the contact").nullable().optional(),
85
+ domain: zod.z.string().describe("Domain of the contact's organization").nullable().optional(),
86
+ middle: zod.z.string().describe("Middle name of the contact").nullable().optional(),
87
+ prefix: zod.z.string().describe("Name prefix (e.g., Mr., Dr.)").nullable().optional(),
88
+ suffix: zod.z.string().describe("Name suffix (e.g., Jr., Sr.)").nullable().optional(),
89
+ account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),
90
+ bounced: zod.z.boolean().describe("Whether emails to this contact have bounced").nullable().optional(),
91
+ "opt-out": zod.z.boolean().describe("Whether the contact has opted out of communications").nullable().optional(),
92
+ picture: zod.z.string().describe("URL to the contact's picture").nullable().optional(),
93
+ archived: zod.z.boolean().describe("Whether the contact is archived").nullable().optional(),
94
+ can_edit: zod.z.boolean().describe("Whether the current user can edit this contact").nullable().optional(),
95
+ lastname: zod.z.string().describe("Last name of the contact").nullable().optional(),
96
+ addresses: zod.z.array(SalesflareListContacts_AddressSchema).describe("List of addresses associated with the contact").nullable().optional(),
97
+ firstname: zod.z.string().describe("First name of the contact").nullable().optional(),
98
+ positions: zod.z.array(SalesflareListContacts_PositionSchema).describe("List of positions held by the contact").nullable().optional(),
99
+ birth_date: zod.z.string().describe("Birth date of the contact").nullable().optional(),
100
+ fax_number: zod.z.string().describe("Fax number").nullable().optional(),
101
+ not_viewed: zod.z.boolean().describe("Whether the contact has not been viewed").nullable().optional(),
102
+ bounced_date: zod.z.string().describe("Date when the email bounced (ISO 8601 format)").nullable().optional(),
103
+ "opt-out_date": zod.z.string().describe("Date when the contact opted out (ISO 8601 format)").nullable().optional(),
104
+ organisation: zod.z.string().describe("Organization name").nullable().optional(),
105
+ phone_number: zod.z.string().describe("Primary phone number of the contact").nullable().optional(),
106
+ creation_date: zod.z.string().describe("Date when the contact was created (ISO 8601 format)").nullable().optional(),
107
+ phone_numbers: zod.z.array(SalesflareListContacts_PhoneNumberSchema).describe("List of all phone numbers associated with the contact").nullable().optional(),
108
+ last_email_date: zod.z.string().describe("Date of last email interaction (ISO 8601 format)").nullable().optional(),
109
+ social_profiles: zod.z.array(SalesflareListContacts_SocialProfileSchema).describe("List of social media profiles").nullable().optional(),
110
+ "opt-out_campaign": zod.z.string().describe("Campaign from which the contact opted out").nullable().optional(),
111
+ home_phone_number: zod.z.string().describe("Home phone number").nullable().optional(),
112
+ last_meeting_date: zod.z.string().describe("Date of last meeting (ISO 8601 format)").nullable().optional(),
113
+ modification_date: zod.z.string().describe("Date when the contact was last modified (ISO 8601 format)").nullable().optional(),
114
+ connection_strength: zod.z.number().describe("Strength of connection with the contact (0-1)").nullable().optional(),
115
+ mobile_phone_number: zod.z.string().describe("Mobile phone number").nullable().optional()
116
+ }).describe("Detailed information about a contact.");
117
+ const SalesflareListContactsOutput = zod.z.object({ contacts: zod.z.array(SalesflareListContacts_ContactSchema).describe("List of contacts matching the filter criteria") }).describe("Response model containing a list of contacts.");
118
+ const salesflareListContacts = require_action.action("SALESFLARE_LIST_CONTACTS", {
119
+ slug: "salesflare-list-contacts",
120
+ name: "List Contacts",
121
+ description: "Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.",
122
+ input: SalesflareListContactsInput,
123
+ output: SalesflareListContactsOutput
124
+ });
125
+ //#endregion
126
+ exports.salesflareListContacts = salesflareListContacts;
127
+
128
+ //# sourceMappingURL=list-contacts.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListContactsInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Query string for advanced filtering. Use for complex search queries.\").optional(),\n id: z.array(z.number().int()).describe(\"Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.\").optional(),\n tag: z.array(z.number().int()).describe(\"Filter contacts by tag IDs. Provide a list of tag IDs.\").optional(),\n name: z.string().describe(\"Filter contacts by name. Partial matches are supported.\").optional(),\n type: z.enum([\"customer\", \"mycontacts\"]).describe(\"Contact type filter options.\").optional(),\n email: z.string().describe(\"Filter contacts by email address. Partial matches are supported.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of contacts to return. Defaults to 20.\").optional(),\n custom: z.string().describe(\"Filter by custom fields. Format depends on your custom field configuration.\").optional(),\n domain: z.string().describe(\"Filter contacts by domain. Useful for finding contacts from specific companies.\").optional(),\n \"export\": z.string().describe(\"Export format for the contacts. Specify the desired export format.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of contacts to skip for pagination. Defaults to 0.\").optional(),\n search: z.string().describe(\"Search contacts by keyword. Searches across multiple fields like name, email, and company.\").optional(),\n account: z.array(z.number().int()).describe(\"Filter contacts by account IDs. Provide a list of account IDs.\").optional(),\n order_by: z.array(z.string()).describe(\"Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.\").optional(),\n \"tag.name\": z.array(z.string()).describe(\"Filter contacts by tag names. Provide a list of tag names.\").optional(),\n \"address.city\": z.array(z.string()).describe(\"Filter contacts by city. Provide a list of city names.\").optional(),\n phone_number: z.string().describe(\"Filter contacts by phone number. Partial matches are supported.\").optional(),\n \"position.role\": z.array(z.string()).describe(\"Filter contacts by their position/role. Provide a list of role names.\").optional(),\n creation_after: z.string().describe(\"Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.country\": z.array(z.string()).describe(\"Filter contacts by country. Provide a list of country names or codes.\").optional(),\n creation_before: z.string().describe(\"Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n include_archived: z.boolean().describe(\"Include archived contacts in the results. Set to true to include archived contacts.\").optional(),\n modification_after: z.string().describe(\"Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n modification_before: z.string().describe(\"Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.state_region\": z.array(z.string()).describe(\"Filter contacts by state or region. Provide a list of state/region names.\").optional(),\n}).describe(\"Request model for listing contacts with filtering options.\");\nconst SalesflareListContacts_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).describe(\"Tag information.\");\nconst SalesflareListContacts_ContactFileSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"File ID\").nullable().optional(),\n url: z.string().describe(\"URL to download the file\").nullable().optional(),\n name: z.string().describe(\"File name\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"File MIME type\").nullable().optional(),\n}).describe(\"File attachment information.\");\nconst SalesflareListContacts_OwnerSummarySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\"),\n name: z.string().describe(\"Name of the owner\").nullable().optional(),\n email: z.string().describe(\"Email address of the owner\").nullable().optional(),\n picture: z.string().describe(\"URL to the owner's picture\").nullable().optional(),\n}).describe(\"Summary information about the contact owner.\");\nconst SalesflareListContacts_AccountSummarySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\"),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n domain: z.string().describe(\"Domain of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).describe(\"Summary information about an account.\");\nconst SalesflareListContacts_AddressSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information.\");\nconst SalesflareListContacts_PositionSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role or job title\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with this position\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).describe(\"Position information.\");\nconst SalesflareListContacts_PhoneNumberSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of phone number (e.g., work, mobile, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).describe(\"Phone number information.\");\nconst SalesflareListContacts_SocialProfileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social profile (e.g., linkedin, twitter)\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nconst SalesflareListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\"),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the contact\").nullable().optional(),\n tags: z.array(SalesflareListContacts_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n type: z.string().describe(\"Type of the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n files: z.array(SalesflareListContacts_ContactFileSchema).describe(\"List of files attached to the contact\").nullable().optional(),\n owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),\n custom: z.object({}).describe(\"Custom fields for the contact\").nullable().optional(),\n domain: z.string().describe(\"Domain of the contact's organization\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the contact\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Dr.)\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr.)\").nullable().optional(),\n account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this contact have bounced\").nullable().optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\").nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this contact\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n addresses: z.array(SalesflareListContacts_AddressSchema).describe(\"List of addresses associated with the contact\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n positions: z.array(SalesflareListContacts_PositionSchema).describe(\"List of positions held by the contact\").nullable().optional(),\n birth_date: z.string().describe(\"Birth date of the contact\").nullable().optional(),\n fax_number: z.string().describe(\"Fax number\").nullable().optional(),\n not_viewed: z.boolean().describe(\"Whether the contact has not been viewed\").nullable().optional(),\n bounced_date: z.string().describe(\"Date when the email bounced (ISO 8601 format)\").nullable().optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out (ISO 8601 format)\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListContacts_PhoneNumberSchema).describe(\"List of all phone numbers associated with the contact\").nullable().optional(),\n last_email_date: z.string().describe(\"Date of last email interaction (ISO 8601 format)\").nullable().optional(),\n social_profiles: z.array(SalesflareListContacts_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").nullable().optional(),\n home_phone_number: z.string().describe(\"Home phone number\").nullable().optional(),\n last_meeting_date: z.string().describe(\"Date of last meeting (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the contact was last modified (ISO 8601 format)\").nullable().optional(),\n connection_strength: z.number().describe(\"Strength of connection with the contact (0-1)\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").nullable().optional(),\n}).describe(\"Detailed information about a contact.\");\nexport const SalesflareListContactsOutput: z.ZodTypeAny = z.object({\n contacts: z.array(SalesflareListContacts_ContactSchema).describe(\"List of contacts matching the filter criteria\"),\n}).describe(\"Response model containing a list of contacts.\");\n\nexport const salesflareListContacts = action(\"SALESFLARE_LIST_CONTACTS\", {\n slug: \"salesflare-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.\",\n input: SalesflareListContactsInput,\n output: SalesflareListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACxG,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,KAAK,CAAC,YA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AAS;CACzG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,UAAUA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-contacts.d.ts
4
+ declare const SalesflareListContactsInput: z.ZodTypeAny;
5
+ declare const SalesflareListContactsOutput: z.ZodTypeAny;
6
+ declare const salesflareListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareListContacts };
9
+ //# sourceMappingURL=list-contacts.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UA0B6B;AAAA,cAuF5D,4BAAA,EAA8B,CAAA,CAAE,UAEe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-contacts.d.ts
4
+ declare const SalesflareListContactsInput: z.ZodTypeAny;
5
+ declare const SalesflareListContactsOutput: z.ZodTypeAny;
6
+ declare const salesflareListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareListContacts };
9
+ //# sourceMappingURL=list-contacts.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UA0B6B;AAAA,cAuF5D,4BAAA,EAA8B,CAAA,CAAE,UAEe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,127 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-contacts.ts
4
+ const SalesflareListContactsInput = z.object({
5
+ q: z.string().describe("Query string for advanced filtering. Use for complex search queries.").optional(),
6
+ id: z.array(z.number().int()).describe("Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.").optional(),
7
+ tag: z.array(z.number().int()).describe("Filter contacts by tag IDs. Provide a list of tag IDs.").optional(),
8
+ name: z.string().describe("Filter contacts by name. Partial matches are supported.").optional(),
9
+ type: z.enum(["customer", "mycontacts"]).describe("Contact type filter options.").optional(),
10
+ email: z.string().describe("Filter contacts by email address. Partial matches are supported.").optional(),
11
+ limit: z.number().int().default(20).describe("Maximum number of contacts to return. Defaults to 20.").optional(),
12
+ custom: z.string().describe("Filter by custom fields. Format depends on your custom field configuration.").optional(),
13
+ domain: z.string().describe("Filter contacts by domain. Useful for finding contacts from specific companies.").optional(),
14
+ "export": z.string().describe("Export format for the contacts. Specify the desired export format.").optional(),
15
+ offset: z.number().int().default(0).describe("Number of contacts to skip for pagination. Defaults to 0.").optional(),
16
+ search: z.string().describe("Search contacts by keyword. Searches across multiple fields like name, email, and company.").optional(),
17
+ account: z.array(z.number().int()).describe("Filter contacts by account IDs. Provide a list of account IDs.").optional(),
18
+ order_by: z.array(z.string()).describe("Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.").optional(),
19
+ "tag.name": z.array(z.string()).describe("Filter contacts by tag names. Provide a list of tag names.").optional(),
20
+ "address.city": z.array(z.string()).describe("Filter contacts by city. Provide a list of city names.").optional(),
21
+ phone_number: z.string().describe("Filter contacts by phone number. Partial matches are supported.").optional(),
22
+ "position.role": z.array(z.string()).describe("Filter contacts by their position/role. Provide a list of role names.").optional(),
23
+ creation_after: z.string().describe("Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
24
+ "address.country": z.array(z.string()).describe("Filter contacts by country. Provide a list of country names or codes.").optional(),
25
+ creation_before: z.string().describe("Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
26
+ include_archived: z.boolean().describe("Include archived contacts in the results. Set to true to include archived contacts.").optional(),
27
+ modification_after: z.string().describe("Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
28
+ modification_before: z.string().describe("Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).").optional(),
29
+ "address.state_region": z.array(z.string()).describe("Filter contacts by state or region. Provide a list of state/region names.").optional()
30
+ }).describe("Request model for listing contacts with filtering options.");
31
+ const SalesflareListContacts_TagSchema = z.object({
32
+ id: z.number().int().describe("Tag ID").nullable().optional(),
33
+ name: z.string().describe("Tag name").nullable().optional()
34
+ }).describe("Tag information.");
35
+ const SalesflareListContacts_ContactFileSchema = z.object({
36
+ id: z.number().int().describe("File ID").nullable().optional(),
37
+ url: z.string().describe("URL to download the file").nullable().optional(),
38
+ name: z.string().describe("File name").nullable().optional(),
39
+ size: z.number().int().describe("File size in bytes").nullable().optional(),
40
+ type: z.string().describe("File MIME type").nullable().optional()
41
+ }).describe("File attachment information.");
42
+ const SalesflareListContacts_OwnerSummarySchema = z.object({
43
+ id: z.number().int().describe("Unique identifier of the owner"),
44
+ name: z.string().describe("Name of the owner").nullable().optional(),
45
+ email: z.string().describe("Email address of the owner").nullable().optional(),
46
+ picture: z.string().describe("URL to the owner's picture").nullable().optional()
47
+ }).describe("Summary information about the contact owner.");
48
+ const SalesflareListContacts_AccountSummarySchema = z.object({
49
+ id: z.number().int().describe("Unique identifier of the account"),
50
+ name: z.string().describe("Name of the account").nullable().optional(),
51
+ domain: z.string().describe("Domain of the account").nullable().optional(),
52
+ picture: z.string().describe("URL to the account's picture").nullable().optional()
53
+ }).describe("Summary information about an account.");
54
+ const SalesflareListContacts_AddressSchema = z.object({
55
+ zip: z.string().describe("ZIP or postal code").nullable().optional(),
56
+ city: z.string().describe("City name").nullable().optional(),
57
+ type: z.string().describe("Address type (e.g., home, work)").nullable().optional(),
58
+ street: z.string().describe("Street address").nullable().optional(),
59
+ country: z.string().describe("Country name").nullable().optional(),
60
+ state_region: z.string().describe("State or region").nullable().optional()
61
+ }).describe("Address information.");
62
+ const SalesflareListContacts_PositionSchema = z.object({
63
+ role: z.string().describe("Role or job title").nullable().optional(),
64
+ account: z.number().int().describe("Account ID associated with this position").nullable().optional(),
65
+ organisation: z.string().describe("Organization name").nullable().optional()
66
+ }).describe("Position information.");
67
+ const SalesflareListContacts_PhoneNumberSchema = z.object({
68
+ type: z.string().describe("Type of phone number (e.g., work, mobile, home)").nullable().optional(),
69
+ number: z.string().describe("Phone number").nullable().optional()
70
+ }).describe("Phone number information.");
71
+ const SalesflareListContacts_SocialProfileSchema = z.object({
72
+ url: z.string().describe("URL to the social profile").nullable().optional(),
73
+ type: z.string().describe("Type of social profile (e.g., linkedin, twitter)").nullable().optional()
74
+ }).describe("Social media profile information.");
75
+ const SalesflareListContacts_ContactSchema = z.object({
76
+ id: z.number().int().describe("Unique identifier of the contact"),
77
+ name: z.string().describe("Full name of the contact").nullable().optional(),
78
+ role: z.string().describe("Role or job title of the contact").nullable().optional(),
79
+ tags: z.array(SalesflareListContacts_TagSchema).describe("List of tags assigned to the contact").nullable().optional(),
80
+ type: z.string().describe("Type of the contact").nullable().optional(),
81
+ email: z.string().describe("Primary email address of the contact").nullable().optional(),
82
+ files: z.array(SalesflareListContacts_ContactFileSchema).describe("List of files attached to the contact").nullable().optional(),
83
+ owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),
84
+ custom: z.object({}).describe("Custom fields for the contact").nullable().optional(),
85
+ domain: z.string().describe("Domain of the contact's organization").nullable().optional(),
86
+ middle: z.string().describe("Middle name of the contact").nullable().optional(),
87
+ prefix: z.string().describe("Name prefix (e.g., Mr., Dr.)").nullable().optional(),
88
+ suffix: z.string().describe("Name suffix (e.g., Jr., Sr.)").nullable().optional(),
89
+ account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),
90
+ bounced: z.boolean().describe("Whether emails to this contact have bounced").nullable().optional(),
91
+ "opt-out": z.boolean().describe("Whether the contact has opted out of communications").nullable().optional(),
92
+ picture: z.string().describe("URL to the contact's picture").nullable().optional(),
93
+ archived: z.boolean().describe("Whether the contact is archived").nullable().optional(),
94
+ can_edit: z.boolean().describe("Whether the current user can edit this contact").nullable().optional(),
95
+ lastname: z.string().describe("Last name of the contact").nullable().optional(),
96
+ addresses: z.array(SalesflareListContacts_AddressSchema).describe("List of addresses associated with the contact").nullable().optional(),
97
+ firstname: z.string().describe("First name of the contact").nullable().optional(),
98
+ positions: z.array(SalesflareListContacts_PositionSchema).describe("List of positions held by the contact").nullable().optional(),
99
+ birth_date: z.string().describe("Birth date of the contact").nullable().optional(),
100
+ fax_number: z.string().describe("Fax number").nullable().optional(),
101
+ not_viewed: z.boolean().describe("Whether the contact has not been viewed").nullable().optional(),
102
+ bounced_date: z.string().describe("Date when the email bounced (ISO 8601 format)").nullable().optional(),
103
+ "opt-out_date": z.string().describe("Date when the contact opted out (ISO 8601 format)").nullable().optional(),
104
+ organisation: z.string().describe("Organization name").nullable().optional(),
105
+ phone_number: z.string().describe("Primary phone number of the contact").nullable().optional(),
106
+ creation_date: z.string().describe("Date when the contact was created (ISO 8601 format)").nullable().optional(),
107
+ phone_numbers: z.array(SalesflareListContacts_PhoneNumberSchema).describe("List of all phone numbers associated with the contact").nullable().optional(),
108
+ last_email_date: z.string().describe("Date of last email interaction (ISO 8601 format)").nullable().optional(),
109
+ social_profiles: z.array(SalesflareListContacts_SocialProfileSchema).describe("List of social media profiles").nullable().optional(),
110
+ "opt-out_campaign": z.string().describe("Campaign from which the contact opted out").nullable().optional(),
111
+ home_phone_number: z.string().describe("Home phone number").nullable().optional(),
112
+ last_meeting_date: z.string().describe("Date of last meeting (ISO 8601 format)").nullable().optional(),
113
+ modification_date: z.string().describe("Date when the contact was last modified (ISO 8601 format)").nullable().optional(),
114
+ connection_strength: z.number().describe("Strength of connection with the contact (0-1)").nullable().optional(),
115
+ mobile_phone_number: z.string().describe("Mobile phone number").nullable().optional()
116
+ }).describe("Detailed information about a contact.");
117
+ const salesflareListContacts = action("SALESFLARE_LIST_CONTACTS", {
118
+ slug: "salesflare-list-contacts",
119
+ name: "List Contacts",
120
+ description: "Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.",
121
+ input: SalesflareListContactsInput,
122
+ output: z.object({ contacts: z.array(SalesflareListContacts_ContactSchema).describe("List of contacts matching the filter criteria") }).describe("Response model containing a list of contacts.")
123
+ });
124
+ //#endregion
125
+ export { salesflareListContacts };
126
+
127
+ //# sourceMappingURL=list-contacts.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListContactsInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Query string for advanced filtering. Use for complex search queries.\").optional(),\n id: z.array(z.number().int()).describe(\"Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.\").optional(),\n tag: z.array(z.number().int()).describe(\"Filter contacts by tag IDs. Provide a list of tag IDs.\").optional(),\n name: z.string().describe(\"Filter contacts by name. Partial matches are supported.\").optional(),\n type: z.enum([\"customer\", \"mycontacts\"]).describe(\"Contact type filter options.\").optional(),\n email: z.string().describe(\"Filter contacts by email address. Partial matches are supported.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of contacts to return. Defaults to 20.\").optional(),\n custom: z.string().describe(\"Filter by custom fields. Format depends on your custom field configuration.\").optional(),\n domain: z.string().describe(\"Filter contacts by domain. Useful for finding contacts from specific companies.\").optional(),\n \"export\": z.string().describe(\"Export format for the contacts. Specify the desired export format.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of contacts to skip for pagination. Defaults to 0.\").optional(),\n search: z.string().describe(\"Search contacts by keyword. Searches across multiple fields like name, email, and company.\").optional(),\n account: z.array(z.number().int()).describe(\"Filter contacts by account IDs. Provide a list of account IDs.\").optional(),\n order_by: z.array(z.string()).describe(\"Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.\").optional(),\n \"tag.name\": z.array(z.string()).describe(\"Filter contacts by tag names. Provide a list of tag names.\").optional(),\n \"address.city\": z.array(z.string()).describe(\"Filter contacts by city. Provide a list of city names.\").optional(),\n phone_number: z.string().describe(\"Filter contacts by phone number. Partial matches are supported.\").optional(),\n \"position.role\": z.array(z.string()).describe(\"Filter contacts by their position/role. Provide a list of role names.\").optional(),\n creation_after: z.string().describe(\"Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.country\": z.array(z.string()).describe(\"Filter contacts by country. Provide a list of country names or codes.\").optional(),\n creation_before: z.string().describe(\"Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n include_archived: z.boolean().describe(\"Include archived contacts in the results. Set to true to include archived contacts.\").optional(),\n modification_after: z.string().describe(\"Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n modification_before: z.string().describe(\"Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.state_region\": z.array(z.string()).describe(\"Filter contacts by state or region. Provide a list of state/region names.\").optional(),\n}).describe(\"Request model for listing contacts with filtering options.\");\nconst SalesflareListContacts_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).describe(\"Tag information.\");\nconst SalesflareListContacts_ContactFileSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"File ID\").nullable().optional(),\n url: z.string().describe(\"URL to download the file\").nullable().optional(),\n name: z.string().describe(\"File name\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"File MIME type\").nullable().optional(),\n}).describe(\"File attachment information.\");\nconst SalesflareListContacts_OwnerSummarySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\"),\n name: z.string().describe(\"Name of the owner\").nullable().optional(),\n email: z.string().describe(\"Email address of the owner\").nullable().optional(),\n picture: z.string().describe(\"URL to the owner's picture\").nullable().optional(),\n}).describe(\"Summary information about the contact owner.\");\nconst SalesflareListContacts_AccountSummarySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\"),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n domain: z.string().describe(\"Domain of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).describe(\"Summary information about an account.\");\nconst SalesflareListContacts_AddressSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information.\");\nconst SalesflareListContacts_PositionSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role or job title\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with this position\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).describe(\"Position information.\");\nconst SalesflareListContacts_PhoneNumberSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of phone number (e.g., work, mobile, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).describe(\"Phone number information.\");\nconst SalesflareListContacts_SocialProfileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social profile (e.g., linkedin, twitter)\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nconst SalesflareListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\"),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the contact\").nullable().optional(),\n tags: z.array(SalesflareListContacts_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n type: z.string().describe(\"Type of the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n files: z.array(SalesflareListContacts_ContactFileSchema).describe(\"List of files attached to the contact\").nullable().optional(),\n owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),\n custom: z.object({}).describe(\"Custom fields for the contact\").nullable().optional(),\n domain: z.string().describe(\"Domain of the contact's organization\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the contact\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Dr.)\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr.)\").nullable().optional(),\n account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this contact have bounced\").nullable().optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\").nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this contact\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n addresses: z.array(SalesflareListContacts_AddressSchema).describe(\"List of addresses associated with the contact\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n positions: z.array(SalesflareListContacts_PositionSchema).describe(\"List of positions held by the contact\").nullable().optional(),\n birth_date: z.string().describe(\"Birth date of the contact\").nullable().optional(),\n fax_number: z.string().describe(\"Fax number\").nullable().optional(),\n not_viewed: z.boolean().describe(\"Whether the contact has not been viewed\").nullable().optional(),\n bounced_date: z.string().describe(\"Date when the email bounced (ISO 8601 format)\").nullable().optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out (ISO 8601 format)\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListContacts_PhoneNumberSchema).describe(\"List of all phone numbers associated with the contact\").nullable().optional(),\n last_email_date: z.string().describe(\"Date of last email interaction (ISO 8601 format)\").nullable().optional(),\n social_profiles: z.array(SalesflareListContacts_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").nullable().optional(),\n home_phone_number: z.string().describe(\"Home phone number\").nullable().optional(),\n last_meeting_date: z.string().describe(\"Date of last meeting (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the contact was last modified (ISO 8601 format)\").nullable().optional(),\n connection_strength: z.number().describe(\"Strength of connection with the contact (0-1)\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").nullable().optional(),\n}).describe(\"Detailed information about a contact.\");\nexport const SalesflareListContactsOutput: z.ZodTypeAny = z.object({\n contacts: z.array(SalesflareListContacts_ContactSchema).describe(\"List of contacts matching the filter criteria\"),\n}).describe(\"Response model containing a list of contacts.\");\n\nexport const salesflareListContacts = action(\"SALESFLARE_LIST_CONTACTS\", {\n slug: \"salesflare-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.\",\n input: SalesflareListContactsInput,\n output: SalesflareListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACxG,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;C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3
+ //#region src/actions/list-currencies.ts
4
+ const SalesflareListCurrenciesInput = zod.z.object({}).describe("Request model for listing supported currencies.\nThis endpoint requires no parameters.");
5
+ const SalesflareListCurrencies_CurrencySchema = zod.z.object({
6
+ id: zod.z.number().describe("Unique identifier for the currency"),
7
+ iso: zod.z.string().describe("ISO 4217 currency code (e.g., USD, EUR, GBP)"),
8
+ html: zod.z.string().describe("HTML representation of the currency symbol")
9
+ }).describe("Model representing a currency in Salesflare.");
10
+ const SalesflareListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).describe("Response model containing the list of supported currencies.");
11
+ const salesflareListCurrencies = require_action.action("SALESFLARE_LIST_CURRENCIES", {
12
+ slug: "salesflare-list-currencies",
13
+ name: "List Supported Currencies",
14
+ description: "Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.",
15
+ input: SalesflareListCurrenciesInput,
16
+ output: SalesflareListCurrenciesOutput
17
+ });
18
+ //#endregion
19
+ exports.salesflareListCurrencies = salesflareListCurrencies;
20
+
21
+ //# sourceMappingURL=list-currencies.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema: z.ZodTypeAny = z.object({\n id: z.number().describe(\"Unique identifier for the currency\"),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\"),\n html: z.string().describe(\"HTML representation of the currency symbol\"),\n}).describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput: z.ZodTypeAny = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACzK,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACxE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,YAAYA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C,EACpH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-currencies.d.ts
4
+ declare const SalesflareListCurrenciesInput: z.ZodTypeAny;
5
+ declare const SalesflareListCurrenciesOutput: z.ZodTypeAny;
6
+ declare const salesflareListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareListCurrencies };
9
+ //# sourceMappingURL=list-currencies.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-currencies.d.cts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA4H;AAAA,cAM7J,8BAAA,EAAgC,CAAA,CAAE,UAE2B;AAAA,cAE7D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-currencies.d.ts
4
+ declare const SalesflareListCurrenciesInput: z.ZodTypeAny;
5
+ declare const SalesflareListCurrenciesOutput: z.ZodTypeAny;
6
+ declare const salesflareListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareListCurrencies };
9
+ //# sourceMappingURL=list-currencies.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-currencies.d.mts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA4H;AAAA,cAM7J,8BAAA,EAAgC,CAAA,CAAE,UAE2B;AAAA,cAE7D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}