@keystrokehq/follow_up_boss 0.1.1 → 0.1.2

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 (579) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-action-plans-people.d.cts +1 -1
  4. package/dist/actions/create-action-plans-people.d.cts.map +1 -1
  5. package/dist/actions/create-action-plans-people.d.mts +1 -1
  6. package/dist/actions/create-action-plans-people.d.mts.map +1 -1
  7. package/dist/actions/create-appointment-outcome.d.cts +1 -5
  8. package/dist/actions/create-appointment-outcome.d.mts +1 -5
  9. package/dist/actions/create-appointment-types.cjs +3 -3
  10. package/dist/actions/create-appointment-types.cjs.map +1 -1
  11. package/dist/actions/create-appointment-types.d.cts +4 -8
  12. package/dist/actions/create-appointment-types.d.mts +4 -8
  13. package/dist/actions/create-appointment-types.mjs +3 -3
  14. package/dist/actions/create-appointment-types.mjs.map +1 -1
  15. package/dist/actions/create-appointment.cjs +26 -26
  16. package/dist/actions/create-appointment.cjs.map +1 -1
  17. package/dist/actions/create-appointment.d.cts +27 -55
  18. package/dist/actions/create-appointment.d.mts +27 -55
  19. package/dist/actions/create-appointment.mjs +26 -26
  20. package/dist/actions/create-appointment.mjs.map +1 -1
  21. package/dist/actions/create-call.cjs +1 -1
  22. package/dist/actions/create-call.cjs.map +1 -1
  23. package/dist/actions/create-call.d.cts +2 -4
  24. package/dist/actions/create-call.d.mts +2 -4
  25. package/dist/actions/create-call.mjs +1 -1
  26. package/dist/actions/create-call.mjs.map +1 -1
  27. package/dist/actions/create-custom-field.cjs +5 -5
  28. package/dist/actions/create-custom-field.cjs.map +1 -1
  29. package/dist/actions/create-custom-field.d.cts +6 -12
  30. package/dist/actions/create-custom-field.d.mts +6 -12
  31. package/dist/actions/create-custom-field.mjs +5 -5
  32. package/dist/actions/create-custom-field.mjs.map +1 -1
  33. package/dist/actions/create-deal-custom-field.cjs +8 -8
  34. package/dist/actions/create-deal-custom-field.cjs.map +1 -1
  35. package/dist/actions/create-deal-custom-field.d.cts +9 -18
  36. package/dist/actions/create-deal-custom-field.d.mts +9 -18
  37. package/dist/actions/create-deal-custom-field.mjs +8 -8
  38. package/dist/actions/create-deal-custom-field.mjs.map +1 -1
  39. package/dist/actions/create-deals.cjs +18 -18
  40. package/dist/actions/create-deals.cjs.map +1 -1
  41. package/dist/actions/create-deals.d.cts +19 -38
  42. package/dist/actions/create-deals.d.mts +19 -38
  43. package/dist/actions/create-deals.mjs +18 -18
  44. package/dist/actions/create-deals.mjs.map +1 -1
  45. package/dist/actions/create-em-campaign.cjs +6 -6
  46. package/dist/actions/create-em-campaign.cjs.map +1 -1
  47. package/dist/actions/create-em-campaign.d.cts +7 -14
  48. package/dist/actions/create-em-campaign.d.mts +7 -14
  49. package/dist/actions/create-em-campaign.mjs +6 -6
  50. package/dist/actions/create-em-campaign.mjs.map +1 -1
  51. package/dist/actions/create-em-events.cjs +1 -1
  52. package/dist/actions/create-em-events.cjs.map +1 -1
  53. package/dist/actions/create-em-events.d.cts +2 -4
  54. package/dist/actions/create-em-events.d.mts +2 -4
  55. package/dist/actions/create-em-events.mjs +1 -1
  56. package/dist/actions/create-em-events.mjs.map +1 -1
  57. package/dist/actions/create-events.cjs +3 -3
  58. package/dist/actions/create-events.cjs.map +1 -1
  59. package/dist/actions/create-events.d.cts +4 -8
  60. package/dist/actions/create-events.d.cts.map +1 -1
  61. package/dist/actions/create-events.d.mts +4 -8
  62. package/dist/actions/create-events.d.mts.map +1 -1
  63. package/dist/actions/create-events.mjs +3 -3
  64. package/dist/actions/create-events.mjs.map +1 -1
  65. package/dist/actions/create-groups.cjs +14 -14
  66. package/dist/actions/create-groups.cjs.map +1 -1
  67. package/dist/actions/create-groups.d.cts +15 -31
  68. package/dist/actions/create-groups.d.mts +15 -31
  69. package/dist/actions/create-groups.mjs +14 -14
  70. package/dist/actions/create-groups.mjs.map +1 -1
  71. package/dist/actions/create-pipelines.cjs +9 -9
  72. package/dist/actions/create-pipelines.cjs.map +1 -1
  73. package/dist/actions/create-pipelines.d.cts +10 -21
  74. package/dist/actions/create-pipelines.d.mts +10 -21
  75. package/dist/actions/create-pipelines.mjs +9 -9
  76. package/dist/actions/create-pipelines.mjs.map +1 -1
  77. package/dist/actions/create-ponds.d.cts +1 -6
  78. package/dist/actions/create-ponds.d.mts +1 -6
  79. package/dist/actions/create-reactions.cjs +5 -5
  80. package/dist/actions/create-reactions.cjs.map +1 -1
  81. package/dist/actions/create-reactions.d.cts +6 -12
  82. package/dist/actions/create-reactions.d.mts +6 -12
  83. package/dist/actions/create-reactions.mjs +5 -5
  84. package/dist/actions/create-reactions.mjs.map +1 -1
  85. package/dist/actions/create-stage.d.cts +1 -7
  86. package/dist/actions/create-stage.d.mts +1 -7
  87. package/dist/actions/create-teams.cjs +1 -1
  88. package/dist/actions/create-teams.cjs.map +1 -1
  89. package/dist/actions/create-teams.d.cts +2 -7
  90. package/dist/actions/create-teams.d.mts +2 -7
  91. package/dist/actions/create-teams.mjs +1 -1
  92. package/dist/actions/create-teams.mjs.map +1 -1
  93. package/dist/actions/create-template.cjs +16 -16
  94. package/dist/actions/create-template.cjs.map +1 -1
  95. package/dist/actions/create-template.d.cts +17 -34
  96. package/dist/actions/create-template.d.cts.map +1 -1
  97. package/dist/actions/create-template.d.mts +17 -34
  98. package/dist/actions/create-template.d.mts.map +1 -1
  99. package/dist/actions/create-template.mjs +16 -16
  100. package/dist/actions/create-template.mjs.map +1 -1
  101. package/dist/actions/create-text-message-template.cjs +18 -18
  102. package/dist/actions/create-text-message-template.cjs.map +1 -1
  103. package/dist/actions/create-text-message-template.d.cts +19 -38
  104. package/dist/actions/create-text-message-template.d.cts.map +1 -1
  105. package/dist/actions/create-text-message-template.d.mts +19 -38
  106. package/dist/actions/create-text-message-template.d.mts.map +1 -1
  107. package/dist/actions/create-text-message-template.mjs +18 -18
  108. package/dist/actions/create-text-message-template.mjs.map +1 -1
  109. package/dist/actions/delete-appointment-outcomes.cjs +1 -1
  110. package/dist/actions/delete-appointment-outcomes.cjs.map +1 -1
  111. package/dist/actions/delete-appointment-outcomes.d.cts +2 -4
  112. package/dist/actions/delete-appointment-outcomes.d.mts +2 -4
  113. package/dist/actions/delete-appointment-outcomes.mjs +1 -1
  114. package/dist/actions/delete-appointment-outcomes.mjs.map +1 -1
  115. package/dist/actions/delete-appointment-type.cjs +1 -1
  116. package/dist/actions/delete-appointment-type.cjs.map +1 -1
  117. package/dist/actions/delete-appointment-type.d.cts +2 -4
  118. package/dist/actions/delete-appointment-type.d.cts.map +1 -1
  119. package/dist/actions/delete-appointment-type.d.mts +2 -4
  120. package/dist/actions/delete-appointment-type.d.mts.map +1 -1
  121. package/dist/actions/delete-appointment-type.mjs +1 -1
  122. package/dist/actions/delete-appointment-type.mjs.map +1 -1
  123. package/dist/actions/delete-appointment.d.cts +1 -4
  124. package/dist/actions/delete-appointment.d.mts +1 -4
  125. package/dist/actions/delete-custom-field.cjs +1 -1
  126. package/dist/actions/delete-custom-field.cjs.map +1 -1
  127. package/dist/actions/delete-custom-field.d.cts +2 -4
  128. package/dist/actions/delete-custom-field.d.mts +2 -4
  129. package/dist/actions/delete-custom-field.mjs +1 -1
  130. package/dist/actions/delete-custom-field.mjs.map +1 -1
  131. package/dist/actions/delete-deal-custom-field.d.cts +1 -1
  132. package/dist/actions/delete-deal-custom-field.d.cts.map +1 -1
  133. package/dist/actions/delete-deal-custom-field.d.mts +1 -1
  134. package/dist/actions/delete-deal-custom-field.d.mts.map +1 -1
  135. package/dist/actions/delete-deal.d.cts +1 -4
  136. package/dist/actions/delete-deal.d.mts +1 -4
  137. package/dist/actions/delete-groups.cjs +1 -1
  138. package/dist/actions/delete-groups.cjs.map +1 -1
  139. package/dist/actions/delete-groups.d.cts +2 -4
  140. package/dist/actions/delete-groups.d.mts +2 -4
  141. package/dist/actions/delete-groups.mjs +1 -1
  142. package/dist/actions/delete-groups.mjs.map +1 -1
  143. package/dist/actions/delete-people-relationship.cjs +1 -1
  144. package/dist/actions/delete-people-relationship.cjs.map +1 -1
  145. package/dist/actions/delete-people-relationship.d.cts +2 -4
  146. package/dist/actions/delete-people-relationship.d.mts +2 -4
  147. package/dist/actions/delete-people-relationship.mjs +1 -1
  148. package/dist/actions/delete-people-relationship.mjs.map +1 -1
  149. package/dist/actions/delete-pipeline.cjs +1 -1
  150. package/dist/actions/delete-pipeline.cjs.map +1 -1
  151. package/dist/actions/delete-pipeline.d.cts +2 -5
  152. package/dist/actions/delete-pipeline.d.mts +2 -5
  153. package/dist/actions/delete-pipeline.mjs +1 -1
  154. package/dist/actions/delete-pipeline.mjs.map +1 -1
  155. package/dist/actions/delete-pond.cjs +1 -1
  156. package/dist/actions/delete-pond.cjs.map +1 -1
  157. package/dist/actions/delete-pond.d.cts +2 -4
  158. package/dist/actions/delete-pond.d.mts +2 -4
  159. package/dist/actions/delete-pond.mjs +1 -1
  160. package/dist/actions/delete-pond.mjs.map +1 -1
  161. package/dist/actions/delete-stage.d.cts +1 -4
  162. package/dist/actions/delete-stage.d.mts +1 -4
  163. package/dist/actions/delete-teams.d.cts +1 -1
  164. package/dist/actions/delete-teams.d.cts.map +1 -1
  165. package/dist/actions/delete-teams.d.mts +1 -1
  166. package/dist/actions/delete-teams.d.mts.map +1 -1
  167. package/dist/actions/delete-text-message-template.d.cts +1 -1
  168. package/dist/actions/delete-text-message-template.d.cts.map +1 -1
  169. package/dist/actions/delete-text-message-template.d.mts +1 -1
  170. package/dist/actions/delete-text-message-template.d.mts.map +1 -1
  171. package/dist/actions/get-appointment-outcome.d.cts +1 -5
  172. package/dist/actions/get-appointment-outcome.d.mts +1 -5
  173. package/dist/actions/get-appointment-types.d.cts +1 -5
  174. package/dist/actions/get-appointment-types.d.mts +1 -5
  175. package/dist/actions/get-appointment.cjs +27 -27
  176. package/dist/actions/get-appointment.cjs.map +1 -1
  177. package/dist/actions/get-appointment.d.cts +28 -58
  178. package/dist/actions/get-appointment.d.mts +28 -58
  179. package/dist/actions/get-appointment.mjs +27 -27
  180. package/dist/actions/get-appointment.mjs.map +1 -1
  181. package/dist/actions/get-call.cjs +15 -15
  182. package/dist/actions/get-call.cjs.map +1 -1
  183. package/dist/actions/get-call.d.cts +16 -32
  184. package/dist/actions/get-call.d.mts +16 -32
  185. package/dist/actions/get-call.mjs +15 -15
  186. package/dist/actions/get-call.mjs.map +1 -1
  187. package/dist/actions/get-deal-custom-field.cjs +8 -8
  188. package/dist/actions/get-deal-custom-field.cjs.map +1 -1
  189. package/dist/actions/get-deal-custom-field.d.cts +9 -18
  190. package/dist/actions/get-deal-custom-field.d.mts +9 -18
  191. package/dist/actions/get-deal-custom-field.mjs +8 -8
  192. package/dist/actions/get-deal-custom-field.mjs.map +1 -1
  193. package/dist/actions/get-deal.cjs +47 -47
  194. package/dist/actions/get-deal.cjs.map +1 -1
  195. package/dist/actions/get-deal.d.cts +48 -99
  196. package/dist/actions/get-deal.d.cts.map +1 -1
  197. package/dist/actions/get-deal.d.mts +48 -99
  198. package/dist/actions/get-deal.d.mts.map +1 -1
  199. package/dist/actions/get-deal.mjs +47 -47
  200. package/dist/actions/get-deal.mjs.map +1 -1
  201. package/dist/actions/get-event.cjs +45 -45
  202. package/dist/actions/get-event.cjs.map +1 -1
  203. package/dist/actions/get-event.d.cts +46 -94
  204. package/dist/actions/get-event.d.mts +46 -94
  205. package/dist/actions/get-event.mjs +45 -45
  206. package/dist/actions/get-event.mjs.map +1 -1
  207. package/dist/actions/get-groups.cjs +16 -16
  208. package/dist/actions/get-groups.cjs.map +1 -1
  209. package/dist/actions/get-groups.d.cts +17 -35
  210. package/dist/actions/get-groups.d.cts.map +1 -1
  211. package/dist/actions/get-groups.d.mts +17 -35
  212. package/dist/actions/get-groups.d.mts.map +1 -1
  213. package/dist/actions/get-groups.mjs +16 -16
  214. package/dist/actions/get-groups.mjs.map +1 -1
  215. package/dist/actions/get-identity.cjs +10 -10
  216. package/dist/actions/get-identity.cjs.map +1 -1
  217. package/dist/actions/get-identity.d.cts +11 -25
  218. package/dist/actions/get-identity.d.cts.map +1 -1
  219. package/dist/actions/get-identity.d.mts +11 -25
  220. package/dist/actions/get-identity.d.mts.map +1 -1
  221. package/dist/actions/get-identity.mjs +10 -10
  222. package/dist/actions/get-identity.mjs.map +1 -1
  223. package/dist/actions/get-me.cjs +34 -34
  224. package/dist/actions/get-me.cjs.map +1 -1
  225. package/dist/actions/get-me.d.cts +35 -72
  226. package/dist/actions/get-me.d.cts.map +1 -1
  227. package/dist/actions/get-me.d.mts +35 -72
  228. package/dist/actions/get-me.d.mts.map +1 -1
  229. package/dist/actions/get-me.mjs +34 -34
  230. package/dist/actions/get-me.mjs.map +1 -1
  231. package/dist/actions/get-people-relationship.cjs +7 -7
  232. package/dist/actions/get-people-relationship.cjs.map +1 -1
  233. package/dist/actions/get-people-relationship.d.cts +8 -16
  234. package/dist/actions/get-people-relationship.d.mts +8 -16
  235. package/dist/actions/get-people-relationship.mjs +7 -7
  236. package/dist/actions/get-people-relationship.mjs.map +1 -1
  237. package/dist/actions/get-pipelines.cjs +10 -10
  238. package/dist/actions/get-pipelines.cjs.map +1 -1
  239. package/dist/actions/get-pipelines.d.cts +11 -23
  240. package/dist/actions/get-pipelines.d.mts +11 -23
  241. package/dist/actions/get-pipelines.mjs +10 -10
  242. package/dist/actions/get-pipelines.mjs.map +1 -1
  243. package/dist/actions/get-ponds.cjs +4 -4
  244. package/dist/actions/get-ponds.cjs.map +1 -1
  245. package/dist/actions/get-ponds.d.cts +5 -10
  246. package/dist/actions/get-ponds.d.mts +5 -10
  247. package/dist/actions/get-ponds.mjs +4 -4
  248. package/dist/actions/get-ponds.mjs.map +1 -1
  249. package/dist/actions/get-smart-list.cjs +2 -2
  250. package/dist/actions/get-smart-list.cjs.map +1 -1
  251. package/dist/actions/get-smart-list.d.cts +3 -6
  252. package/dist/actions/get-smart-list.d.mts +3 -6
  253. package/dist/actions/get-smart-list.mjs +2 -2
  254. package/dist/actions/get-smart-list.mjs.map +1 -1
  255. package/dist/actions/get-stage.cjs +5 -5
  256. package/dist/actions/get-stage.cjs.map +1 -1
  257. package/dist/actions/get-stage.d.cts +6 -12
  258. package/dist/actions/get-stage.d.mts +6 -12
  259. package/dist/actions/get-stage.mjs +5 -5
  260. package/dist/actions/get-stage.mjs.map +1 -1
  261. package/dist/actions/get-teams.cjs +4 -4
  262. package/dist/actions/get-teams.cjs.map +1 -1
  263. package/dist/actions/get-teams.d.cts +5 -10
  264. package/dist/actions/get-teams.d.mts +5 -10
  265. package/dist/actions/get-teams.mjs +4 -4
  266. package/dist/actions/get-teams.mjs.map +1 -1
  267. package/dist/actions/get-template.cjs +15 -15
  268. package/dist/actions/get-template.cjs.map +1 -1
  269. package/dist/actions/get-template.d.cts +16 -33
  270. package/dist/actions/get-template.d.mts +16 -33
  271. package/dist/actions/get-template.mjs +15 -15
  272. package/dist/actions/get-template.mjs.map +1 -1
  273. package/dist/actions/get-text-message-template.cjs +12 -12
  274. package/dist/actions/get-text-message-template.cjs.map +1 -1
  275. package/dist/actions/get-text-message-template.d.cts +13 -26
  276. package/dist/actions/get-text-message-template.d.cts.map +1 -1
  277. package/dist/actions/get-text-message-template.d.mts +13 -26
  278. package/dist/actions/get-text-message-template.d.mts.map +1 -1
  279. package/dist/actions/get-text-message-template.mjs +12 -12
  280. package/dist/actions/get-text-message-template.mjs.map +1 -1
  281. package/dist/actions/get-text-message.cjs +29 -29
  282. package/dist/actions/get-text-message.cjs.map +1 -1
  283. package/dist/actions/get-text-message.d.cts +30 -60
  284. package/dist/actions/get-text-message.d.cts.map +1 -1
  285. package/dist/actions/get-text-message.d.mts +30 -60
  286. package/dist/actions/get-text-message.d.mts.map +1 -1
  287. package/dist/actions/get-text-message.mjs +29 -29
  288. package/dist/actions/get-text-message.mjs.map +1 -1
  289. package/dist/actions/get-user.cjs +17 -17
  290. package/dist/actions/get-user.cjs.map +1 -1
  291. package/dist/actions/get-user.d.cts +18 -37
  292. package/dist/actions/get-user.d.mts +18 -37
  293. package/dist/actions/get-user.mjs +17 -17
  294. package/dist/actions/get-user.mjs.map +1 -1
  295. package/dist/actions/list-action-plans-people.cjs +13 -13
  296. package/dist/actions/list-action-plans-people.cjs.map +1 -1
  297. package/dist/actions/list-action-plans-people.d.cts +14 -30
  298. package/dist/actions/list-action-plans-people.d.mts +14 -30
  299. package/dist/actions/list-action-plans-people.mjs +13 -13
  300. package/dist/actions/list-action-plans-people.mjs.map +1 -1
  301. package/dist/actions/list-action-plans.cjs +13 -13
  302. package/dist/actions/list-action-plans.cjs.map +1 -1
  303. package/dist/actions/list-action-plans.d.cts +14 -30
  304. package/dist/actions/list-action-plans.d.mts +14 -30
  305. package/dist/actions/list-action-plans.mjs +13 -13
  306. package/dist/actions/list-action-plans.mjs.map +1 -1
  307. package/dist/actions/list-appointment-outcomes.cjs +11 -11
  308. package/dist/actions/list-appointment-outcomes.cjs.map +1 -1
  309. package/dist/actions/list-appointment-outcomes.d.cts +12 -26
  310. package/dist/actions/list-appointment-outcomes.d.mts +12 -26
  311. package/dist/actions/list-appointment-outcomes.mjs +11 -11
  312. package/dist/actions/list-appointment-outcomes.mjs.map +1 -1
  313. package/dist/actions/list-appointment-types.cjs +11 -11
  314. package/dist/actions/list-appointment-types.cjs.map +1 -1
  315. package/dist/actions/list-appointment-types.d.cts +12 -26
  316. package/dist/actions/list-appointment-types.d.mts +12 -26
  317. package/dist/actions/list-appointment-types.mjs +11 -11
  318. package/dist/actions/list-appointment-types.mjs.map +1 -1
  319. package/dist/actions/list-appointments.cjs +36 -36
  320. package/dist/actions/list-appointments.cjs.map +1 -1
  321. package/dist/actions/list-appointments.d.cts +37 -78
  322. package/dist/actions/list-appointments.d.mts +37 -78
  323. package/dist/actions/list-appointments.mjs +36 -36
  324. package/dist/actions/list-appointments.mjs.map +1 -1
  325. package/dist/actions/list-calls.cjs +22 -22
  326. package/dist/actions/list-calls.cjs.map +1 -1
  327. package/dist/actions/list-calls.d.cts +23 -48
  328. package/dist/actions/list-calls.d.mts +23 -48
  329. package/dist/actions/list-calls.mjs +22 -22
  330. package/dist/actions/list-calls.mjs.map +1 -1
  331. package/dist/actions/list-custom-fields.cjs +11 -11
  332. package/dist/actions/list-custom-fields.cjs.map +1 -1
  333. package/dist/actions/list-custom-fields.d.cts +14 -28
  334. package/dist/actions/list-custom-fields.d.mts +14 -28
  335. package/dist/actions/list-custom-fields.mjs +11 -11
  336. package/dist/actions/list-custom-fields.mjs.map +1 -1
  337. package/dist/actions/list-deal-custom-fields.cjs +13 -13
  338. package/dist/actions/list-deal-custom-fields.cjs.map +1 -1
  339. package/dist/actions/list-deal-custom-fields.d.cts +16 -32
  340. package/dist/actions/list-deal-custom-fields.d.mts +16 -32
  341. package/dist/actions/list-deal-custom-fields.mjs +13 -13
  342. package/dist/actions/list-deal-custom-fields.mjs.map +1 -1
  343. package/dist/actions/list-deals.cjs +32 -32
  344. package/dist/actions/list-deals.cjs.map +1 -1
  345. package/dist/actions/list-deals.d.cts +33 -70
  346. package/dist/actions/list-deals.d.mts +33 -70
  347. package/dist/actions/list-deals.mjs +32 -32
  348. package/dist/actions/list-deals.mjs.map +1 -1
  349. package/dist/actions/list-em-campaigns.cjs +13 -13
  350. package/dist/actions/list-em-campaigns.cjs.map +1 -1
  351. package/dist/actions/list-em-campaigns.d.cts +14 -30
  352. package/dist/actions/list-em-campaigns.d.mts +14 -30
  353. package/dist/actions/list-em-campaigns.mjs +13 -13
  354. package/dist/actions/list-em-campaigns.mjs.map +1 -1
  355. package/dist/actions/list-em-events.cjs +13 -13
  356. package/dist/actions/list-em-events.cjs.map +1 -1
  357. package/dist/actions/list-em-events.d.cts +14 -30
  358. package/dist/actions/list-em-events.d.mts +14 -30
  359. package/dist/actions/list-em-events.mjs +13 -13
  360. package/dist/actions/list-em-events.mjs.map +1 -1
  361. package/dist/actions/list-events.cjs +56 -56
  362. package/dist/actions/list-events.cjs.map +1 -1
  363. package/dist/actions/list-events.d.cts +57 -118
  364. package/dist/actions/list-events.d.mts +57 -118
  365. package/dist/actions/list-events.mjs +56 -56
  366. package/dist/actions/list-events.mjs.map +1 -1
  367. package/dist/actions/list-groups-round-robin.cjs +25 -25
  368. package/dist/actions/list-groups-round-robin.cjs.map +1 -1
  369. package/dist/actions/list-groups-round-robin.d.cts +28 -58
  370. package/dist/actions/list-groups-round-robin.d.mts +28 -58
  371. package/dist/actions/list-groups-round-robin.mjs +25 -25
  372. package/dist/actions/list-groups-round-robin.mjs.map +1 -1
  373. package/dist/actions/list-groups.cjs +35 -35
  374. package/dist/actions/list-groups.cjs.map +1 -1
  375. package/dist/actions/list-groups.d.cts +38 -78
  376. package/dist/actions/list-groups.d.mts +38 -78
  377. package/dist/actions/list-groups.mjs +35 -35
  378. package/dist/actions/list-groups.mjs.map +1 -1
  379. package/dist/actions/list-inbox-apps.cjs +14 -14
  380. package/dist/actions/list-inbox-apps.cjs.map +1 -1
  381. package/dist/actions/list-inbox-apps.d.cts +15 -32
  382. package/dist/actions/list-inbox-apps.d.mts +15 -32
  383. package/dist/actions/list-inbox-apps.mjs +14 -14
  384. package/dist/actions/list-inbox-apps.mjs.map +1 -1
  385. package/dist/actions/list-people-relationships.cjs +15 -15
  386. package/dist/actions/list-people-relationships.cjs.map +1 -1
  387. package/dist/actions/list-people-relationships.d.cts +16 -34
  388. package/dist/actions/list-people-relationships.d.mts +16 -34
  389. package/dist/actions/list-people-relationships.mjs +15 -15
  390. package/dist/actions/list-people-relationships.mjs.map +1 -1
  391. package/dist/actions/list-pipelines.cjs +16 -16
  392. package/dist/actions/list-pipelines.cjs.map +1 -1
  393. package/dist/actions/list-pipelines.d.cts +17 -37
  394. package/dist/actions/list-pipelines.d.mts +17 -37
  395. package/dist/actions/list-pipelines.mjs +16 -16
  396. package/dist/actions/list-pipelines.mjs.map +1 -1
  397. package/dist/actions/list-ponds.cjs +10 -10
  398. package/dist/actions/list-ponds.cjs.map +1 -1
  399. package/dist/actions/list-ponds.d.cts +11 -24
  400. package/dist/actions/list-ponds.d.mts +11 -24
  401. package/dist/actions/list-ponds.mjs +10 -10
  402. package/dist/actions/list-ponds.mjs.map +1 -1
  403. package/dist/actions/list-smart-lists.cjs +11 -11
  404. package/dist/actions/list-smart-lists.cjs.map +1 -1
  405. package/dist/actions/list-smart-lists.d.cts +12 -26
  406. package/dist/actions/list-smart-lists.d.cts.map +1 -1
  407. package/dist/actions/list-smart-lists.d.mts +12 -26
  408. package/dist/actions/list-smart-lists.d.mts.map +1 -1
  409. package/dist/actions/list-smart-lists.mjs +11 -11
  410. package/dist/actions/list-smart-lists.mjs.map +1 -1
  411. package/dist/actions/list-stages.cjs +11 -11
  412. package/dist/actions/list-stages.cjs.map +1 -1
  413. package/dist/actions/list-stages.d.cts +14 -28
  414. package/dist/actions/list-stages.d.mts +14 -28
  415. package/dist/actions/list-stages.mjs +11 -11
  416. package/dist/actions/list-stages.mjs.map +1 -1
  417. package/dist/actions/list-team-inboxes.cjs +7 -7
  418. package/dist/actions/list-team-inboxes.cjs.map +1 -1
  419. package/dist/actions/list-team-inboxes.d.cts +8 -18
  420. package/dist/actions/list-team-inboxes.d.cts.map +1 -1
  421. package/dist/actions/list-team-inboxes.d.mts +8 -18
  422. package/dist/actions/list-team-inboxes.d.mts.map +1 -1
  423. package/dist/actions/list-team-inboxes.mjs +7 -7
  424. package/dist/actions/list-team-inboxes.mjs.map +1 -1
  425. package/dist/actions/list-teams.cjs +10 -10
  426. package/dist/actions/list-teams.cjs.map +1 -1
  427. package/dist/actions/list-teams.d.cts +11 -24
  428. package/dist/actions/list-teams.d.mts +11 -24
  429. package/dist/actions/list-teams.mjs +10 -10
  430. package/dist/actions/list-teams.mjs.map +1 -1
  431. package/dist/actions/list-templates.cjs +23 -23
  432. package/dist/actions/list-templates.cjs.map +1 -1
  433. package/dist/actions/list-templates.d.cts +24 -51
  434. package/dist/actions/list-templates.d.mts +24 -51
  435. package/dist/actions/list-templates.mjs +23 -23
  436. package/dist/actions/list-templates.mjs.map +1 -1
  437. package/dist/actions/list-text-message-templates.cjs +20 -20
  438. package/dist/actions/list-text-message-templates.cjs.map +1 -1
  439. package/dist/actions/list-text-message-templates.d.cts +21 -44
  440. package/dist/actions/list-text-message-templates.d.cts.map +1 -1
  441. package/dist/actions/list-text-message-templates.d.mts +21 -44
  442. package/dist/actions/list-text-message-templates.d.mts.map +1 -1
  443. package/dist/actions/list-text-message-templates.mjs +20 -20
  444. package/dist/actions/list-text-message-templates.mjs.map +1 -1
  445. package/dist/actions/list-text-messages.cjs +37 -37
  446. package/dist/actions/list-text-messages.cjs.map +1 -1
  447. package/dist/actions/list-text-messages.d.cts +38 -78
  448. package/dist/actions/list-text-messages.d.mts +38 -78
  449. package/dist/actions/list-text-messages.mjs +37 -37
  450. package/dist/actions/list-text-messages.mjs.map +1 -1
  451. package/dist/actions/list-timeframes.cjs +10 -10
  452. package/dist/actions/list-timeframes.cjs.map +1 -1
  453. package/dist/actions/list-timeframes.d.cts +11 -24
  454. package/dist/actions/list-timeframes.d.cts.map +1 -1
  455. package/dist/actions/list-timeframes.d.mts +11 -24
  456. package/dist/actions/list-timeframes.d.mts.map +1 -1
  457. package/dist/actions/list-timeframes.mjs +10 -10
  458. package/dist/actions/list-timeframes.mjs.map +1 -1
  459. package/dist/actions/list-users.cjs +24 -24
  460. package/dist/actions/list-users.cjs.map +1 -1
  461. package/dist/actions/list-users.d.cts +25 -53
  462. package/dist/actions/list-users.d.mts +25 -53
  463. package/dist/actions/list-users.mjs +24 -24
  464. package/dist/actions/list-users.mjs.map +1 -1
  465. package/dist/actions/list-webhooks.cjs +5 -5
  466. package/dist/actions/list-webhooks.cjs.map +1 -1
  467. package/dist/actions/list-webhooks.d.cts +6 -13
  468. package/dist/actions/list-webhooks.d.mts +6 -13
  469. package/dist/actions/list-webhooks.mjs +5 -5
  470. package/dist/actions/list-webhooks.mjs.map +1 -1
  471. package/dist/actions/merge-template.cjs +12 -12
  472. package/dist/actions/merge-template.cjs.map +1 -1
  473. package/dist/actions/merge-template.d.cts +13 -26
  474. package/dist/actions/merge-template.d.mts +13 -26
  475. package/dist/actions/merge-template.mjs +12 -12
  476. package/dist/actions/merge-template.mjs.map +1 -1
  477. package/dist/actions/merge-text-message-template.d.cts +1 -3
  478. package/dist/actions/merge-text-message-template.d.mts +1 -3
  479. package/dist/actions/update-action-plans-people.d.cts +1 -1
  480. package/dist/actions/update-action-plans-people.d.cts.map +1 -1
  481. package/dist/actions/update-action-plans-people.d.mts +1 -1
  482. package/dist/actions/update-action-plans-people.d.mts.map +1 -1
  483. package/dist/actions/update-appointment-outcomes.d.cts +1 -5
  484. package/dist/actions/update-appointment-outcomes.d.mts +1 -5
  485. package/dist/actions/update-appointment-types.cjs +3 -3
  486. package/dist/actions/update-appointment-types.cjs.map +1 -1
  487. package/dist/actions/update-appointment-types.d.cts +4 -8
  488. package/dist/actions/update-appointment-types.d.mts +4 -8
  489. package/dist/actions/update-appointment-types.mjs +3 -3
  490. package/dist/actions/update-appointment-types.mjs.map +1 -1
  491. package/dist/actions/update-appointment.cjs +27 -27
  492. package/dist/actions/update-appointment.cjs.map +1 -1
  493. package/dist/actions/update-appointment.d.cts +28 -59
  494. package/dist/actions/update-appointment.d.mts +28 -59
  495. package/dist/actions/update-appointment.mjs +27 -27
  496. package/dist/actions/update-appointment.mjs.map +1 -1
  497. package/dist/actions/update-calls.cjs +17 -17
  498. package/dist/actions/update-calls.cjs.map +1 -1
  499. package/dist/actions/update-calls.d.cts +18 -36
  500. package/dist/actions/update-calls.d.mts +18 -36
  501. package/dist/actions/update-calls.mjs +17 -17
  502. package/dist/actions/update-calls.mjs.map +1 -1
  503. package/dist/actions/update-custom-fields.cjs +5 -5
  504. package/dist/actions/update-custom-fields.cjs.map +1 -1
  505. package/dist/actions/update-custom-fields.d.cts +6 -12
  506. package/dist/actions/update-custom-fields.d.mts +6 -12
  507. package/dist/actions/update-custom-fields.mjs +5 -5
  508. package/dist/actions/update-custom-fields.mjs.map +1 -1
  509. package/dist/actions/update-deal-custom-fields.cjs +8 -8
  510. package/dist/actions/update-deal-custom-fields.cjs.map +1 -1
  511. package/dist/actions/update-deal-custom-fields.d.cts +9 -18
  512. package/dist/actions/update-deal-custom-fields.d.mts +9 -18
  513. package/dist/actions/update-deal-custom-fields.mjs +8 -8
  514. package/dist/actions/update-deal-custom-fields.mjs.map +1 -1
  515. package/dist/actions/update-deals.cjs +18 -18
  516. package/dist/actions/update-deals.cjs.map +1 -1
  517. package/dist/actions/update-deals.d.cts +19 -38
  518. package/dist/actions/update-deals.d.mts +19 -38
  519. package/dist/actions/update-deals.mjs +18 -18
  520. package/dist/actions/update-deals.mjs.map +1 -1
  521. package/dist/actions/update-em-campaigns.cjs +6 -6
  522. package/dist/actions/update-em-campaigns.cjs.map +1 -1
  523. package/dist/actions/update-em-campaigns.d.cts +7 -14
  524. package/dist/actions/update-em-campaigns.d.mts +7 -14
  525. package/dist/actions/update-em-campaigns.mjs +6 -6
  526. package/dist/actions/update-em-campaigns.mjs.map +1 -1
  527. package/dist/actions/update-groups.cjs +15 -15
  528. package/dist/actions/update-groups.cjs.map +1 -1
  529. package/dist/actions/update-groups.d.cts +16 -34
  530. package/dist/actions/update-groups.d.cts.map +1 -1
  531. package/dist/actions/update-groups.d.mts +16 -34
  532. package/dist/actions/update-groups.d.mts.map +1 -1
  533. package/dist/actions/update-groups.mjs +15 -15
  534. package/dist/actions/update-groups.mjs.map +1 -1
  535. package/dist/actions/update-people-relationships.cjs +10 -10
  536. package/dist/actions/update-people-relationships.cjs.map +1 -1
  537. package/dist/actions/update-people-relationships.d.cts +11 -22
  538. package/dist/actions/update-people-relationships.d.mts +11 -22
  539. package/dist/actions/update-people-relationships.mjs +10 -10
  540. package/dist/actions/update-people-relationships.mjs.map +1 -1
  541. package/dist/actions/update-pipelines.cjs +10 -10
  542. package/dist/actions/update-pipelines.cjs.map +1 -1
  543. package/dist/actions/update-pipelines.d.cts +11 -23
  544. package/dist/actions/update-pipelines.d.mts +11 -23
  545. package/dist/actions/update-pipelines.mjs +10 -10
  546. package/dist/actions/update-pipelines.mjs.map +1 -1
  547. package/dist/actions/update-ponds.cjs +4 -4
  548. package/dist/actions/update-ponds.cjs.map +1 -1
  549. package/dist/actions/update-ponds.d.cts +5 -10
  550. package/dist/actions/update-ponds.d.mts +5 -10
  551. package/dist/actions/update-ponds.mjs +4 -4
  552. package/dist/actions/update-ponds.mjs.map +1 -1
  553. package/dist/actions/update-stages.cjs +5 -5
  554. package/dist/actions/update-stages.cjs.map +1 -1
  555. package/dist/actions/update-stages.d.cts +6 -12
  556. package/dist/actions/update-stages.d.mts +6 -12
  557. package/dist/actions/update-stages.mjs +5 -5
  558. package/dist/actions/update-stages.mjs.map +1 -1
  559. package/dist/actions/update-teams.cjs +3 -3
  560. package/dist/actions/update-teams.cjs.map +1 -1
  561. package/dist/actions/update-teams.d.cts +4 -8
  562. package/dist/actions/update-teams.d.mts +4 -8
  563. package/dist/actions/update-teams.mjs +3 -3
  564. package/dist/actions/update-teams.mjs.map +1 -1
  565. package/dist/actions/update-templates.cjs +5 -5
  566. package/dist/actions/update-templates.cjs.map +1 -1
  567. package/dist/actions/update-templates.d.cts +6 -12
  568. package/dist/actions/update-templates.d.mts +6 -12
  569. package/dist/actions/update-templates.mjs +5 -5
  570. package/dist/actions/update-templates.mjs.map +1 -1
  571. package/dist/actions/update-text-message-template.cjs +18 -18
  572. package/dist/actions/update-text-message-template.cjs.map +1 -1
  573. package/dist/actions/update-text-message-template.d.cts +19 -38
  574. package/dist/actions/update-text-message-template.d.cts.map +1 -1
  575. package/dist/actions/update-text-message-template.d.mts +19 -38
  576. package/dist/actions/update-text-message-template.d.mts.map +1 -1
  577. package/dist/actions/update-text-message-template.mjs +18 -18
  578. package/dist/actions/update-text-message-template.mjs.map +1 -1
  579. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"create-appointment.mjs","names":[],"sources":["../../src/actions/create-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateAppointmentInput = z.object({\n end: z.string().describe(\"The ending date and time of the appointment in ISO 8601 format (UTC). Also supports time zone suffix (e.g., '2026-02-15T11:00:00Z' or '2026-02-15T11:00:00-08:00').\"),\n start: z.string().describe(\"The beginning date and time of the appointment in ISO 8601 format (UTC). Also supports time zone suffix (e.g., '2026-02-15T10:00:00Z' or '2026-02-15T10:00:00-08:00').\"),\n title: z.string().describe(\"Title of the appointment.\"),\n allDay: z.boolean().default(false).describe(\"Sets whether the appointment is an all day event or not. Defaults to false.\").optional(),\n typeId: z.number().int().describe(\"The Follow Up Boss appointment type identifier.\").optional(),\n invitees: z.array(z.object({\n name: z.string().describe(\"Name of the invitee.\").optional(),\n email: z.string().describe(\"Email address of the invitee.\").optional(),\n userId: z.number().int().describe(\"The ID of the user to invite (internal team member).\").optional(),\n personId: z.string().describe(\"The ID of the person to invite (contact/lead).\").optional(),\n}).describe(\"Invitee for the appointment - either a user or a person.\")).describe(\"Array of users and/or people to invite to the appointment. Each invitee can have userId (for team members) or personId (for contacts/leads), along with optional name and email.\").optional(),\n location: z.string().describe(\"The location or address of the appointment.\").optional(),\n outcomeId: z.number().int().describe(\"The Follow Up Boss appointment outcome identifier.\").optional(),\n createdById: z.number().int().describe(\"The ID of the user that created the appointment. Note: This can only be set by admins, otherwise the currently logged in user's ID is used.\").optional(),\n description: z.string().describe(\"Description of the appointment or event.\").optional(),\n sendInvitation: z.boolean().default(false).describe(\"Send an invitation email to invitees. If the 'appointment reminders' feature is enabled, an SMS reminder will also be sent. Defaults to false.\").optional(),\n}).describe(\"Request schema for creating an appointment.\");\nconst FollowUpBossCreateAppointment_InviteeResponseSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the invitee.\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the invitee.\").optional()),\n userId: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The ID of the user invitee.\").optional()),\n picture: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.record(z.string(), z.unknown())]).optional()),\n personId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the person invitee.\").optional()),\n}).describe(\"Invitee information in the response.\");\nexport const FollowUpBossCreateAppointmentOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The unique identifier of the created appointment.\").optional()),\n end: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ending date and time of the appointment.\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.record(z.string(), z.unknown())]).optional()),\n start: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The beginning date and time of the appointment.\").optional()),\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Title of the appointment.\").optional()),\n allDay: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the appointment is an all day event.\").optional()),\n typeId: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The Follow Up Boss appointment type identifier.\").optional()),\n created: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the appointment was created.\").optional()),\n outcome: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.record(z.string(), z.unknown())]).optional()),\n updated: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the appointment was last updated.\").optional()),\n invitees: z.preprocess((value) => (value === null ? undefined : value), z.array(FollowUpBossCreateAppointment_InviteeResponseSchema).describe(\"Array of users and/or people invited to the appointment.\").optional()),\n location: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The location or address of the appointment.\").optional()),\n originFub: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the appointment originated from Follow Up Boss.\").optional()),\n outcomeId: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The Follow Up Boss appointment outcome identifier.\").optional()),\n isEditable: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the appointment can be edited.\").optional()),\n createdById: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The ID of the user that created the appointment.\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the appointment or event.\").optional()),\n updatedById: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The ID of the user that last updated the appointment.\").optional()),\n detailsVisible: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether appointment details are visible.\").optional()),\n externalEventLink: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"External event link if synced.\").optional()),\n externalCalendarId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"External calendar ID if synced.\").optional()),\n}).describe(\"Response schema for creating an appointment.\");\n\nexport const followUpBossCreateAppointment = action(\"FOLLOW_UP_BOSS_CREATE_APPOINTMENT\", {\n slug: \"follow_up_boss-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in Follow Up Boss. Use when you need to schedule meetings, property showings, or events. Requires title, start time, and end time. Optionally send invitation emails to invitees.\",\n input: FollowUpBossCreateAppointmentInput,\n output: FollowUpBossCreateAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;CAC9L,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACnM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,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O,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;EACrJ,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;EACxK,gBAAgB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;EACzJ,mBAAmB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC;EACjJ,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;CACrJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-appointment.mjs","names":[],"sources":["../../src/actions/create-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateAppointmentInput = z.object({\n end: z.string().describe(\"The ending date and time of the appointment in ISO 8601 format (UTC). Also supports time zone suffix (e.g., '2026-02-15T11:00:00Z' or '2026-02-15T11:00:00-08:00').\"),\n start: z.string().describe(\"The beginning date and time of the appointment in ISO 8601 format (UTC). Also supports time zone suffix (e.g., '2026-02-15T10:00:00Z' or '2026-02-15T10:00:00-08:00').\"),\n title: z.string().describe(\"Title of the appointment.\"),\n allDay: z.boolean().default(false).describe(\"Sets whether the appointment is an all day event or not. Defaults to false.\").optional(),\n typeId: z.number().int().describe(\"The Follow Up Boss appointment type identifier.\").optional(),\n invitees: z.array(z.object({\n name: z.string().describe(\"Name of the invitee.\").optional(),\n email: z.string().describe(\"Email address of the invitee.\").optional(),\n userId: z.number().int().describe(\"The ID of the user to invite (internal team member).\").optional(),\n personId: z.string().describe(\"The ID of the person to invite (contact/lead).\").optional(),\n}).describe(\"Invitee for the appointment - either a user or a person.\")).describe(\"Array of users and/or people to invite to the appointment. Each invitee can have userId (for team members) or personId (for contacts/leads), along with optional name and email.\").optional(),\n location: z.string().describe(\"The location or address of the appointment.\").optional(),\n outcomeId: z.number().int().describe(\"The Follow Up Boss appointment outcome identifier.\").optional(),\n createdById: z.number().int().describe(\"The ID of the user that created the appointment. Note: This can only be set by admins, otherwise the currently logged in user's ID is used.\").optional(),\n description: z.string().describe(\"Description of the appointment or event.\").optional(),\n sendInvitation: z.boolean().default(false).describe(\"Send an invitation email to invitees. If the 'appointment reminders' feature is enabled, an SMS reminder will also be sent. Defaults to false.\").optional(),\n}).describe(\"Request schema for creating an appointment.\");\nconst FollowUpBossCreateAppointment_InviteeResponseSchema = z.object({\n name: z.string().describe(\"Name of the invitee.\").nullable().optional(),\n email: z.string().describe(\"Email address of the invitee.\").nullable().optional(),\n userId: z.number().int().describe(\"The ID of the user invitee.\").nullable().optional(),\n picture: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n personId: z.string().describe(\"The ID of the person invitee.\").nullable().optional(),\n}).describe(\"Invitee information in the response.\");\nexport const FollowUpBossCreateAppointmentOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created appointment.\").nullable().optional(),\n end: z.string().describe(\"The ending date and time of the appointment.\").nullable().optional(),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n start: z.string().describe(\"The beginning date and time of the appointment.\").nullable().optional(),\n title: z.string().describe(\"Title of the appointment.\").nullable().optional(),\n allDay: z.boolean().describe(\"Whether the appointment is an all day event.\").nullable().optional(),\n typeId: z.number().int().describe(\"The Follow Up Boss appointment type identifier.\").nullable().optional(),\n created: z.string().describe(\"Timestamp when the appointment was created.\").nullable().optional(),\n outcome: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n updated: z.string().describe(\"Timestamp when the appointment was last updated.\").nullable().optional(),\n invitees: z.array(FollowUpBossCreateAppointment_InviteeResponseSchema).describe(\"Array of users and/or people invited to the appointment.\").nullable().optional(),\n location: z.string().describe(\"The location or address of the appointment.\").nullable().optional(),\n originFub: z.boolean().describe(\"Whether the appointment originated from Follow Up Boss.\").nullable().optional(),\n outcomeId: z.number().int().describe(\"The Follow Up Boss appointment outcome identifier.\").nullable().optional(),\n isEditable: z.boolean().describe(\"Whether the appointment can be edited.\").nullable().optional(),\n createdById: z.number().int().describe(\"The ID of the user that created the appointment.\").nullable().optional(),\n description: z.string().describe(\"Description of the appointment or event.\").nullable().optional(),\n updatedById: z.number().int().describe(\"The ID of the user that last updated the appointment.\").nullable().optional(),\n detailsVisible: z.boolean().describe(\"Whether appointment details are visible.\").nullable().optional(),\n externalEventLink: z.string().describe(\"External event link if synced.\").nullable().optional(),\n externalCalendarId: z.string().describe(\"External calendar ID if synced.\").nullable().optional(),\n}).describe(\"Response schema for creating an appointment.\");\n\nexport const followUpBossCreateAppointment = action(\"FOLLOW_UP_BOSS_CREATE_APPOINTMENT\", {\n slug: \"follow_up_boss-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in Follow Up Boss. Use when you need to schedule meetings, property showings, or events. Requires title, start time, and end time. Optionally send invitation emails to invitees.\",\n input: FollowUpBossCreateAppointmentInput,\n output: FollowUpBossCreateAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;CAC9L,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACnM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;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ollowUpBossCreateCallInput = zod.z.object({
20
20
  isIncoming: zod.z.boolean().describe("Sets this as an incoming or outgoing call."),
21
21
  recordingUrl: zod.z.string().describe("The URL for the call recording.").optional()
22
22
  }).describe("Request schema for creating a call record.");
