@keystrokehq/persona 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/dist/actions/add-tag-to-account.cjs +6 -6
  2. package/dist/actions/add-tag-to-account.cjs.map +1 -1
  3. package/dist/actions/add-tag-to-account.d.cts +6 -6
  4. package/dist/actions/add-tag-to-account.d.mts +6 -6
  5. package/dist/actions/add-tag-to-account.mjs +6 -6
  6. package/dist/actions/add-tag-to-account.mjs.map +1 -1
  7. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +3 -3
  8. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
  9. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +3 -3
  10. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +3 -3
  11. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +3 -3
  12. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
  13. package/dist/actions/archive-a-country-list-item.cjs +5 -5
  14. package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
  15. package/dist/actions/archive-a-country-list-item.d.cts +6 -6
  16. package/dist/actions/archive-a-country-list-item.d.mts +6 -6
  17. package/dist/actions/archive-a-country-list-item.mjs +5 -5
  18. package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
  19. package/dist/actions/archive-a-geolocation-list-item.cjs +6 -6
  20. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
  21. package/dist/actions/archive-a-geolocation-list-item.d.cts +6 -6
  22. package/dist/actions/archive-a-geolocation-list-item.d.mts +6 -6
  23. package/dist/actions/archive-a-geolocation-list-item.mjs +6 -6
  24. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
  25. package/dist/actions/archive-a-government-id-number-list-item.cjs +4 -4
  26. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
  27. package/dist/actions/archive-a-government-id-number-list-item.d.cts +4 -4
  28. package/dist/actions/archive-a-government-id-number-list-item.d.mts +4 -4
  29. package/dist/actions/archive-a-government-id-number-list-item.mjs +4 -4
  30. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
  31. package/dist/actions/archive-a-name-list-item.cjs +6 -6
  32. package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
  33. package/dist/actions/archive-a-name-list-item.d.cts +6 -6
  34. package/dist/actions/archive-a-name-list-item.d.mts +6 -6
  35. package/dist/actions/archive-a-name-list-item.mjs +6 -6
  36. package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
  37. package/dist/actions/archive-a-webhook.cjs +6 -6
  38. package/dist/actions/archive-a-webhook.cjs.map +1 -1
  39. package/dist/actions/archive-a-webhook.d.cts +7 -7
  40. package/dist/actions/archive-a-webhook.d.mts +7 -7
  41. package/dist/actions/archive-a-webhook.mjs +6 -6
  42. package/dist/actions/archive-a-webhook.mjs.map +1 -1
  43. package/dist/actions/archive-email-address-list-item.cjs +5 -5
  44. package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
  45. package/dist/actions/archive-email-address-list-item.d.cts +5 -5
  46. package/dist/actions/archive-email-address-list-item.d.mts +5 -5
  47. package/dist/actions/archive-email-address-list-item.mjs +5 -5
  48. package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
  49. package/dist/actions/archive-ip-address-list-item.cjs +4 -4
  50. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
  51. package/dist/actions/archive-ip-address-list-item.d.cts +4 -4
  52. package/dist/actions/archive-ip-address-list-item.d.mts +4 -4
  53. package/dist/actions/archive-ip-address-list-item.mjs +4 -4
  54. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
  55. package/dist/actions/archive-phone-number-list-item.cjs +3 -3
  56. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
  57. package/dist/actions/archive-phone-number-list-item.d.cts +3 -3
  58. package/dist/actions/archive-phone-number-list-item.d.mts +3 -3
  59. package/dist/actions/archive-phone-number-list-item.mjs +3 -3
  60. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
  61. package/dist/actions/archive-string-list-item.cjs +5 -5
  62. package/dist/actions/archive-string-list-item.cjs.map +1 -1
  63. package/dist/actions/archive-string-list-item.d.cts +6 -6
  64. package/dist/actions/archive-string-list-item.d.mts +6 -6
  65. package/dist/actions/archive-string-list-item.mjs +5 -5
  66. package/dist/actions/archive-string-list-item.mjs.map +1 -1
  67. package/dist/actions/clone-webhook.cjs +4 -4
  68. package/dist/actions/clone-webhook.cjs.map +1 -1
  69. package/dist/actions/clone-webhook.d.cts +4 -4
  70. package/dist/actions/clone-webhook.d.mts +4 -4
  71. package/dist/actions/clone-webhook.mjs +4 -4
  72. package/dist/actions/clone-webhook.mjs.map +1 -1
  73. package/dist/actions/consolidate-into-account.cjs +2 -2
  74. package/dist/actions/consolidate-into-account.cjs.map +1 -1
  75. package/dist/actions/consolidate-into-account.d.cts +2 -2
  76. package/dist/actions/consolidate-into-account.d.mts +2 -2
  77. package/dist/actions/consolidate-into-account.mjs +2 -2
  78. package/dist/actions/consolidate-into-account.mjs.map +1 -1
  79. package/dist/actions/create-an-account.cjs +12 -12
  80. package/dist/actions/create-an-account.cjs.map +1 -1
  81. package/dist/actions/create-an-account.d.cts +16 -16
  82. package/dist/actions/create-an-account.d.mts +16 -16
  83. package/dist/actions/create-an-account.mjs +12 -12
  84. package/dist/actions/create-an-account.mjs.map +1 -1
  85. package/dist/actions/create-an-ip-address-list-item.cjs +6 -6
  86. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
  87. package/dist/actions/create-an-ip-address-list-item.d.cts +6 -6
  88. package/dist/actions/create-an-ip-address-list-item.d.mts +6 -6
  89. package/dist/actions/create-an-ip-address-list-item.mjs +6 -6
  90. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
  91. package/dist/actions/create-country-list-item.cjs +6 -6
  92. package/dist/actions/create-country-list-item.cjs.map +1 -1
  93. package/dist/actions/create-country-list-item.d.cts +6 -6
  94. package/dist/actions/create-country-list-item.d.mts +6 -6
  95. package/dist/actions/create-country-list-item.mjs +6 -6
  96. package/dist/actions/create-country-list-item.mjs.map +1 -1
  97. package/dist/actions/create-document-generic.cjs +5 -5
  98. package/dist/actions/create-document-generic.cjs.map +1 -1
  99. package/dist/actions/create-document-generic.d.cts +5 -5
  100. package/dist/actions/create-document-generic.d.mts +5 -5
  101. package/dist/actions/create-document-generic.mjs +5 -5
  102. package/dist/actions/create-document-generic.mjs.map +1 -1
  103. package/dist/actions/create-email-address-list-item.cjs +4 -4
  104. package/dist/actions/create-email-address-list-item.cjs.map +1 -1
  105. package/dist/actions/create-email-address-list-item.d.cts +4 -4
  106. package/dist/actions/create-email-address-list-item.d.mts +4 -4
  107. package/dist/actions/create-email-address-list-item.mjs +4 -4
  108. package/dist/actions/create-email-address-list-item.mjs.map +1 -1
  109. package/dist/actions/create-government-id-number-list-item.cjs +6 -6
  110. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
  111. package/dist/actions/create-government-id-number-list-item.d.cts +6 -6
  112. package/dist/actions/create-government-id-number-list-item.d.mts +6 -6
  113. package/dist/actions/create-government-id-number-list-item.mjs +6 -6
  114. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
  115. package/dist/actions/create-name-list-item.cjs +5 -5
  116. package/dist/actions/create-name-list-item.cjs.map +1 -1
  117. package/dist/actions/create-name-list-item.d.cts +5 -5
  118. package/dist/actions/create-name-list-item.d.mts +5 -5
  119. package/dist/actions/create-name-list-item.mjs +5 -5
  120. package/dist/actions/create-name-list-item.mjs.map +1 -1
  121. package/dist/actions/create-phone-number-list-item.cjs +5 -5
  122. package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
  123. package/dist/actions/create-phone-number-list-item.d.cts +5 -5
  124. package/dist/actions/create-phone-number-list-item.d.mts +5 -5
  125. package/dist/actions/create-phone-number-list-item.mjs +5 -5
  126. package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
  127. package/dist/actions/create-string-list-item.cjs +6 -6
  128. package/dist/actions/create-string-list-item.cjs.map +1 -1
  129. package/dist/actions/create-string-list-item.d.cts +6 -6
  130. package/dist/actions/create-string-list-item.d.mts +6 -6
  131. package/dist/actions/create-string-list-item.mjs +6 -6
  132. package/dist/actions/create-string-list-item.mjs.map +1 -1
  133. package/dist/actions/create-webhook.cjs +5 -5
  134. package/dist/actions/create-webhook.cjs.map +1 -1
  135. package/dist/actions/create-webhook.d.cts +6 -6
  136. package/dist/actions/create-webhook.d.mts +6 -6
  137. package/dist/actions/create-webhook.mjs +5 -5
  138. package/dist/actions/create-webhook.mjs.map +1 -1
  139. package/dist/actions/disable-webhook.cjs +6 -6
  140. package/dist/actions/disable-webhook.cjs.map +1 -1
  141. package/dist/actions/disable-webhook.d.cts +7 -7
  142. package/dist/actions/disable-webhook.d.mts +7 -7
  143. package/dist/actions/disable-webhook.mjs +6 -6
  144. package/dist/actions/disable-webhook.mjs.map +1 -1
  145. package/dist/actions/enable-webhook.cjs +5 -5
  146. package/dist/actions/enable-webhook.cjs.map +1 -1
  147. package/dist/actions/enable-webhook.d.cts +5 -5
  148. package/dist/actions/enable-webhook.d.mts +5 -5
  149. package/dist/actions/enable-webhook.mjs +5 -5
  150. package/dist/actions/enable-webhook.mjs.map +1 -1
  151. package/dist/actions/expire-inquiry-sessions.cjs +8 -8
  152. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
  153. package/dist/actions/expire-inquiry-sessions.d.cts +10 -10
  154. package/dist/actions/expire-inquiry-sessions.d.mts +10 -10
  155. package/dist/actions/expire-inquiry-sessions.mjs +8 -8
  156. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
  157. package/dist/actions/import-email-address-lists.cjs +3 -3
  158. package/dist/actions/import-email-address-lists.cjs.map +1 -1
  159. package/dist/actions/import-email-address-lists.d.cts +3 -3
  160. package/dist/actions/import-email-address-lists.d.mts +3 -3
  161. package/dist/actions/import-email-address-lists.mjs +3 -3
  162. package/dist/actions/import-email-address-lists.mjs.map +1 -1
  163. package/dist/actions/import-ip-address-lists.cjs +3 -3
  164. package/dist/actions/import-ip-address-lists.cjs.map +1 -1
  165. package/dist/actions/import-ip-address-lists.d.cts +3 -3
  166. package/dist/actions/import-ip-address-lists.d.mts +3 -3
  167. package/dist/actions/import-ip-address-lists.mjs +3 -3
  168. package/dist/actions/import-ip-address-lists.mjs.map +1 -1
  169. package/dist/actions/import-name-lists.cjs +3 -3
  170. package/dist/actions/import-name-lists.cjs.map +1 -1
  171. package/dist/actions/import-name-lists.d.cts +3 -3
  172. package/dist/actions/import-name-lists.d.mts +3 -3
  173. package/dist/actions/import-name-lists.mjs +3 -3
  174. package/dist/actions/import-name-lists.mjs.map +1 -1
  175. package/dist/actions/import-phone-number-lists.cjs +3 -3
  176. package/dist/actions/import-phone-number-lists.cjs.map +1 -1
  177. package/dist/actions/import-phone-number-lists.d.cts +3 -3
  178. package/dist/actions/import-phone-number-lists.d.mts +3 -3
  179. package/dist/actions/import-phone-number-lists.mjs +3 -3
  180. package/dist/actions/import-phone-number-lists.mjs.map +1 -1
  181. package/dist/actions/list-all-accounts.cjs +8 -8
  182. package/dist/actions/list-all-accounts.cjs.map +1 -1
  183. package/dist/actions/list-all-accounts.d.cts +10 -10
  184. package/dist/actions/list-all-accounts.d.mts +10 -10
  185. package/dist/actions/list-all-accounts.mjs +8 -8
  186. package/dist/actions/list-all-accounts.mjs.map +1 -1
  187. package/dist/actions/list-all-api-logs.cjs +10 -10
  188. package/dist/actions/list-all-api-logs.cjs.map +1 -1
  189. package/dist/actions/list-all-api-logs.d.cts +11 -11
  190. package/dist/actions/list-all-api-logs.d.mts +11 -11
  191. package/dist/actions/list-all-api-logs.mjs +10 -10
  192. package/dist/actions/list-all-api-logs.mjs.map +1 -1
  193. package/dist/actions/list-all-cases.cjs +10 -10
  194. package/dist/actions/list-all-cases.cjs.map +1 -1
  195. package/dist/actions/list-all-cases.d.cts +10 -10
  196. package/dist/actions/list-all-cases.d.mts +10 -10
  197. package/dist/actions/list-all-cases.mjs +10 -10
  198. package/dist/actions/list-all-cases.mjs.map +1 -1
  199. package/dist/actions/list-all-devices.cjs +5 -5
  200. package/dist/actions/list-all-devices.cjs.map +1 -1
  201. package/dist/actions/list-all-devices.d.cts +5 -5
  202. package/dist/actions/list-all-devices.d.mts +5 -5
  203. package/dist/actions/list-all-devices.mjs +5 -5
  204. package/dist/actions/list-all-devices.mjs.map +1 -1
  205. package/dist/actions/list-all-events.cjs +4 -4
  206. package/dist/actions/list-all-events.cjs.map +1 -1
  207. package/dist/actions/list-all-events.d.cts +4 -4
  208. package/dist/actions/list-all-events.d.mts +4 -4
  209. package/dist/actions/list-all-events.mjs +4 -4
  210. package/dist/actions/list-all-events.mjs.map +1 -1
  211. package/dist/actions/list-all-importers.cjs +6 -6
  212. package/dist/actions/list-all-importers.cjs.map +1 -1
  213. package/dist/actions/list-all-importers.d.cts +7 -7
  214. package/dist/actions/list-all-importers.d.mts +7 -7
  215. package/dist/actions/list-all-importers.mjs +6 -6
  216. package/dist/actions/list-all-importers.mjs.map +1 -1
  217. package/dist/actions/list-all-inquiries.cjs +9 -9
  218. package/dist/actions/list-all-inquiries.cjs.map +1 -1
  219. package/dist/actions/list-all-inquiries.d.cts +9 -9
  220. package/dist/actions/list-all-inquiries.d.mts +9 -9
  221. package/dist/actions/list-all-inquiries.mjs +9 -9
  222. package/dist/actions/list-all-inquiries.mjs.map +1 -1
  223. package/dist/actions/list-all-inquiry-sessions.cjs +9 -9
  224. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
  225. package/dist/actions/list-all-inquiry-sessions.d.cts +11 -11
  226. package/dist/actions/list-all-inquiry-sessions.d.mts +11 -11
  227. package/dist/actions/list-all-inquiry-sessions.mjs +9 -9
  228. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
  229. package/dist/actions/list-all-lists.cjs +7 -7
  230. package/dist/actions/list-all-lists.cjs.map +1 -1
  231. package/dist/actions/list-all-lists.d.cts +9 -9
  232. package/dist/actions/list-all-lists.d.mts +9 -9
  233. package/dist/actions/list-all-lists.mjs +7 -7
  234. package/dist/actions/list-all-lists.mjs.map +1 -1
  235. package/dist/actions/list-all-rate-limits.cjs +3 -3
  236. package/dist/actions/list-all-rate-limits.cjs.map +1 -1
  237. package/dist/actions/list-all-rate-limits.d.cts +3 -3
  238. package/dist/actions/list-all-rate-limits.d.mts +3 -3
  239. package/dist/actions/list-all-rate-limits.mjs +3 -3
  240. package/dist/actions/list-all-rate-limits.mjs.map +1 -1
  241. package/dist/actions/list-all-reports.cjs +10 -10
  242. package/dist/actions/list-all-reports.cjs.map +1 -1
  243. package/dist/actions/list-all-reports.d.cts +10 -10
  244. package/dist/actions/list-all-reports.d.mts +10 -10
  245. package/dist/actions/list-all-reports.mjs +10 -10
  246. package/dist/actions/list-all-reports.mjs.map +1 -1
  247. package/dist/actions/list-all-transactions.cjs +8 -8
  248. package/dist/actions/list-all-transactions.cjs.map +1 -1
  249. package/dist/actions/list-all-transactions.d.cts +8 -8
  250. package/dist/actions/list-all-transactions.d.mts +8 -8
  251. package/dist/actions/list-all-transactions.mjs +8 -8
  252. package/dist/actions/list-all-transactions.mjs.map +1 -1
  253. package/dist/actions/list-all-webhooks.cjs +6 -6
  254. package/dist/actions/list-all-webhooks.cjs.map +1 -1
  255. package/dist/actions/list-all-webhooks.d.cts +6 -6
  256. package/dist/actions/list-all-webhooks.d.mts +6 -6
  257. package/dist/actions/list-all-webhooks.mjs +6 -6
  258. package/dist/actions/list-all-webhooks.mjs.map +1 -1
  259. package/dist/actions/list-all-workflow-runs.cjs +10 -10
  260. package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
  261. package/dist/actions/list-all-workflow-runs.d.cts +10 -10
  262. package/dist/actions/list-all-workflow-runs.d.mts +10 -10
  263. package/dist/actions/list-all-workflow-runs.mjs +10 -10
  264. package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
  265. package/dist/actions/redact-an-account.cjs +9 -9
  266. package/dist/actions/redact-an-account.cjs.map +1 -1
  267. package/dist/actions/redact-an-account.d.cts +11 -11
  268. package/dist/actions/redact-an-account.d.mts +11 -11
  269. package/dist/actions/redact-an-account.mjs +9 -9
  270. package/dist/actions/redact-an-account.mjs.map +1 -1
  271. package/dist/actions/remove-account-tag.cjs +5 -5
  272. package/dist/actions/remove-account-tag.cjs.map +1 -1
  273. package/dist/actions/remove-account-tag.d.cts +5 -5
  274. package/dist/actions/remove-account-tag.d.mts +5 -5
  275. package/dist/actions/remove-account-tag.mjs +5 -5
  276. package/dist/actions/remove-account-tag.mjs.map +1 -1
  277. package/dist/actions/retrieve-a-country-list-item.cjs +6 -6
  278. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
  279. package/dist/actions/retrieve-a-country-list-item.d.cts +8 -8
  280. package/dist/actions/retrieve-a-country-list-item.d.mts +8 -8
  281. package/dist/actions/retrieve-a-country-list-item.mjs +6 -6
  282. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
  283. package/dist/actions/retrieve-a-geolocation-list-item.cjs +7 -7
  284. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
  285. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +8 -8
  286. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +8 -8
  287. package/dist/actions/retrieve-a-geolocation-list-item.mjs +7 -7
  288. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
  289. package/dist/actions/retrieve-a-name-list-item.cjs +5 -5
  290. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
  291. package/dist/actions/retrieve-a-name-list-item.d.cts +6 -6
  292. package/dist/actions/retrieve-a-name-list-item.d.mts +6 -6
  293. package/dist/actions/retrieve-a-name-list-item.mjs +5 -5
  294. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
  295. package/dist/actions/retrieve-a-string-list-item.cjs +6 -6
  296. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
  297. package/dist/actions/retrieve-a-string-list-item.d.cts +8 -8
  298. package/dist/actions/retrieve-a-string-list-item.d.mts +8 -8
  299. package/dist/actions/retrieve-a-string-list-item.mjs +6 -6
  300. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
  301. package/dist/actions/retrieve-a-webhook.cjs +7 -7
  302. package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
  303. package/dist/actions/retrieve-a-webhook.d.cts +8 -8
  304. package/dist/actions/retrieve-a-webhook.d.mts +8 -8
  305. package/dist/actions/retrieve-a-webhook.mjs +7 -7
  306. package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
  307. package/dist/actions/retrieve-an-account.cjs +9 -9
  308. package/dist/actions/retrieve-an-account.cjs.map +1 -1
  309. package/dist/actions/retrieve-an-account.d.cts +11 -11
  310. package/dist/actions/retrieve-an-account.d.mts +11 -11
  311. package/dist/actions/retrieve-an-account.mjs +9 -9
  312. package/dist/actions/retrieve-an-account.mjs.map +1 -1
  313. package/dist/actions/retrieve-an-event.cjs +5 -5
  314. package/dist/actions/retrieve-an-event.cjs.map +1 -1
  315. package/dist/actions/retrieve-an-event.d.cts +6 -6
  316. package/dist/actions/retrieve-an-event.d.mts +6 -6
  317. package/dist/actions/retrieve-an-event.mjs +5 -5
  318. package/dist/actions/retrieve-an-event.mjs.map +1 -1
  319. package/dist/actions/retrieve-an-importer.cjs +5 -5
  320. package/dist/actions/retrieve-an-importer.cjs.map +1 -1
  321. package/dist/actions/retrieve-an-importer.d.cts +6 -6
  322. package/dist/actions/retrieve-an-importer.d.mts +6 -6
  323. package/dist/actions/retrieve-an-importer.mjs +5 -5
  324. package/dist/actions/retrieve-an-importer.mjs.map +1 -1
  325. package/dist/actions/retrieve-an-ip-address-list-item.cjs +5 -5
  326. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
  327. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +6 -6
  328. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +6 -6
  329. package/dist/actions/retrieve-an-ip-address-list-item.mjs +5 -5
  330. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
  331. package/dist/actions/retrieve-api-log.cjs +12 -12
  332. package/dist/actions/retrieve-api-log.cjs.map +1 -1
  333. package/dist/actions/retrieve-api-log.d.cts +13 -13
  334. package/dist/actions/retrieve-api-log.d.mts +13 -13
  335. package/dist/actions/retrieve-api-log.mjs +12 -12
  336. package/dist/actions/retrieve-api-log.mjs.map +1 -1
  337. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +5 -5
  338. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
  339. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +7 -7
  340. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +7 -7
  341. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +5 -5
  342. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
  343. package/dist/actions/retrieve-document-generic.cjs +18 -18
  344. package/dist/actions/retrieve-document-generic.cjs.map +1 -1
  345. package/dist/actions/retrieve-document-generic.d.cts +19 -19
  346. package/dist/actions/retrieve-document-generic.d.mts +19 -19
  347. package/dist/actions/retrieve-document-generic.mjs +18 -18
  348. package/dist/actions/retrieve-document-generic.mjs.map +1 -1
  349. package/dist/actions/retrieve-document.cjs +14 -14
  350. package/dist/actions/retrieve-document.cjs.map +1 -1
  351. package/dist/actions/retrieve-document.d.cts +25 -25
  352. package/dist/actions/retrieve-document.d.mts +25 -25
  353. package/dist/actions/retrieve-document.mjs +14 -14
  354. package/dist/actions/retrieve-document.mjs.map +1 -1
  355. package/dist/actions/retrieve-email-address-list-item.cjs +5 -5
  356. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
  357. package/dist/actions/retrieve-email-address-list-item.d.cts +6 -6
  358. package/dist/actions/retrieve-email-address-list-item.d.mts +6 -6
  359. package/dist/actions/retrieve-email-address-list-item.mjs +5 -5
  360. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
  361. package/dist/actions/retrieve-government-id-number-list-item.cjs +5 -5
  362. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
  363. package/dist/actions/retrieve-government-id-number-list-item.d.cts +6 -6
  364. package/dist/actions/retrieve-government-id-number-list-item.d.mts +6 -6
  365. package/dist/actions/retrieve-government-id-number-list-item.mjs +5 -5
  366. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
  367. package/dist/actions/retrieve-phone-number-list-item.cjs +7 -7
  368. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
  369. package/dist/actions/retrieve-phone-number-list-item.d.cts +8 -8
  370. package/dist/actions/retrieve-phone-number-list-item.d.mts +8 -8
  371. package/dist/actions/retrieve-phone-number-list-item.mjs +7 -7
  372. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
  373. package/dist/actions/rotate-webhook-secret.cjs +7 -7
  374. package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
  375. package/dist/actions/rotate-webhook-secret.d.cts +8 -8
  376. package/dist/actions/rotate-webhook-secret.d.mts +8 -8
  377. package/dist/actions/rotate-webhook-secret.mjs +7 -7
  378. package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
  379. package/dist/actions/search-accounts.cjs +8 -8
  380. package/dist/actions/search-accounts.cjs.map +1 -1
  381. package/dist/actions/search-accounts.d.cts +11 -11
  382. package/dist/actions/search-accounts.d.mts +11 -11
  383. package/dist/actions/search-accounts.mjs +8 -8
  384. package/dist/actions/search-accounts.mjs.map +1 -1
  385. package/dist/actions/search-cases.cjs +8 -8
  386. package/dist/actions/search-cases.cjs.map +1 -1
  387. package/dist/actions/search-cases.d.cts +9 -9
  388. package/dist/actions/search-cases.d.mts +9 -9
  389. package/dist/actions/search-cases.mjs +8 -8
  390. package/dist/actions/search-cases.mjs.map +1 -1
  391. package/dist/actions/set-tags.cjs +6 -6
  392. package/dist/actions/set-tags.cjs.map +1 -1
  393. package/dist/actions/set-tags.d.cts +6 -6
  394. package/dist/actions/set-tags.d.mts +6 -6
  395. package/dist/actions/set-tags.mjs +6 -6
  396. package/dist/actions/set-tags.mjs.map +1 -1
  397. package/dist/actions/update-a-webhook.cjs +8 -8
  398. package/dist/actions/update-a-webhook.cjs.map +1 -1
  399. package/dist/actions/update-a-webhook.d.cts +11 -11
  400. package/dist/actions/update-a-webhook.d.mts +11 -11
  401. package/dist/actions/update-a-webhook.mjs +8 -8
  402. package/dist/actions/update-a-webhook.mjs.map +1 -1
  403. package/dist/actions/update-an-account.cjs +10 -10
  404. package/dist/actions/update-an-account.cjs.map +1 -1
  405. package/dist/actions/update-an-account.d.cts +14 -14
  406. package/dist/actions/update-an-account.d.mts +14 -14
  407. package/dist/actions/update-an-account.mjs +10 -10
  408. package/dist/actions/update-an-account.mjs.map +1 -1
  409. package/dist/actions/update-document-generic.cjs +16 -16
  410. package/dist/actions/update-document-generic.cjs.map +1 -1
  411. package/dist/actions/update-document-generic.d.cts +27 -27
  412. package/dist/actions/update-document-generic.d.mts +27 -27
  413. package/dist/actions/update-document-generic.mjs +16 -16
  414. package/dist/actions/update-document-generic.mjs.map +1 -1
  415. package/package.json +1 -1
