@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
@@ -15,9 +15,9 @@ declare const SpokiListListsOutput: z.ZodObject<{
15
15
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  contacts_count: z.ZodNullable<z.ZodNumber>;
17
17
  created_datetime: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const spokiListLists: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  page?: number | undefined;
23
23
  search?: string | undefined;
@@ -15,9 +15,9 @@ declare const SpokiListListsOutput: z.ZodObject<{
15
15
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  contacts_count: z.ZodNullable<z.ZodNumber>;
17
17
  created_datetime: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const spokiListLists: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  page?: number | undefined;
23
23
  search?: string | undefined;
@@ -12,7 +12,7 @@ const SpokiListLists_ListItemSchema = z.object({
12
12
  color: z.string().describe("Color code of the list").nullable().optional(),
13
13
  contacts_count: z.number().int().describe("Number of contacts in the list").nullable(),
14
14
  created_datetime: z.string().describe("Timestamp when the list was created").nullable()
15
- }).describe("Represents a contact list resource.");
15
+ }).passthrough().describe("Represents a contact list resource.");
16
16
  const spokiListLists = action("SPOKI_LIST_LISTS", {
17
17
  slug: "spoki-list-lists",
18
18
  name: "List Lists",
@@ -23,7 +23,7 @@ const spokiListLists = action("SPOKI_LIST_LISTS", {
23
23
  count: z.number().int().describe("Total number of lists matching the filters").nullable(),
24
24
  results: z.array(SpokiListLists_ListItemSchema).describe("List of contact list objects"),
25
25
  previous: z.string().describe("URL for the previous page of results").nullable().optional()
26
- }).describe("Response model for listing contact lists.")
26
+ }).passthrough().describe("Response model for listing contact lists.")
27
27
  });
28
28
  //#endregion
29
29
  export { spokiListLists };