23
- const FollowUpBossCreateCallOutput = zod.z.object({ success: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates if the call was created successfully.").optional()) }).describe("Response schema for creating a call record.");
23
+ const FollowUpBossCreateCallOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates if the call was created successfully.").nullable().optional() }).describe("Response schema for creating a call record.");
24
24
  const followUpBossCreateCall = require_action.action("FOLLOW_UP_BOSS_CREATE_CALL", {
25
25
  slug: "follow_up_boss-create-call",
26
26
  name: "Create Call",
@@ -1 +1 @@
1
- {"version":3,"file":"create-call.cjs","names":["z","action"],"sources":["../../src/actions/create-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCallInput = z.object({\n note: z.string().describe(\"The log message entered for this call.\").optional(),\n phone: z.string().describe(\"The phone number this call was made to or from.\"),\n userId: z.number().int().describe(\"The ID of the user that made or received a call. This can only be set by administrators; otherwise the currently logged in user's ID is used.\").optional(),\n outcome: z.enum([\"Interested\", \"Not Interested\", \"Left Message\", \"No Answer\", \"Busy\", \"Bad Number\"]).describe(\"Possible outcomes for a call.\").optional(),\n duration: z.number().int().describe(\"Length of the call in seconds.\").optional(),\n personId: z.number().int().describe(\"The ID of a person associated with this call.\"),\n toNumber: z.string().describe(\"The phone number this call was made to.\").optional(),\n fromNumber: z.string().describe(\"The phone number this call was made from.\").optional(),\n isIncoming: z.boolean().describe(\"Sets this as an incoming or outgoing call.\"),\n recordingUrl: z.string().describe(\"The URL for the call recording.\").optional(),\n}).describe(\"Request schema for creating a call record.\");\nexport const FollowUpBossCreateCallOutput = z.object({\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates if the call was created successfully.\").optional()),\n}).describe(\"Response schema for creating a call record.\");\n\nexport const followUpBossCreateCall = action(\"FOLLOW_UP_BOSS_CREATE_CALL\", {\n slug: \"follow_up_boss-create-call\",\n name: \"Create Call\",\n description: \"Tool to add a call record to Follow Up Boss. Use when you need to log a phone call interaction with a person.\",\n input: FollowUpBossCreateCallInput,\n output: FollowUpBossCreateCallOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAkB;EAAgB;EAAa;EAAQ;CAAY,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,EAC3J,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-call.cjs","names":["z","action"],"sources":["../../src/actions/create-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCallInput = z.object({\n note: z.string().describe(\"The log message entered for this call.\").optional(),\n phone: z.string().describe(\"The phone number this call was made to or from.\"),\n userId: z.number().int().describe(\"The ID of the user that made or received a call. This can only be set by administrators; otherwise the currently logged in user's ID is used.\").optional(),\n outcome: z.enum([\"Interested\", \"Not Interested\", \"Left Message\", \"No Answer\", \"Busy\", \"Bad Number\"]).describe(\"Possible outcomes for a call.\").optional(),\n duration: z.number().int().describe(\"Length of the call in seconds.\").optional(),\n personId: z.number().int().describe(\"The ID of a person associated with this call.\"),\n toNumber: z.string().describe(\"The phone number this call was made to.\").optional(),\n fromNumber: z.string().describe(\"The phone number this call was made from.\").optional(),\n isIncoming: z.boolean().describe(\"Sets this as an incoming or outgoing call.\"),\n recordingUrl: z.string().describe(\"The URL for the call recording.\").optional(),\n}).describe(\"Request schema for creating a call record.\");\nexport const FollowUpBossCreateCallOutput = z.object({\n success: z.boolean().describe(\"Indicates if the call was created successfully.\").nullable().optional(),\n}).describe(\"Response schema for creating a call record.\");\n\nexport const followUpBossCreateCall = action(\"FOLLOW_UP_BOSS_CREATE_CALL\", {\n slug: \"follow_up_boss-create-call\",\n name: \"Create Call\",\n description: \"Tool to add a call record to Follow Up Boss. Use when you need to log a phone call interaction with a person.\",\n input: FollowUpBossCreateCallInput,\n output: FollowUpBossCreateCallOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAA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z.ZodOptional<z.ZodString>;
22
22
  }, z.core.$strip>;
23
23
  declare const FollowUpBossCreateCallOutput: z.ZodObject<{
24
- success: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
24
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
25
  }, z.core.$strip>;
26
26
  declare const followUpBossCreateCall: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  phone: string;
@@ -34,9 +34,7 @@ declare const followUpBossCreateCall: import("@keystrokehq/action").WorkflowActi
34
34
  toNumber?: string | undefined;
35
35
  fromNumber?: string | undefined;
36
36
  recordingUrl?: string | undefined;
37
- }, {
38
- success?: boolean | undefined;
39
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
38
  //#endregion
41
39
  export { followUpBossCreateCall };
42
40
  //# sourceMappingURL=create-call.d.cts.map
@@ -21,7 +21,7 @@ declare const FollowUpBossCreateCallInput: z.ZodObject<{
21
21
  recordingUrl: z.ZodOptional<z.ZodString>;
22
22
  }, z.core.$strip>;
23
23
  declare const FollowUpBossCreateCallOutput: z.ZodObject<{
24
- success: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
24
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
25
  }, z.core.$strip>;
26
26
  declare const followUpBossCreateCall: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  phone: string;
@@ -34,9 +34,7 @@ declare const followUpBossCreateCall: import("@keystrokehq/action").WorkflowActi
34
34
  toNumber?: string | undefined;
35
35
  fromNumber?: string | undefined;
36
36
  recordingUrl?: string | undefined;
37
- }, {
38
- success?: boolean | undefined;
39
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
38
  //#endregion
41
39
  export { followUpBossCreateCall };
42
40
  //# sourceMappingURL=create-call.d.mts.map
@@ -23,7 +23,7 @@ const followUpBossCreateCall = action("FOLLOW_UP_BOSS_CREATE_CALL", {
23
23
  isIncoming: z.boolean().describe("Sets this as an incoming or outgoing call."),
24
24
  recordingUrl: z.string().describe("The URL for the call recording.").optional()
25
25
  }).describe("Request schema for creating a call record."),
26
- output: z.object({ success: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates if the call was created successfully.").optional()) }).describe("Response schema for creating a call record.")
26
+ output: z.object({ success: z.boolean().describe("Indicates if the call was created successfully.").nullable().optional() }).describe("Response schema for creating a call record.")
27
27
  });
28
28
  //#endregion
29
29
  export { followUpBossCreateCall };
@@ -1 +1 @@
1
- {"version":3,"file":"create-call.mjs","names":[],"sources":["../../src/actions/create-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCallInput = z.object({\n note: z.string().describe(\"The log message entered for this call.\").optional(),\n phone: z.string().describe(\"The phone number this call was made to or from.\"),\n userId: z.number().int().describe(\"The ID of the user that made or received a call. This can only be set by administrators; otherwise the currently logged in user's ID is used.\").optional(),\n outcome: z.enum([\"Interested\", \"Not Interested\", \"Left Message\", \"No Answer\", \"Busy\", \"Bad Number\"]).describe(\"Possible outcomes for a call.\").optional(),\n duration: z.number().int().describe(\"Length of the call in seconds.\").optional(),\n personId: z.number().int().describe(\"The ID of a person associated with this call.\"),\n toNumber: z.string().describe(\"The phone number this call was made to.\").optional(),\n fromNumber: z.string().describe(\"The phone number this call was made from.\").optional(),\n isIncoming: z.boolean().describe(\"Sets this as an incoming or outgoing call.\"),\n recordingUrl: z.string().describe(\"The URL for the call recording.\").optional(),\n}).describe(\"Request schema for creating a call record.\");\nexport const FollowUpBossCreateCallOutput = z.object({\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates if the call was created successfully.\").optional()),\n}).describe(\"Response schema for creating a call record.\");\n\nexport const followUpBossCreateCall = action(\"FOLLOW_UP_BOSS_CREATE_CALL\", {\n slug: \"follow_up_boss-create-call\",\n name: \"Create Call\",\n description: \"Tool to add a call record to Follow Up Boss. Use when you need to log a phone call interaction with a person.\",\n input: FollowUpBossCreateCallInput,\n output: FollowUpBossCreateCallOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EAC5L,SAAS,EAAE,KAAK;GAAC;GAAc;GAAkB;GAAgB;GAAa;GAAQ;EAAY,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,EAC3J,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-call.mjs","names":[],"sources":["../../src/actions/create-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCallInput = z.object({\n note: z.string().describe(\"The log message entered for this call.\").optional(),\n phone: z.string().describe(\"The phone number this call was made to or from.\"),\n userId: z.number().int().describe(\"The ID of the user that made or received a call. This can only be set by administrators; otherwise the currently logged in user's ID is used.\").optional(),\n outcome: z.enum([\"Interested\", \"Not Interested\", \"Left Message\", \"No Answer\", \"Busy\", \"Bad Number\"]).describe(\"Possible outcomes for a call.\").optional(),\n duration: z.number().int().describe(\"Length of the call in seconds.\").optional(),\n personId: z.number().int().describe(\"The ID of a person associated with this call.\"),\n toNumber: z.string().describe(\"The phone number this call was made to.\").optional(),\n fromNumber: z.string().describe(\"The phone number this call was made from.\").optional(),\n isIncoming: z.boolean().describe(\"Sets this as an incoming or outgoing call.\"),\n recordingUrl: z.string().describe(\"The URL for the call recording.\").optional(),\n}).describe(\"Request schema for creating a call record.\");\nexport const FollowUpBossCreateCallOutput = z.object({\n success: z.boolean().describe(\"Indicates if the call was created successfully.\").nullable().optional(),\n}).describe(\"Response schema for creating a call record.\");\n\nexport const followUpBossCreateCall = action(\"FOLLOW_UP_BOSS_CREATE_CALL\", {\n slug: \"follow_up_boss-create-call\",\n name: \"Create Call\",\n description: \"Tool to add a call record to Follow Up Boss. Use when you need to log a phone call interaction with a person.\",\n input: FollowUpBossCreateCallInput,\n output: FollowUpBossCreateCallOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EAC5L,SAAS,EAAE,KAAK;GAAC;GAAc;GAAkB;GAAgB;GAAa;GAAQ;EAAY,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -15,11 +15,11 @@ const FollowUpBossCreateCustomFieldInput = zod.z.object({
15
15
  orderWeight: zod.z.number().int().describe("A weighted integer used for custom sorting of fields. Higher values appear later in the list. Defaults to 0.").optional()
16
16
  });
17
17
  const FollowUpBossCreateCustomFieldOutput = zod.z.object({
18
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The unique identifier assigned to the created custom field.").optional()),
19
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The internal system name for the custom field, typically in camelCase format.").optional()),
20
- type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The type of the custom field.").optional()),
21
- label: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The user-friendly name of the custom field.").optional()),
22
- isRecurring: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether this date field recurs annually. Only present for date type fields.").optional())
18
+ id: zod.z.number().int().describe("The unique identifier assigned to the created custom field.").nullable().optional(),
19
+ name: zod.z.string().describe("The internal system name for the custom field, typically in camelCase format.").nullable().optional(),
20
+ type: zod.z.string().describe("The type of the custom field.").nullable().optional(),
21
+ label: zod.z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
22
+ isRecurring: zod.z.boolean().describe("Whether this date field recurs annually. Only present for date type fields.").nullable().optional()
23
23
  });
24
24
  const followUpBossCreateCustomField = require_action.action("FOLLOW_UP_BOSS_CREATE_CUSTOM_FIELD", {
25
25
  slug: "follow_up_boss-create-custom-field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of custom field to create. Choose 'text' for free-form text input, 'date' for date values, 'number' for numeric values, or 'dropdown' for a list of predefined choices.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., \\\"Anniversary\\\", \\\"Customer Type\\\"). This is the label that will be displayed in the UI.\"),\n choices: z.array(z.string()).describe(\"Array of options for a custom field of type 'dropdown'. Required when type is 'dropdown', ignored for other types. Each string represents one selectable option.\").optional(),\n hideIfEmpty: z.boolean().describe(\"When viewing a person, hide this field if it has no value. Defaults to false. Useful for keeping profiles clean by only showing fields with data.\").optional(),\n isRecurring: z.boolean().describe(\"Whether a date field occurs every year (e.g., birthdays, anniversaries). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer used for custom sorting of fields. Higher values appear later in the list. Defaults to 0.\").optional(),\n});\nexport const FollowUpBossCreateCustomFieldOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The unique identifier assigned to the created custom field.\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The internal system name for the custom field, typically in camelCase format.\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type of the custom field.\").optional()),\n label: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The user-friendly name of the custom field.\").optional()),\n isRecurring: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether this date field recurs annually. Only present for date type fields.\").optional()),\n});\n\nexport const followUpBossCreateCustomField = action(\"FOLLOW_UP_BOSS_CREATE_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field in Follow Up Boss. Use when you need to add a new custom data field to person records, such as tracking anniversaries, customer types, or any other custom information.\",\n input: FollowUpBossCreateCustomFieldInput,\n output: FollowUpBossCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,kLAAkL;CAChP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CACvK,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACnN,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAChM,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACzL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;CACrK,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;CACnL,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;CACnI,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CAClJ,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC;AAC3L,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of custom field to create. Choose 'text' for free-form text input, 'date' for date values, 'number' for numeric values, or 'dropdown' for a list of predefined choices.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., \\\"Anniversary\\\", \\\"Customer Type\\\"). This is the label that will be displayed in the UI.\"),\n choices: z.array(z.string()).describe(\"Array of options for a custom field of type 'dropdown'. Required when type is 'dropdown', ignored for other types. Each string represents one selectable option.\").optional(),\n hideIfEmpty: z.boolean().describe(\"When viewing a person, hide this field if it has no value. Defaults to false. Useful for keeping profiles clean by only showing fields with data.\").optional(),\n isRecurring: z.boolean().describe(\"Whether a date field occurs every year (e.g., birthdays, anniversaries). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer used for custom sorting of fields. Higher values appear later in the list. Defaults to 0.\").optional(),\n});\nexport const FollowUpBossCreateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier assigned to the created custom field.\").nullable().optional(),\n name: z.string().describe(\"The internal system name for the custom field, typically in camelCase format.\").nullable().optional(),\n type: z.string().describe(\"The type of the custom field.\").nullable().optional(),\n label: z.string().describe(\"The user-friendly name of the custom field.\").nullable().optional(),\n isRecurring: z.boolean().describe(\"Whether this date field recurs annually. Only present for date type fields.\").nullable().optional(),\n});\n\nexport const followUpBossCreateCustomField = action(\"FOLLOW_UP_BOSS_CREATE_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field in Follow Up Boss. Use when you need to add a new custom data field to person records, such as tracking anniversaries, customer types, or any other custom information.\",\n input: FollowUpBossCreateCustomFieldInput,\n output: FollowUpBossCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,kLAAkL;CAChP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CACvK,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACnN,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAChM,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACzL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,11 +15,11 @@ declare const FollowUpBossCreateCustomFieldInput: z.ZodObject<{
15
15
  orderWeight: z.ZodOptional<z.ZodNumber>;
16
16
  }, z.core.$strip>;
17
17
  declare const FollowUpBossCreateCustomFieldOutput: z.ZodObject<{
18
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
18
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
23
  }, z.core.$strip>;
24
24
  declare const followUpBossCreateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  type: "number" | "date" | "text" | "dropdown";
@@ -28,13 +28,7 @@ declare const followUpBossCreateCustomField: import("@keystrokehq/action").Workf
28
28
  hideIfEmpty?: boolean | undefined;
29
29
  isRecurring?: boolean | undefined;
30
30
  orderWeight?: number | undefined;
31
- }, {
32
- id?: number | undefined;
33
- name?: string | undefined;
34
- type?: string | undefined;
35
- label?: string | undefined;
36
- isRecurring?: boolean | undefined;
37
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
32
  //#endregion
39
33
  export { followUpBossCreateCustomField };
40
34
  //# sourceMappingURL=create-custom-field.d.cts.map
@@ -15,11 +15,11 @@ declare const FollowUpBossCreateCustomFieldInput: z.ZodObject<{
15
15
  orderWeight: z.ZodOptional<z.ZodNumber>;
16
16
  }, z.core.$strip>;
17
17
  declare const FollowUpBossCreateCustomFieldOutput: z.ZodObject<{
18
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
18
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
23
  }, z.core.$strip>;
24
24
  declare const followUpBossCreateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  type: "number" | "date" | "text" | "dropdown";
@@ -28,13 +28,7 @@ declare const followUpBossCreateCustomField: import("@keystrokehq/action").Workf
28
28
  hideIfEmpty?: boolean | undefined;
29
29
  isRecurring?: boolean | undefined;
30
30
  orderWeight?: number | undefined;
31
- }, {
32
- id?: number | undefined;
33
- name?: string | undefined;
34
- type?: string | undefined;
35
- label?: string | undefined;
36
- isRecurring?: boolean | undefined;
37
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
32
  //#endregion
39
33
  export { followUpBossCreateCustomField };
40
34
  //# sourceMappingURL=create-custom-field.d.mts.map
@@ -18,11 +18,11 @@ const followUpBossCreateCustomField = action("FOLLOW_UP_BOSS_CREATE_CUSTOM_FIELD
18
18
  orderWeight: z.number().int().describe("A weighted integer used for custom sorting of fields. Higher values appear later in the list. Defaults to 0.").optional()
19
19
  }),
20
20
  output: z.object({
21
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("The unique identifier assigned to the created custom field.").optional()),
22
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The internal system name for the custom field, typically in camelCase format.").optional()),
23
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The type of the custom field.").optional()),
24
- label: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The user-friendly name of the custom field.").optional()),
25
- isRecurring: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether this date field recurs annually. Only present for date type fields.").optional())
21
+ id: z.number().int().describe("The unique identifier assigned to the created custom field.").nullable().optional(),
22
+ name: z.string().describe("The internal system name for the custom field, typically in camelCase format.").nullable().optional(),
23
+ type: z.string().describe("The type of the custom field.").nullable().optional(),
24
+ label: z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
25
+ isRecurring: z.boolean().describe("Whether this date field recurs annually. Only present for date type fields.").nullable().optional()
26
26
  })
27
27
  });
28
28
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of custom field to create. Choose 'text' for free-form text input, 'date' for date values, 'number' for numeric values, or 'dropdown' for a list of predefined choices.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., \\\"Anniversary\\\", \\\"Customer Type\\\"). This is the label that will be displayed in the UI.\"),\n choices: z.array(z.string()).describe(\"Array of options for a custom field of type 'dropdown'. Required when type is 'dropdown', ignored for other types. Each string represents one selectable option.\").optional(),\n hideIfEmpty: z.boolean().describe(\"When viewing a person, hide this field if it has no value. Defaults to false. Useful for keeping profiles clean by only showing fields with data.\").optional(),\n isRecurring: z.boolean().describe(\"Whether a date field occurs every year (e.g., birthdays, anniversaries). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer used for custom sorting of fields. Higher values appear later in the list. Defaults to 0.\").optional(),\n});\nexport const FollowUpBossCreateCustomFieldOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The unique identifier assigned to the created custom field.\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The internal system name for the custom field, typically in camelCase format.\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type of the custom field.\").optional()),\n label: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The user-friendly name of the custom field.\").optional()),\n isRecurring: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether this date field recurs annually. Only present for date type fields.\").optional()),\n});\n\nexport const followUpBossCreateCustomField = action(\"FOLLOW_UP_BOSS_CREATE_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field in Follow Up Boss. Use when you need to add a new custom data field to person records, such as tracking anniversaries, customer types, or any other custom information.\",\n input: FollowUpBossCreateCustomFieldInput,\n output: FollowUpBossCreateCustomFieldOutput,\n});\n"],"mappings":";;AAoBA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgD,EAAE,OAAO;EACzD,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,kLAAkL;EAChP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;EACvK,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EACnN,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAChM,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACzL,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClK,CAaS;CACP,QAbiD,EAAE,OAAO;EAC1D,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;EACrK,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;EACnL,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;EACnI,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EAClJ,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC;CAC3L,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of custom field to create. Choose 'text' for free-form text input, 'date' for date values, 'number' for numeric values, or 'dropdown' for a list of predefined choices.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., \\\"Anniversary\\\", \\\"Customer Type\\\"). This is the label that will be displayed in the UI.\"),\n choices: z.array(z.string()).describe(\"Array of options for a custom field of type 'dropdown'. Required when type is 'dropdown', ignored for other types. Each string represents one selectable option.\").optional(),\n hideIfEmpty: z.boolean().describe(\"When viewing a person, hide this field if it has no value. Defaults to false. Useful for keeping profiles clean by only showing fields with data.\").optional(),\n isRecurring: z.boolean().describe(\"Whether a date field occurs every year (e.g., birthdays, anniversaries). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer used for custom sorting of fields. Higher values appear later in the list. Defaults to 0.\").optional(),\n});\nexport const FollowUpBossCreateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier assigned to the created custom field.\").nullable().optional(),\n name: z.string().describe(\"The internal system name for the custom field, typically in camelCase format.\").nullable().optional(),\n type: z.string().describe(\"The type of the custom field.\").nullable().optional(),\n label: z.string().describe(\"The user-friendly name of the custom field.\").nullable().optional(),\n isRecurring: z.boolean().describe(\"Whether this date field recurs annually. Only present for date type fields.\").nullable().optional(),\n});\n\nexport const followUpBossCreateCustomField = action(\"FOLLOW_UP_BOSS_CREATE_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Tool to create a custom field in Follow Up Boss. Use when you need to add a new custom data field to person records, such as tracking anniversaries, customer types, or any other custom information.\",\n input: FollowUpBossCreateCustomFieldInput,\n output: FollowUpBossCreateCustomFieldOutput,\n});\n"],"mappings":";;AAoBA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgD,EAAE,OAAO;EACzD,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,kLAAkL;EAChP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;EACvK,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EACnN,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAChM,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACzL,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClK,CAaS;CACP,QAbiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAOU;AACV,CAAC"}
@@ -16,14 +16,14 @@ const FollowUpBossCreateDealCustomFieldInput = zod.z.object({
16
16
  orderWeight: zod.z.number().int().default(0).describe("A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.").optional()
17
17
  }).describe("Request schema for creating a deal custom field.");
18
18
  const FollowUpBossCreateDealCustomFieldOutput = zod.z.object({
19
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the custom field.").optional()),
20
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The system name of the custom field (e.g., 'customBirthday').").optional()),
21
- type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The type of the custom field.").optional()),
22
- label: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The user-friendly name of the custom field.").optional()),
23
- readOnly: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the field is read-only.").optional()),
24
- hideIfEmpty: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the field is hidden when empty.").optional()),
25
- isRecurring: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the date field recurs annually.").optional()),
26
- orderWeight: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The sort order weight of the field.").optional())
19
+ id: zod.z.number().int().describe("Unique identifier for the custom field.").nullable().optional(),
20
+ name: zod.z.string().describe("The system name of the custom field (e.g., 'customBirthday').").nullable().optional(),
21
+ type: zod.z.string().describe("The type of the custom field.").nullable().optional(),
22
+ label: zod.z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
23
+ readOnly: zod.z.boolean().describe("Whether the field is read-only.").nullable().optional(),
24
+ hideIfEmpty: zod.z.boolean().describe("Whether the field is hidden when empty.").nullable().optional(),
25
+ isRecurring: zod.z.boolean().describe("Whether the date field recurs annually.").nullable().optional(),
26
+ orderWeight: zod.z.number().int().describe("The sort order weight of the field.").nullable().optional()
27
27
  }).describe("Response schema for creating a deal custom field.");
28
28
  const followUpBossCreateDealCustomField = require_action.action("FOLLOW_UP_BOSS_CREATE_DEAL_CUSTOM_FIELD", {
29
29
  slug: "follow_up_boss-create-deal-custom-field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-deal-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-deal-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateDealCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field to create.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., 'Anniversary', 'Deal Stage').\"),\n choices: z.array(z.string()).describe(\"Array of options for a deal custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().default(false).describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().default(false).describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().default(false).describe(\"Whether a date field occurs every year (e.g. birthdays, anniversaries). Only applicable when type is 'date'. Defaults to false.\").optional(),\n orderWeight: z.number().int().default(0).describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n}).describe(\"Request schema for creating a deal custom field.\");\nexport const FollowUpBossCreateDealCustomFieldOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the custom field.\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The system name of the custom field (e.g., 'customBirthday').\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type of the custom field.\").optional()),\n label: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The user-friendly name of the custom field.\").optional()),\n readOnly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the field is read-only.\").optional()),\n hideIfEmpty: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the field is hidden when empty.\").optional()),\n isRecurring: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the date field recurs annually.\").optional()),\n orderWeight: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The sort order weight of the field.\").optional()),\n}).describe(\"Response schema for creating a deal custom field.\");\n\nexport const followUpBossCreateDealCustomField = action(\"FOLLOW_UP_BOSS_CREATE_DEAL_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-deal-custom-field\",\n name: \"Create Deal Custom Field\",\n description: \"Tool to create a custom field for deals in Follow Up Boss. Use when you need to add custom metadata fields to track deal-specific information like stages, priorities, or custom dates.\",\n input: FollowUpBossCreateDealCustomFieldInput,\n output: FollowUpBossCreateDealCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,0CAA0C;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC5G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,UAAUA,IAAAA,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AO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACrJ,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACrJ,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;AACxJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-deal-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-deal-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateDealCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field to create.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., 'Anniversary', 'Deal Stage').\"),\n choices: z.array(z.string()).describe(\"Array of options for a deal custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().default(false).describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().default(false).describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().default(false).describe(\"Whether a date field occurs every year (e.g. birthdays, anniversaries). Only applicable when type is 'date'. Defaults to false.\").optional(),\n orderWeight: z.number().int().default(0).describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n}).describe(\"Request schema for creating a deal custom field.\");\nexport const FollowUpBossCreateDealCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field.\").nullable().optional(),\n name: z.string().describe(\"The system name of the custom field (e.g., 'customBirthday').\").nullable().optional(),\n type: z.string().describe(\"The type of the custom field.\").nullable().optional(),\n label: z.string().describe(\"The user-friendly name of the custom field.\").nullable().optional(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n hideIfEmpty: z.boolean().describe(\"Whether the field is hidden when empty.\").nullable().optional(),\n isRecurring: z.boolean().describe(\"Whether the date field recurs annually.\").nullable().optional(),\n orderWeight: z.number().int().describe(\"The sort order weight of the field.\").nullable().optional(),\n}).describe(\"Response schema for creating a deal custom field.\");\n\nexport const followUpBossCreateDealCustomField = action(\"FOLLOW_UP_BOSS_CREATE_DEAL_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-deal-custom-field\",\n name: \"Create Deal Custom Field\",\n description: \"Tool to create a custom field for deals in Follow Up Boss. Use when you need to add custom metadata fields to track deal-specific information like stages, priorities, or custom dates.\",\n input: FollowUpBossCreateDealCustomFieldInput,\n output: FollowUpBossCreateDealCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,0CAA0C;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC5G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChI,aAA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ACP,QAAQ;AACV,CAAC"}
@@ -16,14 +16,14 @@ declare const FollowUpBossCreateDealCustomFieldInput: z.ZodObject<{
16
16
  orderWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
17
17
  }, z.core.$strip>;
18
18
  declare const FollowUpBossCreateDealCustomFieldOutput: z.ZodObject<{
19
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- readOnly: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
24
- hideIfEmpty: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
25
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
26
- orderWeight: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ readOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ hideIfEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ orderWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  }, z.core.$strip>;
28
28
  declare const followUpBossCreateDealCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  type: "number" | "date" | "text" | "dropdown";
@@ -33,16 +33,7 @@ declare const followUpBossCreateDealCustomField: import("@keystrokehq/action").W
33
33
  hideIfEmpty?: boolean | undefined;
34
34
  isRecurring?: boolean | undefined;
35
35
  orderWeight?: number | undefined;
36
- }, {
37
- id?: number | undefined;
38
- name?: string | undefined;
39
- type?: string | undefined;
40
- label?: string | undefined;
41
- readOnly?: boolean | undefined;
42
- hideIfEmpty?: boolean | undefined;
43
- isRecurring?: boolean | undefined;
44
- orderWeight?: number | undefined;
45
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
37
  //#endregion
47
38
  export { followUpBossCreateDealCustomField };
48
39
  //# sourceMappingURL=create-deal-custom-field.d.cts.map
@@ -16,14 +16,14 @@ declare const FollowUpBossCreateDealCustomFieldInput: z.ZodObject<{
16
16
  orderWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
17
17
  }, z.core.$strip>;
18
18
  declare const FollowUpBossCreateDealCustomFieldOutput: z.ZodObject<{
19
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- readOnly: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
24
- hideIfEmpty: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
25
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
26
- orderWeight: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ readOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ hideIfEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ orderWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  }, z.core.$strip>;
28
28
  declare const followUpBossCreateDealCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  type: "number" | "date" | "text" | "dropdown";
@@ -33,16 +33,7 @@ declare const followUpBossCreateDealCustomField: import("@keystrokehq/action").W
33
33
  hideIfEmpty?: boolean | undefined;
34
34
  isRecurring?: boolean | undefined;
35
35
  orderWeight?: number | undefined;
36
- }, {
37
- id?: number | undefined;
38
- name?: string | undefined;
39
- type?: string | undefined;
40
- label?: string | undefined;
41
- readOnly?: boolean | undefined;
42
- hideIfEmpty?: boolean | undefined;
43
- isRecurring?: boolean | undefined;
44
- orderWeight?: number | undefined;
45
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
37
  //#endregion
47
38
  export { followUpBossCreateDealCustomField };
48
39
  //# sourceMappingURL=create-deal-custom-field.d.mts.map
@@ -19,14 +19,14 @@ const followUpBossCreateDealCustomField = action("FOLLOW_UP_BOSS_CREATE_DEAL_CUS
19
19
  orderWeight: z.number().int().default(0).describe("A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.").optional()
20
20
  }).describe("Request schema for creating a deal custom field."),
21
21
  output: z.object({
22
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the custom field.").optional()),
23
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The system name of the custom field (e.g., 'customBirthday').").optional()),
24
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The type of the custom field.").optional()),
25
- label: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The user-friendly name of the custom field.").optional()),
26
- readOnly: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the field is read-only.").optional()),
27
- hideIfEmpty: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the field is hidden when empty.").optional()),
28
- isRecurring: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the date field recurs annually.").optional()),
29
- orderWeight: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("The sort order weight of the field.").optional())
22
+ id: z.number().int().describe("Unique identifier for the custom field.").nullable().optional(),
23
+ name: z.string().describe("The system name of the custom field (e.g., 'customBirthday').").nullable().optional(),
24
+ type: z.string().describe("The type of the custom field.").nullable().optional(),
25
+ label: z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
26
+ readOnly: z.boolean().describe("Whether the field is read-only.").nullable().optional(),
27
+ hideIfEmpty: z.boolean().describe("Whether the field is hidden when empty.").nullable().optional(),
28
+ isRecurring: z.boolean().describe("Whether the date field recurs annually.").nullable().optional(),
29
+ orderWeight: z.number().int().describe("The sort order weight of the field.").nullable().optional()
30
30
  }).describe("Response schema for creating a deal custom field.")
