@keystrokehq/spoki 0.1.0 → 0.1.2

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 (423) 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.map +1 -1
  4. package/dist/actions/add-contact-operator.d.cts +9 -3
  5. package/dist/actions/add-contact-operator.d.cts.map +1 -1
  6. package/dist/actions/add-contact-operator.d.mts +9 -3
  7. package/dist/actions/add-contact-operator.d.mts.map +1 -1
  8. package/dist/actions/add-contact-operator.mjs.map +1 -1
  9. package/dist/actions/add-service-user.cjs +3 -3
  10. package/dist/actions/add-service-user.cjs.map +1 -1
  11. package/dist/actions/add-service-user.d.cts +13 -3
  12. package/dist/actions/add-service-user.d.cts.map +1 -1
  13. package/dist/actions/add-service-user.d.mts +13 -3
  14. package/dist/actions/add-service-user.d.mts.map +1 -1
  15. package/dist/actions/add-service-user.mjs +3 -3
  16. package/dist/actions/add-service-user.mjs.map +1 -1
  17. package/dist/actions/check-role-private-key.cjs +1 -1
  18. package/dist/actions/check-role-private-key.cjs.map +1 -1
  19. package/dist/actions/check-role-private-key.d.cts +9 -3
  20. package/dist/actions/check-role-private-key.d.cts.map +1 -1
  21. package/dist/actions/check-role-private-key.d.mts +9 -3
  22. package/dist/actions/check-role-private-key.d.mts.map +1 -1
  23. package/dist/actions/check-role-private-key.mjs +1 -1
  24. package/dist/actions/check-role-private-key.mjs.map +1 -1
  25. package/dist/actions/clone-template.cjs +12 -12
  26. package/dist/actions/clone-template.cjs.map +1 -1
  27. package/dist/actions/clone-template.d.cts +48 -3
  28. package/dist/actions/clone-template.d.cts.map +1 -1
  29. package/dist/actions/clone-template.d.mts +48 -3
  30. package/dist/actions/clone-template.d.mts.map +1 -1
  31. package/dist/actions/clone-template.mjs +12 -12
  32. package/dist/actions/clone-template.mjs.map +1 -1
  33. package/dist/actions/create-account-onboarding-link.cjs +3 -3
  34. package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
  35. package/dist/actions/create-account-onboarding-link.d.cts +11 -3
  36. package/dist/actions/create-account-onboarding-link.d.cts.map +1 -1
  37. package/dist/actions/create-account-onboarding-link.d.mts +11 -3
  38. package/dist/actions/create-account-onboarding-link.d.mts.map +1 -1
  39. package/dist/actions/create-account-onboarding-link.mjs +3 -3
  40. package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
  41. package/dist/actions/create-custom-field.cjs +6 -6
  42. package/dist/actions/create-custom-field.cjs.map +1 -1
  43. package/dist/actions/create-custom-field.d.cts +20 -3
  44. package/dist/actions/create-custom-field.d.cts.map +1 -1
  45. package/dist/actions/create-custom-field.d.mts +20 -3
  46. package/dist/actions/create-custom-field.d.mts.map +1 -1
  47. package/dist/actions/create-custom-field.mjs +6 -6
  48. package/dist/actions/create-custom-field.mjs.map +1 -1
  49. package/dist/actions/create-list.cjs +4 -4
  50. package/dist/actions/create-list.cjs.map +1 -1
  51. package/dist/actions/create-list.d.cts +13 -3
  52. package/dist/actions/create-list.d.cts.map +1 -1
  53. package/dist/actions/create-list.d.mts +13 -3
  54. package/dist/actions/create-list.d.mts.map +1 -1
  55. package/dist/actions/create-list.mjs +4 -4
  56. package/dist/actions/create-list.mjs.map +1 -1
  57. package/dist/actions/create-media.cjs.map +1 -1
  58. package/dist/actions/create-media.d.cts +19 -3
  59. package/dist/actions/create-media.d.cts.map +1 -1
  60. package/dist/actions/create-media.d.mts +19 -3
  61. package/dist/actions/create-media.d.mts.map +1 -1
  62. package/dist/actions/create-media.mjs.map +1 -1
  63. package/dist/actions/create-or-update-contact.cjs +8 -8
  64. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  65. package/dist/actions/create-or-update-contact.d.cts +30 -3
  66. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  67. package/dist/actions/create-or-update-contact.d.mts +30 -3
  68. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  69. package/dist/actions/create-or-update-contact.mjs +8 -8
  70. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  71. package/dist/actions/create-template.cjs +9 -9
  72. package/dist/actions/create-template.cjs.map +1 -1
  73. package/dist/actions/create-template.d.cts +93 -3
  74. package/dist/actions/create-template.d.cts.map +1 -1
  75. package/dist/actions/create-template.d.mts +93 -3
  76. package/dist/actions/create-template.d.mts.map +1 -1
  77. package/dist/actions/create-template.mjs +9 -9
  78. package/dist/actions/create-template.mjs.map +1 -1
  79. package/dist/actions/create-ticket.cjs +21 -21
  80. package/dist/actions/create-ticket.cjs.map +1 -1
  81. package/dist/actions/create-ticket.d.cts +65 -3
  82. package/dist/actions/create-ticket.d.cts.map +1 -1
  83. package/dist/actions/create-ticket.d.mts +65 -3
  84. package/dist/actions/create-ticket.d.mts.map +1 -1
  85. package/dist/actions/create-ticket.mjs +21 -21
  86. package/dist/actions/create-ticket.mjs.map +1 -1
  87. package/dist/actions/delete-contact.cjs.map +1 -1
  88. package/dist/actions/delete-contact.d.cts +7 -3
  89. package/dist/actions/delete-contact.d.cts.map +1 -1
  90. package/dist/actions/delete-contact.d.mts +7 -3
  91. package/dist/actions/delete-contact.d.mts.map +1 -1
  92. package/dist/actions/delete-contact.mjs.map +1 -1
  93. package/dist/actions/delete-custom-field.cjs.map +1 -1
  94. package/dist/actions/delete-custom-field.d.cts +7 -3
  95. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  96. package/dist/actions/delete-custom-field.d.mts +7 -3
  97. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  98. package/dist/actions/delete-custom-field.mjs.map +1 -1
  99. package/dist/actions/delete-list.cjs.map +1 -1
  100. package/dist/actions/delete-list.d.cts +7 -3
  101. package/dist/actions/delete-list.d.cts.map +1 -1
  102. package/dist/actions/delete-list.d.mts +7 -3
  103. package/dist/actions/delete-list.d.mts.map +1 -1
  104. package/dist/actions/delete-list.mjs.map +1 -1
  105. package/dist/actions/delete-media.cjs.map +1 -1
  106. package/dist/actions/delete-media.d.cts +7 -3
  107. package/dist/actions/delete-media.d.cts.map +1 -1
  108. package/dist/actions/delete-media.d.mts +7 -3
  109. package/dist/actions/delete-media.d.mts.map +1 -1
  110. package/dist/actions/delete-media.mjs.map +1 -1
  111. package/dist/actions/delete-role.cjs.map +1 -1
  112. package/dist/actions/delete-role.d.cts +7 -3
  113. package/dist/actions/delete-role.d.cts.map +1 -1
  114. package/dist/actions/delete-role.d.mts +7 -3
  115. package/dist/actions/delete-role.d.mts.map +1 -1
  116. package/dist/actions/delete-role.mjs.map +1 -1
  117. package/dist/actions/delete-template.cjs.map +1 -1
  118. package/dist/actions/delete-template.d.cts +11 -3
  119. package/dist/actions/delete-template.d.cts.map +1 -1
  120. package/dist/actions/delete-template.d.mts +11 -3
  121. package/dist/actions/delete-template.d.mts.map +1 -1
  122. package/dist/actions/delete-template.mjs.map +1 -1
  123. package/dist/actions/delete-ticket.cjs.map +1 -1
  124. package/dist/actions/delete-ticket.d.cts +7 -3
  125. package/dist/actions/delete-ticket.d.cts.map +1 -1
  126. package/dist/actions/delete-ticket.d.mts +7 -3
  127. package/dist/actions/delete-ticket.d.mts.map +1 -1
  128. package/dist/actions/delete-ticket.mjs.map +1 -1
  129. package/dist/actions/generate-role-private-key.cjs +1 -1
  130. package/dist/actions/generate-role-private-key.cjs.map +1 -1
  131. package/dist/actions/generate-role-private-key.d.cts +9 -3
  132. package/dist/actions/generate-role-private-key.d.cts.map +1 -1
  133. package/dist/actions/generate-role-private-key.d.mts +9 -3
  134. package/dist/actions/generate-role-private-key.d.mts.map +1 -1
  135. package/dist/actions/generate-role-private-key.mjs +1 -1
  136. package/dist/actions/generate-role-private-key.mjs.map +1 -1
  137. package/dist/actions/get-account-current-report.cjs.map +1 -1
  138. package/dist/actions/get-account-current-report.d.cts +22 -3
  139. package/dist/actions/get-account-current-report.d.cts.map +1 -1
  140. package/dist/actions/get-account-current-report.d.mts +22 -3
  141. package/dist/actions/get-account-current-report.d.mts.map +1 -1
  142. package/dist/actions/get-account-current-report.mjs.map +1 -1
  143. package/dist/actions/list-accounts.cjs +23 -23
  144. package/dist/actions/list-accounts.cjs.map +1 -1
  145. package/dist/actions/list-accounts.d.cts +42 -3
  146. package/dist/actions/list-accounts.d.cts.map +1 -1
  147. package/dist/actions/list-accounts.d.mts +42 -3
  148. package/dist/actions/list-accounts.d.mts.map +1 -1
  149. package/dist/actions/list-accounts.mjs +23 -23
  150. package/dist/actions/list-accounts.mjs.map +1 -1
  151. package/dist/actions/list-agencies.cjs.map +1 -1
  152. package/dist/actions/list-agencies.d.cts +3 -3
  153. package/dist/actions/list-agencies.d.cts.map +1 -1
  154. package/dist/actions/list-agencies.d.mts +3 -3
  155. package/dist/actions/list-agencies.d.mts.map +1 -1
  156. package/dist/actions/list-agencies.mjs.map +1 -1
  157. package/dist/actions/list-automations.cjs +11 -11
  158. package/dist/actions/list-automations.cjs.map +1 -1
  159. package/dist/actions/list-automations.d.cts +52 -3
  160. package/dist/actions/list-automations.d.cts.map +1 -1
  161. package/dist/actions/list-automations.d.mts +52 -3
  162. package/dist/actions/list-automations.d.mts.map +1 -1
  163. package/dist/actions/list-automations.mjs +11 -11
  164. package/dist/actions/list-automations.mjs.map +1 -1
  165. package/dist/actions/list-campaigns.cjs +22 -22
  166. package/dist/actions/list-campaigns.cjs.map +1 -1
  167. package/dist/actions/list-campaigns.d.cts +46 -3
  168. package/dist/actions/list-campaigns.d.cts.map +1 -1
  169. package/dist/actions/list-campaigns.d.mts +46 -3
  170. package/dist/actions/list-campaigns.d.mts.map +1 -1
  171. package/dist/actions/list-campaigns.mjs +22 -22
  172. package/dist/actions/list-campaigns.mjs.map +1 -1
  173. package/dist/actions/list-contacts.cjs +18 -18
  174. package/dist/actions/list-contacts.cjs.map +1 -1
  175. package/dist/actions/list-contacts.d.cts +60 -3
  176. package/dist/actions/list-contacts.d.cts.map +1 -1
  177. package/dist/actions/list-contacts.d.mts +60 -3
  178. package/dist/actions/list-contacts.d.mts.map +1 -1
  179. package/dist/actions/list-contacts.mjs +18 -18
  180. package/dist/actions/list-contacts.mjs.map +1 -1
  181. package/dist/actions/list-custom-fields.cjs +5 -5
  182. package/dist/actions/list-custom-fields.cjs.map +1 -1
  183. package/dist/actions/list-custom-fields.d.cts +18 -3
  184. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  185. package/dist/actions/list-custom-fields.d.mts +18 -3
  186. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  187. package/dist/actions/list-custom-fields.mjs +5 -5
  188. package/dist/actions/list-custom-fields.mjs.map +1 -1
  189. package/dist/actions/list-lists.cjs +5 -5
  190. package/dist/actions/list-lists.cjs.map +1 -1
  191. package/dist/actions/list-lists.d.cts +22 -3
  192. package/dist/actions/list-lists.d.cts.map +1 -1
  193. package/dist/actions/list-lists.d.mts +22 -3
  194. package/dist/actions/list-lists.d.mts.map +1 -1
  195. package/dist/actions/list-lists.mjs +5 -5
  196. package/dist/actions/list-lists.mjs.map +1 -1
  197. package/dist/actions/list-media.cjs +7 -7
  198. package/dist/actions/list-media.cjs.map +1 -1
  199. package/dist/actions/list-media.d.cts +23 -3
  200. package/dist/actions/list-media.d.cts.map +1 -1
  201. package/dist/actions/list-media.d.mts +23 -3
  202. package/dist/actions/list-media.d.mts.map +1 -1
  203. package/dist/actions/list-media.mjs +7 -7
  204. package/dist/actions/list-media.mjs.map +1 -1
  205. package/dist/actions/list-partners.cjs.map +1 -1
  206. package/dist/actions/list-partners.d.cts +3 -3
  207. package/dist/actions/list-partners.d.cts.map +1 -1
  208. package/dist/actions/list-partners.d.mts +3 -3
  209. package/dist/actions/list-partners.d.mts.map +1 -1
  210. package/dist/actions/list-partners.mjs.map +1 -1
  211. package/dist/actions/list-reports.cjs +1 -1
  212. package/dist/actions/list-reports.cjs.map +1 -1
  213. package/dist/actions/list-reports.d.cts +35 -3
  214. package/dist/actions/list-reports.d.cts.map +1 -1
  215. package/dist/actions/list-reports.d.mts +35 -3
  216. package/dist/actions/list-reports.d.mts.map +1 -1
  217. package/dist/actions/list-reports.mjs +1 -1
  218. package/dist/actions/list-reports.mjs.map +1 -1
  219. package/dist/actions/list-roles.cjs +12 -12
  220. package/dist/actions/list-roles.cjs.map +1 -1
  221. package/dist/actions/list-roles.d.cts +23 -3
  222. package/dist/actions/list-roles.d.cts.map +1 -1
  223. package/dist/actions/list-roles.d.mts +23 -3
  224. package/dist/actions/list-roles.d.mts.map +1 -1
  225. package/dist/actions/list-roles.mjs +12 -12
  226. package/dist/actions/list-roles.mjs.map +1 -1
  227. package/dist/actions/list-tags.cjs +5 -5
  228. package/dist/actions/list-tags.cjs.map +1 -1
  229. package/dist/actions/list-tags.d.cts +13 -3
  230. package/dist/actions/list-tags.d.cts.map +1 -1
  231. package/dist/actions/list-tags.d.mts +13 -3
  232. package/dist/actions/list-tags.d.mts.map +1 -1
  233. package/dist/actions/list-tags.mjs +5 -5
  234. package/dist/actions/list-tags.mjs.map +1 -1
  235. package/dist/actions/list-templates.cjs +15 -15
  236. package/dist/actions/list-templates.cjs.map +1 -1
  237. package/dist/actions/list-templates.d.cts +51 -3
  238. package/dist/actions/list-templates.d.cts.map +1 -1
  239. package/dist/actions/list-templates.d.mts +51 -3
  240. package/dist/actions/list-templates.d.mts.map +1 -1
  241. package/dist/actions/list-templates.mjs +15 -15
  242. package/dist/actions/list-templates.mjs.map +1 -1
  243. package/dist/actions/list-tickets.cjs +22 -22
  244. package/dist/actions/list-tickets.cjs.map +1 -1
  245. package/dist/actions/list-tickets.d.cts +63 -3
  246. package/dist/actions/list-tickets.d.cts.map +1 -1
  247. package/dist/actions/list-tickets.d.mts +63 -3
  248. package/dist/actions/list-tickets.d.mts.map +1 -1
  249. package/dist/actions/list-tickets.mjs +22 -22
  250. package/dist/actions/list-tickets.mjs.map +1 -1
  251. package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
  252. package/dist/actions/remove-all-list-contacts.d.cts +9 -3
  253. package/dist/actions/remove-all-list-contacts.d.cts.map +1 -1
  254. package/dist/actions/remove-all-list-contacts.d.mts +9 -3
  255. package/dist/actions/remove-all-list-contacts.d.mts.map +1 -1
  256. package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
  257. package/dist/actions/remove-contact-operator.cjs.map +1 -1
  258. package/dist/actions/remove-contact-operator.d.cts +11 -3
  259. package/dist/actions/remove-contact-operator.d.cts.map +1 -1
  260. package/dist/actions/remove-contact-operator.d.mts +11 -3
  261. package/dist/actions/remove-contact-operator.d.mts.map +1 -1
  262. package/dist/actions/remove-contact-operator.mjs.map +1 -1
  263. package/dist/actions/remove-list-contacts.cjs.map +1 -1
  264. package/dist/actions/remove-list-contacts.d.cts +11 -3
  265. package/dist/actions/remove-list-contacts.d.cts.map +1 -1
  266. package/dist/actions/remove-list-contacts.d.mts +11 -3
  267. package/dist/actions/remove-list-contacts.d.mts.map +1 -1
  268. package/dist/actions/remove-list-contacts.mjs.map +1 -1
  269. package/dist/actions/resend-invitation.cjs.map +1 -1
  270. package/dist/actions/resend-invitation.d.cts +10 -3
  271. package/dist/actions/resend-invitation.d.cts.map +1 -1
  272. package/dist/actions/resend-invitation.d.mts +10 -3
  273. package/dist/actions/resend-invitation.d.mts.map +1 -1
  274. package/dist/actions/resend-invitation.mjs.map +1 -1
  275. package/dist/actions/retrieve-account.cjs +22 -22
  276. package/dist/actions/retrieve-account.cjs.map +1 -1
  277. package/dist/actions/retrieve-account.d.cts +35 -3
  278. package/dist/actions/retrieve-account.d.cts.map +1 -1
  279. package/dist/actions/retrieve-account.d.mts +35 -3
  280. package/dist/actions/retrieve-account.d.mts.map +1 -1
  281. package/dist/actions/retrieve-account.mjs +22 -22
  282. package/dist/actions/retrieve-account.mjs.map +1 -1
  283. package/dist/actions/retrieve-automation.cjs +10 -10
  284. package/dist/actions/retrieve-automation.cjs.map +1 -1
  285. package/dist/actions/retrieve-automation.d.cts +23 -3
  286. package/dist/actions/retrieve-automation.d.cts.map +1 -1
  287. package/dist/actions/retrieve-automation.d.mts +23 -3
  288. package/dist/actions/retrieve-automation.d.mts.map +1 -1
  289. package/dist/actions/retrieve-automation.mjs +10 -10
  290. package/dist/actions/retrieve-automation.mjs.map +1 -1
  291. package/dist/actions/retrieve-contact.cjs +23 -23
  292. package/dist/actions/retrieve-contact.cjs.map +1 -1
  293. package/dist/actions/retrieve-contact.d.cts +45 -3
  294. package/dist/actions/retrieve-contact.d.cts.map +1 -1
  295. package/dist/actions/retrieve-contact.d.mts +45 -3
  296. package/dist/actions/retrieve-contact.d.mts.map +1 -1
  297. package/dist/actions/retrieve-contact.mjs +23 -23
  298. package/dist/actions/retrieve-contact.mjs.map +1 -1
  299. package/dist/actions/retrieve-custom-field.cjs +5 -5
  300. package/dist/actions/retrieve-custom-field.cjs.map +1 -1
  301. package/dist/actions/retrieve-custom-field.d.cts +14 -3
  302. package/dist/actions/retrieve-custom-field.d.cts.map +1 -1
  303. package/dist/actions/retrieve-custom-field.d.mts +14 -3
  304. package/dist/actions/retrieve-custom-field.d.mts.map +1 -1
  305. package/dist/actions/retrieve-custom-field.mjs +5 -5
  306. package/dist/actions/retrieve-custom-field.mjs.map +1 -1
  307. package/dist/actions/retrieve-list.cjs +4 -4
  308. package/dist/actions/retrieve-list.cjs.map +1 -1
  309. package/dist/actions/retrieve-list.d.cts +13 -3
  310. package/dist/actions/retrieve-list.d.cts.map +1 -1
  311. package/dist/actions/retrieve-list.d.mts +13 -3
  312. package/dist/actions/retrieve-list.d.mts.map +1 -1
  313. package/dist/actions/retrieve-list.mjs +4 -4
  314. package/dist/actions/retrieve-list.mjs.map +1 -1
  315. package/dist/actions/retrieve-media.cjs.map +1 -1
  316. package/dist/actions/retrieve-media.d.cts +16 -3
  317. package/dist/actions/retrieve-media.d.cts.map +1 -1
  318. package/dist/actions/retrieve-media.d.mts +16 -3
  319. package/dist/actions/retrieve-media.d.mts.map +1 -1
  320. package/dist/actions/retrieve-media.mjs.map +1 -1
  321. package/dist/actions/retrieve-role.cjs.map +1 -1
  322. package/dist/actions/retrieve-role.d.cts +22 -3
  323. package/dist/actions/retrieve-role.d.cts.map +1 -1
  324. package/dist/actions/retrieve-role.d.mts +22 -3
  325. package/dist/actions/retrieve-role.d.mts.map +1 -1
  326. package/dist/actions/retrieve-role.mjs.map +1 -1
  327. package/dist/actions/retrieve-tag.cjs.map +1 -1
  328. package/dist/actions/retrieve-tag.d.cts +12 -3
  329. package/dist/actions/retrieve-tag.d.cts.map +1 -1
  330. package/dist/actions/retrieve-tag.d.mts +12 -3
  331. package/dist/actions/retrieve-tag.d.mts.map +1 -1
  332. package/dist/actions/retrieve-tag.mjs.map +1 -1
  333. package/dist/actions/retrieve-template.cjs +14 -14
  334. package/dist/actions/retrieve-template.cjs.map +1 -1
  335. package/dist/actions/retrieve-template.d.cts +45 -3
  336. package/dist/actions/retrieve-template.d.cts.map +1 -1
  337. package/dist/actions/retrieve-template.d.mts +45 -3
  338. package/dist/actions/retrieve-template.d.mts.map +1 -1
  339. package/dist/actions/retrieve-template.mjs +14 -14
  340. package/dist/actions/retrieve-template.mjs.map +1 -1
  341. package/dist/actions/revert-template-to-draft.cjs +1 -1
  342. package/dist/actions/revert-template-to-draft.cjs.map +1 -1
  343. package/dist/actions/revert-template-to-draft.d.cts +9 -3
  344. package/dist/actions/revert-template-to-draft.d.cts.map +1 -1
  345. package/dist/actions/revert-template-to-draft.d.mts +9 -3
  346. package/dist/actions/revert-template-to-draft.d.mts.map +1 -1
  347. package/dist/actions/revert-template-to-draft.mjs +1 -1
  348. package/dist/actions/revert-template-to-draft.mjs.map +1 -1
  349. package/dist/actions/sync-contacts-bulk.cjs +8 -8
  350. package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
  351. package/dist/actions/sync-contacts-bulk.d.cts +40 -3
  352. package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
  353. package/dist/actions/sync-contacts-bulk.d.mts +40 -3
  354. package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
  355. package/dist/actions/sync-contacts-bulk.mjs +8 -8
  356. package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
  357. package/dist/actions/sync-list-contacts.cjs.map +1 -1
  358. package/dist/actions/sync-list-contacts.d.cts +25 -3
  359. package/dist/actions/sync-list-contacts.d.cts.map +1 -1
  360. package/dist/actions/sync-list-contacts.d.mts +25 -3
  361. package/dist/actions/sync-list-contacts.d.mts.map +1 -1
  362. package/dist/actions/sync-list-contacts.mjs.map +1 -1
  363. package/dist/actions/update-campaign.cjs +5 -5
  364. package/dist/actions/update-campaign.cjs.map +1 -1
  365. package/dist/actions/update-campaign.d.cts +22 -3
  366. package/dist/actions/update-campaign.d.cts.map +1 -1
  367. package/dist/actions/update-campaign.d.mts +22 -3
  368. package/dist/actions/update-campaign.d.mts.map +1 -1
  369. package/dist/actions/update-campaign.mjs +5 -5
  370. package/dist/actions/update-campaign.mjs.map +1 -1
  371. package/dist/actions/update-contact.cjs +5 -5
  372. package/dist/actions/update-contact.cjs.map +1 -1
  373. package/dist/actions/update-contact.d.cts +32 -3
  374. package/dist/actions/update-contact.d.cts.map +1 -1
  375. package/dist/actions/update-contact.d.mts +32 -3
  376. package/dist/actions/update-contact.d.mts.map +1 -1
  377. package/dist/actions/update-contact.mjs +5 -5
  378. package/dist/actions/update-contact.mjs.map +1 -1
  379. package/dist/actions/update-custom-field.cjs +5 -5
  380. package/dist/actions/update-custom-field.cjs.map +1 -1
  381. package/dist/actions/update-custom-field.d.cts +16 -3
  382. package/dist/actions/update-custom-field.d.cts.map +1 -1
  383. package/dist/actions/update-custom-field.d.mts +16 -3
  384. package/dist/actions/update-custom-field.d.mts.map +1 -1
  385. package/dist/actions/update-custom-field.mjs +5 -5
  386. package/dist/actions/update-custom-field.mjs.map +1 -1
  387. package/dist/actions/update-invitation-role.cjs.map +1 -1
  388. package/dist/actions/update-invitation-role.d.cts +14 -3
  389. package/dist/actions/update-invitation-role.d.cts.map +1 -1
  390. package/dist/actions/update-invitation-role.d.mts +14 -3
  391. package/dist/actions/update-invitation-role.d.mts.map +1 -1
  392. package/dist/actions/update-invitation-role.mjs.map +1 -1
  393. package/dist/actions/update-media.cjs +2 -2
  394. package/dist/actions/update-media.cjs.map +1 -1
  395. package/dist/actions/update-media.d.cts +18 -3
  396. package/dist/actions/update-media.d.cts.map +1 -1
  397. package/dist/actions/update-media.d.mts +18 -3
  398. package/dist/actions/update-media.d.mts.map +1 -1
  399. package/dist/actions/update-media.mjs +2 -2
  400. package/dist/actions/update-media.mjs.map +1 -1
  401. package/dist/actions/update-role.cjs +2 -2
  402. package/dist/actions/update-role.cjs.map +1 -1
  403. package/dist/actions/update-role.d.cts +13 -3
  404. package/dist/actions/update-role.d.cts.map +1 -1
  405. package/dist/actions/update-role.d.mts +13 -3
  406. package/dist/actions/update-role.d.mts.map +1 -1
  407. package/dist/actions/update-role.mjs +2 -2
  408. package/dist/actions/update-role.mjs.map +1 -1
  409. package/dist/actions/update-template.cjs +5 -5
  410. package/dist/actions/update-template.cjs.map +1 -1
  411. package/dist/actions/update-template.d.cts +81 -3
  412. package/dist/actions/update-template.d.cts.map +1 -1
  413. package/dist/actions/update-template.d.mts +81 -3
  414. package/dist/actions/update-template.d.mts.map +1 -1
  415. package/dist/actions/update-template.mjs +5 -5
  416. package/dist/actions/update-template.mjs.map +1 -1
  417. package/dist/catalog.cjs +7 -1
  418. package/dist/catalog.cjs.map +1 -1
  419. package/dist/catalog.d.cts +8 -0
  420. package/dist/catalog.d.mts +8 -0
  421. package/dist/catalog.mjs +7 -1
  422. package/dist/catalog.mjs.map +1 -1
  423. package/package.json +2 -2
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-account.d.ts
4
- declare const SpokiRetrieveAccountInput: z.ZodTypeAny;
5
- declare const SpokiRetrieveAccountOutput: z.ZodTypeAny;
6
- declare const spokiRetrieveAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiRetrieveAccountInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SpokiRetrieveAccountOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ phone: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ timezone: z.ZodNullable<z.ZodString>;
13
+ is_active: z.ZodNullable<z.ZodBoolean>;
14
+ daily_limit: z.ZodNullable<z.ZodNumber>;
15
+ account_type: z.ZodNullable<z.ZodNumber>;
16
+ country_code: z.ZodNullable<z.ZodString>;
17
+ phone_status: z.ZodNullable<z.ZodString>;
18
+ quality_score: z.ZodNullable<z.ZodNumber>;
19
+ current_credit: z.ZodNullable<z.ZodNumber>;
20
+ default_prefix: z.ZodNullable<z.ZodString>;
21
+ contacted_in_7d: z.ZodNullable<z.ZodNumber>;
22
+ quality_reasons: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ contacted_in_24h: z.ZodNullable<z.ZodNumber>;
24
+ default_language: z.ZodNullable<z.ZodString>;
25
+ facebook_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ default_country_code: z.ZodNullable<z.ZodString>;
27
+ has_low_credit_alert: z.ZodNullable<z.ZodBoolean>;
28
+ low_credit_threshold: z.ZodNullable<z.ZodNumber>;
29
+ default_pricing_delta: z.ZodNullable<z.ZodNumber>;
30
+ facebook_test_event_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ has_official_verification: z.ZodNullable<z.ZodBoolean>;
32
+ facebook_conversions_api_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ facebook_conversions_api_enabled: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
34
+ estimated_available_conversations: z.ZodNullable<z.ZodNumber>;
35
+ }, z.core.$strip>;
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]>;
7
39
  //#endregion
