@keystrokehq/persona 0.1.2 → 0.1.4

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 (421) 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/dist/catalog.cjs +1 -1
  416. package/dist/catalog.cjs.map +1 -1
  417. package/dist/catalog.d.cts +1 -1
  418. package/dist/catalog.d.mts +1 -1
  419. package/dist/catalog.mjs +1 -1
  420. package/dist/catalog.mjs.map +1 -1
  421. package/package.json +1 -1
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/retrieve-a-webhook.ts
4
4
  const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.").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. Keys are resource types, values are comma-separated attribute names.").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([
@@ -25,7 +25,7 @@ const PersonaRetrieveAWebhookInput = zod.z.object({
25
25
  const PersonaRetrieveAWebhook_WebhookSecretSchema = zod.z.object({
26
26
  value: zod.z.string().describe("The secret value for webhook signature verification.").nullable(),
27
27
  "expires-at": zod.z.string().describe("Expiration timestamp for the secret.").nullable().optional()
28
- }).describe("Webhook secret object.");
28
+ }).passthrough().describe("Webhook secret object.");
29
29
  const PersonaRetrieveAWebhook_WebhookAttributesSchema = zod.z.object({
30
30
  url: zod.z.string().describe("URL where webhook events are sent.").nullable().optional(),
31
31
  name: zod.z.string().describe("Name of the webhook.").nullable().optional(),
@@ -36,20 +36,20 @@ const PersonaRetrieveAWebhook_WebhookAttributesSchema = zod.z.object({
36
36
  "api-version": zod.z.string().describe("API version used for the webhook.").nullable().optional(),
37
37
  description: zod.z.string().describe("Description of the webhook.").nullable().optional(),
38
38
  "enabled-events": zod.z.array(zod.z.string()).describe("List of events enabled for the webhook.").nullable().optional(),
39
- "payload-filter": zod.z.object({}).describe("Filter configuration for the webhook payload.").nullable().optional(),
39
+ "payload-filter": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Filter configuration for the webhook payload.").nullable().optional(),
40
40
  "api-key-inflection": zod.z.string().describe("Key inflection format for the webhook payload.").nullable().optional(),
41
41
  "api-attributes-blocklist": zod.z.array(zod.z.string()).describe("List of attributes to block from the webhook payload.").nullable().optional(),
42
42
  "file-access-token-expires-in": zod.z.number().int().describe("Expiration time in seconds for file access tokens.").nullable().optional()
43
- }).describe("Attributes of a webhook in the response.");
43
+ }).passthrough().describe("Attributes of a webhook in the response.");
44
44
  const PersonaRetrieveAWebhook_WebhookDataSchema = zod.z.object({
45
45
  id: zod.z.string().describe("Unique identifier for the webhook.").nullable(),
46
46
  type: zod.z.string().describe("Resource type, typically 'webhook'.").nullable(),
47
47
  attributes: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional()
48
- }).describe("Webhook data returned in the response.");
48
+ }).passthrough().describe("Webhook data returned in the response.");
49
49
  const PersonaRetrieveAWebhookOutput = zod.z.object({
50
50
  data: PersonaRetrieveAWebhook_WebhookDataSchema.nullable(),
51
- 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()
52
- }).describe("Response model returned after retrieving a webhook in Persona.");
51
+ 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()
52
+ }).passthrough().describe("Response model returned after retrieving a webhook in Persona.");
53
53
  const personaRetrieveAWebhook = require_action.action("PERSONA_RETRIEVE_A_WEBHOOK", {
54
54
  slug: "persona-retrieve-a-webhook",
55
55
  name: "Retrieve a Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-a-webhook.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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(\"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 webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. 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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACpQ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC3M,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAA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4BAA4BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,0CAA0C,SAAS;CACzD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-a-webhook.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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(\"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 webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. 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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACzR,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC3M,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,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AC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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/retrieve-a-webhook.d.ts
4
4
  declare const PersonaRetrieveAWebhookInput: 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<{
@@ -34,22 +34,22 @@ declare const PersonaRetrieveAWebhookOutput: z.ZodObject<{
34
34
  secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
35
35
  value: z.ZodNullable<z.ZodString>;
36
36
  "expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>]>>>>;
37
+ }, z.core.$loose>]>>>>;
38
38
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  "api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  "enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
- "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
+ "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
43
  "api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  "api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
45
45
  "file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
- }, z.core.$strip>>>;
47
- }, z.core.$strip>>;
48
- included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
49
- }, z.core.$strip>;
46
+ }, z.core.$loose>>>;
47
+ }, z.core.$loose>>;
48
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
49
+ }, z.core.$loose>;
50
50
  declare const personaRetrieveAWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
