@keystrokehq/persona 0.1.5 → 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 (565) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-account.cjs +1 -0
  4. package/dist/actions/add-tag-to-account.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-account.d.cts +3 -23
  6. package/dist/actions/add-tag-to-account.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-account.d.mts +3 -23
  8. package/dist/actions/add-tag-to-account.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-account.mjs +1 -0
  10. package/dist/actions/add-tag-to-account.mjs.map +1 -1
  11. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +1 -0
  12. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
  13. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +3 -18
  14. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts.map +1 -1
  15. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +3 -18
  16. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts.map +1 -1
  17. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +1 -0
  18. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
  19. package/dist/actions/archive-a-country-list-item.cjs +1 -0
  20. package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
  21. package/dist/actions/archive-a-country-list-item.d.cts +3 -20
  22. package/dist/actions/archive-a-country-list-item.d.cts.map +1 -1
  23. package/dist/actions/archive-a-country-list-item.d.mts +3 -20
  24. package/dist/actions/archive-a-country-list-item.d.mts.map +1 -1
  25. package/dist/actions/archive-a-country-list-item.mjs +1 -0
  26. package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
  27. package/dist/actions/archive-a-geolocation-list-item.cjs +1 -0
  28. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
  29. package/dist/actions/archive-a-geolocation-list-item.d.cts +3 -18
  30. package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -1
  31. package/dist/actions/archive-a-geolocation-list-item.d.mts +3 -18
  32. package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -1
  33. package/dist/actions/archive-a-geolocation-list-item.mjs +1 -0
  34. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
  35. package/dist/actions/archive-a-government-id-number-list-item.cjs +1 -0
  36. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
  37. package/dist/actions/archive-a-government-id-number-list-item.d.cts +3 -18
  38. package/dist/actions/archive-a-government-id-number-list-item.d.cts.map +1 -1
  39. package/dist/actions/archive-a-government-id-number-list-item.d.mts +3 -18
  40. package/dist/actions/archive-a-government-id-number-list-item.d.mts.map +1 -1
  41. package/dist/actions/archive-a-government-id-number-list-item.mjs +1 -0
  42. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
  43. package/dist/actions/archive-a-name-list-item.cjs +1 -0
  44. package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
  45. package/dist/actions/archive-a-name-list-item.d.cts +3 -15
  46. package/dist/actions/archive-a-name-list-item.d.cts.map +1 -1
  47. package/dist/actions/archive-a-name-list-item.d.mts +3 -15
  48. package/dist/actions/archive-a-name-list-item.d.mts.map +1 -1
  49. package/dist/actions/archive-a-name-list-item.mjs +1 -0
  50. package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
  51. package/dist/actions/archive-a-webhook.cjs +1 -0
  52. package/dist/actions/archive-a-webhook.cjs.map +1 -1
  53. package/dist/actions/archive-a-webhook.d.cts +3 -20
  54. package/dist/actions/archive-a-webhook.d.cts.map +1 -1
  55. package/dist/actions/archive-a-webhook.d.mts +3 -20
  56. package/dist/actions/archive-a-webhook.d.mts.map +1 -1
  57. package/dist/actions/archive-a-webhook.mjs +1 -0
  58. package/dist/actions/archive-a-webhook.mjs.map +1 -1
  59. package/dist/actions/archive-email-address-list-item.cjs +1 -0
  60. package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
  61. package/dist/actions/archive-email-address-list-item.d.cts +3 -20
  62. package/dist/actions/archive-email-address-list-item.d.cts.map +1 -1
  63. package/dist/actions/archive-email-address-list-item.d.mts +3 -20
  64. package/dist/actions/archive-email-address-list-item.d.mts.map +1 -1
  65. package/dist/actions/archive-email-address-list-item.mjs +1 -0
  66. package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
  67. package/dist/actions/archive-ip-address-list-item.cjs +1 -0
  68. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
  69. package/dist/actions/archive-ip-address-list-item.d.cts +3 -18
  70. package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -1
  71. package/dist/actions/archive-ip-address-list-item.d.mts +3 -18
  72. package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -1
  73. package/dist/actions/archive-ip-address-list-item.mjs +1 -0
  74. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
  75. package/dist/actions/archive-phone-number-list-item.cjs +1 -0
  76. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
  77. package/dist/actions/archive-phone-number-list-item.d.cts +3 -18
  78. package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -1
  79. package/dist/actions/archive-phone-number-list-item.d.mts +3 -18
  80. package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -1
  81. package/dist/actions/archive-phone-number-list-item.mjs +1 -0
  82. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
  83. package/dist/actions/archive-string-list-item.cjs +1 -0
  84. package/dist/actions/archive-string-list-item.cjs.map +1 -1
  85. package/dist/actions/archive-string-list-item.d.cts +3 -20
  86. package/dist/actions/archive-string-list-item.d.cts.map +1 -1
  87. package/dist/actions/archive-string-list-item.d.mts +3 -20
  88. package/dist/actions/archive-string-list-item.d.mts.map +1 -1
  89. package/dist/actions/archive-string-list-item.mjs +1 -0
  90. package/dist/actions/archive-string-list-item.mjs.map +1 -1
  91. package/dist/actions/clone-webhook.cjs +1 -0
  92. package/dist/actions/clone-webhook.cjs.map +1 -1
  93. package/dist/actions/clone-webhook.d.cts +3 -19
  94. package/dist/actions/clone-webhook.d.cts.map +1 -1
  95. package/dist/actions/clone-webhook.d.mts +3 -19
  96. package/dist/actions/clone-webhook.d.mts.map +1 -1
  97. package/dist/actions/clone-webhook.mjs +1 -0
  98. package/dist/actions/clone-webhook.mjs.map +1 -1
  99. package/dist/actions/consolidate-into-account.cjs +1 -0
  100. package/dist/actions/consolidate-into-account.cjs.map +1 -1
  101. package/dist/actions/consolidate-into-account.d.cts +3 -20
  102. package/dist/actions/consolidate-into-account.d.cts.map +1 -1
  103. package/dist/actions/consolidate-into-account.d.mts +3 -20
  104. package/dist/actions/consolidate-into-account.d.mts.map +1 -1
  105. package/dist/actions/consolidate-into-account.mjs +1 -0
  106. package/dist/actions/consolidate-into-account.mjs.map +1 -1
  107. package/dist/actions/create-an-account.cjs +1 -0
  108. package/dist/actions/create-an-account.cjs.map +1 -1
  109. package/dist/actions/create-an-account.d.cts +3 -46
  110. package/dist/actions/create-an-account.d.cts.map +1 -1
  111. package/dist/actions/create-an-account.d.mts +3 -46
  112. package/dist/actions/create-an-account.d.mts.map +1 -1
  113. package/dist/actions/create-an-account.mjs +1 -0
  114. package/dist/actions/create-an-account.mjs.map +1 -1
  115. package/dist/actions/create-an-ip-address-list-item.cjs +1 -0
  116. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
  117. package/dist/actions/create-an-ip-address-list-item.d.cts +3 -19
  118. package/dist/actions/create-an-ip-address-list-item.d.cts.map +1 -1
  119. package/dist/actions/create-an-ip-address-list-item.d.mts +3 -19
  120. package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -1
  121. package/dist/actions/create-an-ip-address-list-item.mjs +1 -0
  122. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
  123. package/dist/actions/create-country-list-item.cjs +1 -0
  124. package/dist/actions/create-country-list-item.cjs.map +1 -1
  125. package/dist/actions/create-country-list-item.d.cts +3 -25
  126. package/dist/actions/create-country-list-item.d.cts.map +1 -1
  127. package/dist/actions/create-country-list-item.d.mts +3 -25
  128. package/dist/actions/create-country-list-item.d.mts.map +1 -1
  129. package/dist/actions/create-country-list-item.mjs +1 -0
  130. package/dist/actions/create-country-list-item.mjs.map +1 -1
  131. package/dist/actions/create-document-generic.cjs +1 -0
  132. package/dist/actions/create-document-generic.cjs.map +1 -1
  133. package/dist/actions/create-document-generic.d.cts +3 -26
  134. package/dist/actions/create-document-generic.d.cts.map +1 -1
  135. package/dist/actions/create-document-generic.d.mts +3 -26
  136. package/dist/actions/create-document-generic.d.mts.map +1 -1
  137. package/dist/actions/create-document-generic.mjs +1 -0
  138. package/dist/actions/create-document-generic.mjs.map +1 -1
  139. package/dist/actions/create-email-address-list-item.cjs +1 -0
  140. package/dist/actions/create-email-address-list-item.cjs.map +1 -1
  141. package/dist/actions/create-email-address-list-item.d.cts +3 -20
  142. package/dist/actions/create-email-address-list-item.d.cts.map +1 -1
  143. package/dist/actions/create-email-address-list-item.d.mts +3 -20
  144. package/dist/actions/create-email-address-list-item.d.mts.map +1 -1
  145. package/dist/actions/create-email-address-list-item.mjs +1 -0
  146. package/dist/actions/create-email-address-list-item.mjs.map +1 -1
  147. package/dist/actions/create-government-id-number-list-item.cjs +1 -0
  148. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
  149. package/dist/actions/create-government-id-number-list-item.d.cts +3 -21
  150. package/dist/actions/create-government-id-number-list-item.d.cts.map +1 -1
  151. package/dist/actions/create-government-id-number-list-item.d.mts +3 -21
  152. package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -1
  153. package/dist/actions/create-government-id-number-list-item.mjs +1 -0
  154. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
  155. package/dist/actions/create-name-list-item.cjs +1 -0
  156. package/dist/actions/create-name-list-item.cjs.map +1 -1
  157. package/dist/actions/create-name-list-item.d.cts +3 -24
  158. package/dist/actions/create-name-list-item.d.cts.map +1 -1
  159. package/dist/actions/create-name-list-item.d.mts +3 -24
  160. package/dist/actions/create-name-list-item.d.mts.map +1 -1
  161. package/dist/actions/create-name-list-item.mjs +1 -0
  162. package/dist/actions/create-name-list-item.mjs.map +1 -1
  163. package/dist/actions/create-phone-number-list-item.cjs +1 -0
  164. package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
  165. package/dist/actions/create-phone-number-list-item.d.cts +3 -23
  166. package/dist/actions/create-phone-number-list-item.d.cts.map +1 -1
  167. package/dist/actions/create-phone-number-list-item.d.mts +3 -23
  168. package/dist/actions/create-phone-number-list-item.d.mts.map +1 -1
  169. package/dist/actions/create-phone-number-list-item.mjs +1 -0
  170. package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
  171. package/dist/actions/create-string-list-item.cjs +1 -0
  172. package/dist/actions/create-string-list-item.cjs.map +1 -1
  173. package/dist/actions/create-string-list-item.d.cts +3 -19
  174. package/dist/actions/create-string-list-item.d.cts.map +1 -1
  175. package/dist/actions/create-string-list-item.d.mts +3 -19
  176. package/dist/actions/create-string-list-item.d.mts.map +1 -1
  177. package/dist/actions/create-string-list-item.mjs +1 -0
  178. package/dist/actions/create-string-list-item.mjs.map +1 -1
  179. package/dist/actions/create-webhook.cjs +1 -0
  180. package/dist/actions/create-webhook.cjs.map +1 -1
  181. package/dist/actions/create-webhook.d.cts +3 -29
  182. package/dist/actions/create-webhook.d.cts.map +1 -1
  183. package/dist/actions/create-webhook.d.mts +3 -29
  184. package/dist/actions/create-webhook.d.mts.map +1 -1
  185. package/dist/actions/create-webhook.mjs +1 -0
  186. package/dist/actions/create-webhook.mjs.map +1 -1
  187. package/dist/actions/disable-webhook.cjs +1 -0
  188. package/dist/actions/disable-webhook.cjs.map +1 -1
  189. package/dist/actions/disable-webhook.d.cts +3 -20
  190. package/dist/actions/disable-webhook.d.cts.map +1 -1
  191. package/dist/actions/disable-webhook.d.mts +3 -20
  192. package/dist/actions/disable-webhook.d.mts.map +1 -1
  193. package/dist/actions/disable-webhook.mjs +1 -0
  194. package/dist/actions/disable-webhook.mjs.map +1 -1
  195. package/dist/actions/enable-webhook.cjs +1 -0
  196. package/dist/actions/enable-webhook.cjs.map +1 -1
  197. package/dist/actions/enable-webhook.d.cts +3 -19
  198. package/dist/actions/enable-webhook.d.cts.map +1 -1
  199. package/dist/actions/enable-webhook.d.mts +3 -19
  200. package/dist/actions/enable-webhook.d.mts.map +1 -1
  201. package/dist/actions/enable-webhook.mjs +1 -0
  202. package/dist/actions/enable-webhook.mjs.map +1 -1
  203. package/dist/actions/expire-inquiry-sessions.cjs +1 -0
  204. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
  205. package/dist/actions/expire-inquiry-sessions.d.cts +3 -22
  206. package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -1
  207. package/dist/actions/expire-inquiry-sessions.d.mts +3 -22
  208. package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -1
  209. package/dist/actions/expire-inquiry-sessions.mjs +1 -0
  210. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
  211. package/dist/actions/import-email-address-lists.cjs +1 -0
  212. package/dist/actions/import-email-address-lists.cjs.map +1 -1
  213. package/dist/actions/import-email-address-lists.d.cts +3 -20
  214. package/dist/actions/import-email-address-lists.d.cts.map +1 -1
  215. package/dist/actions/import-email-address-lists.d.mts +3 -20
  216. package/dist/actions/import-email-address-lists.d.mts.map +1 -1
  217. package/dist/actions/import-email-address-lists.mjs +1 -0
  218. package/dist/actions/import-email-address-lists.mjs.map +1 -1
  219. package/dist/actions/import-ip-address-lists.cjs +1 -0
  220. package/dist/actions/import-ip-address-lists.cjs.map +1 -1
  221. package/dist/actions/import-ip-address-lists.d.cts +3 -26
  222. package/dist/actions/import-ip-address-lists.d.cts.map +1 -1
  223. package/dist/actions/import-ip-address-lists.d.mts +3 -26
  224. package/dist/actions/import-ip-address-lists.d.mts.map +1 -1
  225. package/dist/actions/import-ip-address-lists.mjs +1 -0
  226. package/dist/actions/import-ip-address-lists.mjs.map +1 -1
  227. package/dist/actions/import-name-lists.cjs +1 -0
  228. package/dist/actions/import-name-lists.cjs.map +1 -1
  229. package/dist/actions/import-name-lists.d.cts +3 -23
  230. package/dist/actions/import-name-lists.d.cts.map +1 -1
  231. package/dist/actions/import-name-lists.d.mts +3 -23
  232. package/dist/actions/import-name-lists.d.mts.map +1 -1
  233. package/dist/actions/import-name-lists.mjs +1 -0
  234. package/dist/actions/import-name-lists.mjs.map +1 -1
  235. package/dist/actions/import-phone-number-lists.cjs +1 -0
  236. package/dist/actions/import-phone-number-lists.cjs.map +1 -1
  237. package/dist/actions/import-phone-number-lists.d.cts +3 -26
  238. package/dist/actions/import-phone-number-lists.d.cts.map +1 -1
  239. package/dist/actions/import-phone-number-lists.d.mts +3 -26
  240. package/dist/actions/import-phone-number-lists.d.mts.map +1 -1
  241. package/dist/actions/import-phone-number-lists.mjs +1 -0
  242. package/dist/actions/import-phone-number-lists.mjs.map +1 -1
  243. package/dist/actions/list-all-accounts.cjs +1 -0
  244. package/dist/actions/list-all-accounts.cjs.map +1 -1
  245. package/dist/actions/list-all-accounts.d.cts +3 -23
  246. package/dist/actions/list-all-accounts.d.cts.map +1 -1
  247. package/dist/actions/list-all-accounts.d.mts +3 -23
  248. package/dist/actions/list-all-accounts.d.mts.map +1 -1
  249. package/dist/actions/list-all-accounts.mjs +1 -0
  250. package/dist/actions/list-all-accounts.mjs.map +1 -1
  251. package/dist/actions/list-all-api-logs.cjs +1 -0
  252. package/dist/actions/list-all-api-logs.cjs.map +1 -1
  253. package/dist/actions/list-all-api-logs.d.cts +3 -21
  254. package/dist/actions/list-all-api-logs.d.cts.map +1 -1
  255. package/dist/actions/list-all-api-logs.d.mts +3 -21
  256. package/dist/actions/list-all-api-logs.d.mts.map +1 -1
  257. package/dist/actions/list-all-api-logs.mjs +1 -0
  258. package/dist/actions/list-all-api-logs.mjs.map +1 -1
  259. package/dist/actions/list-all-cases.cjs +1 -0
  260. package/dist/actions/list-all-cases.cjs.map +1 -1
  261. package/dist/actions/list-all-cases.d.cts +3 -24
  262. package/dist/actions/list-all-cases.d.cts.map +1 -1
  263. package/dist/actions/list-all-cases.d.mts +3 -24
  264. package/dist/actions/list-all-cases.d.mts.map +1 -1
  265. package/dist/actions/list-all-cases.mjs +1 -0
  266. package/dist/actions/list-all-cases.mjs.map +1 -1
  267. package/dist/actions/list-all-devices.cjs +1 -0
  268. package/dist/actions/list-all-devices.cjs.map +1 -1
  269. package/dist/actions/list-all-devices.d.cts +3 -21
  270. package/dist/actions/list-all-devices.d.cts.map +1 -1
  271. package/dist/actions/list-all-devices.d.mts +3 -21
  272. package/dist/actions/list-all-devices.d.mts.map +1 -1
  273. package/dist/actions/list-all-devices.mjs +1 -0
  274. package/dist/actions/list-all-devices.mjs.map +1 -1
  275. package/dist/actions/list-all-events.cjs +1 -0
  276. package/dist/actions/list-all-events.cjs.map +1 -1
  277. package/dist/actions/list-all-events.d.cts +3 -23
  278. package/dist/actions/list-all-events.d.cts.map +1 -1
  279. package/dist/actions/list-all-events.d.mts +3 -23
  280. package/dist/actions/list-all-events.d.mts.map +1 -1
  281. package/dist/actions/list-all-events.mjs +1 -0
  282. package/dist/actions/list-all-events.mjs.map +1 -1
  283. package/dist/actions/list-all-importers.cjs +1 -0
  284. package/dist/actions/list-all-importers.cjs.map +1 -1
  285. package/dist/actions/list-all-importers.d.cts +3 -21
  286. package/dist/actions/list-all-importers.d.cts.map +1 -1
  287. package/dist/actions/list-all-importers.d.mts +3 -21
  288. package/dist/actions/list-all-importers.d.mts.map +1 -1
  289. package/dist/actions/list-all-importers.mjs +1 -0
  290. package/dist/actions/list-all-importers.mjs.map +1 -1
  291. package/dist/actions/list-all-inquiries.cjs +1 -0
  292. package/dist/actions/list-all-inquiries.cjs.map +1 -1
  293. package/dist/actions/list-all-inquiries.d.cts +3 -25
  294. package/dist/actions/list-all-inquiries.d.cts.map +1 -1
  295. package/dist/actions/list-all-inquiries.d.mts +3 -25
  296. package/dist/actions/list-all-inquiries.d.mts.map +1 -1
  297. package/dist/actions/list-all-inquiries.mjs +1 -0
  298. package/dist/actions/list-all-inquiries.mjs.map +1 -1
  299. package/dist/actions/list-all-inquiry-sessions.cjs +1 -0
  300. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
  301. package/dist/actions/list-all-inquiry-sessions.d.cts +3 -21
  302. package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -1
  303. package/dist/actions/list-all-inquiry-sessions.d.mts +3 -21
  304. package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -1
  305. package/dist/actions/list-all-inquiry-sessions.mjs +1 -0
  306. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
  307. package/dist/actions/list-all-lists.cjs +1 -0
  308. package/dist/actions/list-all-lists.cjs.map +1 -1
  309. package/dist/actions/list-all-lists.d.cts +3 -22
  310. package/dist/actions/list-all-lists.d.cts.map +1 -1
  311. package/dist/actions/list-all-lists.d.mts +3 -22
  312. package/dist/actions/list-all-lists.d.mts.map +1 -1
  313. package/dist/actions/list-all-lists.mjs +1 -0
  314. package/dist/actions/list-all-lists.mjs.map +1 -1
  315. package/dist/actions/list-all-rate-limits.cjs +1 -0
  316. package/dist/actions/list-all-rate-limits.cjs.map +1 -1
  317. package/dist/actions/list-all-rate-limits.d.cts +3 -17
  318. package/dist/actions/list-all-rate-limits.d.cts.map +1 -1
  319. package/dist/actions/list-all-rate-limits.d.mts +3 -17
  320. package/dist/actions/list-all-rate-limits.d.mts.map +1 -1
  321. package/dist/actions/list-all-rate-limits.mjs +1 -0
  322. package/dist/actions/list-all-rate-limits.mjs.map +1 -1
  323. package/dist/actions/list-all-reports.cjs +1 -0
  324. package/dist/actions/list-all-reports.cjs.map +1 -1
  325. package/dist/actions/list-all-reports.d.cts +3 -23
  326. package/dist/actions/list-all-reports.d.cts.map +1 -1
  327. package/dist/actions/list-all-reports.d.mts +3 -23
  328. package/dist/actions/list-all-reports.d.mts.map +1 -1
  329. package/dist/actions/list-all-reports.mjs +1 -0
  330. package/dist/actions/list-all-reports.mjs.map +1 -1
  331. package/dist/actions/list-all-transactions.cjs +1 -0
  332. package/dist/actions/list-all-transactions.cjs.map +1 -1
  333. package/dist/actions/list-all-transactions.d.cts +3 -21
  334. package/dist/actions/list-all-transactions.d.cts.map +1 -1
  335. package/dist/actions/list-all-transactions.d.mts +3 -21
  336. package/dist/actions/list-all-transactions.d.mts.map +1 -1
  337. package/dist/actions/list-all-transactions.mjs +1 -0
  338. package/dist/actions/list-all-transactions.mjs.map +1 -1
  339. package/dist/actions/list-all-webhooks.cjs +1 -0
  340. package/dist/actions/list-all-webhooks.cjs.map +1 -1
  341. package/dist/actions/list-all-webhooks.d.cts +3 -21
  342. package/dist/actions/list-all-webhooks.d.cts.map +1 -1
  343. package/dist/actions/list-all-webhooks.d.mts +3 -21
  344. package/dist/actions/list-all-webhooks.d.mts.map +1 -1
  345. package/dist/actions/list-all-webhooks.mjs +1 -0
  346. package/dist/actions/list-all-webhooks.mjs.map +1 -1
  347. package/dist/actions/list-all-workflow-runs.cjs +1 -0
  348. package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
  349. package/dist/actions/list-all-workflow-runs.d.cts +3 -25
  350. package/dist/actions/list-all-workflow-runs.d.cts.map +1 -1
  351. package/dist/actions/list-all-workflow-runs.d.mts +3 -25
  352. package/dist/actions/list-all-workflow-runs.d.mts.map +1 -1
  353. package/dist/actions/list-all-workflow-runs.mjs +1 -0
  354. package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
  355. package/dist/actions/redact-an-account.cjs +1 -0
  356. package/dist/actions/redact-an-account.cjs.map +1 -1
  357. package/dist/actions/redact-an-account.d.cts +3 -20
  358. package/dist/actions/redact-an-account.d.cts.map +1 -1
  359. package/dist/actions/redact-an-account.d.mts +3 -20
  360. package/dist/actions/redact-an-account.d.mts.map +1 -1
  361. package/dist/actions/redact-an-account.mjs +1 -0
  362. package/dist/actions/redact-an-account.mjs.map +1 -1
  363. package/dist/actions/remove-account-tag.cjs +1 -0
  364. package/dist/actions/remove-account-tag.cjs.map +1 -1
  365. package/dist/actions/remove-account-tag.d.cts +3 -23
  366. package/dist/actions/remove-account-tag.d.cts.map +1 -1
  367. package/dist/actions/remove-account-tag.d.mts +3 -23
  368. package/dist/actions/remove-account-tag.d.mts.map +1 -1
  369. package/dist/actions/remove-account-tag.mjs +1 -0
  370. package/dist/actions/remove-account-tag.mjs.map +1 -1
  371. package/dist/actions/retrieve-a-country-list-item.cjs +1 -0
  372. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
  373. package/dist/actions/retrieve-a-country-list-item.d.cts +3 -20
  374. package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -1
  375. package/dist/actions/retrieve-a-country-list-item.d.mts +3 -20
  376. package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -1
  377. package/dist/actions/retrieve-a-country-list-item.mjs +1 -0
  378. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
  379. package/dist/actions/retrieve-a-geolocation-list-item.cjs +1 -0
  380. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
  381. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +3 -20
  382. package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -1
  383. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +3 -20
  384. package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -1
  385. package/dist/actions/retrieve-a-geolocation-list-item.mjs +1 -0
  386. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
  387. package/dist/actions/retrieve-a-name-list-item.cjs +1 -0
  388. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
  389. package/dist/actions/retrieve-a-name-list-item.d.cts +3 -20
  390. package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -1
  391. package/dist/actions/retrieve-a-name-list-item.d.mts +3 -20
  392. package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -1
  393. package/dist/actions/retrieve-a-name-list-item.mjs +1 -0
  394. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
  395. package/dist/actions/retrieve-a-string-list-item.cjs +1 -0
  396. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
  397. package/dist/actions/retrieve-a-string-list-item.d.cts +3 -20
  398. package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -1
  399. package/dist/actions/retrieve-a-string-list-item.d.mts +3 -20
  400. package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -1
  401. package/dist/actions/retrieve-a-string-list-item.mjs +1 -0
  402. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
  403. package/dist/actions/retrieve-a-webhook.cjs +1 -0
  404. package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
  405. package/dist/actions/retrieve-a-webhook.d.cts +3 -20
  406. package/dist/actions/retrieve-a-webhook.d.cts.map +1 -1
  407. package/dist/actions/retrieve-a-webhook.d.mts +3 -20
  408. package/dist/actions/retrieve-a-webhook.d.mts.map +1 -1
  409. package/dist/actions/retrieve-a-webhook.mjs +1 -0
  410. package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
  411. package/dist/actions/retrieve-an-account.cjs +1 -0
  412. package/dist/actions/retrieve-an-account.cjs.map +1 -1
  413. package/dist/actions/retrieve-an-account.d.cts +3 -20
  414. package/dist/actions/retrieve-an-account.d.cts.map +1 -1
  415. package/dist/actions/retrieve-an-account.d.mts +3 -20
  416. package/dist/actions/retrieve-an-account.d.mts.map +1 -1
  417. package/dist/actions/retrieve-an-account.mjs +1 -0
  418. package/dist/actions/retrieve-an-account.mjs.map +1 -1
  419. package/dist/actions/retrieve-an-event.cjs +1 -0
  420. package/dist/actions/retrieve-an-event.cjs.map +1 -1
  421. package/dist/actions/retrieve-an-event.d.cts +3 -20
  422. package/dist/actions/retrieve-an-event.d.cts.map +1 -1
  423. package/dist/actions/retrieve-an-event.d.mts +3 -20
  424. package/dist/actions/retrieve-an-event.d.mts.map +1 -1
  425. package/dist/actions/retrieve-an-event.mjs +1 -0
  426. package/dist/actions/retrieve-an-event.mjs.map +1 -1
  427. package/dist/actions/retrieve-an-importer.cjs +1 -0
  428. package/dist/actions/retrieve-an-importer.cjs.map +1 -1
  429. package/dist/actions/retrieve-an-importer.d.cts +3 -20
  430. package/dist/actions/retrieve-an-importer.d.cts.map +1 -1
  431. package/dist/actions/retrieve-an-importer.d.mts +3 -20
  432. package/dist/actions/retrieve-an-importer.d.mts.map +1 -1
  433. package/dist/actions/retrieve-an-importer.mjs +1 -0
  434. package/dist/actions/retrieve-an-importer.mjs.map +1 -1
  435. package/dist/actions/retrieve-an-ip-address-list-item.cjs +1 -0
  436. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
  437. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +3 -20
  438. package/dist/actions/retrieve-an-ip-address-list-item.d.cts.map +1 -1
  439. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +3 -20
  440. package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -1
  441. package/dist/actions/retrieve-an-ip-address-list-item.mjs +1 -0
  442. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
  443. package/dist/actions/retrieve-api-log.cjs +1 -0
  444. package/dist/actions/retrieve-api-log.cjs.map +1 -1
  445. package/dist/actions/retrieve-api-log.d.cts +3 -20
  446. package/dist/actions/retrieve-api-log.d.cts.map +1 -1
  447. package/dist/actions/retrieve-api-log.d.mts +3 -20
  448. package/dist/actions/retrieve-api-log.d.mts.map +1 -1
  449. package/dist/actions/retrieve-api-log.mjs +1 -0
  450. package/dist/actions/retrieve-api-log.mjs.map +1 -1
  451. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +1 -0
  452. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
  453. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +3 -20
  454. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -1
  455. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +3 -20
  456. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -1
  457. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +1 -0
  458. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
  459. package/dist/actions/retrieve-document-generic.cjs +1 -0
  460. package/dist/actions/retrieve-document-generic.cjs.map +1 -1
  461. package/dist/actions/retrieve-document-generic.d.cts +3 -20
  462. package/dist/actions/retrieve-document-generic.d.cts.map +1 -1
  463. package/dist/actions/retrieve-document-generic.d.mts +3 -20
  464. package/dist/actions/retrieve-document-generic.d.mts.map +1 -1
  465. package/dist/actions/retrieve-document-generic.mjs +1 -0
  466. package/dist/actions/retrieve-document-generic.mjs.map +1 -1
  467. package/dist/actions/retrieve-document.cjs +1 -0
  468. package/dist/actions/retrieve-document.cjs.map +1 -1
  469. package/dist/actions/retrieve-document.d.cts +3 -20
  470. package/dist/actions/retrieve-document.d.cts.map +1 -1
  471. package/dist/actions/retrieve-document.d.mts +3 -20
  472. package/dist/actions/retrieve-document.d.mts.map +1 -1
  473. package/dist/actions/retrieve-document.mjs +1 -0
  474. package/dist/actions/retrieve-document.mjs.map +1 -1
  475. package/dist/actions/retrieve-email-address-list-item.cjs +1 -0
  476. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
  477. package/dist/actions/retrieve-email-address-list-item.d.cts +3 -20
  478. package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -1
  479. package/dist/actions/retrieve-email-address-list-item.d.mts +3 -20
  480. package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -1
  481. package/dist/actions/retrieve-email-address-list-item.mjs +1 -0
  482. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
  483. package/dist/actions/retrieve-government-id-number-list-item.cjs +1 -0
  484. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
  485. package/dist/actions/retrieve-government-id-number-list-item.d.cts +3 -20
  486. package/dist/actions/retrieve-government-id-number-list-item.d.cts.map +1 -1
  487. package/dist/actions/retrieve-government-id-number-list-item.d.mts +3 -20
  488. package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -1
  489. package/dist/actions/retrieve-government-id-number-list-item.mjs +1 -0
  490. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
  491. package/dist/actions/retrieve-phone-number-list-item.cjs +1 -0
  492. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
  493. package/dist/actions/retrieve-phone-number-list-item.d.cts +3 -20
  494. package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -1
  495. package/dist/actions/retrieve-phone-number-list-item.d.mts +3 -20
  496. package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -1
  497. package/dist/actions/retrieve-phone-number-list-item.mjs +1 -0
  498. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
  499. package/dist/actions/rotate-webhook-secret.cjs +1 -0
  500. package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
  501. package/dist/actions/rotate-webhook-secret.d.cts +3 -21
  502. package/dist/actions/rotate-webhook-secret.d.cts.map +1 -1
  503. package/dist/actions/rotate-webhook-secret.d.mts +3 -21
  504. package/dist/actions/rotate-webhook-secret.d.mts.map +1 -1
  505. package/dist/actions/rotate-webhook-secret.mjs +1 -0
  506. package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
  507. package/dist/actions/search-accounts.cjs +1 -0
  508. package/dist/actions/search-accounts.cjs.map +1 -1
  509. package/dist/actions/search-accounts.d.cts +3 -28
  510. package/dist/actions/search-accounts.d.cts.map +1 -1
  511. package/dist/actions/search-accounts.d.mts +3 -28
  512. package/dist/actions/search-accounts.d.mts.map +1 -1
  513. package/dist/actions/search-accounts.mjs +1 -0
  514. package/dist/actions/search-accounts.mjs.map +1 -1
  515. package/dist/actions/search-cases.cjs +1 -0
  516. package/dist/actions/search-cases.cjs.map +1 -1
  517. package/dist/actions/search-cases.d.cts +3 -27
  518. package/dist/actions/search-cases.d.cts.map +1 -1
  519. package/dist/actions/search-cases.d.mts +3 -27
  520. package/dist/actions/search-cases.d.mts.map +1 -1
  521. package/dist/actions/search-cases.mjs +1 -0
  522. package/dist/actions/search-cases.mjs.map +1 -1
  523. package/dist/actions/set-tags.cjs +1 -0
  524. package/dist/actions/set-tags.cjs.map +1 -1
  525. package/dist/actions/set-tags.d.cts +3 -23
  526. package/dist/actions/set-tags.d.cts.map +1 -1
  527. package/dist/actions/set-tags.d.mts +3 -23
  528. package/dist/actions/set-tags.d.mts.map +1 -1
  529. package/dist/actions/set-tags.mjs +1 -0
  530. package/dist/actions/set-tags.mjs.map +1 -1
  531. package/dist/actions/update-a-webhook.cjs +1 -0
  532. package/dist/actions/update-a-webhook.cjs.map +1 -1
  533. package/dist/actions/update-a-webhook.d.cts +3 -30
  534. package/dist/actions/update-a-webhook.d.cts.map +1 -1
  535. package/dist/actions/update-a-webhook.d.mts +3 -30
  536. package/dist/actions/update-a-webhook.d.mts.map +1 -1
  537. package/dist/actions/update-a-webhook.mjs +1 -0
  538. package/dist/actions/update-a-webhook.mjs.map +1 -1
  539. package/dist/actions/update-an-account.cjs +1 -0
  540. package/dist/actions/update-an-account.cjs.map +1 -1
  541. package/dist/actions/update-an-account.d.cts +3 -42
  542. package/dist/actions/update-an-account.d.cts.map +1 -1
  543. package/dist/actions/update-an-account.d.mts +3 -42
  544. package/dist/actions/update-an-account.d.mts.map +1 -1
  545. package/dist/actions/update-an-account.mjs +1 -0
  546. package/dist/actions/update-an-account.mjs.map +1 -1
  547. package/dist/actions/update-document-generic.cjs +1 -0
  548. package/dist/actions/update-document-generic.cjs.map +1 -1
  549. package/dist/actions/update-document-generic.d.cts +3 -27
  550. package/dist/actions/update-document-generic.d.cts.map +1 -1
  551. package/dist/actions/update-document-generic.d.mts +3 -27
  552. package/dist/actions/update-document-generic.d.mts.map +1 -1
  553. package/dist/actions/update-document-generic.mjs +1 -0
  554. package/dist/actions/update-document-generic.mjs.map +1 -1
  555. package/dist/app.cjs +2 -2
  556. package/dist/app.cjs.map +1 -1
  557. package/dist/app.d.cts +4 -6
  558. package/dist/app.d.cts.map +1 -1
  559. package/dist/app.d.mts +4 -6
  560. package/dist/app.d.mts.map +1 -1
  561. package/dist/app.mjs +0 -1
  562. package/dist/app.mjs.map +1 -1
  563. package/dist/index.d.cts +1 -1
  564. package/dist/index.d.mts +1 -1
  565. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-string-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-string-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateStringListItemInput = z.object({\n value: z.string().describe(\"The string value to add to the list.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to include in the response. Customizes which related resources are fully serialized in the 'included' key.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the string item to. Must be a valid list ID starting with 'lst_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for retries to avoid creating duplicate items.\").optional(),\n});\nconst PersonaCreateStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of the list item.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n matchCount: z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n redactedAt: z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n inquiryMatches: z.array(z.record(z.string(), z.unknown())).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_CreatorRelationshipSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the list item.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),\n relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough();\nexport const PersonaCreateStringListItemOutput = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough();\n\nexport const personaCreateStringListItem = action(\"PERSONA_CREATE_STRING_LIST_ITEM\", {\n slug: \"persona-create-string-list-item\",\n name: \"Create String List Item\",\n description: \"Tool to create a String List Item in Persona. Use when adding a new string value to an existing list for matching or filtering purposes.\",\n input: PersonaCreateStringListItemInput,\n output: PersonaCreateStringListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CAC/L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC1H,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACtJ,CAAC;AACD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,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AAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,2DAA2D,SAAS;CAChF,eAAe,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-string-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-string-list-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaCreateStringListItemInput = z.object({\n value: z.string().describe(\"The string value to add to the list.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to include in the response. Customizes which related resources are fully serialized in the 'included' key.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the string item to. Must be a valid list ID starting with 'lst_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for retries to avoid creating duplicate items.\").optional(),\n});\nconst PersonaCreateStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of the list item.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n matchCount: z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n redactedAt: z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n inquiryMatches: z.array(z.record(z.string(), z.unknown())).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_CreatorRelationshipSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the list item.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),\n relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough();\nexport const PersonaCreateStringListItemOutput = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough();\n\nexport const personaCreateStringListItem: AppAction<\n typeof PersonaCreateStringListItemInput,\n typeof PersonaCreateStringListItemOutput,\n typeof persona.credential\n> = action(\"PERSONA_CREATE_STRING_LIST_ITEM\", {\n slug: \"persona-create-string-list-item\",\n name: \"Create String List Item\",\n description: \"Tool to create a String List Item in Persona. Use when adding a new string value to an existing list for matching or filtering purposes.\",\n input: PersonaCreateStringListItemInput,\n output: PersonaCreateStringListItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CAC/L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC1H,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,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,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,2DAA2D,SAAS;CAChF,eAAe,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { persona } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-string-list-item.d.ts
@@ -33,25 +35,7 @@ declare const PersonaCreateStringListItemOutput: z.ZodObject<{
33
35
  }, z.core.$loose>>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const personaCreateStringListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- value: string;
38
- list_id: string;
39
- include?: string | undefined;
40
- key_inflection?: "camel" | "kebab" | "snake" | undefined;
41
- idempotency_key?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
49
- connectionId: z.ZodString;
50
- entityId: z.ZodString;
51
- instanceId: z.ZodString;
52
- }, z.core.$strip>, z.ZodObject<{
53
- generic_api_key: z.ZodString;
54
- }, z.core.$strip>>]>;
38
+ declare const personaCreateStringListItem: AppAction<typeof PersonaCreateStringListItemInput, typeof PersonaCreateStringListItemOutput, typeof persona.credential>;
55
39
  //#endregion
56
40
  export { personaCreateStringListItem };
57
41
  //# sourceMappingURL=create-string-list-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-string-list-item.d.cts","names":[],"sources":["../../src/actions/create-string-list-item.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"create-string-list-item.d.cts","names":[],"sources":["../../src/actions/create-string-list-item.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { persona } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-string-list-item.d.ts
@@ -33,25 +35,7 @@ declare const PersonaCreateStringListItemOutput: z.ZodObject<{
33
35
  }, z.core.$loose>>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const personaCreateStringListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- value: string;
38
- list_id: string;
39
- include?: string | undefined;
40
- key_inflection?: "camel" | "kebab" | "snake" | undefined;
41
- idempotency_key?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
49
- connectionId: z.ZodString;
50
- entityId: z.ZodString;
51
- instanceId: z.ZodString;
52
- }, z.core.$strip>, z.ZodObject<{
53
- generic_api_key: z.ZodString;
54
- }, z.core.$strip>>]>;
38
+ declare const personaCreateStringListItem: AppAction<typeof PersonaCreateStringListItemInput, typeof PersonaCreateStringListItemOutput, typeof persona.credential>;
55
39
  //#endregion
