@keystrokehq/spoki 0.1.0 → 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 (423) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-contact-operator.cjs.map +1 -1
  4. package/dist/actions/add-contact-operator.d.cts +9 -3
  5. package/dist/actions/add-contact-operator.d.cts.map +1 -1
  6. package/dist/actions/add-contact-operator.d.mts +9 -3
  7. package/dist/actions/add-contact-operator.d.mts.map +1 -1
  8. package/dist/actions/add-contact-operator.mjs.map +1 -1
  9. package/dist/actions/add-service-user.cjs +3 -3
  10. package/dist/actions/add-service-user.cjs.map +1 -1
  11. package/dist/actions/add-service-user.d.cts +13 -3
  12. package/dist/actions/add-service-user.d.cts.map +1 -1
  13. package/dist/actions/add-service-user.d.mts +13 -3
  14. package/dist/actions/add-service-user.d.mts.map +1 -1
  15. package/dist/actions/add-service-user.mjs +3 -3
  16. package/dist/actions/add-service-user.mjs.map +1 -1
  17. package/dist/actions/check-role-private-key.cjs +1 -1
  18. package/dist/actions/check-role-private-key.cjs.map +1 -1
  19. package/dist/actions/check-role-private-key.d.cts +9 -3
  20. package/dist/actions/check-role-private-key.d.cts.map +1 -1
  21. package/dist/actions/check-role-private-key.d.mts +9 -3
  22. package/dist/actions/check-role-private-key.d.mts.map +1 -1
  23. package/dist/actions/check-role-private-key.mjs +1 -1
  24. package/dist/actions/check-role-private-key.mjs.map +1 -1
  25. package/dist/actions/clone-template.cjs +12 -12
  26. package/dist/actions/clone-template.cjs.map +1 -1
  27. package/dist/actions/clone-template.d.cts +48 -3
  28. package/dist/actions/clone-template.d.cts.map +1 -1
  29. package/dist/actions/clone-template.d.mts +48 -3
  30. package/dist/actions/clone-template.d.mts.map +1 -1
  31. package/dist/actions/clone-template.mjs +12 -12
  32. package/dist/actions/clone-template.mjs.map +1 -1
  33. package/dist/actions/create-account-onboarding-link.cjs +3 -3
  34. package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
  35. package/dist/actions/create-account-onboarding-link.d.cts +11 -3
  36. package/dist/actions/create-account-onboarding-link.d.cts.map +1 -1
  37. package/dist/actions/create-account-onboarding-link.d.mts +11 -3
  38. package/dist/actions/create-account-onboarding-link.d.mts.map +1 -1
  39. package/dist/actions/create-account-onboarding-link.mjs +3 -3
  40. package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
  41. package/dist/actions/create-custom-field.cjs +6 -6
  42. package/dist/actions/create-custom-field.cjs.map +1 -1
  43. package/dist/actions/create-custom-field.d.cts +20 -3
  44. package/dist/actions/create-custom-field.d.cts.map +1 -1
  45. package/dist/actions/create-custom-field.d.mts +20 -3
  46. package/dist/actions/create-custom-field.d.mts.map +1 -1
  47. package/dist/actions/create-custom-field.mjs +6 -6
  48. package/dist/actions/create-custom-field.mjs.map +1 -1
  49. package/dist/actions/create-list.cjs +4 -4
  50. package/dist/actions/create-list.cjs.map +1 -1
  51. package/dist/actions/create-list.d.cts +13 -3
  52. package/dist/actions/create-list.d.cts.map +1 -1
  53. package/dist/actions/create-list.d.mts +13 -3
  54. package/dist/actions/create-list.d.mts.map +1 -1
  55. package/dist/actions/create-list.mjs +4 -4
  56. package/dist/actions/create-list.mjs.map +1 -1
  57. package/dist/actions/create-media.cjs.map +1 -1
  58. package/dist/actions/create-media.d.cts +19 -3
  59. package/dist/actions/create-media.d.cts.map +1 -1
  60. package/dist/actions/create-media.d.mts +19 -3
  61. package/dist/actions/create-media.d.mts.map +1 -1
  62. package/dist/actions/create-media.mjs.map +1 -1
  63. package/dist/actions/create-or-update-contact.cjs +8 -8
  64. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  65. package/dist/actions/create-or-update-contact.d.cts +30 -3
  66. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  67. package/dist/actions/create-or-update-contact.d.mts +30 -3
  68. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  69. package/dist/actions/create-or-update-contact.mjs +8 -8
  70. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  71. package/dist/actions/create-template.cjs +9 -9
  72. package/dist/actions/create-template.cjs.map +1 -1
  73. package/dist/actions/create-template.d.cts +93 -3
  74. package/dist/actions/create-template.d.cts.map +1 -1
  75. package/dist/actions/create-template.d.mts +93 -3
  76. package/dist/actions/create-template.d.mts.map +1 -1
  77. package/dist/actions/create-template.mjs +9 -9
  78. package/dist/actions/create-template.mjs.map +1 -1
  79. package/dist/actions/create-ticket.cjs +21 -21
  80. package/dist/actions/create-ticket.cjs.map +1 -1
  81. package/dist/actions/create-ticket.d.cts +65 -3
  82. package/dist/actions/create-ticket.d.cts.map +1 -1
  83. package/dist/actions/create-ticket.d.mts +65 -3
  84. package/dist/actions/create-ticket.d.mts.map +1 -1
  85. package/dist/actions/create-ticket.mjs +21 -21
  86. package/dist/actions/create-ticket.mjs.map +1 -1
  87. package/dist/actions/delete-contact.cjs.map +1 -1
  88. package/dist/actions/delete-contact.d.cts +7 -3
  89. package/dist/actions/delete-contact.d.cts.map +1 -1
  90. package/dist/actions/delete-contact.d.mts +7 -3
  91. package/dist/actions/delete-contact.d.mts.map +1 -1
  92. package/dist/actions/delete-contact.mjs.map +1 -1
  93. package/dist/actions/delete-custom-field.cjs.map +1 -1
  94. package/dist/actions/delete-custom-field.d.cts +7 -3
  95. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  96. package/dist/actions/delete-custom-field.d.mts +7 -3
  97. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  98. package/dist/actions/delete-custom-field.mjs.map +1 -1
  99. package/dist/actions/delete-list.cjs.map +1 -1
  100. package/dist/actions/delete-list.d.cts +7 -3
  101. package/dist/actions/delete-list.d.cts.map +1 -1
  102. package/dist/actions/delete-list.d.mts +7 -3
  103. package/dist/actions/delete-list.d.mts.map +1 -1
  104. package/dist/actions/delete-list.mjs.map +1 -1
  105. package/dist/actions/delete-media.cjs.map +1 -1
  106. package/dist/actions/delete-media.d.cts +7 -3
  107. package/dist/actions/delete-media.d.cts.map +1 -1
  108. package/dist/actions/delete-media.d.mts +7 -3
  109. package/dist/actions/delete-media.d.mts.map +1 -1
  110. package/dist/actions/delete-media.mjs.map +1 -1
  111. package/dist/actions/delete-role.cjs.map +1 -1
  112. package/dist/actions/delete-role.d.cts +7 -3
  113. package/dist/actions/delete-role.d.cts.map +1 -1
  114. package/dist/actions/delete-role.d.mts +7 -3
  115. package/dist/actions/delete-role.d.mts.map +1 -1
  116. package/dist/actions/delete-role.mjs.map +1 -1
  117. package/dist/actions/delete-template.cjs.map +1 -1
  118. package/dist/actions/delete-template.d.cts +11 -3
  119. package/dist/actions/delete-template.d.cts.map +1 -1
  120. package/dist/actions/delete-template.d.mts +11 -3
  121. package/dist/actions/delete-template.d.mts.map +1 -1
  122. package/dist/actions/delete-template.mjs.map +1 -1
  123. package/dist/actions/delete-ticket.cjs.map +1 -1
  124. package/dist/actions/delete-ticket.d.cts +7 -3
  125. package/dist/actions/delete-ticket.d.cts.map +1 -1
  126. package/dist/actions/delete-ticket.d.mts +7 -3
  127. package/dist/actions/delete-ticket.d.mts.map +1 -1
  128. package/dist/actions/delete-ticket.mjs.map +1 -1
  129. package/dist/actions/generate-role-private-key.cjs +1 -1
  130. package/dist/actions/generate-role-private-key.cjs.map +1 -1
  131. package/dist/actions/generate-role-private-key.d.cts +9 -3
  132. package/dist/actions/generate-role-private-key.d.cts.map +1 -1
  133. package/dist/actions/generate-role-private-key.d.mts +9 -3
  134. package/dist/actions/generate-role-private-key.d.mts.map +1 -1
  135. package/dist/actions/generate-role-private-key.mjs +1 -1
  136. package/dist/actions/generate-role-private-key.mjs.map +1 -1
  137. package/dist/actions/get-account-current-report.cjs.map +1 -1
  138. package/dist/actions/get-account-current-report.d.cts +22 -3
  139. package/dist/actions/get-account-current-report.d.cts.map +1 -1
  140. package/dist/actions/get-account-current-report.d.mts +22 -3
  141. package/dist/actions/get-account-current-report.d.mts.map +1 -1
  142. package/dist/actions/get-account-current-report.mjs.map +1 -1
  143. package/dist/actions/list-accounts.cjs +23 -23
  144. package/dist/actions/list-accounts.cjs.map +1 -1
  145. package/dist/actions/list-accounts.d.cts +42 -3
  146. package/dist/actions/list-accounts.d.cts.map +1 -1
  147. package/dist/actions/list-accounts.d.mts +42 -3
  148. package/dist/actions/list-accounts.d.mts.map +1 -1
  149. package/dist/actions/list-accounts.mjs +23 -23
  150. package/dist/actions/list-accounts.mjs.map +1 -1
  151. package/dist/actions/list-agencies.cjs.map +1 -1
  152. package/dist/actions/list-agencies.d.cts +3 -3
  153. package/dist/actions/list-agencies.d.cts.map +1 -1
  154. package/dist/actions/list-agencies.d.mts +3 -3
  155. package/dist/actions/list-agencies.d.mts.map +1 -1
  156. package/dist/actions/list-agencies.mjs.map +1 -1
  157. package/dist/actions/list-automations.cjs +11 -11
  158. package/dist/actions/list-automations.cjs.map +1 -1
  159. package/dist/actions/list-automations.d.cts +52 -3
  160. package/dist/actions/list-automations.d.cts.map +1 -1
  161. package/dist/actions/list-automations.d.mts +52 -3
  162. package/dist/actions/list-automations.d.mts.map +1 -1
  163. package/dist/actions/list-automations.mjs +11 -11
  164. package/dist/actions/list-automations.mjs.map +1 -1
  165. package/dist/actions/list-campaigns.cjs +22 -22
  166. package/dist/actions/list-campaigns.cjs.map +1 -1
  167. package/dist/actions/list-campaigns.d.cts +46 -3
  168. package/dist/actions/list-campaigns.d.cts.map +1 -1
  169. package/dist/actions/list-campaigns.d.mts +46 -3
  170. package/dist/actions/list-campaigns.d.mts.map +1 -1
  171. package/dist/actions/list-campaigns.mjs +22 -22
  172. package/dist/actions/list-campaigns.mjs.map +1 -1
  173. package/dist/actions/list-contacts.cjs +18 -18
  174. package/dist/actions/list-contacts.cjs.map +1 -1
  175. package/dist/actions/list-contacts.d.cts +60 -3
  176. package/dist/actions/list-contacts.d.cts.map +1 -1
  177. package/dist/actions/list-contacts.d.mts +60 -3
  178. package/dist/actions/list-contacts.d.mts.map +1 -1
  179. package/dist/actions/list-contacts.mjs +18 -18
  180. package/dist/actions/list-contacts.mjs.map +1 -1
  181. package/dist/actions/list-custom-fields.cjs +5 -5
  182. package/dist/actions/list-custom-fields.cjs.map +1 -1
  183. package/dist/actions/list-custom-fields.d.cts +18 -3
  184. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  185. package/dist/actions/list-custom-fields.d.mts +18 -3
  186. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  187. package/dist/actions/list-custom-fields.mjs +5 -5
  188. package/dist/actions/list-custom-fields.mjs.map +1 -1
  189. package/dist/actions/list-lists.cjs +5 -5
  190. package/dist/actions/list-lists.cjs.map +1 -1
  191. package/dist/actions/list-lists.d.cts +22 -3
  192. package/dist/actions/list-lists.d.cts.map +1 -1
  193. package/dist/actions/list-lists.d.mts +22 -3
  194. package/dist/actions/list-lists.d.mts.map +1 -1
  195. package/dist/actions/list-lists.mjs +5 -5
  196. package/dist/actions/list-lists.mjs.map +1 -1
  197. package/dist/actions/list-media.cjs +7 -7
  198. package/dist/actions/list-media.cjs.map +1 -1
  199. package/dist/actions/list-media.d.cts +23 -3
  200. package/dist/actions/list-media.d.cts.map +1 -1
  201. package/dist/actions/list-media.d.mts +23 -3
  202. package/dist/actions/list-media.d.mts.map +1 -1
  203. package/dist/actions/list-media.mjs +7 -7
  204. package/dist/actions/list-media.mjs.map +1 -1
  205. package/dist/actions/list-partners.cjs.map +1 -1
  206. package/dist/actions/list-partners.d.cts +3 -3
  207. package/dist/actions/list-partners.d.cts.map +1 -1
  208. package/dist/actions/list-partners.d.mts +3 -3
  209. package/dist/actions/list-partners.d.mts.map +1 -1
  210. package/dist/actions/list-partners.mjs.map +1 -1
  211. package/dist/actions/list-reports.cjs +1 -1
  212. package/dist/actions/list-reports.cjs.map +1 -1
  213. package/dist/actions/list-reports.d.cts +35 -3
  214. package/dist/actions/list-reports.d.cts.map +1 -1
  215. package/dist/actions/list-reports.d.mts +35 -3
  216. package/dist/actions/list-reports.d.mts.map +1 -1
  217. package/dist/actions/list-reports.mjs +1 -1
  218. package/dist/actions/list-reports.mjs.map +1 -1
  219. package/dist/actions/list-roles.cjs +12 -12
  220. package/dist/actions/list-roles.cjs.map +1 -1
  221. package/dist/actions/list-roles.d.cts +23 -3
  222. package/dist/actions/list-roles.d.cts.map +1 -1
  223. package/dist/actions/list-roles.d.mts +23 -3
  224. package/dist/actions/list-roles.d.mts.map +1 -1
  225. package/dist/actions/list-roles.mjs +12 -12
  226. package/dist/actions/list-roles.mjs.map +1 -1
  227. package/dist/actions/list-tags.cjs +5 -5
  228. package/dist/actions/list-tags.cjs.map +1 -1
  229. package/dist/actions/list-tags.d.cts +13 -3
  230. package/dist/actions/list-tags.d.cts.map +1 -1
  231. package/dist/actions/list-tags.d.mts +13 -3
  232. package/dist/actions/list-tags.d.mts.map +1 -1
  233. package/dist/actions/list-tags.mjs +5 -5
  234. package/dist/actions/list-tags.mjs.map +1 -1
  235. package/dist/actions/list-templates.cjs +15 -15
  236. package/dist/actions/list-templates.cjs.map +1 -1
  237. package/dist/actions/list-templates.d.cts +51 -3
  238. package/dist/actions/list-templates.d.cts.map +1 -1
  239. package/dist/actions/list-templates.d.mts +51 -3
  240. package/dist/actions/list-templates.d.mts.map +1 -1
  241. package/dist/actions/list-templates.mjs +15 -15
  242. package/dist/actions/list-templates.mjs.map +1 -1
  243. package/dist/actions/list-tickets.cjs +22 -22
  244. package/dist/actions/list-tickets.cjs.map +1 -1
  245. package/dist/actions/list-tickets.d.cts +63 -3
  246. package/dist/actions/list-tickets.d.cts.map +1 -1
  247. package/dist/actions/list-tickets.d.mts +63 -3
  248. package/dist/actions/list-tickets.d.mts.map +1 -1
  249. package/dist/actions/list-tickets.mjs +22 -22
  250. package/dist/actions/list-tickets.mjs.map +1 -1
  251. package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
  252. package/dist/actions/remove-all-list-contacts.d.cts +9 -3
  253. package/dist/actions/remove-all-list-contacts.d.cts.map +1 -1
  254. package/dist/actions/remove-all-list-contacts.d.mts +9 -3
  255. package/dist/actions/remove-all-list-contacts.d.mts.map +1 -1
  256. package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
  257. package/dist/actions/remove-contact-operator.cjs.map +1 -1
  258. package/dist/actions/remove-contact-operator.d.cts +11 -3
  259. package/dist/actions/remove-contact-operator.d.cts.map +1 -1
  260. package/dist/actions/remove-contact-operator.d.mts +11 -3
  261. package/dist/actions/remove-contact-operator.d.mts.map +1 -1
  262. package/dist/actions/remove-contact-operator.mjs.map +1 -1
  263. package/dist/actions/remove-list-contacts.cjs.map +1 -1
  264. package/dist/actions/remove-list-contacts.d.cts +11 -3
  265. package/dist/actions/remove-list-contacts.d.cts.map +1 -1
  266. package/dist/actions/remove-list-contacts.d.mts +11 -3
  267. package/dist/actions/remove-list-contacts.d.mts.map +1 -1
  268. package/dist/actions/remove-list-contacts.mjs.map +1 -1
  269. package/dist/actions/resend-invitation.cjs.map +1 -1
  270. package/dist/actions/resend-invitation.d.cts +10 -3
  271. package/dist/actions/resend-invitation.d.cts.map +1 -1
  272. package/dist/actions/resend-invitation.d.mts +10 -3
  273. package/dist/actions/resend-invitation.d.mts.map +1 -1
  274. package/dist/actions/resend-invitation.mjs.map +1 -1
  275. package/dist/actions/retrieve-account.cjs +22 -22
  276. package/dist/actions/retrieve-account.cjs.map +1 -1
  277. package/dist/actions/retrieve-account.d.cts +35 -3
  278. package/dist/actions/retrieve-account.d.cts.map +1 -1
  279. package/dist/actions/retrieve-account.d.mts +35 -3
  280. package/dist/actions/retrieve-account.d.mts.map +1 -1
  281. package/dist/actions/retrieve-account.mjs +22 -22
  282. package/dist/actions/retrieve-account.mjs.map +1 -1
  283. package/dist/actions/retrieve-automation.cjs +10 -10
  284. package/dist/actions/retrieve-automation.cjs.map +1 -1
  285. package/dist/actions/retrieve-automation.d.cts +23 -3
  286. package/dist/actions/retrieve-automation.d.cts.map +1 -1
  287. package/dist/actions/retrieve-automation.d.mts +23 -3
  288. package/dist/actions/retrieve-automation.d.mts.map +1 -1
  289. package/dist/actions/retrieve-automation.mjs +10 -10
  290. package/dist/actions/retrieve-automation.mjs.map +1 -1
  291. package/dist/actions/retrieve-contact.cjs +23 -23
  292. package/dist/actions/retrieve-contact.cjs.map +1 -1
  293. package/dist/actions/retrieve-contact.d.cts +45 -3
  294. package/dist/actions/retrieve-contact.d.cts.map +1 -1
  295. package/dist/actions/retrieve-contact.d.mts +45 -3
  296. package/dist/actions/retrieve-contact.d.mts.map +1 -1
  297. package/dist/actions/retrieve-contact.mjs +23 -23
  298. package/dist/actions/retrieve-contact.mjs.map +1 -1
  299. package/dist/actions/retrieve-custom-field.cjs +5 -5
  300. package/dist/actions/retrieve-custom-field.cjs.map +1 -1
  301. package/dist/actions/retrieve-custom-field.d.cts +14 -3
  302. package/dist/actions/retrieve-custom-field.d.cts.map +1 -1
  303. package/dist/actions/retrieve-custom-field.d.mts +14 -3
  304. package/dist/actions/retrieve-custom-field.d.mts.map +1 -1
  305. package/dist/actions/retrieve-custom-field.mjs +5 -5
  306. package/dist/actions/retrieve-custom-field.mjs.map +1 -1
  307. package/dist/actions/retrieve-list.cjs +4 -4
  308. package/dist/actions/retrieve-list.cjs.map +1 -1
  309. package/dist/actions/retrieve-list.d.cts +13 -3
  310. package/dist/actions/retrieve-list.d.cts.map +1 -1
  311. package/dist/actions/retrieve-list.d.mts +13 -3
  312. package/dist/actions/retrieve-list.d.mts.map +1 -1
  313. package/dist/actions/retrieve-list.mjs +4 -4
  314. package/dist/actions/retrieve-list.mjs.map +1 -1
  315. package/dist/actions/retrieve-media.cjs.map +1 -1
  316. package/dist/actions/retrieve-media.d.cts +16 -3
  317. package/dist/actions/retrieve-media.d.cts.map +1 -1
  318. package/dist/actions/retrieve-media.d.mts +16 -3
  319. package/dist/actions/retrieve-media.d.mts.map +1 -1
  320. package/dist/actions/retrieve-media.mjs.map +1 -1
  321. package/dist/actions/retrieve-role.cjs.map +1 -1
  322. package/dist/actions/retrieve-role.d.cts +22 -3
  323. package/dist/actions/retrieve-role.d.cts.map +1 -1
  324. package/dist/actions/retrieve-role.d.mts +22 -3
  325. package/dist/actions/retrieve-role.d.mts.map +1 -1
  326. package/dist/actions/retrieve-role.mjs.map +1 -1
  327. package/dist/actions/retrieve-tag.cjs.map +1 -1
  328. package/dist/actions/retrieve-tag.d.cts +12 -3
  329. package/dist/actions/retrieve-tag.d.cts.map +1 -1
  330. package/dist/actions/retrieve-tag.d.mts +12 -3
  331. package/dist/actions/retrieve-tag.d.mts.map +1 -1
  332. package/dist/actions/retrieve-tag.mjs.map +1 -1
  333. package/dist/actions/retrieve-template.cjs +14 -14
  334. package/dist/actions/retrieve-template.cjs.map +1 -1
  335. package/dist/actions/retrieve-template.d.cts +45 -3
  336. package/dist/actions/retrieve-template.d.cts.map +1 -1
  337. package/dist/actions/retrieve-template.d.mts +45 -3
  338. package/dist/actions/retrieve-template.d.mts.map +1 -1
  339. package/dist/actions/retrieve-template.mjs +14 -14
  340. package/dist/actions/retrieve-template.mjs.map +1 -1
  341. package/dist/actions/revert-template-to-draft.cjs +1 -1
  342. package/dist/actions/revert-template-to-draft.cjs.map +1 -1
  343. package/dist/actions/revert-template-to-draft.d.cts +9 -3
  344. package/dist/actions/revert-template-to-draft.d.cts.map +1 -1
  345. package/dist/actions/revert-template-to-draft.d.mts +9 -3
  346. package/dist/actions/revert-template-to-draft.d.mts.map +1 -1
  347. package/dist/actions/revert-template-to-draft.mjs +1 -1
  348. package/dist/actions/revert-template-to-draft.mjs.map +1 -1
  349. package/dist/actions/sync-contacts-bulk.cjs +8 -8
  350. package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
  351. package/dist/actions/sync-contacts-bulk.d.cts +40 -3
  352. package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
  353. package/dist/actions/sync-contacts-bulk.d.mts +40 -3
  354. package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
  355. package/dist/actions/sync-contacts-bulk.mjs +8 -8
  356. package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
  357. package/dist/actions/sync-list-contacts.cjs.map +1 -1
  358. package/dist/actions/sync-list-contacts.d.cts +25 -3
  359. package/dist/actions/sync-list-contacts.d.cts.map +1 -1
  360. package/dist/actions/sync-list-contacts.d.mts +25 -3
  361. package/dist/actions/sync-list-contacts.d.mts.map +1 -1
  362. package/dist/actions/sync-list-contacts.mjs.map +1 -1
  363. package/dist/actions/update-campaign.cjs +5 -5
  364. package/dist/actions/update-campaign.cjs.map +1 -1
  365. package/dist/actions/update-campaign.d.cts +22 -3
  366. package/dist/actions/update-campaign.d.cts.map +1 -1
  367. package/dist/actions/update-campaign.d.mts +22 -3
  368. package/dist/actions/update-campaign.d.mts.map +1 -1
  369. package/dist/actions/update-campaign.mjs +5 -5
  370. package/dist/actions/update-campaign.mjs.map +1 -1
  371. package/dist/actions/update-contact.cjs +5 -5
  372. package/dist/actions/update-contact.cjs.map +1 -1
  373. package/dist/actions/update-contact.d.cts +32 -3
  374. package/dist/actions/update-contact.d.cts.map +1 -1
  375. package/dist/actions/update-contact.d.mts +32 -3
  376. package/dist/actions/update-contact.d.mts.map +1 -1
  377. package/dist/actions/update-contact.mjs +5 -5
  378. package/dist/actions/update-contact.mjs.map +1 -1
  379. package/dist/actions/update-custom-field.cjs +5 -5
  380. package/dist/actions/update-custom-field.cjs.map +1 -1
  381. package/dist/actions/update-custom-field.d.cts +16 -3
  382. package/dist/actions/update-custom-field.d.cts.map +1 -1
  383. package/dist/actions/update-custom-field.d.mts +16 -3
  384. package/dist/actions/update-custom-field.d.mts.map +1 -1
  385. package/dist/actions/update-custom-field.mjs +5 -5
  386. package/dist/actions/update-custom-field.mjs.map +1 -1
  387. package/dist/actions/update-invitation-role.cjs.map +1 -1
  388. package/dist/actions/update-invitation-role.d.cts +14 -3
  389. package/dist/actions/update-invitation-role.d.cts.map +1 -1
  390. package/dist/actions/update-invitation-role.d.mts +14 -3
  391. package/dist/actions/update-invitation-role.d.mts.map +1 -1
  392. package/dist/actions/update-invitation-role.mjs.map +1 -1
  393. package/dist/actions/update-media.cjs +2 -2
  394. package/dist/actions/update-media.cjs.map +1 -1
  395. package/dist/actions/update-media.d.cts +18 -3
  396. package/dist/actions/update-media.d.cts.map +1 -1
  397. package/dist/actions/update-media.d.mts +18 -3
  398. package/dist/actions/update-media.d.mts.map +1 -1
  399. package/dist/actions/update-media.mjs +2 -2
  400. package/dist/actions/update-media.mjs.map +1 -1
  401. package/dist/actions/update-role.cjs +2 -2
  402. package/dist/actions/update-role.cjs.map +1 -1
  403. package/dist/actions/update-role.d.cts +13 -3
  404. package/dist/actions/update-role.d.cts.map +1 -1
  405. package/dist/actions/update-role.d.mts +13 -3
  406. package/dist/actions/update-role.d.mts.map +1 -1
  407. package/dist/actions/update-role.mjs +2 -2
  408. package/dist/actions/update-role.mjs.map +1 -1
  409. package/dist/actions/update-template.cjs +5 -5
  410. package/dist/actions/update-template.cjs.map +1 -1
  411. package/dist/actions/update-template.d.cts +81 -3
  412. package/dist/actions/update-template.d.cts.map +1 -1
  413. package/dist/actions/update-template.d.mts +81 -3
  414. package/dist/actions/update-template.d.mts.map +1 -1
  415. package/dist/actions/update-template.mjs +5 -5
  416. package/dist/actions/update-template.mjs.map +1 -1
  417. package/dist/catalog.cjs +7 -1
  418. package/dist/catalog.cjs.map +1 -1
  419. package/dist/catalog.d.cts +8 -0
  420. package/dist/catalog.d.mts +8 -0
  421. package/dist/catalog.mjs +7 -1
  422. package/dist/catalog.mjs.map +1 -1
  423. package/package.json +2 -2