51
51
  "webhook-id": string;
52
- fields?: Record<string, never> | undefined;
52
+ fields?: Record<string, unknown> | undefined;
53
53
  include?: string | undefined;
54
54
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
55
55
  "Idempotency-Key"?: string | undefined;
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-a-webhook.d.ts
4
4
  declare const PersonaRetrieveAWebhookInput: 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<{
@@ -34,22 +34,22 @@ declare const PersonaRetrieveAWebhookOutput: z.ZodObject<{
34
34
  secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
35
35
  value: z.ZodNullable<z.ZodString>;
36
36
  "expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>]>>>>;
37
+ }, z.core.$loose>]>>>>;
38
38
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  "api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  "enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
- "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
+ "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
43
  "api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  "api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
45
45
  "file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
- }, z.core.$strip>>>;
47
- }, z.core.$strip>>;
48
- included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
49
- }, z.core.$strip>;
46
+ }, z.core.$loose>>>;
47
+ }, z.core.$loose>>;
48
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
49
+ }, z.core.$loose>;
50
50
  declare const personaRetrieveAWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
51
51
  "webhook-id": string;
52
- fields?: Record<string, never> | undefined;
52
+ fields?: Record<string, unknown> | undefined;
53
53
  include?: string | undefined;
54
54
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
55
55
  "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-a-webhook.ts
4
4
  const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.").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. Keys are resource types, values are comma-separated attribute names.").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([
@@ -25,7 +25,7 @@ const PersonaRetrieveAWebhookInput = z.object({
25
25
  const PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({
26
26
  value: z.string().describe("The secret value for webhook signature verification.").nullable(),
27
27
  "expires-at": z.string().describe("Expiration timestamp for the secret.").nullable().optional()
28
- }).describe("Webhook secret object.");
28
+ }).passthrough().describe("Webhook secret object.");
29
29
  const PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({
30
30
  url: z.string().describe("URL where webhook events are sent.").nullable().optional(),
31
31
  name: z.string().describe("Name of the webhook.").nullable().optional(),
@@ -36,16 +36,16 @@ const PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({
36
36
  "api-version": z.string().describe("API version used for the webhook.").nullable().optional(),
37
37
  description: z.string().describe("Description of the webhook.").nullable().optional(),
38
38
  "enabled-events": z.array(z.string()).describe("List of events enabled for the webhook.").nullable().optional(),
39
- "payload-filter": z.object({}).describe("Filter configuration for the webhook payload.").nullable().optional(),
39
+ "payload-filter": z.record(z.string(), z.unknown()).describe("Filter configuration for the webhook payload.").nullable().optional(),
40
40
  "api-key-inflection": z.string().describe("Key inflection format for the webhook payload.").nullable().optional(),
41
41
  "api-attributes-blocklist": z.array(z.string()).describe("List of attributes to block from the webhook payload.").nullable().optional(),
42
42
  "file-access-token-expires-in": z.number().int().describe("Expiration time in seconds for file access tokens.").nullable().optional()
43
- }).describe("Attributes of a webhook in the response.");
43
+ }).passthrough().describe("Attributes of a webhook in the response.");
44
44
  const PersonaRetrieveAWebhook_WebhookDataSchema = z.object({
45
45
  id: z.string().describe("Unique identifier for the webhook.").nullable(),
46
46
  type: z.string().describe("Resource type, typically 'webhook'.").nullable(),
47
47
  attributes: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional()
48
- }).describe("Webhook data returned in the response.");
48
+ }).passthrough().describe("Webhook data returned in the response.");
49
49
  const personaRetrieveAWebhook = action("PERSONA_RETRIEVE_A_WEBHOOK", {
50
50
  slug: "persona-retrieve-a-webhook",
51
51
  name: "Retrieve a Webhook",
@@ -53,8 +53,8 @@ const personaRetrieveAWebhook = action("PERSONA_RETRIEVE_A_WEBHOOK", {
53
53
  input: PersonaRetrieveAWebhookInput,
54
54
  output: z.object({
55
55
  data: PersonaRetrieveAWebhook_WebhookDataSchema.nullable(),
56
- 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()
57
- }).describe("Response model returned after retrieving a webhook in Persona.")
56
+ 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()
57
+ }).passthrough().describe("Response model returned after retrieving a webhook in Persona.")
58
58
  });
59
59
  //#endregion
