@keystrokehq/salesflare 0.1.0 → 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 (513) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-account-contacts.cjs +2 -2
  4. package/dist/actions/add-account-contacts.cjs.map +1 -1
  5. package/dist/actions/add-account-contacts.d.cts +16 -3
  6. package/dist/actions/add-account-contacts.d.cts.map +1 -1
  7. package/dist/actions/add-account-contacts.d.mts +16 -3
  8. package/dist/actions/add-account-contacts.d.mts.map +1 -1
  9. package/dist/actions/add-account-contacts.mjs +2 -2
  10. package/dist/actions/add-account-contacts.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs +11 -11
  12. package/dist/actions/create-account.cjs.map +1 -1
  13. package/dist/actions/create-account.d.cts +111 -3
  14. package/dist/actions/create-account.d.cts.map +1 -1
  15. package/dist/actions/create-account.d.mts +111 -3
  16. package/dist/actions/create-account.d.mts.map +1 -1
  17. package/dist/actions/create-account.mjs +11 -11
  18. package/dist/actions/create-account.mjs.map +1 -1
  19. package/dist/actions/create-call.cjs +3 -3
  20. package/dist/actions/create-call.cjs.map +1 -1
  21. package/dist/actions/create-call.d.cts +33 -3
  22. package/dist/actions/create-call.d.cts.map +1 -1
  23. package/dist/actions/create-call.d.mts +33 -3
  24. package/dist/actions/create-call.d.mts.map +1 -1
  25. package/dist/actions/create-call.mjs +3 -3
  26. package/dist/actions/create-call.mjs.map +1 -1
  27. package/dist/actions/create-contact.cjs +6 -6
  28. package/dist/actions/create-contact.cjs.map +1 -1
  29. package/dist/actions/create-contact.d.cts +120 -3
  30. package/dist/actions/create-contact.d.cts.map +1 -1
  31. package/dist/actions/create-contact.d.mts +120 -3
  32. package/dist/actions/create-contact.d.mts.map +1 -1
  33. package/dist/actions/create-contact.mjs +6 -6
  34. package/dist/actions/create-contact.mjs.map +1 -1
  35. package/dist/actions/create-custom-field.cjs +2 -2
  36. package/dist/actions/create-custom-field.cjs.map +1 -1
  37. package/dist/actions/create-custom-field.d.cts +54 -3
  38. package/dist/actions/create-custom-field.d.cts.map +1 -1
  39. package/dist/actions/create-custom-field.d.mts +54 -3
  40. package/dist/actions/create-custom-field.d.mts.map +1 -1
  41. package/dist/actions/create-custom-field.mjs +2 -2
  42. package/dist/actions/create-custom-field.mjs.map +1 -1
  43. package/dist/actions/create-internal-note.cjs +1 -1
  44. package/dist/actions/create-internal-note.cjs.map +1 -1
  45. package/dist/actions/create-internal-note.d.cts +21 -3
  46. package/dist/actions/create-internal-note.d.cts.map +1 -1
  47. package/dist/actions/create-internal-note.d.mts +21 -3
  48. package/dist/actions/create-internal-note.d.mts.map +1 -1
  49. package/dist/actions/create-internal-note.mjs +1 -1
  50. package/dist/actions/create-internal-note.mjs.map +1 -1
  51. package/dist/actions/create-meeting.cjs +1 -1
  52. package/dist/actions/create-meeting.cjs.map +1 -1
  53. package/dist/actions/create-meeting.d.cts +31 -3
  54. package/dist/actions/create-meeting.d.cts.map +1 -1
  55. package/dist/actions/create-meeting.d.mts +31 -3
  56. package/dist/actions/create-meeting.d.mts.map +1 -1
  57. package/dist/actions/create-meeting.mjs +1 -1
  58. package/dist/actions/create-meeting.mjs.map +1 -1
  59. package/dist/actions/create-opportunity.cjs +2 -2
  60. package/dist/actions/create-opportunity.cjs.map +1 -1
  61. package/dist/actions/create-opportunity.d.cts +56 -3
  62. package/dist/actions/create-opportunity.d.cts.map +1 -1
  63. package/dist/actions/create-opportunity.d.mts +56 -3
  64. package/dist/actions/create-opportunity.d.mts.map +1 -1
  65. package/dist/actions/create-opportunity.mjs +2 -2
  66. package/dist/actions/create-opportunity.mjs.map +1 -1
  67. package/dist/actions/create-tag.cjs +1 -1
  68. package/dist/actions/create-tag.cjs.map +1 -1
  69. package/dist/actions/create-tag.d.cts +9 -3
  70. package/dist/actions/create-tag.d.cts.map +1 -1
  71. package/dist/actions/create-tag.d.mts +9 -3
  72. package/dist/actions/create-tag.d.mts.map +1 -1
  73. package/dist/actions/create-tag.mjs +1 -1
  74. package/dist/actions/create-tag.mjs.map +1 -1
  75. package/dist/actions/create-task.cjs +1 -1
  76. package/dist/actions/create-task.cjs.map +1 -1
  77. package/dist/actions/create-task.d.cts +15 -3
  78. package/dist/actions/create-task.d.cts.map +1 -1
  79. package/dist/actions/create-task.d.mts +15 -3
  80. package/dist/actions/create-task.d.mts.map +1 -1
  81. package/dist/actions/create-task.mjs +1 -1
  82. package/dist/actions/create-task.mjs.map +1 -1
  83. package/dist/actions/create-workflow.cjs +4 -4
  84. package/dist/actions/create-workflow.cjs.map +1 -1
  85. package/dist/actions/create-workflow.d.cts +150 -3
  86. package/dist/actions/create-workflow.d.cts.map +1 -1
  87. package/dist/actions/create-workflow.d.mts +150 -3
  88. package/dist/actions/create-workflow.d.mts.map +1 -1
  89. package/dist/actions/create-workflow.mjs +4 -4
  90. package/dist/actions/create-workflow.mjs.map +1 -1
  91. package/dist/actions/delete-account.cjs +1 -1
  92. package/dist/actions/delete-account.cjs.map +1 -1
  93. package/dist/actions/delete-account.d.cts +9 -3
  94. package/dist/actions/delete-account.d.cts.map +1 -1
  95. package/dist/actions/delete-account.d.mts +9 -3
  96. package/dist/actions/delete-account.d.mts.map +1 -1
  97. package/dist/actions/delete-account.mjs +1 -1
  98. package/dist/actions/delete-account.mjs.map +1 -1
  99. package/dist/actions/delete-contact.cjs +3 -3
  100. package/dist/actions/delete-contact.cjs.map +1 -1
  101. package/dist/actions/delete-contact.d.cts +10 -3
  102. package/dist/actions/delete-contact.d.cts.map +1 -1
  103. package/dist/actions/delete-contact.d.mts +10 -3
  104. package/dist/actions/delete-contact.d.mts.map +1 -1
  105. package/dist/actions/delete-contact.mjs +3 -3
  106. package/dist/actions/delete-contact.mjs.map +1 -1
  107. package/dist/actions/delete-custom-field.cjs +3 -3
  108. package/dist/actions/delete-custom-field.cjs.map +1 -1
  109. package/dist/actions/delete-custom-field.d.cts +16 -3
  110. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  111. package/dist/actions/delete-custom-field.d.mts +16 -3
  112. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  113. package/dist/actions/delete-custom-field.mjs +3 -3
  114. package/dist/actions/delete-custom-field.mjs.map +1 -1
  115. package/dist/actions/delete-internal-note.cjs +4 -4
  116. package/dist/actions/delete-internal-note.cjs.map +1 -1
  117. package/dist/actions/delete-internal-note.d.cts +11 -3
  118. package/dist/actions/delete-internal-note.d.cts.map +1 -1
  119. package/dist/actions/delete-internal-note.d.mts +11 -3
  120. package/dist/actions/delete-internal-note.d.mts.map +1 -1
  121. package/dist/actions/delete-internal-note.mjs +4 -4
  122. package/dist/actions/delete-internal-note.mjs.map +1 -1
  123. package/dist/actions/delete-meeting.cjs +1 -1
  124. package/dist/actions/delete-meeting.cjs.map +1 -1
  125. package/dist/actions/delete-meeting.d.cts +9 -3
  126. package/dist/actions/delete-meeting.d.cts.map +1 -1
  127. package/dist/actions/delete-meeting.d.mts +9 -3
  128. package/dist/actions/delete-meeting.d.mts.map +1 -1
  129. package/dist/actions/delete-meeting.mjs +1 -1
  130. package/dist/actions/delete-meeting.mjs.map +1 -1
  131. package/dist/actions/delete-opportunity.cjs +1 -1
  132. package/dist/actions/delete-opportunity.cjs.map +1 -1
  133. package/dist/actions/delete-opportunity.d.cts +9 -3
  134. package/dist/actions/delete-opportunity.d.cts.map +1 -1
  135. package/dist/actions/delete-opportunity.d.mts +9 -3
  136. package/dist/actions/delete-opportunity.d.mts.map +1 -1
  137. package/dist/actions/delete-opportunity.mjs +1 -1
  138. package/dist/actions/delete-opportunity.mjs.map +1 -1
  139. package/dist/actions/delete-tag.cjs +1 -1
  140. package/dist/actions/delete-tag.cjs.map +1 -1
  141. package/dist/actions/delete-tag.d.cts +9 -3
  142. package/dist/actions/delete-tag.d.cts.map +1 -1
  143. package/dist/actions/delete-tag.d.mts +9 -3
  144. package/dist/actions/delete-tag.d.mts.map +1 -1
  145. package/dist/actions/delete-tag.mjs +1 -1
  146. package/dist/actions/delete-tag.mjs.map +1 -1
  147. package/dist/actions/delete-task.cjs +1 -1
  148. package/dist/actions/delete-task.cjs.map +1 -1
  149. package/dist/actions/delete-task.d.cts +9 -3
  150. package/dist/actions/delete-task.d.cts.map +1 -1
  151. package/dist/actions/delete-task.d.mts +9 -3
  152. package/dist/actions/delete-task.d.mts.map +1 -1
  153. package/dist/actions/delete-task.mjs +1 -1
  154. package/dist/actions/delete-task.mjs.map +1 -1
  155. package/dist/actions/get-account.cjs +9 -9
  156. package/dist/actions/get-account.cjs.map +1 -1
  157. package/dist/actions/get-account.d.cts +72 -3
  158. package/dist/actions/get-account.d.cts.map +1 -1
  159. package/dist/actions/get-account.d.mts +72 -3
  160. package/dist/actions/get-account.d.mts.map +1 -1
  161. package/dist/actions/get-account.mjs +9 -9
  162. package/dist/actions/get-account.mjs.map +1 -1
  163. package/dist/actions/get-ai-settings.cjs +3 -3
  164. package/dist/actions/get-ai-settings.cjs.map +1 -1
  165. package/dist/actions/get-ai-settings.d.cts +13 -3
  166. package/dist/actions/get-ai-settings.d.cts.map +1 -1
  167. package/dist/actions/get-ai-settings.d.mts +13 -3
  168. package/dist/actions/get-ai-settings.d.mts.map +1 -1
  169. package/dist/actions/get-ai-settings.mjs +3 -3
  170. package/dist/actions/get-ai-settings.mjs.map +1 -1
  171. package/dist/actions/get-contact.cjs +12 -12
  172. package/dist/actions/get-contact.cjs.map +1 -1
  173. package/dist/actions/get-contact.d.cts +98 -3
  174. package/dist/actions/get-contact.d.cts.map +1 -1
  175. package/dist/actions/get-contact.d.mts +98 -3
  176. package/dist/actions/get-contact.d.mts.map +1 -1
  177. package/dist/actions/get-contact.mjs +12 -12
  178. package/dist/actions/get-contact.mjs.map +1 -1
  179. package/dist/actions/get-current-user.cjs +20 -20
  180. package/dist/actions/get-current-user.cjs.map +1 -1
  181. package/dist/actions/get-current-user.d.cts +156 -3
  182. package/dist/actions/get-current-user.d.cts.map +1 -1
  183. package/dist/actions/get-current-user.d.mts +156 -3
  184. package/dist/actions/get-current-user.d.mts.map +1 -1
  185. package/dist/actions/get-current-user.mjs +20 -20
  186. package/dist/actions/get-current-user.mjs.map +1 -1
  187. package/dist/actions/get-custom-field.cjs +3 -3
  188. package/dist/actions/get-custom-field.cjs.map +1 -1
  189. package/dist/actions/get-custom-field.d.cts +41 -3
  190. package/dist/actions/get-custom-field.d.cts.map +1 -1
  191. package/dist/actions/get-custom-field.d.mts +41 -3
  192. package/dist/actions/get-custom-field.d.mts.map +1 -1
  193. package/dist/actions/get-custom-field.mjs +3 -3
  194. package/dist/actions/get-custom-field.mjs.map +1 -1
  195. package/dist/actions/get-meeting.cjs +2 -2
  196. package/dist/actions/get-meeting.cjs.map +1 -1
  197. package/dist/actions/get-meeting.d.cts +22 -3
  198. package/dist/actions/get-meeting.d.cts.map +1 -1
  199. package/dist/actions/get-meeting.d.mts +22 -3
  200. package/dist/actions/get-meeting.d.mts.map +1 -1
  201. package/dist/actions/get-meeting.mjs +2 -2
  202. package/dist/actions/get-meeting.mjs.map +1 -1
  203. package/dist/actions/get-opportunity.cjs +25 -25
  204. package/dist/actions/get-opportunity.cjs.map +1 -1
  205. package/dist/actions/get-opportunity.d.cts +100 -3
  206. package/dist/actions/get-opportunity.d.cts.map +1 -1
  207. package/dist/actions/get-opportunity.d.mts +100 -3
  208. package/dist/actions/get-opportunity.d.mts.map +1 -1
  209. package/dist/actions/get-opportunity.mjs +25 -25
  210. package/dist/actions/get-opportunity.mjs.map +1 -1
  211. package/dist/actions/get-stage.cjs +3 -3
  212. package/dist/actions/get-stage.cjs.map +1 -1
  213. package/dist/actions/get-stage.d.cts +21 -3
  214. package/dist/actions/get-stage.d.cts.map +1 -1
  215. package/dist/actions/get-stage.d.mts +21 -3
  216. package/dist/actions/get-stage.d.mts.map +1 -1
  217. package/dist/actions/get-stage.mjs +3 -3
  218. package/dist/actions/get-stage.mjs.map +1 -1
  219. package/dist/actions/get-tag-usage.cjs +4 -4
  220. package/dist/actions/get-tag-usage.cjs.map +1 -1
  221. package/dist/actions/get-tag-usage.d.cts +23 -3
  222. package/dist/actions/get-tag-usage.d.cts.map +1 -1
  223. package/dist/actions/get-tag-usage.d.mts +23 -3
  224. package/dist/actions/get-tag-usage.d.mts.map +1 -1
  225. package/dist/actions/get-tag-usage.mjs +4 -4
  226. package/dist/actions/get-tag-usage.mjs.map +1 -1
  227. package/dist/actions/get-user.cjs +8 -8
  228. package/dist/actions/get-user.cjs.map +1 -1
  229. package/dist/actions/get-user.d.cts +64 -3
  230. package/dist/actions/get-user.d.cts.map +1 -1
  231. package/dist/actions/get-user.d.mts +64 -3
  232. package/dist/actions/get-user.d.mts.map +1 -1
  233. package/dist/actions/get-user.mjs +8 -8
  234. package/dist/actions/get-user.mjs.map +1 -1
  235. package/dist/actions/get-workflow-merge-fields.cjs +3 -3
  236. package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
  237. package/dist/actions/get-workflow-merge-fields.d.cts +14 -3
  238. package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -1
  239. package/dist/actions/get-workflow-merge-fields.d.mts +14 -3
  240. package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -1
  241. package/dist/actions/get-workflow-merge-fields.mjs +3 -3
  242. package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
  243. package/dist/actions/get-workflow.cjs +11 -11
  244. package/dist/actions/get-workflow.cjs.map +1 -1
  245. package/dist/actions/get-workflow.d.cts +140 -3
  246. package/dist/actions/get-workflow.d.cts.map +1 -1
  247. package/dist/actions/get-workflow.d.mts +140 -3
  248. package/dist/actions/get-workflow.d.mts.map +1 -1
  249. package/dist/actions/get-workflow.mjs +11 -11
  250. package/dist/actions/get-workflow.mjs.map +1 -1
  251. package/dist/actions/list-account-messages.cjs +3 -3
  252. package/dist/actions/list-account-messages.cjs.map +1 -1
  253. package/dist/actions/list-account-messages.d.cts +35 -3
  254. package/dist/actions/list-account-messages.d.cts.map +1 -1
  255. package/dist/actions/list-account-messages.d.mts +35 -3
  256. package/dist/actions/list-account-messages.d.mts.map +1 -1
  257. package/dist/actions/list-account-messages.mjs +3 -3
  258. package/dist/actions/list-account-messages.mjs.map +1 -1
  259. package/dist/actions/list-accounts.cjs +7 -7
  260. package/dist/actions/list-accounts.cjs.map +1 -1
  261. package/dist/actions/list-accounts.d.cts +84 -3
  262. package/dist/actions/list-accounts.d.cts.map +1 -1
  263. package/dist/actions/list-accounts.d.mts +84 -3
  264. package/dist/actions/list-accounts.d.mts.map +1 -1
  265. package/dist/actions/list-accounts.mjs +7 -7
  266. package/dist/actions/list-accounts.mjs.map +1 -1
  267. package/dist/actions/list-contacts.cjs +14 -14
  268. package/dist/actions/list-contacts.cjs.map +1 -1
  269. package/dist/actions/list-contacts.d.cts +137 -3
  270. package/dist/actions/list-contacts.d.cts.map +1 -1
  271. package/dist/actions/list-contacts.d.mts +137 -3
  272. package/dist/actions/list-contacts.d.mts.map +1 -1
  273. package/dist/actions/list-contacts.mjs +14 -14
  274. package/dist/actions/list-contacts.mjs.map +1 -1
  275. package/dist/actions/list-currencies.cjs +5 -5
  276. package/dist/actions/list-currencies.cjs.map +1 -1
  277. package/dist/actions/list-currencies.d.cts +9 -3
  278. package/dist/actions/list-currencies.d.cts.map +1 -1
  279. package/dist/actions/list-currencies.d.mts +9 -3
  280. package/dist/actions/list-currencies.d.mts.map +1 -1
  281. package/dist/actions/list-currencies.mjs +5 -5
  282. package/dist/actions/list-currencies.mjs.map +1 -1
  283. package/dist/actions/list-custom-field-options.cjs +1 -1
  284. package/dist/actions/list-custom-field-options.cjs.map +1 -1
  285. package/dist/actions/list-custom-field-options.d.cts +17 -3
  286. package/dist/actions/list-custom-field-options.d.cts.map +1 -1
  287. package/dist/actions/list-custom-field-options.d.mts +17 -3
  288. package/dist/actions/list-custom-field-options.d.mts.map +1 -1
  289. package/dist/actions/list-custom-field-options.mjs +1 -1
  290. package/dist/actions/list-custom-field-options.mjs.map +1 -1
  291. package/dist/actions/list-custom-field-types.cjs +6 -6
  292. package/dist/actions/list-custom-field-types.cjs.map +1 -1
  293. package/dist/actions/list-custom-field-types.d.cts +10 -3
  294. package/dist/actions/list-custom-field-types.d.cts.map +1 -1
  295. package/dist/actions/list-custom-field-types.d.mts +10 -3
  296. package/dist/actions/list-custom-field-types.d.mts.map +1 -1
  297. package/dist/actions/list-custom-field-types.mjs +6 -6
  298. package/dist/actions/list-custom-field-types.mjs.map +1 -1
  299. package/dist/actions/list-custom-fields.cjs +4 -4
  300. package/dist/actions/list-custom-fields.cjs.map +1 -1
  301. package/dist/actions/list-custom-fields.d.cts +45 -3
  302. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  303. package/dist/actions/list-custom-fields.d.mts +45 -3
  304. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  305. package/dist/actions/list-custom-fields.mjs +4 -4
  306. package/dist/actions/list-custom-fields.mjs.map +1 -1
  307. package/dist/actions/list-email-datasources.cjs +13 -13
  308. package/dist/actions/list-email-datasources.cjs.map +1 -1
  309. package/dist/actions/list-email-datasources.d.cts +45 -3
  310. package/dist/actions/list-email-datasources.d.cts.map +1 -1
  311. package/dist/actions/list-email-datasources.d.mts +45 -3
  312. package/dist/actions/list-email-datasources.d.mts.map +1 -1
  313. package/dist/actions/list-email-datasources.mjs +13 -13
  314. package/dist/actions/list-email-datasources.mjs.map +1 -1
  315. package/dist/actions/list-filter-fields.cjs +9 -9
  316. package/dist/actions/list-filter-fields.cjs.map +1 -1
  317. package/dist/actions/list-filter-fields.d.cts +116 -3
  318. package/dist/actions/list-filter-fields.d.cts.map +1 -1
  319. package/dist/actions/list-filter-fields.d.mts +116 -3
  320. package/dist/actions/list-filter-fields.d.mts.map +1 -1
  321. package/dist/actions/list-filter-fields.mjs +9 -9
  322. package/dist/actions/list-filter-fields.mjs.map +1 -1
  323. package/dist/actions/list-groups.cjs +2 -2
  324. package/dist/actions/list-groups.cjs.map +1 -1
  325. package/dist/actions/list-groups.d.cts +8 -3
  326. package/dist/actions/list-groups.d.cts.map +1 -1
  327. package/dist/actions/list-groups.d.mts +8 -3
  328. package/dist/actions/list-groups.d.mts.map +1 -1
  329. package/dist/actions/list-groups.mjs +2 -2
  330. package/dist/actions/list-groups.mjs.map +1 -1
  331. package/dist/actions/list-my-contacts.cjs +15 -15
  332. package/dist/actions/list-my-contacts.cjs.map +1 -1
  333. package/dist/actions/list-my-contacts.d.cts +138 -3
  334. package/dist/actions/list-my-contacts.d.cts.map +1 -1
  335. package/dist/actions/list-my-contacts.d.mts +138 -3
  336. package/dist/actions/list-my-contacts.d.mts.map +1 -1
  337. package/dist/actions/list-my-contacts.mjs +15 -15
  338. package/dist/actions/list-my-contacts.mjs.map +1 -1
  339. package/dist/actions/list-opportunities.cjs +8 -8
  340. package/dist/actions/list-opportunities.cjs.map +1 -1
  341. package/dist/actions/list-opportunities.d.cts +130 -3
  342. package/dist/actions/list-opportunities.d.cts.map +1 -1
  343. package/dist/actions/list-opportunities.d.mts +130 -3
  344. package/dist/actions/list-opportunities.d.mts.map +1 -1
  345. package/dist/actions/list-opportunities.mjs +8 -8
  346. package/dist/actions/list-opportunities.mjs.map +1 -1
  347. package/dist/actions/list-persons.cjs +7 -7
  348. package/dist/actions/list-persons.cjs.map +1 -1
  349. package/dist/actions/list-persons.d.cts +46 -3
  350. package/dist/actions/list-persons.d.cts.map +1 -1
  351. package/dist/actions/list-persons.d.mts +46 -3
  352. package/dist/actions/list-persons.d.mts.map +1 -1
  353. package/dist/actions/list-persons.mjs +7 -7
  354. package/dist/actions/list-persons.mjs.map +1 -1
  355. package/dist/actions/list-pipelines.cjs +5 -5
  356. package/dist/actions/list-pipelines.cjs.map +1 -1
  357. package/dist/actions/list-pipelines.d.cts +44 -3
  358. package/dist/actions/list-pipelines.d.cts.map +1 -1
  359. package/dist/actions/list-pipelines.d.mts +44 -3
  360. package/dist/actions/list-pipelines.d.mts.map +1 -1
  361. package/dist/actions/list-pipelines.mjs +5 -5
  362. package/dist/actions/list-pipelines.mjs.map +1 -1
  363. package/dist/actions/list-stages.cjs +3 -3
  364. package/dist/actions/list-stages.cjs.map +1 -1
  365. package/dist/actions/list-stages.d.cts +32 -3
  366. package/dist/actions/list-stages.d.cts.map +1 -1
  367. package/dist/actions/list-stages.d.mts +32 -3
  368. package/dist/actions/list-stages.d.mts.map +1 -1
  369. package/dist/actions/list-stages.mjs +3 -3
  370. package/dist/actions/list-stages.mjs.map +1 -1
  371. package/dist/actions/list-tags.cjs +2 -2
  372. package/dist/actions/list-tags.cjs.map +1 -1
  373. package/dist/actions/list-tags.d.cts +28 -3
  374. package/dist/actions/list-tags.d.cts.map +1 -1
  375. package/dist/actions/list-tags.d.mts +28 -3
  376. package/dist/actions/list-tags.d.mts.map +1 -1
  377. package/dist/actions/list-tags.mjs +2 -2
  378. package/dist/actions/list-tags.mjs.map +1 -1
  379. package/dist/actions/list-tasks.cjs +8 -8
  380. package/dist/actions/list-tasks.cjs.map +1 -1
  381. package/dist/actions/list-tasks.d.cts +64 -3
  382. package/dist/actions/list-tasks.d.cts.map +1 -1
  383. package/dist/actions/list-tasks.d.mts +64 -3
  384. package/dist/actions/list-tasks.d.mts.map +1 -1
  385. package/dist/actions/list-tasks.mjs +8 -8
  386. package/dist/actions/list-tasks.mjs.map +1 -1
  387. package/dist/actions/list-users.cjs +9 -9
  388. package/dist/actions/list-users.cjs.map +1 -1
  389. package/dist/actions/list-users.d.cts +80 -3
  390. package/dist/actions/list-users.d.cts.map +1 -1
  391. package/dist/actions/list-users.d.mts +80 -3
  392. package/dist/actions/list-users.d.mts.map +1 -1
  393. package/dist/actions/list-users.mjs +9 -9
  394. package/dist/actions/list-users.mjs.map +1 -1
  395. package/dist/actions/list-workflows.cjs +14 -14
  396. package/dist/actions/list-workflows.cjs.map +1 -1
  397. package/dist/actions/list-workflows.d.cts +74 -3
  398. package/dist/actions/list-workflows.d.cts.map +1 -1
  399. package/dist/actions/list-workflows.d.mts +74 -3
  400. package/dist/actions/list-workflows.d.mts.map +1 -1
  401. package/dist/actions/list-workflows.mjs +14 -14
  402. package/dist/actions/list-workflows.mjs.map +1 -1
  403. package/dist/actions/update-account-contacts.cjs +2 -2
  404. package/dist/actions/update-account-contacts.cjs.map +1 -1
  405. package/dist/actions/update-account-contacts.d.cts +20 -3
  406. package/dist/actions/update-account-contacts.d.cts.map +1 -1
  407. package/dist/actions/update-account-contacts.d.mts +20 -3
  408. package/dist/actions/update-account-contacts.d.mts.map +1 -1
  409. package/dist/actions/update-account-contacts.mjs +2 -2
  410. package/dist/actions/update-account-contacts.mjs.map +1 -1
  411. package/dist/actions/update-account-users.cjs +2 -2
  412. package/dist/actions/update-account-users.cjs.map +1 -1
  413. package/dist/actions/update-account-users.d.cts +20 -3
  414. package/dist/actions/update-account-users.d.cts.map +1 -1
  415. package/dist/actions/update-account-users.d.mts +20 -3
  416. package/dist/actions/update-account-users.d.mts.map +1 -1
  417. package/dist/actions/update-account-users.mjs +2 -2
  418. package/dist/actions/update-account-users.mjs.map +1 -1
  419. package/dist/actions/update-account.cjs +12 -12
  420. package/dist/actions/update-account.cjs.map +1 -1
  421. package/dist/actions/update-account.d.cts +135 -3
  422. package/dist/actions/update-account.d.cts.map +1 -1
  423. package/dist/actions/update-account.d.mts +135 -3
  424. package/dist/actions/update-account.d.mts.map +1 -1
  425. package/dist/actions/update-account.mjs +12 -12
  426. package/dist/actions/update-account.mjs.map +1 -1
  427. package/dist/actions/update-ai-settings.cjs +1 -1
  428. package/dist/actions/update-ai-settings.cjs.map +1 -1
  429. package/dist/actions/update-ai-settings.d.cts +25 -3
  430. package/dist/actions/update-ai-settings.d.cts.map +1 -1
  431. package/dist/actions/update-ai-settings.d.mts +25 -3
  432. package/dist/actions/update-ai-settings.d.mts.map +1 -1
  433. package/dist/actions/update-ai-settings.mjs +1 -1
  434. package/dist/actions/update-ai-settings.mjs.map +1 -1
  435. package/dist/actions/update-contact.cjs +4 -4
  436. package/dist/actions/update-contact.cjs.map +1 -1
  437. package/dist/actions/update-contact.d.cts +134 -3
  438. package/dist/actions/update-contact.d.cts.map +1 -1
  439. package/dist/actions/update-contact.d.mts +134 -3
  440. package/dist/actions/update-contact.d.mts.map +1 -1
  441. package/dist/actions/update-contact.mjs +4 -4
  442. package/dist/actions/update-contact.mjs.map +1 -1
  443. package/dist/actions/update-custom-field.cjs +4 -4
  444. package/dist/actions/update-custom-field.cjs.map +1 -1
  445. package/dist/actions/update-custom-field.d.cts +77 -3
  446. package/dist/actions/update-custom-field.d.cts.map +1 -1
  447. package/dist/actions/update-custom-field.d.mts +77 -3
  448. package/dist/actions/update-custom-field.d.mts.map +1 -1
  449. package/dist/actions/update-custom-field.mjs +4 -4
  450. package/dist/actions/update-custom-field.mjs.map +1 -1
  451. package/dist/actions/update-email-datasource.cjs +1 -1
  452. package/dist/actions/update-email-datasource.cjs.map +1 -1
  453. package/dist/actions/update-email-datasource.d.cts +19 -3
  454. package/dist/actions/update-email-datasource.d.cts.map +1 -1
  455. package/dist/actions/update-email-datasource.d.mts +19 -3
  456. package/dist/actions/update-email-datasource.d.mts.map +1 -1
  457. package/dist/actions/update-email-datasource.mjs +1 -1
  458. package/dist/actions/update-email-datasource.mjs.map +1 -1
  459. package/dist/actions/update-internal-note.cjs +1 -1
  460. package/dist/actions/update-internal-note.cjs.map +1 -1
  461. package/dist/actions/update-internal-note.d.cts +23 -3
  462. package/dist/actions/update-internal-note.d.cts.map +1 -1
  463. package/dist/actions/update-internal-note.d.mts +23 -3
  464. package/dist/actions/update-internal-note.d.mts.map +1 -1
  465. package/dist/actions/update-internal-note.mjs +1 -1
  466. package/dist/actions/update-internal-note.mjs.map +1 -1
  467. package/dist/actions/update-opportunity.cjs +3 -3
  468. package/dist/actions/update-opportunity.cjs.map +1 -1
  469. package/dist/actions/update-opportunity.d.cts +60 -3
  470. package/dist/actions/update-opportunity.d.cts.map +1 -1
  471. package/dist/actions/update-opportunity.d.mts +60 -3
  472. package/dist/actions/update-opportunity.d.mts.map +1 -1
  473. package/dist/actions/update-opportunity.mjs +3 -3
  474. package/dist/actions/update-opportunity.mjs.map +1 -1
  475. package/dist/actions/update-tag.cjs +1 -1
  476. package/dist/actions/update-tag.cjs.map +1 -1
  477. package/dist/actions/update-tag.d.cts +11 -3
  478. package/dist/actions/update-tag.d.cts.map +1 -1
  479. package/dist/actions/update-tag.d.mts +11 -3
  480. package/dist/actions/update-tag.d.mts.map +1 -1
  481. package/dist/actions/update-tag.mjs +1 -1
  482. package/dist/actions/update-tag.mjs.map +1 -1
  483. package/dist/actions/update-task.cjs +1 -1
  484. package/dist/actions/update-task.cjs.map +1 -1
  485. package/dist/actions/update-task.d.cts +19 -3
  486. package/dist/actions/update-task.d.cts.map +1 -1
  487. package/dist/actions/update-task.d.mts +19 -3
  488. package/dist/actions/update-task.d.mts.map +1 -1
  489. package/dist/actions/update-task.mjs +1 -1
  490. package/dist/actions/update-task.mjs.map +1 -1
  491. package/dist/actions/update-workflow-audience.cjs +1 -1
  492. package/dist/actions/update-workflow-audience.cjs.map +1 -1
  493. package/dist/actions/update-workflow-audience.d.cts +15 -3
  494. package/dist/actions/update-workflow-audience.d.cts.map +1 -1
  495. package/dist/actions/update-workflow-audience.d.mts +15 -3
  496. package/dist/actions/update-workflow-audience.d.mts.map +1 -1
  497. package/dist/actions/update-workflow-audience.mjs +1 -1
  498. package/dist/actions/update-workflow-audience.mjs.map +1 -1
  499. package/dist/actions/update-workflow.cjs +7 -7
  500. package/dist/actions/update-workflow.cjs.map +1 -1
  501. package/dist/actions/update-workflow.d.cts +102 -3
  502. package/dist/actions/update-workflow.d.cts.map +1 -1
  503. package/dist/actions/update-workflow.d.mts +102 -3
  504. package/dist/actions/update-workflow.d.mts.map +1 -1
  505. package/dist/actions/update-workflow.mjs +7 -7
  506. package/dist/actions/update-workflow.mjs.map +1 -1
  507. package/dist/catalog.cjs +7 -1
  508. package/dist/catalog.cjs.map +1 -1
  509. package/dist/catalog.d.cts +8 -0
  510. package/dist/catalog.d.mts +8 -0
  511. package/dist/catalog.mjs +7 -1
  512. package/dist/catalog.mjs.map +1 -1
  513. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["salesflare","executeSalesflareTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { salesflare } from \"./app\";\nimport { executeSalesflareTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return salesflare.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSalesflareTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["salesflare","executeSalesflareTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { salesflare } from \"./app\";\nimport { executeSalesflareTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return salesflare.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSalesflareTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { salesflare } from \"./app\";\nimport { executeSalesflareTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return salesflare.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSalesflareTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { salesflare } from \"./app\";\nimport { executeSalesflareTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return salesflare.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSalesflareTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -2,10 +2,10 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/add-account-contacts.ts
4
4
  const SalesflareAddAccountContactsInput = zod.z.object({
5
- contacts: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("The unique ID of the contact to add to the account") }).describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
5
+ contacts: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("The unique ID of the contact to add to the account") }).passthrough().describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
6
6
  account_id: zod.z.number().int().describe("The unique ID of the account to add contacts to")
