@keystrokehq/persona 0.1.2 → 0.1.3

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 (415) hide show
  1. package/dist/actions/add-tag-to-account.cjs +6 -6
  2. package/dist/actions/add-tag-to-account.cjs.map +1 -1
  3. package/dist/actions/add-tag-to-account.d.cts +6 -6
  4. package/dist/actions/add-tag-to-account.d.mts +6 -6
  5. package/dist/actions/add-tag-to-account.mjs +6 -6
  6. package/dist/actions/add-tag-to-account.mjs.map +1 -1
  7. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +3 -3
  8. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
  9. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +3 -3
  10. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +3 -3
  11. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +3 -3
  12. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
  13. package/dist/actions/archive-a-country-list-item.cjs +5 -5
  14. package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
  15. package/dist/actions/archive-a-country-list-item.d.cts +6 -6
  16. package/dist/actions/archive-a-country-list-item.d.mts +6 -6
  17. package/dist/actions/archive-a-country-list-item.mjs +5 -5
  18. package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
  19. package/dist/actions/archive-a-geolocation-list-item.cjs +6 -6
  20. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
  21. package/dist/actions/archive-a-geolocation-list-item.d.cts +6 -6
  22. package/dist/actions/archive-a-geolocation-list-item.d.mts +6 -6
  23. package/dist/actions/archive-a-geolocation-list-item.mjs +6 -6
  24. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
  25. package/dist/actions/archive-a-government-id-number-list-item.cjs +4 -4
  26. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
  27. package/dist/actions/archive-a-government-id-number-list-item.d.cts +4 -4
  28. package/dist/actions/archive-a-government-id-number-list-item.d.mts +4 -4
  29. package/dist/actions/archive-a-government-id-number-list-item.mjs +4 -4
  30. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
  31. package/dist/actions/archive-a-name-list-item.cjs +6 -6
  32. package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
  33. package/dist/actions/archive-a-name-list-item.d.cts +6 -6
  34. package/dist/actions/archive-a-name-list-item.d.mts +6 -6
  35. package/dist/actions/archive-a-name-list-item.mjs +6 -6
  36. package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
  37. package/dist/actions/archive-a-webhook.cjs +6 -6
  38. package/dist/actions/archive-a-webhook.cjs.map +1 -1
  39. package/dist/actions/archive-a-webhook.d.cts +7 -7
  40. package/dist/actions/archive-a-webhook.d.mts +7 -7
  41. package/dist/actions/archive-a-webhook.mjs +6 -6
  42. package/dist/actions/archive-a-webhook.mjs.map +1 -1
  43. package/dist/actions/archive-email-address-list-item.cjs +5 -5
  44. package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
  45. package/dist/actions/archive-email-address-list-item.d.cts +5 -5
  46. package/dist/actions/archive-email-address-list-item.d.mts +5 -5
  47. package/dist/actions/archive-email-address-list-item.mjs +5 -5
  48. package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
  49. package/dist/actions/archive-ip-address-list-item.cjs +4 -4
  50. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
  51. package/dist/actions/archive-ip-address-list-item.d.cts +4 -4
  52. package/dist/actions/archive-ip-address-list-item.d.mts +4 -4
  53. package/dist/actions/archive-ip-address-list-item.mjs +4 -4
  54. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
  55. package/dist/actions/archive-phone-number-list-item.cjs +3 -3
  56. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
  57. package/dist/actions/archive-phone-number-list-item.d.cts +3 -3
  58. package/dist/actions/archive-phone-number-list-item.d.mts +3 -3
  59. package/dist/actions/archive-phone-number-list-item.mjs +3 -3
  60. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
  61. package/dist/actions/archive-string-list-item.cjs +5 -5
  62. package/dist/actions/archive-string-list-item.cjs.map +1 -1
  63. package/dist/actions/archive-string-list-item.d.cts +6 -6
  64. package/dist/actions/archive-string-list-item.d.mts +6 -6
  65. package/dist/actions/archive-string-list-item.mjs +5 -5
  66. package/dist/actions/archive-string-list-item.mjs.map +1 -1
  67. package/dist/actions/clone-webhook.cjs +4 -4
  68. package/dist/actions/clone-webhook.cjs.map +1 -1
  69. package/dist/actions/clone-webhook.d.cts +4 -4
  70. package/dist/actions/clone-webhook.d.mts +4 -4
  71. package/dist/actions/clone-webhook.mjs +4 -4
  72. package/dist/actions/clone-webhook.mjs.map +1 -1
  73. package/dist/actions/consolidate-into-account.cjs +2 -2
  74. package/dist/actions/consolidate-into-account.cjs.map +1 -1
  75. package/dist/actions/consolidate-into-account.d.cts +2 -2
  76. package/dist/actions/consolidate-into-account.d.mts +2 -2
  77. package/dist/actions/consolidate-into-account.mjs +2 -2
  78. package/dist/actions/consolidate-into-account.mjs.map +1 -1
  79. package/dist/actions/create-an-account.cjs +12 -12
  80. package/dist/actions/create-an-account.cjs.map +1 -1
  81. package/dist/actions/create-an-account.d.cts +16 -16
  82. package/dist/actions/create-an-account.d.mts +16 -16
  83. package/dist/actions/create-an-account.mjs +12 -12
  84. package/dist/actions/create-an-account.mjs.map +1 -1
  85. package/dist/actions/create-an-ip-address-list-item.cjs +6 -6
  86. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
  87. package/dist/actions/create-an-ip-address-list-item.d.cts +6 -6
  88. package/dist/actions/create-an-ip-address-list-item.d.mts +6 -6
  89. package/dist/actions/create-an-ip-address-list-item.mjs +6 -6
  90. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
  91. package/dist/actions/create-country-list-item.cjs +6 -6
  92. package/dist/actions/create-country-list-item.cjs.map +1 -1
  93. package/dist/actions/create-country-list-item.d.cts +6 -6
  94. package/dist/actions/create-country-list-item.d.mts +6 -6
  95. package/dist/actions/create-country-list-item.mjs +6 -6
  96. package/dist/actions/create-country-list-item.mjs.map +1 -1
  97. package/dist/actions/create-document-generic.cjs +5 -5
  98. package/dist/actions/create-document-generic.cjs.map +1 -1
  99. package/dist/actions/create-document-generic.d.cts +5 -5
  100. package/dist/actions/create-document-generic.d.mts +5 -5
  101. package/dist/actions/create-document-generic.mjs +5 -5
  102. package/dist/actions/create-document-generic.mjs.map +1 -1
  103. package/dist/actions/create-email-address-list-item.cjs +4 -4
  104. package/dist/actions/create-email-address-list-item.cjs.map +1 -1
  105. package/dist/actions/create-email-address-list-item.d.cts +4 -4
  106. package/dist/actions/create-email-address-list-item.d.mts +4 -4
  107. package/dist/actions/create-email-address-list-item.mjs +4 -4
  108. package/dist/actions/create-email-address-list-item.mjs.map +1 -1
  109. package/dist/actions/create-government-id-number-list-item.cjs +6 -6
  110. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
  111. package/dist/actions/create-government-id-number-list-item.d.cts +6 -6
  112. package/dist/actions/create-government-id-number-list-item.d.mts +6 -6
  113. package/dist/actions/create-government-id-number-list-item.mjs +6 -6
  114. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
  115. package/dist/actions/create-name-list-item.cjs +5 -5
  116. package/dist/actions/create-name-list-item.cjs.map +1 -1
  117. package/dist/actions/create-name-list-item.d.cts +5 -5
  118. package/dist/actions/create-name-list-item.d.mts +5 -5
  119. package/dist/actions/create-name-list-item.mjs +5 -5
  120. package/dist/actions/create-name-list-item.mjs.map +1 -1
  121. package/dist/actions/create-phone-number-list-item.cjs +5 -5
  122. package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
  123. package/dist/actions/create-phone-number-list-item.d.cts +5 -5
  124. package/dist/actions/create-phone-number-list-item.d.mts +5 -5
  125. package/dist/actions/create-phone-number-list-item.mjs +5 -5
  126. package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
  127. package/dist/actions/create-string-list-item.cjs +6 -6
  128. package/dist/actions/create-string-list-item.cjs.map +1 -1
  129. package/dist/actions/create-string-list-item.d.cts +6 -6
  130. package/dist/actions/create-string-list-item.d.mts +6 -6
  131. package/dist/actions/create-string-list-item.mjs +6 -6
  132. package/dist/actions/create-string-list-item.mjs.map +1 -1
  133. package/dist/actions/create-webhook.cjs +5 -5
  134. package/dist/actions/create-webhook.cjs.map +1 -1
  135. package/dist/actions/create-webhook.d.cts +6 -6
  136. package/dist/actions/create-webhook.d.mts +6 -6
  137. package/dist/actions/create-webhook.mjs +5 -5
  138. package/dist/actions/create-webhook.mjs.map +1 -1
  139. package/dist/actions/disable-webhook.cjs +6 -6
  140. package/dist/actions/disable-webhook.cjs.map +1 -1
  141. package/dist/actions/disable-webhook.d.cts +7 -7
  142. package/dist/actions/disable-webhook.d.mts +7 -7
  143. package/dist/actions/disable-webhook.mjs +6 -6
  144. package/dist/actions/disable-webhook.mjs.map +1 -1
  145. package/dist/actions/enable-webhook.cjs +5 -5
  146. package/dist/actions/enable-webhook.cjs.map +1 -1
  147. package/dist/actions/enable-webhook.d.cts +5 -5
  148. package/dist/actions/enable-webhook.d.mts +5 -5
  149. package/dist/actions/enable-webhook.mjs +5 -5
  150. package/dist/actions/enable-webhook.mjs.map +1 -1
  151. package/dist/actions/expire-inquiry-sessions.cjs +8 -8
  152. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
  153. package/dist/actions/expire-inquiry-sessions.d.cts +10 -10
  154. package/dist/actions/expire-inquiry-sessions.d.mts +10 -10
  155. package/dist/actions/expire-inquiry-sessions.mjs +8 -8
  156. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
  157. package/dist/actions/import-email-address-lists.cjs +3 -3
  158. package/dist/actions/import-email-address-lists.cjs.map +1 -1
  159. package/dist/actions/import-email-address-lists.d.cts +3 -3
  160. package/dist/actions/import-email-address-lists.d.mts +3 -3
  161. package/dist/actions/import-email-address-lists.mjs +3 -3
  162. package/dist/actions/import-email-address-lists.mjs.map +1 -1
  163. package/dist/actions/import-ip-address-lists.cjs +3 -3
  164. package/dist/actions/import-ip-address-lists.cjs.map +1 -1
  165. package/dist/actions/import-ip-address-lists.d.cts +3 -3
  166. package/dist/actions/import-ip-address-lists.d.mts +3 -3
  167. package/dist/actions/import-ip-address-lists.mjs +3 -3
  168. package/dist/actions/import-ip-address-lists.mjs.map +1 -1
  169. package/dist/actions/import-name-lists.cjs +3 -3
  170. package/dist/actions/import-name-lists.cjs.map +1 -1
  171. package/dist/actions/import-name-lists.d.cts +3 -3
  172. package/dist/actions/import-name-lists.d.mts +3 -3
  173. package/dist/actions/import-name-lists.mjs +3 -3
  174. package/dist/actions/import-name-lists.mjs.map +1 -1
  175. package/dist/actions/import-phone-number-lists.cjs +3 -3
  176. package/dist/actions/import-phone-number-lists.cjs.map +1 -1
  177. package/dist/actions/import-phone-number-lists.d.cts +3 -3
  178. package/dist/actions/import-phone-number-lists.d.mts +3 -3
  179. package/dist/actions/import-phone-number-lists.mjs +3 -3
  180. package/dist/actions/import-phone-number-lists.mjs.map +1 -1
  181. package/dist/actions/list-all-accounts.cjs +8 -8
  182. package/dist/actions/list-all-accounts.cjs.map +1 -1
  183. package/dist/actions/list-all-accounts.d.cts +10 -10
  184. package/dist/actions/list-all-accounts.d.mts +10 -10
  185. package/dist/actions/list-all-accounts.mjs +8 -8
  186. package/dist/actions/list-all-accounts.mjs.map +1 -1
  187. package/dist/actions/list-all-api-logs.cjs +10 -10
  188. package/dist/actions/list-all-api-logs.cjs.map +1 -1
  189. package/dist/actions/list-all-api-logs.d.cts +11 -11
  190. package/dist/actions/list-all-api-logs.d.mts +11 -11
  191. package/dist/actions/list-all-api-logs.mjs +10 -10
  192. package/dist/actions/list-all-api-logs.mjs.map +1 -1
  193. package/dist/actions/list-all-cases.cjs +10 -10
  194. package/dist/actions/list-all-cases.cjs.map +1 -1
  195. package/dist/actions/list-all-cases.d.cts +10 -10
  196. package/dist/actions/list-all-cases.d.mts +10 -10
  197. package/dist/actions/list-all-cases.mjs +10 -10
  198. package/dist/actions/list-all-cases.mjs.map +1 -1
  199. package/dist/actions/list-all-devices.cjs +5 -5
  200. package/dist/actions/list-all-devices.cjs.map +1 -1
  201. package/dist/actions/list-all-devices.d.cts +5 -5
  202. package/dist/actions/list-all-devices.d.mts +5 -5
  203. package/dist/actions/list-all-devices.mjs +5 -5
  204. package/dist/actions/list-all-devices.mjs.map +1 -1
  205. package/dist/actions/list-all-events.cjs +4 -4
  206. package/dist/actions/list-all-events.cjs.map +1 -1
  207. package/dist/actions/list-all-events.d.cts +4 -4
  208. package/dist/actions/list-all-events.d.mts +4 -4
  209. package/dist/actions/list-all-events.mjs +4 -4
  210. package/dist/actions/list-all-events.mjs.map +1 -1
  211. package/dist/actions/list-all-importers.cjs +6 -6
  212. package/dist/actions/list-all-importers.cjs.map +1 -1
  213. package/dist/actions/list-all-importers.d.cts +7 -7
  214. package/dist/actions/list-all-importers.d.mts +7 -7
  215. package/dist/actions/list-all-importers.mjs +6 -6
  216. package/dist/actions/list-all-importers.mjs.map +1 -1
  217. package/dist/actions/list-all-inquiries.cjs +9 -9
  218. package/dist/actions/list-all-inquiries.cjs.map +1 -1
  219. package/dist/actions/list-all-inquiries.d.cts +9 -9
  220. package/dist/actions/list-all-inquiries.d.mts +9 -9
  221. package/dist/actions/list-all-inquiries.mjs +9 -9
  222. package/dist/actions/list-all-inquiries.mjs.map +1 -1
  223. package/dist/actions/list-all-inquiry-sessions.cjs +9 -9
  224. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
  225. package/dist/actions/list-all-inquiry-sessions.d.cts +11 -11
  226. package/dist/actions/list-all-inquiry-sessions.d.mts +11 -11
  227. package/dist/actions/list-all-inquiry-sessions.mjs +9 -9
  228. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
  229. package/dist/actions/list-all-lists.cjs +7 -7
  230. package/dist/actions/list-all-lists.cjs.map +1 -1
  231. package/dist/actions/list-all-lists.d.cts +9 -9
  232. package/dist/actions/list-all-lists.d.mts +9 -9
  233. package/dist/actions/list-all-lists.mjs +7 -7
  234. package/dist/actions/list-all-lists.mjs.map +1 -1
  235. package/dist/actions/list-all-rate-limits.cjs +3 -3
  236. package/dist/actions/list-all-rate-limits.cjs.map +1 -1
  237. package/dist/actions/list-all-rate-limits.d.cts +3 -3
  238. package/dist/actions/list-all-rate-limits.d.mts +3 -3
  239. package/dist/actions/list-all-rate-limits.mjs +3 -3
  240. package/dist/actions/list-all-rate-limits.mjs.map +1 -1
  241. package/dist/actions/list-all-reports.cjs +10 -10
  242. package/dist/actions/list-all-reports.cjs.map +1 -1
  243. package/dist/actions/list-all-reports.d.cts +10 -10
  244. package/dist/actions/list-all-reports.d.mts +10 -10
  245. package/dist/actions/list-all-reports.mjs +10 -10
  246. package/dist/actions/list-all-reports.mjs.map +1 -1
  247. package/dist/actions/list-all-transactions.cjs +8 -8
  248. package/dist/actions/list-all-transactions.cjs.map +1 -1
  249. package/dist/actions/list-all-transactions.d.cts +8 -8
  250. package/dist/actions/list-all-transactions.d.mts +8 -8
  251. package/dist/actions/list-all-transactions.mjs +8 -8
  252. package/dist/actions/list-all-transactions.mjs.map +1 -1
  253. package/dist/actions/list-all-webhooks.cjs +6 -6
  254. package/dist/actions/list-all-webhooks.cjs.map +1 -1
  255. package/dist/actions/list-all-webhooks.d.cts +6 -6
  256. package/dist/actions/list-all-webhooks.d.mts +6 -6
  257. package/dist/actions/list-all-webhooks.mjs +6 -6
  258. package/dist/actions/list-all-webhooks.mjs.map +1 -1
  259. package/dist/actions/list-all-workflow-runs.cjs +10 -10
  260. package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
  261. package/dist/actions/list-all-workflow-runs.d.cts +10 -10
  262. package/dist/actions/list-all-workflow-runs.d.mts +10 -10
  263. package/dist/actions/list-all-workflow-runs.mjs +10 -10
  264. package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
  265. package/dist/actions/redact-an-account.cjs +9 -9
  266. package/dist/actions/redact-an-account.cjs.map +1 -1
  267. package/dist/actions/redact-an-account.d.cts +11 -11
  268. package/dist/actions/redact-an-account.d.mts +11 -11
  269. package/dist/actions/redact-an-account.mjs +9 -9
  270. package/dist/actions/redact-an-account.mjs.map +1 -1
  271. package/dist/actions/remove-account-tag.cjs +5 -5
  272. package/dist/actions/remove-account-tag.cjs.map +1 -1
  273. package/dist/actions/remove-account-tag.d.cts +5 -5
  274. package/dist/actions/remove-account-tag.d.mts +5 -5
  275. package/dist/actions/remove-account-tag.mjs +5 -5
  276. package/dist/actions/remove-account-tag.mjs.map +1 -1
  277. package/dist/actions/retrieve-a-country-list-item.cjs +6 -6
  278. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
  279. package/dist/actions/retrieve-a-country-list-item.d.cts +8 -8
  280. package/dist/actions/retrieve-a-country-list-item.d.mts +8 -8
  281. package/dist/actions/retrieve-a-country-list-item.mjs +6 -6
  282. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
  283. package/dist/actions/retrieve-a-geolocation-list-item.cjs +7 -7
  284. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
  285. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +8 -8
  286. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +8 -8
  287. package/dist/actions/retrieve-a-geolocation-list-item.mjs +7 -7
  288. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
  289. package/dist/actions/retrieve-a-name-list-item.cjs +5 -5
  290. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
  291. package/dist/actions/retrieve-a-name-list-item.d.cts +6 -6
  292. package/dist/actions/retrieve-a-name-list-item.d.mts +6 -6
  293. package/dist/actions/retrieve-a-name-list-item.mjs +5 -5
  294. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
  295. package/dist/actions/retrieve-a-string-list-item.cjs +6 -6
  296. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
  297. package/dist/actions/retrieve-a-string-list-item.d.cts +8 -8
  298. package/dist/actions/retrieve-a-string-list-item.d.mts +8 -8
  299. package/dist/actions/retrieve-a-string-list-item.mjs +6 -6
  300. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
  301. package/dist/actions/retrieve-a-webhook.cjs +7 -7
  302. package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
  303. package/dist/actions/retrieve-a-webhook.d.cts +8 -8
  304. package/dist/actions/retrieve-a-webhook.d.mts +8 -8
  305. package/dist/actions/retrieve-a-webhook.mjs +7 -7
  306. package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
  307. package/dist/actions/retrieve-an-account.cjs +9 -9
  308. package/dist/actions/retrieve-an-account.cjs.map +1 -1
  309. package/dist/actions/retrieve-an-account.d.cts +11 -11
  310. package/dist/actions/retrieve-an-account.d.mts +11 -11
  311. package/dist/actions/retrieve-an-account.mjs +9 -9
  312. package/dist/actions/retrieve-an-account.mjs.map +1 -1
  313. package/dist/actions/retrieve-an-event.cjs +5 -5
  314. package/dist/actions/retrieve-an-event.cjs.map +1 -1
  315. package/dist/actions/retrieve-an-event.d.cts +6 -6
  316. package/dist/actions/retrieve-an-event.d.mts +6 -6
  317. package/dist/actions/retrieve-an-event.mjs +5 -5
  318. package/dist/actions/retrieve-an-event.mjs.map +1 -1
  319. package/dist/actions/retrieve-an-importer.cjs +5 -5
  320. package/dist/actions/retrieve-an-importer.cjs.map +1 -1
  321. package/dist/actions/retrieve-an-importer.d.cts +6 -6
  322. package/dist/actions/retrieve-an-importer.d.mts +6 -6
  323. package/dist/actions/retrieve-an-importer.mjs +5 -5
  324. package/dist/actions/retrieve-an-importer.mjs.map +1 -1
  325. package/dist/actions/retrieve-an-ip-address-list-item.cjs +5 -5
  326. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
  327. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +6 -6
  328. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +6 -6
  329. package/dist/actions/retrieve-an-ip-address-list-item.mjs +5 -5
  330. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
  331. package/dist/actions/retrieve-api-log.cjs +12 -12
  332. package/dist/actions/retrieve-api-log.cjs.map +1 -1
  333. package/dist/actions/retrieve-api-log.d.cts +13 -13
  334. package/dist/actions/retrieve-api-log.d.mts +13 -13
  335. package/dist/actions/retrieve-api-log.mjs +12 -12
  336. package/dist/actions/retrieve-api-log.mjs.map +1 -1
  337. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +5 -5
  338. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
  339. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +7 -7
  340. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +7 -7
  341. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +5 -5
  342. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
  343. package/dist/actions/retrieve-document-generic.cjs +18 -18
  344. package/dist/actions/retrieve-document-generic.cjs.map +1 -1
  345. package/dist/actions/retrieve-document-generic.d.cts +19 -19
  346. package/dist/actions/retrieve-document-generic.d.mts +19 -19
  347. package/dist/actions/retrieve-document-generic.mjs +18 -18
  348. package/dist/actions/retrieve-document-generic.mjs.map +1 -1
  349. package/dist/actions/retrieve-document.cjs +14 -14
  350. package/dist/actions/retrieve-document.cjs.map +1 -1
  351. package/dist/actions/retrieve-document.d.cts +25 -25
  352. package/dist/actions/retrieve-document.d.mts +25 -25
  353. package/dist/actions/retrieve-document.mjs +14 -14
  354. package/dist/actions/retrieve-document.mjs.map +1 -1
  355. package/dist/actions/retrieve-email-address-list-item.cjs +5 -5
  356. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
  357. package/dist/actions/retrieve-email-address-list-item.d.cts +6 -6
  358. package/dist/actions/retrieve-email-address-list-item.d.mts +6 -6
  359. package/dist/actions/retrieve-email-address-list-item.mjs +5 -5
  360. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
  361. package/dist/actions/retrieve-government-id-number-list-item.cjs +5 -5
  362. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
  363. package/dist/actions/retrieve-government-id-number-list-item.d.cts +6 -6
  364. package/dist/actions/retrieve-government-id-number-list-item.d.mts +6 -6
  365. package/dist/actions/retrieve-government-id-number-list-item.mjs +5 -5
  366. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
  367. package/dist/actions/retrieve-phone-number-list-item.cjs +7 -7
  368. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
  369. package/dist/actions/retrieve-phone-number-list-item.d.cts +8 -8
  370. package/dist/actions/retrieve-phone-number-list-item.d.mts +8 -8
  371. package/dist/actions/retrieve-phone-number-list-item.mjs +7 -7
  372. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
  373. package/dist/actions/rotate-webhook-secret.cjs +7 -7
  374. package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
  375. package/dist/actions/rotate-webhook-secret.d.cts +8 -8
  376. package/dist/actions/rotate-webhook-secret.d.mts +8 -8
  377. package/dist/actions/rotate-webhook-secret.mjs +7 -7
  378. package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
  379. package/dist/actions/search-accounts.cjs +8 -8
  380. package/dist/actions/search-accounts.cjs.map +1 -1
  381. package/dist/actions/search-accounts.d.cts +11 -11
  382. package/dist/actions/search-accounts.d.mts +11 -11
  383. package/dist/actions/search-accounts.mjs +8 -8
  384. package/dist/actions/search-accounts.mjs.map +1 -1
  385. package/dist/actions/search-cases.cjs +8 -8
  386. package/dist/actions/search-cases.cjs.map +1 -1
  387. package/dist/actions/search-cases.d.cts +9 -9
  388. package/dist/actions/search-cases.d.mts +9 -9
  389. package/dist/actions/search-cases.mjs +8 -8
  390. package/dist/actions/search-cases.mjs.map +1 -1
  391. package/dist/actions/set-tags.cjs +6 -6
  392. package/dist/actions/set-tags.cjs.map +1 -1
  393. package/dist/actions/set-tags.d.cts +6 -6
  394. package/dist/actions/set-tags.d.mts +6 -6
  395. package/dist/actions/set-tags.mjs +6 -6
  396. package/dist/actions/set-tags.mjs.map +1 -1
  397. package/dist/actions/update-a-webhook.cjs +8 -8
  398. package/dist/actions/update-a-webhook.cjs.map +1 -1
  399. package/dist/actions/update-a-webhook.d.cts +11 -11
  400. package/dist/actions/update-a-webhook.d.mts +11 -11
  401. package/dist/actions/update-a-webhook.mjs +8 -8
  402. package/dist/actions/update-a-webhook.mjs.map +1 -1
  403. package/dist/actions/update-an-account.cjs +10 -10
  404. package/dist/actions/update-an-account.cjs.map +1 -1
  405. package/dist/actions/update-an-account.d.cts +14 -14
  406. package/dist/actions/update-an-account.d.mts +14 -14
  407. package/dist/actions/update-an-account.mjs +10 -10
  408. package/dist/actions/update-an-account.mjs.map +1 -1
  409. package/dist/actions/update-document-generic.cjs +16 -16
  410. package/dist/actions/update-document-generic.cjs.map +1 -1
  411. package/dist/actions/update-document-generic.d.cts +27 -27
  412. package/dist/actions/update-document-generic.d.mts +27 -27
  413. package/dist/actions/update-document-generic.mjs +16 -16
  414. package/dist/actions/update-document-generic.mjs.map +1 -1
  415. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-phone-number-list-item.d.ts