@@ -14,15 +14,15 @@ const spokiUpdateContact = action("SPOKI_UPDATE_CONTACT", {
14
14
  custom_fields: z.object({}).describe("Dictionary of custom field names and their values. Use this to store additional contact information beyond standard fields (e.g., {'company': 'Acme Corp', 'employee_id': 'EMP-12345'})").optional()
15
15
  }),
16
16
  output: z.object({
17
- id: z.number().int().describe("Unique ID of the contact"),
17
+ id: z.number().int().describe("Unique ID of the contact").nullable(),
18
18
  email: z.string().describe("Email address of the contact").nullable().optional(),
19
- phone: z.string().describe("Contact phone number in E.164 format"),
20
- language: z.string().describe("Language code of the contact (e.g., 'en', 'it', 'es')"),
19
+ phone: z.string().describe("Contact phone number in E.164 format").nullable(),
20
+ language: z.string().describe("Language code of the contact (e.g., 'en', 'it', 'es')").nullable(),
21
21
  role_set: z.array(z.string()).describe("List of roles assigned to the contact").nullable().optional(),
22
- chat_link: z.string().describe("Direct link to chat with this contact on Spoki platform"),
22
+ chat_link: z.string().describe("Direct link to chat with this contact on Spoki platform").nullable(),
23
23
  last_name: z.string().describe("Last name of the contact").nullable().optional(),
24
24
  first_name: z.string().describe("First name of the contact").nullable().optional(),
25
- is_blocked: z.boolean().describe("Whether the contact is blocked"),
25
+ is_blocked: z.boolean().describe("Whether the contact is blocked").nullable(),
26
26
  is_restricted: z.boolean().describe("Whether the contact is restricted").nullable().optional(),
27
27
  has_invalid_phone: z.boolean().describe("Whether the phone number is invalid").nullable().optional(),
28
28
  is_first_message_sent: z.boolean().describe("Whether the first message has been sent to this contact").nullable().optional()
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update. This is the contact ID returned when creating or listing contacts\"),\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+393331234567' (Italy), '+14155552671' (USA), '+447700900123' (UK)\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code for the contact's preferred language. Common values: 'en' (English), 'it' (Italian), 'es' (Spanish), 'de' (German), 'pt' (Portuguese), 'fr' (French)\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Supports Unicode characters and special characters like hyphens and apostrophes (e.g., 'O'Brien-Müller')\").optional(),\n first_name: z.string().describe(\"First name of the contact. Supports Unicode characters for international names (e.g., 'François', 'María', 'João')\").optional(),\n custom_fields: z.object({}).describe(\"Dictionary of custom field names and their values. Use this to store additional contact information beyond standard fields (e.g., {'company': 'Acme Corp', 'employee_id': 'EMP-12345'})\").optional(),\n});\nexport const SpokiUpdateContactOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the contact\"),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\"),\n language: z.string().describe(\"Language code of the contact (e.g., 'en', 'it', 'es')\"),\n role_set: z.array(z.string()).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"Direct link to chat with this contact on Spoki platform\"),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Whether the contact is blocked\"),\n is_restricted: z.boolean().describe(\"Whether the contact is restricted\").nullable().optional(),\n has_invalid_phone: z.boolean().describe(\"Whether the phone number is invalid\").nullable().optional(),\n is_first_message_sent: z.boolean().describe(\"Whether the first message has been sent to this contact\").nullable().optional(),\n});\n\nexport const spokiUpdateContact = action(\"SPOKI_UPDATE_CONTACT\", {\n slug: \"spoki-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Spoki. Use when you need to modify contact information for a specific contact ID. Only the fields provided will be updated; other fields remain unchanged.\",\n input: SpokiUpdateContactInput,\n output: SpokiUpdateContactOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACvI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EACnN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;EAClO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAC9K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC/J,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC3O,CAoBS;CACP,QApBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACrF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;EACjE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update. This is the contact ID returned when creating or listing contacts\"),\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+393331234567' (Italy), '+14155552671' (USA), '+447700900123' (UK)\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code for the contact's preferred language. Common values: 'en' (English), 'it' (Italian), 'es' (Spanish), 'de' (German), 'pt' (Portuguese), 'fr' (French)\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Supports Unicode characters and special characters like hyphens and apostrophes (e.g., 'O'Brien-Müller')\").optional(),\n first_name: z.string().describe(\"First name of the contact. Supports Unicode characters for international names (e.g., 'François', 'María', 'João')\").optional(),\n custom_fields: z.object({}).describe(\"Dictionary of custom field names and their values. Use this to store additional contact information beyond standard fields (e.g., {'company': 'Acme Corp', 'employee_id': 'EMP-12345'})\").optional(),\n});\nexport const SpokiUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").nullable(),\n language: z.string().describe(\"Language code of the contact (e.g., 'en', 'it', 'es')\").nullable(),\n role_set: z.array(z.string()).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"Direct link to chat with this contact on Spoki platform\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Whether the contact is blocked\").nullable(),\n is_restricted: z.boolean().describe(\"Whether the contact is restricted\").nullable().optional(),\n has_invalid_phone: z.boolean().describe(\"Whether the phone number is invalid\").nullable().optional(),\n is_first_message_sent: z.boolean().describe(\"Whether the first message has been sent to this contact\").nullable().optional(),\n});\n\nexport const spokiUpdateContact = action(\"SPOKI_UPDATE_CONTACT\", {\n slug: \"spoki-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Spoki. Use when you need to modify contact information for a specific contact ID. Only the fields provided will be updated; other fields remain unchanged.\",\n input: SpokiUpdateContactInput,\n output: SpokiUpdateContactOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACvI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EACnN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;EAClO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAC9K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC/J,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC3O,CAoBS;CACP,QApBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC5E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAOU;AACV,CAAC"}
@@ -6,16 +6,16 @@ const SpokiUpdateCustomFieldInput = zod.z.object({
6
6
  custom_field_id: zod.z.number().int().describe("Unique identifier of the custom field to update")
7
7
  }).describe("Request model for updating a specific custom field.");
8
8
  const SpokiUpdateCustomFieldOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Unique identifier of the custom field"),
10
- code: zod.z.string().describe("Programmatic code used to reference the custom field"),
11
- label: zod.z.string().describe("Human-readable label of the custom field"),
9
+ id: zod.z.number().int().describe("Unique identifier of the custom field").nullable(),
10
+ code: zod.z.string().describe("Programmatic code used to reference the custom field").nullable(),
11
+ label: zod.z.string().describe("Human-readable label of the custom field").nullable(),
12
12
  example: zod.z.string().describe("Example or default value for the custom field").nullable().optional(),
13
- is_linked: zod.z.boolean().describe("Whether the custom field is linked/associated with contacts"),
13
+ is_linked: zod.z.boolean().describe("Whether the custom field is linked/associated with contacts").nullable(),
14
14
  field_type: zod.z.union([
15
15
  zod.z.literal(1),
16
16
  zod.z.literal(2),
17
17
  zod.z.literal(3)
18
- ]).describe("Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME")
18
+ ]).describe("Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME").nullable()
19
19
  }).describe("Response model containing details of the updated custom field.");
