@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
@@ -22,23 +22,23 @@ declare const FollowUpBossUpdateCallsInput: z.ZodObject<{
22
22
  recordingUrl: z.ZodOptional<z.ZodString>;
23
23
  }, z.core.$strip>;
24
24
  declare const FollowUpBossUpdateCallsOutput: z.ZodObject<{
25
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
26
- note: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- userId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
29
- created: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
30
- outcome: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- updated: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- duration: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
33
- personId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
34
- toNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
- userName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- fromNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- isIncoming: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
38
- createdById: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
39
- updatedById: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
40
- recordingUrl: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
41
- ringDuration: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
25
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ userId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ personId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ toNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ fromNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ isIncoming: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ createdById: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ updatedById: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ recordingUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ ringDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
42
  }, z.core.$strip>;
43
43
  declare const followUpBossUpdateCalls: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  id: number;
@@ -52,25 +52,7 @@ declare const followUpBossUpdateCalls: import("@keystrokehq/action").WorkflowAct
52
52
  fromNumber?: string | undefined;
53
53
  isIncoming?: boolean | undefined;
54
54
  recordingUrl?: string | undefined;
55
- }, {
56
- id?: number | undefined;
57
- note?: string | undefined;
58
- phone?: string | undefined;
59
- userId?: number | undefined;
60
- created?: string | undefined;
61
- outcome?: string | undefined;
62
- updated?: string | undefined;
63
- duration?: number | undefined;
64
- personId?: number | undefined;
65
- toNumber?: string | undefined;
66
- userName?: string | undefined;
67
- fromNumber?: string | undefined;
68
- isIncoming?: boolean | undefined;
69
- createdById?: number | undefined;
70
- updatedById?: number | undefined;
71
- recordingUrl?: string | undefined;
72
- ringDuration?: number | undefined;
73
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
74
56
  //#endregion
75
57
  export { followUpBossUpdateCalls };
76
58
  //# sourceMappingURL=update-calls.d.cts.map
@@ -22,23 +22,23 @@ declare const FollowUpBossUpdateCallsInput: z.ZodObject<{
22
22
  recordingUrl: z.ZodOptional<z.ZodString>;
23
23
  }, z.core.$strip>;
24
24
  declare const FollowUpBossUpdateCallsOutput: z.ZodObject<{
25
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
26
- note: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- userId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
29
- created: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
30
- outcome: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- updated: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- duration: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
33
- personId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
34
- toNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
- userName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- fromNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- isIncoming: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
38
- createdById: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
39
- updatedById: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
40
- recordingUrl: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
41
- ringDuration: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
25
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ userId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ personId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ toNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ fromNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ isIncoming: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ createdById: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ updatedById: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ recordingUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ ringDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
42
  }, z.core.$strip>;
43
43
  declare const followUpBossUpdateCalls: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  id: number;
@@ -52,25 +52,7 @@ declare const followUpBossUpdateCalls: import("@keystrokehq/action").WorkflowAct
52
52
  fromNumber?: string | undefined;
53
53
  isIncoming?: boolean | undefined;
54
54
  recordingUrl?: string | undefined;
55
- }, {
56
- id?: number | undefined;
57
- note?: string | undefined;
58
- phone?: string | undefined;
59
- userId?: number | undefined;
60
- created?: string | undefined;
61
- outcome?: string | undefined;
62
- updated?: string | undefined;
63
- duration?: number | undefined;
64
- personId?: number | undefined;
65
- toNumber?: string | undefined;
66
- userName?: string | undefined;
67
- fromNumber?: string | undefined;
68
- isIncoming?: boolean | undefined;
69
- createdById?: number | undefined;
70
- updatedById?: number | undefined;
71
- recordingUrl?: string | undefined;
72
- ringDuration?: number | undefined;
73
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
74
56
  //#endregion
75
57
  export { followUpBossUpdateCalls };
76
58
  //# sourceMappingURL=update-calls.d.mts.map
@@ -25,23 +25,23 @@ const followUpBossUpdateCalls = action("FOLLOW_UP_BOSS_UPDATE_CALLS", {
25
25
  recordingUrl: z.string().describe("The URL for the call recording.").optional()
26
26
  }).describe("Request schema for updating a call record."),
27
27
  output: z.object({
28
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the call.").optional()),
29
- note: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Note about the call.").optional()),
30
- phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number used for the call.").optional()),
31
- userId: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the user associated with the call.").optional()),
32
- created: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the call was created (ISO 8601 format).").optional()),
33
- outcome: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Outcome of the call (e.g., 'Left Message', 'Interested').").optional()),
34
- updated: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the call was last updated (ISO 8601 format).").optional()),
35
- duration: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Duration of the call in seconds.").optional()),
36
- personId: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the person associated with the call.").optional()),
37
- toNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The phone number this call was made to.").optional()),
38
- userName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the user associated with the call.").optional()),
39
- fromNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The phone number this call was made from.").optional()),
40
- isIncoming: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the call was incoming (true) or outgoing (false).").optional()),
41
- createdById: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the user who created the call record.").optional()),
42
- updatedById: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the user who last updated the call record.").optional()),
43
- recordingUrl: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL to the call recording, if available.").optional()),
44
- ringDuration: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Duration the phone rang before the call was answered, in seconds.").optional())
28
+ id: z.number().int().describe("Unique identifier of the call.").nullable().optional(),
29
+ note: z.string().describe("Note about the call.").nullable().optional(),
30
+ phone: z.string().describe("Phone number used for the call.").nullable().optional(),
31
+ userId: z.number().int().describe("ID of the user associated with the call.").nullable().optional(),
32
+ created: z.string().describe("Timestamp when the call was created (ISO 8601 format).").nullable().optional(),
33
+ outcome: z.string().describe("Outcome of the call (e.g., 'Left Message', 'Interested').").nullable().optional(),
34
+ updated: z.string().describe("Timestamp when the call was last updated (ISO 8601 format).").nullable().optional(),
35
+ duration: z.number().int().describe("Duration of the call in seconds.").nullable().optional(),
36
+ personId: z.number().int().describe("ID of the person associated with the call.").nullable().optional(),
37
+ toNumber: z.string().describe("The phone number this call was made to.").nullable().optional(),
38
+ userName: z.string().describe("Name of the user associated with the call.").nullable().optional(),
39
+ fromNumber: z.string().describe("The phone number this call was made from.").nullable().optional(),
40
+ isIncoming: z.boolean().describe("Whether the call was incoming (true) or outgoing (false).").nullable().optional(),
41
+ createdById: z.number().int().describe("ID of the user who created the call record.").nullable().optional(),
42
+ updatedById: z.number().int().describe("ID of the user who last updated the call record.").nullable().optional(),
43
+ recordingUrl: z.string().describe("URL to the call recording, if available.").nullable().optional(),
44
+ ringDuration: z.number().int().describe("Duration the phone rang before the call was answered, in seconds.").nullable().optional()
45
45
  }).describe("Response schema for updating a call record.")
46
46
  });