@@ -5,7 +5,7 @@ declare const PersonaListAllApiLogsInput: z.ZodObject<{
5
5
  "page.size": z.ZodOptional<z.ZodNumber>;
6
6
  "page.after": z.ZodOptional<z.ZodString>;
7
7
  "page.before": z.ZodOptional<z.ZodString>;
8
- sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
8
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
9
  "Key-Inflection": z.ZodOptional<z.ZodEnum<{
10
10
  camel: "camel";
11
11
  kebab: "kebab";
@@ -32,25 +32,25 @@ declare const PersonaListAllApiLogsOutput: z.ZodObject<{
32
32
  "request-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  "duration-ms": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  "request-url": z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- "request-body": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
36
- "response-body": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
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
37
  "request-method": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- "request-headers": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
38
+ "request-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
39
  "response-status": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
- "response-headers": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
41
- }, z.core.$strip>>>;
42
- }, z.core.$strip>>;
40
+ "response-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
+ }, z.core.$loose>>>;
42
+ }, z.core.$loose>>;
43
43
  links: z.ZodNullable<z.ZodObject<{
44
44
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
- }, z.core.$strip>>;
47
- included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
48
- }, z.core.$strip>;
46
+ }, z.core.$loose>>;
47
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
48
+ }, z.core.$loose>;
49
49
  declare const personaListAllApiLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