8
40
  export { spokiRetrieveAccount };
9
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,EAA2B,CAAA,CAAE,UAE2B;AAAA,cACxD,0BAAA,EAA4B,CAAA,CAAE,UA4BO;AAAA,cAErC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,33 +6,33 @@ const spokiRetrieveAccount = action("SPOKI_RETRIEVE_ACCOUNT", {
6
6
  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.",
7
7
  input: z.object({ 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.") }).describe("Request model for retrieving a specific Spoki account."),
8
8
  output: z.object({
9
- id: z.number().int().describe("Unique account identifier"),
10
- name: z.string().describe("Name of the account"),
11
- phone: z.string().describe("Associated phone number"),
12
- status: z.string().describe("Account status"),
13
- timezone: z.string().describe("Timezone of the account"),
14
- is_active: z.boolean().describe("Whether the account is active"),
15
- daily_limit: z.number().int().describe("Daily message limit"),
16
- account_type: z.number().int().describe("Account type: 1=Sandbox, 2=Standard, 4=Agency"),
17
- country_code: z.string().describe("Country code of the account"),
18
- phone_status: z.string().describe("Phone status"),
19
- quality_score: z.number().int().describe("Quality score of the account"),
20
- current_credit: z.number().int().describe("Current credit balance"),
21
- default_prefix: z.string().describe("Default phone prefix"),
22
- contacted_in_7d: z.number().int().describe("Number of contacts contacted in last 7 days"),
9
+ id: z.number().int().describe("Unique account identifier").nullable(),
10
+ name: z.string().describe("Name of the account").nullable(),
11
+ phone: z.string().describe("Associated phone number").nullable(),
12
+ status: z.string().describe("Account status").nullable(),
13
+ timezone: z.string().describe("Timezone of the account").nullable(),
14
+ is_active: z.boolean().describe("Whether the account is active").nullable(),
15
+ daily_limit: z.number().int().describe("Daily message limit").nullable(),
16
+ account_type: z.number().int().describe("Account type: 1=Sandbox, 2=Standard, 4=Agency").nullable(),
17
+ country_code: z.string().describe("Country code of the account").nullable(),
18
+ phone_status: z.string().describe("Phone status").nullable(),
19
+ quality_score: z.number().int().describe("Quality score of the account").nullable(),
20
+ current_credit: z.number().int().describe("Current credit balance").nullable(),
21
+ default_prefix: z.string().describe("Default phone prefix").nullable(),
22
+ contacted_in_7d: z.number().int().describe("Number of contacts contacted in last 7 days").nullable(),
23
23
  quality_reasons: z.string().describe("Reasons for the quality score").nullable().optional(),
24
- contacted_in_24h: z.number().int().describe("Number of contacts contacted in last 24 hours"),
25
- default_language: z.string().describe("Default language"),
24
+ contacted_in_24h: z.number().int().describe("Number of contacts contacted in last 24 hours").nullable(),
25
+ default_language: z.string().describe("Default language").nullable(),
26
26
  facebook_pixel_id: z.string().describe("Facebook Pixel ID if configured").nullable().optional(),
27
- default_country_code: z.string().describe("Default country code"),
28
- has_low_credit_alert: z.boolean().describe("Whether low credit alert is enabled"),
29
- low_credit_threshold: z.number().int().describe("Low credit threshold"),
30
- default_pricing_delta: z.number().int().describe("Default pricing delta"),
27
+ default_country_code: z.string().describe("Default country code").nullable(),
28
+ has_low_credit_alert: z.boolean().describe("Whether low credit alert is enabled").nullable(),
29
+ low_credit_threshold: z.number().int().describe("Low credit threshold").nullable(),
30
+ default_pricing_delta: z.number().int().describe("Default pricing delta").nullable(),
31
31
  facebook_test_event_code: z.string().describe("Facebook test event code if configured").nullable().optional(),
32
- has_official_verification: z.boolean().describe("Whether the account has official WhatsApp verification"),
32
+ has_official_verification: z.boolean().describe("Whether the account has official WhatsApp verification").nullable(),
33
33
  facebook_conversions_api_token: z.string().describe("Facebook Conversions API token if configured").nullable().optional(),
34
34
  facebook_conversions_api_enabled: z.boolean().default(false).describe("Whether Facebook Conversions API is enabled").nullable().optional(),
35
- estimated_available_conversations: z.number().int().describe("Estimated available conversations")
35
+ estimated_available_conversations: z.number().int().describe("Estimated available conversations").nullable()
36
36
  }).describe("Response model for a Spoki account.")
37
37
  });
38
38
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique account identifier\"),\n name: z.string().describe(\"Name of the account\"),\n phone: z.string().describe(\"Associated phone number\"),\n status: z.string().describe(\"Account status\"),\n timezone: z.string().describe(\"Timezone of the account\"),\n is_active: z.boolean().describe(\"Whether the account is active\"),\n daily_limit: z.number().int().describe(\"Daily message limit\"),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\"),\n country_code: z.string().describe(\"Country code of the account\"),\n phone_status: z.string().describe(\"Phone status\"),\n quality_score: z.number().int().describe(\"Quality score of the account\"),\n current_credit: z.number().int().describe(\"Current credit balance\"),\n default_prefix: z.string().describe(\"Default phone prefix\"),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\"),\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\"),\n default_language: z.string().describe(\"Default language\"),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\"),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\"),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\"),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\"),\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\"),\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\"),\n}).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,OArCqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAClK,CAAC,CAAC,CAAC,SAAS,wDAmCH;CACP,QAnCsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;EACzD,MAAM,EAAE,OAAO,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uB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;EACxE,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;EACxG,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;CAClG,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
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}).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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kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACnE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3E,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACjF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnF,0BAA0B,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,SAAS,qCAOF;AACV,CAAC"}
@@ -3,20 +3,20 @@ let zod = require("zod");
3
3
  //#region src/actions/retrieve-automation.ts