47
47
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-calls.mjs","names":[],"sources":["../../src/actions/update-calls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateCallsInput = z.object({\n id: z.number().int().describe(\"The ID of the call to update.\"),\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.\").optional(),\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.\").optional(),\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.\").optional(),\n recordingUrl: z.string().describe(\"The URL for the call recording.\").optional(),\n}).describe(\"Request schema for updating a call record.\");\nexport const FollowUpBossUpdateCallsOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the call.\").optional()),\n note: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Note about the call.\").optional()),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number used for the call.\").optional()),\n userId: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the user associated with the call.\").optional()),\n created: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the call was created (ISO 8601 format).\").optional()),\n outcome: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Outcome of the call (e.g., 'Left Message', 'Interested').\").optional()),\n updated: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the call was last updated (ISO 8601 format).\").optional()),\n duration: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Duration of the call in seconds.\").optional()),\n personId: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the person associated with the call.\").optional()),\n toNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The phone number this call was made to.\").optional()),\n userName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the user associated with the call.\").optional()),\n fromNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The phone number this call was made from.\").optional()),\n isIncoming: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the call was incoming (true) or outgoing (false).\").optional()),\n createdById: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the user who created the call record.\").optional()),\n updatedById: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the user who last updated the call record.\").optional()),\n recordingUrl: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to the call recording, if available.\").optional()),\n ringDuration: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Duration the phone rang before the call was answered, in seconds.\").optional()),\n}).describe(\"Response schema for updating a call record.\");\n\nexport const followUpBossUpdateCalls = action(\"FOLLOW_UP_BOSS_UPDATE_CALLS\", {\n slug: \"follow_up_boss-update-calls\",\n name: \"Update Call\",\n description: \"Tool to update an existing call record in Follow Up Boss. Use when you need to modify call details such as notes, duration, outcome, or other call attributes. Only calls created by the account/system making the API request can be updated.\",\n input: FollowUpBossUpdateCallsInput,\n output: FollowUpBossUpdateCallsOutput,\n});\n"],"mappings":";;AAqCA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArC0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,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,CAAC,CAAC,SAAS;EA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,CAAC,SAAS,CAAC;CACvL,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-calls.mjs","names":[],"sources":["../../src/actions/update-calls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateCallsInput = z.object({\n id: z.number().int().describe(\"The ID of the call to update.\"),\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.\").optional(),\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.\").optional(),\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.\").optional(),\n recordingUrl: z.string().describe(\"The URL for the call recording.\").optional(),\n}).describe(\"Request schema for updating a call record.\");\nexport const FollowUpBossUpdateCallsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the call.\").nullable().optional(),\n note: z.string().describe(\"Note about the call.\").nullable().optional(),\n phone: z.string().describe(\"Phone number used for the call.\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the user associated with the call.\").nullable().optional(),\n created: z.string().describe(\"Timestamp when the call was created (ISO 8601 format).\").nullable().optional(),\n outcome: z.string().describe(\"Outcome of the call (e.g., 'Left Message', 'Interested').\").nullable().optional(),\n updated: z.string().describe(\"Timestamp when the call was last updated (ISO 8601 format).\").nullable().optional(),\n duration: z.number().int().describe(\"Duration of the call in seconds.\").nullable().optional(),\n personId: z.number().int().describe(\"ID of the person associated with the call.\").nullable().optional(),\n toNumber: z.string().describe(\"The phone number this call was made to.\").nullable().optional(),\n userName: z.string().describe(\"Name of the user associated with the call.\").nullable().optional(),\n fromNumber: z.string().describe(\"The phone number this call was made from.\").nullable().optional(),\n isIncoming: z.boolean().describe(\"Whether the call was incoming (true) or outgoing (false).\").nullable().optional(),\n createdById: z.number().int().describe(\"ID of the user who created the call record.\").nullable().optional(),\n updatedById: z.number().int().describe(\"ID of the user who last updated the call record.\").nullable().optional(),\n recordingUrl: z.string().describe(\"URL to the call recording, if available.\").nullable().optional(),\n ringDuration: z.number().int().describe(\"Duration the phone rang before the call was answered, in seconds.\").nullable().optional(),\n}).describe(\"Response schema for updating a call record.\");\n\nexport const followUpBossUpdateCalls = action(\"FOLLOW_UP_BOSS_UPDATE_CALLS\", {\n slug: \"follow_up_boss-update-calls\",\n name: \"Update Call\",\n description: \"Tool to update an existing call record in Follow Up Boss. Use when you need to modify call details such as notes, duration, outcome, or other call attributes. Only calls created by the account/system making the API request can be updated.\",\n input: FollowUpBossUpdateCallsInput,\n output: FollowUpBossUpdateCallsOutput,\n});\n"],"mappings":";;AAqCA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArC0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,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,gCAA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CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -11,11 +11,11 @@ const FollowUpBossUpdateCustomFieldsInput = zod.z.object({
11
11
  dropdownChoiceMap: zod.z.array(zod.z.number().int().nullable()).describe("An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, this endpoint will try to determine if items have been moved or renamed on its own.").optional()
12
12
  });
