@keystrokehq/persona 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/dist/actions/add-tag-to-account.cjs +6 -6
  2. package/dist/actions/add-tag-to-account.cjs.map +1 -1
  3. package/dist/actions/add-tag-to-account.d.cts +6 -6
  4. package/dist/actions/add-tag-to-account.d.mts +6 -6
  5. package/dist/actions/add-tag-to-account.mjs +6 -6
  6. package/dist/actions/add-tag-to-account.mjs.map +1 -1
  7. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +3 -3
  8. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
  9. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +3 -3
  10. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +3 -3
  11. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +3 -3
  12. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
  13. package/dist/actions/archive-a-country-list-item.cjs +5 -5
  14. package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
  15. package/dist/actions/archive-a-country-list-item.d.cts +6 -6
  16. package/dist/actions/archive-a-country-list-item.d.mts +6 -6
  17. package/dist/actions/archive-a-country-list-item.mjs +5 -5
  18. package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
  19. package/dist/actions/archive-a-geolocation-list-item.cjs +6 -6
  20. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
  21. package/dist/actions/archive-a-geolocation-list-item.d.cts +6 -6
  22. package/dist/actions/archive-a-geolocation-list-item.d.mts +6 -6
  23. package/dist/actions/archive-a-geolocation-list-item.mjs +6 -6
  24. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
  25. package/dist/actions/archive-a-government-id-number-list-item.cjs +4 -4
  26. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
  27. package/dist/actions/archive-a-government-id-number-list-item.d.cts +4 -4
  28. package/dist/actions/archive-a-government-id-number-list-item.d.mts +4 -4
  29. package/dist/actions/archive-a-government-id-number-list-item.mjs +4 -4
  30. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
  31. package/dist/actions/archive-a-name-list-item.cjs +6 -6
  32. package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
  33. package/dist/actions/archive-a-name-list-item.d.cts +6 -6
  34. package/dist/actions/archive-a-name-list-item.d.mts +6 -6
  35. package/dist/actions/archive-a-name-list-item.mjs +6 -6
  36. package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
  37. package/dist/actions/archive-a-webhook.cjs +6 -6
  38. package/dist/actions/archive-a-webhook.cjs.map +1 -1
  39. package/dist/actions/archive-a-webhook.d.cts +7 -7
  40. package/dist/actions/archive-a-webhook.d.mts +7 -7
  41. package/dist/actions/archive-a-webhook.mjs +6 -6
  42. package/dist/actions/archive-a-webhook.mjs.map +1 -1
  43. package/dist/actions/archive-email-address-list-item.cjs +5 -5
  44. package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
  45. package/dist/actions/archive-email-address-list-item.d.cts +5 -5
  46. package/dist/actions/archive-email-address-list-item.d.mts +5 -5
  47. package/dist/actions/archive-email-address-list-item.mjs +5 -5
  48. package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
  49. package/dist/actions/archive-ip-address-list-item.cjs +4 -4
  50. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
  51. package/dist/actions/archive-ip-address-list-item.d.cts +4 -4
  52. package/dist/actions/archive-ip-address-list-item.d.mts +4 -4
  53. package/dist/actions/archive-ip-address-list-item.mjs +4 -4
  54. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
  55. package/dist/actions/archive-phone-number-list-item.cjs +3 -3
  56. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
  57. package/dist/actions/archive-phone-number-list-item.d.cts +3 -3
  58. package/dist/actions/archive-phone-number-list-item.d.mts +3 -3
  59. package/dist/actions/archive-phone-number-list-item.mjs +3 -3
  60. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
  61. package/dist/actions/archive-string-list-item.cjs +5 -5
  62. package/dist/actions/archive-string-list-item.cjs.map +1 -1
  63. package/dist/actions/archive-string-list-item.d.cts +6 -6
  64. package/dist/actions/archive-string-list-item.d.mts +6 -6
  65. package/dist/actions/archive-string-list-item.mjs +5 -5
  66. package/dist/actions/archive-string-list-item.mjs.map +1 -1
  67. package/dist/actions/clone-webhook.cjs +4 -4
  68. package/dist/actions/clone-webhook.cjs.map +1 -1
  69. package/dist/actions/clone-webhook.d.cts +4 -4
  70. package/dist/actions/clone-webhook.d.mts +4 -4
  71. package/dist/actions/clone-webhook.mjs +4 -4
  72. package/dist/actions/clone-webhook.mjs.map +1 -1
  73. package/dist/actions/consolidate-into-account.cjs +2 -2
  74. package/dist/actions/consolidate-into-account.cjs.map +1 -1
  75. package/dist/actions/consolidate-into-account.d.cts +2 -2
  76. package/dist/actions/consolidate-into-account.d.mts +2 -2
  77. package/dist/actions/consolidate-into-account.mjs +2 -2
  78. package/dist/actions/consolidate-into-account.mjs.map +1 -1
  79. package/dist/actions/create-an-account.cjs +12 -12
  80. package/dist/actions/create-an-account.cjs.map +1 -1
  81. package/dist/actions/create-an-account.d.cts +16 -16
  82. package/dist/actions/create-an-account.d.mts +16 -16
  83. package/dist/actions/create-an-account.mjs +12 -12
  84. package/dist/actions/create-an-account.mjs.map +1 -1
  85. package/dist/actions/create-an-ip-address-list-item.cjs +6 -6
  86. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
  87. package/dist/actions/create-an-ip-address-list-item.d.cts +6 -6
  88. package/dist/actions/create-an-ip-address-list-item.d.mts +6 -6
  89. package/dist/actions/create-an-ip-address-list-item.mjs +6 -6
  90. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
  91. package/dist/actions/create-country-list-item.cjs +6 -6
  92. package/dist/actions/create-country-list-item.cjs.map +1 -1
  93. package/dist/actions/create-country-list-item.d.cts +6 -6
  94. package/dist/actions/create-country-list-item.d.mts +6 -6
  95. package/dist/actions/create-country-list-item.mjs +6 -6
  96. package/dist/actions/create-country-list-item.mjs.map +1 -1
  97. package/dist/actions/create-document-generic.cjs +5 -5
  98. package/dist/actions/create-document-generic.cjs.map +1 -1
  99. package/dist/actions/create-document-generic.d.cts +5 -5
  100. package/dist/actions/create-document-generic.d.mts +5 -5
  101. package/dist/actions/create-document-generic.mjs +5 -5
  102. package/dist/actions/create-document-generic.mjs.map +1 -1
  103. package/dist/actions/create-email-address-list-item.cjs +4 -4
  104. package/dist/actions/create-email-address-list-item.cjs.map +1 -1
  105. package/dist/actions/create-email-address-list-item.d.cts +4 -4
  106. package/dist/actions/create-email-address-list-item.d.mts +4 -4
  107. package/dist/actions/create-email-address-list-item.mjs +4 -4
  108. package/dist/actions/create-email-address-list-item.mjs.map +1 -1
  109. package/dist/actions/create-government-id-number-list-item.cjs +6 -6
  110. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
  111. package/dist/actions/create-government-id-number-list-item.d.cts +6 -6
  112. package/dist/actions/create-government-id-number-list-item.d.mts +6 -6
  113. package/dist/actions/create-government-id-number-list-item.mjs +6 -6
  114. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
  115. package/dist/actions/create-name-list-item.cjs +5 -5
  116. package/dist/actions/create-name-list-item.cjs.map +1 -1
  117. package/dist/actions/create-name-list-item.d.cts +5 -5
  118. package/dist/actions/create-name-list-item.d.mts +5 -5
  119. package/dist/actions/create-name-list-item.mjs +5 -5
  120. package/dist/actions/create-name-list-item.mjs.map +1 -1
  121. package/dist/actions/create-phone-number-list-item.cjs +5 -5
  122. package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
  123. package/dist/actions/create-phone-number-list-item.d.cts +5 -5
  124. package/dist/actions/create-phone-number-list-item.d.mts +5 -5
  125. package/dist/actions/create-phone-number-list-item.mjs +5 -5
  126. package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
  127. package/dist/actions/create-string-list-item.cjs +6 -6
  128. package/dist/actions/create-string-list-item.cjs.map +1 -1
  129. package/dist/actions/create-string-list-item.d.cts +6 -6
  130. package/dist/actions/create-string-list-item.d.mts +6 -6
  131. package/dist/actions/create-string-list-item.mjs +6 -6
  132. package/dist/actions/create-string-list-item.mjs.map +1 -1
  133. package/dist/actions/create-webhook.cjs +5 -5
  134. package/dist/actions/create-webhook.cjs.map +1 -1
  135. package/dist/actions/create-webhook.d.cts +6 -6
  136. package/dist/actions/create-webhook.d.mts +6 -6
  137. package/dist/actions/create-webhook.mjs +5 -5
  138. package/dist/actions/create-webhook.mjs.map +1 -1
  139. package/dist/actions/disable-webhook.cjs +6 -6
  140. package/dist/actions/disable-webhook.cjs.map +1 -1
  141. package/dist/actions/disable-webhook.d.cts +7 -7
  142. package/dist/actions/disable-webhook.d.mts +7 -7
  143. package/dist/actions/disable-webhook.mjs +6 -6
  144. package/dist/actions/disable-webhook.mjs.map +1 -1
  145. package/dist/actions/enable-webhook.cjs +5 -5
  146. package/dist/actions/enable-webhook.cjs.map +1 -1
  147. package/dist/actions/enable-webhook.d.cts +5 -5
  148. package/dist/actions/enable-webhook.d.mts +5 -5
  149. package/dist/actions/enable-webhook.mjs +5 -5
  150. package/dist/actions/enable-webhook.mjs.map +1 -1
  151. package/dist/actions/expire-inquiry-sessions.cjs +8 -8
  152. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
  153. package/dist/actions/expire-inquiry-sessions.d.cts +10 -10
  154. package/dist/actions/expire-inquiry-sessions.d.mts +10 -10
  155. package/dist/actions/expire-inquiry-sessions.mjs +8 -8
  156. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
  157. package/dist/actions/import-email-address-lists.cjs +3 -3
  158. package/dist/actions/import-email-address-lists.cjs.map +1 -1
  159. package/dist/actions/import-email-address-lists.d.cts +3 -3
  160. package/dist/actions/import-email-address-lists.d.mts +3 -3
  161. package/dist/actions/import-email-address-lists.mjs +3 -3
  162. package/dist/actions/import-email-address-lists.mjs.map +1 -1
  163. package/dist/actions/import-ip-address-lists.cjs +3 -3
  164. package/dist/actions/import-ip-address-lists.cjs.map +1 -1
  165. package/dist/actions/import-ip-address-lists.d.cts +3 -3
  166. package/dist/actions/import-ip-address-lists.d.mts +3 -3
  167. package/dist/actions/import-ip-address-lists.mjs +3 -3
  168. package/dist/actions/import-ip-address-lists.mjs.map +1 -1
  169. package/dist/actions/import-name-lists.cjs +3 -3
  170. package/dist/actions/import-name-lists.cjs.map +1 -1
  171. package/dist/actions/import-name-lists.d.cts +3 -3
  172. package/dist/actions/import-name-lists.d.mts +3 -3
  173. package/dist/actions/import-name-lists.mjs +3 -3
  174. package/dist/actions/import-name-lists.mjs.map +1 -1
  175. package/dist/actions/import-phone-number-lists.cjs +3 -3
  176. package/dist/actions/import-phone-number-lists.cjs.map +1 -1
  177. package/dist/actions/import-phone-number-lists.d.cts +3 -3
  178. package/dist/actions/import-phone-number-lists.d.mts +3 -3
  179. package/dist/actions/import-phone-number-lists.mjs +3 -3
  180. package/dist/actions/import-phone-number-lists.mjs.map +1 -1
  181. package/dist/actions/list-all-accounts.cjs +8 -8
  182. package/dist/actions/list-all-accounts.cjs.map +1 -1
  183. package/dist/actions/list-all-accounts.d.cts +10 -10
  184. package/dist/actions/list-all-accounts.d.mts +10 -10
  185. package/dist/actions/list-all-accounts.mjs +8 -8
  186. package/dist/actions/list-all-accounts.mjs.map +1 -1
  187. package/dist/actions/list-all-api-logs.cjs +10 -10
  188. package/dist/actions/list-all-api-logs.cjs.map +1 -1
  189. package/dist/actions/list-all-api-logs.d.cts +11 -11
  190. package/dist/actions/list-all-api-logs.d.mts +11 -11
  191. package/dist/actions/list-all-api-logs.mjs +10 -10
  192. package/dist/actions/list-all-api-logs.mjs.map +1 -1
  193. package/dist/actions/list-all-cases.cjs +10 -10
  194. package/dist/actions/list-all-cases.cjs.map +1 -1
  195. package/dist/actions/list-all-cases.d.cts +10 -10
  196. package/dist/actions/list-all-cases.d.mts +10 -10
  197. package/dist/actions/list-all-cases.mjs +10 -10
  198. package/dist/actions/list-all-cases.mjs.map +1 -1
  199. package/dist/actions/list-all-devices.cjs +5 -5
  200. package/dist/actions/list-all-devices.cjs.map +1 -1
  201. package/dist/actions/list-all-devices.d.cts +5 -5
  202. package/dist/actions/list-all-devices.d.mts +5 -5
  203. package/dist/actions/list-all-devices.mjs +5 -5
  204. package/dist/actions/list-all-devices.mjs.map +1 -1
  205. package/dist/actions/list-all-events.cjs +4 -4
  206. package/dist/actions/list-all-events.cjs.map +1 -1
  207. package/dist/actions/list-all-events.d.cts +4 -4
  208. package/dist/actions/list-all-events.d.mts +4 -4
  209. package/dist/actions/list-all-events.mjs +4 -4
  210. package/dist/actions/list-all-events.mjs.map +1 -1
  211. package/dist/actions/list-all-importers.cjs +6 -6
  212. package/dist/actions/list-all-importers.cjs.map +1 -1
  213. package/dist/actions/list-all-importers.d.cts +7 -7
  214. package/dist/actions/list-all-importers.d.mts +7 -7
  215. package/dist/actions/list-all-importers.mjs +6 -6
  216. package/dist/actions/list-all-importers.mjs.map +1 -1
  217. package/dist/actions/list-all-inquiries.cjs +9 -9
  218. package/dist/actions/list-all-inquiries.cjs.map +1 -1
  219. package/dist/actions/list-all-inquiries.d.cts +9 -9
  220. package/dist/actions/list-all-inquiries.d.mts +9 -9
  221. package/dist/actions/list-all-inquiries.mjs +9 -9
  222. package/dist/actions/list-all-inquiries.mjs.map +1 -1
  223. package/dist/actions/list-all-inquiry-sessions.cjs +9 -9
  224. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
  225. package/dist/actions/list-all-inquiry-sessions.d.cts +11 -11
  226. package/dist/actions/list-all-inquiry-sessions.d.mts +11 -11
  227. package/dist/actions/list-all-inquiry-sessions.mjs +9 -9
  228. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
  229. package/dist/actions/list-all-lists.cjs +7 -7
  230. package/dist/actions/list-all-lists.cjs.map +1 -1
  231. package/dist/actions/list-all-lists.d.cts +9 -9
  232. package/dist/actions/list-all-lists.d.mts +9 -9
  233. package/dist/actions/list-all-lists.mjs +7 -7
  234. package/dist/actions/list-all-lists.mjs.map +1 -1
  235. package/dist/actions/list-all-rate-limits.cjs +3 -3
  236. package/dist/actions/list-all-rate-limits.cjs.map +1 -1
  237. package/dist/actions/list-all-rate-limits.d.cts +3 -3
  238. package/dist/actions/list-all-rate-limits.d.mts +3 -3
  239. package/dist/actions/list-all-rate-limits.mjs +3 -3
  240. package/dist/actions/list-all-rate-limits.mjs.map +1 -1
  241. package/dist/actions/list-all-reports.cjs +10 -10
  242. package/dist/actions/list-all-reports.cjs.map +1 -1
  243. package/dist/actions/list-all-reports.d.cts +10 -10
  244. package/dist/actions/list-all-reports.d.mts +10 -10
  245. package/dist/actions/list-all-reports.mjs +10 -10
  246. package/dist/actions/list-all-reports.mjs.map +1 -1
  247. package/dist/actions/list-all-transactions.cjs +8 -8
  248. package/dist/actions/list-all-transactions.cjs.map +1 -1
  249. package/dist/actions/list-all-transactions.d.cts +8 -8
  250. package/dist/actions/list-all-transactions.d.mts +8 -8
  251. package/dist/actions/list-all-transactions.mjs +8 -8
  252. package/dist/actions/list-all-transactions.mjs.map +1 -1
  253. package/dist/actions/list-all-webhooks.cjs +6 -6
  254. package/dist/actions/list-all-webhooks.cjs.map +1 -1
  255. package/dist/actions/list-all-webhooks.d.cts +6 -6
  256. package/dist/actions/list-all-webhooks.d.mts +6 -6
  257. package/dist/actions/list-all-webhooks.mjs +6 -6
  258. package/dist/actions/list-all-webhooks.mjs.map +1 -1
  259. package/dist/actions/list-all-workflow-runs.cjs +10 -10
  260. package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
  261. package/dist/actions/list-all-workflow-runs.d.cts +10 -10
  262. package/dist/actions/list-all-workflow-runs.d.mts +10 -10
  263. package/dist/actions/list-all-workflow-runs.mjs +10 -10
  264. package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
  265. package/dist/actions/redact-an-account.cjs +9 -9
  266. package/dist/actions/redact-an-account.cjs.map +1 -1
  267. package/dist/actions/redact-an-account.d.cts +11 -11
  268. package/dist/actions/redact-an-account.d.mts +11 -11
  269. package/dist/actions/redact-an-account.mjs +9 -9
  270. package/dist/actions/redact-an-account.mjs.map +1 -1
  271. package/dist/actions/remove-account-tag.cjs +5 -5
  272. package/dist/actions/remove-account-tag.cjs.map +1 -1
  273. package/dist/actions/remove-account-tag.d.cts +5 -5
  274. package/dist/actions/remove-account-tag.d.mts +5 -5
  275. package/dist/actions/remove-account-tag.mjs +5 -5
  276. package/dist/actions/remove-account-tag.mjs.map +1 -1
  277. package/dist/actions/retrieve-a-country-list-item.cjs +6 -6
  278. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
  279. package/dist/actions/retrieve-a-country-list-item.d.cts +8 -8
  280. package/dist/actions/retrieve-a-country-list-item.d.mts +8 -8
  281. package/dist/actions/retrieve-a-country-list-item.mjs +6 -6
  282. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
  283. package/dist/actions/retrieve-a-geolocation-list-item.cjs +7 -7
  284. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
  285. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +8 -8
  286. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +8 -8
  287. package/dist/actions/retrieve-a-geolocation-list-item.mjs +7 -7
  288. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
  289. package/dist/actions/retrieve-a-name-list-item.cjs +5 -5
  290. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
  291. package/dist/actions/retrieve-a-name-list-item.d.cts +6 -6
  292. package/dist/actions/retrieve-a-name-list-item.d.mts +6 -6
  293. package/dist/actions/retrieve-a-name-list-item.mjs +5 -5
  294. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
  295. package/dist/actions/retrieve-a-string-list-item.cjs +6 -6
  296. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
  297. package/dist/actions/retrieve-a-string-list-item.d.cts +8 -8
  298. package/dist/actions/retrieve-a-string-list-item.d.mts +8 -8
  299. package/dist/actions/retrieve-a-string-list-item.mjs +6 -6
  300. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
  301. package/dist/actions/retrieve-a-webhook.cjs +7 -7
  302. package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
  303. package/dist/actions/retrieve-a-webhook.d.cts +8 -8
  304. package/dist/actions/retrieve-a-webhook.d.mts +8 -8
  305. package/dist/actions/retrieve-a-webhook.mjs +7 -7
  306. package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
  307. package/dist/actions/retrieve-an-account.cjs +9 -9
  308. package/dist/actions/retrieve-an-account.cjs.map +1 -1
  309. package/dist/actions/retrieve-an-account.d.cts +11 -11
  310. package/dist/actions/retrieve-an-account.d.mts +11 -11
  311. package/dist/actions/retrieve-an-account.mjs +9 -9
  312. package/dist/actions/retrieve-an-account.mjs.map +1 -1
  313. package/dist/actions/retrieve-an-event.cjs +5 -5
  314. package/dist/actions/retrieve-an-event.cjs.map +1 -1
  315. package/dist/actions/retrieve-an-event.d.cts +6 -6
  316. package/dist/actions/retrieve-an-event.d.mts +6 -6
  317. package/dist/actions/retrieve-an-event.mjs +5 -5
  318. package/dist/actions/retrieve-an-event.mjs.map +1 -1
  319. package/dist/actions/retrieve-an-importer.cjs +5 -5
  320. package/dist/actions/retrieve-an-importer.cjs.map +1 -1
  321. package/dist/actions/retrieve-an-importer.d.cts +6 -6
  322. package/dist/actions/retrieve-an-importer.d.mts +6 -6
  323. package/dist/actions/retrieve-an-importer.mjs +5 -5
  324. package/dist/actions/retrieve-an-importer.mjs.map +1 -1
  325. package/dist/actions/retrieve-an-ip-address-list-item.cjs +5 -5
  326. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
  327. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +6 -6
  328. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +6 -6
  329. package/dist/actions/retrieve-an-ip-address-list-item.mjs +5 -5
  330. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
  331. package/dist/actions/retrieve-api-log.cjs +12 -12
  332. package/dist/actions/retrieve-api-log.cjs.map +1 -1
  333. package/dist/actions/retrieve-api-log.d.cts +13 -13
  334. package/dist/actions/retrieve-api-log.d.mts +13 -13
  335. package/dist/actions/retrieve-api-log.mjs +12 -12
  336. package/dist/actions/retrieve-api-log.mjs.map +1 -1
  337. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +5 -5
  338. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
  339. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +7 -7
  340. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +7 -7
  341. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +5 -5
  342. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
  343. package/dist/actions/retrieve-document-generic.cjs +18 -18
  344. package/dist/actions/retrieve-document-generic.cjs.map +1 -1
  345. package/dist/actions/retrieve-document-generic.d.cts +19 -19
  346. package/dist/actions/retrieve-document-generic.d.mts +19 -19
  347. package/dist/actions/retrieve-document-generic.mjs +18 -18
  348. package/dist/actions/retrieve-document-generic.mjs.map +1 -1
  349. package/dist/actions/retrieve-document.cjs +14 -14
  350. package/dist/actions/retrieve-document.cjs.map +1 -1
  351. package/dist/actions/retrieve-document.d.cts +25 -25
  352. package/dist/actions/retrieve-document.d.mts +25 -25
  353. package/dist/actions/retrieve-document.mjs +14 -14
  354. package/dist/actions/retrieve-document.mjs.map +1 -1
  355. package/dist/actions/retrieve-email-address-list-item.cjs +5 -5
  356. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
  357. package/dist/actions/retrieve-email-address-list-item.d.cts +6 -6
  358. package/dist/actions/retrieve-email-address-list-item.d.mts +6 -6
  359. package/dist/actions/retrieve-email-address-list-item.mjs +5 -5
  360. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
  361. package/dist/actions/retrieve-government-id-number-list-item.cjs +5 -5
  362. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
  363. package/dist/actions/retrieve-government-id-number-list-item.d.cts +6 -6
  364. package/dist/actions/retrieve-government-id-number-list-item.d.mts +6 -6
  365. package/dist/actions/retrieve-government-id-number-list-item.mjs +5 -5
  366. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
  367. package/dist/actions/retrieve-phone-number-list-item.cjs +7 -7
  368. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
  369. package/dist/actions/retrieve-phone-number-list-item.d.cts +8 -8
  370. package/dist/actions/retrieve-phone-number-list-item.d.mts +8 -8
  371. package/dist/actions/retrieve-phone-number-list-item.mjs +7 -7
  372. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
  373. package/dist/actions/rotate-webhook-secret.cjs +7 -7
  374. package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
  375. package/dist/actions/rotate-webhook-secret.d.cts +8 -8
  376. package/dist/actions/rotate-webhook-secret.d.mts +8 -8
  377. package/dist/actions/rotate-webhook-secret.mjs +7 -7
  378. package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
  379. package/dist/actions/search-accounts.cjs +8 -8
  380. package/dist/actions/search-accounts.cjs.map +1 -1
  381. package/dist/actions/search-accounts.d.cts +11 -11
  382. package/dist/actions/search-accounts.d.mts +11 -11
  383. package/dist/actions/search-accounts.mjs +8 -8
  384. package/dist/actions/search-accounts.mjs.map +1 -1
  385. package/dist/actions/search-cases.cjs +8 -8
  386. package/dist/actions/search-cases.cjs.map +1 -1
  387. package/dist/actions/search-cases.d.cts +9 -9
  388. package/dist/actions/search-cases.d.mts +9 -9
  389. package/dist/actions/search-cases.mjs +8 -8
  390. package/dist/actions/search-cases.mjs.map +1 -1
  391. package/dist/actions/set-tags.cjs +6 -6
  392. package/dist/actions/set-tags.cjs.map +1 -1
  393. package/dist/actions/set-tags.d.cts +6 -6
  394. package/dist/actions/set-tags.d.mts +6 -6
  395. package/dist/actions/set-tags.mjs +6 -6
  396. package/dist/actions/set-tags.mjs.map +1 -1
  397. package/dist/actions/update-a-webhook.cjs +8 -8
  398. package/dist/actions/update-a-webhook.cjs.map +1 -1
  399. package/dist/actions/update-a-webhook.d.cts +11 -11
  400. package/dist/actions/update-a-webhook.d.mts +11 -11
  401. package/dist/actions/update-a-webhook.mjs +8 -8
  402. package/dist/actions/update-a-webhook.mjs.map +1 -1
  403. package/dist/actions/update-an-account.cjs +10 -10
  404. package/dist/actions/update-an-account.cjs.map +1 -1
  405. package/dist/actions/update-an-account.d.cts +14 -14
  406. package/dist/actions/update-an-account.d.mts +14 -14
  407. package/dist/actions/update-an-account.mjs +10 -10
  408. package/dist/actions/update-an-account.mjs.map +1 -1
  409. package/dist/actions/update-document-generic.cjs +16 -16
  410. package/dist/actions/update-document-generic.cjs.map +1 -1
  411. package/dist/actions/update-document-generic.d.cts +27 -27
  412. package/dist/actions/update-document-generic.d.mts +27 -27
  413. package/dist/actions/update-document-generic.mjs +16 -16
  414. package/dist/actions/update-document-generic.mjs.map +1 -1
  415. package/dist/catalog.cjs +1 -1
  416. package/dist/catalog.cjs.map +1 -1
  417. package/dist/catalog.d.cts +1 -1
  418. package/dist/catalog.d.mts +1 -1
  419. package/dist/catalog.mjs +1 -1
  420. package/dist/catalog.mjs.map +1 -1
  421. package/package.json +1 -1