56
40
  export { personaCreateStringListItem };
57
41
  //# sourceMappingURL=create-string-list-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-string-list-item.d.mts","names":[],"sources":["../../src/actions/create-string-list-item.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"create-string-list-item.d.mts","names":[],"sources":["../../src/actions/create-string-list-item.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,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/create-string-list-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-string-list-item.mjs","names":[],"sources":["../../src/actions/create-string-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateStringListItemInput = z.object({\n value: z.string().describe(\"The string value to add to the list.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to include in the response. Customizes which related resources are fully serialized in the 'included' key.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the string item to. Must be a valid list ID starting with 'lst_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for retries to avoid creating duplicate items.\").optional(),\n});\nconst PersonaCreateStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of the list item.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n matchCount: z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n redactedAt: z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n inquiryMatches: z.array(z.record(z.string(), z.unknown())).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_CreatorRelationshipSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the list item.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),\n relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough();\nexport const PersonaCreateStringListItemOutput = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough();\n\nexport const personaCreateStringListItem = action(\"PERSONA_CREATE_STRING_LIST_ITEM\", {\n slug: \"persona-create-string-list-item\",\n name: \"Create String List Item\",\n description: \"Tool to create a String List Item in Persona. Use when adding a new string value to an existing list for matching or filtering purposes.\",\n input: PersonaCreateStringListItemInput,\n output: PersonaCreateStringListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CAC/L,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC1H,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACtJ,CAAC;AACD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wDAAwD,EAAE,OAAO,EACrE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgE,EAAE,OAAO,EAC7E,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,2DAA2D,SAAS;CAChF,eAAe,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-string-list-item.mjs","names":[],"sources":["../../src/actions/create-string-list-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaCreateStringListItemInput = z.object({\n value: z.string().describe(\"The string value to add to the list.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to include in the response. Customizes which related resources are fully serialized in the 'included' key.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the string item to. Must be a valid list ID starting with 'lst_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for retries to avoid creating duplicate items.\").optional(),\n});\nconst PersonaCreateStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of the list item.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n matchCount: z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n redactedAt: z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n inquiryMatches: z.array(z.record(z.string(), z.unknown())).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_CreatorRelationshipSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n}).passthrough();\nconst PersonaCreateStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the list item.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),\n relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough();\nexport const PersonaCreateStringListItemOutput = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough();\n\nexport const personaCreateStringListItem: AppAction<\n typeof PersonaCreateStringListItemInput,\n typeof PersonaCreateStringListItemOutput,\n typeof persona.credential\n> = action(\"PERSONA_CREATE_STRING_LIST_ITEM\", {\n slug: \"persona-create-string-list-item\",\n name: \"Create String List Item\",\n description: \"Tool to create a String List Item in Persona. Use when adding a new string value to an existing list for matching or filtering purposes.\",\n input: PersonaCreateStringListItemInput,\n output: PersonaCreateStringListItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CAC/L,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC1H,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACtJ,CAAC;AACD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wDAAwD,EAAE,OAAO,EACrE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgE,EAAE,OAAO,EAC7E,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,2DAA2D,SAAS;CAChF,eAAe,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,YAWO;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/create-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for creating a Persona webhook.\");\nconst PersonaCreateWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"The secret value.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., enabled, disabled).\").nullable().optional(),\n secrets: z.array(PersonaCreateWebhook_SecretObjectSchema).describe(\"List of secret objects for webhook signing rotation.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes excluded from webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput = z.object({\n data: PersonaCreateWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created webhook.\");\n\nexport const personaCreateWebhook = action(\"PERSONA_CREATE_WEBHOOK\", {\n slug: \"persona-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook in Persona. Use when you need to set up real-time notifications for specific events in your Persona account. The webhook will send POST requests to your URL when enabled events occur.\",\n input: PersonaCreateWebhookInput,\n output: PersonaCreateWebhookOutput,\n});\n"],"mappings":";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E,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,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":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for creating a Persona webhook.\");\nconst PersonaCreateWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"The secret value.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., enabled, disabled).\").nullable().optional(),\n secrets: z.array(PersonaCreateWebhook_SecretObjectSchema).describe(\"List of secret objects for webhook signing rotation.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes excluded from webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput = z.object({\n data: PersonaCreateWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created webhook.\");\n\nexport const personaCreateWebhook: AppAction<\n typeof PersonaCreateWebhookInput,\n typeof PersonaCreateWebhookOutput,\n typeof persona.credential\n> = action(\"PERSONA_CREATE_WEBHOOK\", {\n slug: \"persona-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook in Persona. Use when you need to set up real-time notifications for specific events in your Persona account. The webhook will send POST requests to your URL when enabled events occur.\",\n input: PersonaCreateWebhookInput,\n output: PersonaCreateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+IAA+I;CAC5L,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,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C,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,uCAAuC,SAAS;CACtD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,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 { persona } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -56,35 +58,7 @@ declare const PersonaCreateWebhookOutput: z.ZodObject<{