20
20
  const spokiUpdateCustomField = require_action.action("SPOKI_UPDATE_CUSTOM_FIELD", {
21
21
  slug: "spoki-update-custom-field",
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateCustomFieldInput: z.ZodTypeAny = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\"),\n code: z.string().describe(\"Programmatic code used to reference the custom field\"),\n label: z.string().describe(\"Human-readable label of the custom field\"),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\"),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\"),\n}).describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;CAC7F,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACjI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateCustomFieldInput = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"Human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-custom-field.d.ts
4
- declare const SpokiUpdateCustomFieldInput: z.ZodTypeAny;
5
- declare const SpokiUpdateCustomFieldOutput: z.ZodTypeAny;
6
- declare const spokiUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateCustomFieldInput: z.ZodObject<{
5
+ label: z.ZodString;
6
+ custom_field_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateCustomFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ code: z.ZodNullable<z.ZodString>;
11
+ label: z.ZodNullable<z.ZodString>;
12
+ example: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ is_linked: z.ZodNullable<z.ZodBoolean>;
14
+ field_type: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
15
+ }, z.core.$strip>;
16
+ declare const spokiUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ label: string;
18
+ custom_field_id: number;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { spokiUpdateCustomField };
9
22
  //# sourceMappingURL=update-custom-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field.d.cts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGsB;AAAA,cACrD,4BAAA,EAA8B,CAAA,CAAE,UAOgC;AAAA,cAEhE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-custom-field.d.cts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-custom-field.d.ts
4
- declare const SpokiUpdateCustomFieldInput: z.ZodTypeAny;
5
- declare const SpokiUpdateCustomFieldOutput: z.ZodTypeAny;
6
- declare const spokiUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateCustomFieldInput: z.ZodObject<{
5
+ label: z.ZodString;
6
+ custom_field_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateCustomFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ code: z.ZodNullable<z.ZodString>;
11
+ label: z.ZodNullable<z.ZodString>;
12
+ example: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ is_linked: z.ZodNullable<z.ZodBoolean>;
14
+ field_type: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
15
+ }, z.core.$strip>;
16
+ declare const spokiUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ label: string;
18
+ custom_field_id: number;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { spokiUpdateCustomField };
9
22
  //# sourceMappingURL=update-custom-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field.d.mts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGsB;AAAA,cACrD,4BAAA,EAA8B,CAAA,CAAE,UAOgC;AAAA,cAEhE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-custom-field.d.mts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,gCAAsB,wBAAA"}
@@ -9,16 +9,16 @@ const spokiUpdateCustomField = action("SPOKI_UPDATE_CUSTOM_FIELD", {
9
9
  custom_field_id: z.number().int().describe("Unique identifier of the custom field to update")
10
10
  }).describe("Request model for updating a specific custom field."),
11
11
  output: z.object({
12
- id: z.number().int().describe("Unique identifier of the custom field"),
13
- code: z.string().describe("Programmatic code used to reference the custom field"),
14
- label: z.string().describe("Human-readable label of the custom field"),
12
+ id: z.number().int().describe("Unique identifier of the custom field").nullable(),
13
+ code: z.string().describe("Programmatic code used to reference the custom field").nullable(),
14
+ label: z.string().describe("Human-readable label of the custom field").nullable(),
15
15
  example: z.string().describe("Example or default value for the custom field").nullable().optional(),
16
- is_linked: z.boolean().describe("Whether the custom field is linked/associated with contacts"),
16
+ is_linked: z.boolean().describe("Whether the custom field is linked/associated with contacts").nullable(),
17
17
  field_type: z.union([
18
18
  z.literal(1),
19
19
  z.literal(2),
20
20
  z.literal(3)
21
- ]).describe("Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME")
21
+ ]).describe("Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME").nullable()
22
22
  }).describe("Response model containing details of the updated custom field.")