31
31
  });
32
32
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-deal-custom-field.mjs","names":[],"sources":["../../src/actions/create-deal-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateDealCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field to create.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., 'Anniversary', 'Deal Stage').\"),\n choices: z.array(z.string()).describe(\"Array of options for a deal custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().default(false).describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().default(false).describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().default(false).describe(\"Whether a date field occurs every year (e.g. birthdays, anniversaries). Only applicable when type is 'date'. Defaults to false.\").optional(),\n orderWeight: z.number().int().default(0).describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n}).describe(\"Request schema for creating a deal custom field.\");\nexport const FollowUpBossCreateDealCustomFieldOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the custom field.\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The system name of the custom field (e.g., 'customBirthday').\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type of the custom field.\").optional()),\n label: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The user-friendly name of the custom field.\").optional()),\n readOnly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the field is read-only.\").optional()),\n hideIfEmpty: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the field is hidden when empty.\").optional()),\n isRecurring: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the date field recurs annually.\").optional()),\n orderWeight: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The sort order weight of the field.\").optional()),\n}).describe(\"Response schema for creating a deal custom field.\");\n\nexport const followUpBossCreateDealCustomField = action(\"FOLLOW_UP_BOSS_CREATE_DEAL_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-deal-custom-field\",\n name: \"Create Deal Custom Field\",\n description: \"Tool to create a custom field for deals in Follow Up Boss. Use when you need to add custom metadata fields to track deal-specific information like stages, priorities, or custom dates.\",\n input: FollowUpBossCreateDealCustomFieldInput,\n output: FollowUpBossCreateDealCustomFieldOutput,\n});\n"],"mappings":";;AAwBA,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,0CAA0C;EACxG,OAAO,E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UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;EACrJ,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;EACrJ,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CACxJ,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-deal-custom-field.mjs","names":[],"sources":["../../src/actions/create-deal-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossCreateDealCustomFieldInput = z.object({\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field to create.\"),\n label: z.string().describe(\"The user-friendly name of the custom field (e.g., 'Anniversary', 'Deal Stage').\"),\n choices: z.array(z.string()).describe(\"Array of options for a deal custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().default(false).describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().default(false).describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().default(false).describe(\"Whether a date field occurs every year (e.g. birthdays, anniversaries). Only applicable when type is 'date'. Defaults to false.\").optional(),\n orderWeight: z.number().int().default(0).describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n}).describe(\"Request schema for creating a deal custom field.\");\nexport const FollowUpBossCreateDealCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field.\").nullable().optional(),\n name: z.string().describe(\"The system name of the custom field (e.g., 'customBirthday').\").nullable().optional(),\n type: z.string().describe(\"The type of the custom field.\").nullable().optional(),\n label: z.string().describe(\"The user-friendly name of the custom field.\").nullable().optional(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n hideIfEmpty: z.boolean().describe(\"Whether the field is hidden when empty.\").nullable().optional(),\n isRecurring: z.boolean().describe(\"Whether the date field recurs annually.\").nullable().optional(),\n orderWeight: z.number().int().describe(\"The sort order weight of the field.\").nullable().optional(),\n}).describe(\"Response schema for creating a deal custom field.\");\n\nexport const followUpBossCreateDealCustomField = action(\"FOLLOW_UP_BOSS_CREATE_DEAL_CUSTOM_FIELD\", {\n slug: \"follow_up_boss-create-deal-custom-field\",\n name: \"Create Deal Custom Field\",\n description: \"Tool to create a custom field for deals in Follow Up Boss. Use when you need to add custom metadata fields to track deal-specific information like stages, priorities, or custom dates.\",\n input: FollowUpBossCreateDealCustomFieldInput,\n output: FollowUpBossCreateDealCustomFieldOutput,\n});\n"],"mappings":";;AAwBA,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,0CAA0C;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC5G,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EACpK,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EAC7L,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,kDAgBH;CACP,QAhBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -20,24 +20,24 @@ const FollowUpBossCreateDealsInput = zod.z.object({
20
20
  mutualAcceptanceDate: zod.z.string().describe("Mutual Acceptance Date for this deal in date format (YYYY-MM-DD).").optional()