4
4
  const SpokiRetrieveAutomationInput = zod.z.object({ id: zod.z.number().int().describe("ID of the automation to retrieve") }).describe("Request model for retrieving a specific automation");
5
5
  const SpokiRetrieveAutomation_AutomationWebhookSchema = zod.z.object({
6
- link: zod.z.string().describe("Webhook URL"),
7
- uuid: zod.z.string().describe("Webhook UUID"),
8
- secret: zod.z.string().describe("Webhook secret token"),
9
- is_active: zod.z.boolean().describe("Whether this webhook is active")
6
+ link: zod.z.string().describe("Webhook URL").nullable(),
7
+ uuid: zod.z.string().describe("Webhook UUID").nullable(),
8
+ secret: zod.z.string().describe("Webhook secret token").nullable(),
9
+ is_active: zod.z.boolean().describe("Whether this webhook is active").nullable()
10
10
  }).describe("Webhook configuration for an automation");
11
11
  const SpokiRetrieveAutomationOutput = zod.z.object({
12
- id: zod.z.number().int().describe("Automation ID"),
13
- name: zod.z.string().describe("Automation name"),
14
- is_active: zod.z.boolean().describe("Whether the automation is active"),
15
- is_favorite: zod.z.boolean().describe("Whether the automation is marked as favorite"),
12
+ id: zod.z.number().int().describe("Automation ID").nullable(),
13
+ name: zod.z.string().describe("Automation name").nullable(),
14
+ is_active: zod.z.boolean().describe("Whether the automation is active").nullable(),
15
+ is_favorite: zod.z.boolean().describe("Whether the automation is marked as favorite").nullable(),
16
16
  webhook_set: zod.z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe("List of webhooks configured for this automation").nullable().optional(),
17
17
  updated_user: zod.z.string().describe("User who last updated the automation").nullable().optional(),
18
- created_datetime: zod.z.string().describe("Creation timestamp in ISO 8601 format"),
19
- updated_datetime: zod.z.string().describe("Last updated timestamp in ISO 8601 format"),
18
+ created_datetime: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable(),
19
+ updated_datetime: zod.z.string().describe("Last updated timestamp in ISO 8601 format").nullable(),
20
20
  automation_groups: zod.z.array(zod.z.unknown()).describe("List of automation groups this automation belongs to").nullable().optional(),
21
21
  first_message_text: zod.z.string().describe("First message text, if any").nullable().optional()
22
22
  }).describe("Response model for automation details");
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n link: z.string().describe(\"Webhook URL\"),\n uuid: z.string().describe(\"Webhook UUID\"),\n secret: z.string().describe(\"Webhook secret token\"),\n is_active: z.boolean().describe(\"Whether this webhook is active\"),\n}).describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Automation ID\"),\n name: z.string().describe(\"Automation name\"),\n is_active: z.boolean().describe(\"Whether the automation is active\"),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\"),\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\"),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\"),\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}).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,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAA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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 { 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}).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}).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"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,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,SAAS,uCAAuC;AAEnD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-automation.d.ts
4
- declare const SpokiRetrieveAutomationInput: z.ZodTypeAny;
5
- declare const SpokiRetrieveAutomationOutput: z.ZodTypeAny;
6
- declare const spokiRetrieveAutomation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiRetrieveAutomationInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SpokiRetrieveAutomationOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ is_active: z.ZodNullable<z.ZodBoolean>;
11
+ is_favorite: z.ZodNullable<z.ZodBoolean>;
12
+ webhook_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ link: z.ZodNullable<z.ZodString>;
14
+ uuid: z.ZodNullable<z.ZodString>;
15
+ secret: z.ZodNullable<z.ZodString>;
16
+ is_active: z.ZodNullable<z.ZodBoolean>;
17
+ }, z.core.$strip>>>>;
18
+ updated_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_datetime: z.ZodNullable<z.ZodString>;
20
+ updated_datetime: z.ZodNullable<z.ZodString>;
21
+ automation_groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
22
+ first_message_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>;
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]>;
7
27
  //#endregion