56
58
  }, z.core.$loose>>;
57
59
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
58
60
  }, z.core.$loose>;
59
- declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
60
- url: string;
61
- name: string;
62
- enabled_events: string[];
63
- fields?: string | undefined;
64
- include?: string | undefined;
65
- api_version?: string | undefined;
66
- description?: string | undefined;
67
- key_inflection?: "camel" | "kebab" | "snake" | undefined;
68
- payload_filter?: Record<string, unknown> | undefined;
69
- idempotency_key?: string | undefined;
70
- persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
71
- api_key_inflection?: string | undefined;
72
- custom_http_headers?: Record<string, unknown> | undefined;
73
- api_attributes_blocklist?: string[] | undefined;
74
- file_access_token_expires_in?: number | undefined;
75
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
76
- connectionId: z.ZodString;
77
- entityId: z.ZodString;
78
- instanceId: z.ZodString;
79
- }, z.core.$strip>, z.ZodObject<{
80
- generic_api_key: z.ZodString;
81
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
82
- connectionId: z.ZodString;
83
- entityId: z.ZodString;
84
- instanceId: z.ZodString;
85
- }, z.core.$strip>, z.ZodObject<{
86
- generic_api_key: z.ZodString;
87
- }, z.core.$strip>>]>;
61
+ declare const personaCreateWebhook: AppAction<typeof PersonaCreateWebhookInput, typeof PersonaCreateWebhookOutput, typeof persona.credential>;
88
62
  //#endregion
