@keystrokehq/spoki 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/dist/actions/add-contact-operator.cjs +1 -1
  2. package/dist/actions/add-contact-operator.cjs.map +1 -1
  3. package/dist/actions/add-contact-operator.d.cts +1 -1
  4. package/dist/actions/add-contact-operator.d.cts.map +1 -1
  5. package/dist/actions/add-contact-operator.d.mts +1 -1
  6. package/dist/actions/add-contact-operator.d.mts.map +1 -1
  7. package/dist/actions/add-contact-operator.mjs +1 -1
  8. package/dist/actions/add-contact-operator.mjs.map +1 -1
  9. package/dist/actions/add-service-user.cjs +1 -1
  10. package/dist/actions/add-service-user.cjs.map +1 -1
  11. package/dist/actions/add-service-user.d.cts +1 -1
  12. package/dist/actions/add-service-user.d.mts +1 -1
  13. package/dist/actions/add-service-user.mjs +1 -1
  14. package/dist/actions/add-service-user.mjs.map +1 -1
  15. package/dist/actions/check-role-private-key.cjs +1 -1
  16. package/dist/actions/check-role-private-key.cjs.map +1 -1
  17. package/dist/actions/check-role-private-key.d.cts +1 -1
  18. package/dist/actions/check-role-private-key.d.mts +1 -1
  19. package/dist/actions/check-role-private-key.mjs +1 -1
  20. package/dist/actions/check-role-private-key.mjs.map +1 -1
  21. package/dist/actions/clone-template.cjs +4 -4
  22. package/dist/actions/clone-template.cjs.map +1 -1
  23. package/dist/actions/clone-template.d.cts +6 -6
  24. package/dist/actions/clone-template.d.mts +6 -6
  25. package/dist/actions/clone-template.mjs +4 -4
  26. package/dist/actions/clone-template.mjs.map +1 -1
  27. package/dist/actions/create-account-onboarding-link.cjs +1 -1
  28. package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
  29. package/dist/actions/create-account-onboarding-link.d.cts +1 -1
  30. package/dist/actions/create-account-onboarding-link.d.mts +1 -1
  31. package/dist/actions/create-account-onboarding-link.mjs +1 -1
  32. package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
  33. package/dist/actions/create-custom-field.cjs +1 -1
  34. package/dist/actions/create-custom-field.cjs.map +1 -1
  35. package/dist/actions/create-custom-field.d.cts +1 -1
  36. package/dist/actions/create-custom-field.d.mts +1 -1
  37. package/dist/actions/create-custom-field.mjs +1 -1
  38. package/dist/actions/create-custom-field.mjs.map +1 -1
  39. package/dist/actions/create-list.cjs +1 -1
  40. package/dist/actions/create-list.cjs.map +1 -1
  41. package/dist/actions/create-list.d.cts +1 -1
  42. package/dist/actions/create-list.d.mts +1 -1
  43. package/dist/actions/create-list.mjs +1 -1
  44. package/dist/actions/create-list.mjs.map +1 -1
  45. package/dist/actions/create-media.cjs +1 -1
  46. package/dist/actions/create-media.cjs.map +1 -1
  47. package/dist/actions/create-media.d.cts +1 -1
  48. package/dist/actions/create-media.d.mts +1 -1
  49. package/dist/actions/create-media.mjs +1 -1
  50. package/dist/actions/create-media.mjs.map +1 -1
  51. package/dist/actions/create-or-update-contact.cjs +2 -2
  52. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  53. package/dist/actions/create-or-update-contact.d.cts +3 -3
  54. package/dist/actions/create-or-update-contact.d.mts +3 -3
  55. package/dist/actions/create-or-update-contact.mjs +2 -2
  56. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  57. package/dist/actions/create-template.cjs +7 -7
  58. package/dist/actions/create-template.cjs.map +1 -1
  59. package/dist/actions/create-template.d.cts +11 -9
  60. package/dist/actions/create-template.d.mts +11 -9
  61. package/dist/actions/create-template.mjs +7 -7
  62. package/dist/actions/create-template.mjs.map +1 -1
  63. package/dist/actions/create-ticket.cjs +4 -4
  64. package/dist/actions/create-ticket.cjs.map +1 -1
  65. package/dist/actions/create-ticket.d.cts +5 -5
  66. package/dist/actions/create-ticket.d.mts +5 -5
  67. package/dist/actions/create-ticket.mjs +4 -4
  68. package/dist/actions/create-ticket.mjs.map +1 -1
  69. package/dist/actions/delete-contact.cjs +1 -1
  70. package/dist/actions/delete-contact.cjs.map +1 -1
  71. package/dist/actions/delete-contact.d.cts +1 -1
  72. package/dist/actions/delete-contact.d.cts.map +1 -1
  73. package/dist/actions/delete-contact.d.mts +1 -1
  74. package/dist/actions/delete-contact.d.mts.map +1 -1
  75. package/dist/actions/delete-contact.mjs +1 -1
  76. package/dist/actions/delete-contact.mjs.map +1 -1
  77. package/dist/actions/delete-custom-field.cjs +1 -1
  78. package/dist/actions/delete-custom-field.cjs.map +1 -1
  79. package/dist/actions/delete-custom-field.d.cts +1 -1
  80. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  81. package/dist/actions/delete-custom-field.d.mts +1 -1
  82. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  83. package/dist/actions/delete-custom-field.mjs +1 -1
  84. package/dist/actions/delete-custom-field.mjs.map +1 -1
  85. package/dist/actions/delete-list.cjs +1 -1
  86. package/dist/actions/delete-list.cjs.map +1 -1
  87. package/dist/actions/delete-list.d.cts +1 -1
  88. package/dist/actions/delete-list.d.cts.map +1 -1
  89. package/dist/actions/delete-list.d.mts +1 -1
  90. package/dist/actions/delete-list.d.mts.map +1 -1
  91. package/dist/actions/delete-list.mjs +1 -1
  92. package/dist/actions/delete-list.mjs.map +1 -1
  93. package/dist/actions/delete-media.cjs +1 -1
  94. package/dist/actions/delete-media.cjs.map +1 -1
  95. package/dist/actions/delete-media.d.cts +1 -1
  96. package/dist/actions/delete-media.d.cts.map +1 -1
  97. package/dist/actions/delete-media.d.mts +1 -1
  98. package/dist/actions/delete-media.d.mts.map +1 -1
  99. package/dist/actions/delete-media.mjs +1 -1
  100. package/dist/actions/delete-media.mjs.map +1 -1
  101. package/dist/actions/delete-role.cjs +1 -1
  102. package/dist/actions/delete-role.cjs.map +1 -1
  103. package/dist/actions/delete-role.d.cts +1 -1
  104. package/dist/actions/delete-role.d.cts.map +1 -1
  105. package/dist/actions/delete-role.d.mts +1 -1
  106. package/dist/actions/delete-role.d.mts.map +1 -1
  107. package/dist/actions/delete-role.mjs +1 -1
  108. package/dist/actions/delete-role.mjs.map +1 -1
  109. package/dist/actions/delete-template.cjs +1 -1
  110. package/dist/actions/delete-template.cjs.map +1 -1
  111. package/dist/actions/delete-template.d.cts +1 -1
  112. package/dist/actions/delete-template.d.mts +1 -1
  113. package/dist/actions/delete-template.mjs +1 -1
  114. package/dist/actions/delete-template.mjs.map +1 -1
  115. package/dist/actions/delete-ticket.cjs +1 -1
  116. package/dist/actions/delete-ticket.cjs.map +1 -1
  117. package/dist/actions/delete-ticket.d.cts +1 -1
  118. package/dist/actions/delete-ticket.d.cts.map +1 -1
  119. package/dist/actions/delete-ticket.d.mts +1 -1
  120. package/dist/actions/delete-ticket.d.mts.map +1 -1
  121. package/dist/actions/delete-ticket.mjs +1 -1
  122. package/dist/actions/delete-ticket.mjs.map +1 -1
  123. package/dist/actions/generate-role-private-key.cjs +1 -1
  124. package/dist/actions/generate-role-private-key.cjs.map +1 -1
  125. package/dist/actions/generate-role-private-key.d.cts +1 -1
  126. package/dist/actions/generate-role-private-key.d.mts +1 -1
  127. package/dist/actions/generate-role-private-key.mjs +1 -1
  128. package/dist/actions/generate-role-private-key.mjs.map +1 -1
  129. package/dist/actions/get-account-current-report.cjs +1 -1
  130. package/dist/actions/get-account-current-report.cjs.map +1 -1
  131. package/dist/actions/get-account-current-report.d.cts +1 -1
  132. package/dist/actions/get-account-current-report.d.mts +1 -1
  133. package/dist/actions/get-account-current-report.mjs +1 -1
  134. package/dist/actions/get-account-current-report.mjs.map +1 -1
  135. package/dist/actions/list-accounts.cjs +2 -2
  136. package/dist/actions/list-accounts.cjs.map +1 -1
  137. package/dist/actions/list-accounts.d.cts +2 -2
  138. package/dist/actions/list-accounts.d.mts +2 -2
  139. package/dist/actions/list-accounts.mjs +2 -2
  140. package/dist/actions/list-accounts.mjs.map +1 -1
  141. package/dist/actions/list-automations.cjs +3 -3
  142. package/dist/actions/list-automations.cjs.map +1 -1
  143. package/dist/actions/list-automations.d.cts +3 -3
  144. package/dist/actions/list-automations.d.mts +3 -3
  145. package/dist/actions/list-automations.mjs +3 -3
  146. package/dist/actions/list-automations.mjs.map +1 -1
  147. package/dist/actions/list-campaigns.cjs +4 -4
  148. package/dist/actions/list-campaigns.cjs.map +1 -1
  149. package/dist/actions/list-campaigns.d.cts +4 -4
  150. package/dist/actions/list-campaigns.d.mts +4 -4
  151. package/dist/actions/list-campaigns.mjs +4 -4
  152. package/dist/actions/list-campaigns.mjs.map +1 -1
  153. package/dist/actions/list-contacts.cjs +5 -5
  154. package/dist/actions/list-contacts.cjs.map +1 -1
  155. package/dist/actions/list-contacts.d.cts +5 -5
  156. package/dist/actions/list-contacts.d.mts +5 -5
  157. package/dist/actions/list-contacts.mjs +5 -5
  158. package/dist/actions/list-contacts.mjs.map +1 -1
  159. package/dist/actions/list-custom-fields.cjs +2 -2
  160. package/dist/actions/list-custom-fields.cjs.map +1 -1
  161. package/dist/actions/list-custom-fields.d.cts +2 -2
  162. package/dist/actions/list-custom-fields.d.mts +2 -2
  163. package/dist/actions/list-custom-fields.mjs +2 -2
  164. package/dist/actions/list-custom-fields.mjs.map +1 -1
  165. package/dist/actions/list-lists.cjs +2 -2
  166. package/dist/actions/list-lists.cjs.map +1 -1
  167. package/dist/actions/list-lists.d.cts +2 -2
  168. package/dist/actions/list-lists.d.mts +2 -2
  169. package/dist/actions/list-lists.mjs +2 -2
  170. package/dist/actions/list-lists.mjs.map +1 -1
  171. package/dist/actions/list-media.cjs +2 -2
  172. package/dist/actions/list-media.cjs.map +1 -1
  173. package/dist/actions/list-media.d.cts +2 -2
  174. package/dist/actions/list-media.d.mts +2 -2
  175. package/dist/actions/list-media.mjs +2 -2
  176. package/dist/actions/list-media.mjs.map +1 -1
  177. package/dist/actions/list-reports.cjs +2 -2
  178. package/dist/actions/list-reports.cjs.map +1 -1
  179. package/dist/actions/list-reports.d.cts +2 -2
  180. package/dist/actions/list-reports.d.mts +2 -2
  181. package/dist/actions/list-reports.mjs +2 -2
  182. package/dist/actions/list-reports.mjs.map +1 -1
  183. package/dist/actions/list-roles.cjs +3 -3
  184. package/dist/actions/list-roles.cjs.map +1 -1
  185. package/dist/actions/list-roles.d.cts +3 -3
  186. package/dist/actions/list-roles.d.mts +3 -3
  187. package/dist/actions/list-roles.mjs +3 -3
  188. package/dist/actions/list-roles.mjs.map +1 -1
  189. package/dist/actions/list-tags.cjs +2 -2
  190. package/dist/actions/list-tags.cjs.map +1 -1
  191. package/dist/actions/list-tags.d.cts +2 -2
  192. package/dist/actions/list-tags.d.mts +2 -2
  193. package/dist/actions/list-tags.mjs +2 -2
  194. package/dist/actions/list-tags.mjs.map +1 -1
  195. package/dist/actions/list-templates.cjs +6 -6
  196. package/dist/actions/list-templates.cjs.map +1 -1
  197. package/dist/actions/list-templates.d.cts +8 -8
  198. package/dist/actions/list-templates.d.mts +8 -8
  199. package/dist/actions/list-templates.mjs +6 -6
  200. package/dist/actions/list-templates.mjs.map +1 -1
  201. package/dist/actions/list-tickets.cjs +5 -5
  202. package/dist/actions/list-tickets.cjs.map +1 -1
  203. package/dist/actions/list-tickets.d.cts +6 -6
  204. package/dist/actions/list-tickets.d.mts +6 -6
  205. package/dist/actions/list-tickets.mjs +5 -5
  206. package/dist/actions/list-tickets.mjs.map +1 -1
  207. package/dist/actions/remove-all-list-contacts.cjs +1 -1
  208. package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
  209. package/dist/actions/remove-all-list-contacts.d.cts +1 -1
  210. package/dist/actions/remove-all-list-contacts.d.mts +1 -1
  211. package/dist/actions/remove-all-list-contacts.mjs +1 -1
  212. package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
  213. package/dist/actions/remove-contact-operator.cjs +1 -1
  214. package/dist/actions/remove-contact-operator.cjs.map +1 -1
  215. package/dist/actions/remove-contact-operator.d.cts +1 -1
  216. package/dist/actions/remove-contact-operator.d.mts +1 -1
  217. package/dist/actions/remove-contact-operator.mjs +1 -1
  218. package/dist/actions/remove-contact-operator.mjs.map +1 -1
  219. package/dist/actions/remove-list-contacts.cjs +1 -1
  220. package/dist/actions/remove-list-contacts.cjs.map +1 -1
  221. package/dist/actions/remove-list-contacts.d.cts +1 -1
  222. package/dist/actions/remove-list-contacts.d.mts +1 -1
  223. package/dist/actions/remove-list-contacts.mjs +1 -1
  224. package/dist/actions/remove-list-contacts.mjs.map +1 -1
  225. package/dist/actions/resend-invitation.cjs +1 -1
  226. package/dist/actions/resend-invitation.cjs.map +1 -1
  227. package/dist/actions/resend-invitation.d.cts +1 -1
  228. package/dist/actions/resend-invitation.d.mts +1 -1
  229. package/dist/actions/resend-invitation.mjs +1 -1
  230. package/dist/actions/resend-invitation.mjs.map +1 -1
  231. package/dist/actions/retrieve-account.cjs +1 -1
  232. package/dist/actions/retrieve-account.cjs.map +1 -1
  233. package/dist/actions/retrieve-account.d.cts +1 -1
  234. package/dist/actions/retrieve-account.d.mts +1 -1
  235. package/dist/actions/retrieve-account.mjs +1 -1
  236. package/dist/actions/retrieve-account.mjs.map +1 -1
  237. package/dist/actions/retrieve-automation.cjs +2 -2
  238. package/dist/actions/retrieve-automation.cjs.map +1 -1
  239. package/dist/actions/retrieve-automation.d.cts +2 -2
  240. package/dist/actions/retrieve-automation.d.mts +2 -2
  241. package/dist/actions/retrieve-automation.mjs +2 -2
  242. package/dist/actions/retrieve-automation.mjs.map +1 -1
  243. package/dist/actions/retrieve-contact.cjs +6 -6
  244. package/dist/actions/retrieve-contact.cjs.map +1 -1
  245. package/dist/actions/retrieve-contact.d.cts +6 -6
  246. package/dist/actions/retrieve-contact.d.mts +6 -6
  247. package/dist/actions/retrieve-contact.mjs +6 -6
  248. package/dist/actions/retrieve-contact.mjs.map +1 -1
  249. package/dist/actions/retrieve-custom-field.cjs +1 -1
  250. package/dist/actions/retrieve-custom-field.cjs.map +1 -1
  251. package/dist/actions/retrieve-custom-field.d.cts +1 -1
  252. package/dist/actions/retrieve-custom-field.d.mts +1 -1
  253. package/dist/actions/retrieve-custom-field.mjs +1 -1
  254. package/dist/actions/retrieve-custom-field.mjs.map +1 -1
  255. package/dist/actions/retrieve-list.cjs +1 -1
  256. package/dist/actions/retrieve-list.cjs.map +1 -1
  257. package/dist/actions/retrieve-list.d.cts +1 -1
  258. package/dist/actions/retrieve-list.d.mts +1 -1
  259. package/dist/actions/retrieve-list.mjs +1 -1
  260. package/dist/actions/retrieve-list.mjs.map +1 -1
  261. package/dist/actions/retrieve-media.cjs +1 -1
  262. package/dist/actions/retrieve-media.cjs.map +1 -1
  263. package/dist/actions/retrieve-media.d.cts +1 -1
  264. package/dist/actions/retrieve-media.d.mts +1 -1
  265. package/dist/actions/retrieve-media.mjs +1 -1
  266. package/dist/actions/retrieve-media.mjs.map +1 -1
  267. package/dist/actions/retrieve-role.cjs +2 -2
  268. package/dist/actions/retrieve-role.cjs.map +1 -1
  269. package/dist/actions/retrieve-role.d.cts +2 -2
  270. package/dist/actions/retrieve-role.d.mts +2 -2
  271. package/dist/actions/retrieve-role.mjs +2 -2
  272. package/dist/actions/retrieve-role.mjs.map +1 -1
  273. package/dist/actions/retrieve-tag.cjs +1 -1
  274. package/dist/actions/retrieve-tag.cjs.map +1 -1
  275. package/dist/actions/retrieve-tag.d.cts +1 -1
  276. package/dist/actions/retrieve-tag.d.mts +1 -1
  277. package/dist/actions/retrieve-tag.mjs +1 -1
  278. package/dist/actions/retrieve-tag.mjs.map +1 -1
  279. package/dist/actions/retrieve-template.cjs +5 -5
  280. package/dist/actions/retrieve-template.cjs.map +1 -1
  281. package/dist/actions/retrieve-template.d.cts +7 -7
  282. package/dist/actions/retrieve-template.d.mts +7 -7
  283. package/dist/actions/retrieve-template.mjs +5 -5
  284. package/dist/actions/retrieve-template.mjs.map +1 -1
  285. package/dist/actions/revert-template-to-draft.cjs +1 -1
  286. package/dist/actions/revert-template-to-draft.cjs.map +1 -1
  287. package/dist/actions/revert-template-to-draft.d.cts +1 -1
  288. package/dist/actions/revert-template-to-draft.d.mts +1 -1
  289. package/dist/actions/revert-template-to-draft.mjs +1 -1
  290. package/dist/actions/revert-template-to-draft.mjs.map +1 -1
  291. package/dist/actions/sync-contacts-bulk.cjs +5 -5
  292. package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
  293. package/dist/actions/sync-contacts-bulk.d.cts +7 -6
  294. package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
  295. package/dist/actions/sync-contacts-bulk.d.mts +7 -6
  296. package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
  297. package/dist/actions/sync-contacts-bulk.mjs +5 -5
  298. package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
  299. package/dist/actions/sync-list-contacts.cjs +3 -3
  300. package/dist/actions/sync-list-contacts.cjs.map +1 -1
  301. package/dist/actions/sync-list-contacts.d.cts +6 -5
  302. package/dist/actions/sync-list-contacts.d.cts.map +1 -1
  303. package/dist/actions/sync-list-contacts.d.mts +6 -5
  304. package/dist/actions/sync-list-contacts.d.mts.map +1 -1
  305. package/dist/actions/sync-list-contacts.mjs +3 -3
  306. package/dist/actions/sync-list-contacts.mjs.map +1 -1
  307. package/dist/actions/update-campaign.cjs +1 -1
  308. package/dist/actions/update-campaign.cjs.map +1 -1
  309. package/dist/actions/update-campaign.d.cts +1 -1
  310. package/dist/actions/update-campaign.d.mts +1 -1
  311. package/dist/actions/update-campaign.mjs +1 -1
  312. package/dist/actions/update-campaign.mjs.map +1 -1
  313. package/dist/actions/update-contact.cjs +2 -2
  314. package/dist/actions/update-contact.cjs.map +1 -1
  315. package/dist/actions/update-contact.d.cts +3 -3
  316. package/dist/actions/update-contact.d.mts +3 -3
  317. package/dist/actions/update-contact.mjs +2 -2
  318. package/dist/actions/update-contact.mjs.map +1 -1
  319. package/dist/actions/update-custom-field.cjs +1 -1
  320. package/dist/actions/update-custom-field.cjs.map +1 -1
  321. package/dist/actions/update-custom-field.d.cts +1 -1
  322. package/dist/actions/update-custom-field.d.mts +1 -1
  323. package/dist/actions/update-custom-field.mjs +1 -1
  324. package/dist/actions/update-custom-field.mjs.map +1 -1
  325. package/dist/actions/update-invitation-role.cjs +1 -1
  326. package/dist/actions/update-invitation-role.cjs.map +1 -1
  327. package/dist/actions/update-invitation-role.d.cts +1 -1
  328. package/dist/actions/update-invitation-role.d.mts +1 -1
  329. package/dist/actions/update-invitation-role.mjs +1 -1
  330. package/dist/actions/update-invitation-role.mjs.map +1 -1
  331. package/dist/actions/update-media.cjs +1 -1
  332. package/dist/actions/update-media.cjs.map +1 -1
  333. package/dist/actions/update-media.d.cts +1 -1
  334. package/dist/actions/update-media.d.mts +1 -1
  335. package/dist/actions/update-media.mjs +1 -1
  336. package/dist/actions/update-media.mjs.map +1 -1
  337. package/dist/actions/update-role.cjs +1 -1
  338. package/dist/actions/update-role.cjs.map +1 -1
  339. package/dist/actions/update-role.d.cts +1 -1
  340. package/dist/actions/update-role.d.mts +1 -1
  341. package/dist/actions/update-role.mjs +1 -1
  342. package/dist/actions/update-role.mjs.map +1 -1
  343. package/dist/actions/update-template.cjs +8 -8
  344. package/dist/actions/update-template.cjs.map +1 -1
  345. package/dist/actions/update-template.d.cts +10 -8
  346. package/dist/actions/update-template.d.mts +10 -8
  347. package/dist/actions/update-template.mjs +8 -8
  348. package/dist/actions/update-template.mjs.map +1 -1
  349. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTemplatesInput = z.object({\n search: z.string().describe(\"Search term to filter templates by id, name, or text\").optional(),\n}).describe(\"Optional search parameter to filter templates by id, name, or text\");\nconst SpokiListTemplates_TemplateComponentSchema = z.object({\n text: z.string().describe(\"Text content of the component if applicable\").nullable().optional(),\n format: z.string().describe(\"Format of the component, e.g., text, image\").nullable().optional(),\n component_type: z.string().describe(\"Component type, e.g., body, header, footer\").nullable(),\n});\nconst SpokiListTemplates_TemplateButtonSchema = z.object({\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Display text of the button\").nullable(),\n order: z.number().int().describe(\"Order index of the button in the template\").nullable(),\n button_type: z.string().describe(\"Type of button, e.g., quick_reply, url, call\").nullable(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n});\nconst SpokiListTemplates_HeaderMediaSchema = z.object({\n id: z.number().int().describe(\"Media file identifier\").nullable(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the media is deleted\").nullable(),\n});\nconst SpokiListTemplates_TemplateLocalizationSchema = z.object({\n body: SpokiListTemplates_TemplateComponentSchema.nullable(),\n footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n header: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n status: z.string().describe(\"Approval status: APPROVED, PENDING, or REJECTED\").nullable(),\n language: z.string().describe(\"Language code of this localization, e.g., 'en', 'it'\").nullable(),\n button_set: z.array(SpokiListTemplates_TemplateButtonSchema).describe(\"Buttons defined in this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional(),\n});\nconst SpokiListTemplates_TemplateSchema = z.object({\n id: z.number().int().describe(\"Template identifier\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category, e.g., ACCOUNT_UPDATE\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n customfield_set: z.array(z.string()).describe(\"Placeholder codes used in the template body\").nullable().optional(),\n templatelocalization_set: z.array(SpokiListTemplates_TemplateLocalizationSchema).describe(\"List of localizations for supported languages\"),\n});\nexport const SpokiListTemplatesOutput = z.object({\n next: z.string().describe(\"URL of next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of templates matching the query\").nullable(),\n results: z.array(SpokiListTemplates_TemplateSchema).describe(\"Templates returned in this page\"),\n previous: z.string().describe(\"URL of previous page of results, if any\").nullable().optional(),\n});\n\nexport const spokiListTemplates = action(\"SPOKI_LIST_TEMPLATES\", {\n slug: \"spoki-list-templates\",\n name: \"List templates\",\n description: \"Tool to list, search, and filter WhatsApp templates. Use when you need to retrieve available templates, optionally filtering by keywords.\",\n input: SpokiListTemplatesInput,\n output: SpokiListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,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,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,0BAA0BA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;AAC3I,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTemplatesInput = z.object({\n search: z.string().describe(\"Search term to filter templates by id, name, or text\").optional(),\n}).describe(\"Optional search parameter to filter templates by id, name, or text\");\nconst SpokiListTemplates_TemplateComponentSchema = z.object({\n text: z.string().describe(\"Text content of the component if applicable\").nullable().optional(),\n format: z.string().describe(\"Format of the component, e.g., text, image\").nullable().optional(),\n component_type: z.string().describe(\"Component type, e.g., body, header, footer\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateButtonSchema = z.object({\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Display text of the button\").nullable(),\n order: z.number().int().describe(\"Order index of the button in the template\").nullable(),\n button_type: z.string().describe(\"Type of button, e.g., quick_reply, url, call\").nullable(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_HeaderMediaSchema = z.object({\n id: z.number().int().describe(\"Media file identifier\").nullable(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the media is deleted\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateLocalizationSchema = z.object({\n body: SpokiListTemplates_TemplateComponentSchema.nullable(),\n footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n header: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n status: z.string().describe(\"Approval status: APPROVED, PENDING, or REJECTED\").nullable(),\n language: z.string().describe(\"Language code of this localization, e.g., 'en', 'it'\").nullable(),\n button_set: z.array(SpokiListTemplates_TemplateButtonSchema).describe(\"Buttons defined in this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_TemplateSchema = z.object({\n id: z.number().int().describe(\"Template identifier\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category, e.g., ACCOUNT_UPDATE\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n customfield_set: z.array(z.string()).describe(\"Placeholder codes used in the template body\").nullable().optional(),\n templatelocalization_set: z.array(SpokiListTemplates_TemplateLocalizationSchema).describe(\"List of localizations for supported languages\"),\n}).passthrough();\nexport const SpokiListTemplatesOutput = z.object({\n next: z.string().describe(\"URL of next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of templates matching the query\").nullable(),\n results: z.array(SpokiListTemplates_TemplateSchema).describe(\"Templates returned in this page\"),\n previous: z.string().describe(\"URL of previous page of results, if any\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListTemplates = action(\"SPOKI_LIST_TEMPLATES\", {\n slug: \"spoki-list-templates\",\n name: \"List templates\",\n description: \"Tool to list, search, and filter WhatsApp templates. Use when you need to retrieve available templates, optionally filtering by keywords.\",\n input: SpokiListTemplatesInput,\n output: SpokiListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CA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C,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,0BAA0BA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;AAC3I,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,17 +19,17 @@ declare const SpokiListTemplatesOutput: z.ZodObject<{
19
19
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  component_type: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  footer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
24
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  component_type: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>>>;
27
+ }, z.core.$loose>>>;
28
28
  header: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  component_type: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  status: z.ZodNullable<z.ZodString>;
34
34
  language: z.ZodNullable<z.ZodString>;
35
35
  button_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -38,17 +38,17 @@ declare const SpokiListTemplatesOutput: z.ZodObject<{
38
38
  order: z.ZodNullable<z.ZodNumber>;
39
39
  button_type: z.ZodNullable<z.ZodString>;
40
40
  phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>>>>;
41
+ }, z.core.$loose>>>>;
42
42
  rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  default_header_media: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
44
  id: z.ZodNullable<z.ZodNumber>;
45
45
  title: z.ZodNullable<z.ZodString>;
46
46
  is_deleted: z.ZodNullable<z.ZodBoolean>;
47
- }, z.core.$strip>>>;
48
- }, z.core.$strip>>;
49
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>>;
48
+ }, z.core.$loose>>;
49
+ }, z.core.$loose>>;
50
50
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- }, z.core.$strip>;
51
+ }, z.core.$loose>;
52
52
  declare const spokiListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  search?: string | undefined;