23
23
  });
24
24
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateCustomFieldInput: z.ZodTypeAny = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\"),\n code: z.string().describe(\"Programmatic code used to reference the custom field\"),\n label: z.string().describe(\"Human-readable label of the custom field\"),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\"),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\"),\n}).describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAdwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;EAC7F,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;CACjI,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateCustomFieldInput = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"Human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAd0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-invitation-role.cjs","names":["z","action"],"sources":["../../src/actions/update-invitation-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateInvitationRoleInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AACjJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-invitation-role.cjs","names":["z","action"],"sources":["../../src/actions/update-invitation-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateInvitationRoleInput = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AACjJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-invitation-role.d.ts
4
- declare const SpokiUpdateInvitationRoleInput: z.ZodTypeAny;
5
- declare const SpokiUpdateInvitationRoleOutput: z.ZodTypeAny;
6
- declare const spokiUpdateInvitationRole: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateInvitationRoleInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ role: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateInvitationRoleOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ }, z.core.$strip>;
14
+ declare const spokiUpdateInvitationRole: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: string;
16
+ role: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { spokiUpdateInvitationRole };
9
20
  //# sourceMappingURL=update-invitation-role.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-invitation-role.d.cts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGmB;AAAA,cACrD,+BAAA,EAAiC,CAAA,CAAE,UAKS;AAAA,cAE5C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-invitation-role.d.cts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-invitation-role.d.ts
