@keystrokehq/spoki 0.1.2 → 0.1.4

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 (355) 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/dist/catalog.cjs +1 -1
  350. package/dist/catalog.cjs.map +1 -1
  351. package/dist/catalog.d.cts +1 -1
  352. package/dist/catalog.d.mts +1 -1
  353. package/dist/catalog.mjs +1 -1
  354. package/dist/catalog.mjs.map +1 -1
  355. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiCreateTemplateInput = z.object({\n name: z.string().describe(\"Internal template name/identifier. Must be unique, lowercase with underscores (e.g., 'promo_summer_2024'). This is not shown to end users\"),\n category: z.enum([\"MARKETING\", \"ACCOUNT_UPDATE\", \"PAYMENT_UPDATE\", \"PERSONAL_FINANCE_UPDATE\", \"SHIPPING_UPDATE\", \"RESERVATION_UPDATE\", \"ISSUE_RESOLUTION\", \"APPOINTMENT_UPDATE\", \"TRANSPORTATION_UPDATE\", \"TICKET_UPDATE\", \"ALERT_UPDATE\", \"AUTO_REPLY\"]).describe(\"Template category: MARKETING for promotional content, or specific utility categories like ACCOUNT_UPDATE, PAYMENT_UPDATE, SHIPPING_UPDATE, APPOINTMENT_UPDATE, etc. for transactional messages\"),\n subcategory: z.string().describe(\"Optional template subcategory for additional classification\").optional(),\n templatelocalization_set: z.array(z.object({\n body: z.string().describe(\"Message body text. Can include variables using {{1}}, {{2}}, etc. for dynamic content\"),\n footer: z.string().describe(\"Optional footer text (plain text, no variables allowed)\").optional(),\n header: z.string().describe(\"Optional header text. Can include one variable {{1}} for dynamic content\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code (e.g., 'en', 'it', 'es', 'de', 'pt', 'fr')\"),\n templatebuttoncomponent_set: z.array(z.object({\n url: z.string().describe(\"URL for url button type (can include variables like {{1}})\").optional(),\n text: z.string().describe(\"Display text shown on the button\").optional(),\n order: z.number().int().describe(\"Order index of the button in the template (0-based)\").optional(),\n button_type: z.string().describe(\"Type of button: 'quick_reply', 'url', or 'phone_number' (lowercase)\").optional(),\n phone_number: z.string().describe(\"Phone number for phone_number button type (E.164 format)\").optional(),\n}).describe(\"Button component for a template localization\")).describe(\"Array of button components for this localization. Required field - use empty array [] for templates without buttons\"),\n}).describe(\"Localization for a specific language in the template\")).describe(\"Array of localizations - at least one required. Each localization defines the template content for a specific language\"),\n});\nconst SpokiCreateTemplate_TemplateComponentResponseSchema = z.object({\n text: z.string().describe(\"Text content of the component\").nullable().optional(),\n format: z.string().describe(\"Format of the component (TEXT, IMAGE, VIDEO, DOCUMENT)\").nullable().optional(),\n component_type: z.string().describe(\"Type of component (HEADER, BODY, FOOTER)\").nullable().optional(),\n}).describe(\"Component in the template response\");\nconst SpokiCreateTemplate_TemplateButtonComponentResponseSchema = z.object({\n id: z.number().int().describe(\"Button ID\").nullable().optional(),\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Button display text\").nullable().optional(),\n order: z.number().int().describe(\"Button order index\").nullable().optional(),\n button_type: z.string().describe(\"Button type\").nullable().optional(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n}).describe(\"Button component in the response\");\nconst SpokiCreateTemplate_TemplateLocalizationResponseSchema = z.object({\n id: z.number().int().describe(\"Unique ID of this localization\").nullable(),\n status: z.string().describe(\"Template status: DRAFT, APPROVED, REJECTED, PENDING\").nullable(),\n language: z.string().describe(\"Language code\").nullable(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: z.string().describe(\"Default header media URL or ID\").nullable().optional(),\n example_header_media: z.string().describe(\"Example header media URL or ID\").nullable().optional(),\n example_custom_fields: z.string().describe(\"Example values for custom fields/variables\").nullable().optional(),\n body_template_component: SpokiCreateTemplate_TemplateComponentResponseSchema.nullable().optional(),\n footer_template_component: SpokiCreateTemplate_TemplateComponentResponseSchema.nullable().optional(),\n header_template_component: SpokiCreateTemplate_TemplateComponentResponseSchema.nullable().optional(),\n templatebuttoncomponent_set: z.array(SpokiCreateTemplate_TemplateButtonComponentResponseSchema).describe(\"Array of button components\").nullable().optional(),\n templatecarouselcomponent_set: z.array(z.object({})).describe(\"Array of carousel components\").nullable().optional(),\n}).describe(\"Localization in the template response\");\nexport const SpokiCreateTemplateOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created template\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category (MARKETING, UTILITY, or AUTHENTICATION)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved by WhatsApp (initially false for DRAFT templates)\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n subcategory: z.string().describe(\"Template subcategory\").nullable().optional(),\n customfield_set: z.array(z.string()).describe(\"Array of custom field placeholders used in the template\").nullable().optional(),\n template_groups: z.array(z.number().int()).describe(\"Array of template group IDs this template belongs to\").nullable().optional(),\n templatelocalization_set: z.array(SpokiCreateTemplate_TemplateLocalizationResponseSchema).describe(\"Array of template localizations with language-specific content and status\"),\n});\n\nexport const spokiCreateTemplate = action(\"SPOKI_CREATE_TEMPLATE\", {\n slug: \"spoki-create-template\",\n name: \"Create Template\",\n description: \"Creates a new WhatsApp message template with localizations, buttons, and media headers. Use when you need to define a reusable template for marketing campaigns, transactional notifications, or authentication messages. Templates must be approved by WhatsApp before use (created in DRAFT status). Rate limit: 10 requests per minute.\",\n input: SpokiCreateTemplateInput,\n output: SpokiCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACrK,UAAU,EAAE,KAAK;EAAC;EAAa;EAAkB;EAAkB;EAA2B;EAAmB;EAAsB;EAAoB;EAAsB;EAAyB;EAAiB;EAAgB;CAAY,CAAC,CAAC,CAAC,SAAS,gMAAgM;CACnc,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,0BAA0B,EAAE,MAAM,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC7G,6BAA6B,EAAE,MAAM,EAAE,OAAO;GAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;GAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,q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CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EAClE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACjI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,0BAA0B,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,2EAA2E;CAChL,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiCreateTemplateInput = z.object({\n name: z.string().describe(\"Internal template name/identifier. Must be unique, lowercase with underscores (e.g., 'promo_summer_2024'). This is not shown to end users\"),\n category: z.enum([\"MARKETING\", \"ACCOUNT_UPDATE\", \"PAYMENT_UPDATE\", \"PERSONAL_FINANCE_UPDATE\", \"SHIPPING_UPDATE\", \"RESERVATION_UPDATE\", \"ISSUE_RESOLUTION\", \"APPOINTMENT_UPDATE\", \"TRANSPORTATION_UPDATE\", \"TICKET_UPDATE\", \"ALERT_UPDATE\", \"AUTO_REPLY\"]).describe(\"Template category: MARKETING for promotional content, or specific utility categories like ACCOUNT_UPDATE, PAYMENT_UPDATE, SHIPPING_UPDATE, APPOINTMENT_UPDATE, etc. for transactional messages\"),\n subcategory: z.string().describe(\"Optional template subcategory for additional classification\").optional(),\n templatelocalization_set: z.array(z.object({\n body: z.string().describe(\"Message body text. Can include variables using {{1}}, {{2}}, etc. for dynamic content\"),\n footer: z.string().describe(\"Optional footer text (plain text, no variables allowed)\").optional(),\n header: z.string().describe(\"Optional header text. Can include one variable {{1}} for dynamic content\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code (e.g., 'en', 'it', 'es', 'de', 'pt', 'fr')\"),\n templatebuttoncomponent_set: z.array(z.object({\n url: z.string().describe(\"URL for url button type (can include variables like {{1}})\").optional(),\n text: z.string().describe(\"Display text shown on the button\").optional(),\n order: z.number().int().describe(\"Order index of the button in the template (0-based)\").optional(),\n button_type: z.string().describe(\"Type of button: 'quick_reply', 'url', or 'phone_number' (lowercase)\").optional(),\n phone_number: z.string().describe(\"Phone number for phone_number button type (E.164 format)\").optional(),\n}).passthrough().describe(\"Button component for a template localization\")).describe(\"Array of button components for this localization. Required field - use empty array [] for templates without buttons\"),\n}).passthrough().describe(\"Localization for a specific language in the template\")).describe(\"Array of localizations - at least one required. Each localization defines the template content for a specific language\"),\n});\nconst SpokiCreateTemplate_TemplateComponentResponseSchema = z.object({\n text: z.string().describe(\"Text content of the component\").nullable().optional(),\n format: z.string().describe(\"Format of the component (TEXT, IMAGE, VIDEO, DOCUMENT)\").nullable().optional(),\n component_type: z.string().describe(\"Type of component (HEADER, BODY, FOOTER)\").nullable().optional(),\n}).passthrough().describe(\"Component in the template response\");\nconst SpokiCreateTemplate_TemplateButtonComponentResponseSchema = z.object({\n id: z.number().int().describe(\"Button ID\").nullable().optional(),\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Button display text\").nullable().optional(),\n order: z.number().int().describe(\"Button order index\").nullable().optional(),\n button_type: z.string().describe(\"Button type\").nullable().optional(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n}).passthrough().describe(\"Button component in the response\");\nconst SpokiCreateTemplate_TemplateLocalizationResponseSchema = z.object({\n id: z.number().int().describe(\"Unique ID of this localization\").nullable(),\n status: z.string().describe(\"Template status: DRAFT, APPROVED, REJECTED, PENDING\").nullable(),\n language: z.string().describe(\"Language code\").nullable(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: z.string().describe(\"Default header media URL or ID\").nullable().optional(),\n example_header_media: z.string().describe(\"Example header media URL or ID\").nullable().optional(),\n example_custom_fields: z.string().describe(\"Example values for custom fields/variables\").nullable().optional(),\n body_template_component: SpokiCreateTemplate_TemplateComponentResponseSchema.nullable().optional(),\n footer_template_component: SpokiCreateTemplate_TemplateComponentResponseSchema.nullable().optional(),\n header_template_component: SpokiCreateTemplate_TemplateComponentResponseSchema.nullable().optional(),\n templatebuttoncomponent_set: z.array(SpokiCreateTemplate_TemplateButtonComponentResponseSchema).describe(\"Array of button components\").nullable().optional(),\n templatecarouselcomponent_set: z.array(z.record(z.string(), z.unknown())).describe(\"Array of carousel components\").nullable().optional(),\n}).passthrough().describe(\"Localization in the template response\");\nexport const SpokiCreateTemplateOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created template\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category (MARKETING, UTILITY, or AUTHENTICATION)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved by WhatsApp (initially false for DRAFT templates)\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n subcategory: z.string().describe(\"Template subcategory\").nullable().optional(),\n customfield_set: z.array(z.string()).describe(\"Array of custom field placeholders used in the template\").nullable().optional(),\n template_groups: z.array(z.number().int()).describe(\"Array of template group IDs this template belongs to\").nullable().optional(),\n templatelocalization_set: z.array(SpokiCreateTemplate_TemplateLocalizationResponseSchema).describe(\"Array of template localizations with language-specific content and status\"),\n}).passthrough();\n\nexport const spokiCreateTemplate = action(\"SPOKI_CREATE_TEMPLATE\", {\n slug: \"spoki-create-template\",\n name: \"Create Template\",\n description: \"Creates a new WhatsApp message template with localizations, buttons, and media headers. Use when you need to define a reusable template for marketing campaigns, transactional notifications, or authentication messages. Templates must be approved by WhatsApp before use (created in DRAFT status). Rate limit: 10 requests per minute.\",\n input: SpokiCreateTemplateInput,\n output: SpokiCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACrK,UAAU,EAAE,KAAK;EAAC;EAAa;EAAkB;EAAkB;EAA2B;EAAmB;EAAsB;EAAoB;EAAsB;EAAyB;EAAiB;EAAgB;CAAY,CAAC,CAAC,CAAC,SAAS,gMAAgM;CACnc,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,0BAA0B,EAAE,MAAM,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC7G,6BAA6B,EAAE,MAAM,EAAE,OAAO;GAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;GAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;GACjG,aAAa,EAAE,OAAO,CAA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IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EAClE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACjI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,0BAA0B,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,2EAA2E;CAChL,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -23,12 +23,12 @@ const SpokiCreateTicket_UserSummarySchema = zod.z.object({
23
23
  surname: zod.z.string().describe("Surname of the user").nullable(),
24
24
  firstname: zod.z.string().describe("First name of the user").nullable(),
25
25
  is_service: zod.z.boolean().describe("Indicates if the user is a service user").nullable()
26
- }).describe("Summary information about a user.");
26
+ }).passthrough().describe("Summary information about a user.");
27
27
  const SpokiCreateTicket_RoleAssignmentSchema = zod.z.object({
28
28
  id: zod.z.number().int().describe("Unique identifier of the role assignment").nullable(),
29
29
  role: zod.z.string().describe("Role name assigned to the user on this ticket").nullable(),
30
30
  user: SpokiCreateTicket_UserSummarySchema.nullable()
31
- }).describe("Role assignment for a user.");
31
+ }).passthrough().describe("Role assignment for a user.");
32
32
  const SpokiCreateTicket_ContactSummarySchema = zod.z.object({
33
33
  id: zod.z.number().int().describe("Unique identifier of the contact").nullable(),
34
34
  email: zod.z.string().describe("Email address of the contact").nullable().optional(),
@@ -39,7 +39,7 @@ const SpokiCreateTicket_ContactSummarySchema = zod.z.object({
39
39
  last_name: zod.z.string().describe("Last name of the contact").nullable(),
40
40
  first_name: zod.z.string().describe("First name of the contact").nullable(),
41
41
  has_invalid_phone: zod.z.boolean().describe("Indicates if the phone number is invalid").nullable()
42
- }).describe("Summary information about a contact.");
42
+ }).passthrough().describe("Summary information about a contact.");
43
43
  const SpokiCreateTicketOutput = zod.z.object({
44
44
  id: zod.z.number().int().describe("Unique identifier of the created ticket").nullable(),
45
45
  owner: SpokiCreateTicket_UserSummarySchema.nullable().optional(),
@@ -52,7 +52,7 @@ const SpokiCreateTicketOutput = zod.z.object({
52
52
  closed_datetime: zod.z.string().describe("Timestamp when the ticket was closed (ISO 8601)").nullable().optional(),
53
53
  created_datetime: zod.z.string().describe("Timestamp when the ticket was created (ISO 8601)").nullable(),
54
54
  updated_datetime: zod.z.string().describe("Timestamp when the ticket was last updated (ISO 8601)").nullable()
55
- }).describe("Response model containing the created ticket details.");
55
+ }).passthrough().describe("Response model containing the created ticket details.");
56
56
  const spokiCreateTicket = require_action.action("SPOKI_CREATE_TICKET", {
57
57
  slug: "spoki-create-ticket",
58
58
  name: "Create Ticket",
@@ -1 +1 @@
1
- {"version":3,"file":"create-ticket.cjs","names":["z","action"],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiCreateTicketInput = z.object({\n title: z.string().describe(\"Title of the ticket. Should be a concise summary of the support issue or request\"),\n status: z.string().describe(\"Current status of the ticket. Common values: 'Open', 'Closed', 'In Progress', 'Pending'\"),\n priority: z.enum([\"Highest\", \"High\", \"Medium\", \"Low\", \"Lowest\"]).describe(\"Priority level of the ticket. Accepted values: Highest, High, Medium, Low, Lowest\"),\n reference: z.string().describe(\"External reference or ticket ID from another system for tracking purposes\").optional(),\n description: z.string().describe(\"Detailed description of the ticket. Provide additional context and information about the support issue or request\").optional(),\n contact_phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+1234567890', '+393331234567'\"),\n}).describe(\"Request model for creating a new support ticket.\");\nconst SpokiCreateTicket_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}).describe(\"Summary information about a user.\");\nconst SpokiCreateTicket_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: SpokiCreateTicket_UserSummarySchema.nullable(),\n}).describe(\"Role assignment for a user.\");\nconst SpokiCreateTicket_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(SpokiCreateTicket_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}).describe(\"Summary information about a contact.\");\nexport const SpokiCreateTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created ticket\").nullable(),\n owner: SpokiCreateTicket_UserSummarySchema.nullable().optional(),\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: SpokiCreateTicket_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}).describe(\"Response model containing the created ticket details.\");\n\nexport const spokiCreateTicket = action(\"SPOKI_CREATE_TICKET\", {\n slug: \"spoki-create-ticket\",\n name: \"Create Ticket\",\n description: \"Tool to create a new support ticket in Spoki. Use when you need to create a ticket for tracking customer support issues or requests. Rate limit: 120 requests per minute.\",\n input: SpokiCreateTicketInput,\n output: SpokiCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACrH,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAU;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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,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,SAAS,uDAAuD;AAEnE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-ticket.cjs","names":["z","action"],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiCreateTicketInput = z.object({\n title: z.string().describe(\"Title of the ticket. Should be a concise summary of the support issue or request\"),\n status: z.string().describe(\"Current status of the ticket. Common values: 'Open', 'Closed', 'In Progress', 'Pending'\"),\n priority: z.enum([\"Highest\", \"High\", \"Medium\", \"Low\", \"Lowest\"]).describe(\"Priority level of the ticket. Accepted values: Highest, High, Medium, Low, Lowest\"),\n reference: z.string().describe(\"External reference or ticket ID from another system for tracking purposes\").optional(),\n description: z.string().describe(\"Detailed description of the ticket. Provide additional context and information about the support issue or request\").optional(),\n contact_phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+1234567890', '+393331234567'\"),\n}).describe(\"Request model for creating a new support ticket.\");\nconst SpokiCreateTicket_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().describe(\"Summary information about a user.\");\nconst SpokiCreateTicket_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: SpokiCreateTicket_UserSummarySchema.nullable(),\n}).passthrough().describe(\"Role assignment for a user.\");\nconst SpokiCreateTicket_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(SpokiCreateTicket_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().describe(\"Summary information about a contact.\");\nexport const SpokiCreateTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created ticket\").nullable(),\n owner: SpokiCreateTicket_UserSummarySchema.nullable().optional(),\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: SpokiCreateTicket_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().describe(\"Response model containing the created ticket details.\");\n\nexport const spokiCreateTicket = action(\"SPOKI_CREATE_TICKET\", {\n slug: \"spoki-create-ticket\",\n name: \"Create Ticket\",\n description: \"Tool to create a new support ticket in Spoki. Use when you need to create a ticket for tracking customer support issues or requests. Rate limit: 120 requests per minute.\",\n input: SpokiCreateTicketInput,\n output: SpokiCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACrH,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAU;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;AAC7K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,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,wBAAw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27
  is_service: z.ZodNullable<z.ZodBoolean>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  title: z.ZodNullable<z.ZodString>;
30
30
  status: z.ZodNullable<z.ZodString>;
31
31
  contact: z.ZodNullable<z.ZodObject<{
@@ -44,20 +44,20 @@ declare const SpokiCreateTicketOutput: z.ZodObject<{
44
44
  surname: z.ZodNullable<z.ZodString>;
45
45
  firstname: z.ZodNullable<z.ZodString>;
46
46
  is_service: z.ZodNullable<z.ZodBoolean>;
47
- }, z.core.$strip>>;
48
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>;
48
+ }, z.core.$loose>>;
49
49
  chat_link: z.ZodNullable<z.ZodString>;
50
50
  last_name: z.ZodNullable<z.ZodString>;
51
51
  first_name: z.ZodNullable<z.ZodString>;
52
52
  has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
53
- }, z.core.$strip>>;
53
+ }, z.core.$loose>>;
54
54
  priority: z.ZodNullable<z.ZodString>;
55
55
  reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  closed_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  created_datetime: z.ZodNullable<z.ZodString>;
59
59
  updated_datetime: z.ZodNullable<z.ZodString>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const spokiCreateTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  title: string;
63
63
  status: string;
@@ -25,7 +25,7 @@ declare const SpokiCreateTicketOutput: z.ZodObject<{
25
25
  surname: z.ZodNullable<z.ZodString>;
26
26
  firstname: z.ZodNullable<z.ZodString>;
27
27
  is_service: z.ZodNullable<z.ZodBoolean>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  title: z.ZodNullable<z.ZodString>;
30
30
  status: z.ZodNullable<z.ZodString>;
31
31
  contact: z.ZodNullable<z.ZodObject<{
@@ -44,20 +44,20 @@ declare const SpokiCreateTicketOutput: z.ZodObject<{
44
44
  surname: z.ZodNullable<z.ZodString>;
45
45
  firstname: z.ZodNullable<z.ZodString>;
46
46
  is_service: z.ZodNullable<z.ZodBoolean>;
47
- }, z.core.$strip>>;
48
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>;
48
+ }, z.core.$loose>>;
49
49
  chat_link: z.ZodNullable<z.ZodString>;
50
50
  last_name: z.ZodNullable<z.ZodString>;
51
51
  first_name: z.ZodNullable<z.ZodString>;
52
52
  has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
53
- }, z.core.$strip>>;
53
+ }, z.core.$loose>>;
54
54
  priority: z.ZodNullable<z.ZodString>;
55
55
  reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  closed_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  created_datetime: z.ZodNullable<z.ZodString>;
59
59
  updated_datetime: z.ZodNullable<z.ZodString>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const spokiCreateTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  title: string;
63
63
  status: string;
@@ -23,12 +23,12 @@ const SpokiCreateTicket_UserSummarySchema = z.object({
23
23
  surname: z.string().describe("Surname of the user").nullable(),
24
24
  firstname: z.string().describe("First name of the user").nullable(),
25
25
  is_service: z.boolean().describe("Indicates if the user is a service user").nullable()
26
- }).describe("Summary information about a user.");
26
+ }).passthrough().describe("Summary information about a user.");
27
27
  const SpokiCreateTicket_RoleAssignmentSchema = z.object({
28
28
  id: z.number().int().describe("Unique identifier of the role assignment").nullable(),
29
29
  role: z.string().describe("Role name assigned to the user on this ticket").nullable(),
30
30
  user: SpokiCreateTicket_UserSummarySchema.nullable()
31
- }).describe("Role assignment for a user.");
31
+ }).passthrough().describe("Role assignment for a user.");
32
32
  const SpokiCreateTicket_ContactSummarySchema = z.object({
33
33
  id: z.number().int().describe("Unique identifier of the contact").nullable(),
34
34
  email: z.string().describe("Email address of the contact").nullable().optional(),
@@ -39,7 +39,7 @@ const SpokiCreateTicket_ContactSummarySchema = z.object({
39
39
  last_name: z.string().describe("Last name of the contact").nullable(),
40
40
  first_name: z.string().describe("First name of the contact").nullable(),
41
41
  has_invalid_phone: z.boolean().describe("Indicates if the phone number is invalid").nullable()
42
- }).describe("Summary information about a contact.");
42
+ }).passthrough().describe("Summary information about a contact.");
43
43
  const spokiCreateTicket = action("SPOKI_CREATE_TICKET", {
44
44
  slug: "spoki-create-ticket",
45
45
  name: "Create Ticket",
@@ -57,7 +57,7 @@ const spokiCreateTicket = action("SPOKI_CREATE_TICKET", {
57
57
  closed_datetime: z.string().describe("Timestamp when the ticket was closed (ISO 8601)").nullable().optional(),
58
58
  created_datetime: z.string().describe("Timestamp when the ticket was created (ISO 8601)").nullable(),
59
59
  updated_datetime: z.string().describe("Timestamp when the ticket was last updated (ISO 8601)").nullable()
60
- }).describe("Response model containing the created ticket details.")
60
+ }).passthrough().describe("Response model containing the created ticket details.")
61
61
  });
