@keystrokehq/spoki 0.1.4 → 0.1.6

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 (469) 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 -0
  4. package/dist/actions/add-contact-operator.cjs.map +1 -1
  5. package/dist/actions/add-contact-operator.d.cts +3 -4
  6. package/dist/actions/add-contact-operator.d.cts.map +1 -1
  7. package/dist/actions/add-contact-operator.d.mts +3 -4
  8. package/dist/actions/add-contact-operator.d.mts.map +1 -1
  9. package/dist/actions/add-contact-operator.mjs +1 -0
  10. package/dist/actions/add-contact-operator.mjs.map +1 -1
  11. package/dist/actions/add-service-user.cjs +1 -0
  12. package/dist/actions/add-service-user.cjs.map +1 -1
  13. package/dist/actions/add-service-user.d.cts +3 -4
  14. package/dist/actions/add-service-user.d.cts.map +1 -1
  15. package/dist/actions/add-service-user.d.mts +3 -4
  16. package/dist/actions/add-service-user.d.mts.map +1 -1
  17. package/dist/actions/add-service-user.mjs +1 -0
  18. package/dist/actions/add-service-user.mjs.map +1 -1
  19. package/dist/actions/check-role-private-key.cjs +1 -0
  20. package/dist/actions/check-role-private-key.cjs.map +1 -1
  21. package/dist/actions/check-role-private-key.d.cts +3 -3
  22. package/dist/actions/check-role-private-key.d.cts.map +1 -1
  23. package/dist/actions/check-role-private-key.d.mts +3 -3
  24. package/dist/actions/check-role-private-key.d.mts.map +1 -1
  25. package/dist/actions/check-role-private-key.mjs +1 -0
  26. package/dist/actions/check-role-private-key.mjs.map +1 -1
  27. package/dist/actions/clone-template.cjs +1 -0
  28. package/dist/actions/clone-template.cjs.map +1 -1
  29. package/dist/actions/clone-template.d.cts +3 -3
  30. package/dist/actions/clone-template.d.cts.map +1 -1
  31. package/dist/actions/clone-template.d.mts +3 -3
  32. package/dist/actions/clone-template.d.mts.map +1 -1
  33. package/dist/actions/clone-template.mjs +1 -0
  34. package/dist/actions/clone-template.mjs.map +1 -1
  35. package/dist/actions/create-account-onboarding-link.cjs +1 -0
  36. package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
  37. package/dist/actions/create-account-onboarding-link.d.cts +3 -3
  38. package/dist/actions/create-account-onboarding-link.d.cts.map +1 -1
  39. package/dist/actions/create-account-onboarding-link.d.mts +3 -3
  40. package/dist/actions/create-account-onboarding-link.d.mts.map +1 -1
  41. package/dist/actions/create-account-onboarding-link.mjs +1 -0
  42. package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
  43. package/dist/actions/create-custom-field.cjs +1 -0
  44. package/dist/actions/create-custom-field.cjs.map +1 -1
  45. package/dist/actions/create-custom-field.d.cts +3 -6
  46. package/dist/actions/create-custom-field.d.cts.map +1 -1
  47. package/dist/actions/create-custom-field.d.mts +3 -6
  48. package/dist/actions/create-custom-field.d.mts.map +1 -1
  49. package/dist/actions/create-custom-field.mjs +1 -0
  50. package/dist/actions/create-custom-field.mjs.map +1 -1
  51. package/dist/actions/create-list.cjs +1 -0
  52. package/dist/actions/create-list.cjs.map +1 -1
  53. package/dist/actions/create-list.d.cts +3 -3
  54. package/dist/actions/create-list.d.cts.map +1 -1
  55. package/dist/actions/create-list.d.mts +3 -3
  56. package/dist/actions/create-list.d.mts.map +1 -1
  57. package/dist/actions/create-list.mjs +1 -0
  58. package/dist/actions/create-list.mjs.map +1 -1
  59. package/dist/actions/create-media.cjs +1 -0
  60. package/dist/actions/create-media.cjs.map +1 -1
  61. package/dist/actions/create-media.d.cts +3 -6
  62. package/dist/actions/create-media.d.cts.map +1 -1
  63. package/dist/actions/create-media.d.mts +3 -6
  64. package/dist/actions/create-media.d.mts.map +1 -1
  65. package/dist/actions/create-media.mjs +1 -0
  66. package/dist/actions/create-media.mjs.map +1 -1
  67. package/dist/actions/create-or-update-contact.cjs +1 -0
  68. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  69. package/dist/actions/create-or-update-contact.d.cts +3 -8
  70. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  71. package/dist/actions/create-or-update-contact.d.mts +3 -8
  72. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  73. package/dist/actions/create-or-update-contact.mjs +1 -0
  74. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  75. package/dist/actions/create-template.cjs +1 -0
  76. package/dist/actions/create-template.cjs.map +1 -1
  77. package/dist/actions/create-template.d.cts +3 -20
  78. package/dist/actions/create-template.d.cts.map +1 -1
  79. package/dist/actions/create-template.d.mts +3 -20
  80. package/dist/actions/create-template.d.mts.map +1 -1
  81. package/dist/actions/create-template.mjs +1 -0
  82. package/dist/actions/create-template.mjs.map +1 -1
  83. package/dist/actions/create-ticket.cjs +1 -0
  84. package/dist/actions/create-ticket.cjs.map +1 -1
  85. package/dist/actions/create-ticket.d.cts +3 -8
  86. package/dist/actions/create-ticket.d.cts.map +1 -1
  87. package/dist/actions/create-ticket.d.mts +3 -8
  88. package/dist/actions/create-ticket.d.mts.map +1 -1
  89. package/dist/actions/create-ticket.mjs +1 -0
  90. package/dist/actions/create-ticket.mjs.map +1 -1
  91. package/dist/actions/delete-contact.cjs +1 -0
  92. package/dist/actions/delete-contact.cjs.map +1 -1
  93. package/dist/actions/delete-contact.d.cts +3 -3
  94. package/dist/actions/delete-contact.d.cts.map +1 -1
  95. package/dist/actions/delete-contact.d.mts +3 -3
  96. package/dist/actions/delete-contact.d.mts.map +1 -1
  97. package/dist/actions/delete-contact.mjs +1 -0
  98. package/dist/actions/delete-contact.mjs.map +1 -1
  99. package/dist/actions/delete-custom-field.cjs +1 -0
  100. package/dist/actions/delete-custom-field.cjs.map +1 -1
  101. package/dist/actions/delete-custom-field.d.cts +3 -3
  102. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  103. package/dist/actions/delete-custom-field.d.mts +3 -3
  104. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  105. package/dist/actions/delete-custom-field.mjs +1 -0
  106. package/dist/actions/delete-custom-field.mjs.map +1 -1
  107. package/dist/actions/delete-list.cjs +1 -0
  108. package/dist/actions/delete-list.cjs.map +1 -1
  109. package/dist/actions/delete-list.d.cts +3 -3
  110. package/dist/actions/delete-list.d.cts.map +1 -1
  111. package/dist/actions/delete-list.d.mts +3 -3
  112. package/dist/actions/delete-list.d.mts.map +1 -1
  113. package/dist/actions/delete-list.mjs +1 -0
  114. package/dist/actions/delete-list.mjs.map +1 -1
  115. package/dist/actions/delete-media.cjs +1 -0
  116. package/dist/actions/delete-media.cjs.map +1 -1
  117. package/dist/actions/delete-media.d.cts +3 -3
  118. package/dist/actions/delete-media.d.cts.map +1 -1
  119. package/dist/actions/delete-media.d.mts +3 -3
  120. package/dist/actions/delete-media.d.mts.map +1 -1
  121. package/dist/actions/delete-media.mjs +1 -0
  122. package/dist/actions/delete-media.mjs.map +1 -1
  123. package/dist/actions/delete-role.cjs +1 -0
  124. package/dist/actions/delete-role.cjs.map +1 -1
  125. package/dist/actions/delete-role.d.cts +3 -3
  126. package/dist/actions/delete-role.d.cts.map +1 -1
  127. package/dist/actions/delete-role.d.mts +3 -3
  128. package/dist/actions/delete-role.d.mts.map +1 -1
  129. package/dist/actions/delete-role.mjs +1 -0
  130. package/dist/actions/delete-role.mjs.map +1 -1
  131. package/dist/actions/delete-template.cjs +1 -0
  132. package/dist/actions/delete-template.cjs.map +1 -1
  133. package/dist/actions/delete-template.d.cts +3 -4
  134. package/dist/actions/delete-template.d.cts.map +1 -1
  135. package/dist/actions/delete-template.d.mts +3 -4
  136. package/dist/actions/delete-template.d.mts.map +1 -1
  137. package/dist/actions/delete-template.mjs +1 -0
  138. package/dist/actions/delete-template.mjs.map +1 -1
  139. package/dist/actions/delete-ticket.cjs +1 -0
  140. package/dist/actions/delete-ticket.cjs.map +1 -1
  141. package/dist/actions/delete-ticket.d.cts +3 -3
  142. package/dist/actions/delete-ticket.d.cts.map +1 -1
  143. package/dist/actions/delete-ticket.d.mts +3 -3
  144. package/dist/actions/delete-ticket.d.mts.map +1 -1
  145. package/dist/actions/delete-ticket.mjs +1 -0
  146. package/dist/actions/delete-ticket.mjs.map +1 -1
  147. package/dist/actions/generate-role-private-key.cjs +1 -0
  148. package/dist/actions/generate-role-private-key.cjs.map +1 -1
  149. package/dist/actions/generate-role-private-key.d.cts +3 -3
  150. package/dist/actions/generate-role-private-key.d.cts.map +1 -1
  151. package/dist/actions/generate-role-private-key.d.mts +3 -3
  152. package/dist/actions/generate-role-private-key.d.mts.map +1 -1
  153. package/dist/actions/generate-role-private-key.mjs +1 -0
  154. package/dist/actions/generate-role-private-key.mjs.map +1 -1
  155. package/dist/actions/get-account-current-report.cjs +1 -0
  156. package/dist/actions/get-account-current-report.cjs.map +1 -1
  157. package/dist/actions/get-account-current-report.d.cts +3 -3
  158. package/dist/actions/get-account-current-report.d.cts.map +1 -1
  159. package/dist/actions/get-account-current-report.d.mts +3 -3
  160. package/dist/actions/get-account-current-report.d.mts.map +1 -1
  161. package/dist/actions/get-account-current-report.mjs +1 -0
  162. package/dist/actions/get-account-current-report.mjs.map +1 -1
  163. package/dist/actions/list-accounts.cjs +1 -0
  164. package/dist/actions/list-accounts.cjs.map +1 -1
  165. package/dist/actions/list-accounts.d.cts +3 -4
  166. package/dist/actions/list-accounts.d.cts.map +1 -1
  167. package/dist/actions/list-accounts.d.mts +3 -4
  168. package/dist/actions/list-accounts.d.mts.map +1 -1
  169. package/dist/actions/list-accounts.mjs +1 -0
  170. package/dist/actions/list-accounts.mjs.map +1 -1
  171. package/dist/actions/list-agencies.cjs +1 -0
  172. package/dist/actions/list-agencies.cjs.map +1 -1
  173. package/dist/actions/list-agencies.d.cts +3 -1
  174. package/dist/actions/list-agencies.d.cts.map +1 -1
  175. package/dist/actions/list-agencies.d.mts +3 -1
  176. package/dist/actions/list-agencies.d.mts.map +1 -1
  177. package/dist/actions/list-agencies.mjs +1 -0
  178. package/dist/actions/list-agencies.mjs.map +1 -1
  179. package/dist/actions/list-automations.cjs +1 -0
  180. package/dist/actions/list-automations.cjs.map +1 -1
  181. package/dist/actions/list-automations.d.cts +3 -5
  182. package/dist/actions/list-automations.d.cts.map +1 -1
  183. package/dist/actions/list-automations.d.mts +3 -5
  184. package/dist/actions/list-automations.d.mts.map +1 -1
  185. package/dist/actions/list-automations.mjs +1 -0
  186. package/dist/actions/list-automations.mjs.map +1 -1
  187. package/dist/actions/list-campaigns.cjs +1 -0
  188. package/dist/actions/list-campaigns.cjs.map +1 -1
  189. package/dist/actions/list-campaigns.d.cts +3 -6
  190. package/dist/actions/list-campaigns.d.cts.map +1 -1
  191. package/dist/actions/list-campaigns.d.mts +3 -6
  192. package/dist/actions/list-campaigns.d.mts.map +1 -1
  193. package/dist/actions/list-campaigns.mjs +1 -0
  194. package/dist/actions/list-campaigns.mjs.map +1 -1
  195. package/dist/actions/list-contacts.cjs +1 -0
  196. package/dist/actions/list-contacts.cjs.map +1 -1
  197. package/dist/actions/list-contacts.d.cts +3 -12
  198. package/dist/actions/list-contacts.d.cts.map +1 -1
  199. package/dist/actions/list-contacts.d.mts +3 -12
  200. package/dist/actions/list-contacts.d.mts.map +1 -1
  201. package/dist/actions/list-contacts.mjs +1 -0
  202. package/dist/actions/list-contacts.mjs.map +1 -1
  203. package/dist/actions/list-custom-fields.cjs +1 -0
  204. package/dist/actions/list-custom-fields.cjs.map +1 -1
  205. package/dist/actions/list-custom-fields.d.cts +3 -4
  206. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  207. package/dist/actions/list-custom-fields.d.mts +3 -4
  208. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  209. package/dist/actions/list-custom-fields.mjs +1 -0
  210. package/dist/actions/list-custom-fields.mjs.map +1 -1
  211. package/dist/actions/list-lists.cjs +1 -0
  212. package/dist/actions/list-lists.cjs.map +1 -1
  213. package/dist/actions/list-lists.d.cts +3 -5
  214. package/dist/actions/list-lists.d.cts.map +1 -1
  215. package/dist/actions/list-lists.d.mts +3 -5
  216. package/dist/actions/list-lists.d.mts.map +1 -1
  217. package/dist/actions/list-lists.mjs +1 -0
  218. package/dist/actions/list-lists.mjs.map +1 -1
  219. package/dist/actions/list-media.cjs +1 -0
  220. package/dist/actions/list-media.cjs.map +1 -1
  221. package/dist/actions/list-media.d.cts +3 -4
  222. package/dist/actions/list-media.d.cts.map +1 -1
  223. package/dist/actions/list-media.d.mts +3 -4
  224. package/dist/actions/list-media.d.mts.map +1 -1
  225. package/dist/actions/list-media.mjs +1 -0
  226. package/dist/actions/list-media.mjs.map +1 -1
  227. package/dist/actions/list-partners.cjs +1 -0
  228. package/dist/actions/list-partners.cjs.map +1 -1
  229. package/dist/actions/list-partners.d.cts +3 -1
  230. package/dist/actions/list-partners.d.cts.map +1 -1
  231. package/dist/actions/list-partners.d.mts +3 -1
  232. package/dist/actions/list-partners.d.mts.map +1 -1
  233. package/dist/actions/list-partners.mjs +1 -0
  234. package/dist/actions/list-partners.mjs.map +1 -1
  235. package/dist/actions/list-reports.cjs +1 -0
  236. package/dist/actions/list-reports.cjs.map +1 -1
  237. package/dist/actions/list-reports.d.cts +3 -7
  238. package/dist/actions/list-reports.d.cts.map +1 -1
  239. package/dist/actions/list-reports.d.mts +3 -7
  240. package/dist/actions/list-reports.d.mts.map +1 -1
  241. package/dist/actions/list-reports.mjs +1 -0
  242. package/dist/actions/list-reports.mjs.map +1 -1
  243. package/dist/actions/list-roles.cjs +1 -0
  244. package/dist/actions/list-roles.cjs.map +1 -1
  245. package/dist/actions/list-roles.d.cts +3 -1
  246. package/dist/actions/list-roles.d.cts.map +1 -1
  247. package/dist/actions/list-roles.d.mts +3 -1
  248. package/dist/actions/list-roles.d.mts.map +1 -1
  249. package/dist/actions/list-roles.mjs +1 -0
  250. package/dist/actions/list-roles.mjs.map +1 -1
  251. package/dist/actions/list-tags.cjs +1 -0
  252. package/dist/actions/list-tags.cjs.map +1 -1
  253. package/dist/actions/list-tags.d.cts +3 -1
  254. package/dist/actions/list-tags.d.cts.map +1 -1
  255. package/dist/actions/list-tags.d.mts +3 -1
  256. package/dist/actions/list-tags.d.mts.map +1 -1
  257. package/dist/actions/list-tags.mjs +1 -0
  258. package/dist/actions/list-tags.mjs.map +1 -1
  259. package/dist/actions/list-templates.cjs +1 -0
  260. package/dist/actions/list-templates.cjs.map +1 -1
  261. package/dist/actions/list-templates.d.cts +3 -3
  262. package/dist/actions/list-templates.d.cts.map +1 -1
  263. package/dist/actions/list-templates.d.mts +3 -3
  264. package/dist/actions/list-templates.d.mts.map +1 -1
  265. package/dist/actions/list-templates.mjs +1 -0
  266. package/dist/actions/list-templates.mjs.map +1 -1
  267. package/dist/actions/list-tickets.cjs +1 -0
  268. package/dist/actions/list-tickets.cjs.map +1 -1
  269. package/dist/actions/list-tickets.d.cts +3 -6
  270. package/dist/actions/list-tickets.d.cts.map +1 -1
  271. package/dist/actions/list-tickets.d.mts +3 -6
  272. package/dist/actions/list-tickets.d.mts.map +1 -1
  273. package/dist/actions/list-tickets.mjs +1 -0
  274. package/dist/actions/list-tickets.mjs.map +1 -1
  275. package/dist/actions/remove-all-list-contacts.cjs +1 -0
  276. package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
  277. package/dist/actions/remove-all-list-contacts.d.cts +3 -3
  278. package/dist/actions/remove-all-list-contacts.d.cts.map +1 -1
  279. package/dist/actions/remove-all-list-contacts.d.mts +3 -3
  280. package/dist/actions/remove-all-list-contacts.d.mts.map +1 -1
  281. package/dist/actions/remove-all-list-contacts.mjs +1 -0
  282. package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
  283. package/dist/actions/remove-contact-operator.cjs +1 -0
  284. package/dist/actions/remove-contact-operator.cjs.map +1 -1
  285. package/dist/actions/remove-contact-operator.d.cts +3 -4
  286. package/dist/actions/remove-contact-operator.d.cts.map +1 -1
  287. package/dist/actions/remove-contact-operator.d.mts +3 -4
  288. package/dist/actions/remove-contact-operator.d.mts.map +1 -1
  289. package/dist/actions/remove-contact-operator.mjs +1 -0
  290. package/dist/actions/remove-contact-operator.mjs.map +1 -1
  291. package/dist/actions/remove-list-contacts.cjs +1 -0
  292. package/dist/actions/remove-list-contacts.cjs.map +1 -1
  293. package/dist/actions/remove-list-contacts.d.cts +3 -4
  294. package/dist/actions/remove-list-contacts.d.cts.map +1 -1
  295. package/dist/actions/remove-list-contacts.d.mts +3 -4
  296. package/dist/actions/remove-list-contacts.d.mts.map +1 -1
  297. package/dist/actions/remove-list-contacts.mjs +1 -0
  298. package/dist/actions/remove-list-contacts.mjs.map +1 -1
  299. package/dist/actions/resend-invitation.cjs +1 -0
  300. package/dist/actions/resend-invitation.cjs.map +1 -1
  301. package/dist/actions/resend-invitation.d.cts +3 -3
  302. package/dist/actions/resend-invitation.d.cts.map +1 -1
  303. package/dist/actions/resend-invitation.d.mts +3 -3
  304. package/dist/actions/resend-invitation.d.mts.map +1 -1
  305. package/dist/actions/resend-invitation.mjs +1 -0
  306. package/dist/actions/resend-invitation.mjs.map +1 -1
  307. package/dist/actions/retrieve-account.cjs +1 -0
  308. package/dist/actions/retrieve-account.cjs.map +1 -1
  309. package/dist/actions/retrieve-account.d.cts +3 -3
  310. package/dist/actions/retrieve-account.d.cts.map +1 -1
  311. package/dist/actions/retrieve-account.d.mts +3 -3
  312. package/dist/actions/retrieve-account.d.mts.map +1 -1
  313. package/dist/actions/retrieve-account.mjs +1 -0
  314. package/dist/actions/retrieve-account.mjs.map +1 -1
  315. package/dist/actions/retrieve-automation.cjs +1 -0
  316. package/dist/actions/retrieve-automation.cjs.map +1 -1
  317. package/dist/actions/retrieve-automation.d.cts +3 -3
  318. package/dist/actions/retrieve-automation.d.cts.map +1 -1
  319. package/dist/actions/retrieve-automation.d.mts +3 -3
  320. package/dist/actions/retrieve-automation.d.mts.map +1 -1
  321. package/dist/actions/retrieve-automation.mjs +1 -0
  322. package/dist/actions/retrieve-automation.mjs.map +1 -1
  323. package/dist/actions/retrieve-contact.cjs +1 -0
  324. package/dist/actions/retrieve-contact.cjs.map +1 -1
  325. package/dist/actions/retrieve-contact.d.cts +3 -3
  326. package/dist/actions/retrieve-contact.d.cts.map +1 -1
  327. package/dist/actions/retrieve-contact.d.mts +3 -3
  328. package/dist/actions/retrieve-contact.d.mts.map +1 -1
  329. package/dist/actions/retrieve-contact.mjs +1 -0
  330. package/dist/actions/retrieve-contact.mjs.map +1 -1
  331. package/dist/actions/retrieve-custom-field.cjs +1 -0
  332. package/dist/actions/retrieve-custom-field.cjs.map +1 -1
  333. package/dist/actions/retrieve-custom-field.d.cts +3 -3
  334. package/dist/actions/retrieve-custom-field.d.cts.map +1 -1
  335. package/dist/actions/retrieve-custom-field.d.mts +3 -3
  336. package/dist/actions/retrieve-custom-field.d.mts.map +1 -1
  337. package/dist/actions/retrieve-custom-field.mjs +1 -0
  338. package/dist/actions/retrieve-custom-field.mjs.map +1 -1
  339. package/dist/actions/retrieve-list.cjs +1 -0
  340. package/dist/actions/retrieve-list.cjs.map +1 -1
  341. package/dist/actions/retrieve-list.d.cts +3 -3
  342. package/dist/actions/retrieve-list.d.cts.map +1 -1
  343. package/dist/actions/retrieve-list.d.mts +3 -3
  344. package/dist/actions/retrieve-list.d.mts.map +1 -1
  345. package/dist/actions/retrieve-list.mjs +1 -0
  346. package/dist/actions/retrieve-list.mjs.map +1 -1
  347. package/dist/actions/retrieve-media.cjs +1 -0
  348. package/dist/actions/retrieve-media.cjs.map +1 -1
  349. package/dist/actions/retrieve-media.d.cts +3 -3
  350. package/dist/actions/retrieve-media.d.cts.map +1 -1
  351. package/dist/actions/retrieve-media.d.mts +3 -3
  352. package/dist/actions/retrieve-media.d.mts.map +1 -1
  353. package/dist/actions/retrieve-media.mjs +1 -0
  354. package/dist/actions/retrieve-media.mjs.map +1 -1
  355. package/dist/actions/retrieve-role.cjs +1 -0
  356. package/dist/actions/retrieve-role.cjs.map +1 -1
  357. package/dist/actions/retrieve-role.d.cts +3 -3
  358. package/dist/actions/retrieve-role.d.cts.map +1 -1
  359. package/dist/actions/retrieve-role.d.mts +3 -3
  360. package/dist/actions/retrieve-role.d.mts.map +1 -1
  361. package/dist/actions/retrieve-role.mjs +1 -0
  362. package/dist/actions/retrieve-role.mjs.map +1 -1
  363. package/dist/actions/retrieve-tag.cjs +1 -0
  364. package/dist/actions/retrieve-tag.cjs.map +1 -1
  365. package/dist/actions/retrieve-tag.d.cts +3 -3
  366. package/dist/actions/retrieve-tag.d.cts.map +1 -1
  367. package/dist/actions/retrieve-tag.d.mts +3 -3
  368. package/dist/actions/retrieve-tag.d.mts.map +1 -1
  369. package/dist/actions/retrieve-tag.mjs +1 -0
  370. package/dist/actions/retrieve-tag.mjs.map +1 -1
  371. package/dist/actions/retrieve-template.cjs +1 -0
  372. package/dist/actions/retrieve-template.cjs.map +1 -1
  373. package/dist/actions/retrieve-template.d.cts +3 -3
  374. package/dist/actions/retrieve-template.d.cts.map +1 -1
  375. package/dist/actions/retrieve-template.d.mts +3 -3
  376. package/dist/actions/retrieve-template.d.mts.map +1 -1
  377. package/dist/actions/retrieve-template.mjs +1 -0
  378. package/dist/actions/retrieve-template.mjs.map +1 -1
  379. package/dist/actions/revert-template-to-draft.cjs +1 -0
  380. package/dist/actions/revert-template-to-draft.cjs.map +1 -1
  381. package/dist/actions/revert-template-to-draft.d.cts +3 -3
  382. package/dist/actions/revert-template-to-draft.d.cts.map +1 -1
  383. package/dist/actions/revert-template-to-draft.d.mts +3 -3
  384. package/dist/actions/revert-template-to-draft.d.mts.map +1 -1
  385. package/dist/actions/revert-template-to-draft.mjs +1 -0
  386. package/dist/actions/revert-template-to-draft.mjs.map +1 -1
  387. package/dist/actions/sync-contacts-bulk.cjs +1 -0
  388. package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
  389. package/dist/actions/sync-contacts-bulk.d.cts +3 -11
  390. package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
  391. package/dist/actions/sync-contacts-bulk.d.mts +3 -11
  392. package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
  393. package/dist/actions/sync-contacts-bulk.mjs +1 -0
  394. package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
  395. package/dist/actions/sync-list-contacts.cjs +1 -0
  396. package/dist/actions/sync-list-contacts.cjs.map +1 -1
  397. package/dist/actions/sync-list-contacts.d.cts +3 -12
  398. package/dist/actions/sync-list-contacts.d.cts.map +1 -1
  399. package/dist/actions/sync-list-contacts.d.mts +3 -12
  400. package/dist/actions/sync-list-contacts.d.mts.map +1 -1
  401. package/dist/actions/sync-list-contacts.mjs +1 -0
  402. package/dist/actions/sync-list-contacts.mjs.map +1 -1
  403. package/dist/actions/update-campaign.cjs +1 -0
  404. package/dist/actions/update-campaign.cjs.map +1 -1
  405. package/dist/actions/update-campaign.d.cts +3 -6
  406. package/dist/actions/update-campaign.d.cts.map +1 -1
  407. package/dist/actions/update-campaign.d.mts +3 -6
  408. package/dist/actions/update-campaign.d.mts.map +1 -1
  409. package/dist/actions/update-campaign.mjs +1 -0
  410. package/dist/actions/update-campaign.mjs.map +1 -1
  411. package/dist/actions/update-contact.cjs +1 -0
  412. package/dist/actions/update-contact.cjs.map +1 -1
  413. package/dist/actions/update-contact.d.cts +3 -9
  414. package/dist/actions/update-contact.d.cts.map +1 -1
  415. package/dist/actions/update-contact.d.mts +3 -9
  416. package/dist/actions/update-contact.d.mts.map +1 -1
  417. package/dist/actions/update-contact.mjs +1 -0
  418. package/dist/actions/update-contact.mjs.map +1 -1
  419. package/dist/actions/update-custom-field.cjs +1 -0
  420. package/dist/actions/update-custom-field.cjs.map +1 -1
  421. package/dist/actions/update-custom-field.d.cts +3 -4
  422. package/dist/actions/update-custom-field.d.cts.map +1 -1
  423. package/dist/actions/update-custom-field.d.mts +3 -4
  424. package/dist/actions/update-custom-field.d.mts.map +1 -1
  425. package/dist/actions/update-custom-field.mjs +1 -0
  426. package/dist/actions/update-custom-field.mjs.map +1 -1
  427. package/dist/actions/update-invitation-role.cjs +1 -0
  428. package/dist/actions/update-invitation-role.cjs.map +1 -1
  429. package/dist/actions/update-invitation-role.d.cts +3 -4
  430. package/dist/actions/update-invitation-role.d.cts.map +1 -1
  431. package/dist/actions/update-invitation-role.d.mts +3 -4
  432. package/dist/actions/update-invitation-role.d.mts.map +1 -1
  433. package/dist/actions/update-invitation-role.mjs +1 -0
  434. package/dist/actions/update-invitation-role.mjs.map +1 -1
  435. package/dist/actions/update-media.cjs +1 -0
  436. package/dist/actions/update-media.cjs.map +1 -1
  437. package/dist/actions/update-media.d.cts +3 -4
  438. package/dist/actions/update-media.d.cts.map +1 -1
  439. package/dist/actions/update-media.d.mts +3 -4
  440. package/dist/actions/update-media.d.mts.map +1 -1
  441. package/dist/actions/update-media.mjs +1 -0
  442. package/dist/actions/update-media.mjs.map +1 -1
  443. package/dist/actions/update-role.cjs +1 -0
  444. package/dist/actions/update-role.cjs.map +1 -1
  445. package/dist/actions/update-role.d.cts +3 -4
  446. package/dist/actions/update-role.d.cts.map +1 -1
  447. package/dist/actions/update-role.d.mts +3 -4
  448. package/dist/actions/update-role.d.mts.map +1 -1
  449. package/dist/actions/update-role.mjs +1 -0
  450. package/dist/actions/update-role.mjs.map +1 -1
  451. package/dist/actions/update-template.cjs +1 -0
  452. package/dist/actions/update-template.cjs.map +1 -1
  453. package/dist/actions/update-template.d.cts +3 -34
  454. package/dist/actions/update-template.d.cts.map +1 -1
  455. package/dist/actions/update-template.d.mts +3 -34
  456. package/dist/actions/update-template.d.mts.map +1 -1
  457. package/dist/actions/update-template.mjs +1 -0
  458. package/dist/actions/update-template.mjs.map +1 -1
  459. package/dist/app.cjs +5 -2
  460. package/dist/app.cjs.map +1 -1
  461. package/dist/app.d.cts +7 -1
  462. package/dist/app.d.cts.map +1 -1
  463. package/dist/app.d.mts +7 -1
  464. package/dist/app.d.mts.map +1 -1
  465. package/dist/app.mjs +3 -2
  466. package/dist/app.mjs.map +1 -1
  467. package/dist/index.d.cts +1 -1
  468. package/dist/index.d.mts +1 -1
  469. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-account.d.ts