@@ -1 +1 @@
1
- {"version":3,"file":"list-lists.mjs","names":[],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Search query to filter lists by name\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering contact lists.\");\nconst SpokiListLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in the list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created\").nullable(),\n}).describe(\"Represents a contact list resource.\");\nexport const SpokiListListsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of lists matching the filters\").nullable(),\n results: z.array(SpokiListLists_ListItemSchema).describe(\"List of contact list objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).describe(\"Response model for listing contact lists.\");\n\nexport const spokiListLists = action(\"SPOKI_LIST_LISTS\", {\n slug: \"spoki-list-lists\",\n name: \"List Lists\",\n description: \"Tool to list, search, and filter contact lists. Use when you need to retrieve all lists or find specific lists by name. Rate limit: 5 requests per minute.\",\n input: SpokiListListsInput,\n output: SpokiListListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAQjD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-lists.mjs","names":[],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Search query to filter lists by name\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering contact lists.\");\nconst SpokiListLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in the list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created\").nullable(),\n}).passthrough().describe(\"Represents a contact list resource.\");\nexport const SpokiListListsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of lists matching the filters\").nullable(),\n results: z.array(SpokiListLists_ListItemSchema).describe(\"List of contact list objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing contact lists.\");\n\nexport const spokiListLists = action(\"SPOKI_LIST_LISTS\", {\n slug: \"spoki-list-lists\",\n name: \"List Lists\",\n description: \"Tool to list, search, and filter contact lists. Use when you need to retrieve all lists or find specific lists by name. Rate limit: 5 requests per minute.\",\n input: SpokiListListsInput,\n output: SpokiListListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAQ/D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -14,13 +14,13 @@ const SpokiListMedia_MediaItemSchema = zod.z.object({
14
14
  format_type: zod.z.string().describe("Format type of the media file, e.g. image, video, audio").nullable(),
15
15
  content_type: zod.z.string().describe("MIME type of the media file, e.g. image/jpeg, video/mp4").nullable(),
16
16
  external_url: zod.z.string().describe("External URL where the media file is accessible").nullable()
17
- }).describe("Represents a media file resource.");
17
+ }).passthrough().describe("Represents a media file resource.");
18
18
  const SpokiListMediaOutput = zod.z.object({
19
19
  next: zod.z.string().describe("URL for next page of results, if any").nullable().optional(),
20
20
  count: zod.z.number().int().describe("Total number of media files").nullable(),
21
21
  results: zod.z.array(SpokiListMedia_MediaItemSchema).describe("List of media file objects"),
22
22
  previous: zod.z.string().describe("URL for previous page of results, if any").nullable().optional()
23
- }).describe("Response model for listing media files.");
23
+ }).passthrough().describe("Response model for listing media files.");
24
24
  const spokiListMedia = require_action.action("SPOKI_LIST_MEDIA", {
25
25
  slug: "spoki-list-media",
26
26
  name: "List media",
@@ -1 +1 @@
1
- {"version":3,"file":"list-media.cjs","names":["z","action"],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAA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AoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-media.cjs","names":["z","action"],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).passthrough().describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI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C,CAAC,SAAS,4BAA4B;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,9 +17,9 @@ declare const SpokiListMediaOutput: z.ZodObject<{
17
17
  format_type: z.ZodNullable<z.ZodString>;
18
18
  content_type: z.ZodNullable<z.ZodString>;
19
19
  external_url: z.ZodNullable<z.ZodString>;
20
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
21
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const spokiListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  page?: number | undefined;
25
25
  per_page?: number | undefined;
@@ -17,9 +17,9 @@ declare const SpokiListMediaOutput: z.ZodObject<{
17
17
  format_type: z.ZodNullable<z.ZodString>;
18
18
  content_type: z.ZodNullable<z.ZodString>;
19
19
  external_url: z.ZodNullable<z.ZodString>;
20
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
21
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const spokiListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  page?: number | undefined;
25
25
  per_page?: number | undefined;
@@ -14,7 +14,7 @@ const SpokiListMedia_MediaItemSchema = z.object({
14
14
  format_type: z.string().describe("Format type of the media file, e.g. image, video, audio").nullable(),
15
15
  content_type: z.string().describe("MIME type of the media file, e.g. image/jpeg, video/mp4").nullable(),
16
16
  external_url: z.string().describe("External URL where the media file is accessible").nullable()
17
- }).describe("Represents a media file resource.");
17
+ }).passthrough().describe("Represents a media file resource.");
18
18
  const spokiListMedia = action("SPOKI_LIST_MEDIA", {
19
19
  slug: "spoki-list-media",
20
20
  name: "List media",
@@ -25,7 +25,7 @@ const spokiListMedia = action("SPOKI_LIST_MEDIA", {
25
25
  count: z.number().int().describe("Total number of media files").nullable(),
26
26
  results: z.array(SpokiListMedia_MediaItemSchema).describe("List of media file objects"),
27
27
  previous: z.string().describe("URL for previous page of results, if any").nullable().optional()
28
- }).describe("Response model for listing media files.")
28
+ }).passthrough().describe("Response model for listing media files.")
29
29
  });
30
30
  //#endregion
31
31
  export { spokiListMedia };