4
4
  declare const PersonaRetrievePhoneNumberListItemInput: z.ZodObject<{
5
- fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
5
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
6
  include: z.ZodOptional<z.ZodString>;
7
7
  "list-item-id": z.ZodString;
8
8
  "Key-Inflection": z.ZodOptional<z.ZodEnum<{
@@ -34,20 +34,20 @@ declare const PersonaRetrievePhoneNumberListItemOutput: z.ZodObject<{
34
34
  "archived-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  "match-count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  "redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>;
37
+ }, z.core.$loose>>;
38
38
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
40
  data: z.ZodNullable<z.ZodObject<{
41
41
  id: z.ZodNullable<z.ZodString>;
42
42
  type: z.ZodNullable<z.ZodString>;
43
- }, z.core.$strip>>;
44
- }, z.core.$strip>>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>>;
47
- }, z.core.$strip>;
43
+ }, z.core.$loose>>;
44
+ }, z.core.$loose>>>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>>;
47
+ }, z.core.$loose>;
48
48
  declare const personaRetrievePhoneNumberListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  "list-item-id": string;
50
- fields?: Record<string, never> | undefined;
50
+ fields?: Record<string, unknown> | undefined;
51
51
  include?: string | undefined;
52
52
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
53
53
  "Idempotency-Key"?: string | undefined;
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/retrieve-phone-number-list-item.ts
4
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(),
5
+ fields: z.record(z.string(), z.unknown()).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
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
7
  "list-item-id": z.string().describe("ID of the phone number list item to retrieve. Starts with 'lipn_'."),