@@ -33,9 +35,7 @@ declare const SpokiRetrieveAccountOutput: z.ZodObject<{
33
35
  facebook_conversions_api_enabled: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
34
36
  estimated_available_conversations: z.ZodNullable<z.ZodNumber>;
35
37
  }, z.core.$loose>;
36
- declare const spokiRetrieveAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- account_id: number;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const spokiRetrieveAccount: AppAction<typeof SpokiRetrieveAccountInput, typeof SpokiRetrieveAccountOutput, typeof spoki.credential>;
39
39
  //#endregion
40
40
  export { spokiRetrieveAccount };
41
41
  //# sourceMappingURL=retrieve-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-account.d.mts","names":[],"sources":["../../src/actions/retrieve-account.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"retrieve-account.d.mts","names":[],"sources":["../../src/actions/retrieve-account.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const spokiRetrieveAccount = action("SPOKI_RETRIEVE_ACCOUNT", {
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-account.mjs","names":[],"sources":["../../src/actions/retrieve-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAccountInput = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the Spoki account to retrieve. Must be a valid account ID accessible to the authenticated user.\"),\n}).describe(\"Request model for retrieving a specific Spoki account.\");\nexport const SpokiRetrieveAccountOutput = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Response model for a Spoki account.\");\n\nexport const spokiRetrieveAccount = action(\"SPOKI_RETRIEVE_ACCOUNT\", {\n slug: \"spoki-retrieve-account\",\n name: \"Retrieve Account\",\n description: \"Retrieves detailed information about a specific Spoki WhatsApp Business account. Returns comprehensive account details including credit balance, verification status, messaging limits, quality metrics, timezone settings, and Facebook integration configuration. Use this action when you need to check account status, credit levels, or configuration details. Note: You must have access permissions for the specified account ID.\",\n input: SpokiRetrieveAccountInput,\n output: SpokiRetrieveAccountOutput,\n});\n"],"mappings":";;AAqCA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAClK,CAAC,CAAC,CAAC,SAAS,wDAmCH;CACP,QAnCwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC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A0B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACnH,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,kCAAkC,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,mCAAmC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-account.mjs","names":[],"sources":["../../src/actions/retrieve-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveAccountInput = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the Spoki account to retrieve. Must be a valid account ID accessible to the authenticated user.\"),\n}).describe(\"Request model for retrieving a specific Spoki account.\");\nexport const SpokiRetrieveAccountOutput = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Response model for a Spoki account.\");\n\nexport const spokiRetrieveAccount: AppAction<\n typeof SpokiRetrieveAccountInput,\n typeof SpokiRetrieveAccountOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_ACCOUNT\", {\n slug: \"spoki-retrieve-account\",\n name: \"Retrieve Account\",\n description: \"Retrieves detailed information about a specific Spoki WhatsApp Business account. Returns comprehensive account details including credit balance, verification status, messaging limits, quality metrics, timezone settings, and Facebook integration configuration. Use this action when you need to check account status, credit levels, or configuration details. Note: You must have access permissions for the specified account ID.\",\n input: SpokiRetrieveAccountInput,\n output: SpokiRetrieveAccountOutput,\n});\n"],"mappings":";;;AAuCA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN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 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-automation.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-automation.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).passthrough().describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput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AAuC,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-automation.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).passthrough().describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation: AppAction<\n typeof SpokiRetrieveAutomationInput,\n typeof SpokiRetrieveAutomationOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput,\n output: SpokiRetrieveAutomationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-automation.d.ts
@@ -21,9 +23,7 @@ declare const SpokiRetrieveAutomationOutput: z.ZodObject<{
21
23
  automation_groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
22
24
  first_message_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const spokiRetrieveAutomation: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: number;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const spokiRetrieveAutomation: AppAction<typeof SpokiRetrieveAutomationInput, typeof SpokiRetrieveAutomationOutput, typeof spoki.credential>;
27
27
  //#endregion
28
28
  export { spokiRetrieveAutomation };
29
29
  //# sourceMappingURL=retrieve-automation.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-automation.d.cts","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAa7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"retrieve-automation.d.cts","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAa7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-automation.d.ts
@@ -21,9 +23,7 @@ declare const SpokiRetrieveAutomationOutput: z.ZodObject<{
21
23
  automation_groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
22
24
  first_message_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const spokiRetrieveAutomation: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: number;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const spokiRetrieveAutomation: AppAction<typeof SpokiRetrieveAutomationInput, typeof SpokiRetrieveAutomationOutput, typeof spoki.credential>;
27
27
  //#endregion
28
28
  export { spokiRetrieveAutomation };
29
29
  //# sourceMappingURL=retrieve-automation.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-automation.d.mts","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAa7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"retrieve-automation.d.mts","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAa7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/retrieve-automation.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-automation.mjs","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).passthrough().describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput,\n output: SpokiRetrieveAutomationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAcnE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACtD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,mBAAmB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-automation.mjs","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).passthrough().describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation: AppAction<\n typeof SpokiRetrieveAutomationInput,\n typeof SpokiRetrieveAutomationOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput,\n output: SpokiRetrieveAutomationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EAC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Q,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-contact.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).passthrough().describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).passthrough().describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).passthrough().describe(\"Full contact details returned by Spoki.\");\n\nexport const spokiRetrieveContact = action(\"SPOKI_RETRIEVE_CONTACT\", {\n slug: \"spoki-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Tool to retrieve details of a specific contact. Use when you have a contact ID and need full profile details.\",\n input: SpokiRetrieveContactInput,\n output: SpokiRetrieveContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC1F,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AAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-contact.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).passthrough().describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).passthrough().describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).passthrough().describe(\"Full contact details returned by Spoki.\");\n\nexport const spokiRetrieveContact: AppAction<\n typeof SpokiRetrieveContactInput,\n typeof SpokiRetrieveContactOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_CONTACT\", {\n slug: \"spoki-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Tool to retrieve details of a specific contact. Use when you have a contact ID and need full profile details.\",\n input: SpokiRetrieveContactInput,\n output: SpokiRetrieveContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,S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AAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-contact.d.ts
@@ -43,9 +45,7 @@ declare const SpokiRetrieveContactOutput: z.ZodObject<{
43
45
  has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
44
46
  contactfield_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
47
  }, z.core.$loose>;
46
- declare const spokiRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- contact_id: number;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const spokiRetrieveContact: AppAction<typeof SpokiRetrieveContactInput, typeof SpokiRetrieveContactOutput, typeof spoki.credential>;
49
49
  //#endregion
50
50
  export { spokiRetrieveContact };
51
51
  //# sourceMappingURL=retrieve-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-contact.d.cts","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoB1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"retrieve-contact.d.cts","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-contact.d.ts
@@ -43,9 +45,7 @@ declare const SpokiRetrieveContactOutput: z.ZodObject<{
43
45
  has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
44
46
  contactfield_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
47
  }, z.core.$loose>;
46
- declare const spokiRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- contact_id: number;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const spokiRetrieveContact: AppAction<typeof SpokiRetrieveContactInput, typeof SpokiRetrieveContactOutput, typeof spoki.credential>;
49
49
  //#endregion
50
50
  export { spokiRetrieveContact };
51
51
  //# sourceMappingURL=retrieve-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-contact.d.mts","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoB1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"retrieve-contact.d.mts","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/retrieve-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-contact.mjs","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).passthrough().describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).passthrough().describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).passthrough().describe(\"Full contact details returned by Spoki.\");\n\nexport const spokiRetrieveContact = action(\"SPOKI_RETRIEVE_CONTACT\", {\n slug: \"spoki-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Tool to retrieve details of a specific contact. Use when you have a contact ID and need full profile details.\",\n input: SpokiRetrieveContactInput,\n output: SpokiRetrieveContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,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,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC/F,kBAAkB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpG,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-contact.mjs","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).passthrough().describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).passthrough().describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).passthrough().describe(\"Full contact details returned by Spoki.\");\n\nexport const spokiRetrieveContact: AppAction<\n typeof SpokiRetrieveContactInput,\n typeof SpokiRetrieveContactOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_CONTACT\", {\n slug: \"spoki-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Tool to retrieve details of a specific contact. Use when you have a contact ID and need full profile details.\",\n input: SpokiRetrieveContactInput,\n output: SpokiRetrieveContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS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MAAM,uCAAuC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpG,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-custom-field.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveCustomFieldInput = z.object({\n custom_field_id: z.number().int().describe(\"The unique identifier of the custom field to retrieve\"),\n}).describe(\"Request model for retrieving a custom field by its ID.\");\nexport const SpokiRetrieveCustomFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"The programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"The human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"An example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether this custom field is linked/active in the system\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"The type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the retrieved custom field.\");\n\nexport const spokiRetrieveCustomField = action(\"SPOKI_RETRIEVE_CUSTOM_FIELD\", {\n slug: \"spoki-retrieve-custom-field\",\n name: \"Retrieve Custom Field\",\n description: \"Tool to retrieve details of a specific custom field. Use when you have a field ID and need its metadata before using it in automations.\",\n input: SpokiRetrieveCustomFieldInput,\n output: SpokiRetrieveCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-custom-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveCustomFieldInput = z.object({\n custom_field_id: z.number().int().describe(\"The unique identifier of the custom field to retrieve\"),\n}).describe(\"Request model for retrieving a custom field by its ID.\");\nexport const SpokiRetrieveCustomFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"The programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"The human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"An example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether this custom field is linked/active in the system\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"The type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the retrieved custom field.\");\n\nexport const spokiRetrieveCustomField: AppAction<\n typeof SpokiRetrieveCustomFieldInput,\n typeof SpokiRetrieveCustomFieldOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_CUSTOM_FIELD\", {\n slug: \"spoki-retrieve-custom-field\",\n name: \"Retrieve Custom Field\",\n description: \"Tool to retrieve details of a specific custom field. Use when you have a field ID and need its metadata before using it in automations.\",\n input: SpokiRetrieveCustomFieldInput,\n output: SpokiRetrieveCustomFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-custom-field.d.ts
@@ -12,9 +14,7 @@ declare const SpokiRetrieveCustomFieldOutput: z.ZodObject<{
12
14
  is_linked: z.ZodNullable<z.ZodBoolean>;
13
15
  field_type: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
14
16
  }, z.core.$loose>;
15
- declare const spokiRetrieveCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- custom_field_id: number;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const spokiRetrieveCustomField: AppAction<typeof SpokiRetrieveCustomFieldInput, typeof SpokiRetrieveCustomFieldOutput, typeof spoki.credential>;
18
18
  //#endregion
19
19
  export { spokiRetrieveCustomField };
20
20
  //# sourceMappingURL=retrieve-custom-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-custom-field.d.cts","names":[],"sources":["../../src/actions/retrieve-custom-field.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"retrieve-custom-field.d.cts","names":[],"sources":["../../src/actions/retrieve-custom-field.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-custom-field.d.ts
@@ -12,9 +14,7 @@ declare const SpokiRetrieveCustomFieldOutput: z.ZodObject<{
12
14
  is_linked: z.ZodNullable<z.ZodBoolean>;
13
15
  field_type: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
14
16
  }, z.core.$loose>;
15
- declare const spokiRetrieveCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- custom_field_id: number;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const spokiRetrieveCustomField: AppAction<typeof SpokiRetrieveCustomFieldInput, typeof SpokiRetrieveCustomFieldOutput, typeof spoki.credential>;
18
18
  //#endregion
19
19
  export { spokiRetrieveCustomField };
20
20
  //# sourceMappingURL=retrieve-custom-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-custom-field.d.mts","names":[],"sources":["../../src/actions/retrieve-custom-field.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"retrieve-custom-field.d.mts","names":[],"sources":["../../src/actions/retrieve-custom-field.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const spokiRetrieveCustomField = action("SPOKI_RETRIEVE_CUSTOM_FIELD", {
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-custom-field.mjs","names":[],"sources":["../../src/actions/retrieve-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveCustomFieldInput = z.object({\n custom_field_id: z.number().int().describe(\"The unique identifier of the custom field to retrieve\"),\n}).describe(\"Request model for retrieving a custom field by its ID.\");\nexport const SpokiRetrieveCustomFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"The programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"The human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"An example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether this custom field is linked/active in the system\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"The type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the retrieved custom field.\");\n\nexport const spokiRetrieveCustomField = action(\"SPOKI_RETRIEVE_CUSTOM_FIELD\", {\n slug: \"spoki-retrieve-custom-field\",\n name: \"Retrieve Custom Field\",\n description: \"Tool to retrieve details of a specific custom field. Use when you have a field ID and need its metadata before using it in automations.\",\n input: SpokiRetrieveCustomFieldInput,\n output: SpokiRetrieveCustomFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO,EACpD,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACpG,CAAC,CAAC,CAAC,SAAS,wDAcH;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-custom-field.mjs","names":[],"sources":["../../src/actions/retrieve-custom-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveCustomFieldInput = z.object({\n custom_field_id: z.number().int().describe(\"The unique identifier of the custom field to retrieve\"),\n}).describe(\"Request model for retrieving a custom field by its ID.\");\nexport const SpokiRetrieveCustomFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"The programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"The human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"An example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether this custom field is linked/active in the system\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"The type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the retrieved custom field.\");\n\nexport const spokiRetrieveCustomField: AppAction<\n typeof SpokiRetrieveCustomFieldInput,\n typeof SpokiRetrieveCustomFieldOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_CUSTOM_FIELD\", {\n slug: \"spoki-retrieve-custom-field\",\n name: \"Retrieve Custom Field\",\n description: \"Tool to retrieve details of a specific custom field. Use when you have a field ID and need its metadata before using it in automations.\",\n input: SpokiRetrieveCustomFieldInput,\n output: SpokiRetrieveCustomFieldOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO,EACpD,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACpG,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-list.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve\"),\n}).describe(\"Request model for retrieving a specific list by ID.\");\nexport const SpokiRetrieveListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Hex color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created, ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Response model containing details of a specific list.\");\n\nexport const spokiRetrieveList = action(\"SPOKI_RETRIEVE_LIST\", {\n slug: \"spoki-retrieve-list\",\n name: \"Retrieve List\",\n description: \"Tool to retrieve details of a specific list by ID. Use when you need list metadata and contact count. Rate limit: 5 requests per minute.\",\n input: SpokiRetrieveListInput,\n output: SpokiRetrieveListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-list.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve\"),\n}).describe(\"Request model for retrieving a specific list by ID.\");\nexport const SpokiRetrieveListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Hex color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created, ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Response model containing details of a specific list.\");\n\nexport const spokiRetrieveList: AppAction<\n typeof SpokiRetrieveListInput,\n typeof SpokiRetrieveListOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_LIST\", {\n slug: \"spoki-retrieve-list\",\n name: \"Retrieve List\",\n description: \"Tool to retrieve details of a specific list by ID. Use when you need list metadata and contact count. Rate limit: 5 requests per minute.\",\n input: SpokiRetrieveListInput,\n output: SpokiRetrieveListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-list.d.ts
@@ -11,9 +13,7 @@ declare const SpokiRetrieveListOutput: z.ZodObject<{
11
13
  contacts_count: z.ZodNullable<z.ZodNumber>;
12
14
  created_datetime: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const spokiRetrieveList: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- list_id: number;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const spokiRetrieveList: AppAction<typeof SpokiRetrieveListInput, typeof SpokiRetrieveListOutput, typeof spoki.credential>;
17
17
  //#endregion
18
18
  export { spokiRetrieveList };
19
19
  //# sourceMappingURL=retrieve-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-list.d.cts","names":[],"sources":["../../src/actions/retrieve-list.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"retrieve-list.d.cts","names":[],"sources":["../../src/actions/retrieve-list.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-list.d.ts
@@ -11,9 +13,7 @@ declare const SpokiRetrieveListOutput: z.ZodObject<{
11
13
  contacts_count: z.ZodNullable<z.ZodNumber>;
12
14
  created_datetime: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const spokiRetrieveList: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- list_id: number;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const spokiRetrieveList: AppAction<typeof SpokiRetrieveListInput, typeof SpokiRetrieveListOutput, typeof spoki.credential>;
17
17
  //#endregion
18
18
  export { spokiRetrieveList };
19
19
  //# sourceMappingURL=retrieve-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-list.d.mts","names":[],"sources":["../../src/actions/retrieve-list.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"retrieve-list.d.mts","names":[],"sources":["../../src/actions/retrieve-list.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const spokiRetrieveList = action("SPOKI_RETRIEVE_LIST", {
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-list.mjs","names":[],"sources":["../../src/actions/retrieve-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve\"),\n}).describe(\"Request model for retrieving a specific list by ID.\");\nexport const SpokiRetrieveListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Hex color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created, ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Response model containing details of a specific list.\");\n\nexport const spokiRetrieveList = action(\"SPOKI_RETRIEVE_LIST\", {\n slug: \"spoki-retrieve-list\",\n name: \"Retrieve List\",\n description: \"Tool to retrieve details of a specific list by ID. Use when you need list metadata and contact count. Rate limit: 5 requests per minute.\",\n input: SpokiRetrieveListInput,\n output: SpokiRetrieveListOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAbqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-list.mjs","names":[],"sources":["../../src/actions/retrieve-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve\"),\n}).describe(\"Request model for retrieving a specific list by ID.\");\nexport const SpokiRetrieveListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Hex color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created, ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Response model containing details of a specific list.\");\n\nexport const spokiRetrieveList: AppAction<\n typeof SpokiRetrieveListInput,\n typeof SpokiRetrieveListOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_LIST\", {\n slug: \"spoki-retrieve-list\",\n name: \"Retrieve List\",\n description: \"Tool to retrieve details of a specific list by ID. Use when you need list metadata and contact count. Rate limit: 5 requests per minute.\",\n input: SpokiRetrieveListInput,\n output: SpokiRetrieveListOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoC,EAAE,OAAO,EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,qDAiBH;CACP,QAjBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-media.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-media.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveMediaInput = z.object({\n id: z.string().describe(\"Unique identifier of the media file to retrieve\"),\n}).describe(\"Request model for retrieving a specific media file by ID.\");\nexport const SpokiRetrieveMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable().optional(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title or name of the media file\").nullable().optional(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file (e.g., image, video, document)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the media file (e.g., image/jpeg, video/mp4)\").nullable().optional(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a media file.\");\n\nexport const spokiRetrieveMedia = action(\"SPOKI_RETRIEVE_MEDIA\", {\n slug: \"spoki-retrieve-media\",\n name: \"Retrieve Media\",\n description: \"Tool to retrieve details of a specific media file by ID. Use when you need media file metadata.\",\n input: SpokiRetrieveMediaInput,\n output: SpokiRetrieveMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-media.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveMediaInput = z.object({\n id: z.string().describe(\"Unique identifier of the media file to retrieve\"),\n}).describe(\"Request model for retrieving a specific media file by ID.\");\nexport const SpokiRetrieveMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable().optional(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title or name of the media file\").nullable().optional(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file (e.g., image, video, document)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the media file (e.g., image/jpeg, video/mp4)\").nullable().optional(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a media file.\");\n\nexport const spokiRetrieveMedia: AppAction<\n typeof SpokiRetrieveMediaInput,\n typeof SpokiRetrieveMediaOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_MEDIA\", {\n slug: \"spoki-retrieve-media\",\n name: \"Retrieve Media\",\n description: \"Tool to retrieve details of a specific media file by ID. Use when you need media file metadata.\",\n input: SpokiRetrieveMediaInput,\n output: SpokiRetrieveMediaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-media.d.ts
@@ -14,9 +16,7 @@ declare const SpokiRetrieveMediaOutput: z.ZodObject<{
14
16
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const spokiRetrieveMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const spokiRetrieveMedia: AppAction<typeof SpokiRetrieveMediaInput, typeof SpokiRetrieveMediaOutput, typeof spoki.credential>;
20
20
  //#endregion
21
21
  export { spokiRetrieveMedia };
22
22
  //# sourceMappingURL=retrieve-media.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-media.d.cts","names":[],"sources":["../../src/actions/retrieve-media.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAWxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"retrieve-media.d.cts","names":[],"sources":["../../src/actions/retrieve-media.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAWxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spoki } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-media.d.ts
@@ -14,9 +16,7 @@ declare const SpokiRetrieveMediaOutput: z.ZodObject<{
14
16
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const spokiRetrieveMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const spokiRetrieveMedia: AppAction<typeof SpokiRetrieveMediaInput, typeof SpokiRetrieveMediaOutput, typeof spoki.credential>;
20
20
  //#endregion
21
21
  export { spokiRetrieveMedia };
22
22
  //# sourceMappingURL=retrieve-media.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-media.d.mts","names":[],"sources":["../../src/actions/retrieve-media.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAWxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"retrieve-media.d.mts","names":[],"sources":["../../src/actions/retrieve-media.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAWxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const spokiRetrieveMedia = action("SPOKI_RETRIEVE_MEDIA", {
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-media.mjs","names":[],"sources":["../../src/actions/retrieve-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveMediaInput = z.object({\n id: z.string().describe(\"Unique identifier of the media file to retrieve\"),\n}).describe(\"Request model for retrieving a specific media file by ID.\");\nexport const SpokiRetrieveMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable().optional(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title or name of the media file\").nullable().optional(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file (e.g., image, video, document)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the media file (e.g., image/jpeg, video/mp4)\").nullable().optional(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a media file.\");\n\nexport const spokiRetrieveMedia = action(\"SPOKI_RETRIEVE_MEDIA\", {\n slug: \"spoki-retrieve-media\",\n name: \"Retrieve Media\",\n description: \"Tool to retrieve details of a specific media file by ID. Use when you need media file metadata.\",\n input: SpokiRetrieveMediaInput,\n output: SpokiRetrieveMediaOutput,\n});\n"],"mappings":";;AAkBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,2DAgBH;CACP,QAhBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-media.mjs","names":[],"sources":["../../src/actions/retrieve-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiRetrieveMediaInput = z.object({\n id: z.string().describe(\"Unique identifier of the media file to retrieve\"),\n}).describe(\"Request model for retrieving a specific media file by ID.\");\nexport const SpokiRetrieveMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable().optional(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title or name of the media file\").nullable().optional(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file (e.g., image, video, document)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the media file (e.g., image/jpeg, video/mp4)\").nullable().optional(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a media file.\");\n\nexport const spokiRetrieveMedia: AppAction<\n typeof SpokiRetrieveMediaInput,\n typeof SpokiRetrieveMediaOutput,\n typeof spoki.credential\n> = action(\"SPOKI_RETRIEVE_MEDIA\", {\n slug: \"spoki-retrieve-media\",\n name: \"Retrieve Media\",\n description: \"Tool to retrieve details of a specific media file by ID. Use when you need media file metadata.\",\n input: SpokiRetrieveMediaInput,\n output: SpokiRetrieveMediaOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,2DAoBH;CACP,QApBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}