@@ -30,21 +30,21 @@ const PersonaArchiveStringListItem_StringListItemAttributesSchema = z.object({
30
30
  archived_at: z.string().describe("Timestamp when the item was archived.").nullable().optional(),
31
31
  match_count: z.number().int().describe("Number of matches for this item.").nullable().optional(),
32
32
  redacted_at: z.string().describe("Timestamp when the item was redacted.").nullable().optional()
33
- }).describe("Attributes of a String List Item.");
34
- const PersonaArchiveStringListItem_CreatorRelationshipSchema = z.object({ data: z.object({}).describe("Creator relationship data.").nullable().optional() }).describe("Creator relationship information.");
35
- const PersonaArchiveStringListItem_StringListItemRelationshipsSchema = z.object({ creator: PersonaArchiveStringListItem_CreatorRelationshipSchema.nullable().optional() }).describe("Relationships of a String List Item.");
33
+ }).passthrough().describe("Attributes of a String List Item.");
34
+ const PersonaArchiveStringListItem_CreatorRelationshipSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Creator relationship data.").nullable().optional() }).passthrough().describe("Creator relationship information.");
35
+ const PersonaArchiveStringListItem_StringListItemRelationshipsSchema = z.object({ creator: PersonaArchiveStringListItem_CreatorRelationshipSchema.nullable().optional() }).passthrough().describe("Relationships of a String List Item.");
36
36
  const PersonaArchiveStringListItem_StringListItemDataSchema = z.object({
37
37
  id: z.string().describe("ID of the list item.").nullable().optional(),
38
38
  type: z.string().describe("Type of the resource.").nullable().optional(),
39
39
  attributes: PersonaArchiveStringListItem_StringListItemAttributesSchema.nullable().optional(),
40
40
  relationships: PersonaArchiveStringListItem_StringListItemRelationshipsSchema.nullable().optional()
41
- }).describe("String List Item data.");
41
+ }).passthrough().describe("String List Item data.");
42
42
  const personaArchiveStringListItem = action("PERSONA_ARCHIVE_STRING_LIST_ITEM", {
43
43
  slug: "persona-archive-string-list-item",
44
44
  name: "Archive String List Item",
45
45
  description: "Tool to archive a String List Item in Persona. Use when you need to mark a string list item as archived without permanently deleting it. The item will be marked with an archived timestamp and its status will be updated accordingly.",
46
46
  input: PersonaArchiveStringListItemInput,
47
- output: z.object({ data: PersonaArchiveStringListItem_StringListItemDataSchema.nullable().optional() }).describe("Response model for archiving a String List Item.")
47
+ output: z.object({ data: PersonaArchiveStringListItem_StringListItemDataSchema.nullable().optional() }).passthrough().describe("Response model for archiving a String List Item.")
48
48
  });