50
50
  "page.size"?: number | undefined;
51
51
  "page.after"?: string | undefined;
52
52
  "page.before"?: string | undefined;
53
- sparse_fields?: Record<string, never> | undefined;
53
+ sparse_fields?: Record<string, unknown> | undefined;
54
54
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
55
55
  "Idempotency-Key"?: string | undefined;
56
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;
@@ -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
39
  id: z.string().describe("Unique identifier for the API log.").nullable(),
40
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.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.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.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}).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}).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.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,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,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;AACvL,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AAC,SAAS;CAC1E,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,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;AAO9D,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B;EAC7F,OAAO,4CAA4C,SAAS;EAC5D,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,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,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;AACvL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,C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YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,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;AAO5E,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B;EAC7F,OAAO,4CAA4C,SAAS;EAC5D,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,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
43
  id: zod.z.string().describe("Unique identifier for the case.").nullable(),
44
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
53
  id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
54
54
  type: zod.z.string().describe("Resource type.").nullable(),
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.");
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.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}).describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema = 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.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}).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}).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.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.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,2BA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,SAAS,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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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C,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -38,23 +38,23 @@ declare const PersonaListAllCasesOutput: z.ZodObject<{
38
38
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  "assignee-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>>>;
41
+ }, z.core.$loose>>>;
42
42
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
- account: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
44
- inquiry: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>>;
43
+ account: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
44
+ inquiry: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>>;
47
47
  links: z.ZodNullable<z.ZodObject<{
48
48
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>;
50
+ }, z.core.$loose>>;
51
51
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
52
52
  id: z.ZodNullable<z.ZodString>;