8
28
  export { spokiRetrieveAutomation };
9
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,EAA8B,CAAA,CAAE,UAEoB;AAAA,cAOpD,6BAAA,EAA+B,CAAA,CAAE,UAWM;AAAA,cAEvC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-automation.d.ts
4
- declare const SpokiRetrieveAutomationInput: z.ZodTypeAny;
5
- declare const SpokiRetrieveAutomationOutput: z.ZodTypeAny;
6
- declare const spokiRetrieveAutomation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiRetrieveAutomationInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SpokiRetrieveAutomationOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ is_active: z.ZodNullable<z.ZodBoolean>;
11
+ is_favorite: z.ZodNullable<z.ZodBoolean>;
12
+ webhook_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ link: z.ZodNullable<z.ZodString>;
14
+ uuid: z.ZodNullable<z.ZodString>;
15
+ secret: z.ZodNullable<z.ZodString>;
16
+ is_active: z.ZodNullable<z.ZodBoolean>;
17
+ }, z.core.$strip>>>>;
18
+ updated_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_datetime: z.ZodNullable<z.ZodString>;
20
+ updated_datetime: z.ZodNullable<z.ZodString>;
21
+ automation_groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
22
+ first_message_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>;
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]>;
7
27
  //#endregion
8
28
  export { spokiRetrieveAutomation };