49
49
  //#endregion
50
50
  export { personaArchiveStringListItem };
@@ -1 +1 @@
1
- {"version":3,"file":"archive-string-list-item.mjs","names":[],"sources":["../../src/actions/archive-string-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaArchiveStringListItemInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. This can be used to customize which attributes will be serialized in the response. See Persona Serialization documentation for more details.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the `included` key in the response. See Persona Serialization documentation for more details.\").optional(),\n list_item_id: z.string().describe(\"ID of list item to archive. Example: 'listr_qCSMQ2eh4ftToxJRunQtxHmksrC8'\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n});\nconst PersonaArchiveStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of the list item.\").nullable().optional(),\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the item was last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"Timestamp when the item was archived.\").nullable().optional(),\n match_count: z.number().int().describe(\"Number of matches for this item.\").nullable().optional(),\n redacted_at: z.string().describe(\"Timestamp when the item was redacted.\").nullable().optional(),\n}).describe(\"Attributes of a String List Item.\");\nconst PersonaArchiveStringListItem_CreatorRelationshipSchema = z.object({\n data: z.object({}).describe(\"Creator relationship data.\").nullable().optional(),\n}).describe(\"Creator relationship information.\");\nconst PersonaArchiveStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaArchiveStringListItem_CreatorRelationshipSchema.nullable().optional(),\n}).describe(\"Relationships of a String List Item.\");\nconst PersonaArchiveStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"ID of the list item.\").nullable().optional(),\n type: z.string().describe(\"Type of the resource.\").nullable().optional(),\n attributes: PersonaArchiveStringListItem_StringListItemAttributesSchema.nullable().optional(),\n relationships: PersonaArchiveStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"String List Item data.\");\nexport const PersonaArchiveStringListItemOutput = z.object({\n data: PersonaArchiveStringListItem_StringListItemDataSchema.nullable().optional(),\n}).describe(\"Response model for archiving a String List Item.\");\n\nexport const personaArchiveStringListItem = action(\"PERSONA_ARCHIVE_STRING_LIST_ITEM\", {\n slug: \"persona-archive-string-list-item\",\n name: \"Archive String List Item\",\n description: \"Tool to archive a String List Item in Persona. Use when you need to mark a string list item as archived without permanently deleting it. The item will be marked with an archived timestamp and its status will be updated accordingly.\",\n input: PersonaArchiveStringListItemInput,\n output: PersonaArchiveStringListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACpP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;CACvQ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC7G,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC1I,iBAAiB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACtL,CAAC;AACD,MAAM,8DAA8D,EAAE,OAAO;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CA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AS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"archive-string-list-item.mjs","names":[],"sources":["../../src/actions/archive-string-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaArchiveStringListItemInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. This can be used to customize which attributes will be serialized in the response. See Persona Serialization documentation for more details.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the `included` key in the response. See Persona Serialization documentation for more details.\").optional(),\n list_item_id: z.string().describe(\"ID of list item to archive. Example: 'listr_qCSMQ2eh4ftToxJRunQtxHmksrC8'\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n});\nconst PersonaArchiveStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of the list item.\").nullable().optional(),\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the item was last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"Timestamp when the item was archived.\").nullable().optional(),\n match_count: z.number().int().describe(\"Number of matches for this item.\").nullable().optional(),\n redacted_at: z.string().describe(\"Timestamp when the item was redacted.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a String List Item.\");\nconst PersonaArchiveStringListItem_CreatorRelationshipSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Creator relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Creator relationship information.\");\nconst PersonaArchiveStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaArchiveStringListItem_CreatorRelationshipSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships of a String List Item.\");\nconst PersonaArchiveStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"ID of the list item.\").nullable().optional(),\n type: z.string().describe(\"Type of the resource.\").nullable().optional(),\n attributes: PersonaArchiveStringListItem_StringListItemAttributesSchema.nullable().optional(),\n relationships: PersonaArchiveStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"String List Item data.\");\nexport const PersonaArchiveStringListItemOutput = z.object({\n data: PersonaArchiveStringListItem_StringListItemDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for archiving a String List Item.\");\n\nexport const personaArchiveStringListItem = action(\"PERSONA_ARCHIVE_STRING_LIST_ITEM\", {\n slug: \"persona-archive-string-list-item\",\n name: \"Archive String List Item\",\n description: \"Tool to archive a String List Item in Persona. Use when you need to mark a string list item as archived without permanently deleting it. The item will be marked with an archived timestamp and its status will be updated accordingly.\",\n input: PersonaArchiveStringListItemInput,\n output: PersonaArchiveStringListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACpP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;CACvQ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC7G,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC1I,iBAAiB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACtL,CAAC;A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AAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAY,4DAA4D,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,+DAA+D,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAKlD,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,sDAAsD,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const PersonaCloneWebhookInput = zod.z.object({
15
15
  const PersonaCloneWebhook_SecretObjectSchema = zod.z.object({
16
16
  value: zod.z.string().describe("Secret key value.").nullable(),
17
17
  "expires-at": zod.z.string().describe("ISO 8601 timestamp when the secret expires.").nullable().optional()
18
- }).describe("Secret object containing the secret value and expiration.");
18
+ }).passthrough().describe("Secret object containing the secret value and expiration.");
19
19
  const PersonaCloneWebhook_WebhookAttributesSchema = zod.z.object({
20
20
  url: zod.z.string().describe("Target URL where webhook events are sent.").nullable().optional(),
21
21
  name: zod.z.string().describe("Name of the webhook.").nullable().optional(),
@@ -30,16 +30,16 @@ const PersonaCloneWebhook_WebhookAttributesSchema = zod.z.object({
30
30
  api_key_inflection: zod.z.string().describe("Casing format for API keys in the webhook payload.").nullable().optional(),
31
31
  api_attributes_blocklist: zod.z.array(zod.z.string()).describe("List of attributes to exclude from the webhook payload.").nullable().optional(),
32
32
  file_access_token_expires_in: zod.z.number().int().describe("Duration in seconds for file access token expiration.").nullable().optional()
33
- }).describe("Attributes of a Persona webhook object.");
33
+ }).passthrough().describe("Attributes of a Persona webhook object.");
34
34
  const PersonaCloneWebhook_WebhookDataSchema = zod.z.object({
35
35
  id: zod.z.string().describe("Unique identifier for the webhook.").nullable(),
36
36
  type: zod.z.string().describe("Resource type, typically 'webhook'.").nullable(),
37
37
  attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional()
38
- }).describe("Webhook data object returned by Persona API.");
38
+ }).passthrough().describe("Webhook data object returned by Persona API.");
39
39
  const PersonaCloneWebhookOutput = zod.z.object({
40
40
  data: PersonaCloneWebhook_WebhookDataSchema.nullable(),
41
41
  included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Related resources included in the response when requested via 'include' parameter.").nullable().optional()
42
- }).describe("Response model for the cloned webhook.");
42
+ }).passthrough().describe("Response model for the cloned webhook.");
43
43
  const personaCloneWebhook = require_action.action("PERSONA_CLONE_WEBHOOK", {
44
44
  slug: "persona-clone-webhook",
45
45
  name: "Clone Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"clone-webhook.cjs","names":["z","action"],"sources":["../../src/actions/clone-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCloneWebhookInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n webhook_id: z.string().describe(\"The ID of the webhook to clone. Must start with \\\"wbh_\\\".\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use to safely retry requests.\").optional(),\n}).describe(\"Request model for cloning a Persona webhook.\");\nconst PersonaCloneWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"Secret key value.\").nullable(),\n \"expires-at\": z.string().describe(\"ISO 8601 timestamp when the secret expires.\").nullable().optional(),\n}).describe(\"Secret object containing the secret value and expiration.\");\nconst PersonaCloneWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., active, inactive).\").nullable().optional(),\n secrets: z.union([z.array(z.string()), z.array(PersonaCloneWebhook_SecretObjectSchema)]).nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in the webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCloneWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCloneWebhookOutput = z.object({\n data: PersonaCloneWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).describe(\"Response model for the cloned webhook.\");\n\nexport const personaCloneWebhook = action(\"PERSONA_CLONE_WEBHOOK\", {\n slug: \"persona-clone-webhook\",\n name: \"Clone Webhook\",\n description: \"Tool to clone an existing Persona webhook. Use when you need to duplicate a webhook configuration with all its settings.\",\n input: PersonaCloneWebhookInput,\n output: PersonaCloneWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,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C,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,sCAAsC,SAAS;CACrD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"clone-webhook.cjs","names":["z","action"],"sources":["../../src/actions/clone-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCloneWebhookInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n webhook_id: z.string().describe(\"The ID of the webhook to clone. Must start with \\\"wbh_\\\".\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use to safely retry requests.\").optional(),\n}).describe(\"Request model for cloning a Persona webhook.\");\nconst PersonaCloneWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"Secret key value.\").nullable(),\n \"expires-at\": z.string().describe(\"ISO 8601 timestamp when the secret expires.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing the secret value and expiration.\");\nconst PersonaCloneWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., active, inactive).\").nullable().optional(),\n secrets: z.union([z.array(z.string()), z.array(PersonaCloneWebhook_SecretObjectSchema)]).nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in the webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCloneWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCloneWebhookOutput = z.object({\n data: PersonaCloneWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the cloned webhook.\");\n\nexport const personaCloneWebhook = action(\"PERSONA_CLONE_WEBHOOK\", {\n slug: \"persona-clone-webhook\",\n name: \"Clone Webhook\",\n description: \"Tool to clone an existing Persona webhook. Use when you need to duplicate a webhook configuration with all its settings.\",\n input: PersonaCloneWebhookInput,\n output: PersonaCloneWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,E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AAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,sCAAsC,SAAS;CACrD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,7 +24,7 @@ declare const PersonaCloneWebhookOutput: z.ZodObject<{
24
24
  secrets: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
25
25
  value: z.ZodNullable<z.ZodString>;
26
26
  "expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>]>>>;
27
+ }, z.core.$loose>>]>>>;
28
28
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  api_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33,10 +33,10 @@ declare const PersonaCloneWebhookOutput: z.ZodObject<{
33
33
  api_key_inflection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  api_attributes_blocklist: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
35
  file_access_token_expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>>>;
37
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>>;
37
+ }, z.core.$loose>>;
38
38
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
39
- }, z.core.$strip>;
39
+ }, z.core.$loose>;
40
40
  declare const personaCloneWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  webhook_id: string;
