@keystrokehq/persona 0.1.0

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 (586) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-tag-to-account.cjs +52 -0
  7. package/dist/actions/add-tag-to-account.cjs.map +1 -0
  8. package/dist/actions/add-tag-to-account.d.cts +9 -0
  9. package/dist/actions/add-tag-to-account.d.cts.map +1 -0
  10. package/dist/actions/add-tag-to-account.d.mts +9 -0
  11. package/dist/actions/add-tag-to-account.d.mts.map +1 -0
  12. package/dist/actions/add-tag-to-account.mjs +51 -0
  13. package/dist/actions/add-tag-to-account.mjs.map +1 -0
  14. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +39 -0
  15. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -0
  16. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +9 -0
  17. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts.map +1 -0
  18. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +9 -0
  19. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts.map +1 -0
  20. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +38 -0
  21. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -0
  22. package/dist/actions/archive-a-country-list-item.cjs +53 -0
  23. package/dist/actions/archive-a-country-list-item.cjs.map +1 -0
  24. package/dist/actions/archive-a-country-list-item.d.cts +9 -0
  25. package/dist/actions/archive-a-country-list-item.d.cts.map +1 -0
  26. package/dist/actions/archive-a-country-list-item.d.mts +9 -0
  27. package/dist/actions/archive-a-country-list-item.d.mts.map +1 -0
  28. package/dist/actions/archive-a-country-list-item.mjs +52 -0
  29. package/dist/actions/archive-a-country-list-item.mjs.map +1 -0
  30. package/dist/actions/archive-a-geolocation-list-item.cjs +48 -0
  31. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -0
  32. package/dist/actions/archive-a-geolocation-list-item.d.cts +9 -0
  33. package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -0
  34. package/dist/actions/archive-a-geolocation-list-item.d.mts +9 -0
  35. package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -0
  36. package/dist/actions/archive-a-geolocation-list-item.mjs +47 -0
  37. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -0
  38. package/dist/actions/archive-a-government-id-number-list-item.cjs +38 -0
  39. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -0
  40. package/dist/actions/archive-a-government-id-number-list-item.d.cts +9 -0
  41. package/dist/actions/archive-a-government-id-number-list-item.d.cts.map +1 -0
  42. package/dist/actions/archive-a-government-id-number-list-item.d.mts +9 -0
  43. package/dist/actions/archive-a-government-id-number-list-item.d.mts.map +1 -0
  44. package/dist/actions/archive-a-government-id-number-list-item.mjs +37 -0
  45. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -0
  46. package/dist/actions/archive-a-name-list-item.cjs +38 -0
  47. package/dist/actions/archive-a-name-list-item.cjs.map +1 -0
  48. package/dist/actions/archive-a-name-list-item.d.cts +9 -0
  49. package/dist/actions/archive-a-name-list-item.d.cts.map +1 -0
  50. package/dist/actions/archive-a-name-list-item.d.mts +9 -0
  51. package/dist/actions/archive-a-name-list-item.d.mts.map +1 -0
  52. package/dist/actions/archive-a-name-list-item.mjs +37 -0
  53. package/dist/actions/archive-a-name-list-item.mjs.map +1 -0
  54. package/dist/actions/archive-a-webhook.cjs +57 -0
  55. package/dist/actions/archive-a-webhook.cjs.map +1 -0
  56. package/dist/actions/archive-a-webhook.d.cts +9 -0
  57. package/dist/actions/archive-a-webhook.d.cts.map +1 -0
  58. package/dist/actions/archive-a-webhook.d.mts +9 -0
  59. package/dist/actions/archive-a-webhook.d.mts.map +1 -0
  60. package/dist/actions/archive-a-webhook.mjs +56 -0
  61. package/dist/actions/archive-a-webhook.mjs.map +1 -0
  62. package/dist/actions/archive-email-address-list-item.cjs +54 -0
  63. package/dist/actions/archive-email-address-list-item.cjs.map +1 -0
  64. package/dist/actions/archive-email-address-list-item.d.cts +9 -0
  65. package/dist/actions/archive-email-address-list-item.d.cts.map +1 -0
  66. package/dist/actions/archive-email-address-list-item.d.mts +9 -0
  67. package/dist/actions/archive-email-address-list-item.d.mts.map +1 -0
  68. package/dist/actions/archive-email-address-list-item.mjs +53 -0
  69. package/dist/actions/archive-email-address-list-item.mjs.map +1 -0
  70. package/dist/actions/archive-ip-address-list-item.cjs +41 -0
  71. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -0
  72. package/dist/actions/archive-ip-address-list-item.d.cts +9 -0
  73. package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -0
  74. package/dist/actions/archive-ip-address-list-item.d.mts +9 -0
  75. package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -0
  76. package/dist/actions/archive-ip-address-list-item.mjs +40 -0
  77. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -0
  78. package/dist/actions/archive-phone-number-list-item.cjs +39 -0
  79. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -0
  80. package/dist/actions/archive-phone-number-list-item.d.cts +9 -0
  81. package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -0
  82. package/dist/actions/archive-phone-number-list-item.d.mts +9 -0
  83. package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -0
  84. package/dist/actions/archive-phone-number-list-item.mjs +38 -0
  85. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -0
  86. package/dist/actions/archive-string-list-item.cjs +53 -0
  87. package/dist/actions/archive-string-list-item.cjs.map +1 -0
  88. package/dist/actions/archive-string-list-item.d.cts +9 -0
  89. package/dist/actions/archive-string-list-item.d.cts.map +1 -0
  90. package/dist/actions/archive-string-list-item.d.mts +9 -0
  91. package/dist/actions/archive-string-list-item.d.mts.map +1 -0
  92. package/dist/actions/archive-string-list-item.mjs +52 -0
  93. package/dist/actions/archive-string-list-item.mjs.map +1 -0
  94. package/dist/actions/clone-webhook.cjs +53 -0
  95. package/dist/actions/clone-webhook.cjs.map +1 -0
  96. package/dist/actions/clone-webhook.d.cts +9 -0
  97. package/dist/actions/clone-webhook.d.cts.map +1 -0
  98. package/dist/actions/clone-webhook.d.mts +9 -0
  99. package/dist/actions/clone-webhook.d.mts.map +1 -0
  100. package/dist/actions/clone-webhook.mjs +52 -0
  101. package/dist/actions/clone-webhook.mjs.map +1 -0
  102. package/dist/actions/consolidate-into-account.cjs +35 -0
  103. package/dist/actions/consolidate-into-account.cjs.map +1 -0
  104. package/dist/actions/consolidate-into-account.d.cts +9 -0
  105. package/dist/actions/consolidate-into-account.d.cts.map +1 -0
  106. package/dist/actions/consolidate-into-account.d.mts +9 -0
  107. package/dist/actions/consolidate-into-account.d.mts.map +1 -0
  108. package/dist/actions/consolidate-into-account.mjs +34 -0
  109. package/dist/actions/consolidate-into-account.mjs.map +1 -0
  110. package/dist/actions/create-an-account.cjs +100 -0
  111. package/dist/actions/create-an-account.cjs.map +1 -0
  112. package/dist/actions/create-an-account.d.cts +9 -0
  113. package/dist/actions/create-an-account.d.cts.map +1 -0
  114. package/dist/actions/create-an-account.d.mts +9 -0
  115. package/dist/actions/create-an-account.d.mts.map +1 -0
  116. package/dist/actions/create-an-account.mjs +99 -0
  117. package/dist/actions/create-an-account.mjs.map +1 -0
  118. package/dist/actions/create-an-ip-address-list-item.cjs +47 -0
  119. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -0
  120. package/dist/actions/create-an-ip-address-list-item.d.cts +9 -0
  121. package/dist/actions/create-an-ip-address-list-item.d.cts.map +1 -0
  122. package/dist/actions/create-an-ip-address-list-item.d.mts +9 -0
  123. package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -0
  124. package/dist/actions/create-an-ip-address-list-item.mjs +46 -0
  125. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -0
  126. package/dist/actions/create-country-list-item.cjs +60 -0
  127. package/dist/actions/create-country-list-item.cjs.map +1 -0
  128. package/dist/actions/create-country-list-item.d.cts +9 -0
  129. package/dist/actions/create-country-list-item.d.cts.map +1 -0
  130. package/dist/actions/create-country-list-item.d.mts +9 -0
  131. package/dist/actions/create-country-list-item.d.mts.map +1 -0
  132. package/dist/actions/create-country-list-item.mjs +59 -0
  133. package/dist/actions/create-country-list-item.mjs.map +1 -0
  134. package/dist/actions/create-document-generic.cjs +75 -0
  135. package/dist/actions/create-document-generic.cjs.map +1 -0
  136. package/dist/actions/create-document-generic.d.cts +9 -0
  137. package/dist/actions/create-document-generic.d.cts.map +1 -0
  138. package/dist/actions/create-document-generic.d.mts +9 -0
  139. package/dist/actions/create-document-generic.d.mts.map +1 -0
  140. package/dist/actions/create-document-generic.mjs +74 -0
  141. package/dist/actions/create-document-generic.mjs.map +1 -0
  142. package/dist/actions/create-email-address-list-item.cjs +44 -0
  143. package/dist/actions/create-email-address-list-item.cjs.map +1 -0
  144. package/dist/actions/create-email-address-list-item.d.cts +9 -0
  145. package/dist/actions/create-email-address-list-item.d.cts.map +1 -0
  146. package/dist/actions/create-email-address-list-item.d.mts +9 -0
  147. package/dist/actions/create-email-address-list-item.d.mts.map +1 -0
  148. package/dist/actions/create-email-address-list-item.mjs +43 -0
  149. package/dist/actions/create-email-address-list-item.mjs.map +1 -0
  150. package/dist/actions/create-government-id-number-list-item.cjs +42 -0
  151. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -0
  152. package/dist/actions/create-government-id-number-list-item.d.cts +9 -0
  153. package/dist/actions/create-government-id-number-list-item.d.cts.map +1 -0
  154. package/dist/actions/create-government-id-number-list-item.d.mts +9 -0
  155. package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -0
  156. package/dist/actions/create-government-id-number-list-item.mjs +41 -0
  157. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -0
  158. package/dist/actions/create-name-list-item.cjs +47 -0
  159. package/dist/actions/create-name-list-item.cjs.map +1 -0
  160. package/dist/actions/create-name-list-item.d.cts +9 -0
  161. package/dist/actions/create-name-list-item.d.cts.map +1 -0
  162. package/dist/actions/create-name-list-item.d.mts +9 -0
  163. package/dist/actions/create-name-list-item.d.mts.map +1 -0
  164. package/dist/actions/create-name-list-item.mjs +46 -0
  165. package/dist/actions/create-name-list-item.mjs.map +1 -0
  166. package/dist/actions/create-phone-number-list-item.cjs +45 -0
  167. package/dist/actions/create-phone-number-list-item.cjs.map +1 -0
  168. package/dist/actions/create-phone-number-list-item.d.cts +9 -0
  169. package/dist/actions/create-phone-number-list-item.d.cts.map +1 -0
  170. package/dist/actions/create-phone-number-list-item.d.mts +9 -0
  171. package/dist/actions/create-phone-number-list-item.d.mts.map +1 -0
  172. package/dist/actions/create-phone-number-list-item.mjs +44 -0
  173. package/dist/actions/create-phone-number-list-item.mjs.map +1 -0
  174. package/dist/actions/create-string-list-item.cjs +44 -0
  175. package/dist/actions/create-string-list-item.cjs.map +1 -0
  176. package/dist/actions/create-string-list-item.d.cts +9 -0
  177. package/dist/actions/create-string-list-item.d.cts.map +1 -0
  178. package/dist/actions/create-string-list-item.d.mts +9 -0
  179. package/dist/actions/create-string-list-item.d.mts.map +1 -0
  180. package/dist/actions/create-string-list-item.mjs +43 -0
  181. package/dist/actions/create-string-list-item.mjs.map +1 -0
  182. package/dist/actions/create-webhook.cjs +72 -0
  183. package/dist/actions/create-webhook.cjs.map +1 -0
  184. package/dist/actions/create-webhook.d.cts +9 -0
  185. package/dist/actions/create-webhook.d.cts.map +1 -0
  186. package/dist/actions/create-webhook.d.mts +9 -0
  187. package/dist/actions/create-webhook.d.mts.map +1 -0
  188. package/dist/actions/create-webhook.mjs +71 -0
  189. package/dist/actions/create-webhook.mjs.map +1 -0
  190. package/dist/actions/disable-webhook.cjs +57 -0
  191. package/dist/actions/disable-webhook.cjs.map +1 -0
  192. package/dist/actions/disable-webhook.d.cts +9 -0
  193. package/dist/actions/disable-webhook.d.cts.map +1 -0
  194. package/dist/actions/disable-webhook.d.mts +9 -0
  195. package/dist/actions/disable-webhook.d.mts.map +1 -0
  196. package/dist/actions/disable-webhook.mjs +56 -0
  197. package/dist/actions/disable-webhook.mjs.map +1 -0
  198. package/dist/actions/enable-webhook.cjs +56 -0
  199. package/dist/actions/enable-webhook.cjs.map +1 -0
  200. package/dist/actions/enable-webhook.d.cts +9 -0
  201. package/dist/actions/enable-webhook.d.cts.map +1 -0
  202. package/dist/actions/enable-webhook.d.mts +9 -0
  203. package/dist/actions/enable-webhook.d.mts.map +1 -0
  204. package/dist/actions/enable-webhook.mjs +55 -0
  205. package/dist/actions/enable-webhook.mjs.map +1 -0
  206. package/dist/actions/expire-inquiry-sessions.cjs +58 -0
  207. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -0
  208. package/dist/actions/expire-inquiry-sessions.d.cts +9 -0
  209. package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -0
  210. package/dist/actions/expire-inquiry-sessions.d.mts +9 -0
  211. package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -0
  212. package/dist/actions/expire-inquiry-sessions.mjs +57 -0
  213. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -0
  214. package/dist/actions/import-email-address-lists.cjs +36 -0
  215. package/dist/actions/import-email-address-lists.cjs.map +1 -0
  216. package/dist/actions/import-email-address-lists.d.cts +9 -0
  217. package/dist/actions/import-email-address-lists.d.cts.map +1 -0
  218. package/dist/actions/import-email-address-lists.d.mts +9 -0
  219. package/dist/actions/import-email-address-lists.d.mts.map +1 -0
  220. package/dist/actions/import-email-address-lists.mjs +35 -0
  221. package/dist/actions/import-email-address-lists.mjs.map +1 -0
  222. package/dist/actions/import-ip-address-lists.cjs +44 -0
  223. package/dist/actions/import-ip-address-lists.cjs.map +1 -0
  224. package/dist/actions/import-ip-address-lists.d.cts +9 -0
  225. package/dist/actions/import-ip-address-lists.d.cts.map +1 -0
  226. package/dist/actions/import-ip-address-lists.d.mts +9 -0
  227. package/dist/actions/import-ip-address-lists.d.mts.map +1 -0
  228. package/dist/actions/import-ip-address-lists.mjs +43 -0
  229. package/dist/actions/import-ip-address-lists.mjs.map +1 -0
  230. package/dist/actions/import-name-lists.cjs +35 -0
  231. package/dist/actions/import-name-lists.cjs.map +1 -0
  232. package/dist/actions/import-name-lists.d.cts +9 -0
  233. package/dist/actions/import-name-lists.d.cts.map +1 -0
  234. package/dist/actions/import-name-lists.d.mts +9 -0
  235. package/dist/actions/import-name-lists.d.mts.map +1 -0
  236. package/dist/actions/import-name-lists.mjs +34 -0
  237. package/dist/actions/import-name-lists.mjs.map +1 -0
  238. package/dist/actions/import-phone-number-lists.cjs +44 -0
  239. package/dist/actions/import-phone-number-lists.cjs.map +1 -0
  240. package/dist/actions/import-phone-number-lists.d.cts +9 -0
  241. package/dist/actions/import-phone-number-lists.d.cts.map +1 -0
  242. package/dist/actions/import-phone-number-lists.d.mts +9 -0
  243. package/dist/actions/import-phone-number-lists.d.mts.map +1 -0
  244. package/dist/actions/import-phone-number-lists.mjs +43 -0
  245. package/dist/actions/import-phone-number-lists.mjs.map +1 -0
  246. package/dist/actions/index.cjs +139 -0
  247. package/dist/actions/index.d.cts +70 -0
  248. package/dist/actions/index.d.mts +70 -0
  249. package/dist/actions/index.mjs +70 -0
  250. package/dist/actions/list-all-accounts.cjs +64 -0
  251. package/dist/actions/list-all-accounts.cjs.map +1 -0
  252. package/dist/actions/list-all-accounts.d.cts +9 -0
  253. package/dist/actions/list-all-accounts.d.cts.map +1 -0
  254. package/dist/actions/list-all-accounts.d.mts +9 -0
  255. package/dist/actions/list-all-accounts.d.mts.map +1 -0
  256. package/dist/actions/list-all-accounts.mjs +63 -0
  257. package/dist/actions/list-all-accounts.mjs.map +1 -0
  258. package/dist/actions/list-all-api-logs.cjs +62 -0
  259. package/dist/actions/list-all-api-logs.cjs.map +1 -0
  260. package/dist/actions/list-all-api-logs.d.cts +9 -0
  261. package/dist/actions/list-all-api-logs.d.cts.map +1 -0
  262. package/dist/actions/list-all-api-logs.d.mts +9 -0
  263. package/dist/actions/list-all-api-logs.d.mts.map +1 -0
  264. package/dist/actions/list-all-api-logs.mjs +61 -0
  265. package/dist/actions/list-all-api-logs.mjs.map +1 -0
  266. package/dist/actions/list-all-cases.cjs +73 -0
  267. package/dist/actions/list-all-cases.cjs.map +1 -0
  268. package/dist/actions/list-all-cases.d.cts +9 -0
  269. package/dist/actions/list-all-cases.d.cts.map +1 -0
  270. package/dist/actions/list-all-cases.d.mts +9 -0
  271. package/dist/actions/list-all-cases.d.mts.map +1 -0
  272. package/dist/actions/list-all-cases.mjs +72 -0
  273. package/dist/actions/list-all-cases.mjs.map +1 -0
  274. package/dist/actions/list-all-devices.cjs +54 -0
  275. package/dist/actions/list-all-devices.cjs.map +1 -0
  276. package/dist/actions/list-all-devices.d.cts +9 -0
  277. package/dist/actions/list-all-devices.d.cts.map +1 -0
  278. package/dist/actions/list-all-devices.d.mts +9 -0
  279. package/dist/actions/list-all-devices.d.mts.map +1 -0
  280. package/dist/actions/list-all-devices.mjs +53 -0
  281. package/dist/actions/list-all-devices.mjs.map +1 -0
  282. package/dist/actions/list-all-events.cjs +56 -0
  283. package/dist/actions/list-all-events.cjs.map +1 -0
  284. package/dist/actions/list-all-events.d.cts +9 -0
  285. package/dist/actions/list-all-events.d.cts.map +1 -0
  286. package/dist/actions/list-all-events.d.mts +9 -0
  287. package/dist/actions/list-all-events.d.mts.map +1 -0
  288. package/dist/actions/list-all-events.mjs +55 -0
  289. package/dist/actions/list-all-events.mjs.map +1 -0
  290. package/dist/actions/list-all-importers.cjs +58 -0
  291. package/dist/actions/list-all-importers.cjs.map +1 -0
  292. package/dist/actions/list-all-importers.d.cts +9 -0
  293. package/dist/actions/list-all-importers.d.cts.map +1 -0
  294. package/dist/actions/list-all-importers.d.mts +9 -0
  295. package/dist/actions/list-all-importers.d.mts.map +1 -0
  296. package/dist/actions/list-all-importers.mjs +57 -0
  297. package/dist/actions/list-all-importers.mjs.map +1 -0
  298. package/dist/actions/list-all-inquiries.cjs +68 -0
  299. package/dist/actions/list-all-inquiries.cjs.map +1 -0
  300. package/dist/actions/list-all-inquiries.d.cts +9 -0
  301. package/dist/actions/list-all-inquiries.d.cts.map +1 -0
  302. package/dist/actions/list-all-inquiries.d.mts +9 -0
  303. package/dist/actions/list-all-inquiries.d.mts.map +1 -0
  304. package/dist/actions/list-all-inquiries.mjs +67 -0
  305. package/dist/actions/list-all-inquiries.mjs.map +1 -0
  306. package/dist/actions/list-all-inquiry-sessions.cjs +64 -0
  307. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -0
  308. package/dist/actions/list-all-inquiry-sessions.d.cts +9 -0
  309. package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -0
  310. package/dist/actions/list-all-inquiry-sessions.d.mts +9 -0
  311. package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -0
  312. package/dist/actions/list-all-inquiry-sessions.mjs +63 -0
  313. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -0
  314. package/dist/actions/list-all-lists.cjs +51 -0
  315. package/dist/actions/list-all-lists.cjs.map +1 -0
  316. package/dist/actions/list-all-lists.d.cts +9 -0
  317. package/dist/actions/list-all-lists.d.cts.map +1 -0
  318. package/dist/actions/list-all-lists.d.mts +9 -0
  319. package/dist/actions/list-all-lists.d.mts.map +1 -0
  320. package/dist/actions/list-all-lists.mjs +50 -0
  321. package/dist/actions/list-all-lists.mjs.map +1 -0
  322. package/dist/actions/list-all-rate-limits.cjs +45 -0
  323. package/dist/actions/list-all-rate-limits.cjs.map +1 -0
  324. package/dist/actions/list-all-rate-limits.d.cts +9 -0
  325. package/dist/actions/list-all-rate-limits.d.cts.map +1 -0
  326. package/dist/actions/list-all-rate-limits.d.mts +9 -0
  327. package/dist/actions/list-all-rate-limits.d.mts.map +1 -0
  328. package/dist/actions/list-all-rate-limits.mjs +44 -0
  329. package/dist/actions/list-all-rate-limits.mjs.map +1 -0
  330. package/dist/actions/list-all-reports.cjs +72 -0
  331. package/dist/actions/list-all-reports.cjs.map +1 -0
  332. package/dist/actions/list-all-reports.d.cts +9 -0
  333. package/dist/actions/list-all-reports.d.cts.map +1 -0
  334. package/dist/actions/list-all-reports.d.mts +9 -0
  335. package/dist/actions/list-all-reports.d.mts.map +1 -0
  336. package/dist/actions/list-all-reports.mjs +71 -0
  337. package/dist/actions/list-all-reports.mjs.map +1 -0
  338. package/dist/actions/list-all-transactions.cjs +68 -0
  339. package/dist/actions/list-all-transactions.cjs.map +1 -0
  340. package/dist/actions/list-all-transactions.d.cts +9 -0
  341. package/dist/actions/list-all-transactions.d.cts.map +1 -0
  342. package/dist/actions/list-all-transactions.d.mts +9 -0
  343. package/dist/actions/list-all-transactions.d.mts.map +1 -0
  344. package/dist/actions/list-all-transactions.mjs +67 -0
  345. package/dist/actions/list-all-transactions.mjs.map +1 -0
  346. package/dist/actions/list-all-webhooks.cjs +65 -0
  347. package/dist/actions/list-all-webhooks.cjs.map +1 -0
  348. package/dist/actions/list-all-webhooks.d.cts +9 -0
  349. package/dist/actions/list-all-webhooks.d.cts.map +1 -0
  350. package/dist/actions/list-all-webhooks.d.mts +9 -0
  351. package/dist/actions/list-all-webhooks.d.mts.map +1 -0
  352. package/dist/actions/list-all-webhooks.mjs +64 -0
  353. package/dist/actions/list-all-webhooks.mjs.map +1 -0
  354. package/dist/actions/list-all-workflow-runs.cjs +69 -0
  355. package/dist/actions/list-all-workflow-runs.cjs.map +1 -0
  356. package/dist/actions/list-all-workflow-runs.d.cts +9 -0
  357. package/dist/actions/list-all-workflow-runs.d.cts.map +1 -0
  358. package/dist/actions/list-all-workflow-runs.d.mts +9 -0
  359. package/dist/actions/list-all-workflow-runs.d.mts.map +1 -0
  360. package/dist/actions/list-all-workflow-runs.mjs +68 -0
  361. package/dist/actions/list-all-workflow-runs.mjs.map +1 -0
  362. package/dist/actions/redact-an-account.cjs +62 -0
  363. package/dist/actions/redact-an-account.cjs.map +1 -0
  364. package/dist/actions/redact-an-account.d.cts +9 -0
  365. package/dist/actions/redact-an-account.d.cts.map +1 -0
  366. package/dist/actions/redact-an-account.d.mts +9 -0
  367. package/dist/actions/redact-an-account.d.mts.map +1 -0
  368. package/dist/actions/redact-an-account.mjs +61 -0
  369. package/dist/actions/redact-an-account.mjs.map +1 -0
  370. package/dist/actions/remove-account-tag.cjs +51 -0
  371. package/dist/actions/remove-account-tag.cjs.map +1 -0
  372. package/dist/actions/remove-account-tag.d.cts +9 -0
  373. package/dist/actions/remove-account-tag.d.cts.map +1 -0
  374. package/dist/actions/remove-account-tag.d.mts +9 -0
  375. package/dist/actions/remove-account-tag.d.mts.map +1 -0
  376. package/dist/actions/remove-account-tag.mjs +50 -0
  377. package/dist/actions/remove-account-tag.mjs.map +1 -0
  378. package/dist/actions/retrieve-a-country-list-item.cjs +53 -0
  379. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -0
  380. package/dist/actions/retrieve-a-country-list-item.d.cts +9 -0
  381. package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -0
  382. package/dist/actions/retrieve-a-country-list-item.d.mts +9 -0
  383. package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -0
  384. package/dist/actions/retrieve-a-country-list-item.mjs +52 -0
  385. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -0
  386. package/dist/actions/retrieve-a-geolocation-list-item.cjs +59 -0
  387. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -0
  388. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +9 -0
  389. package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -0
  390. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +9 -0
  391. package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -0
  392. package/dist/actions/retrieve-a-geolocation-list-item.mjs +58 -0
  393. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -0
  394. package/dist/actions/retrieve-a-name-list-item.cjs +54 -0
  395. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -0
  396. package/dist/actions/retrieve-a-name-list-item.d.cts +9 -0
  397. package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -0
  398. package/dist/actions/retrieve-a-name-list-item.d.mts +9 -0
  399. package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -0
  400. package/dist/actions/retrieve-a-name-list-item.mjs +53 -0
  401. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -0
  402. package/dist/actions/retrieve-a-string-list-item.cjs +53 -0
  403. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -0
  404. package/dist/actions/retrieve-a-string-list-item.d.cts +9 -0
  405. package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -0
  406. package/dist/actions/retrieve-a-string-list-item.d.mts +9 -0
  407. package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -0
  408. package/dist/actions/retrieve-a-string-list-item.mjs +52 -0
  409. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -0
  410. package/dist/actions/retrieve-a-webhook.cjs +63 -0
  411. package/dist/actions/retrieve-a-webhook.cjs.map +1 -0
  412. package/dist/actions/retrieve-a-webhook.d.cts +9 -0
  413. package/dist/actions/retrieve-a-webhook.d.cts.map +1 -0
  414. package/dist/actions/retrieve-a-webhook.d.mts +9 -0
  415. package/dist/actions/retrieve-a-webhook.d.mts.map +1 -0
  416. package/dist/actions/retrieve-a-webhook.mjs +62 -0
  417. package/dist/actions/retrieve-a-webhook.mjs.map +1 -0
  418. package/dist/actions/retrieve-an-account.cjs +62 -0
  419. package/dist/actions/retrieve-an-account.cjs.map +1 -0
  420. package/dist/actions/retrieve-an-account.d.cts +9 -0
  421. package/dist/actions/retrieve-an-account.d.cts.map +1 -0
  422. package/dist/actions/retrieve-an-account.d.mts +9 -0
  423. package/dist/actions/retrieve-an-account.d.mts.map +1 -0
  424. package/dist/actions/retrieve-an-account.mjs +61 -0
  425. package/dist/actions/retrieve-an-account.mjs.map +1 -0
  426. package/dist/actions/retrieve-an-event.cjs +55 -0
  427. package/dist/actions/retrieve-an-event.cjs.map +1 -0
  428. package/dist/actions/retrieve-an-event.d.cts +9 -0
  429. package/dist/actions/retrieve-an-event.d.cts.map +1 -0
  430. package/dist/actions/retrieve-an-event.d.mts +9 -0
  431. package/dist/actions/retrieve-an-event.d.mts.map +1 -0
  432. package/dist/actions/retrieve-an-event.mjs +54 -0
  433. package/dist/actions/retrieve-an-event.mjs.map +1 -0
  434. package/dist/actions/retrieve-an-importer.cjs +52 -0
  435. package/dist/actions/retrieve-an-importer.cjs.map +1 -0
  436. package/dist/actions/retrieve-an-importer.d.cts +9 -0
  437. package/dist/actions/retrieve-an-importer.d.cts.map +1 -0
  438. package/dist/actions/retrieve-an-importer.d.mts +9 -0
  439. package/dist/actions/retrieve-an-importer.d.mts.map +1 -0
  440. package/dist/actions/retrieve-an-importer.mjs +51 -0
  441. package/dist/actions/retrieve-an-importer.mjs.map +1 -0
  442. package/dist/actions/retrieve-an-ip-address-list-item.cjs +53 -0
  443. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -0
  444. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +9 -0
  445. package/dist/actions/retrieve-an-ip-address-list-item.d.cts.map +1 -0
  446. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +9 -0
  447. package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -0
  448. package/dist/actions/retrieve-an-ip-address-list-item.mjs +52 -0
  449. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -0
  450. package/dist/actions/retrieve-api-log.cjs +65 -0
  451. package/dist/actions/retrieve-api-log.cjs.map +1 -0
  452. package/dist/actions/retrieve-api-log.d.cts +9 -0
  453. package/dist/actions/retrieve-api-log.d.cts.map +1 -0
  454. package/dist/actions/retrieve-api-log.d.mts +9 -0
  455. package/dist/actions/retrieve-api-log.d.mts.map +1 -0
  456. package/dist/actions/retrieve-api-log.mjs +64 -0
  457. package/dist/actions/retrieve-api-log.mjs.map +1 -0
  458. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +52 -0
  459. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -0
  460. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +9 -0
  461. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -0
  462. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +9 -0
  463. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -0
  464. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +51 -0
  465. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -0
  466. package/dist/actions/retrieve-document-generic.cjs +71 -0
  467. package/dist/actions/retrieve-document-generic.cjs.map +1 -0
  468. package/dist/actions/retrieve-document-generic.d.cts +9 -0
  469. package/dist/actions/retrieve-document-generic.d.cts.map +1 -0
  470. package/dist/actions/retrieve-document-generic.d.mts +9 -0
  471. package/dist/actions/retrieve-document-generic.d.mts.map +1 -0
  472. package/dist/actions/retrieve-document-generic.mjs +70 -0
  473. package/dist/actions/retrieve-document-generic.mjs.map +1 -0
  474. package/dist/actions/retrieve-document.cjs +83 -0
  475. package/dist/actions/retrieve-document.cjs.map +1 -0
  476. package/dist/actions/retrieve-document.d.cts +9 -0
  477. package/dist/actions/retrieve-document.d.cts.map +1 -0
  478. package/dist/actions/retrieve-document.d.mts +9 -0
  479. package/dist/actions/retrieve-document.d.mts.map +1 -0
  480. package/dist/actions/retrieve-document.mjs +82 -0
  481. package/dist/actions/retrieve-document.mjs.map +1 -0
  482. package/dist/actions/retrieve-email-address-list-item.cjs +54 -0
  483. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -0
  484. package/dist/actions/retrieve-email-address-list-item.d.cts +9 -0
  485. package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -0
  486. package/dist/actions/retrieve-email-address-list-item.d.mts +9 -0
  487. package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -0
  488. package/dist/actions/retrieve-email-address-list-item.mjs +53 -0
  489. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -0
  490. package/dist/actions/retrieve-government-id-number-list-item.cjs +54 -0
  491. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -0
  492. package/dist/actions/retrieve-government-id-number-list-item.d.cts +9 -0
  493. package/dist/actions/retrieve-government-id-number-list-item.d.cts.map +1 -0
  494. package/dist/actions/retrieve-government-id-number-list-item.d.mts +9 -0
  495. package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -0
  496. package/dist/actions/retrieve-government-id-number-list-item.mjs +53 -0
  497. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -0
  498. package/dist/actions/retrieve-phone-number-list-item.cjs +57 -0
  499. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -0
  500. package/dist/actions/retrieve-phone-number-list-item.d.cts +9 -0
  501. package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -0
  502. package/dist/actions/retrieve-phone-number-list-item.d.mts +9 -0
  503. package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -0
  504. package/dist/actions/retrieve-phone-number-list-item.mjs +56 -0
  505. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -0
  506. package/dist/actions/rotate-webhook-secret.cjs +60 -0
  507. package/dist/actions/rotate-webhook-secret.cjs.map +1 -0
  508. package/dist/actions/rotate-webhook-secret.d.cts +9 -0
  509. package/dist/actions/rotate-webhook-secret.d.cts.map +1 -0
  510. package/dist/actions/rotate-webhook-secret.d.mts +9 -0
  511. package/dist/actions/rotate-webhook-secret.d.mts.map +1 -0
  512. package/dist/actions/rotate-webhook-secret.mjs +59 -0
  513. package/dist/actions/rotate-webhook-secret.mjs.map +1 -0
  514. package/dist/actions/search-accounts.cjs +68 -0
  515. package/dist/actions/search-accounts.cjs.map +1 -0
  516. package/dist/actions/search-accounts.d.cts +9 -0
  517. package/dist/actions/search-accounts.d.cts.map +1 -0
  518. package/dist/actions/search-accounts.d.mts +9 -0
  519. package/dist/actions/search-accounts.d.mts.map +1 -0
  520. package/dist/actions/search-accounts.mjs +67 -0
  521. package/dist/actions/search-accounts.mjs.map +1 -0
  522. package/dist/actions/search-cases.cjs +69 -0
  523. package/dist/actions/search-cases.cjs.map +1 -0
  524. package/dist/actions/search-cases.d.cts +9 -0
  525. package/dist/actions/search-cases.d.cts.map +1 -0
  526. package/dist/actions/search-cases.d.mts +9 -0
  527. package/dist/actions/search-cases.d.mts.map +1 -0
  528. package/dist/actions/search-cases.mjs +68 -0
  529. package/dist/actions/search-cases.mjs.map +1 -0
  530. package/dist/actions/set-tags.cjs +56 -0
  531. package/dist/actions/set-tags.cjs.map +1 -0
  532. package/dist/actions/set-tags.d.cts +9 -0
  533. package/dist/actions/set-tags.d.cts.map +1 -0
  534. package/dist/actions/set-tags.d.mts +9 -0
  535. package/dist/actions/set-tags.d.mts.map +1 -0
  536. package/dist/actions/set-tags.mjs +55 -0
  537. package/dist/actions/set-tags.mjs.map +1 -0
  538. package/dist/actions/update-a-webhook.cjs +67 -0
  539. package/dist/actions/update-a-webhook.cjs.map +1 -0
  540. package/dist/actions/update-a-webhook.d.cts +9 -0
  541. package/dist/actions/update-a-webhook.d.cts.map +1 -0
  542. package/dist/actions/update-a-webhook.d.mts +9 -0
  543. package/dist/actions/update-a-webhook.d.mts.map +1 -0
  544. package/dist/actions/update-a-webhook.mjs +66 -0
  545. package/dist/actions/update-a-webhook.mjs.map +1 -0
  546. package/dist/actions/update-an-account.cjs +96 -0
  547. package/dist/actions/update-an-account.cjs.map +1 -0
  548. package/dist/actions/update-an-account.d.cts +9 -0
  549. package/dist/actions/update-an-account.d.cts.map +1 -0
  550. package/dist/actions/update-an-account.d.mts +9 -0
  551. package/dist/actions/update-an-account.d.mts.map +1 -0
  552. package/dist/actions/update-an-account.mjs +95 -0
  553. package/dist/actions/update-an-account.mjs.map +1 -0
  554. package/dist/actions/update-document-generic.cjs +86 -0
  555. package/dist/actions/update-document-generic.cjs.map +1 -0
  556. package/dist/actions/update-document-generic.d.cts +9 -0
  557. package/dist/actions/update-document-generic.d.cts.map +1 -0
  558. package/dist/actions/update-document-generic.d.mts +9 -0
  559. package/dist/actions/update-document-generic.d.mts.map +1 -0
  560. package/dist/actions/update-document-generic.mjs +85 -0
  561. package/dist/actions/update-document-generic.mjs.map +1 -0
  562. package/dist/app.cjs +9 -0
  563. package/dist/app.cjs.map +1 -0
  564. package/dist/app.d.cts +5 -0
  565. package/dist/app.d.cts.map +1 -0
  566. package/dist/app.d.mts +5 -0
  567. package/dist/app.d.mts.map +1 -0
  568. package/dist/app.mjs +10 -0
  569. package/dist/app.mjs.map +1 -0
  570. package/dist/catalog.cjs +15 -0
  571. package/dist/catalog.cjs.map +1 -0
  572. package/dist/catalog.d.cts +14 -0
  573. package/dist/catalog.d.cts.map +1 -0
  574. package/dist/catalog.d.mts +14 -0
  575. package/dist/catalog.d.mts.map +1 -0
  576. package/dist/catalog.mjs +15 -0
  577. package/dist/catalog.mjs.map +1 -0
  578. package/dist/execute.cjs +18 -0
  579. package/dist/execute.cjs.map +1 -0
  580. package/dist/execute.mjs +18 -0
  581. package/dist/execute.mjs.map +1 -0
  582. package/dist/index.cjs +144 -0
  583. package/dist/index.d.cts +72 -0
  584. package/dist/index.d.mts +72 -0
  585. package/dist/index.mjs +73 -0
  586. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-government-id-number-list-item.d.ts