9
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,EAA8B,CAAA,CAAE,UAEoB;AAAA,cAOpD,6BAAA,EAA+B,CAAA,CAAE,UAWM;AAAA,cAEvC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,10 +3,10 @@ import { z } from "zod";
3
3
  //#region src/actions/retrieve-automation.ts
4
4
  const SpokiRetrieveAutomationInput = z.object({ id: z.number().int().describe("ID of the automation to retrieve") }).describe("Request model for retrieving a specific automation");
5
5
  const SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({
6
- link: z.string().describe("Webhook URL"),
7
- uuid: z.string().describe("Webhook UUID"),
8
- secret: z.string().describe("Webhook secret token"),
9
- is_active: z.boolean().describe("Whether this webhook is active")
6
+ link: z.string().describe("Webhook URL").nullable(),
7
+ uuid: z.string().describe("Webhook UUID").nullable(),
8
+ secret: z.string().describe("Webhook secret token").nullable(),
9
+ is_active: z.boolean().describe("Whether this webhook is active").nullable()
10
10
  }).describe("Webhook configuration for an automation");
11
11
  const spokiRetrieveAutomation = action("SPOKI_RETRIEVE_AUTOMATION", {
12
12
  slug: "spoki-retrieve-automation",
@@ -14,14 +14,14 @@ const spokiRetrieveAutomation = action("SPOKI_RETRIEVE_AUTOMATION", {
14
14
  description: "Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.",
15
15
  input: SpokiRetrieveAutomationInput,
16
16
  output: z.object({
17
- id: z.number().int().describe("Automation ID"),
18
- name: z.string().describe("Automation name"),
19
- is_active: z.boolean().describe("Whether the automation is active"),
20
- is_favorite: z.boolean().describe("Whether the automation is marked as favorite"),
17
+ id: z.number().int().describe("Automation ID").nullable(),
18
+ name: z.string().describe("Automation name").nullable(),
19
+ is_active: z.boolean().describe("Whether the automation is active").nullable(),
20
+ is_favorite: z.boolean().describe("Whether the automation is marked as favorite").nullable(),
21
21
  webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe("List of webhooks configured for this automation").nullable().optional(),
22
22
  updated_user: z.string().describe("User who last updated the automation").nullable().optional(),
23
- created_datetime: z.string().describe("Creation timestamp in ISO 8601 format"),
24
- updated_datetime: z.string().describe("Last updated timestamp in ISO 8601 format"),
23
+ created_datetime: z.string().describe("Creation timestamp in ISO 8601 format").nullable(),
24
+ updated_datetime: z.string().describe("Last updated timestamp in ISO 8601 format").nullable(),
25
25
  automation_groups: z.array(z.unknown()).describe("List of automation groups this automation belongs to").nullable().optional(),
26
26
  first_message_text: z.string().describe("First message text, if any").nullable().optional()
27
27
  }).describe("Response model for automation details")
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n link: z.string().describe(\"Webhook URL\"),\n uuid: z.string().describe(\"Webhook UUID\"),\n secret: z.string().describe(\"Webhook secret token\"),\n is_active: z.boolean().describe(\"Whether this webhook is active\"),\n}).describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Automation ID\"),\n name: z.string().describe(\"Automation name\"),\n is_active: z.boolean().describe(\"Whether the automation is active\"),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\"),\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\"),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\"),\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}).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,+BAA6C,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kDAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAClD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;AAClE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAcrD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC3C,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;EAClE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;EAChF,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;EAC7E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACjF,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,SAAS,uCAOF;AACV,CAAC"}
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}).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}).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,SAAS,yCAAyC;AAcrD,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,SAAS,uCAOF;AACV,CAAC"}
@@ -3,46 +3,46 @@ let zod = require("zod");
3
3
  //#region src/actions/retrieve-contact.ts