7
7
  }).describe("Request model for adding contacts to an account.");
8
- const SalesflareAddAccountContactsOutput = zod.z.object({ message: zod.z.string().describe("Response message from the API indicating success or failure") }).describe("Response model for adding contacts to an account.");
8
+ const SalesflareAddAccountContactsOutput = zod.z.object({ message: zod.z.string().describe("Response message from the API indicating success or failure").nullable() }).passthrough().describe("Response model for adding contacts to an account.");
9
9
  const salesflareAddAccountContacts = require_action.action("SALESFLARE_ADD_ACCOUNT_CONTACTS", {
10
10
  slug: "salesflare-add-account-contacts",
11
11
  name: "Add Account Contacts",
@@ -1 +1 @@
1
- {"version":3,"file":"add-account-contacts.cjs","names":["z","action"],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput: z.ZodTypeAny = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\"),\n}).describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;CACxI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AACzF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-account-contacts.cjs","names":["z","action"],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).passthrough().describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AACzF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-account-contacts.d.ts
4
- declare const SalesflareAddAccountContactsInput: z.ZodTypeAny;
5
- declare const SalesflareAddAccountContactsOutput: z.ZodTypeAny;
6
- declare const salesflareAddAccountContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareAddAccountContactsInput: z.ZodObject<{
5
+ contacts: z.ZodArray<z.ZodObject<{
6
+ id: z.ZodNumber;
7
+ }, z.core.$loose>>;
8
+ account_id: z.ZodNumber;
9
+ }, z.core.$strip>;
10
+ declare const SalesflareAddAccountContactsOutput: z.ZodObject<{
11
+ message: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const salesflareAddAccountContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ contacts: {
15
+ [x: string]: unknown;
16
+ id: number;
17
+ }[];
18
+ account_id: number;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { salesflareAddAccountContacts };
9
22
  //# sourceMappingURL=add-account-contacts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-account-contacts.d.cts","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKa;AAAA,cAClD,kCAAA,EAAoC,CAAA,CAAE,UAEa;AAAA,cAEnD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-account-contacts.d.cts","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-account-contacts.d.ts
4
- declare const SalesflareAddAccountContactsInput: z.ZodTypeAny;
5
- declare const SalesflareAddAccountContactsOutput: z.ZodTypeAny;
6
- declare const salesflareAddAccountContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareAddAccountContactsInput: z.ZodObject<{
5
+ contacts: z.ZodArray<z.ZodObject<{
6
+ id: z.ZodNumber;
7
+ }, z.core.$loose>>;
8
+ account_id: z.ZodNumber;
9
+ }, z.core.$strip>;
10
+ declare const SalesflareAddAccountContactsOutput: z.ZodObject<{
11
+ message: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const salesflareAddAccountContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ contacts: {
15
+ [x: string]: unknown;
16
+ id: number;
17
+ }[];
18
+ account_id: number;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { salesflareAddAccountContacts };
9
22
  //# sourceMappingURL=add-account-contacts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-account-contacts.d.mts","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKa;AAAA,cAClD,kCAAA,EAAoC,CAAA,CAAE,UAEa;AAAA,cAEnD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-account-contacts.d.mts","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -5,10 +5,10 @@ const salesflareAddAccountContacts = action("SALESFLARE_ADD_ACCOUNT_CONTACTS", {
5
5
  name: "Add Account Contacts",
6
6
  description: "Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.",
7
7
  input: z.object({
8
- contacts: z.array(z.object({ id: z.number().int().describe("The unique ID of the contact to add to the account") }).describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
8
+ contacts: z.array(z.object({ id: z.number().int().describe("The unique ID of the contact to add to the account") }).passthrough().describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
9
9
  account_id: z.number().int().describe("The unique ID of the account to add contacts to")
10
10
  }).describe("Request model for adding contacts to an account."),
11
- output: z.object({ message: z.string().describe("Response message from the API indicating success or failure") }).describe("Response model for adding contacts to an account.")
11
+ output: z.object({ message: z.string().describe("Response message from the API indicating success or failure").nullable() }).passthrough().describe("Response model for adding contacts to an account.")
12
12
  });
13
13
  //#endregion
14
14
  export { salesflareAddAccountContacts };
@@ -1 +1 @@
1
- {"version":3,"file":"add-account-contacts.mjs","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput: z.ZodTypeAny = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\"),\n}).describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6D,EAAE,OAAO;EACtE,UAAU,EAAE,MAAM,EAAE,OAAO,EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;EACxI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACzF,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QAT8D,EAAE,OAAO,EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-account-contacts.mjs","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).passthrough().describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,UAAU,EAAE,MAAM,EAAE,OAAO,EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;EACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACzF,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SalesflareCreateAccountInput = zod.z.object({
8
8
  email: zod.z.string().describe("Primary email address for the account").optional(),
9
9
  links: zod.z.string().describe("Additional links related to the account").optional(),
10
10
  owner: zod.z.number().int().describe("User ID of the account owner in Salesflare").optional(),
11
- custom: zod.z.object({}).describe("Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.").optional(),
11
+ custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.").optional(),
12
12
  domain: zod.z.string().describe("Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.").optional(),
13
13
  picture: zod.z.string().describe("URL to company logo or picture").optional(),
14
14
  website: zod.z.string().describe("Company website URL").optional(),
@@ -19,20 +19,20 @@ const SalesflareCreateAccountInput = zod.z.object({
19
19
  street: zod.z.string().describe("Street address").optional(),
20
20
  country: zod.z.string().describe("Country name").optional(),
21
21
  state_region: zod.z.string().describe("State or region").optional()
22
- }).describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
22
+ }).passthrough().describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
23
23
  customers: zod.z.array(zod.z.object({
24
24
  id: zod.z.number().int().describe("Customer ID"),
25
25
  name: zod.z.string().describe("Customer name").optional(),
26
26
  email: zod.z.string().describe("Customer email address").optional()
27
- }).describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
27
+ }).passthrough().describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
28
28
  description: zod.z.string().describe("Description or notes about the account").optional(),
29
29
  phone_number: zod.z.string().describe("Primary phone number for the account").optional(),
30
30
  phone_numbers: zod.z.array(zod.z.object({
31
31
  type: zod.z.string().describe("Type of phone number (e.g., mobile, work, home)").optional(),
32
32
  number: zod.z.string().describe("Phone number")
33
- }).describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
33
+ }).passthrough().describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
34
34
  parent_account: zod.z.number().int().describe("ID of the parent account if this is a subsidiary or child account").optional(),
35
- email_addresses: zod.z.array(zod.z.object({ email: zod.z.string().describe("Email address") }).describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
35
+ email_addresses: zod.z.array(zod.z.object({ email: zod.z.string().describe("Email address") }).passthrough().describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
36
36
  social_profiles: zod.z.array(zod.z.string()).describe("List of social media profile URLs (LinkedIn, Twitter, etc.)").optional(),
37
37
  update_if_exists: zod.z.boolean().default(false).describe("If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.").optional()
38
38
  }).describe("Request parameters for creating a new account in Salesflare.");
@@ -43,12 +43,12 @@ const SalesflareCreateAccount_AddressInfoSchema = zod.z.object({
43
43
  street: zod.z.string().describe("Street address").nullable().optional(),
44
44
  country: zod.z.string().describe("Country name").nullable().optional(),
45
45
  state_region: zod.z.string().describe("State or region").nullable().optional()
46
- }).describe("Address information for an account.");
46
+ }).passthrough().describe("Address information for an account.");
47
47
  const SalesflareCreateAccount_PhoneNumberInfoSchema = zod.z.object({
48
48
  type: zod.z.string().describe("Type of phone number (e.g., mobile, work, home)").nullable().optional(),
49
- number: zod.z.string().describe("Phone number")
50
- }).describe("Phone number information.");
51
- const SalesflareCreateAccount_EmailAddressInfoSchema = zod.z.object({ email: zod.z.string().describe("Email address") }).describe("Email address information.");
49
+ number: zod.z.string().describe("Phone number").nullable()
50
+ }).passthrough().describe("Phone number information.");
51
+ const SalesflareCreateAccount_EmailAddressInfoSchema = zod.z.object({ email: zod.z.string().describe("Email address").nullable() }).passthrough().describe("Email address information.");
52
52
  const SalesflareCreateAccountOutput = zod.z.object({
53
53
  id: zod.z.number().int().describe("Unique identifier for the created account").nullable().optional(),
54
54
  name: zod.z.string().describe("Name of the account").nullable().optional(),
@@ -56,7 +56,7 @@ const SalesflareCreateAccountOutput = zod.z.object({
56
56
  tags: zod.z.array(zod.z.string()).describe("List of tags").nullable().optional(),
57
57
  email: zod.z.string().describe("Primary email address").nullable().optional(),
58
58
  owner: zod.z.number().int().describe("User ID of the account owner").nullable().optional(),
59
- custom: zod.z.object({}).describe("Custom fields").nullable().optional(),
59
+ custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields").nullable().optional(),
60
60
  domain: zod.z.string().describe("Company domain name").nullable().optional(),
61
61
  picture: zod.z.string().describe("URL to company logo").nullable().optional(),
62
62
  website: zod.z.string().describe("Company website URL").nullable().optional(),
@@ -69,7 +69,7 @@ const SalesflareCreateAccountOutput = zod.z.object({
69
69
  email_addresses: zod.z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe("List of email addresses").nullable().optional(),
70
70
  social_profiles: zod.z.array(zod.z.string()).describe("List of social media profiles").nullable().optional(),
71
71
  modification_date: zod.z.string().describe("ISO 8601 timestamp when the account was last modified").nullable().optional()
72
- }).describe("Response returned after creating an account in Salesflare.");
72
+ }).passthrough().describe("Response returned after creating an account in Salesflare.");
73
73
  const salesflareCreateAccount = require_action.action("SALESFLARE_CREATE_ACCOUNT", {
74
74
  slug: "salesflare-create-account",
75
75
  name: "Create Account",
@@ -1 +1 @@
1
- {"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateAccountInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the account/company. This is the primary identifier for the account.\").optional(),\n size: z.number().int().describe(\"Company size (number of employees)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags for categorizing the account\").optional(),\n email: z.string().describe(\"Primary email address for the account\").optional(),\n links: z.string().describe(\"Additional links related to the account\").optional(),\n owner: z.number().int().describe(\"User ID of the account owner in Salesflare\").optional(),\n custom: z.object({}).describe(\"Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.\").optional(),\n domain: z.string().describe(\"Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.\").optional(),\n picture: z.string().describe(\"URL to company logo or picture\").optional(),\n website: z.string().describe(\"Company website URL\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).describe(\"Address information for an account.\")).describe(\"List of addresses associated with the account\").optional(),\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID\"),\n name: z.string().describe(\"Customer name\").optional(),\n email: z.string().describe(\"Customer email address\").optional(),\n}).describe(\"Customer information for an account.\")).describe(\"List of customers associated with this account\").optional(),\n description: z.string().describe(\"Description or notes about the account\").optional(),\n phone_number: z.string().describe(\"Primary phone number for the account\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").optional(),\n number: z.string().describe(\"Phone number\"),\n}).describe(\"Phone number information.\")).describe(\"List of phone numbers associated with the account\").optional(),\n parent_account: z.number().int().describe(\"ID of the parent account if this is a subsidiary or child account\").optional(),\n email_addresses: z.array(z.object({\n email: z.string().describe(\"Email address\"),\n}).describe(\"Email address information.\")).describe(\"List of email addresses associated with the account\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs (LinkedIn, Twitter, etc.)\").optional(),\n update_if_exists: z.boolean().default(false).describe(\"If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.\").optional(),\n}).describe(\"Request parameters for creating a new account in Salesflare.\");\nconst SalesflareCreateAccount_AddressInfoSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information for an account.\");\nconst SalesflareCreateAccount_PhoneNumberInfoSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\"),\n}).describe(\"Phone number information.\");\nconst SalesflareCreateAccount_EmailAddressInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address\"),\n}).describe(\"Email address information.\");\nexport const SalesflareCreateAccountOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the created account\").nullable().optional(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n size: z.number().int().describe(\"Company size\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the account owner\").nullable().optional(),\n custom: z.object({}).describe(\"Custom fields\").nullable().optional(),\n domain: z.string().describe(\"Company domain name\").nullable().optional(),\n picture: z.string().describe(\"URL to company logo\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n addresses: z.array(SalesflareCreateAccount_AddressInfoSchema).describe(\"List of addresses\").nullable().optional(),\n description: z.string().describe(\"Description of the account\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n phone_numbers: z.array(SalesflareCreateAccount_PhoneNumberInfoSchema).describe(\"List of phone numbers\").nullable().optional(),\n parent_account: z.number().int().describe(\"ID of the parent account\").nullable().optional(),\n email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe(\"List of email addresses\").nullable().optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n}).describe(\"Response returned after creating an account in Salesflare.\");\n\nexport const salesflareCreateAccount = action(\"SALESFLARE_CREATE_ACCOUNT\", {\n slug: \"salesflare-create-account\",\n name: \"Create Account\",\n description: \"Tool to create a new account in Salesflare. Use when you need to add a new company or organization to your CRM. If update_if_exists is true and an account with matching domain exists, it will be updated instead of creating a duplicate.\",\n input: SalesflareCreateAccountInput,\n output: SalesflareCreateAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateAccountInput = z.object({\n name: z.string().describe(\"Name of the account/company. This is the primary identifier for the account.\").optional(),\n size: z.number().int().describe(\"Company size (number of employees)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags for categorizing the account\").optional(),\n email: z.string().describe(\"Primary email address for the account\").optional(),\n links: z.string().describe(\"Additional links related to the account\").optional(),\n owner: z.number().int().describe(\"User ID of the account owner in Salesflare\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.\").optional(),\n domain: z.string().describe(\"Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.\").optional(),\n picture: z.string().describe(\"URL to company logo or picture\").optional(),\n website: z.string().describe(\"Company website URL\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).passthrough().describe(\"Address information for an account.\")).describe(\"List of addresses associated with the account\").optional(),\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID\"),\n name: z.string().describe(\"Customer name\").optional(),\n email: z.string().describe(\"Customer email address\").optional(),\n}).passthrough().describe(\"Customer information for an account.\")).describe(\"List of customers associated with this account\").optional(),\n description: z.string().describe(\"Description or notes about the account\").optional(),\n phone_number: z.string().describe(\"Primary phone number for the account\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").optional(),\n number: z.string().describe(\"Phone number\"),\n}).passthrough().describe(\"Phone number information.\")).describe(\"List of phone numbers associated with the account\").optional(),\n parent_account: z.number().int().describe(\"ID of the parent account if this is a subsidiary or child account\").optional(),\n email_addresses: z.array(z.object({\n email: z.string().describe(\"Email address\"),\n}).passthrough().describe(\"Email address information.\")).describe(\"List of email addresses associated with the account\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs (LinkedIn, Twitter, etc.)\").optional(),\n update_if_exists: z.boolean().default(false).describe(\"If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.\").optional(),\n}).describe(\"Request parameters for creating a new account in Salesflare.\");\nconst SalesflareCreateAccount_AddressInfoSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").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 for an account.\");\nconst SalesflareCreateAccount_PhoneNumberInfoSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable(),\n}).passthrough().describe(\"Phone number information.\");\nconst SalesflareCreateAccount_EmailAddressInfoSchema = z.object({\n email: z.string().describe(\"Email address\").nullable(),\n}).passthrough().describe(\"Email address information.\");\nexport const SalesflareCreateAccountOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created account\").nullable().optional(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n size: z.number().int().describe(\"Company size\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the account owner\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields\").nullable().optional(),\n domain: z.string().describe(\"Company domain name\").nullable().optional(),\n picture: z.string().describe(\"URL to company logo\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n addresses: z.array(SalesflareCreateAccount_AddressInfoSchema).describe(\"List of addresses\").nullable().optional(),\n description: z.string().describe(\"Description of the account\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n phone_numbers: z.array(SalesflareCreateAccount_PhoneNumberInfoSchema).describe(\"List of phone numbers\").nullable().optional(),\n parent_account: z.number().int().describe(\"ID of the parent account\").nullable().optional(),\n email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe(\"List of email addresses\").nullable().optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response returned after creating an account in Salesflare.\");\n\nexport const salesflareCreateAccount = action(\"SALESFLARE_CREATE_ACCOUNT\", {\n slug: \"salesflare-create-account\",\n name: \"Create Account\",\n description: \"Tool to create a new account in Salesflare. Use when you need to add a new company or organization to your CRM. If update_if_exists is true and an account with matching domain exists, it will be updated instead of creating a duplicate.\",\n input: SalesflareCreateAccountInput,\n output: SalesflareCreateAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CACvN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC1M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WA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,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,117 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-account.d.ts
4
- declare const SalesflareCreateAccountInput: z.ZodTypeAny;
5
- declare const SalesflareCreateAccountOutput: z.ZodTypeAny;
6
- declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareCreateAccountInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ size: z.ZodOptional<z.ZodNumber>;
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ links: z.ZodOptional<z.ZodString>;
10
+ owner: z.ZodOptional<z.ZodNumber>;
11
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
+ domain: z.ZodOptional<z.ZodString>;
13
+ picture: z.ZodOptional<z.ZodString>;
14
+ website: z.ZodOptional<z.ZodString>;
15
+ addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ zip: z.ZodOptional<z.ZodString>;
17
+ city: z.ZodOptional<z.ZodString>;
18
+ region: z.ZodOptional<z.ZodString>;
19
+ street: z.ZodOptional<z.ZodString>;
20
+ country: z.ZodOptional<z.ZodString>;
21
+ state_region: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$loose>>>;
23
+ customers: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
+ id: z.ZodNumber;
25
+ name: z.ZodOptional<z.ZodString>;
26
+ email: z.ZodOptional<z.ZodString>;
27
+ }, z.core.$loose>>>;
28
+ description: z.ZodOptional<z.ZodString>;
29
+ phone_number: z.ZodOptional<z.ZodString>;
30
+ phone_numbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ type: z.ZodOptional<z.ZodString>;
32
+ number: z.ZodString;
33
+ }, z.core.$loose>>>;
34
+ parent_account: z.ZodOptional<z.ZodNumber>;
35
+ email_addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
+ email: z.ZodString;
37
+ }, z.core.$loose>>>;
38
+ social_profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ update_if_exists: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
40
+ }, z.core.$strip>;
41
+ declare const SalesflareCreateAccountOutput: z.ZodObject<{
42
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
46
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ owner: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
49
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
53
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ state_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ }, z.core.$loose>>>>;
60
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
64
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ number: z.ZodNullable<z.ZodString>;
66
+ }, z.core.$loose>>>>;
67
+ parent_account: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
68
+ email_addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
69
+ email: z.ZodNullable<z.ZodString>;
70
+ }, z.core.$loose>>>>;
71
+ social_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
72
+ modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ }, z.core.$loose>;
74
+ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
75
+ name?: string | undefined;
76
+ size?: number | undefined;
77
+ tags?: string[] | undefined;
78
+ email?: string | undefined;
79
+ links?: string | undefined;
80
+ owner?: number | undefined;
81
+ custom?: Record<string, unknown> | undefined;
82
+ domain?: string | undefined;
83
+ picture?: string | undefined;
84
+ website?: string | undefined;
85
+ addresses?: {
86
+ [x: string]: unknown;
87
+ zip?: string | undefined;
88
+ city?: string | undefined;
89
+ region?: string | undefined;
90
+ street?: string | undefined;
91
+ country?: string | undefined;
92
+ state_region?: string | undefined;
93
+ }[] | undefined;
94
+ customers?: {
95
+ [x: string]: unknown;
96
+ id: number;
97
+ name?: string | undefined;
98
+ email?: string | undefined;
99
+ }[] | undefined;
100
+ description?: string | undefined;
101
+ phone_number?: string | undefined;
102
+ phone_numbers?: {
103
+ [x: string]: unknown;
104
+ number: string;
105
+ type?: string | undefined;
106
+ }[] | undefined;
107
+ parent_account?: number | undefined;
108
+ email_addresses?: {
109
+ [x: string]: unknown;
110
+ email: string;
111
+ }[] | undefined;
112
+ social_profiles?: string[] | undefined;
113
+ update_if_exists?: boolean | undefined;
114
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
115
  //#endregion