54
54
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -19,17 +19,17 @@ declare const SpokiListTemplatesOutput: z.ZodObject<{
19
19
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  component_type: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  footer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
24
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  component_type: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>>>;
27
+ }, z.core.$loose>>>;
28
28
  header: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  component_type: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  status: z.ZodNullable<z.ZodString>;
34
34
  language: z.ZodNullable<z.ZodString>;
35
35
  button_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -38,17 +38,17 @@ declare const SpokiListTemplatesOutput: z.ZodObject<{
38
38
  order: z.ZodNullable<z.ZodNumber>;
39
39
  button_type: z.ZodNullable<z.ZodString>;
40
40
  phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>>>>;
41
+ }, z.core.$loose>>>>;
42
42
  rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  default_header_media: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
44
  id: z.ZodNullable<z.ZodNumber>;
45
45
  title: z.ZodNullable<z.ZodString>;
46
46
  is_deleted: z.ZodNullable<z.ZodBoolean>;
47
- }, z.core.$strip>>>;
48
- }, z.core.$strip>>;
49
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>>;
48
+ }, z.core.$loose>>;
49
+ }, z.core.$loose>>;
50
50
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- }, z.core.$strip>;
51
+ }, z.core.$loose>;
52
52
  declare const spokiListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  search?: string | undefined;
