@keystrokehq/salesflare 0.1.2 → 0.1.3

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 (381) hide show
  1. package/dist/actions/add-account-contacts.cjs +2 -2
  2. package/dist/actions/add-account-contacts.cjs.map +1 -1
  3. package/dist/actions/add-account-contacts.d.cts +3 -2
  4. package/dist/actions/add-account-contacts.d.mts +3 -2
  5. package/dist/actions/add-account-contacts.mjs +2 -2
  6. package/dist/actions/add-account-contacts.mjs.map +1 -1
  7. package/dist/actions/create-account.cjs +10 -10
  8. package/dist/actions/create-account.cjs.map +1 -1
  9. package/dist/actions/create-account.d.cts +15 -11
  10. package/dist/actions/create-account.d.mts +15 -11
  11. package/dist/actions/create-account.mjs +10 -10
  12. package/dist/actions/create-account.mjs.map +1 -1
  13. package/dist/actions/create-call.cjs +3 -3
  14. package/dist/actions/create-call.cjs.map +1 -1
  15. package/dist/actions/create-call.d.cts +4 -3
  16. package/dist/actions/create-call.d.mts +4 -3
  17. package/dist/actions/create-call.mjs +3 -3
  18. package/dist/actions/create-call.mjs.map +1 -1
  19. package/dist/actions/create-contact.cjs +6 -6
  20. package/dist/actions/create-contact.cjs.map +1 -1
  21. package/dist/actions/create-contact.d.cts +11 -8
  22. package/dist/actions/create-contact.d.cts.map +1 -1
  23. package/dist/actions/create-contact.d.mts +11 -8
  24. package/dist/actions/create-contact.d.mts.map +1 -1
  25. package/dist/actions/create-contact.mjs +6 -6
  26. package/dist/actions/create-contact.mjs.map +1 -1
  27. package/dist/actions/create-custom-field.cjs +2 -2
  28. package/dist/actions/create-custom-field.cjs.map +1 -1
  29. package/dist/actions/create-custom-field.d.cts +5 -4
  30. package/dist/actions/create-custom-field.d.mts +5 -4
  31. package/dist/actions/create-custom-field.mjs +2 -2
  32. package/dist/actions/create-custom-field.mjs.map +1 -1
  33. package/dist/actions/create-internal-note.cjs +1 -1
  34. package/dist/actions/create-internal-note.cjs.map +1 -1
  35. package/dist/actions/create-internal-note.d.cts +1 -1
  36. package/dist/actions/create-internal-note.d.mts +1 -1
  37. package/dist/actions/create-internal-note.mjs +1 -1
  38. package/dist/actions/create-internal-note.mjs.map +1 -1
  39. package/dist/actions/create-meeting.cjs +1 -1
  40. package/dist/actions/create-meeting.cjs.map +1 -1
  41. package/dist/actions/create-meeting.d.cts +1 -1
  42. package/dist/actions/create-meeting.d.mts +1 -1
  43. package/dist/actions/create-meeting.mjs +1 -1
  44. package/dist/actions/create-meeting.mjs.map +1 -1
  45. package/dist/actions/create-opportunity.cjs +2 -2
  46. package/dist/actions/create-opportunity.cjs.map +1 -1
  47. package/dist/actions/create-opportunity.d.cts +3 -3
  48. package/dist/actions/create-opportunity.d.mts +3 -3
  49. package/dist/actions/create-opportunity.mjs +2 -2
  50. package/dist/actions/create-opportunity.mjs.map +1 -1
  51. package/dist/actions/create-tag.cjs +1 -1
  52. package/dist/actions/create-tag.cjs.map +1 -1
  53. package/dist/actions/create-tag.d.cts +1 -1
  54. package/dist/actions/create-tag.d.mts +1 -1
  55. package/dist/actions/create-tag.mjs +1 -1
  56. package/dist/actions/create-tag.mjs.map +1 -1
  57. package/dist/actions/create-task.cjs +1 -1
  58. package/dist/actions/create-task.cjs.map +1 -1
  59. package/dist/actions/create-task.d.cts +1 -1
  60. package/dist/actions/create-task.d.mts +1 -1
  61. package/dist/actions/create-task.mjs +1 -1
  62. package/dist/actions/create-task.mjs.map +1 -1
  63. package/dist/actions/create-workflow.cjs +4 -4
  64. package/dist/actions/create-workflow.cjs.map +1 -1
  65. package/dist/actions/create-workflow.d.cts +7 -4
  66. package/dist/actions/create-workflow.d.mts +7 -4
  67. package/dist/actions/create-workflow.mjs +4 -4
  68. package/dist/actions/create-workflow.mjs.map +1 -1
  69. package/dist/actions/delete-account.cjs +1 -1
  70. package/dist/actions/delete-account.cjs.map +1 -1
  71. package/dist/actions/delete-account.d.cts +1 -1
  72. package/dist/actions/delete-account.d.mts +1 -1
  73. package/dist/actions/delete-account.mjs +1 -1
  74. package/dist/actions/delete-account.mjs.map +1 -1
  75. package/dist/actions/delete-contact.cjs +1 -1
  76. package/dist/actions/delete-contact.cjs.map +1 -1
  77. package/dist/actions/delete-contact.d.cts +1 -1
  78. package/dist/actions/delete-contact.d.mts +1 -1
  79. package/dist/actions/delete-contact.mjs +1 -1
  80. package/dist/actions/delete-contact.mjs.map +1 -1
  81. package/dist/actions/delete-custom-field.cjs +1 -1
  82. package/dist/actions/delete-custom-field.cjs.map +1 -1
  83. package/dist/actions/delete-custom-field.d.cts +3 -3
  84. package/dist/actions/delete-custom-field.d.mts +3 -3
  85. package/dist/actions/delete-custom-field.mjs +1 -1
  86. package/dist/actions/delete-custom-field.mjs.map +1 -1
  87. package/dist/actions/delete-internal-note.cjs +1 -1
  88. package/dist/actions/delete-internal-note.cjs.map +1 -1
  89. package/dist/actions/delete-internal-note.d.cts +1 -1
  90. package/dist/actions/delete-internal-note.d.mts +1 -1
  91. package/dist/actions/delete-internal-note.mjs +1 -1
  92. package/dist/actions/delete-internal-note.mjs.map +1 -1
  93. package/dist/actions/delete-meeting.cjs +1 -1
  94. package/dist/actions/delete-meeting.cjs.map +1 -1
  95. package/dist/actions/delete-meeting.d.cts +1 -1
  96. package/dist/actions/delete-meeting.d.mts +1 -1
  97. package/dist/actions/delete-meeting.mjs +1 -1
  98. package/dist/actions/delete-meeting.mjs.map +1 -1
  99. package/dist/actions/delete-opportunity.cjs +1 -1
  100. package/dist/actions/delete-opportunity.cjs.map +1 -1
  101. package/dist/actions/delete-opportunity.d.cts +1 -1
  102. package/dist/actions/delete-opportunity.d.mts +1 -1
  103. package/dist/actions/delete-opportunity.mjs +1 -1
  104. package/dist/actions/delete-opportunity.mjs.map +1 -1
  105. package/dist/actions/delete-tag.cjs +1 -1
  106. package/dist/actions/delete-tag.cjs.map +1 -1
  107. package/dist/actions/delete-tag.d.cts +1 -1
  108. package/dist/actions/delete-tag.d.mts +1 -1
  109. package/dist/actions/delete-tag.mjs +1 -1
  110. package/dist/actions/delete-tag.mjs.map +1 -1
  111. package/dist/actions/delete-task.cjs +1 -1
  112. package/dist/actions/delete-task.cjs.map +1 -1
  113. package/dist/actions/delete-task.d.cts +1 -1
  114. package/dist/actions/delete-task.d.mts +1 -1
  115. package/dist/actions/delete-task.mjs +1 -1
  116. package/dist/actions/delete-task.mjs.map +1 -1
  117. package/dist/actions/get-account.cjs +9 -9
  118. package/dist/actions/get-account.cjs.map +1 -1
  119. package/dist/actions/get-account.d.cts +10 -10
  120. package/dist/actions/get-account.d.mts +10 -10
  121. package/dist/actions/get-account.mjs +9 -9
  122. package/dist/actions/get-account.mjs.map +1 -1
  123. package/dist/actions/get-ai-settings.cjs +3 -3
  124. package/dist/actions/get-ai-settings.cjs.map +1 -1
  125. package/dist/actions/get-ai-settings.d.cts +3 -3
  126. package/dist/actions/get-ai-settings.d.mts +3 -3
  127. package/dist/actions/get-ai-settings.mjs +3 -3
  128. package/dist/actions/get-ai-settings.mjs.map +1 -1
  129. package/dist/actions/get-contact.cjs +11 -11
  130. package/dist/actions/get-contact.cjs.map +1 -1
  131. package/dist/actions/get-contact.d.cts +13 -13
  132. package/dist/actions/get-contact.d.mts +13 -13
  133. package/dist/actions/get-contact.mjs +11 -11
  134. package/dist/actions/get-contact.mjs.map +1 -1
  135. package/dist/actions/get-current-user.cjs +15 -15
  136. package/dist/actions/get-current-user.cjs.map +1 -1
  137. package/dist/actions/get-current-user.d.cts +16 -16
  138. package/dist/actions/get-current-user.d.mts +16 -16
  139. package/dist/actions/get-current-user.mjs +15 -15
  140. package/dist/actions/get-current-user.mjs.map +1 -1
  141. package/dist/actions/get-custom-field.cjs +3 -3
  142. package/dist/actions/get-custom-field.cjs.map +1 -1
  143. package/dist/actions/get-custom-field.d.cts +5 -5
  144. package/dist/actions/get-custom-field.d.mts +5 -5
  145. package/dist/actions/get-custom-field.mjs +3 -3
  146. package/dist/actions/get-custom-field.mjs.map +1 -1
  147. package/dist/actions/get-meeting.cjs +1 -1
  148. package/dist/actions/get-meeting.cjs.map +1 -1
  149. package/dist/actions/get-meeting.d.cts +1 -1
  150. package/dist/actions/get-meeting.d.mts +1 -1
  151. package/dist/actions/get-meeting.mjs +1 -1
  152. package/dist/actions/get-meeting.mjs.map +1 -1
  153. package/dist/actions/get-opportunity.cjs +14 -14
  154. package/dist/actions/get-opportunity.cjs.map +1 -1
  155. package/dist/actions/get-opportunity.d.cts +14 -14
  156. package/dist/actions/get-opportunity.d.mts +14 -14
  157. package/dist/actions/get-opportunity.mjs +14 -14
  158. package/dist/actions/get-opportunity.mjs.map +1 -1
  159. package/dist/actions/get-stage.cjs +2 -2
  160. package/dist/actions/get-stage.cjs.map +1 -1
  161. package/dist/actions/get-stage.d.cts +2 -2
  162. package/dist/actions/get-stage.d.mts +2 -2
  163. package/dist/actions/get-stage.mjs +2 -2
  164. package/dist/actions/get-stage.mjs.map +1 -1
  165. package/dist/actions/get-tag-usage.cjs +4 -4
  166. package/dist/actions/get-tag-usage.cjs.map +1 -1
  167. package/dist/actions/get-tag-usage.d.cts +4 -4
  168. package/dist/actions/get-tag-usage.d.mts +4 -4
  169. package/dist/actions/get-tag-usage.mjs +4 -4
  170. package/dist/actions/get-tag-usage.mjs.map +1 -1
  171. package/dist/actions/get-user.cjs +8 -8
  172. package/dist/actions/get-user.cjs.map +1 -1
  173. package/dist/actions/get-user.d.cts +8 -8
  174. package/dist/actions/get-user.d.mts +8 -8
  175. package/dist/actions/get-user.mjs +8 -8
  176. package/dist/actions/get-user.mjs.map +1 -1
  177. package/dist/actions/get-workflow-merge-fields.cjs +2 -2
  178. package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
  179. package/dist/actions/get-workflow-merge-fields.d.cts +3 -3
  180. package/dist/actions/get-workflow-merge-fields.d.mts +3 -3
  181. package/dist/actions/get-workflow-merge-fields.mjs +2 -2
  182. package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
  183. package/dist/actions/get-workflow.cjs +7 -7
  184. package/dist/actions/get-workflow.cjs.map +1 -1
  185. package/dist/actions/get-workflow.d.cts +12 -12
  186. package/dist/actions/get-workflow.d.mts +12 -12
  187. package/dist/actions/get-workflow.mjs +7 -7
  188. package/dist/actions/get-workflow.mjs.map +1 -1
  189. package/dist/actions/list-account-messages.cjs +3 -3
  190. package/dist/actions/list-account-messages.cjs.map +1 -1
  191. package/dist/actions/list-account-messages.d.cts +3 -3
  192. package/dist/actions/list-account-messages.d.mts +3 -3
  193. package/dist/actions/list-account-messages.mjs +3 -3
  194. package/dist/actions/list-account-messages.mjs.map +1 -1
  195. package/dist/actions/list-accounts.cjs +7 -7
  196. package/dist/actions/list-accounts.cjs.map +1 -1
  197. package/dist/actions/list-accounts.d.cts +8 -8
  198. package/dist/actions/list-accounts.d.mts +8 -8
  199. package/dist/actions/list-accounts.mjs +7 -7
  200. package/dist/actions/list-accounts.mjs.map +1 -1
  201. package/dist/actions/list-contacts.cjs +11 -11
  202. package/dist/actions/list-contacts.cjs.map +1 -1
  203. package/dist/actions/list-contacts.d.cts +11 -11
  204. package/dist/actions/list-contacts.d.mts +11 -11
  205. package/dist/actions/list-contacts.mjs +11 -11
  206. package/dist/actions/list-contacts.mjs.map +1 -1
  207. package/dist/actions/list-currencies.cjs +2 -2
  208. package/dist/actions/list-currencies.cjs.map +1 -1
  209. package/dist/actions/list-currencies.d.cts +2 -2
  210. package/dist/actions/list-currencies.d.mts +2 -2
  211. package/dist/actions/list-currencies.mjs +2 -2
  212. package/dist/actions/list-currencies.mjs.map +1 -1
  213. package/dist/actions/list-custom-field-options.cjs +1 -1
  214. package/dist/actions/list-custom-field-options.cjs.map +1 -1
  215. package/dist/actions/list-custom-field-options.d.cts +3 -3
  216. package/dist/actions/list-custom-field-options.d.mts +3 -3
  217. package/dist/actions/list-custom-field-options.mjs +1 -1
  218. package/dist/actions/list-custom-field-options.mjs.map +1 -1
  219. package/dist/actions/list-custom-field-types.cjs +2 -2
  220. package/dist/actions/list-custom-field-types.cjs.map +1 -1
  221. package/dist/actions/list-custom-field-types.d.cts +2 -2
  222. package/dist/actions/list-custom-field-types.d.mts +2 -2
  223. package/dist/actions/list-custom-field-types.mjs +2 -2
  224. package/dist/actions/list-custom-field-types.mjs.map +1 -1
  225. package/dist/actions/list-custom-fields.cjs +4 -4
  226. package/dist/actions/list-custom-fields.cjs.map +1 -1
  227. package/dist/actions/list-custom-fields.d.cts +6 -6
  228. package/dist/actions/list-custom-fields.d.mts +6 -6
  229. package/dist/actions/list-custom-fields.mjs +4 -4
  230. package/dist/actions/list-custom-fields.mjs.map +1 -1
  231. package/dist/actions/list-email-datasources.cjs +3 -3
  232. package/dist/actions/list-email-datasources.cjs.map +1 -1
  233. package/dist/actions/list-email-datasources.d.cts +3 -3
  234. package/dist/actions/list-email-datasources.d.mts +3 -3
  235. package/dist/actions/list-email-datasources.mjs +3 -3
  236. package/dist/actions/list-email-datasources.mjs.map +1 -1
  237. package/dist/actions/list-filter-fields.cjs +5 -5
  238. package/dist/actions/list-filter-fields.cjs.map +1 -1
  239. package/dist/actions/list-filter-fields.d.cts +13 -13
  240. package/dist/actions/list-filter-fields.d.mts +13 -13
  241. package/dist/actions/list-filter-fields.mjs +5 -5
  242. package/dist/actions/list-filter-fields.mjs.map +1 -1
  243. package/dist/actions/list-groups.cjs +2 -2
  244. package/dist/actions/list-groups.cjs.map +1 -1
  245. package/dist/actions/list-groups.d.cts +2 -2
  246. package/dist/actions/list-groups.d.mts +2 -2
  247. package/dist/actions/list-groups.mjs +2 -2
  248. package/dist/actions/list-groups.mjs.map +1 -1
  249. package/dist/actions/list-my-contacts.cjs +11 -11
  250. package/dist/actions/list-my-contacts.cjs.map +1 -1
  251. package/dist/actions/list-my-contacts.d.cts +11 -11
  252. package/dist/actions/list-my-contacts.d.mts +11 -11
  253. package/dist/actions/list-my-contacts.mjs +11 -11
  254. package/dist/actions/list-my-contacts.mjs.map +1 -1
  255. package/dist/actions/list-opportunities.cjs +8 -8
  256. package/dist/actions/list-opportunities.cjs.map +1 -1
  257. package/dist/actions/list-opportunities.d.cts +10 -10
  258. package/dist/actions/list-opportunities.d.mts +10 -10
  259. package/dist/actions/list-opportunities.mjs +8 -8
  260. package/dist/actions/list-opportunities.mjs.map +1 -1
  261. package/dist/actions/list-persons.cjs +6 -6
  262. package/dist/actions/list-persons.cjs.map +1 -1
  263. package/dist/actions/list-persons.d.cts +6 -6
  264. package/dist/actions/list-persons.d.mts +6 -6
  265. package/dist/actions/list-persons.mjs +6 -6
  266. package/dist/actions/list-persons.mjs.map +1 -1
  267. package/dist/actions/list-pipelines.cjs +5 -5
  268. package/dist/actions/list-pipelines.cjs.map +1 -1
  269. package/dist/actions/list-pipelines.d.cts +5 -5
  270. package/dist/actions/list-pipelines.d.mts +5 -5
  271. package/dist/actions/list-pipelines.mjs +5 -5
  272. package/dist/actions/list-pipelines.mjs.map +1 -1
  273. package/dist/actions/list-stages.cjs +3 -3
  274. package/dist/actions/list-stages.cjs.map +1 -1
  275. package/dist/actions/list-stages.d.cts +3 -3
  276. package/dist/actions/list-stages.d.mts +3 -3
  277. package/dist/actions/list-stages.mjs +3 -3
  278. package/dist/actions/list-stages.mjs.map +1 -1
  279. package/dist/actions/list-tags.cjs +2 -2
  280. package/dist/actions/list-tags.cjs.map +1 -1
  281. package/dist/actions/list-tags.d.cts +2 -2
  282. package/dist/actions/list-tags.d.mts +2 -2
  283. package/dist/actions/list-tags.mjs +2 -2
  284. package/dist/actions/list-tags.mjs.map +1 -1
  285. package/dist/actions/list-tasks.cjs +7 -7
  286. package/dist/actions/list-tasks.cjs.map +1 -1
  287. package/dist/actions/list-tasks.d.cts +7 -7
  288. package/dist/actions/list-tasks.d.mts +7 -7
  289. package/dist/actions/list-tasks.mjs +7 -7
  290. package/dist/actions/list-tasks.mjs.map +1 -1
  291. package/dist/actions/list-users.cjs +9 -9
  292. package/dist/actions/list-users.cjs.map +1 -1
  293. package/dist/actions/list-users.d.cts +9 -9
  294. package/dist/actions/list-users.d.mts +9 -9
  295. package/dist/actions/list-users.mjs +9 -9
  296. package/dist/actions/list-users.mjs.map +1 -1
  297. package/dist/actions/list-workflows.cjs +11 -11
  298. package/dist/actions/list-workflows.cjs.map +1 -1
  299. package/dist/actions/list-workflows.d.cts +12 -12
  300. package/dist/actions/list-workflows.d.mts +12 -12
  301. package/dist/actions/list-workflows.mjs +11 -11
  302. package/dist/actions/list-workflows.mjs.map +1 -1
  303. package/dist/actions/update-account-contacts.cjs +2 -2
  304. package/dist/actions/update-account-contacts.cjs.map +1 -1
  305. package/dist/actions/update-account-contacts.d.cts +3 -2
  306. package/dist/actions/update-account-contacts.d.mts +3 -2
  307. package/dist/actions/update-account-contacts.mjs +2 -2
  308. package/dist/actions/update-account-contacts.mjs.map +1 -1
  309. package/dist/actions/update-account-users.cjs +2 -2
  310. package/dist/actions/update-account-users.cjs.map +1 -1
  311. package/dist/actions/update-account-users.d.cts +3 -2
  312. package/dist/actions/update-account-users.d.mts +3 -2
  313. package/dist/actions/update-account-users.mjs +2 -2
  314. package/dist/actions/update-account-users.mjs.map +1 -1
  315. package/dist/actions/update-account.cjs +12 -12
  316. package/dist/actions/update-account.cjs.map +1 -1
  317. package/dist/actions/update-account.d.cts +17 -14
  318. package/dist/actions/update-account.d.mts +17 -14
  319. package/dist/actions/update-account.mjs +12 -12
  320. package/dist/actions/update-account.mjs.map +1 -1
  321. package/dist/actions/update-ai-settings.cjs +1 -1
  322. package/dist/actions/update-ai-settings.cjs.map +1 -1
  323. package/dist/actions/update-ai-settings.d.cts +1 -1
  324. package/dist/actions/update-ai-settings.d.mts +1 -1
  325. package/dist/actions/update-ai-settings.mjs +1 -1
  326. package/dist/actions/update-ai-settings.mjs.map +1 -1
  327. package/dist/actions/update-contact.cjs +4 -4
  328. package/dist/actions/update-contact.cjs.map +1 -1
  329. package/dist/actions/update-contact.d.cts +7 -4
  330. package/dist/actions/update-contact.d.mts +7 -4
  331. package/dist/actions/update-contact.mjs +4 -4
  332. package/dist/actions/update-contact.mjs.map +1 -1
  333. package/dist/actions/update-custom-field.cjs +3 -3
  334. package/dist/actions/update-custom-field.cjs.map +1 -1
  335. package/dist/actions/update-custom-field.d.cts +6 -5
  336. package/dist/actions/update-custom-field.d.mts +6 -5
  337. package/dist/actions/update-custom-field.mjs +3 -3
  338. package/dist/actions/update-custom-field.mjs.map +1 -1
  339. package/dist/actions/update-email-datasource.cjs +1 -1
  340. package/dist/actions/update-email-datasource.cjs.map +1 -1
  341. package/dist/actions/update-email-datasource.d.cts +1 -1
  342. package/dist/actions/update-email-datasource.d.mts +1 -1
  343. package/dist/actions/update-email-datasource.mjs +1 -1
  344. package/dist/actions/update-email-datasource.mjs.map +1 -1
  345. package/dist/actions/update-internal-note.cjs +1 -1
  346. package/dist/actions/update-internal-note.cjs.map +1 -1
  347. package/dist/actions/update-internal-note.d.cts +1 -1
  348. package/dist/actions/update-internal-note.d.mts +1 -1
  349. package/dist/actions/update-internal-note.mjs +1 -1
  350. package/dist/actions/update-internal-note.mjs.map +1 -1
  351. package/dist/actions/update-opportunity.cjs +3 -3
  352. package/dist/actions/update-opportunity.cjs.map +1 -1
  353. package/dist/actions/update-opportunity.d.cts +5 -5
  354. package/dist/actions/update-opportunity.d.mts +5 -5
  355. package/dist/actions/update-opportunity.mjs +3 -3
  356. package/dist/actions/update-opportunity.mjs.map +1 -1
  357. package/dist/actions/update-tag.cjs +1 -1
  358. package/dist/actions/update-tag.cjs.map +1 -1
  359. package/dist/actions/update-tag.d.cts +1 -1
  360. package/dist/actions/update-tag.d.mts +1 -1
  361. package/dist/actions/update-tag.mjs +1 -1
  362. package/dist/actions/update-tag.mjs.map +1 -1
  363. package/dist/actions/update-task.cjs +1 -1
  364. package/dist/actions/update-task.cjs.map +1 -1
  365. package/dist/actions/update-task.d.cts +1 -1
  366. package/dist/actions/update-task.d.mts +1 -1
  367. package/dist/actions/update-task.mjs +1 -1
  368. package/dist/actions/update-task.mjs.map +1 -1
  369. package/dist/actions/update-workflow-audience.cjs +1 -1
  370. package/dist/actions/update-workflow-audience.cjs.map +1 -1
  371. package/dist/actions/update-workflow-audience.d.cts +1 -1
  372. package/dist/actions/update-workflow-audience.d.mts +1 -1
  373. package/dist/actions/update-workflow-audience.mjs +1 -1
  374. package/dist/actions/update-workflow-audience.mjs.map +1 -1
  375. package/dist/actions/update-workflow.cjs +7 -7
  376. package/dist/actions/update-workflow.cjs.map +1 -1
  377. package/dist/actions/update-workflow.d.cts +13 -12
  378. package/dist/actions/update-workflow.d.mts +13 -12
  379. package/dist/actions/update-workflow.mjs +7 -7
  380. package/dist/actions/update-workflow.mjs.map +1 -1
  381. package/package.json +1 -1