8
116
  export { salesflareCreateAccount };
9
117
  //# sourceMappingURL=create-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-account.d.cts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAoC8B;AAAA,cAgB9D,6BAAA,EAA+B,CAAA,CAAE,UAoB2B;AAAA,cAE5D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-account.d.cts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoD5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsB7B,uBAAA,gCAAuB,wBAAA;;;;;;;WAMlC,MAAA"}
@@ -1,9 +1,117 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-account.d.ts
4
- declare const SalesflareCreateAccountInput: z.ZodTypeAny;
5
- declare const SalesflareCreateAccountOutput: z.ZodTypeAny;
6
- declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesflareCreateAccountInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ size: z.ZodOptional<z.ZodNumber>;
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ links: z.ZodOptional<z.ZodString>;
10
+ owner: z.ZodOptional<z.ZodNumber>;
11
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
+ domain: z.ZodOptional<z.ZodString>;
13
+ picture: z.ZodOptional<z.ZodString>;
14
+ website: z.ZodOptional<z.ZodString>;
15
+ addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ zip: z.ZodOptional<z.ZodString>;
17
+ city: z.ZodOptional<z.ZodString>;
18
+ region: z.ZodOptional<z.ZodString>;
19
+ street: z.ZodOptional<z.ZodString>;
20
+ country: z.ZodOptional<z.ZodString>;
21
+ state_region: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$loose>>>;
23
+ customers: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
+ id: z.ZodNumber;
25
+ name: z.ZodOptional<z.ZodString>;
26
+ email: z.ZodOptional<z.ZodString>;
27
+ }, z.core.$loose>>>;
28
+ description: z.ZodOptional<z.ZodString>;
29
+ phone_number: z.ZodOptional<z.ZodString>;
30
+ phone_numbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ type: z.ZodOptional<z.ZodString>;
32
+ number: z.ZodString;
33
+ }, z.core.$loose>>>;
34
+ parent_account: z.ZodOptional<z.ZodNumber>;
35
+ email_addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
+ email: z.ZodString;
37
+ }, z.core.$loose>>>;
38
+ social_profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ update_if_exists: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
40
+ }, z.core.$strip>;
41
+ declare const SalesflareCreateAccountOutput: z.ZodObject<{
42
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
46
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ owner: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
49
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
53
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ state_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ }, z.core.$loose>>>>;
60
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
64
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ number: z.ZodNullable<z.ZodString>;
66
+ }, z.core.$loose>>>>;
67
+ parent_account: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
68
+ email_addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
69
+ email: z.ZodNullable<z.ZodString>;
70
+ }, z.core.$loose>>>>;
71
+ social_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
72
+ modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ }, z.core.$loose>;
74
+ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
75
+ name?: string | undefined;
76
+ size?: number | undefined;
77
+ tags?: string[] | undefined;
78
+ email?: string | undefined;
79
+ links?: string | undefined;
80
+ owner?: number | undefined;
81
+ custom?: Record<string, unknown> | undefined;
82
+ domain?: string | undefined;
83
+ picture?: string | undefined;
84
+ website?: string | undefined;
85
+ addresses?: {
86
+ [x: string]: unknown;
87
+ zip?: string | undefined;
88
+ city?: string | undefined;
89
+ region?: string | undefined;
90
+ street?: string | undefined;
91
+ country?: string | undefined;
92
+ state_region?: string | undefined;
93
+ }[] | undefined;
94
+ customers?: {
95
+ [x: string]: unknown;
96
+ id: number;
97
+ name?: string | undefined;
98
+ email?: string | undefined;
99
+ }[] | undefined;
100
+ description?: string | undefined;
101
+ phone_number?: string | undefined;
102
+ phone_numbers?: {
103
+ [x: string]: unknown;
104
+ number: string;
105
+ type?: string | undefined;
106
+ }[] | undefined;
107
+ parent_account?: number | undefined;
108
+ email_addresses?: {
109
+ [x: string]: unknown;
110
+ email: string;
111
+ }[] | undefined;
112
+ social_profiles?: string[] | undefined;
113
+ update_if_exists?: boolean | undefined;
114
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
115
  //#endregion
