@keystrokehq/postgrid 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/dist/actions/cancel-box.cjs +2 -2
  2. package/dist/actions/cancel-box.cjs.map +1 -1
  3. package/dist/actions/cancel-box.d.cts +2 -2
  4. package/dist/actions/cancel-box.d.mts +2 -2
  5. package/dist/actions/cancel-box.mjs +2 -2
  6. package/dist/actions/cancel-box.mjs.map +1 -1
  7. package/dist/actions/cancel-cheque-with-note.cjs +3 -3
  8. package/dist/actions/cancel-cheque-with-note.cjs.map +1 -1
  9. package/dist/actions/cancel-cheque-with-note.d.cts +4 -4
  10. package/dist/actions/cancel-cheque-with-note.d.mts +4 -4
  11. package/dist/actions/cancel-cheque-with-note.mjs +3 -3
  12. package/dist/actions/cancel-cheque-with-note.mjs.map +1 -1
  13. package/dist/actions/cancel-cheque.cjs +3 -3
  14. package/dist/actions/cancel-cheque.cjs.map +1 -1
  15. package/dist/actions/cancel-cheque.d.cts +4 -4
  16. package/dist/actions/cancel-cheque.d.mts +4 -4
  17. package/dist/actions/cancel-cheque.mjs +3 -3
  18. package/dist/actions/cancel-cheque.mjs.map +1 -1
  19. package/dist/actions/cancel-postcard-with-note.cjs +3 -3
  20. package/dist/actions/cancel-postcard-with-note.cjs.map +1 -1
  21. package/dist/actions/cancel-postcard-with-note.d.cts +4 -4
  22. package/dist/actions/cancel-postcard-with-note.d.mts +4 -4
  23. package/dist/actions/cancel-postcard-with-note.mjs +3 -3
  24. package/dist/actions/cancel-postcard-with-note.mjs.map +1 -1
  25. package/dist/actions/cancel-postcard.cjs +3 -3
  26. package/dist/actions/cancel-postcard.cjs.map +1 -1
  27. package/dist/actions/cancel-postcard.d.cts +4 -4
  28. package/dist/actions/cancel-postcard.d.mts +4 -4
  29. package/dist/actions/cancel-postcard.mjs +3 -3
  30. package/dist/actions/cancel-postcard.mjs.map +1 -1
  31. package/dist/actions/cancel-return-envelope-order.cjs +1 -1
  32. package/dist/actions/cancel-return-envelope-order.cjs.map +1 -1
  33. package/dist/actions/cancel-return-envelope-order.d.cts +1 -1
  34. package/dist/actions/cancel-return-envelope-order.d.mts +1 -1
  35. package/dist/actions/cancel-return-envelope-order.mjs +1 -1
  36. package/dist/actions/cancel-return-envelope-order.mjs.map +1 -1
  37. package/dist/actions/create-bank-account.cjs +1 -1
  38. package/dist/actions/create-bank-account.cjs.map +1 -1
  39. package/dist/actions/create-bank-account.d.cts +1 -1
  40. package/dist/actions/create-bank-account.d.mts +1 -1
  41. package/dist/actions/create-bank-account.mjs +1 -1
  42. package/dist/actions/create-bank-account.mjs.map +1 -1
  43. package/dist/actions/create-box.cjs +8 -8
  44. package/dist/actions/create-box.cjs.map +1 -1
  45. package/dist/actions/create-box.d.cts +16 -11
  46. package/dist/actions/create-box.d.mts +16 -11
  47. package/dist/actions/create-box.mjs +8 -8
  48. package/dist/actions/create-box.mjs.map +1 -1
  49. package/dist/actions/create-cheque.cjs +3 -3
  50. package/dist/actions/create-cheque.cjs.map +1 -1
  51. package/dist/actions/create-cheque.d.cts +4 -4
  52. package/dist/actions/create-cheque.d.mts +4 -4
  53. package/dist/actions/create-cheque.mjs +3 -3
  54. package/dist/actions/create-cheque.mjs.map +1 -1
  55. package/dist/actions/create-contact.cjs +1 -1
  56. package/dist/actions/create-contact.cjs.map +1 -1
  57. package/dist/actions/create-contact.d.cts +1 -1
  58. package/dist/actions/create-contact.d.mts +1 -1
  59. package/dist/actions/create-contact.mjs +1 -1
  60. package/dist/actions/create-contact.mjs.map +1 -1
  61. package/dist/actions/create-letter.cjs +2 -2
  62. package/dist/actions/create-letter.cjs.map +1 -1
  63. package/dist/actions/create-letter.d.cts +3 -3
  64. package/dist/actions/create-letter.d.mts +3 -3
  65. package/dist/actions/create-letter.mjs +2 -2
  66. package/dist/actions/create-letter.mjs.map +1 -1
  67. package/dist/actions/create-postcard.cjs +2 -2
  68. package/dist/actions/create-postcard.cjs.map +1 -1
  69. package/dist/actions/create-postcard.d.cts +3 -3
  70. package/dist/actions/create-postcard.d.mts +3 -3
  71. package/dist/actions/create-postcard.mjs +2 -2
  72. package/dist/actions/create-postcard.mjs.map +1 -1
  73. package/dist/actions/create-return-envelope-order.cjs +1 -1
  74. package/dist/actions/create-return-envelope-order.cjs.map +1 -1
  75. package/dist/actions/create-return-envelope-order.d.cts +1 -1
  76. package/dist/actions/create-return-envelope-order.d.mts +1 -1
  77. package/dist/actions/create-return-envelope-order.mjs +1 -1
  78. package/dist/actions/create-return-envelope-order.mjs.map +1 -1
  79. package/dist/actions/create-return-envelope.cjs +2 -2
  80. package/dist/actions/create-return-envelope.cjs.map +1 -1
  81. package/dist/actions/create-return-envelope.d.cts +2 -2
  82. package/dist/actions/create-return-envelope.d.mts +2 -2
  83. package/dist/actions/create-return-envelope.mjs +2 -2
  84. package/dist/actions/create-return-envelope.mjs.map +1 -1
  85. package/dist/actions/create-template-editor-session.cjs +1 -1
  86. package/dist/actions/create-template-editor-session.cjs.map +1 -1
  87. package/dist/actions/create-template-editor-session.d.cts +1 -1
  88. package/dist/actions/create-template-editor-session.d.mts +1 -1
  89. package/dist/actions/create-template-editor-session.mjs +1 -1
  90. package/dist/actions/create-template-editor-session.mjs.map +1 -1
  91. package/dist/actions/create-template.cjs +1 -1
  92. package/dist/actions/create-template.cjs.map +1 -1
  93. package/dist/actions/create-template.d.cts +1 -1
  94. package/dist/actions/create-template.d.mts +1 -1
  95. package/dist/actions/create-template.mjs +1 -1
  96. package/dist/actions/create-template.mjs.map +1 -1
  97. package/dist/actions/create-tracker.cjs +1 -1
  98. package/dist/actions/create-tracker.cjs.map +1 -1
  99. package/dist/actions/create-tracker.d.cts +1 -1
  100. package/dist/actions/create-tracker.d.mts +1 -1
  101. package/dist/actions/create-tracker.mjs +1 -1
  102. package/dist/actions/create-tracker.mjs.map +1 -1
  103. package/dist/actions/create-webhook.cjs +1 -1
  104. package/dist/actions/create-webhook.cjs.map +1 -1
  105. package/dist/actions/create-webhook.d.cts +1 -1
  106. package/dist/actions/create-webhook.d.mts +1 -1
  107. package/dist/actions/create-webhook.mjs +1 -1
  108. package/dist/actions/create-webhook.mjs.map +1 -1
  109. package/dist/actions/delete-bank-account.cjs +1 -1
  110. package/dist/actions/delete-bank-account.cjs.map +1 -1
  111. package/dist/actions/delete-bank-account.d.cts +1 -1
  112. package/dist/actions/delete-bank-account.d.mts +1 -1
  113. package/dist/actions/delete-bank-account.mjs +1 -1
  114. package/dist/actions/delete-bank-account.mjs.map +1 -1
  115. package/dist/actions/delete-contact.cjs +1 -1
  116. package/dist/actions/delete-contact.cjs.map +1 -1
  117. package/dist/actions/delete-contact.d.cts +1 -1
  118. package/dist/actions/delete-contact.d.mts +1 -1
  119. package/dist/actions/delete-contact.mjs +1 -1
  120. package/dist/actions/delete-contact.mjs.map +1 -1
  121. package/dist/actions/delete-template-editor-session.cjs +1 -1
  122. package/dist/actions/delete-template-editor-session.cjs.map +1 -1
  123. package/dist/actions/delete-template-editor-session.d.cts +1 -1
  124. package/dist/actions/delete-template-editor-session.d.mts +1 -1
  125. package/dist/actions/delete-template-editor-session.mjs +1 -1
  126. package/dist/actions/delete-template-editor-session.mjs.map +1 -1
  127. package/dist/actions/delete-template.cjs +1 -1
  128. package/dist/actions/delete-template.cjs.map +1 -1
  129. package/dist/actions/delete-template.d.cts +1 -1
  130. package/dist/actions/delete-template.d.mts +1 -1
  131. package/dist/actions/delete-template.mjs +1 -1
  132. package/dist/actions/delete-template.mjs.map +1 -1
  133. package/dist/actions/delete-tracker.cjs +1 -1
  134. package/dist/actions/delete-tracker.cjs.map +1 -1
  135. package/dist/actions/delete-tracker.d.cts +1 -1
  136. package/dist/actions/delete-tracker.d.mts +1 -1
  137. package/dist/actions/delete-tracker.mjs +1 -1
  138. package/dist/actions/delete-tracker.mjs.map +1 -1
  139. package/dist/actions/delete-webhook.cjs +1 -1
  140. package/dist/actions/delete-webhook.cjs.map +1 -1
  141. package/dist/actions/delete-webhook.d.cts +1 -1
  142. package/dist/actions/delete-webhook.d.mts +1 -1
  143. package/dist/actions/delete-webhook.mjs +1 -1
  144. package/dist/actions/delete-webhook.mjs.map +1 -1
  145. package/dist/actions/fill-test-return-envelope-order.cjs +1 -1
  146. package/dist/actions/fill-test-return-envelope-order.cjs.map +1 -1
  147. package/dist/actions/fill-test-return-envelope-order.d.cts +1 -1
  148. package/dist/actions/fill-test-return-envelope-order.d.mts +1 -1
  149. package/dist/actions/fill-test-return-envelope-order.mjs +1 -1
  150. package/dist/actions/fill-test-return-envelope-order.mjs.map +1 -1
  151. package/dist/actions/get-bank-account.cjs +1 -1
  152. package/dist/actions/get-bank-account.cjs.map +1 -1
  153. package/dist/actions/get-bank-account.d.cts +1 -1
  154. package/dist/actions/get-bank-account.d.mts +1 -1
  155. package/dist/actions/get-bank-account.mjs +1 -1
  156. package/dist/actions/get-bank-account.mjs.map +1 -1
  157. package/dist/actions/get-box.cjs +2 -2
  158. package/dist/actions/get-box.cjs.map +1 -1
  159. package/dist/actions/get-box.d.cts +3 -3
  160. package/dist/actions/get-box.d.mts +3 -3
  161. package/dist/actions/get-box.mjs +2 -2
  162. package/dist/actions/get-box.mjs.map +1 -1
  163. package/dist/actions/get-cheque.cjs +3 -3
  164. package/dist/actions/get-cheque.cjs.map +1 -1
  165. package/dist/actions/get-cheque.d.cts +4 -4
  166. package/dist/actions/get-cheque.d.mts +4 -4
  167. package/dist/actions/get-cheque.mjs +3 -3
  168. package/dist/actions/get-cheque.mjs.map +1 -1
  169. package/dist/actions/get-contact.cjs +1 -1
  170. package/dist/actions/get-contact.cjs.map +1 -1
  171. package/dist/actions/get-contact.d.cts +1 -1
  172. package/dist/actions/get-contact.d.mts +1 -1
  173. package/dist/actions/get-contact.mjs +1 -1
  174. package/dist/actions/get-contact.mjs.map +1 -1
  175. package/dist/actions/get-letter.cjs +3 -3
  176. package/dist/actions/get-letter.cjs.map +1 -1
  177. package/dist/actions/get-letter.d.cts +4 -4
  178. package/dist/actions/get-letter.d.mts +4 -4
  179. package/dist/actions/get-letter.mjs +3 -3
  180. package/dist/actions/get-letter.mjs.map +1 -1
  181. package/dist/actions/get-postcard.cjs +2 -2
  182. package/dist/actions/get-postcard.cjs.map +1 -1
  183. package/dist/actions/get-postcard.d.cts +3 -3
  184. package/dist/actions/get-postcard.d.mts +3 -3
  185. package/dist/actions/get-postcard.mjs +2 -2
  186. package/dist/actions/get-postcard.mjs.map +1 -1
  187. package/dist/actions/get-return-envelope-order.cjs +1 -1
  188. package/dist/actions/get-return-envelope-order.cjs.map +1 -1
  189. package/dist/actions/get-return-envelope-order.d.cts +1 -1
  190. package/dist/actions/get-return-envelope-order.d.mts +1 -1
  191. package/dist/actions/get-return-envelope-order.mjs +1 -1
  192. package/dist/actions/get-return-envelope-order.mjs.map +1 -1
  193. package/dist/actions/get-return-envelope.cjs +2 -2
  194. package/dist/actions/get-return-envelope.cjs.map +1 -1
  195. package/dist/actions/get-return-envelope.d.cts +2 -2
  196. package/dist/actions/get-return-envelope.d.mts +2 -2
  197. package/dist/actions/get-return-envelope.mjs +2 -2
  198. package/dist/actions/get-return-envelope.mjs.map +1 -1
  199. package/dist/actions/get-template.cjs +1 -1
  200. package/dist/actions/get-template.cjs.map +1 -1
  201. package/dist/actions/get-template.d.cts +1 -1
  202. package/dist/actions/get-template.d.mts +1 -1
  203. package/dist/actions/get-template.mjs +1 -1
  204. package/dist/actions/get-template.mjs.map +1 -1
  205. package/dist/actions/get-tracker.cjs +1 -1
  206. package/dist/actions/get-tracker.cjs.map +1 -1
  207. package/dist/actions/get-tracker.d.cts +1 -1
  208. package/dist/actions/get-tracker.d.mts +1 -1
  209. package/dist/actions/get-tracker.mjs +1 -1
  210. package/dist/actions/get-tracker.mjs.map +1 -1
  211. package/dist/actions/get-webhook.cjs +1 -1
  212. package/dist/actions/get-webhook.cjs.map +1 -1
  213. package/dist/actions/get-webhook.d.cts +1 -1
  214. package/dist/actions/get-webhook.d.mts +1 -1
  215. package/dist/actions/get-webhook.mjs +1 -1
  216. package/dist/actions/get-webhook.mjs.map +1 -1
  217. package/dist/actions/list-cheques.cjs +6 -6
  218. package/dist/actions/list-cheques.cjs.map +1 -1
  219. package/dist/actions/list-cheques.d.cts +6 -6
  220. package/dist/actions/list-cheques.d.mts +6 -6
  221. package/dist/actions/list-cheques.mjs +6 -6
  222. package/dist/actions/list-cheques.mjs.map +1 -1
  223. package/dist/actions/list-events.cjs +1 -1
  224. package/dist/actions/list-events.cjs.map +1 -1
  225. package/dist/actions/list-events.d.cts +1 -1
  226. package/dist/actions/list-events.d.mts +1 -1
  227. package/dist/actions/list-events.mjs +1 -1
  228. package/dist/actions/list-events.mjs.map +1 -1
  229. package/dist/actions/list-letters.cjs +4 -4
  230. package/dist/actions/list-letters.cjs.map +1 -1
  231. package/dist/actions/list-letters.d.cts +5 -5
  232. package/dist/actions/list-letters.d.mts +5 -5
  233. package/dist/actions/list-letters.mjs +4 -4
  234. package/dist/actions/list-letters.mjs.map +1 -1
  235. package/dist/actions/list-postcards.cjs +6 -6
  236. package/dist/actions/list-postcards.cjs.map +1 -1
  237. package/dist/actions/list-postcards.d.cts +8 -8
  238. package/dist/actions/list-postcards.d.mts +8 -8
  239. package/dist/actions/list-postcards.mjs +6 -6
  240. package/dist/actions/list-postcards.mjs.map +1 -1
  241. package/dist/actions/list-return-envelope-orders.cjs +2 -2
  242. package/dist/actions/list-return-envelope-orders.cjs.map +1 -1
  243. package/dist/actions/list-return-envelope-orders.d.cts +2 -2
  244. package/dist/actions/list-return-envelope-orders.d.mts +2 -2
  245. package/dist/actions/list-return-envelope-orders.mjs +2 -2
  246. package/dist/actions/list-return-envelope-orders.mjs.map +1 -1
  247. package/dist/actions/list-return-envelopes.cjs +1 -1
  248. package/dist/actions/list-return-envelopes.cjs.map +1 -1
  249. package/dist/actions/list-return-envelopes.d.cts +1 -1
  250. package/dist/actions/list-return-envelopes.d.mts +1 -1
  251. package/dist/actions/list-return-envelopes.mjs +1 -1
  252. package/dist/actions/list-return-envelopes.mjs.map +1 -1
  253. package/dist/actions/list-self-mailers.cjs +4 -4
  254. package/dist/actions/list-self-mailers.cjs.map +1 -1
  255. package/dist/actions/list-self-mailers.d.cts +6 -6
  256. package/dist/actions/list-self-mailers.d.mts +6 -6
  257. package/dist/actions/list-self-mailers.mjs +4 -4
  258. package/dist/actions/list-self-mailers.mjs.map +1 -1
  259. package/dist/actions/list-template-editor-sessions.cjs +1 -1
  260. package/dist/actions/list-template-editor-sessions.cjs.map +1 -1
  261. package/dist/actions/list-template-editor-sessions.d.cts +1 -1
  262. package/dist/actions/list-template-editor-sessions.d.mts +1 -1
  263. package/dist/actions/list-template-editor-sessions.mjs +1 -1
  264. package/dist/actions/list-template-editor-sessions.mjs.map +1 -1
  265. package/dist/actions/list-templates.cjs +2 -2
  266. package/dist/actions/list-templates.cjs.map +1 -1
  267. package/dist/actions/list-templates.d.cts +2 -2
  268. package/dist/actions/list-templates.d.mts +2 -2
  269. package/dist/actions/list-templates.mjs +2 -2
  270. package/dist/actions/list-templates.mjs.map +1 -1
  271. package/dist/actions/list-trackers.cjs +2 -2
  272. package/dist/actions/list-trackers.cjs.map +1 -1
  273. package/dist/actions/list-trackers.d.cts +2 -2
  274. package/dist/actions/list-trackers.d.mts +2 -2
  275. package/dist/actions/list-trackers.mjs +2 -2
  276. package/dist/actions/list-trackers.mjs.map +1 -1
  277. package/dist/actions/list-webhook-invocations.cjs +2 -2
  278. package/dist/actions/list-webhook-invocations.cjs.map +1 -1
  279. package/dist/actions/list-webhook-invocations.d.cts +2 -2
  280. package/dist/actions/list-webhook-invocations.d.mts +2 -2
  281. package/dist/actions/list-webhook-invocations.mjs +2 -2
  282. package/dist/actions/list-webhook-invocations.mjs.map +1 -1
  283. package/dist/actions/list-webhooks.cjs +2 -2
  284. package/dist/actions/list-webhooks.cjs.map +1 -1
  285. package/dist/actions/list-webhooks.d.cts +2 -2
  286. package/dist/actions/list-webhooks.d.mts +2 -2
  287. package/dist/actions/list-webhooks.mjs +2 -2
  288. package/dist/actions/list-webhooks.mjs.map +1 -1
  289. package/dist/actions/progress-test-box.cjs +2 -2
  290. package/dist/actions/progress-test-box.cjs.map +1 -1
  291. package/dist/actions/progress-test-box.d.cts +3 -3
  292. package/dist/actions/progress-test-box.d.mts +3 -3
  293. package/dist/actions/progress-test-box.mjs +2 -2
  294. package/dist/actions/progress-test-box.mjs.map +1 -1
  295. package/dist/actions/progress-test-cheque.cjs +2 -2
  296. package/dist/actions/progress-test-cheque.cjs.map +1 -1
  297. package/dist/actions/progress-test-cheque.d.cts +3 -3
  298. package/dist/actions/progress-test-cheque.d.mts +3 -3
  299. package/dist/actions/progress-test-cheque.mjs +2 -2
  300. package/dist/actions/progress-test-cheque.mjs.map +1 -1
  301. package/dist/actions/progress-test-postcard.cjs +2 -2
  302. package/dist/actions/progress-test-postcard.cjs.map +1 -1
  303. package/dist/actions/progress-test-postcard.d.cts +3 -3
  304. package/dist/actions/progress-test-postcard.d.mts +3 -3
  305. package/dist/actions/progress-test-postcard.mjs +2 -2
  306. package/dist/actions/progress-test-postcard.mjs.map +1 -1
  307. package/dist/actions/update-template.cjs +1 -1
  308. package/dist/actions/update-template.cjs.map +1 -1
  309. package/dist/actions/update-template.d.cts +1 -1
  310. package/dist/actions/update-template.d.mts +1 -1
  311. package/dist/actions/update-template.mjs +1 -1
  312. package/dist/actions/update-template.mjs.map +1 -1
  313. package/dist/actions/update-tracker.cjs +1 -1
  314. package/dist/actions/update-tracker.cjs.map +1 -1
  315. package/dist/actions/update-tracker.d.cts +1 -1
  316. package/dist/actions/update-tracker.d.mts +1 -1
  317. package/dist/actions/update-tracker.mjs +1 -1
  318. package/dist/actions/update-tracker.mjs.map +1 -1
  319. package/dist/actions/update-webhook.cjs +1 -1
  320. package/dist/actions/update-webhook.cjs.map +1 -1
  321. package/dist/actions/update-webhook.d.cts +1 -1
  322. package/dist/actions/update-webhook.d.mts +1 -1
  323. package/dist/actions/update-webhook.mjs +1 -1
  324. package/dist/actions/update-webhook.mjs.map +1 -1
  325. package/dist/catalog.cjs +1 -1
  326. package/dist/catalog.cjs.map +1 -1
  327. package/dist/catalog.d.cts +1 -1
  328. package/dist/catalog.d.mts +1 -1
  329. package/dist/catalog.mjs +1 -1
  330. package/dist/catalog.mjs.map +1 -1
  331. package/package.json +1 -1
