@keystrokehq/persona 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) 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 +4 -4
  4. package/dist/actions/add-tag-to-account.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-account.d.cts +48 -3
  6. package/dist/actions/add-tag-to-account.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-account.d.mts +48 -3
  8. package/dist/actions/add-tag-to-account.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-account.mjs +4 -4
  10. package/dist/actions/add-tag-to-account.mjs.map +1 -1
  11. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +4 -4
  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 +31 -3
  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 +31 -3
  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 +4 -4
  18. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
  19. package/dist/actions/archive-a-country-list-item.cjs +6 -6
  20. package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
  21. package/dist/actions/archive-a-country-list-item.d.cts +49 -3
  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 +49 -3
  24. package/dist/actions/archive-a-country-list-item.d.mts.map +1 -1
  25. package/dist/actions/archive-a-country-list-item.mjs +6 -6
  26. package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
  27. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
  28. package/dist/actions/archive-a-geolocation-list-item.d.cts +41 -3
  29. package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -1
  30. package/dist/actions/archive-a-geolocation-list-item.d.mts +41 -3
  31. package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -1
  32. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
  33. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
  34. package/dist/actions/archive-a-government-id-number-list-item.d.cts +31 -3
  35. package/dist/actions/archive-a-government-id-number-list-item.d.cts.map +1 -1
  36. package/dist/actions/archive-a-government-id-number-list-item.d.mts +31 -3
  37. package/dist/actions/archive-a-government-id-number-list-item.d.mts.map +1 -1
  38. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
  39. package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
  40. package/dist/actions/archive-a-name-list-item.d.cts +30 -3
  41. package/dist/actions/archive-a-name-list-item.d.cts.map +1 -1
  42. package/dist/actions/archive-a-name-list-item.d.mts +30 -3
  43. package/dist/actions/archive-a-name-list-item.d.mts.map +1 -1
  44. package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
  45. package/dist/actions/archive-a-webhook.cjs.map +1 -1
  46. package/dist/actions/archive-a-webhook.d.cts +49 -3
  47. package/dist/actions/archive-a-webhook.d.cts.map +1 -1
  48. package/dist/actions/archive-a-webhook.d.mts +49 -3
  49. package/dist/actions/archive-a-webhook.d.mts.map +1 -1
  50. package/dist/actions/archive-a-webhook.mjs.map +1 -1
  51. package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
  52. package/dist/actions/archive-email-address-list-item.d.cts +50 -3
  53. package/dist/actions/archive-email-address-list-item.d.cts.map +1 -1
  54. package/dist/actions/archive-email-address-list-item.d.mts +50 -3
  55. package/dist/actions/archive-email-address-list-item.d.mts.map +1 -1
  56. package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
  57. package/dist/actions/archive-ip-address-list-item.cjs +4 -4
  58. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
  59. package/dist/actions/archive-ip-address-list-item.d.cts +34 -3
  60. package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -1
  61. package/dist/actions/archive-ip-address-list-item.d.mts +34 -3
  62. package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -1
  63. package/dist/actions/archive-ip-address-list-item.mjs +4 -4
  64. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
  65. package/dist/actions/archive-phone-number-list-item.cjs +6 -6
  66. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
  67. package/dist/actions/archive-phone-number-list-item.d.cts +31 -3
  68. package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -1
  69. package/dist/actions/archive-phone-number-list-item.d.mts +31 -3
  70. package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -1
  71. package/dist/actions/archive-phone-number-list-item.mjs +6 -6
  72. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
  73. package/dist/actions/archive-string-list-item.cjs.map +1 -1
  74. package/dist/actions/archive-string-list-item.d.cts +49 -3
  75. package/dist/actions/archive-string-list-item.d.cts.map +1 -1
  76. package/dist/actions/archive-string-list-item.d.mts +49 -3
  77. package/dist/actions/archive-string-list-item.d.mts.map +1 -1
  78. package/dist/actions/archive-string-list-item.mjs.map +1 -1
  79. package/dist/actions/clone-webhook.cjs +3 -3
  80. package/dist/actions/clone-webhook.cjs.map +1 -1
  81. package/dist/actions/clone-webhook.d.cts +43 -3
  82. package/dist/actions/clone-webhook.d.cts.map +1 -1
  83. package/dist/actions/clone-webhook.d.mts +43 -3
  84. package/dist/actions/clone-webhook.d.mts.map +1 -1
  85. package/dist/actions/clone-webhook.mjs +3 -3
  86. package/dist/actions/clone-webhook.mjs.map +1 -1
  87. package/dist/actions/consolidate-into-account.cjs.map +1 -1
  88. package/dist/actions/consolidate-into-account.d.cts +28 -3
  89. package/dist/actions/consolidate-into-account.d.cts.map +1 -1
  90. package/dist/actions/consolidate-into-account.d.mts +28 -3
  91. package/dist/actions/consolidate-into-account.d.mts.map +1 -1
  92. package/dist/actions/consolidate-into-account.mjs.map +1 -1
  93. package/dist/actions/create-an-account.cjs +4 -4
  94. package/dist/actions/create-an-account.cjs.map +1 -1
  95. package/dist/actions/create-an-account.d.cts +121 -3
  96. package/dist/actions/create-an-account.d.cts.map +1 -1
  97. package/dist/actions/create-an-account.d.mts +121 -3
  98. package/dist/actions/create-an-account.d.mts.map +1 -1
  99. package/dist/actions/create-an-account.mjs +4 -4
  100. package/dist/actions/create-an-account.mjs.map +1 -1
  101. package/dist/actions/create-an-ip-address-list-item.cjs +4 -4
  102. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
  103. package/dist/actions/create-an-ip-address-list-item.d.cts +41 -3
  104. package/dist/actions/create-an-ip-address-list-item.d.cts.map +1 -1
  105. package/dist/actions/create-an-ip-address-list-item.d.mts +41 -3
  106. package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -1
  107. package/dist/actions/create-an-ip-address-list-item.mjs +4 -4
  108. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
  109. package/dist/actions/create-country-list-item.cjs +2 -2
  110. package/dist/actions/create-country-list-item.cjs.map +1 -1
  111. package/dist/actions/create-country-list-item.d.cts +62 -3
  112. package/dist/actions/create-country-list-item.d.cts.map +1 -1
  113. package/dist/actions/create-country-list-item.d.mts +62 -3
  114. package/dist/actions/create-country-list-item.d.mts.map +1 -1
  115. package/dist/actions/create-country-list-item.mjs +2 -2
  116. package/dist/actions/create-country-list-item.mjs.map +1 -1
  117. package/dist/actions/create-document-generic.cjs +4 -4
  118. package/dist/actions/create-document-generic.cjs.map +1 -1
  119. package/dist/actions/create-document-generic.d.cts +73 -3
  120. package/dist/actions/create-document-generic.d.cts.map +1 -1
  121. package/dist/actions/create-document-generic.d.mts +73 -3
  122. package/dist/actions/create-document-generic.d.mts.map +1 -1
  123. package/dist/actions/create-document-generic.mjs +4 -4
  124. package/dist/actions/create-document-generic.mjs.map +1 -1
  125. package/dist/actions/create-email-address-list-item.cjs +7 -7
  126. package/dist/actions/create-email-address-list-item.cjs.map +1 -1
  127. package/dist/actions/create-email-address-list-item.d.cts +39 -3
  128. package/dist/actions/create-email-address-list-item.d.cts.map +1 -1
  129. package/dist/actions/create-email-address-list-item.d.mts +39 -3
  130. package/dist/actions/create-email-address-list-item.d.mts.map +1 -1
  131. package/dist/actions/create-email-address-list-item.mjs +7 -7
  132. package/dist/actions/create-email-address-list-item.mjs.map +1 -1
  133. package/dist/actions/create-government-id-number-list-item.cjs +7 -7
  134. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
  135. package/dist/actions/create-government-id-number-list-item.d.cts +42 -3
  136. package/dist/actions/create-government-id-number-list-item.d.cts.map +1 -1
  137. package/dist/actions/create-government-id-number-list-item.d.mts +42 -3
  138. package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -1
  139. package/dist/actions/create-government-id-number-list-item.mjs +7 -7
  140. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
  141. package/dist/actions/create-name-list-item.cjs +7 -7
  142. package/dist/actions/create-name-list-item.cjs.map +1 -1
  143. package/dist/actions/create-name-list-item.d.cts +47 -3
  144. package/dist/actions/create-name-list-item.d.cts.map +1 -1
  145. package/dist/actions/create-name-list-item.d.mts +47 -3
  146. package/dist/actions/create-name-list-item.d.mts.map +1 -1
  147. package/dist/actions/create-name-list-item.mjs +7 -7
  148. package/dist/actions/create-name-list-item.mjs.map +1 -1
  149. package/dist/actions/create-phone-number-list-item.cjs +4 -4
  150. package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
  151. package/dist/actions/create-phone-number-list-item.d.cts +46 -3
  152. package/dist/actions/create-phone-number-list-item.d.cts.map +1 -1
  153. package/dist/actions/create-phone-number-list-item.d.mts +46 -3
  154. package/dist/actions/create-phone-number-list-item.d.mts.map +1 -1
  155. package/dist/actions/create-phone-number-list-item.mjs +4 -4
  156. package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
  157. package/dist/actions/create-string-list-item.cjs +4 -4
  158. package/dist/actions/create-string-list-item.cjs.map +1 -1
  159. package/dist/actions/create-string-list-item.d.cts +39 -3
  160. package/dist/actions/create-string-list-item.d.cts.map +1 -1
  161. package/dist/actions/create-string-list-item.d.mts +39 -3
  162. package/dist/actions/create-string-list-item.d.mts.map +1 -1
  163. package/dist/actions/create-string-list-item.mjs +4 -4
  164. package/dist/actions/create-string-list-item.mjs.map +1 -1
  165. package/dist/actions/create-webhook.cjs +3 -3
  166. package/dist/actions/create-webhook.cjs.map +1 -1
  167. package/dist/actions/create-webhook.d.cts +72 -3
  168. package/dist/actions/create-webhook.d.cts.map +1 -1
  169. package/dist/actions/create-webhook.d.mts +72 -3
  170. package/dist/actions/create-webhook.d.mts.map +1 -1
  171. package/dist/actions/create-webhook.mjs +3 -3
  172. package/dist/actions/create-webhook.mjs.map +1 -1
  173. package/dist/actions/disable-webhook.cjs.map +1 -1
  174. package/dist/actions/disable-webhook.d.cts +49 -3
  175. package/dist/actions/disable-webhook.d.cts.map +1 -1
  176. package/dist/actions/disable-webhook.d.mts +49 -3
  177. package/dist/actions/disable-webhook.d.mts.map +1 -1
  178. package/dist/actions/disable-webhook.mjs.map +1 -1
  179. package/dist/actions/enable-webhook.cjs +2 -2
  180. package/dist/actions/enable-webhook.cjs.map +1 -1
  181. package/dist/actions/enable-webhook.d.cts +47 -3
  182. package/dist/actions/enable-webhook.d.cts.map +1 -1
  183. package/dist/actions/enable-webhook.d.mts +47 -3
  184. package/dist/actions/enable-webhook.d.mts.map +1 -1
  185. package/dist/actions/enable-webhook.mjs +2 -2
  186. package/dist/actions/enable-webhook.mjs.map +1 -1
  187. package/dist/actions/expire-inquiry-sessions.cjs +4 -4
  188. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
  189. package/dist/actions/expire-inquiry-sessions.d.cts +54 -3
  190. package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -1
  191. package/dist/actions/expire-inquiry-sessions.d.mts +54 -3
  192. package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -1
  193. package/dist/actions/expire-inquiry-sessions.mjs +4 -4
  194. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
  195. package/dist/actions/import-email-address-lists.cjs +7 -7
  196. package/dist/actions/import-email-address-lists.cjs.map +1 -1
  197. package/dist/actions/import-email-address-lists.d.cts +30 -3
  198. package/dist/actions/import-email-address-lists.d.cts.map +1 -1
  199. package/dist/actions/import-email-address-lists.d.mts +30 -3
  200. package/dist/actions/import-email-address-lists.d.mts.map +1 -1
  201. package/dist/actions/import-email-address-lists.mjs +7 -7
  202. package/dist/actions/import-email-address-lists.mjs.map +1 -1
  203. package/dist/actions/import-ip-address-lists.cjs +7 -7
  204. package/dist/actions/import-ip-address-lists.cjs.map +1 -1
  205. package/dist/actions/import-ip-address-lists.d.cts +46 -3
  206. package/dist/actions/import-ip-address-lists.d.cts.map +1 -1
  207. package/dist/actions/import-ip-address-lists.d.mts +46 -3
  208. package/dist/actions/import-ip-address-lists.d.mts.map +1 -1
  209. package/dist/actions/import-ip-address-lists.mjs +7 -7
  210. package/dist/actions/import-ip-address-lists.mjs.map +1 -1
  211. package/dist/actions/import-name-lists.cjs.map +1 -1
  212. package/dist/actions/import-name-lists.d.cts +36 -3
  213. package/dist/actions/import-name-lists.d.cts.map +1 -1
  214. package/dist/actions/import-name-lists.d.mts +36 -3
  215. package/dist/actions/import-name-lists.d.mts.map +1 -1
  216. package/dist/actions/import-name-lists.mjs.map +1 -1
  217. package/dist/actions/import-phone-number-lists.cjs +7 -7
  218. package/dist/actions/import-phone-number-lists.cjs.map +1 -1
  219. package/dist/actions/import-phone-number-lists.d.cts +46 -3
  220. package/dist/actions/import-phone-number-lists.d.cts.map +1 -1
  221. package/dist/actions/import-phone-number-lists.d.mts +46 -3
  222. package/dist/actions/import-phone-number-lists.d.mts.map +1 -1
  223. package/dist/actions/import-phone-number-lists.mjs +7 -7
  224. package/dist/actions/import-phone-number-lists.mjs.map +1 -1
  225. package/dist/actions/list-all-accounts.cjs +2 -2
  226. package/dist/actions/list-all-accounts.cjs.map +1 -1
  227. package/dist/actions/list-all-accounts.d.cts +60 -3
  228. package/dist/actions/list-all-accounts.d.cts.map +1 -1
  229. package/dist/actions/list-all-accounts.d.mts +60 -3
  230. package/dist/actions/list-all-accounts.d.mts.map +1 -1
  231. package/dist/actions/list-all-accounts.mjs +2 -2
  232. package/dist/actions/list-all-accounts.mjs.map +1 -1
  233. package/dist/actions/list-all-api-logs.cjs +2 -2
  234. package/dist/actions/list-all-api-logs.cjs.map +1 -1
  235. package/dist/actions/list-all-api-logs.d.cts +54 -3
  236. package/dist/actions/list-all-api-logs.d.cts.map +1 -1
  237. package/dist/actions/list-all-api-logs.d.mts +54 -3
  238. package/dist/actions/list-all-api-logs.d.mts.map +1 -1
  239. package/dist/actions/list-all-api-logs.mjs +2 -2
  240. package/dist/actions/list-all-api-logs.mjs.map +1 -1
  241. package/dist/actions/list-all-cases.cjs +4 -4
  242. package/dist/actions/list-all-cases.cjs.map +1 -1
  243. package/dist/actions/list-all-cases.d.cts +66 -3
  244. package/dist/actions/list-all-cases.d.cts.map +1 -1
  245. package/dist/actions/list-all-cases.d.mts +66 -3
  246. package/dist/actions/list-all-cases.d.mts.map +1 -1
  247. package/dist/actions/list-all-cases.mjs +4 -4
  248. package/dist/actions/list-all-cases.mjs.map +1 -1
  249. package/dist/actions/list-all-devices.cjs +2 -2
  250. package/dist/actions/list-all-devices.cjs.map +1 -1
  251. package/dist/actions/list-all-devices.d.cts +46 -3
  252. package/dist/actions/list-all-devices.d.cts.map +1 -1
  253. package/dist/actions/list-all-devices.d.mts +46 -3
  254. package/dist/actions/list-all-devices.d.mts.map +1 -1
  255. package/dist/actions/list-all-devices.mjs +2 -2
  256. package/dist/actions/list-all-devices.mjs.map +1 -1
  257. package/dist/actions/list-all-events.cjs.map +1 -1
  258. package/dist/actions/list-all-events.d.cts +50 -3
  259. package/dist/actions/list-all-events.d.cts.map +1 -1
  260. package/dist/actions/list-all-events.d.mts +50 -3
  261. package/dist/actions/list-all-events.d.mts.map +1 -1
  262. package/dist/actions/list-all-events.mjs.map +1 -1
  263. package/dist/actions/list-all-importers.cjs.map +1 -1
  264. package/dist/actions/list-all-importers.d.cts +50 -3
  265. package/dist/actions/list-all-importers.d.cts.map +1 -1
  266. package/dist/actions/list-all-importers.d.mts +50 -3
  267. package/dist/actions/list-all-importers.d.mts.map +1 -1
  268. package/dist/actions/list-all-importers.mjs.map +1 -1
  269. package/dist/actions/list-all-inquiries.cjs +2 -2
  270. package/dist/actions/list-all-inquiries.cjs.map +1 -1
  271. package/dist/actions/list-all-inquiries.d.cts +63 -3
  272. package/dist/actions/list-all-inquiries.d.cts.map +1 -1
  273. package/dist/actions/list-all-inquiries.d.mts +63 -3
  274. package/dist/actions/list-all-inquiries.d.mts.map +1 -1
  275. package/dist/actions/list-all-inquiries.mjs +2 -2
  276. package/dist/actions/list-all-inquiries.mjs.map +1 -1
  277. package/dist/actions/list-all-inquiry-sessions.cjs +4 -4
  278. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
  279. package/dist/actions/list-all-inquiry-sessions.d.cts +56 -3
  280. package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -1
  281. package/dist/actions/list-all-inquiry-sessions.d.mts +56 -3
  282. package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -1
  283. package/dist/actions/list-all-inquiry-sessions.mjs +4 -4
  284. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
  285. package/dist/actions/list-all-lists.cjs.map +1 -1
  286. package/dist/actions/list-all-lists.d.cts +45 -3
  287. package/dist/actions/list-all-lists.d.cts.map +1 -1
  288. package/dist/actions/list-all-lists.d.mts +45 -3
  289. package/dist/actions/list-all-lists.d.mts.map +1 -1
  290. package/dist/actions/list-all-lists.mjs.map +1 -1
  291. package/dist/actions/list-all-rate-limits.cjs.map +1 -1
  292. package/dist/actions/list-all-rate-limits.d.cts +36 -3
  293. package/dist/actions/list-all-rate-limits.d.cts.map +1 -1
  294. package/dist/actions/list-all-rate-limits.d.mts +36 -3
  295. package/dist/actions/list-all-rate-limits.d.mts.map +1 -1
  296. package/dist/actions/list-all-rate-limits.mjs.map +1 -1
  297. package/dist/actions/list-all-reports.cjs +2 -2
  298. package/dist/actions/list-all-reports.cjs.map +1 -1
  299. package/dist/actions/list-all-reports.d.cts +65 -3
  300. package/dist/actions/list-all-reports.d.cts.map +1 -1
  301. package/dist/actions/list-all-reports.d.mts +65 -3
  302. package/dist/actions/list-all-reports.d.mts.map +1 -1
  303. package/dist/actions/list-all-reports.mjs +2 -2
  304. package/dist/actions/list-all-reports.mjs.map +1 -1
  305. package/dist/actions/list-all-transactions.cjs +2 -2
  306. package/dist/actions/list-all-transactions.cjs.map +1 -1
  307. package/dist/actions/list-all-transactions.d.cts +55 -3
  308. package/dist/actions/list-all-transactions.d.cts.map +1 -1
  309. package/dist/actions/list-all-transactions.d.mts +55 -3
  310. package/dist/actions/list-all-transactions.d.mts.map +1 -1
  311. package/dist/actions/list-all-transactions.mjs +2 -2
  312. package/dist/actions/list-all-transactions.mjs.map +1 -1
  313. package/dist/actions/list-all-webhooks.cjs +2 -2
  314. package/dist/actions/list-all-webhooks.cjs.map +1 -1
  315. package/dist/actions/list-all-webhooks.d.cts +57 -3
  316. package/dist/actions/list-all-webhooks.d.cts.map +1 -1
  317. package/dist/actions/list-all-webhooks.d.mts +57 -3
  318. package/dist/actions/list-all-webhooks.d.mts.map +1 -1
  319. package/dist/actions/list-all-webhooks.mjs +2 -2
  320. package/dist/actions/list-all-webhooks.mjs.map +1 -1
  321. package/dist/actions/list-all-workflow-runs.cjs +2 -2
  322. package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
  323. package/dist/actions/list-all-workflow-runs.d.cts +65 -3
  324. package/dist/actions/list-all-workflow-runs.d.cts.map +1 -1
  325. package/dist/actions/list-all-workflow-runs.d.mts +65 -3
  326. package/dist/actions/list-all-workflow-runs.d.mts.map +1 -1
  327. package/dist/actions/list-all-workflow-runs.mjs +2 -2
  328. package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
  329. package/dist/actions/redact-an-account.cjs +4 -4
  330. package/dist/actions/redact-an-account.cjs.map +1 -1
  331. package/dist/actions/redact-an-account.d.cts +55 -3
  332. package/dist/actions/redact-an-account.d.cts.map +1 -1
  333. package/dist/actions/redact-an-account.d.mts +55 -3
  334. package/dist/actions/redact-an-account.d.mts.map +1 -1
  335. package/dist/actions/redact-an-account.mjs +4 -4
  336. package/dist/actions/redact-an-account.mjs.map +1 -1
  337. package/dist/actions/remove-account-tag.cjs +4 -4
  338. package/dist/actions/remove-account-tag.cjs.map +1 -1
  339. package/dist/actions/remove-account-tag.d.cts +46 -3
  340. package/dist/actions/remove-account-tag.d.cts.map +1 -1
  341. package/dist/actions/remove-account-tag.d.mts +46 -3
  342. package/dist/actions/remove-account-tag.d.mts.map +1 -1
  343. package/dist/actions/remove-account-tag.mjs +4 -4
  344. package/dist/actions/remove-account-tag.mjs.map +1 -1
  345. package/dist/actions/retrieve-a-country-list-item.cjs +2 -2
  346. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
  347. package/dist/actions/retrieve-a-country-list-item.d.cts +49 -3
  348. package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -1
  349. package/dist/actions/retrieve-a-country-list-item.d.mts +49 -3
  350. package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -1
  351. package/dist/actions/retrieve-a-country-list-item.mjs +2 -2
  352. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
  353. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
  354. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +54 -3
  355. package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -1
  356. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +54 -3
  357. package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -1
  358. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
  359. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
  360. package/dist/actions/retrieve-a-name-list-item.d.cts +50 -3
  361. package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -1
  362. package/dist/actions/retrieve-a-name-list-item.d.mts +50 -3
  363. package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -1
  364. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
  365. package/dist/actions/retrieve-a-string-list-item.cjs +2 -2
  366. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
  367. package/dist/actions/retrieve-a-string-list-item.d.cts +49 -3
  368. package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -1
  369. package/dist/actions/retrieve-a-string-list-item.d.mts +49 -3
  370. package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -1
  371. package/dist/actions/retrieve-a-string-list-item.mjs +2 -2
  372. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
  373. package/dist/actions/retrieve-a-webhook.cjs +3 -3
  374. package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
  375. package/dist/actions/retrieve-a-webhook.d.cts +54 -3
  376. package/dist/actions/retrieve-a-webhook.d.cts.map +1 -1
  377. package/dist/actions/retrieve-a-webhook.d.mts +54 -3
  378. package/dist/actions/retrieve-a-webhook.d.mts.map +1 -1
  379. package/dist/actions/retrieve-a-webhook.mjs +3 -3
  380. package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
  381. package/dist/actions/retrieve-an-account.cjs +4 -4
  382. package/dist/actions/retrieve-an-account.cjs.map +1 -1
  383. package/dist/actions/retrieve-an-account.d.cts +55 -3
  384. package/dist/actions/retrieve-an-account.d.cts.map +1 -1
  385. package/dist/actions/retrieve-an-account.d.mts +55 -3
  386. package/dist/actions/retrieve-an-account.d.mts.map +1 -1
  387. package/dist/actions/retrieve-an-account.mjs +4 -4
  388. package/dist/actions/retrieve-an-account.mjs.map +1 -1
  389. package/dist/actions/retrieve-an-event.cjs +4 -4
  390. package/dist/actions/retrieve-an-event.cjs.map +1 -1
  391. package/dist/actions/retrieve-an-event.d.cts +46 -3
  392. package/dist/actions/retrieve-an-event.d.cts.map +1 -1
  393. package/dist/actions/retrieve-an-event.d.mts +46 -3
  394. package/dist/actions/retrieve-an-event.d.mts.map +1 -1
  395. package/dist/actions/retrieve-an-event.mjs +4 -4
  396. package/dist/actions/retrieve-an-event.mjs.map +1 -1
  397. package/dist/actions/retrieve-an-importer.cjs.map +1 -1
  398. package/dist/actions/retrieve-an-importer.d.cts +44 -3
  399. package/dist/actions/retrieve-an-importer.d.cts.map +1 -1
  400. package/dist/actions/retrieve-an-importer.d.mts +44 -3
  401. package/dist/actions/retrieve-an-importer.d.mts.map +1 -1
  402. package/dist/actions/retrieve-an-importer.mjs.map +1 -1
  403. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
  404. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +49 -3
  405. package/dist/actions/retrieve-an-ip-address-list-item.d.cts.map +1 -1
  406. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +49 -3
  407. package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -1
  408. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
  409. package/dist/actions/retrieve-api-log.cjs +4 -4
  410. package/dist/actions/retrieve-api-log.cjs.map +1 -1
  411. package/dist/actions/retrieve-api-log.d.cts +54 -3
  412. package/dist/actions/retrieve-api-log.d.cts.map +1 -1
  413. package/dist/actions/retrieve-api-log.d.mts +54 -3
  414. package/dist/actions/retrieve-api-log.d.mts.map +1 -1
  415. package/dist/actions/retrieve-api-log.mjs +4 -4
  416. package/dist/actions/retrieve-api-log.mjs.map +1 -1
  417. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +4 -4
  418. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
  419. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +47 -3
  420. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -1
  421. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +47 -3
  422. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -1
  423. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +4 -4
  424. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
  425. package/dist/actions/retrieve-document-generic.cjs +4 -4
  426. package/dist/actions/retrieve-document-generic.cjs.map +1 -1
  427. package/dist/actions/retrieve-document-generic.d.cts +61 -3
  428. package/dist/actions/retrieve-document-generic.d.cts.map +1 -1
  429. package/dist/actions/retrieve-document-generic.d.mts +61 -3
  430. package/dist/actions/retrieve-document-generic.d.mts.map +1 -1
  431. package/dist/actions/retrieve-document-generic.mjs +4 -4
  432. package/dist/actions/retrieve-document-generic.mjs.map +1 -1
  433. package/dist/actions/retrieve-document.cjs +5 -5
  434. package/dist/actions/retrieve-document.cjs.map +1 -1
  435. package/dist/actions/retrieve-document.d.cts +81 -3
  436. package/dist/actions/retrieve-document.d.cts.map +1 -1
  437. package/dist/actions/retrieve-document.d.mts +81 -3
  438. package/dist/actions/retrieve-document.d.mts.map +1 -1
  439. package/dist/actions/retrieve-document.mjs +5 -5
  440. package/dist/actions/retrieve-document.mjs.map +1 -1
  441. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
  442. package/dist/actions/retrieve-email-address-list-item.d.cts +50 -3
  443. package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -1
  444. package/dist/actions/retrieve-email-address-list-item.d.mts +50 -3
  445. package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -1
  446. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
  447. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
  448. package/dist/actions/retrieve-government-id-number-list-item.d.cts +50 -3
  449. package/dist/actions/retrieve-government-id-number-list-item.d.cts.map +1 -1
  450. package/dist/actions/retrieve-government-id-number-list-item.d.mts +50 -3
  451. package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -1
  452. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
  453. package/dist/actions/retrieve-phone-number-list-item.cjs +4 -4
  454. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
  455. package/dist/actions/retrieve-phone-number-list-item.d.cts +52 -3
  456. package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -1
  457. package/dist/actions/retrieve-phone-number-list-item.d.mts +52 -3
  458. package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -1
  459. package/dist/actions/retrieve-phone-number-list-item.mjs +4 -4
  460. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
  461. package/dist/actions/rotate-webhook-secret.cjs +2 -2
  462. package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
  463. package/dist/actions/rotate-webhook-secret.d.cts +53 -3
  464. package/dist/actions/rotate-webhook-secret.d.cts.map +1 -1
  465. package/dist/actions/rotate-webhook-secret.d.mts +53 -3
  466. package/dist/actions/rotate-webhook-secret.d.mts.map +1 -1
  467. package/dist/actions/rotate-webhook-secret.mjs +2 -2
  468. package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
  469. package/dist/actions/search-accounts.cjs.map +1 -1
  470. package/dist/actions/search-accounts.d.cts +71 -3
  471. package/dist/actions/search-accounts.d.cts.map +1 -1
  472. package/dist/actions/search-accounts.d.mts +71 -3
  473. package/dist/actions/search-accounts.d.mts.map +1 -1
  474. package/dist/actions/search-accounts.mjs.map +1 -1
  475. package/dist/actions/search-cases.cjs +2 -2
  476. package/dist/actions/search-cases.cjs.map +1 -1
  477. package/dist/actions/search-cases.d.cts +69 -3
  478. package/dist/actions/search-cases.d.cts.map +1 -1
  479. package/dist/actions/search-cases.d.mts +69 -3
  480. package/dist/actions/search-cases.d.mts.map +1 -1
  481. package/dist/actions/search-cases.mjs +2 -2
  482. package/dist/actions/search-cases.mjs.map +1 -1
  483. package/dist/actions/set-tags.cjs +4 -4
  484. package/dist/actions/set-tags.cjs.map +1 -1
  485. package/dist/actions/set-tags.d.cts +52 -3
  486. package/dist/actions/set-tags.d.cts.map +1 -1
  487. package/dist/actions/set-tags.d.mts +52 -3
  488. package/dist/actions/set-tags.d.mts.map +1 -1
  489. package/dist/actions/set-tags.mjs +4 -4
  490. package/dist/actions/set-tags.mjs.map +1 -1
  491. package/dist/actions/update-a-webhook.cjs +2 -2
  492. package/dist/actions/update-a-webhook.cjs.map +1 -1
  493. package/dist/actions/update-a-webhook.d.cts +69 -3
  494. package/dist/actions/update-a-webhook.d.cts.map +1 -1
  495. package/dist/actions/update-a-webhook.d.mts +69 -3
  496. package/dist/actions/update-a-webhook.d.mts.map +1 -1
  497. package/dist/actions/update-a-webhook.mjs +2 -2
  498. package/dist/actions/update-a-webhook.mjs.map +1 -1
  499. package/dist/actions/update-an-account.cjs +4 -4
  500. package/dist/actions/update-an-account.cjs.map +1 -1
  501. package/dist/actions/update-an-account.d.cts +113 -3
  502. package/dist/actions/update-an-account.d.cts.map +1 -1
  503. package/dist/actions/update-an-account.d.mts +113 -3
  504. package/dist/actions/update-an-account.d.mts.map +1 -1
  505. package/dist/actions/update-an-account.mjs +4 -4
  506. package/dist/actions/update-an-account.mjs.map +1 -1
  507. package/dist/actions/update-document-generic.cjs +5 -5
  508. package/dist/actions/update-document-generic.cjs.map +1 -1
  509. package/dist/actions/update-document-generic.d.cts +87 -3
  510. package/dist/actions/update-document-generic.d.cts.map +1 -1
  511. package/dist/actions/update-document-generic.d.mts +87 -3
  512. package/dist/actions/update-document-generic.d.mts.map +1 -1
  513. package/dist/actions/update-document-generic.mjs +5 -5
  514. package/dist/actions/update-document-generic.mjs.map +1 -1
  515. package/dist/catalog.cjs +7 -1
  516. package/dist/catalog.cjs.map +1 -1
  517. package/dist/catalog.d.cts +8 -0
  518. package/dist/catalog.d.mts +8 -0
  519. package/dist/catalog.mjs +7 -1
  520. package/dist/catalog.mjs.map +1 -1
  521. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-phone-number-list-item.d.mts","names":[],"sources":["../../src/actions/create-phone-number-list-item.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAUa;AAAA,cAsBtD,sCAAA,EAAwC,CAAA,CAAE,UAEa;AAAA,cAEvD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-phone-number-list-item.d.mts","names":[],"sources":["../../src/actions/create-phone-number-list-item.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgCrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -15,8 +15,8 @@ const PersonaCreatePhoneNumberListItemInput = z.object({
15
15
  "Idempotency-Key": z.string().describe("Ensures the request is idempotent. Use the same key to prevent duplicate creation.").optional()
16
16
  }).describe("Request model for creating a phone number list item.");