8
116
  export { salesflareCreateAccount };
9
117
  //# sourceMappingURL=create-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-account.d.mts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAoC8B;AAAA,cAgB9D,6BAAA,EAA+B,CAAA,CAAE,UAoB2B;AAAA,cAE5D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-account.d.mts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoD5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsB7B,uBAAA,gCAAuB,wBAAA;;;;;;;WAMlC,MAAA"}
@@ -8,7 +8,7 @@ const SalesflareCreateAccountInput = z.object({
8
8
  email: z.string().describe("Primary email address for the account").optional(),
9
9
  links: z.string().describe("Additional links related to the account").optional(),
10
10
  owner: z.number().int().describe("User ID of the account owner in Salesflare").optional(),
11
- custom: z.object({}).describe("Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.").optional(),
11
+ custom: z.record(z.string(), z.unknown()).describe("Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.").optional(),
12
12
  domain: z.string().describe("Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.").optional(),
13
13
  picture: z.string().describe("URL to company logo or picture").optional(),
14
14
  website: z.string().describe("Company website URL").optional(),
@@ -19,20 +19,20 @@ const SalesflareCreateAccountInput = z.object({
19
19
  street: z.string().describe("Street address").optional(),
20
20
  country: z.string().describe("Country name").optional(),
21
21
  state_region: z.string().describe("State or region").optional()
22
- }).describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
22
+ }).passthrough().describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
23
23
  customers: z.array(z.object({
24
24
  id: z.number().int().describe("Customer ID"),
25
25
  name: z.string().describe("Customer name").optional(),
26
26
  email: z.string().describe("Customer email address").optional()
27
- }).describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
27
+ }).passthrough().describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
28
28
  description: z.string().describe("Description or notes about the account").optional(),