4
+ declare const PersonaRetrieveGovernmentIdNumberListItemInput: z.ZodTypeAny;
5
+ declare const PersonaRetrieveGovernmentIdNumberListItemOutput: z.ZodTypeAny;
6
+ declare const personaRetrieveGovernmentIdNumberListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaRetrieveGovernmentIdNumberListItem };
9
+ //# sourceMappingURL=retrieve-government-id-number-list-item.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-government-id-number-list-item.d.cts","names":[],"sources":["../../src/actions/retrieve-government-id-number-list-item.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAOc;AAAA,cAuBhE,+CAAA,EAAiD,CAAA,CAAE,UAEc;AAAA,cAEjE,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-government-id-number-list-item.d.ts
4
+ declare const PersonaRetrieveGovernmentIdNumberListItemInput: z.ZodTypeAny;
5
+ declare const PersonaRetrieveGovernmentIdNumberListItemOutput: z.ZodTypeAny;
6
+ declare const personaRetrieveGovernmentIdNumberListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaRetrieveGovernmentIdNumberListItem };
9
+ //# sourceMappingURL=retrieve-government-id-number-list-item.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-government-id-number-list-item.d.mts","names":[],"sources":["../../src/actions/retrieve-government-id-number-list-item.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAOc;AAAA,cAuBhE,+CAAA,EAAiD,CAAA,CAAE,UAEc;AAAA,cAEjE,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,53 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/retrieve-government-id-number-list-item.ts
4
+ const PersonaRetrieveGovernmentIdNumberListItemInput = z.object({
5
+ fields: z.string().describe("Comma-separated list of attributes to include in the response. This can be used to customize which attributes will be serialized in the response. See Persona Serialization documentation for more details.").optional(),
6
+ include: z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the `included` key in the response. See Persona Serialization documentation for more details.").optional(),
7
+ list_item_id: z.string().describe("ID of the government ID number list item to retrieve. Must start with 'ligin_'."),
8
+ key_inflection: z.enum([
9
+ "camel",
10
+ "kebab",
11
+ "snake"
12
+ ]).describe("Casing format for API response.").optional(),
13
+ idempotency_key: z.string().describe("Ensures the request is idempotent. Provide a unique key to prevent duplicate operations.").optional(),
14
+ persona_version: z.enum([
15
+ "2025-12-08",
16
+ "2025-10-27",
17
+ "2023-01-05",
18
+ "2022-09-01",
19
+ "2021-08-18",
20
+ "2021-07-05",
21
+ "2021-02-21",
22
+ "2020-05-18"
23
+ ]).describe("Persona API version.").optional()
24
+ }).describe("Request model for retrieving a government ID number list item.");
25
+ const PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemAttributesSchema = z.object({
26
+ status: z.string().describe("Status of the list item.").nullable().optional(),
27
+ "id-class": z.string().describe("The class or type of government ID (e.g., 'ssn' for Social Security Number, 'passport', 'drivers_license').").nullable().optional(),
28
+ "id-number": z.string().describe("The government ID number.").nullable().optional(),
29
+ "created-at": z.string().describe("Timestamp when the item was created.").nullable().optional(),
30
+ "updated-at": z.string().describe("Timestamp when the item was last updated.").nullable().optional(),
31
+ "archived-at": z.string().describe("Timestamp when the item was archived.").nullable().optional(),
32
+ "match-count": z.number().int().describe("Number of matches for this item.").nullable().optional(),
33
+ "redacted-at": z.string().describe("Timestamp when the item was redacted.").nullable().optional()
34
+ }).describe("Attributes of a Government ID Number List Item.");
35
+ const PersonaRetrieveGovernmentIdNumberListItem_CreatorRelationshipSchema = z.object({ data: z.object({}).describe("Creator relationship data.").nullable().optional() }).describe("Creator relationship information.");
36
+ const PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema = z.object({ creator: PersonaRetrieveGovernmentIdNumberListItem_CreatorRelationshipSchema.nullable().optional() }).describe("Relationships of a Government ID Number List Item.");
37
+ const PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemDataSchema = z.object({
38
+ id: z.string().describe("Unique identifier for this list item. Starts with 'ligin_'.").nullable().optional(),
39
+ type: z.string().describe("Type of the resource.").nullable().optional(),
40
+ attributes: PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemAttributesSchema.nullable().optional(),
41
+ relationships: PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema.nullable().optional()
42
+ }).describe("Government ID Number List Item data.");
43
+ const personaRetrieveGovernmentIdNumberListItem = action("PERSONA_RETRIEVE_GOVERNMENT_ID_NUMBER_LIST_ITEM", {
44
+ slug: "persona-retrieve-government-id-number-list-item",
45
+ name: "Retrieve Government ID Number List Item",
46
+ description: "Tool to retrieve a Government ID Number List Item in Persona. Use when you need to get details about a specific government ID number list item, including its ID number, ID class, status, match count, and timestamps.",
47
+ input: PersonaRetrieveGovernmentIdNumberListItemInput,
48
+ output: z.object({ data: PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemDataSchema.nullable() }).describe("Response model for retrieving a Government ID Number List Item.")
49
+ });
50
+ //#endregion
51
+ export { personaRetrieveGovernmentIdNumberListItem };
52
+
53
+ //# sourceMappingURL=retrieve-government-id-number-list-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-government-id-number-list-item.mjs","names":[],"sources":["../../src/actions/retrieve-government-id-number-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveGovernmentIdNumberListItemInput: z.ZodTypeAny = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. This can be used to customize which attributes will be serialized in the response. See Persona Serialization documentation for more details.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the `included` key in the response. See Persona Serialization documentation for more details.\").optional(),\n list_item_id: z.string().describe(\"ID of the government ID number list item to retrieve. Must start with 'ligin_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate operations.\").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}).describe(\"Request model for retrieving a government ID number list item.\");\nconst PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemAttributesSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"id-class\": z.string().describe(\"The class or type of government ID (e.g., 'ssn' for Social Security Number, 'passport', 'drivers_license').\").nullable().optional(),\n \"id-number\": z.string().describe(\"The government ID number.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted.\").nullable().optional(),\n}).describe(\"Attributes of a Government ID Number List Item.\");\nconst PersonaRetrieveGovernmentIdNumberListItem_CreatorRelationshipSchema: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Creator relationship data.\").nullable().optional(),\n}).describe(\"Creator relationship information.\");\nconst PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema: z.ZodTypeAny = z.object({\n creator: PersonaRetrieveGovernmentIdNumberListItem_CreatorRelationshipSchema.nullable().optional(),\n}).describe(\"Relationships of a Government ID Number List Item.\");\nconst PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'ligin_'.\").nullable().optional(),\n type: z.string().describe(\"Type of the resource.\").nullable().optional(),\n attributes: PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"Government ID Number List Item data.\");\nexport const PersonaRetrieveGovernmentIdNumberListItemOutput: z.ZodTypeAny = z.object({\n data: PersonaRetrieveGovernmentIdNumberListItem_GovernmentIdNumberListItemDataSchema.nullable(),\n}).describe(\"Response model for retrieving a Government ID Number List Item.\");\n\nexport const personaRetrieveGovernmentIdNumberListItem = action(\"PERSONA_RETRIEVE_GOVERNMENT_ID_NUMBER_LIST_ITEM\", {\n slug: \"persona-retrieve-government-id-number-list-item\",\n name: \"Retrieve Government ID Number List Item\",\n description: \"Tool to retrieve a Government ID Number List Item in Persona. Use when you need to get details about a specific government ID number list item, including its ID number, ID class, status, match count, and timestamps.\",\n input: PersonaRetrieveGovernmentIdNumberListItemInput,\n output: PersonaRetrieveGovernmentIdNumberListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+D,EAAE,OAAO;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACpP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;CACvQ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACnH,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC1I,iBAAiB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,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BAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAY,qFAAqF,SAAS,CAAC,CAAC,SAAS;CACrH,eAAe,wFAAwF,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAKlD,MAAa,4CAA4C,OAAO,mDAAmD;CACjH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2E,EAAE,OAAO,EACpF,MAAM,+EAA+E,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
@@ -0,0 +1,57 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/retrieve-phone-number-list-item.ts
4
+ const PersonaRetrievePhoneNumberListItemInput = zod.z.object({
5
+ fields: zod.z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type. This can be used to customize which attributes will be serialized in the response.").optional(),
6
+ include: zod.z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the included key in the response.").optional(),
7
+ "list-item-id": zod.z.string().describe("ID of the phone number list item to retrieve. Starts with 'lipn_'."),
8
+ "Key-Inflection": zod.z.enum([
9
+ "camel",
10
+ "kebab",
11
+ "snake"
12
+ ]).describe("Determines casing for the API response.").optional(),
13
+ "Idempotency-Key": zod.z.string().describe("Ensures the request is idempotent. Sent as header.").optional(),
14
+ "Persona-Version": zod.z.enum([
15
+ "2025-12-08",
16
+ "2025-10-27",
17
+ "2023-01-05",
18
+ "2022-09-01",
19
+ "2021-08-18",
20
+ "2021-07-05",
21
+ "2021-02-21",
22
+ "2020-05-18"
23
+ ]).describe("Server API version.").optional()
24
+ }).describe("Request model for retrieving a phone number list item.");
25
+ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema = zod.z.object({
26
+ value: zod.z.string().describe("The phone number value").nullable().optional(),
27
+ status: zod.z.string().describe("Status of the list item").nullable().optional(),
28
+ "created-at": zod.z.string().describe("Timestamp when the item was created").nullable().optional(),
29
+ "updated-at": zod.z.string().describe("Timestamp when the item was last updated").nullable().optional(),
30
+ "archived-at": zod.z.string().describe("Timestamp when the item was archived").nullable().optional(),
31
+ "match-count": zod.z.number().int().describe("Number of times this item has been matched").nullable().optional(),
32
+ "redacted-at": zod.z.string().describe("Timestamp when the item was redacted").nullable().optional()
33
+ }).describe("Attributes of a phone number list item.");
34
+ const PersonaRetrievePhoneNumberListItem_CreatorDataSchema = zod.z.object({
35
+ id: zod.z.string().describe("ID of the creator"),
36
+ type: zod.z.string().describe("Type of the creator")
37
+ }).describe("Creator data model.");
38
+ const PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema = zod.z.object({ data: PersonaRetrievePhoneNumberListItem_CreatorDataSchema.nullable() }).describe("Creator relationship model.");
39
+ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema = zod.z.object({ creator: PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema.nullable().optional() }).describe("Relationships for the phone number list item.");
40
+ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema = zod.z.object({
41
+ id: zod.z.string().describe("Unique identifier for this list item. Starts with 'lipn_'."),
42
+ type: zod.z.string().describe("Type of the resource"),
43
+ attributes: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema.nullable(),
44
+ relationships: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional()
45
+ }).describe("Data wrapper for the phone number list item response.");
46
+ const PersonaRetrievePhoneNumberListItemOutput = zod.z.object({ data: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema.nullable() }).describe("Response model for retrieving a phone number list item.");
47
+ const personaRetrievePhoneNumberListItem = require_action.action("PERSONA_RETRIEVE_PHONE_NUMBER_LIST_ITEM", {
48
+ slug: "persona-retrieve-phone-number-list-item",
49
+ name: "Retrieve Phone Number List Item",
50
+ description: "Tool to retrieve a phone number list item in Persona. Use when you need to fetch details of a specific phone number from a list for identity verification or fraud prevention purposes.",
51
+ input: PersonaRetrievePhoneNumberListItemInput,
52
+ output: PersonaRetrievePhoneNumberListItemOutput
53
+ });
54
+ //#endregion
55
+ exports.personaRetrievePhoneNumberListItem = personaRetrievePhoneNumberListItem;
56
+
57
+ //# sourceMappingURL=retrieve-phone-number-list-item.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-phone-number-list-item.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-phone-number-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrievePhoneNumberListItemInput: z.ZodTypeAny = z.object({\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the included key in the response.\").optional(),\n \"list-item-id\": z.string().describe(\"ID of the phone number list item to retrieve. Starts with 'lipn_'.\"),\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. Sent as header.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for retrieving a phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The phone number value\").nullable().optional(),\n status: z.string().describe(\"Status of the list item\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was last updated\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of times this item has been matched\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted\").nullable().optional(),\n}).describe(\"Attributes of a phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_CreatorDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the creator\"),\n type: z.string().describe(\"Type of the creator\"),\n}).describe(\"Creator data model.\");\nconst PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema: z.ZodTypeAny = z.object({\n data: PersonaRetrievePhoneNumberListItem_CreatorDataSchema.nullable(),\n}).describe(\"Creator relationship model.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema: z.ZodTypeAny = z.object({\n creator: PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema.nullable().optional(),\n}).describe(\"Relationships for the phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lipn_'.\"),\n type: z.string().describe(\"Type of the resource\"),\n attributes: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema.nullable(),\n relationships: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"Data wrapper for the phone number list item response.\");\nexport const PersonaRetrievePhoneNumberListItemOutput: z.ZodTypeAny = z.object({\n data: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema.nullable(),\n}).describe(\"Response model for retrieving a phone number list item.\");\n\nexport const personaRetrievePhoneNumberListItem = action(\"PERSONA_RETRIEVE_PHONE_NUMBER_LIST_ITEM\", {\n slug: \"persona-retrieve-phone-number-list-item\",\n name: \"Retrieve Phone Number List Item\",\n description: \"Tool to retrieve a phone number list item in Persona. Use when you need to fetch details of a specific phone number from a list for identity verification or fraud prevention purposes.\",\n input: PersonaRetrievePhoneNumberListItemInput,\n output: PersonaRetrievePhoneNumberListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA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AAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACjD,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACjC,MAAM,+DAA6EA,IAAAA,EAAE,OAAO,EAC1F,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,4EAA0FA,IAAAA,EAAE,OAAO,EACvG,SAAS,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mEAAiFA,IAAAA,EAAE,OAAO;CAC9F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,YAAY,uEAAuE,SAAS;CAC5F,eAAe,0EAA0E,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,2CAAyDA,IAAAA,EAAE,OAAO,EAC7E,MAAM,iEAAiE,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-phone-number-list-item.d.ts
4
+ declare const PersonaRetrievePhoneNumberListItemInput: z.ZodTypeAny;
5
+ declare const PersonaRetrievePhoneNumberListItemOutput: z.ZodTypeAny;
6
+ declare const personaRetrievePhoneNumberListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaRetrievePhoneNumberListItem };
9
+ //# sourceMappingURL=retrieve-phone-number-list-item.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-phone-number-list-item.d.cts","names":[],"sources":["../../src/actions/retrieve-phone-number-list-item.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAOa;AAAA,cA0BxD,wCAAA,EAA0C,CAAA,CAAE,UAEa;AAAA,cAEzD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-phone-number-list-item.d.ts
4
+ declare const PersonaRetrievePhoneNumberListItemInput: z.ZodTypeAny;
5
+ declare const PersonaRetrievePhoneNumberListItemOutput: z.ZodTypeAny;
6
+ declare const personaRetrievePhoneNumberListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaRetrievePhoneNumberListItem };
9
+ //# sourceMappingURL=retrieve-phone-number-list-item.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-phone-number-list-item.d.mts","names":[],"sources":["../../src/actions/retrieve-phone-number-list-item.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAOa;AAAA,cA0BxD,wCAAA,EAA0C,CAAA,CAAE,UAEa;AAAA,cAEzD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,56 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/retrieve-phone-number-list-item.ts
4
+ const PersonaRetrievePhoneNumberListItemInput = z.object({
5
+ fields: z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type. This can be used to customize which attributes will be serialized in the response.").optional(),
6
+ include: z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the included key in the response.").optional(),
7
+ "list-item-id": z.string().describe("ID of the phone number list item to retrieve. Starts with 'lipn_'."),
8
+ "Key-Inflection": z.enum([
9
+ "camel",
10
+ "kebab",
11
+ "snake"
12
+ ]).describe("Determines casing for the API response.").optional(),
13
+ "Idempotency-Key": z.string().describe("Ensures the request is idempotent. Sent as header.").optional(),
14
+ "Persona-Version": z.enum([
15
+ "2025-12-08",
16
+ "2025-10-27",
17
+ "2023-01-05",
18
+ "2022-09-01",
19
+ "2021-08-18",
20
+ "2021-07-05",
21
+ "2021-02-21",
22
+ "2020-05-18"
23
+ ]).describe("Server API version.").optional()
24
+ }).describe("Request model for retrieving a phone number list item.");
25
+ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema = z.object({
26
+ value: z.string().describe("The phone number value").nullable().optional(),
27
+ status: z.string().describe("Status of the list item").nullable().optional(),
28
+ "created-at": z.string().describe("Timestamp when the item was created").nullable().optional(),
29
+ "updated-at": z.string().describe("Timestamp when the item was last updated").nullable().optional(),
30
+ "archived-at": z.string().describe("Timestamp when the item was archived").nullable().optional(),
31
+ "match-count": z.number().int().describe("Number of times this item has been matched").nullable().optional(),
32
+ "redacted-at": z.string().describe("Timestamp when the item was redacted").nullable().optional()
33
+ }).describe("Attributes of a phone number list item.");
34
+ const PersonaRetrievePhoneNumberListItem_CreatorDataSchema = z.object({
35
+ id: z.string().describe("ID of the creator"),
36
+ type: z.string().describe("Type of the creator")
37
+ }).describe("Creator data model.");
38
+ const PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema = z.object({ data: PersonaRetrievePhoneNumberListItem_CreatorDataSchema.nullable() }).describe("Creator relationship model.");
39
+ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema = z.object({ creator: PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema.nullable().optional() }).describe("Relationships for the phone number list item.");
40
+ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema = z.object({
41
+ id: z.string().describe("Unique identifier for this list item. Starts with 'lipn_'."),
42
+ type: z.string().describe("Type of the resource"),
43
+ attributes: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema.nullable(),
44
+ relationships: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional()
45
+ }).describe("Data wrapper for the phone number list item response.");
46
+ const personaRetrievePhoneNumberListItem = action("PERSONA_RETRIEVE_PHONE_NUMBER_LIST_ITEM", {
47
+ slug: "persona-retrieve-phone-number-list-item",
48
+ name: "Retrieve Phone Number List Item",
49
+ description: "Tool to retrieve a phone number list item in Persona. Use when you need to fetch details of a specific phone number from a list for identity verification or fraud prevention purposes.",
50
+ input: PersonaRetrievePhoneNumberListItemInput,
51
+ output: z.object({ data: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema.nullable() }).describe("Response model for retrieving a phone number list item.")
52
+ });
53
+ //#endregion
54
+ export { personaRetrievePhoneNumberListItem };
55
+
56
+ //# sourceMappingURL=retrieve-phone-number-list-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-phone-number-list-item.mjs","names":[],"sources":["../../src/actions/retrieve-phone-number-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrievePhoneNumberListItemInput: z.ZodTypeAny = z.object({\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the included key in the response.\").optional(),\n \"list-item-id\": z.string().describe(\"ID of the phone number list item to retrieve. Starts with 'lipn_'.\"),\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. Sent as header.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for retrieving a phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The phone number value\").nullable().optional(),\n status: z.string().describe(\"Status of the list item\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was last updated\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of times this item has been matched\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted\").nullable().optional(),\n}).describe(\"Attributes of a phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_CreatorDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the creator\"),\n type: z.string().describe(\"Type of the creator\"),\n}).describe(\"Creator data model.\");\nconst PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema: z.ZodTypeAny = z.object({\n data: PersonaRetrievePhoneNumberListItem_CreatorDataSchema.nullable(),\n}).describe(\"Creator relationship model.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema: z.ZodTypeAny = z.object({\n creator: PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema.nullable().optional(),\n}).describe(\"Relationships for the phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lipn_'.\"),\n type: z.string().describe(\"Type of the resource\"),\n attributes: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema.nullable(),\n relationships: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"Data wrapper for the phone number list item response.\");\nexport const PersonaRetrievePhoneNumberListItemOutput: z.ZodTypeAny = z.object({\n data: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema.nullable(),\n}).describe(\"Response model for retrieving a phone number list item.\");\n\nexport const personaRetrievePhoneNumberListItem = action(\"PERSONA_RETRIEVE_PHONE_NUMBER_LIST_ITEM\", {\n slug: \"persona-retrieve-phone-number-list-item\",\n name: \"Retrieve Phone Number List Item\",\n description: \"Tool to retrieve a phone number list item in Persona. Use when you need to fetch details of a specific phone number from a list for identity verification or fraud prevention purposes.\",\n input: PersonaRetrievePhoneNumberListItemInput,\n output: PersonaRetrievePhoneNumberListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CACvN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC3M,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACxG,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,wD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CAChD,YAAY,uEAAuE,SAAS;CAC5F,eAAe,0EAA0E,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToE,EAAE,OAAO,EAC7E,MAAM,iEAAiE,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -0,0 +1,60 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/rotate-webhook-secret.ts
4
+ const PersonaRotateWebhookSecretInput = zod.z.object({
5
+ fields: zod.z.object({}).describe("Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.").optional(),
6
+ include: zod.z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response.").optional(),
7
+ webhook_id: zod.z.string().describe("Webhook's ID (starts with 'wbh_')"),
8
+ key_inflection: zod.z.enum([
9
+ "camel",
10
+ "kebab",
11
+ "snake"
12
+ ]).describe("Casing options for API response.").optional(),
13
+ idempotency_key: zod.z.string().describe("Ensures the request is idempotent").optional(),
14
+ persona_version: zod.z.enum([
15
+ "2025-12-08",
16
+ "2025-10-27",
17
+ "2023-01-05",
18
+ "2022-09-01",
19
+ "2021-08-18",
20
+ "2021-07-05",
21
+ "2021-02-21",
22
+ "2020-05-18"
23
+ ]).describe("Persona API version options.").optional(),
24
+ expires_in_seconds: zod.z.number().int().describe("Seconds until currently active webhook secret expires. If not specified, the old secret expires immediately upon rotation.").optional()
25
+ }).describe("Request model for rotating a webhook's secret.");
26
+ const PersonaRotateWebhookSecret_WebhookAttributesSchema = zod.z.object({
27
+ url: zod.z.string().describe("URL of the webhook endpoint").nullable().optional(),
28
+ name: zod.z.string().describe("Name of the webhook").nullable().optional(),
29
+ secret: zod.z.string().describe("Secret key used to sign webhook requests for verification").nullable().optional(),
30
+ status: zod.z.string().describe("Status of the webhook").nullable().optional(),
31
+ secrets: zod.z.array(zod.z.union([zod.z.string(), zod.z.object({})])).describe("List of secret keys for webhook signing rotation. Can be strings or objects with 'value' and 'expires-at' fields.").nullable().optional(),
32
+ "created-at": zod.z.string().describe("Timestamp when the webhook was created").nullable().optional(),
33
+ "api-version": zod.z.string().describe("API version used by the webhook").nullable().optional(),
34
+ description: zod.z.string().describe("Description of the webhook").nullable().optional(),
35
+ "enabled-events": zod.z.array(zod.z.string()).describe("List of events enabled for this webhook").nullable().optional(),
36
+ "payload-filter": zod.z.object({}).describe("Payload filter configuration").nullable().optional(),
37
+ "api-key-inflection": zod.z.string().describe("API key inflection setting").nullable().optional(),
38
+ "api-attributes-blocklist": zod.z.array(zod.z.string()).describe("List of API attributes to blocklist").nullable().optional(),
39
+ "file-access-token-expires-in": zod.z.number().int().describe("File access token expiration time in seconds").nullable().optional()
40
+ }).describe("Webhook attributes in the response.");
41
+ const PersonaRotateWebhookSecret_WebhookDataSchema = zod.z.object({
42
+ id: zod.z.string().describe("Webhook ID"),
43
+ type: zod.z.string().describe("Resource type"),
44
+ attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional()
45
+ }).describe("Webhook data object in the response.");
46
+ const PersonaRotateWebhookSecretOutput = zod.z.object({
47
+ data: PersonaRotateWebhookSecret_WebhookDataSchema.nullable(),
48
+ included: zod.z.array(zod.z.object({})).describe("Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.").nullable().optional()
49
+ }).describe("Response model for rotating a webhook's secret.");
50
+ const personaRotateWebhookSecret = require_action.action("PERSONA_ROTATE_WEBHOOK_SECRET", {
51
+ slug: "persona-rotate-webhook-secret",
52
+ name: "Rotate Webhook Secret",
53
+ description: "Tool to rotate a webhook's secret in Persona. Use when you need to generate a new secret key for webhook signature verification while optionally keeping the old secret active for a grace period.",
54
+ input: PersonaRotateWebhookSecretInput,
55
+ output: PersonaRotateWebhookSecretOutput
56
+ });
57
+ //#endregion
58
+ exports.personaRotateWebhookSecret = personaRotateWebhookSecret;
59
+
60
+ //# sourceMappingURL=rotate-webhook-secret.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotate-webhook-secret.cjs","names":["z","action"],"sources":["../../src/actions/rotate-webhook-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRotateWebhookSecretInput: z.ZodTypeAny = z.object({\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n expires_in_seconds: z.number().int().describe(\"Seconds until currently active webhook secret expires. If not specified, the old secret expires immediately upon rotation.\").optional(),\n}).describe(\"Request model for rotating a webhook's secret.\");\nconst PersonaRotateWebhookSecret_WebhookAttributesSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n secrets: z.array(z.union([z.string(), z.object({})])).describe(\"List of secret keys for webhook signing rotation. Can be strings or objects with 'value' and 'expires-at' fields.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).describe(\"Webhook attributes in the response.\");\nconst PersonaRotateWebhookSecret_WebhookDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Webhook ID\"),\n type: z.string().describe(\"Resource type\"),\n attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object in the response.\");\nexport const PersonaRotateWebhookSecretOutput: z.ZodTypeAny = z.object({\n data: PersonaRotateWebhookSecret_WebhookDataSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model for rotating a webhook's secret.\");\n\nexport const personaRotateWebhookSecret = action(\"PERSONA_ROTATE_WEBHOOK_SECRET\", {\n slug: \"persona-rotate-webhook-secret\",\n name: \"Rotate Webhook Secret\",\n description: \"Tool to rotate a webhook's secret in Persona. Use when you need to generate a new secret key for webhook signature verification while optionally keeping the old secret active for a grace period.\",\n input: PersonaRotateWebhookSecretInput,\n output: PersonaRotateWebhookSecretOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC/L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CAC7M,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC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iD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/rotate-webhook-secret.d.ts
4
+ declare const PersonaRotateWebhookSecretInput: z.ZodTypeAny;
5
+ declare const PersonaRotateWebhookSecretOutput: z.ZodTypeAny;
6
+ declare const personaRotateWebhookSecret: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaRotateWebhookSecret };
9
+ //# sourceMappingURL=rotate-webhook-secret.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotate-webhook-secret.d.cts","names":[],"sources":["../../src/actions/rotate-webhook-secret.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAQa;AAAA,cAqBhD,gCAAA,EAAkC,CAAA,CAAE,UAGa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/rotate-webhook-secret.d.ts
4
+ declare const PersonaRotateWebhookSecretInput: z.ZodTypeAny;
5
+ declare const PersonaRotateWebhookSecretOutput: z.ZodTypeAny;
6
+ declare const personaRotateWebhookSecret: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaRotateWebhookSecret };
9
+ //# sourceMappingURL=rotate-webhook-secret.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotate-webhook-secret.d.mts","names":[],"sources":["../../src/actions/rotate-webhook-secret.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAQa;AAAA,cAqBhD,gCAAA,EAAkC,CAAA,CAAE,UAGa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,59 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/rotate-webhook-secret.ts
4
+ const PersonaRotateWebhookSecretInput = z.object({
5
+ fields: z.object({}).describe("Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.").optional(),
6
+ include: z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response.").optional(),
7
+ webhook_id: z.string().describe("Webhook's ID (starts with 'wbh_')"),
8
+ key_inflection: z.enum([
9
+ "camel",
10
+ "kebab",
11
+ "snake"
12
+ ]).describe("Casing options for API response.").optional(),
13
+ idempotency_key: z.string().describe("Ensures the request is idempotent").optional(),
14
+ persona_version: z.enum([
15
+ "2025-12-08",
16
+ "2025-10-27",
17
+ "2023-01-05",
18
+ "2022-09-01",
19
+ "2021-08-18",
20
+ "2021-07-05",
21
+ "2021-02-21",
22
+ "2020-05-18"
23
+ ]).describe("Persona API version options.").optional(),
24
+ expires_in_seconds: z.number().int().describe("Seconds until currently active webhook secret expires. If not specified, the old secret expires immediately upon rotation.").optional()
25
+ }).describe("Request model for rotating a webhook's secret.");
26
+ const PersonaRotateWebhookSecret_WebhookAttributesSchema = z.object({
27
+ url: z.string().describe("URL of the webhook endpoint").nullable().optional(),
28
+ name: z.string().describe("Name of the webhook").nullable().optional(),
29
+ secret: z.string().describe("Secret key used to sign webhook requests for verification").nullable().optional(),
30
+ status: z.string().describe("Status of the webhook").nullable().optional(),
31
+ secrets: z.array(z.union([z.string(), z.object({})])).describe("List of secret keys for webhook signing rotation. Can be strings or objects with 'value' and 'expires-at' fields.").nullable().optional(),
32
+ "created-at": z.string().describe("Timestamp when the webhook was created").nullable().optional(),
33
+ "api-version": z.string().describe("API version used by the webhook").nullable().optional(),
34
+ description: z.string().describe("Description of the webhook").nullable().optional(),
35
+ "enabled-events": z.array(z.string()).describe("List of events enabled for this webhook").nullable().optional(),
36
+ "payload-filter": z.object({}).describe("Payload filter configuration").nullable().optional(),
37
+ "api-key-inflection": z.string().describe("API key inflection setting").nullable().optional(),
38
+ "api-attributes-blocklist": z.array(z.string()).describe("List of API attributes to blocklist").nullable().optional(),
39
+ "file-access-token-expires-in": z.number().int().describe("File access token expiration time in seconds").nullable().optional()
40
+ }).describe("Webhook attributes in the response.");
41
+ const PersonaRotateWebhookSecret_WebhookDataSchema = z.object({
42
+ id: z.string().describe("Webhook ID"),
43
+ type: z.string().describe("Resource type"),
44
+ attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional()
45
+ }).describe("Webhook data object in the response.");
46
+ const personaRotateWebhookSecret = action("PERSONA_ROTATE_WEBHOOK_SECRET", {
47
+ slug: "persona-rotate-webhook-secret",
48
+ name: "Rotate Webhook Secret",
49
+ description: "Tool to rotate a webhook's secret in Persona. Use when you need to generate a new secret key for webhook signature verification while optionally keeping the old secret active for a grace period.",
50
+ input: PersonaRotateWebhookSecretInput,
51
+ output: z.object({
52
+ data: PersonaRotateWebhookSecret_WebhookDataSchema.nullable(),
53
+ included: z.array(z.object({})).describe("Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.").nullable().optional()
54
+ }).describe("Response model for rotating a webhook's secret.")
55
+ });
56
+ //#endregion
57
+ export { personaRotateWebhookSecret };
58
+
59
+ //# sourceMappingURL=rotate-webhook-secret.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotate-webhook-secret.mjs","names":[],"sources":["../../src/actions/rotate-webhook-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRotateWebhookSecretInput: z.ZodTypeAny = z.object({\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n expires_in_seconds: z.number().int().describe(\"Seconds until currently active webhook secret expires. If not specified, the old secret expires immediately upon rotation.\").optional(),\n}).describe(\"Request model for rotating a webhook's secret.\");\nconst PersonaRotateWebhookSecret_WebhookAttributesSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n secrets: z.array(z.union([z.string(), z.object({})])).describe(\"List of secret keys for webhook signing rotation. Can be strings or objects with 'value' and 'expires-at' fields.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).describe(\"Webhook attributes in the response.\");\nconst PersonaRotateWebhookSecret_WebhookDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Webhook ID\"),\n type: z.string().describe(\"Resource type\"),\n attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object in the response.\");\nexport const PersonaRotateWebhookSecretOutput: z.ZodTypeAny = z.object({\n data: PersonaRotateWebhookSecret_WebhookDataSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model for rotating a webhook's secret.\");\n\nexport const personaRotateWebhookSecret = action(\"PERSONA_ROTATE_WEBHOOK_SECRET\", {\n slug: \"persona-rotate-webhook-secret\",\n name: \"Rotate Webhook Secret\",\n description: \"Tool to rotate a webhook's secret in Persona. Use when you need to generate a new secret key for webhook signature verification while optionally keeping the old secret active for a grace period.\",\n input: PersonaRotateWebhookSecretInput,\n output: PersonaRotateWebhookSecretOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC/L,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CAC7M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5L,oBAAoB,EAAE,OAAO,CA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AAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACpC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,YAAY,mDAAmD,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAMlD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,MAAM,6CAA6C,SAAS;EAC5D,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -0,0 +1,68 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-accounts.ts
4
+ const PersonaSearchAccountsInput = zod.z.object({
5
+ page: zod.z.object({
6
+ size: zod.z.number().int().describe("Number of results to return per page. Default is 10.").optional(),
7
+ after: zod.z.string().describe("Cursor for forward pagination. Use to fetch results after this cursor.").optional(),
8
+ before: zod.z.string().describe("Cursor for backward pagination. Use to fetch results before this cursor.").optional()
9
+ }).describe("Pagination configuration.").optional(),
10
+ sort: zod.z.object({
11
+ attribute: zod.z.string().describe("The attribute name to sort by (e.g., 'created-at', 'updated-at')."),
12
+ direction: zod.z.enum(["asc", "desc"]).default("desc").describe("Sort direction: asc (ascending) or desc (descending). Defaults to desc.").optional()
13
+ }).describe("Sort configuration for results.").optional(),
14
+ query: zod.z.object({}).describe("Search query using boolean logic (AND/OR/NOT) and comparison operators. Supports predicates with operators: eq (equal), gt (greater than), gte (greater than or equal), lt (less than), lte (less than or equal). Example: {'and': [{'attribute': 'account-status', 'operator': 'eq', 'value': 'active'}]}").optional(),
15
+ sparse_fields: zod.z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type. Allows customizing which attributes will be serialized.").optional(),
16
+ "Key-Inflection": zod.z.enum([
17
+ "camel",
18
+ "kebab",
19
+ "snake"
20
+ ]).describe("Determines casing for the API response.").optional(),
21
+ "Idempotency-Key": zod.z.string().describe("Ensures the request is idempotent. Sent as header.").optional(),
22
+ "Persona-Version": zod.z.enum([
23
+ "2025-12-08",
24
+ "2025-10-27",
25
+ "2023-01-05",
26
+ "2022-09-01",
27
+ "2021-08-18",
28
+ "2021-07-05",
29
+ "2021-02-21",
30
+ "2020-05-18"
31
+ ]).describe("Server API version.").optional()
32
+ }).describe("Request model for searching accounts in Persona.");
33
+ const PersonaSearchAccounts_AccountAttributesSchema = zod.z.object({
34
+ tags: zod.z.array(zod.z.string()).describe("List of tags associated with the account.").nullable().optional(),
35
+ fields: zod.z.object({}).describe("Custom fields associated with the account (not key inflected).").nullable().optional(),
36
+ "created-at": zod.z.string().describe("ISO 8601 timestamp when the account was created.").nullable().optional(),
37
+ "updated-at": zod.z.string().describe("ISO 8601 timestamp when the account was last updated.").nullable().optional(),
38
+ "redacted-at": zod.z.string().describe("ISO 8601 timestamp when the account was redacted, or null.").nullable().optional(),
39
+ "reference-id": zod.z.string().describe("External reference ID for the account, or null.").nullable().optional(),
40
+ "account-status": zod.z.string().describe("Current status of the account.").nullable().optional(),
41
+ "account-type-name": zod.z.string().describe("Name of the account type associated with this account.").nullable().optional()
42
+ }).describe("Attributes of an Account.");
43
+ const PersonaSearchAccounts_AccountRelationshipsSchema = zod.z.object({ "account-type": zod.z.object({}).describe("The account type relationship data.").nullable().optional() }).describe("Relationships of an Account.");
44
+ const PersonaSearchAccounts_AccountDataSchema = zod.z.object({
45
+ id: zod.z.string().describe("Unique identifier for the account.").nullable().optional(),
46
+ type: zod.z.string().describe("Resource type (e.g., 'account').").nullable().optional(),
47
+ attributes: PersonaSearchAccounts_AccountAttributesSchema.nullable().optional(),
48
+ relationships: PersonaSearchAccounts_AccountRelationshipsSchema.nullable().optional()
49
+ }).describe("Account object data.");
50
+ const PersonaSearchAccounts_PaginationLinksSchema = zod.z.object({
51
+ next: zod.z.string().describe("URL pointing to the next page of data, or null if on the last page. Must be used with POST request and original request body.").nullable().optional(),
52
+ prev: zod.z.string().describe("URL pointing to the previous page of data, or null if on the first page. Must be used with POST request and original request body.").nullable().optional()
53
+ }).describe("Pagination links for navigating through results.");
54
+ const PersonaSearchAccountsOutput = zod.z.object({
55
+ data: zod.z.array(PersonaSearchAccounts_AccountDataSchema).describe("An array of Account objects matching the search criteria."),
56
+ links: PersonaSearchAccounts_PaginationLinksSchema.nullable()
57
+ }).describe("Response model for searching accounts.");
58
+ const personaSearchAccounts = require_action.action("PERSONA_SEARCH_ACCOUNTS", {
59
+ slug: "persona-search-accounts",
60
+ name: "Search Accounts",
61
+ description: "Tool to search accounts in Persona using flexible query criteria. Use when you need to find accounts based on specific attributes, tags, or status. Supports boolean logic (AND/OR/NOT) and comparison operators.",
62
+ input: PersonaSearchAccountsInput,
63
+ output: PersonaSearchAccountsOutput
64
+ });
65
+ //#endregion
66
+ exports.personaSearchAccounts = personaSearchAccounts;
67
+
68
+ //# sourceMappingURL=search-accounts.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-accounts.cjs","names":["z","action"],"sources":["../../src/actions/search-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaSearchAccountsInput: z.ZodTypeAny = z.object({\n page: z.object({\n size: z.number().int().describe(\"Number of results to return per page. Default is 10.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination. Use to fetch results after this cursor.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination. Use to fetch results before this cursor.\").optional(),\n}).describe(\"Pagination configuration.\").optional(),\n sort: z.object({\n attribute: z.string().describe(\"The attribute name to sort by (e.g., 'created-at', 'updated-at').\"),\n direction: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort direction: asc (ascending) or desc (descending). Defaults to desc.\").optional(),\n}).describe(\"Sort configuration for results.\").optional(),\n query: z.object({}).describe(\"Search query using boolean logic (AND/OR/NOT) and comparison operators. Supports predicates with operators: eq (equal), gt (greater than), gte (greater than or equal), lt (less than), lte (less than or equal). Example: {'and': [{'attribute': 'account-status', 'operator': 'eq', 'value': 'active'}]}\").optional(),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. Allows customizing which attributes will be serialized.\").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. Sent as header.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for searching accounts in Persona.\");\nconst PersonaSearchAccounts_AccountAttributesSchema: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the account.\").nullable().optional(),\n fields: z.object({}).describe(\"Custom fields associated with the account (not key inflected).\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the account was redacted, or null.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account, or null.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Current status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type associated with this account.\").nullable().optional(),\n}).describe(\"Attributes of an Account.\");\nconst PersonaSearchAccounts_AccountRelationshipsSchema: z.ZodTypeAny = z.object({\n \"account-type\": z.object({}).describe(\"The account type relationship data.\").nullable().optional(),\n}).describe(\"Relationships of an Account.\");\nconst PersonaSearchAccounts_AccountDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable().optional(),\n type: z.string().describe(\"Resource type (e.g., 'account').\").nullable().optional(),\n attributes: PersonaSearchAccounts_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaSearchAccounts_AccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account object data.\");\nconst PersonaSearchAccounts_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page. Must be used with POST request and original request body.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page. Must be used with POST request and original request body.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through results.\");\nexport const PersonaSearchAccountsOutput: z.ZodTypeAny = z.object({\n data: z.array(PersonaSearchAccounts_AccountDataSchema).describe(\"An array of Account objects matching the search criteria.\"),\n links: PersonaSearchAccounts_PaginationLinksSchema.nullable(),\n}).describe(\"Response model for searching accounts.\");\n\nexport const personaSearchAccounts = action(\"PERSONA_SEARCH_ACCOUNTS\", {\n slug: \"persona-search-accounts\",\n name: \"Search Accounts\",\n description: \"Tool to search accounts in Persona using flexible query criteria. Use when you need to find accounts based on specific attributes, tags, or status. Supports boolean logic (AND/OR/NOT) and comparison operators.\",\n input: PersonaSearchAccountsInput,\n output: PersonaSearchAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,OAAO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;AAClC,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,2DAA2D;CAC3H,OAAO,4CAA4C,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-accounts.d.ts
4
+ declare const PersonaSearchAccountsInput: z.ZodTypeAny;
5
+ declare const PersonaSearchAccountsOutput: z.ZodTypeAny;
6
+ declare const personaSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaSearchAccounts };
9
+ //# sourceMappingURL=search-accounts.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-accounts.d.cts","names":[],"sources":["../../src/actions/search-accounts.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAeoB;AAAA,cAwBlD,2BAAA,EAA6B,CAAA,CAAE,UAGS;AAAA,cAExC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-accounts.d.ts
4
+ declare const PersonaSearchAccountsInput: z.ZodTypeAny;
5
+ declare const PersonaSearchAccountsOutput: z.ZodTypeAny;
6
+ declare const personaSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { personaSearchAccounts };
9
+ //# sourceMappingURL=search-accounts.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-accounts.d.mts","names":[],"sources":["../../src/actions/search-accounts.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAeoB;AAAA,cAwBlD,2BAAA,EAA6B,CAAA,CAAE,UAGS;AAAA,cAExC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}