@@ -39,7 +39,7 @@ declare const SalesflareListContactsOutput: z.ZodObject<{
39
39
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
40
40
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
41
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>>>;
42
+ }, z.core.$loose>>>>;
43
43
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -48,14 +48,14 @@ declare const SalesflareListContactsOutput: z.ZodObject<{
48
48
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
50
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- }, z.core.$strip>>>>;
51
+ }, z.core.$loose>>>>;
52
52
  owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
53
  id: z.ZodNullable<z.ZodNumber>;
54
54
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>>;
58
- custom: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
+ custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
59
59
  domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  middle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -65,7 +65,7 @@ declare const SalesflareListContactsOutput: z.ZodObject<{
65
65
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
66
  domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
67
  picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- }, z.core.$strip>>>;
68
+ }, z.core.$loose>>>;
69
69
  bounced: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
70
70
  "opt-out": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
71
71
  picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -79,13 +79,13 @@ declare const SalesflareListContactsOutput: z.ZodObject<{
79
79
  street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
80
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
81
  state_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
- }, z.core.$strip>>>>;
82
+ }, z.core.$loose>>>>;
83
83
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
84
  positions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
85
85
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
86
  account: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
87
87
  organisation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- }, z.core.$strip>>>>;
88
+ }, z.core.$loose>>>>;
89
89
  birth_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