8
8
  "Key-Inflection": z.enum([
@@ -30,25 +30,25 @@ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema = z
30
30
  "archived-at": z.string().describe("Timestamp when the item was archived").nullable().optional(),
31
31
  "match-count": z.number().int().describe("Number of times this item has been matched").nullable().optional(),
32
32
  "redacted-at": z.string().describe("Timestamp when the item was redacted").nullable().optional()
33
- }).describe("Attributes of a phone number list item.");
33
+ }).passthrough().describe("Attributes of a phone number list item.");
34
34
  const PersonaRetrievePhoneNumberListItem_CreatorDataSchema = z.object({
35
35
  id: z.string().describe("ID of the creator").nullable(),
36
36
  type: z.string().describe("Type of the creator").nullable()
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.");
37
+ }).passthrough().describe("Creator data model.");
38
+ const PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema = z.object({ data: PersonaRetrievePhoneNumberListItem_CreatorDataSchema.nullable() }).passthrough().describe("Creator relationship model.");
39
+ const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema = z.object({ creator: PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema.nullable().optional() }).passthrough().describe("Relationships for the phone number list item.");
40
40
  const PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema = z.object({
41
41
  id: z.string().describe("Unique identifier for this list item. Starts with 'lipn_'.").nullable(),
42
42
  type: z.string().describe("Type of the resource").nullable(),
43
43
  attributes: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema.nullable(),
44
44
  relationships: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional()
45
- }).describe("Data wrapper for the phone number list item response.");
45
+ }).passthrough().describe("Data wrapper for the phone number list item response.");
46
46
  const personaRetrievePhoneNumberListItem = action("PERSONA_RETRIEVE_PHONE_NUMBER_LIST_ITEM", {
47
47
  slug: "persona-retrieve-phone-number-list-item",
48
48
  name: "Retrieve Phone Number List Item",
49
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
50
  input: PersonaRetrievePhoneNumberListItemInput,
51
- output: z.object({ data: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema.nullable() }).describe("Response model for retrieving a phone number list item.")
51
+ output: z.object({ data: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema.nullable() }).passthrough().describe("Response model for retrieving a phone number list item.")
52
52
  });