53
53
  type: z.ZodNullable<z.ZodString>;
54
- attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
55
- relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
56
- }, z.core.$strip>>>>;
57
- }, z.core.$strip>;
54
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
55
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
56
+ }, z.core.$loose>>>>;
57
+ }, z.core.$loose>;
58
58
  declare const personaListAllCases: import("@keystrokehq/action").WorkflowActionDefinition<{
59
59
  "page.size"?: number | undefined;
60
60
  "page.after"?: string | undefined;
@@ -38,23 +38,23 @@ declare const PersonaListAllCasesOutput: z.ZodObject<{
38
38
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  "assignee-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>>>;
41
+ }, z.core.$loose>>>;
42
42
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
- account: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
44
- inquiry: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>>;
43
+ account: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
44
+ inquiry: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>>;
47
47
  links: z.ZodNullable<z.ZodObject<{
48
48
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>;
50
+ }, z.core.$loose>>;
51
51
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
52
52
  id: z.ZodNullable<z.ZodString>;
53
53
  type: z.ZodNullable<z.ZodString>;
54
- attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
55
- relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
56
- }, z.core.$strip>>>>;
57
- }, z.core.$strip>;
54
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
55
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
56
+ }, z.core.$loose>>>>;
57
+ }, z.core.$loose>;
58
58
  declare const personaListAllCases: import("@keystrokehq/action").WorkflowActionDefinition<{
59
59
  "page.size"?: number | undefined;
60
60
  "page.after"?: string | undefined;
@@ -34,27 +34,27 @@ const PersonaListAllCases_CaseAttributesSchema = z.object({
34
34
  resolution: z.string().describe("Resolution status of the case.").nullable().optional(),
35
35
  "updated-at": z.string().describe("ISO 8601 timestamp when the case was last updated.").nullable().optional(),
36
36
  "assignee-id": 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 = z.object({
39
- account: z.object({}).describe("Relationship to the associated account.").nullable().optional(),
40
- inquiry: z.object({}).describe("Relationship to the associated inquiry.").nullable().optional()
41
- }).describe("Relationships of a case object.");
39
+ account: z.record(z.string(), z.unknown()).describe("Relationship to the associated account.").nullable().optional(),
40
+ inquiry: z.record(z.string(), z.unknown()).describe("Relationship to the associated inquiry.").nullable().optional()
41
+ }).passthrough().describe("Relationships of a case object.");
42
42
  const PersonaListAllCases_CaseDataSchema = z.object({
43
43
  id: z.string().describe("Unique identifier for the case.").nullable(),
44
44
  type: 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 = z.object({
49
49
  next: z.string().describe("URL for the next page of results, or null if on the last page.").nullable().optional(),
50
50
  prev: 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 = z.object({
53
53
  id: z.string().describe("Unique identifier for the included resource.").nullable(),
54
54
  type: z.string().describe("Resource type.").nullable(),
55
- attributes: z.object({}).describe("Attributes of the included resource.").nullable().optional(),
56
- relationships: z.object({}).describe("Relationships of the included resource.").nullable().optional()
57
- }).describe("Included resources in the response.");
55
+ attributes: z.record(z.string(), z.unknown()).describe("Attributes of the included resource.").nullable().optional(),
56
+ relationships: z.record(z.string(), z.unknown()).describe("Relationships of the included resource.").nullable().optional()
57
+ }).passthrough().describe("Included resources in the response.");
58
58
  const personaListAllCases = action("PERSONA_LIST_ALL_CASES", {
59
59
  slug: "persona-list-all-cases",
60
60
  name: "List All Cases",
@@ -64,7 +64,7 @@ const personaListAllCases = action("PERSONA_LIST_ALL_CASES", {
64
64
  data: z.array(PersonaListAllCases_CaseDataSchema).describe("An array of case objects."),
65
65
  links: PersonaListAllCases_PaginationLinksSchema.nullable(),
66
66
  included: z.array(PersonaListAllCases_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
67
- }).describe("Response model for listing all cases in Persona.")
67
+ }).passthrough().describe("Response model for listing all cases in Persona.")
68
68
  });
69
69
  //#endregion
70
70
  export { personaListAllCases };
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-cases.mjs","names":[],"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}).describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema = 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.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}).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}).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.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.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,2BAA2B,EAAE,OAAO;CAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,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,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7H,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,o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S,CAAC,CAAC,SAAS;CACzE,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAOjD,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;EACtF,OAAO,0CAA0C,SAAS;EAC1D,UAAU,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-cases.mjs","names":[],"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,2BAA2B,EAAE,OAAO;CAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SA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ACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAO/D,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;EACtF,OAAO,0CAA0C,SAAS;EAC1D,UAAU,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -26,21 +26,21 @@ const PersonaListAllDevicesInput = zod.z.object({
26
26
  const PersonaListAllDevices_DeviceAttributesSchema = zod.z.object({
27
27
  "created-at": zod.z.string().describe("Timestamp when the device was created.").nullable().optional(),
28
28
  "updated-at": zod.z.string().describe("Timestamp when the device was last updated.").nullable().optional()
29
- }).describe("Attributes of a device in the response.");
29
+ }).passthrough().describe("Attributes of a device in the response.");
30
30
  const PersonaListAllDevices_DeviceDataSchema = zod.z.object({
31
31
  id: zod.z.string().describe("Unique identifier for the device.").nullable(),
32
32
  type: zod.z.string().describe("Resource type, typically 'device'.").nullable(),
33
33
  attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional()
34
- }).describe("Device data returned in the response.");
34
+ }).passthrough().describe("Device data returned in the response.");
35
35
  const PersonaListAllDevices_PaginationLinksSchema = zod.z.object({
36
36
  next: zod.z.string().describe("URL pointing to the next page of data, or null if on the last page.").nullable().optional(),
37
37
  prev: zod.z.string().describe("URL pointing to the previous page of data, or null if on the first page.").nullable().optional()
38
- }).describe("Pagination links for navigating through results.");
38
+ }).passthrough().describe("Pagination links for navigating through results.");
39
39
  const PersonaListAllDevicesOutput = zod.z.object({
40
40
  data: zod.z.array(PersonaListAllDevices_DeviceDataSchema).describe("An array of Device objects."),
41
41
  links: PersonaListAllDevices_PaginationLinksSchema.nullable(),
42
- included: zod.z.array(zod.z.object({})).describe("Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.").nullable().optional()
43
- }).describe("Response model returned after listing all devices in Persona.");
42
+ included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.").nullable().optional()
43
+ }).passthrough().describe("Response model returned after listing all devices in Persona.");
44
44
  const personaListAllDevices = require_action.action("PERSONA_LIST_ALL_DEVICES", {
45
45
  slug: "persona-list-all-devices",
46
46
  name: "List All Devices",
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").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.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_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}).describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model returned after listing all devices in Persona.\");\n\nexport const personaListAllDevices = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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AMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6BAA6B;CAC5F,OAAO,4CAA4C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").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.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_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 PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after listing all devices in Persona.\");\n\nexport const personaListAllDevices = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;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AAC,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,6BAA6B;CAC5F,OAAO,4CAA4C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -30,14 +30,14 @@ declare const PersonaListAllDevicesOutput: z.ZodObject<{
30
30
  attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
31
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>;
35
35
  links: z.ZodNullable<z.ZodObject<{
36
36
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>;
39
- included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
40
- }, z.core.$strip>;
38
+ }, z.core.$loose>>;
39
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
+ }, z.core.$loose>;
41
41
  declare const personaListAllDevices: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  "filter.inquiry-session-id": string;