13
13
  const FollowUpBossUpdateCustomFieldsOutput = zod.z.object({
14
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The unique identifier of the custom field.").optional()),
15
- 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()),
16
- type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The type of the custom field (e.g., text, date, number, dropdown).").optional()),
17
- label: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The user-friendly name of the custom field.").optional()),
18
- 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())
14
+ id: zod.z.number().int().describe("The unique identifier of the custom field.").nullable().optional(),
15
+ name: zod.z.string().describe("The internal system name for the custom field, typically in camelCase format.").nullable().optional(),
16
+ type: zod.z.string().describe("The type of the custom field (e.g., text, date, number, dropdown).").nullable().optional(),
17
+ label: zod.z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
18
+ isRecurring: zod.z.boolean().describe("Whether this date field recurs annually. Only present for date type fields.").nullable().optional()
19
19
  });
20
20
  const followUpBossUpdateCustomFields = require_action.action("FOLLOW_UP_BOSS_UPDATE_CUSTOM_FIELDS", {
21
21
  slug: "follow_up_boss-update-custom-fields",
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The ID of the custom field to update. Must be a valid custom field ID.\"),\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.\").optional(),\n choices: z.array(z.string()).describe(\"Array of options related to a custom field of type 'dropdown'. Each string represents one selectable option. Only applicable for dropdown type fields.\").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(\"Sets whether a date field occurs every year (e.g., birthdays, anniversaries, etc.). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer for the field to assign values for custom sorting. Higher values appear later in the list. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int().nullable()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n});\nexport const FollowUpBossUpdateCustomFieldsOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The unique identifier of the 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 (e.g., text, date, number, dropdown).\").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 followUpBossUpdateCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-custom-fields\",\n name: \"Update Custom Fields\",\n description: \"Tool to update an existing custom field in Follow Up Boss by its ID. Use when you need to modify the label, choices, ordering, or display settings of a custom field.\",\n input: FollowUpBossUpdateCustomFieldsInput,\n output: FollowUpBossUpdateCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CAClL,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,S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F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The ID of the custom field to update. Must be a valid custom field ID.\"),\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.\").optional(),\n choices: z.array(z.string()).describe(\"Array of options related to a custom field of type 'dropdown'. Each string represents one selectable option. Only applicable for dropdown type fields.\").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(\"Sets whether a date field occurs every year (e.g., birthdays, anniversaries, etc.). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer for the field to assign values for custom sorting. Higher values appear later in the list. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int().nullable()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n});\nexport const FollowUpBossUpdateCustomFieldsOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the 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 (e.g., text, date, number, dropdown).\").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 followUpBossUpdateCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-custom-fields\",\n name: \"Update Custom Fields\",\n description: \"Tool to update an existing custom field in Follow Up Boss by its ID. Use when you need to modify the label, choices, ordering, or display settings of a custom field.\",\n input: FollowUpBossUpdateCustomFieldsInput,\n output: FollowUpBossUpdateCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CAClL,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CACzM,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAChM,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CACpM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAChL,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,0UAA0U,CAAC,CAAC,SAAS;AACxZ,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,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,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,11 +11,11 @@ declare const FollowUpBossUpdateCustomFieldsInput: z.ZodObject<{
11
11
  dropdownChoiceMap: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>>>;
12
12
  }, z.core.$strip>;
13
13
  declare const FollowUpBossUpdateCustomFieldsOutput: z.ZodObject<{
14
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
19
  }, z.core.$strip>;
20
20
  declare const followUpBossUpdateCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  id: number;
@@ -25,13 +25,7 @@ declare const followUpBossUpdateCustomFields: import("@keystrokehq/action").Work
25
25
  isRecurring?: boolean | undefined;
26
26
  orderWeight?: number | undefined;
27
27
  dropdownChoiceMap?: (number | null)[] | undefined;
28
- }, {
29
- id?: number | undefined;
30
- name?: string | undefined;
31
- type?: string | undefined;
32
- label?: string | undefined;
33
- isRecurring?: boolean | undefined;
34
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
29
  //#endregion
36
30
  export { followUpBossUpdateCustomFields };
37
31
  //# sourceMappingURL=update-custom-fields.d.cts.map
@@ -11,11 +11,11 @@ declare const FollowUpBossUpdateCustomFieldsInput: z.ZodObject<{
11
11
  dropdownChoiceMap: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>>>;
12
12
  }, z.core.$strip>;
13
13
  declare const FollowUpBossUpdateCustomFieldsOutput: z.ZodObject<{
14
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
19
  }, z.core.$strip>;
20
20
  declare const followUpBossUpdateCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  id: number;
@@ -25,13 +25,7 @@ declare const followUpBossUpdateCustomFields: import("@keystrokehq/action").Work
25
25
  isRecurring?: boolean | undefined;
26
26
  orderWeight?: number | undefined;
27
27
  dropdownChoiceMap?: (number | null)[] | undefined;
28
- }, {
29
- id?: number | undefined;
30
- name?: string | undefined;
31
- type?: string | undefined;
32
- label?: string | undefined;
33
- isRecurring?: boolean | undefined;
34
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
29
  //#endregion
36
30
  export { followUpBossUpdateCustomFields };
37
31
  //# sourceMappingURL=update-custom-fields.d.mts.map
@@ -14,11 +14,11 @@ const followUpBossUpdateCustomFields = action("FOLLOW_UP_BOSS_UPDATE_CUSTOM_FIEL
14
14
  dropdownChoiceMap: z.array(z.number().int().nullable()).describe("An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, this endpoint will try to determine if items have been moved or renamed on its own.").optional()
15
15
  }),