29
29
  phone_number: z.string().describe("Primary phone number for the account").optional(),
30
30
  phone_numbers: z.array(z.object({
31
31
  type: z.string().describe("Type of phone number (e.g., mobile, work, home)").optional(),
32
32
  number: z.string().describe("Phone number")
33
- }).describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
33
+ }).passthrough().describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
34
34
  parent_account: z.number().int().describe("ID of the parent account if this is a subsidiary or child account").optional(),
35
- email_addresses: z.array(z.object({ email: z.string().describe("Email address") }).describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
35
+ email_addresses: z.array(z.object({ email: z.string().describe("Email address") }).passthrough().describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
36
36
  social_profiles: z.array(z.string()).describe("List of social media profile URLs (LinkedIn, Twitter, etc.)").optional(),
37
37
  update_if_exists: z.boolean().default(false).describe("If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.").optional()
38
38
  }).describe("Request parameters for creating a new account in Salesflare.");
@@ -43,12 +43,12 @@ const SalesflareCreateAccount_AddressInfoSchema = z.object({
43
43
  street: z.string().describe("Street address").nullable().optional(),
44
44
  country: z.string().describe("Country name").nullable().optional(),
45
45
  state_region: z.string().describe("State or region").nullable().optional()
46
- }).describe("Address information for an account.");
46
+ }).passthrough().describe("Address information for an account.");
47
47
  const SalesflareCreateAccount_PhoneNumberInfoSchema = z.object({
48
48
  type: z.string().describe("Type of phone number (e.g., mobile, work, home)").nullable().optional(),
49
- number: z.string().describe("Phone number")
50
- }).describe("Phone number information.");
51
- const SalesflareCreateAccount_EmailAddressInfoSchema = z.object({ email: z.string().describe("Email address") }).describe("Email address information.");
49
+ number: z.string().describe("Phone number").nullable()
50
+ }).passthrough().describe("Phone number information.");
51
+ const SalesflareCreateAccount_EmailAddressInfoSchema = z.object({ email: z.string().describe("Email address").nullable() }).passthrough().describe("Email address information.");
52
52
  const salesflareCreateAccount = action("SALESFLARE_CREATE_ACCOUNT", {
53
53
  slug: "salesflare-create-account",
54
54
  name: "Create Account",
@@ -61,7 +61,7 @@ const salesflareCreateAccount = action("SALESFLARE_CREATE_ACCOUNT", {
61
61
  tags: z.array(z.string()).describe("List of tags").nullable().optional(),
62
62
  email: z.string().describe("Primary email address").nullable().optional(),
63
63
  owner: z.number().int().describe("User ID of the account owner").nullable().optional(),
64
- custom: z.object({}).describe("Custom fields").nullable().optional(),
64
+ custom: z.record(z.string(), z.unknown()).describe("Custom fields").nullable().optional(),
65
65
  domain: z.string().describe("Company domain name").nullable().optional(),
66
66
  picture: z.string().describe("URL to company logo").nullable().optional(),
67
67
  website: z.string().describe("Company website URL").nullable().optional(),
@@ -74,7 +74,7 @@ const salesflareCreateAccount = action("SALESFLARE_CREATE_ACCOUNT", {
74
74
  email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe("List of email addresses").nullable().optional(),
75
75
  social_profiles: z.array(z.string()).describe("List of social media profiles").nullable().optional(),
76
76
  modification_date: z.string().describe("ISO 8601 timestamp when the account was last modified").nullable().optional()
77
- }).describe("Response returned after creating an account in Salesflare.")
77
+ }).passthrough().describe("Response returned after creating an account in Salesflare.")
78
78
  });
79
79
  //#endregion
80
80
  export { salesflareCreateAccount };