4
4
  const SpokiRetrieveContactInput = zod.z.object({ contact_id: zod.z.number().int().describe("Unique identifier of the contact to retrieve") }).describe("Request model for retrieving a specific contact.");
5
5
  const SpokiRetrieveContact_TagSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique tag identifier"),
7
- name: zod.z.string().describe("Name of the tag"),
8
- color: zod.z.string().describe("Hex color code for the tag"),
9
- order: zod.z.number().int().describe("Ordering index for display purposes")
6
+ id: zod.z.number().int().describe("Unique tag identifier").nullable(),
7
+ name: zod.z.string().describe("Name of the tag").nullable(),
8
+ color: zod.z.string().describe("Hex color code for the tag").nullable(),
9
+ order: zod.z.number().int().describe("Ordering index for display purposes").nullable()
10
10
  }).describe("Tag assigned to a contact.");
11
11
  const SpokiRetrieveContact_ContactListSchema = zod.z.object({
12
- id: zod.z.number().int().describe("Unique list identifier"),
13
- name: zod.z.string().describe("Name of the contact list"),
12
+ id: zod.z.number().int().describe("Unique list identifier").nullable(),
13
+ name: zod.z.string().describe("Name of the contact list").nullable(),
14
14
  color: zod.z.string().describe("Hex color for the list, if any").nullable().optional(),
15
- contacts_count: zod.z.number().int().describe("Number of contacts in this list"),
16
- created_datetime: zod.z.string().describe("Creation timestamp in ISO 8601 format")
15
+ contacts_count: zod.z.number().int().describe("Number of contacts in this list").nullable(),
16
+ created_datetime: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable()
17
17
  }).describe("List membership details for a contact.");