89
63
  export { personaCreateWebhook };
90
64
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { persona } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -56,35 +58,7 @@ declare const PersonaCreateWebhookOutput: z.ZodObject<{
56
58
  }, z.core.$loose>>;
57
59
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
58
60
  }, z.core.$loose>;
59
- declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
60
- url: string;
61
- name: string;
62
- enabled_events: string[];
63
- fields?: string | undefined;
64
- include?: string | undefined;
65
- api_version?: string | undefined;
66
- description?: string | undefined;
67
- key_inflection?: "camel" | "kebab" | "snake" | undefined;
68
- payload_filter?: Record<string, unknown> | undefined;
69
- idempotency_key?: string | undefined;
70
- persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
71
- api_key_inflection?: string | undefined;
72
- custom_http_headers?: Record<string, unknown> | undefined;
73
- api_attributes_blocklist?: string[] | undefined;
74
- file_access_token_expires_in?: number | undefined;
75
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
76
- connectionId: z.ZodString;
77
- entityId: z.ZodString;
78
- instanceId: z.ZodString;
79
- }, z.core.$strip>, z.ZodObject<{
80
- generic_api_key: z.ZodString;
81
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
82
- connectionId: z.ZodString;
83
- entityId: z.ZodString;
84
- instanceId: z.ZodString;
85
- }, z.core.$strip>, z.ZodObject<{
86
- generic_api_key: z.ZodString;
87
- }, z.core.$strip>>]>;
61
+ declare const personaCreateWebhook: AppAction<typeof PersonaCreateWebhookInput, typeof PersonaCreateWebhookOutput, typeof persona.credential>;
88
62
  //#endregion
