@keystrokehq/persona 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (561) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-account.cjs +10 -10
  4. package/dist/actions/add-tag-to-account.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-account.d.cts +48 -3
  6. package/dist/actions/add-tag-to-account.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-account.d.mts +48 -3
  8. package/dist/actions/add-tag-to-account.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-account.mjs +10 -10
  10. package/dist/actions/add-tag-to-account.mjs.map +1 -1
  11. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +7 -7
  12. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
  13. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +31 -3
  14. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts.map +1 -1
  15. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +31 -3
  16. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts.map +1 -1
  17. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +7 -7
  18. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
  19. package/dist/actions/archive-a-country-list-item.cjs +11 -11
  20. package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
  21. package/dist/actions/archive-a-country-list-item.d.cts +49 -3
  22. package/dist/actions/archive-a-country-list-item.d.cts.map +1 -1
  23. package/dist/actions/archive-a-country-list-item.d.mts +49 -3
  24. package/dist/actions/archive-a-country-list-item.d.mts.map +1 -1
  25. package/dist/actions/archive-a-country-list-item.mjs +11 -11
  26. package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
  27. package/dist/actions/archive-a-geolocation-list-item.cjs +6 -6
  28. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
  29. package/dist/actions/archive-a-geolocation-list-item.d.cts +41 -3
  30. package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -1
  31. package/dist/actions/archive-a-geolocation-list-item.d.mts +41 -3
  32. package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -1
  33. package/dist/actions/archive-a-geolocation-list-item.mjs +6 -6
  34. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
  35. package/dist/actions/archive-a-government-id-number-list-item.cjs +4 -4
  36. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
  37. package/dist/actions/archive-a-government-id-number-list-item.d.cts +31 -3
  38. package/dist/actions/archive-a-government-id-number-list-item.d.cts.map +1 -1
  39. package/dist/actions/archive-a-government-id-number-list-item.d.mts +31 -3
  40. package/dist/actions/archive-a-government-id-number-list-item.d.mts.map +1 -1
  41. package/dist/actions/archive-a-government-id-number-list-item.mjs +4 -4
  42. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
  43. package/dist/actions/archive-a-name-list-item.cjs +6 -6
  44. package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
  45. package/dist/actions/archive-a-name-list-item.d.cts +30 -3
  46. package/dist/actions/archive-a-name-list-item.d.cts.map +1 -1
  47. package/dist/actions/archive-a-name-list-item.d.mts +30 -3
  48. package/dist/actions/archive-a-name-list-item.d.mts.map +1 -1
  49. package/dist/actions/archive-a-name-list-item.mjs +6 -6
  50. package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
  51. package/dist/actions/archive-a-webhook.cjs +6 -6
  52. package/dist/actions/archive-a-webhook.cjs.map +1 -1
  53. package/dist/actions/archive-a-webhook.d.cts +49 -3
  54. package/dist/actions/archive-a-webhook.d.cts.map +1 -1
  55. package/dist/actions/archive-a-webhook.d.mts +49 -3
  56. package/dist/actions/archive-a-webhook.d.mts.map +1 -1
  57. package/dist/actions/archive-a-webhook.mjs +6 -6
  58. package/dist/actions/archive-a-webhook.mjs.map +1 -1
  59. package/dist/actions/archive-email-address-list-item.cjs +5 -5
  60. package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
  61. package/dist/actions/archive-email-address-list-item.d.cts +50 -3
  62. package/dist/actions/archive-email-address-list-item.d.cts.map +1 -1
  63. package/dist/actions/archive-email-address-list-item.d.mts +50 -3
  64. package/dist/actions/archive-email-address-list-item.d.mts.map +1 -1
  65. package/dist/actions/archive-email-address-list-item.mjs +5 -5
  66. package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
  67. package/dist/actions/archive-ip-address-list-item.cjs +8 -8
  68. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
  69. package/dist/actions/archive-ip-address-list-item.d.cts +34 -3
  70. package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -1
  71. package/dist/actions/archive-ip-address-list-item.d.mts +34 -3
  72. package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -1
  73. package/dist/actions/archive-ip-address-list-item.mjs +8 -8
  74. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
  75. package/dist/actions/archive-phone-number-list-item.cjs +9 -9
  76. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
  77. package/dist/actions/archive-phone-number-list-item.d.cts +31 -3
  78. package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -1
  79. package/dist/actions/archive-phone-number-list-item.d.mts +31 -3
  80. package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -1
  81. package/dist/actions/archive-phone-number-list-item.mjs +9 -9
  82. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
  83. package/dist/actions/archive-string-list-item.cjs +5 -5
  84. package/dist/actions/archive-string-list-item.cjs.map +1 -1
  85. package/dist/actions/archive-string-list-item.d.cts +49 -3
  86. package/dist/actions/archive-string-list-item.d.cts.map +1 -1
  87. package/dist/actions/archive-string-list-item.d.mts +49 -3
  88. package/dist/actions/archive-string-list-item.d.mts.map +1 -1
  89. package/dist/actions/archive-string-list-item.mjs +5 -5
  90. package/dist/actions/archive-string-list-item.mjs.map +1 -1
  91. package/dist/actions/clone-webhook.cjs +7 -7
  92. package/dist/actions/clone-webhook.cjs.map +1 -1
  93. package/dist/actions/clone-webhook.d.cts +43 -3
  94. package/dist/actions/clone-webhook.d.cts.map +1 -1
  95. package/dist/actions/clone-webhook.d.mts +43 -3
  96. package/dist/actions/clone-webhook.d.mts.map +1 -1
  97. package/dist/actions/clone-webhook.mjs +7 -7
  98. package/dist/actions/clone-webhook.mjs.map +1 -1
  99. package/dist/actions/consolidate-into-account.cjs +2 -2
  100. package/dist/actions/consolidate-into-account.cjs.map +1 -1
  101. package/dist/actions/consolidate-into-account.d.cts +28 -3
  102. package/dist/actions/consolidate-into-account.d.cts.map +1 -1
  103. package/dist/actions/consolidate-into-account.d.mts +28 -3
  104. package/dist/actions/consolidate-into-account.d.mts.map +1 -1
  105. package/dist/actions/consolidate-into-account.mjs +2 -2
  106. package/dist/actions/consolidate-into-account.mjs.map +1 -1
  107. package/dist/actions/create-an-account.cjs +16 -16
  108. package/dist/actions/create-an-account.cjs.map +1 -1
  109. package/dist/actions/create-an-account.d.cts +121 -3
  110. package/dist/actions/create-an-account.d.cts.map +1 -1
  111. package/dist/actions/create-an-account.d.mts +121 -3
  112. package/dist/actions/create-an-account.d.mts.map +1 -1
  113. package/dist/actions/create-an-account.mjs +16 -16
  114. package/dist/actions/create-an-account.mjs.map +1 -1
  115. package/dist/actions/create-an-ip-address-list-item.cjs +10 -10
  116. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
  117. package/dist/actions/create-an-ip-address-list-item.d.cts +41 -3
  118. package/dist/actions/create-an-ip-address-list-item.d.cts.map +1 -1
  119. package/dist/actions/create-an-ip-address-list-item.d.mts +41 -3
  120. package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -1
  121. package/dist/actions/create-an-ip-address-list-item.mjs +10 -10
  122. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
  123. package/dist/actions/create-country-list-item.cjs +8 -8
  124. package/dist/actions/create-country-list-item.cjs.map +1 -1
  125. package/dist/actions/create-country-list-item.d.cts +62 -3
  126. package/dist/actions/create-country-list-item.d.cts.map +1 -1
  127. package/dist/actions/create-country-list-item.d.mts +62 -3
  128. package/dist/actions/create-country-list-item.d.mts.map +1 -1
  129. package/dist/actions/create-country-list-item.mjs +8 -8
  130. package/dist/actions/create-country-list-item.mjs.map +1 -1
  131. package/dist/actions/create-document-generic.cjs +9 -9
  132. package/dist/actions/create-document-generic.cjs.map +1 -1
  133. package/dist/actions/create-document-generic.d.cts +73 -3
  134. package/dist/actions/create-document-generic.d.cts.map +1 -1
  135. package/dist/actions/create-document-generic.d.mts +73 -3
  136. package/dist/actions/create-document-generic.d.mts.map +1 -1
  137. package/dist/actions/create-document-generic.mjs +9 -9
  138. package/dist/actions/create-document-generic.mjs.map +1 -1
  139. package/dist/actions/create-email-address-list-item.cjs +11 -11
  140. package/dist/actions/create-email-address-list-item.cjs.map +1 -1
  141. package/dist/actions/create-email-address-list-item.d.cts +39 -3
  142. package/dist/actions/create-email-address-list-item.d.cts.map +1 -1
  143. package/dist/actions/create-email-address-list-item.d.mts +39 -3
  144. package/dist/actions/create-email-address-list-item.d.mts.map +1 -1
  145. package/dist/actions/create-email-address-list-item.mjs +11 -11
  146. package/dist/actions/create-email-address-list-item.mjs.map +1 -1
  147. package/dist/actions/create-government-id-number-list-item.cjs +13 -13
  148. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
  149. package/dist/actions/create-government-id-number-list-item.d.cts +42 -3
  150. package/dist/actions/create-government-id-number-list-item.d.cts.map +1 -1
  151. package/dist/actions/create-government-id-number-list-item.d.mts +42 -3
  152. package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -1
  153. package/dist/actions/create-government-id-number-list-item.mjs +13 -13
  154. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
  155. package/dist/actions/create-name-list-item.cjs +12 -12
  156. package/dist/actions/create-name-list-item.cjs.map +1 -1
  157. package/dist/actions/create-name-list-item.d.cts +47 -3
  158. package/dist/actions/create-name-list-item.d.cts.map +1 -1
  159. package/dist/actions/create-name-list-item.d.mts +47 -3
  160. package/dist/actions/create-name-list-item.d.mts.map +1 -1
  161. package/dist/actions/create-name-list-item.mjs +12 -12
  162. package/dist/actions/create-name-list-item.mjs.map +1 -1
  163. package/dist/actions/create-phone-number-list-item.cjs +9 -9
  164. package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
  165. package/dist/actions/create-phone-number-list-item.d.cts +46 -3
  166. package/dist/actions/create-phone-number-list-item.d.cts.map +1 -1
  167. package/dist/actions/create-phone-number-list-item.d.mts +46 -3
  168. package/dist/actions/create-phone-number-list-item.d.mts.map +1 -1
  169. package/dist/actions/create-phone-number-list-item.mjs +9 -9
  170. package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
  171. package/dist/actions/create-string-list-item.cjs +10 -10
  172. package/dist/actions/create-string-list-item.cjs.map +1 -1
  173. package/dist/actions/create-string-list-item.d.cts +39 -3
  174. package/dist/actions/create-string-list-item.d.cts.map +1 -1
  175. package/dist/actions/create-string-list-item.d.mts +39 -3
  176. package/dist/actions/create-string-list-item.d.mts.map +1 -1
  177. package/dist/actions/create-string-list-item.mjs +10 -10
  178. package/dist/actions/create-string-list-item.mjs.map +1 -1
  179. package/dist/actions/create-webhook.cjs +8 -8
  180. package/dist/actions/create-webhook.cjs.map +1 -1
  181. package/dist/actions/create-webhook.d.cts +72 -3
  182. package/dist/actions/create-webhook.d.cts.map +1 -1
  183. package/dist/actions/create-webhook.d.mts +72 -3
  184. package/dist/actions/create-webhook.d.mts.map +1 -1
  185. package/dist/actions/create-webhook.mjs +8 -8
  186. package/dist/actions/create-webhook.mjs.map +1 -1
  187. package/dist/actions/disable-webhook.cjs +6 -6
  188. package/dist/actions/disable-webhook.cjs.map +1 -1
  189. package/dist/actions/disable-webhook.d.cts +49 -3
  190. package/dist/actions/disable-webhook.d.cts.map +1 -1
  191. package/dist/actions/disable-webhook.d.mts +49 -3
  192. package/dist/actions/disable-webhook.d.mts.map +1 -1
  193. package/dist/actions/disable-webhook.mjs +6 -6
  194. package/dist/actions/disable-webhook.mjs.map +1 -1
  195. package/dist/actions/enable-webhook.cjs +7 -7
  196. package/dist/actions/enable-webhook.cjs.map +1 -1
  197. package/dist/actions/enable-webhook.d.cts +47 -3
  198. package/dist/actions/enable-webhook.d.cts.map +1 -1
  199. package/dist/actions/enable-webhook.d.mts +47 -3
  200. package/dist/actions/enable-webhook.d.mts.map +1 -1
  201. package/dist/actions/enable-webhook.mjs +7 -7
  202. package/dist/actions/enable-webhook.mjs.map +1 -1
  203. package/dist/actions/expire-inquiry-sessions.cjs +12 -12
  204. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
  205. package/dist/actions/expire-inquiry-sessions.d.cts +54 -3
  206. package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -1
  207. package/dist/actions/expire-inquiry-sessions.d.mts +54 -3
  208. package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -1
  209. package/dist/actions/expire-inquiry-sessions.mjs +12 -12
  210. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
  211. package/dist/actions/import-email-address-lists.cjs +10 -10
  212. package/dist/actions/import-email-address-lists.cjs.map +1 -1
  213. package/dist/actions/import-email-address-lists.d.cts +30 -3
  214. package/dist/actions/import-email-address-lists.d.cts.map +1 -1
  215. package/dist/actions/import-email-address-lists.d.mts +30 -3
  216. package/dist/actions/import-email-address-lists.d.mts.map +1 -1
  217. package/dist/actions/import-email-address-lists.mjs +10 -10
  218. package/dist/actions/import-email-address-lists.mjs.map +1 -1
  219. package/dist/actions/import-ip-address-lists.cjs +10 -10
  220. package/dist/actions/import-ip-address-lists.cjs.map +1 -1
  221. package/dist/actions/import-ip-address-lists.d.cts +46 -3
  222. package/dist/actions/import-ip-address-lists.d.cts.map +1 -1
  223. package/dist/actions/import-ip-address-lists.d.mts +46 -3
  224. package/dist/actions/import-ip-address-lists.d.mts.map +1 -1
  225. package/dist/actions/import-ip-address-lists.mjs +10 -10
  226. package/dist/actions/import-ip-address-lists.mjs.map +1 -1
  227. package/dist/actions/import-name-lists.cjs +3 -3
  228. package/dist/actions/import-name-lists.cjs.map +1 -1
  229. package/dist/actions/import-name-lists.d.cts +36 -3
  230. package/dist/actions/import-name-lists.d.cts.map +1 -1
  231. package/dist/actions/import-name-lists.d.mts +36 -3
  232. package/dist/actions/import-name-lists.d.mts.map +1 -1
  233. package/dist/actions/import-name-lists.mjs +3 -3
  234. package/dist/actions/import-name-lists.mjs.map +1 -1
  235. package/dist/actions/import-phone-number-lists.cjs +10 -10
  236. package/dist/actions/import-phone-number-lists.cjs.map +1 -1
  237. package/dist/actions/import-phone-number-lists.d.cts +46 -3
  238. package/dist/actions/import-phone-number-lists.d.cts.map +1 -1
  239. package/dist/actions/import-phone-number-lists.d.mts +46 -3
  240. package/dist/actions/import-phone-number-lists.d.mts.map +1 -1
  241. package/dist/actions/import-phone-number-lists.mjs +10 -10
  242. package/dist/actions/import-phone-number-lists.mjs.map +1 -1
  243. package/dist/actions/list-all-accounts.cjs +10 -10
  244. package/dist/actions/list-all-accounts.cjs.map +1 -1
  245. package/dist/actions/list-all-accounts.d.cts +60 -3
  246. package/dist/actions/list-all-accounts.d.cts.map +1 -1
  247. package/dist/actions/list-all-accounts.d.mts +60 -3
  248. package/dist/actions/list-all-accounts.d.mts.map +1 -1
  249. package/dist/actions/list-all-accounts.mjs +10 -10
  250. package/dist/actions/list-all-accounts.mjs.map +1 -1
  251. package/dist/actions/list-all-api-logs.cjs +12 -12
  252. package/dist/actions/list-all-api-logs.cjs.map +1 -1
  253. package/dist/actions/list-all-api-logs.d.cts +54 -3
  254. package/dist/actions/list-all-api-logs.d.cts.map +1 -1
  255. package/dist/actions/list-all-api-logs.d.mts +54 -3
  256. package/dist/actions/list-all-api-logs.d.mts.map +1 -1
  257. package/dist/actions/list-all-api-logs.mjs +12 -12
  258. package/dist/actions/list-all-api-logs.mjs.map +1 -1
  259. package/dist/actions/list-all-cases.cjs +14 -14
  260. package/dist/actions/list-all-cases.cjs.map +1 -1
  261. package/dist/actions/list-all-cases.d.cts +66 -3
  262. package/dist/actions/list-all-cases.d.cts.map +1 -1
  263. package/dist/actions/list-all-cases.d.mts +66 -3
  264. package/dist/actions/list-all-cases.d.mts.map +1 -1
  265. package/dist/actions/list-all-cases.mjs +14 -14
  266. package/dist/actions/list-all-cases.mjs.map +1 -1
  267. package/dist/actions/list-all-devices.cjs +7 -7
  268. package/dist/actions/list-all-devices.cjs.map +1 -1
  269. package/dist/actions/list-all-devices.d.cts +46 -3
  270. package/dist/actions/list-all-devices.d.cts.map +1 -1
  271. package/dist/actions/list-all-devices.d.mts +46 -3
  272. package/dist/actions/list-all-devices.d.mts.map +1 -1
  273. package/dist/actions/list-all-devices.mjs +7 -7
  274. package/dist/actions/list-all-devices.mjs.map +1 -1
  275. package/dist/actions/list-all-events.cjs +4 -4
  276. package/dist/actions/list-all-events.cjs.map +1 -1
  277. package/dist/actions/list-all-events.d.cts +50 -3
  278. package/dist/actions/list-all-events.d.cts.map +1 -1
  279. package/dist/actions/list-all-events.d.mts +50 -3
  280. package/dist/actions/list-all-events.d.mts.map +1 -1
  281. package/dist/actions/list-all-events.mjs +4 -4
  282. package/dist/actions/list-all-events.mjs.map +1 -1
  283. package/dist/actions/list-all-importers.cjs +6 -6
  284. package/dist/actions/list-all-importers.cjs.map +1 -1
  285. package/dist/actions/list-all-importers.d.cts +50 -3
  286. package/dist/actions/list-all-importers.d.cts.map +1 -1
  287. package/dist/actions/list-all-importers.d.mts +50 -3
  288. package/dist/actions/list-all-importers.d.mts.map +1 -1
  289. package/dist/actions/list-all-importers.mjs +6 -6
  290. package/dist/actions/list-all-importers.mjs.map +1 -1
  291. package/dist/actions/list-all-inquiries.cjs +11 -11
  292. package/dist/actions/list-all-inquiries.cjs.map +1 -1
  293. package/dist/actions/list-all-inquiries.d.cts +63 -3
  294. package/dist/actions/list-all-inquiries.d.cts.map +1 -1
  295. package/dist/actions/list-all-inquiries.d.mts +63 -3
  296. package/dist/actions/list-all-inquiries.d.mts.map +1 -1
  297. package/dist/actions/list-all-inquiries.mjs +11 -11
  298. package/dist/actions/list-all-inquiries.mjs.map +1 -1
  299. package/dist/actions/list-all-inquiry-sessions.cjs +13 -13
  300. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
  301. package/dist/actions/list-all-inquiry-sessions.d.cts +56 -3
  302. package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -1
  303. package/dist/actions/list-all-inquiry-sessions.d.mts +56 -3
  304. package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -1
  305. package/dist/actions/list-all-inquiry-sessions.mjs +13 -13
  306. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
  307. package/dist/actions/list-all-lists.cjs +7 -7
  308. package/dist/actions/list-all-lists.cjs.map +1 -1
  309. package/dist/actions/list-all-lists.d.cts +45 -3
  310. package/dist/actions/list-all-lists.d.cts.map +1 -1
  311. package/dist/actions/list-all-lists.d.mts +45 -3
  312. package/dist/actions/list-all-lists.d.mts.map +1 -1
  313. package/dist/actions/list-all-lists.mjs +7 -7
  314. package/dist/actions/list-all-lists.mjs.map +1 -1
  315. package/dist/actions/list-all-rate-limits.cjs +3 -3
  316. package/dist/actions/list-all-rate-limits.cjs.map +1 -1
  317. package/dist/actions/list-all-rate-limits.d.cts +36 -3
  318. package/dist/actions/list-all-rate-limits.d.cts.map +1 -1
  319. package/dist/actions/list-all-rate-limits.d.mts +36 -3
  320. package/dist/actions/list-all-rate-limits.d.mts.map +1 -1
  321. package/dist/actions/list-all-rate-limits.mjs +3 -3
  322. package/dist/actions/list-all-rate-limits.mjs.map +1 -1
  323. package/dist/actions/list-all-reports.cjs +12 -12
  324. package/dist/actions/list-all-reports.cjs.map +1 -1
  325. package/dist/actions/list-all-reports.d.cts +65 -3
  326. package/dist/actions/list-all-reports.d.cts.map +1 -1
  327. package/dist/actions/list-all-reports.d.mts +65 -3
  328. package/dist/actions/list-all-reports.d.mts.map +1 -1
  329. package/dist/actions/list-all-reports.mjs +12 -12
  330. package/dist/actions/list-all-reports.mjs.map +1 -1
  331. package/dist/actions/list-all-transactions.cjs +10 -10
  332. package/dist/actions/list-all-transactions.cjs.map +1 -1
  333. package/dist/actions/list-all-transactions.d.cts +55 -3
  334. package/dist/actions/list-all-transactions.d.cts.map +1 -1
  335. package/dist/actions/list-all-transactions.d.mts +55 -3
  336. package/dist/actions/list-all-transactions.d.mts.map +1 -1
  337. package/dist/actions/list-all-transactions.mjs +10 -10
  338. package/dist/actions/list-all-transactions.mjs.map +1 -1
  339. package/dist/actions/list-all-webhooks.cjs +8 -8
  340. package/dist/actions/list-all-webhooks.cjs.map +1 -1
  341. package/dist/actions/list-all-webhooks.d.cts +57 -3
  342. package/dist/actions/list-all-webhooks.d.cts.map +1 -1
  343. package/dist/actions/list-all-webhooks.d.mts +57 -3
  344. package/dist/actions/list-all-webhooks.d.mts.map +1 -1
  345. package/dist/actions/list-all-webhooks.mjs +8 -8
  346. package/dist/actions/list-all-webhooks.mjs.map +1 -1
  347. package/dist/actions/list-all-workflow-runs.cjs +12 -12
  348. package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
  349. package/dist/actions/list-all-workflow-runs.d.cts +65 -3
  350. package/dist/actions/list-all-workflow-runs.d.cts.map +1 -1
  351. package/dist/actions/list-all-workflow-runs.d.mts +65 -3
  352. package/dist/actions/list-all-workflow-runs.d.mts.map +1 -1
  353. package/dist/actions/list-all-workflow-runs.mjs +12 -12
  354. package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
  355. package/dist/actions/redact-an-account.cjs +13 -13
  356. package/dist/actions/redact-an-account.cjs.map +1 -1
  357. package/dist/actions/redact-an-account.d.cts +55 -3
  358. package/dist/actions/redact-an-account.d.cts.map +1 -1
  359. package/dist/actions/redact-an-account.d.mts +55 -3
  360. package/dist/actions/redact-an-account.d.mts.map +1 -1
  361. package/dist/actions/redact-an-account.mjs +13 -13
  362. package/dist/actions/redact-an-account.mjs.map +1 -1
  363. package/dist/actions/remove-account-tag.cjs +9 -9
  364. package/dist/actions/remove-account-tag.cjs.map +1 -1
  365. package/dist/actions/remove-account-tag.d.cts +46 -3
  366. package/dist/actions/remove-account-tag.d.cts.map +1 -1
  367. package/dist/actions/remove-account-tag.d.mts +46 -3
  368. package/dist/actions/remove-account-tag.d.mts.map +1 -1
  369. package/dist/actions/remove-account-tag.mjs +9 -9
  370. package/dist/actions/remove-account-tag.mjs.map +1 -1
  371. package/dist/actions/retrieve-a-country-list-item.cjs +8 -8
  372. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
  373. package/dist/actions/retrieve-a-country-list-item.d.cts +49 -3
  374. package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -1
  375. package/dist/actions/retrieve-a-country-list-item.d.mts +49 -3
  376. package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -1
  377. package/dist/actions/retrieve-a-country-list-item.mjs +8 -8
  378. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
  379. package/dist/actions/retrieve-a-geolocation-list-item.cjs +7 -7
  380. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
  381. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +54 -3
  382. package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -1
  383. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +54 -3
  384. package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -1
  385. package/dist/actions/retrieve-a-geolocation-list-item.mjs +7 -7
  386. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
  387. package/dist/actions/retrieve-a-name-list-item.cjs +5 -5
  388. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
  389. package/dist/actions/retrieve-a-name-list-item.d.cts +50 -3
  390. package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -1
  391. package/dist/actions/retrieve-a-name-list-item.d.mts +50 -3
  392. package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -1
  393. package/dist/actions/retrieve-a-name-list-item.mjs +5 -5
  394. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
  395. package/dist/actions/retrieve-a-string-list-item.cjs +8 -8
  396. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
  397. package/dist/actions/retrieve-a-string-list-item.d.cts +49 -3
  398. package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -1
  399. package/dist/actions/retrieve-a-string-list-item.d.mts +49 -3
  400. package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -1
  401. package/dist/actions/retrieve-a-string-list-item.mjs +8 -8
  402. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
  403. package/dist/actions/retrieve-a-webhook.cjs +10 -10
  404. package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
  405. package/dist/actions/retrieve-a-webhook.d.cts +54 -3
  406. package/dist/actions/retrieve-a-webhook.d.cts.map +1 -1
  407. package/dist/actions/retrieve-a-webhook.d.mts +54 -3
  408. package/dist/actions/retrieve-a-webhook.d.mts.map +1 -1
  409. package/dist/actions/retrieve-a-webhook.mjs +10 -10
  410. package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
  411. package/dist/actions/retrieve-an-account.cjs +13 -13
  412. package/dist/actions/retrieve-an-account.cjs.map +1 -1
  413. package/dist/actions/retrieve-an-account.d.cts +55 -3
  414. package/dist/actions/retrieve-an-account.d.cts.map +1 -1
  415. package/dist/actions/retrieve-an-account.d.mts +55 -3
  416. package/dist/actions/retrieve-an-account.d.mts.map +1 -1
  417. package/dist/actions/retrieve-an-account.mjs +13 -13
  418. package/dist/actions/retrieve-an-account.mjs.map +1 -1
  419. package/dist/actions/retrieve-an-event.cjs +9 -9
  420. package/dist/actions/retrieve-an-event.cjs.map +1 -1
  421. package/dist/actions/retrieve-an-event.d.cts +46 -3
  422. package/dist/actions/retrieve-an-event.d.cts.map +1 -1
  423. package/dist/actions/retrieve-an-event.d.mts +46 -3
  424. package/dist/actions/retrieve-an-event.d.mts.map +1 -1
  425. package/dist/actions/retrieve-an-event.mjs +9 -9
  426. package/dist/actions/retrieve-an-event.mjs.map +1 -1
  427. package/dist/actions/retrieve-an-importer.cjs +5 -5
  428. package/dist/actions/retrieve-an-importer.cjs.map +1 -1
  429. package/dist/actions/retrieve-an-importer.d.cts +44 -3
  430. package/dist/actions/retrieve-an-importer.d.cts.map +1 -1
  431. package/dist/actions/retrieve-an-importer.d.mts +44 -3
  432. package/dist/actions/retrieve-an-importer.d.mts.map +1 -1
  433. package/dist/actions/retrieve-an-importer.mjs +5 -5
  434. package/dist/actions/retrieve-an-importer.mjs.map +1 -1
  435. package/dist/actions/retrieve-an-ip-address-list-item.cjs +5 -5
  436. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
  437. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +49 -3
  438. package/dist/actions/retrieve-an-ip-address-list-item.d.cts.map +1 -1
  439. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +49 -3
  440. package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -1
  441. package/dist/actions/retrieve-an-ip-address-list-item.mjs +5 -5
  442. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
  443. package/dist/actions/retrieve-api-log.cjs +16 -16
  444. package/dist/actions/retrieve-api-log.cjs.map +1 -1
  445. package/dist/actions/retrieve-api-log.d.cts +54 -3
  446. package/dist/actions/retrieve-api-log.d.cts.map +1 -1
  447. package/dist/actions/retrieve-api-log.d.mts +54 -3
  448. package/dist/actions/retrieve-api-log.d.mts.map +1 -1
  449. package/dist/actions/retrieve-api-log.mjs +16 -16
  450. package/dist/actions/retrieve-api-log.mjs.map +1 -1
  451. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +9 -9
  452. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
  453. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +47 -3
  454. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -1
  455. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +47 -3
  456. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -1
  457. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +9 -9
  458. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
  459. package/dist/actions/retrieve-document-generic.cjs +22 -22
  460. package/dist/actions/retrieve-document-generic.cjs.map +1 -1
  461. package/dist/actions/retrieve-document-generic.d.cts +61 -3
  462. package/dist/actions/retrieve-document-generic.d.cts.map +1 -1
  463. package/dist/actions/retrieve-document-generic.d.mts +61 -3
  464. package/dist/actions/retrieve-document-generic.d.mts.map +1 -1
  465. package/dist/actions/retrieve-document-generic.mjs +22 -22
  466. package/dist/actions/retrieve-document-generic.mjs.map +1 -1
  467. package/dist/actions/retrieve-document.cjs +18 -18
  468. package/dist/actions/retrieve-document.cjs.map +1 -1
  469. package/dist/actions/retrieve-document.d.cts +81 -3
  470. package/dist/actions/retrieve-document.d.cts.map +1 -1
  471. package/dist/actions/retrieve-document.d.mts +81 -3
  472. package/dist/actions/retrieve-document.d.mts.map +1 -1
  473. package/dist/actions/retrieve-document.mjs +18 -18
  474. package/dist/actions/retrieve-document.mjs.map +1 -1
  475. package/dist/actions/retrieve-email-address-list-item.cjs +5 -5
  476. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
  477. package/dist/actions/retrieve-email-address-list-item.d.cts +50 -3
  478. package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -1
  479. package/dist/actions/retrieve-email-address-list-item.d.mts +50 -3
  480. package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -1
  481. package/dist/actions/retrieve-email-address-list-item.mjs +5 -5
  482. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
  483. package/dist/actions/retrieve-government-id-number-list-item.cjs +5 -5
  484. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
  485. package/dist/actions/retrieve-government-id-number-list-item.d.cts +50 -3
  486. package/dist/actions/retrieve-government-id-number-list-item.d.cts.map +1 -1
  487. package/dist/actions/retrieve-government-id-number-list-item.d.mts +50 -3
  488. package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -1
  489. package/dist/actions/retrieve-government-id-number-list-item.mjs +5 -5
  490. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
  491. package/dist/actions/retrieve-phone-number-list-item.cjs +11 -11
  492. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
  493. package/dist/actions/retrieve-phone-number-list-item.d.cts +52 -3
  494. package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -1
  495. package/dist/actions/retrieve-phone-number-list-item.d.mts +52 -3
  496. package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -1
  497. package/dist/actions/retrieve-phone-number-list-item.mjs +11 -11
  498. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
  499. package/dist/actions/rotate-webhook-secret.cjs +9 -9
  500. package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
  501. package/dist/actions/rotate-webhook-secret.d.cts +53 -3
  502. package/dist/actions/rotate-webhook-secret.d.cts.map +1 -1
  503. package/dist/actions/rotate-webhook-secret.d.mts +53 -3
  504. package/dist/actions/rotate-webhook-secret.d.mts.map +1 -1
  505. package/dist/actions/rotate-webhook-secret.mjs +9 -9
  506. package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
  507. package/dist/actions/search-accounts.cjs +8 -8
  508. package/dist/actions/search-accounts.cjs.map +1 -1
  509. package/dist/actions/search-accounts.d.cts +71 -3
  510. package/dist/actions/search-accounts.d.cts.map +1 -1
  511. package/dist/actions/search-accounts.d.mts +71 -3
  512. package/dist/actions/search-accounts.d.mts.map +1 -1
  513. package/dist/actions/search-accounts.mjs +8 -8
  514. package/dist/actions/search-accounts.mjs.map +1 -1
  515. package/dist/actions/search-cases.cjs +10 -10
  516. package/dist/actions/search-cases.cjs.map +1 -1
  517. package/dist/actions/search-cases.d.cts +69 -3
  518. package/dist/actions/search-cases.d.cts.map +1 -1
  519. package/dist/actions/search-cases.d.mts +69 -3
  520. package/dist/actions/search-cases.d.mts.map +1 -1
  521. package/dist/actions/search-cases.mjs +10 -10
  522. package/dist/actions/search-cases.mjs.map +1 -1
  523. package/dist/actions/set-tags.cjs +10 -10
  524. package/dist/actions/set-tags.cjs.map +1 -1
  525. package/dist/actions/set-tags.d.cts +52 -3
  526. package/dist/actions/set-tags.d.cts.map +1 -1
  527. package/dist/actions/set-tags.d.mts +52 -3
  528. package/dist/actions/set-tags.d.mts.map +1 -1
  529. package/dist/actions/set-tags.mjs +10 -10
  530. package/dist/actions/set-tags.mjs.map +1 -1
  531. package/dist/actions/update-a-webhook.cjs +10 -10
  532. package/dist/actions/update-a-webhook.cjs.map +1 -1
  533. package/dist/actions/update-a-webhook.d.cts +69 -3
  534. package/dist/actions/update-a-webhook.d.cts.map +1 -1
  535. package/dist/actions/update-a-webhook.d.mts +69 -3
  536. package/dist/actions/update-a-webhook.d.mts.map +1 -1
  537. package/dist/actions/update-a-webhook.mjs +10 -10
  538. package/dist/actions/update-a-webhook.mjs.map +1 -1
  539. package/dist/actions/update-an-account.cjs +14 -14
  540. package/dist/actions/update-an-account.cjs.map +1 -1
  541. package/dist/actions/update-an-account.d.cts +113 -3
  542. package/dist/actions/update-an-account.d.cts.map +1 -1
  543. package/dist/actions/update-an-account.d.mts +113 -3
  544. package/dist/actions/update-an-account.d.mts.map +1 -1
  545. package/dist/actions/update-an-account.mjs +14 -14
  546. package/dist/actions/update-an-account.mjs.map +1 -1
  547. package/dist/actions/update-document-generic.cjs +20 -20
  548. package/dist/actions/update-document-generic.cjs.map +1 -1
  549. package/dist/actions/update-document-generic.d.cts +87 -3
  550. package/dist/actions/update-document-generic.d.cts.map +1 -1
  551. package/dist/actions/update-document-generic.d.mts +87 -3
  552. package/dist/actions/update-document-generic.d.mts.map +1 -1
  553. package/dist/actions/update-document-generic.mjs +20 -20
  554. package/dist/actions/update-document-generic.mjs.map +1 -1
  555. package/dist/catalog.cjs +7 -1
  556. package/dist/catalog.cjs.map +1 -1
  557. package/dist/catalog.d.cts +8 -0
  558. package/dist/catalog.d.mts +8 -0
  559. package/dist/catalog.mjs +7 -1
  560. package/dist/catalog.mjs.map +1 -1
  561. package/package.json +2 -2
