@keystrokehq/spoki 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-contact-operator.cjs +1 -1
  4. package/dist/actions/add-contact-operator.cjs.map +1 -1
  5. package/dist/actions/add-contact-operator.d.cts +9 -3
  6. package/dist/actions/add-contact-operator.d.cts.map +1 -1
  7. package/dist/actions/add-contact-operator.d.mts +9 -3
  8. package/dist/actions/add-contact-operator.d.mts.map +1 -1
  9. package/dist/actions/add-contact-operator.mjs +1 -1
  10. package/dist/actions/add-contact-operator.mjs.map +1 -1
  11. package/dist/actions/add-service-user.cjs +4 -4
  12. package/dist/actions/add-service-user.cjs.map +1 -1
  13. package/dist/actions/add-service-user.d.cts +13 -3
  14. package/dist/actions/add-service-user.d.cts.map +1 -1
  15. package/dist/actions/add-service-user.d.mts +13 -3
  16. package/dist/actions/add-service-user.d.mts.map +1 -1
  17. package/dist/actions/add-service-user.mjs +4 -4
  18. package/dist/actions/add-service-user.mjs.map +1 -1
  19. package/dist/actions/check-role-private-key.cjs +1 -1
  20. package/dist/actions/check-role-private-key.cjs.map +1 -1
  21. package/dist/actions/check-role-private-key.d.cts +9 -3
  22. package/dist/actions/check-role-private-key.d.cts.map +1 -1
  23. package/dist/actions/check-role-private-key.d.mts +9 -3
  24. package/dist/actions/check-role-private-key.d.mts.map +1 -1
  25. package/dist/actions/check-role-private-key.mjs +1 -1
  26. package/dist/actions/check-role-private-key.mjs.map +1 -1
  27. package/dist/actions/clone-template.cjs +16 -16
  28. package/dist/actions/clone-template.cjs.map +1 -1
  29. package/dist/actions/clone-template.d.cts +48 -3
  30. package/dist/actions/clone-template.d.cts.map +1 -1
  31. package/dist/actions/clone-template.d.mts +48 -3
  32. package/dist/actions/clone-template.d.mts.map +1 -1
  33. package/dist/actions/clone-template.mjs +16 -16
  34. package/dist/actions/clone-template.mjs.map +1 -1
  35. package/dist/actions/create-account-onboarding-link.cjs +4 -4
  36. package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
  37. package/dist/actions/create-account-onboarding-link.d.cts +11 -3
  38. package/dist/actions/create-account-onboarding-link.d.cts.map +1 -1
  39. package/dist/actions/create-account-onboarding-link.d.mts +11 -3
  40. package/dist/actions/create-account-onboarding-link.d.mts.map +1 -1
  41. package/dist/actions/create-account-onboarding-link.mjs +4 -4
  42. package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
  43. package/dist/actions/create-custom-field.cjs +7 -7
  44. package/dist/actions/create-custom-field.cjs.map +1 -1
  45. package/dist/actions/create-custom-field.d.cts +20 -3
  46. package/dist/actions/create-custom-field.d.cts.map +1 -1
  47. package/dist/actions/create-custom-field.d.mts +20 -3
  48. package/dist/actions/create-custom-field.d.mts.map +1 -1
  49. package/dist/actions/create-custom-field.mjs +7 -7
  50. package/dist/actions/create-custom-field.mjs.map +1 -1
  51. package/dist/actions/create-list.cjs +5 -5
  52. package/dist/actions/create-list.cjs.map +1 -1
  53. package/dist/actions/create-list.d.cts +13 -3
  54. package/dist/actions/create-list.d.cts.map +1 -1
  55. package/dist/actions/create-list.d.mts +13 -3
  56. package/dist/actions/create-list.d.mts.map +1 -1
  57. package/dist/actions/create-list.mjs +5 -5
  58. package/dist/actions/create-list.mjs.map +1 -1
  59. package/dist/actions/create-media.cjs +1 -1
  60. package/dist/actions/create-media.cjs.map +1 -1
  61. package/dist/actions/create-media.d.cts +19 -3
  62. package/dist/actions/create-media.d.cts.map +1 -1
  63. package/dist/actions/create-media.d.mts +19 -3
  64. package/dist/actions/create-media.d.mts.map +1 -1
  65. package/dist/actions/create-media.mjs +1 -1
  66. package/dist/actions/create-media.mjs.map +1 -1
  67. package/dist/actions/create-or-update-contact.cjs +10 -10
  68. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  69. package/dist/actions/create-or-update-contact.d.cts +30 -3
  70. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  71. package/dist/actions/create-or-update-contact.d.mts +30 -3
  72. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  73. package/dist/actions/create-or-update-contact.mjs +10 -10
  74. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  75. package/dist/actions/create-template.cjs +16 -16
  76. package/dist/actions/create-template.cjs.map +1 -1
  77. package/dist/actions/create-template.d.cts +95 -3
  78. package/dist/actions/create-template.d.cts.map +1 -1
  79. package/dist/actions/create-template.d.mts +95 -3
  80. package/dist/actions/create-template.d.mts.map +1 -1
  81. package/dist/actions/create-template.mjs +16 -16
  82. package/dist/actions/create-template.mjs.map +1 -1
  83. package/dist/actions/create-ticket.cjs +25 -25
  84. package/dist/actions/create-ticket.cjs.map +1 -1
  85. package/dist/actions/create-ticket.d.cts +65 -3
  86. package/dist/actions/create-ticket.d.cts.map +1 -1
  87. package/dist/actions/create-ticket.d.mts +65 -3
  88. package/dist/actions/create-ticket.d.mts.map +1 -1
  89. package/dist/actions/create-ticket.mjs +25 -25
  90. package/dist/actions/create-ticket.mjs.map +1 -1
  91. package/dist/actions/delete-contact.cjs +1 -1
  92. package/dist/actions/delete-contact.cjs.map +1 -1
  93. package/dist/actions/delete-contact.d.cts +7 -3
  94. package/dist/actions/delete-contact.d.cts.map +1 -1
  95. package/dist/actions/delete-contact.d.mts +7 -3
  96. package/dist/actions/delete-contact.d.mts.map +1 -1
  97. package/dist/actions/delete-contact.mjs +1 -1
  98. package/dist/actions/delete-contact.mjs.map +1 -1
  99. package/dist/actions/delete-custom-field.cjs +1 -1
  100. package/dist/actions/delete-custom-field.cjs.map +1 -1
  101. package/dist/actions/delete-custom-field.d.cts +7 -3
  102. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  103. package/dist/actions/delete-custom-field.d.mts +7 -3
  104. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  105. package/dist/actions/delete-custom-field.mjs +1 -1
  106. package/dist/actions/delete-custom-field.mjs.map +1 -1
  107. package/dist/actions/delete-list.cjs +1 -1
  108. package/dist/actions/delete-list.cjs.map +1 -1
  109. package/dist/actions/delete-list.d.cts +7 -3
  110. package/dist/actions/delete-list.d.cts.map +1 -1
  111. package/dist/actions/delete-list.d.mts +7 -3
  112. package/dist/actions/delete-list.d.mts.map +1 -1
  113. package/dist/actions/delete-list.mjs +1 -1
  114. package/dist/actions/delete-list.mjs.map +1 -1
  115. package/dist/actions/delete-media.cjs +1 -1
  116. package/dist/actions/delete-media.cjs.map +1 -1
  117. package/dist/actions/delete-media.d.cts +7 -3
  118. package/dist/actions/delete-media.d.cts.map +1 -1
  119. package/dist/actions/delete-media.d.mts +7 -3
  120. package/dist/actions/delete-media.d.mts.map +1 -1
  121. package/dist/actions/delete-media.mjs +1 -1
  122. package/dist/actions/delete-media.mjs.map +1 -1
  123. package/dist/actions/delete-role.cjs +1 -1
  124. package/dist/actions/delete-role.cjs.map +1 -1
  125. package/dist/actions/delete-role.d.cts +7 -3
  126. package/dist/actions/delete-role.d.cts.map +1 -1
  127. package/dist/actions/delete-role.d.mts +7 -3
  128. package/dist/actions/delete-role.d.mts.map +1 -1
  129. package/dist/actions/delete-role.mjs +1 -1
  130. package/dist/actions/delete-role.mjs.map +1 -1
  131. package/dist/actions/delete-template.cjs +1 -1
  132. package/dist/actions/delete-template.cjs.map +1 -1
  133. package/dist/actions/delete-template.d.cts +11 -3
  134. package/dist/actions/delete-template.d.cts.map +1 -1
  135. package/dist/actions/delete-template.d.mts +11 -3
  136. package/dist/actions/delete-template.d.mts.map +1 -1
  137. package/dist/actions/delete-template.mjs +1 -1
  138. package/dist/actions/delete-template.mjs.map +1 -1
  139. package/dist/actions/delete-ticket.cjs +1 -1
  140. package/dist/actions/delete-ticket.cjs.map +1 -1
  141. package/dist/actions/delete-ticket.d.cts +7 -3
  142. package/dist/actions/delete-ticket.d.cts.map +1 -1
  143. package/dist/actions/delete-ticket.d.mts +7 -3
  144. package/dist/actions/delete-ticket.d.mts.map +1 -1
  145. package/dist/actions/delete-ticket.mjs +1 -1
  146. package/dist/actions/delete-ticket.mjs.map +1 -1
  147. package/dist/actions/generate-role-private-key.cjs +1 -1
  148. package/dist/actions/generate-role-private-key.cjs.map +1 -1
  149. package/dist/actions/generate-role-private-key.d.cts +9 -3
  150. package/dist/actions/generate-role-private-key.d.cts.map +1 -1
  151. package/dist/actions/generate-role-private-key.d.mts +9 -3
  152. package/dist/actions/generate-role-private-key.d.mts.map +1 -1
  153. package/dist/actions/generate-role-private-key.mjs +1 -1
  154. package/dist/actions/generate-role-private-key.mjs.map +1 -1
  155. package/dist/actions/get-account-current-report.cjs +1 -1
  156. package/dist/actions/get-account-current-report.cjs.map +1 -1
  157. package/dist/actions/get-account-current-report.d.cts +22 -3
  158. package/dist/actions/get-account-current-report.d.cts.map +1 -1
  159. package/dist/actions/get-account-current-report.d.mts +22 -3
  160. package/dist/actions/get-account-current-report.d.mts.map +1 -1
  161. package/dist/actions/get-account-current-report.mjs +1 -1
  162. package/dist/actions/get-account-current-report.mjs.map +1 -1
  163. package/dist/actions/list-accounts.cjs +25 -25
  164. package/dist/actions/list-accounts.cjs.map +1 -1
  165. package/dist/actions/list-accounts.d.cts +42 -3
  166. package/dist/actions/list-accounts.d.cts.map +1 -1
  167. package/dist/actions/list-accounts.d.mts +42 -3
  168. package/dist/actions/list-accounts.d.mts.map +1 -1
  169. package/dist/actions/list-accounts.mjs +25 -25
  170. package/dist/actions/list-accounts.mjs.map +1 -1
  171. package/dist/actions/list-agencies.cjs.map +1 -1
  172. package/dist/actions/list-agencies.d.cts +3 -3
  173. package/dist/actions/list-agencies.d.cts.map +1 -1
  174. package/dist/actions/list-agencies.d.mts +3 -3
  175. package/dist/actions/list-agencies.d.mts.map +1 -1
  176. package/dist/actions/list-agencies.mjs.map +1 -1
  177. package/dist/actions/list-automations.cjs +14 -14
  178. package/dist/actions/list-automations.cjs.map +1 -1
  179. package/dist/actions/list-automations.d.cts +52 -3
  180. package/dist/actions/list-automations.d.cts.map +1 -1
  181. package/dist/actions/list-automations.d.mts +52 -3
  182. package/dist/actions/list-automations.d.mts.map +1 -1
  183. package/dist/actions/list-automations.mjs +14 -14
  184. package/dist/actions/list-automations.mjs.map +1 -1
  185. package/dist/actions/list-campaigns.cjs +26 -26
  186. package/dist/actions/list-campaigns.cjs.map +1 -1
  187. package/dist/actions/list-campaigns.d.cts +46 -3
  188. package/dist/actions/list-campaigns.d.cts.map +1 -1
  189. package/dist/actions/list-campaigns.d.mts +46 -3
  190. package/dist/actions/list-campaigns.d.mts.map +1 -1
  191. package/dist/actions/list-campaigns.mjs +26 -26
  192. package/dist/actions/list-campaigns.mjs.map +1 -1
  193. package/dist/actions/list-contacts.cjs +23 -23
  194. package/dist/actions/list-contacts.cjs.map +1 -1
  195. package/dist/actions/list-contacts.d.cts +60 -3
  196. package/dist/actions/list-contacts.d.cts.map +1 -1
  197. package/dist/actions/list-contacts.d.mts +60 -3
  198. package/dist/actions/list-contacts.d.mts.map +1 -1
  199. package/dist/actions/list-contacts.mjs +23 -23
  200. package/dist/actions/list-contacts.mjs.map +1 -1
  201. package/dist/actions/list-custom-fields.cjs +7 -7
  202. package/dist/actions/list-custom-fields.cjs.map +1 -1
  203. package/dist/actions/list-custom-fields.d.cts +18 -3
  204. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  205. package/dist/actions/list-custom-fields.d.mts +18 -3
  206. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  207. package/dist/actions/list-custom-fields.mjs +7 -7
  208. package/dist/actions/list-custom-fields.mjs.map +1 -1
  209. package/dist/actions/list-lists.cjs +7 -7
  210. package/dist/actions/list-lists.cjs.map +1 -1
  211. package/dist/actions/list-lists.d.cts +22 -3
  212. package/dist/actions/list-lists.d.cts.map +1 -1
  213. package/dist/actions/list-lists.d.mts +22 -3
  214. package/dist/actions/list-lists.d.mts.map +1 -1
  215. package/dist/actions/list-lists.mjs +7 -7
  216. package/dist/actions/list-lists.mjs.map +1 -1
  217. package/dist/actions/list-media.cjs +9 -9
  218. package/dist/actions/list-media.cjs.map +1 -1
  219. package/dist/actions/list-media.d.cts +23 -3
  220. package/dist/actions/list-media.d.cts.map +1 -1
  221. package/dist/actions/list-media.d.mts +23 -3
  222. package/dist/actions/list-media.d.mts.map +1 -1
  223. package/dist/actions/list-media.mjs +9 -9
  224. package/dist/actions/list-media.mjs.map +1 -1
  225. package/dist/actions/list-partners.cjs.map +1 -1
  226. package/dist/actions/list-partners.d.cts +3 -3
  227. package/dist/actions/list-partners.d.cts.map +1 -1
  228. package/dist/actions/list-partners.d.mts +3 -3
  229. package/dist/actions/list-partners.d.mts.map +1 -1
  230. package/dist/actions/list-partners.mjs.map +1 -1
  231. package/dist/actions/list-reports.cjs +3 -3
  232. package/dist/actions/list-reports.cjs.map +1 -1
  233. package/dist/actions/list-reports.d.cts +35 -3
  234. package/dist/actions/list-reports.d.cts.map +1 -1
  235. package/dist/actions/list-reports.d.mts +35 -3
  236. package/dist/actions/list-reports.d.mts.map +1 -1
  237. package/dist/actions/list-reports.mjs +3 -3
  238. package/dist/actions/list-reports.mjs.map +1 -1
  239. package/dist/actions/list-roles.cjs +15 -15
  240. package/dist/actions/list-roles.cjs.map +1 -1
  241. package/dist/actions/list-roles.d.cts +23 -3
  242. package/dist/actions/list-roles.d.cts.map +1 -1
  243. package/dist/actions/list-roles.d.mts +23 -3
  244. package/dist/actions/list-roles.d.mts.map +1 -1
  245. package/dist/actions/list-roles.mjs +15 -15
  246. package/dist/actions/list-roles.mjs.map +1 -1
  247. package/dist/actions/list-tags.cjs +7 -7
  248. package/dist/actions/list-tags.cjs.map +1 -1
  249. package/dist/actions/list-tags.d.cts +13 -3
  250. package/dist/actions/list-tags.d.cts.map +1 -1
  251. package/dist/actions/list-tags.d.mts +13 -3
  252. package/dist/actions/list-tags.d.mts.map +1 -1
  253. package/dist/actions/list-tags.mjs +7 -7
  254. package/dist/actions/list-tags.mjs.map +1 -1
  255. package/dist/actions/list-templates.cjs +21 -21
  256. package/dist/actions/list-templates.cjs.map +1 -1
  257. package/dist/actions/list-templates.d.cts +51 -3
  258. package/dist/actions/list-templates.d.cts.map +1 -1
  259. package/dist/actions/list-templates.d.mts +51 -3
  260. package/dist/actions/list-templates.d.mts.map +1 -1
  261. package/dist/actions/list-templates.mjs +21 -21
  262. package/dist/actions/list-templates.mjs.map +1 -1
  263. package/dist/actions/list-tickets.cjs +27 -27
  264. package/dist/actions/list-tickets.cjs.map +1 -1
  265. package/dist/actions/list-tickets.d.cts +63 -3
  266. package/dist/actions/list-tickets.d.cts.map +1 -1
  267. package/dist/actions/list-tickets.d.mts +63 -3
  268. package/dist/actions/list-tickets.d.mts.map +1 -1
  269. package/dist/actions/list-tickets.mjs +27 -27
  270. package/dist/actions/list-tickets.mjs.map +1 -1
  271. package/dist/actions/remove-all-list-contacts.cjs +1 -1
  272. package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
  273. package/dist/actions/remove-all-list-contacts.d.cts +9 -3
  274. package/dist/actions/remove-all-list-contacts.d.cts.map +1 -1
  275. package/dist/actions/remove-all-list-contacts.d.mts +9 -3
  276. package/dist/actions/remove-all-list-contacts.d.mts.map +1 -1
  277. package/dist/actions/remove-all-list-contacts.mjs +1 -1
  278. package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
  279. package/dist/actions/remove-contact-operator.cjs +1 -1
  280. package/dist/actions/remove-contact-operator.cjs.map +1 -1
  281. package/dist/actions/remove-contact-operator.d.cts +11 -3
  282. package/dist/actions/remove-contact-operator.d.cts.map +1 -1
  283. package/dist/actions/remove-contact-operator.d.mts +11 -3
  284. package/dist/actions/remove-contact-operator.d.mts.map +1 -1
  285. package/dist/actions/remove-contact-operator.mjs +1 -1
  286. package/dist/actions/remove-contact-operator.mjs.map +1 -1
  287. package/dist/actions/remove-list-contacts.cjs +1 -1
  288. package/dist/actions/remove-list-contacts.cjs.map +1 -1
  289. package/dist/actions/remove-list-contacts.d.cts +11 -3
  290. package/dist/actions/remove-list-contacts.d.cts.map +1 -1
  291. package/dist/actions/remove-list-contacts.d.mts +11 -3
  292. package/dist/actions/remove-list-contacts.d.mts.map +1 -1
  293. package/dist/actions/remove-list-contacts.mjs +1 -1
  294. package/dist/actions/remove-list-contacts.mjs.map +1 -1
  295. package/dist/actions/resend-invitation.cjs +1 -1
  296. package/dist/actions/resend-invitation.cjs.map +1 -1
  297. package/dist/actions/resend-invitation.d.cts +10 -3
  298. package/dist/actions/resend-invitation.d.cts.map +1 -1
  299. package/dist/actions/resend-invitation.d.mts +10 -3
  300. package/dist/actions/resend-invitation.d.mts.map +1 -1
  301. package/dist/actions/resend-invitation.mjs +1 -1
  302. package/dist/actions/resend-invitation.mjs.map +1 -1
  303. package/dist/actions/retrieve-account.cjs +23 -23
  304. package/dist/actions/retrieve-account.cjs.map +1 -1
  305. package/dist/actions/retrieve-account.d.cts +35 -3
  306. package/dist/actions/retrieve-account.d.cts.map +1 -1
  307. package/dist/actions/retrieve-account.d.mts +35 -3
  308. package/dist/actions/retrieve-account.d.mts.map +1 -1
  309. package/dist/actions/retrieve-account.mjs +23 -23
  310. package/dist/actions/retrieve-account.mjs.map +1 -1
  311. package/dist/actions/retrieve-automation.cjs +12 -12
  312. package/dist/actions/retrieve-automation.cjs.map +1 -1
  313. package/dist/actions/retrieve-automation.d.cts +23 -3
  314. package/dist/actions/retrieve-automation.d.cts.map +1 -1
  315. package/dist/actions/retrieve-automation.d.mts +23 -3
  316. package/dist/actions/retrieve-automation.d.mts.map +1 -1
  317. package/dist/actions/retrieve-automation.mjs +12 -12
  318. package/dist/actions/retrieve-automation.mjs.map +1 -1
  319. package/dist/actions/retrieve-contact.cjs +29 -29
  320. package/dist/actions/retrieve-contact.cjs.map +1 -1
  321. package/dist/actions/retrieve-contact.d.cts +45 -3
  322. package/dist/actions/retrieve-contact.d.cts.map +1 -1
  323. package/dist/actions/retrieve-contact.d.mts +45 -3
  324. package/dist/actions/retrieve-contact.d.mts.map +1 -1
  325. package/dist/actions/retrieve-contact.mjs +29 -29
  326. package/dist/actions/retrieve-contact.mjs.map +1 -1
  327. package/dist/actions/retrieve-custom-field.cjs +6 -6
  328. package/dist/actions/retrieve-custom-field.cjs.map +1 -1
  329. package/dist/actions/retrieve-custom-field.d.cts +14 -3
  330. package/dist/actions/retrieve-custom-field.d.cts.map +1 -1
  331. package/dist/actions/retrieve-custom-field.d.mts +14 -3
  332. package/dist/actions/retrieve-custom-field.d.mts.map +1 -1
  333. package/dist/actions/retrieve-custom-field.mjs +6 -6
  334. package/dist/actions/retrieve-custom-field.mjs.map +1 -1
  335. package/dist/actions/retrieve-list.cjs +5 -5
  336. package/dist/actions/retrieve-list.cjs.map +1 -1
  337. package/dist/actions/retrieve-list.d.cts +13 -3
  338. package/dist/actions/retrieve-list.d.cts.map +1 -1
  339. package/dist/actions/retrieve-list.d.mts +13 -3
  340. package/dist/actions/retrieve-list.d.mts.map +1 -1
  341. package/dist/actions/retrieve-list.mjs +5 -5
  342. package/dist/actions/retrieve-list.mjs.map +1 -1
  343. package/dist/actions/retrieve-media.cjs +1 -1
  344. package/dist/actions/retrieve-media.cjs.map +1 -1
  345. package/dist/actions/retrieve-media.d.cts +16 -3
  346. package/dist/actions/retrieve-media.d.cts.map +1 -1
  347. package/dist/actions/retrieve-media.d.mts +16 -3
  348. package/dist/actions/retrieve-media.d.mts.map +1 -1
  349. package/dist/actions/retrieve-media.mjs +1 -1
  350. package/dist/actions/retrieve-media.mjs.map +1 -1
  351. package/dist/actions/retrieve-role.cjs +2 -2
  352. package/dist/actions/retrieve-role.cjs.map +1 -1
  353. package/dist/actions/retrieve-role.d.cts +22 -3
  354. package/dist/actions/retrieve-role.d.cts.map +1 -1
  355. package/dist/actions/retrieve-role.d.mts +22 -3
  356. package/dist/actions/retrieve-role.d.mts.map +1 -1
  357. package/dist/actions/retrieve-role.mjs +2 -2
  358. package/dist/actions/retrieve-role.mjs.map +1 -1
  359. package/dist/actions/retrieve-tag.cjs +1 -1
  360. package/dist/actions/retrieve-tag.cjs.map +1 -1
  361. package/dist/actions/retrieve-tag.d.cts +12 -3
  362. package/dist/actions/retrieve-tag.d.cts.map +1 -1
  363. package/dist/actions/retrieve-tag.d.mts +12 -3
  364. package/dist/actions/retrieve-tag.d.mts.map +1 -1
  365. package/dist/actions/retrieve-tag.mjs +1 -1
  366. package/dist/actions/retrieve-tag.mjs.map +1 -1
  367. package/dist/actions/retrieve-template.cjs +19 -19
  368. package/dist/actions/retrieve-template.cjs.map +1 -1
  369. package/dist/actions/retrieve-template.d.cts +45 -3
  370. package/dist/actions/retrieve-template.d.cts.map +1 -1
  371. package/dist/actions/retrieve-template.d.mts +45 -3
  372. package/dist/actions/retrieve-template.d.mts.map +1 -1
  373. package/dist/actions/retrieve-template.mjs +19 -19
  374. package/dist/actions/retrieve-template.mjs.map +1 -1
  375. package/dist/actions/revert-template-to-draft.cjs +1 -1
  376. package/dist/actions/revert-template-to-draft.cjs.map +1 -1
  377. package/dist/actions/revert-template-to-draft.d.cts +9 -3
  378. package/dist/actions/revert-template-to-draft.d.cts.map +1 -1
  379. package/dist/actions/revert-template-to-draft.d.mts +9 -3
  380. package/dist/actions/revert-template-to-draft.d.mts.map +1 -1
  381. package/dist/actions/revert-template-to-draft.mjs +1 -1
  382. package/dist/actions/revert-template-to-draft.mjs.map +1 -1
  383. package/dist/actions/sync-contacts-bulk.cjs +13 -13
  384. package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
  385. package/dist/actions/sync-contacts-bulk.d.cts +41 -3
  386. package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
  387. package/dist/actions/sync-contacts-bulk.d.mts +41 -3
  388. package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
  389. package/dist/actions/sync-contacts-bulk.mjs +13 -13
  390. package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
  391. package/dist/actions/sync-list-contacts.cjs +3 -3
  392. package/dist/actions/sync-list-contacts.cjs.map +1 -1
  393. package/dist/actions/sync-list-contacts.d.cts +26 -3
  394. package/dist/actions/sync-list-contacts.d.cts.map +1 -1
  395. package/dist/actions/sync-list-contacts.d.mts +26 -3
  396. package/dist/actions/sync-list-contacts.d.mts.map +1 -1
  397. package/dist/actions/sync-list-contacts.mjs +3 -3
  398. package/dist/actions/sync-list-contacts.mjs.map +1 -1
  399. package/dist/actions/update-campaign.cjs +6 -6
  400. package/dist/actions/update-campaign.cjs.map +1 -1
  401. package/dist/actions/update-campaign.d.cts +22 -3
  402. package/dist/actions/update-campaign.d.cts.map +1 -1
  403. package/dist/actions/update-campaign.d.mts +22 -3
  404. package/dist/actions/update-campaign.d.mts.map +1 -1
  405. package/dist/actions/update-campaign.mjs +6 -6
  406. package/dist/actions/update-campaign.mjs.map +1 -1
  407. package/dist/actions/update-contact.cjs +7 -7
  408. package/dist/actions/update-contact.cjs.map +1 -1
  409. package/dist/actions/update-contact.d.cts +32 -3
  410. package/dist/actions/update-contact.d.cts.map +1 -1
  411. package/dist/actions/update-contact.d.mts +32 -3
  412. package/dist/actions/update-contact.d.mts.map +1 -1
  413. package/dist/actions/update-contact.mjs +7 -7
  414. package/dist/actions/update-contact.mjs.map +1 -1
  415. package/dist/actions/update-custom-field.cjs +6 -6
  416. package/dist/actions/update-custom-field.cjs.map +1 -1
  417. package/dist/actions/update-custom-field.d.cts +16 -3
  418. package/dist/actions/update-custom-field.d.cts.map +1 -1
  419. package/dist/actions/update-custom-field.d.mts +16 -3
  420. package/dist/actions/update-custom-field.d.mts.map +1 -1
  421. package/dist/actions/update-custom-field.mjs +6 -6
  422. package/dist/actions/update-custom-field.mjs.map +1 -1
  423. package/dist/actions/update-invitation-role.cjs +1 -1
  424. package/dist/actions/update-invitation-role.cjs.map +1 -1
  425. package/dist/actions/update-invitation-role.d.cts +14 -3
  426. package/dist/actions/update-invitation-role.d.cts.map +1 -1
  427. package/dist/actions/update-invitation-role.d.mts +14 -3
  428. package/dist/actions/update-invitation-role.d.mts.map +1 -1
  429. package/dist/actions/update-invitation-role.mjs +1 -1
  430. package/dist/actions/update-invitation-role.mjs.map +1 -1
  431. package/dist/actions/update-media.cjs +3 -3
  432. package/dist/actions/update-media.cjs.map +1 -1
  433. package/dist/actions/update-media.d.cts +18 -3
  434. package/dist/actions/update-media.d.cts.map +1 -1
  435. package/dist/actions/update-media.d.mts +18 -3
  436. package/dist/actions/update-media.d.mts.map +1 -1
  437. package/dist/actions/update-media.mjs +3 -3
  438. package/dist/actions/update-media.mjs.map +1 -1
  439. package/dist/actions/update-role.cjs +3 -3
  440. package/dist/actions/update-role.cjs.map +1 -1
  441. package/dist/actions/update-role.d.cts +13 -3
  442. package/dist/actions/update-role.d.cts.map +1 -1
  443. package/dist/actions/update-role.d.mts +13 -3
  444. package/dist/actions/update-role.d.mts.map +1 -1
  445. package/dist/actions/update-role.mjs +3 -3
  446. package/dist/actions/update-role.mjs.map +1 -1
  447. package/dist/actions/update-template.cjs +13 -13
  448. package/dist/actions/update-template.cjs.map +1 -1
  449. package/dist/actions/update-template.d.cts +83 -3
  450. package/dist/actions/update-template.d.cts.map +1 -1
  451. package/dist/actions/update-template.d.mts +83 -3
  452. package/dist/actions/update-template.d.mts.map +1 -1
  453. package/dist/actions/update-template.mjs +13 -13
  454. package/dist/actions/update-template.mjs.map +1 -1
  455. package/dist/catalog.cjs +7 -1
  456. package/dist/catalog.cjs.map +1 -1
  457. package/dist/catalog.d.cts +8 -0
  458. package/dist/catalog.d.mts +8 -0
  459. package/dist/catalog.mjs +7 -1
  460. package/dist/catalog.mjs.map +1 -1
  461. package/package.json +2 -2