89
63
  export { personaCreateWebhook };
90
64
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,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/create-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for creating a Persona webhook.\");\nconst PersonaCreateWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"The secret value.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., enabled, disabled).\").nullable().optional(),\n secrets: z.array(PersonaCreateWebhook_SecretObjectSchema).describe(\"List of secret objects for webhook signing rotation.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes excluded from webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput = z.object({\n data: PersonaCreateWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created webhook.\");\n\nexport const personaCreateWebhook = action(\"PERSONA_CREATE_WEBHOOK\", {\n slug: \"persona-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook in Persona. Use when you need to set up real-time notifications for specific events in your Persona account. The webhook will send POST requests to your URL when enabled events occur.\",\n input: PersonaCreateWebhookInput,\n output: PersonaCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,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,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,0BAA0B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,uCAAuC,SAAS;EACtD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for creating a Persona webhook.\");\nconst PersonaCreateWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"The secret value.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., enabled, disabled).\").nullable().optional(),\n secrets: z.array(PersonaCreateWebhook_SecretObjectSchema).describe(\"List of secret objects for webhook signing rotation.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes excluded from webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput = z.object({\n data: PersonaCreateWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created webhook.\");\n\nexport const personaCreateWebhook: AppAction<\n typeof PersonaCreateWebhookInput,\n typeof PersonaCreateWebhookOutput,\n typeof persona.credential\n> = action(\"PERSONA_CREATE_WEBHOOK\", {\n slug: \"persona-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook in Persona. Use when you need to set up real-time notifications for specific events in your Persona account. The webhook will send POST requests to your URL when enabled events occur.\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BAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,0BAA0B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,uCAAuC,SAAS;EACtD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,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/disable-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for disabling a webhook.\");\nconst PersonaDisableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaDisableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable().optional(),\n type: z.string().describe(\"Resource type\").nullable().optional(),\n attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaDisableWebhookOutput = z.object({\n data: PersonaDisableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling a webhook.\");\n\nexport const personaDisableWebhook = action(\"PERSONA_DISABLE_WEBHOOK\", {\n slug: \"persona-disable-webhook\",\n name: \"Disable Webhook\",\n description: \"Tool to disable a webhook in Persona. Use when you need to stop a webhook from receiving events without deleting it.\",\n input: PersonaDisableWebhookInput,\n output: PersonaDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACjP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,wCAAw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AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAM,wCAAwC,SAAS;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for disabling a webhook.\");\nconst PersonaDisableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaDisableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable().optional(),\n type: z.string().describe(\"Resource type\").nullable().optional(),\n attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaDisableWebhookOutput = z.object({\n data: PersonaDisableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling a webhook.\");\n\nexport const personaDisableWebhook: AppAction<\n typeof PersonaDisableWebhookInput,\n typeof PersonaDisableWebhookOutput,\n typeof persona.credential\n> = action(\"PERSONA_DISABLE_WEBHOOK\", {\n slug: \"persona-disable-webhook\",\n name: \"Disable Webhook\",\n description: \"Tool to disable a webhook in Persona. Use when you need to stop a webhook from receiving events without deleting it.\",\n input: PersonaDisableWebhookInput,\n output: PersonaDisableWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACjP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBA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D,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAM,wCAAwC,SAAS;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { persona } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/disable-webhook.d.ts
@@ -42,26 +44,7 @@ declare const PersonaDisableWebhookOutput: z.ZodObject<{
42
44
  }, z.core.$loose>>;