@@ -1,9 +1,66 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-accounts.d.ts
4
- declare const PersonaListAllAccountsInput: z.ZodTypeAny;
5
- declare const PersonaListAllAccountsOutput: z.ZodTypeAny;
6
- declare const personaListAllAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaListAllAccountsInput: z.ZodObject<{
5
+ "page.size": z.ZodOptional<z.ZodNumber>;
6
+ "page.after": z.ZodOptional<z.ZodString>;
7
+ "page.before": z.ZodOptional<z.ZodString>;
8
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ "Key-Inflection": z.ZodOptional<z.ZodEnum<{
10
+ camel: "camel";
11
+ kebab: "kebab";
12
+ snake: "snake";
13
+ }>>;
14
+ "Idempotency-Key": z.ZodOptional<z.ZodString>;
15
+ "Persona-Version": z.ZodOptional<z.ZodEnum<{
16
+ "2025-12-08": "2025-12-08";
17
+ "2025-10-27": "2025-10-27";
18
+ "2023-01-05": "2023-01-05";
19
+ "2022-09-01": "2022-09-01";
20
+ "2021-08-18": "2021-08-18";
21
+ "2021-07-05": "2021-07-05";
22
+ "2021-02-21": "2021-02-21";
23
+ "2020-05-18": "2020-05-18";
24
+ }>>;
25
+ "filter.reference-id": z.ZodOptional<z.ZodString>;
26
+ "filter.account-type-id": z.ZodOptional<z.ZodString>;
27
+ }, z.core.$strip>;
28
+ declare const PersonaListAllAccountsOutput: z.ZodObject<{
29
+ data: z.ZodArray<z.ZodObject<{
30
+ id: z.ZodNullable<z.ZodString>;
31
+ type: z.ZodNullable<z.ZodString>;
32
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
34
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
35
+ "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ "redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ "reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ "account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ "account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$loose>>>;
42
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ "account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>>>;
47
+ }, z.core.$loose>>;
48
+ links: z.ZodNullable<z.ZodObject<{
49
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$loose>>;
52
+ }, z.core.$loose>;
53
+ declare const personaListAllAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
54
+ "page.size"?: number | undefined;
55
+ "page.after"?: string | undefined;
56
+ "page.before"?: string | undefined;
57
+ sparse_fields?: Record<string, unknown> | undefined;
58
+ "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
59
+ "Idempotency-Key"?: string | undefined;
60
+ "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;
61
+ "filter.reference-id"?: string | undefined;
62
+ "filter.account-type-id"?: string | undefined;
63
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
64
  //#endregion
8
65
  export { personaListAllAccounts };
9
66
  //# sourceMappingURL=list-all-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-accounts.d.mts","names":[],"sources":["../../src/actions/list-all-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAUqB;AAAA,cA2BpD,4BAAA,EAA8B,CAAA,CAAE,UAGgC;AAAA,cAEhE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-accounts.d.mts","names":[],"sources":["../../src/actions/list-all-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAqC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA;;;;kBAMjC,MAAA"}
@@ -5,7 +5,7 @@ const PersonaListAllAccountsInput = z.object({
5
5
  "page.size": z.number().int().describe("Number of records to return per page.").optional(),
6
6
  "page.after": z.string().describe("Cursor for pagination - retrieves records after this cursor.").optional(),
7
7
  "page.before": z.string().describe("Cursor for pagination - retrieves records before this cursor.").optional(),
8
- sparse_fields: z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
8
+ sparse_fields: z.record(z.string(), z.unknown()).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
9
9
  "Key-Inflection": z.enum([
10
10
  "camel",
11
11
  "kebab",
@@ -27,26 +27,26 @@ const PersonaListAllAccountsInput = z.object({
27
27
  }).describe("Request model for listing all accounts in Persona.");
28
28
  const PersonaListAllAccounts_AccountAttributesSchema = z.object({
29
29
  tags: z.array(z.string()).describe("Tags associated with the account.").nullable().optional(),
30
- fields: z.object({}).describe("Custom fields for the account. This is not key inflected.").nullable().optional(),
30
+ fields: z.record(z.string(), z.unknown()).describe("Custom fields for the account. This is not key inflected.").nullable().optional(),
31
31
  "created-at": z.string().describe("Timestamp when the account was created.").nullable().optional(),
32
32
  "updated-at": z.string().describe("Timestamp when the account was last updated.").nullable().optional(),
33
33
  "redacted-at": z.string().describe("Timestamp when the account was redacted, if applicable.").nullable().optional(),
34
34
  "reference-id": z.string().describe("External reference ID for the account.").nullable().optional(),
35
35
  "account-status": z.string().describe("Status of the account.").nullable().optional(),
36
36
  "account-type-name": z.string().describe("Name of the account type.").nullable().optional()
37
- }).describe("Attributes of an account in the response.");
38
- const PersonaListAllAccounts_RelationshipDataSchema = z.object({ data: z.object({}).describe("Relationship data.").nullable().optional() }).describe("Relationship data structure.");
39
- const PersonaListAllAccounts_AccountRelationshipsSchema = z.object({ "account-type": PersonaListAllAccounts_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
37
+ }).passthrough().describe("Attributes of an account in the response.");
38
+ const PersonaListAllAccounts_RelationshipDataSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
39
+ const PersonaListAllAccounts_AccountRelationshipsSchema = z.object({ "account-type": PersonaListAllAccounts_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
40
40
  const PersonaListAllAccounts_AccountDataSchema = z.object({
41
- id: z.string().describe("Unique identifier for the account."),
42
- type: z.string().describe("Resource type, typically 'account'."),
41
+ id: z.string().describe("Unique identifier for the account.").nullable(),
42
+ type: z.string().describe("Resource type, typically 'account'.").nullable(),
43
43
  attributes: PersonaListAllAccounts_AccountAttributesSchema.nullable().optional(),
44
44
  relationships: PersonaListAllAccounts_AccountRelationshipsSchema.nullable().optional()
45
- }).describe("Account data returned in the response.");
45
+ }).passthrough().describe("Account data returned in the response.");
46
46
  const PersonaListAllAccounts_PaginationLinksSchema = z.object({
47
47
  next: z.string().describe("URL pointing to the next page of data, or null if on the last page.").nullable().optional(),
48
48
  prev: z.string().describe("URL pointing to the previous page of data, or null if on the first page.").nullable().optional()
49
- }).describe("Pagination links for navigating through results.");
49
+ }).passthrough().describe("Pagination links for navigating through results.");
50
50
  const personaListAllAccounts = action("PERSONA_LIST_ALL_ACCOUNTS", {
51
51
  slug: "persona-list-all-accounts",
52
52
  name: "List All Accounts",
@@ -55,7 +55,7 @@ const personaListAllAccounts = action("PERSONA_LIST_ALL_ACCOUNTS", {
55
55
  output: z.object({
56
56
  data: z.array(PersonaListAllAccounts_AccountDataSchema).describe("An array of Account objects."),
57
57
  links: PersonaListAllAccounts_PaginationLinksSchema.nullable()
58
- }).describe("Response model returned after listing all accounts in Persona.")
58
+ }).passthrough().describe("Response model returned after listing all accounts in Persona.")
59
59
  });
60
60
  //#endregion
61
61
  export { personaListAllAccounts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-accounts.mjs","names":[],"sources":["../../src/actions/list-all-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllAccountsInput: z.ZodTypeAny = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 \"filter.reference-id\": z.string().describe(\"Filter accounts by external reference ID.\").optional(),\n \"filter.account-type-id\": z.string().describe(\"Filter accounts by account type ID.\").optional(),\n}).describe(\"Request model for listing all accounts in Persona.\");\nconst PersonaListAllAccounts_AccountAttributesSchema: z.ZodTypeAny = 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.\").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 PersonaListAllAccounts_RelationshipDataSchema: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaListAllAccounts_AccountRelationshipsSchema: z.ZodTypeAny = z.object({\n \"account-type\": PersonaListAllAccounts_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaListAllAccounts_AccountDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the account.\"),\n type: z.string().describe(\"Resource type, typically 'account'.\"),\n attributes: PersonaListAllAccounts_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaListAllAccounts_AccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaListAllAccounts_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllAccountsOutput: z.ZodTypeAny = z.object({\n data: z.array(PersonaListAllAccounts_AccountDataSchema).describe(\"An array of Account objects.\"),\n links: PersonaListAllAccounts_PaginationLinksSchema.nullable(),\n}).describe(\"Response model returned after listing all accounts in Persona.\");\n\nexport const personaListAllAccounts = action(\"PERSONA_LIST_ALL_ACCOUNTS\", {\n slug: \"persona-list-all-accounts\",\n name: \"List All Accounts\",\n description: \"Tool to list all accounts in Persona. Use when you need to retrieve a paginated list of accounts with optional filtering by reference ID or account type.\",\n input: PersonaListAllAccountsInput,\n output: PersonaListAllAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC3I,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;CACrL,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,iDAA+D,EAA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AAS,CAAC,CAAC,SAAS;CAC/E,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B;EAC/F,OAAO,6CAA6C,SAAS;CAC/D,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-accounts.mjs","names":[],"sources":["../../src/actions/list-all-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllAccountsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 \"filter.reference-id\": z.string().describe(\"Filter accounts by external reference ID.\").optional(),\n \"filter.account-type-id\": z.string().describe(\"Filter accounts by account type ID.\").optional(),\n}).describe(\"Request model for listing all accounts in Persona.\");\nconst PersonaListAllAccounts_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.\").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 PersonaListAllAccounts_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaListAllAccounts_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaListAllAccounts_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaListAllAccounts_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: PersonaListAllAccounts_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaListAllAccounts_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaListAllAccounts_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllAccountsOutput = z.object({\n data: z.array(PersonaListAllAccounts_AccountDataSchema).describe(\"An array of Account objects.\"),\n links: PersonaListAllAccounts_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model returned after listing all accounts in Persona.\");\n\nexport const personaListAllAccounts = action(\"PERSONA_LIST_ALL_ACCOUNTS\", {\n slug: \"persona-list-all-accounts\",\n name: \"List All Accounts\",\n description: \"Tool to list all accounts in Persona. Use when you need to retrieve a paginated list of accounts with optional filtering by reference ID or account type.\",\n input: PersonaListAllAccountsInput,\n output: PersonaListAllAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChK,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;CACrL,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,oDAAo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AO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC/E,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B;EAC/F,OAAO,6CAA6C,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const PersonaListAllApiLogsInput = zod.z.object({
5
5
  "page.size": zod.z.number().int().describe("Number of records to return per page.").optional(),
6
6
  "page.after": zod.z.string().describe("Cursor for pagination - retrieves records after this cursor.").optional(),
7
7
  "page.before": zod.z.string().describe("Cursor for pagination - retrieves records before this cursor.").optional(),
8
- sparse_fields: zod.z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
8
+ 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.").optional(),
9
9
  "Key-Inflection": zod.z.enum([
10
10
  "camel",
11
11
  "kebab",
@@ -28,27 +28,27 @@ const PersonaListAllApiLogs_ApiLogAttributesSchema = zod.z.object({
28
28
  "request-id": zod.z.string().describe("Unique identifier for the API request.").nullable().optional(),
29
29
  "duration-ms": zod.z.number().int().describe("Duration of the API request in milliseconds.").nullable().optional(),
30
30
  "request-url": zod.z.string().describe("The URL of the API request.").nullable().optional(),
31
- "request-body": zod.z.object({}).describe("Body of the API request.").nullable().optional(),
32
- "response-body": zod.z.object({}).describe("Body of the API response.").nullable().optional(),
31
+ "request-body": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Body of the API request.").nullable().optional(),
32
+ "response-body": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Body of the API response.").nullable().optional(),
33
33
  "request-method": zod.z.string().describe("The HTTP method of the request (GET, POST, etc.).").nullable().optional(),
34
- "request-headers": zod.z.object({}).describe("Headers sent with the API request.").nullable().optional(),
34
+ "request-headers": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Headers sent with the API request.").nullable().optional(),
35
35
  "response-status": zod.z.number().int().describe("HTTP status code of the API response.").nullable().optional(),
36
- "response-headers": zod.z.object({}).describe("Headers returned in the API response.").nullable().optional()
37
- }).describe("Attributes of an API log in the response.");
36
+ "response-headers": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Headers returned in the API response.").nullable().optional()
37
+ }).passthrough().describe("Attributes of an API log in the response.");
38
38
  const PersonaListAllApiLogs_ApiLogDataSchema = zod.z.object({
39
- id: zod.z.string().describe("Unique identifier for the API log."),
40
- type: zod.z.string().describe("Resource type, typically 'api-log'."),
39
+ id: zod.z.string().describe("Unique identifier for the API log.").nullable(),
40
+ type: zod.z.string().describe("Resource type, typically 'api-log'.").nullable(),
41
41
  attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional()
42
- }).describe("API log data returned in the response.");
42
+ }).passthrough().describe("API log data returned in the response.");
43
43
  const PersonaListAllApiLogs_PaginationLinksSchema = zod.z.object({
44
44
  next: zod.z.string().describe("URL pointing to the next page of data, or null if on the last page.").nullable().optional(),
45
45
  prev: zod.z.string().describe("URL pointing to the previous page of data, or null if on the first page.").nullable().optional()
46
- }).describe("Pagination links for navigating through results.");
46
+ }).passthrough().describe("Pagination links for navigating through results.");
47
47
  const PersonaListAllApiLogsOutput = zod.z.object({
48
48
  data: zod.z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe("An array of API Log objects."),
49
49
  links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),
50
- included: zod.z.array(zod.z.object({})).describe("Related resources included in the response. Excluded by default.").nullable().optional()
51
- }).describe("Response model returned after listing all API logs in Persona.");
50
+ included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Related resources included in the response. Excluded by default.").nullable().optional()
51
+ }).passthrough().describe("Response model returned after listing all API logs in Persona.");
52
52
  const personaListAllApiLogs = require_action.action("PERSONA_LIST_ALL_API_LOGS", {
53
53
  slug: "persona-list-all-api-logs",
54
54
  name: "List All API Logs",
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-api-logs.cjs","names":["z","action"],"sources":["../../src/actions/list-all-api-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllApiLogsInput: z.ZodTypeAny = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 listing all API logs in Persona.\");\nconst PersonaListAllApiLogs_ApiLogAttributesSchema: z.ZodTypeAny = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the API log was created.\").nullable().optional(),\n \"request-id\": z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n \"duration-ms\": z.number().int().describe(\"Duration of the API request in milliseconds.\").nullable().optional(),\n \"request-url\": z.string().describe(\"The URL of the API request.\").nullable().optional(),\n \"request-body\": z.object({}).describe(\"Body of the API request.\").nullable().optional(),\n \"response-body\": z.object({}).describe(\"Body of the API response.\").nullable().optional(),\n \"request-method\": z.string().describe(\"The HTTP method of the request (GET, POST, etc.).\").nullable().optional(),\n \"request-headers\": z.object({}).describe(\"Headers sent with the API request.\").nullable().optional(),\n \"response-status\": z.number().int().describe(\"HTTP status code of the API response.\").nullable().optional(),\n \"response-headers\": z.object({}).describe(\"Headers returned in the API response.\").nullable().optional(),\n}).describe(\"Attributes of an API log in the response.\");\nconst PersonaListAllApiLogs_ApiLogDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the API log.\"),\n type: z.string().describe(\"Resource type, typically 'api-log'.\"),\n attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional(),\n}).describe(\"API log data returned in the response.\");\nconst PersonaListAllApiLogs_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllApiLogsOutput: z.ZodTypeAny = z.object({\n data: z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe(\"An array of API Log objects.\"),\n links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),\n included: z.array(z.object({})).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).describe(\"Response model returned after listing all API logs in Persona.\");\n\nexport const personaListAllApiLogs = action(\"PERSONA_LIST_ALL_API_LOGS\", {\n slug: \"persona-list-all-api-logs\",\n name: \"List All API Logs\",\n description: \"Tool to list all API logs in Persona. Use when you need to retrieve a paginated history of API requests made to your organization, including request details, response status, and timing information.\",\n input: PersonaListAllApiLogsInput,\n output: PersonaListAllApiLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC3I,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,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,C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AAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B;CAC7F,OAAO,4CAA4C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-api-logs.cjs","names":["z","action"],"sources":["../../src/actions/list-all-api-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllApiLogsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 listing all API logs in Persona.\");\nconst PersonaListAllApiLogs_ApiLogAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the API log was created.\").nullable().optional(),\n \"request-id\": z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n \"duration-ms\": z.number().int().describe(\"Duration of the API request in milliseconds.\").nullable().optional(),\n \"request-url\": z.string().describe(\"The URL of the API request.\").nullable().optional(),\n \"request-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API request.\").nullable().optional(),\n \"response-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API response.\").nullable().optional(),\n \"request-method\": z.string().describe(\"The HTTP method of the request (GET, POST, etc.).\").nullable().optional(),\n \"request-headers\": z.record(z.string(), z.unknown()).describe(\"Headers sent with the API request.\").nullable().optional(),\n \"response-status\": z.number().int().describe(\"HTTP status code of the API response.\").nullable().optional(),\n \"response-headers\": z.record(z.string(), z.unknown()).describe(\"Headers returned in the API response.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an API log in the response.\");\nconst PersonaListAllApiLogs_ApiLogDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API log.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'api-log'.\").nullable(),\n attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"API log data returned in the response.\");\nconst PersonaListAllApiLogs_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllApiLogsOutput = z.object({\n data: z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe(\"An array of API Log objects.\"),\n links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after listing all API logs in Persona.\");\n\nexport const personaListAllApiLogs = action(\"PERSONA_LIST_ALL_API_LOGS\", {\n slug: \"persona-list-all-api-logs\",\n name: \"List All API Logs\",\n description: \"Tool to list all API logs in Persona. Use when you need to retrieve a paginated history of API requests made to your organization, including request details, response status, and timing information.\",\n input: PersonaListAllApiLogsInput,\n output: PersonaListAllApiLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChK,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,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,S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CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B;CAC7F,OAAO,4CAA4C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,60 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-api-logs.d.ts
4
- declare const PersonaListAllApiLogsInput: z.ZodTypeAny;
5
- declare const PersonaListAllApiLogsOutput: z.ZodTypeAny;
6
- declare const personaListAllApiLogs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaListAllApiLogsInput: z.ZodObject<{
5
+ "page.size": z.ZodOptional<z.ZodNumber>;
6
+ "page.after": z.ZodOptional<z.ZodString>;
7
+ "page.before": z.ZodOptional<z.ZodString>;
8
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ "Key-Inflection": z.ZodOptional<z.ZodEnum<{
10
+ camel: "camel";
11
+ kebab: "kebab";
12
+ snake: "snake";
13
+ }>>;
14
+ "Idempotency-Key": z.ZodOptional<z.ZodString>;
15
+ "Persona-Version": z.ZodOptional<z.ZodEnum<{
16
+ "2025-12-08": "2025-12-08";
17
+ "2025-10-27": "2025-10-27";
18
+ "2023-01-05": "2023-01-05";
19
+ "2022-09-01": "2022-09-01";
20
+ "2021-08-18": "2021-08-18";
21
+ "2021-07-05": "2021-07-05";
22
+ "2021-02-21": "2021-02-21";
23
+ "2020-05-18": "2020-05-18";
24
+ }>>;
25
+ }, z.core.$strip>;
26
+ declare const PersonaListAllApiLogsOutput: z.ZodObject<{
27
+ data: z.ZodArray<z.ZodObject<{
28
+ id: z.ZodNullable<z.ZodString>;
29
+ type: z.ZodNullable<z.ZodString>;
30
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ "request-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ "duration-ms": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ "request-url": z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ "request-body": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
+ "response-body": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
37
+ "request-method": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ "request-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
+ "response-status": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ "response-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
+ }, z.core.$loose>>>;
42
+ }, z.core.$loose>>;
43
+ links: z.ZodNullable<z.ZodObject<{
44
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, z.core.$loose>>;
47
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
48
+ }, z.core.$loose>;
49
+ declare const personaListAllApiLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
50
+ "page.size"?: number | undefined;
51
+ "page.after"?: string | undefined;
52
+ "page.before"?: string | undefined;
53
+ sparse_fields?: Record<string, unknown> | undefined;
54
+ "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
55
+ "Idempotency-Key"?: string | undefined;
56
+ "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;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
58
  //#endregion
8
59
  export { personaListAllApiLogs };
9
60
  //# sourceMappingURL=list-all-api-logs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-api-logs.d.cts","names":[],"sources":["../../src/actions/list-all-api-logs.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAQsB;AAAA,cAsBpD,2BAAA,EAA6B,CAAA,CAAE,UAIiC;AAAA,cAEhE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-api-logs.d.cts","names":[],"sources":["../../src/actions/list-all-api-logs.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cA8B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA;;;;kBAMhC,MAAA"}
@@ -1,9 +1,60 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-api-logs.d.ts
4
- declare const PersonaListAllApiLogsInput: z.ZodTypeAny;
5
- declare const PersonaListAllApiLogsOutput: z.ZodTypeAny;
6
- declare const personaListAllApiLogs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaListAllApiLogsInput: z.ZodObject<{
5
+ "page.size": z.ZodOptional<z.ZodNumber>;
6
+ "page.after": z.ZodOptional<z.ZodString>;
7
+ "page.before": z.ZodOptional<z.ZodString>;
8
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ "Key-Inflection": z.ZodOptional<z.ZodEnum<{
10
+ camel: "camel";
11
+ kebab: "kebab";
12
+ snake: "snake";
13
+ }>>;
14
+ "Idempotency-Key": z.ZodOptional<z.ZodString>;
15
+ "Persona-Version": z.ZodOptional<z.ZodEnum<{
16
+ "2025-12-08": "2025-12-08";
17
+ "2025-10-27": "2025-10-27";
18
+ "2023-01-05": "2023-01-05";
19
+ "2022-09-01": "2022-09-01";
20
+ "2021-08-18": "2021-08-18";
21
+ "2021-07-05": "2021-07-05";
22
+ "2021-02-21": "2021-02-21";
23
+ "2020-05-18": "2020-05-18";
24
+ }>>;
25
+ }, z.core.$strip>;
26
+ declare const PersonaListAllApiLogsOutput: z.ZodObject<{
27
+ data: z.ZodArray<z.ZodObject<{
28
+ id: z.ZodNullable<z.ZodString>;
29
+ type: z.ZodNullable<z.ZodString>;
30
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ "request-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ "duration-ms": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ "request-url": z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ "request-body": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
+ "response-body": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
37
+ "request-method": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ "request-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
+ "response-status": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ "response-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
+ }, z.core.$loose>>>;
42
+ }, z.core.$loose>>;
43
+ links: z.ZodNullable<z.ZodObject<{
44
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, z.core.$loose>>;
47
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
48
+ }, z.core.$loose>;
49
+ declare const personaListAllApiLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
50
+ "page.size"?: number | undefined;
51
+ "page.after"?: string | undefined;
52
+ "page.before"?: string | undefined;
53
+ sparse_fields?: Record<string, unknown> | undefined;
54
+ "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
55
+ "Idempotency-Key"?: string | undefined;
56
+ "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;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
58
  //#endregion
8
59
  export { personaListAllApiLogs };
9
60
  //# sourceMappingURL=list-all-api-logs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-api-logs.d.mts","names":[],"sources":["../../src/actions/list-all-api-logs.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAQsB;AAAA,cAsBpD,2BAAA,EAA6B,CAAA,CAAE,UAIiC;AAAA,cAEhE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-api-logs.d.mts","names":[],"sources":["../../src/actions/list-all-api-logs.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cA8B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA;;;;kBAMhC,MAAA"}
@@ -5,7 +5,7 @@ const PersonaListAllApiLogsInput = z.object({
5
5
  "page.size": z.number().int().describe("Number of records to return per page.").optional(),
6
6
  "page.after": z.string().describe("Cursor for pagination - retrieves records after this cursor.").optional(),
7
7
  "page.before": z.string().describe("Cursor for pagination - retrieves records before this cursor.").optional(),
8
- sparse_fields: z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
8
+ sparse_fields: z.record(z.string(), z.unknown()).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
9
9
  "Key-Inflection": z.enum([
10
10
  "camel",
11
11
  "kebab",
@@ -28,22 +28,22 @@ const PersonaListAllApiLogs_ApiLogAttributesSchema = z.object({
28
28
  "request-id": z.string().describe("Unique identifier for the API request.").nullable().optional(),
29
29
  "duration-ms": z.number().int().describe("Duration of the API request in milliseconds.").nullable().optional(),
30
30
  "request-url": z.string().describe("The URL of the API request.").nullable().optional(),
31
- "request-body": z.object({}).describe("Body of the API request.").nullable().optional(),
32
- "response-body": z.object({}).describe("Body of the API response.").nullable().optional(),
31
+ "request-body": z.record(z.string(), z.unknown()).describe("Body of the API request.").nullable().optional(),
32
+ "response-body": z.record(z.string(), z.unknown()).describe("Body of the API response.").nullable().optional(),
33
33
  "request-method": z.string().describe("The HTTP method of the request (GET, POST, etc.).").nullable().optional(),
34
- "request-headers": z.object({}).describe("Headers sent with the API request.").nullable().optional(),
34
+ "request-headers": z.record(z.string(), z.unknown()).describe("Headers sent with the API request.").nullable().optional(),
35
35
  "response-status": z.number().int().describe("HTTP status code of the API response.").nullable().optional(),
36
- "response-headers": z.object({}).describe("Headers returned in the API response.").nullable().optional()
37
- }).describe("Attributes of an API log in the response.");
36
+ "response-headers": z.record(z.string(), z.unknown()).describe("Headers returned in the API response.").nullable().optional()
37
+ }).passthrough().describe("Attributes of an API log in the response.");
38
38
  const PersonaListAllApiLogs_ApiLogDataSchema = z.object({
39
- id: z.string().describe("Unique identifier for the API log."),
40
- type: z.string().describe("Resource type, typically 'api-log'."),
39
+ id: z.string().describe("Unique identifier for the API log.").nullable(),
40
+ type: z.string().describe("Resource type, typically 'api-log'.").nullable(),
41
41
  attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional()
42
- }).describe("API log data returned in the response.");
42
+ }).passthrough().describe("API log data returned in the response.");
43
43
  const PersonaListAllApiLogs_PaginationLinksSchema = z.object({
44
44
  next: z.string().describe("URL pointing to the next page of data, or null if on the last page.").nullable().optional(),
45
45
  prev: z.string().describe("URL pointing to the previous page of data, or null if on the first page.").nullable().optional()
46
- }).describe("Pagination links for navigating through results.");
46
+ }).passthrough().describe("Pagination links for navigating through results.");
47
47
  const personaListAllApiLogs = action("PERSONA_LIST_ALL_API_LOGS", {
48
48
  slug: "persona-list-all-api-logs",
49
49
  name: "List All API Logs",
@@ -52,8 +52,8 @@ const personaListAllApiLogs = action("PERSONA_LIST_ALL_API_LOGS", {
52
52
  output: z.object({
53
53
  data: z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe("An array of API Log objects."),
54
54
  links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),
55
- included: z.array(z.object({})).describe("Related resources included in the response. Excluded by default.").nullable().optional()
56
- }).describe("Response model returned after listing all API logs in Persona.")
55
+ included: z.array(z.record(z.string(), z.unknown())).describe("Related resources included in the response. Excluded by default.").nullable().optional()
56
+ }).passthrough().describe("Response model returned after listing all API logs in Persona.")
57
57
  });
