@keystrokehq/persona 0.1.0 → 0.1.2

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 (521) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-account.cjs +4 -4
  4. package/dist/actions/add-tag-to-account.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-account.d.cts +48 -3
  6. package/dist/actions/add-tag-to-account.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-account.d.mts +48 -3
  8. package/dist/actions/add-tag-to-account.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-account.mjs +4 -4
  10. package/dist/actions/add-tag-to-account.mjs.map +1 -1
  11. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +4 -4
  12. package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
  13. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +31 -3
  14. package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts.map +1 -1
  15. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +31 -3
  16. package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts.map +1 -1
  17. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +4 -4
  18. package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
  19. package/dist/actions/archive-a-country-list-item.cjs +6 -6
  20. package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
  21. package/dist/actions/archive-a-country-list-item.d.cts +49 -3
  22. package/dist/actions/archive-a-country-list-item.d.cts.map +1 -1
  23. package/dist/actions/archive-a-country-list-item.d.mts +49 -3
  24. package/dist/actions/archive-a-country-list-item.d.mts.map +1 -1
  25. package/dist/actions/archive-a-country-list-item.mjs +6 -6
  26. package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
  27. package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
  28. package/dist/actions/archive-a-geolocation-list-item.d.cts +41 -3
  29. package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -1
  30. package/dist/actions/archive-a-geolocation-list-item.d.mts +41 -3
  31. package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -1
  32. package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
  33. package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
  34. package/dist/actions/archive-a-government-id-number-list-item.d.cts +31 -3
  35. package/dist/actions/archive-a-government-id-number-list-item.d.cts.map +1 -1
  36. package/dist/actions/archive-a-government-id-number-list-item.d.mts +31 -3
  37. package/dist/actions/archive-a-government-id-number-list-item.d.mts.map +1 -1
  38. package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
  39. package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
  40. package/dist/actions/archive-a-name-list-item.d.cts +30 -3
  41. package/dist/actions/archive-a-name-list-item.d.cts.map +1 -1
  42. package/dist/actions/archive-a-name-list-item.d.mts +30 -3
  43. package/dist/actions/archive-a-name-list-item.d.mts.map +1 -1
  44. package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
  45. package/dist/actions/archive-a-webhook.cjs.map +1 -1
  46. package/dist/actions/archive-a-webhook.d.cts +49 -3
  47. package/dist/actions/archive-a-webhook.d.cts.map +1 -1
  48. package/dist/actions/archive-a-webhook.d.mts +49 -3
  49. package/dist/actions/archive-a-webhook.d.mts.map +1 -1
  50. package/dist/actions/archive-a-webhook.mjs.map +1 -1
  51. package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
  52. package/dist/actions/archive-email-address-list-item.d.cts +50 -3
  53. package/dist/actions/archive-email-address-list-item.d.cts.map +1 -1
  54. package/dist/actions/archive-email-address-list-item.d.mts +50 -3
  55. package/dist/actions/archive-email-address-list-item.d.mts.map +1 -1
  56. package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
  57. package/dist/actions/archive-ip-address-list-item.cjs +4 -4
  58. package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
  59. package/dist/actions/archive-ip-address-list-item.d.cts +34 -3
  60. package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -1
  61. package/dist/actions/archive-ip-address-list-item.d.mts +34 -3
  62. package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -1
  63. package/dist/actions/archive-ip-address-list-item.mjs +4 -4
  64. package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
  65. package/dist/actions/archive-phone-number-list-item.cjs +6 -6
  66. package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
  67. package/dist/actions/archive-phone-number-list-item.d.cts +31 -3
  68. package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -1
  69. package/dist/actions/archive-phone-number-list-item.d.mts +31 -3
  70. package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -1
  71. package/dist/actions/archive-phone-number-list-item.mjs +6 -6
  72. package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
  73. package/dist/actions/archive-string-list-item.cjs.map +1 -1
  74. package/dist/actions/archive-string-list-item.d.cts +49 -3
  75. package/dist/actions/archive-string-list-item.d.cts.map +1 -1
  76. package/dist/actions/archive-string-list-item.d.mts +49 -3
  77. package/dist/actions/archive-string-list-item.d.mts.map +1 -1
  78. package/dist/actions/archive-string-list-item.mjs.map +1 -1
  79. package/dist/actions/clone-webhook.cjs +3 -3
  80. package/dist/actions/clone-webhook.cjs.map +1 -1
  81. package/dist/actions/clone-webhook.d.cts +43 -3
  82. package/dist/actions/clone-webhook.d.cts.map +1 -1
  83. package/dist/actions/clone-webhook.d.mts +43 -3
  84. package/dist/actions/clone-webhook.d.mts.map +1 -1
  85. package/dist/actions/clone-webhook.mjs +3 -3
  86. package/dist/actions/clone-webhook.mjs.map +1 -1
  87. package/dist/actions/consolidate-into-account.cjs.map +1 -1
  88. package/dist/actions/consolidate-into-account.d.cts +28 -3
  89. package/dist/actions/consolidate-into-account.d.cts.map +1 -1
  90. package/dist/actions/consolidate-into-account.d.mts +28 -3
  91. package/dist/actions/consolidate-into-account.d.mts.map +1 -1
  92. package/dist/actions/consolidate-into-account.mjs.map +1 -1
  93. package/dist/actions/create-an-account.cjs +4 -4
  94. package/dist/actions/create-an-account.cjs.map +1 -1
  95. package/dist/actions/create-an-account.d.cts +121 -3
  96. package/dist/actions/create-an-account.d.cts.map +1 -1
  97. package/dist/actions/create-an-account.d.mts +121 -3
  98. package/dist/actions/create-an-account.d.mts.map +1 -1
  99. package/dist/actions/create-an-account.mjs +4 -4
  100. package/dist/actions/create-an-account.mjs.map +1 -1
  101. package/dist/actions/create-an-ip-address-list-item.cjs +4 -4
  102. package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
  103. package/dist/actions/create-an-ip-address-list-item.d.cts +41 -3
  104. package/dist/actions/create-an-ip-address-list-item.d.cts.map +1 -1
  105. package/dist/actions/create-an-ip-address-list-item.d.mts +41 -3
  106. package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -1
  107. package/dist/actions/create-an-ip-address-list-item.mjs +4 -4
  108. package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
  109. package/dist/actions/create-country-list-item.cjs +2 -2
  110. package/dist/actions/create-country-list-item.cjs.map +1 -1
  111. package/dist/actions/create-country-list-item.d.cts +62 -3
  112. package/dist/actions/create-country-list-item.d.cts.map +1 -1
  113. package/dist/actions/create-country-list-item.d.mts +62 -3
  114. package/dist/actions/create-country-list-item.d.mts.map +1 -1
  115. package/dist/actions/create-country-list-item.mjs +2 -2
  116. package/dist/actions/create-country-list-item.mjs.map +1 -1
  117. package/dist/actions/create-document-generic.cjs +4 -4
  118. package/dist/actions/create-document-generic.cjs.map +1 -1
  119. package/dist/actions/create-document-generic.d.cts +73 -3
  120. package/dist/actions/create-document-generic.d.cts.map +1 -1
  121. package/dist/actions/create-document-generic.d.mts +73 -3
  122. package/dist/actions/create-document-generic.d.mts.map +1 -1
  123. package/dist/actions/create-document-generic.mjs +4 -4
  124. package/dist/actions/create-document-generic.mjs.map +1 -1
  125. package/dist/actions/create-email-address-list-item.cjs +7 -7
  126. package/dist/actions/create-email-address-list-item.cjs.map +1 -1
  127. package/dist/actions/create-email-address-list-item.d.cts +39 -3
  128. package/dist/actions/create-email-address-list-item.d.cts.map +1 -1
  129. package/dist/actions/create-email-address-list-item.d.mts +39 -3
  130. package/dist/actions/create-email-address-list-item.d.mts.map +1 -1
  131. package/dist/actions/create-email-address-list-item.mjs +7 -7
  132. package/dist/actions/create-email-address-list-item.mjs.map +1 -1
  133. package/dist/actions/create-government-id-number-list-item.cjs +7 -7
  134. package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
  135. package/dist/actions/create-government-id-number-list-item.d.cts +42 -3
  136. package/dist/actions/create-government-id-number-list-item.d.cts.map +1 -1
  137. package/dist/actions/create-government-id-number-list-item.d.mts +42 -3
  138. package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -1
  139. package/dist/actions/create-government-id-number-list-item.mjs +7 -7
  140. package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
  141. package/dist/actions/create-name-list-item.cjs +7 -7
  142. package/dist/actions/create-name-list-item.cjs.map +1 -1
  143. package/dist/actions/create-name-list-item.d.cts +47 -3
  144. package/dist/actions/create-name-list-item.d.cts.map +1 -1
  145. package/dist/actions/create-name-list-item.d.mts +47 -3
  146. package/dist/actions/create-name-list-item.d.mts.map +1 -1
  147. package/dist/actions/create-name-list-item.mjs +7 -7
  148. package/dist/actions/create-name-list-item.mjs.map +1 -1
  149. package/dist/actions/create-phone-number-list-item.cjs +4 -4
  150. package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
  151. package/dist/actions/create-phone-number-list-item.d.cts +46 -3
  152. package/dist/actions/create-phone-number-list-item.d.cts.map +1 -1
  153. package/dist/actions/create-phone-number-list-item.d.mts +46 -3
  154. package/dist/actions/create-phone-number-list-item.d.mts.map +1 -1
  155. package/dist/actions/create-phone-number-list-item.mjs +4 -4
  156. package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
  157. package/dist/actions/create-string-list-item.cjs +4 -4
  158. package/dist/actions/create-string-list-item.cjs.map +1 -1
  159. package/dist/actions/create-string-list-item.d.cts +39 -3
  160. package/dist/actions/create-string-list-item.d.cts.map +1 -1
  161. package/dist/actions/create-string-list-item.d.mts +39 -3
  162. package/dist/actions/create-string-list-item.d.mts.map +1 -1
  163. package/dist/actions/create-string-list-item.mjs +4 -4
  164. package/dist/actions/create-string-list-item.mjs.map +1 -1
  165. package/dist/actions/create-webhook.cjs +3 -3
  166. package/dist/actions/create-webhook.cjs.map +1 -1
  167. package/dist/actions/create-webhook.d.cts +72 -3
  168. package/dist/actions/create-webhook.d.cts.map +1 -1
  169. package/dist/actions/create-webhook.d.mts +72 -3
  170. package/dist/actions/create-webhook.d.mts.map +1 -1
  171. package/dist/actions/create-webhook.mjs +3 -3
  172. package/dist/actions/create-webhook.mjs.map +1 -1
  173. package/dist/actions/disable-webhook.cjs.map +1 -1
  174. package/dist/actions/disable-webhook.d.cts +49 -3
  175. package/dist/actions/disable-webhook.d.cts.map +1 -1
  176. package/dist/actions/disable-webhook.d.mts +49 -3
  177. package/dist/actions/disable-webhook.d.mts.map +1 -1
  178. package/dist/actions/disable-webhook.mjs.map +1 -1
  179. package/dist/actions/enable-webhook.cjs +2 -2
  180. package/dist/actions/enable-webhook.cjs.map +1 -1
  181. package/dist/actions/enable-webhook.d.cts +47 -3
  182. package/dist/actions/enable-webhook.d.cts.map +1 -1
  183. package/dist/actions/enable-webhook.d.mts +47 -3
  184. package/dist/actions/enable-webhook.d.mts.map +1 -1
  185. package/dist/actions/enable-webhook.mjs +2 -2
  186. package/dist/actions/enable-webhook.mjs.map +1 -1
  187. package/dist/actions/expire-inquiry-sessions.cjs +4 -4
  188. package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
  189. package/dist/actions/expire-inquiry-sessions.d.cts +54 -3
  190. package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -1
  191. package/dist/actions/expire-inquiry-sessions.d.mts +54 -3
  192. package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -1
  193. package/dist/actions/expire-inquiry-sessions.mjs +4 -4
  194. package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
  195. package/dist/actions/import-email-address-lists.cjs +7 -7
  196. package/dist/actions/import-email-address-lists.cjs.map +1 -1
  197. package/dist/actions/import-email-address-lists.d.cts +30 -3
  198. package/dist/actions/import-email-address-lists.d.cts.map +1 -1
  199. package/dist/actions/import-email-address-lists.d.mts +30 -3
  200. package/dist/actions/import-email-address-lists.d.mts.map +1 -1
  201. package/dist/actions/import-email-address-lists.mjs +7 -7
  202. package/dist/actions/import-email-address-lists.mjs.map +1 -1
  203. package/dist/actions/import-ip-address-lists.cjs +7 -7
  204. package/dist/actions/import-ip-address-lists.cjs.map +1 -1
  205. package/dist/actions/import-ip-address-lists.d.cts +46 -3
  206. package/dist/actions/import-ip-address-lists.d.cts.map +1 -1
  207. package/dist/actions/import-ip-address-lists.d.mts +46 -3
  208. package/dist/actions/import-ip-address-lists.d.mts.map +1 -1
  209. package/dist/actions/import-ip-address-lists.mjs +7 -7
  210. package/dist/actions/import-ip-address-lists.mjs.map +1 -1
  211. package/dist/actions/import-name-lists.cjs.map +1 -1
  212. package/dist/actions/import-name-lists.d.cts +36 -3
  213. package/dist/actions/import-name-lists.d.cts.map +1 -1
  214. package/dist/actions/import-name-lists.d.mts +36 -3
  215. package/dist/actions/import-name-lists.d.mts.map +1 -1
  216. package/dist/actions/import-name-lists.mjs.map +1 -1
  217. package/dist/actions/import-phone-number-lists.cjs +7 -7
  218. package/dist/actions/import-phone-number-lists.cjs.map +1 -1
  219. package/dist/actions/import-phone-number-lists.d.cts +46 -3
  220. package/dist/actions/import-phone-number-lists.d.cts.map +1 -1
  221. package/dist/actions/import-phone-number-lists.d.mts +46 -3
  222. package/dist/actions/import-phone-number-lists.d.mts.map +1 -1
  223. package/dist/actions/import-phone-number-lists.mjs +7 -7
  224. package/dist/actions/import-phone-number-lists.mjs.map +1 -1
  225. package/dist/actions/list-all-accounts.cjs +2 -2
  226. package/dist/actions/list-all-accounts.cjs.map +1 -1
  227. package/dist/actions/list-all-accounts.d.cts +60 -3
  228. package/dist/actions/list-all-accounts.d.cts.map +1 -1
  229. package/dist/actions/list-all-accounts.d.mts +60 -3
  230. package/dist/actions/list-all-accounts.d.mts.map +1 -1
  231. package/dist/actions/list-all-accounts.mjs +2 -2
  232. package/dist/actions/list-all-accounts.mjs.map +1 -1
  233. package/dist/actions/list-all-api-logs.cjs +2 -2
  234. package/dist/actions/list-all-api-logs.cjs.map +1 -1
  235. package/dist/actions/list-all-api-logs.d.cts +54 -3
  236. package/dist/actions/list-all-api-logs.d.cts.map +1 -1
  237. package/dist/actions/list-all-api-logs.d.mts +54 -3
  238. package/dist/actions/list-all-api-logs.d.mts.map +1 -1
  239. package/dist/actions/list-all-api-logs.mjs +2 -2
  240. package/dist/actions/list-all-api-logs.mjs.map +1 -1
  241. package/dist/actions/list-all-cases.cjs +4 -4
  242. package/dist/actions/list-all-cases.cjs.map +1 -1
  243. package/dist/actions/list-all-cases.d.cts +66 -3
  244. package/dist/actions/list-all-cases.d.cts.map +1 -1
  245. package/dist/actions/list-all-cases.d.mts +66 -3
  246. package/dist/actions/list-all-cases.d.mts.map +1 -1
  247. package/dist/actions/list-all-cases.mjs +4 -4
  248. package/dist/actions/list-all-cases.mjs.map +1 -1
  249. package/dist/actions/list-all-devices.cjs +2 -2
  250. package/dist/actions/list-all-devices.cjs.map +1 -1
  251. package/dist/actions/list-all-devices.d.cts +46 -3
  252. package/dist/actions/list-all-devices.d.cts.map +1 -1
  253. package/dist/actions/list-all-devices.d.mts +46 -3
  254. package/dist/actions/list-all-devices.d.mts.map +1 -1
  255. package/dist/actions/list-all-devices.mjs +2 -2
  256. package/dist/actions/list-all-devices.mjs.map +1 -1
  257. package/dist/actions/list-all-events.cjs.map +1 -1
  258. package/dist/actions/list-all-events.d.cts +50 -3
  259. package/dist/actions/list-all-events.d.cts.map +1 -1
  260. package/dist/actions/list-all-events.d.mts +50 -3
  261. package/dist/actions/list-all-events.d.mts.map +1 -1
  262. package/dist/actions/list-all-events.mjs.map +1 -1
  263. package/dist/actions/list-all-importers.cjs.map +1 -1
  264. package/dist/actions/list-all-importers.d.cts +50 -3
  265. package/dist/actions/list-all-importers.d.cts.map +1 -1
  266. package/dist/actions/list-all-importers.d.mts +50 -3
  267. package/dist/actions/list-all-importers.d.mts.map +1 -1
  268. package/dist/actions/list-all-importers.mjs.map +1 -1
  269. package/dist/actions/list-all-inquiries.cjs +2 -2
  270. package/dist/actions/list-all-inquiries.cjs.map +1 -1
  271. package/dist/actions/list-all-inquiries.d.cts +63 -3
  272. package/dist/actions/list-all-inquiries.d.cts.map +1 -1
  273. package/dist/actions/list-all-inquiries.d.mts +63 -3
  274. package/dist/actions/list-all-inquiries.d.mts.map +1 -1
  275. package/dist/actions/list-all-inquiries.mjs +2 -2
  276. package/dist/actions/list-all-inquiries.mjs.map +1 -1
  277. package/dist/actions/list-all-inquiry-sessions.cjs +4 -4
  278. package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
  279. package/dist/actions/list-all-inquiry-sessions.d.cts +56 -3
  280. package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -1
  281. package/dist/actions/list-all-inquiry-sessions.d.mts +56 -3
  282. package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -1
  283. package/dist/actions/list-all-inquiry-sessions.mjs +4 -4
  284. package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
  285. package/dist/actions/list-all-lists.cjs.map +1 -1
  286. package/dist/actions/list-all-lists.d.cts +45 -3
  287. package/dist/actions/list-all-lists.d.cts.map +1 -1
  288. package/dist/actions/list-all-lists.d.mts +45 -3
  289. package/dist/actions/list-all-lists.d.mts.map +1 -1
  290. package/dist/actions/list-all-lists.mjs.map +1 -1
  291. package/dist/actions/list-all-rate-limits.cjs.map +1 -1
  292. package/dist/actions/list-all-rate-limits.d.cts +36 -3
  293. package/dist/actions/list-all-rate-limits.d.cts.map +1 -1
  294. package/dist/actions/list-all-rate-limits.d.mts +36 -3
  295. package/dist/actions/list-all-rate-limits.d.mts.map +1 -1
  296. package/dist/actions/list-all-rate-limits.mjs.map +1 -1
  297. package/dist/actions/list-all-reports.cjs +2 -2
  298. package/dist/actions/list-all-reports.cjs.map +1 -1
  299. package/dist/actions/list-all-reports.d.cts +65 -3
  300. package/dist/actions/list-all-reports.d.cts.map +1 -1
  301. package/dist/actions/list-all-reports.d.mts +65 -3
  302. package/dist/actions/list-all-reports.d.mts.map +1 -1
  303. package/dist/actions/list-all-reports.mjs +2 -2
  304. package/dist/actions/list-all-reports.mjs.map +1 -1
  305. package/dist/actions/list-all-transactions.cjs +2 -2
  306. package/dist/actions/list-all-transactions.cjs.map +1 -1
  307. package/dist/actions/list-all-transactions.d.cts +55 -3
  308. package/dist/actions/list-all-transactions.d.cts.map +1 -1
  309. package/dist/actions/list-all-transactions.d.mts +55 -3
  310. package/dist/actions/list-all-transactions.d.mts.map +1 -1
  311. package/dist/actions/list-all-transactions.mjs +2 -2
  312. package/dist/actions/list-all-transactions.mjs.map +1 -1
  313. package/dist/actions/list-all-webhooks.cjs +2 -2
  314. package/dist/actions/list-all-webhooks.cjs.map +1 -1
  315. package/dist/actions/list-all-webhooks.d.cts +57 -3
  316. package/dist/actions/list-all-webhooks.d.cts.map +1 -1
  317. package/dist/actions/list-all-webhooks.d.mts +57 -3
  318. package/dist/actions/list-all-webhooks.d.mts.map +1 -1
  319. package/dist/actions/list-all-webhooks.mjs +2 -2
  320. package/dist/actions/list-all-webhooks.mjs.map +1 -1
  321. package/dist/actions/list-all-workflow-runs.cjs +2 -2
  322. package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
  323. package/dist/actions/list-all-workflow-runs.d.cts +65 -3
  324. package/dist/actions/list-all-workflow-runs.d.cts.map +1 -1
  325. package/dist/actions/list-all-workflow-runs.d.mts +65 -3
  326. package/dist/actions/list-all-workflow-runs.d.mts.map +1 -1
  327. package/dist/actions/list-all-workflow-runs.mjs +2 -2
  328. package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
  329. package/dist/actions/redact-an-account.cjs +4 -4
  330. package/dist/actions/redact-an-account.cjs.map +1 -1
  331. package/dist/actions/redact-an-account.d.cts +55 -3
  332. package/dist/actions/redact-an-account.d.cts.map +1 -1
  333. package/dist/actions/redact-an-account.d.mts +55 -3
  334. package/dist/actions/redact-an-account.d.mts.map +1 -1
  335. package/dist/actions/redact-an-account.mjs +4 -4
  336. package/dist/actions/redact-an-account.mjs.map +1 -1
  337. package/dist/actions/remove-account-tag.cjs +4 -4
  338. package/dist/actions/remove-account-tag.cjs.map +1 -1
  339. package/dist/actions/remove-account-tag.d.cts +46 -3
  340. package/dist/actions/remove-account-tag.d.cts.map +1 -1
  341. package/dist/actions/remove-account-tag.d.mts +46 -3
  342. package/dist/actions/remove-account-tag.d.mts.map +1 -1
  343. package/dist/actions/remove-account-tag.mjs +4 -4
  344. package/dist/actions/remove-account-tag.mjs.map +1 -1
  345. package/dist/actions/retrieve-a-country-list-item.cjs +2 -2
  346. package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
  347. package/dist/actions/retrieve-a-country-list-item.d.cts +49 -3
  348. package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -1
  349. package/dist/actions/retrieve-a-country-list-item.d.mts +49 -3
  350. package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -1
  351. package/dist/actions/retrieve-a-country-list-item.mjs +2 -2
  352. package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
  353. package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
  354. package/dist/actions/retrieve-a-geolocation-list-item.d.cts +54 -3
  355. package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -1
  356. package/dist/actions/retrieve-a-geolocation-list-item.d.mts +54 -3
  357. package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -1
  358. package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
  359. package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
  360. package/dist/actions/retrieve-a-name-list-item.d.cts +50 -3
  361. package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -1
  362. package/dist/actions/retrieve-a-name-list-item.d.mts +50 -3
  363. package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -1
  364. package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
  365. package/dist/actions/retrieve-a-string-list-item.cjs +2 -2
  366. package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
  367. package/dist/actions/retrieve-a-string-list-item.d.cts +49 -3
  368. package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -1
  369. package/dist/actions/retrieve-a-string-list-item.d.mts +49 -3
  370. package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -1
  371. package/dist/actions/retrieve-a-string-list-item.mjs +2 -2
  372. package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
  373. package/dist/actions/retrieve-a-webhook.cjs +3 -3
  374. package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
  375. package/dist/actions/retrieve-a-webhook.d.cts +54 -3
  376. package/dist/actions/retrieve-a-webhook.d.cts.map +1 -1
  377. package/dist/actions/retrieve-a-webhook.d.mts +54 -3
  378. package/dist/actions/retrieve-a-webhook.d.mts.map +1 -1
  379. package/dist/actions/retrieve-a-webhook.mjs +3 -3
  380. package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
  381. package/dist/actions/retrieve-an-account.cjs +4 -4
  382. package/dist/actions/retrieve-an-account.cjs.map +1 -1
  383. package/dist/actions/retrieve-an-account.d.cts +55 -3
  384. package/dist/actions/retrieve-an-account.d.cts.map +1 -1
  385. package/dist/actions/retrieve-an-account.d.mts +55 -3
  386. package/dist/actions/retrieve-an-account.d.mts.map +1 -1
  387. package/dist/actions/retrieve-an-account.mjs +4 -4
  388. package/dist/actions/retrieve-an-account.mjs.map +1 -1
  389. package/dist/actions/retrieve-an-event.cjs +4 -4
  390. package/dist/actions/retrieve-an-event.cjs.map +1 -1
  391. package/dist/actions/retrieve-an-event.d.cts +46 -3
  392. package/dist/actions/retrieve-an-event.d.cts.map +1 -1
  393. package/dist/actions/retrieve-an-event.d.mts +46 -3
  394. package/dist/actions/retrieve-an-event.d.mts.map +1 -1
  395. package/dist/actions/retrieve-an-event.mjs +4 -4
  396. package/dist/actions/retrieve-an-event.mjs.map +1 -1
  397. package/dist/actions/retrieve-an-importer.cjs.map +1 -1
  398. package/dist/actions/retrieve-an-importer.d.cts +44 -3
  399. package/dist/actions/retrieve-an-importer.d.cts.map +1 -1
  400. package/dist/actions/retrieve-an-importer.d.mts +44 -3
  401. package/dist/actions/retrieve-an-importer.d.mts.map +1 -1
  402. package/dist/actions/retrieve-an-importer.mjs.map +1 -1
  403. package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
  404. package/dist/actions/retrieve-an-ip-address-list-item.d.cts +49 -3
  405. package/dist/actions/retrieve-an-ip-address-list-item.d.cts.map +1 -1
  406. package/dist/actions/retrieve-an-ip-address-list-item.d.mts +49 -3
  407. package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -1
  408. package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
  409. package/dist/actions/retrieve-api-log.cjs +4 -4
  410. package/dist/actions/retrieve-api-log.cjs.map +1 -1
  411. package/dist/actions/retrieve-api-log.d.cts +54 -3
  412. package/dist/actions/retrieve-api-log.d.cts.map +1 -1
  413. package/dist/actions/retrieve-api-log.d.mts +54 -3
  414. package/dist/actions/retrieve-api-log.d.mts.map +1 -1
  415. package/dist/actions/retrieve-api-log.mjs +4 -4
  416. package/dist/actions/retrieve-api-log.mjs.map +1 -1
  417. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +4 -4
  418. package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
  419. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +47 -3
  420. package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -1
  421. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +47 -3
  422. package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -1
  423. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +4 -4
  424. package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
  425. package/dist/actions/retrieve-document-generic.cjs +4 -4
  426. package/dist/actions/retrieve-document-generic.cjs.map +1 -1
  427. package/dist/actions/retrieve-document-generic.d.cts +61 -3
  428. package/dist/actions/retrieve-document-generic.d.cts.map +1 -1
  429. package/dist/actions/retrieve-document-generic.d.mts +61 -3
  430. package/dist/actions/retrieve-document-generic.d.mts.map +1 -1
  431. package/dist/actions/retrieve-document-generic.mjs +4 -4
  432. package/dist/actions/retrieve-document-generic.mjs.map +1 -1
  433. package/dist/actions/retrieve-document.cjs +5 -5
  434. package/dist/actions/retrieve-document.cjs.map +1 -1
  435. package/dist/actions/retrieve-document.d.cts +81 -3
  436. package/dist/actions/retrieve-document.d.cts.map +1 -1
  437. package/dist/actions/retrieve-document.d.mts +81 -3
  438. package/dist/actions/retrieve-document.d.mts.map +1 -1
  439. package/dist/actions/retrieve-document.mjs +5 -5
  440. package/dist/actions/retrieve-document.mjs.map +1 -1
  441. package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
  442. package/dist/actions/retrieve-email-address-list-item.d.cts +50 -3
  443. package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -1
  444. package/dist/actions/retrieve-email-address-list-item.d.mts +50 -3
  445. package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -1
  446. package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
  447. package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
  448. package/dist/actions/retrieve-government-id-number-list-item.d.cts +50 -3
  449. package/dist/actions/retrieve-government-id-number-list-item.d.cts.map +1 -1
  450. package/dist/actions/retrieve-government-id-number-list-item.d.mts +50 -3
  451. package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -1
  452. package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
  453. package/dist/actions/retrieve-phone-number-list-item.cjs +4 -4
  454. package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
  455. package/dist/actions/retrieve-phone-number-list-item.d.cts +52 -3
  456. package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -1
  457. package/dist/actions/retrieve-phone-number-list-item.d.mts +52 -3
  458. package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -1
  459. package/dist/actions/retrieve-phone-number-list-item.mjs +4 -4
  460. package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
  461. package/dist/actions/rotate-webhook-secret.cjs +2 -2
  462. package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
  463. package/dist/actions/rotate-webhook-secret.d.cts +53 -3
  464. package/dist/actions/rotate-webhook-secret.d.cts.map +1 -1
  465. package/dist/actions/rotate-webhook-secret.d.mts +53 -3
  466. package/dist/actions/rotate-webhook-secret.d.mts.map +1 -1
  467. package/dist/actions/rotate-webhook-secret.mjs +2 -2
  468. package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
  469. package/dist/actions/search-accounts.cjs.map +1 -1
  470. package/dist/actions/search-accounts.d.cts +71 -3
  471. package/dist/actions/search-accounts.d.cts.map +1 -1
  472. package/dist/actions/search-accounts.d.mts +71 -3
  473. package/dist/actions/search-accounts.d.mts.map +1 -1
  474. package/dist/actions/search-accounts.mjs.map +1 -1
  475. package/dist/actions/search-cases.cjs +2 -2
  476. package/dist/actions/search-cases.cjs.map +1 -1
  477. package/dist/actions/search-cases.d.cts +69 -3
  478. package/dist/actions/search-cases.d.cts.map +1 -1
  479. package/dist/actions/search-cases.d.mts +69 -3
  480. package/dist/actions/search-cases.d.mts.map +1 -1
  481. package/dist/actions/search-cases.mjs +2 -2
  482. package/dist/actions/search-cases.mjs.map +1 -1
  483. package/dist/actions/set-tags.cjs +4 -4
  484. package/dist/actions/set-tags.cjs.map +1 -1
  485. package/dist/actions/set-tags.d.cts +52 -3
  486. package/dist/actions/set-tags.d.cts.map +1 -1
  487. package/dist/actions/set-tags.d.mts +52 -3
  488. package/dist/actions/set-tags.d.mts.map +1 -1
  489. package/dist/actions/set-tags.mjs +4 -4
  490. package/dist/actions/set-tags.mjs.map +1 -1
  491. package/dist/actions/update-a-webhook.cjs +2 -2
  492. package/dist/actions/update-a-webhook.cjs.map +1 -1
  493. package/dist/actions/update-a-webhook.d.cts +69 -3
  494. package/dist/actions/update-a-webhook.d.cts.map +1 -1
  495. package/dist/actions/update-a-webhook.d.mts +69 -3
  496. package/dist/actions/update-a-webhook.d.mts.map +1 -1
  497. package/dist/actions/update-a-webhook.mjs +2 -2
  498. package/dist/actions/update-a-webhook.mjs.map +1 -1
  499. package/dist/actions/update-an-account.cjs +4 -4
  500. package/dist/actions/update-an-account.cjs.map +1 -1
  501. package/dist/actions/update-an-account.d.cts +113 -3
  502. package/dist/actions/update-an-account.d.cts.map +1 -1
  503. package/dist/actions/update-an-account.d.mts +113 -3
  504. package/dist/actions/update-an-account.d.mts.map +1 -1
  505. package/dist/actions/update-an-account.mjs +4 -4
  506. package/dist/actions/update-an-account.mjs.map +1 -1
  507. package/dist/actions/update-document-generic.cjs +5 -5
  508. package/dist/actions/update-document-generic.cjs.map +1 -1
  509. package/dist/actions/update-document-generic.d.cts +87 -3
  510. package/dist/actions/update-document-generic.d.cts.map +1 -1
  511. package/dist/actions/update-document-generic.d.mts +87 -3
  512. package/dist/actions/update-document-generic.d.mts.map +1 -1
  513. package/dist/actions/update-document-generic.mjs +5 -5
  514. package/dist/actions/update-document-generic.mjs.map +1 -1
  515. package/dist/catalog.cjs +7 -1
  516. package/dist/catalog.cjs.map +1 -1
  517. package/dist/catalog.d.cts +8 -0
  518. package/dist/catalog.d.mts +8 -0
  519. package/dist/catalog.mjs +7 -1
  520. package/dist/catalog.mjs.map +1 -1
  521. package/package.json +2 -2