4
- declare const SpokiUpdateInvitationRoleInput: z.ZodTypeAny;
5
- declare const SpokiUpdateInvitationRoleOutput: z.ZodTypeAny;
6
- declare const spokiUpdateInvitationRole: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateInvitationRoleInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ role: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateInvitationRoleOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ }, z.core.$strip>;
14
+ declare const spokiUpdateInvitationRole: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: string;
16
+ role: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { spokiUpdateInvitationRole };
9
20
  //# sourceMappingURL=update-invitation-role.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-invitation-role.d.mts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGmB;AAAA,cACrD,+BAAA,EAAiC,CAAA,CAAE,UAKS;AAAA,cAE5C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-invitation-role.d.mts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-invitation-role.mjs","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateInvitationRoleInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":";;AAeA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACjJ,CAAC,CAAC,CAAC,SAAS,qDAYH;CACP,QAZ2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-invitation-role.mjs","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateInvitationRoleInput = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":";;AAeA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACjJ,CAAC,CAAC,CAAC,SAAS,qDAYH;CACP,QAZ6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -6,9 +6,9 @@ const SpokiUpdateMediaInput = zod.z.object({
6
6
  title: zod.z.string().describe("New title for the media file")
7
7
  }).describe("Request model for updating a media file.");