53
53
  //#endregion
54
54
  export { personaRetrievePhoneNumberListItem };
@@ -1 +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.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.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.object({\n id: z.string().describe(\"ID of the creator\").nullable(),\n type: z.string().describe(\"Type of the creator\").nullable(),\n}).describe(\"Creator data model.\");\nconst PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema = z.object({\n data: PersonaRetrievePhoneNumberListItem_CreatorDataSchema.nullable(),\n}).describe(\"Creator relationship model.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema = z.object({\n creator: PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema.nullable().optional(),\n}).describe(\"Relationships for the phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lipn_'.\").nullable(),\n type: z.string().describe(\"Type of the resource\").nullable(),\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.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: PersonaRetrievePhone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E,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACjC,MAAM,+DAA+D,EAAE,OAAO,EAC5E,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,4EAA4E,EAAE,OAAO,EACzF,SAAS,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mEAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,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,QATsD,EAAE,OAAO,EAC/D,MAAM,iEAAiE,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
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.object({\n fields: z.record(z.string(), z.unknown()).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.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}).passthrough().describe(\"Attributes of a phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_CreatorDataSchema = z.object({\n id: z.string().describe(\"ID of the creator\").nullable(),\n type: z.string().describe(\"Type of the creator\").nullable(),\n}).passthrough().describe(\"Creator data model.\");\nconst PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema = z.object({\n data: PersonaRetrievePhoneNumberListItem_CreatorDataSchema.nullable(),\n}).passthrough().describe(\"Creator relationship model.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema = z.object({\n creator: PersonaRetrievePhoneNumberListItem_CreatorRelationshipSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships for the phone number list item.\");\nconst PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lipn_'.\").nullable(),\n type: z.string().describe(\"Type of the resource\").nullable(),\n attributes: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemAttributesSchema.nullable(),\n relationships: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Data wrapper for the phone number list item response.\");\nexport const PersonaRetrievePhoneNumberListItemOutput = z.object({\n data: PersonaRetrievePhoneNumberListItem_PhoneNumberListItemDataSchema.nullable(),\n}).passthrough().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,0CAA0C,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC5O,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;E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AC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,mEAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,YAAY,uEAAuE,SAAS;CAC5F,eAAe,0EAA0E,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAKjF,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,iEAAiE,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/rotate-webhook-secret.ts
4
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(),
5
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.").optional(),
6
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
7
  webhook_id: zod.z.string().describe("Webhook's ID (starts with 'wbh_')"),
8
8
  key_inflection: zod.z.enum([
@@ -28,25 +28,25 @@ const PersonaRotateWebhookSecret_WebhookAttributesSchema = zod.z.object({
28
28
  name: zod.z.string().describe("Name of the webhook").nullable().optional(),
29
29
  secret: zod.z.string().describe("Secret key used to sign webhook requests for verification").nullable().optional(),
30
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(),
31
+ secrets: zod.z.array(zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())])).describe("List of secret keys for webhook signing rotation. Can be strings or objects with 'value' and 'expires-at' fields.").nullable().optional(),
32
32
  "created-at": zod.z.string().describe("Timestamp when the webhook was created").nullable().optional(),
33
33
  "api-version": zod.z.string().describe("API version used by the webhook").nullable().optional(),
34
34
  description: zod.z.string().describe("Description of the webhook").nullable().optional(),
35
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(),
36
+ "payload-filter": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Payload filter configuration").nullable().optional(),
37
37
  "api-key-inflection": zod.z.string().describe("API key inflection setting").nullable().optional(),
38
38
  "api-attributes-blocklist": zod.z.array(zod.z.string()).describe("List of API attributes to blocklist").nullable().optional(),
39
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.");
40
+ }).passthrough().describe("Webhook attributes in the response.");
41
41
  const PersonaRotateWebhookSecret_WebhookDataSchema = zod.z.object({
42
42
  id: zod.z.string().describe("Webhook ID").nullable(),
43
43
  type: zod.z.string().describe("Resource type").nullable(),
44
44
  attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional()
45
- }).describe("Webhook data object in the response.");
45
+ }).passthrough().describe("Webhook data object in the response.");
46
46
  const PersonaRotateWebhookSecretOutput = zod.z.object({
47
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.");
48
+ included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.").nullable().optional()
49
+ }).passthrough().describe("Response model for rotating a webhook's secret.");
50
50
  const personaRotateWebhookSecret = require_action.action("PERSONA_ROTATE_WEBHOOK_SECRET", {
51
51
  slug: "persona-rotate-webhook-secret",
52
52
  name: "Rotate Webhook Secret",
@@ -1 +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.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.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.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type\").nullable(),\n attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object in the response.\");\nexport const PersonaRotateWebhookSecretOutput = 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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC/L,SAASA,IAAAA,EAAE,OAAO,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AMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response.\").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.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.record(z.string(), z.unknown())])).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.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaRotateWebhookSecret_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type\").nullable(),\n attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaRotateWebhookSecretOutput = z.object({\n data: PersonaRotateWebhookSecret_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for 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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,G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C,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,YAAY,mDAAmD,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,6CAA6C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/rotate-webhook-secret.d.ts
4
4
  declare const PersonaRotateWebhookSecretInput: z.ZodObject<{
5
- fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
5
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
6
  include: z.ZodOptional<z.ZodString>;
7
7
  webhook_id: z.ZodString;
8
8
  key_inflection: z.ZodOptional<z.ZodEnum<{
@@ -32,22 +32,22 @@ declare const PersonaRotateWebhookSecretOutput: z.ZodObject<{
32
32
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>>;
35
+ secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>>;
36
36
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  "api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  "enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
40
- "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
40
+ "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
41
  "api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  "api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
43
43
  "file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
- }, z.core.$strip>>>;
45
- }, z.core.$strip>>;
46
- included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
47
- }, z.core.$strip>;
44
+ }, z.core.$loose>>>;
45
+ }, z.core.$loose>>;
46
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
+ }, z.core.$loose>;
48
48
  declare const personaRotateWebhookSecret: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  webhook_id: string;