@@ -28,14 +28,14 @@ declare const PostgridCreateReturnEnvelopeOutput: z.ZodObject<{
28
28
  addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  addressStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  provinceOrState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  live: z.ZodNullable<z.ZodBoolean>;
33
33
  object: z.ZodNullable<z.ZodString>;
34
34
  available: z.ZodNullable<z.ZodNumber>;
35
35
  createdAt: z.ZodNullable<z.ZodString>;
36
36
  updatedAt: z.ZodNullable<z.ZodString>;
37
37
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const postgridCreateReturnEnvelope: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  to: {
41
41
  city: string;
@@ -26,7 +26,7 @@ const PostgridCreateReturnEnvelope_ToAddressResponseSchema = z.object({
26
26
  addressLine1: z.string().describe("First line of the address").nullable().optional(),
27
27
  addressStatus: z.string().describe("Address verification status").nullable().optional(),
28
28
  provinceOrState: z.string().describe("Province or state").nullable().optional()
29
- }).describe("Response structure for the return address contact.");
29
+ }).passthrough().describe("Response structure for the return address contact.");
30
30
  const postgridCreateReturnEnvelope = action("POSTGRID_CREATE_RETURN_ENVELOPE", {
31
31
  slug: "postgrid-create-return-envelope",
32
32
  name: "Create Return Envelope",
@@ -41,7 +41,7 @@ const postgridCreateReturnEnvelope = action("POSTGRID_CREATE_RETURN_ENVELOPE", {
41
41
  createdAt: z.string().describe("ISO 8601 timestamp when the return envelope was created").nullable(),
42
42
  updatedAt: z.string().describe("ISO 8601 timestamp when the return envelope was last updated").nullable(),
43
43
  description: z.string().describe("Description of the return envelope").nullable().optional()
44
- }).describe("Response schema returned after creating a PostGrid return envelope.")
44
+ }).passthrough().describe("Response schema returned after creating a PostGrid return envelope.")
45
45
  });