17
17
  const PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseAttributesSchema = z.object({
18
- value: z.string().describe("The phone number value stored in this list item."),
19
- status: z.string().describe("Status of the list item (e.g., active, archived)."),
18
+ value: z.string().describe("The phone number value stored in this list item.").nullable(),
19
+ status: z.string().describe("Status of the list item (e.g., active, archived).").nullable(),
20
20
  "created-at": z.string().describe("ISO 8601 timestamp when the list item was created.").nullable().optional(),
21
21
  "updated-at": z.string().describe("ISO 8601 timestamp when the list item was last updated, or null if never updated.").nullable().optional(),
22
22
  "archived-at": z.string().describe("ISO 8601 timestamp when the list item was archived, or null if not archived.").nullable().optional(),
@@ -26,8 +26,8 @@ const PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseAttributesSche
26
26
  const PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipCreatorSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Creator relationship data.").nullable().optional() }).describe("Creator relationship object.");
27
27
  const PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema = z.object({ creator: PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipCreatorSchema.nullable().optional() }).describe("Relationships for the phone number list item.");
28
28
  const PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseDataSchema = z.object({
29
- id: z.string().describe("Unique identifier for this list item. Starts with 'lipn_'."),
30
- type: z.string().describe("Resource type, typically 'list-item/phone-number'."),
29
+ id: z.string().describe("Unique identifier for this list item. Starts with 'lipn_'.").nullable(),
30
+ type: z.string().describe("Resource type, typically 'list-item/phone-number'.").nullable(),
31
31
  attributes: PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseAttributesSchema.nullable(),
32
32
  relationships: PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional()
33
33
  }).describe("Response data for a phone number list item.");
@@ -1 +1 @@
1
- {"version":3,"file":"create-phone-number-list-item.mjs","names":[],"sources":["../../src/actions/create-phone-number-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreatePhoneNumberListItemInput: z.ZodTypeAny = z.object({\n data: z.object({\n attributes: z.object({\n value: z.string().describe(\"The phone number value to add to the list. Should be in E.164 format (e.g., +15555551234).\"),\n \"list-id\": z.string().describe(\"The ID of the list to add the phone number to. Must be a valid list ID starting with 'lst_'.\"),\n}).describe(\"The attributes of the phone number list item to create.\"),\n}).describe(\"The data object containing attributes for the phone number list item.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. See Persona serialization docs for details.\").optional(),\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 to prevent duplicate creation.\").optional(),\n}).describe(\"Request model for creating a phone number list item.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseAttributesSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The phone number value stored in this list item.\"),\n status: z.string().describe(\"Status of the list item (e.g., active, archived).\"),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the list item was last updated, or null if never updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"ISO 8601 timestamp when the list item was archived, or null if not archived.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this phone number.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the list item was redacted, or null if not redacted.\").nullable().optional(),\n}).describe(\"Attributes of a phone number list item in the response.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipCreatorSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n}).describe(\"Creator relationship object.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema: z.ZodTypeAny = z.object({\n creator: PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipCreatorSchema.nullable().optional(),\n}).describe(\"Relationships for the phone number list item.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lipn_'.\"),\n type: z.string().describe(\"Resource type, typically 'list-item/phone-number'.\"),\n attributes: PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"Response data for a phone number list item.\");\nexport const PersonaCreatePhoneNumberListItemOutput: z.ZodTypeAny = z.object({\n data: PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a phone number list item.\");\n\nexport const personaCreatePhoneNumberListItem = action(\"PERSONA_CREATE_PHONE_NUMBER_LIST_ITEM\", {\n slug: \"persona-create-phone-number-list-item\",\n name: \"Create Phone Number List Item\",\n description: \"Tool to create a phone number list item in Persona. Use when you need to add a phone number to a specific list for tracking or verification purposes.\",\n input: PersonaCreatePhoneNumberListItemInput,\n output: PersonaCreatePhoneNumberListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC/H,CAAC,CAAC,CAAC,SAAS,yDAAyD,EACrE,CAAC,CAAC,CAAC,SAAS,uEAAuE;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC9J,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+EAA6F,EAAE,OAAO;CAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gFAA8F,EAAE,OAAO,EAC3G,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,0EAAwF,EAAE,OAAO,EACrG,SAAS,8EAA8E,SAAS,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,yEAAuF,EAAE,OAAO;CACpG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,YAAY,6EAA6E,SAAS;CAClG,eAAe,wEAAwE,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,MAAM,uEAAuE,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-phone-number-list-item.mjs","names":[],"sources":["../../src/actions/create-phone-number-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreatePhoneNumberListItemInput = z.object({\n data: z.object({\n attributes: z.object({\n value: z.string().describe(\"The phone number value to add to the list. Should be in E.164 format (e.g., +15555551234).\"),\n \"list-id\": z.string().describe(\"The ID of the list to add the phone number to. Must be a valid list ID starting with 'lst_'.\"),\n}).describe(\"The attributes of the phone number list item to create.\"),\n}).describe(\"The data object containing attributes for the phone number list item.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. See Persona serialization docs for details.\").optional(),\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 to prevent duplicate creation.\").optional(),\n}).describe(\"Request model for creating a phone number list item.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The phone number value stored in this list item.\").nullable(),\n status: z.string().describe(\"Status of the list item (e.g., active, archived).\").nullable(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the list item was last updated, or null if never updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"ISO 8601 timestamp when the list item was archived, or null if not archived.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this phone number.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the list item was redacted, or null if not redacted.\").nullable().optional(),\n}).describe(\"Attributes of a phone number list item in the response.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipCreatorSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n}).describe(\"Creator relationship object.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema = z.object({\n creator: PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipCreatorSchema.nullable().optional(),\n}).describe(\"Relationships for the phone number list item.\");\nconst PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lipn_'.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'list-item/phone-number'.\").nullable(),\n attributes: PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreatePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"Response data for a phone number list item.\");\nexport const PersonaCreatePhoneNumberListItemOutput = z.object({\n data: PersonaCreatePhoneNumberListItem_PhoneNumberListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a phone number list item.\");\n\nexport const personaCreatePhoneNumberListItem = action(\"PERSONA_CREATE_PHONE_NUMBER_LIST_ITEM\", {\n slug: \"persona-create-phone-number-list-item\",\n name: \"Create Phone Number List Item\",\n description: \"Tool to create a phone number list item in Persona. Use when you need to add a phone number to a specific list for tracking or verification purposes.\",\n input: PersonaCreatePhoneNumberListItemInput,\n output: PersonaCreatePhoneNumberListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC/H,CAAC,CAAC,CAAC,SAAS,yDAAyD,EACrE,CAAC,CAAC,CAAC,SAAS,uEAAuE;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC9J,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+EAA+E,EAAE,OAAO;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gFAAgF,EAAE,OAAO,EAC7F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,0EAA0E,EAAE,OAAO,EACvF,SAAS,8EAA8E,SAAS,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,yEAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,YAAY,6EAA6E,SAAS;CAClG,eAAe,wEAAwE,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,uEAAuE,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -13,8 +13,8 @@ const PersonaCreateStringListItemInput = zod.z.object({
13
13
  idempotency_key: zod.z.string().describe("Ensures the request is idempotent. Use the same key for retries to avoid creating duplicate items.").optional()
14
14
  });
15
15
  const PersonaCreateStringListItem_StringListItemAttributesSchema = zod.z.object({
16
- value: zod.z.string().describe("The string value of the list item."),
17
- status: zod.z.string().describe("The status of the list item."),
16
+ value: zod.z.string().describe("The string value of the list item.").nullable(),
17
+ status: zod.z.string().describe("The status of the list item.").nullable(),
18
18
  createdAt: zod.z.string().describe("Timestamp when the list item was created.").nullable().optional(),
19
19
  updatedAt: zod.z.string().describe("Timestamp when the list item was last updated.").nullable().optional(),
20
20
  archivedAt: zod.z.string().describe("Timestamp when the list item was archived, if applicable.").nullable().optional(),
@@ -25,8 +25,8 @@ const PersonaCreateStringListItem_StringListItemAttributesSchema = zod.z.object(
25
25
  const PersonaCreateStringListItem_CreatorRelationshipSchema = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Creator relationship data.").nullable().optional() });
26
26
  const PersonaCreateStringListItem_StringListItemRelationshipsSchema = zod.z.object({ creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional() });
27
27
  const PersonaCreateStringListItem_StringListItemDataSchema = zod.z.object({
28
- id: zod.z.string().describe("The unique identifier of the list item."),
29
- type: zod.z.string().describe("The type of the resource."),
28
+ id: zod.z.string().describe("The unique identifier of the list item.").nullable(),
29
+ type: zod.z.string().describe("The type of the resource.").nullable(),
30
30
  attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),
31
31
  relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional()
32
32
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n value: z.string().describe(\"The string value of the list item.\"),\n status: z.string().describe(\"The status of the list item.\"),\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.object({})).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_CreatorRelationshipSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema: z.ZodTypeAny = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n});\nconst PersonaCreateStringListItem_StringListItemDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the list item.\"),\n type: z.string().describe(\"The type of the resource.\"),\n attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),\n relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n});\nexport const PersonaCreateStringListItemOutput: z.ZodTypeAny = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n});\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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,6DAA2EA,IAAAA,EAAE,OAAO;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC;AACD,MAAM,wDAAsEA,IAAAA,EAAE,OAAO,EACnF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrG,CAAC;AACD,MAAM,gEAA8EA,IAAAA,EAAE,OAAO,EAC3F,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC;AACD,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,YAAY,2DAA2D,SAAS;CAChF,eAAe,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAM,qDAAqD,SAAS,EACtE,CAAC;AAED,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 { 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.object({})).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_CreatorRelationshipSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n});\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});\nexport const PersonaCreateStringListItemOutput = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n});\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,CAA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,EACrE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrG,CAAC;AACD,MAAM,gEAAgEA,IAAAA,EAAE,OAAO,EAC7E,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC;AACD,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;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,qDAAqD,SAAS,EACtE,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-string-list-item.d.ts
4
- declare const PersonaCreateStringListItemInput: z.ZodTypeAny;
5
- declare const PersonaCreateStringListItemOutput: z.ZodTypeAny;
6
- declare const personaCreateStringListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaCreateStringListItemInput: z.ZodObject<{
5
+ value: z.ZodString;
6
+ include: z.ZodOptional<z.ZodString>;
7
+ list_id: z.ZodString;
8
+ key_inflection: z.ZodOptional<z.ZodEnum<{
9
+ camel: "camel";
10
+ kebab: "kebab";
11
+ snake: "snake";
12
+ }>>;
13
+ idempotency_key: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const PersonaCreateStringListItemOutput: z.ZodObject<{
16
+ data: z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ attributes: z.ZodNullable<z.ZodObject<{
20
+ value: z.ZodNullable<z.ZodString>;
21
+ status: z.ZodNullable<z.ZodString>;
22
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ matchCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ redactedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ inquiryMatches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
28
+ }, z.core.$strip>>;
29
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
+ }, z.core.$strip>>>;
33
+ }, z.core.$strip>>>;
34
+ }, z.core.$strip>>;
35
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { personaCreateStringListItem };
9
45
  //# 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,EAAkC,CAAA,CAAE,UAM/C;AAAA,cAuBW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-string-list-item.d.ts
4
- declare const PersonaCreateStringListItemInput: z.ZodTypeAny;
5
- declare const PersonaCreateStringListItemOutput: z.ZodTypeAny;
6
- declare const personaCreateStringListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaCreateStringListItemInput: z.ZodObject<{
5
+ value: z.ZodString;
6
+ include: z.ZodOptional<z.ZodString>;
7
+ list_id: z.ZodString;
8
+ key_inflection: z.ZodOptional<z.ZodEnum<{
9
+ camel: "camel";
10
+ kebab: "kebab";
11
+ snake: "snake";
12
+ }>>;
13
+ idempotency_key: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const PersonaCreateStringListItemOutput: z.ZodObject<{
16
+ data: z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ attributes: z.ZodNullable<z.ZodObject<{
20
+ value: z.ZodNullable<z.ZodString>;
21
+ status: z.ZodNullable<z.ZodString>;
22
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ matchCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ redactedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ inquiryMatches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
28
+ }, z.core.$strip>>;
29
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
+ }, z.core.$strip>>>;
33
+ }, z.core.$strip>>>;
34
+ }, z.core.$strip>>;
35
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { personaCreateStringListItem };
9
45
  //# 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,EAAkC,CAAA,CAAE,UAM/C;AAAA,cAuBW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -13,8 +13,8 @@ const PersonaCreateStringListItemInput = z.object({
13
13
  idempotency_key: z.string().describe("Ensures the request is idempotent. Use the same key for retries to avoid creating duplicate items.").optional()
14
14
  });
15
15
  const PersonaCreateStringListItem_StringListItemAttributesSchema = z.object({
16
- value: z.string().describe("The string value of the list item."),
17
- status: z.string().describe("The status of the list item."),
16
+ value: z.string().describe("The string value of the list item.").nullable(),
17
+ status: z.string().describe("The status of the list item.").nullable(),
18
18
  createdAt: z.string().describe("Timestamp when the list item was created.").nullable().optional(),
19
19
  updatedAt: z.string().describe("Timestamp when the list item was last updated.").nullable().optional(),
20
20
  archivedAt: z.string().describe("Timestamp when the list item was archived, if applicable.").nullable().optional(),
@@ -25,8 +25,8 @@ const PersonaCreateStringListItem_StringListItemAttributesSchema = z.object({
25
25
  const PersonaCreateStringListItem_CreatorRelationshipSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Creator relationship data.").nullable().optional() });
26
26
  const PersonaCreateStringListItem_StringListItemRelationshipsSchema = z.object({ creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional() });
27
27
  const PersonaCreateStringListItem_StringListItemDataSchema = z.object({
28
- id: z.string().describe("The unique identifier of the list item."),
29
- type: z.string().describe("The type of the resource."),
28
+ id: z.string().describe("The unique identifier of the list item.").nullable(),
29
+ type: z.string().describe("The type of the resource.").nullable(),
30
30
  attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),
31
31
  relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional()
32
32
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n value: z.string().describe(\"The string value of the list item.\"),\n status: z.string().describe(\"The status of the list item.\"),\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.object({})).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_CreatorRelationshipSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema: z.ZodTypeAny = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n});\nconst PersonaCreateStringListItem_StringListItemDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the list item.\"),\n type: z.string().describe(\"The type of the resource.\"),\n attributes: PersonaCreateStringListItem_StringListItemAttributesSchema.nullable(),\n relationships: PersonaCreateStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n});\nexport const PersonaCreateStringListItemOutput: z.ZodTypeAny = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n});\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,mCAAiD,EAAE,OAAO;CACrE,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,6DAA2E,EAAE,OAAO;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,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,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC;AACD,MAAM,wDAAsE,EAAE,OAAO,EACnF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrG,CAAC;AACD,MAAM,gEAA8E,EAAE,OAAO,EAC3F,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC;AACD,MAAM,uDAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,YAAY,2DAA2D,SAAS;CAChF,eAAe,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AAKD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,qDAAqD,SAAS,EACtE,CAOU;AACV,CAAC"}
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.object({})).describe(\"List of inquiry matches for this list item.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_CreatorRelationshipSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n});\nconst PersonaCreateStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaCreateStringListItem_CreatorRelationshipSchema.nullable().optional(),\n});\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});\nexport const PersonaCreateStringListItemOutput = z.object({\n data: PersonaCreateStringListItem_StringListItemDataSchema.nullable(),\n});\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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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;AAKD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,qDAAqD,SAAS,EACtE,CAOU;AACV,CAAC"}
@@ -32,7 +32,7 @@ const PersonaCreateWebhookInput = zod.z.object({
32
32
  file_access_token_expires_in: zod.z.number().int().describe("Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.").optional()
33
33
  }).describe("Request model for creating a Persona webhook.");
34
34
  const PersonaCreateWebhook_SecretObjectSchema = zod.z.object({
35
- value: zod.z.string().describe("The secret value."),
35
+ value: zod.z.string().describe("The secret value.").nullable(),
36
36
  "expires-at": zod.z.string().describe("Expiration timestamp for the secret.").nullable().optional()
37
37
  }).describe("Secret object containing value and expiration.");
38
38
  const PersonaCreateWebhook_WebhookAttributesSchema = zod.z.object({
@@ -51,8 +51,8 @@ const PersonaCreateWebhook_WebhookAttributesSchema = zod.z.object({
51
51
  file_access_token_expires_in: zod.z.number().int().describe("Duration in seconds for file access token expiration.").nullable().optional()
52
52
  }).describe("Attributes of a Persona webhook object.");
53
53
  const PersonaCreateWebhook_WebhookDataSchema = zod.z.object({
54
- id: zod.z.string().describe("Unique identifier for the webhook."),
55
- type: zod.z.string().describe("Resource type, typically 'webhook'."),
54
+ id: zod.z.string().describe("Unique identifier for the webhook.").nullable(),
55
+ type: zod.z.string().describe("Resource type, typically 'webhook'.").nullable(),
56
56
  attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional()
57
57
  }).describe("Webhook data object returned by Persona API.");
58
58
  const PersonaCreateWebhookOutput = zod.z.object({
@@ -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.ZodTypeAny = 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.object({}).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.ZodTypeAny = z.object({\n value: z.string().describe(\"The secret value.\"),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema: z.ZodTypeAny = 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}).describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\"),\n type: z.string().describe(\"Resource type, typically 'webhook'.\"),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput: z.ZodTypeAny = 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}).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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,yCAAyC,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACnK,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACpL,oB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AAAA,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,SAAS,yCAAyC;AAErD,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 { 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.object({}).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}).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}).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}).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}).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,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,yCAAyC,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CA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AO,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,SAAS,8CAA8C;AAC1D,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,SAAS,yCAAyC;AAErD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,78 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const PersonaCreateWebhookInput: z.ZodTypeAny;
5
- declare const PersonaCreateWebhookOutput: z.ZodTypeAny;
6
- declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaCreateWebhookInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ name: z.ZodString;
7
+ fields: z.ZodOptional<z.ZodString>;
8
+ include: z.ZodOptional<z.ZodString>;
9
+ api_version: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ enabled_events: z.ZodArray<z.ZodString>;
12
+ key_inflection: z.ZodOptional<z.ZodEnum<{
13
+ camel: "camel";
14
+ kebab: "kebab";
15
+ snake: "snake";
16
+ }>>;
17
+ payload_filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
+ idempotency_key: z.ZodOptional<z.ZodString>;
19
+ persona_version: z.ZodOptional<z.ZodEnum<{
20
+ "2025-12-08": "2025-12-08";
21
+ "2025-10-27": "2025-10-27";
22
+ "2023-01-05": "2023-01-05";
23
+ "2022-09-01": "2022-09-01";
24
+ "2021-08-18": "2021-08-18";
25
+ "2021-07-05": "2021-07-05";
26
+ "2021-02-21": "2021-02-21";
27
+ "2020-05-18": "2020-05-18";
28
+ }>>;
29
+ api_key_inflection: z.ZodOptional<z.ZodString>;
30
+ custom_http_headers: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
31
+ api_attributes_blocklist: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ file_access_token_expires_in: z.ZodOptional<z.ZodNumber>;
33
+ }, z.core.$strip>;
34
+ declare const PersonaCreateWebhookOutput: z.ZodObject<{
35
+ data: z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ type: z.ZodNullable<z.ZodString>;
38
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ value: z.ZodNullable<z.ZodString>;
45
+ "expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, z.core.$strip>>>>;
47
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ api_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ enabled_events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
51
+ payload_filter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
+ api_key_inflection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ api_attributes_blocklist: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
54
+ file_access_token_expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ }, z.core.$strip>>>;
56
+ }, z.core.$strip>>;
57
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
58
+ }, z.core.$strip>;
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, never> | 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
76
  //#endregion
8
77
  export { personaCreateWebhook };
9
78
  //# 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,EAA2B,CAAA,CAAE,UAgBkB;AAAA,cAyB/C,0BAAA,EAA4B,CAAA,CAAE,UAGW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;;;;;;;;;mBAM/B,MAAA;;;;wBAAA,MAAA"}
@@ -1,9 +1,78 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const PersonaCreateWebhookInput: z.ZodTypeAny;
5
- declare const PersonaCreateWebhookOutput: z.ZodTypeAny;
6
- declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaCreateWebhookInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ name: z.ZodString;
7
+ fields: z.ZodOptional<z.ZodString>;
8
+ include: z.ZodOptional<z.ZodString>;
9
+ api_version: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ enabled_events: z.ZodArray<z.ZodString>;
12
+ key_inflection: z.ZodOptional<z.ZodEnum<{
13
+ camel: "camel";
14
+ kebab: "kebab";
15
+ snake: "snake";
16
+ }>>;
17
+ payload_filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
+ idempotency_key: z.ZodOptional<z.ZodString>;
19
+ persona_version: z.ZodOptional<z.ZodEnum<{
20
+ "2025-12-08": "2025-12-08";
21
+ "2025-10-27": "2025-10-27";
22
+ "2023-01-05": "2023-01-05";
23
+ "2022-09-01": "2022-09-01";
24
+ "2021-08-18": "2021-08-18";
25
+ "2021-07-05": "2021-07-05";
26
+ "2021-02-21": "2021-02-21";
27
+ "2020-05-18": "2020-05-18";
28
+ }>>;
29
+ api_key_inflection: z.ZodOptional<z.ZodString>;
30
+ custom_http_headers: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
31
+ api_attributes_blocklist: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ file_access_token_expires_in: z.ZodOptional<z.ZodNumber>;
33
+ }, z.core.$strip>;
34
+ declare const PersonaCreateWebhookOutput: z.ZodObject<{
35
+ data: z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ type: z.ZodNullable<z.ZodString>;
38
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ value: z.ZodNullable<z.ZodString>;
45
+ "expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, z.core.$strip>>>>;
47
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ api_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ enabled_events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
51
+ payload_filter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
+ api_key_inflection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ api_attributes_blocklist: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
54
+ file_access_token_expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ }, z.core.$strip>>>;
56
+ }, z.core.$strip>>;
57
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
58
+ }, z.core.$strip>;
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, never> | 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
76
  //#endregion
8
77
  export { personaCreateWebhook };
9
78
  //# 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,EAA2B,CAAA,CAAE,UAgBkB;AAAA,cAyB/C,0BAAA,EAA4B,CAAA,CAAE,UAGW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;;;;;;;;;mBAM/B,MAAA;;;;wBAAA,MAAA"}
@@ -32,7 +32,7 @@ const PersonaCreateWebhookInput = z.object({
32
32
  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()
33
33
  }).describe("Request model for creating a Persona webhook.");
34
34
  const PersonaCreateWebhook_SecretObjectSchema = z.object({
35
- value: z.string().describe("The secret value."),
35
+ value: z.string().describe("The secret value.").nullable(),
36
36
  "expires-at": z.string().describe("Expiration timestamp for the secret.").nullable().optional()
37
37
  }).describe("Secret object containing value and expiration.");
38
38
  const PersonaCreateWebhook_WebhookAttributesSchema = z.object({
@@ -51,8 +51,8 @@ const PersonaCreateWebhook_WebhookAttributesSchema = z.object({
51
51
  file_access_token_expires_in: z.number().int().describe("Duration in seconds for file access token expiration.").nullable().optional()
52
52
  }).describe("Attributes of a Persona webhook object.");
53
53
  const PersonaCreateWebhook_WebhookDataSchema = z.object({
54
- id: z.string().describe("Unique identifier for the webhook."),
55
- type: z.string().describe("Resource type, typically 'webhook'."),
54
+ id: z.string().describe("Unique identifier for the webhook.").nullable(),
55
+ type: z.string().describe("Resource type, typically 'webhook'.").nullable(),
56
56
  attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional()
57
57
  }).describe("Webhook data object returned by Persona API.");
58
58
  const personaCreateWebhook = action("PERSONA_CREATE_WEBHOOK", {
@@ -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.ZodTypeAny = 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.object({}).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.ZodTypeAny = z.object({\n value: z.string().describe(\"The secret value.\"),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema: z.ZodTypeAny = 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}).describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\"),\n type: z.string().describe(\"Resource type, typically 'webhook'.\"),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput: z.ZodTypeAny = 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}).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,4BAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,O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CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,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,SAAS,yCAOF;AACV,CAAC"}
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.object({}).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}).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}).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}).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}).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,SAAS,+EAA+E;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAA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