@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,121 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-opportunity.ts
4
+ const SalesflareGetOpportunityInput = z.object({ id: z.number().int().describe("Unique identifier of the opportunity to retrieve") }).describe("Request to get opportunity details by ID.");
5
+ const SalesflareGetOpportunity_TagInfoSchema = z.object({
6
+ id: z.number().int().describe("Unique identifier of the tag"),
7
+ name: z.string().describe("Name of the tag").nullable().optional()
8
+ }).describe("Tag information for the opportunity.");
9
+ const SalesflareGetOpportunity_OwnerInfoSchema = z.object({
10
+ id: z.number().int().describe("Unique identifier of the owner"),
11
+ name: z.string().describe("Name of the owner").nullable().optional(),
12
+ email: z.string().describe("Email address of the owner").nullable().optional(),
13
+ picture: z.string().describe("URL to the owner's picture").nullable().optional(),
14
+ disabled: z.boolean().describe("Whether the owner account is disabled").nullable().optional()
15
+ }).describe("Owner information for the opportunity.");
16
+ const SalesflareGetOpportunity_StageInfoSchema = z.object({
17
+ id: z.number().int().describe("Unique identifier of the stage"),
18
+ name: z.string().describe("Name of the stage").nullable().optional(),
19
+ color: z.string().describe("Color code for the stage").nullable().optional(),
20
+ order: z.number().int().describe("Display order of the stage").nullable().optional(),
21
+ pipeline: z.number().int().describe("Pipeline ID this stage belongs to").nullable().optional(),
22
+ fixed_stage: z.number().int().describe("Fixed stage identifier").nullable().optional(),
23
+ probability: z.number().describe("Win probability percentage for this stage").nullable().optional()
24
+ }).describe("Stage information for the opportunity.");
25
+ const SalesflareGetOpportunity_AccountInfoSchema = z.object({
26
+ id: z.number().int().describe("Unique identifier of the account"),
27
+ name: z.string().describe("Name of the account").nullable().optional(),
28
+ owner: z.number().int().describe("Owner ID of the account").nullable().optional(),
29
+ hotness: z.number().describe("Hotness score of the account").nullable().optional(),
30
+ picture: z.string().describe("URL to the account's picture").nullable().optional()
31
+ }).describe("Account information associated with the opportunity.");
32
+ const SalesflareGetOpportunity_AssigneeInfoSchema = z.object({
33
+ id: z.number().int().describe("Unique identifier of the assignee"),
34
+ name: z.string().describe("Name of the assignee").nullable().optional(),
35
+ email: z.string().describe("Email address of the assignee").nullable().optional(),
36
+ picture: z.string().describe("URL to the assignee's picture").nullable().optional()
37
+ }).describe("Assignee information for the opportunity.");
38
+ const SalesflareGetOpportunity_CurrencyInfoSchema = z.object({
39
+ id: z.number().int().describe("Unique identifier of the currency"),
40
+ iso: z.string().describe("ISO code of the currency (e.g., 'USD', 'EUR')").nullable().optional(),
41
+ html: z.string().describe("HTML representation of the currency symbol").nullable().optional()
42
+ }).describe("Currency information for the opportunity.");
43
+ const SalesflareGetOpportunity_PipelineInfoSchema = z.object({
44
+ id: z.number().int().describe("Unique identifier of the pipeline").nullable().optional(),
45
+ name: z.string().describe("Name of the pipeline").nullable().optional()
46
+ }).describe("Pipeline information for the opportunity.");
47
+ const SalesflareGetOpportunity_LeadSourceInfoSchema = z.object({
48
+ id: z.number().int().describe("Unique identifier of the lead source"),
49
+ name: z.string().describe("Name of the lead source").nullable().optional()
50
+ }).describe("Lead source information for the opportunity.");
51
+ const SalesflareGetOpportunity_LostReasonInfoSchema = z.object({
52
+ id: z.number().int().describe("Unique identifier of the lost reason"),
53
+ name: z.string().describe("Name of the lost reason").nullable().optional(),
54
+ order: z.number().int().describe("Display order of the lost reason").nullable().optional()
55
+ }).describe("Lost reason information for closed-lost opportunities.");
56
+ const SalesflareGetOpportunity_MainContactInfoSchema = z.object({
57
+ id: z.number().int().describe("Unique identifier of the main contact"),
58
+ name: z.string().describe("Name of the main contact").nullable().optional(),
59
+ email: z.string().describe("Email address of the main contact").nullable().optional(),
60
+ entity: z.string().describe("Entity type, typically 'contact'").nullable().optional(),
61
+ picture: z.string().describe("URL to the main contact's picture").nullable().optional()
62
+ }).describe("Main contact information for the opportunity.");
63
+ const SalesflareGetOpportunity_StageUpdateInfoSchema = z.object({
64
+ stage: z.record(z.string(), z.unknown()).describe("Stage details for this update").nullable().optional(),
65
+ duration_in_seconds: z.number().int().describe("Duration spent in this stage in seconds")
66
+ }).describe("Stage update history information.");
67
+ const SalesflareGetOpportunity_PersonInfoSchema = z.object({
68
+ id: z.number().int().describe("Unique identifier of the person").nullable().optional(),
69
+ name: z.string().describe("Name of the person").nullable().optional(),
70
+ picture: z.string().describe("URL to the person's picture").nullable().optional()
71
+ }).describe("Person information in last interaction.");
72
+ const SalesflareGetOpportunity_LastInteractionInfoSchema = z.object({
73
+ date: z.string().describe("Date of the last interaction (ISO 8601 format)").nullable().optional(),
74
+ type: z.string().describe("Type of the last interaction").nullable().optional(),
75
+ person: SalesflareGetOpportunity_PersonInfoSchema.nullable().optional(),
76
+ description: z.string().describe("Description of the last interaction").nullable().optional()
77
+ }).describe("Last interaction information for the opportunity.");
78
+ const salesflareGetOpportunity = action("SALESFLARE_GET_OPPORTUNITY", {
79
+ slug: "salesflare-get-opportunity",
80
+ name: "Get Opportunity",
81
+ description: "Get detailed information about a specific opportunity by ID. Tool to retrieve complete opportunity details including account, contacts, pipeline stage, value, dates, and other metadata. Use when you need to fetch information about a specific opportunity in Salesflare.",
82
+ input: SalesflareGetOpportunityInput,
83
+ output: z.object({
84
+ id: z.number().int().describe("Unique identifier of the opportunity"),
85
+ done: z.boolean().describe("Whether the opportunity is closed (won or lost)").nullable().optional(),
86
+ name: z.string().describe("Name of the opportunity").nullable().optional(),
87
+ tags: z.array(SalesflareGetOpportunity_TagInfoSchema).describe("Tags associated with the opportunity").nullable().optional(),
88
+ files: z.array(z.record(z.string(), z.unknown())).describe("Files attached to the opportunity").nullable().optional(),
89
+ owner: SalesflareGetOpportunity_OwnerInfoSchema.nullable().optional(),
90
+ stage: SalesflareGetOpportunity_StageInfoSchema.nullable().optional(),
91
+ units: z.number().describe("Number of units").nullable().optional(),
92
+ value: z.number().describe("Total value of the opportunity").nullable().optional(),
93
+ custom: z.record(z.string(), z.unknown()).describe("Custom fields for the opportunity").nullable().optional(),
94
+ account: SalesflareGetOpportunity_AccountInfoSchema.nullable().optional(),
95
+ creator: z.number().int().describe("User ID who created the opportunity").nullable().optional(),
96
+ assignee: SalesflareGetOpportunity_AssigneeInfoSchema.nullable().optional(),
97
+ can_edit: z.boolean().describe("Whether the current user can edit this opportunity").nullable().optional(),
98
+ currency: SalesflareGetOpportunity_CurrencyInfoSchema.nullable().optional(),
99
+ pipeline: SalesflareGetOpportunity_PipelineInfoSchema.nullable().optional(),
100
+ frequency: z.string().describe("Frequency of recurring revenue").nullable().optional(),
101
+ close_date: z.string().describe("Expected close date of the opportunity").nullable().optional(),
102
+ start_date: z.string().describe("Start date of the opportunity").nullable().optional(),
103
+ lead_source: SalesflareGetOpportunity_LeadSourceInfoSchema.nullable().optional(),
104
+ lost_reason: SalesflareGetOpportunity_LostReasonInfoSchema.nullable().optional(),
105
+ probability: z.number().describe("Win probability percentage").nullable().optional(),
106
+ main_contact: SalesflareGetOpportunity_MainContactInfoSchema.nullable().optional(),
107
+ creation_date: z.string().describe("Date when the opportunity was created (ISO 8601 format)").nullable().optional(),
108
+ stage_updates: z.array(SalesflareGetOpportunity_StageUpdateInfoSchema).describe("History of stage changes").nullable().optional(),
109
+ calculated_value: z.number().describe("Calculated value of the opportunity").nullable().optional(),
110
+ last_interaction: SalesflareGetOpportunity_LastInteractionInfoSchema.nullable().optional(),
111
+ last_modified_by: z.number().int().describe("User ID who last modified the opportunity").nullable().optional(),
112
+ contract_end_date: z.string().describe("End date of the contract").nullable().optional(),
113
+ modification_date: z.string().describe("Date when the opportunity was last modified (ISO 8601 format)").nullable().optional(),
114
+ contract_start_date: z.string().describe("Start date of the contract").nullable().optional(),
115
+ recurring_price_per_unit: z.number().describe("Recurring price per unit for subscription-based opportunities").nullable().optional()
116
+ }).describe("Response containing detailed opportunity information.")
117
+ });
118
+ //#endregion
119
+ export { salesflareGetOpportunity };
120
+
121
+ //# sourceMappingURL=get-opportunity.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-opportunity.mjs","names":[],"sources":["../../src/actions/get-opportunity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetOpportunityInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the opportunity to retrieve\"),\n}).describe(\"Request to get opportunity details by ID.\");\nconst SalesflareGetOpportunity_TagInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\"),\n name: z.string().describe(\"Name of the tag\").nullable().optional(),\n}).describe(\"Tag information for the opportunity.\");\nconst SalesflareGetOpportunity_OwnerInfoSchema: 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 disabled: z.boolean().describe(\"Whether the owner account is disabled\").nullable().optional(),\n}).describe(\"Owner information for the opportunity.\");\nconst SalesflareGetOpportunity_StageInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\"),\n name: z.string().describe(\"Name of the stage\").nullable().optional(),\n color: z.string().describe(\"Color code for the stage\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the stage\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID this stage belongs to\").nullable().optional(),\n fixed_stage: z.number().int().describe(\"Fixed stage identifier\").nullable().optional(),\n probability: z.number().describe(\"Win probability percentage for this stage\").nullable().optional(),\n}).describe(\"Stage information for the opportunity.\");\nconst SalesflareGetOpportunity_AccountInfoSchema: 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 owner: z.number().int().describe(\"Owner ID of the account\").nullable().optional(),\n hotness: z.number().describe(\"Hotness score of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).describe(\"Account information associated with the opportunity.\");\nconst SalesflareGetOpportunity_AssigneeInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the assignee\"),\n name: z.string().describe(\"Name of the assignee\").nullable().optional(),\n email: z.string().describe(\"Email address of the assignee\").nullable().optional(),\n picture: z.string().describe(\"URL to the assignee's picture\").nullable().optional(),\n}).describe(\"Assignee information for the opportunity.\");\nconst SalesflareGetOpportunity_CurrencyInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the currency\"),\n iso: z.string().describe(\"ISO code of the currency (e.g., 'USD', 'EUR')\").nullable().optional(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable().optional(),\n}).describe(\"Currency information for the opportunity.\");\nconst SalesflareGetOpportunity_PipelineInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the pipeline\").nullable().optional(),\n name: z.string().describe(\"Name of the pipeline\").nullable().optional(),\n}).describe(\"Pipeline information for the opportunity.\");\nconst SalesflareGetOpportunity_LeadSourceInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead source\"),\n name: z.string().describe(\"Name of the lead source\").nullable().optional(),\n}).describe(\"Lead source information for the opportunity.\");\nconst SalesflareGetOpportunity_LostReasonInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the lost reason\"),\n name: z.string().describe(\"Name of the lost reason\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the lost reason\").nullable().optional(),\n}).describe(\"Lost reason information for closed-lost opportunities.\");\nconst SalesflareGetOpportunity_MainContactInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the main contact\"),\n name: z.string().describe(\"Name of the main contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the main contact\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'contact'\").nullable().optional(),\n picture: z.string().describe(\"URL to the main contact's picture\").nullable().optional(),\n}).describe(\"Main contact information for the opportunity.\");\nconst SalesflareGetOpportunity_StageUpdateInfoSchema: z.ZodTypeAny = z.object({\n stage: z.record(z.string(), z.unknown()).describe(\"Stage details for this update\").nullable().optional(),\n duration_in_seconds: z.number().int().describe(\"Duration spent in this stage in seconds\"),\n}).describe(\"Stage update history information.\");\nconst SalesflareGetOpportunity_PersonInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the person\").nullable().optional(),\n name: z.string().describe(\"Name of the person\").nullable().optional(),\n picture: z.string().describe(\"URL to the person's picture\").nullable().optional(),\n}).describe(\"Person information in last interaction.\");\nconst SalesflareGetOpportunity_LastInteractionInfoSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date of the last interaction (ISO 8601 format)\").nullable().optional(),\n type: z.string().describe(\"Type of the last interaction\").nullable().optional(),\n person: SalesflareGetOpportunity_PersonInfoSchema.nullable().optional(),\n description: z.string().describe(\"Description of the last interaction\").nullable().optional(),\n}).describe(\"Last interaction information for the opportunity.\");\nexport const SalesflareGetOpportunityOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the opportunity\"),\n done: z.boolean().describe(\"Whether the opportunity is closed (won or lost)\").nullable().optional(),\n name: z.string().describe(\"Name of the opportunity\").nullable().optional(),\n tags: z.array(SalesflareGetOpportunity_TagInfoSchema).describe(\"Tags associated with the opportunity\").nullable().optional(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"Files attached to the opportunity\").nullable().optional(),\n owner: SalesflareGetOpportunity_OwnerInfoSchema.nullable().optional(),\n stage: SalesflareGetOpportunity_StageInfoSchema.nullable().optional(),\n units: z.number().describe(\"Number of units\").nullable().optional(),\n value: z.number().describe(\"Total value of the opportunity\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields for the opportunity\").nullable().optional(),\n account: SalesflareGetOpportunity_AccountInfoSchema.nullable().optional(),\n creator: z.number().int().describe(\"User ID who created the opportunity\").nullable().optional(),\n assignee: SalesflareGetOpportunity_AssigneeInfoSchema.nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this opportunity\").nullable().optional(),\n currency: SalesflareGetOpportunity_CurrencyInfoSchema.nullable().optional(),\n pipeline: SalesflareGetOpportunity_PipelineInfoSchema.nullable().optional(),\n frequency: z.string().describe(\"Frequency of recurring revenue\").nullable().optional(),\n close_date: z.string().describe(\"Expected close date of the opportunity\").nullable().optional(),\n start_date: z.string().describe(\"Start date of the opportunity\").nullable().optional(),\n lead_source: SalesflareGetOpportunity_LeadSourceInfoSchema.nullable().optional(),\n lost_reason: SalesflareGetOpportunity_LostReasonInfoSchema.nullable().optional(),\n probability: z.number().describe(\"Win probability percentage\").nullable().optional(),\n main_contact: SalesflareGetOpportunity_MainContactInfoSchema.nullable().optional(),\n creation_date: z.string().describe(\"Date when the opportunity was created (ISO 8601 format)\").nullable().optional(),\n stage_updates: z.array(SalesflareGetOpportunity_StageUpdateInfoSchema).describe(\"History of stage changes\").nullable().optional(),\n calculated_value: z.number().describe(\"Calculated value of the opportunity\").nullable().optional(),\n last_interaction: SalesflareGetOpportunity_LastInteractionInfoSchema.nullable().optional(),\n last_modified_by: z.number().int().describe(\"User ID who last modified the opportunity\").nullable().optional(),\n contract_end_date: z.string().describe(\"End date of the contract\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the opportunity was last modified (ISO 8601 format)\").nullable().optional(),\n contract_start_date: z.string().describe(\"Start date of the contract\").nullable().optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities\").nullable().optional(),\n}).describe(\"Response containing detailed opportunity information.\");\n\nexport const salesflareGetOpportunity = action(\"SALESFLARE_GET_OPPORTUNITY\", {\n slug: \"salesflare-get-opportunity\",\n name: \"Get Opportunity\",\n description: \"Get detailed information about a specific opportunity by ID. Tool to retrieve complete opportunity details including account, contacts, pipeline stage, value, dates, and other metadata. Use when you need to fetch information about a specific opportunity in Salesflare.\",\n input: SalesflareGetOpportunityInput,\n output: SalesflareGetOpportunityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAAS,EAA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,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,+CAA+C,SAAS,CAAC,CAAC,SAAS;EACjF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,eAAe,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,mDAAmD,SAAS,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-stage.ts
4
+ const SalesflareGetStageInput = zod.z.object({ stage_id: zod.z.number().int().describe("Unique identifier of the pipeline stage to retrieve") }).describe("Request model for getting a stage by ID.");
5
+ const SalesflareGetStage_PipelineInfoSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("Pipeline ID").nullable().optional(),
7
+ name: zod.z.string().describe("Pipeline name").nullable().optional(),
8
+ order: zod.z.number().int().describe("Display order of the pipeline").nullable().optional()
9
+ }).describe("Pipeline information for a stage.");
10
+ const SalesflareGetStageOutput = zod.z.object({
11
+ id: zod.z.number().int().describe("Unique identifier of the stage"),
12
+ name: zod.z.string().describe("Name of the stage").nullable().optional(),
13
+ color: zod.z.string().describe("Color code for the stage (hex color)").nullable().optional(),
14
+ order: zod.z.number().int().describe("Display order of the stage within its pipeline").nullable().optional(),
15
+ pipeline: zod.z.union([zod.z.number().int(), SalesflareGetStage_PipelineInfoSchema]).nullable().optional(),
16
+ fixed_stage: zod.z.number().int().describe("Fixed stage identifier (0=open, 1=won, 2=lost)").nullable().optional(),
17
+ probability: zod.z.number().describe("Win probability percentage for opportunities in this stage").nullable().optional(),
18
+ creation_date: zod.z.string().describe("Date when the stage was created (ISO 8601 format)").nullable().optional(),
19
+ modification_date: zod.z.string().describe("Date when the stage was last modified (ISO 8601 format)").nullable().optional()
20
+ }).describe("Response model containing detailed stage information.");
21
+ const salesflareGetStage = require_action.action("SALESFLARE_GET_STAGE", {
22
+ slug: "salesflare-get-stage",
23
+ name: "Get Stage",
24
+ description: "Get detailed information about a specific pipeline stage by ID. Tool to retrieve complete stage details including name, order, probability, and pipeline association. Use when you need to fetch information about a specific stage in Salesflare.",
25
+ input: SalesflareGetStageInput,
26
+ output: SalesflareGetStageOutput
27
+ });
28
+ //#endregion
29
+ exports.salesflareGetStage = salesflareGetStage;
30
+
31
+ //# sourceMappingURL=get-stage.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.cjs","names":["z","action"],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetStageInput: z.ZodTypeAny = z.object({\n stage_id: z.number().int().describe(\"Unique identifier of the pipeline stage to retrieve\"),\n}).describe(\"Request model for getting a stage by ID.\");\nconst SalesflareGetStage_PipelineInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Pipeline ID\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n}).describe(\"Pipeline information for a stage.\");\nexport const SalesflareGetStageOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\"),\n name: z.string().describe(\"Name of the stage\").nullable().optional(),\n color: z.string().describe(\"Color code for the stage (hex color)\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the stage within its pipeline\").nullable().optional(),\n pipeline: z.union([z.number().int(), SalesflareGetStage_PipelineInfoSchema]).nullable().optional(),\n fixed_stage: z.number().int().describe(\"Fixed stage identifier (0=open, 1=won, 2=lost)\").nullable().optional(),\n probability: z.number().describe(\"Win probability percentage for opportunities in this stage\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the stage was created (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the stage was last modified (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model containing detailed stage information.\");\n\nexport const salesflareGetStage = action(\"SALESFLARE_GET_STAGE\", {\n slug: \"salesflare-get-stage\",\n name: \"Get Stage\",\n description: \"Get detailed information about a specific pipeline stage by ID. Tool to retrieve complete stage details including name, order, probability, and pipeline association. Use when you need to fetch information about a specific stage in Salesflare.\",\n input: SalesflareGetStageInput,\n output: SalesflareGetStageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC3F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,C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,eAAAA,OAAO,wBAAwB;CAC/D,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/get-stage.d.ts
4
+ declare const SalesflareGetStageInput: z.ZodTypeAny;
5
+ declare const SalesflareGetStageOutput: z.ZodTypeAny;
6
+ declare const salesflareGetStage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetStage };
9
+ //# sourceMappingURL=get-stage.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.d.cts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEe;AAAA,cAM1C,wBAAA,EAA0B,CAAA,CAAE,UAU2B;AAAA,cAEvD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-stage.d.ts
4
+ declare const SalesflareGetStageInput: z.ZodTypeAny;
5
+ declare const SalesflareGetStageOutput: z.ZodTypeAny;
6
+ declare const salesflareGetStage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetStage };
9
+ //# sourceMappingURL=get-stage.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.d.mts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEe;AAAA,cAM1C,wBAAA,EAA0B,CAAA,CAAE,UAU2B;AAAA,cAEvD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-stage.ts
4
+ const SalesflareGetStageInput = z.object({ stage_id: z.number().int().describe("Unique identifier of the pipeline stage to retrieve") }).describe("Request model for getting a stage by ID.");
5
+ const SalesflareGetStage_PipelineInfoSchema = z.object({
6
+ id: z.number().int().describe("Pipeline ID").nullable().optional(),
7
+ name: z.string().describe("Pipeline name").nullable().optional(),
8
+ order: z.number().int().describe("Display order of the pipeline").nullable().optional()
9
+ }).describe("Pipeline information for a stage.");
10
+ const salesflareGetStage = action("SALESFLARE_GET_STAGE", {
11
+ slug: "salesflare-get-stage",
12
+ name: "Get Stage",
13
+ description: "Get detailed information about a specific pipeline stage by ID. Tool to retrieve complete stage details including name, order, probability, and pipeline association. Use when you need to fetch information about a specific stage in Salesflare.",
14
+ input: SalesflareGetStageInput,
15
+ output: z.object({
16
+ id: z.number().int().describe("Unique identifier of the stage"),
17
+ name: z.string().describe("Name of the stage").nullable().optional(),
18
+ color: z.string().describe("Color code for the stage (hex color)").nullable().optional(),
19
+ order: z.number().int().describe("Display order of the stage within its pipeline").nullable().optional(),
20
+ pipeline: z.union([z.number().int(), SalesflareGetStage_PipelineInfoSchema]).nullable().optional(),
21
+ fixed_stage: z.number().int().describe("Fixed stage identifier (0=open, 1=won, 2=lost)").nullable().optional(),
22
+ probability: z.number().describe("Win probability percentage for opportunities in this stage").nullable().optional(),
23
+ creation_date: z.string().describe("Date when the stage was created (ISO 8601 format)").nullable().optional(),
24
+ modification_date: z.string().describe("Date when the stage was last modified (ISO 8601 format)").nullable().optional()
25
+ }).describe("Response model containing detailed stage information.")
26
+ });
27
+ //#endregion
28
+ export { salesflareGetStage };
29
+
30
+ //# sourceMappingURL=get-stage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.mjs","names":[],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetStageInput: z.ZodTypeAny = z.object({\n stage_id: z.number().int().describe(\"Unique identifier of the pipeline stage to retrieve\"),\n}).describe(\"Request model for getting a stage by ID.\");\nconst SalesflareGetStage_PipelineInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Pipeline ID\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n}).describe(\"Pipeline information for a stage.\");\nexport const SalesflareGetStageOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\"),\n name: z.string().describe(\"Name of the stage\").nullable().optional(),\n color: z.string().describe(\"Color code for the stage (hex color)\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the stage within its pipeline\").nullable().optional(),\n pipeline: z.union([z.number().int(), SalesflareGetStage_PipelineInfoSchema]).nullable().optional(),\n fixed_stage: z.number().int().describe(\"Fixed stage identifier (0=open, 1=won, 2=lost)\").nullable().optional(),\n probability: z.number().describe(\"Win probability percentage for opportunities in this stage\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the stage was created (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the stage was last modified (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model containing detailed stage information.\");\n\nexport const salesflareGetStage = action(\"SALESFLARE_GET_STAGE\", {\n slug: \"salesflare-get-stage\",\n name: \"Get Stage\",\n description: \"Get detailed information about a specific pipeline stage by ID. Tool to retrieve complete stage details including name, order, probability, and pipeline association. Use when you need to fetch information about a specific stage in Salesflare.\",\n input: SalesflareGetStageInput,\n output: SalesflareGetStageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC3F,CAAC,CAAC,CAAC,SAAS,0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AAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-tag-usage.ts
4
+ const SalesflareGetTagUsageInput = zod.z.object({ tag_id: zod.z.number().int().describe("Unique identifier of the tag to retrieve usage information for") }).describe("Request model for getting tag usage by tag ID.");
5
+ const SalesflareGetTagUsage_ReportUsageItemSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("Report ID").nullable().optional(),
7
+ name: zod.z.string().describe("Report name").nullable().optional(),
8
+ type: zod.z.string().describe("Report type").nullable().optional()
9
+ }).describe("Report item using the tag.");
10
+ const SalesflareGetTagUsage_WorkflowUsageItemSchema = zod.z.object({
11
+ id: zod.z.number().int().describe("Workflow ID").nullable().optional(),
12
+ name: zod.z.string().describe("Workflow name").nullable().optional(),
13
+ type: zod.z.string().describe("Workflow type").nullable().optional()
14
+ }).describe("Workflow item using the tag.");
15
+ const SalesflareGetTagUsage_SavedFilterUsageItemSchema = zod.z.object({
16
+ id: zod.z.number().int().describe("Saved filter ID").nullable().optional(),
17
+ name: zod.z.string().describe("Saved filter name").nullable().optional(),
18
+ entity: zod.z.string().describe("Entity type for the filter").nullable().optional()
19
+ }).describe("Saved filter item using the tag.");
20
+ const SalesflareGetTagUsageOutput = zod.z.object({
21
+ reports: zod.z.array(SalesflareGetTagUsage_ReportUsageItemSchema).describe("List of reports using this tag").nullable().optional(),
22
+ workflows: zod.z.array(SalesflareGetTagUsage_WorkflowUsageItemSchema).describe("List of workflows using this tag").nullable().optional(),
23
+ saved_filters: zod.z.array(SalesflareGetTagUsage_SavedFilterUsageItemSchema).describe("List of saved filters using this tag").nullable().optional()
24
+ }).describe("Response model containing tag usage information in workflows, saved filters, and reports.");
25
+ const salesflareGetTagUsage = require_action.action("SALESFLARE_GET_TAG_USAGE", {
26
+ slug: "salesflare-get-tag-usage",
27
+ name: "Get Tag Usage",
28
+ description: "Get tag usage details including workflows, saved filters, and reports. Tool to retrieve information about where a specific tag is being used across workflows, saved filters, and reports in Salesflare. Use when you need to understand tag dependencies before deletion or to audit tag usage.",
29
+ input: SalesflareGetTagUsageInput,
30
+ output: SalesflareGetTagUsageOutput
31
+ });
32
+ //#endregion
33
+ exports.salesflareGetTagUsage = salesflareGetTagUsage;
34
+
35
+ //# sourceMappingURL=get-tag-usage.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tag-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetTagUsageInput: z.ZodTypeAny = z.object({\n tag_id: z.number().int().describe(\"Unique identifier of the tag to retrieve usage information for\"),\n}).describe(\"Request model for getting tag usage by tag ID.\");\nconst SalesflareGetTagUsage_ReportUsageItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Report ID\").nullable().optional(),\n name: z.string().describe(\"Report name\").nullable().optional(),\n type: z.string().describe(\"Report type\").nullable().optional(),\n}).describe(\"Report item using the tag.\");\nconst SalesflareGetTagUsage_WorkflowUsageItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Workflow ID\").nullable().optional(),\n name: z.string().describe(\"Workflow name\").nullable().optional(),\n type: z.string().describe(\"Workflow type\").nullable().optional(),\n}).describe(\"Workflow item using the tag.\");\nconst SalesflareGetTagUsage_SavedFilterUsageItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Saved filter ID\").nullable().optional(),\n name: z.string().describe(\"Saved filter name\").nullable().optional(),\n entity: z.string().describe(\"Entity type for the filter\").nullable().optional(),\n}).describe(\"Saved filter item using the tag.\");\nexport const SalesflareGetTagUsageOutput: z.ZodTypeAny = z.object({\n reports: z.array(SalesflareGetTagUsage_ReportUsageItemSchema).describe(\"List of reports using this tag\").nullable().optional(),\n workflows: z.array(SalesflareGetTagUsage_WorkflowUsageItemSchema).describe(\"List of workflows using this tag\").nullable().optional(),\n saved_filters: z.array(SalesflareGetTagUsage_SavedFilterUsageItemSchema).describe(\"List of saved filters using this tag\").nullable().optional(),\n}).describe(\"Response model containing tag usage information in workflows, saved filters, and reports.\");\n\nexport const salesflareGetTagUsage = action(\"SALESFLARE_GET_TAG_USAGE\", {\n slug: \"salesflare-get-tag-usage\",\n name: \"Get Tag Usage\",\n description: \"Get tag usage details including workflows, saved filters, and reports. Tool to retrieve information about where a specific tag is being used across workflows, saved filters, and reports in Salesflare. Use when you need to understand tag dependencies before deletion or to audit tag usage.\",\n input: SalesflareGetTagUsageInput,\n output: SalesflareGetTagUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,EACpG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,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/get-tag-usage.d.ts
4
+ declare const SalesflareGetTagUsageInput: z.ZodTypeAny;
5
+ declare const SalesflareGetTagUsageOutput: z.ZodTypeAny;
6
+ declare const salesflareGetTagUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetTagUsage };
9
+ //# sourceMappingURL=get-tag-usage.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tag-usage.d.cts","names":[],"sources":["../../src/actions/get-tag-usage.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAgBhD,2BAAA,EAA6B,CAAA,CAAE,UAI4D;AAAA,cAE3F,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-tag-usage.d.ts
4
+ declare const SalesflareGetTagUsageInput: z.ZodTypeAny;
5
+ declare const SalesflareGetTagUsageOutput: z.ZodTypeAny;
6
+ declare const salesflareGetTagUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetTagUsage };
9
+ //# sourceMappingURL=get-tag-usage.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tag-usage.d.mts","names":[],"sources":["../../src/actions/get-tag-usage.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAgBhD,2BAAA,EAA6B,CAAA,CAAE,UAI4D;AAAA,cAE3F,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-tag-usage.ts
4
+ const SalesflareGetTagUsageInput = z.object({ tag_id: z.number().int().describe("Unique identifier of the tag to retrieve usage information for") }).describe("Request model for getting tag usage by tag ID.");
5
+ const SalesflareGetTagUsage_ReportUsageItemSchema = z.object({
6
+ id: z.number().int().describe("Report ID").nullable().optional(),
7
+ name: z.string().describe("Report name").nullable().optional(),
8
+ type: z.string().describe("Report type").nullable().optional()
9
+ }).describe("Report item using the tag.");
10
+ const SalesflareGetTagUsage_WorkflowUsageItemSchema = z.object({
11
+ id: z.number().int().describe("Workflow ID").nullable().optional(),
12
+ name: z.string().describe("Workflow name").nullable().optional(),
13
+ type: z.string().describe("Workflow type").nullable().optional()
14
+ }).describe("Workflow item using the tag.");
15
+ const SalesflareGetTagUsage_SavedFilterUsageItemSchema = z.object({
16
+ id: z.number().int().describe("Saved filter ID").nullable().optional(),
17
+ name: z.string().describe("Saved filter name").nullable().optional(),
18
+ entity: z.string().describe("Entity type for the filter").nullable().optional()
19
+ }).describe("Saved filter item using the tag.");
20
+ const salesflareGetTagUsage = action("SALESFLARE_GET_TAG_USAGE", {
21
+ slug: "salesflare-get-tag-usage",
22
+ name: "Get Tag Usage",
23
+ description: "Get tag usage details including workflows, saved filters, and reports. Tool to retrieve information about where a specific tag is being used across workflows, saved filters, and reports in Salesflare. Use when you need to understand tag dependencies before deletion or to audit tag usage.",
24
+ input: SalesflareGetTagUsageInput,
25
+ output: z.object({
26
+ reports: z.array(SalesflareGetTagUsage_ReportUsageItemSchema).describe("List of reports using this tag").nullable().optional(),
27
+ workflows: z.array(SalesflareGetTagUsage_WorkflowUsageItemSchema).describe("List of workflows using this tag").nullable().optional(),
28
+ saved_filters: z.array(SalesflareGetTagUsage_SavedFilterUsageItemSchema).describe("List of saved filters using this tag").nullable().optional()
29
+ }).describe("Response model containing tag usage information in workflows, saved filters, and reports.")
30
+ });
31
+ //#endregion
32
+ export { salesflareGetTagUsage };
33
+
34
+ //# sourceMappingURL=get-tag-usage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tag-usage.mjs","names":[],"sources":["../../src/actions/get-tag-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetTagUsageInput: z.ZodTypeAny = z.object({\n tag_id: z.number().int().describe(\"Unique identifier of the tag to retrieve usage information for\"),\n}).describe(\"Request model for getting tag usage by tag ID.\");\nconst SalesflareGetTagUsage_ReportUsageItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Report ID\").nullable().optional(),\n name: z.string().describe(\"Report name\").nullable().optional(),\n type: z.string().describe(\"Report type\").nullable().optional(),\n}).describe(\"Report item using the tag.\");\nconst SalesflareGetTagUsage_WorkflowUsageItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Workflow ID\").nullable().optional(),\n name: z.string().describe(\"Workflow name\").nullable().optional(),\n type: z.string().describe(\"Workflow type\").nullable().optional(),\n}).describe(\"Workflow item using the tag.\");\nconst SalesflareGetTagUsage_SavedFilterUsageItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Saved filter ID\").nullable().optional(),\n name: z.string().describe(\"Saved filter name\").nullable().optional(),\n entity: z.string().describe(\"Entity type for the filter\").nullable().optional(),\n}).describe(\"Saved filter item using the tag.\");\nexport const SalesflareGetTagUsageOutput: z.ZodTypeAny = z.object({\n reports: z.array(SalesflareGetTagUsage_ReportUsageItemSchema).describe(\"List of reports using this tag\").nullable().optional(),\n workflows: z.array(SalesflareGetTagUsage_WorkflowUsageItemSchema).describe(\"List of workflows using this tag\").nullable().optional(),\n saved_filters: z.array(SalesflareGetTagUsage_SavedFilterUsageItemSchema).describe(\"List of saved filters using this tag\").nullable().optional(),\n}).describe(\"Response model containing tag usage information in workflows, saved filters, and reports.\");\n\nexport const salesflareGetTagUsage = action(\"SALESFLARE_GET_TAG_USAGE\", {\n slug: \"salesflare-get-tag-usage\",\n name: \"Get Tag Usage\",\n description: \"Get tag usage details including workflows, saved filters, and reports. Tool to retrieve information about where a specific tag is being used across workflows, saved filters, and reports in Salesflare. Use when you need to understand tag dependencies before deletion or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AC,CAAC,CAAC,SAAS,kCAAkC;AAO9C,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuD,EAAE,OAAO;EAChE,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,WAAW,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,eAAe,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,2FAOF;AACV,CAAC"}
@@ -0,0 +1,79 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-user.ts
4
+ const SalesflareGetUserInput = zod.z.object({ user_id: zod.z.number().int().describe("Unique identifier of the user to retrieve") }).describe("Request model for getting a user by ID.");
5
+ const SalesflareGetUser_RolePermissionsSchema = zod.z.object({
6
+ ced: zod.z.string().describe("Create, edit, delete permissions").nullable().optional(),
7
+ view: zod.z.string().describe("View permissions").nullable().optional()
8
+ }).describe("Permissions for a role.");
9
+ const SalesflareGetUser_RoleSchema = zod.z.object({
10
+ id: zod.z.number().int().describe("Unique identifier for the role").nullable().optional(),
11
+ name: zod.z.string().describe("Name of the role").nullable().optional(),
12
+ permissions: SalesflareGetUser_RolePermissionsSchema.nullable().optional()
13
+ }).describe("Role information.");
14
+ const SalesflareGetUser_AddressSchema = zod.z.object({
15
+ id: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
16
+ zip: zod.z.string().describe("ZIP or postal code").nullable().optional(),
17
+ city: zod.z.string().describe("City").nullable().optional(),
18
+ region: zod.z.string().describe("Region").nullable().optional(),
19
+ street: zod.z.string().describe("Street address").nullable().optional(),
20
+ country: zod.z.string().describe("Country").nullable().optional(),
21
+ state_region: zod.z.string().describe("State or region").nullable().optional()
22
+ }).describe("Address information.");
23
+ const SalesflareGetUser_PositionSchema = zod.z.object({
24
+ id: zod.z.number().int().describe("Unique identifier for the position").nullable().optional(),
25
+ role: zod.z.string().describe("Role or position title").nullable().optional(),
26
+ organisation: zod.z.string().describe("Organization name").nullable().optional()
27
+ }).describe("Position/role information.");
28
+ const SalesflareGetUser_PhoneNumberSchema = zod.z.object({
29
+ id: zod.z.number().int().describe("Unique identifier for the phone number").nullable().optional(),
30
+ type: zod.z.string().describe("Type of phone number (e.g., mobile, work)").nullable().optional(),
31
+ number: zod.z.string().describe("Phone number").nullable().optional()
32
+ }).describe("Phone number information.");
33
+ const SalesflareGetUser_SocialProfileSchema = zod.z.object({
34
+ id: zod.z.number().int().describe("Unique identifier for the social profile").nullable().optional(),
35
+ url: zod.z.string().describe("URL to the social profile").nullable().optional(),
36
+ type: zod.z.string().describe("Type of social media platform").nullable().optional(),
37
+ username: zod.z.string().describe("Username on the social platform").nullable().optional()
38
+ }).describe("Social media profile information.");
39
+ const SalesflareGetUserOutput = zod.z.object({
40
+ id: zod.z.number().int().describe("Unique identifier for the user").nullable().optional(),
41
+ name: zod.z.string().describe("Full name of the user").nullable().optional(),
42
+ role: SalesflareGetUser_RoleSchema.nullable().optional(),
43
+ tags: zod.z.array(zod.z.object({})).describe("List of tags").nullable().optional(),
44
+ type: zod.z.string().describe("Type of user").nullable().optional(),
45
+ email: zod.z.string().describe("Email address of the user").nullable().optional(),
46
+ group: zod.z.number().int().describe("Group identifier").nullable().optional(),
47
+ theme: zod.z.string().describe("User's theme preference (system/light/dark)").nullable().optional(),
48
+ domain: zod.z.string().describe("User's domain").nullable().optional(),
49
+ middle: zod.z.string().describe("Middle name of the user").nullable().optional(),
50
+ prefix: zod.z.string().describe("Name prefix").nullable().optional(),
51
+ suffix: zod.z.string().describe("Name suffix").nullable().optional(),
52
+ picture: zod.z.string().describe("URL to the user's profile picture").nullable().optional(),
53
+ disabled: zod.z.boolean().describe("Whether the user is disabled").nullable().optional(),
54
+ is_admin: zod.z.boolean().describe("Whether the user is an admin").nullable().optional(),
55
+ language: zod.z.string().describe("User's preferred language (en/nl/fr/de/pt/br/it/es)").nullable().optional(),
56
+ lastname: zod.z.string().describe("Last name of the user").nullable().optional(),
57
+ addresses: zod.z.array(SalesflareGetUser_AddressSchema).describe("List of addresses").nullable().optional(),
58
+ firstname: zod.z.string().describe("First name of the user").nullable().optional(),
59
+ positions: zod.z.array(SalesflareGetUser_PositionSchema).describe("List of positions/roles").nullable().optional(),
60
+ restricted: zod.z.boolean().describe("Whether the user is restricted").nullable().optional(),
61
+ creation_date: zod.z.string().describe("Date when the user account was created").nullable().optional(),
62
+ phone_numbers: zod.z.array(SalesflareGetUser_PhoneNumberSchema).describe("List of phone numbers").nullable().optional(),
63
+ am_pm_notation: zod.z.boolean().describe("Whether AM/PM notation is used").nullable().optional(),
64
+ social_profiles: zod.z.array(SalesflareGetUser_SocialProfileSchema).describe("List of social media profiles").nullable().optional(),
65
+ first_day_of_week: zod.z.number().int().describe("First day of the week (0-6)").nullable().optional(),
66
+ modification_date: zod.z.string().describe("Date when the user account was last modified").nullable().optional(),
67
+ restricted_reason: zod.z.string().describe("Reason for restriction").nullable().optional()
68
+ }).describe("Response model for getting user details.");
69
+ const salesflareGetUser = require_action.action("SALESFLARE_GET_USER", {
70
+ slug: "salesflare-get-user",
71
+ name: "Get User",
72
+ description: "Tool to retrieve details of a specific user by their ID. Use when you need to get information about a user's profile, settings, or permissions in Salesflare.",
73
+ input: SalesflareGetUserInput,
74
+ output: SalesflareGetUserOutput
75
+ });
76
+ //#endregion
77
+ exports.salesflareGetUser = salesflareGetUser;
78
+
79
+ //# sourceMappingURL=get-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetUserInput: z.ZodTypeAny = z.object({\n user_id: z.number().int().describe(\"Unique identifier of the user to retrieve\"),\n}).describe(\"Request model for getting a user by ID.\");\nconst SalesflareGetUser_RolePermissionsSchema: z.ZodTypeAny = z.object({\n ced: z.string().describe(\"Create, edit, delete permissions\").nullable().optional(),\n view: z.string().describe(\"View permissions\").nullable().optional(),\n}).describe(\"Permissions for a role.\");\nconst SalesflareGetUser_RoleSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the role\").nullable().optional(),\n name: z.string().describe(\"Name of the role\").nullable().optional(),\n permissions: SalesflareGetUser_RolePermissionsSchema.nullable().optional(),\n}).describe(\"Role information.\");\nconst SalesflareGetUser_AddressSchema: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n region: z.string().describe(\"Region\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information.\");\nconst SalesflareGetUser_PositionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the position\").nullable().optional(),\n role: z.string().describe(\"Role or position title\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).describe(\"Position/role information.\");\nconst SalesflareGetUser_PhoneNumberSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the phone number\").nullable().optional(),\n type: z.string().describe(\"Type of phone number (e.g., mobile, work)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).describe(\"Phone number information.\");\nconst SalesflareGetUser_SocialProfileSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the social profile\").nullable().optional(),\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social media platform\").nullable().optional(),\n username: z.string().describe(\"Username on the social platform\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nexport const SalesflareGetUserOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable().optional(),\n name: z.string().describe(\"Full name of the user\").nullable().optional(),\n role: SalesflareGetUser_RoleSchema.nullable().optional(),\n tags: z.array(z.object({})).describe(\"List of tags\").nullable().optional(),\n type: z.string().describe(\"Type of user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n group: z.number().int().describe(\"Group identifier\").nullable().optional(),\n theme: z.string().describe(\"User's theme preference (system/light/dark)\").nullable().optional(),\n domain: z.string().describe(\"User's domain\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the user\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix\").nullable().optional(),\n picture: z.string().describe(\"URL to the user's profile picture\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the user is disabled\").nullable().optional(),\n is_admin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n language: z.string().describe(\"User's preferred language (en/nl/fr/de/pt/br/it/es)\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the user\").nullable().optional(),\n addresses: z.array(SalesflareGetUser_AddressSchema).describe(\"List of addresses\").nullable().optional(),\n firstname: z.string().describe(\"First name of the user\").nullable().optional(),\n positions: z.array(SalesflareGetUser_PositionSchema).describe(\"List of positions/roles\").nullable().optional(),\n restricted: z.boolean().describe(\"Whether the user is restricted\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the user account was created\").nullable().optional(),\n phone_numbers: z.array(SalesflareGetUser_PhoneNumberSchema).describe(\"List of phone numbers\").nullable().optional(),\n am_pm_notation: z.boolean().describe(\"Whether AM/PM notation is used\").nullable().optional(),\n social_profiles: z.array(SalesflareGetUser_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n first_day_of_week: z.number().int().describe(\"First day of the week (0-6)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the user account was last modified\").nullable().optional(),\n restricted_reason: z.string().describe(\"Reason for restriction\").nullable().optional(),\n}).describe(\"Response model for getting user details.\");\n\nexport const salesflareGetUser = action(\"SALESFLARE_GET_USER\", {\n slug: \"salesflare-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve details of a specific user by their ID. Use when you need to get information about a user's profile, settings, or permissions in Salesflare.\",\n input: SalesflareGetUserInput,\n output: SalesflareGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,mBAAmB;AAC/B,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SA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ny;
5
+ declare const SalesflareGetUserOutput: z.ZodTypeAny;
6
+ declare const salesflareGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetUser };
9
+ //# sourceMappingURL=get-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEe;AAAA,cAmCzC,uBAAA,EAAyB,CAAA,CAAE,UA6Be;AAAA,cAE1C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user.d.ts
4
+ declare const SalesflareGetUserInput: z.ZodTypeAny;
5
+ declare const SalesflareGetUserOutput: z.ZodTypeAny;
6
+ declare const salesflareGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetUser };
9
+ //# sourceMappingURL=get-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEe;AAAA,cAmCzC,uBAAA,EAAyB,CAAA,CAAE,UA6Be;AAAA,cAE1C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}