16
16
  output: z.object({
17
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("The unique identifier of the custom field.").optional()),
18
- 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()),
19
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The type of the custom field (e.g., text, date, number, dropdown).").optional()),
20
- label: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The user-friendly name of the custom field.").optional()),
21
- 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())
17
+ id: z.number().int().describe("The unique identifier of the custom field.").nullable().optional(),
18
+ name: z.string().describe("The internal system name for the custom field, typically in camelCase format.").nullable().optional(),
19
+ type: z.string().describe("The type of the custom field (e.g., text, date, number, dropdown).").nullable().optional(),
20
+ label: z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
21
+ isRecurring: z.boolean().describe("Whether this date field recurs annually. Only present for date type fields.").nullable().optional()
22
22
  })
23
23
  });
24
24
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-fields.mjs","names":[],"sources":["../../src/actions/update-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The ID of the custom field to update. Must be a valid custom field ID.\"),\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.\").optional(),\n choices: z.array(z.string()).describe(\"Array of options related to a custom field of type 'dropdown'. Each string represents one selectable option. Only applicable for dropdown type fields.\").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(\"Sets whether a date field occurs every year (e.g., birthdays, anniversaries, etc.). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer for the field to assign values for custom sorting. Higher values appear later in the list. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int().nullable()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n});\nexport const FollowUpBossUpdateCustomFieldsOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The unique identifier of the 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 (e.g., text, date, number, dropdown).\").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 followUpBossUpdateCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-custom-fields\",\n name: \"Update Custom Fields\",\n description: \"Tool to update an existing custom field in Follow Up Boss by its ID. Use when you need to modify the label, choices, ordering, or display settings of a custom field.\",\n input: FollowUpBossUpdateCustomFieldsInput,\n output: FollowUpBossUpdateCustomFieldsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE;EACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EAClL,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EACzM,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAChM,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAChL,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,0UAA0U,CAAC,CAAC,SAAS;CACxZ,CAaS;CACP,QAbkD,EAAE,OAAO;EAC3D,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;EACpJ,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,oEAAoE,CAAC,CAAC,SAAS,CAAC;EACxK,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":"update-custom-fields.mjs","names":[],"sources":["../../src/actions/update-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The ID of the custom field to update. Must be a valid custom field ID.\"),\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.\").optional(),\n choices: z.array(z.string()).describe(\"Array of options related to a custom field of type 'dropdown'. Each string represents one selectable option. Only applicable for dropdown type fields.\").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(\"Sets whether a date field occurs every year (e.g., birthdays, anniversaries, etc.). Only applicable for 'date' type custom fields. Defaults to false.\").optional(),\n orderWeight: z.number().int().describe(\"A weighted integer for the field to assign values for custom sorting. Higher values appear later in the list. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int().nullable()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n});\nexport const FollowUpBossUpdateCustomFieldsOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the 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 (e.g., text, date, number, dropdown).\").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 followUpBossUpdateCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-custom-fields\",\n name: \"Update Custom Fields\",\n description: \"Tool to update an existing custom field in Follow Up Boss by its ID. Use when you need to modify the label, choices, ordering, or display settings of a custom field.\",\n input: FollowUpBossUpdateCustomFieldsInput,\n output: FollowUpBossUpdateCustomFieldsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE;EACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EAClL,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EACzM,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAChM,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAChL,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,0UAA0U,CAAC,CAAC,SAAS;CACxZ,CAaS;CACP,QAbkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,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"}
@@ -18,14 +18,14 @@ const FollowUpBossUpdateDealCustomFieldsInput = zod.z.object({
18
18
  dropdownChoiceMap: zod.z.array(zod.z.number().int()).describe("An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, then this endpoint will try to determine if items have been moved or renamed on its own.").optional()
19
19
  }).describe("Request schema for updating a deal custom field.");
