@keystrokehq/salesflare 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (538) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-account-contacts.cjs +19 -0
  7. package/dist/actions/add-account-contacts.cjs.map +1 -0
  8. package/dist/actions/add-account-contacts.d.cts +9 -0
  9. package/dist/actions/add-account-contacts.d.cts.map +1 -0
  10. package/dist/actions/add-account-contacts.d.mts +9 -0
  11. package/dist/actions/add-account-contacts.d.mts.map +1 -0
  12. package/dist/actions/add-account-contacts.mjs +16 -0
  13. package/dist/actions/add-account-contacts.mjs.map +1 -0
  14. package/dist/actions/create-account.cjs +83 -0
  15. package/dist/actions/create-account.cjs.map +1 -0
  16. package/dist/actions/create-account.d.cts +9 -0
  17. package/dist/actions/create-account.d.cts.map +1 -0
  18. package/dist/actions/create-account.d.mts +9 -0
  19. package/dist/actions/create-account.d.mts.map +1 -0
  20. package/dist/actions/create-account.mjs +82 -0
  21. package/dist/actions/create-account.mjs.map +1 -0
  22. package/dist/actions/create-call.cjs +31 -0
  23. package/dist/actions/create-call.cjs.map +1 -0
  24. package/dist/actions/create-call.d.cts +9 -0
  25. package/dist/actions/create-call.d.cts.map +1 -0
  26. package/dist/actions/create-call.d.mts +9 -0
  27. package/dist/actions/create-call.d.mts.map +1 -0
  28. package/dist/actions/create-call.mjs +30 -0
  29. package/dist/actions/create-call.mjs.map +1 -0
  30. package/dist/actions/create-contact.cjs +71 -0
  31. package/dist/actions/create-contact.cjs.map +1 -0
  32. package/dist/actions/create-contact.d.cts +9 -0
  33. package/dist/actions/create-contact.d.cts.map +1 -0
  34. package/dist/actions/create-contact.d.mts +9 -0
  35. package/dist/actions/create-contact.d.mts.map +1 -0
  36. package/dist/actions/create-contact.mjs +70 -0
  37. package/dist/actions/create-contact.mjs.map +1 -0
  38. package/dist/actions/create-custom-field.cjs +42 -0
  39. package/dist/actions/create-custom-field.cjs.map +1 -0
  40. package/dist/actions/create-custom-field.d.cts +9 -0
  41. package/dist/actions/create-custom-field.d.cts.map +1 -0
  42. package/dist/actions/create-custom-field.d.mts +9 -0
  43. package/dist/actions/create-custom-field.d.mts.map +1 -0
  44. package/dist/actions/create-custom-field.mjs +39 -0
  45. package/dist/actions/create-custom-field.mjs.map +1 -0
  46. package/dist/actions/create-internal-note.cjs +29 -0
  47. package/dist/actions/create-internal-note.cjs.map +1 -0
  48. package/dist/actions/create-internal-note.d.cts +9 -0
  49. package/dist/actions/create-internal-note.d.cts.map +1 -0
  50. package/dist/actions/create-internal-note.d.mts +9 -0
  51. package/dist/actions/create-internal-note.d.mts.map +1 -0
  52. package/dist/actions/create-internal-note.mjs +26 -0
  53. package/dist/actions/create-internal-note.mjs.map +1 -0
  54. package/dist/actions/create-meeting.cjs +30 -0
  55. package/dist/actions/create-meeting.cjs.map +1 -0
  56. package/dist/actions/create-meeting.d.cts +9 -0
  57. package/dist/actions/create-meeting.d.cts.map +1 -0
  58. package/dist/actions/create-meeting.d.mts +9 -0
  59. package/dist/actions/create-meeting.d.mts.map +1 -0
  60. package/dist/actions/create-meeting.mjs +27 -0
  61. package/dist/actions/create-meeting.mjs.map +1 -0
  62. package/dist/actions/create-opportunity.cjs +44 -0
  63. package/dist/actions/create-opportunity.cjs.map +1 -0
  64. package/dist/actions/create-opportunity.d.cts +9 -0
  65. package/dist/actions/create-opportunity.d.cts.map +1 -0
  66. package/dist/actions/create-opportunity.d.mts +9 -0
  67. package/dist/actions/create-opportunity.d.mts.map +1 -0
  68. package/dist/actions/create-opportunity.mjs +41 -0
  69. package/dist/actions/create-opportunity.mjs.map +1 -0
  70. package/dist/actions/create-tag.cjs +16 -0
  71. package/dist/actions/create-tag.cjs.map +1 -0
  72. package/dist/actions/create-tag.d.cts +9 -0
  73. package/dist/actions/create-tag.d.cts.map +1 -0
  74. package/dist/actions/create-tag.d.mts +9 -0
  75. package/dist/actions/create-tag.d.mts.map +1 -0
  76. package/dist/actions/create-tag.mjs +13 -0
  77. package/dist/actions/create-tag.mjs.map +1 -0
  78. package/dist/actions/create-task.cjs +21 -0
  79. package/dist/actions/create-task.cjs.map +1 -0
  80. package/dist/actions/create-task.d.cts +9 -0
  81. package/dist/actions/create-task.d.cts.map +1 -0
  82. package/dist/actions/create-task.d.mts +9 -0
  83. package/dist/actions/create-task.d.mts.map +1 -0
  84. package/dist/actions/create-task.mjs +18 -0
  85. package/dist/actions/create-task.mjs.map +1 -0
  86. package/dist/actions/create-workflow.cjs +97 -0
  87. package/dist/actions/create-workflow.cjs.map +1 -0
  88. package/dist/actions/create-workflow.d.cts +9 -0
  89. package/dist/actions/create-workflow.d.cts.map +1 -0
  90. package/dist/actions/create-workflow.d.mts +9 -0
  91. package/dist/actions/create-workflow.d.mts.map +1 -0
  92. package/dist/actions/create-workflow.mjs +94 -0
  93. package/dist/actions/create-workflow.mjs.map +1 -0
  94. package/dist/actions/delete-account.cjs +16 -0
  95. package/dist/actions/delete-account.cjs.map +1 -0
  96. package/dist/actions/delete-account.d.cts +9 -0
  97. package/dist/actions/delete-account.d.cts.map +1 -0
  98. package/dist/actions/delete-account.d.mts +9 -0
  99. package/dist/actions/delete-account.d.mts.map +1 -0
  100. package/dist/actions/delete-account.mjs +13 -0
  101. package/dist/actions/delete-account.mjs.map +1 -0
  102. package/dist/actions/delete-contact.cjs +19 -0
  103. package/dist/actions/delete-contact.cjs.map +1 -0
  104. package/dist/actions/delete-contact.d.cts +9 -0
  105. package/dist/actions/delete-contact.d.cts.map +1 -0
  106. package/dist/actions/delete-contact.d.mts +9 -0
  107. package/dist/actions/delete-contact.d.mts.map +1 -0
  108. package/dist/actions/delete-contact.mjs +16 -0
  109. package/dist/actions/delete-contact.mjs.map +1 -0
  110. package/dist/actions/delete-custom-field.cjs +26 -0
  111. package/dist/actions/delete-custom-field.cjs.map +1 -0
  112. package/dist/actions/delete-custom-field.d.cts +9 -0
  113. package/dist/actions/delete-custom-field.d.cts.map +1 -0
  114. package/dist/actions/delete-custom-field.d.mts +9 -0
  115. package/dist/actions/delete-custom-field.d.mts.map +1 -0
  116. package/dist/actions/delete-custom-field.mjs +23 -0
  117. package/dist/actions/delete-custom-field.mjs.map +1 -0
  118. package/dist/actions/delete-internal-note.cjs +20 -0
  119. package/dist/actions/delete-internal-note.cjs.map +1 -0
  120. package/dist/actions/delete-internal-note.d.cts +9 -0
  121. package/dist/actions/delete-internal-note.d.cts.map +1 -0
  122. package/dist/actions/delete-internal-note.d.mts +9 -0
  123. package/dist/actions/delete-internal-note.d.mts.map +1 -0
  124. package/dist/actions/delete-internal-note.mjs +17 -0
  125. package/dist/actions/delete-internal-note.mjs.map +1 -0
  126. package/dist/actions/delete-meeting.cjs +16 -0
  127. package/dist/actions/delete-meeting.cjs.map +1 -0
  128. package/dist/actions/delete-meeting.d.cts +9 -0
  129. package/dist/actions/delete-meeting.d.cts.map +1 -0
  130. package/dist/actions/delete-meeting.d.mts +9 -0
  131. package/dist/actions/delete-meeting.d.mts.map +1 -0
  132. package/dist/actions/delete-meeting.mjs +13 -0
  133. package/dist/actions/delete-meeting.mjs.map +1 -0
  134. package/dist/actions/delete-opportunity.cjs +16 -0
  135. package/dist/actions/delete-opportunity.cjs.map +1 -0
  136. package/dist/actions/delete-opportunity.d.cts +9 -0
  137. package/dist/actions/delete-opportunity.d.cts.map +1 -0
  138. package/dist/actions/delete-opportunity.d.mts +9 -0
  139. package/dist/actions/delete-opportunity.d.mts.map +1 -0
  140. package/dist/actions/delete-opportunity.mjs +13 -0
  141. package/dist/actions/delete-opportunity.mjs.map +1 -0
  142. package/dist/actions/delete-tag.cjs +16 -0
  143. package/dist/actions/delete-tag.cjs.map +1 -0
  144. package/dist/actions/delete-tag.d.cts +9 -0
  145. package/dist/actions/delete-tag.d.cts.map +1 -0
  146. package/dist/actions/delete-tag.d.mts +9 -0
  147. package/dist/actions/delete-tag.d.mts.map +1 -0
  148. package/dist/actions/delete-tag.mjs +13 -0
  149. package/dist/actions/delete-tag.mjs.map +1 -0
  150. package/dist/actions/delete-task.cjs +16 -0
  151. package/dist/actions/delete-task.cjs.map +1 -0
  152. package/dist/actions/delete-task.d.cts +9 -0
  153. package/dist/actions/delete-task.d.cts.map +1 -0
  154. package/dist/actions/delete-task.d.mts +9 -0
  155. package/dist/actions/delete-task.d.mts.map +1 -0
  156. package/dist/actions/delete-task.mjs +13 -0
  157. package/dist/actions/delete-task.mjs.map +1 -0
  158. package/dist/actions/get-account.cjs +80 -0
  159. package/dist/actions/get-account.cjs.map +1 -0
  160. package/dist/actions/get-account.d.cts +9 -0
  161. package/dist/actions/get-account.d.cts.map +1 -0
  162. package/dist/actions/get-account.d.mts +9 -0
  163. package/dist/actions/get-account.d.mts.map +1 -0
  164. package/dist/actions/get-account.mjs +79 -0
  165. package/dist/actions/get-account.mjs.map +1 -0
  166. package/dist/actions/get-ai-settings.cjs +28 -0
  167. package/dist/actions/get-ai-settings.cjs.map +1 -0
  168. package/dist/actions/get-ai-settings.d.cts +9 -0
  169. package/dist/actions/get-ai-settings.d.cts.map +1 -0
  170. package/dist/actions/get-ai-settings.d.mts +9 -0
  171. package/dist/actions/get-ai-settings.d.mts.map +1 -0
  172. package/dist/actions/get-ai-settings.mjs +27 -0
  173. package/dist/actions/get-ai-settings.mjs.map +1 -0
  174. package/dist/actions/get-contact.cjs +102 -0
  175. package/dist/actions/get-contact.cjs.map +1 -0
  176. package/dist/actions/get-contact.d.cts +9 -0
  177. package/dist/actions/get-contact.d.cts.map +1 -0
  178. package/dist/actions/get-contact.d.mts +9 -0
  179. package/dist/actions/get-contact.d.mts.map +1 -0
  180. package/dist/actions/get-contact.mjs +101 -0
  181. package/dist/actions/get-contact.mjs.map +1 -0
  182. package/dist/actions/get-current-user.cjs +177 -0
  183. package/dist/actions/get-current-user.cjs.map +1 -0
  184. package/dist/actions/get-current-user.d.cts +9 -0
  185. package/dist/actions/get-current-user.d.cts.map +1 -0
  186. package/dist/actions/get-current-user.d.mts +9 -0
  187. package/dist/actions/get-current-user.d.mts.map +1 -0
  188. package/dist/actions/get-current-user.mjs +176 -0
  189. package/dist/actions/get-current-user.mjs.map +1 -0
  190. package/dist/actions/get-custom-field.cjs +53 -0
  191. package/dist/actions/get-custom-field.cjs.map +1 -0
  192. package/dist/actions/get-custom-field.d.cts +9 -0
  193. package/dist/actions/get-custom-field.d.cts.map +1 -0
  194. package/dist/actions/get-custom-field.d.mts +9 -0
  195. package/dist/actions/get-custom-field.d.mts.map +1 -0
  196. package/dist/actions/get-custom-field.mjs +52 -0
  197. package/dist/actions/get-custom-field.mjs.map +1 -0
  198. package/dist/actions/get-meeting.cjs +32 -0
  199. package/dist/actions/get-meeting.cjs.map +1 -0
  200. package/dist/actions/get-meeting.d.cts +9 -0
  201. package/dist/actions/get-meeting.d.cts.map +1 -0
  202. package/dist/actions/get-meeting.d.mts +9 -0
  203. package/dist/actions/get-meeting.d.mts.map +1 -0
  204. package/dist/actions/get-meeting.mjs +31 -0
  205. package/dist/actions/get-meeting.mjs.map +1 -0
  206. package/dist/actions/get-opportunity.cjs +122 -0
  207. package/dist/actions/get-opportunity.cjs.map +1 -0
  208. package/dist/actions/get-opportunity.d.cts +9 -0
  209. package/dist/actions/get-opportunity.d.cts.map +1 -0
  210. package/dist/actions/get-opportunity.d.mts +9 -0
  211. package/dist/actions/get-opportunity.d.mts.map +1 -0
  212. package/dist/actions/get-opportunity.mjs +121 -0
  213. package/dist/actions/get-opportunity.mjs.map +1 -0
  214. package/dist/actions/get-stage.cjs +31 -0
  215. package/dist/actions/get-stage.cjs.map +1 -0
  216. package/dist/actions/get-stage.d.cts +9 -0
  217. package/dist/actions/get-stage.d.cts.map +1 -0
  218. package/dist/actions/get-stage.d.mts +9 -0
  219. package/dist/actions/get-stage.d.mts.map +1 -0
  220. package/dist/actions/get-stage.mjs +30 -0
  221. package/dist/actions/get-stage.mjs.map +1 -0
  222. package/dist/actions/get-tag-usage.cjs +35 -0
  223. package/dist/actions/get-tag-usage.cjs.map +1 -0
  224. package/dist/actions/get-tag-usage.d.cts +9 -0
  225. package/dist/actions/get-tag-usage.d.cts.map +1 -0
  226. package/dist/actions/get-tag-usage.d.mts +9 -0
  227. package/dist/actions/get-tag-usage.d.mts.map +1 -0
  228. package/dist/actions/get-tag-usage.mjs +34 -0
  229. package/dist/actions/get-tag-usage.mjs.map +1 -0
  230. package/dist/actions/get-user.cjs +79 -0
  231. package/dist/actions/get-user.cjs.map +1 -0
  232. package/dist/actions/get-user.d.cts +9 -0
  233. package/dist/actions/get-user.d.cts.map +1 -0
  234. package/dist/actions/get-user.d.mts +9 -0
  235. package/dist/actions/get-user.d.mts.map +1 -0
  236. package/dist/actions/get-user.mjs +78 -0
  237. package/dist/actions/get-user.mjs.map +1 -0
  238. package/dist/actions/get-workflow-merge-fields.cjs +24 -0
  239. package/dist/actions/get-workflow-merge-fields.cjs.map +1 -0
  240. package/dist/actions/get-workflow-merge-fields.d.cts +9 -0
  241. package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -0
  242. package/dist/actions/get-workflow-merge-fields.d.mts +9 -0
  243. package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -0
  244. package/dist/actions/get-workflow-merge-fields.mjs +23 -0
  245. package/dist/actions/get-workflow-merge-fields.mjs.map +1 -0
  246. package/dist/actions/get-workflow.cjs +111 -0
  247. package/dist/actions/get-workflow.cjs.map +1 -0
  248. package/dist/actions/get-workflow.d.cts +9 -0
  249. package/dist/actions/get-workflow.d.cts.map +1 -0
  250. package/dist/actions/get-workflow.d.mts +9 -0
  251. package/dist/actions/get-workflow.d.mts.map +1 -0
  252. package/dist/actions/get-workflow.mjs +110 -0
  253. package/dist/actions/get-workflow.mjs.map +1 -0
  254. package/dist/actions/index.cjs +127 -0
  255. package/dist/actions/index.d.cts +64 -0
  256. package/dist/actions/index.d.mts +64 -0
  257. package/dist/actions/index.mjs +64 -0
  258. package/dist/actions/list-account-messages.cjs +42 -0
  259. package/dist/actions/list-account-messages.cjs.map +1 -0
  260. package/dist/actions/list-account-messages.d.cts +9 -0
  261. package/dist/actions/list-account-messages.d.cts.map +1 -0
  262. package/dist/actions/list-account-messages.d.mts +9 -0
  263. package/dist/actions/list-account-messages.d.mts.map +1 -0
  264. package/dist/actions/list-account-messages.mjs +41 -0
  265. package/dist/actions/list-account-messages.mjs.map +1 -0
  266. package/dist/actions/list-accounts.cjs +82 -0
  267. package/dist/actions/list-accounts.cjs.map +1 -0
  268. package/dist/actions/list-accounts.d.cts +9 -0
  269. package/dist/actions/list-accounts.d.cts.map +1 -0
  270. package/dist/actions/list-accounts.d.mts +9 -0
  271. package/dist/actions/list-accounts.d.mts.map +1 -0
  272. package/dist/actions/list-accounts.mjs +81 -0
  273. package/dist/actions/list-accounts.mjs.map +1 -0
  274. package/dist/actions/list-contacts.cjs +128 -0
  275. package/dist/actions/list-contacts.cjs.map +1 -0
  276. package/dist/actions/list-contacts.d.cts +9 -0
  277. package/dist/actions/list-contacts.d.cts.map +1 -0
  278. package/dist/actions/list-contacts.d.mts +9 -0
  279. package/dist/actions/list-contacts.d.mts.map +1 -0
  280. package/dist/actions/list-contacts.mjs +127 -0
  281. package/dist/actions/list-contacts.mjs.map +1 -0
  282. package/dist/actions/list-currencies.cjs +21 -0
  283. package/dist/actions/list-currencies.cjs.map +1 -0
  284. package/dist/actions/list-currencies.d.cts +9 -0
  285. package/dist/actions/list-currencies.d.cts.map +1 -0
  286. package/dist/actions/list-currencies.d.mts +9 -0
  287. package/dist/actions/list-currencies.d.mts.map +1 -0
  288. package/dist/actions/list-currencies.mjs +20 -0
  289. package/dist/actions/list-currencies.mjs.map +1 -0
  290. package/dist/actions/list-custom-field-options.cjs +24 -0
  291. package/dist/actions/list-custom-field-options.cjs.map +1 -0
  292. package/dist/actions/list-custom-field-options.d.cts +9 -0
  293. package/dist/actions/list-custom-field-options.d.cts.map +1 -0
  294. package/dist/actions/list-custom-field-options.d.mts +9 -0
  295. package/dist/actions/list-custom-field-options.d.mts.map +1 -0
  296. package/dist/actions/list-custom-field-options.mjs +21 -0
  297. package/dist/actions/list-custom-field-options.mjs.map +1 -0
  298. package/dist/actions/list-custom-field-types.cjs +22 -0
  299. package/dist/actions/list-custom-field-types.cjs.map +1 -0
  300. package/dist/actions/list-custom-field-types.d.cts +9 -0
  301. package/dist/actions/list-custom-field-types.d.cts.map +1 -0
  302. package/dist/actions/list-custom-field-types.d.mts +9 -0
  303. package/dist/actions/list-custom-field-types.d.mts.map +1 -0
  304. package/dist/actions/list-custom-field-types.mjs +21 -0
  305. package/dist/actions/list-custom-field-types.mjs.map +1 -0
  306. package/dist/actions/list-custom-fields.cjs +53 -0
  307. package/dist/actions/list-custom-fields.cjs.map +1 -0
  308. package/dist/actions/list-custom-fields.d.cts +9 -0
  309. package/dist/actions/list-custom-fields.d.cts.map +1 -0
  310. package/dist/actions/list-custom-fields.d.mts +9 -0
  311. package/dist/actions/list-custom-fields.d.mts.map +1 -0
  312. package/dist/actions/list-custom-fields.mjs +52 -0
  313. package/dist/actions/list-custom-fields.mjs.map +1 -0
  314. package/dist/actions/list-email-datasources.cjs +56 -0
  315. package/dist/actions/list-email-datasources.cjs.map +1 -0
  316. package/dist/actions/list-email-datasources.d.cts +9 -0
  317. package/dist/actions/list-email-datasources.d.cts.map +1 -0
  318. package/dist/actions/list-email-datasources.d.mts +9 -0
  319. package/dist/actions/list-email-datasources.d.mts.map +1 -0
  320. package/dist/actions/list-email-datasources.mjs +55 -0
  321. package/dist/actions/list-email-datasources.mjs.map +1 -0
  322. package/dist/actions/list-filter-fields.cjs +131 -0
  323. package/dist/actions/list-filter-fields.cjs.map +1 -0
  324. package/dist/actions/list-filter-fields.d.cts +9 -0
  325. package/dist/actions/list-filter-fields.d.cts.map +1 -0
  326. package/dist/actions/list-filter-fields.d.mts +9 -0
  327. package/dist/actions/list-filter-fields.d.mts.map +1 -0
  328. package/dist/actions/list-filter-fields.mjs +130 -0
  329. package/dist/actions/list-filter-fields.mjs.map +1 -0
  330. package/dist/actions/list-groups.cjs +20 -0
  331. package/dist/actions/list-groups.cjs.map +1 -0
  332. package/dist/actions/list-groups.d.cts +9 -0
  333. package/dist/actions/list-groups.d.cts.map +1 -0
  334. package/dist/actions/list-groups.d.mts +9 -0
  335. package/dist/actions/list-groups.d.mts.map +1 -0
  336. package/dist/actions/list-groups.mjs +19 -0
  337. package/dist/actions/list-groups.mjs.map +1 -0
  338. package/dist/actions/list-my-contacts.cjs +128 -0
  339. package/dist/actions/list-my-contacts.cjs.map +1 -0
  340. package/dist/actions/list-my-contacts.d.cts +9 -0
  341. package/dist/actions/list-my-contacts.d.cts.map +1 -0
  342. package/dist/actions/list-my-contacts.d.mts +9 -0
  343. package/dist/actions/list-my-contacts.d.mts.map +1 -0
  344. package/dist/actions/list-my-contacts.mjs +127 -0
  345. package/dist/actions/list-my-contacts.mjs.map +1 -0
  346. package/dist/actions/list-opportunities.cjs +114 -0
  347. package/dist/actions/list-opportunities.cjs.map +1 -0
  348. package/dist/actions/list-opportunities.d.cts +9 -0
  349. package/dist/actions/list-opportunities.d.cts.map +1 -0
  350. package/dist/actions/list-opportunities.d.mts +9 -0
  351. package/dist/actions/list-opportunities.d.mts.map +1 -0
  352. package/dist/actions/list-opportunities.mjs +113 -0
  353. package/dist/actions/list-opportunities.mjs.map +1 -0
  354. package/dist/actions/list-persons.cjs +56 -0
  355. package/dist/actions/list-persons.cjs.map +1 -0
  356. package/dist/actions/list-persons.d.cts +9 -0
  357. package/dist/actions/list-persons.d.cts.map +1 -0
  358. package/dist/actions/list-persons.d.mts +9 -0
  359. package/dist/actions/list-persons.d.mts.map +1 -0
  360. package/dist/actions/list-persons.mjs +55 -0
  361. package/dist/actions/list-persons.mjs.map +1 -0
  362. package/dist/actions/list-pipelines.cjs +55 -0
  363. package/dist/actions/list-pipelines.cjs.map +1 -0
  364. package/dist/actions/list-pipelines.d.cts +9 -0
  365. package/dist/actions/list-pipelines.d.cts.map +1 -0
  366. package/dist/actions/list-pipelines.d.mts +9 -0
  367. package/dist/actions/list-pipelines.d.mts.map +1 -0
  368. package/dist/actions/list-pipelines.mjs +54 -0
  369. package/dist/actions/list-pipelines.mjs.map +1 -0
  370. package/dist/actions/list-stages.cjs +39 -0
  371. package/dist/actions/list-stages.cjs.map +1 -0
  372. package/dist/actions/list-stages.d.cts +9 -0
  373. package/dist/actions/list-stages.d.cts.map +1 -0
  374. package/dist/actions/list-stages.d.mts +9 -0
  375. package/dist/actions/list-stages.d.mts.map +1 -0
  376. package/dist/actions/list-stages.mjs +38 -0
  377. package/dist/actions/list-stages.mjs.map +1 -0
  378. package/dist/actions/list-tags.cjs +34 -0
  379. package/dist/actions/list-tags.cjs.map +1 -0
  380. package/dist/actions/list-tags.d.cts +9 -0
  381. package/dist/actions/list-tags.d.cts.map +1 -0
  382. package/dist/actions/list-tags.d.mts +9 -0
  383. package/dist/actions/list-tags.d.mts.map +1 -0
  384. package/dist/actions/list-tags.mjs +33 -0
  385. package/dist/actions/list-tags.mjs.map +1 -0
  386. package/dist/actions/list-tasks.cjs +68 -0
  387. package/dist/actions/list-tasks.cjs.map +1 -0
  388. package/dist/actions/list-tasks.d.cts +9 -0
  389. package/dist/actions/list-tasks.d.cts.map +1 -0
  390. package/dist/actions/list-tasks.d.mts +9 -0
  391. package/dist/actions/list-tasks.d.mts.map +1 -0
  392. package/dist/actions/list-tasks.mjs +67 -0
  393. package/dist/actions/list-tasks.mjs.map +1 -0
  394. package/dist/actions/list-users.cjs +89 -0
  395. package/dist/actions/list-users.cjs.map +1 -0
  396. package/dist/actions/list-users.d.cts +9 -0
  397. package/dist/actions/list-users.d.cts.map +1 -0
  398. package/dist/actions/list-users.d.mts +9 -0
  399. package/dist/actions/list-users.d.mts.map +1 -0
  400. package/dist/actions/list-users.mjs +88 -0
  401. package/dist/actions/list-users.mjs.map +1 -0
  402. package/dist/actions/list-workflows.cjs +81 -0
  403. package/dist/actions/list-workflows.cjs.map +1 -0
  404. package/dist/actions/list-workflows.d.cts +9 -0
  405. package/dist/actions/list-workflows.d.cts.map +1 -0
  406. package/dist/actions/list-workflows.d.mts +9 -0
  407. package/dist/actions/list-workflows.d.mts.map +1 -0
  408. package/dist/actions/list-workflows.mjs +80 -0
  409. package/dist/actions/list-workflows.mjs.map +1 -0
  410. package/dist/actions/update-account-contacts.cjs +23 -0
  411. package/dist/actions/update-account-contacts.cjs.map +1 -0
  412. package/dist/actions/update-account-contacts.d.cts +9 -0
  413. package/dist/actions/update-account-contacts.d.cts.map +1 -0
  414. package/dist/actions/update-account-contacts.d.mts +9 -0
  415. package/dist/actions/update-account-contacts.d.mts.map +1 -0
  416. package/dist/actions/update-account-contacts.mjs +20 -0
  417. package/dist/actions/update-account-contacts.mjs.map +1 -0
  418. package/dist/actions/update-account-users.cjs +23 -0
  419. package/dist/actions/update-account-users.cjs.map +1 -0
  420. package/dist/actions/update-account-users.d.cts +9 -0
  421. package/dist/actions/update-account-users.d.cts.map +1 -0
  422. package/dist/actions/update-account-users.d.mts +9 -0
  423. package/dist/actions/update-account-users.d.mts.map +1 -0
  424. package/dist/actions/update-account-users.mjs +20 -0
  425. package/dist/actions/update-account-users.mjs.map +1 -0
  426. package/dist/actions/update-account.cjs +105 -0
  427. package/dist/actions/update-account.cjs.map +1 -0
  428. package/dist/actions/update-account.d.cts +9 -0
  429. package/dist/actions/update-account.d.cts.map +1 -0
  430. package/dist/actions/update-account.d.mts +9 -0
  431. package/dist/actions/update-account.d.mts.map +1 -0
  432. package/dist/actions/update-account.mjs +104 -0
  433. package/dist/actions/update-account.mjs.map +1 -0
  434. package/dist/actions/update-ai-settings.cjs +26 -0
  435. package/dist/actions/update-ai-settings.cjs.map +1 -0
  436. package/dist/actions/update-ai-settings.d.cts +9 -0
  437. package/dist/actions/update-ai-settings.d.cts.map +1 -0
  438. package/dist/actions/update-ai-settings.d.mts +9 -0
  439. package/dist/actions/update-ai-settings.d.mts.map +1 -0
  440. package/dist/actions/update-ai-settings.mjs +23 -0
  441. package/dist/actions/update-ai-settings.mjs.map +1 -0
  442. package/dist/actions/update-contact.cjs +88 -0
  443. package/dist/actions/update-contact.cjs.map +1 -0
  444. package/dist/actions/update-contact.d.cts +9 -0
  445. package/dist/actions/update-contact.d.cts.map +1 -0
  446. package/dist/actions/update-contact.d.mts +9 -0
  447. package/dist/actions/update-contact.d.mts.map +1 -0
  448. package/dist/actions/update-contact.mjs +85 -0
  449. package/dist/actions/update-contact.mjs.map +1 -0
  450. package/dist/actions/update-custom-field.cjs +67 -0
  451. package/dist/actions/update-custom-field.cjs.map +1 -0
  452. package/dist/actions/update-custom-field.d.cts +9 -0
  453. package/dist/actions/update-custom-field.d.cts.map +1 -0
  454. package/dist/actions/update-custom-field.d.mts +9 -0
  455. package/dist/actions/update-custom-field.d.mts.map +1 -0
  456. package/dist/actions/update-custom-field.mjs +66 -0
  457. package/dist/actions/update-custom-field.mjs.map +1 -0
  458. package/dist/actions/update-email-datasource.cjs +23 -0
  459. package/dist/actions/update-email-datasource.cjs.map +1 -0
  460. package/dist/actions/update-email-datasource.d.cts +9 -0
  461. package/dist/actions/update-email-datasource.d.cts.map +1 -0
  462. package/dist/actions/update-email-datasource.d.mts +9 -0
  463. package/dist/actions/update-email-datasource.d.mts.map +1 -0
  464. package/dist/actions/update-email-datasource.mjs +20 -0
  465. package/dist/actions/update-email-datasource.mjs.map +1 -0
  466. package/dist/actions/update-internal-note.cjs +30 -0
  467. package/dist/actions/update-internal-note.cjs.map +1 -0
  468. package/dist/actions/update-internal-note.d.cts +9 -0
  469. package/dist/actions/update-internal-note.d.cts.map +1 -0
  470. package/dist/actions/update-internal-note.d.mts +9 -0
  471. package/dist/actions/update-internal-note.d.mts.map +1 -0
  472. package/dist/actions/update-internal-note.mjs +27 -0
  473. package/dist/actions/update-internal-note.mjs.map +1 -0
  474. package/dist/actions/update-opportunity.cjs +46 -0
  475. package/dist/actions/update-opportunity.cjs.map +1 -0
  476. package/dist/actions/update-opportunity.d.cts +9 -0
  477. package/dist/actions/update-opportunity.d.cts.map +1 -0
  478. package/dist/actions/update-opportunity.d.mts +9 -0
  479. package/dist/actions/update-opportunity.d.mts.map +1 -0
  480. package/dist/actions/update-opportunity.mjs +43 -0
  481. package/dist/actions/update-opportunity.mjs.map +1 -0
  482. package/dist/actions/update-tag.cjs +19 -0
  483. package/dist/actions/update-tag.cjs.map +1 -0
  484. package/dist/actions/update-tag.d.cts +9 -0
  485. package/dist/actions/update-tag.d.cts.map +1 -0
  486. package/dist/actions/update-tag.d.mts +9 -0
  487. package/dist/actions/update-tag.d.mts.map +1 -0
  488. package/dist/actions/update-tag.mjs +16 -0
  489. package/dist/actions/update-tag.mjs.map +1 -0
  490. package/dist/actions/update-task.cjs +23 -0
  491. package/dist/actions/update-task.cjs.map +1 -0
  492. package/dist/actions/update-task.d.cts +9 -0
  493. package/dist/actions/update-task.d.cts.map +1 -0
  494. package/dist/actions/update-task.d.mts +9 -0
  495. package/dist/actions/update-task.d.mts.map +1 -0
  496. package/dist/actions/update-task.mjs +20 -0
  497. package/dist/actions/update-task.mjs.map +1 -0
  498. package/dist/actions/update-workflow-audience.cjs +21 -0
  499. package/dist/actions/update-workflow-audience.cjs.map +1 -0
  500. package/dist/actions/update-workflow-audience.d.cts +9 -0
  501. package/dist/actions/update-workflow-audience.d.cts.map +1 -0
  502. package/dist/actions/update-workflow-audience.d.mts +9 -0
  503. package/dist/actions/update-workflow-audience.d.mts.map +1 -0
  504. package/dist/actions/update-workflow-audience.mjs +18 -0
  505. package/dist/actions/update-workflow-audience.mjs.map +1 -0
  506. package/dist/actions/update-workflow.cjs +64 -0
  507. package/dist/actions/update-workflow.cjs.map +1 -0
  508. package/dist/actions/update-workflow.d.cts +9 -0
  509. package/dist/actions/update-workflow.d.cts.map +1 -0
  510. package/dist/actions/update-workflow.d.mts +9 -0
  511. package/dist/actions/update-workflow.d.mts.map +1 -0
  512. package/dist/actions/update-workflow.mjs +61 -0
  513. package/dist/actions/update-workflow.mjs.map +1 -0
  514. package/dist/app.cjs +9 -0
  515. package/dist/app.cjs.map +1 -0
  516. package/dist/app.d.cts +5 -0
  517. package/dist/app.d.cts.map +1 -0
  518. package/dist/app.d.mts +5 -0
  519. package/dist/app.d.mts.map +1 -0
  520. package/dist/app.mjs +10 -0
  521. package/dist/app.mjs.map +1 -0
  522. package/dist/catalog.cjs +15 -0
  523. package/dist/catalog.cjs.map +1 -0
  524. package/dist/catalog.d.cts +14 -0
  525. package/dist/catalog.d.cts.map +1 -0
  526. package/dist/catalog.d.mts +14 -0
  527. package/dist/catalog.d.mts.map +1 -0
  528. package/dist/catalog.mjs +15 -0
  529. package/dist/catalog.mjs.map +1 -0
  530. package/dist/execute.cjs +18 -0
  531. package/dist/execute.cjs.map +1 -0
  532. package/dist/execute.mjs +18 -0
  533. package/dist/execute.mjs.map +1 -0
  534. package/dist/index.cjs +132 -0
  535. package/dist/index.d.cts +66 -0
  536. package/dist/index.d.mts +66 -0
  537. package/dist/index.mjs +67 -0
  538. package/package.json +49 -0