58
58
  //#endregion
59
59
  export { personaListAllApiLogs };
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-api-logs.mjs","names":[],"sources":["../../src/actions/list-all-api-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllApiLogsInput: z.ZodTypeAny = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 listing all API logs in Persona.\");\nconst PersonaListAllApiLogs_ApiLogAttributesSchema: z.ZodTypeAny = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the API log was created.\").nullable().optional(),\n \"request-id\": z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n \"duration-ms\": z.number().int().describe(\"Duration of the API request in milliseconds.\").nullable().optional(),\n \"request-url\": z.string().describe(\"The URL of the API request.\").nullable().optional(),\n \"request-body\": z.object({}).describe(\"Body of the API request.\").nullable().optional(),\n \"response-body\": z.object({}).describe(\"Body of the API response.\").nullable().optional(),\n \"request-method\": z.string().describe(\"The HTTP method of the request (GET, POST, etc.).\").nullable().optional(),\n \"request-headers\": z.object({}).describe(\"Headers sent with the API request.\").nullable().optional(),\n \"response-status\": z.number().int().describe(\"HTTP status code of the API response.\").nullable().optional(),\n \"response-headers\": z.object({}).describe(\"Headers returned in the API response.\").nullable().optional(),\n}).describe(\"Attributes of an API log in the response.\");\nconst PersonaListAllApiLogs_ApiLogDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the API log.\"),\n type: z.string().describe(\"Resource type, typically 'api-log'.\"),\n attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional(),\n}).describe(\"API log data returned in the response.\");\nconst PersonaListAllApiLogs_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllApiLogsOutput: z.ZodTypeAny = z.object({\n data: z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe(\"An array of API Log objects.\"),\n links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),\n included: z.array(z.object({})).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).describe(\"Response model returned after listing all API logs in Persona.\");\n\nexport const personaListAllApiLogs = action(\"PERSONA_LIST_ALL_API_LOGS\", {\n slug: \"persona-list-all-api-logs\",\n name: \"List All API Logs\",\n description: \"Tool to list all API logs in Persona. Use when you need to retrieve a paginated history of API requests made to your organization, including request details, response status, and timing information.\",\n input: PersonaListAllApiLogsInput,\n output: PersonaListAllApiLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,aAAa,EAAE,OAAO,CAAC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S,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-api-logs.mjs","names":[],"sources":["../../src/actions/list-all-api-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllApiLogsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 listing all API logs in Persona.\");\nconst PersonaListAllApiLogs_ApiLogAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the API log was created.\").nullable().optional(),\n \"request-id\": z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n \"duration-ms\": z.number().int().describe(\"Duration of the API request in milliseconds.\").nullable().optional(),\n \"request-url\": z.string().describe(\"The URL of the API request.\").nullable().optional(),\n \"request-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API request.\").nullable().optional(),\n \"response-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API response.\").nullable().optional(),\n \"request-method\": z.string().describe(\"The HTTP method of the request (GET, POST, etc.).\").nullable().optional(),\n \"request-headers\": z.record(z.string(), z.unknown()).describe(\"Headers sent with the API request.\").nullable().optional(),\n \"response-status\": z.number().int().describe(\"HTTP status code of the API response.\").nullable().optional(),\n \"response-headers\": z.record(z.string(), z.unknown()).describe(\"Headers returned in the API response.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an API log in the response.\");\nconst PersonaListAllApiLogs_ApiLogDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API log.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'api-log'.\").nullable(),\n attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"API log data returned in the response.\");\nconst PersonaListAllApiLogs_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllApiLogsOutput = z.object({\n data: z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe(\"An array of API Log objects.\"),\n links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after listing all API logs in Persona.\");\n\nexport const personaListAllApiLogs = action(\"PERSONA_LIST_ALL_API_LOGS\", {\n slug: \"persona-list-all-api-logs\",\n name: \"List All API Logs\",\n description: \"Tool to list all API logs in Persona. Use when you need to retrieve a paginated history of API requests made to your organization, including request details, response status, and timing information.\",\n input: PersonaListAllApiLogsInput,\n output: PersonaListAllApiLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,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,gEAOhB;AACV,CAAC"}
@@ -34,32 +34,32 @@ const PersonaListAllCases_CaseAttributesSchema = zod.z.object({
34
34
  resolution: zod.z.string().describe("Resolution status of the case.").nullable().optional(),
35
35
  "updated-at": zod.z.string().describe("ISO 8601 timestamp when the case was last updated.").nullable().optional(),
36
36
  "assignee-id": zod.z.string().describe("ID of the user assigned to the case.").nullable().optional()
37
- }).describe("Attributes of a case object.");
37
+ }).passthrough().describe("Attributes of a case object.");
38
38
  const PersonaListAllCases_CaseRelationshipsSchema = zod.z.object({
39
- account: zod.z.object({}).describe("Relationship to the associated account.").nullable().optional(),
40
- inquiry: zod.z.object({}).describe("Relationship to the associated inquiry.").nullable().optional()
41
- }).describe("Relationships of a case object.");
39
+ account: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship to the associated account.").nullable().optional(),
40
+ inquiry: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship to the associated inquiry.").nullable().optional()
41
+ }).passthrough().describe("Relationships of a case object.");
42
42
  const PersonaListAllCases_CaseDataSchema = zod.z.object({
43
- id: zod.z.string().describe("Unique identifier for the case."),
44
- type: zod.z.string().describe("Resource type, typically 'case'."),
43
+ id: zod.z.string().describe("Unique identifier for the case.").nullable(),
44
+ type: zod.z.string().describe("Resource type, typically 'case'.").nullable(),
45
45
  attributes: PersonaListAllCases_CaseAttributesSchema.nullable().optional(),
46
46
  relationships: PersonaListAllCases_CaseRelationshipsSchema.nullable().optional()
47
- }).describe("Case data object returned by Persona API.");
47
+ }).passthrough().describe("Case data object returned by Persona API.");
48
48
  const PersonaListAllCases_PaginationLinksSchema = zod.z.object({
49
49
  next: zod.z.string().describe("URL for the next page of results, or null if on the last page.").nullable().optional(),
50
50
  prev: zod.z.string().describe("URL for the previous page of results, or null if on the first page.").nullable().optional()
51
- }).describe("Pagination links for navigating the result set.");
51
+ }).passthrough().describe("Pagination links for navigating the result set.");
52
52
  const PersonaListAllCases_IncludedResourceSchema = zod.z.object({
53
- id: zod.z.string().describe("Unique identifier for the included resource."),
54
- type: zod.z.string().describe("Resource type."),
55
- attributes: zod.z.object({}).describe("Attributes of the included resource.").nullable().optional(),
56
- relationships: zod.z.object({}).describe("Relationships of the included resource.").nullable().optional()
57
- }).describe("Included resources in the response.");
53
+ id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
54
+ type: zod.z.string().describe("Resource type.").nullable(),
55
+ attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the included resource.").nullable().optional(),
56
+ relationships: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationships of the included resource.").nullable().optional()
57
+ }).passthrough().describe("Included resources in the response.");
58
58
  const PersonaListAllCasesOutput = zod.z.object({
59
59
  data: zod.z.array(PersonaListAllCases_CaseDataSchema).describe("An array of case objects."),
60
60
  links: PersonaListAllCases_PaginationLinksSchema.nullable(),
61
61
  included: zod.z.array(PersonaListAllCases_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
62
- }).describe("Response model for listing all cases in Persona.");
62
+ }).passthrough().describe("Response model for listing all cases in Persona.");
63
63
  const personaListAllCases = require_action.action("PERSONA_LIST_ALL_CASES", {
64
64
  slug: "persona-list-all-cases",
65
65
  name: "List All Cases",
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-cases.cjs","names":["z","action"],"sources":["../../src/actions/list-all-cases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllCasesInput: z.ZodTypeAny = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination. Fetch records after this cursor.\").optional(),\n \"fields.case\": z.string().describe(\"Comma-separated list of attributes to include for case resources.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination. Fetch records before this cursor.\").optional(),\n \"filter.status\": z.string().describe(\"Filter cases by status (e.g., 'open', 'closed').\").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 \"filter.created-at-end\": z.string().describe(\"Filter cases created on or before this timestamp (ISO 8601 format).\").optional(),\n \"filter.created-at-start\": z.string().describe(\"Filter cases created on or after this timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all cases in Persona.\");\nconst PersonaListAllCases_CaseAttributesSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name or title of the case.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the case.\").nullable().optional(),\n status: z.string().describe(\"Current status of the case.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the case was created.\").nullable().optional(),\n resolution: z.string().describe(\"Resolution status of the case.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the case was last updated.\").nullable().optional(),\n \"assignee-id\": z.string().describe(\"ID of the user assigned to the case.\").nullable().optional(),\n}).describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema: z.ZodTypeAny = z.object({\n account: z.object({}).describe(\"Relationship to the associated account.\").nullable().optional(),\n inquiry: z.object({}).describe(\"Relationship to the associated inquiry.\").nullable().optional(),\n}).describe(\"Relationships of a case object.\");\nconst PersonaListAllCases_CaseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the case.\"),\n type: z.string().describe(\"Resource type, typically 'case'.\"),\n attributes: PersonaListAllCases_CaseAttributesSchema.nullable().optional(),\n relationships: PersonaListAllCases_CaseRelationshipsSchema.nullable().optional(),\n}).describe(\"Case data object returned by Persona API.\");\nconst PersonaListAllCases_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL for the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results, or null if on the first page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating the result set.\");\nconst PersonaListAllCases_IncludedResourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\"),\n type: z.string().describe(\"Resource type.\"),\n attributes: z.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n relationships: z.object({}).describe(\"Relationships of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaListAllCasesOutput: z.ZodTypeAny = z.object({\n data: z.array(PersonaListAllCases_CaseDataSchema).describe(\"An array of case objects.\"),\n links: PersonaListAllCases_PaginationLinksSchema.nullable(),\n included: z.array(PersonaListAllCases_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model for listing all cases in Persona.\");\n\nexport const personaListAllCases = action(\"PERSONA_LIST_ALL_CASES\", {\n slug: \"persona-list-all-cases\",\n name: \"List All Cases\",\n description: \"Tool to list all cases in Persona. Use when you need to retrieve a collection of cases with optional filtering and pagination.\",\n input: PersonaListAllCasesInput,\n output: PersonaListAllCasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAA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AAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;CACtF,OAAO,0CAA0C,SAAS;CAC1D,UAAUA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-cases.cjs","names":["z","action"],"sources":["../../src/actions/list-all-cases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllCasesInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination. Fetch records after this cursor.\").optional(),\n \"fields.case\": z.string().describe(\"Comma-separated list of attributes to include for case resources.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination. Fetch records before this cursor.\").optional(),\n \"filter.status\": z.string().describe(\"Filter cases by status (e.g., 'open', 'closed').\").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 \"filter.created-at-end\": z.string().describe(\"Filter cases created on or before this timestamp (ISO 8601 format).\").optional(),\n \"filter.created-at-start\": z.string().describe(\"Filter cases created on or after this timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all cases in Persona.\");\nconst PersonaListAllCases_CaseAttributesSchema = z.object({\n name: z.string().describe(\"Name or title of the case.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the case.\").nullable().optional(),\n status: z.string().describe(\"Current status of the case.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the case was created.\").nullable().optional(),\n resolution: z.string().describe(\"Resolution status of the case.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the case was last updated.\").nullable().optional(),\n \"assignee-id\": z.string().describe(\"ID of the user assigned to the case.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated inquiry.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a case object.\");\nconst PersonaListAllCases_CaseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the case.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'case'.\").nullable(),\n attributes: PersonaListAllCases_CaseAttributesSchema.nullable().optional(),\n relationships: PersonaListAllCases_CaseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Case data object returned by Persona API.\");\nconst PersonaListAllCases_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating the result set.\");\nconst PersonaListAllCases_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 relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaListAllCasesOutput = z.object({\n data: z.array(PersonaListAllCases_CaseDataSchema).describe(\"An array of case objects.\"),\n links: PersonaListAllCases_PaginationLinksSchema.nullable(),\n included: z.array(PersonaListAllCases_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all cases in Persona.\");\n\nexport const personaListAllCases = action(\"PERSONA_LIST_ALL_CASES\", {\n slug: \"persona-list-all-cases\",\n name: \"List All Cases\",\n description: \"Tool to list all cases in Persona. Use when you need to retrieve a collection of cases with optional filtering and pagination.\",\n input: PersonaListAllCasesInput,\n output: PersonaListAllCasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,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;CACrL,yBAAyBA,IAAAA,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