42
42
  fields?: string | undefined;
@@ -24,7 +24,7 @@ declare const PersonaCloneWebhookOutput: z.ZodObject<{
24
24
  secrets: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
25
25
  value: z.ZodNullable<z.ZodString>;
26
26
  "expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>]>>>;
27
+ }, z.core.$loose>>]>>>;
28
28
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  api_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33,10 +33,10 @@ declare const PersonaCloneWebhookOutput: z.ZodObject<{
33
33
  api_key_inflection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  api_attributes_blocklist: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
35
  file_access_token_expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>>>;
37
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>>;
37
+ }, z.core.$loose>>;
38
38
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
39
- }, z.core.$strip>;
39
+ }, z.core.$loose>;
40
40
  declare const personaCloneWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  webhook_id: string;
42
42
  fields?: string | undefined;
@@ -15,7 +15,7 @@ const PersonaCloneWebhookInput = z.object({
15
15
  const PersonaCloneWebhook_SecretObjectSchema = z.object({
16
16
  value: z.string().describe("Secret key value.").nullable(),
17
17
  "expires-at": z.string().describe("ISO 8601 timestamp when the secret expires.").nullable().optional()
18
- }).describe("Secret object containing the secret value and expiration.");
18
+ }).passthrough().describe("Secret object containing the secret value and expiration.");
19
19
  const PersonaCloneWebhook_WebhookAttributesSchema = z.object({
20
20
  url: z.string().describe("Target URL where webhook events are sent.").nullable().optional(),
21
21
  name: z.string().describe("Name of the webhook.").nullable().optional(),
@@ -30,12 +30,12 @@ const PersonaCloneWebhook_WebhookAttributesSchema = z.object({
30
30
  api_key_inflection: z.string().describe("Casing format for API keys in the webhook payload.").nullable().optional(),
31
31
  api_attributes_blocklist: z.array(z.string()).describe("List of attributes to exclude from the webhook payload.").nullable().optional(),
32
32
  file_access_token_expires_in: z.number().int().describe("Duration in seconds for file access token expiration.").nullable().optional()
33
- }).describe("Attributes of a Persona webhook object.");
33
+ }).passthrough().describe("Attributes of a Persona webhook object.");
34
34
  const PersonaCloneWebhook_WebhookDataSchema = z.object({
35
35
  id: z.string().describe("Unique identifier for the webhook.").nullable(),
36
36
  type: z.string().describe("Resource type, typically 'webhook'.").nullable(),
37
37
  attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional()
38
- }).describe("Webhook data object returned by Persona API.");
38
+ }).passthrough().describe("Webhook data object returned by Persona API.");
39
39
  const personaCloneWebhook = action("PERSONA_CLONE_WEBHOOK", {
40
40
  slug: "persona-clone-webhook",
41
41
  name: "Clone Webhook",
@@ -44,7 +44,7 @@ const personaCloneWebhook = action("PERSONA_CLONE_WEBHOOK", {
44
44
  output: z.object({
45
45
  data: PersonaCloneWebhook_WebhookDataSchema.nullable(),
46
46
  included: z.array(z.record(z.string(), z.unknown())).describe("Related resources included in the response when requested via 'include' parameter.").nullable().optional()
47
- }).describe("Response model for the cloned webhook.")
47
+ }).passthrough().describe("Response model for the cloned webhook.")
48
48
  });