@@ -29,14 +29,14 @@ const PersonaSetTags_AccountAttributesSchema = z.object({
29
29
  const PersonaSetTags_AccountRelationshipDataSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Related resource data.").nullable().optional() }).describe("Relationship data object.");
30
30
  const PersonaSetTags_AccountRelationshipsSchema = z.object({ "account-type": PersonaSetTags_AccountRelationshipDataSchema.nullable().optional() }).describe("Relationships of a Persona account.");
31
31
  const PersonaSetTags_AccountDataSchema = z.object({
32
- id: z.string().describe("The unique identifier for the account."),
33
- type: z.string().describe("The resource type (account)."),
32
+ id: z.string().describe("The unique identifier for the account.").nullable(),
33
+ type: z.string().describe("The resource type (account).").nullable(),
34
34
  attributes: PersonaSetTags_AccountAttributesSchema.nullable().optional(),
35
35
  relationships: PersonaSetTags_AccountRelationshipsSchema.nullable().optional()
36
36
  }).describe("Account data object.");
37
37
  const PersonaSetTags_IncludedResourceSchema = z.object({
38
- id: z.string().describe("The unique identifier for the included resource."),
39
- type: z.string().describe("The type of the included resource."),
38
+ id: z.string().describe("The unique identifier for the included resource.").nullable(),
39
+ type: z.string().describe("The type of the included resource.").nullable(),
40
40
  attributes: z.record(z.string(), z.unknown()).describe("Attributes of the included resource.").nullable().optional()
41
41
  }).describe("Included related resource.");
42
42
  const personaSetTags = action("PERSONA_SET_TAGS", {
@@ -1 +1 @@
1
- {"version":3,"file":"set-tags.mjs","names":[],"sources":["../../src/actions/set-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaSetTagsInput: z.ZodTypeAny = z.object({\n meta: z.object({\n \"tag-id\": z.array(z.string()).describe(\"ID of the tags to set on the Account. Either tag_id or tag_name must be provided.\").optional(),\n \"tag-name\": z.array(z.string()).describe(\"Name of the tags to set on the Account. Either tag_id or tag_name must be provided.\").optional(),\n}).describe(\"Meta object containing tag information (tag_id or tag_name arrays).\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This can be used to customize which related resources will be fully serialized in the 'included' key.\").optional(),\n \"account-id\": z.string().describe(\"The ID of the account to set tags on.\"),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate operations.\").optional(),\n}).describe(\"Request parameters for setting tags on a Persona account.\");\nconst PersonaSetTags_AccountAttributesSchema: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the account. Note that fields is not key inflected.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).describe(\"Attributes of a Persona account.\");\nconst PersonaSetTags_AccountRelationshipDataSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Related resource data.\").nullable().optional(),\n}).describe(\"Relationship data object.\");\nconst PersonaSetTags_AccountRelationshipsSchema: z.ZodTypeAny = z.object({\n \"account-type\": PersonaSetTags_AccountRelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships of a Persona account.\");\nconst PersonaSetTags_AccountDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the account.\"),\n type: z.string().describe(\"The resource type (account).\"),\n attributes: PersonaSetTags_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaSetTags_AccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data object.\");\nconst PersonaSetTags_IncludedResourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the included resource.\"),\n type: z.string().describe(\"The type of the included resource.\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included related resource.\");\nexport const PersonaSetTagsOutput: z.ZodTypeAny = z.object({\n data: PersonaSetTags_AccountDataSchema.nullable(),\n included: z.array(PersonaSetTags_IncludedResourceSchema).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response from setting tags on a Persona account.\");\n\nexport const personaSetTags = action(\"PERSONA_SET_TAGS\", {\n slug: \"persona-set-tags\",\n name: \"Set Tags on Account\",\n description: \"Tool to set tags on a Persona Account. Use when you need to assign or update tags for an account using either tag IDs or tag names. This operation replaces all existing tags with the provided ones.\",\n input: PersonaSetTagsInput,\n output: PersonaSetTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAC/E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CACxN,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACzE,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AA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EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,YAAY,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACvE,eAAe,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAMxC,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,MAAM,iCAAiC,SAAS;EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"set-tags.mjs","names":[],"sources":["../../src/actions/set-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaSetTagsInput = z.object({\n meta: z.object({\n \"tag-id\": z.array(z.string()).describe(\"ID of the tags to set on the Account. Either tag_id or tag_name must be provided.\").optional(),\n \"tag-name\": z.array(z.string()).describe(\"Name of the tags to set on the Account. Either tag_id or tag_name must be provided.\").optional(),\n}).describe(\"Meta object containing tag information (tag_id or tag_name arrays).\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This can be used to customize which related resources will be fully serialized in the 'included' key.\").optional(),\n \"account-id\": z.string().describe(\"The ID of the account to set tags on.\"),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate operations.\").optional(),\n}).describe(\"Request parameters for setting tags on a Persona account.\");\nconst PersonaSetTags_AccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the account. Note that fields is not key inflected.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).describe(\"Attributes of a Persona account.\");\nconst PersonaSetTags_AccountRelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Related resource data.\").nullable().optional(),\n}).describe(\"Relationship data object.\");\nconst PersonaSetTags_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaSetTags_AccountRelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships of a Persona account.\");\nconst PersonaSetTags_AccountDataSchema = z.object({\n id: z.string().describe(\"The unique identifier for the account.\").nullable(),\n type: z.string().describe(\"The resource type (account).\").nullable(),\n attributes: PersonaSetTags_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaSetTags_AccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data object.\");\nconst PersonaSetTags_IncludedResourceSchema = z.object({\n id: z.string().describe(\"The unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"The type of the included resource.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included related resource.\");\nexport const PersonaSetTagsOutput = z.object({\n data: PersonaSetTags_AccountDataSchema.nullable(),\n included: z.array(PersonaSetTags_IncludedResourceSchema).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response from setting tags on a Persona account.\");\n\nexport const personaSetTags = action(\"PERSONA_SET_TAGS\", {\n slug: \"persona-set-tags\",\n name: \"Set Tags on Account\",\n description: \"Tool to set tags on a Persona Account. Use when you need to assign or update tags for an account using either tag IDs or tag names. This operation replaces all existing tags with the provided ones.\",\n input: PersonaSetTagsInput,\n output: PersonaSetTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAC/E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CACxN,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACzE,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAA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C,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAY,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACvE,eAAe,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAMxC,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,MAAM,iCAAiC,SAAS;EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -46,8 +46,8 @@ const PersonaUpdateAWebhook_WebhookAttributesSchema = zod.z.object({
46
46
  "file-access-token-expires-in": zod.z.number().int().describe("Expiration time in seconds for file access tokens.").nullable().optional()
47
47
  }).describe("Attributes of a webhook in the response.");
48
48
  const PersonaUpdateAWebhook_WebhookDataSchema = zod.z.object({
49
- id: zod.z.string().describe("Unique identifier for the webhook."),
50
- type: zod.z.string().describe("Resource type, typically 'webhook'."),
49
+ id: zod.z.string().describe("Unique identifier for the webhook.").nullable(),
50
+ type: zod.z.string().describe("Resource type, typically 'webhook'.").nullable(),
51
51
  attributes: PersonaUpdateAWebhook_WebhookAttributesSchema.nullable().optional()
52
52
  }).describe("Webhook data returned in the response.");
53
53
  const PersonaUpdateAWebhookOutput = zod.z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"update-a-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaUpdateAWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\").optional(),\n name: z.string().describe(\"Name of the webhook for identification purposes.\").optional(),\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response. Keys are resource types, values are comma-separated attribute names.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.object({}).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests.\").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 api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.object({}).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for updating a webhook in Persona.\");\nconst PersonaUpdateAWebhook_WebhookAttributesSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created.\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used for the webhook.\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook.\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for the webhook.\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).describe(\"Attributes of a webhook in the response.\");\nconst PersonaUpdateAWebhook_WebhookDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\"),\n type: z.string().describe(\"Resource type, typically 'webhook'.\"),\n attributes: PersonaUpdateAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data returned in the response.\");\nexport const PersonaUpdateAWebhookOutput: z.ZodTypeAny = z.object({\n data: PersonaUpdateAWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model returned after updating a webhook in Persona.\");\n\nexport const personaUpdateAWebhook = action(\"PERSONA_UPDATE_A_WEBHOOK\", {\n slug: \"persona-update-a-webhook\",\n name: \"Update a Webhook\",\n description: \"Tool to update a webhook in Persona. Use when you need to modify webhook configuration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BAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,4BAA4BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAM,wCAAwC,SAAS;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-a-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaUpdateAWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\").optional(),\n name: z.string().describe(\"Name of the webhook for identification purposes.\").optional(),\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response. Keys are resource types, values are comma-separated attribute names.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.object({}).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests.\").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 api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.object({}).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for updating a webhook in Persona.\");\nconst PersonaUpdateAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created.\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used for the webhook.\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook.\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for the webhook.\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).describe(\"Attributes of a webhook in the response.\");\nconst PersonaUpdateAWebhook_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: PersonaUpdateAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data returned in the response.\");\nexport const PersonaUpdateAWebhookOutput = z.object({\n data: PersonaUpdateAWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model returned after updating a webhook in Persona.\");\n\nexport const personaUpdateAWebhook = action(\"PERSONA_UPDATE_A_WEBHOOK\", {\n slug: \"persona-update-a-webhook\",\n name: \"Update a Webhook\",\n description: \"Tool to update a webhook in Persona. Use when you need to modify webhook configuration such as name, description, URL, or enabled events.\",\n input: PersonaUpdateAWebhookInput,\n output: PersonaUpdateAWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,SAASA,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0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAM,wCAAwC,SAAS;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,75 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-a-webhook.d.ts
4
- declare const PersonaUpdateAWebhookInput: z.ZodTypeAny;
5
- declare const PersonaUpdateAWebhookOutput: z.ZodTypeAny;
6
- declare const personaUpdateAWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaUpdateAWebhookInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
8
+ include: z.ZodOptional<z.ZodString>;
9
+ webhook_id: z.ZodString;
10
+ api_version: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ key_inflection: z.ZodOptional<z.ZodEnum<{
14
+ camel: "camel";
15
+ kebab: "kebab";
16
+ snake: "snake";
17
+ }>>;
18
+ payload_filter: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
19
+ idempotency_key: z.ZodOptional<z.ZodString>;
20
+ persona_version: z.ZodOptional<z.ZodEnum<{
21
+ "2025-12-08": "2025-12-08";
22
+ "2025-10-27": "2025-10-27";
23
+ "2023-01-05": "2023-01-05";
24
+ "2022-09-01": "2022-09-01";
25
+ "2021-08-18": "2021-08-18";
26
+ "2021-07-05": "2021-07-05";
27
+ "2021-02-21": "2021-02-21";
28
+ "2020-05-18": "2020-05-18";
29
+ }>>;
30
+ api_key_inflection: z.ZodOptional<z.ZodString>;
31
+ custom_http_headers: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
32
+ api_attributes_blocklist: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
+ file_access_token_expires_in: z.ZodOptional<z.ZodNumber>;
34
+ }, z.core.$strip>;
35
+ declare const PersonaUpdateAWebhookOutput: z.ZodObject<{
36
+ data: z.ZodNullable<z.ZodObject<{
37
+ id: z.ZodNullable<z.ZodString>;
38
+ type: z.ZodNullable<z.ZodString>;
39
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ "api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ "enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
47
+ "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
48
+ "api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ "api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
50
+ "file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ }, z.core.$strip>>>;
52
+ }, z.core.$strip>>;
53
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
54
+ }, z.core.$strip>;
55
+ declare const personaUpdateAWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
56
+ webhook_id: string;
57
+ url?: string | undefined;
58
+ name?: string | undefined;
59
+ fields?: Record<string, never> | undefined;
60
+ include?: string | undefined;
61
+ api_version?: string | undefined;
62
+ description?: string | undefined;
63
+ enabled_events?: string[] | undefined;
64
+ key_inflection?: "camel" | "kebab" | "snake" | undefined;
65
+ payload_filter?: Record<string, never> | undefined;
66
+ idempotency_key?: string | undefined;
67
+ 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;
68
+ api_key_inflection?: string | undefined;
69
+ custom_http_headers?: Record<string, never> | undefined;
70
+ api_attributes_blocklist?: string[] | undefined;
71
+ file_access_token_expires_in?: number | undefined;
72
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
73
  //#endregion
8
74
  export { personaUpdateAWebhook };
9
75
  //# sourceMappingURL=update-a-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-a-webhook.d.cts","names":[],"sources":["../../src/actions/update-a-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAiBoB;AAAA,cAmBlD,2BAAA,EAA6B,CAAA,CAAE,UAG+B;AAAA,cAE9D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-a-webhook.d.cts","names":[],"sources":["../../src/actions/update-a-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,75 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-a-webhook.d.ts
4
- declare const PersonaUpdateAWebhookInput: z.ZodTypeAny;
5
- declare const PersonaUpdateAWebhookOutput: z.ZodTypeAny;
6
- declare const personaUpdateAWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaUpdateAWebhookInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
8
+ include: z.ZodOptional<z.ZodString>;
9
+ webhook_id: z.ZodString;
10
+ api_version: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ key_inflection: z.ZodOptional<z.ZodEnum<{
14
+ camel: "camel";
15
+ kebab: "kebab";
16
+ snake: "snake";
17
+ }>>;
18
+ payload_filter: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
19
+ idempotency_key: z.ZodOptional<z.ZodString>;
20
+ persona_version: z.ZodOptional<z.ZodEnum<{
21
+ "2025-12-08": "2025-12-08";
22
+ "2025-10-27": "2025-10-27";
23
+ "2023-01-05": "2023-01-05";
24
+ "2022-09-01": "2022-09-01";
25
+ "2021-08-18": "2021-08-18";
26
+ "2021-07-05": "2021-07-05";
27
+ "2021-02-21": "2021-02-21";
28
+ "2020-05-18": "2020-05-18";
29
+ }>>;
30
+ api_key_inflection: z.ZodOptional<z.ZodString>;
31
+ custom_http_headers: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
32
+ api_attributes_blocklist: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
+ file_access_token_expires_in: z.ZodOptional<z.ZodNumber>;
34
+ }, z.core.$strip>;
35
+ declare const PersonaUpdateAWebhookOutput: z.ZodObject<{
36
+ data: z.ZodNullable<z.ZodObject<{
37
+ id: z.ZodNullable<z.ZodString>;
38
+ type: z.ZodNullable<z.ZodString>;
39
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ "api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ "enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
47
+ "payload-filter": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
48
+ "api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ "api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
50
+ "file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ }, z.core.$strip>>>;
52
+ }, z.core.$strip>>;
53
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
54
+ }, z.core.$strip>;
55
+ declare const personaUpdateAWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
56
+ webhook_id: string;
57
+ url?: string | undefined;
58
+ name?: string | undefined;
59
+ fields?: Record<string, never> | undefined;
60
+ include?: string | undefined;
61
+ api_version?: string | undefined;
62
+ description?: string | undefined;
63
+ enabled_events?: string[] | undefined;
64
+ key_inflection?: "camel" | "kebab" | "snake" | undefined;
65
+ payload_filter?: Record<string, never> | undefined;
66
+ idempotency_key?: string | undefined;
67
+ 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;
68
+ api_key_inflection?: string | undefined;
69
+ custom_http_headers?: Record<string, never> | undefined;
70
+ api_attributes_blocklist?: string[] | undefined;
71
+ file_access_token_expires_in?: number | undefined;
72
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
73
  //#endregion
8
74
  export { personaUpdateAWebhook };
9
75
  //# sourceMappingURL=update-a-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-a-webhook.d.mts","names":[],"sources":["../../src/actions/update-a-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAiBoB;AAAA,cAmBlD,2BAAA,EAA6B,CAAA,CAAE,UAG+B;AAAA,cAE9D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-a-webhook.d.mts","names":[],"sources":["../../src/actions/update-a-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -46,8 +46,8 @@ const PersonaUpdateAWebhook_WebhookAttributesSchema = z.object({
46
46
  "file-access-token-expires-in": z.number().int().describe("Expiration time in seconds for file access tokens.").nullable().optional()
47
47
  }).describe("Attributes of a webhook in the response.");
48
48
  const PersonaUpdateAWebhook_WebhookDataSchema = z.object({
49
- id: z.string().describe("Unique identifier for the webhook."),
50
- type: z.string().describe("Resource type, typically 'webhook'."),
49
+ id: z.string().describe("Unique identifier for the webhook.").nullable(),
50
+ type: z.string().describe("Resource type, typically 'webhook'.").nullable(),
51
51
  attributes: PersonaUpdateAWebhook_WebhookAttributesSchema.nullable().optional()
52
52
  }).describe("Webhook data returned in the response.");
53
53
  const personaUpdateAWebhook = action("PERSONA_UPDATE_A_WEBHOOK", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-a-webhook.mjs","names":[],"sources":["../../src/actions/update-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaUpdateAWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\").optional(),\n name: z.string().describe(\"Name of the webhook for identification purposes.\").optional(),\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response. Keys are resource types, values are comma-separated attribute names.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.object({}).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests.\").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 api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.object({}).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for updating a webhook in Persona.\");\nconst PersonaUpdateAWebhook_WebhookAttributesSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created.\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used for the webhook.\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook.\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for the webhook.\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).describe(\"Attributes of a webhook in the response.\");\nconst PersonaUpdateAWebhook_WebhookDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\"),\n type: z.string().describe(\"Resource type, typically 'webhook'.\"),\n attributes: PersonaUpdateAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data returned in the response.\");\nexport const PersonaUpdateAWebhookOutput: z.ZodTypeAny = z.object({\n data: PersonaUpdateAWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model returned after updating a webhook in Persona.\");\n\nexport const personaUpdateAWebhook = action(\"PERSONA_UPDATE_A_WEBHOOK\", {\n slug: \"persona-update-a-webhook\",\n name: \"Update a Webhook\",\n description: \"Tool to update a webhook in Persona. Use when you need to modify webhook configuration such as name, description, URL, or enabled events.\",\n input: PersonaUpdateAWebhookInput,\n output: PersonaUpdateAWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACvM,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC9I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,iBAAiB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnL,oBAAoB,EAA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,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,MAAM,wCAAwC,SAAS;EACvD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7M,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-a-webhook.mjs","names":[],"sources":["../../src/actions/update-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaUpdateAWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\").optional(),\n name: z.string().describe(\"Name of the webhook for identification purposes.\").optional(),\n fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response. Keys are resource types, values are comma-separated attribute names.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.object({}).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests.\").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 api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.object({}).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for updating a webhook in Persona.\");\nconst PersonaUpdateAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created.\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used for the webhook.\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook.\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for the webhook.\").nullable().optional(),\n \"payload-filter\": z.object({}).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).describe(\"Attributes of a webhook in the response.\");\nconst PersonaUpdateAWebhook_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: PersonaUpdateAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data returned in the response.\");\nexport const PersonaUpdateAWebhookOutput = z.object({\n data: PersonaUpdateAWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.object({})).describe(\"Excluded from the response by default. Will be an empty array when the include query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).describe(\"Response model returned after updating a webhook in Persona.\");\n\nexport const personaUpdateAWebhook = action(\"PERSONA_UPDATE_A_WEBHOOK\", {\n slug: \"persona-update-a-webhook\",\n name: \"Update a Webhook\",\n description: \"Tool to update a webhook in Persona. Use when you need to modify webhook configuration such as name, description, URL, or enabled events.\",\n input: PersonaUpdateAWebhookInput,\n output: PersonaUpdateAWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,gB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AC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -69,14 +69,14 @@ const PersonaUpdateAnAccount_ResponseAccountAttributesSchema = zod.z.object({
69
69
  const PersonaUpdateAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.object({}).describe("Relationship data.").nullable().optional() }).describe("Relationship data structure.");
70
70
  const PersonaUpdateAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaUpdateAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
71
71
  const PersonaUpdateAnAccount_ResponseAccountDataSchema = zod.z.object({
72
- id: zod.z.string().describe("Unique identifier for the account."),
73
- type: zod.z.string().describe("Resource type, typically 'account'."),
72
+ id: zod.z.string().describe("Unique identifier for the account.").nullable(),
73
+ type: zod.z.string().describe("Resource type, typically 'account'.").nullable(),
74
74
  attributes: PersonaUpdateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
75
75
  relationships: PersonaUpdateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
76
76
  }).describe("Account data returned in the response.");
77
77
  const PersonaUpdateAnAccount_IncludedResourceSchema = zod.z.object({
78
- id: zod.z.string().describe("Unique identifier for the included resource."),
79
- type: zod.z.string().describe("Resource type."),
78
+ id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
79
+ type: zod.z.string().describe("Resource type.").nullable(),
80
80
  attributes: zod.z.object({}).describe("Attributes of the included resource.").nullable().optional()
81
81
  }).describe("Included resources in the response.");
82
82
  const PersonaUpdateAnAccountOutput = zod.z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"update-an-account.cjs","names":["z","action"],"sources":["../../src/actions/update-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaUpdateAnAccountInput: z.ZodTypeAny = z.object({\n data: z.object({\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account. Can be set to null to remove all tags.\").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 \"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 to update for the account.\"),\n}).describe(\"The account data to update.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to update.\"),\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 updating an account in Persona.\");\nconst PersonaUpdateAnAccount_ResponseAccountAttributesSchema: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate.\").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 of the address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Country code.\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address.\").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 address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the 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 of the address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision of the address.\").nullable().optional(),\n \"identification-numbers\": z.record(z.string(), z.unknown()).describe(\"Identification numbers.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number.\").nullable().optional(),\n}).describe(\"Attributes returned in the account response.\");\nconst PersonaUpdateAnAccount_RelationshipDataSchema: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaUpdateAnAccount_ResponseAccountRelationshipsSchema: z.ZodTypeAny = z.object({\n \"account-type\": PersonaUpdateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaUpdateAnAccount_ResponseAccountDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the account.\"),\n type: z.string().describe(\"Resource type, typically 'account'.\"),\n attributes: PersonaUpdateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaUpdateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaUpdateAnAccount_IncludedResourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\"),\n type: z.string().describe(\"Resource type.\"),\n attributes: z.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaUpdateAnAccountOutput: z.ZodTypeAny = z.object({\n data: PersonaUpdateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaUpdateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after updating an account in Persona.\");\n\nexport const personaUpdateAnAccount = action(\"PERSONA_UPDATE_AN_ACCOUNT\", {\n slug: \"persona-update-an-account\",\n name: \"Update an Account\",\n description: \"Tool to update an account in Persona. Use when you need to modify account information such as name, email, phone, address, reference ID, or custom fields.\",\n input: PersonaUpdateAnAccountInput,\n output: PersonaUpdateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,WAAWA,IAAAA,EAAE,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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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":"update-an-account.cjs","names":["z","action"],"sources":["../../src/actions/update-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaUpdateAnAccountInput = z.object({\n data: z.object({\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account. Can be set to null to remove all tags.\").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 \"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 to update for the account.\"),\n}).describe(\"The account data to update.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to update.\"),\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 updating an account in Persona.\");\nconst PersonaUpdateAnAccount_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.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate.\").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 of the address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Country code.\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address.\").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 address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the 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 of the address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision of the address.\").nullable().optional(),\n \"identification-numbers\": z.record(z.string(), z.unknown()).describe(\"Identification numbers.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number.\").nullable().optional(),\n}).describe(\"Attributes returned in the account response.\");\nconst PersonaUpdateAnAccount_RelationshipDataSchema = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaUpdateAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaUpdateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaUpdateAnAccount_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: PersonaUpdateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaUpdateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaUpdateAnAccount_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 PersonaUpdateAnAccountOutput = z.object({\n data: PersonaUpdateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaUpdateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after updating an account in Persona.\");\n\nexport const personaUpdateAnAccount = action(\"PERSONA_UPDATE_AN_ACCOUNT\", {\n slug: \"persona-update-an-account\",\n name: \"Update an Account\",\n description: \"Tool to update an account in Persona. Use when you need to modify account information such as name, email, phone, address, reference ID, or custom fields.\",\n input: PersonaUpdateAnAccountInput,\n output: PersonaUpdateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC9F,gBAAgBA,IAAAA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AAS,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,9 +1,119 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-an-account.d.ts
4
- declare const PersonaUpdateAnAccountInput: z.ZodTypeAny;
5
- declare const PersonaUpdateAnAccountOutput: z.ZodTypeAny;
6
- declare const personaUpdateAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersonaUpdateAnAccountInput: z.ZodObject<{
5
+ data: z.ZodObject<{
6
+ attributes: z.ZodObject<{
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
9
+ birthdate: z.ZodOptional<z.ZodString>;
10
+ "name-last": z.ZodOptional<z.ZodString>;
11
+ "name-first": z.ZodOptional<z.ZodString>;
12
+ "name-middle": z.ZodOptional<z.ZodString>;
13
+ "address-city": z.ZodOptional<z.ZodString>;
14
+ "country-code": z.ZodOptional<z.ZodString>;
15
+ "phone-number": z.ZodOptional<z.ZodString>;
16
+ "reference-id": z.ZodOptional<z.ZodString>;
17
+ "selfie-photo": z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
18
+ "email-address": z.ZodOptional<z.ZodString>;
19
+ "account-status": z.ZodOptional<z.ZodString>;
20
+ "address-street-1": z.ZodOptional<z.ZodString>;
21
+ "address-street-2": z.ZodOptional<z.ZodString>;
22
+ "address-postal-code": z.ZodOptional<z.ZodString>;
23
+ "address-subdivision": z.ZodOptional<z.ZodString>;
24
+ "social-security-number": z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>;
26
+ }, z.core.$strip>;
27
+ include: z.ZodOptional<z.ZodString>;
28
+ "account-id": z.ZodString;
29
+ sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
30
+ "Key-Inflection": z.ZodOptional<z.ZodEnum<{
31
+ camel: "camel";
32
+ kebab: "kebab";
33
+ snake: "snake";
34
+ }>>;
35
+ "Idempotency-Key": z.ZodOptional<z.ZodString>;
36
+ "Persona-Version": z.ZodOptional<z.ZodEnum<{
37
+ "2025-12-08": "2025-12-08";
38
+ "2025-10-27": "2025-10-27";
39
+ "2023-01-05": "2023-01-05";
40
+ "2022-09-01": "2022-09-01";
41
+ "2021-08-18": "2021-08-18";
42
+ "2021-07-05": "2021-07-05";
43
+ "2021-02-21": "2021-02-21";
44
+ "2020-05-18": "2020-05-18";
45
+ }>>;
46
+ }, z.core.$strip>;
47
+ declare const PersonaUpdateAnAccountOutput: z.ZodObject<{
48
+ data: z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodNullable<z.ZodString>;
50
+ type: z.ZodNullable<z.ZodString>;
51
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
53
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
54
+ birthdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ "name-last": z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ "created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ "name-first": z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ "updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ "name-middle": z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ "redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ "address-city": z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ "country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ "phone-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ "reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ "email-address": z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ "account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ "address-street-1": z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ "address-street-2": z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ "account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ "address-postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ "address-subdivision": z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ "identification-numbers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
73
+ "social-security-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ }, z.core.$strip>>>;
75
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
+ "account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
77
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
78
+ }, z.core.$strip>>>;
79
+ }, z.core.$strip>>>;
80
+ }, z.core.$strip>>;
81
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
82
+ id: z.ZodNullable<z.ZodString>;
83
+ type: z.ZodNullable<z.ZodString>;
84
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
85
+ }, z.core.$strip>>>>;
86
+ }, z.core.$strip>;
87
+ declare const personaUpdateAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
88
+ data: {
89
+ attributes: {
90
+ tags?: string[] | undefined;
91
+ fields?: Record<string, never> | undefined;
92
+ birthdate?: string | undefined;
93
+ "name-last"?: string | undefined;
94
+ "name-first"?: string | undefined;
95
+ "name-middle"?: string | undefined;
96
+ "address-city"?: string | undefined;
97
+ "country-code"?: string | undefined;
98
+ "phone-number"?: string | undefined;
99
+ "reference-id"?: string | undefined;
100
+ "selfie-photo"?: Record<string, never> | undefined;
101
+ "email-address"?: string | undefined;
102
+ "account-status"?: string | undefined;
103
+ "address-street-1"?: string | undefined;
104
+ "address-street-2"?: string | undefined;
105
+ "address-postal-code"?: string | undefined;
106
+ "address-subdivision"?: string | undefined;
107
+ "social-security-number"?: string | undefined;
108
+ };
109
+ };
110
+ "account-id": string;
111
+ include?: string | undefined;
112
+ sparse_fields?: Record<string, never> | undefined;
113
+ "Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
114
+ "Idempotency-Key"?: string | undefined;
115
+ "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;
116
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
117
  //#endregion
8
118
  export { personaUpdateAnAccount };
9
119
  //# sourceMappingURL=update-an-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-an-account.d.cts","names":[],"sources":["../../src/actions/update-an-account.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UA6BoB;AAAA,cA0CnD,4BAAA,EAA8B,CAAA,CAAE,UAG+B;AAAA,cAE/D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-an-account.d.cts","names":[],"sources":["../../src/actions/update-an-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}