@@ -0,0 +1,101 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-contact.ts
4
+ const SalesflareGetContactInput = z.object({ contact_id: z.number().int().describe("Unique numeric identifier of the contact to retrieve.") }).describe("Request model for retrieving a contact by ID.");
5
+ const SalesflareGetContact_TagSchema = z.object({
6
+ id: z.number().int().describe("Tag ID").nullable().optional(),
7
+ name: z.string().describe("Tag name").nullable().optional()
8
+ }).describe("Tag associated with a contact.");
9
+ const SalesflareGetContact_OwnerSchema = z.object({
10
+ id: z.number().int().describe("Owner user ID").nullable().optional(),
11
+ name: z.string().describe("Owner name").nullable().optional(),
12
+ email: z.string().describe("Owner email").nullable().optional(),
13
+ picture: z.string().describe("Owner profile picture URL").nullable().optional()
14
+ }).describe("Owner/user information for a contact.");
15
+ const SalesflareGetContact_AccountSchema = z.object({
16
+ id: z.number().int().describe("Account ID").nullable().optional(),
17
+ name: z.string().describe("Account name").nullable().optional(),
18
+ domain: z.string().describe("Account domain").nullable().optional(),
19
+ picture: z.string().describe("Account picture URL").nullable().optional()
20
+ }).describe("Account information associated with a contact.");
21
+ const SalesflareGetContact_AddressSchema = z.object({
22
+ id: z.number().int().describe("Address ID").nullable().optional(),
23
+ zip: z.string().describe("ZIP or postal code").nullable().optional(),
24
+ city: z.string().describe("City name").nullable().optional(),
25
+ street: z.string().describe("Street address").nullable().optional(),
26
+ country: z.string().describe("Country name").nullable().optional(),
27
+ state_region: z.string().describe("State or region").nullable().optional()
28
+ }).describe("Address information for a contact.");
29
+ const SalesflareGetContact_PositionSchema = z.object({
30
+ role: z.string().describe("Job role or title").nullable().optional(),
31
+ organisation: z.string().describe("Organization name").nullable().optional()
32
+ }).describe("Position/job information for a contact.");
33
+ const SalesflareGetContact_PhoneNumberSchema = z.object({
34
+ type: z.string().describe("Phone type (e.g., 'mobile', 'work', 'home', 'fax')").nullable().optional(),
35
+ number: z.string().describe("Phone number").nullable().optional()
36
+ }).describe("Phone number information.");
37
+ const SalesflareGetContact_SocialProfileSchema = z.object({
38
+ url: z.string().describe("Profile URL").nullable().optional(),
39
+ type: z.string().describe("Social media platform type (e.g., 'linkedin', 'twitter')").nullable().optional()
40
+ }).describe("Social media profile information.");
41
+ const salesflareGetContact = action("SALESFLARE_GET_CONTACT", {
42
+ slug: "salesflare-get-contact",
43
+ name: "Get Contact by ID",
44
+ description: "Retrieves detailed information for a specific contact by ID. Use when you need complete contact details including personal info, tags, addresses, and account associations.",
45
+ input: SalesflareGetContactInput,
46
+ output: z.object({
47
+ id: z.number().int().describe("Unique identifier of the contact"),
48
+ name: z.string().describe("Full name of the contact").nullable().optional(),
49
+ role: z.string().describe("Job role or title").nullable().optional(),
50
+ tags: z.array(z.union([z.string(), SalesflareGetContact_TagSchema])).describe("Tags associated with the contact").nullable().optional(),
51
+ team: z.number().int().describe("Team ID associated with contact").nullable().optional(),
52
+ email: z.string().describe("Primary email address").nullable().optional(),
53
+ files: z.array(z.object({})).describe("Files associated with the contact").nullable().optional(),
54
+ owner: z.union([z.number().int(), SalesflareGetContact_OwnerSchema]).nullable().optional(),
55
+ custom: z.object({}).describe("Custom fields associated with the contact").nullable().optional(),
56
+ domain: z.string().describe("Email domain of the contact").nullable().optional(),
57
+ middle: z.string().describe("Middle name of the contact").nullable().optional(),
58
+ prefix: z.string().describe("Name prefix (e.g., 'Mr.', 'Ms.', 'Dr.')").nullable().optional(),
59
+ suffix: z.string().describe("Name suffix (e.g., 'Jr.', 'Sr.', 'III')").nullable().optional(),
60
+ account: z.union([z.number().int(), SalesflareGetContact_AccountSchema]).nullable().optional(),
61
+ address: SalesflareGetContact_AddressSchema.nullable().optional(),
62
+ bounced: z.boolean().describe("Whether emails to this contact have bounced").nullable().optional(),
63
+ opt_out: z.boolean().describe("Whether the contact has opted out of communications").nullable().optional(),
64
+ picture: z.string().describe("URL to the contact's profile picture").nullable().optional(),
65
+ archived: z.boolean().describe("Whether the contact is archived").nullable().optional(),
66
+ can_edit: z.boolean().describe("Whether the current user can edit this contact").nullable().optional(),
67
+ lastname: z.string().describe("Last name of the contact").nullable().optional(),
68
+ addresses: z.array(SalesflareGetContact_AddressSchema).describe("List of addresses associated with the contact").nullable().optional(),
69
+ calls_had: z.number().int().describe("Number of calls with this contact").nullable().optional(),
70
+ firstname: z.string().describe("First name of the contact").nullable().optional(),
71
+ positions: z.array(SalesflareGetContact_PositionSchema).describe("Job positions and organizations").nullable().optional(),
72
+ workflows: z.array(z.object({})).describe("Workflows associated with the contact").nullable().optional(),
73
+ birth_date: z.string().describe("Birth date in ISO 8601 format").nullable().optional(),
74
+ fax_number: z.string().describe("Fax number").nullable().optional(),
75
+ emails_sent: z.number().int().describe("Number of emails sent to this contact").nullable().optional(),
76
+ bounced_date: z.string().describe("Date when email bounced (ISO 8601 format)").nullable().optional(),
77
+ meetings_had: z.number().int().describe("Number of meetings with this contact").nullable().optional(),
78
+ opt_out_date: z.string().describe("Date when the contact opted out (ISO 8601 format)").nullable().optional(),
79
+ phone_number: z.string().describe("Primary phone number").nullable().optional(),
80
+ creation_date: z.string().describe("Date when the contact was created (ISO 8601 format)").nullable().optional(),
81
+ phone_numbers: z.array(SalesflareGetContact_PhoneNumberSchema).describe("List of phone numbers").nullable().optional(),
82
+ last_call_date: z.string().describe("Date of last call (ISO 8601 format)").nullable().optional(),
83
+ emails_received: z.number().int().describe("Number of emails received from this contact").nullable().optional(),
84
+ last_email_date: z.string().describe("Date of last email interaction (ISO 8601 format)").nullable().optional(),
85
+ social_profiles: z.array(SalesflareGetContact_SocialProfileSchema).describe("Social media profiles").nullable().optional(),
86
+ opt_out_campaign: z.string().describe("Campaign from which the contact opted out").nullable().optional(),
87
+ home_phone_number: z.string().describe("Home phone number").nullable().optional(),
88
+ last_meeting_date: z.string().describe("Date of last meeting (ISO 8601 format)").nullable().optional(),
89
+ modification_date: z.string().describe("Date when the contact was last modified (ISO 8601 format)").nullable().optional(),
90
+ next_meeting_date: z.string().describe("Date of next scheduled meeting (ISO 8601 format)").nullable().optional(),
91
+ connection_strength: z.number().describe("Strength of connection (0-1)").nullable().optional(),
92
+ mobile_phone_number: z.string().describe("Mobile phone number").nullable().optional(),
93
+ strongest_connection: SalesflareGetContact_OwnerSchema.nullable().optional(),
94
+ public_info_sync_date: z.string().describe("Date when public info was last synced (ISO 8601 format)").nullable().optional(),
95
+ email_signature_sync_date: z.string().describe("Date when email signature was last synced (ISO 8601 format)").nullable().optional()
96
+ }).describe("Response model containing detailed contact information.")
97
+ });
98
+ //#endregion
99
+ export { salesflareGetContact };
100
+
101
+ //# sourceMappingURL=get-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetContactInput: z.ZodTypeAny = z.object({\n contact_id: z.number().int().describe(\"Unique numeric identifier of the contact to retrieve.\"),\n}).describe(\"Request model for retrieving a contact by ID.\");\nconst SalesflareGetContact_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).describe(\"Tag associated with a contact.\");\nconst SalesflareGetContact_OwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Owner user ID\").nullable().optional(),\n name: z.string().describe(\"Owner name\").nullable().optional(),\n email: z.string().describe(\"Owner email\").nullable().optional(),\n picture: z.string().describe(\"Owner profile picture URL\").nullable().optional(),\n}).describe(\"Owner/user information for a contact.\");\nconst SalesflareGetContact_AccountSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Account ID\").nullable().optional(),\n name: z.string().describe(\"Account name\").nullable().optional(),\n domain: z.string().describe(\"Account domain\").nullable().optional(),\n picture: z.string().describe(\"Account picture URL\").nullable().optional(),\n}).describe(\"Account information associated with a contact.\");\nconst SalesflareGetContact_AddressSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Address ID\").nullable().optional(),\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information for a contact.\");\nconst SalesflareGetContact_PositionSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Job role or title\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).describe(\"Position/job information for a contact.\");\nconst SalesflareGetContact_PhoneNumberSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Phone type (e.g., 'mobile', 'work', 'home', 'fax')\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).describe(\"Phone number information.\");\nconst SalesflareGetContact_SocialProfileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Profile URL\").nullable().optional(),\n type: z.string().describe(\"Social media platform type (e.g., 'linkedin', 'twitter')\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nexport const SalesflareGetContactOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\"),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n role: z.string().describe(\"Job role or title\").nullable().optional(),\n tags: z.array(z.union([z.string(), SalesflareGetContact_TagSchema])).describe(\"Tags associated with the contact\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n files: z.array(z.object({})).describe(\"Files associated with the contact\").nullable().optional(),\n owner: z.union([z.number().int(), SalesflareGetContact_OwnerSchema]).nullable().optional(),\n custom: z.object({}).describe(\"Custom fields associated with the contact\").nullable().optional(),\n domain: z.string().describe(\"Email domain of the contact\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the contact\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.', 'Ms.', 'Dr.')\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.', 'Sr.', 'III')\").nullable().optional(),\n account: z.union([z.number().int(), SalesflareGetContact_AccountSchema]).nullable().optional(),\n address: SalesflareGetContact_AddressSchema.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 profile 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(SalesflareGetContact_AddressSchema).describe(\"List of addresses associated with the contact\").nullable().optional(),\n calls_had: z.number().int().describe(\"Number of calls with this contact\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n positions: z.array(SalesflareGetContact_PositionSchema).describe(\"Job positions and organizations\").nullable().optional(),\n workflows: z.array(z.object({})).describe(\"Workflows associated with the contact\").nullable().optional(),\n birth_date: z.string().describe(\"Birth date in ISO 8601 format\").nullable().optional(),\n fax_number: z.string().describe(\"Fax number\").nullable().optional(),\n emails_sent: z.number().int().describe(\"Number of emails sent to this contact\").nullable().optional(),\n bounced_date: z.string().describe(\"Date when email bounced (ISO 8601 format)\").nullable().optional(),\n meetings_had: z.number().int().describe(\"Number of meetings with this contact\").nullable().optional(),\n opt_out_date: z.string().describe(\"Date when the contact opted out (ISO 8601 format)\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareGetContact_PhoneNumberSchema).describe(\"List of phone numbers\").nullable().optional(),\n last_call_date: z.string().describe(\"Date of last call (ISO 8601 format)\").nullable().optional(),\n emails_received: z.number().int().describe(\"Number of emails received from this 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(SalesflareGetContact_SocialProfileSchema).describe(\"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 next_meeting_date: z.string().describe(\"Date of next scheduled meeting (ISO 8601 format)\").nullable().optional(),\n connection_strength: z.number().describe(\"Strength of connection (0-1)\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").nullable().optional(),\n strongest_connection: SalesflareGetContact_OwnerSchema.nullable().optional(),\n public_info_sync_date: z.string().describe(\"Date when public info was last synced (ISO 8601 format)\").nullable().optional(),\n email_signature_sync_date: z.string().describe(\"Date when email signature was last synced (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model containing detailed contact information.\");\n\nexport const salesflareGetContact = action(\"SALESFLARE_GET_CONTACT\", {\n slug: \"salesflare-get-contact\",\n name: \"Get Contact by ID\",\n description: \"Retrieves detailed information for a specific contact by ID. Use when you need complete contact details including personal info, tags, addresses, and account associations.\",\n input: SalesflareGetContactInput,\n output: SalesflareGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,C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2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -0,0 +1,177 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-current-user.ts
4
+ const SalesflareGetCurrentUserInput = zod.z.object({}).describe("Request model for getting current user's details.");
5
+ const SalesflareGetCurrentUser_RolePermissionsSchema = zod.z.object({
6
+ ced: zod.z.string().describe("Create, edit, delete permissions").nullable().optional(),
7
+ view: zod.z.string().describe("View permissions").nullable().optional()
8
+ }).describe("Permissions for a role.");
9
+ const SalesflareGetCurrentUser_RoleSchema = zod.z.object({
10
+ id: zod.z.number().int().describe("Unique identifier for the role").nullable().optional(),
11
+ name: zod.z.string().describe("Name of the role").nullable().optional(),
12
+ permissions: SalesflareGetCurrentUser_RolePermissionsSchema.nullable().optional()
13
+ }).describe("Role information.");
14
+ const SalesflareGetCurrentUser_BillingCurrencySchema = zod.z.object({
15
+ id: zod.z.number().int().describe("Unique identifier for the currency").nullable().optional(),
16
+ iso: zod.z.string().describe("ISO currency code").nullable().optional(),
17
+ html: zod.z.string().describe("HTML representation of the currency symbol").nullable().optional()
18
+ }).describe("Billing currency information.");
19
+ const SalesflareGetCurrentUser_EmailTrackingDomainSchema = zod.z.object({
20
+ url: zod.z.string().describe("Email tracking domain URL"),
21
+ enabled: zod.z.boolean().describe("Whether email tracking is enabled"),
22
+ timeZones: zod.z.array(zod.z.string()).describe("Time zones for email tracking").nullable().optional()
23
+ }).describe("Email tracking domain configuration.");
24
+ const SalesflareGetCurrentUser_TeamSchema = zod.z.object({
25
+ id: zod.z.number().int().describe("Unique identifier for the team").nullable().optional(),
26
+ name: zod.z.string().describe("Team name").nullable().optional(),
27
+ plan: zod.z.number().int().describe("Plan identifier").nullable().optional(),
28
+ domain: zod.z.string().describe("Team domain").nullable().optional(),
29
+ campaign: zod.z.string().describe("Campaign identifier").nullable().optional(),
30
+ currency: SalesflareGetCurrentUser_BillingCurrencySchema.nullable().optional(),
31
+ time_zone: zod.z.string().describe("Team time zone").nullable().optional(),
32
+ free_users: zod.z.number().int().describe("Number of free users").nullable().optional(),
33
+ promo_code: zod.z.string().describe("Promo code applied").nullable().optional(),
34
+ subscribed: zod.z.boolean().describe("Whether the team is subscribed").nullable().optional(),
35
+ credit_quota: zod.z.number().int().describe("Credit quota for the team").nullable().optional(),
36
+ credit_usage: zod.z.number().int().describe("Current credit usage").nullable().optional(),
37
+ payment_type: zod.z.string().describe("Payment type (stripe/free/appstack)").nullable().optional(),
38
+ creation_date: zod.z.string().describe("Date when the team was created").nullable().optional(),
39
+ discount_code: zod.z.string().describe("Discount code applied to the team").nullable().optional(),
40
+ discount_type: zod.z.string().describe("Type of discount").nullable().optional(),
41
+ credit_package: zod.z.string().describe("Credit package (S/M/L/XL)").nullable().optional(),
42
+ tracking_token: zod.z.string().describe("Tracking token for analytics").nullable().optional(),
43
+ paid_user_count: zod.z.number().int().describe("Number of paid users").nullable().optional(),
44
+ promo_redeem_by: zod.z.string().describe("Date by which promo must be redeemed").nullable().optional(),
45
+ billing_currency: SalesflareGetCurrentUser_BillingCurrencySchema.nullable().optional(),
46
+ total_user_count: zod.z.number().int().describe("Total number of users").nullable().optional(),
47
+ automated_tagging: zod.z.boolean().describe("Whether automated tagging is enabled").nullable().optional(),
48
+ billing_frequency: zod.z.string().describe("Billing frequency (monthly/annually)").nullable().optional(),
49
+ input_token_usage: zod.z.number().int().describe("Input token usage").nullable().optional(),
50
+ promo_description: zod.z.string().describe("Description of the promo").nullable().optional(),
51
+ ai_inference_quota: zod.z.number().int().describe("AI inference quota for the team").nullable().optional(),
52
+ ai_inference_usage: zod.z.number().int().describe("Current AI inference usage").nullable().optional(),
53
+ enabled_user_count: zod.z.number().int().describe("Number of enabled users").nullable().optional(),
54
+ output_token_usage: zod.z.number().int().describe("Output token usage").nullable().optional(),
55
+ stripe_customer_id: zod.z.string().describe("Stripe customer identifier").nullable().optional(),
56
+ email_tracking_domain: SalesflareGetCurrentUser_EmailTrackingDomainSchema.nullable().optional(),
57
+ email_tracking_subdomain: zod.z.string().describe("Email tracking subdomain").nullable().optional(),
58
+ days_until_account_inactive: zod.z.number().int().describe("Days until account becomes inactive").nullable().optional()
59
+ }).describe("Team information for the user.");
60
+ const SalesflareGetCurrentUser_FlagSchema = zod.z.object({
61
+ id: zod.z.number().int().describe("Unique identifier for the flag").nullable().optional(),
62
+ flag: zod.z.number().int().describe("Flag identifier"),
63
+ name: zod.z.string().describe("Name of the flag"),
64
+ plan: zod.z.number().int().describe("Plan associated with the flag").nullable().optional(),
65
+ user: zod.z.number().int().describe("User ID associated with the flag").nullable().optional(),
66
+ state: zod.z.boolean().describe("Current state of the flag (enabled/disabled)"),
67
+ creation_date: zod.z.string().describe("Date when the flag was created").nullable().optional(),
68
+ modification_date: zod.z.string().describe("Date when the flag was last modified").nullable().optional()
69
+ }).describe("Feature flag configuration.");
70
+ const SalesflareGetCurrentUser_AddressSchema = zod.z.object({
71
+ id: zod.z.number().int().describe("Unique identifier for the address").nullable().optional(),
72
+ zip: zod.z.string().describe("ZIP or postal code").nullable().optional(),
73
+ city: zod.z.string().describe("City").nullable().optional(),
74
+ region: zod.z.string().describe("Region").nullable().optional(),
75
+ street: zod.z.string().describe("Street address").nullable().optional(),
76
+ country: zod.z.string().describe("Country").nullable().optional(),
77
+ state_region: zod.z.string().describe("State or region").nullable().optional()
78
+ }).describe("Address information.");
79
+ const SalesflareGetCurrentUser_PositionSchema = zod.z.object({
80
+ id: zod.z.number().int().describe("Unique identifier for the position").nullable().optional(),
81
+ role: zod.z.string().describe("Role or position title").nullable().optional(),
82
+ organisation: zod.z.string().describe("Organization name").nullable().optional()
83
+ }).describe("Position/role information.");
84
+ const SalesflareGetCurrentUser_DataSourceSchema = zod.z.object({
85
+ id: zod.z.number().int().describe("Unique identifier for the data source").nullable().optional(),
86
+ type: zod.z.string().describe("Type of data source").nullable().optional(),
87
+ email: zod.z.string().describe("Email address associated with the data source").nullable().optional(),
88
+ status: zod.z.string().describe("Current status of the data source").nullable().optional(),
89
+ sync_status: zod.z.string().describe("Synchronization status").nullable().optional(),
90
+ status_message: zod.z.string().describe("Status message for the data source").nullable().optional()
91
+ }).describe("Data source configuration for the user.");
92
+ const SalesflareGetCurrentUser_PhoneNumberSchema = zod.z.object({
93
+ id: zod.z.number().int().describe("Unique identifier for the phone number").nullable().optional(),
94
+ type: zod.z.string().describe("Type of phone number (e.g., mobile, work)").nullable().optional(),
95
+ number: zod.z.string().describe("Phone number").nullable().optional()
96
+ }).describe("Phone number information.");
97
+ const SalesflareGetCurrentUser_SocialProfileSchema = zod.z.object({
98
+ id: zod.z.number().int().describe("Unique identifier for the social profile").nullable().optional(),
99
+ url: zod.z.string().describe("URL to the social profile").nullable().optional(),
100
+ type: zod.z.string().describe("Type of social media platform").nullable().optional(),
101
+ username: zod.z.string().describe("Username on the social platform").nullable().optional()
102
+ }).describe("Social media profile information.");
103
+ const SalesflareGetCurrentUser_DataSourceToReconnectSchema = zod.z.object({
104
+ id: zod.z.number().int().describe("Unique identifier for the data source").nullable().optional(),
105
+ type: zod.z.string().describe("Type of data source").nullable().optional(),
106
+ email: zod.z.string().describe("Email address associated with the data source").nullable().optional()
107
+ }).describe("Data source that needs reconnection.");
108
+ const SalesflareGetCurrentUserOutput = zod.z.object({
109
+ id: zod.z.number().int().describe("Unique identifier for the user").nullable().optional(),
110
+ name: zod.z.string().describe("Full name of the user").nullable().optional(),
111
+ role: SalesflareGetCurrentUser_RoleSchema.nullable().optional(),
112
+ tags: zod.z.array(zod.z.object({})).describe("List of tags").nullable().optional(),
113
+ team: SalesflareGetCurrentUser_TeamSchema.nullable().optional(),
114
+ type: zod.z.string().describe("Type of user").nullable().optional(),
115
+ email: zod.z.string().describe("Email address of the user").nullable().optional(),
116
+ flags: zod.z.array(SalesflareGetCurrentUser_FlagSchema).describe("List of feature flags").nullable().optional(),
117
+ group: zod.z.number().int().describe("Group identifier").nullable().optional(),
118
+ theme: zod.z.string().describe("User's theme preference (system/light/dark)").nullable().optional(),
119
+ domain: zod.z.string().describe("User's domain").nullable().optional(),
120
+ middle: zod.z.string().describe("Middle name of the user").nullable().optional(),
121
+ prefix: zod.z.string().describe("Name prefix").nullable().optional(),
122
+ suffix: zod.z.string().describe("Name suffix").nullable().optional(),
123
+ picture: zod.z.string().describe("URL to the user's profile picture").nullable().optional(),
124
+ disabled: zod.z.boolean().describe("Whether the user is disabled").nullable().optional(),
125
+ is_admin: zod.z.boolean().describe("Whether the user is an admin").nullable().optional(),
126
+ language: zod.z.string().describe("User's preferred language (en/nl/fr/de/pt/br/it/es)").nullable().optional(),
127
+ lastname: zod.z.string().describe("Last name of the user").nullable().optional(),
128
+ addresses: zod.z.array(SalesflareGetCurrentUser_AddressSchema).describe("List of addresses").nullable().optional(),
129
+ firstname: zod.z.string().describe("First name of the user").nullable().optional(),
130
+ positions: zod.z.array(SalesflareGetCurrentUser_PositionSchema).describe("List of positions/roles").nullable().optional(),
131
+ plan_flags: zod.z.object({}).describe("Plan-specific flags").nullable().optional(),
132
+ restricted: zod.z.boolean().describe("Whether the user is restricted").nullable().optional(),
133
+ sync_status: zod.z.string().describe("Overall synchronization status").nullable().optional(),
134
+ credit_usage: zod.z.number().int().describe("Current credit usage").nullable().optional(),
135
+ data_sources: zod.z.array(SalesflareGetCurrentUser_DataSourceSchema).describe("List of connected data sources").nullable().optional(),
136
+ is_importing: zod.z.boolean().describe("Whether data is currently being imported").nullable().optional(),
137
+ creation_date: zod.z.string().describe("Date when the user account was created").nullable().optional(),
138
+ intercom_hash: zod.z.string().describe("Intercom hash for user identification").nullable().optional(),
139
+ is_delinquent: zod.z.boolean().describe("Whether the account is delinquent").nullable().optional(),
140
+ phone_numbers: zod.z.array(SalesflareGetCurrentUser_PhoneNumberSchema).describe("List of phone numbers").nullable().optional(),
141
+ trial_expired: zod.z.boolean().describe("Whether the trial has expired").nullable().optional(),
142
+ am_pm_notation: zod.z.boolean().describe("Whether AM/PM notation is used").nullable().optional(),
143
+ needs_password: zod.z.boolean().describe("Whether the user needs to set a password").nullable().optional(),
144
+ trial_extended: zod.z.boolean().describe("Whether the trial has been extended").nullable().optional(),
145
+ two_fa_enabled: zod.z.boolean().describe("Whether two-factor authentication is enabled").nullable().optional(),
146
+ social_profiles: zod.z.array(SalesflareGetCurrentUser_SocialProfileSchema).describe("List of social media profiles").nullable().optional(),
147
+ first_day_of_week: zod.z.number().int().describe("First day of the week (0-6)").nullable().optional(),
148
+ input_token_usage: zod.z.number().int().describe("Input token usage").nullable().optional(),
149
+ modification_date: zod.z.string().describe("Date when the user account was last modified").nullable().optional(),
150
+ restricted_reason: zod.z.string().describe("Reason for restriction").nullable().optional(),
151
+ trial_expiry_date: zod.z.string().describe("Date when the trial expires").nullable().optional(),
152
+ ai_inference_usage: zod.z.number().int().describe("AI inference usage").nullable().optional(),
153
+ call_log_sync_date: zod.z.string().describe("Date of last call log synchronization").nullable().optional(),
154
+ output_token_usage: zod.z.number().int().describe("Output token usage").nullable().optional(),
155
+ team_discount_code: zod.z.string().describe("Team discount code").nullable().optional(),
156
+ calendar_sync_status: zod.z.string().describe("Calendar synchronization status").nullable().optional(),
157
+ has_archived_contacts: zod.z.boolean().describe("Whether the user has archived contacts").nullable().optional(),
158
+ notification_channel_id: zod.z.string().describe("Notification channel identifier").nullable().optional(),
159
+ auto_find_email_linkedin: zod.z.boolean().describe("Whether to automatically find emails on LinkedIn").nullable().optional(),
160
+ first_calendar_sync_done: zod.z.boolean().describe("Whether the first calendar sync is complete").nullable().optional(),
161
+ data_sources_to_reconnect: zod.z.array(SalesflareGetCurrentUser_DataSourceToReconnectSchema).describe("List of data sources that need reconnection").nullable().optional(),
162
+ amount_of_failed_workflows: zod.z.number().int().describe("Number of failed workflows").nullable().optional(),
163
+ amount_of_trial_days_earned: zod.z.number().int().describe("Number of trial days earned").nullable().optional(),
164
+ has_recently_failed_workflows: zod.z.boolean().describe("Whether there are recently failed workflows").nullable().optional(),
165
+ has_received_account_suggestions: zod.z.boolean().describe("Whether the user has received account suggestions").nullable().optional()
166
+ }).describe("Response model for getting current user's details.");
167
+ const salesflareGetCurrentUser = require_action.action("SALESFLARE_GET_CURRENT_USER", {
168
+ slug: "salesflare-get-current-user",
169
+ name: "Get Current User",
170
+ description: "Tool to retrieve the details of the currently authenticated user. Use when you need to get information about the current user's profile, settings, permissions, or team configuration.",
171
+ input: SalesflareGetCurrentUserInput,
172
+ output: SalesflareGetCurrentUserOutput
173
+ });
174
+ //#endregion
175
+ exports.salesflareGetCurrentUser = salesflareGetCurrentUser;
176
+
177
+ //# sourceMappingURL=get-current-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetCurrentUserInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting current user's details.\");\nconst SalesflareGetCurrentUser_RolePermissionsSchema: z.ZodTypeAny = z.object({\n ced: z.string().describe(\"Create, edit, delete permissions\").nullable().optional(),\n view: z.string().describe(\"View permissions\").nullable().optional(),\n}).describe(\"Permissions for a role.\");\nconst SalesflareGetCurrentUser_RoleSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the role\").nullable().optional(),\n name: z.string().describe(\"Name of the role\").nullable().optional(),\n permissions: SalesflareGetCurrentUser_RolePermissionsSchema.nullable().optional(),\n}).describe(\"Role information.\");\nconst SalesflareGetCurrentUser_BillingCurrencySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the currency\").nullable().optional(),\n iso: z.string().describe(\"ISO currency code\").nullable().optional(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable().optional(),\n}).describe(\"Billing currency information.\");\nconst SalesflareGetCurrentUser_EmailTrackingDomainSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Email tracking domain URL\"),\n enabled: z.boolean().describe(\"Whether email tracking is enabled\"),\n timeZones: z.array(z.string()).describe(\"Time zones for email tracking\").nullable().optional(),\n}).describe(\"Email tracking domain configuration.\");\nconst SalesflareGetCurrentUser_TeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the team\").nullable().optional(),\n name: z.string().describe(\"Team name\").nullable().optional(),\n plan: z.number().int().describe(\"Plan identifier\").nullable().optional(),\n domain: z.string().describe(\"Team domain\").nullable().optional(),\n campaign: z.string().describe(\"Campaign identifier\").nullable().optional(),\n currency: SalesflareGetCurrentUser_BillingCurrencySchema.nullable().optional(),\n time_zone: z.string().describe(\"Team time zone\").nullable().optional(),\n free_users: z.number().int().describe(\"Number of free users\").nullable().optional(),\n promo_code: z.string().describe(\"Promo code applied\").nullable().optional(),\n subscribed: z.boolean().describe(\"Whether the team is subscribed\").nullable().optional(),\n credit_quota: z.number().int().describe(\"Credit quota for the team\").nullable().optional(),\n credit_usage: z.number().int().describe(\"Current credit usage\").nullable().optional(),\n payment_type: z.string().describe(\"Payment type (stripe/free/appstack)\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the team was created\").nullable().optional(),\n discount_code: z.string().describe(\"Discount code applied to the team\").nullable().optional(),\n discount_type: z.string().describe(\"Type of discount\").nullable().optional(),\n credit_package: z.string().describe(\"Credit package (S/M/L/XL)\").nullable().optional(),\n tracking_token: z.string().describe(\"Tracking token for analytics\").nullable().optional(),\n paid_user_count: z.number().int().describe(\"Number of paid users\").nullable().optional(),\n promo_redeem_by: z.string().describe(\"Date by which promo must be redeemed\").nullable().optional(),\n billing_currency: SalesflareGetCurrentUser_BillingCurrencySchema.nullable().optional(),\n total_user_count: z.number().int().describe(\"Total number of users\").nullable().optional(),\n automated_tagging: z.boolean().describe(\"Whether automated tagging is enabled\").nullable().optional(),\n billing_frequency: z.string().describe(\"Billing frequency (monthly/annually)\").nullable().optional(),\n input_token_usage: z.number().int().describe(\"Input token usage\").nullable().optional(),\n promo_description: z.string().describe(\"Description of the promo\").nullable().optional(),\n ai_inference_quota: z.number().int().describe(\"AI inference quota for the team\").nullable().optional(),\n ai_inference_usage: z.number().int().describe(\"Current AI inference usage\").nullable().optional(),\n enabled_user_count: z.number().int().describe(\"Number of enabled users\").nullable().optional(),\n output_token_usage: z.number().int().describe(\"Output token usage\").nullable().optional(),\n stripe_customer_id: z.string().describe(\"Stripe customer identifier\").nullable().optional(),\n email_tracking_domain: SalesflareGetCurrentUser_EmailTrackingDomainSchema.nullable().optional(),\n email_tracking_subdomain: z.string().describe(\"Email tracking subdomain\").nullable().optional(),\n days_until_account_inactive: z.number().int().describe(\"Days until account becomes inactive\").nullable().optional(),\n}).describe(\"Team information for the user.\");\nconst SalesflareGetCurrentUser_FlagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the flag\").nullable().optional(),\n flag: z.number().int().describe(\"Flag identifier\"),\n name: z.string().describe(\"Name of the flag\"),\n plan: z.number().int().describe(\"Plan associated with the flag\").nullable().optional(),\n user: z.number().int().describe(\"User ID associated with the flag\").nullable().optional(),\n state: z.boolean().describe(\"Current state of the flag (enabled/disabled)\"),\n creation_date: z.string().describe(\"Date when the flag was created\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the flag was last modified\").nullable().optional(),\n}).describe(\"Feature flag configuration.\");\nconst SalesflareGetCurrentUser_AddressSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the address\").nullable().optional(),\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n region: z.string().describe(\"Region\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information.\");\nconst SalesflareGetCurrentUser_PositionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the position\").nullable().optional(),\n role: z.string().describe(\"Role or position title\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).describe(\"Position/role information.\");\nconst SalesflareGetCurrentUser_DataSourceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the data source\").nullable().optional(),\n type: z.string().describe(\"Type of data source\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the data source\").nullable().optional(),\n status: z.string().describe(\"Current status of the data source\").nullable().optional(),\n sync_status: z.string().describe(\"Synchronization status\").nullable().optional(),\n status_message: z.string().describe(\"Status message for the data source\").nullable().optional(),\n}).describe(\"Data source configuration for the user.\");\nconst SalesflareGetCurrentUser_PhoneNumberSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the phone number\").nullable().optional(),\n type: z.string().describe(\"Type of phone number (e.g., mobile, work)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).describe(\"Phone number information.\");\nconst SalesflareGetCurrentUser_SocialProfileSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the social profile\").nullable().optional(),\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social media platform\").nullable().optional(),\n username: z.string().describe(\"Username on the social platform\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nconst SalesflareGetCurrentUser_DataSourceToReconnectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the data source\").nullable().optional(),\n type: z.string().describe(\"Type of data source\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the data source\").nullable().optional(),\n}).describe(\"Data source that needs reconnection.\");\nexport const SalesflareGetCurrentUserOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable().optional(),\n name: z.string().describe(\"Full name of the user\").nullable().optional(),\n role: SalesflareGetCurrentUser_RoleSchema.nullable().optional(),\n tags: z.array(z.object({})).describe(\"List of tags\").nullable().optional(),\n team: SalesflareGetCurrentUser_TeamSchema.nullable().optional(),\n type: z.string().describe(\"Type of user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n flags: z.array(SalesflareGetCurrentUser_FlagSchema).describe(\"List of feature flags\").nullable().optional(),\n group: z.number().int().describe(\"Group identifier\").nullable().optional(),\n theme: z.string().describe(\"User's theme preference (system/light/dark)\").nullable().optional(),\n domain: z.string().describe(\"User's domain\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the user\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix\").nullable().optional(),\n picture: z.string().describe(\"URL to the user's profile picture\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the user is disabled\").nullable().optional(),\n is_admin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n language: z.string().describe(\"User's preferred language (en/nl/fr/de/pt/br/it/es)\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the user\").nullable().optional(),\n addresses: z.array(SalesflareGetCurrentUser_AddressSchema).describe(\"List of addresses\").nullable().optional(),\n firstname: z.string().describe(\"First name of the user\").nullable().optional(),\n positions: z.array(SalesflareGetCurrentUser_PositionSchema).describe(\"List of positions/roles\").nullable().optional(),\n plan_flags: z.object({}).describe(\"Plan-specific flags\").nullable().optional(),\n restricted: z.boolean().describe(\"Whether the user is restricted\").nullable().optional(),\n sync_status: z.string().describe(\"Overall synchronization status\").nullable().optional(),\n credit_usage: z.number().int().describe(\"Current credit usage\").nullable().optional(),\n data_sources: z.array(SalesflareGetCurrentUser_DataSourceSchema).describe(\"List of connected data sources\").nullable().optional(),\n is_importing: z.boolean().describe(\"Whether data is currently being imported\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the user account was created\").nullable().optional(),\n intercom_hash: z.string().describe(\"Intercom hash for user identification\").nullable().optional(),\n is_delinquent: z.boolean().describe(\"Whether the account is delinquent\").nullable().optional(),\n phone_numbers: z.array(SalesflareGetCurrentUser_PhoneNumberSchema).describe(\"List of phone numbers\").nullable().optional(),\n trial_expired: z.boolean().describe(\"Whether the trial has expired\").nullable().optional(),\n am_pm_notation: z.boolean().describe(\"Whether AM/PM notation is used\").nullable().optional(),\n needs_password: z.boolean().describe(\"Whether the user needs to set a password\").nullable().optional(),\n trial_extended: z.boolean().describe(\"Whether the trial has been extended\").nullable().optional(),\n two_fa_enabled: z.boolean().describe(\"Whether two-factor authentication is enabled\").nullable().optional(),\n social_profiles: z.array(SalesflareGetCurrentUser_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n first_day_of_week: z.number().int().describe(\"First day of the week (0-6)\").nullable().optional(),\n input_token_usage: z.number().int().describe(\"Input token usage\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the user account was last modified\").nullable().optional(),\n restricted_reason: z.string().describe(\"Reason for restriction\").nullable().optional(),\n trial_expiry_date: z.string().describe(\"Date when the trial expires\").nullable().optional(),\n ai_inference_usage: z.number().int().describe(\"AI inference usage\").nullable().optional(),\n call_log_sync_date: z.string().describe(\"Date of last call log synchronization\").nullable().optional(),\n output_token_usage: z.number().int().describe(\"Output token usage\").nullable().optional(),\n team_discount_code: z.string().describe(\"Team discount code\").nullable().optional(),\n calendar_sync_status: z.string().describe(\"Calendar synchronization status\").nullable().optional(),\n has_archived_contacts: z.boolean().describe(\"Whether the user has archived contacts\").nullable().optional(),\n notification_channel_id: z.string().describe(\"Notification channel identifier\").nullable().optional(),\n auto_find_email_linkedin: z.boolean().describe(\"Whether to automatically find emails on LinkedIn\").nullable().optional(),\n first_calendar_sync_done: z.boolean().describe(\"Whether the first calendar sync is complete\").nullable().optional(),\n data_sources_to_reconnect: z.array(SalesflareGetCurrentUser_DataSourceToReconnectSchema).describe(\"List of data sources that need reconnection\").nullable().optional(),\n amount_of_failed_workflows: z.number().int().describe(\"Number of failed workflows\").nullable().optional(),\n amount_of_trial_days_earned: z.number().int().describe(\"Number of trial days earned\").nullable().optional(),\n has_recently_failed_workflows: z.boolean().describe(\"Whether there are recently failed workflows\").nullable().optional(),\n has_received_account_suggestions: z.boolean().describe(\"Whether the user has received account suggestions\").nullable().optional(),\n}).describe(\"Response model for getting current user's details.\");\n\nexport const salesflareGetCurrentUser = action(\"SALESFLARE_GET_CURRENT_USER\", {\n slug: \"salesflare-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to retrieve the details of the currently authenticated user. Use when you need to get information about the current user's profile, settings, permissions, or team configuration.\",\n input: SalesflareGetCurrentUserInput,\n output: SalesflareGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACpI,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,aAAa,+CAA+C,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,mBAAmB;AAC/B,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,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AAEhE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-current-user.d.ts
4
+ declare const SalesflareGetCurrentUserInput: z.ZodTypeAny;
5
+ declare const SalesflareGetCurrentUserOutput: z.ZodTypeAny;
6
+ declare const salesflareGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetCurrentUser };
9
+ //# sourceMappingURL=get-current-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAuF;AAAA,cAwGxH,8BAAA,EAAgC,CAAA,CAAE,UA0DkB;AAAA,cAEpD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-current-user.d.ts
4
+ declare const SalesflareGetCurrentUserInput: z.ZodTypeAny;
5
+ declare const SalesflareGetCurrentUserOutput: z.ZodTypeAny;
6
+ declare const salesflareGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { salesflareGetCurrentUser };
9
+ //# sourceMappingURL=get-current-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAuF;AAAA,cAwGxH,8BAAA,EAAgC,CAAA,CAAE,UA0DkB;AAAA,cAEpD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,176 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-current-user.ts
4
+ const SalesflareGetCurrentUserInput = z.object({}).describe("Request model for getting current user's details.");
5
+ const SalesflareGetCurrentUser_RolePermissionsSchema = z.object({
6
+ ced: z.string().describe("Create, edit, delete permissions").nullable().optional(),
7
+ view: z.string().describe("View permissions").nullable().optional()
8
+ }).describe("Permissions for a role.");
9
+ const SalesflareGetCurrentUser_RoleSchema = z.object({
10
+ id: z.number().int().describe("Unique identifier for the role").nullable().optional(),
11
+ name: z.string().describe("Name of the role").nullable().optional(),
12
+ permissions: SalesflareGetCurrentUser_RolePermissionsSchema.nullable().optional()
13
+ }).describe("Role information.");
14
+ const SalesflareGetCurrentUser_BillingCurrencySchema = z.object({
15
+ id: z.number().int().describe("Unique identifier for the currency").nullable().optional(),
16
+ iso: z.string().describe("ISO currency code").nullable().optional(),
17
+ html: z.string().describe("HTML representation of the currency symbol").nullable().optional()
18
+ }).describe("Billing currency information.");
19
+ const SalesflareGetCurrentUser_EmailTrackingDomainSchema = z.object({
20
+ url: z.string().describe("Email tracking domain URL"),
21
+ enabled: z.boolean().describe("Whether email tracking is enabled"),
22
+ timeZones: z.array(z.string()).describe("Time zones for email tracking").nullable().optional()
23
+ }).describe("Email tracking domain configuration.");
24
+ const SalesflareGetCurrentUser_TeamSchema = z.object({
25
+ id: z.number().int().describe("Unique identifier for the team").nullable().optional(),
26
+ name: z.string().describe("Team name").nullable().optional(),
27
+ plan: z.number().int().describe("Plan identifier").nullable().optional(),
28
+ domain: z.string().describe("Team domain").nullable().optional(),
29
+ campaign: z.string().describe("Campaign identifier").nullable().optional(),
30
+ currency: SalesflareGetCurrentUser_BillingCurrencySchema.nullable().optional(),
31
+ time_zone: z.string().describe("Team time zone").nullable().optional(),
32
+ free_users: z.number().int().describe("Number of free users").nullable().optional(),
33
+ promo_code: z.string().describe("Promo code applied").nullable().optional(),
34
+ subscribed: z.boolean().describe("Whether the team is subscribed").nullable().optional(),
35
+ credit_quota: z.number().int().describe("Credit quota for the team").nullable().optional(),
36
+ credit_usage: z.number().int().describe("Current credit usage").nullable().optional(),
37
+ payment_type: z.string().describe("Payment type (stripe/free/appstack)").nullable().optional(),
38
+ creation_date: z.string().describe("Date when the team was created").nullable().optional(),
39
+ discount_code: z.string().describe("Discount code applied to the team").nullable().optional(),
40
+ discount_type: z.string().describe("Type of discount").nullable().optional(),
41
+ credit_package: z.string().describe("Credit package (S/M/L/XL)").nullable().optional(),
42
+ tracking_token: z.string().describe("Tracking token for analytics").nullable().optional(),
43
+ paid_user_count: z.number().int().describe("Number of paid users").nullable().optional(),
44
+ promo_redeem_by: z.string().describe("Date by which promo must be redeemed").nullable().optional(),
45
+ billing_currency: SalesflareGetCurrentUser_BillingCurrencySchema.nullable().optional(),
46
+ total_user_count: z.number().int().describe("Total number of users").nullable().optional(),
47
+ automated_tagging: z.boolean().describe("Whether automated tagging is enabled").nullable().optional(),
48
+ billing_frequency: z.string().describe("Billing frequency (monthly/annually)").nullable().optional(),
49
+ input_token_usage: z.number().int().describe("Input token usage").nullable().optional(),
50
+ promo_description: z.string().describe("Description of the promo").nullable().optional(),
51
+ ai_inference_quota: z.number().int().describe("AI inference quota for the team").nullable().optional(),
52
+ ai_inference_usage: z.number().int().describe("Current AI inference usage").nullable().optional(),
53
+ enabled_user_count: z.number().int().describe("Number of enabled users").nullable().optional(),
54
+ output_token_usage: z.number().int().describe("Output token usage").nullable().optional(),
55
+ stripe_customer_id: z.string().describe("Stripe customer identifier").nullable().optional(),
56
+ email_tracking_domain: SalesflareGetCurrentUser_EmailTrackingDomainSchema.nullable().optional(),
57
+ email_tracking_subdomain: z.string().describe("Email tracking subdomain").nullable().optional(),
58
+ days_until_account_inactive: z.number().int().describe("Days until account becomes inactive").nullable().optional()
59
+ }).describe("Team information for the user.");
60
+ const SalesflareGetCurrentUser_FlagSchema = z.object({
61
+ id: z.number().int().describe("Unique identifier for the flag").nullable().optional(),
62
+ flag: z.number().int().describe("Flag identifier"),
63
+ name: z.string().describe("Name of the flag"),
64
+ plan: z.number().int().describe("Plan associated with the flag").nullable().optional(),
65
+ user: z.number().int().describe("User ID associated with the flag").nullable().optional(),
66
+ state: z.boolean().describe("Current state of the flag (enabled/disabled)"),
67
+ creation_date: z.string().describe("Date when the flag was created").nullable().optional(),
68
+ modification_date: z.string().describe("Date when the flag was last modified").nullable().optional()
69
+ }).describe("Feature flag configuration.");
70
+ const SalesflareGetCurrentUser_AddressSchema = z.object({
71
+ id: z.number().int().describe("Unique identifier for the address").nullable().optional(),
72
+ zip: z.string().describe("ZIP or postal code").nullable().optional(),
73
+ city: z.string().describe("City").nullable().optional(),
74
+ region: z.string().describe("Region").nullable().optional(),
75
+ street: z.string().describe("Street address").nullable().optional(),
76
+ country: z.string().describe("Country").nullable().optional(),
77
+ state_region: z.string().describe("State or region").nullable().optional()
78
+ }).describe("Address information.");
79
+ const SalesflareGetCurrentUser_PositionSchema = z.object({
80
+ id: z.number().int().describe("Unique identifier for the position").nullable().optional(),
81
+ role: z.string().describe("Role or position title").nullable().optional(),
82
+ organisation: z.string().describe("Organization name").nullable().optional()
83
+ }).describe("Position/role information.");
84
+ const SalesflareGetCurrentUser_DataSourceSchema = z.object({
85
+ id: z.number().int().describe("Unique identifier for the data source").nullable().optional(),
86
+ type: z.string().describe("Type of data source").nullable().optional(),
87
+ email: z.string().describe("Email address associated with the data source").nullable().optional(),
88
+ status: z.string().describe("Current status of the data source").nullable().optional(),
89
+ sync_status: z.string().describe("Synchronization status").nullable().optional(),
90
+ status_message: z.string().describe("Status message for the data source").nullable().optional()
91
+ }).describe("Data source configuration for the user.");
92
+ const SalesflareGetCurrentUser_PhoneNumberSchema = z.object({
93
+ id: z.number().int().describe("Unique identifier for the phone number").nullable().optional(),
94
+ type: z.string().describe("Type of phone number (e.g., mobile, work)").nullable().optional(),
95
+ number: z.string().describe("Phone number").nullable().optional()
96
+ }).describe("Phone number information.");
97
+ const SalesflareGetCurrentUser_SocialProfileSchema = z.object({
98
+ id: z.number().int().describe("Unique identifier for the social profile").nullable().optional(),
99
+ url: z.string().describe("URL to the social profile").nullable().optional(),
100
+ type: z.string().describe("Type of social media platform").nullable().optional(),
101
+ username: z.string().describe("Username on the social platform").nullable().optional()
102
+ }).describe("Social media profile information.");
103
+ const SalesflareGetCurrentUser_DataSourceToReconnectSchema = z.object({
104
+ id: z.number().int().describe("Unique identifier for the data source").nullable().optional(),
105
+ type: z.string().describe("Type of data source").nullable().optional(),
106
+ email: z.string().describe("Email address associated with the data source").nullable().optional()
107
+ }).describe("Data source that needs reconnection.");
108
+ const salesflareGetCurrentUser = action("SALESFLARE_GET_CURRENT_USER", {
109
+ slug: "salesflare-get-current-user",
110
+ name: "Get Current User",
111
+ description: "Tool to retrieve the details of the currently authenticated user. Use when you need to get information about the current user's profile, settings, permissions, or team configuration.",
112
+ input: SalesflareGetCurrentUserInput,
113
+ output: z.object({
114
+ id: z.number().int().describe("Unique identifier for the user").nullable().optional(),
115
+ name: z.string().describe("Full name of the user").nullable().optional(),
116
+ role: SalesflareGetCurrentUser_RoleSchema.nullable().optional(),
117
+ tags: z.array(z.object({})).describe("List of tags").nullable().optional(),
118
+ team: SalesflareGetCurrentUser_TeamSchema.nullable().optional(),
119
+ type: z.string().describe("Type of user").nullable().optional(),
120
+ email: z.string().describe("Email address of the user").nullable().optional(),
121
+ flags: z.array(SalesflareGetCurrentUser_FlagSchema).describe("List of feature flags").nullable().optional(),
122
+ group: z.number().int().describe("Group identifier").nullable().optional(),
123
+ theme: z.string().describe("User's theme preference (system/light/dark)").nullable().optional(),
124
+ domain: z.string().describe("User's domain").nullable().optional(),
125
+ middle: z.string().describe("Middle name of the user").nullable().optional(),
126
+ prefix: z.string().describe("Name prefix").nullable().optional(),
127
+ suffix: z.string().describe("Name suffix").nullable().optional(),
128
+ picture: z.string().describe("URL to the user's profile picture").nullable().optional(),
129
+ disabled: z.boolean().describe("Whether the user is disabled").nullable().optional(),
130
+ is_admin: z.boolean().describe("Whether the user is an admin").nullable().optional(),
131
+ language: z.string().describe("User's preferred language (en/nl/fr/de/pt/br/it/es)").nullable().optional(),
132
+ lastname: z.string().describe("Last name of the user").nullable().optional(),
133
+ addresses: z.array(SalesflareGetCurrentUser_AddressSchema).describe("List of addresses").nullable().optional(),
134
+ firstname: z.string().describe("First name of the user").nullable().optional(),
135
+ positions: z.array(SalesflareGetCurrentUser_PositionSchema).describe("List of positions/roles").nullable().optional(),
136
+ plan_flags: z.object({}).describe("Plan-specific flags").nullable().optional(),
137
+ restricted: z.boolean().describe("Whether the user is restricted").nullable().optional(),
138
+ sync_status: z.string().describe("Overall synchronization status").nullable().optional(),
139
+ credit_usage: z.number().int().describe("Current credit usage").nullable().optional(),
140
+ data_sources: z.array(SalesflareGetCurrentUser_DataSourceSchema).describe("List of connected data sources").nullable().optional(),
141
+ is_importing: z.boolean().describe("Whether data is currently being imported").nullable().optional(),
142
+ creation_date: z.string().describe("Date when the user account was created").nullable().optional(),
143
+ intercom_hash: z.string().describe("Intercom hash for user identification").nullable().optional(),
144
+ is_delinquent: z.boolean().describe("Whether the account is delinquent").nullable().optional(),
145
+ phone_numbers: z.array(SalesflareGetCurrentUser_PhoneNumberSchema).describe("List of phone numbers").nullable().optional(),
146
+ trial_expired: z.boolean().describe("Whether the trial has expired").nullable().optional(),
147
+ am_pm_notation: z.boolean().describe("Whether AM/PM notation is used").nullable().optional(),
148
+ needs_password: z.boolean().describe("Whether the user needs to set a password").nullable().optional(),
149
+ trial_extended: z.boolean().describe("Whether the trial has been extended").nullable().optional(),
150
+ two_fa_enabled: z.boolean().describe("Whether two-factor authentication is enabled").nullable().optional(),
151
+ social_profiles: z.array(SalesflareGetCurrentUser_SocialProfileSchema).describe("List of social media profiles").nullable().optional(),
152
+ first_day_of_week: z.number().int().describe("First day of the week (0-6)").nullable().optional(),
153
+ input_token_usage: z.number().int().describe("Input token usage").nullable().optional(),
154
+ modification_date: z.string().describe("Date when the user account was last modified").nullable().optional(),
155
+ restricted_reason: z.string().describe("Reason for restriction").nullable().optional(),
156
+ trial_expiry_date: z.string().describe("Date when the trial expires").nullable().optional(),
157
+ ai_inference_usage: z.number().int().describe("AI inference usage").nullable().optional(),
158
+ call_log_sync_date: z.string().describe("Date of last call log synchronization").nullable().optional(),
159
+ output_token_usage: z.number().int().describe("Output token usage").nullable().optional(),
160
+ team_discount_code: z.string().describe("Team discount code").nullable().optional(),
161
+ calendar_sync_status: z.string().describe("Calendar synchronization status").nullable().optional(),
162
+ has_archived_contacts: z.boolean().describe("Whether the user has archived contacts").nullable().optional(),
163
+ notification_channel_id: z.string().describe("Notification channel identifier").nullable().optional(),
164
+ auto_find_email_linkedin: z.boolean().describe("Whether to automatically find emails on LinkedIn").nullable().optional(),
165
+ first_calendar_sync_done: z.boolean().describe("Whether the first calendar sync is complete").nullable().optional(),
166
+ data_sources_to_reconnect: z.array(SalesflareGetCurrentUser_DataSourceToReconnectSchema).describe("List of data sources that need reconnection").nullable().optional(),
167
+ amount_of_failed_workflows: z.number().int().describe("Number of failed workflows").nullable().optional(),
168
+ amount_of_trial_days_earned: z.number().int().describe("Number of trial days earned").nullable().optional(),
169
+ has_recently_failed_workflows: z.boolean().describe("Whether there are recently failed workflows").nullable().optional(),
170
+ has_received_account_suggestions: z.boolean().describe("Whether the user has received account suggestions").nullable().optional()
171
+ }).describe("Response model for getting current user's details.")
172
+ });
173
+ //#endregion
174
+ export { salesflareGetCurrentUser };
175
+
176
+ //# sourceMappingURL=get-current-user.mjs.map