@@ -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
- count: zod.z.number().int().describe("Total number of reports matching the filters"),
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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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\"),\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,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,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AS,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,SAAS,8CAA8C;AAC1D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,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;CAC/E,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 minut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,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"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-reports.d.ts
4
- declare const SpokiListReportsInput: z.ZodTypeAny;
5
- declare const SpokiListReportsOutput: z.ZodTypeAny;
6
- declare const spokiListReports: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiListReportsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ account: z.ZodOptional<z.ZodNumber>;
7
+ per_page: z.ZodOptional<z.ZodNumber>;
8
+ granularity: z.ZodOptional<z.ZodString>;
9
+ period_start: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const SpokiListReportsOutput: z.ZodObject<{
12
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ count: z.ZodNullable<z.ZodNumber>;
14
+ results: z.ZodArray<z.ZodObject<{
15
+ account: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ granularity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ period_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ contacted_contacts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ conversation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ exchanged_messages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ free_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ read_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ sent_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ incoming_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ template_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ delivered_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ }, z.core.$loose>>;
30
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>;
32
+ declare const spokiListReports: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ page?: number | undefined;
34
+ account?: number | undefined;
35
+ per_page?: number | undefined;
36
+ granularity?: string | undefined;
37
+ period_start?: string | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { spokiListReports };
9
41
  //# sourceMappingURL=list-reports.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-reports.d.cts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAMgD;AAAA,cAiBzE,sBAAA,EAAwB,CAAA,CAAE,UAKoB;AAAA,cAE9C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-reports.d.cts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAuBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-reports.d.ts
4
- declare const SpokiListReportsInput: z.ZodTypeAny;
5
- declare const SpokiListReportsOutput: z.ZodTypeAny;
6
- declare const spokiListReports: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiListReportsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ account: z.ZodOptional<z.ZodNumber>;
7
+ per_page: z.ZodOptional<z.ZodNumber>;
8
+ granularity: z.ZodOptional<z.ZodString>;
9
+ period_start: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const SpokiListReportsOutput: z.ZodObject<{
12
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ count: z.ZodNullable<z.ZodNumber>;
14
+ results: z.ZodArray<z.ZodObject<{
15
+ account: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ granularity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ period_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ contacted_contacts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ conversation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ exchanged_messages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ free_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ read_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ sent_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ incoming_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ template_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ delivered_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ }, z.core.$loose>>;
30
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>;
32
+ declare const spokiListReports: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ page?: number | undefined;
34
+ account?: number | undefined;
35
+ per_page?: number | undefined;
36
+ granularity?: string | undefined;
37
+ period_start?: string | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { spokiListReports };
9
41
  //# sourceMappingURL=list-reports.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-reports.d.mts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAMgD;AAAA,cAiBzE,sBAAA,EAAwB,CAAA,CAAE,UAKoB;AAAA,cAE9C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-reports.d.mts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAuBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
@@ -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",
@@ -31,10 +31,10 @@ const spokiListReports = action("SPOKI_LIST_REPORTS", {
31
31
  input: SpokiListReportsInput,
32
32
  output: z.object({
33
33
  next: z.string().describe("URL for the next page of results").nullable().optional(),
34
- count: z.number().int().describe("Total number of reports matching the filters"),
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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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\"),\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,wBAAsC,EAAE,OAAO;CAC1D,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,CAA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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAQ1D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EAC/E,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,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,CAAC,CAAC,SAAS;CAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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"}
@@ -3,28 +3,28 @@ let zod = require("zod");
3
3
  //#region src/actions/list-roles.ts
4
4
  const SpokiListRolesInput = zod.z.object({}).describe("Request parameters for listing user roles. No parameters required.");
5
5
  const SpokiListRoles_UserSummarySchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the user"),
7
- uid: zod.z.string().describe("Unique user identifier (UID)"),
8
- email: zod.z.string().describe("Email address of the user"),
6
+ id: zod.z.number().int().describe("Unique identifier of the user").nullable(),
7
+ uid: zod.z.string().describe("Unique user identifier (UID)").nullable(),
8
+ email: zod.z.string().describe("Email address of the user").nullable(),
9
9
  image: zod.z.string().describe("URL of the user profile image").nullable().optional(),
10
- surname: zod.z.string().describe("Surname of the user"),
11
- firstname: zod.z.string().describe("First name of the user"),
12
- is_service: zod.z.boolean().describe("Indicates if the user is a service user")
13
- }).describe("Represents a user associated with a role.");
10
+ surname: zod.z.string().describe("Surname of the user").nullable(),
11
+ firstname: zod.z.string().describe("First name of the user").nullable(),
12
+ is_service: zod.z.boolean().describe("Indicates if the user is a service user").nullable()
13
+ }).passthrough().describe("Represents a user associated with a role.");
14
14
  const SpokiListRoles_RoleItemSchema = zod.z.object({
15
- id: zod.z.number().int().describe("Unique identifier of the role assignment"),
16
- role: zod.z.string().describe("Role name (e.g., Owner, Chat Operator Manager)"),
15
+ id: zod.z.number().int().describe("Unique identifier of the role assignment").nullable(),
16
+ role: zod.z.string().describe("Role name (e.g., Owner, Chat Operator Manager)").nullable(),
17
17
  user: SpokiListRoles_UserSummarySchema.nullable(),
18
- is_active: zod.z.boolean().describe("Indicates if the role is currently active"),
19
- created_datetime: zod.z.string().describe("Timestamp when the role was created (ISO 8601)"),
20
- updated_datetime: zod.z.string().describe("Timestamp when the role was last updated (ISO 8601)")
21
- }).describe("Represents a role assignment in the system.");
18
+ is_active: zod.z.boolean().describe("Indicates if the role is currently active").nullable(),
19
+ created_datetime: zod.z.string().describe("Timestamp when the role was created (ISO 8601)").nullable(),
20
+ updated_datetime: zod.z.string().describe("Timestamp when the role was last updated (ISO 8601)").nullable()
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
- count: zod.z.number().int().describe("Total number of roles"),
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.ZodTypeAny = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_UserSummarySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n uid: z.string().describe(\"Unique user identifier (UID)\"),\n email: z.string().describe(\"Email address of the user\"),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\"),\n firstname: z.string().describe(\"First name of the user\"),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\"),\n}).describe(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\"),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\"),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\"),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\"),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\"),\n}).describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput: z.ZodTypeAny = 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\"),\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,sBAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC3I,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACvD,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AAC5E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAM,iCAAiC,SAAS;CAChD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,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;CACxD,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,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,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MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-roles.d.ts
4
- declare const SpokiListRolesInput: z.ZodTypeAny;
5
- declare const SpokiListRolesOutput: z.ZodTypeAny;
6
- declare const spokiListRoles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiListRolesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpokiListRolesOutput: z.ZodObject<{
6
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ count: z.ZodNullable<z.ZodNumber>;
8
+ results: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ role: z.ZodNullable<z.ZodString>;
11
+ user: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodNumber>;
13
+ uid: z.ZodNullable<z.ZodString>;
14
+ email: z.ZodNullable<z.ZodString>;
15
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ surname: z.ZodNullable<z.ZodString>;
17
+ firstname: z.ZodNullable<z.ZodString>;
18
+ is_service: z.ZodNullable<z.ZodBoolean>;
19
+ }, z.core.$loose>>;
20
+ is_active: z.ZodNullable<z.ZodBoolean>;
21
+ created_datetime: z.ZodNullable<z.ZodString>;
22
+ updated_datetime: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$loose>>;
24
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>;
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]>;
7
27
  //#endregion
8
28
  export { spokiListRoles };
9
29
  //# sourceMappingURL=list-roles.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-roles.d.cts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAAwG;AAAA,cAkB/H,oBAAA,EAAsB,CAAA,CAAE,UAKgB;AAAA,cAExC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-roles.d.cts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-roles.d.ts
4
- declare const SpokiListRolesInput: z.ZodTypeAny;
5
- declare const SpokiListRolesOutput: z.ZodTypeAny;
6
- declare const spokiListRoles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiListRolesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpokiListRolesOutput: z.ZodObject<{
6
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ count: z.ZodNullable<z.ZodNumber>;
8
+ results: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ role: z.ZodNullable<z.ZodString>;
11
+ user: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodNumber>;
13
+ uid: z.ZodNullable<z.ZodString>;
14
+ email: z.ZodNullable<z.ZodString>;
15
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ surname: z.ZodNullable<z.ZodString>;
17
+ firstname: z.ZodNullable<z.ZodString>;
18
+ is_service: z.ZodNullable<z.ZodBoolean>;
19
+ }, z.core.$loose>>;
20
+ is_active: z.ZodNullable<z.ZodBoolean>;
21
+ created_datetime: z.ZodNullable<z.ZodString>;
22
+ updated_datetime: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$loose>>;
24
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>;
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]>;
7
27
  //#endregion