43
45
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
44
46
  }, z.core.$loose>;
45
- declare const personaDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- webhook_id: string;
47
- fields?: Record<string, unknown> | undefined;
48
- include?: string | undefined;
49
- key_inflection?: "camel" | "kebab" | "snake" | undefined;
50
- idempotency_key?: string | undefined;
51
- persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
53
- connectionId: z.ZodString;
54
- entityId: z.ZodString;
55
- instanceId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- generic_api_key: z.ZodString;
58
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- generic_api_key: z.ZodString;
64
- }, z.core.$strip>>]>;
47
+ declare const personaDisableWebhook: AppAction<typeof PersonaDisableWebhookInput, typeof PersonaDisableWebhookOutput, typeof persona.credential>;
65
48
  //#endregion
66
49
  export { personaDisableWebhook };
67
50
  //# sourceMappingURL=disable-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.d.cts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA0B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"disable-webhook.d.cts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA0B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { persona } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/disable-webhook.d.ts
@@ -42,26 +44,7 @@ declare const PersonaDisableWebhookOutput: z.ZodObject<{
42
44
  }, z.core.$loose>>;
43
45
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
44
46
  }, z.core.$loose>;
45
- declare const personaDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- webhook_id: string;
47
- fields?: Record<string, unknown> | undefined;
48
- include?: string | undefined;
49
- key_inflection?: "camel" | "kebab" | "snake" | undefined;
50
- idempotency_key?: string | undefined;
51
- persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
53
- connectionId: z.ZodString;
54
- entityId: z.ZodString;
55
- instanceId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- generic_api_key: z.ZodString;
58
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- generic_api_key: z.ZodString;
64
- }, z.core.$strip>>]>;
47
+ declare const personaDisableWebhook: AppAction<typeof PersonaDisableWebhookInput, typeof PersonaDisableWebhookOutput, typeof persona.credential>;
65
48
  //#endregion