54
54
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,19 +6,19 @@ const SpokiListTemplates_TemplateComponentSchema = z.object({
6
6
  text: z.string().describe("Text content of the component if applicable").nullable().optional(),
7
7
  format: z.string().describe("Format of the component, e.g., text, image").nullable().optional(),
8
8
  component_type: z.string().describe("Component type, e.g., body, header, footer").nullable()
9
- });
9
+ }).passthrough();
10
10
  const SpokiListTemplates_TemplateButtonSchema = z.object({
11
11
  url: z.string().describe("URL for URL buttons").nullable().optional(),
12
12
  text: z.string().describe("Display text of the button").nullable(),
13
13
  order: z.number().int().describe("Order index of the button in the template").nullable(),
14
14
  button_type: z.string().describe("Type of button, e.g., quick_reply, url, call").nullable(),
15
15
  phone_number: z.string().describe("Phone number for call buttons").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const SpokiListTemplates_HeaderMediaSchema = z.object({
18
18
  id: z.number().int().describe("Media file identifier").nullable(),
19
19
  title: z.string().describe("Title of the media file").nullable(),
20
20
  is_deleted: z.boolean().describe("Whether the media is deleted").nullable()
21
- });
21
+ }).passthrough();
22
22
  const SpokiListTemplates_TemplateLocalizationSchema = z.object({
23
23
  body: SpokiListTemplates_TemplateComponentSchema.nullable(),
24
24
  footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),
@@ -28,7 +28,7 @@ const SpokiListTemplates_TemplateLocalizationSchema = z.object({
28
28
  button_set: z.array(SpokiListTemplates_TemplateButtonSchema).describe("Buttons defined in this localization").nullable().optional(),
29
29
  rejection_reason: z.string().describe("Reason for rejection if status is REJECTED").nullable().optional(),
30
30
  default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const SpokiListTemplates_TemplateSchema = z.object({
33
33
  id: z.number().int().describe("Template identifier").nullable(),
34
34
  name: z.string().describe("Template name").nullable(),
@@ -37,7 +37,7 @@ const SpokiListTemplates_TemplateSchema = z.object({
37
37
  is_favorite: z.boolean().describe("Whether the template is marked as favorite").nullable(),
38
38
  customfield_set: z.array(z.string()).describe("Placeholder codes used in the template body").nullable().optional(),
39
39
  templatelocalization_set: z.array(SpokiListTemplates_TemplateLocalizationSchema).describe("List of localizations for supported languages")
40
- });
40
+ }).passthrough();
41
41
  const spokiListTemplates = action("SPOKI_LIST_TEMPLATES", {
42
42
  slug: "spoki-list-templates",
43
43
  name: "List templates",
@@ -48,7 +48,7 @@ const spokiListTemplates = action("SPOKI_LIST_TEMPLATES", {
48
48
  count: z.number().int().describe("Total number of templates matching the query").nullable(),
49
49
  results: z.array(SpokiListTemplates_TemplateSchema).describe("Templates returned in this page"),
50
50
  previous: z.string().describe("URL of previous page of results, if any").nullable().optional()
51
- })
51
+ }).passthrough()
52
52
  });
53
53
  //#endregion
54
54
  export { spokiListTemplates };
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTemplatesInput = z.object({\n search: z.string().describe(\"Search term to filter templates by id, name, or text\").optional(),\n}).describe(\"Optional search parameter to filter templates by id, name, or text\");\nconst SpokiListTemplates_TemplateComponentSchema = z.object({\n text: z.string().describe(\"Text content of the component if applicable\").nullable().optional(),\n format: z.string().describe(\"Format of the component, e.g., text, image\").nullable().optional(),\n component_type: z.string().describe(\"Component type, e.g., body, header, footer\").nullable(),\n});\nconst SpokiListTemplates_TemplateButtonSchema = z.object({\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Display text of the button\").nullable(),\n order: z.number().int().describe(\"Order index of the button in the template\").nullable(),\n button_type: z.string().describe(\"Type of button, e.g., quick_reply, url, call\").nullable(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n});\nconst SpokiListTemplates_HeaderMediaSchema = z.object({\n id: z.number().int().describe(\"Media file identifier\").nullable(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the media is deleted\").nullable(),\n});\nconst SpokiListTemplates_TemplateLocalizationSchema = z.object({\n body: SpokiListTemplates_TemplateComponentSchema.nullable(),\n footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n header: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n status: z.string().describe(\"Approval status: APPROVED, PENDING, or REJECTED\").nullable(),\n language: z.string().describe(\"Language code of this localization, e.g., 'en', 'it'\").nullable(),\n button_set: z.array(SpokiListTemplates_TemplateButtonSchema).describe(\"Buttons defined in this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional(),\n});\nconst SpokiListTemplates_TemplateSchema = z.object({\n id: z.number().int().describe(\"Template identifier\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category, e.g., ACCOUNT_UPDATE\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n customfield_set: z.array(z.string()).describe(\"Placeholder codes used in the template body\").nullable().optional(),\n templatelocalization_set: z.array(SpokiListTemplates_TemplateLocalizationSchema).describe(\"List of localizations for supported languages\"),\n});\nexport const SpokiListTemplatesOutput = z.object({\n next: z.string().describe(\"URL of next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of templates matching the query\").nullable(),\n results: z.array(SpokiListTemplates_TemplateSchema).describe(\"Templates returned in this page\"),\n previous: z.string().describe(\"URL of previous page of results, if any\").nullable().optional(),\n});\n\nexport const spokiListTemplates = action(\"SPOKI_LIST_TEMPLATES\", {\n slug: \"spoki-list-templates\",\n name: \"List templates\",\n description: \"Tool to list, search, and filter WhatsApp templates. Use when you need to retrieve available templates, optionally filtering by keywords.\",\n input: SpokiListTemplatesInput,\n output: SpokiListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,C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wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTemplatesInput = z.object({\n search: z.string().describe(\"Search term to filter templates by id, name, or text\").optional(),\n}).describe(\"Optional search parameter to filter templates by id, name, or text\");\nconst SpokiListTemplates_TemplateComponentSchema = z.object({\n text: z.string().describe(\"Text content of the component if applicable\").nullable().optional(),\n format: z.string().describe(\"Format of the component, e.g., text, image\").nullable().optional(),\n component_type: z.string().describe(\"Component type, e.g., body, header, footer\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateButtonSchema = z.object({\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Display text of the button\").nullable(),\n order: z.number().int().describe(\"Order index of the button in the template\").nullable(),\n button_type: z.string().describe(\"Type of button, e.g., quick_reply, url, call\").nullable(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_HeaderMediaSchema = z.object({\n id: z.number().int().describe(\"Media file identifier\").nullable(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the media is deleted\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateLocalizationSchema = z.object({\n body: SpokiListTemplates_TemplateComponentSchema.nullable(),\n footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n header: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n status: z.string().describe(\"Approval status: APPROVED, PENDING, or REJECTED\").nullable(),\n language: z.string().describe(\"Language code of this localization, e.g., 'en', 'it'\").nullable(),\n button_set: z.array(SpokiListTemplates_TemplateButtonSchema).describe(\"Buttons defined in this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_TemplateSchema = z.object({\n id: z.number().int().describe(\"Template identifier\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category, e.g., ACCOUNT_UPDATE\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n customfield_set: z.array(z.string()).describe(\"Placeholder codes used in the template body\").nullable().optional(),\n templatelocalization_set: z.array(SpokiListTemplates_TemplateLocalizationSchema).describe(\"List of localizations for supported languages\"),\n}).passthrough();\nexport const SpokiListTemplatesOutput = z.object({\n next: z.string().describe(\"URL of next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of templates matching the query\").nullable(),\n results: z.array(SpokiListTemplates_TemplateSchema).describe(\"Templates returned in this page\"),\n previous: z.string().describe(\"URL of previous page of results, if any\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListTemplates = action(\"SPOKI_LIST_TEMPLATES\", {\n slug: \"spoki-list-templates\",\n name: \"List templates\",\n description: \"Tool to list, search, and filter WhatsApp templates. Use when you need to retrieve available templates, optionally filtering by keywords.\",\n input: SpokiListTemplatesInput,\n output: SpokiListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC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AC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -15,12 +15,12 @@ const SpokiListTickets_UserSummarySchema = zod.z.object({
15
15
  surname: zod.z.string().describe("Surname of the user").nullable(),
16
16
  firstname: zod.z.string().describe("First name of the user").nullable(),
17
17
  is_service: zod.z.boolean().describe("Indicates if the user is a service user").nullable()
18
- });
18
+ }).passthrough();
19
19
  const SpokiListTickets_RoleAssignmentSchema = zod.z.object({
20
20
  id: zod.z.number().int().describe("Unique identifier of the role assignment").nullable(),
21
21
  role: zod.z.string().describe("Role name assigned to the user on this ticket").nullable(),
22
22
  user: SpokiListTickets_UserSummarySchema.nullable()
23
- });
23
+ }).passthrough();
24
24
  const SpokiListTickets_ContactSummarySchema = zod.z.object({
25
25
  id: zod.z.number().int().describe("Unique identifier of the contact").nullable(),
26
26
  email: zod.z.string().describe("Email address of the contact").nullable().optional(),
@@ -31,7 +31,7 @@ const SpokiListTickets_ContactSummarySchema = zod.z.object({
31
31
  last_name: zod.z.string().describe("Last name of the contact").nullable(),
32
32
  first_name: zod.z.string().describe("First name of the contact").nullable(),
33
33
  has_invalid_phone: zod.z.boolean().describe("Indicates if the phone number is invalid").nullable()
34
- });
34
+ }).passthrough();
35
35
  const SpokiListTickets_TicketSchema = zod.z.object({
36
36
  id: zod.z.number().int().describe("Unique identifier of the ticket").nullable(),
37
37
  owner: SpokiListTickets_UserSummarySchema.nullable(),
@@ -44,13 +44,13 @@ const SpokiListTickets_TicketSchema = zod.z.object({
44
44
  closed_datetime: zod.z.string().describe("Timestamp when the ticket was closed (ISO 8601)").nullable().optional(),
45
45
  created_datetime: zod.z.string().describe("Timestamp when the ticket was created (ISO 8601)").nullable(),
46
46
  updated_datetime: zod.z.string().describe("Timestamp when the ticket was last updated (ISO 8601)").nullable()
47
- });
47
+ }).passthrough();
48
48
  const SpokiListTicketsOutput = zod.z.object({
49
49
  next: zod.z.string().describe("URL to the next page of results, if any").nullable().optional(),
50
50
  count: zod.z.number().int().describe("Total number of tickets matching the filters").nullable(),
51
51
  results: zod.z.array(SpokiListTickets_TicketSchema).describe("List of ticket objects returned for this page"),
52
52
  previous: zod.z.string().describe("URL to the previous page of results, if any").nullable().optional()
53
- });
53
+ }).passthrough();
54
54
  const spokiListTickets = require_action.action("SPOKI_LIST_TICKETS", {
55
55
  slug: "spoki-list-tickets",
56
56
  name: "List Tickets",
@@ -1 +1 @@
1
- {"version":3,"file":"list-tickets.cjs","names":["z","action"],"sources":["../../src/actions/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTicketsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order of sorting: 'asc' or 'desc'.\").optional(),\n sort_by: z.string().describe(\"Field to sort by, e.g., created_datetime.\").optional(),\n per_page: z.number().int().describe(\"Number of tickets per page, must be >= 1.\").optional(),\n}).describe(\"Query parameters for listing, searching, and filtering tickets.\");\nconst SpokiListTickets_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n});\nconst SpokiListTickets_RoleAssignmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name assigned to the user on this ticket\").nullable(),\n user: SpokiListTickets_UserSummarySchema.nullable(),\n});\nconst SpokiListTickets_ContactSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact in international format\").nullable(),\n language: z.string().describe(\"Language code of the contact, e.g., 'en'\").nullable(),\n role_set: z.array(SpokiListTickets_RoleAssignmentSchema).describe(\"List of role assignments for the contact\"),\n chat_link: z.string().describe(\"URL to open the chat with the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the phone number is invalid\").nullable(),\n});\nconst SpokiListTickets_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the ticket\").nullable(),\n owner: SpokiListTickets_UserSummarySchema.nullable(),\n title: z.string().describe(\"Title of the ticket\").nullable(),\n status: z.string().describe(\"Current status of the ticket, e.g., Open or Closed\").nullable(),\n contact: SpokiListTickets_ContactSummarySchema.nullable(),\n priority: z.string().describe(\"Priority of the ticket, e.g., Low, Medium, High\").nullable(),\n reference: z.string().describe(\"Custom reference string for the ticket\").nullable().optional(),\n description: z.string().describe(\"Description or details of the ticket\").nullable().optional(),\n closed_datetime: z.string().describe(\"Timestamp when the ticket was closed (ISO 8601)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the ticket was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601)\").nullable(),\n});\nexport const SpokiListTicketsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tickets matching the filters\").nullable(),\n results: z.array(SpokiListTickets_TicketSchema).describe(\"List of ticket objects returned for this page\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n});\n\nexport const spokiListTickets = action(\"SPOKI_LIST_TICKETS\", {\n slug: \"spoki-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to list, search, and filter tickets. Use when you need to retrieve tickets with optional pagination and filters.\",\n input: SpokiListTicketsInput,\n output: SpokiListTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAA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1
+ {"version":3,"file":"list-tickets.cjs","names":["z","action"],"sources":["../../src/actions/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTicketsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order of sorting: 'asc' or 'desc'.\").optional(),\n sort_by: z.string().describe(\"Field to sort by, e.g., created_datetime.\").optional(),\n per_page: z.number().int().describe(\"Number of tickets per page, must be >= 1.\").optional(),\n}).describe(\"Query parameters for listing, searching, and filtering tickets.\");\nconst SpokiListTickets_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n}).passthrough();\nconst SpokiListTickets_RoleAssignmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name assigned to the user on this ticket\").nullable(),\n user: SpokiListTickets_UserSummarySchema.nullable(),\n}).passthrough();\nconst SpokiListTickets_ContactSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact in international format\").nullable(),\n language: z.string().describe(\"Language code of the contact, e.g., 'en'\").nullable(),\n role_set: z.array(SpokiListTickets_RoleAssignmentSchema).describe(\"List of role assignments for the contact\"),\n chat_link: z.string().describe(\"URL to open the chat with the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the phone number is invalid\").nullable(),\n}).passthrough();\nconst SpokiListTickets_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the ticket\").nullable(),\n owner: SpokiListTickets_UserSummarySchema.nullable(),\n title: z.string().describe(\"Title of the ticket\").nullable(),\n status: z.string().describe(\"Current status of the ticket, e.g., Open or Closed\").nullable(),\n contact: SpokiListTickets_ContactSummarySchema.nullable(),\n priority: z.string().describe(\"Priority of the ticket, e.g., Low, Medium, High\").nullable(),\n reference: z.string().describe(\"Custom reference string for the ticket\").nullable().optional(),\n description: z.string().describe(\"Description or details of the ticket\").nullable().optional(),\n closed_datetime: z.string().describe(\"Timestamp when the ticket was closed (ISO 8601)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the ticket was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601)\").nullable(),\n}).passthrough();\nexport const SpokiListTicketsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tickets matching the filters\").nullable(),\n results: z.array(SpokiListTickets_TicketSchema).describe(\"List of ticket objects returned for this page\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListTickets = action(\"SPOKI_LIST_TICKETS\", {\n slug: \"spoki-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to list, search, and filter tickets. Use when you need to retrieve tickets with optional pagination and filters.\",\n input: SpokiListTicketsInput,\n output: SpokiListTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,+CAA+C;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,7 +23,7 @@ declare const SpokiListTicketsOutput: z.ZodObject<{
23
23
  surname: z.ZodNullable<z.ZodString>;
24
24
  firstname: z.ZodNullable<z.ZodString>;
25
25
  is_service: z.ZodNullable<z.ZodBoolean>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  title: z.ZodNullable<z.ZodString>;
28
28
  status: z.ZodNullable<z.ZodString>;
29
29
  contact: z.ZodNullable<z.ZodObject<{
@@ -42,22 +42,22 @@ declare const SpokiListTicketsOutput: z.ZodObject<{
42
42
  surname: z.ZodNullable<z.ZodString>;
43
43
  firstname: z.ZodNullable<z.ZodString>;
44
44
  is_service: z.ZodNullable<z.ZodBoolean>;
45
- }, z.core.$strip>>;
46
- }, z.core.$strip>>;
45
+ }, z.core.$loose>>;
46
+ }, z.core.$loose>>;
47
47
  chat_link: z.ZodNullable<z.ZodString>;
48
48
  last_name: z.ZodNullable<z.ZodString>;
49
49
  first_name: z.ZodNullable<z.ZodString>;
50
50
  has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
51
- }, z.core.$strip>>;
51
+ }, z.core.$loose>>;
52
52
  priority: z.ZodNullable<z.ZodString>;
53
53
  reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  closed_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  created_datetime: z.ZodNullable<z.ZodString>;
57
57
  updated_datetime: z.ZodNullable<z.ZodString>;
58
- }, z.core.$strip>>;
58
+ }, z.core.$loose>>;
59
59
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const spokiListTickets: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  page?: number | undefined;
63
63
  order?: "asc" | "desc" | undefined;