20
20
  const FollowUpBossUpdateDealCustomFieldsOutput = zod.z.object({
21
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the custom field.").optional()),
22
- 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()),
23
- type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The type of the custom field.").optional()),
24
- label: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The user-friendly name of the custom field.").optional()),
25
- readOnly: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the field is read-only.").optional()),
26
- hideIfEmpty: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the field is hidden when empty.").optional()),
27
- isRecurring: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the date field recurs annually.").optional()),
28
- orderWeight: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The sort order weight of the field.").optional())
21
+ id: zod.z.number().int().describe("Unique identifier for the custom field.").nullable().optional(),
22
+ name: zod.z.string().describe("The system name of the custom field (e.g., 'customBirthday').").nullable().optional(),
23
+ type: zod.z.string().describe("The type of the custom field.").nullable().optional(),
24
+ label: zod.z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
25
+ readOnly: zod.z.boolean().describe("Whether the field is read-only.").nullable().optional(),
26
+ hideIfEmpty: zod.z.boolean().describe("Whether the field is hidden when empty.").nullable().optional(),
27
+ isRecurring: zod.z.boolean().describe("Whether the date field recurs annually.").nullable().optional(),
28
+ orderWeight: zod.z.number().int().describe("The sort order weight of the field.").nullable().optional()
29
29
  }).describe("Response schema for updating a deal custom field.");