66
49
  export { personaDisableWebhook };
67
50
  //# sourceMappingURL=disable-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.d.mts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA0B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"disable-webhook.d.mts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA0B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,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/disable-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.mjs","names":[],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for disabling a webhook.\");\nconst PersonaDisableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaDisableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable().optional(),\n type: z.string().describe(\"Resource type\").nullable().optional(),\n attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaDisableWebhookOutput = z.object({\n data: PersonaDisableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling a webhook.\");\n\nexport const personaDisableWebhook = action(\"PERSONA_DISABLE_WEBHOOK\", {\n slug: \"persona-disable-webhook\",\n name: \"Disable Webhook\",\n description: \"Tool to disable a webhook in Persona. Use when you need to stop a webhook from receiving events without deleting it.\",\n input: PersonaDisableWebhookInput,\n output: PersonaDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACjP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiB,EAAE,KAAK;EAAC;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S;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,MAAM,wCAAwC,SAAS;EACvD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"disable-webhook.mjs","names":[],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for disabling a webhook.\");\nconst PersonaDisableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaDisableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable().optional(),\n type: z.string().describe(\"Resource type\").nullable().optional(),\n attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaDisableWebhookOutput = z.object({\n data: PersonaDisableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling a webhook.\");\n\nexport const personaDisableWebhook: AppAction<\n typeof PersonaDisableWebhookInput,\n typeof PersonaDisableWebhookOutput,\n typeof persona.credential\n> = action(\"PERSONA_DISABLE_WEBHOOK\", {\n slug: \"persona-disable-webhook\",\n name: \"Disable Webhook\",\n description: \"Tool to disable a webhook in Persona. Use when you need to stop a webhook from receiving events without deleting it.\",\n input: PersonaDisableWebhookInput,\n output: PersonaDisableWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACjP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CA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I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpO,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/enable-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"enable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaEnableWebhookInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for enabling a Persona webhook.\");\nconst PersonaEnableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection for API responses\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to block\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook.\");\nconst PersonaEnableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type (webhook)\").nullable(),\n attributes: PersonaEnableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object.\");\nexport const PersonaEnableWebhookOutput = z.object({\n data: PersonaEnableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources (empty array by default)\").nullable().optional(),\n}).passthrough().describe(\"Response model for enabling a webhook.\");\n\nexport const personaEnableWebhook = action(\"PERSONA_ENABLE_WEBHOOK\", {\n slug: \"persona-enable-webhook\",\n name: \"Enable Webhook\",\n description: \"Tool to enable a webhook in Persona. Use when you need to activate a previously disabled webhook.\",\n input: PersonaEnableWebhookInput,\n output: PersonaEnableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,KAAK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ACpD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,uCAAuC,SAAS;CACtD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"enable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaEnableWebhookInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for enabling a Persona webhook.\");\nconst PersonaEnableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection for API responses\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to block\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook.\");\nconst PersonaEnableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type (webhook)\").nullable(),\n attributes: PersonaEnableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object.\");\nexport const PersonaEnableWebhookOutput = z.object({\n data: PersonaEnableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources (empty array by default)\").nullable().optional(),\n}).passthrough().describe(\"Response model for enabling a webhook.\");\n\nexport const personaEnableWebhook: AppAction<\n typeof PersonaEnableWebhookInput,\n typeof PersonaEnableWebhookOutput,\n typeof persona.credential\n> = action(\"PERSONA_ENABLE_WEBHOOK\", {\n slug: \"persona-enable-webhook\",\n name: \"Enable Webhook\",\n description: \"Tool to enable a webhook in Persona. Use when you need to activate a previously disabled webhook.\",\n input: PersonaEnableWebhookInput,\n output: PersonaEnableWebhookOutput,\n});\n"],"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AAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { persona } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/enable-webhook.d.ts
@@ -41,25 +43,7 @@ declare const PersonaEnableWebhookOutput: z.ZodObject<{
41
43
  }, z.core.$loose>>;
42
44
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
43
45
  }, z.core.$loose>;
44
- declare const personaEnableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
45
- webhook_id: string;
46
- include?: string | undefined;
47
- key_inflection?: "camel" | "kebab" | "snake" | undefined;
48
- idempotency_key?: string | undefined;
49
- persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- }, z.core.$strip>>]>;
46
+ declare const personaEnableWebhook: AppAction<typeof PersonaEnableWebhookInput, typeof PersonaEnableWebhookOutput, typeof persona.credential>;
63
47
  //#endregion
64
48
  export { personaEnableWebhook };
65
49
  //# sourceMappingURL=enable-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable-webhook.d.cts","names":[],"sources":["../../src/actions/enable-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"enable-webhook.d.cts","names":[],"sources":["../../src/actions/enable-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}