8
8
  const SpokiUpdateMediaOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Unique identifier of the media file"),
9
+ id: zod.z.number().int().describe("Unique identifier of the media file").nullable(),
10
10
  url: zod.z.string().describe("URL where the media file is accessible").nullable().optional(),
11
- title: zod.z.string().describe("Title of the media file"),
11
+ title: zod.z.string().describe("Title of the media file").nullable(),
12
12
  file_name: zod.z.string().describe("Name of the media file").nullable().optional(),
13
13
  file_size: zod.z.number().int().describe("Size of the file in bytes").nullable().optional(),
14
14
  mime_type: zod.z.string().describe("MIME type of the media file").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-media.cjs","names":["z","action"],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateMediaInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\"),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\"),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAC3D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-media.cjs","names":["z","action"],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateMediaInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAC3D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-media.d.ts
4
- declare const SpokiUpdateMediaInput: z.ZodTypeAny;
5
- declare const SpokiUpdateMediaOutput: z.ZodTypeAny;
6
- declare const spokiUpdateMedia: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateMediaInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ title: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateMediaOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ title: z.ZodNullable<z.ZodString>;
12
+ file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ file_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updated_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>;
18
+ declare const spokiUpdateMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ id: number;
20
+ title: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { spokiUpdateMedia };
9
24
  //# sourceMappingURL=update-media.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-media.d.cts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGiB;AAAA,cAC1C,sBAAA,EAAwB,CAAA,CAAE,UASoC;AAAA,cAE9D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-media.d.cts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAWtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-media.d.ts
4
- declare const SpokiUpdateMediaInput: z.ZodTypeAny;
5
- declare const SpokiUpdateMediaOutput: z.ZodTypeAny;
6
- declare const spokiUpdateMedia: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateMediaInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ title: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateMediaOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ title: z.ZodNullable<z.ZodString>;
12
+ file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ file_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updated_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>;
18
+ declare const spokiUpdateMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ id: number;
20
+ title: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { spokiUpdateMedia };
9
24
  //# sourceMappingURL=update-media.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-media.d.mts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGiB;AAAA,cAC1C,sBAAA,EAAwB,CAAA,CAAE,UASoC;AAAA,cAE9D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-media.d.mts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAWtB,gBAAA,gCAAgB,wBAAA"}
@@ -9,9 +9,9 @@ const spokiUpdateMedia = action("SPOKI_UPDATE_MEDIA", {
9
9
  title: z.string().describe("New title for the media file")
10
10
  }).describe("Request model for updating a media file."),
11
11
  output: z.object({
12
- id: z.number().int().describe("Unique identifier of the media file"),
12
+ id: z.number().int().describe("Unique identifier of the media file").nullable(),
13
13
  url: z.string().describe("URL where the media file is accessible").nullable().optional(),
14
- title: z.string().describe("Title of the media file"),
14
+ title: z.string().describe("Title of the media file").nullable(),
15
15
  file_name: z.string().describe("Name of the media file").nullable().optional(),
16
16
  file_size: z.number().int().describe("Size of the file in bytes").nullable().optional(),
17
17
  mime_type: z.string().describe("MIME type of the media file").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-media.mjs","names":[],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateMediaInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\"),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\"),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":";;AAmBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC3D,CAAC,CAAC,CAAC,SAAS,0CAgBH;CACP,QAhBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-media.mjs","names":[],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateMediaInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":";;AAmBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC3D,CAAC,CAAC,CAAC,SAAS,0CAgBH;CACP,QAhBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -6,8 +6,8 @@ const SpokiUpdateRoleInput = zod.z.object({
6
6
  role: zod.z.string().describe("New role name to assign to the user")
7
7
  }).describe("Request parameters for updating a user's role. Provide the role ID and the new role name.");
8
8
  const SpokiUpdateRoleOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Unique identifier of the role"),
10
- name: zod.z.string().describe("Name of the role"),
9
+ id: zod.z.number().int().describe("Unique identifier of the role").nullable(),
10
+ name: zod.z.string().describe("Name of the role").nullable(),
11
11
  permission_set: zod.z.array(zod.z.string()).describe("List of permissions assigned to this role").nullable().optional()
12
12
  }).describe("Response containing details of the updated role.");