60
60
  export { personaRetrieveAWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-a-webhook.mjs","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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(\"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 webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. 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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACpQ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC3M,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,kDAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,S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ACtI,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,0CAA0C,SAAS;EACzD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7M,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-a-webhook.mjs","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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(\"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 webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. 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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACzR,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC3M,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,C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CAAC,SAAS;CACtI,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,0CAA0C,SAAS;EACzD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const PersonaRetrieveAnAccountInput = zod.z.object({
5
5
  include: zod.z.string().describe("A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.").optional(),
6
6
  "account-id": zod.z.string().describe("Unique identifier for the account to retrieve."),
7
- sparse_fields: zod.z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes which attributes will be serialized.").optional(),
7
+ 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. This customizes which attributes will be serialized.").optional(),
8
8
  "Key-Inflection": zod.z.enum([
9
9
  "camel",
10
10
  "kebab",
@@ -24,31 +24,31 @@ const PersonaRetrieveAnAccountInput = zod.z.object({
24
24
  }).describe("Request model for retrieving an account in Persona.");
25
25
  const PersonaRetrieveAnAccount_AccountAttributesSchema = zod.z.object({
26
26
  tags: zod.z.array(zod.z.string()).describe("Tags associated with the account.").nullable().optional(),
27
- fields: zod.z.object({}).describe("Custom fields for the account. This is not key inflected and contains structured data with type information.").nullable().optional(),
27
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields for the account. This is not key inflected and contains structured data with type information.").nullable().optional(),
28
28
  "created-at": zod.z.string().describe("Timestamp when the account was created.").nullable().optional(),
29
29
  "updated-at": zod.z.string().describe("Timestamp when the account was last updated.").nullable().optional(),
30
30
  "redacted-at": zod.z.string().describe("Timestamp when the account was redacted, if applicable.").nullable().optional(),
31
31
  "reference-id": zod.z.string().describe("External reference ID for the account.").nullable().optional(),
32
32
  "account-status": zod.z.string().describe("Status of the account.").nullable().optional(),
33
33
  "account-type-name": zod.z.string().describe("Name of the account type.").nullable().optional()
34
- }).describe("Attributes of an account in the response.");
35
- const PersonaRetrieveAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.object({}).describe("Relationship data.").nullable().optional() }).describe("Relationship data structure.");
36
- const PersonaRetrieveAnAccount_AccountRelationshipsSchema = zod.z.object({ "account-type": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
34
+ }).passthrough().describe("Attributes of an account in the response.");
35
+ const PersonaRetrieveAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
36
+ const PersonaRetrieveAnAccount_AccountRelationshipsSchema = zod.z.object({ "account-type": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
37
37
  const PersonaRetrieveAnAccount_AccountDataSchema = zod.z.object({
38
38
  id: zod.z.string().describe("Unique identifier for the account.").nullable(),
39
39
  type: zod.z.string().describe("Resource type, typically 'account'.").nullable(),
40
40
  attributes: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),
41
41
  relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional()
42
- }).describe("Account data returned in the response.");
42
+ }).passthrough().describe("Account data returned in the response.");
43
43
  const PersonaRetrieveAnAccount_IncludedResourceSchema = zod.z.object({
44
44
  id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
45
45
  type: zod.z.string().describe("Resource type.").nullable(),
46
- attributes: zod.z.object({}).describe("Attributes of the included resource.").nullable().optional()
47
- }).describe("Included resources in the response.");
46
+ attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the included resource.").nullable().optional()
47
+ }).passthrough().describe("Included resources in the response.");
48
48
  const PersonaRetrieveAnAccountOutput = zod.z.object({
49
49
  data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),
50
50
  included: zod.z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
51
- }).describe("Response model returned after retrieving an account in Persona.");
51
+ }).passthrough().describe("Response model returned after retrieving an account in Persona.");
52
52
  const personaRetrieveAnAccount = require_action.action("PERSONA_RETRIEVE_AN_ACCOUNT", {
53
53
  slug: "persona-retrieve-an-account",
54
54
  name: "Retrieve an Account",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-an-account.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes 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 retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).describe(\"Attributes of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACxM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CAChM,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,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S;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACjF,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,2CAA2C,SAAS;CAC1D,UAAUA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-an-account.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\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. This customizes 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 retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACxM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACrN,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAA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;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const PersonaRetrieveAnAccountInput: z.ZodObject<{
5
5
  include: z.ZodOptional<z.ZodString>;
6
6
  "account-id": z.ZodString;
7
- sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  "Key-Inflection": z.ZodOptional<z.ZodEnum<{
9
9
  camel: "camel";
10
10
  kebab: "kebab";
@@ -28,30 +28,30 @@ declare const PersonaRetrieveAnAccountOutput: z.ZodObject<{
28
28
  type: z.ZodNullable<z.ZodString>;
29
29
  attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
31
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  "redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  "reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  "account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  "account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>>;
38
+ }, z.core.$loose>>>;
39
39
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
40
  "account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
- data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
- }, z.core.$strip>>>;
43
- }, z.core.$strip>>>;
44
- }, z.core.$strip>>;
41
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
+ }, z.core.$loose>>>;
43
+ }, z.core.$loose>>>;
44
+ }, z.core.$loose>>;
45
45
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
46
  id: z.ZodNullable<z.ZodString>;