@@ -1 +1 @@
1
- {"version":3,"file":"list-media.mjs","names":[],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAQ/C,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,4BAA4B;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-media.mjs","names":[],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).passthrough().describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,4BAA4B;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -23,13 +23,13 @@ const SpokiListReports_ReportItemSchema = zod.z.object({
23
23
  incoming_message_count: zod.z.number().int().describe("Number of incoming messages received in the period").nullable().optional(),
24
24
  template_message_count: zod.z.number().int().describe("Number of template messages sent in the period").nullable().optional(),
25
25
  delivered_message_count: zod.z.number().int().describe("Number of messages delivered in the period").nullable().optional()
26
- }).describe("Individual report record with usage metrics.");
26
+ }).passthrough().describe("Individual report record with usage metrics.");
27
27
  const SpokiListReportsOutput = zod.z.object({
28
28
  next: zod.z.string().describe("URL for the next page of results").nullable().optional(),
29
29
  count: zod.z.number().int().describe("Total number of reports matching the filters").nullable(),
30
30
  results: zod.z.array(SpokiListReports_ReportItemSchema).describe("List of report objects"),
31
31
  previous: zod.z.string().describe("URL for the previous page of results").nullable().optional()
32
- }).describe("Paginated response containing usage reports.");
32
+ }).passthrough().describe("Paginated response containing usage reports.");
33
33
  const spokiListReports = require_action.action("SPOKI_LIST_REPORTS", {
34
34
  slug: "spoki-list-reports",
35
35
  name: "List Reports",
@@ -1 +1 @@
1
- {"version":3,"file":"list-reports.cjs","names":["z","action"],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,wBAAwB;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-reports.cjs","names":["z","action"],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).passthrough().describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACxG,CAAC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AC,SAAS,CAAC,CAAC,SAAS;CAC3G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,wBAAwB;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -26,9 +26,9 @@ declare const SpokiListReportsOutput: z.ZodObject<{
26
26
  incoming_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  template_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  delivered_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const spokiListReports: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  page?: number | undefined;
34
34
  account?: number | undefined;
@@ -26,9 +26,9 @@ declare const SpokiListReportsOutput: z.ZodObject<{
26
26
  incoming_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  template_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  delivered_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const spokiListReports: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  page?: number | undefined;
34
34
  account?: number | undefined;
@@ -23,7 +23,7 @@ const SpokiListReports_ReportItemSchema = z.object({
23
23
  incoming_message_count: z.number().int().describe("Number of incoming messages received in the period").nullable().optional(),
24
24
  template_message_count: z.number().int().describe("Number of template messages sent in the period").nullable().optional(),
25
25
  delivered_message_count: z.number().int().describe("Number of messages delivered in the period").nullable().optional()
26
- }).describe("Individual report record with usage metrics.");
26
+ }).passthrough().describe("Individual report record with usage metrics.");
27
27
  const spokiListReports = action("SPOKI_LIST_REPORTS", {
28
28
  slug: "spoki-list-reports",
29
29
  name: "List Reports",
@@ -34,7 +34,7 @@ const spokiListReports = action("SPOKI_LIST_REPORTS", {
34
34
  count: z.number().int().describe("Total number of reports matching the filters").nullable(),
35
35
  results: z.array(SpokiListReports_ReportItemSchema).describe("List of report objects"),
36
36
  previous: z.string().describe("URL for the previous page of results").nullable().optional()
37
- }).describe("Paginated response containing usage reports.")
37
+ }).passthrough().describe("Paginated response containing usage reports.")
38
38
  });
39
39
  //#endregion
40
40
  export { spokiListReports };