49
49
  //#endregion
50
50
  export { personaCloneWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"clone-webhook.mjs","names":[],"sources":["../../src/actions/clone-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCloneWebhookInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n webhook_id: z.string().describe(\"The ID of the webhook to clone. Must start with \\\"wbh_\\\".\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use to safely retry requests.\").optional(),\n}).describe(\"Request model for cloning a Persona webhook.\");\nconst PersonaCloneWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"Secret key value.\").nullable(),\n \"expires-at\": z.string().describe(\"ISO 8601 timestamp when the secret expires.\").nullable().optional(),\n}).describe(\"Secret object containing the secret value and expiration.\");\nconst PersonaCloneWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., active, inactive).\").nullable().optional(),\n secrets: z.union([z.array(z.string()), z.array(PersonaCloneWebhook_SecretObjectSchema)]).nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in the webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCloneWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCloneWebhookOutput = z.object({\n data: PersonaCloneWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).describe(\"Response model for the cloned webhook.\");\n\nexport const personaCloneWebhook = action(\"PERSONA_CLONE_WEBHOOK\", {\n slug: \"persona-clone-webhook\",\n name: \"Clone Webhook\",\n description: \"Tool to clone an existing Persona webhook. Use when you need to duplicate a webhook configuration with all its settings.\",\n input: PersonaCloneWebhookInput,\n output: PersonaCloneWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC3F,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SA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SAAS,CAAC,CAAC,SAAS;CACtI,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,sCAAsC,SAAS;EACrD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"clone-webhook.mjs","names":[],"sources":["../../src/actions/clone-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCloneWebhookInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n webhook_id: z.string().describe(\"The ID of the webhook to clone. Must start with \\\"wbh_\\\".\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use to safely retry requests.\").optional(),\n}).describe(\"Request model for cloning a Persona webhook.\");\nconst PersonaCloneWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"Secret key value.\").nullable(),\n \"expires-at\": z.string().describe(\"ISO 8601 timestamp when the secret expires.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing the secret value and expiration.\");\nconst PersonaCloneWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., active, inactive).\").nullable().optional(),\n secrets: z.union([z.array(z.string()), z.array(PersonaCloneWebhook_SecretObjectSchema)]).nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in the webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCloneWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCloneWebhookOutput = z.object({\n data: PersonaCloneWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the cloned webhook.\");\n\nexport const personaCloneWebhook = action(\"PERSONA_CLONE_WEBHOOK\", {\n slug: \"persona-clone-webhook\",\n name: \"Clone Webhook\",\n description: \"Tool to clone an existing Persona webhook. Use when you need to duplicate a webhook configuration with all its settings.\",\n input: PersonaCloneWebhookInput,\n output: PersonaCloneWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC3F,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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CAAC,CAAC,SAAS;CAC1E,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,sCAAsC,SAAS;EACrD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -17,11 +17,11 @@ const PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z
17
17
  id: zod.z.string().describe("The ID of the consolidated destination account.").nullable().optional(),
18
18
  type: zod.z.string().describe("Resource type, typically 'account'.").nullable().optional(),
19
19
  attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Account attributes after consolidation.").nullable().optional()
20
- }).describe("Response data for the consolidation operation.");
20
+ }).passthrough().describe("Response data for the consolidation operation.");
21
21
  const PersonaConsolidateIntoAccountOutput = zod.z.object({
22
22
  data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),
23
23
  included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Related resources that were included in the response based on the 'include' parameter.").nullable().optional()
24
- }).describe("Response model for account consolidation.");
24
+ }).passthrough().describe("Response model for account consolidation.");
25
25
  const personaConsolidateIntoAccount = require_action.action("PERSONA_CONSOLIDATE_INTO_ACCOUNT", {
26
26
  slug: "persona-consolidate-into-account",
27
27
  name: "Consolidate Accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"consolidate-into-account.cjs","names":["z","action"],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"Destination Account ID to consolidate source accounts into.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response. Valid values: 'camel', 'kebab', 'snake'.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate consolidations.\").optional(),\n source_account_ids: z.array(z.string()).describe(\"A list of source Account IDs that will be consolidated into the destination account. All data from these accounts will be merged into the destination account.\"),\n}).describe(\"Request model for consolidating multiple source accounts into a destination account.\");\nconst PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the consolidated destination account.\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Account attributes after consolidation.\").nullable().optional(),\n}).describe(\"Response data for the consolidation operation.\");\nexport const PersonaConsolidateIntoAccountOutput = z.object({\n data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response model for account consolidation.\");\n\nexport const personaConsolidateIntoAccount = action(\"PERSONA_CONSOLIDATE_INTO_ACCOUNT\", {\n slug: \"persona-consolidate-into-account\",\n name: \"Consolidate Accounts\",\n description: \"Tool to consolidate multiple source accounts into a single destination account. Use when merging duplicate accounts or combining account data from multiple sources into one primary account.\",\n input: PersonaConsolidateIntoAccountInput,\n output: PersonaConsolidateIntoAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAA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AA2C;AAEvD,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"consolidate-into-account.cjs","names":["z","action"],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"Destination Account ID to consolidate source accounts into.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response. Valid values: 'camel', 'kebab', 'snake'.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate consolidations.\").optional(),\n source_account_ids: z.array(z.string()).describe(\"A list of source Account IDs that will be consolidated into the destination account. All data from these accounts will be merged into the destination account.\"),\n}).describe(\"Request model for consolidating multiple source accounts into a destination account.\");\nconst PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the consolidated destination account.\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Account attributes after consolidation.\").nullable().optional(),\n}).passthrough().describe(\"Response data for the consolidation operation.\");\nexport const PersonaConsolidateIntoAccountOutput = z.object({\n data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for account consolidation.\");\n\nexport const personaConsolidateIntoAccount = action(\"PERSONA_CONSOLIDATE_INTO_ACCOUNT\", {\n slug: \"persona-consolidate-into-account\",\n name: \"Consolidate Accounts\",\n description: \"Tool to consolidate multiple source accounts into a single destination account. Use when merging duplicate accounts or combining account data from multiple sources into one primary account.\",\n input: PersonaConsolidateIntoAccountInput,\n output: PersonaConsolidateIntoAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC9I,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gKAAgK;AACnN,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,yEAAyEA,IAAAA,EAAE,OAAO;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAM,uEAAuE,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,9 +18,9 @@ declare const PersonaConsolidateIntoAccountOutput: z.ZodObject<{
18
18
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
22
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const personaConsolidateIntoAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  account_id: string;
26
26
  source_account_ids: string[];
@@ -18,9 +18,9 @@ declare const PersonaConsolidateIntoAccountOutput: z.ZodObject<{
18
18
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
22
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const personaConsolidateIntoAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  account_id: string;
26
26
  source_account_ids: string[];
@@ -17,7 +17,7 @@ const PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z
17
17
  id: z.string().describe("The ID of the consolidated destination account.").nullable().optional(),
18
18
  type: z.string().describe("Resource type, typically 'account'.").nullable().optional(),
19
19
  attributes: z.record(z.string(), z.unknown()).describe("Account attributes after consolidation.").nullable().optional()
20
- }).describe("Response data for the consolidation operation.");
20
+ }).passthrough().describe("Response data for the consolidation operation.");
21
21
  const personaConsolidateIntoAccount = action("PERSONA_CONSOLIDATE_INTO_ACCOUNT", {
22
22
  slug: "persona-consolidate-into-account",
23
23
  name: "Consolidate Accounts",
@@ -26,7 +26,7 @@ const personaConsolidateIntoAccount = action("PERSONA_CONSOLIDATE_INTO_ACCOUNT",
26
26
  output: z.object({
27
27
  data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),
28
28
  included: z.array(z.record(z.string(), z.unknown())).describe("Related resources that were included in the response based on the 'include' parameter.").nullable().optional()
29
- }).describe("Response model for account consolidation.")
29
+ }).passthrough().describe("Response model for account consolidation.")
30
30
  });