50
- fields?: Record<string, never> | undefined;
50
+ fields?: Record<string, unknown> | undefined;
51
51
  include?: string | undefined;
52
52
  key_inflection?: "camel" | "kebab" | "snake" | undefined;
53
53
  idempotency_key?: string | undefined;
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/rotate-webhook-secret.d.ts
4
4
  declare const PersonaRotateWebhookSecretInput: z.ZodObject<{
5
- fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
5
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
6
  include: z.ZodOptional<z.ZodString>;
7
7
  webhook_id: z.ZodString;
8
8
  key_inflection: z.ZodOptional<z.ZodEnum<{
@@ -32,22 +32,22 @@ declare const PersonaRotateWebhookSecretOutput: z.ZodObject<{
32
32
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>>;
35
+ secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>>;
36
36
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  "api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  "enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
40
- "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
40
+ "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
41
  "api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  "api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
43
43
  "file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
- }, z.core.$strip>>>;
45
- }, z.core.$strip>>;
46
- included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
47
- }, z.core.$strip>;
44
+ }, z.core.$loose>>>;
45
+ }, z.core.$loose>>;
46
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
+ }, z.core.$loose>;
48
48
  declare const personaRotateWebhookSecret: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  webhook_id: string;
50
- fields?: Record<string, never> | undefined;
50
+ fields?: Record<string, unknown> | undefined;
51
51
  include?: string | undefined;