@@ -1 +1 @@
1
- {"version":3,"file":"list-reports.mjs","names":[],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,oCAAoC,EAAE,OAAO;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS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AC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,wBAAwB;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-reports.mjs","names":[],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).passthrough().describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,oCAAoC,EAAE,OAAO;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SA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AS;CACxH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAQxE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,wBAAwB;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const SpokiListRoles_UserSummarySchema = zod.z.object({
10
10
  surname: zod.z.string().describe("Surname of the user").nullable(),
11
11
  firstname: zod.z.string().describe("First name of the user").nullable(),
12
12
  is_service: zod.z.boolean().describe("Indicates if the user is a service user").nullable()
13
- }).describe("Represents a user associated with a role.");
13
+ }).passthrough().describe("Represents a user associated with a role.");
14
14
  const SpokiListRoles_RoleItemSchema = zod.z.object({
15
15
  id: zod.z.number().int().describe("Unique identifier of the role assignment").nullable(),
16
16
  role: zod.z.string().describe("Role name (e.g., Owner, Chat Operator Manager)").nullable(),
@@ -18,13 +18,13 @@ const SpokiListRoles_RoleItemSchema = zod.z.object({
18
18
  is_active: zod.z.boolean().describe("Indicates if the role is currently active").nullable(),
19
19
  created_datetime: zod.z.string().describe("Timestamp when the role was created (ISO 8601)").nullable(),
20
20
  updated_datetime: zod.z.string().describe("Timestamp when the role was last updated (ISO 8601)").nullable()
21
- }).describe("Represents a role assignment in the system.");
21
+ }).passthrough().describe("Represents a role assignment in the system.");
22
22
  const SpokiListRolesOutput = zod.z.object({
23
23
  next: zod.z.string().describe("URL to next page of results, if any").nullable().optional(),
24
24
  count: zod.z.number().int().describe("Total number of roles").nullable(),
25
25
  results: zod.z.array(SpokiListRoles_RoleItemSchema).describe("List of role assignment objects"),
26
26
  previous: zod.z.string().describe("URL to previous page of results, if any").nullable().optional()
27
- }).describe("Response model for listing user roles.");
27
+ }).passthrough().describe("Response model for listing user roles.");
28
28
  const spokiListRoles = require_action.action("SPOKI_LIST_ROLES", {
29
29
  slug: "spoki-list-roles",
30
30
  name: "List Roles",
@@ -1 +1 @@
1
- {"version":3,"file":"list-roles.cjs","names":["z","action"],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_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(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: SpokiListRolesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC7H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,iCAAiC,SAAS;CAChD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iCAAiC;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-roles.cjs","names":["z","action"],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_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(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: SpokiListRolesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC7H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC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S,uBAAuB,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iCAAiC;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,13 +16,13 @@ declare const SpokiListRolesOutput: z.ZodObject<{
16
16
  surname: z.ZodNullable<z.ZodString>;
17
17
  firstname: z.ZodNullable<z.ZodString>;
18
18
  is_service: z.ZodNullable<z.ZodBoolean>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  is_active: z.ZodNullable<z.ZodBoolean>;
21
21
  created_datetime: z.ZodNullable<z.ZodString>;
22
22
  updated_datetime: z.ZodNullable<z.ZodString>;
23
- }, z.core.$strip>>;
23
+ }, z.core.$loose>>;
24
24
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const spokiListRoles: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
27
  //#endregion
28
28
  export { spokiListRoles };
@@ -16,13 +16,13 @@ declare const SpokiListRolesOutput: z.ZodObject<{
16
16
  surname: z.ZodNullable<z.ZodString>;
17
17
  firstname: z.ZodNullable<z.ZodString>;
18
18
  is_service: z.ZodNullable<z.ZodBoolean>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  is_active: z.ZodNullable<z.ZodBoolean>;
21
21
  created_datetime: z.ZodNullable<z.ZodString>;
22
22
  updated_datetime: z.ZodNullable<z.ZodString>;
23
- }, z.core.$strip>>;
23
+ }, z.core.$loose>>;
24
24
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const spokiListRoles: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
27
  //#endregion
28
28
  export { spokiListRoles };
@@ -10,7 +10,7 @@ const SpokiListRoles_UserSummarySchema = z.object({
10
10
  surname: z.string().describe("Surname of the user").nullable(),
11
11
  firstname: z.string().describe("First name of the user").nullable(),
12
12
  is_service: z.boolean().describe("Indicates if the user is a service user").nullable()
13
- }).describe("Represents a user associated with a role.");
13
+ }).passthrough().describe("Represents a user associated with a role.");
14
14
  const SpokiListRoles_RoleItemSchema = z.object({
15
15
  id: z.number().int().describe("Unique identifier of the role assignment").nullable(),
16
16
  role: z.string().describe("Role name (e.g., Owner, Chat Operator Manager)").nullable(),
@@ -18,7 +18,7 @@ const SpokiListRoles_RoleItemSchema = z.object({
18
18
  is_active: z.boolean().describe("Indicates if the role is currently active").nullable(),
19
19
  created_datetime: z.string().describe("Timestamp when the role was created (ISO 8601)").nullable(),
20
20
  updated_datetime: z.string().describe("Timestamp when the role was last updated (ISO 8601)").nullable()
21
- }).describe("Represents a role assignment in the system.");
21
+ }).passthrough().describe("Represents a role assignment in the system.");
22
22
  const spokiListRoles = action("SPOKI_LIST_ROLES", {
23
23
  slug: "spoki-list-roles",
24
24
  name: "List Roles",
@@ -29,7 +29,7 @@ const spokiListRoles = action("SPOKI_LIST_ROLES", {
29
29
  count: z.number().int().describe("Total number of roles").nullable(),
30
30
  results: z.array(SpokiListRoles_RoleItemSchema).describe("List of role assignment objects"),
31
31
  previous: z.string().describe("URL to previous page of results, if any").nullable().optional()
32
- }).describe("Response model for listing user roles.")
32
+ }).passthrough().describe("Response model for listing user roles.")
33
33
  });