90
  fax_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
91
  not_viewed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -97,20 +97,20 @@ declare const SalesflareListContactsOutput: z.ZodObject<{
97
97
  phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
98
98
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
99
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
- }, z.core.$strip>>>>;
100
+ }, z.core.$loose>>>>;
101
101
  last_email_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
102
  social_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
103
103
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
104
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
- }, z.core.$strip>>>>;
105
+ }, z.core.$loose>>>>;
106
106
  "opt-out_campaign": z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
107
  home_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
108
108
  last_meeting_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
109
109
  modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
110
  connection_strength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
111
111
  mobile_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
- }, z.core.$strip>>;
113
- }, z.core.$strip>;
112
+ }, z.core.$loose>>;
113
+ }, z.core.$loose>;
114
114
  declare const salesflareListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
115
115
  q?: string | undefined;
116
116
  id?: number[] | undefined;
@@ -31,26 +31,26 @@ const SalesflareListContactsInput = z.object({
31
31
  const SalesflareListContacts_TagSchema = z.object({
32
32
  id: z.number().int().describe("Tag ID").nullable().optional(),
33
33
  name: z.string().describe("Tag name").nullable().optional()
34
- }).describe("Tag information.");
34
+ }).passthrough().describe("Tag information.");
35
35
  const SalesflareListContacts_ContactFileSchema = z.object({
36
36
  id: z.number().int().describe("File ID").nullable().optional(),
37
37
  url: z.string().describe("URL to download the file").nullable().optional(),
38
38
  name: z.string().describe("File name").nullable().optional(),
39
39
  size: z.number().int().describe("File size in bytes").nullable().optional(),
40
40
  type: z.string().describe("File MIME type").nullable().optional()
41
- }).describe("File attachment information.");
41
+ }).passthrough().describe("File attachment information.");
42
42
  const SalesflareListContacts_OwnerSummarySchema = z.object({
43
43
  id: z.number().int().describe("Unique identifier of the owner").nullable(),
44
44
  name: z.string().describe("Name of the owner").nullable().optional(),
45
45
  email: z.string().describe("Email address of the owner").nullable().optional(),
46
46
  picture: z.string().describe("URL to the owner's picture").nullable().optional()
47
- }).describe("Summary information about the contact owner.");
47
+ }).passthrough().describe("Summary information about the contact owner.");
48
48
  const SalesflareListContacts_AccountSummarySchema = z.object({
49
49
  id: z.number().int().describe("Unique identifier of the account").nullable(),
50
50
  name: z.string().describe("Name of the account").nullable().optional(),
51
51
  domain: z.string().describe("Domain of the account").nullable().optional(),
52
52
  picture: z.string().describe("URL to the account's picture").nullable().optional()
53
- }).describe("Summary information about an account.");
53
+ }).passthrough().describe("Summary information about an account.");
54
54
  const SalesflareListContacts_AddressSchema = z.object({
55
55
  zip: z.string().describe("ZIP or postal code").nullable().optional(),
56
56
  city: z.string().describe("City name").nullable().optional(),
@@ -58,20 +58,20 @@ const SalesflareListContacts_AddressSchema = z.object({
58
58
  street: z.string().describe("Street address").nullable().optional(),
59
59
  country: z.string().describe("Country name").nullable().optional(),
60
60
  state_region: z.string().describe("State or region").nullable().optional()
61
- }).describe("Address information.");
61
+ }).passthrough().describe("Address information.");
62
62
  const SalesflareListContacts_PositionSchema = z.object({
63
63
  role: z.string().describe("Role or job title").nullable().optional(),
64
64
  account: z.number().int().describe("Account ID associated with this position").nullable().optional(),
65
65
  organisation: z.string().describe("Organization name").nullable().optional()
66
- }).describe("Position information.");
66
+ }).passthrough().describe("Position information.");
67
67
  const SalesflareListContacts_PhoneNumberSchema = z.object({
68
68
  type: z.string().describe("Type of phone number (e.g., work, mobile, home)").nullable().optional(),
69
69
  number: z.string().describe("Phone number").nullable().optional()
70
- }).describe("Phone number information.");
70
+ }).passthrough().describe("Phone number information.");
71
71
  const SalesflareListContacts_SocialProfileSchema = z.object({
72
72
  url: z.string().describe("URL to the social profile").nullable().optional(),
73
73
  type: z.string().describe("Type of social profile (e.g., linkedin, twitter)").nullable().optional()
74
- }).describe("Social media profile information.");
74
+ }).passthrough().describe("Social media profile information.");
75
75
  const SalesflareListContacts_ContactSchema = z.object({
76
76
  id: z.number().int().describe("Unique identifier of the contact").nullable(),
77
77
  name: z.string().describe("Full name of the contact").nullable().optional(),
@@ -81,7 +81,7 @@ const SalesflareListContacts_ContactSchema = z.object({
81
81
  email: z.string().describe("Primary email address of the contact").nullable().optional(),
82
82
  files: z.array(SalesflareListContacts_ContactFileSchema).describe("List of files attached to the contact").nullable().optional(),
83
83
  owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),
84
- custom: z.object({}).describe("Custom fields for the contact").nullable().optional(),
84
+ custom: z.record(z.string(), z.unknown()).describe("Custom fields for the contact").nullable().optional(),
85
85
  domain: z.string().describe("Domain of the contact's organization").nullable().optional(),
86
86
  middle: z.string().describe("Middle name of the contact").nullable().optional(),
87
87
  prefix: z.string().describe("Name prefix (e.g., Mr., Dr.)").nullable().optional(),
@@ -113,13 +113,13 @@ const SalesflareListContacts_ContactSchema = z.object({
113
113
  modification_date: z.string().describe("Date when the contact was last modified (ISO 8601 format)").nullable().optional(),
114
114
  connection_strength: z.number().describe("Strength of connection with the contact (0-1)").nullable().optional(),
115
115
  mobile_phone_number: z.string().describe("Mobile phone number").nullable().optional()
116
- }).describe("Detailed information about a contact.");
116
+ }).passthrough().describe("Detailed information about a contact.");
117
117
  const salesflareListContacts = action("SALESFLARE_LIST_CONTACTS", {
118
118
  slug: "salesflare-list-contacts",
119
119
  name: "List Contacts",
120
120
  description: "Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.",
121
121
  input: SalesflareListContactsInput,
122
- output: z.object({ contacts: z.array(SalesflareListContacts_ContactSchema).describe("List of contacts matching the filter criteria") }).describe("Response model containing a list of contacts.")
122
+ output: z.object({ contacts: z.array(SalesflareListContacts_ContactSchema).describe("List of contacts matching the filter criteria") }).passthrough().describe("Response model containing a list of contacts.")
123
123
  });
124
124
  //#endregion
125
125
  export { salesflareListContacts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListContactsInput = z.object({\n q: z.string().describe(\"Query string for advanced filtering. Use for complex search queries.\").optional(),\n id: z.array(z.number().int()).describe(\"Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.\").optional(),\n tag: z.array(z.number().int()).describe(\"Filter contacts by tag IDs. Provide a list of tag IDs.\").optional(),\n name: z.string().describe(\"Filter contacts by name. Partial matches are supported.\").optional(),\n type: z.enum([\"customer\", \"mycontacts\"]).describe(\"Contact type filter options.\").optional(),\n email: z.string().describe(\"Filter contacts by email address. Partial matches are supported.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of contacts to return. Defaults to 20.\").optional(),\n custom: z.string().describe(\"Filter by custom fields. Format depends on your custom field configuration.\").optional(),\n domain: z.string().describe(\"Filter contacts by domain. Useful for finding contacts from specific companies.\").optional(),\n \"export\": z.string().describe(\"Export format for the contacts. Specify the desired export format.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of contacts to skip for pagination. Defaults to 0.\").optional(),\n search: z.string().describe(\"Search contacts by keyword. Searches across multiple fields like name, email, and company.\").optional(),\n account: z.array(z.number().int()).describe(\"Filter contacts by account IDs. Provide a list of account IDs.\").optional(),\n order_by: z.array(z.string()).describe(\"Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.\").optional(),\n \"tag.name\": z.array(z.string()).describe(\"Filter contacts by tag names. Provide a list of tag names.\").optional(),\n \"address.city\": z.array(z.string()).describe(\"Filter contacts by city. Provide a list of city names.\").optional(),\n phone_number: z.string().describe(\"Filter contacts by phone number. Partial matches are supported.\").optional(),\n \"position.role\": z.array(z.string()).describe(\"Filter contacts by their position/role. Provide a list of role names.\").optional(),\n creation_after: z.string().describe(\"Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.country\": z.array(z.string()).describe(\"Filter contacts by country. Provide a list of country names or codes.\").optional(),\n creation_before: z.string().describe(\"Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n include_archived: z.boolean().describe(\"Include archived contacts in the results. Set to true to include archived contacts.\").optional(),\n modification_after: z.string().describe(\"Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n modification_before: z.string().describe(\"Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.state_region\": z.array(z.string()).describe(\"Filter contacts by state or region. Provide a list of state/region names.\").optional(),\n}).describe(\"Request model for listing contacts with filtering options.\");\nconst SalesflareListContacts_TagSchema = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).describe(\"Tag information.\");\nconst SalesflareListContacts_ContactFileSchema = z.object({\n id: z.number().int().describe(\"File ID\").nullable().optional(),\n url: z.string().describe(\"URL to download the file\").nullable().optional(),\n name: z.string().describe(\"File name\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"File MIME type\").nullable().optional(),\n}).describe(\"File attachment information.\");\nconst SalesflareListContacts_OwnerSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\").nullable(),\n name: z.string().describe(\"Name of the owner\").nullable().optional(),\n email: z.string().describe(\"Email address of the owner\").nullable().optional(),\n picture: z.string().describe(\"URL to the owner's picture\").nullable().optional(),\n}).describe(\"Summary information about the contact owner.\");\nconst SalesflareListContacts_AccountSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n domain: z.string().describe(\"Domain of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).describe(\"Summary information about an account.\");\nconst SalesflareListContacts_AddressSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information.\");\nconst SalesflareListContacts_PositionSchema = z.object({\n role: z.string().describe(\"Role or job title\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with this position\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).describe(\"Position information.\");\nconst SalesflareListContacts_PhoneNumberSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., work, mobile, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).describe(\"Phone number information.\");\nconst SalesflareListContacts_SocialProfileSchema = z.object({\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social profile (e.g., linkedin, twitter)\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nconst SalesflareListContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the contact\").nullable().optional(),\n tags: z.array(SalesflareListContacts_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n type: z.string().describe(\"Type of the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n files: z.array(SalesflareListContacts_ContactFileSchema).describe(\"List of files attached to the contact\").nullable().optional(),\n owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),\n custom: z.object({}).describe(\"Custom fields for the contact\").nullable().optional(),\n domain: z.string().describe(\"Domain of the contact's organization\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the contact\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Dr.)\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr.)\").nullable().optional(),\n account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this contact have bounced\").nullable().optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\").nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this contact\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n addresses: z.array(SalesflareListContacts_AddressSchema).describe(\"List of addresses associated with the contact\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n positions: z.array(SalesflareListContacts_PositionSchema).describe(\"List of positions held by the contact\").nullable().optional(),\n birth_date: z.string().describe(\"Birth date of the contact\").nullable().optional(),\n fax_number: z.string().describe(\"Fax number\").nullable().optional(),\n not_viewed: z.boolean().describe(\"Whether the contact has not been viewed\").nullable().optional(),\n bounced_date: z.string().describe(\"Date when the email bounced (ISO 8601 format)\").nullable().optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out (ISO 8601 format)\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListContacts_PhoneNumberSchema).describe(\"List of all phone numbers associated with the contact\").nullable().optional(),\n last_email_date: z.string().describe(\"Date of last email interaction (ISO 8601 format)\").nullable().optional(),\n social_profiles: z.array(SalesflareListContacts_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").nullable().optional(),\n home_phone_number: z.string().describe(\"Home phone number\").nullable().optional(),\n last_meeting_date: z.string().describe(\"Date of last meeting (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the contact was last modified (ISO 8601 format)\").nullable().optional(),\n connection_strength: z.number().describe(\"Strength of connection with the contact (0-1)\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").nullable().optional(),\n}).describe(\"Detailed information about a contact.\");\nexport const SalesflareListContactsOutput = z.object({\n contacts: z.array(SalesflareListContacts_ContactSchema).describe(\"List of contacts matching the filter criteria\"),\n}).describe(\"Response model containing a list of contacts.\");\n\nexport const salesflareListContacts = action(\"SALESFLARE_LIST_CONTACTS\", {\n slug: \"salesflare-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.\",\n input: SalesflareListContactsInput,\n output: SalesflareListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACxG,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,KAAK,CAAC,YAAY,YAAY,CA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ions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListContactsInput = z.object({\n q: z.string().describe(\"Query string for advanced filtering. Use for complex search queries.\").optional(),\n id: z.array(z.number().int()).describe(\"Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.\").optional(),\n tag: z.array(z.number().int()).describe(\"Filter contacts by tag IDs. Provide a list of tag IDs.\").optional(),\n name: z.string().describe(\"Filter contacts by name. Partial matches are supported.\").optional(),\n type: z.enum([\"customer\", \"mycontacts\"]).describe(\"Contact type filter options.\").optional(),\n email: z.string().describe(\"Filter contacts by email address. Partial matches are supported.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of contacts to return. Defaults to 20.\").optional(),\n custom: z.string().describe(\"Filter by custom fields. Format depends on your custom field configuration.\").optional(),\n domain: z.string().describe(\"Filter contacts by domain. Useful for finding contacts from specific companies.\").optional(),\n \"export\": z.string().describe(\"Export format for the contacts. Specify the desired export format.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of contacts to skip for pagination. Defaults to 0.\").optional(),\n search: z.string().describe(\"Search contacts by keyword. Searches across multiple fields like name, email, and company.\").optional(),\n account: z.array(z.number().int()).describe(\"Filter contacts by account IDs. Provide a list of account IDs.\").optional(),\n order_by: z.array(z.string()).describe(\"Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.\").optional(),\n \"tag.name\": z.array(z.string()).describe(\"Filter contacts by tag names. Provide a list of tag names.\").optional(),\n \"address.city\": z.array(z.string()).describe(\"Filter contacts by city. Provide a list of city names.\").optional(),\n phone_number: z.string().describe(\"Filter contacts by phone number. Partial matches are supported.\").optional(),\n \"position.role\": z.array(z.string()).describe(\"Filter contacts by their position/role. Provide a list of role names.\").optional(),\n creation_after: z.string().describe(\"Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.country\": z.array(z.string()).describe(\"Filter contacts by country. Provide a list of country names or codes.\").optional(),\n creation_before: z.string().describe(\"Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n include_archived: z.boolean().describe(\"Include archived contacts in the results. Set to true to include archived contacts.\").optional(),\n modification_after: z.string().describe(\"Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n modification_before: z.string().describe(\"Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.state_region\": z.array(z.string()).describe(\"Filter contacts by state or region. Provide a list of state/region names.\").optional(),\n}).describe(\"Request model for listing contacts with filtering options.\");\nconst SalesflareListContacts_TagSchema = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).passthrough().describe(\"Tag information.\");\nconst SalesflareListContacts_ContactFileSchema = z.object({\n id: z.number().int().describe(\"File ID\").nullable().optional(),\n url: z.string().describe(\"URL to download the file\").nullable().optional(),\n name: z.string().describe(\"File name\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"File MIME type\").nullable().optional(),\n}).passthrough().describe(\"File attachment information.\");\nconst SalesflareListContacts_OwnerSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\").nullable(),\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}).passthrough().describe(\"Summary information about the contact owner.\");\nconst SalesflareListContacts_AccountSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n domain: z.string().describe(\"Domain of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).passthrough().describe(\"Summary information about an account.\");\nconst SalesflareListContacts_AddressSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).passthrough().describe(\"Address information.\");\nconst SalesflareListContacts_PositionSchema = z.object({\n role: z.string().describe(\"Role or job title\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with this position\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).passthrough().describe(\"Position information.\");\nconst SalesflareListContacts_PhoneNumberSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., work, mobile, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).passthrough().describe(\"Phone number information.\");\nconst SalesflareListContacts_SocialProfileSchema = z.object({\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social profile (e.g., linkedin, twitter)\").nullable().optional(),\n}).passthrough().describe(\"Social media profile information.\");\nconst SalesflareListContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the contact\").nullable().optional(),\n tags: z.array(SalesflareListContacts_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n type: z.string().describe(\"Type of the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n files: z.array(SalesflareListContacts_ContactFileSchema).describe(\"List of files attached to the contact\").nullable().optional(),\n owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields for the contact\").nullable().optional(),\n domain: z.string().describe(\"Domain of the contact's organization\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the contact\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Dr.)\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr.)\").nullable().optional(),\n account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this contact have bounced\").nullable().optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\").nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this contact\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n addresses: z.array(SalesflareListContacts_AddressSchema).describe(\"List of addresses associated with the contact\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n positions: z.array(SalesflareListContacts_PositionSchema).describe(\"List of positions held by the contact\").nullable().optional(),\n birth_date: z.string().describe(\"Birth date of the contact\").nullable().optional(),\n fax_number: z.string().describe(\"Fax number\").nullable().optional(),\n not_viewed: z.boolean().describe(\"Whether the contact has not been viewed\").nullable().optional(),\n bounced_date: z.string().describe(\"Date when the email bounced (ISO 8601 format)\").nullable().optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out (ISO 8601 format)\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListContacts_PhoneNumberSchema).describe(\"List of all phone numbers associated with the contact\").nullable().optional(),\n last_email_date: z.string().describe(\"Date of last email interaction (ISO 8601 format)\").nullable().optional(),\n social_profiles: z.array(SalesflareListContacts_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").nullable().optional(),\n home_phone_number: z.string().describe(\"Home phone number\").nullable().optional(),\n last_meeting_date: z.string().describe(\"Date of last meeting (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the contact was last modified (ISO 8601 format)\").nullable().optional(),\n connection_strength: z.number().describe(\"Strength of connection with the contact (0-1)\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a contact.\");\nexport const SalesflareListContactsOutput = z.object({\n contacts: z.array(SalesflareListContacts_ContactSchema).describe(\"List of contacts matching the filter criteria\"),\n}).passthrough().describe(\"Response model containing a list of contacts.\");\n\nexport const salesflareListContacts = action(\"SALESFLARE_LIST_CONTACTS\", {\n slug: \"salesflare-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.\",\n input: SalesflareListContactsInput,\n output: SalesflareListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACxG,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAA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flareListCurrencies_CurrencySchema = zod.z.object({
6
6
  id: zod.z.number().describe("Unique identifier for the currency").nullable(),
7
7
  iso: zod.z.string().describe("ISO 4217 currency code (e.g., USD, EUR, GBP)").nullable(),
8
8
  html: zod.z.string().describe("HTML representation of the currency symbol").nullable()
9
- }).describe("Model representing a currency in Salesflare.");
10
- const SalesflareListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).describe("Response model containing the list of supported currencies.");
9
+ }).passthrough().describe("Model representing a currency in Salesflare.");
10
+ const SalesflareListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).passthrough().describe("Response model containing the list of supported currencies.");
11
11
  const salesflareListCurrencies = require_action.action("SALESFLARE_LIST_CURRENCIES", {
12
12
  slug: "salesflare-list-currencies",
13
13
  name: "List Supported Currencies",
@@ -1 +1 @@
1
- {"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C,EACpH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).passthrough().describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).passthrough().describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,8 +7,8 @@ declare const SalesflareListCurrenciesOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodNumber>;
8
8
  iso: z.ZodNullable<z.ZodString>;
9
9
  html: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const salesflareListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { salesflareListCurrencies };
@@ -7,8 +7,8 @@ declare const SalesflareListCurrenciesOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodNumber>;
8
8
  iso: z.ZodNullable<z.ZodString>;
9
9
  html: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const salesflareListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { salesflareListCurrencies };
@@ -6,13 +6,13 @@ const SalesflareListCurrencies_CurrencySchema = z.object({
6
6
  id: z.number().describe("Unique identifier for the currency").nullable(),
7
7
  iso: z.string().describe("ISO 4217 currency code (e.g., USD, EUR, GBP)").nullable(),
8
8
  html: z.string().describe("HTML representation of the currency symbol").nullable()
9
- }).describe("Model representing a currency in Salesflare.");
9
+ }).passthrough().describe("Model representing a currency in Salesflare.");
10
10
  const salesflareListCurrencies = action("SALESFLARE_LIST_CURRENCIES", {
11
11
  slug: "salesflare-list-currencies",
12
12
  name: "List Supported Currencies",
13
13
  description: "Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.",
14
14
  input: SalesflareListCurrenciesInput,
15
- output: z.object({ currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).describe("Response model containing the list of supported currencies.")
15
+ output: z.object({ currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).passthrough().describe("Response model containing the list of supported currencies.")
16
16
  });
17
17
  //#endregion
18
18
  export { salesflareListCurrencies };
@@ -1 +1 @@
1
- {"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,YAAY,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C,EACpH,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).passthrough().describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).passthrough().describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,YAAY,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const SalesflareListCustomFieldOptionsInput = zod.z.object({
10
10
  search_string: zod.z.string().describe("Optional search string to filter the options. Only options matching this search string will be returned.").optional(),
11
11
  custom_field_api_field: zod.z.string().describe("The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').")
12
12
  }).describe("Request parameters for listing custom field options.");
13
- const SalesflareListCustomFieldOptionsOutput = zod.z.object({ options: zod.z.array(zod.z.string()).describe("List of available options for the specified custom field.") }).describe("Response containing the list of custom field options.");
13
+ const SalesflareListCustomFieldOptionsOutput = zod.z.object({ options: zod.z.array(zod.z.string()).describe("List of available options for the specified custom field.") }).passthrough().describe("Response containing the list of custom field options.");
14
14
  const salesflareListCustomFieldOptions = require_action.action("SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS", {
15
15
  slug: "salesflare-list-custom-field-options",
16
16
  name: "List Custom Field Options",
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-field-options.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;CAClR,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;AAC5N,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-field-options.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).passthrough().describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;CAClR,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;AAC5N,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/list-custom-field-options.d.ts
4
4
  declare const SalesflareListCustomFieldOptionsInput: z.ZodObject<{
5
5
  item_class: z.ZodEnum<{
6
- contacts: "contacts";
7
6
  accounts: "accounts";
7
+ contacts: "contacts";
8
8
  opportunities: "opportunities";
9
9
  }>;
10
10
  search_string: z.ZodOptional<z.ZodString>;
@@ -12,9 +12,9 @@ declare const SalesflareListCustomFieldOptionsInput: z.ZodObject<{
12
12
  }, z.core.$strip>;
13
13
  declare const SalesflareListCustomFieldOptionsOutput: z.ZodObject<{
14
14
  options: z.ZodArray<z.ZodString>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const salesflareListCustomFieldOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- item_class: "contacts" | "accounts" | "opportunities";
17
+ item_class: "accounts" | "contacts" | "opportunities";
18
18
  custom_field_api_field: string;
19
19
  search_string?: string | undefined;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/list-custom-field-options.d.ts
4
4
  declare const SalesflareListCustomFieldOptionsInput: z.ZodObject<{
5
5
  item_class: z.ZodEnum<{
6
- contacts: "contacts";
7
6
  accounts: "accounts";
7
+ contacts: "contacts";
8
8
  opportunities: "opportunities";
9
9
  }>;
10
10
  search_string: z.ZodOptional<z.ZodString>;
@@ -12,9 +12,9 @@ declare const SalesflareListCustomFieldOptionsInput: z.ZodObject<{
12
12
  }, z.core.$strip>;
13
13
  declare const SalesflareListCustomFieldOptionsOutput: z.ZodObject<{
14
14
  options: z.ZodArray<z.ZodString>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const salesflareListCustomFieldOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- item_class: "contacts" | "accounts" | "opportunities";
17
+ item_class: "accounts" | "contacts" | "opportunities";
18
18
  custom_field_api_field: string;
19
19
  search_string?: string | undefined;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -13,7 +13,7 @@ const salesflareListCustomFieldOptions = action("SALESFLARE_LIST_CUSTOM_FIELD_OP
13
13
  search_string: z.string().describe("Optional search string to filter the options. Only options matching this search string will be returned.").optional(),
14
14
  custom_field_api_field: z.string().describe("The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').")
15
15
  }).describe("Request parameters for listing custom field options."),
16
- output: z.object({ options: z.array(z.string()).describe("List of available options for the specified custom field.") }).describe("Response containing the list of custom field options.")
16
+ output: z.object({ options: z.array(z.string()).describe("List of available options for the specified custom field.") }).passthrough().describe("Response containing the list of custom field options.")
17
17
  });
18
18
  //#endregion
19
19
  export { salesflareListCustomFieldOptions };
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-field-options.mjs","names":[],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmD,EAAE,OAAO;EAC5D,YAAY,EAAE,KAAK;GAAC;GAAY;GAAY;EAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;EAClR,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACxJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAC5N,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-field-options.mjs","names":[],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).passthrough().describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmD,EAAE,OAAO;EAC5D,YAAY,EAAE,KAAK;GAAC;GAAY;GAAY;EAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;EAClR,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACxJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAC5N,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -7,8 +7,8 @@ const SalesflareListCustomFieldTypes_CustomFieldTypeSchema = zod.z.object({
7
7
  name: zod.z.string().describe("Human-readable name of the field type").nullable(),
8
8
  type: zod.z.string().describe("The type identifier (e.g., 'text', 'number', 'select', 'boolean')").nullable(),
9
9
  displayName: zod.z.string().describe("Display name shown in the UI").nullable()
10
- }).describe("Model representing a single custom field type.");
11
- const SalesflareListCustomFieldTypesOutput = zod.z.object({ types: zod.z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).describe("Response model containing the list of available custom field types.");
10
+ }).passthrough().describe("Model representing a single custom field type.");
11
+ const SalesflareListCustomFieldTypesOutput = zod.z.object({ types: zod.z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).passthrough().describe("Response model containing the list of available custom field types.");
12
12
  const salesflareListCustomFieldTypes = require_action.action("SALESFLARE_LIST_CUSTOM_FIELD_TYPES", {
13
13
  slug: "salesflare-list-custom-field-types",
14
14
  name: "List Custom Field Types",
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-field-types.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,EAC7H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-field-types.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).passthrough().describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).passthrough().describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,8 +8,8 @@ declare const SalesflareListCustomFieldTypesOutput: z.ZodObject<{
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  type: z.ZodNullable<z.ZodString>;
10
10
  displayName: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>;
12
- }, z.core.$strip>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
13
  declare const salesflareListCustomFieldTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
14
  //#endregion
15
15
  export { salesflareListCustomFieldTypes };
@@ -8,8 +8,8 @@ declare const SalesflareListCustomFieldTypesOutput: z.ZodObject<{
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  type: z.ZodNullable<z.ZodString>;
10
10
  displayName: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>;
12
- }, z.core.$strip>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
13
  declare const salesflareListCustomFieldTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
14
  //#endregion
15
15
  export { salesflareListCustomFieldTypes };
@@ -7,13 +7,13 @@ const SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({
7
7
  name: z.string().describe("Human-readable name of the field type").nullable(),
8
8
  type: z.string().describe("The type identifier (e.g., 'text', 'number', 'select', 'boolean')").nullable(),
9
9
  displayName: z.string().describe("Display name shown in the UI").nullable()
10
- }).describe("Model representing a single custom field type.");
10
+ }).passthrough().describe("Model representing a single custom field type.");
11
11
  const salesflareListCustomFieldTypes = action("SALESFLARE_LIST_CUSTOM_FIELD_TYPES", {
12
12
  slug: "salesflare-list-custom-field-types",
13
13
  name: "List Custom Field Types",
14
14
  description: "Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.",
15
15
  input: SalesflareListCustomFieldTypesInput,
16
- output: z.object({ types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).describe("Response model containing the list of available custom field types.")
16
+ output: z.object({ types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).passthrough().describe("Response model containing the list of available custom field types.")
17
17
  });
18
18
  //#endregion
19
19
  export { salesflareListCustomFieldTypes };
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-field-types.mjs","names":[],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,EAC7H,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-field-types.mjs","names":[],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).passthrough().describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).passthrough().describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -16,14 +16,14 @@ const SalesflareListCustomFields_CustomFieldTypeSchema = zod.z.object({
16
16
  name: zod.z.string().describe("The name of the custom field type.").nullable().optional(),
17
17
  type: zod.z.string().describe("The type identifier (e.g., text, number, date, select, etc.).").nullable().optional(),
18
18
  displayName: zod.z.string().describe("The display name of the custom field type.").nullable().optional()
19
- }).describe("Model representing a custom field type.");
19
+ }).passthrough().describe("Model representing a custom field type.");
20
20
  const SalesflareListCustomFields_CustomFieldSchema = zod.z.object({
21
21
  id: zod.z.number().int().describe("The unique identifier of the custom field.").nullable().optional(),
22
22
  name: zod.z.string().describe("The name of the custom field.").nullable().optional(),
23
23
  type: zod.z.union([zod.z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),
24
24
  order: zod.z.number().int().describe("The display order of the custom field.").nullable().optional(),
25
25
  enabled: zod.z.boolean().describe("Whether the custom field is currently enabled.").nullable().optional(),
26
- options: zod.z.array(zod.z.object({})).describe("Available options for select-type custom fields.").nullable().optional(),
26
+ options: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Available options for select-type custom fields.").nullable().optional(),
27
27
  max_date: zod.z.string().describe("Maximum date value for date custom fields.").nullable().optional(),
28
28
  min_date: zod.z.string().describe("Minimum date value for date custom fields.").nullable().optional(),
29
29
  pipeline: zod.z.number().int().describe("The pipeline ID this custom field is associated with, if applicable.").nullable().optional(),
@@ -38,8 +38,8 @@ const SalesflareListCustomFields_CustomFieldSchema = zod.z.object({
38
38
  users_can_add_options: zod.z.boolean().describe("Whether users can add their own options for this custom field.").nullable().optional(),
39
39
  predefined_customfield: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
40
40
  isRecurringPipelineField: zod.z.boolean().describe("Whether this is a recurring pipeline field (for recurring revenue tracking).").nullable().optional()
41
- }).describe("Model representing a custom field.");
42
- const SalesflareListCustomFieldsOutput = zod.z.object({ custom_fields: zod.z.array(SalesflareListCustomFields_CustomFieldSchema).describe("List of custom fields for the specified item class.").nullable().optional() }).describe("Response model for the ListCustomFields action.");
41
+ }).passthrough().describe("Model representing a custom field.");
42
+ const SalesflareListCustomFieldsOutput = zod.z.object({ custom_fields: zod.z.array(SalesflareListCustomFields_CustomFieldSchema).describe("List of custom fields for the specified item class.").nullable().optional() }).passthrough().describe("Response model for the ListCustomFields action.");
43
43
  const salesflareListCustomFields = require_action.action("SALESFLARE_LIST_CUSTOM_FIELDS", {
44
44
  slug: "salesflare-list-custom-fields",
45
45
  name: "List Custom Fields",
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldsInput = z.object({\n name: z.string().describe(\"Filter custom fields by name. Returns custom fields whose name matches this value.\").optional(),\n pipeline: z.number().int().describe(\"Filter custom fields by pipeline ID. Only custom fields associated with the specified pipeline will be returned.\").optional(),\n itemClass: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The class of items to retrieve custom fields for. Must be one of: accounts, contacts, or opportunities.\"),\n includeDisabled: z.boolean().describe(\"Whether to include disabled custom fields in the response. If true, disabled fields are included; if false or omitted, only enabled fields are returned.\").optional(),\n}).describe(\"Request model for the ListCustomFields action.\");\nconst SalesflareListCustomFields_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field type.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field type.\").nullable().optional(),\n type: z.string().describe(\"The type identifier (e.g., text, number, date, select, etc.).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the custom field type.\").nullable().optional(),\n}).describe(\"Model representing a custom field type.\");\nconst SalesflareListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field.\").nullable().optional(),\n type: z.union([z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),\n order: z.number().int().describe(\"The display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is currently enabled.\").nullable().optional(),\n options: z.array(z.object({})).describe(\"Available options for select-type custom fields.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date value for date custom fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date value for date custom fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"The pipeline ID this custom field is associated with, if applicable.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n api_field: z.string().describe(\"The API field name used to reference this custom field in API calls.\").nullable().optional(),\n max_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n min_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n pipelineName: z.string().describe(\"The name of the pipeline this custom field is associated with, if applicable.\").nullable().optional(),\n isStandardField: z.boolean().describe(\"Whether this is a standard field provided by Salesflare.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").nullable().optional(),\n default_boolean_value: z.boolean().describe(\"Default boolean value for boolean-type custom fields.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add their own options for this custom field.\").nullable().optional(),\n predefined_customfield: z.union([z.number().int(), z.string()]).nullable().optional(),\n isRecurringPipelineField: z.boolean().describe(\"Whether this is a recurring pipeline field (for recurring revenue tracking).\").nullable().optional(),\n}).describe(\"Model representing a custom field.\");\nexport const SalesflareListCustomFieldsOutput = z.object({\n custom_fields: z.array(SalesflareListCustomFields_CustomFieldSchema).describe(\"List of custom fields for the specified item class.\").nullable().optional(),\n}).describe(\"Response model for the ListCustomFields action.\");\n\nexport const salesflareListCustomFields = action(\"SALESFLARE_LIST_CUSTOM_FIELDS\", {\n slug: \"salesflare-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to list custom fields for a specified item class (accounts, contacts, or opportunities). Use when you need to retrieve available custom fields for an item type to understand what custom data can be stored or queried.\",\n input: SalesflareListCustomFieldsInput,\n output: SalesflareListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACjK,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAe,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAC/K,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,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AAS,oCAAoC;AAChD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,eAAeA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldsInput = z.object({\n name: z.string().describe(\"Filter custom fields by name. Returns custom fields whose name matches this value.\").optional(),\n pipeline: z.number().int().describe(\"Filter custom fields by pipeline ID. Only custom fields associated with the specified pipeline will be returned.\").optional(),\n itemClass: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The class of items to retrieve custom fields for. Must be one of: accounts, contacts, or opportunities.\"),\n includeDisabled: z.boolean().describe(\"Whether to include disabled custom fields in the response. If true, disabled fields are included; if false or omitted, only enabled fields are returned.\").optional(),\n}).describe(\"Request model for the ListCustomFields action.\");\nconst SalesflareListCustomFields_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field type.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field type.\").nullable().optional(),\n type: z.string().describe(\"The type identifier (e.g., text, number, date, select, etc.).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the custom field type.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a custom field type.\");\nconst SalesflareListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field.\").nullable().optional(),\n type: z.union([z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),\n order: z.number().int().describe(\"The display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is currently enabled.\").nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for select-type custom fields.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date value for date custom fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date value for date custom fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"The pipeline ID this custom field is associated with, if applicable.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n api_field: z.string().describe(\"The API field name used to reference this custom field in API calls.\").nullable().optional(),\n max_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n min_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n pipelineName: z.string().describe(\"The name of the pipeline this custom field is associated with, if applicable.\").nullable().optional(),\n isStandardField: z.boolean().describe(\"Whether this is a standard field provided by Salesflare.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").nullable().optional(),\n default_boolean_value: z.boolean().describe(\"Default boolean value for boolean-type custom fields.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add their own options for this custom field.\").nullable().optional(),\n predefined_customfield: z.union([z.number().int(), z.string()]).nullable().optional(),\n isRecurringPipelineField: z.boolean().describe(\"Whether this is a recurring pipeline field (for recurring revenue tracking).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a custom field.\");\nexport const SalesflareListCustomFieldsOutput = z.object({\n custom_fields: z.array(SalesflareListCustomFields_CustomFieldSchema).describe(\"List of custom fields for the specified item class.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the ListCustomFields action.\");\n\nexport const salesflareListCustomFields = action(\"SALESFLARE_LIST_CUSTOM_FIELDS\", {\n slug: \"salesflare-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to list custom fields for a specified item class (accounts, contacts, or opportunities). Use when you need to retrieve available custom fields for an item type to understand what custom data can be stored or queried.\",\n input: SalesflareListCustomFie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