46
46
  //#endregion
47
47
  export { postgridCreateReturnEnvelope };
@@ -1 +1 @@
1
- {"version":3,"file":"create-return-envelope.mjs","names":[],"sources":["../../src/actions/create-return-envelope.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateReturnEnvelopeInput = z.object({\n to: z.object({\n city: z.string().describe(\"City name\"),\n lastName: z.string().describe(\"Last name of the recipient\"),\n firstName: z.string().describe(\"First name of the recipient\"),\n countryCode: z.string().describe(\"Country ISO code\"),\n postalOrZip: z.string().describe(\"Postal or ZIP code\"),\n addressLine1: z.string().describe(\"First line of the address\"),\n addressLine2: z.string().describe(\"Second line of the address\").optional(),\n provinceOrState: z.string().describe(\"Province or state code\"),\n}).describe(\"Recipient contact information (return address where the envelope will be sent back to)\"),\n description: z.string().describe(\"Optional description to identify the return envelope\").optional(),\n}).describe(\"Request schema for creating a return envelope in PostGrid.\");\nconst PostgridCreateReturnEnvelope_ToAddressResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City name\").nullable().optional(),\n object: z.string().describe(\"Object type, e.g., 'contact'\").nullable(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n lastName: z.string().describe(\"Last name\").nullable().optional(),\n firstName: z.string().describe(\"First name\").nullable().optional(),\n countryCode: z.string().describe(\"Country ISO code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state\").nullable().optional(),\n}).describe(\"Response structure for the return address contact.\");\nexport const PostgridCreateReturnEnvelopeOutput = z.object({\n id: z.string().describe(\"Unique identifier for the return envelope in return_envelope_* format\").nullable(),\n to: PostgridCreateReturnEnvelope_ToAddressResponseSchema.nullable(),\n live: z.boolean().describe(\"Indicates if the return envelope was created in live mode\").nullable(),\n object: z.string().describe(\"Object type, should be 'return_envelope'\").nullable(),\n available: z.number().int().describe(\"Number of available return envelopes\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was last updated\").nullable(),\n description: z.string().describe(\"Description of the return envelope\").nullable().optional(),\n}).describe(\"Response schema returned after creating a PostGrid return envelope.\");\n\nexport const postgridCreateReturnEnvelope = action(\"POSTGRID_CREATE_RETURN_ENVELOPE\", {\n slug: \"postgrid-create-return-envelope\",\n name: \"Create Return Envelope\",\n description: \"Tool to create a return envelope for mail recipients to respond. Use when you need to include a prepaid return envelope for recipients to send back responses.\",\n input: PostgridCreateReturnEnvelopeInput,\n output: PostgridCreateReturnEnvelopeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACrC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC/D,CAAC,CAAC,CAAC,SAAS,wFAAwF;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAYhE,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC1G,IAAI,qDAAqD,SAAS;EAClE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-return-envelope.mjs","names":[],"sources":["../../src/actions/create-return-envelope.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateReturnEnvelopeInput = z.object({\n to: z.object({\n city: z.string().describe(\"City name\"),\n lastName: z.string().describe(\"Last name of the recipient\"),\n firstName: z.string().describe(\"First name of the recipient\"),\n countryCode: z.string().describe(\"Country ISO code\"),\n postalOrZip: z.string().describe(\"Postal or ZIP code\"),\n addressLine1: z.string().describe(\"First line of the address\"),\n addressLine2: z.string().describe(\"Second line of the address\").optional(),\n provinceOrState: z.string().describe(\"Province or state code\"),\n}).describe(\"Recipient contact information (return address where the envelope will be sent back to)\"),\n description: z.string().describe(\"Optional description to identify the return envelope\").optional(),\n}).describe(\"Request schema for creating a return envelope in PostGrid.\");\nconst PostgridCreateReturnEnvelope_ToAddressResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City name\").nullable().optional(),\n object: z.string().describe(\"Object type, e.g., 'contact'\").nullable(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n lastName: z.string().describe(\"Last name\").nullable().optional(),\n firstName: z.string().describe(\"First name\").nullable().optional(),\n countryCode: z.string().describe(\"Country ISO code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state\").nullable().optional(),\n}).passthrough().describe(\"Response structure for the return address contact.\");\nexport const PostgridCreateReturnEnvelopeOutput = z.object({\n id: z.string().describe(\"Unique identifier for the return envelope in return_envelope_* format\").nullable(),\n to: PostgridCreateReturnEnvelope_ToAddressResponseSchema.nullable(),\n live: z.boolean().describe(\"Indicates if the return envelope was created in live mode\").nullable(),\n object: z.string().describe(\"Object type, should be 'return_envelope'\").nullable(),\n available: z.number().int().describe(\"Number of available return envelopes\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was last updated\").nullable(),\n description: z.string().describe(\"Description of the return envelope\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after creating a PostGrid return envelope.\");\n\nexport const postgridCreateReturnEnvelope = action(\"POSTGRID_CREATE_RETURN_ENVELOPE\", {\n slug: \"postgrid-create-return-envelope\",\n name: \"Create Return Envelope\",\n description: \"Tool to create a return envelope for mail recipients to respond. Use when you need to include a prepaid return envelope for recipients to send back responses.\",\n input: PostgridCreateReturnEnvelopeInput,\n output: PostgridCreateReturnEnvelopeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACrC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC/D,CAAC,CAAC,CAAC,SAAS,wFAAwF;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAY9E,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC1G,IAAI,qDAAqD,SAAS;EAClE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const PostgridCreateTemplateEditorSessionOutput = zod.z.object({
11
11
  template: zod.z.string().describe("The template ID associated with this session").nullable(),
12
12
  trackers: zod.z.string().describe("Tracker configuration for the session").nullable().optional(),
13
13
  createdAt: zod.z.string().describe("ISO 8601 timestamp of session creation").nullable()
14
- }).describe("Response schema for creating a template editor session.");
14
+ }).passthrough().describe("Response schema for creating a template editor session.");
15
15
  const postgridCreateTemplateEditorSession = require_action.action("POSTGRID_CREATE_TEMPLATE_EDITOR_SESSION", {
16
16
  slug: "postgrid-create-template-editor-session",
17
17
  name: "Create Template Editor Session",
@@ -1 +1 @@
1
- {"version":3,"file":"create-template-editor-session.cjs","names":["z","action"],"sources":["../../src/actions/create-template-editor-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateEditorSessionInput = z.object({\n template: z.string().describe(\"The ID of an existing template to open in the editor session. Must be a valid template ID with format template_*\"),\n}).describe(\"Request schema for creating a template editor session.\");\nexport const PostgridCreateTemplateEditorSessionOutput = z.object({\n id: z.string().describe(\"Unique ID for the template editor session\").nullable(),\n url: z.string().describe(\"Embeddable URL for the template editor interface\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test mode session\").nullable(),\n user: z.string().describe(\"The user ID who created the session\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'template_editor_session'\").nullable(),\n template: z.string().describe(\"The template ID associated with this session\").nullable(),\n trackers: z.string().describe(\"Tracker configuration for the session\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of session creation\").nullable(),\n}).describe(\"Response schema for creating a template editor session.\");\n\nexport const postgridCreateTemplateEditorSession = action(\"POSTGRID_CREATE_TEMPLATE_EDITOR_SESSION\", {\n slug: \"postgrid-create-template-editor-session\",\n name: \"Create Template Editor Session\",\n description: \"Tool to create a template editor session for interactive template editing. Use when you need to generate an embeddable URL for editing a template. The session URL allows users to modify template HTML content in a visual editor.\",\n input: PostgridCreateTemplateEditorSessionInput,\n output: PostgridCreateTemplateEditorSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-template-editor-session.cjs","names":["z","action"],"sources":["../../src/actions/create-template-editor-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateEditorSessionInput = z.object({\n template: z.string().describe(\"The ID of an existing template to open in the editor session. Must be a valid template ID with format template_*\"),\n}).describe(\"Request schema for creating a template editor session.\");\nexport const PostgridCreateTemplateEditorSessionOutput = z.object({\n id: z.string().describe(\"Unique ID for the template editor session\").nullable(),\n url: z.string().describe(\"Embeddable URL for the template editor interface\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test mode session\").nullable(),\n user: z.string().describe(\"The user ID who created the session\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'template_editor_session'\").nullable(),\n template: z.string().describe(\"The template ID associated with this session\").nullable(),\n trackers: z.string().describe(\"Tracker configuration for the session\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of session creation\").nullable(),\n}).passthrough().describe(\"Response schema for creating a template editor session.\");\n\nexport const postgridCreateTemplateEditorSession = action(\"POSTGRID_CREATE_TEMPLATE_EDITOR_SESSION\", {\n slug: \"postgrid-create-template-editor-session\",\n name: \"Create Template Editor Session\",\n description: \"Tool to create a template editor session for interactive template editing. Use when you need to generate an embeddable URL for editing a template. The session URL allows users to modify template HTML content in a visual editor.\",\n input: PostgridCreateTemplateEditorSessionInput,\n output: PostgridCreateTemplateEditorSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,7 +13,7 @@ declare const PostgridCreateTemplateEditorSessionOutput: z.ZodObject<{
13
13
  template: z.ZodNullable<z.ZodString>;
14
14
  trackers: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  createdAt: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const postgridCreateTemplateEditorSession: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  template: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -13,7 +13,7 @@ declare const PostgridCreateTemplateEditorSessionOutput: z.ZodObject<{
13
13
  template: z.ZodNullable<z.ZodString>;
14
14
  trackers: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  createdAt: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const postgridCreateTemplateEditorSession: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  template: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -14,7 +14,7 @@ const postgridCreateTemplateEditorSession = action("POSTGRID_CREATE_TEMPLATE_EDI
14
14
  template: z.string().describe("The template ID associated with this session").nullable(),
15
15
  trackers: z.string().describe("Tracker configuration for the session").nullable().optional(),
16
16
  createdAt: z.string().describe("ISO 8601 timestamp of session creation").nullable()
17
- }).describe("Response schema for creating a template editor session.")
17
+ }).passthrough().describe("Response schema for creating a template editor session.")
18
18
  });
19
19
  //#endregion
20
20
  export { postgridCreateTemplateEditorSession };
@@ -1 +1 @@
1
- {"version":3,"file":"create-template-editor-session.mjs","names":[],"sources":["../../src/actions/create-template-editor-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateEditorSessionInput = z.object({\n template: z.string().describe(\"The ID of an existing template to open in the editor session. Must be a valid template ID with format template_*\"),\n}).describe(\"Request schema for creating a template editor session.\");\nexport const PostgridCreateTemplateEditorSessionOutput = z.object({\n id: z.string().describe(\"Unique ID for the template editor session\").nullable(),\n url: z.string().describe(\"Embeddable URL for the template editor interface\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test mode session\").nullable(),\n user: z.string().describe(\"The user ID who created the session\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'template_editor_session'\").nullable(),\n template: z.string().describe(\"The template ID associated with this session\").nullable(),\n trackers: z.string().describe(\"Tracker configuration for the session\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of session creation\").nullable(),\n}).describe(\"Response schema for creating a template editor session.\");\n\nexport const postgridCreateTemplateEditorSession = action(\"POSTGRID_CREATE_TEMPLATE_EDITOR_SESSION\", {\n slug: \"postgrid-create-template-editor-session\",\n name: \"Create Template Editor Session\",\n description: \"Tool to create a template editor session for interactive template editing. Use when you need to generate an embeddable URL for editing a template. The session URL allows users to modify template HTML content in a visual editor.\",\n input: PostgridCreateTemplateEditorSessionInput,\n output: PostgridCreateTemplateEditorSessionOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO,EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wDAgBH;CACP,QAhBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-template-editor-session.mjs","names":[],"sources":["../../src/actions/create-template-editor-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateEditorSessionInput = z.object({\n template: z.string().describe(\"The ID of an existing template to open in the editor session. Must be a valid template ID with format template_*\"),\n}).describe(\"Request schema for creating a template editor session.\");\nexport const PostgridCreateTemplateEditorSessionOutput = z.object({\n id: z.string().describe(\"Unique ID for the template editor session\").nullable(),\n url: z.string().describe(\"Embeddable URL for the template editor interface\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test mode session\").nullable(),\n user: z.string().describe(\"The user ID who created the session\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'template_editor_session'\").nullable(),\n template: z.string().describe(\"The template ID associated with this session\").nullable(),\n trackers: z.string().describe(\"Tracker configuration for the session\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of session creation\").nullable(),\n}).passthrough().describe(\"Response schema for creating a template editor session.\");\n\nexport const postgridCreateTemplateEditorSession = action(\"POSTGRID_CREATE_TEMPLATE_EDITOR_SESSION\", {\n slug: \"postgrid-create-template-editor-session\",\n name: \"Create Template Editor Session\",\n description: \"Tool to create a template editor session for interactive template editing. Use when you need to generate an embeddable URL for editing a template. The session URL allows users to modify template HTML content in a visual editor.\",\n input: PostgridCreateTemplateEditorSessionInput,\n output: PostgridCreateTemplateEditorSessionOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO,EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wDAgBH;CACP,QAhBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -16,7 +16,7 @@ const PostgridCreateTemplateOutput = zod.z.object({
16
16
  createdAt: zod.z.string().describe("Timestamp when the template was created").nullable(),
17
17
  updatedAt: zod.z.string().describe("Timestamp when the template was last updated").nullable(),
18
18
  description: zod.z.string().describe("Description of the template").nullable().optional()
19
- });
19
+ }).passthrough();
20
20
  const postgridCreateTemplate = require_action.action("POSTGRID_CREATE_TEMPLATE", {
21
21
  slug: "postgrid-create-template",
22
22
  name: "Create Template",
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateInput = z.object({\n html: z.string().describe(\"HTML content of the template (supports Handlebars/Mustache syntax)\"),\n name: z.string().describe(\"Name of the template\"),\n description: z.string().describe(\"Description of the template\").optional(),\n testRenderModel: z.record(z.string(), z.unknown()).describe(\"Data model used for testing the template rendering\").optional(),\n});\nexport const PostgridCreateTemplateOutput = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n html: z.string().describe(\"HTML content of the template\").nullable(),\n live: z.boolean().describe(\"Indicates if the template is in live mode\").nullable(),\n object: z.string().describe(\"Object type identifier, typically 'template'\").nullable(),\n archived: z.boolean().describe(\"Indicates if the template is archived\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the template was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the template was last updated\").nullable(),\n description: z.string().describe(\"Description of the template\").nullable().optional(),\n});\n\nexport const postgridCreateTemplate = action(\"POSTGRID_CREATE_TEMPLATE\", {\n slug: \"postgrid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new mail template in PostGrid. Use when you need to define reusable HTML content with dynamic placeholders. Use after confirming required template details.\",\n input: PostgridCreateTemplateInput,\n output: PostgridCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7H,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateInput = z.object({\n html: z.string().describe(\"HTML content of the template (supports Handlebars/Mustache syntax)\"),\n name: z.string().describe(\"Name of the template\"),\n description: z.string().describe(\"Description of the template\").optional(),\n testRenderModel: z.record(z.string(), z.unknown()).describe(\"Data model used for testing the template rendering\").optional(),\n});\nexport const PostgridCreateTemplateOutput = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n html: z.string().describe(\"HTML content of the template\").nullable(),\n live: z.boolean().describe(\"Indicates if the template is in live mode\").nullable(),\n object: z.string().describe(\"Object type identifier, typically 'template'\").nullable(),\n archived: z.boolean().describe(\"Indicates if the template is archived\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the template was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the template was last updated\").nullable(),\n description: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough();\n\nexport const postgridCreateTemplate = action(\"POSTGRID_CREATE_TEMPLATE\", {\n slug: \"postgrid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new mail template in PostGrid. Use when you need to define reusable HTML content with dynamic placeholders. Use after confirming required template details.\",\n input: PostgridCreateTemplateInput,\n output: PostgridCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7H,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,7 +16,7 @@ declare const PostgridCreateTemplateOutput: z.ZodObject<{
16
16
  createdAt: z.ZodNullable<z.ZodString>;
17
17
  updatedAt: z.ZodNullable<z.ZodString>;
18
18
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const postgridCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  html: string;
22
22
  name: string;
@@ -16,7 +16,7 @@ declare const PostgridCreateTemplateOutput: z.ZodObject<{
16
16
  createdAt: z.ZodNullable<z.ZodString>;
17
17
  updatedAt: z.ZodNullable<z.ZodString>;
18
18
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const postgridCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  html: string;
22
22
  name: string;
@@ -19,7 +19,7 @@ const postgridCreateTemplate = action("POSTGRID_CREATE_TEMPLATE", {
19
19
  createdAt: z.string().describe("Timestamp when the template was created").nullable(),
20
20
  updatedAt: z.string().describe("Timestamp when the template was last updated").nullable(),
21
21
  description: z.string().describe("Description of the template").nullable().optional()
22
- })
22
+ }).passthrough()
23
23
  });
24
24
  //#endregion
25
25
  export { postgridCreateTemplate };
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateInput = z.object({\n html: z.string().describe(\"HTML content of the template (supports Handlebars/Mustache syntax)\"),\n name: z.string().describe(\"Name of the template\"),\n description: z.string().describe(\"Description of the template\").optional(),\n testRenderModel: z.record(z.string(), z.unknown()).describe(\"Data model used for testing the template rendering\").optional(),\n});\nexport const PostgridCreateTemplateOutput = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n html: z.string().describe(\"HTML content of the template\").nullable(),\n live: z.boolean().describe(\"Indicates if the template is in live mode\").nullable(),\n object: z.string().describe(\"Object type identifier, typically 'template'\").nullable(),\n archived: z.boolean().describe(\"Indicates if the template is archived\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the template was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the template was last updated\").nullable(),\n description: z.string().describe(\"Description of the template\").nullable().optional(),\n});\n\nexport const postgridCreateTemplate = action(\"POSTGRID_CREATE_TEMPLATE\", {\n slug: \"postgrid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new mail template in PostGrid. Use when you need to define reusable HTML content with dynamic placeholders. Use after confirming required template details.\",\n input: PostgridCreateTemplateInput,\n output: PostgridCreateTemplateOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACzE,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7H,CAgBS;CACP,QAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTemplateInput = z.object({\n html: z.string().describe(\"HTML content of the template (supports Handlebars/Mustache syntax)\"),\n name: z.string().describe(\"Name of the template\"),\n description: z.string().describe(\"Description of the template\").optional(),\n testRenderModel: z.record(z.string(), z.unknown()).describe(\"Data model used for testing the template rendering\").optional(),\n});\nexport const PostgridCreateTemplateOutput = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n html: z.string().describe(\"HTML content of the template\").nullable(),\n live: z.boolean().describe(\"Indicates if the template is in live mode\").nullable(),\n object: z.string().describe(\"Object type identifier, typically 'template'\").nullable(),\n archived: z.boolean().describe(\"Indicates if the template is archived\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the template was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the template was last updated\").nullable(),\n description: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough();\n\nexport const postgridCreateTemplate = action(\"POSTGRID_CREATE_TEMPLATE\", {\n slug: \"postgrid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new mail template in PostGrid. Use when you need to define reusable HTML content with dynamic placeholders. Use after confirming required template details.\",\n input: PostgridCreateTemplateInput,\n output: PostgridCreateTemplateOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACzE,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7H,CAgBS;CACP,QAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -23,7 +23,7 @@ const PostgridCreateTrackerOutput = zod.z.object({
23
23
  uniqueVisitCount: zod.z.number().int().describe("Number of unique visits to tracker URLs").nullable(),
24
24
  urlExpireAfterDays: zod.z.number().int().describe("Number of days until generated URLs expire").nullable(),
25
25
  redirectURLTemplate: zod.z.string().describe("The base URL template for personalized redirects").nullable()
26
- }).describe("Response schema returned after creating a tracker.");
26
+ }).passthrough().describe("Response schema returned after creating a tracker.");
27
27
  const postgridCreateTracker = require_action.action("POSTGRID_CREATE_TRACKER", {
28
28
  slug: "postgrid-create-tracker",
29
29
  name: "Create Tracker",
@@ -1 +1 @@
1
- {"version":3,"file":"create-tracker.cjs","names":["z","action"],"sources":["../../src/actions/create-tracker.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTrackerInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata as key-value pairs\").optional(),\n description: z.string().describe(\"Optional description for the tracker\").optional(),\n urlExpireAfterDays: z.union([z.literal(30), z.literal(60), z.literal(90)]).describe(\"Number of days until generated URLs expire. Must be 30, 60, or 90 days.\"),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects. Supports merge variables like {{to.firstName}}, {{to.lastName}}, {{from.city}}, {{to.metadata.id}}, etc. Any merge variable available in the order can be accessed.\"),\n}).describe(\"Request schema for creating a tracker to monitor mail delivery via URL tracking.\");\nexport const PostgridCreateTrackerOutput = z.object({\n id: z.string().describe(\"Unique identifier for the tracker, prefixed with 'tracker_'\").nullable(),\n live: z.boolean().describe(\"Whether the tracker is in live mode\").nullable(),\n object: z.string().describe(\"Object type, always 'tracker'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the tracker\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the tracker was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the tracker was last updated\").nullable(),\n visitCount: z.number().int().describe(\"Total number of visits to tracker URLs\").nullable(),\n description: z.string().describe(\"Description of the tracker\").nullable().optional(),\n uniqueVisitCount: z.number().int().describe(\"Number of unique visits to tracker URLs\").nullable(),\n urlExpireAfterDays: z.number().int().describe(\"Number of days until generated URLs expire\").nullable(),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects\").nullable(),\n}).describe(\"Response schema returned after creating a tracker.\");\n\nexport const postgridCreateTracker = action(\"POSTGRID_CREATE_TRACKER\", {\n slug: \"postgrid-create-tracker\",\n name: \"Create Tracker\",\n description: \"Tool to create a tracker for monitoring mail delivery status via URL tracking. Use when you need to track recipient engagement with personalized URLs.\",\n input: PostgridCreateTrackerInput,\n output: PostgridCreateTrackerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,oBAAoBA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,EAAE;EAAGA,IAAAA,EAAE,QAAQ,EAAE;EAAGA,IAAAA,EAAE,QAAQ,EAAE;CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;CAC7J,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;AAClQ,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-tracker.cjs","names":["z","action"],"sources":["../../src/actions/create-tracker.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTrackerInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata as key-value pairs\").optional(),\n description: z.string().describe(\"Optional description for the tracker\").optional(),\n urlExpireAfterDays: z.union([z.literal(30), z.literal(60), z.literal(90)]).describe(\"Number of days until generated URLs expire. Must be 30, 60, or 90 days.\"),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects. Supports merge variables like {{to.firstName}}, {{to.lastName}}, {{from.city}}, {{to.metadata.id}}, etc. Any merge variable available in the order can be accessed.\"),\n}).describe(\"Request schema for creating a tracker to monitor mail delivery via URL tracking.\");\nexport const PostgridCreateTrackerOutput = z.object({\n id: z.string().describe(\"Unique identifier for the tracker, prefixed with 'tracker_'\").nullable(),\n live: z.boolean().describe(\"Whether the tracker is in live mode\").nullable(),\n object: z.string().describe(\"Object type, always 'tracker'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the tracker\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the tracker was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the tracker was last updated\").nullable(),\n visitCount: z.number().int().describe(\"Total number of visits to tracker URLs\").nullable(),\n description: z.string().describe(\"Description of the tracker\").nullable().optional(),\n uniqueVisitCount: z.number().int().describe(\"Number of unique visits to tracker URLs\").nullable(),\n urlExpireAfterDays: z.number().int().describe(\"Number of days until generated URLs expire\").nullable(),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects\").nullable(),\n}).passthrough().describe(\"Response schema returned after creating a tracker.\");\n\nexport const postgridCreateTracker = action(\"POSTGRID_CREATE_TRACKER\", {\n slug: \"postgrid-create-tracker\",\n name: \"Create Tracker\",\n description: \"Tool to create a tracker for monitoring mail delivery status via URL tracking. Use when you need to track recipient engagement with personalized URLs.\",\n input: PostgridCreateTrackerInput,\n output: PostgridCreateTrackerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,oBAAoBA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,EAAE;EAAGA,IAAAA,EAAE,QAAQ,EAAE;EAAGA,IAAAA,EAAE,QAAQ,EAAE;CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;CAC7J,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;AAClQ,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,7 +19,7 @@ declare const PostgridCreateTrackerOutput: z.ZodObject<{
19
19
  uniqueVisitCount: z.ZodNullable<z.ZodNumber>;
20
20
  urlExpireAfterDays: z.ZodNullable<z.ZodNumber>;
21
21
  redirectURLTemplate: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const postgridCreateTracker: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  urlExpireAfterDays: 30 | 60 | 90;
25
25
  redirectURLTemplate: string;
@@ -19,7 +19,7 @@ declare const PostgridCreateTrackerOutput: z.ZodObject<{
19
19
  uniqueVisitCount: z.ZodNullable<z.ZodNumber>;
20
20
  urlExpireAfterDays: z.ZodNullable<z.ZodNumber>;
21
21
  redirectURLTemplate: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const postgridCreateTracker: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  urlExpireAfterDays: 30 | 60 | 90;
25
25
  redirectURLTemplate: string;
@@ -26,7 +26,7 @@ const postgridCreateTracker = action("POSTGRID_CREATE_TRACKER", {
26
26
  uniqueVisitCount: z.number().int().describe("Number of unique visits to tracker URLs").nullable(),
27
27
  urlExpireAfterDays: z.number().int().describe("Number of days until generated URLs expire").nullable(),
28
28
  redirectURLTemplate: z.string().describe("The base URL template for personalized redirects").nullable()
29
- }).describe("Response schema returned after creating a tracker.")
29
+ }).passthrough().describe("Response schema returned after creating a tracker.")
30
30
  });
31
31
  //#endregion
32
32
  export { postgridCreateTracker };
@@ -1 +1 @@
1
- {"version":3,"file":"create-tracker.mjs","names":[],"sources":["../../src/actions/create-tracker.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTrackerInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata as key-value pairs\").optional(),\n description: z.string().describe(\"Optional description for the tracker\").optional(),\n urlExpireAfterDays: z.union([z.literal(30), z.literal(60), z.literal(90)]).describe(\"Number of days until generated URLs expire. Must be 30, 60, or 90 days.\"),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects. Supports merge variables like {{to.firstName}}, {{to.lastName}}, {{from.city}}, {{to.metadata.id}}, etc. Any merge variable available in the order can be accessed.\"),\n}).describe(\"Request schema for creating a tracker to monitor mail delivery via URL tracking.\");\nexport const PostgridCreateTrackerOutput = z.object({\n id: z.string().describe(\"Unique identifier for the tracker, prefixed with 'tracker_'\").nullable(),\n live: z.boolean().describe(\"Whether the tracker is in live mode\").nullable(),\n object: z.string().describe(\"Object type, always 'tracker'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the tracker\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the tracker was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the tracker was last updated\").nullable(),\n visitCount: z.number().int().describe(\"Total number of visits to tracker URLs\").nullable(),\n description: z.string().describe(\"Description of the tracker\").nullable().optional(),\n uniqueVisitCount: z.number().int().describe(\"Number of unique visits to tracker URLs\").nullable(),\n urlExpireAfterDays: z.number().int().describe(\"Number of days until generated URLs expire\").nullable(),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects\").nullable(),\n}).describe(\"Response schema returned after creating a tracker.\");\n\nexport const postgridCreateTracker = action(\"POSTGRID_CREATE_TRACKER\", {\n slug: \"postgrid-create-tracker\",\n name: \"Create Tracker\",\n description: \"Tool to create a tracker for monitoring mail delivery status via URL tracking. Use when you need to track recipient engagement with personalized URLs.\",\n input: PostgridCreateTrackerInput,\n output: PostgridCreateTrackerOutput,\n});\n"],"mappings":";;AAwBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,oBAAoB,EAAE,MAAM;GAAC,EAAE,QAAQ,EAAE;GAAG,EAAE,QAAQ,EAAE;GAAG,EAAE,QAAQ,EAAE;EAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;EAC7J,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;CAClQ,CAAC,CAAC,CAAC,SAAS,kFAmBH;CACP,QAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-tracker.mjs","names":[],"sources":["../../src/actions/create-tracker.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateTrackerInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata as key-value pairs\").optional(),\n description: z.string().describe(\"Optional description for the tracker\").optional(),\n urlExpireAfterDays: z.union([z.literal(30), z.literal(60), z.literal(90)]).describe(\"Number of days until generated URLs expire. Must be 30, 60, or 90 days.\"),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects. Supports merge variables like {{to.firstName}}, {{to.lastName}}, {{from.city}}, {{to.metadata.id}}, etc. Any merge variable available in the order can be accessed.\"),\n}).describe(\"Request schema for creating a tracker to monitor mail delivery via URL tracking.\");\nexport const PostgridCreateTrackerOutput = z.object({\n id: z.string().describe(\"Unique identifier for the tracker, prefixed with 'tracker_'\").nullable(),\n live: z.boolean().describe(\"Whether the tracker is in live mode\").nullable(),\n object: z.string().describe(\"Object type, always 'tracker'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the tracker\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the tracker was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the tracker was last updated\").nullable(),\n visitCount: z.number().int().describe(\"Total number of visits to tracker URLs\").nullable(),\n description: z.string().describe(\"Description of the tracker\").nullable().optional(),\n uniqueVisitCount: z.number().int().describe(\"Number of unique visits to tracker URLs\").nullable(),\n urlExpireAfterDays: z.number().int().describe(\"Number of days until generated URLs expire\").nullable(),\n redirectURLTemplate: z.string().describe(\"The base URL template for personalized redirects\").nullable(),\n}).passthrough().describe(\"Response schema returned after creating a tracker.\");\n\nexport const postgridCreateTracker = action(\"POSTGRID_CREATE_TRACKER\", {\n slug: \"postgrid-create-tracker\",\n name: \"Create Tracker\",\n description: \"Tool to create a tracker for monitoring mail delivery status via URL tracking. Use when you need to track recipient engagement with personalized URLs.\",\n input: PostgridCreateTrackerInput,\n output: PostgridCreateTrackerOutput,\n});\n"],"mappings":";;AAwBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,oBAAoB,EAAE,MAAM;GAAC,EAAE,QAAQ,EAAE;GAAG,EAAE,QAAQ,EAAE;GAAG,EAAE,QAAQ,EAAE;EAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;EAC7J,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;CAClQ,CAAC,CAAC,CAAC,SAAS,kFAmBH;CACP,QAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -39,7 +39,7 @@ const PostgridCreateWebhookOutput = zod.z.object({
39
39
  "return_envelope_order.updated"
40
40
  ])).describe("List of events that trigger the webhook."),
41
41
  payloadFormat: zod.z.string().describe("Format of the webhook payload ('jwt' or 'json').").nullable()
42
- }).describe("Response schema returned after creating a PostGrid webhook.");
42
+ }).passthrough().describe("Response schema returned after creating a PostGrid webhook.");
43
43
  const postgridCreateWebhook = require_action.action("POSTGRID_CREATE_WEBHOOK", {
44
44
  slug: "postgrid-create-webhook",
45
45
  name: "Create Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL where webhook payloads will be sent.\"),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook. Possible values include: 'letter.created', 'letter.updated', 'postcard.created', 'postcard.updated', 'cheque.created', 'cheque.updated', 'self_mailer.created', 'self_mailer.updated', 'return_envelope_order.created', 'return_envelope_order.updated'.\"),\n payloadFormat: z.enum([\"jwt\", \"json\"]).describe(\"Format of the webhook payload: 'jwt' (signed) or 'json' (plain JSON). Defaults to 'jwt'.\").optional(),\n}).describe(\"Request schema for creating a new webhook in PostGrid.\");\nexport const PostgridCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n url: z.string().describe(\"The URL where webhook payloads are sent.\").nullable(),\n live: z.boolean().describe(\"Indicates if the webhook is in live mode.\").nullable(),\n object: z.string().describe(\"Object type, always 'webhook'.\").nullable(),\n secret: z.string().describe(\"Secret key used to sign webhook payloads.\").nullable(),\n enabled: z.boolean().describe(\"Indicates if the webhook is currently enabled.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the webhook was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the webhook was last updated.\").nullable(),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook.\"),\n payloadFormat: z.string().describe(\"Format of the webhook payload ('jwt' or 'json').\").nullable(),\n}).describe(\"Response schema returned after creating a PostGrid webhook.\");\n\nexport const postgridCreateWebhook = action(\"POSTGRID_CREATE_WEBHOOK\", {\n slug: \"postgrid-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook to receive order event notifications. Use after configuring your endpoint to handle webhook payloads.\",\n input: PostgridCreateWebhookInput,\n output: PostgridCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAkB;EAAoB;EAAoB;EAAkB;EAAkB;EAAuB;EAAuB;EAAiC;CAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,mSAAmS;CAC7iB,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAkB;EAAoB;EAAoB;EAAkB;EAAkB;EAAuB;EAAuB;EAAiC;CAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;CACpT,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL where webhook payloads will be sent.\"),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook. Possible values include: 'letter.created', 'letter.updated', 'postcard.created', 'postcard.updated', 'cheque.created', 'cheque.updated', 'self_mailer.created', 'self_mailer.updated', 'return_envelope_order.created', 'return_envelope_order.updated'.\"),\n payloadFormat: z.enum([\"jwt\", \"json\"]).describe(\"Format of the webhook payload: 'jwt' (signed) or 'json' (plain JSON). Defaults to 'jwt'.\").optional(),\n}).describe(\"Request schema for creating a new webhook in PostGrid.\");\nexport const PostgridCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n url: z.string().describe(\"The URL where webhook payloads are sent.\").nullable(),\n live: z.boolean().describe(\"Indicates if the webhook is in live mode.\").nullable(),\n object: z.string().describe(\"Object type, always 'webhook'.\").nullable(),\n secret: z.string().describe(\"Secret key used to sign webhook payloads.\").nullable(),\n enabled: z.boolean().describe(\"Indicates if the webhook is currently enabled.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the webhook was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the webhook was last updated.\").nullable(),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook.\"),\n payloadFormat: z.string().describe(\"Format of the webhook payload ('jwt' or 'json').\").nullable(),\n}).passthrough().describe(\"Response schema returned after creating a PostGrid webhook.\");\n\nexport const postgridCreateWebhook = action(\"POSTGRID_CREATE_WEBHOOK\", {\n slug: \"postgrid-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook to receive order event notifications. Use after configuring your endpoint to handle webhook payloads.\",\n input: PostgridCreateWebhookInput,\n output: PostgridCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAkB;EAAoB;EAAoB;EAAkB;EAAkB;EAAuB;EAAuB;EAAiC;CAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,mSAAmS;CAC7iB,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAkB;EAAoB;EAAoB;EAAkB;EAAkB;EAAuB;EAAuB;EAAiC;CAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;CACpT,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -42,7 +42,7 @@ declare const PostgridCreateWebhookOutput: z.ZodObject<{
42
42
  "return_envelope_order.updated": "return_envelope_order.updated";
43
43
  }>>;
44
44
  payloadFormat: z.ZodNullable<z.ZodString>;
45
- }, z.core.$strip>;
45
+ }, z.core.$loose>;
46
46
  declare const postgridCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  url: string;