47
47
  type: z.ZodNullable<z.ZodString>;
48
- attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
49
- }, z.core.$strip>>>>;
50
- }, z.core.$strip>;
48
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
49
+ }, z.core.$loose>>>>;
50
+ }, z.core.$loose>;
51
51
  declare const personaRetrieveAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
52
52
  "account-id": string;
53
53
  include?: string | undefined;
54
- sparse_fields?: Record<string, never> | undefined;
54
+ sparse_fields?: Record<string, unknown> | undefined;
55
55
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
56
56
  "Idempotency-Key"?: string | undefined;
57
57
  "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;
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const PersonaRetrieveAnAccountInput: z.ZodObject<{
5
5
  include: z.ZodOptional<z.ZodString>;
6
6
  "account-id": z.ZodString;
7
- sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  "Key-Inflection": z.ZodOptional<z.ZodEnum<{
9
9
  camel: "camel";
10
10
  kebab: "kebab";
@@ -28,30 +28,30 @@ declare const PersonaRetrieveAnAccountOutput: z.ZodObject<{
28
28
  type: z.ZodNullable<z.ZodString>;
29
29
  attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
31
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  "redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  "reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  "account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  "account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>>;
38
+ }, z.core.$loose>>>;
39
39
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
40
  "account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
- data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
- }, z.core.$strip>>>;
43
- }, z.core.$strip>>>;
44
- }, z.core.$strip>>;
41
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
+ }, z.core.$loose>>>;
43
+ }, z.core.$loose>>>;
44
+ }, z.core.$loose>>;
45
45
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
46
  id: z.ZodNullable<z.ZodString>;
47
47
  type: z.ZodNullable<z.ZodString>;
48
- attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
49
- }, z.core.$strip>>>>;
50
- }, z.core.$strip>;
48
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
49
+ }, z.core.$loose>>>>;
50
+ }, z.core.$loose>;
51
51
  declare const personaRetrieveAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
52
52
  "account-id": string;
53
53
  include?: string | undefined;
54
- sparse_fields?: Record<string, never> | undefined;
54
+ sparse_fields?: Record<string, unknown> | undefined;
55
55
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
56
56
  "Idempotency-Key"?: string | undefined;