34
34
  //#endregion
35
35
  export { spokiListRoles };
@@ -1 +1 @@
1
- {"version":3,"file":"list-roles.mjs","names":[],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_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(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: Spoki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AO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iCAAiC;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-roles.mjs","names":[],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_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(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: SpokiListRolesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC7H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,iCAAiC,SAAS;CAChD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAQvE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iCAAiC;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -7,13 +7,13 @@ const SpokiListTags_TagSchema = zod.z.object({
7
7
  name: zod.z.string().describe("Name of the tag").nullable(),
8
8
  color: zod.z.string().describe("Color code of the tag, e.g. #16d46d").nullable(),
9
9
  order: zod.z.number().int().describe("Order index of the tag").nullable()
10
- }).describe("Represents a tag resource.");
10
+ }).passthrough().describe("Represents a tag resource.");
11
11
  const SpokiListTagsOutput = zod.z.object({
12
12
  next: zod.z.string().describe("URL for next page of results, if any").nullable().optional(),
13
13
  count: zod.z.number().int().describe("Total number of tags").nullable(),
14
14
  results: zod.z.array(SpokiListTags_TagSchema).describe("List of tag objects"),
15
15
  previous: zod.z.string().describe("URL for previous page of results, if any").nullable().optional()
16
- }).describe("Response model for listing tags.");
16
+ }).passthrough().describe("Response model for listing tags.");
17
17
  const spokiListTags = require_action.action("SPOKI_LIST_TAGS", {
18
18
  slug: "spoki-list-tags",
19
19
  name: "List tags",
@@ -1 +1 @@
1
- {"version":3,"file":"list-tags.cjs","names":["z","action"],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing tags.\");\n\nexport const spokiListTags = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjH,MAAM,0BAA0BA,IAAAA,EAAE,OAAO;CACvC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,MAAM,uBAAuB,CAAC,CAAC,SAAS,qBAAqB;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-tags.cjs","names":["z","action"],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).passthrough().describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tags.\");\n\nexport const spokiListTags = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjH,MAAM,0BAA0BA,IAAAA,EAAE,OAAO;CACvC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,MAAM,uBAAuB,CAAC,CAAC,SAAS,qBAAqB;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,9 +10,9 @@ declare const SpokiListTagsOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  color: z.ZodNullable<z.ZodString>;
12
12
  order: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const spokiListTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
17
  //#endregion
18
18
  export { spokiListTags };
@@ -10,9 +10,9 @@ declare const SpokiListTagsOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  color: z.ZodNullable<z.ZodString>;
12
12
  order: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const spokiListTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
17
  //#endregion
18
18
  export { spokiListTags };
@@ -7,7 +7,7 @@ const SpokiListTags_TagSchema = z.object({
7
7
  name: z.string().describe("Name of the tag").nullable(),
8
8
  color: z.string().describe("Color code of the tag, e.g. #16d46d").nullable(),
9
9
  order: z.number().int().describe("Order index of the tag").nullable()
10
- }).describe("Represents a tag resource.");
10
+ }).passthrough().describe("Represents a tag resource.");
11
11
  const spokiListTags = action("SPOKI_LIST_TAGS", {
12
12
  slug: "spoki-list-tags",
13
13
  name: "List tags",
@@ -18,7 +18,7 @@ const spokiListTags = action("SPOKI_LIST_TAGS", {
18
18
  count: z.number().int().describe("Total number of tags").nullable(),
19
19
  results: z.array(SpokiListTags_TagSchema).describe("List of tag objects"),
20
20
  previous: z.string().describe("URL for previous page of results, if any").nullable().optional()
21
- }).describe("Response model for listing tags.")
21
+ }).passthrough().describe("Response model for listing tags.")
22
22
  });
23
23
  //#endregion
24
24
  export { spokiListTags };