48
48
  enabledEvents: ("letter.created" | "letter.updated" | "postcard.created" | "postcard.updated" | "cheque.created" | "cheque.updated" | "self_mailer.created" | "self_mailer.updated" | "return_envelope_order.created" | "return_envelope_order.updated")[];
@@ -42,7 +42,7 @@ declare const PostgridCreateWebhookOutput: z.ZodObject<{
42
42
  "return_envelope_order.updated": "return_envelope_order.updated";
43
43
  }>>;
44
44
  payloadFormat: z.ZodNullable<z.ZodString>;
45
- }, z.core.$strip>;
45
+ }, z.core.$loose>;
46
46
  declare const postgridCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  url: string;
48
48
  enabledEvents: ("letter.created" | "letter.updated" | "postcard.created" | "postcard.updated" | "cheque.created" | "cheque.updated" | "self_mailer.created" | "self_mailer.updated" | "return_envelope_order.created" | "return_envelope_order.updated")[];
@@ -42,7 +42,7 @@ const postgridCreateWebhook = action("POSTGRID_CREATE_WEBHOOK", {
42
42
  "return_envelope_order.updated"
43
43
  ])).describe("List of events that trigger the webhook."),
44
44
  payloadFormat: z.string().describe("Format of the webhook payload ('jwt' or 'json').").nullable()