30
30
  const followUpBossUpdateDealCustomFields = require_action.action("FOLLOW_UP_BOSS_UPDATE_DEAL_CUSTOM_FIELDS", {
31
31
  slug: "follow_up_boss-update-deal-custom-fields",
@@ -1 +1 @@
1
- {"version":3,"file":"update-deal-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-deal-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateDealCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The id of the deals custom field to update.\"),\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field.\"),\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 related to a deals custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().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().describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, then this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n}).describe(\"Request schema for updating a deal custom field.\");\nexport const FollowUpBossUpdateDealCustomFieldsOutput = 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 updating a deal custom field.\");\n\nexport const followUpBossUpdateDealCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_DEAL_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-deal-custom-fields\",\n name: \"Update Deal Custom Fields\",\n description: \"Tool to update an existing deal custom field in Follow Up Boss. Use when you need to modify custom field properties like label, type, display settings, or dropdown choices.\",\n input: FollowUpBossUpdateDealCustomFieldsInput,\n output: FollowUpBossUpdateDealCustomFields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ACnK,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,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;CAC1I,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,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,qCAAqCC,eAAAA,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-deal-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-deal-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateDealCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The id of the deals custom field to update.\"),\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field.\"),\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 related to a deals custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().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().describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, then this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n}).describe(\"Request schema for updating a deal custom field.\");\nexport const FollowUpBossUpdateDealCustomFieldsOutput = 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 updating a deal custom field.\");\n\nexport const followUpBossUpdateDealCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_DEAL_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-deal-custom-fields\",\n name: \"Update Deal Custom Fields\",\n description: \"Tool to update an existing deal custom field in Follow Up Boss. Use when you need to modify custom field properties like label, type, display settings, or dropdown choices.\",\n input: FollowUpBossUpdateDealCustomFieldsInput,\n output: FollowUpBossUpdateDealCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC3E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,gCAAgC;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC5G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5K,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAChJ,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+UAA+U,CAAC,CAAC,SAAS;AAClZ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,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,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,qCAAqCC,eAAAA,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,14 +18,14 @@ declare const FollowUpBossUpdateDealCustomFieldsInput: z.ZodObject<{
18
18
  dropdownChoiceMap: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
19
19
  }, z.core.$strip>;
20
20
  declare const FollowUpBossUpdateDealCustomFieldsOutput: z.ZodObject<{
21
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- readOnly: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
26
- hideIfEmpty: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
27
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
28
- orderWeight: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
21
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ readOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ hideIfEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ orderWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
29
  }, z.core.$strip>;
30
30
  declare const followUpBossUpdateDealCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  id: number;
@@ -37,16 +37,7 @@ declare const followUpBossUpdateDealCustomFields: import("@keystrokehq/action").
37
37
  isRecurring?: boolean | undefined;
38
38
  orderWeight?: number | undefined;
39
39
  dropdownChoiceMap?: number[] | undefined;
40
- }, {
41
- id?: number | undefined;
42
- name?: string | undefined;
43
- type?: string | undefined;
44
- label?: string | undefined;
45
- readOnly?: boolean | undefined;
46
- hideIfEmpty?: boolean | undefined;
47
- isRecurring?: boolean | undefined;
48
- orderWeight?: number | undefined;
49
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
41
  //#endregion
51
42
  export { followUpBossUpdateDealCustomFields };
52
43
  //# sourceMappingURL=update-deal-custom-fields.d.cts.map
@@ -18,14 +18,14 @@ declare const FollowUpBossUpdateDealCustomFieldsInput: z.ZodObject<{
18
18
  dropdownChoiceMap: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
19
19
  }, z.core.$strip>;
20
20
  declare const FollowUpBossUpdateDealCustomFieldsOutput: z.ZodObject<{
21
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- label: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- readOnly: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
26
- hideIfEmpty: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
27
- isRecurring: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
28
- orderWeight: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
21
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ readOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ hideIfEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ isRecurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ orderWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
29
  }, z.core.$strip>;
30
30
  declare const followUpBossUpdateDealCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  id: number;
@@ -37,16 +37,7 @@ declare const followUpBossUpdateDealCustomFields: import("@keystrokehq/action").
37
37
  isRecurring?: boolean | undefined;
38
38
  orderWeight?: number | undefined;
39
39
  dropdownChoiceMap?: number[] | undefined;
40
- }, {
41
- id?: number | undefined;
42
- name?: string | undefined;
43
- type?: string | undefined;
44
- label?: string | undefined;
45
- readOnly?: boolean | undefined;
46
- hideIfEmpty?: boolean | undefined;
47
- isRecurring?: boolean | undefined;
48
- orderWeight?: number | undefined;
49
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
41
  //#endregion
51
42
  export { followUpBossUpdateDealCustomFields };
52
43
  //# sourceMappingURL=update-deal-custom-fields.d.mts.map
@@ -21,14 +21,14 @@ const followUpBossUpdateDealCustomFields = action("FOLLOW_UP_BOSS_UPDATE_DEAL_CU
21
21
  dropdownChoiceMap: z.array(z.number().int()).describe("An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, then this endpoint will try to determine if items have been moved or renamed on its own.").optional()
22
22
  }).describe("Request schema for updating a deal custom field."),
23
23
  output: z.object({
24
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the custom field.").optional()),
25
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The system name of the custom field (e.g., 'customBirthday').").optional()),
26
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The type of the custom field.").optional()),
27
- label: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The user-friendly name of the custom field.").optional()),
28
- readOnly: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the field is read-only.").optional()),
29
- hideIfEmpty: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the field is hidden when empty.").optional()),
30
- isRecurring: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the date field recurs annually.").optional()),
31
- orderWeight: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("The sort order weight of the field.").optional())
24
+ id: z.number().int().describe("Unique identifier for the custom field.").nullable().optional(),
25
+ name: z.string().describe("The system name of the custom field (e.g., 'customBirthday').").nullable().optional(),
26
+ type: z.string().describe("The type of the custom field.").nullable().optional(),
27
+ label: z.string().describe("The user-friendly name of the custom field.").nullable().optional(),
28
+ readOnly: z.boolean().describe("Whether the field is read-only.").nullable().optional(),
29
+ hideIfEmpty: z.boolean().describe("Whether the field is hidden when empty.").nullable().optional(),
30
+ isRecurring: z.boolean().describe("Whether the date field recurs annually.").nullable().optional(),
31
+ orderWeight: z.number().int().describe("The sort order weight of the field.").nullable().optional()
32
32
  }).describe("Response schema for updating a deal custom field.")