43
43
  page_size?: number | undefined;
@@ -30,14 +30,14 @@ declare const PersonaListAllDevicesOutput: z.ZodObject<{
30
30
  attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
31
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>;
35
35
  links: z.ZodNullable<z.ZodObject<{
36
36
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>;
39
- included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
40
- }, z.core.$strip>;
38
+ }, z.core.$loose>>;
39
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
+ }, z.core.$loose>;
41
41
  declare const personaListAllDevices: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  "filter.inquiry-session-id": string;
43
43
  page_size?: number | undefined;
@@ -26,16 +26,16 @@ const PersonaListAllDevicesInput = z.object({
26
26
  const PersonaListAllDevices_DeviceAttributesSchema = z.object({
27
27
  "created-at": z.string().describe("Timestamp when the device was created.").nullable().optional(),
28
28
  "updated-at": z.string().describe("Timestamp when the device was last updated.").nullable().optional()
29
- }).describe("Attributes of a device in the response.");
29
+ }).passthrough().describe("Attributes of a device in the response.");
30
30
  const PersonaListAllDevices_DeviceDataSchema = z.object({
31
31
  id: z.string().describe("Unique identifier for the device.").nullable(),
32
32
  type: z.string().describe("Resource type, typically 'device'.").nullable(),
33
33
  attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional()
34
- }).describe("Device data returned in the response.");
34
+ }).passthrough().describe("Device data returned in the response.");
35
35
  const PersonaListAllDevices_PaginationLinksSchema = z.object({
36
36
  next: z.string().describe("URL pointing to the next page of data, or null if on the last page.").nullable().optional(),
37
37
  prev: z.string().describe("URL pointing to the previous page of data, or null if on the first page.").nullable().optional()
38
- }).describe("Pagination links for navigating through results.");
38
+ }).passthrough().describe("Pagination links for navigating through results.");
39
39
  const personaListAllDevices = action("PERSONA_LIST_ALL_DEVICES", {
40
40
  slug: "persona-list-all-devices",
41
41
  name: "List All Devices",
@@ -44,8 +44,8 @@ const personaListAllDevices = action("PERSONA_LIST_ALL_DEVICES", {
44
44
  output: z.object({
45
45
  data: z.array(PersonaListAllDevices_DeviceDataSchema).describe("An array of Device objects."),
46
46
  links: PersonaListAllDevices_PaginationLinksSchema.nullable(),
47
- included: z.array(z.object({})).describe("Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.").nullable().optional()
48
- }).describe("Response model returned after listing all devices in Persona.")
47
+ included: z.array(z.record(z.string(), z.unknown())).describe("Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.").nullable().optional()
48
+ }).passthrough().describe("Response model returned after listing all devices in Persona.")
49
49
  });