52
52
  key_inflection?: "camel" | "kebab" | "snake" | undefined;
53
53
  idempotency_key?: string | undefined;
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/rotate-webhook-secret.ts
4
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(),
5
+ fields: z.record(z.string(), z.unknown()).describe("Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.").optional(),
6
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
7
  webhook_id: z.string().describe("Webhook's ID (starts with 'wbh_')"),
8
8
  key_inflection: z.enum([
@@ -28,21 +28,21 @@ const PersonaRotateWebhookSecret_WebhookAttributesSchema = z.object({
28
28
  name: z.string().describe("Name of the webhook").nullable().optional(),
29
29
  secret: z.string().describe("Secret key used to sign webhook requests for verification").nullable().optional(),
30
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(),
31
+ secrets: z.array(z.union([z.string(), z.record(z.string(), z.unknown())])).describe("List of secret keys for webhook signing rotation. Can be strings or objects with 'value' and 'expires-at' fields.").nullable().optional(),
32
32
  "created-at": z.string().describe("Timestamp when the webhook was created").nullable().optional(),
33
33
  "api-version": z.string().describe("API version used by the webhook").nullable().optional(),
34
34
  description: z.string().describe("Description of the webhook").nullable().optional(),
35
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(),
36
+ "payload-filter": z.record(z.string(), z.unknown()).describe("Payload filter configuration").nullable().optional(),
37
37
  "api-key-inflection": z.string().describe("API key inflection setting").nullable().optional(),
38
38
  "api-attributes-blocklist": z.array(z.string()).describe("List of API attributes to blocklist").nullable().optional(),
39
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.");
40
+ }).passthrough().describe("Webhook attributes in the response.");
41
41
  const PersonaRotateWebhookSecret_WebhookDataSchema = z.object({
42
42
  id: z.string().describe("Webhook ID").nullable(),
43
43
  type: z.string().describe("Resource type").nullable(),
44
44
  attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional()
45
- }).describe("Webhook data object in the response.");
45
+ }).passthrough().describe("Webhook data object in the response.");
46
46
  const personaRotateWebhookSecret = action("PERSONA_ROTATE_WEBHOOK_SECRET", {
47
47
  slug: "persona-rotate-webhook-secret",
48
48
  name: "Rotate Webhook Secret",
@@ -50,8 +50,8 @@ const personaRotateWebhookSecret = action("PERSONA_ROTATE_WEBHOOK_SECRET", {
50
50
  input: PersonaRotateWebhookSecretInput,
51
51
  output: z.object({
52
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.")
53
+ included: z.array(z.record(z.string(), z.unknown())).describe("Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.").nullable().optional()
54
+ }).passthrough().describe("Response model for rotating a webhook's secret.")
55
55
  });
56
56
  //#endregion
57
57
  export { personaRotateWebhookSecret };
@@ -1 +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.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.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.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type\").nullable(),\n attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object in the response.\");\nexport const PersonaRotateWebhookSecretOutput = 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,kCAAkC,EAAE,OAAO;CACtD,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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,S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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,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,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,QAV8C,EAAE,OAAO;EACvD,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"}
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.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response.\").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.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.record(z.string(), z.unknown())])).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.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaRotateWebhookSecret_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type\").nullable(),\n attributes: PersonaRotateWebhookSecret_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaRotateWebhookSecretOutput = z.object({\n data: PersonaRotateWebhookSecret_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for 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,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,qDAAqD,EAAE,OAAO;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAq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AAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,YAAY,mDAAmD,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,6CAA6C,SAAS;EAC5D,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -11,8 +11,8 @@ const PersonaSearchAccountsInput = zod.z.object({
11
11
  attribute: zod.z.string().describe("The attribute name to sort by (e.g., 'created-at', 'updated-at')."),
12
12
  direction: zod.z.enum(["asc", "desc"]).default("desc").describe("Sort direction: asc (ascending) or desc (descending). Defaults to desc.").optional()
13
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(),
14
+ query: zod.z.record(zod.z.string(), zod.z.unknown()).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.record(zod.z.string(), zod.z.unknown()).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
16
  "Key-Inflection": zod.z.enum([
17
17
  "camel",
18
18
  "kebab",
@@ -32,29 +32,29 @@ const PersonaSearchAccountsInput = zod.z.object({
32
32
  }).describe("Request model for searching accounts in Persona.");
33
33
  const PersonaSearchAccounts_AccountAttributesSchema = zod.z.object({
34
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(),
35
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields associated with the account (not key inflected).").nullable().optional(),
36
36
  "created-at": zod.z.string().describe("ISO 8601 timestamp when the account was created.").nullable().optional(),
37
37
  "updated-at": zod.z.string().describe("ISO 8601 timestamp when the account was last updated.").nullable().optional(),
38
38
  "redacted-at": zod.z.string().describe("ISO 8601 timestamp when the account was redacted, or null.").nullable().optional(),
39
39
  "reference-id": zod.z.string().describe("External reference ID for the account, or null.").nullable().optional(),
40
40
  "account-status": zod.z.string().describe("Current status of the account.").nullable().optional(),
41
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.");
42
+ }).passthrough().describe("Attributes of an Account.");
43
+ const PersonaSearchAccounts_AccountRelationshipsSchema = zod.z.object({ "account-type": zod.z.record(zod.z.string(), zod.z.unknown()).describe("The account type relationship data.").nullable().optional() }).passthrough().describe("Relationships of an Account.");
44
44
  const PersonaSearchAccounts_AccountDataSchema = zod.z.object({
45
45
  id: zod.z.string().describe("Unique identifier for the account.").nullable().optional(),
46
46
  type: zod.z.string().describe("Resource type (e.g., 'account').").nullable().optional(),
47
47
  attributes: PersonaSearchAccounts_AccountAttributesSchema.nullable().optional(),
48
48
  relationships: PersonaSearchAccounts_AccountRelationshipsSchema.nullable().optional()
49
- }).describe("Account object data.");
49
+ }).passthrough().describe("Account object data.");
50
50
  const PersonaSearchAccounts_PaginationLinksSchema = zod.z.object({
51
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
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.");
53
+ }).passthrough().describe("Pagination links for navigating through results.");
54
54
  const PersonaSearchAccountsOutput = zod.z.object({
55
55
  data: zod.z.array(PersonaSearchAccounts_AccountDataSchema).describe("An array of Account objects matching the search criteria."),
56
56
  links: PersonaSearchAccounts_PaginationLinksSchema.nullable()
57
- }).describe("Response model for searching accounts.");
57
+ }).passthrough().describe("Response model for searching accounts.");
58
58
  const personaSearchAccounts = require_action.action("PERSONA_SEARCH_ACCOUNTS", {
59
59
  slug: "persona-search-accounts",
60
60
  name: "Search Accounts",
@@ -1 +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.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.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.object({\n \"account-type\": z.object({}).describe(\"The account type relationship data.\").nullable().optional(),\n}).describe(\"Relationships of an Account.\");\nconst PersonaSearchAccounts_AccountDataSchema = 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.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.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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChD,MAAMA,IAAAA,EAAE,OAAO;EACf,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;E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A,IAAAA,EAAE,OAAO;CAClD,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"}
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.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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).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.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).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}).passthrough().describe(\"Attributes of an Account.\");\nconst PersonaSearchAccounts_AccountRelationshipsSchema = z.object({\n \"account-type\": z.record(z.string(), z.unknown()).describe(\"The account type relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of an Account.\");\nconst PersonaSearchAccounts_AccountDataSchema = 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}).passthrough().describe(\"Account object data.\");\nconst PersonaSearchAccounts_PaginationLinksSchema = 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}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaSearchAccountsOutput = z.object({\n data: z.array(PersonaSearchAccounts_AccountDataSchema).describe(\"An array of Account objects matching the search criteria.\"),\n links: PersonaSearchAccounts_PaginationLinksSchema.nullable(),\n}).passthrough().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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChD,MAAMA,IAAAA,EAAE,OAAO;EACf,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAClG,WAAWA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4SAA4S,CAAC,CAAC,SAAS;CACzW,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CA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AwC;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,8 +14,8 @@ declare const PersonaSearchAccountsInput: z.ZodObject<{
14
14
  desc: "desc";
15
15
  }>>>;