45
- }).describe("Response schema returned after creating a PostGrid webhook.")
45
+ }).passthrough().describe("Response schema returned after creating a PostGrid webhook.")
46
46
  });
47
47
  //#endregion
48
48
  export { postgridCreateWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL where webhook payloads will be sent.\"),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook. Possible values include: 'letter.created', 'letter.updated', 'postcard.created', 'postcard.updated', 'cheque.created', 'cheque.updated', 'self_mailer.created', 'self_mailer.updated', 'return_envelope_order.created', 'return_envelope_order.updated'.\"),\n payloadFormat: z.enum([\"jwt\", \"json\"]).describe(\"Format of the webhook payload: 'jwt' (signed) or 'json' (plain JSON). Defaults to 'jwt'.\").optional(),\n}).describe(\"Request schema for creating a new webhook in PostGrid.\");\nexport const PostgridCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n url: z.string().describe(\"The URL where webhook payloads are sent.\").nullable(),\n live: z.boolean().describe(\"Indicates if the webhook is in live mode.\").nullable(),\n object: z.string().describe(\"Object type, always 'webhook'.\").nullable(),\n secret: z.string().describe(\"Secret key used to sign webhook payloads.\").nullable(),\n enabled: z.boolean().describe(\"Indicates if the webhook is currently enabled.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the webhook was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the webhook was last updated.\").nullable(),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook.\"),\n payloadFormat: z.string().describe(\"Format of the webhook payload ('jwt' or 'json').\").nullable(),\n}).describe(\"Response schema returned after creating a PostGrid webhook.\");\n\nexport const postgridCreateWebhook = action(\"POSTGRID_CREATE_WEBHOOK\", {\n slug: \"postgrid-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook to receive order event notifications. Use after configuring your endpoint to handle webhook payloads.\",\n input: PostgridCreateWebhookInput,\n output: PostgridCreateWebhookOutput,\n});\n"],"mappings":";;AAsBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,eAAe,EAAE,MAAM,EAAE,KAAK;GAAC;GAAkB;GAAkB;GAAoB;GAAoB;GAAkB;GAAkB;GAAuB;GAAuB;GAAiC;EAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,mSAAmS;EAC7iB,eAAe,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACxF,eAAe,EAAE,MAAM,EAAE,KAAK;GAAC;GAAkB;GAAkB;GAAoB;GAAoB;GAAkB;GAAkB;GAAuB;GAAuB;GAAiC;EAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;EACpT,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL where webhook payloads will be sent.\"),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook. Possible values include: 'letter.created', 'letter.updated', 'postcard.created', 'postcard.updated', 'cheque.created', 'cheque.updated', 'self_mailer.created', 'self_mailer.updated', 'return_envelope_order.created', 'return_envelope_order.updated'.\"),\n payloadFormat: z.enum([\"jwt\", \"json\"]).describe(\"Format of the webhook payload: 'jwt' (signed) or 'json' (plain JSON). Defaults to 'jwt'.\").optional(),\n}).describe(\"Request schema for creating a new webhook in PostGrid.\");\nexport const PostgridCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n url: z.string().describe(\"The URL where webhook payloads are sent.\").nullable(),\n live: z.boolean().describe(\"Indicates if the webhook is in live mode.\").nullable(),\n object: z.string().describe(\"Object type, always 'webhook'.\").nullable(),\n secret: z.string().describe(\"Secret key used to sign webhook payloads.\").nullable(),\n enabled: z.boolean().describe(\"Indicates if the webhook is currently enabled.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the webhook was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the webhook was last updated.\").nullable(),\n enabledEvents: z.array(z.enum([\"letter.created\", \"letter.updated\", \"postcard.created\", \"postcard.updated\", \"cheque.created\", \"cheque.updated\", \"self_mailer.created\", \"self_mailer.updated\", \"return_envelope_order.created\", \"return_envelope_order.updated\"])).describe(\"List of events that trigger the webhook.\"),\n payloadFormat: z.string().describe(\"Format of the webhook payload ('jwt' or 'json').\").nullable(),\n}).passthrough().describe(\"Response schema returned after creating a PostGrid webhook.\");\n\nexport const postgridCreateWebhook = action(\"POSTGRID_CREATE_WEBHOOK\", {\n slug: \"postgrid-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook to receive order event notifications. Use after configuring your endpoint to handle webhook payloads.\",\n input: PostgridCreateWebhookInput,\n output: PostgridCreateWebhookOutput,\n});\n"],"mappings":";;AAsBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,eAAe,EAAE,MAAM,EAAE,KAAK;GAAC;GAAkB;GAAkB;GAAoB;GAAoB;GAAkB;GAAkB;GAAuB;GAAuB;GAAiC;EAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,mSAAmS;EAC7iB,eAAe,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACxF,eAAe,EAAE,MAAM,EAAE,KAAK;GAAC;GAAkB;GAAkB;GAAoB;GAAoB;GAAkB;GAAkB;GAAuB;GAAuB;GAAiC;EAA+B,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;EACpT,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const PostgridDeleteBankAccountOutput = zod.z.object({