21
21
  }).describe("Request parameters for creating a new deal in Follow Up Boss.");
22
22
  const FollowUpBossCreateDealsOutput = zod.z.object({
23
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the created deal.").optional()),
24
- price: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The price associated with this deal.").optional()),
25
- stageId: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The stage ID assigned to this deal.").optional()),
26
- userIds: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("List of user IDs associated with this deal.").optional()),
27
- peopleIds: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("List of person IDs associated with this deal.").optional()),
28
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Description of the deal.").optional()),
29
- customField1: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Custom field 1 value.").optional()),
30
- customField2: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Custom field 2 value.").optional()),
31
- customField3: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Custom field 3 value.").optional()),
32
- customField4: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Custom field 4 value.").optional()),
33
- possessionDate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Possession Date for this deal.").optional()),
34
- teamCommission: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Commission split for the team.").optional()),
35
- agentCommission: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Commission split for the agent.").optional()),
36
- dueDiligenceDate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Due Diligence Date for this deal.").optional()),
37
- projectedCloseDate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Projected close date of this deal.").optional()),
38
- earnestMoneyDueDate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Earnest Money Due Date for this deal.").optional()),
39
- finalWalkThroughDate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Final Walk Through Date for this deal.").optional()),
40
- mutualAcceptanceDate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Mutual Acceptance Date for this deal.").optional())
23
+ name: zod.z.string().describe("Name of the created deal.").nullable().optional(),
24
+ price: zod.z.number().int().describe("The price associated with this deal.").nullable().optional(),
25
+ stageId: zod.z.number().int().describe("The stage ID assigned to this deal.").nullable().optional(),
26
+ userIds: zod.z.array(zod.z.number().int()).describe("List of user IDs associated with this deal.").nullable().optional(),
27
+ peopleIds: zod.z.array(zod.z.number().int()).describe("List of person IDs associated with this deal.").nullable().optional(),
28
+ description: zod.z.string().describe("Description of the deal.").nullable().optional(),
29
+ customField1: zod.z.string().describe("Custom field 1 value.").nullable().optional(),
30
+ customField2: zod.z.string().describe("Custom field 2 value.").nullable().optional(),
31
+ customField3: zod.z.number().int().describe("Custom field 3 value.").nullable().optional(),
32
+ customField4: zod.z.string().describe("Custom field 4 value.").nullable().optional(),
33
+ possessionDate: zod.z.string().describe("Possession Date for this deal.").nullable().optional(),
34
+ teamCommission: zod.z.number().int().describe("Commission split for the team.").nullable().optional(),
35
+ agentCommission: zod.z.number().int().describe("Commission split for the agent.").nullable().optional(),
36
+ dueDiligenceDate: zod.z.string().describe("Due Diligence Date for this deal.").nullable().optional(),
37
+ projectedCloseDate: zod.z.string().describe("Projected close date of this deal.").nullable().optional(),
38
+ earnestMoneyDueDate: zod.z.string().describe("Earnest Money Due Date for this deal.").nullable().optional(),
39
+ finalWalkThroughDate: zod.z.string().describe("Final Walk Through Date for this deal.").nullable().optional(),
40
+ mutualAcceptanceDate: zod.z.string().describe("Mutual Acceptance Date for this deal.").nullable().optional()
41
41
  }).describe("Response model for creating a new deal.");
42
42
  const followUpBossCreateDeals = require_action.action("FOLLOW_UP_BOSS_CREATE_DEALS", {
43
43
  slug: "follow_up_boss-create-deals",