16
16
  }, z.core.$strip>>;
17
- query: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
18
- sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
17
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
19
  "Key-Inflection": z.ZodOptional<z.ZodEnum<{
20
20
  camel: "camel";
21
21
  kebab: "kebab";
@@ -39,23 +39,23 @@ declare const PersonaSearchAccountsOutput: z.ZodObject<{
39
39
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
41
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
43
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  "redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  "reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  "account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  "account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- }, z.core.$strip>>>;
49
+ }, z.core.$loose>>>;
50
50
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
51
- "account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
52
- }, z.core.$strip>>>;
53
- }, z.core.$strip>>;
51
+ "account-type": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
+ }, z.core.$loose>>>;
53
+ }, z.core.$loose>>;
54
54
  links: z.ZodNullable<z.ZodObject<{
55
55
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>;
58
- }, z.core.$strip>;
57
+ }, z.core.$loose>>;
58
+ }, z.core.$loose>;
59
59
  declare const personaSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
60
60
  page?: {
61
61
  size?: number | undefined;
@@ -66,8 +66,8 @@ declare const personaSearchAccounts: import("@keystrokehq/action").WorkflowActio
66
66
  attribute: string;
67
67
  direction?: "asc" | "desc" | undefined;
68
68
  } | undefined;
69
- query?: Record<string, never> | undefined;
70
- sparse_fields?: Record<string, never> | undefined;
69
+ query?: Record<string, unknown> | undefined;
70
+ sparse_fields?: Record<string, unknown> | undefined;
71
71
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
72
72
  "Idempotency-Key"?: string | undefined;