33
33
  });
34
34
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-deal-custom-fields.mjs","names":[],"sources":["../../src/actions/update-deal-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateDealCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The id of the deals custom field to update.\"),\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field.\"),\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 related to a deals custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().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().describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, then this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n}).describe(\"Request schema for updating a deal custom field.\");\nexport const FollowUpBossUpdateDealCustomFieldsOutput = 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 updating a deal custom field.\");\n\nexport const followUpBossUpdateDealCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_DEAL_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-deal-custom-fields\",\n name: \"Update Deal Custom Fields\",\n description: \"Tool to update an existing deal custom field in Follow Up Boss. Use when you need to modify custom field properties like label, type, display settings, or dropdown choices.\",\n input: FollowUpBossUpdateDealCustomFieldsInput,\n output: FollowUpBossUpdateDealCustomFieldsOutput,\n});\n"],"mappings":";;AA0BA,MAAa,qCAAqC,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAC3E,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,gCAAgC;EAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC5G,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EAC5K,UAAU,EAAE,QAAQ,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,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":"update-deal-custom-fields.mjs","names":[],"sources":["../../src/actions/update-deal-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FollowUpBossUpdateDealCustomFieldsInput = z.object({\n id: z.number().int().describe(\"The id of the deals custom field to update.\"),\n type: z.enum([\"text\", \"date\", \"number\", \"dropdown\"]).describe(\"The type of deal custom field.\"),\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 related to a deals custom field of type 'dropdown'. Required when type is 'dropdown', ignored otherwise.\").optional(),\n readOnly: z.boolean().describe(\"Determines whether the deal custom field is read-only. Defaults to false.\").optional(),\n hideIfEmpty: z.boolean().describe(\"Sets whether to hide this field if it is empty. Defaults to false.\").optional(),\n isRecurring: z.boolean().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().describe(\"A weighted integer for custom sorting of fields. Higher weights appear later. Defaults to 0.\").optional(),\n dropdownChoiceMap: z.array(z.number().int()).describe(\"An optional mapping that points previous dropdown choices (keys) to their new positions (values). This is used to track when options get moved or renamed. If items are missing from the keys, they will be removed. If the mapping is not supplied, then this endpoint will try to determine if items have been moved or renamed on its own.\").optional(),\n}).describe(\"Request schema for updating a deal custom field.\");\nexport const FollowUpBossUpdateDealCustomFieldsOutput = 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 updating a deal custom field.\");\n\nexport const followUpBossUpdateDealCustomFields = action(\"FOLLOW_UP_BOSS_UPDATE_DEAL_CUSTOM_FIELDS\", {\n slug: \"follow_up_boss-update-deal-custom-fields\",\n name: \"Update Deal Custom Fields\",\n description: \"Tool to update an existing deal custom field in Follow Up Boss. Use when you need to modify custom field properties like label, type, display settings, or dropdown choices.\",\n input: FollowUpBossUpdateDealCustomFieldsInput,\n output: FollowUpBossUpdateDealCustomFieldsOutput,\n});\n"],"mappings":";;AA0BA,MAAa,qCAAqC,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAC3E,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,gCAAgC;EAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC5G,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EAC5K,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACrH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EAC9K,aA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