31
31
  //#endregion
32
32
  export { personaConsolidateIntoAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"consolidate-into-account.mjs","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"Destination Account ID to consolidate source accounts into.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response. Valid values: 'camel', 'kebab', 'snake'.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate consolidations.\").optional(),\n source_account_ids: z.array(z.string()).describe(\"A list of source Account IDs that will be consolidated into the destination account. All data from these accounts will be merged into the destination account.\"),\n}).describe(\"Request model for consolidating multiple source accounts into a destination account.\");\nconst PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the consolidated destination account.\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Account attributes after consolidation.\").nullable().optional(),\n}).describe(\"Response data for the consolidation operation.\");\nexport const PersonaConsolidateIntoAccountOutput = z.object({\n data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response model for account consolidation.\");\n\nexport const personaConsolidateIntoAccount = action(\"PERSONA_CONSOLIDATE_INTO_ACCOUNT\", {\n slug: \"persona-consolidate-into-account\",\n name: \"Consolidate Accounts\",\n description: \"Tool to consolidate multiple source accounts into a single destination account. Use when merging duplicate accounts or combining account data from multiple sources into one primary account.\",\n input: PersonaConsolidateIntoAccountInput,\n output: PersonaConsolidateIntoAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1J,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC9I,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gKAAgK;AACnN,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,yEAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAM5D,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,MAAM,uEAAuE,SAAS,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"consolidate-into-account.mjs","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"Destination Account ID to consolidate source accounts into.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response. Valid values: 'camel', 'kebab', 'snake'.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate consolidations.\").optional(),\n source_account_ids: z.array(z.string()).describe(\"A list of source Account IDs that will be consolidated into the destination account. All data from these accounts will be merged into the destination account.\"),\n}).describe(\"Request model for consolidating multiple source accounts into a destination account.\");\nconst PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the consolidated destination account.\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Account attributes after consolidation.\").nullable().optional(),\n}).passthrough().describe(\"Response data for the consolidation operation.\");\nexport const PersonaConsolidateIntoAccountOutput = z.object({\n data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for account consolidation.\");\n\nexport const personaConsolidateIntoAccount = action(\"PERSONA_CONSOLIDATE_INTO_ACCOUNT\", {\n slug: \"persona-consolidate-into-account\",\n name: \"Consolidate Accounts\",\n description: \"Tool to consolidate multiple source accounts into a single destination account. Use when merging duplicate accounts or combining account data from multiple sources into one primary account.\",\n input: PersonaConsolidateIntoAccountInput,\n output: PersonaConsolidateIntoAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1J,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC9I,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gKAAgK;AACnN,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,yEAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,MAAM,uEAAuE,SAAS,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const PersonaCreateAnAccountInput = zod.z.object({
6
6
  type: zod.z.string().default("account").describe("The resource type for JSON:API. Must be 'account'.").optional(),
7
7
  attributes: zod.z.object({
8
8
  tags: zod.z.array(zod.z.string()).describe("Tags to associate with the account.").optional(),
9
- fields: zod.z.object({}).describe("Custom fields for the account. This is not key inflected.").optional(),
9
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields for the account. This is not key inflected.").optional(),
10
10
  birthdate: zod.z.string().describe("Birthdate in YYYY-MM-DD format.").optional(),
11
11
  "name-last": zod.z.string().describe("Last name of the account holder.").optional(),
12
12
  "name-first": zod.z.string().describe("First name of the account holder.").optional(),
@@ -15,7 +15,7 @@ const PersonaCreateAnAccountInput = zod.z.object({
15
15
  "country-code": zod.z.string().describe("Two-letter country code (ISO 3166-1 alpha-2).").optional(),
16
16
  "phone-number": zod.z.string().describe("Phone number for the account.").optional(),
17
17
  "reference-id": zod.z.string().describe("External reference ID for the account.").optional(),
18
- "selfie-photo": zod.z.object({}).describe("Selfie photo data for the account.").optional(),
18
+ "selfie-photo": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Selfie photo data for the account.").optional(),
19
19
  "email-address": zod.z.string().describe("Email address for the account.").optional(),
20
20
  "account-status": zod.z.string().describe("Status of the account.").optional(),
21
21
  "account-type-id": zod.z.string().describe("ID of the account type to use for this account.").optional(),
@@ -28,7 +28,7 @@ const PersonaCreateAnAccountInput = zod.z.object({
28
28
  }).describe("The account data to create."),
29
29
  meta: zod.z.object({ "upsert-by": zod.z.string().describe("The field name to use for upserting the account. This field must be unique across all accounts for the given account type.").optional() }).describe("Meta information for account creation.").optional(),
30
30
  include: zod.z.string().describe("A comma-separated list of relationship paths to include in the response.").optional(),
31
- sparse_fields: zod.z.object({}).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
31
+ sparse_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
32
32
  "Key-Inflection": zod.z.enum([
33
33
  "camel",
34
34
  "kebab",
@@ -48,7 +48,7 @@ const PersonaCreateAnAccountInput = zod.z.object({
48
48
  }).describe("Request model for creating an account in Persona.");
49
49
  const PersonaCreateAnAccount_ResponseAccountAttributesSchema = zod.z.object({
50
50
  tags: zod.z.array(zod.z.string()).describe("Tags associated with the account.").nullable().optional(),
51
- fields: zod.z.object({}).describe("Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.").nullable().optional(),
51
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.").nullable().optional(),
52
52
  birthdate: zod.z.string().describe("Birthdate in YYYY-MM-DD format.").nullable().optional(),
53
53
  "name-last": zod.z.string().describe("Last name of the account holder.").nullable().optional(),
54
54
  "created-at": zod.z.string().describe("Timestamp when the account was created.").nullable().optional(),
@@ -67,26 +67,26 @@ const PersonaCreateAnAccount_ResponseAccountAttributesSchema = zod.z.object({
67
67
  "account-type-name": zod.z.string().describe("Name of the account type.").nullable().optional(),
68
68
  "address-postal-code": zod.z.string().describe("Postal code for the account address.").nullable().optional(),
69
69
  "address-subdivision": zod.z.string().describe("State or subdivision for the account address.").nullable().optional(),
70
- "identification-numbers": zod.z.object({}).describe("Identification numbers for the account.").nullable().optional(),
70
+ "identification-numbers": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Identification numbers for the account.").nullable().optional(),
71
71
  "social-security-number": zod.z.string().describe("Social security number for the account.").nullable().optional()
72
- }).describe("Attributes returned in the account response.");
73
- const PersonaCreateAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.object({}).describe("Relationship data.").nullable().optional() }).describe("Relationship data structure.");
74
- const PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
72
+ }).passthrough().describe("Attributes returned in the account response.");
73
+ const PersonaCreateAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
74
+ const PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
75
75
  const PersonaCreateAnAccount_ResponseAccountDataSchema = zod.z.object({
76
76
  id: zod.z.string().describe("Unique identifier for the account.").nullable(),
77
77
  type: zod.z.string().describe("Resource type, typically 'account'.").nullable(),
78
78
  attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
79
79
  relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
80
- }).describe("Account data returned in the response.");
80
+ }).passthrough().describe("Account data returned in the response.");
81
81
  const PersonaCreateAnAccount_IncludedResourceSchema = zod.z.object({
82
82
  id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
83
83
  type: zod.z.string().describe("Resource type.").nullable(),
84
- attributes: zod.z.object({}).describe("Attributes of the included resource.").nullable().optional()
85
- }).describe("Included resources in the response.");
84
+ attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the included resource.").nullable().optional()
85
+ }).passthrough().describe("Included resources in the response.");
86
86
  const PersonaCreateAnAccountOutput = zod.z.object({
87
87
  data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),
88
88
  included: zod.z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
89
- }).describe("Response model returned after creating an account in Persona.");
89
+ }).passthrough().describe("Response model returned after creating an account in Persona.");
90
90
  const personaCreateAnAccount = require_action.action("PERSONA_CREATE_AN_ACCOUNT", {
91
91
  slug: "persona-create-an-account",
92
92
  name: "Create an Account",
@@ -1 +1 @@
1
- {"version":3,"file":"create-an-account.cjs","names":["z","action"],"sources":["../../src/actions/create-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnAccountInput = z.object({\n data: z.object({\n type: z.string().default(\"account\").describe(\"The resource type for JSON:API. Must be 'account'.\").optional(),\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account.\").optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected.\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").optional(),\n \"selfie-photo\": z.object({}).describe(\"Selfie photo data for the account.\").optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").optional(),\n \"account-type-id\": z.string().describe(\"ID of the account type to use for this account.\").optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").optional(),\n}).describe(\"Attributes for the account.\"),\n}).describe(\"The account data to create.\"),\n meta: z.object({\n \"upsert-by\": z.string().describe(\"The field name to use for upserting the account. This field must be unique across all accounts for the given account type.\").optional(),\n}).describe(\"Meta information for account creation.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").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 creating an account in Persona.\");\nconst PersonaCreateAnAccount_ResponseAccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").nullable().optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").nullable().optional(),\n \"identification-numbers\": z.object({}).describe(\"Identification numbers for the account.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").nullable().optional(),\n}).describe(\"Attributes returned in the account response.\");\nconst PersonaCreateAnAccount_RelationshipDataSchema = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaCreateAnAccount_ResponseAccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaCreateAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaCreateAnAccountOutput = z.object({\n data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after creating an account in Persona.\");\n\nexport const personaCreateAnAccount = action(\"PERSONA_CREATE_AN_ACCOUNT\", {\n slug: \"persona-create-an-account\",\n name: \"Create an Account\",\n description: \"Tool to create an account in Persona. Use when you need to create a new account with personal information such as name, email, phone, address, and custom fields.\",\n input: PersonaCreateAnAccountInput,\n output: PersonaCreateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5G,YAAYA,IAAAA,EAAE,OAAO;GACrB,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,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AC,SAAS;CAC1E,YAAY,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,iDAAiD,SAAS;CAChE,UAAUA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-an-account.cjs","names":["z","action"],"sources":["../../src/actions/create-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnAccountInput = z.object({\n data: z.object({\n type: z.string().default(\"account\").describe(\"The resource type for JSON:API. Must be 'account'.\").optional(),\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected.\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").optional(),\n \"selfie-photo\": z.record(z.string(), z.unknown()).describe(\"Selfie photo data for the account.\").optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").optional(),\n \"account-type-id\": z.string().describe(\"ID of the account type to use for this account.\").optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").optional(),\n}).describe(\"Attributes for the account.\"),\n}).describe(\"The account data to create.\"),\n meta: z.object({\n \"upsert-by\": z.string().describe(\"The field name to use for upserting the account. This field must be unique across all accounts for the given account type.\").optional(),\n}).describe(\"Meta information for account creation.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").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 creating an account in Persona.\");\nconst PersonaCreateAnAccount_ResponseAccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").nullable().optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").nullable().optional(),\n \"identification-numbers\": z.record(z.string(), z.unknown()).describe(\"Identification numbers for the account.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").nullable().optional(),\n}).passthrough().describe(\"Attributes returned in the account response.\");\nconst PersonaCreateAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaCreateAnAccount_ResponseAccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaCreateAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaCreateAnAccountOutput = z.object({\n data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after creating an account in Persona.\");\n\nexport const personaCreateAnAccount = action(\"PERSONA_CREATE_AN_ACCOUNT\", {\n slug: \"persona-create-an-account\",\n name: \"Create an Account\",\n description: \"Tool to create an account in Persona. Use when you need to create a new account with personal information such as name, email, phone, address, and custom fields.\",\n input: PersonaCreateAnAccountInput,\n output: PersonaCreateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5G,YAAYA,IAAAA,EAAE,OAAO;GACrB,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO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AAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PersonaCreateAnAccountInput: z.ZodObject<{
6
6
  type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
7
7
  attributes: z.ZodObject<{
8
8
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
- fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
9
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  birthdate: z.ZodOptional<z.ZodString>;
11
11
  "name-last": z.ZodOptional<z.ZodString>;
12
12
  "name-first": z.ZodOptional<z.ZodString>;
@@ -15,7 +15,7 @@ declare const PersonaCreateAnAccountInput: z.ZodObject<{
15
15
  "country-code": z.ZodOptional<z.ZodString>;
16
16
  "phone-number": z.ZodOptional<z.ZodString>;
17
17
  "reference-id": z.ZodOptional<z.ZodString>;
18
- "selfie-photo": z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
18
+ "selfie-photo": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
19
  "email-address": z.ZodOptional<z.ZodString>;
20
20
  "account-status": z.ZodOptional<z.ZodString>;
21
21
  "account-type-id": z.ZodOptional<z.ZodString>;
@@ -30,7 +30,7 @@ declare const PersonaCreateAnAccountInput: z.ZodObject<{
30
30
  "upsert-by": z.ZodOptional<z.ZodString>;
31
31
  }, z.core.$strip>>;
32
32
  include: z.ZodOptional<z.ZodString>;
33
- sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
33
+ sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34
34
  "Key-Inflection": z.ZodOptional<z.ZodEnum<{
35
35
  camel: "camel";
36
36
  kebab: "kebab";
@@ -54,7 +54,7 @@ declare const PersonaCreateAnAccountOutput: z.ZodObject<{
54
54
  type: z.ZodNullable<z.ZodString>;
55
55
  attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
56
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
57
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
57
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
58
  birthdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  "name-last": z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -73,26 +73,26 @@ declare const PersonaCreateAnAccountOutput: z.ZodObject<{
73
73
  "account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
74
  "address-postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
75
  "address-subdivision": z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
- "identification-numbers": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
76
+ "identification-numbers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
77
  "social-security-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
- }, z.core.$strip>>>;
78
+ }, z.core.$loose>>>;
79
79
  relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
80
80
  "account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
81
- data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
82
- }, z.core.$strip>>>;
83
- }, z.core.$strip>>>;
84
- }, z.core.$strip>>;
81
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
82
+ }, z.core.$loose>>>;
83
+ }, z.core.$loose>>>;
84
+ }, z.core.$loose>>;
85
85
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
86
86
  id: z.ZodNullable<z.ZodString>;