6
6
  id: zod.z.string().describe("The bank account ID that was deleted").nullable(),
7
7
  object: zod.z.string().describe("The type of the object returned, typically 'bank_account'").nullable(),
8
8
  deleted: zod.z.boolean().describe("True if the bank account was deleted").nullable()
9
- }).describe("Response schema returned after deleting a bank account.");
9
+ }).passthrough().describe("Response schema returned after deleting a bank account.");
10
10
  const postgridDeleteBankAccount = require_action.action("POSTGRID_DELETE_BANK_ACCOUNT", {
11
11
  slug: "postgrid-delete-bank-account",
12
12
  name: "Delete Bank Account",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-bank-account.cjs","names":["z","action"],"sources":["../../src/actions/delete-bank-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteBankAccountInput = z.object({\n id: z.string().describe(\"Unique identifier of the bank account to delete\"),\n}).describe(\"Request schema for deleting a bank account by its ID.\");\nexport const PostgridDeleteBankAccountOutput = z.object({\n id: z.string().describe(\"The bank account ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'bank_account'\").nullable(),\n deleted: z.boolean().describe(\"True if the bank account was deleted\").nullable(),\n}).describe(\"Response schema returned after deleting a bank account.\");\n\nexport const postgridDeleteBankAccount = action(\"POSTGRID_DELETE_BANK_ACCOUNT\", {\n slug: \"postgrid-delete-bank-account\",\n name: \"Delete Bank Account\",\n description: \"Tool to delete a bank account by its ID. Use when you need to remove a bank account after confirming its identifier.\",\n input: PostgridDeleteBankAccountInput,\n output: PostgridDeleteBankAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-bank-account.cjs","names":["z","action"],"sources":["../../src/actions/delete-bank-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteBankAccountInput = z.object({\n id: z.string().describe(\"Unique identifier of the bank account to delete\"),\n}).describe(\"Request schema for deleting a bank account by its ID.\");\nexport const PostgridDeleteBankAccountOutput = z.object({\n id: z.string().describe(\"The bank account ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'bank_account'\").nullable(),\n deleted: z.boolean().describe(\"True if the bank account was deleted\").nullable(),\n}).passthrough().describe(\"Response schema returned after deleting a bank account.\");\n\nexport const postgridDeleteBankAccount = action(\"POSTGRID_DELETE_BANK_ACCOUNT\", {\n slug: \"postgrid-delete-bank-account\",\n name: \"Delete Bank Account\",\n description: \"Tool to delete a bank account by its ID. Use when you need to remove a bank account after confirming its identifier.\",\n input: PostgridDeleteBankAccountInput,\n output: PostgridDeleteBankAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const PostgridDeleteBankAccountOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodString>;
9
9
  object: z.ZodNullable<z.ZodString>;
10
10
  deleted: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const postgridDeleteBankAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: string;
14
14
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ declare const PostgridDeleteBankAccountOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodString>;
9
9
  object: z.ZodNullable<z.ZodString>;
10
10
  deleted: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const postgridDeleteBankAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: string;
14
14
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -9,7 +9,7 @@ const postgridDeleteBankAccount = action("POSTGRID_DELETE_BANK_ACCOUNT", {
9
9
  id: z.string().describe("The bank account ID that was deleted").nullable(),
10
10
  object: z.string().describe("The type of the object returned, typically 'bank_account'").nullable(),
11
11
  deleted: z.boolean().describe("True if the bank account was deleted").nullable()
12
- }).describe("Response schema returned after deleting a bank account.")
12
+ }).passthrough().describe("Response schema returned after deleting a bank account.")
13
13
  });
14
14
  //#endregion
15
15
  export { postgridDeleteBankAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-bank-account.mjs","names":[],"sources":["../../src/actions/delete-bank-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteBankAccountInput = z.object({\n id: z.string().describe(\"Unique identifier of the bank account to delete\"),\n}).describe(\"Request schema for deleting a bank account by its ID.\");\nexport const PostgridDeleteBankAccountOutput = z.object({\n id: z.string().describe(\"The bank account ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'bank_account'\").nullable(),\n deleted: z.boolean().describe(\"True if the bank account was deleted\").nullable(),\n}).describe(\"Response schema returned after deleting a bank account.\");\n\nexport const postgridDeleteBankAccount = action(\"POSTGRID_DELETE_BANK_ACCOUNT\", {\n slug: \"postgrid-delete-bank-account\",\n name: \"Delete Bank Account\",\n description: \"Tool to delete a bank account by its ID. Use when you need to remove a bank account after confirming its identifier.\",\n input: PostgridDeleteBankAccountInput,\n output: PostgridDeleteBankAccountOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAX6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-bank-account.mjs","names":[],"sources":["../../src/actions/delete-bank-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteBankAccountInput = z.object({\n id: z.string().describe(\"Unique identifier of the bank account to delete\"),\n}).describe(\"Request schema for deleting a bank account by its ID.\");\nexport const PostgridDeleteBankAccountOutput = z.object({\n id: z.string().describe(\"The bank account ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'bank_account'\").nullable(),\n deleted: z.boolean().describe(\"True if the bank account was deleted\").nullable(),\n}).passthrough().describe(\"Response schema returned after deleting a bank account.\");\n\nexport const postgridDeleteBankAccount = action(\"POSTGRID_DELETE_BANK_ACCOUNT\", {\n slug: \"postgrid-delete-bank-account\",\n name: \"Delete Bank Account\",\n description: \"Tool to delete a bank account by its ID. Use when you need to remove a bank account after confirming its identifier.\",\n input: PostgridDeleteBankAccountInput,\n output: PostgridDeleteBankAccountOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAX6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const PostgridDeleteContactOutput = zod.z.object({
6
6
  id: zod.z.string().describe("The contact ID that was deleted").nullable(),
7
7
  object: zod.z.string().describe("The type of the object returned, typically 'contact'").nullable(),
8
8
  deleted: zod.z.boolean().describe("True if the contact was deleted").nullable()
9
- }).describe("Response schema returned after deleting a contact.");
9
+ }).passthrough().describe("Response schema returned after deleting a contact.");
10
10
  const postgridDeleteContact = require_action.action("POSTGRID_DELETE_CONTACT", {
11
11
  slug: "postgrid-delete-contact",
12
12
  name: "Delete Contact",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to delete\"),\n}).describe(\"Request schema for deleting a contact by its ID.\");\nexport const PostgridDeleteContactOutput = z.object({\n id: z.string().describe(\"The contact ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'contact'\").nullable(),\n deleted: z.boolean().describe(\"True if the contact was deleted\").nullable(),\n}).describe(\"Response schema returned after deleting a contact.\");\n\nexport const postgridDeleteContact = action(\"POSTGRID_DELETE_CONTACT\", {\n slug: \"postgrid-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by its ID. Use when you need to remove obsolete contacts after confirming their identifier.\",\n input: PostgridDeleteContactInput,\n output: PostgridDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to delete\"),\n}).describe(\"Request schema for deleting a contact by its ID.\");\nexport const PostgridDeleteContactOutput = z.object({\n id: z.string().describe(\"The contact ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'contact'\").nullable(),\n deleted: z.boolean().describe(\"True if the contact was deleted\").nullable(),\n}).passthrough().describe(\"Response schema returned after deleting a contact.\");\n\nexport const postgridDeleteContact = action(\"POSTGRID_DELETE_CONTACT\", {\n slug: \"postgrid-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by its ID. Use when you need to remove obsolete contacts after confirming their identifier.\",\n input: PostgridDeleteContactInput,\n output: PostgridDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const PostgridDeleteContactOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodString>;
9
9
  object: z.ZodNullable<z.ZodString>;
10
10
  deleted: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const postgridDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: string;
14
14
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ declare const PostgridDeleteContactOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodString>;
9
9
  object: z.ZodNullable<z.ZodString>;
10
10
  deleted: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const postgridDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: string;
14
14
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -9,7 +9,7 @@ const postgridDeleteContact = action("POSTGRID_DELETE_CONTACT", {
9
9
  id: z.string().describe("The contact ID that was deleted").nullable(),
10
10
  object: z.string().describe("The type of the object returned, typically 'contact'").nullable(),
11
11
  deleted: z.boolean().describe("True if the contact was deleted").nullable()
12
- }).describe("Response schema returned after deleting a contact.")
12
+ }).passthrough().describe("Response schema returned after deleting a contact.")
13
13
  });
14
14
  //#endregion
15
15
  export { postgridDeleteContact };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to delete\"),\n}).describe(\"Request schema for deleting a contact by its ID.\");\nexport const PostgridDeleteContactOutput = z.object({\n id: z.string().describe(\"The contact ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'contact'\").nullable(),\n deleted: z.boolean().describe(\"True if the contact was deleted\").nullable(),\n}).describe(\"Response schema returned after deleting a contact.\");\n\nexport const postgridDeleteContact = action(\"POSTGRID_DELETE_CONTACT\", {\n slug: \"postgrid-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by its ID. Use when you need to remove obsolete contacts after confirming their identifier.\",\n input: PostgridDeleteContactInput,\n output: PostgridDeleteContactOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to delete\"),\n}).describe(\"Request schema for deleting a contact by its ID.\");\nexport const PostgridDeleteContactOutput = z.object({\n id: z.string().describe(\"The contact ID that was deleted\").nullable(),\n object: z.string().describe(\"The type of the object returned, typically 'contact'\").nullable(),\n deleted: z.boolean().describe(\"True if the contact was deleted\").nullable(),\n}).passthrough().describe(\"Response schema returned after deleting a contact.\");\n\nexport const postgridDeleteContact = action(\"POSTGRID_DELETE_CONTACT\", {\n slug: \"postgrid-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by its ID. Use when you need to remove obsolete contacts after confirming their identifier.\",\n input: PostgridDeleteContactInput,\n output: PostgridDeleteContactOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const PostgridDeleteTemplateEditorSessionOutput = zod.z.object({
7
7
  url: zod.z.string().describe("The URL of the template editor session (becomes undefined after deletion)").nullable().optional(),
8
8
  object: zod.z.string().describe("The type of the object returned, typically 'template_editor_session'").nullable(),
9
9
  deleted: zod.z.boolean().describe("True if the template editor session was deleted").nullable()
10
- }).describe("Response schema returned after deleting a template editor session.");
10
+ }).passthrough().describe("Response schema returned after deleting a template editor session.");
11
11
  const postgridDeleteTemplateEditorSession = require_action.action("POSTGRID_DELETE_TEMPLATE_EDITOR_SESSION", {
12
12
  slug: "postgrid-delete-template-editor-session",
13
13
  name: "Delete Template Editor Session",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-template-editor-session.cjs","names":["z","action"],"sources":["../../src/actions/delete-template-editor-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteTemplateEditorSessionInput = z.object({\n id: z.string().describe(\"Unique identifier of the template editor session to delete\"),\n}).describe(\"Request schema for deleting a template editor session by its ID.\");\nexport const PostgridDeleteTemplateEditorSessionOutput = z.object({\n id: z.string().describe(\"The template editor session ID that was deleted\").nullable(),\n url: z.string().describe(\"The URL of the template editor session (becomes undefined after deletion)\").nullable().optional(),\n object: z.string().describe(\"The type of the object returned, typically 'template_editor_session'\").nullable(),\n deleted: z.boolean().describe(\"True if the template editor session was deleted\").nullable(),\n}).describe(\"Response schema returned after deleting a template editor session.\");\n\nexport const postgridDeleteTemplateEditorSession = action(\"POSTGRID_DELETE_TEMPLATE_EDITOR_SESSION\", {\n slug: \"postgrid-delete-template-editor-session\",\n name: \"Delete Template Editor Session\",\n description: \"Tool to delete a template editor session by its ID. Use when you need to remove an existing template editor session.\",\n input: PostgridDeleteTemplateEditorSessionInput,\n output: PostgridDeleteTemplateEditorSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-template-editor-session.cjs","names":["z","action"],"sources":["../../src/actions/delete-template-editor-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridDeleteTemplateEditorSessionInput = z.object({\n id: z.string().describe(\"Unique identifier of the template editor session to delete\"),\n}).describe(\"Request schema for deleting a template editor session by its ID.\");\nexport const PostgridDeleteTemplateEditorSessionOutput = z.object({\n id: z.string().describe(\"The template editor session ID that was deleted\").nullable(),\n url: z.string().describe(\"The URL of the template editor session (becomes undefined after deletion)\").nullable().optional(),\n object: z.string().describe(\"The type of the object returned, typically 'template_editor_session'\").nullable(),\n deleted: z.boolean().describe(\"True if the template editor session was deleted\").nullable(),\n}).passthrough().describe(\"Response schema returned after deleting a template editor session.\");\n\nexport const postgridDeleteTemplateEditorSession = action(\"POSTGRID_DELETE_TEMPLATE_EDITOR_SESSION\", {\n slug: \"postgrid-delete-template-editor-session\",\n name: \"Delete Template Editor Session\",\n description: \"Tool to delete a template editor session by its ID. Use when you need to remove an existing template editor session.\",\n input: PostgridDeleteTemplateEditorSessionInput,\n output: PostgridDeleteTemplateEditorSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const PostgridDeleteTemplateEditorSessionOutput: z.ZodObject<{
9
9
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  object: z.ZodNullable<z.ZodString>;
11
11
  deleted: z.ZodNullable<z.ZodBoolean>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const postgridDeleteTemplateEditorSession: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -9,7 +9,7 @@ declare const PostgridDeleteTemplateEditorSessionOutput: z.ZodObject<{
9
9
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  object: z.ZodNullable<z.ZodString>;
11
11
  deleted: z.ZodNullable<z.ZodBoolean>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const postgridDeleteTemplateEditorSession: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;