8
28
  export { spokiListRoles };
9
29
  //# sourceMappingURL=list-roles.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-roles.d.mts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAAwG;AAAA,cAkB/H,oBAAA,EAAsB,CAAA,CAAE,UAKgB;AAAA,cAExC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-roles.d.mts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,22 +3,22 @@ import { z } from "zod";
3
3
  //#region src/actions/list-roles.ts
4
4
  const SpokiListRolesInput = z.object({}).describe("Request parameters for listing user roles. No parameters required.");
5
5
  const SpokiListRoles_UserSummarySchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the user"),
7
- uid: z.string().describe("Unique user identifier (UID)"),
8
- email: z.string().describe("Email address of the user"),
6
+ id: z.number().int().describe("Unique identifier of the user").nullable(),
7
+ uid: z.string().describe("Unique user identifier (UID)").nullable(),
8
+ email: z.string().describe("Email address of the user").nullable(),
9
9
  image: z.string().describe("URL of the user profile image").nullable().optional(),
10
- surname: z.string().describe("Surname of the user"),
11
- firstname: z.string().describe("First name of the user"),
12
- is_service: z.boolean().describe("Indicates if the user is a service user")
13
- }).describe("Represents a user associated with a role.");
10
+ surname: z.string().describe("Surname of the user").nullable(),
11
+ firstname: z.string().describe("First name of the user").nullable(),
12
+ is_service: z.boolean().describe("Indicates if the user is a service user").nullable()
13
+ }).passthrough().describe("Represents a user associated with a role.");
14
14
  const SpokiListRoles_RoleItemSchema = z.object({
15
- id: z.number().int().describe("Unique identifier of the role assignment"),
16
- role: z.string().describe("Role name (e.g., Owner, Chat Operator Manager)"),
15
+ id: z.number().int().describe("Unique identifier of the role assignment").nullable(),
16
+ role: z.string().describe("Role name (e.g., Owner, Chat Operator Manager)").nullable(),
17
17
  user: SpokiListRoles_UserSummarySchema.nullable(),
18
- is_active: z.boolean().describe("Indicates if the role is currently active"),
19
- created_datetime: z.string().describe("Timestamp when the role was created (ISO 8601)"),
20
- updated_datetime: z.string().describe("Timestamp when the role was last updated (ISO 8601)")
21
- }).describe("Represents a role assignment in the system.");
18
+ is_active: z.boolean().describe("Indicates if the role is currently active").nullable(),
19
+ created_datetime: z.string().describe("Timestamp when the role was created (ISO 8601)").nullable(),
20
+ updated_datetime: z.string().describe("Timestamp when the role was last updated (ISO 8601)").nullable()
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",
@@ -26,10 +26,10 @@ const spokiListRoles = action("SPOKI_LIST_ROLES", {
26
26
  input: SpokiListRolesInput,
27
27
  output: z.object({
28
28
  next: z.string().describe("URL to next page of results, if any").nullable().optional(),
29
- count: z.number().int().describe("Total number of roles"),
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.ZodTypeAny = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_UserSummarySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n uid: z.string().describe(\"Unique user identifier (UID)\"),\n email: z.string().describe(\"Email address of the user\"),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\"),\n firstname: z.string().describe(\"First name of the user\"),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\"),\n}).describe(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\"),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\"),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\"),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\"),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\"),\n}).describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput: z.ZodTypeAny = 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\"),\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,sBAAoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC3I,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACvD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AAC5E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAM,iCAAiC,SAAS;CAChD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAQzD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;EACxD,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"}
@@ -3,17 +3,17 @@ let zod = require("zod");
3
3
  //#region src/actions/list-tags.ts
4
4
  const SpokiListTagsInput = zod.z.object({}).describe("Request model for listing tags. No parameters required.");
5
5
  const SpokiListTags_TagSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the tag"),
7
- name: zod.z.string().describe("Name of the tag"),
8
- color: zod.z.string().describe("Color code of the tag, e.g. #16d46d"),
9
- order: zod.z.number().int().describe("Order index of the tag")
10
- }).describe("Represents a tag resource.");
6
+ id: zod.z.number().int().describe("Unique identifier of the tag").nullable(),
7
+ name: zod.z.string().describe("Name of the tag").nullable(),
8
+ color: zod.z.string().describe("Color code of the tag, e.g. #16d46d").nullable(),
9
+ order: zod.z.number().int().describe("Order index of the tag").nullable()
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
- count: zod.z.number().int().describe("Total number of tags"),
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.ZodTypeAny = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\"),\n name: z.string().describe(\"Name of the tag\"),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\"),\n order: z.number().int().describe(\"Order index of the tag\"),\n}).describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput: z.ZodTypeAny = 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\"),\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,qBAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAC/H,MAAM,0BAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;AAC3D,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,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;CACvD,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"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-tags.d.ts
4
- declare const SpokiListTagsInput: z.ZodTypeAny;
5
- declare const SpokiListTagsOutput: z.ZodTypeAny;
6
- declare const spokiListTags: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiListTagsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpokiListTagsOutput: z.ZodObject<{
6
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ count: z.ZodNullable<z.ZodNumber>;
8
+ results: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ color: z.ZodNullable<z.ZodString>;
12
+ order: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$loose>>;
14
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
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]>;
7
17
  //#endregion
8
18
  export { spokiListTags };
9
19
  //# sourceMappingURL=list-tags.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-tags.d.cts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAA6F;AAAA,cAOnH,mBAAA,EAAqB,CAAA,CAAE,UAKW;AAAA,cAElC,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-tags.d.cts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAOnB,aAAA,gCAAa,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-tags.d.ts
4
- declare const SpokiListTagsInput: z.ZodTypeAny;
5
- declare const SpokiListTagsOutput: z.ZodTypeAny;
6
- declare const spokiListTags: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiListTagsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpokiListTagsOutput: z.ZodObject<{
6
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ count: z.ZodNullable<z.ZodNumber>;
8
+ results: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ color: z.ZodNullable<z.ZodString>;
12
+ order: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$loose>>;
14
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
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]>;
7
17
  //#endregion
8
18
  export { spokiListTags };
9
19
  //# sourceMappingURL=list-tags.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-tags.d.mts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAA6F;AAAA,cAOnH,mBAAA,EAAqB,CAAA,CAAE,UAKW;AAAA,cAElC,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-tags.d.mts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAOnB,aAAA,gCAAa,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,11 +3,11 @@ import { z } from "zod";
3
3
  //#region src/actions/list-tags.ts
4
4
  const SpokiListTagsInput = z.object({}).describe("Request model for listing tags. No parameters required.");
5
5
  const SpokiListTags_TagSchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the tag"),
7
- name: z.string().describe("Name of the tag"),
8
- color: z.string().describe("Color code of the tag, e.g. #16d46d"),
9
- order: z.number().int().describe("Order index of the tag")
10
- }).describe("Represents a tag resource.");
6
+ id: z.number().int().describe("Unique identifier of the tag").nullable(),
7
+ name: z.string().describe("Name of the tag").nullable(),
8
+ color: z.string().describe("Color code of the tag, e.g. #16d46d").nullable(),
9
+ order: z.number().int().describe("Order index of the tag").nullable()
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",
@@ -15,10 +15,10 @@ const spokiListTags = action("SPOKI_LIST_TAGS", {
15
15
  input: SpokiListTagsInput,
16
16
  output: z.object({
17
17
  next: z.string().describe("URL for next page of results, if any").nullable().optional(),
18
- count: z.number().int().describe("Total number of tags"),
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.ZodTypeAny = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\"),\n name: z.string().describe(\"Name of the tag\"),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\"),\n order: z.number().int().describe(\"Order index of the tag\"),\n}).describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput: z.ZodTypeAny = 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\"),\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,qBAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAC/H,MAAM,0BAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;AAC3D,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAQxC,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;EACvD,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"}