@@ -23,7 +23,7 @@ declare const SpokiListTicketsOutput: z.ZodObject<{
23
23
  surname: z.ZodNullable<z.ZodString>;
24
24
  firstname: z.ZodNullable<z.ZodString>;
25
25
  is_service: z.ZodNullable<z.ZodBoolean>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  title: z.ZodNullable<z.ZodString>;
28
28
  status: z.ZodNullable<z.ZodString>;
29
29
  contact: z.ZodNullable<z.ZodObject<{
@@ -42,22 +42,22 @@ declare const SpokiListTicketsOutput: z.ZodObject<{
42
42
  surname: z.ZodNullable<z.ZodString>;
43
43
  firstname: z.ZodNullable<z.ZodString>;
44
44
  is_service: z.ZodNullable<z.ZodBoolean>;
45
- }, z.core.$strip>>;
46
- }, z.core.$strip>>;
45
+ }, z.core.$loose>>;
46
+ }, z.core.$loose>>;
47
47
  chat_link: z.ZodNullable<z.ZodString>;
48
48
  last_name: z.ZodNullable<z.ZodString>;
49
49
  first_name: z.ZodNullable<z.ZodString>;
50
50
  has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
51
- }, z.core.$strip>>;
51
+ }, z.core.$loose>>;
52
52
  priority: z.ZodNullable<z.ZodString>;