18
18
  const SpokiRetrieveContact_RoleSchema = zod.z.object({
19
- id: zod.z.number().int().describe("Unique role identifier"),
20
- name: zod.z.string().describe("Name of the role")
19
+ id: zod.z.number().int().describe("Unique role identifier").nullable(),
20
+ name: zod.z.string().describe("Name of the role").nullable()
21
21
  }).describe("Role assigned to a contact.");
22
22
  const SpokiRetrieveContact_ContactFieldSchema = zod.z.object({
23
- id: zod.z.number().int().describe("Unique identifier of the contact field entry"),
24
- field: zod.z.number().int().describe("ID of the custom field definition"),
25
- value: zod.z.string().describe("Value stored in the custom field"),
26
- visual_code: zod.z.string().describe("Placeholder code for the field, e.g., %%WEBSITE%%"),
23
+ id: zod.z.number().int().describe("Unique identifier of the contact field entry").nullable(),
24
+ field: zod.z.number().int().describe("ID of the custom field definition").nullable(),
25
+ value: zod.z.string().describe("Value stored in the custom field").nullable(),
26
+ visual_code: zod.z.string().describe("Placeholder code for the field, e.g., %%WEBSITE%%").nullable(),
27
27
  value_datetime: zod.z.string().describe("Datetime value if the field is date/time, ISO 8601 format").nullable().optional()
28
28
  }).describe("Custom field assigned to a contact.");