13
13
  const spokiUpdateRole = require_action.action("SPOKI_UPDATE_ROLE", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-role.cjs","names":["z","action"],"sources":["../../src/actions/update-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateRoleInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The role ID to update\"),\n role: z.string().describe(\"New role name to assign to the user\"),\n}).describe(\"Request parameters for updating a user's role. Provide the role ID and the new role name.\");\nexport const SpokiUpdateRoleOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the role\"),\n name: z.string().describe(\"Name of the role\"),\n permission_set: z.array(z.string()).describe(\"List of permissions assigned to this role\").nullable().optional(),\n}).describe(\"Response containing details of the updated role.\");\n\nexport const spokiUpdateRole = action(\"SPOKI_UPDATE_ROLE\", {\n slug: \"spoki-update-role\",\n name: \"Update Role\",\n description: \"Tool to update a user's role. Use when you need to change a user's role assignment. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateRoleInput,\n output: SpokiUpdateRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACjE,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-role.cjs","names":["z","action"],"sources":["../../src/actions/update-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateRoleInput = z.object({\n id: z.string().describe(\"The role ID to update\"),\n role: z.string().describe(\"New role name to assign to the user\"),\n}).describe(\"Request parameters for updating a user's role. Provide the role ID and the new role name.\");\nexport const SpokiUpdateRoleOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the role\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n permission_set: z.array(z.string()).describe(\"List of permissions assigned to this role\").nullable().optional(),\n}).describe(\"Response containing details of the updated role.\");\n\nexport const spokiUpdateRole = action(\"SPOKI_UPDATE_ROLE\", {\n slug: \"spoki-update-role\",\n name: \"Update Role\",\n description: \"Tool to update a user's role. Use when you need to change a user's role assignment. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateRoleInput,\n output: SpokiUpdateRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACjE,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-role.d.ts
4
- declare const SpokiUpdateRoleInput: z.ZodTypeAny;
5
- declare const SpokiUpdateRoleOutput: z.ZodTypeAny;
6
- declare const spokiUpdateRole: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateRoleInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ role: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateRoleOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ permission_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ }, z.core.$strip>;
13
+ declare const spokiUpdateRole: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ id: string;
15
+ role: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { spokiUpdateRole };
9
19
  //# sourceMappingURL=update-role.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-role.d.cts","names":[],"sources":["../../src/actions/update-role.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGmE;AAAA,cAC3F,qBAAA,EAAuB,CAAA,CAAE,UAIyB;AAAA,cAElD,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-role.d.cts","names":[],"sources":["../../src/actions/update-role.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-role.d.ts
4
- declare const SpokiUpdateRoleInput: z.ZodTypeAny;
5
- declare const SpokiUpdateRoleOutput: z.ZodTypeAny;
6
- declare const spokiUpdateRole: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiUpdateRoleInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ role: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpokiUpdateRoleOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ permission_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ }, z.core.$strip>;
13
+ declare const spokiUpdateRole: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ id: string;
15
+ role: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { spokiUpdateRole };
9
19
  //# sourceMappingURL=update-role.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-role.d.mts","names":[],"sources":["../../src/actions/update-role.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGmE;AAAA,cAC3F,qBAAA,EAAuB,CAAA,CAAE,UAIyB;AAAA,cAElD,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-role.d.mts","names":[],"sources":["../../src/actions/update-role.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,gCAAe,wBAAA"}
@@ -9,8 +9,8 @@ const spokiUpdateRole = action("SPOKI_UPDATE_ROLE", {
9
9
  role: z.string().describe("New role name to assign to the user")
10
10
  }).describe("Request parameters for updating a user's role. Provide the role ID and the new role name."),
11
11
  output: z.object({
12
- id: z.number().int().describe("Unique identifier of the role"),
13
- name: z.string().describe("Name of the role"),
12
+ id: z.number().int().describe("Unique identifier of the role").nullable(),
13
+ name: z.string().describe("Name of the role").nullable(),
14
14
  permission_set: z.array(z.string()).describe("List of permissions assigned to this role").nullable().optional()
15
15
  }).describe("Response containing details of the updated role.")
16
16
  });
@@ -1 +1 @@
1
- {"version":3,"file":"update-role.mjs","names":[],"sources":["../../src/actions/update-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateRoleInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The role ID to update\"),\n role: z.string().describe(\"New role name to assign to the user\"),\n}).describe(\"Request parameters for updating a user's role. Provide the role ID and the new role name.\");\nexport const SpokiUpdateRoleOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the role\"),\n name: z.string().describe(\"Name of the role\"),\n permission_set: z.array(z.string()).describe(\"List of permissions assigned to this role\").nullable().optional(),\n}).describe(\"Response containing details of the updated role.\");\n\nexport const spokiUpdateRole = action(\"SPOKI_UPDATE_ROLE\", {\n slug: \"spoki-update-role\",\n name: \"Update Role\",\n description: \"Tool to update a user's role. Use when you need to change a user's role assignment. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateRoleInput,\n output: SpokiUpdateRoleOutput,\n});\n"],"mappings":";;AAcA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,CAAC,CAAC,CAAC,SAAS,2FAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC5C,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-role.mjs","names":[],"sources":["../../src/actions/update-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateRoleInput = z.object({\n id: z.string().describe(\"The role ID to update\"),\n role: z.string().describe(\"New role name to assign to the user\"),\n}).describe(\"Request parameters for updating a user's role. Provide the role ID and the new role name.\");\nexport const SpokiUpdateRoleOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the role\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n permission_set: z.array(z.string()).describe(\"List of permissions assigned to this role\").nullable().optional(),\n}).describe(\"Response containing details of the updated role.\");\n\nexport const spokiUpdateRole = action(\"SPOKI_UPDATE_ROLE\", {\n slug: \"spoki-update-role\",\n name: \"Update Role\",\n description: \"Tool to update a user's role. Use when you need to change a user's role assignment. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateRoleInput,\n output: SpokiUpdateRoleOutput,\n});\n"],"mappings":";;AAcA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,CAAC,CAAC,CAAC,SAAS,2FAWH;CACP,QAXmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -37,15 +37,15 @@ const SpokiUpdateTemplate_TemplateLocalizationResponseSchema = zod.z.object({
37
37
  body: zod.z.object({}).describe("Body component of the template").nullable().optional(),
38
38
  footer: zod.z.object({}).describe("Footer component of the template").nullable().optional(),
39
39
  header: zod.z.object({}).describe("Header component of the template").nullable().optional(),
40
- status: zod.z.string().describe("Approval status of this localization"),
41
- language: zod.z.string().describe("Language code of this localization"),
40
+ status: zod.z.string().describe("Approval status of this localization").nullable(),
41
+ language: zod.z.string().describe("Language code of this localization").nullable(),
42
42
  button_set: zod.z.array(zod.z.object({})).describe("List of buttons defined for this localization").nullable().optional(),
43
43
  rejection_reason: zod.z.string().describe("Reason for rejection, if any").nullable().optional()
44
44
  }).describe("Localization details in the response.");