@@ -1 +1 @@
1
- {"version":3,"file":"list-tags.mjs","names":[],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing tags.\");\n\nexport const spokiListTags = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjH,MAAM,0BAA0B,EAAE,OAAO;CACvC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAQxC,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZiC,EAAE,OAAO;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,MAAM,uBAAuB,CAAC,CAAC,SAAS,qBAAqB;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-tags.mjs","names":[],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).passthrough().describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tags.\");\n\nexport const spokiListTags = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjH,MAAM,0BAA0B,EAAE,OAAO;CACvC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAQtD,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZiC,EAAE,OAAO;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,MAAM,uBAAuB,CAAC,CAAC,SAAS,qBAAqB;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
@@ -6,19 +6,19 @@ const SpokiListTemplates_TemplateComponentSchema = zod.z.object({
6
6
  text: zod.z.string().describe("Text content of the component if applicable").nullable().optional(),
7
7
  format: zod.z.string().describe("Format of the component, e.g., text, image").nullable().optional(),
8
8
  component_type: zod.z.string().describe("Component type, e.g., body, header, footer").nullable()
9
- });
9
+ }).passthrough();
10
10
  const SpokiListTemplates_TemplateButtonSchema = zod.z.object({
11
11
  url: zod.z.string().describe("URL for URL buttons").nullable().optional(),
12
12
  text: zod.z.string().describe("Display text of the button").nullable(),
13
13
  order: zod.z.number().int().describe("Order index of the button in the template").nullable(),
14
14
  button_type: zod.z.string().describe("Type of button, e.g., quick_reply, url, call").nullable(),
15
15
  phone_number: zod.z.string().describe("Phone number for call buttons").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const SpokiListTemplates_HeaderMediaSchema = zod.z.object({
18
18
  id: zod.z.number().int().describe("Media file identifier").nullable(),
19
19
  title: zod.z.string().describe("Title of the media file").nullable(),
20
20
  is_deleted: zod.z.boolean().describe("Whether the media is deleted").nullable()
21
- });
21
+ }).passthrough();
22
22
  const SpokiListTemplates_TemplateLocalizationSchema = zod.z.object({
23
23
  body: SpokiListTemplates_TemplateComponentSchema.nullable(),
24
24
  footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),
@@ -28,7 +28,7 @@ const SpokiListTemplates_TemplateLocalizationSchema = zod.z.object({
28
28
  button_set: zod.z.array(SpokiListTemplates_TemplateButtonSchema).describe("Buttons defined in this localization").nullable().optional(),
29
29
  rejection_reason: zod.z.string().describe("Reason for rejection if status is REJECTED").nullable().optional(),
30
30
  default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const SpokiListTemplates_TemplateSchema = zod.z.object({
33
33
  id: zod.z.number().int().describe("Template identifier").nullable(),
34
34
  name: zod.z.string().describe("Template name").nullable(),
@@ -37,13 +37,13 @@ const SpokiListTemplates_TemplateSchema = zod.z.object({
37
37
  is_favorite: zod.z.boolean().describe("Whether the template is marked as favorite").nullable(),
38
38
  customfield_set: zod.z.array(zod.z.string()).describe("Placeholder codes used in the template body").nullable().optional(),
39
39
  templatelocalization_set: zod.z.array(SpokiListTemplates_TemplateLocalizationSchema).describe("List of localizations for supported languages")
40
- });
40
+ }).passthrough();
41
41
  const SpokiListTemplatesOutput = zod.z.object({
42
42
  next: zod.z.string().describe("URL of next page of results, if any").nullable().optional(),
43
43
  count: zod.z.number().int().describe("Total number of templates matching the query").nullable(),
44
44
  results: zod.z.array(SpokiListTemplates_TemplateSchema).describe("Templates returned in this page"),
45
45
  previous: zod.z.string().describe("URL of previous page of results, if any").nullable().optional()
46
- });
46
+ }).passthrough();
47
47
  const spokiListTemplates = require_action.action("SPOKI_LIST_TEMPLATES", {
48
48
  slug: "spoki-list-templates",
49
49
  name: "List templates",