73
73
  "Persona-Version"?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
@@ -14,8 +14,8 @@ declare const PersonaSearchAccountsInput: z.ZodObject<{
14
14
  desc: "desc";
15
15
  }>>>;
16
16
  }, z.core.$strip>>;
17
- query: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
18
- sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
17
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
19
  "Key-Inflection": z.ZodOptional<z.ZodEnum<{
20
20
  camel: "camel";
21
21
  kebab: "kebab";
@@ -39,23 +39,23 @@ declare const PersonaSearchAccountsOutput: z.ZodObject<{
39
39
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
41
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
43
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  "redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  "reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  "account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  "account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- }, z.core.$strip>>>;
49
+ }, z.core.$loose>>>;
50
50
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
51
- "account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
52
- }, z.core.$strip>>>;
53
- }, z.core.$strip>>;
51
+ "account-type": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
+ }, z.core.$loose>>>;
53
+ }, z.core.$loose>>;
54
54
  links: z.ZodNullable<z.ZodObject<{
55
55
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>;
58
- }, z.core.$strip>;
57
+ }, z.core.$loose>>;
58
+ }, z.core.$loose>;
59
59
  declare const personaSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
60
60
  page?: {
61
61
  size?: number | undefined;
@@ -66,8 +66,8 @@ declare const personaSearchAccounts: import("@keystrokehq/action").WorkflowActio
66
66
  attribute: string;
67
67
  direction?: "asc" | "desc" | undefined;
68
68
  } | undefined;
69
- query?: Record<string, never> | undefined;
70
- sparse_fields?: Record<string, never> | undefined;
69
+ query?: Record<string, unknown> | undefined;
70
+ sparse_fields?: Record<string, unknown> | undefined;
71
71
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
72
72
  "Idempotency-Key"?: string | undefined;
73
73
  "Persona-Version"?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;