62
62
  //#endregion
63
63
  export { spokiCreateTicket };
@@ -1 +1 @@
1
- {"version":3,"file":"create-ticket.mjs","names":[],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiCreateTicketInput = z.object({\n title: z.string().describe(\"Title of the ticket. Should be a concise summary of the support issue or request\"),\n status: z.string().describe(\"Current status of the ticket. Common values: 'Open', 'Closed', 'In Progress', 'Pending'\"),\n priority: z.enum([\"Highest\", \"High\", \"Medium\", \"Low\", \"Lowest\"]).describe(\"Priority level of the ticket. Accepted values: Highest, High, Medium, Low, Lowest\"),\n reference: z.string().describe(\"External reference or ticket ID from another system for tracking purposes\").optional(),\n description: z.string().describe(\"Detailed description of the ticket. Provide additional context and information about the support issue or request\").optional(),\n contact_phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+1234567890', '+393331234567'\"),\n}).describe(\"Request model for creating a new support ticket.\");\nconst SpokiCreateTicket_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}).describe(\"Summary information about a user.\");\nconst SpokiCreateTicket_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: SpokiCreateTicket_UserSummarySchema.nullable(),\n}).describe(\"Role assignment for a user.\");\nconst SpokiCreateTicket_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(SpokiCreateTicket_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}).describe(\"Summary information about a contact.\");\nexport const SpokiCreateTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created ticket\").nullable(),\n owner: SpokiCreateTicket_UserSummarySchema.nullable().optional(),\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: SpokiCreateTicket_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}).describe(\"Response model containing the created ticket details.\");\n\nexport const spokiCreateTicket = action(\"SPOKI_CREATE_TICKET\", {\n slug: \"spoki-create-ticket\",\n name: \"Create Ticket\",\n description: \"Tool to create a new support ticket in Spoki. Use when you need to create a ticket for tracking customer support issues or requests. Rate limit: 120 requests per minute.\",\n input: SpokiCreateTicketInput,\n output: SpokiCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACrH,UAAU,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAU;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;AAC7K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,sCAAsC,EAAE,OAAO;CACnD,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,EA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CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAelD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,OAAO,oCAAoC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC3F,SAAS,uCAAuC,SAAS;EACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-ticket.mjs","names":[],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiCreateTicketInput = z.object({\n title: z.string().describe(\"Title of the ticket. Should be a concise summary of the support issue or request\"),\n status: z.string().describe(\"Current status of the ticket. Common values: 'Open', 'Closed', 'In Progress', 'Pending'\"),\n priority: z.enum([\"Highest\", \"High\", \"Medium\", \"Low\", \"Lowest\"]).describe(\"Priority level of the ticket. Accepted values: Highest, High, Medium, Low, Lowest\"),\n reference: z.string().describe(\"External reference or ticket ID from another system for tracking purposes\").optional(),\n description: z.string().describe(\"Detailed description of the ticket. Provide additional context and information about the support issue or request\").optional(),\n contact_phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+1234567890', '+393331234567'\"),\n}).describe(\"Request model for creating a new support ticket.\");\nconst SpokiCreateTicket_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().describe(\"Summary information about a user.\");\nconst SpokiCreateTicket_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: SpokiCreateTicket_UserSummarySchema.nullable(),\n}).passthrough().describe(\"Role assignment for a user.\");\nconst SpokiCreateTicket_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(SpokiCreateTicket_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().describe(\"Summary information about a contact.\");\nexport const SpokiCreateTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created ticket\").nullable(),\n owner: SpokiCreateTicket_UserSummarySchema.nullable().optional(),\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: SpokiCreateTicket_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().describe(\"Response model containing the created ticket details.\");\n\nexport const spokiCreateTicket = action(\"SPOKI_CREATE_TICKET\", {\n slug: \"spoki-create-ticket\",\n name: \"Create Ticket\",\n description: \"Tool to create a new support ticket in Spoki. Use when you need to create a ticket for tracking customer support issues or requests. Rate limit: 120 requests per minute.\",\n input: SpokiCreateTicketInput,\n output: SpokiCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACrH,UAAU,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAU;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;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CAAC,SAAS;EACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-contact.ts
4
4
  const SpokiDeleteContactInput = zod.z.object({ id: zod.z.number().int().describe("ID of the contact to delete") }).describe("Request parameters for deleting a specific contact. Provide the contact ID to remove.");
5
- const SpokiDeleteContactOutput = zod.z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.");
5
+ const SpokiDeleteContactOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.");
6
6
  const spokiDeleteContact = require_action.action("SPOKI_DELETE_CONTACT", {
7
7
  slug: "spoki-delete-contact",
8
8
  name: "Delete contact",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteContactInput = z.object({\n id: z.number().int().describe(\"ID of the contact to delete\"),\n}).describe(\"Request parameters for deleting a specific contact. Provide the contact ID to remove.\");\nexport const SpokiDeleteContactOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteContact = action(\"SPOKI_DELETE_CONTACT\", {\n slug: \"spoki-delete-contact\",\n name: \"Delete contact\",\n description: \"Tool to delete a specific contact. Use after confirming the contact ID. Example prompt: \\\"Delete contact with ID 1091234.\\\"\",\n input: SpokiDeleteContactInput,\n output: SpokiDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE9H,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteContactInput = z.object({\n id: z.number().int().describe(\"ID of the contact to delete\"),\n}).describe(\"Request parameters for deleting a specific contact. Provide the contact ID to remove.\");\nexport const SpokiDeleteContactOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteContact = action(\"SPOKI_DELETE_CONTACT\", {\n slug: \"spoki-delete-contact\",\n name: \"Delete contact\",\n description: \"Tool to delete a specific contact. Use after confirming the contact ID. Example prompt: \\\"Delete contact with ID 1091234.\\\"\",\n input: SpokiDeleteContactInput,\n output: SpokiDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAEnJ,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteContactInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteContactOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: number;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteContactInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteContactOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: number;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
@@ -5,7 +5,7 @@ const spokiDeleteContact = action("SPOKI_DELETE_CONTACT", {
5
5
  name: "Delete contact",
6
6
  description: "Tool to delete a specific contact. Use after confirming the contact ID. Example prompt: \"Delete contact with ID 1091234.\"",
7
7
  input: z.object({ id: z.number().int().describe("ID of the contact to delete") }).describe("Request parameters for deleting a specific contact. Provide the contact ID to remove."),
8
- output: z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.")
8
+ output: z.record(z.string(), z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.")
9
9
  });
10
10
  //#endregion
11
11
  export { spokiDeleteContact };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteContactInput = z.object({\n id: z.number().int().describe(\"ID of the contact to delete\"),\n}).describe(\"Request parameters for deleting a specific contact. Provide the contact ID to remove.\");\nexport const SpokiDeleteContactOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteContact = action(\"SPOKI_DELETE_CONTACT\", {\n slug: \"spoki-delete-contact\",\n name: \"Delete contact\",\n description: \"Tool to delete a specific contact. Use after confirming the contact ID. Example prompt: \\\"Delete contact with ID 1091234.\\\"\",\n input: SpokiDeleteContactInput,\n output: SpokiDeleteContactOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uFAOH;CACP,QAPsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAOpD;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteContactInput = z.object({\n id: z.number().int().describe(\"ID of the contact to delete\"),\n}).describe(\"Request parameters for deleting a specific contact. Provide the contact ID to remove.\");\nexport const SpokiDeleteContactOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteContact = action(\"SPOKI_DELETE_CONTACT\", {\n slug: \"spoki-delete-contact\",\n name: \"Delete contact\",\n description: \"Tool to delete a specific contact. Use after confirming the contact ID. Example prompt: \\\"Delete contact with ID 1091234.\\\"\",\n input: SpokiDeleteContactInput,\n output: SpokiDeleteContactOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uFAOH;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAOzE;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-custom-field.ts
4
4
  const SpokiDeleteCustomFieldInput = zod.z.object({ id: zod.z.number().int().describe("ID of the custom field to delete") }).describe("Request parameters for deleting a specific custom field. Provide the custom field ID to remove.\nNote: Cannot delete custom fields that are currently used in automations.");
5
- const SpokiDeleteCustomFieldOutput = zod.z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.");
5
+ const SpokiDeleteCustomFieldOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.");
6
6
  const spokiDeleteCustomField = require_action.action("SPOKI_DELETE_CUSTOM_FIELD", {
7
7
  slug: "spoki-delete-custom-field",
8
8
  name: "Delete Custom Field",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to delete\"),\n}).describe(\"Request parameters for deleting a specific custom field. Provide the custom field ID to remove.\\nNote: Cannot delete custom fields that are currently used in automations.\");\nexport const SpokiDeleteCustomFieldOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteCustomField = action(\"SPOKI_DELETE_CUSTOM_FIELD\", {\n slug: \"spoki-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a specific custom field. Cannot delete if the custom field is used in automations. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteCustomFieldInput,\n output: SpokiDeleteCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,4KAA4K;AACxL,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAElI,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to delete\"),\n}).describe(\"Request parameters for deleting a specific custom field. Provide the custom field ID to remove.\\nNote: Cannot delete custom fields that are currently used in automations.\");\nexport const SpokiDeleteCustomFieldOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteCustomField = action(\"SPOKI_DELETE_CUSTOM_FIELD\", {\n slug: \"spoki-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a specific custom field. Cannot delete if the custom field is used in automations. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteCustomFieldInput,\n output: SpokiDeleteCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,4KAA4K;AACxL,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAEvJ,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteCustomFieldInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteCustomFieldOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteCustomFieldOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: number;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.d.cts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-custom-field.d.cts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteCustomFieldInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteCustomFieldOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteCustomFieldOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: number;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.d.mts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-custom-field.d.mts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
@@ -5,7 +5,7 @@ const spokiDeleteCustomField = action("SPOKI_DELETE_CUSTOM_FIELD", {
5
5
  name: "Delete Custom Field",
6
6
  description: "Tool to delete a specific custom field. Cannot delete if the custom field is used in automations. Rate limit: 5 requests per minute.",
7
7
  input: z.object({ id: z.number().int().describe("ID of the custom field to delete") }).describe("Request parameters for deleting a specific custom field. Provide the custom field ID to remove.\nNote: Cannot delete custom fields that are currently used in automations."),
8
- output: z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.")
8
+ output: z.record(z.string(), z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.")
9
9
  });
10
10
  //#endregion
11
11
  export { spokiDeleteCustomField };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.mjs","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to delete\"),\n}).describe(\"Request parameters for deleting a specific custom field. Provide the custom field ID to remove.\\nNote: Cannot delete custom fields that are currently used in automations.\");\nexport const SpokiDeleteCustomFieldOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteCustomField = action(\"SPOKI_DELETE_CUSTOM_FIELD\", {\n slug: \"spoki-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a specific custom field. Cannot delete if the custom field is used in automations. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteCustomFieldInput,\n output: SpokiDeleteCustomFieldOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,4KAOH;CACP,QAP0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAOxD;AACV,CAAC"}
1
+ {"version":3,"file":"delete-custom-field.mjs","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to delete\"),\n}).describe(\"Request parameters for deleting a specific custom field. Provide the custom field ID to remove.\\nNote: Cannot delete custom fields that are currently used in automations.\");\nexport const SpokiDeleteCustomFieldOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteCustomField = action(\"SPOKI_DELETE_CUSTOM_FIELD\", {\n slug: \"spoki-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a specific custom field. Cannot delete if the custom field is used in automations. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteCustomFieldInput,\n output: SpokiDeleteCustomFieldOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,4KAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAO7E;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-list.ts
4
4
  const SpokiDeleteListInput = zod.z.object({ id: zod.z.number().int().describe("ID of the list to delete") }).describe("Request parameters for deleting a specific list. Provide the list ID to remove.");
5
- const SpokiDeleteListOutput = zod.z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.");
5
+ const SpokiDeleteListOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.");
6
6
  const spokiDeleteList = require_action.action("SPOKI_DELETE_LIST", {
7
7
  slug: "spoki-delete-list",
8
8
  name: "Delete list",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteListInput = z.object({\n id: z.number().int().describe(\"ID of the list to delete\"),\n}).describe(\"Request parameters for deleting a specific list. Provide the list ID to remove.\");\nexport const SpokiDeleteListOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteList = action(\"SPOKI_DELETE_LIST\", {\n slug: \"spoki-delete-list\",\n name: \"Delete list\",\n description: \"Tool to delete a specific list. Use after confirming the list ID. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteListInput,\n output: SpokiDeleteListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE3H,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteListInput = z.object({\n id: z.number().int().describe(\"ID of the list to delete\"),\n}).describe(\"Request parameters for deleting a specific list. Provide the list ID to remove.\");\nexport const SpokiDeleteListOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteList = action(\"SPOKI_DELETE_LIST\", {\n slug: \"spoki-delete-list\",\n name: \"Delete list\",\n description: \"Tool to delete a specific list. Use after confirming the list ID. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteListInput,\n output: SpokiDeleteListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,wBAAwBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAEhJ,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteListInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteListOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteListOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: number;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.d.cts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAErB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"delete-list.d.cts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAErB,eAAA,gCAAe,wBAAA"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteListInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteListOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteListOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: number;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.d.mts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAErB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"delete-list.d.mts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAErB,eAAA,gCAAe,wBAAA"}
@@ -5,7 +5,7 @@ const spokiDeleteList = action("SPOKI_DELETE_LIST", {
5
5
  name: "Delete list",
6
6
  description: "Tool to delete a specific list. Use after confirming the list ID. Rate limit: 5 requests per minute.",
7
7
  input: z.object({ id: z.number().int().describe("ID of the list to delete") }).describe("Request parameters for deleting a specific list. Provide the list ID to remove."),
8
- output: z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.")
8
+ output: z.record(z.string(), z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.")
9
9
  });
10
10
  //#endregion
11
11
  export { spokiDeleteList };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.mjs","names":[],"sources":["../../src/actions/delete-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteListInput = z.object({\n id: z.number().int().describe(\"ID of the list to delete\"),\n}).describe(\"Request parameters for deleting a specific list. Provide the list ID to remove.\");\nexport const SpokiDeleteListOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteList = action(\"SPOKI_DELETE_LIST\", {\n slug: \"spoki-delete-list\",\n name: \"Delete list\",\n description: \"Tool to delete a specific list. Use after confirming the list ID. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteListInput,\n output: SpokiDeleteListOutput,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkC,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,iFAOH;CACP,QAPmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAOjD;AACV,CAAC"}
1
+ {"version":3,"file":"delete-list.mjs","names":[],"sources":["../../src/actions/delete-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteListInput = z.object({\n id: z.number().int().describe(\"ID of the list to delete\"),\n}).describe(\"Request parameters for deleting a specific list. Provide the list ID to remove.\");\nexport const SpokiDeleteListOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteList = action(\"SPOKI_DELETE_LIST\", {\n slug: \"spoki-delete-list\",\n name: \"Delete list\",\n description: \"Tool to delete a specific list. Use after confirming the list ID. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteListInput,\n output: SpokiDeleteListOutput,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkC,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,iFAOH;CACP,QAPmC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAOtE;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-media.ts
4
4
  const SpokiDeleteMediaInput = zod.z.object({ id: zod.z.string().describe("ID of the media file to delete") }).describe("Request parameters for deleting a specific media file. Provide the media ID to remove.");
5
- const SpokiDeleteMediaOutput = zod.z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.");
5
+ const SpokiDeleteMediaOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.");
6
6
  const spokiDeleteMedia = require_action.action("SPOKI_DELETE_MEDIA", {
7
7
  slug: "spoki-delete-media",
8
8
  name: "Delete media file",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-media.cjs","names":["z","action"],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteMediaInput = z.object({\n id: z.string().describe(\"ID of the media file to delete\"),\n}).describe(\"Request parameters for deleting a specific media file. Provide the media ID to remove.\");\nexport const SpokiDeleteMediaOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteMedia = action(\"SPOKI_DELETE_MEDIA\", {\n slug: \"spoki-delete-media\",\n name: \"Delete media file\",\n description: \"Tool to delete a specific media file. Use after confirming the media ID. Rate limit: 60 requests per minute.\",\n input: SpokiDeleteMediaInput,\n output: SpokiDeleteMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5H,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-media.cjs","names":["z","action"],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteMediaInput = z.object({\n id: z.string().describe(\"ID of the media file to delete\"),\n}).describe(\"Request parameters for deleting a specific media file. Provide the media ID to remove.\");\nexport const SpokiDeleteMediaOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteMedia = action(\"SPOKI_DELETE_MEDIA\", {\n slug: \"spoki-delete-media\",\n name: \"Delete media file\",\n description: \"Tool to delete a specific media file. Use after confirming the media ID. Rate limit: 60 requests per minute.\",\n input: SpokiDeleteMediaInput,\n output: SpokiDeleteMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,yBAAyBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAEjJ,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteMediaInput: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteMediaOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteMediaOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: string;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-media.d.cts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-media.d.cts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SpokiDeleteMediaInput: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const SpokiDeleteMediaOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const SpokiDeleteMediaOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const spokiDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: string;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-media.d.mts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-media.d.mts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
@@ -5,7 +5,7 @@ const spokiDeleteMedia = action("SPOKI_DELETE_MEDIA", {
5
5
  name: "Delete media file",
6
6
  description: "Tool to delete a specific media file. Use after confirming the media ID. Rate limit: 60 requests per minute.",
7
7
  input: z.object({ id: z.string().describe("ID of the media file to delete") }).describe("Request parameters for deleting a specific media file. Provide the media ID to remove."),
8
- output: z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.")
8
+ output: z.record(z.string(), z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.")
9
9
  });
10
10
  //#endregion
11
11
  export { spokiDeleteMedia };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-media.mjs","names":[],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteMediaInput = z.object({\n id: z.string().describe(\"ID of the media file to delete\"),\n}).describe(\"Request parameters for deleting a specific media file. Provide the media ID to remove.\");\nexport const SpokiDeleteMediaOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteMedia = action(\"SPOKI_DELETE_MEDIA\", {\n slug: \"spoki-delete-media\",\n name: \"Delete media file\",\n description: \"Tool to delete a specific media file. Use after confirming the media ID. Rate limit: 60 requests per minute.\",\n input: SpokiDeleteMediaInput,\n output: SpokiDeleteMediaOutput,\n});\n"],"mappings":";;AASA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmC,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAAC,CAAC,CAAC,SAAS,wFAOH;CACP,QAPoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAOlD;AACV,CAAC"}
1
+ {"version":3,"file":"delete-media.mjs","names":[],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteMediaInput = z.object({\n id: z.string().describe(\"ID of the media file to delete\"),\n}).describe(\"Request parameters for deleting a specific media file. Provide the media ID to remove.\");\nexport const SpokiDeleteMediaOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteMedia = action(\"SPOKI_DELETE_MEDIA\", {\n slug: \"spoki-delete-media\",\n name: \"Delete media file\",\n description: \"Tool to delete a specific media file. Use after confirming the media ID. Rate limit: 60 requests per minute.\",\n input: SpokiDeleteMediaInput,\n output: SpokiDeleteMediaOutput,\n});\n"],"mappings":";;AASA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmC,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAAC,CAAC,CAAC,SAAS,wFAOH;CACP,QAPoC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAOvE;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-role.ts
4
4
  const SpokiDeleteRoleInput = zod.z.object({ id: zod.z.string().describe("ID of the role to delete. Cannot delete the sole admin role.") }).describe("Request parameters for deleting a specific role. Provide the role ID to remove.");
5
- const SpokiDeleteRoleOutput = zod.z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.");
5
+ const SpokiDeleteRoleOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.");
6
6
  const spokiDeleteRole = require_action.action("SPOKI_DELETE_ROLE", {
7
7
  slug: "spoki-delete-role",
8
8
  name: "Delete role",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-role.cjs","names":["z","action"],"sources":["../../src/actions/delete-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteRoleInput = z.object({\n id: z.string().describe(\"ID of the role to delete. Cannot delete the sole admin role.\"),\n}).describe(\"Request parameters for deleting a specific role. Provide the role ID to remove.\");\nexport const SpokiDeleteRoleOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteRole = action(\"SPOKI_DELETE_ROLE\", {\n slug: \"spoki-delete-role\",\n name: \"Delete role\",\n description: \"Tool to delete a specific role. Use after confirming the role ID. Cannot delete the sole admin role. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteRoleInput,\n output: SpokiDeleteRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE3H,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-role.cjs","names":["z","action"],"sources":["../../src/actions/delete-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiDeleteRoleInput = z.object({\n id: z.string().describe(\"ID of the role to delete. Cannot delete the sole admin role.\"),\n}).describe(\"Request parameters for deleting a specific role. Provide the role ID to remove.\");\nexport const SpokiDeleteRoleOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const spokiDeleteRole = action(\"SPOKI_DELETE_ROLE\", {\n slug: \"spoki-delete-role\",\n name: \"Delete role\",\n description: \"Tool to delete a specific role. Use after confirming the role ID. Cannot delete the sole admin role. Rate limit: 5 requests per minute.\",\n input: SpokiDeleteRoleInput,\n output: SpokiDeleteRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,wBAAwBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAEhJ,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}