53
53
  reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  closed_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  created_datetime: z.ZodNullable<z.ZodString>;
57
57
  updated_datetime: z.ZodNullable<z.ZodString>;
58
- }, z.core.$strip>>;
58
+ }, z.core.$loose>>;
59
59
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const spokiListTickets: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  page?: number | undefined;
63
63
  order?: "asc" | "desc" | undefined;
@@ -15,12 +15,12 @@ const SpokiListTickets_UserSummarySchema = z.object({
15
15
  surname: z.string().describe("Surname of the user").nullable(),
16
16
  firstname: z.string().describe("First name of the user").nullable(),
17
17
  is_service: z.boolean().describe("Indicates if the user is a service user").nullable()
18
- });
18
+ }).passthrough();
19
19
  const SpokiListTickets_RoleAssignmentSchema = z.object({
20
20
  id: z.number().int().describe("Unique identifier of the role assignment").nullable(),
21
21
  role: z.string().describe("Role name assigned to the user on this ticket").nullable(),
22
22
  user: SpokiListTickets_UserSummarySchema.nullable()
23
- });
23
+ }).passthrough();
24
24
  const SpokiListTickets_ContactSummarySchema = z.object({
25
25
  id: z.number().int().describe("Unique identifier of the contact").nullable(),
26
26
  email: z.string().describe("Email address of the contact").nullable().optional(),
@@ -31,7 +31,7 @@ const SpokiListTickets_ContactSummarySchema = z.object({
31
31
  last_name: z.string().describe("Last name of the contact").nullable(),
32
32
  first_name: z.string().describe("First name of the contact").nullable(),
33
33
  has_invalid_phone: z.boolean().describe("Indicates if the phone number is invalid").nullable()
34
- });
34
+ }).passthrough();
35
35
  const SpokiListTickets_TicketSchema = z.object({
36
36
  id: z.number().int().describe("Unique identifier of the ticket").nullable(),
37
37
  owner: SpokiListTickets_UserSummarySchema.nullable(),
@@ -44,7 +44,7 @@ const SpokiListTickets_TicketSchema = z.object({
44
44
  closed_datetime: z.string().describe("Timestamp when the ticket was closed (ISO 8601)").nullable().optional(),
45
45
  created_datetime: z.string().describe("Timestamp when the ticket was created (ISO 8601)").nullable(),
46
46
  updated_datetime: z.string().describe("Timestamp when the ticket was last updated (ISO 8601)").nullable()
47
- });
47
+ }).passthrough();
48
48
  const spokiListTickets = action("SPOKI_LIST_TICKETS", {
49
49
  slug: "spoki-list-tickets",
50
50
  name: "List Tickets",
@@ -55,7 +55,7 @@ const spokiListTickets = action("SPOKI_LIST_TICKETS", {
55
55
  count: z.number().int().describe("Total number of tickets matching the filters").nullable(),
56
56
  results: z.array(SpokiListTickets_TicketSchema).describe("List of ticket objects returned for this page"),
57
57
  previous: z.string().describe("URL to the previous page of results, if any").nullable().optional()
58
- })
58
+ }).passthrough()
59
59
  });