57
57
  "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;
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  const PersonaRetrieveAnAccountInput = z.object({
5
5
  include: z.string().describe("A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.").optional(),
6
6
  "account-id": z.string().describe("Unique identifier for the account to retrieve."),
7
- sparse_fields: z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes which attributes will be serialized.").optional(),
7
+ sparse_fields: z.record(z.string(), z.unknown()).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes which attributes will be serialized.").optional(),
8
8
  "Key-Inflection": z.enum([
9
9
  "camel",
10
10
  "kebab",
@@ -24,27 +24,27 @@ const PersonaRetrieveAnAccountInput = z.object({
24
24
  }).describe("Request model for retrieving an account in Persona.");
25
25
  const PersonaRetrieveAnAccount_AccountAttributesSchema = z.object({
26
26
  tags: z.array(z.string()).describe("Tags associated with the account.").nullable().optional(),
27
- fields: z.object({}).describe("Custom fields for the account. This is not key inflected and contains structured data with type information.").nullable().optional(),
27
+ fields: z.record(z.string(), z.unknown()).describe("Custom fields for the account. This is not key inflected and contains structured data with type information.").nullable().optional(),
28
28
  "created-at": z.string().describe("Timestamp when the account was created.").nullable().optional(),
29
29
  "updated-at": z.string().describe("Timestamp when the account was last updated.").nullable().optional(),
30
30
  "redacted-at": z.string().describe("Timestamp when the account was redacted, if applicable.").nullable().optional(),
31
31
  "reference-id": z.string().describe("External reference ID for the account.").nullable().optional(),
32
32
  "account-status": z.string().describe("Status of the account.").nullable().optional(),
33
33
  "account-type-name": z.string().describe("Name of the account type.").nullable().optional()
34
- }).describe("Attributes of an account in the response.");
35
- const PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({ data: z.object({}).describe("Relationship data.").nullable().optional() }).describe("Relationship data structure.");
36
- const PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({ "account-type": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
34
+ }).passthrough().describe("Attributes of an account in the response.");
35
+ const PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
36
+ const PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({ "account-type": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
37
37
  const PersonaRetrieveAnAccount_AccountDataSchema = z.object({
38
38
  id: z.string().describe("Unique identifier for the account.").nullable(),
39
39
  type: z.string().describe("Resource type, typically 'account'.").nullable(),
40
40
  attributes: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),
41
41
  relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional()
42
- }).describe("Account data returned in the response.");
42
+ }).passthrough().describe("Account data returned in the response.");
43
43
  const PersonaRetrieveAnAccount_IncludedResourceSchema = z.object({
44
44
  id: z.string().describe("Unique identifier for the included resource.").nullable(),
45
45
  type: z.string().describe("Resource type.").nullable(),
46
- attributes: z.object({}).describe("Attributes of the included resource.").nullable().optional()
47
- }).describe("Included resources in the response.");
46
+ attributes: z.record(z.string(), z.unknown()).describe("Attributes of the included resource.").nullable().optional()
47
+ }).passthrough().describe("Included resources in the response.");
48
48
  const personaRetrieveAnAccount = action("PERSONA_RETRIEVE_AN_ACCOUNT", {
49
49
  slug: "persona-retrieve-an-account",
50
50
  name: "Retrieve an Account",
@@ -53,7 +53,7 @@ const personaRetrieveAnAccount = action("PERSONA_RETRIEVE_AN_ACCOUNT", {
53
53
  output: z.object({
54
54
  data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),
55
55
  included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
56
- }).describe("Response model returned after retrieving an account in Persona.")
56
+ }).passthrough().describe("Response model returned after retrieving an account in Persona.")
57
57
  });
58
58
  //#endregion
59
59
  export { personaRetrieveAnAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-an-account.mjs","names":[],"sources":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes 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 retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).describe(\"Attributes of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACxM,cAAc,EAAE,OAAO,CAAC,CAA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":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\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. This customizes 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 retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACxM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACrN,kBAAkB,EAAE,KAAK;E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OhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/retrieve-an-event.ts
4
4
  const PersonaRetrieveAnEventInput = zod.z.object({
5
- fields: zod.z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type. This can be used to customize which attributes will be serialized in the response.").optional(),
5
+ 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. 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
  "event-id": zod.z.string().describe("The unique identifier of the event to retrieve."),
8
8
  "Key-Inflection": zod.z.enum([
@@ -27,21 +27,21 @@ const PersonaRetrieveAnEvent_EventAttributesSchema = zod.z.object({
27
27
  context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Context information for the event.").nullable().optional(),
28
28
  payload: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Payload data for the event.").nullable().optional(),
29
29
  "created-at": zod.z.string().describe("ISO 8601 timestamp when the event was created.").nullable().optional()
30
- }).describe("Attributes of an event.");
30
+ }).passthrough().describe("Attributes of an event.");
31
31
  const PersonaRetrieveAnEvent_EventDataSchema = zod.z.object({
32
32
  id: zod.z.string().describe("Unique identifier for the event.").nullable(),
33
33
  type: zod.z.string().describe("Resource type, typically 'event'.").nullable(),
34
34
  attributes: PersonaRetrieveAnEvent_EventAttributesSchema.nullable().optional()
35
- }).describe("Event data object returned by Persona API.");
35
+ }).passthrough().describe("Event data object returned by Persona API.");
36
36
  const PersonaRetrieveAnEvent_IncludedResourceSchema = zod.z.object({
37
37
  id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
38
38
  type: zod.z.string().describe("Resource type.").nullable(),
39
39
  attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the included resource.").nullable().optional()
40
- }).describe("Included resources in the response.");
40
+ }).passthrough().describe("Included resources in the response.");
41
41
  const PersonaRetrieveAnEventOutput = zod.z.object({
42
42
  data: PersonaRetrieveAnEvent_EventDataSchema.nullable(),
43
43
  included: zod.z.array(PersonaRetrieveAnEvent_IncludedResourceSchema).describe("Related resources included in the response. 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()
44
- }).describe("Response model for retrieving an event in Persona.");
44
+ }).passthrough().describe("Response model for retrieving an event in Persona.");
45
45
  const personaRetrieveAnEvent = require_action.action("PERSONA_RETRIEVE_AN_EVENT", {
46
46
  slug: "persona-retrieve-an-event",
47
47
  name: "Retrieve an Event",