50
50
  //#endregion
51
51
  export { personaListAllDevices };
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-devices.mjs","names":[],"sources":["../../src/actions/list-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").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.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_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}).describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model returned after listing all devices in Persona.\");\n\nexport const personaListAllDevices = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAm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;AAO9D,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6BAA6B;EAC5F,OAAO,4CAA4C,SAAS;EAC5D,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7M,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-devices.mjs","names":[],"sources":["../../src/actions/list-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").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.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_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 PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after listing all devices in Persona.\");\n\nexport const personaListAllDevices = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,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;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C,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -27,22 +27,22 @@ const PersonaListAllEventsInput = zod.z.object({
27
27
  }).describe("Request to list all events.");
28
28
  const PersonaListAllEvents_EventAttributesSchema = zod.z.object({
29
29
  name: zod.z.string().describe("Name of the event.").nullable().optional(),
30
- payload: zod.z.object({}).describe("Event payload containing additional data.").nullable().optional(),
30
+ payload: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event payload containing additional data.").nullable().optional(),
31
31
  created_at: zod.z.string().describe("Timestamp when the event was created.").nullable().optional()
32
32
  }).passthrough().describe("Attributes of an event.");
33
33
  const PersonaListAllEvents_EventDataSchema = zod.z.object({
34
34
  id: zod.z.string().describe("Unique identifier for the event.").nullable().optional(),
35
35
  type: zod.z.string().describe("Type of the resource (event).").nullable().optional(),
36
36
  attributes: PersonaListAllEvents_EventAttributesSchema.nullable().optional()
37
- }).describe("Event data structure.");
37
+ }).passthrough().describe("Event data structure.");
38
38
  const PersonaListAllEvents_PaginationLinksSchema = zod.z.object({
39
39
  next: zod.z.string().describe("URL for the next page of results. Null if on last page.").nullable().optional(),
40
40
  prev: zod.z.string().describe("URL for the previous page of results. Null if on first page.").nullable().optional()
41
- }).describe("Pagination links for navigating results.");
41
+ }).passthrough().describe("Pagination links for navigating results.");
42
42
  const PersonaListAllEventsOutput = zod.z.object({
43
43
  data: zod.z.array(PersonaListAllEvents_EventDataSchema).describe("Array of event objects."),
44
44
  links: PersonaListAllEvents_PaginationLinksSchema.nullable()
45
- }).describe("Response containing a list of events.");
45
+ }).passthrough().describe("Response containing a list of events.");
46
46
  const personaListAllEvents = require_action.action("PERSONA_LIST_ALL_EVENTS", {
47
47
  slug: "persona-list-all-events",
48
48
  name: "List all Events",