60
60
  //#endregion
61
61
  export { spokiListTickets };
@@ -1 +1 @@
1
- {"version":3,"file":"list-tickets.mjs","names":[],"sources":["../../src/actions/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTicketsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order of sorting: 'asc' or 'desc'.\").optional(),\n sort_by: z.string().describe(\"Field to sort by, e.g., created_datetime.\").optional(),\n per_page: z.number().int().describe(\"Number of tickets per page, must be >= 1.\").optional(),\n}).describe(\"Query parameters for listing, searching, and filtering tickets.\");\nconst SpokiListTickets_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n});\nconst SpokiListTickets_RoleAssignmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name assigned to the user on this ticket\").nullable(),\n user: SpokiListTickets_UserSummarySchema.nullable(),\n});\nconst SpokiListTickets_ContactSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact in international format\").nullable(),\n language: z.string().describe(\"Language code of the contact, e.g., 'en'\").nullable(),\n role_set: z.array(SpokiListTickets_RoleAssignmentSchema).describe(\"List of role assignments for the contact\"),\n chat_link: z.string().describe(\"URL to open the chat with the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the phone number is invalid\").nullable(),\n});\nconst SpokiListTickets_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the ticket\").nullable(),\n owner: SpokiListTickets_UserSummarySchema.nullable(),\n title: z.string().describe(\"Title of the ticket\").nullable(),\n status: z.string().describe(\"Current status of the ticket, e.g., Open or Closed\").nullable(),\n contact: SpokiListTickets_ContactSummarySchema.nullable(),\n priority: z.string().describe(\"Priority of the ticket, e.g., Low, Medium, High\").nullable(),\n reference: z.string().describe(\"Custom reference string for the ticket\").nullable().optional(),\n description: z.string().describe(\"Description or details of the ticket\").nullable().optional(),\n closed_datetime: z.string().describe(\"Timestamp when the ticket was closed (ISO 8601)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the ticket was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601)\").nullable(),\n});\nexport const SpokiListTicketsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tickets matching the filters\").nullable(),\n results: z.array(SpokiListTickets_TicketSchema).describe(\"List of ticket objects returned for this page\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n});\n\nexport const spokiListTickets = action(\"SPOKI_LIST_TICKETS\", {\n slug: \"spoki-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to list, search, and filter tickets. Use when you need to retrieve tickets with optional pagination and filters.\",\n input: SpokiListTicketsInput,\n output: SpokiListTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS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/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTicketsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order of sorting: 'asc' or 'desc'.\").optional(),\n sort_by: z.string().describe(\"Field to sort by, e.g., created_datetime.\").optional(),\n per_page: z.number().int().describe(\"Number of tickets per page, must be >= 1.\").optional(),\n}).describe(\"Query parameters for listing, searching, and filtering tickets.\");\nconst SpokiListTickets_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n}).passthrough();\nconst SpokiListTickets_RoleAssignmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name assigned to the user on this ticket\").nullable(),\n user: SpokiListTickets_UserSummarySchema.nullable(),\n}).passthrough();\nconst SpokiListTickets_ContactSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact in international format\").nullable(),\n language: z.string().describe(\"Language code of the contact, e.g., 'en'\").nullable(),\n role_set: z.array(SpokiListTickets_RoleAssignmentSchema).describe(\"List of role assignments for the contact\"),\n chat_link: z.string().describe(\"URL to open the chat with the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the phone number is invalid\").nullable(),\n}).passthrough();\nconst SpokiListTickets_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the ticket\").nullable(),\n owner: SpokiListTickets_UserSummarySchema.nullable(),\n title: z.string().describe(\"Title of the ticket\").nullable(),\n status: z.string().describe(\"Current status of the ticket, e.g., Open or Closed\").nullable(),\n contact: SpokiListTickets_ContactSummarySchema.nullable(),\n priority: z.string().describe(\"Priority of the ticket, e.g., Low, Medium, High\").nullable(),\n reference: z.string().describe(\"Custom reference string for the ticket\").nullable().optional(),\n description: z.string().describe(\"Description or details of the ticket\").nullable().optional(),\n closed_datetime: z.string().describe(\"Timestamp when the ticket was closed (ISO 8601)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the ticket was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601)\").nullable(),\n}).passthrough();\nexport const SpokiListTicketsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tickets matching the filters\").nullable(),\n results: z.array(SpokiListTickets_TicketSchema).describe(\"List of ticket objects returned for this page\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListTickets = action(\"SPOKI_LIST_TICKETS\", {\n slug: \"spoki-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to list, search, and filter tickets. Use when you need to retrieve tickets with optional pagination and filters.\",\n input: SpokiListTicketsInput,\n output: SpokiListTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,+CAA+C;EACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/remove-all-list-contacts.ts
4
4
  const SpokiRemoveAllListContactsInput = zod.z.object({ id: zod.z.number().int().describe("The list ID from which to remove all contacts") }).describe("Request parameters for removing all contacts from a list. Provide the list ID.");
5
- const SpokiRemoveAllListContactsOutput = zod.z.object({ detail: zod.z.string().describe("Response detail or confirmation message").nullable().optional() }).describe("Response from removing all contacts from a list.");
5
+ const SpokiRemoveAllListContactsOutput = zod.z.object({ detail: zod.z.string().describe("Response detail or confirmation message").nullable().optional() }).passthrough().describe("Response from removing all contacts from a list.");
6
6
  const spokiRemoveAllListContacts = require_action.action("SPOKI_REMOVE_ALL_LIST_CONTACTS", {
7
7
  slug: "spoki-remove-all-list-contacts",
8
8
  name: "Remove All List Contacts",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-all-list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/remove-all-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveAllListContactsInput = z.object({\n id: z.number().int().describe(\"The list ID from which to remove all contacts\"),\n}).describe(\"Request parameters for removing all contacts from a list. Provide the list ID.\");\nexport const SpokiRemoveAllListContactsOutput = z.object({\n detail: z.string().describe(\"Response detail or confirmation message\").nullable().optional(),\n}).describe(\"Response from removing all contacts from a list.\");\n\nexport const spokiRemoveAllListContacts = action(\"SPOKI_REMOVE_ALL_LIST_CONTACTS\", {\n slug: \"spoki-remove-all-list-contacts\",\n name: \"Remove All List Contacts\",\n description: \"Tool to remove all contacts from a list. Use when you need to clear all contacts from a specific list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveAllListContactsInput,\n output: SpokiRemoveAllListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-all-list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/remove-all-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveAllListContactsInput = z.object({\n id: z.number().int().describe(\"The list ID from which to remove all contacts\"),\n}).describe(\"Request parameters for removing all contacts from a list. Provide the list ID.\");\nexport const SpokiRemoveAllListContactsOutput = z.object({\n detail: z.string().describe(\"Response detail or confirmation message\").nullable().optional(),\n}).passthrough().describe(\"Response from removing all contacts from a list.\");\n\nexport const spokiRemoveAllListContacts = action(\"SPOKI_REMOVE_ALL_LIST_CONTACTS\", {\n slug: \"spoki-remove-all-list-contacts\",\n name: \"Remove All List Contacts\",\n description: \"Tool to remove all contacts from a list. Use when you need to clear all contacts from a specific list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveAllListContactsInput,\n output: SpokiRemoveAllListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const SpokiRemoveAllListContactsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpokiRemoveAllListContactsOutput: z.ZodObject<{
8
8
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spokiRemoveAllListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const SpokiRemoveAllListContactsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpokiRemoveAllListContactsOutput: z.ZodObject<{
8
8
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spokiRemoveAllListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const spokiRemoveAllListContacts = action("SPOKI_REMOVE_ALL_LIST_CONTACTS", {
5
5
  name: "Remove All List Contacts",
6
6
  description: "Tool to remove all contacts from a list. Use when you need to clear all contacts from a specific list. Rate limit: 5 requests per minute.",
7
7
  input: z.object({ id: z.number().int().describe("The list ID from which to remove all contacts") }).describe("Request parameters for removing all contacts from a list. Provide the list ID."),
8
- output: z.object({ detail: z.string().describe("Response detail or confirmation message").nullable().optional() }).describe("Response from removing all contacts from a list.")
8
+ output: z.object({ detail: z.string().describe("Response detail or confirmation message").nullable().optional() }).passthrough().describe("Response from removing all contacts from a list.")
9
9
  });
10
10
  //#endregion
11
11
  export { spokiRemoveAllListContacts };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-all-list-contacts.mjs","names":[],"sources":["../../src/actions/remove-all-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveAllListContactsInput = z.object({\n id: z.number().int().describe(\"The list ID from which to remove all contacts\"),\n}).describe(\"Request parameters for removing all contacts from a list. Provide the list ID.\");\nexport const SpokiRemoveAllListContactsOutput = z.object({\n detail: z.string().describe(\"Response detail or confirmation message\").nullable().optional(),\n}).describe(\"Response from removing all contacts from a list.\");\n\nexport const spokiRemoveAllListContacts = action(\"SPOKI_REMOVE_ALL_LIST_CONTACTS\", {\n slug: \"spoki-remove-all-list-contacts\",\n name: \"Remove All List Contacts\",\n description: \"Tool to remove all contacts from a list. Use when you need to clear all contacts from a specific list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveAllListContactsInput,\n output: SpokiRemoveAllListContactsOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,gFASH;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-all-list-contacts.mjs","names":[],"sources":["../../src/actions/remove-all-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveAllListContactsInput = z.object({\n id: z.number().int().describe(\"The list ID from which to remove all contacts\"),\n}).describe(\"Request parameters for removing all contacts from a list. Provide the list ID.\");\nexport const SpokiRemoveAllListContactsOutput = z.object({\n detail: z.string().describe(\"Response detail or confirmation message\").nullable().optional(),\n}).passthrough().describe(\"Response from removing all contacts from a list.\");\n\nexport const spokiRemoveAllListContacts = action(\"SPOKI_REMOVE_ALL_LIST_CONTACTS\", {\n slug: \"spoki-remove-all-list-contacts\",\n name: \"Remove All List Contacts\",\n description: \"Tool to remove all contacts from a list. Use when you need to clear all contacts from a specific list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveAllListContactsInput,\n output: SpokiRemoveAllListContactsOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,gFASH;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SpokiRemoveContactOperatorInput = zod.z.object({
5
5
  id: zod.z.string().describe("The contact ID from which to remove the operator"),
6
6
  email: zod.z.string().describe("Operator's email address to be removed from the contact's chat. This must be the email of a service user or operator in your Spoki account")
7
7
  }).describe("Request model for removing an operator from a contact's chat.");
8
- const SpokiRemoveContactOperatorOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the operator was successfully removed").nullable().optional() }).describe("Response model for removing an operator from a contact's chat.");
8
+ const SpokiRemoveContactOperatorOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the operator was successfully removed").nullable().optional() }).passthrough().describe("Response model for removing an operator from a contact's chat.");
9
9
  const spokiRemoveContactOperator = require_action.action("SPOKI_REMOVE_CONTACT_OPERATOR", {
10
10
  slug: "spoki-remove-contact-operator",
11
11
  name: "Remove Contact Operator",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-contact-operator.cjs","names":["z","action"],"sources":["../../src/actions/remove-contact-operator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveContactOperatorInput = z.object({\n id: z.string().describe(\"The contact ID from which to remove the operator\"),\n email: z.string().describe(\"Operator's email address to be removed from the contact's chat. This must be the email of a service user or operator in your Spoki account\"),\n}).describe(\"Request model for removing an operator from a contact's chat.\");\nexport const SpokiRemoveContactOperatorOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the operator was successfully removed\").nullable().optional(),\n}).describe(\"Response model for removing an operator from a contact's chat.\");\n\nexport const spokiRemoveContactOperator = action(\"SPOKI_REMOVE_CONTACT_OPERATOR\", {\n slug: \"spoki-remove-contact-operator\",\n name: \"Remove Contact Operator\",\n description: \"Tool to remove an operator from a contact's chat. Use when you need to unassign an operator from handling a specific contact's conversations. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveContactOperatorInput,\n output: SpokiRemoveContactOperatorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;AACzK,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-contact-operator.cjs","names":["z","action"],"sources":["../../src/actions/remove-contact-operator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveContactOperatorInput = z.object({\n id: z.string().describe(\"The contact ID from which to remove the operator\"),\n email: z.string().describe(\"Operator's email address to be removed from the contact's chat. This must be the email of a service user or operator in your Spoki account\"),\n}).describe(\"Request model for removing an operator from a contact's chat.\");\nexport const SpokiRemoveContactOperatorOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the operator was successfully removed\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing an operator from a contact's chat.\");\n\nexport const spokiRemoveContactOperator = action(\"SPOKI_REMOVE_CONTACT_OPERATOR\", {\n slug: \"spoki-remove-contact-operator\",\n name: \"Remove Contact Operator\",\n description: \"Tool to remove an operator from a contact's chat. Use when you need to unassign an operator from handling a specific contact's conversations. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveContactOperatorInput,\n output: SpokiRemoveContactOperatorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;AACzK,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const SpokiRemoveContactOperatorInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const SpokiRemoveContactOperatorOutput: z.ZodObject<{
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const spokiRemoveContactOperator: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  email: string;
@@ -7,7 +7,7 @@ declare const SpokiRemoveContactOperatorInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const SpokiRemoveContactOperatorOutput: z.ZodObject<{
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const spokiRemoveContactOperator: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  email: string;
@@ -8,7 +8,7 @@ const spokiRemoveContactOperator = action("SPOKI_REMOVE_CONTACT_OPERATOR", {
8
8
  id: z.string().describe("The contact ID from which to remove the operator"),
9
9
  email: z.string().describe("Operator's email address to be removed from the contact's chat. This must be the email of a service user or operator in your Spoki account")
10
10
  }).describe("Request model for removing an operator from a contact's chat."),
11
- output: z.object({ success: z.boolean().default(true).describe("Indicates whether the operator was successfully removed").nullable().optional() }).describe("Response model for removing an operator from a contact's chat.")
11
+ output: z.object({ success: z.boolean().default(true).describe("Indicates whether the operator was successfully removed").nullable().optional() }).passthrough().describe("Response model for removing an operator from a contact's chat.")
12
12
  });
13
13
  //#endregion
14
14
  export { spokiRemoveContactOperator };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-contact-operator.mjs","names":[],"sources":["../../src/actions/remove-contact-operator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveContactOperatorInput = z.object({\n id: z.string().describe(\"The contact ID from which to remove the operator\"),\n email: z.string().describe(\"Operator's email address to be removed from the contact's chat. This must be the email of a service user or operator in your Spoki account\"),\n}).describe(\"Request model for removing an operator from a contact's chat.\");\nexport const SpokiRemoveContactOperatorOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the operator was successfully removed\").nullable().optional(),\n}).describe(\"Response model for removing an operator from a contact's chat.\");\n\nexport const spokiRemoveContactOperator = action(\"SPOKI_REMOVE_CONTACT_OPERATOR\", {\n slug: \"spoki-remove-contact-operator\",\n name: \"Remove Contact Operator\",\n description: \"Tool to remove an operator from a contact's chat. Use when you need to unassign an operator from handling a specific contact's conversations. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveContactOperatorInput,\n output: SpokiRemoveContactOperatorOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CACzK,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-contact-operator.mjs","names":[],"sources":["../../src/actions/remove-contact-operator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveContactOperatorInput = z.object({\n id: z.string().describe(\"The contact ID from which to remove the operator\"),\n email: z.string().describe(\"Operator's email address to be removed from the contact's chat. This must be the email of a service user or operator in your Spoki account\"),\n}).describe(\"Request model for removing an operator from a contact's chat.\");\nexport const SpokiRemoveContactOperatorOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the operator was successfully removed\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing an operator from a contact's chat.\");\n\nexport const spokiRemoveContactOperator = action(\"SPOKI_REMOVE_CONTACT_OPERATOR\", {\n slug: \"spoki-remove-contact-operator\",\n name: \"Remove Contact Operator\",\n description: \"Tool to remove an operator from a contact's chat. Use when you need to unassign an operator from handling a specific contact's conversations. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveContactOperatorInput,\n output: SpokiRemoveContactOperatorOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CACzK,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SpokiRemoveListContactsInput = zod.z.object({
5
5
  list_id: zod.z.number().int().describe("The ID of the list from which contacts should be removed"),
6
6
  contacts: zod.z.array(zod.z.number().int()).describe("Array of contact IDs to remove from the list. Each ID must be a valid contact identifier")
7
7
  }).describe("Request parameters for removing specific contacts from a list.");
8
- const SpokiRemoveListContactsOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the contacts were successfully removed from the list").nullable().optional() }).describe("Response from removing contacts from a list. Returns success status.");
8
+ const SpokiRemoveListContactsOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the contacts were successfully removed from the list").nullable().optional() }).passthrough().describe("Response from removing contacts from a list. Returns success status.");
9
9
  const spokiRemoveListContacts = require_action.action("SPOKI_REMOVE_LIST_CONTACTS", {
10
10
  slug: "spoki-remove-list-contacts",
11
11
  name: "Remove Contacts from List",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/remove-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveListContactsInput = z.object({\n list_id: z.number().int().describe(\"The ID of the list from which contacts should be removed\"),\n contacts: z.array(z.number().int()).describe(\"Array of contact IDs to remove from the list. Each ID must be a valid contact identifier\"),\n}).describe(\"Request parameters for removing specific contacts from a list.\");\nexport const SpokiRemoveListContactsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the contacts were successfully removed from the list\").nullable().optional(),\n}).describe(\"Response from removing contacts from a list. Returns success status.\");\n\nexport const spokiRemoveListContacts = action(\"SPOKI_REMOVE_LIST_CONTACTS\", {\n slug: \"spoki-remove-list-contacts\",\n name: \"Remove Contacts from List\",\n description: \"Tool to remove specific contacts from a list. Use when you need to unsubscribe or remove multiple contacts from a particular list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveListContactsInput,\n output: SpokiRemoveListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC7F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACzI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/remove-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveListContactsInput = z.object({\n list_id: z.number().int().describe(\"The ID of the list from which contacts should be removed\"),\n contacts: z.array(z.number().int()).describe(\"Array of contact IDs to remove from the list. Each ID must be a valid contact identifier\"),\n}).describe(\"Request parameters for removing specific contacts from a list.\");\nexport const SpokiRemoveListContactsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the contacts were successfully removed from the list\").nullable().optional(),\n}).passthrough().describe(\"Response from removing contacts from a list. Returns success status.\");\n\nexport const spokiRemoveListContacts = action(\"SPOKI_REMOVE_LIST_CONTACTS\", {\n slug: \"spoki-remove-list-contacts\",\n name: \"Remove Contacts from List\",\n description: \"Tool to remove specific contacts from a list. Use when you need to unsubscribe or remove multiple contacts from a particular list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveListContactsInput,\n output: SpokiRemoveListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC7F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACzI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}