29
29
  const SpokiRetrieveContactOutput = zod.z.object({
30
- id: zod.z.number().int().describe("Contact ID"),
30
+ id: zod.z.number().int().describe("Contact ID").nullable(),
31
31
  email: zod.z.string().describe("Contact's email address, if available").nullable().optional(),
32
- phone: zod.z.string().describe("Contact's phone number in E.164 format"),
33
- status: zod.z.string().describe("Contact's status, e.g., 'Not Declared'"),
32
+ phone: zod.z.string().describe("Contact's phone number in E.164 format").nullable(),
33
+ status: zod.z.string().describe("Contact's status, e.g., 'Not Declared'").nullable(),
34
34
  tag_set: zod.z.array(SpokiRetrieveContact_TagSchema).describe("List of tags assigned to the contact").nullable().optional(),
35
- language: zod.z.string().describe("Contact's language code, e.g., 'en'"),
35
+ language: zod.z.string().describe("Contact's language code, e.g., 'en'").nullable(),
36
36
  list_set: zod.z.array(SpokiRetrieveContact_ContactListSchema).describe("Lists that the contact belongs to").nullable().optional(),
37
37
  role_set: zod.z.array(SpokiRetrieveContact_RoleSchema).describe("List of roles assigned to the contact").nullable().optional(),
38
- chat_link: zod.z.string().describe("URL to open the contact's chat in Spoki"),
38
+ chat_link: zod.z.string().describe("URL to open the contact's chat in Spoki").nullable(),
39
39
  last_name: zod.z.string().describe("Contact's last name, if provided").nullable().optional(),
40
40
  first_name: zod.z.string().describe("Contact's first name, if provided").nullable().optional(),
41
- is_blocked: zod.z.boolean().describe("Indicates if the contact is blocked from communication"),
42
- is_restricted: zod.z.boolean().describe("Indicates if the contact has restricted access"),
41
+ is_blocked: zod.z.boolean().describe("Indicates if the contact is blocked from communication").nullable(),
42
+ is_restricted: zod.z.boolean().describe("Indicates if the contact has restricted access").nullable(),
43
43
  contactfield_set: zod.z.array(SpokiRetrieveContact_ContactFieldSchema).describe("List of custom fields and their values").nullable().optional(),
44
- created_datetime: zod.z.string().describe("Timestamp when the contact was created, ISO 8601"),
45
- has_invalid_phone: zod.z.boolean().describe("Indicates if the stored phone number is invalid"),
44
+ created_datetime: zod.z.string().describe("Timestamp when the contact was created, ISO 8601").nullable(),
45
+ has_invalid_phone: zod.z.boolean().describe("Indicates if the stored phone number is invalid").nullable(),
46
46
  contactfield_values: zod.z.object({}).describe("Dictionary mapping custom field codes to their values").nullable().optional()
47
47
  }).describe("Full contact details returned by Spoki.");
48
48
  const spokiRetrieveContact = require_action.action("SPOKI_RETRIEVE_CONTACT", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique tag identifier\"),\n name: z.string().describe(\"Name of the tag\"),\n color: z.string().describe(\"Hex color code for the tag\"),\n order: z.number().int().describe(\"Ordering index for display purposes\"),\n}).describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique list identifier\"),\n name: z.string().describe(\"Name of the contact list\"),\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\"),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\"),\n}).describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique role identifier\"),\n name: z.string().describe(\"Name of the role\"),\n}).describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\"),\n field: z.number().int().describe(\"ID of the custom field definition\"),\n value: z.string().describe(\"Value stored in the custom field\"),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\"),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Contact ID\"),\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\"),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\"),\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'\"),\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\"),\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\"),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\"),\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\"),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\"),\n contactfield_values: z.object({}).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).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,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AACxE,CA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qBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,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 { 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}).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}).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}).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}).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.object({}).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).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,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rieveContactInput: z.ZodTypeAny;
5
- declare const SpokiRetrieveContactOutput: z.ZodTypeAny;
6
- declare const spokiRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiRetrieveContactInput: z.ZodObject<{
5
+ contact_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SpokiRetrieveContactOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ phone: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ tag_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ color: z.ZodNullable<z.ZodString>;
16
+ order: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$strip>>>>;
18
+ language: z.ZodNullable<z.ZodString>;
19
+ list_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodNumber>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ contacts_count: z.ZodNullable<z.ZodNumber>;
24
+ created_datetime: z.ZodNullable<z.ZodString>;
25
+ }, z.core.$strip>>>>;
26
+ role_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodNumber>;
28
+ name: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strip>>>>;
30
+ chat_link: z.ZodNullable<z.ZodString>;
31
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ is_blocked: z.ZodNullable<z.ZodBoolean>;
34
+ is_restricted: z.ZodNullable<z.ZodBoolean>;
35
+ contactfield_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodNumber>;
37
+ field: z.ZodNullable<z.ZodNumber>;
38
+ value: z.ZodNullable<z.ZodString>;
39
+ visual_code: z.ZodNullable<z.ZodString>;
40
+ value_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$strip>>>>;
42
+ created_datetime: z.ZodNullable<z.ZodString>;
43
+ has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
44
+ contactfield_values: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
45
+ }, z.core.$strip>;
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]>;
7
49
  //#endregion
8
50
  export { spokiRetrieveContact };
9
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,EAA2B,CAAA,CAAE,UAEqB;AAAA,cAyBlD,0BAAA,EAA4B,CAAA,CAAE,UAkBW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-contact.d.ts
4
- declare const SpokiRetrieveContactInput: z.ZodTypeAny;
5
- declare const SpokiRetrieveContactOutput: z.ZodTypeAny;
6
- declare const spokiRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpokiRetrieveContactInput: z.ZodObject<{
5
+ contact_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SpokiRetrieveContactOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ phone: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ tag_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ color: z.ZodNullable<z.ZodString>;
16
+ order: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$strip>>>>;
18
+ language: z.ZodNullable<z.ZodString>;
19
+ list_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodNumber>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ contacts_count: z.ZodNullable<z.ZodNumber>;
24
+ created_datetime: z.ZodNullable<z.ZodString>;
25
+ }, z.core.$strip>>>>;
26
+ role_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodNumber>;
28
+ name: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strip>>>>;
30
+ chat_link: z.ZodNullable<z.ZodString>;
31
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ is_blocked: z.ZodNullable<z.ZodBoolean>;
34
+ is_restricted: z.ZodNullable<z.ZodBoolean>;
35
+ contactfield_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodNumber>;
37
+ field: z.ZodNullable<z.ZodNumber>;
38
+ value: z.ZodNullable<z.ZodString>;
39
+ visual_code: z.ZodNullable<z.ZodString>;
40
+ value_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$strip>>>>;
42
+ created_datetime: z.ZodNullable<z.ZodString>;
43
+ has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
44
+ contactfield_values: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
45
+ }, z.core.$strip>;
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]>;
7
49
  //#endregion
8
50
  export { spokiRetrieveContact };
9
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,EAA2B,CAAA,CAAE,UAEqB;AAAA,cAyBlD,0BAAA,EAA4B,CAAA,CAAE,UAkBW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}