87
87
  type: z.ZodNullable<z.ZodString>;
88
- attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
89
- }, z.core.$strip>>>>;
90
- }, z.core.$strip>;
88
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
89
+ }, z.core.$loose>>>>;
90
+ }, z.core.$loose>;
91
91
  declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
92
92
  data: {
93
93
  attributes: {
94
94
  tags?: string[] | undefined;
95
- fields?: Record<string, never> | undefined;
95
+ fields?: Record<string, unknown> | undefined;
96
96
  birthdate?: string | undefined;
97
97
  "name-last"?: string | undefined;
98
98
  "name-first"?: string | undefined;
@@ -101,7 +101,7 @@ declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActi
101
101
  "country-code"?: string | undefined;
102
102
  "phone-number"?: string | undefined;
103
103
  "reference-id"?: string | undefined;
104
- "selfie-photo"?: Record<string, never> | undefined;
104
+ "selfie-photo"?: Record<string, unknown> | undefined;
105
105
  "email-address"?: string | undefined;
106
106
  "account-status"?: string | undefined;
107
107
  "account-type-id"?: string | undefined;
@@ -117,7 +117,7 @@ declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActi
117
117
  "upsert-by"?: string | undefined;
118
118
  } | undefined;
119
119
  include?: string | undefined;
120
- sparse_fields?: Record<string, never> | undefined;
120
+ sparse_fields?: Record<string, unknown> | undefined;
121
121
  "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
122
122
  "Idempotency-Key"?: string | undefined;
123
123
  "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;