45
45
  const SpokiUpdateTemplateOutput = zod.z.object({
46
- id: zod.z.number().int().describe("Template unique identifier"),
47
- name: zod.z.string().describe("Template name"),
48
- category: zod.z.string().describe("Template category"),
46
+ id: zod.z.number().int().describe("Template unique identifier").nullable(),
47
+ name: zod.z.string().describe("Template name").nullable(),
48
+ category: zod.z.string().describe("Template category").nullable(),
49
49
  is_approved: zod.z.boolean().describe("Whether the template is approved").nullable().optional(),
50
50
  is_favorite: zod.z.boolean().describe("Whether the template is marked as favorite").nullable().optional(),
51
51
  customfield_set: zod.z.array(zod.z.string()).describe("List of dynamic field codes used in the template").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateTemplateInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the template to update\"),\n name: z.string().describe(\"New name for the template\").optional(),\n category: z.string().describe(\"Template category (e.g., 'ACCOUNT_UPDATE', 'MARKETING', 'UTILITY')\").optional(),\n subcategory: z.string().describe(\"Template subcategory for further classification\").optional(),\n templatelocalization_set: z.array(z.object({\n body: z.object({\n text: z.string().describe(\"Text content of the component\").optional(),\n format: z.string().describe(\"Format of the component, e.g., 'text'\").optional(),\n component_type: z.string().describe(\"Type of the component, e.g., 'body', 'header', 'footer'\").optional(),\n}).describe(\"Component for template parts such as header, body, footer.\").optional(),\n footer: z.object({\n text: z.string().describe(\"Text content of the component\").optional(),\n format: z.string().describe(\"Format of the component, e.g., 'text'\").optional(),\n component_type: z.string().describe(\"Type of the component, e.g., 'body', 'header', 'footer'\").optional(),\n}).describe(\"Component for template parts such as header, body, footer.\").optional(),\n header: z.object({\n text: z.string().describe(\"Text content of the component\").optional(),\n format: z.string().describe(\"Format of the component, e.g., 'text'\").optional(),\n component_type: z.string().describe(\"Type of the component, e.g., 'body', 'header', 'footer'\").optional(),\n}).describe(\"Component for template parts such as header, body, footer.\").optional(),\n status: z.string().describe(\"Approval status of this localization\").optional(),\n language: z.string().describe(\"Language code of this localization, e.g., 'it', 'en'\").optional(),\n button_set: z.array(z.object({\n url: z.string().describe(\"URL for link button, if applicable\").optional(),\n text: z.string().describe(\"Text displayed on the button\").optional(),\n order: z.number().int().describe(\"Order index of the button\").optional(),\n button_type: z.string().describe(\"Type of button, e.g., 'quick_reply'\").optional(),\n phone_number: z.string().describe(\"Phone number for call button, if applicable\").optional(),\n}).describe(\"Button definition within a template localization.\")).describe(\"List of buttons defined for this localization\").optional(),\n}).describe(\"Localization details for updating a template.\")).describe(\"Array of localizations to update for this template\").optional(),\n}).describe(\"Request model for updating an existing WhatsApp template.\");\nconst SpokiUpdateTemplate_TemplateLocalizationResponseSchema: z.ZodTypeAny = z.object({\n body: z.object({}).describe(\"Body component of the template\").nullable().optional(),\n footer: z.object({}).describe(\"Footer component of the template\").nullable().optional(),\n header: z.object({}).describe(\"Header component of the template\").nullable().optional(),\n status: z.string().describe(\"Approval status of this localization\"),\n language: z.string().describe(\"Language code of this localization\"),\n button_set: z.array(z.object({})).describe(\"List of buttons defined for this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection, if any\").nullable().optional(),\n}).describe(\"Localization details in the response.\");\nexport const SpokiUpdateTemplateOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Template unique identifier\"),\n name: z.string().describe(\"Template name\"),\n category: z.string().describe(\"Template category\"),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable().optional(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable().optional(),\n customfield_set: z.array(z.string()).describe(\"List of dynamic field codes used in the template\").nullable().optional(),\n templatelocalization_set: z.array(SpokiUpdateTemplate_TemplateLocalizationResponseSchema).describe(\"Localizations available for this template\").nullable().optional(),\n}).describe(\"Response model containing details of the updated template.\");\n\nexport const spokiUpdateTemplate = action(\"SPOKI_UPDATE_TEMPLATE\", {\n slug: \"spoki-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing WhatsApp template in Spoki. Use when you need to modify template name, category, subcategory, or localization details. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateTemplateInput,\n output: SpokiUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,0BAA0BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3C,MAAMA,IAAAA,EAAE,OAAO;GACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC1G,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjF,QAAQA,IAAAA,EAAE,OAAO;GACjB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC1G,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjF,QAAQA,IAAAA,EAAE,OAAO;GACjB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC1G,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAC7B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;GACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,0BAA0BA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateTemplateInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the template to update\"),\n name: z.string().describe(\"New name for the template\").optional(),\n category: z.string().describe(\"Template category (e.g., 'ACCOUNT_UPDATE', 'MARKETING', 'UTILITY')\").optional(),\n subcategory: z.string().describe(\"Template subcategory for further classification\").optional(),\n templatelocalization_set: z.array(z.object({\n body: z.object({\n text: z.string().describe(\"Text content of the component\").optional(),\n format: z.string().describe(\"Format of the component, e.g., 'text'\").optional(),\n component_type: z.string().describe(\"Type of the component, e.g., 'body', 'header', 'footer'\").optional(),\n}).describe(\"Component for template parts such as header, body, footer.\").optional(),\n footer: z.object({\n text: z.string().describe(\"Text content of the component\").optional(),\n format: z.string().describe(\"Format of the component, e.g., 'text'\").optional(),\n component_type: z.string().describe(\"Type of the component, e.g., 'body', 'header', 'footer'\").optional(),\n}).describe(\"Component for template parts such as header, body, footer.\").optional(),\n header: z.object({\n text: z.string().describe(\"Text content of the component\").optional(),\n format: z.string().describe(\"Format of the component, e.g., 'text'\").optional(),\n component_type: z.string().describe(\"Type of the component, e.g., 'body', 'header', 'footer'\").optional(),\n}).describe(\"Component for template parts such as header, body, footer.\").optional(),\n status: z.string().describe(\"Approval status of this localization\").optional(),\n language: z.string().describe(\"Language code of this localization, e.g., 'it', 'en'\").optional(),\n button_set: z.array(z.object({\n url: z.string().describe(\"URL for link button, if applicable\").optional(),\n text: z.string().describe(\"Text displayed on the button\").optional(),\n order: z.number().int().describe(\"Order index of the button\").optional(),\n button_type: z.string().describe(\"Type of button, e.g., 'quick_reply'\").optional(),\n phone_number: z.string().describe(\"Phone number for call button, if applicable\").optional(),\n}).describe(\"Button definition within a template localization.\")).describe(\"List of buttons defined for this localization\").optional(),\n}).describe(\"Localization details for updating a template.\")).describe(\"Array of localizations to update for this template\").optional(),\n}).describe(\"Request model for updating an existing WhatsApp template.\");\nconst SpokiUpdateTemplate_TemplateLocalizationResponseSchema = z.object({\n body: z.object({}).describe(\"Body component of the template\").nullable().optional(),\n footer: z.object({}).describe(\"Footer component of the template\").nullable().optional(),\n header: z.object({}).describe(\"Header component of the template\").nullable().optional(),\n status: z.string().describe(\"Approval status of this localization\").nullable(),\n language: z.string().describe(\"Language code of this localization\").nullable(),\n button_set: z.array(z.object({})).describe(\"List of buttons defined for this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection, if any\").nullable().optional(),\n}).describe(\"Localization details in the response.\");\nexport const SpokiUpdateTemplateOutput = z.object({\n id: z.number().int().describe(\"Template unique identifier\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable().optional(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable().optional(),\n customfield_set: z.array(z.string()).describe(\"List of dynamic field codes used in the template\").nullable().optional(),\n templatelocalization_set: z.array(SpokiUpdateTemplate_TemplateLocalizationResponseSchema).describe(\"Localizations available for this template\").nullable().optional(),\n}).describe(\"Response model containing details of the updated template.\");\n\nexport const spokiUpdateTemplate = action(\"SPOKI_UPDATE_TEMPLATE\", {\n slug: \"spoki-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing WhatsApp template in Spoki. Use when you need to modify template name, category, subcategory, or localization details. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateTemplateInput,\n output: SpokiUpdateTemplateOutput,\n});\n"],"mappings":"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"}