@keystrokehq/shippo 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (573) hide show
  1. package/dist/actions/create-address.cjs +3 -3
  2. package/dist/actions/create-address.cjs.map +1 -1
  3. package/dist/actions/create-address.d.cts +3 -3
  4. package/dist/actions/create-address.d.mts +3 -3
  5. package/dist/actions/create-address.mjs +3 -3
  6. package/dist/actions/create-address.mjs.map +1 -1
  7. package/dist/actions/create-batch.cjs +4 -4
  8. package/dist/actions/create-batch.cjs.map +1 -1
  9. package/dist/actions/create-batch.d.cts +6 -4
  10. package/dist/actions/create-batch.d.mts +6 -4
  11. package/dist/actions/create-batch.mjs +4 -4
  12. package/dist/actions/create-batch.mjs.map +1 -1
  13. package/dist/actions/create-carrier-account.cjs +2 -2
  14. package/dist/actions/create-carrier-account.cjs.map +1 -1
  15. package/dist/actions/create-carrier-account.d.cts +2 -2
  16. package/dist/actions/create-carrier-account.d.mts +2 -2
  17. package/dist/actions/create-carrier-account.mjs +2 -2
  18. package/dist/actions/create-carrier-account.mjs.map +1 -1
  19. package/dist/actions/create-customs-item.cjs +1 -1
  20. package/dist/actions/create-customs-item.cjs.map +1 -1
  21. package/dist/actions/create-customs-item.d.cts +1 -1
  22. package/dist/actions/create-customs-item.d.mts +1 -1
  23. package/dist/actions/create-customs-item.mjs +1 -1
  24. package/dist/actions/create-customs-item.mjs.map +1 -1
  25. package/dist/actions/create-live-rate.cjs +6 -6
  26. package/dist/actions/create-live-rate.cjs.map +1 -1
  27. package/dist/actions/create-live-rate.d.cts +10 -6
  28. package/dist/actions/create-live-rate.d.mts +10 -6
  29. package/dist/actions/create-live-rate.mjs +6 -6
  30. package/dist/actions/create-live-rate.mjs.map +1 -1
  31. package/dist/actions/create-manifest.cjs +2 -2
  32. package/dist/actions/create-manifest.cjs.map +1 -1
  33. package/dist/actions/create-manifest.d.cts +2 -2
  34. package/dist/actions/create-manifest.d.mts +2 -2
  35. package/dist/actions/create-manifest.mjs +2 -2
  36. package/dist/actions/create-manifest.mjs.map +1 -1
  37. package/dist/actions/create-merchant-address.cjs +3 -3
  38. package/dist/actions/create-merchant-address.cjs.map +1 -1
  39. package/dist/actions/create-merchant-address.d.cts +3 -3
  40. package/dist/actions/create-merchant-address.d.mts +3 -3
  41. package/dist/actions/create-merchant-address.mjs +3 -3
  42. package/dist/actions/create-merchant-address.mjs.map +1 -1
  43. package/dist/actions/create-merchant-batch.cjs +6 -6
  44. package/dist/actions/create-merchant-batch.cjs.map +1 -1
  45. package/dist/actions/create-merchant-batch.d.cts +9 -8
  46. package/dist/actions/create-merchant-batch.d.mts +9 -8
  47. package/dist/actions/create-merchant-batch.mjs +6 -6
  48. package/dist/actions/create-merchant-batch.mjs.map +1 -1
  49. package/dist/actions/create-merchant-carrier-account.cjs +2 -2
  50. package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
  51. package/dist/actions/create-merchant-carrier-account.d.cts +2 -2
  52. package/dist/actions/create-merchant-carrier-account.d.mts +2 -2
  53. package/dist/actions/create-merchant-carrier-account.mjs +2 -2
  54. package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
  55. package/dist/actions/create-merchant-customs-declaration.cjs +2 -2
  56. package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
  57. package/dist/actions/create-merchant-customs-declaration.d.cts +4 -3
  58. package/dist/actions/create-merchant-customs-declaration.d.mts +4 -3
  59. package/dist/actions/create-merchant-customs-declaration.mjs +2 -2
  60. package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
  61. package/dist/actions/create-merchant-customs-item.cjs +1 -1
  62. package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
  63. package/dist/actions/create-merchant-customs-item.d.cts +2 -2
  64. package/dist/actions/create-merchant-customs-item.d.mts +2 -2
  65. package/dist/actions/create-merchant-customs-item.mjs +1 -1
  66. package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
  67. package/dist/actions/create-merchant-order.cjs +4 -4
  68. package/dist/actions/create-merchant-order.cjs.map +1 -1
  69. package/dist/actions/create-merchant-order.d.cts +6 -5
  70. package/dist/actions/create-merchant-order.d.mts +6 -5
  71. package/dist/actions/create-merchant-order.mjs +4 -4
  72. package/dist/actions/create-merchant-order.mjs.map +1 -1
  73. package/dist/actions/create-merchant-parcel.cjs +4 -4
  74. package/dist/actions/create-merchant-parcel.cjs.map +1 -1
  75. package/dist/actions/create-merchant-parcel.d.cts +6 -6
  76. package/dist/actions/create-merchant-parcel.d.mts +6 -6
  77. package/dist/actions/create-merchant-parcel.mjs +4 -4
  78. package/dist/actions/create-merchant-parcel.mjs.map +1 -1
  79. package/dist/actions/create-merchant-refund.cjs +1 -1
  80. package/dist/actions/create-merchant-refund.cjs.map +1 -1
  81. package/dist/actions/create-merchant-refund.d.cts +1 -1
  82. package/dist/actions/create-merchant-refund.d.mts +1 -1
  83. package/dist/actions/create-merchant-refund.mjs +1 -1
  84. package/dist/actions/create-merchant-refund.mjs.map +1 -1
  85. package/dist/actions/create-merchant-shipment.cjs +14 -14
  86. package/dist/actions/create-merchant-shipment.cjs.map +1 -1
  87. package/dist/actions/create-merchant-shipment.d.cts +21 -20
  88. package/dist/actions/create-merchant-shipment.d.mts +21 -20
  89. package/dist/actions/create-merchant-shipment.mjs +14 -14
  90. package/dist/actions/create-merchant-shipment.mjs.map +1 -1
  91. package/dist/actions/create-merchant-transaction.cjs +2 -2
  92. package/dist/actions/create-merchant-transaction.cjs.map +1 -1
  93. package/dist/actions/create-merchant-transaction.d.cts +3 -3
  94. package/dist/actions/create-merchant-transaction.d.mts +3 -3
  95. package/dist/actions/create-merchant-transaction.mjs +2 -2
  96. package/dist/actions/create-merchant-transaction.mjs.map +1 -1
  97. package/dist/actions/create-order.cjs +4 -4
  98. package/dist/actions/create-order.cjs.map +1 -1
  99. package/dist/actions/create-order.d.cts +6 -5
  100. package/dist/actions/create-order.d.mts +6 -5
  101. package/dist/actions/create-order.mjs +4 -4
  102. package/dist/actions/create-order.mjs.map +1 -1
  103. package/dist/actions/create-parcel.cjs +4 -4
  104. package/dist/actions/create-parcel.cjs.map +1 -1
  105. package/dist/actions/create-parcel.d.cts +6 -6
  106. package/dist/actions/create-parcel.d.mts +6 -6
  107. package/dist/actions/create-parcel.mjs +4 -4
  108. package/dist/actions/create-parcel.mjs.map +1 -1
  109. package/dist/actions/create-refund.cjs +1 -1
  110. package/dist/actions/create-refund.cjs.map +1 -1
  111. package/dist/actions/create-refund.d.cts +1 -1
  112. package/dist/actions/create-refund.d.mts +1 -1
  113. package/dist/actions/create-refund.mjs +1 -1
  114. package/dist/actions/create-refund.mjs.map +1 -1
  115. package/dist/actions/create-service-group.cjs +3 -3
  116. package/dist/actions/create-service-group.cjs.map +1 -1
  117. package/dist/actions/create-service-group.d.cts +4 -3
  118. package/dist/actions/create-service-group.d.mts +4 -3
  119. package/dist/actions/create-service-group.mjs +3 -3
  120. package/dist/actions/create-service-group.mjs.map +1 -1
  121. package/dist/actions/create-shipment.cjs +10 -10
  122. package/dist/actions/create-shipment.cjs.map +1 -1
  123. package/dist/actions/create-shipment.d.cts +18 -17
  124. package/dist/actions/create-shipment.d.cts.map +1 -1
  125. package/dist/actions/create-shipment.d.mts +18 -17
  126. package/dist/actions/create-shipment.d.mts.map +1 -1
  127. package/dist/actions/create-shipment.mjs +10 -10
  128. package/dist/actions/create-shipment.mjs.map +1 -1
  129. package/dist/actions/create-track.cjs +5 -5
  130. package/dist/actions/create-track.cjs.map +1 -1
  131. package/dist/actions/create-track.d.cts +8 -8
  132. package/dist/actions/create-track.d.mts +8 -8
  133. package/dist/actions/create-track.mjs +5 -5
  134. package/dist/actions/create-track.mjs.map +1 -1
  135. package/dist/actions/create-transaction.cjs +3 -3
  136. package/dist/actions/create-transaction.cjs.map +1 -1
  137. package/dist/actions/create-transaction.d.cts +5 -5
  138. package/dist/actions/create-transaction.d.mts +5 -5
  139. package/dist/actions/create-transaction.mjs +3 -3
  140. package/dist/actions/create-transaction.mjs.map +1 -1
  141. package/dist/actions/create-user-parcel-template.cjs +2 -2
  142. package/dist/actions/create-user-parcel-template.cjs.map +1 -1
  143. package/dist/actions/create-user-parcel-template.d.cts +2 -2
  144. package/dist/actions/create-user-parcel-template.d.mts +2 -2
  145. package/dist/actions/create-user-parcel-template.mjs +2 -2
  146. package/dist/actions/create-user-parcel-template.mjs.map +1 -1
  147. package/dist/actions/create-webhook.cjs +1 -1
  148. package/dist/actions/create-webhook.cjs.map +1 -1
  149. package/dist/actions/create-webhook.d.cts +5 -5
  150. package/dist/actions/create-webhook.d.mts +5 -5
  151. package/dist/actions/create-webhook.mjs +1 -1
  152. package/dist/actions/create-webhook.mjs.map +1 -1
  153. package/dist/actions/delete-default-parcel-template.cjs +1 -1
  154. package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
  155. package/dist/actions/delete-default-parcel-template.d.cts +1 -1
  156. package/dist/actions/delete-default-parcel-template.d.mts +1 -1
  157. package/dist/actions/delete-default-parcel-template.mjs +1 -1
  158. package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
  159. package/dist/actions/delete-user-parcel-template.cjs +1 -1
  160. package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
  161. package/dist/actions/delete-user-parcel-template.d.cts +1 -1
  162. package/dist/actions/delete-user-parcel-template.d.mts +1 -1
  163. package/dist/actions/delete-user-parcel-template.mjs +1 -1
  164. package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
  165. package/dist/actions/delete-webhook.cjs +1 -1
  166. package/dist/actions/delete-webhook.cjs.map +1 -1
  167. package/dist/actions/delete-webhook.d.cts +1 -1
  168. package/dist/actions/delete-webhook.d.mts +1 -1
  169. package/dist/actions/delete-webhook.mjs +1 -1
  170. package/dist/actions/delete-webhook.mjs.map +1 -1
  171. package/dist/actions/get-address.cjs +3 -3
  172. package/dist/actions/get-address.cjs.map +1 -1
  173. package/dist/actions/get-address.d.cts +3 -3
  174. package/dist/actions/get-address.d.mts +3 -3
  175. package/dist/actions/get-address.mjs +3 -3
  176. package/dist/actions/get-address.mjs.map +1 -1
  177. package/dist/actions/get-carrier-account.cjs +2 -2
  178. package/dist/actions/get-carrier-account.cjs.map +1 -1
  179. package/dist/actions/get-carrier-account.d.cts +2 -2
  180. package/dist/actions/get-carrier-account.d.mts +2 -2
  181. package/dist/actions/get-carrier-account.mjs +2 -2
  182. package/dist/actions/get-carrier-account.mjs.map +1 -1
  183. package/dist/actions/get-carrier-parcel-template.cjs +1 -1
  184. package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
  185. package/dist/actions/get-carrier-parcel-template.d.cts +2 -2
  186. package/dist/actions/get-carrier-parcel-template.d.mts +2 -2
  187. package/dist/actions/get-carrier-parcel-template.mjs +1 -1
  188. package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
  189. package/dist/actions/get-carrier-registration-status.cjs +1 -1
  190. package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
  191. package/dist/actions/get-carrier-registration-status.d.cts +1 -1
  192. package/dist/actions/get-carrier-registration-status.d.mts +1 -1
  193. package/dist/actions/get-carrier-registration-status.mjs +1 -1
  194. package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
  195. package/dist/actions/get-customs-declaration.cjs +4 -4
  196. package/dist/actions/get-customs-declaration.cjs.map +1 -1
  197. package/dist/actions/get-customs-declaration.d.cts +4 -4
  198. package/dist/actions/get-customs-declaration.d.mts +4 -4
  199. package/dist/actions/get-customs-declaration.mjs +4 -4
  200. package/dist/actions/get-customs-declaration.mjs.map +1 -1
  201. package/dist/actions/get-customs-item.cjs +1 -1
  202. package/dist/actions/get-customs-item.cjs.map +1 -1
  203. package/dist/actions/get-customs-item.d.cts +1 -1
  204. package/dist/actions/get-customs-item.d.mts +1 -1
  205. package/dist/actions/get-customs-item.mjs +1 -1
  206. package/dist/actions/get-customs-item.mjs.map +1 -1
  207. package/dist/actions/get-default-parcel-template.cjs +2 -2
  208. package/dist/actions/get-default-parcel-template.cjs.map +1 -1
  209. package/dist/actions/get-default-parcel-template.d.cts +2 -2
  210. package/dist/actions/get-default-parcel-template.d.mts +2 -2
  211. package/dist/actions/get-default-parcel-template.mjs +2 -2
  212. package/dist/actions/get-default-parcel-template.mjs.map +1 -1
  213. package/dist/actions/get-merchant-address.cjs +3 -3
  214. package/dist/actions/get-merchant-address.cjs.map +1 -1
  215. package/dist/actions/get-merchant-address.d.cts +3 -3
  216. package/dist/actions/get-merchant-address.d.mts +3 -3
  217. package/dist/actions/get-merchant-address.mjs +3 -3
  218. package/dist/actions/get-merchant-address.mjs.map +1 -1
  219. package/dist/actions/get-merchant-batch.cjs +3 -3
  220. package/dist/actions/get-merchant-batch.cjs.map +1 -1
  221. package/dist/actions/get-merchant-batch.d.cts +5 -5
  222. package/dist/actions/get-merchant-batch.d.mts +5 -5
  223. package/dist/actions/get-merchant-batch.mjs +3 -3
  224. package/dist/actions/get-merchant-batch.mjs.map +1 -1
  225. package/dist/actions/get-merchant-carrier-account.cjs +2 -2
  226. package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
  227. package/dist/actions/get-merchant-carrier-account.d.cts +2 -2
  228. package/dist/actions/get-merchant-carrier-account.d.mts +2 -2
  229. package/dist/actions/get-merchant-carrier-account.mjs +2 -2
  230. package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
  231. package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -1
  232. package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
  233. package/dist/actions/get-merchant-carrier-registration-status.d.cts +1 -1
  234. package/dist/actions/get-merchant-carrier-registration-status.d.mts +1 -1
  235. package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -1
  236. package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
  237. package/dist/actions/get-merchant-customs-declaration.cjs +1 -1
  238. package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
  239. package/dist/actions/get-merchant-customs-declaration.d.cts +1 -1
  240. package/dist/actions/get-merchant-customs-declaration.d.mts +1 -1
  241. package/dist/actions/get-merchant-customs-declaration.mjs +1 -1
  242. package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
  243. package/dist/actions/get-merchant-customs-item.cjs +1 -1
  244. package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
  245. package/dist/actions/get-merchant-customs-item.d.cts +1 -1
  246. package/dist/actions/get-merchant-customs-item.d.mts +1 -1
  247. package/dist/actions/get-merchant-customs-item.mjs +1 -1
  248. package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
  249. package/dist/actions/get-merchant-manifest.cjs +1 -1
  250. package/dist/actions/get-merchant-manifest.cjs.map +1 -1
  251. package/dist/actions/get-merchant-manifest.d.cts +1 -1
  252. package/dist/actions/get-merchant-manifest.d.mts +1 -1
  253. package/dist/actions/get-merchant-manifest.mjs +1 -1
  254. package/dist/actions/get-merchant-manifest.mjs.map +1 -1
  255. package/dist/actions/get-merchant-order.cjs +3 -3
  256. package/dist/actions/get-merchant-order.cjs.map +1 -1
  257. package/dist/actions/get-merchant-order.d.cts +4 -4
  258. package/dist/actions/get-merchant-order.d.mts +4 -4
  259. package/dist/actions/get-merchant-order.mjs +3 -3
  260. package/dist/actions/get-merchant-order.mjs.map +1 -1
  261. package/dist/actions/get-merchant-parcel.cjs +4 -4
  262. package/dist/actions/get-merchant-parcel.cjs.map +1 -1
  263. package/dist/actions/get-merchant-parcel.d.cts +4 -4
  264. package/dist/actions/get-merchant-parcel.d.mts +4 -4
  265. package/dist/actions/get-merchant-parcel.mjs +4 -4
  266. package/dist/actions/get-merchant-parcel.mjs.map +1 -1
  267. package/dist/actions/get-merchant-rate.cjs +3 -3
  268. package/dist/actions/get-merchant-rate.cjs.map +1 -1
  269. package/dist/actions/get-merchant-rate.d.cts +3 -3
  270. package/dist/actions/get-merchant-rate.d.mts +3 -3
  271. package/dist/actions/get-merchant-rate.mjs +3 -3
  272. package/dist/actions/get-merchant-rate.mjs.map +1 -1
  273. package/dist/actions/get-merchant-refund.cjs +1 -1
  274. package/dist/actions/get-merchant-refund.cjs.map +1 -1
  275. package/dist/actions/get-merchant-refund.d.cts +1 -1
  276. package/dist/actions/get-merchant-refund.d.mts +1 -1
  277. package/dist/actions/get-merchant-refund.mjs +1 -1
  278. package/dist/actions/get-merchant-refund.mjs.map +1 -1
  279. package/dist/actions/get-merchant-shipment.cjs +14 -14
  280. package/dist/actions/get-merchant-shipment.cjs.map +1 -1
  281. package/dist/actions/get-merchant-shipment.d.cts +19 -19
  282. package/dist/actions/get-merchant-shipment.d.mts +19 -19
  283. package/dist/actions/get-merchant-shipment.mjs +14 -14
  284. package/dist/actions/get-merchant-shipment.mjs.map +1 -1
  285. package/dist/actions/get-merchant-track.cjs +6 -6
  286. package/dist/actions/get-merchant-track.cjs.map +1 -1
  287. package/dist/actions/get-merchant-track.d.cts +8 -8
  288. package/dist/actions/get-merchant-track.d.mts +8 -8
  289. package/dist/actions/get-merchant-track.mjs +6 -6
  290. package/dist/actions/get-merchant-track.mjs.map +1 -1
  291. package/dist/actions/get-merchant-transaction.cjs +2 -2
  292. package/dist/actions/get-merchant-transaction.cjs.map +1 -1
  293. package/dist/actions/get-merchant-transaction.d.cts +3 -3
  294. package/dist/actions/get-merchant-transaction.d.mts +3 -3
  295. package/dist/actions/get-merchant-transaction.mjs +2 -2
  296. package/dist/actions/get-merchant-transaction.mjs.map +1 -1
  297. package/dist/actions/get-merchant.cjs +1 -1
  298. package/dist/actions/get-merchant.cjs.map +1 -1
  299. package/dist/actions/get-merchant.d.cts +1 -1
  300. package/dist/actions/get-merchant.d.mts +1 -1
  301. package/dist/actions/get-merchant.mjs +1 -1
  302. package/dist/actions/get-merchant.mjs.map +1 -1
  303. package/dist/actions/get-order.cjs +5 -5
  304. package/dist/actions/get-order.cjs.map +1 -1
  305. package/dist/actions/get-order.d.cts +6 -6
  306. package/dist/actions/get-order.d.mts +6 -6
  307. package/dist/actions/get-order.mjs +5 -5
  308. package/dist/actions/get-order.mjs.map +1 -1
  309. package/dist/actions/get-parcel.cjs +4 -4
  310. package/dist/actions/get-parcel.cjs.map +1 -1
  311. package/dist/actions/get-parcel.d.cts +4 -4
  312. package/dist/actions/get-parcel.d.mts +4 -4
  313. package/dist/actions/get-parcel.mjs +4 -4
  314. package/dist/actions/get-parcel.mjs.map +1 -1
  315. package/dist/actions/get-rate.cjs +3 -3
  316. package/dist/actions/get-rate.cjs.map +1 -1
  317. package/dist/actions/get-rate.d.cts +3 -3
  318. package/dist/actions/get-rate.d.mts +3 -3
  319. package/dist/actions/get-rate.mjs +3 -3
  320. package/dist/actions/get-rate.mjs.map +1 -1
  321. package/dist/actions/get-refund.cjs +1 -1
  322. package/dist/actions/get-refund.cjs.map +1 -1
  323. package/dist/actions/get-refund.d.cts +1 -1
  324. package/dist/actions/get-refund.d.mts +1 -1
  325. package/dist/actions/get-refund.mjs +1 -1
  326. package/dist/actions/get-refund.mjs.map +1 -1
  327. package/dist/actions/get-shipment.cjs +9 -9
  328. package/dist/actions/get-shipment.cjs.map +1 -1
  329. package/dist/actions/get-shipment.d.cts +13 -13
  330. package/dist/actions/get-shipment.d.mts +13 -13
  331. package/dist/actions/get-shipment.mjs +9 -9
  332. package/dist/actions/get-shipment.mjs.map +1 -1
  333. package/dist/actions/get-shippo-account.cjs +1 -1
  334. package/dist/actions/get-shippo-account.cjs.map +1 -1
  335. package/dist/actions/get-shippo-account.d.cts +1 -1
  336. package/dist/actions/get-shippo-account.d.mts +1 -1
  337. package/dist/actions/get-shippo-account.mjs +1 -1
  338. package/dist/actions/get-shippo-account.mjs.map +1 -1
  339. package/dist/actions/get-track.cjs +6 -6
  340. package/dist/actions/get-track.cjs.map +1 -1
  341. package/dist/actions/get-track.d.cts +8 -8
  342. package/dist/actions/get-track.d.mts +8 -8
  343. package/dist/actions/get-track.mjs +6 -6
  344. package/dist/actions/get-track.mjs.map +1 -1
  345. package/dist/actions/get-transaction.cjs +2 -2
  346. package/dist/actions/get-transaction.cjs.map +1 -1
  347. package/dist/actions/get-transaction.d.cts +2 -2
  348. package/dist/actions/get-transaction.d.mts +2 -2
  349. package/dist/actions/get-transaction.mjs +2 -2
  350. package/dist/actions/get-transaction.mjs.map +1 -1
  351. package/dist/actions/get-user-parcel-template.cjs +2 -2
  352. package/dist/actions/get-user-parcel-template.cjs.map +1 -1
  353. package/dist/actions/get-user-parcel-template.d.cts +2 -2
  354. package/dist/actions/get-user-parcel-template.d.mts +2 -2
  355. package/dist/actions/get-user-parcel-template.mjs +2 -2
  356. package/dist/actions/get-user-parcel-template.mjs.map +1 -1
  357. package/dist/actions/get-webhook.cjs +1 -1
  358. package/dist/actions/get-webhook.cjs.map +1 -1
  359. package/dist/actions/get-webhook.d.cts +1 -1
  360. package/dist/actions/get-webhook.d.mts +1 -1
  361. package/dist/actions/get-webhook.mjs +1 -1
  362. package/dist/actions/get-webhook.mjs.map +1 -1
  363. package/dist/actions/list-addresses.cjs +4 -4
  364. package/dist/actions/list-addresses.cjs.map +1 -1
  365. package/dist/actions/list-addresses.d.cts +4 -4
  366. package/dist/actions/list-addresses.d.mts +4 -4
  367. package/dist/actions/list-addresses.mjs +4 -4
  368. package/dist/actions/list-addresses.mjs.map +1 -1
  369. package/dist/actions/list-carrier-accounts.cjs +4 -4
  370. package/dist/actions/list-carrier-accounts.cjs.map +1 -1
  371. package/dist/actions/list-carrier-accounts.d.cts +4 -4
  372. package/dist/actions/list-carrier-accounts.d.mts +4 -4
  373. package/dist/actions/list-carrier-accounts.mjs +4 -4
  374. package/dist/actions/list-carrier-accounts.mjs.map +1 -1
  375. package/dist/actions/list-carrier-parcel-templates.cjs +2 -2
  376. package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
  377. package/dist/actions/list-carrier-parcel-templates.d.cts +3 -3
  378. package/dist/actions/list-carrier-parcel-templates.d.mts +3 -3
  379. package/dist/actions/list-carrier-parcel-templates.mjs +2 -2
  380. package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
  381. package/dist/actions/list-customs-declarations.cjs +7 -7
  382. package/dist/actions/list-customs-declarations.cjs.map +1 -1
  383. package/dist/actions/list-customs-declarations.d.cts +7 -7
  384. package/dist/actions/list-customs-declarations.d.mts +7 -7
  385. package/dist/actions/list-customs-declarations.mjs +7 -7
  386. package/dist/actions/list-customs-declarations.mjs.map +1 -1
  387. package/dist/actions/list-customs-items.cjs +2 -2
  388. package/dist/actions/list-customs-items.cjs.map +1 -1
  389. package/dist/actions/list-customs-items.d.cts +2 -2
  390. package/dist/actions/list-customs-items.d.mts +2 -2
  391. package/dist/actions/list-customs-items.mjs +2 -2
  392. package/dist/actions/list-customs-items.mjs.map +1 -1
  393. package/dist/actions/list-manifests.cjs +2 -2
  394. package/dist/actions/list-manifests.cjs.map +1 -1
  395. package/dist/actions/list-manifests.d.cts +2 -2
  396. package/dist/actions/list-manifests.d.mts +2 -2
  397. package/dist/actions/list-manifests.mjs +2 -2
  398. package/dist/actions/list-manifests.mjs.map +1 -1
  399. package/dist/actions/list-merchant-addresses.cjs +4 -4
  400. package/dist/actions/list-merchant-addresses.cjs.map +1 -1
  401. package/dist/actions/list-merchant-addresses.d.cts +4 -4
  402. package/dist/actions/list-merchant-addresses.d.mts +4 -4
  403. package/dist/actions/list-merchant-addresses.mjs +4 -4
  404. package/dist/actions/list-merchant-addresses.mjs.map +1 -1
  405. package/dist/actions/list-merchant-carrier-accounts.cjs +3 -3
  406. package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
  407. package/dist/actions/list-merchant-carrier-accounts.d.cts +3 -3
  408. package/dist/actions/list-merchant-carrier-accounts.d.mts +3 -3
  409. package/dist/actions/list-merchant-carrier-accounts.mjs +3 -3
  410. package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
  411. package/dist/actions/list-merchant-customs-declarations.cjs +2 -2
  412. package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
  413. package/dist/actions/list-merchant-customs-declarations.d.cts +2 -2
  414. package/dist/actions/list-merchant-customs-declarations.d.mts +2 -2
  415. package/dist/actions/list-merchant-customs-declarations.mjs +2 -2
  416. package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
  417. package/dist/actions/list-merchant-customs-items.cjs +2 -2
  418. package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
  419. package/dist/actions/list-merchant-customs-items.d.cts +2 -2
  420. package/dist/actions/list-merchant-customs-items.d.mts +2 -2
  421. package/dist/actions/list-merchant-customs-items.mjs +2 -2
  422. package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
  423. package/dist/actions/list-merchant-manifests.cjs +3 -3
  424. package/dist/actions/list-merchant-manifests.cjs.map +1 -1
  425. package/dist/actions/list-merchant-manifests.d.cts +3 -3
  426. package/dist/actions/list-merchant-manifests.d.mts +3 -3
  427. package/dist/actions/list-merchant-manifests.mjs +3 -3
  428. package/dist/actions/list-merchant-manifests.mjs.map +1 -1
  429. package/dist/actions/list-merchant-parcels.cjs +3 -3
  430. package/dist/actions/list-merchant-parcels.cjs.map +1 -1
  431. package/dist/actions/list-merchant-parcels.d.cts +3 -3
  432. package/dist/actions/list-merchant-parcels.d.mts +3 -3
  433. package/dist/actions/list-merchant-parcels.mjs +3 -3
  434. package/dist/actions/list-merchant-parcels.mjs.map +1 -1
  435. package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +4 -4
  436. package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
  437. package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +4 -4
  438. package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +4 -4
  439. package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +4 -4
  440. package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
  441. package/dist/actions/list-merchant-shipments.cjs +10 -10
  442. package/dist/actions/list-merchant-shipments.cjs.map +1 -1
  443. package/dist/actions/list-merchant-shipments.d.cts +13 -13
  444. package/dist/actions/list-merchant-shipments.d.mts +13 -13
  445. package/dist/actions/list-merchant-shipments.mjs +10 -10
  446. package/dist/actions/list-merchant-shipments.mjs.map +1 -1
  447. package/dist/actions/list-merchant-transactions.cjs +3 -3
  448. package/dist/actions/list-merchant-transactions.cjs.map +1 -1
  449. package/dist/actions/list-merchant-transactions.d.cts +3 -3
  450. package/dist/actions/list-merchant-transactions.d.mts +3 -3
  451. package/dist/actions/list-merchant-transactions.mjs +3 -3
  452. package/dist/actions/list-merchant-transactions.mjs.map +1 -1
  453. package/dist/actions/list-merchants.cjs +2 -2
  454. package/dist/actions/list-merchants.cjs.map +1 -1
  455. package/dist/actions/list-merchants.d.cts +2 -2
  456. package/dist/actions/list-merchants.d.mts +2 -2
  457. package/dist/actions/list-merchants.mjs +2 -2
  458. package/dist/actions/list-merchants.mjs.map +1 -1
  459. package/dist/actions/list-orders.cjs +6 -6
  460. package/dist/actions/list-orders.cjs.map +1 -1
  461. package/dist/actions/list-orders.d.cts +7 -7
  462. package/dist/actions/list-orders.d.mts +7 -7
  463. package/dist/actions/list-orders.mjs +6 -6
  464. package/dist/actions/list-orders.mjs.map +1 -1
  465. package/dist/actions/list-refunds.cjs +2 -2
  466. package/dist/actions/list-refunds.cjs.map +1 -1
  467. package/dist/actions/list-refunds.d.cts +2 -2
  468. package/dist/actions/list-refunds.d.mts +2 -2
  469. package/dist/actions/list-refunds.mjs +2 -2
  470. package/dist/actions/list-refunds.mjs.map +1 -1
  471. package/dist/actions/list-service-groups.cjs +3 -3
  472. package/dist/actions/list-service-groups.cjs.map +1 -1
  473. package/dist/actions/list-service-groups.d.cts +3 -3
  474. package/dist/actions/list-service-groups.d.mts +3 -3
  475. package/dist/actions/list-service-groups.mjs +3 -3
  476. package/dist/actions/list-service-groups.mjs.map +1 -1
  477. package/dist/actions/list-shipment-rates-by-currency.cjs +4 -4
  478. package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
  479. package/dist/actions/list-shipment-rates-by-currency.d.cts +4 -4
  480. package/dist/actions/list-shipment-rates-by-currency.d.mts +4 -4
  481. package/dist/actions/list-shipment-rates-by-currency.mjs +4 -4
  482. package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
  483. package/dist/actions/list-shipment-rates.cjs +4 -4
  484. package/dist/actions/list-shipment-rates.cjs.map +1 -1
  485. package/dist/actions/list-shipment-rates.d.cts +4 -4
  486. package/dist/actions/list-shipment-rates.d.mts +4 -4
  487. package/dist/actions/list-shipment-rates.mjs +4 -4
  488. package/dist/actions/list-shipment-rates.mjs.map +1 -1
  489. package/dist/actions/list-shipments.cjs +9 -9
  490. package/dist/actions/list-shipments.cjs.map +1 -1
  491. package/dist/actions/list-shipments.d.cts +13 -13
  492. package/dist/actions/list-shipments.d.mts +13 -13
  493. package/dist/actions/list-shipments.mjs +9 -9
  494. package/dist/actions/list-shipments.mjs.map +1 -1
  495. package/dist/actions/list-shippo-accounts.cjs +2 -2
  496. package/dist/actions/list-shippo-accounts.cjs.map +1 -1
  497. package/dist/actions/list-shippo-accounts.d.cts +2 -2
  498. package/dist/actions/list-shippo-accounts.d.mts +2 -2
  499. package/dist/actions/list-shippo-accounts.mjs +2 -2
  500. package/dist/actions/list-shippo-accounts.mjs.map +1 -1
  501. package/dist/actions/list-user-parcel-templates.cjs +3 -3
  502. package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
  503. package/dist/actions/list-user-parcel-templates.d.cts +3 -3
  504. package/dist/actions/list-user-parcel-templates.d.mts +3 -3
  505. package/dist/actions/list-user-parcel-templates.mjs +3 -3
  506. package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
  507. package/dist/actions/purchase-merchant-batch.cjs +4 -4
  508. package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
  509. package/dist/actions/purchase-merchant-batch.d.cts +4 -4
  510. package/dist/actions/purchase-merchant-batch.d.mts +4 -4
  511. package/dist/actions/purchase-merchant-batch.mjs +4 -4
  512. package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
  513. package/dist/actions/remove-shipments-from-batch.cjs +5 -5
  514. package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
  515. package/dist/actions/remove-shipments-from-batch.d.cts +5 -5
  516. package/dist/actions/remove-shipments-from-batch.d.mts +5 -5
  517. package/dist/actions/remove-shipments-from-batch.mjs +5 -5
  518. package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
  519. package/dist/actions/update-carrier-account.cjs +3 -3
  520. package/dist/actions/update-carrier-account.cjs.map +1 -1
  521. package/dist/actions/update-carrier-account.d.cts +4 -4
  522. package/dist/actions/update-carrier-account.d.mts +4 -4
  523. package/dist/actions/update-carrier-account.mjs +3 -3
  524. package/dist/actions/update-carrier-account.mjs.map +1 -1
  525. package/dist/actions/update-default-parcel-template.cjs +3 -3
  526. package/dist/actions/update-default-parcel-template.cjs.map +1 -1
  527. package/dist/actions/update-default-parcel-template.d.cts +3 -3
  528. package/dist/actions/update-default-parcel-template.d.mts +3 -3
  529. package/dist/actions/update-default-parcel-template.mjs +3 -3
  530. package/dist/actions/update-default-parcel-template.mjs.map +1 -1
  531. package/dist/actions/update-merchant-carrier-account.cjs +2 -2
  532. package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
  533. package/dist/actions/update-merchant-carrier-account.d.cts +2 -2
  534. package/dist/actions/update-merchant-carrier-account.d.mts +2 -2
  535. package/dist/actions/update-merchant-carrier-account.mjs +2 -2
  536. package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
  537. package/dist/actions/update-merchant.cjs +1 -1
  538. package/dist/actions/update-merchant.cjs.map +1 -1
  539. package/dist/actions/update-merchant.d.cts +1 -1
  540. package/dist/actions/update-merchant.d.mts +1 -1
  541. package/dist/actions/update-merchant.mjs +1 -1
  542. package/dist/actions/update-merchant.mjs.map +1 -1
  543. package/dist/actions/update-service-group.cjs +3 -3
  544. package/dist/actions/update-service-group.cjs.map +1 -1
  545. package/dist/actions/update-service-group.d.cts +4 -3
  546. package/dist/actions/update-service-group.d.mts +4 -3
  547. package/dist/actions/update-service-group.mjs +3 -3
  548. package/dist/actions/update-service-group.mjs.map +1 -1
  549. package/dist/actions/update-user-parcel-template.cjs +2 -2
  550. package/dist/actions/update-user-parcel-template.cjs.map +1 -1
  551. package/dist/actions/update-user-parcel-template.d.cts +2 -2
  552. package/dist/actions/update-user-parcel-template.d.mts +2 -2
  553. package/dist/actions/update-user-parcel-template.mjs +2 -2
  554. package/dist/actions/update-user-parcel-template.mjs.map +1 -1
  555. package/dist/actions/update-webhook.cjs +1 -1
  556. package/dist/actions/update-webhook.cjs.map +1 -1
  557. package/dist/actions/update-webhook.d.cts +5 -5
  558. package/dist/actions/update-webhook.d.mts +5 -5
  559. package/dist/actions/update-webhook.mjs +1 -1
  560. package/dist/actions/update-webhook.mjs.map +1 -1
  561. package/dist/actions/validate-address.cjs +3 -3
  562. package/dist/actions/validate-address.cjs.map +1 -1
  563. package/dist/actions/validate-address.d.cts +3 -3
  564. package/dist/actions/validate-address.d.mts +3 -3
  565. package/dist/actions/validate-address.mjs +3 -3
  566. package/dist/actions/validate-address.mjs.map +1 -1
  567. package/dist/actions/validate-merchant-address.cjs +3 -3
  568. package/dist/actions/validate-merchant-address.cjs.map +1 -1
  569. package/dist/actions/validate-merchant-address.d.cts +3 -3
  570. package/dist/actions/validate-merchant-address.d.mts +3 -3
  571. package/dist/actions/validate-merchant-address.mjs +3 -3
  572. package/dist/actions/validate-merchant-address.mjs.map +1 -1
  573. package/package.json +1 -1
@@ -14,14 +14,14 @@ declare const ShippoUpdateUserParcelTemplateOutput: z.ZodObject<{
14
14
  height: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  length: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  weight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- template: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ template: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  weight_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const shippoUpdateUserParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  weight: string;
27
27
  template: string;
@@ -14,14 +14,14 @@ declare const ShippoUpdateUserParcelTemplateOutput: z.ZodObject<{
14
14
  height: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  length: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  weight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- template: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ template: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  weight_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const shippoUpdateUserParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  weight: string;
27
27
  template: string;
@@ -17,14 +17,14 @@ const shippoUpdateUserParcelTemplate = action("SHIPPO_UPDATE_USER_PARCEL_TEMPLAT
17
17
  height: z.string().describe("Height of the parcel.").nullable().optional(),
18
18
  length: z.string().describe("Length of the parcel.").nullable().optional(),
19
19
  weight: z.string().describe("Weight of the parcel.").nullable().optional(),
20
- template: z.object({}).describe("Carrier parcel template structure containing additional template details.").nullable().optional(),
20
+ template: z.record(z.string(), z.unknown()).describe("Carrier parcel template structure containing additional template details.").nullable().optional(),
21
21
  object_id: z.string().describe("Unique identifier for the object.").nullable().optional(),
22
22
  weight_unit: z.string().describe("Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).").nullable().optional(),
23
23
  object_owner: z.string().describe("Owner of the object.").nullable().optional(),
24
24
  distance_unit: z.string().describe("Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).").nullable().optional(),
25
25
  object_created: z.string().describe("Timestamp when the object was created.").nullable().optional(),
26
26
  object_updated: z.string().describe("Timestamp when the object was last updated.").nullable().optional()
27
- }).describe("Response schema for updating a user parcel template.")
27
+ }).passthrough().describe("Response schema for updating a user parcel template.")
28
28
  });
29
29
  //#endregion
30
30
  export { shippoUpdateUserParcelTemplate };
@@ -1 +1 @@
1
- {"version":3,"file":"update-user-parcel-template.mjs","names":[],"sources":["../../src/actions/update-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateUserParcelTemplateInput = z.object({\n weight: z.string().describe(\"The weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\"),\n template: z.string().describe(\"The token of a carrier parcel template (e.g., USPS_FlatRateEnvelope, USPS_FlatRatePaddedEnvelope, FedExBox). This specifies the carrier's predefined package type.\"),\n weight_unit: z.string().describe(\"The unit of weight measurement (e.g., lb for pounds, kg for kilograms, oz for ounces, g for grams).\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n user_parcel_template_object_id: z.string().describe(\"Object ID of the user parcel template to update. This is the unique identifier of an existing user parcel template.\"),\n}).describe(\"Request schema for updating a user parcel template.\");\nexport const ShippoUpdateUserParcelTemplateOutput = z.object({\n name: z.string().describe(\"Name of the parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: z.object({}).describe(\"Carrier parcel template structure containing additional template details.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the object was last updated.\").nullable().optional(),\n}).describe(\"Response schema for updating a user parcel template.\");\n\nexport const shippoUpdateUserParcelTemplate = action(\"SHIPPO_UPDATE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-user-parcel-template\",\n name: \"Update User Parcel Template\",\n description: \"Tool to update an existing user parcel template with new weight and carrier template settings. Use when you need to modify the dimensions or weight of a previously created custom parcel template.\",\n input: ShippoUpdateUserParcelTemplateInput,\n output: ShippoUpdateUserParcelTemplateOutput,\n});\n"],"mappings":";;AA0BA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EAC3I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;EAClM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;EACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EAClK,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC3K,CAAC,CAAC,CAAC,SAAS,qDAoBH;CACP,QApBkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-user-parcel-template.mjs","names":[],"sources":["../../src/actions/update-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateUserParcelTemplateInput = z.object({\n weight: z.string().describe(\"The weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\"),\n template: z.string().describe(\"The token of a carrier parcel template (e.g., USPS_FlatRateEnvelope, USPS_FlatRatePaddedEnvelope, FedExBox). This specifies the carrier's predefined package type.\"),\n weight_unit: z.string().describe(\"The unit of weight measurement (e.g., lb for pounds, kg for kilograms, oz for ounces, g for grams).\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n user_parcel_template_object_id: z.string().describe(\"Object ID of the user parcel template to update. This is the unique identifier of an existing user parcel template.\"),\n}).describe(\"Request schema for updating a user parcel template.\");\nexport const ShippoUpdateUserParcelTemplateOutput = z.object({\n name: z.string().describe(\"Name of the parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: z.record(z.string(), z.unknown()).describe(\"Carrier parcel template structure containing additional template details.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the object was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a user parcel template.\");\n\nexport const shippoUpdateUserParcelTemplate = action(\"SHIPPO_UPDATE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-user-parcel-template\",\n name: \"Update User Parcel Template\",\n description: \"Tool to update an existing user parcel template with new weight and carrier template settings. Use when you need to modify the dimensions or weight of a previously created custom parcel template.\",\n input: ShippoUpdateUserParcelTemplateInput,\n output: ShippoUpdate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CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -24,7 +24,7 @@ const ShippoUpdateWebhookOutput = zod.z.object({
24
24
  object_owner: zod.z.string().describe("The account owner's email address.").nullable().optional(),
25
25
  object_created: zod.z.string().describe("Timestamp when the webhook was created (ISO 8601 format).").nullable().optional(),
26
26
  object_updated: zod.z.string().describe("Timestamp when the webhook was last updated (ISO 8601 format).").nullable().optional()
27
- }).describe("Response model containing the updated webhook details.");
27
+ }).passthrough().describe("Response model containing the updated webhook details.");
28
28
  const shippoUpdateWebhook = require_action.action("SHIPPO_UPDATE_WEBHOOK", {
29
29
  slug: "shippo-update-webhook",
30
30
  name: "Update Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL endpoint where notifications will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"batch_created\", \"transaction_created\", \"transaction_updated\", \"track_updated\", \"batch_updated\", \"all\"]).describe(\"The webhook event type to listen for. Use 'all' to receive all event types.\"),\n active: z.boolean().describe(\"Whether the webhook should be active or inactive. Set to true to enable, false to disable.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing, false for production.\"),\n webhook_id: z.string().describe(\"Object ID of the webhook to update (e.g., '7c190fc9a7e1473dbf59c861b535e3d5').\"),\n}).describe(\"Request model for updating an existing webhook in Shippo.\");\nexport const ShippoUpdateWebhookOutput = z.object({\n url: z.string().describe(\"The webhook URL endpoint.\").nullable(),\n event: z.string().describe(\"The webhook event type.\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is active.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this webhook object.\").nullable(),\n object_owner: z.string().describe(\"The account owner's email address.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the webhook was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the webhook was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Response model containing the updated webhook details.\");\n\nexport const shippoUpdateWebhook = action(\"SHIPPO_UPDATE_WEBHOOK\", {\n slug: \"shippo-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook in Shippo. Use when you need to modify webhook settings such as the event type, URL endpoint, activation status, or test mode flag.\",\n input: ShippoUpdateWebhookInput,\n output: ShippoUpdateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CAChH,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAuB;EAAuB;EAAiB;EAAiB;CAAK,CAAC,CAAC,CAAC,SAAS,6EAA6E;CAC9M,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AAClH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL endpoint where notifications will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"batch_created\", \"transaction_created\", \"transaction_updated\", \"track_updated\", \"batch_updated\", \"all\"]).describe(\"The webhook event type to listen for. Use 'all' to receive all event types.\"),\n active: z.boolean().describe(\"Whether the webhook should be active or inactive. Set to true to enable, false to disable.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing, false for production.\"),\n webhook_id: z.string().describe(\"Object ID of the webhook to update (e.g., '7c190fc9a7e1473dbf59c861b535e3d5').\"),\n}).describe(\"Request model for updating an existing webhook in Shippo.\");\nexport const ShippoUpdateWebhookOutput = z.object({\n url: z.string().describe(\"The webhook URL endpoint.\").nullable(),\n event: z.string().describe(\"The webhook event type.\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is active.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this webhook object.\").nullable(),\n object_owner: z.string().describe(\"The account owner's email address.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the webhook was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the webhook was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated webhook details.\");\n\nexport const shippoUpdateWebhook = action(\"SHIPPO_UPDATE_WEBHOOK\", {\n slug: \"shippo-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook in Shippo. Use when you need to modify webhook settings such as the event type, URL endpoint, activation status, or test mode flag.\",\n input: ShippoUpdateWebhookInput,\n output: ShippoUpdateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CAChH,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAuB;EAAuB;EAAiB;EAAiB;CAAK,CAAC,CAAC,CAAC,SAAS,6EAA6E;CAC9M,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AAClH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,11 +4,11 @@ import { z } from "zod";
4
4
  declare const ShippoUpdateWebhookInput: z.ZodObject<{
5
5
  url: z.ZodString;
6
6
  event: z.ZodEnum<{
7
- all: "all";
8
- batch_created: "batch_created";
7
+ track_updated: "track_updated";
9
8
  transaction_created: "transaction_created";
10
9
  transaction_updated: "transaction_updated";
11
- track_updated: "track_updated";
10
+ batch_created: "batch_created";
11
+ all: "all";
12
12
  batch_updated: "batch_updated";
13
13
  }>;
14
14
  active: z.ZodBoolean;
@@ -24,10 +24,10 @@ declare const ShippoUpdateWebhookOutput: z.ZodObject<{
24
24
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const shippoUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  url: string;
30
- event: "all" | "batch_created" | "transaction_created" | "transaction_updated" | "track_updated" | "batch_updated";
30
+ event: "track_updated" | "transaction_created" | "transaction_updated" | "batch_created" | "all" | "batch_updated";
31
31
  active: boolean;
32
32
  is_test: boolean;
33
33
  webhook_id: string;
@@ -4,11 +4,11 @@ import { z } from "zod";
4
4
  declare const ShippoUpdateWebhookInput: z.ZodObject<{
5
5
  url: z.ZodString;
6
6
  event: z.ZodEnum<{
7
- all: "all";
8
- batch_created: "batch_created";
7
+ track_updated: "track_updated";
9
8
  transaction_created: "transaction_created";
10
9
  transaction_updated: "transaction_updated";
11
- track_updated: "track_updated";
10
+ batch_created: "batch_created";
11
+ all: "all";
12
12
  batch_updated: "batch_updated";
13
13
  }>;
14
14
  active: z.ZodBoolean;
@@ -24,10 +24,10 @@ declare const ShippoUpdateWebhookOutput: z.ZodObject<{
24
24
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const shippoUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  url: string;
30
- event: "all" | "batch_created" | "transaction_created" | "transaction_updated" | "track_updated" | "batch_updated";
30
+ event: "track_updated" | "transaction_created" | "transaction_updated" | "batch_created" | "all" | "batch_updated";
31
31
  active: boolean;
32
32
  is_test: boolean;
33
33
  webhook_id: string;
@@ -27,7 +27,7 @@ const shippoUpdateWebhook = action("SHIPPO_UPDATE_WEBHOOK", {
27
27
  object_owner: z.string().describe("The account owner's email address.").nullable().optional(),
28
28
  object_created: z.string().describe("Timestamp when the webhook was created (ISO 8601 format).").nullable().optional(),
29
29
  object_updated: z.string().describe("Timestamp when the webhook was last updated (ISO 8601 format).").nullable().optional()
30
- }).describe("Response model containing the updated webhook details.")
30
+ }).passthrough().describe("Response model containing the updated webhook details.")
31
31
  });
32
32
  //#endregion
33
33
  export { shippoUpdateWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL endpoint where notifications will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"batch_created\", \"transaction_created\", \"transaction_updated\", \"track_updated\", \"batch_updated\", \"all\"]).describe(\"The webhook event type to listen for. Use 'all' to receive all event types.\"),\n active: z.boolean().describe(\"Whether the webhook should be active or inactive. Set to true to enable, false to disable.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing, false for production.\"),\n webhook_id: z.string().describe(\"Object ID of the webhook to update (e.g., '7c190fc9a7e1473dbf59c861b535e3d5').\"),\n}).describe(\"Request model for updating an existing webhook in Shippo.\");\nexport const ShippoUpdateWebhookOutput = z.object({\n url: z.string().describe(\"The webhook URL endpoint.\").nullable(),\n event: z.string().describe(\"The webhook event type.\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is active.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this webhook object.\").nullable(),\n object_owner: z.string().describe(\"The account owner's email address.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the webhook was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the webhook was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Response model containing the updated webhook details.\");\n\nexport const shippoUpdateWebhook = action(\"SHIPPO_UPDATE_WEBHOOK\", {\n slug: \"shippo-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook in Shippo. Use when you need to modify webhook settings such as the event type, URL endpoint, activation status, or test mode flag.\",\n input: ShippoUpdateWebhookInput,\n output: ShippoUpdateWebhookOutput,\n});\n"],"mappings":";;AAsBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EAChH,OAAO,EAAE,KAAK;GAAC;GAAiB;GAAuB;GAAuB;GAAiB;GAAiB;EAAK,CAAC,CAAC,CAAC,SAAS,6EAA6E;EAC9M,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAClH,CAAC,CAAC,CAAC,SAAS,2DAgBH;CACP,QAhBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL endpoint where notifications will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"batch_created\", \"transaction_created\", \"transaction_updated\", \"track_updated\", \"batch_updated\", \"all\"]).describe(\"The webhook event type to listen for. Use 'all' to receive all event types.\"),\n active: z.boolean().describe(\"Whether the webhook should be active or inactive. Set to true to enable, false to disable.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing, false for production.\"),\n webhook_id: z.string().describe(\"Object ID of the webhook to update (e.g., '7c190fc9a7e1473dbf59c861b535e3d5').\"),\n}).describe(\"Request model for updating an existing webhook in Shippo.\");\nexport const ShippoUpdateWebhookOutput = z.object({\n url: z.string().describe(\"The webhook URL endpoint.\").nullable(),\n event: z.string().describe(\"The webhook event type.\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is active.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this webhook object.\").nullable(),\n object_owner: z.string().describe(\"The account owner's email address.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the webhook was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the webhook was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated webhook details.\");\n\nexport const shippoUpdateWebhook = action(\"SHIPPO_UPDATE_WEBHOOK\", {\n slug: \"shippo-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook in Shippo. Use when you need to modify webhook settings such as the event type, URL endpoint, activation status, or test mode flag.\",\n input: ShippoUpdateWebhookInput,\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_ValidationMessageSchema = zod.z.object({
10
10
  text: zod.z.string().describe("Human-readable text of the validation message.").nullable().optional(),
11
11
  type: zod.z.string().describe("Type of the message (e.g., 'warning', 'error', 'info').").nullable().optional(),
12
12
  source: zod.z.string().describe("Source of the validation message.").nullable().optional()
13
- }).describe("Model for a single validation message.");
13
+ }).passthrough().describe("Model for a single validation message.");
14
14
  const ShippoValidateAddress_ValidationResultsSchema = zod.z.object({
15
15
  is_valid: zod.z.boolean().describe("Indicates whether the address is valid according to the validation service.").nullable().optional(),
16
16
  messages: zod.z.array(ShippoValidateAddress_ValidationMessageSchema).describe("List of validation messages, warnings, or errors from the validation service.").nullable().optional()
17
- }).describe("Model for address validation results.");
17
+ }).passthrough().describe("Model for address validation results.");
18
18
  const ShippoValidateAddressOutput = zod.z.object({
19
19
  zip: zod.z.string().describe("Postal or ZIP code.").nullable().optional(),
20
20
  city: zod.z.string().describe("City name.").nullable().optional(),
@@ -37,7 +37,7 @@ const ShippoValidateAddressOutput = zod.z.object({
37
37
  object_created: zod.z.string().describe("Timestamp when the address object was created.").nullable().optional(),
38
38
  object_updated: zod.z.string().describe("Timestamp when the address object was last updated.").nullable().optional(),
39
39
  validation_results: ShippoValidateAddress_ValidationResultsSchema.nullable().optional()
40
- }).describe("Response model returned after validating an address.");
40
+ }).passthrough().describe("Response model returned after validating an address.");
41
41
  const shippoValidateAddress = require_action.action("SHIPPO_VALIDATE_ADDRESS", {
42
42
  slug: "shippo-validate-address",
43
43
  name: "Validate Address",
@@ -1 +1 @@
1
- {"version":3,"file":"validate-address.cjs","names":["z","action"],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier returned when an address was created.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not provided, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating an address via the Shippo API.\");\nconst ShippoValidateAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).describe(\"Model for a single validation message.\");\nconst ShippoValidateAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).describe(\"Model for address validation results.\");\nexport const ShippoValidateAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether this is a test address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n street3: z.string().describe(\"Third line of the street address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n street_no: z.string().describe(\"Street number.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateAddress_ValidationResultsSchema.nullable().optional(),\n}).describe(\"Response model returned after validating an address.\");\n\nexport const shippoValidateAddress = action(\"SHIPPO_VALIDATE_ADDRESS\", {\n slug: \"shippo-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate an address using the Shippo API. Use when you need to verify that a shipping address is valid and complete before creating a shipment.\",\n input: ShippoValidateAddressInput,\n output: ShippoValidateAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC3I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,UAAUA,IAAAA,EAAE,MAAM,6CAA6C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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"validate-address.cjs","names":["z","action"],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier returned when an address was created.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not provided, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating an address via the Shippo API.\");\nconst ShippoValidateAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoValidateAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoValidateAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether this is a test address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n street3: z.string().describe(\"Third line of the street address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n street_no: z.string().describe(\"Street number.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model returned after validating an address.\");\n\nexport const shippoValidateAddress = action(\"SHIPPO_VALIDATE_ADDRESS\", {\n slug: \"shippo-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate an address using the Shippo API. Use when you need to verify that a shipping address is valid and complete before creating a shipment.\",\n input: ShippoValidateAddressInput,\n output: ShippoValidateAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC3I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,QAAQ,CA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>;
34
34
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>>>>;
37
- }, z.core.$strip>>>;
38
- }, z.core.$strip>;
36
+ }, z.core.$loose>>>>;
37
+ }, z.core.$loose>>>;
38
+ }, z.core.$loose>;
39
39
  declare const shippoValidateAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  address_id: string;
41
41
  shippo_api_version?: string | undefined;
@@ -33,9 +33,9 @@ declare const ShippoValidateAddressOutput: z.ZodObject<{
33
33
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>>>>;
37
- }, z.core.$strip>>>;
38
- }, z.core.$strip>;
36
+ }, z.core.$loose>>>>;
37
+ }, z.core.$loose>>>;
38
+ }, z.core.$loose>;
39
39
  declare const shippoValidateAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  address_id: string;
41
41
  shippo_api_version?: string | undefined;
@@ -10,11 +10,11 @@ const ShippoValidateAddress_ValidationMessageSchema = z.object({
10
10
  text: z.string().describe("Human-readable text of the validation message.").nullable().optional(),
11
11
  type: z.string().describe("Type of the message (e.g., 'warning', 'error', 'info').").nullable().optional(),
12
12
  source: z.string().describe("Source of the validation message.").nullable().optional()
13
- }).describe("Model for a single validation message.");
13
+ }).passthrough().describe("Model for a single validation message.");
14
14
  const ShippoValidateAddress_ValidationResultsSchema = z.object({
15
15
  is_valid: z.boolean().describe("Indicates whether the address is valid according to the validation service.").nullable().optional(),
16
16
  messages: z.array(ShippoValidateAddress_ValidationMessageSchema).describe("List of validation messages, warnings, or errors from the validation service.").nullable().optional()
17
- }).describe("Model for address validation results.");
17
+ }).passthrough().describe("Model for address validation results.");
18
18
  const shippoValidateAddress = action("SHIPPO_VALIDATE_ADDRESS", {
19
19
  slug: "shippo-validate-address",
20
20
  name: "Validate Address",
@@ -42,7 +42,7 @@ const shippoValidateAddress = action("SHIPPO_VALIDATE_ADDRESS", {
42
42
  object_created: z.string().describe("Timestamp when the address object was created.").nullable().optional(),
43
43
  object_updated: z.string().describe("Timestamp when the address object was last updated.").nullable().optional(),
44
44
  validation_results: ShippoValidateAddress_ValidationResultsSchema.nullable().optional()
45
- }).describe("Response model returned after validating an address.")
45
+ }).passthrough().describe("Response model returned after validating an address.")
46
46
  });
47
47
  //#endregion
48
48
  export { shippoValidateAddress };
@@ -1 +1 @@
1
- {"version":3,"file":"validate-address.mjs","names":[],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier returned when an address was created.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not provided, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating an address via the Shippo API.\");\nconst ShippoValidateAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).describe(\"Model for a single validation message.\");\nconst ShippoValidateAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).describe(\"Model for address validation results.\");\nexport const ShippoValidateAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether this is a test address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n street3: z.string().describe(\"Third line of the street address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n street_no: z.string().describe(\"Street number.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateAddress_ValidationResultsSchema.nullable().optional(),\n}).describe(\"Response model returned after validating an address.\");\n\nexport const shippoValidateAddress = action(\"SHIPPO_VALIDATE_ADDRESS\", {\n slug: \"shippo-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate an address using the Shippo API. Use when you need to verify that a shipping address is valid and complete before creating a shipment.\",\n input: ShippoValidateAddressInput,\n output: ShippoValidateAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC3I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgD,EAAE,OAAO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CAAC,CAAC,SAAS;EAC/G,oBAAoB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"validate-address.mjs","names":[],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier returned when an address was created.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not provided, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating an address via the Shippo API.\");\nconst ShippoValidateAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoValidateAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoValidateAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether this is a test address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n street3: z.string().describe(\"Third line of the street address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n street_no: z.string().describe(\"Street number.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model returned after validating an address.\");\n\nexport const shippoValidateAddress = action(\"SHIPPO_VALIDATE_ADDRESS\", {\n slug: \"shippo-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate an address using the Shippo API. Use when you need to verify that a shipping address is valid and complete before creating a shipment.\",\n input: ShippoValidateAddressInput,\n output: ShippoValidateAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC3I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,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ValidationMessageSchema = zod.z.object({
11
11
  text: zod.z.string().describe("Human-readable text of the validation message.").nullable().optional(),
12
12
  type: zod.z.string().describe("Type of the message (e.g., 'warning', 'error', 'info').").nullable().optional(),
13
13
  source: zod.z.string().describe("Source of the validation message.").nullable().optional()
14
- }).describe("Model for a single validation message.");
14
+ }).passthrough().describe("Model for a single validation message.");
15
15
  const ShippoValidateMerchantAddress_ValidationResultsSchema = zod.z.object({
16
16
  is_valid: zod.z.boolean().describe("Indicates whether the address is valid according to the validation service.").nullable().optional(),
17
17
  messages: zod.z.array(ShippoValidateMerchantAddress_ValidationMessageSchema).describe("List of validation messages, warnings, or errors from the validation service.").nullable().optional()
18
- }).describe("Model for address validation results.");
18
+ }).passthrough().describe("Model for address validation results.");
19
19
  const ShippoValidateMerchantAddressOutput = zod.z.object({
20
20
  zip: zod.z.string().describe("Postal or ZIP code.").nullable().optional(),
21
21
  city: zod.z.string().describe("City name.").nullable().optional(),
@@ -35,7 +35,7 @@ const ShippoValidateMerchantAddressOutput = zod.z.object({
35
35
  object_created: zod.z.string().describe("Timestamp when the address object was created.").nullable().optional(),
36
36
  object_updated: zod.z.string().describe("Timestamp when the address object was last updated.").nullable().optional(),
37
37
  validation_results: ShippoValidateMerchantAddress_ValidationResultsSchema.nullable().optional()
38
- }).describe("Response model returned after validating a merchant address.");
38
+ }).passthrough().describe("Response model returned after validating a merchant address.");
39
39
  const shippoValidateMerchantAddress = require_action.action("SHIPPO_VALIDATE_MERCHANT_ADDRESS", {
40
40
  slug: "shippo-validate-merchant-address",
41
41
  name: "Validate Merchant Address",
@@ -1 +1 @@
1
- {"version":3,"file":"validate-merchant-address.cjs","names":["z","action"],"sources":["../../src/actions/validate-merchant-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier of the address object to be validated.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the unique identifier for the merchant whose address you want to validate.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating a merchant address.\");\nconst ShippoValidateMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).describe(\"Model for a single validation message.\");\nconst ShippoValidateMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).describe(\"Model for address validation results.\");\nexport const ShippoValidateMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).describe(\"Response model returned after validating a merchant address.\");\n\nexport const shippoValidateMerchantAddress = action(\"SHIPPO_VALIDATE_MERCHANT_ADDRESS\", {\n slug: \"shippo-validate-merchant-address\",\n name: \"Validate Merchant Address\",\n description: \"Tool to validate a merchant address using the Shippo Platform API. Use when you need to verify that a merchant's shipping address is valid and complete.\",\n input: ShippoValidateMerchantAddressInput,\n output: ShippoValidateMerchantAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC5I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CAChJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,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OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"validate-merchant-address.cjs","names":["z","action"],"sources":["../../src/actions/validate-merchant-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier of the address object to be validated.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the unique identifier for the merchant whose address you want to validate.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating a merchant address.\");\nconst ShippoValidateMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoValidateMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoValidateMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model returned after validating a merchant address.\");\n\nexport const shippoValidateMerchantAddress = action(\"SHIPPO_VALIDATE_MERCHANT_ADDRESS\", {\n slug: \"shippo-validate-merchant-address\",\n name: \"Validate Merchant Address\",\n description: \"Tool to validate a merchant address using the Shippo Platform API. Use when you need to verify that a merchant's shipping address is valid and complete.\",\n input: ShippoValidateMerchantAddressInput,\n output: ShippoValidateMerchantAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC5I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CAChJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,UAAUA,IA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,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -31,9 +31,9 @@ declare const ShippoValidateMerchantAddressOutput: z.ZodObject<{
31
31
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>>>;
35
- }, z.core.$strip>>>;
36
- }, z.core.$strip>;
34
+ }, z.core.$loose>>>>;
35
+ }, z.core.$loose>>>;
36
+ }, z.core.$loose>;
37
37
  declare const shippoValidateMerchantAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  address_id: string;
39
39
  merchant_id: string;
@@ -31,9 +31,9 @@ declare const ShippoValidateMerchantAddressOutput: z.ZodObject<{
31
31
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>>>;
35
- }, z.core.$strip>>>;
36
- }, z.core.$strip>;
34
+ }, z.core.$loose>>>>;
35
+ }, z.core.$loose>>>;
36
+ }, z.core.$loose>;
37
37
  declare const shippoValidateMerchantAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  address_id: string;
39
39
  merchant_id: string;
@@ -11,11 +11,11 @@ const ShippoValidateMerchantAddress_ValidationMessageSchema = z.object({
11
11
  text: z.string().describe("Human-readable text of the validation message.").nullable().optional(),
12
12
  type: z.string().describe("Type of the message (e.g., 'warning', 'error', 'info').").nullable().optional(),
13
13
  source: z.string().describe("Source of the validation message.").nullable().optional()
14
- }).describe("Model for a single validation message.");
14
+ }).passthrough().describe("Model for a single validation message.");
15
15
  const ShippoValidateMerchantAddress_ValidationResultsSchema = z.object({
16
16
  is_valid: z.boolean().describe("Indicates whether the address is valid according to the validation service.").nullable().optional(),
17
17
  messages: z.array(ShippoValidateMerchantAddress_ValidationMessageSchema).describe("List of validation messages, warnings, or errors from the validation service.").nullable().optional()
18
- }).describe("Model for address validation results.");
18
+ }).passthrough().describe("Model for address validation results.");
19
19
  const shippoValidateMerchantAddress = action("SHIPPO_VALIDATE_MERCHANT_ADDRESS", {
20
20
  slug: "shippo-validate-merchant-address",
21
21
  name: "Validate Merchant Address",
@@ -40,7 +40,7 @@ const shippoValidateMerchantAddress = action("SHIPPO_VALIDATE_MERCHANT_ADDRESS",
40
40
  object_created: z.string().describe("Timestamp when the address object was created.").nullable().optional(),
41
41
  object_updated: z.string().describe("Timestamp when the address object was last updated.").nullable().optional(),
42
42
  validation_results: ShippoValidateMerchantAddress_ValidationResultsSchema.nullable().optional()
43
- }).describe("Response model returned after validating a merchant address.")
43
+ }).passthrough().describe("Response model returned after validating a merchant address.")
44
44
  });
45
45
  //#endregion
46
46
  export { shippoValidateMerchantAddress };
@@ -1 +1 @@
1
- {"version":3,"file":"validate-merchant-address.mjs","names":[],"sources":["../../src/actions/validate-merchant-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier of the address object to be validated.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the unique identifier for the merchant whose address you want to validate.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating a merchant address.\");\nconst ShippoValidateMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).describe(\"Model for a single validation message.\");\nconst ShippoValidateMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).describe(\"Model for address validation results.\");\nexport const ShippoValidateMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).describe(\"Response model returned after validating a merchant address.\");\n\nexport const shippoValidateMerchantAddress = action(\"SHIPPO_VALIDATE_MERCHANT_ADDRESS\", {\n slug: \"shippo-validate-merchant-address\",\n name: \"Validate Merchant Address\",\n description: \"Tool to validate a merchant address using the Shippo Platform API. Use when you need to verify that a merchant's shipping address is valid and complete.\",\n input: ShippoValidateMerchantAddressInput,\n output: ShippoValidateMerchantAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CAChJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAA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AAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,oBAAoB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"validate-merchant-address.mjs","names":[],"sources":["../../src/actions/validate-merchant-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoValidateMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to validate. This is the unique identifier of the address object to be validated.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the unique identifier for the merchant whose address you want to validate.\"),\n shippo_api_version: z.string().describe(\"Optional API version string to use a non-default API version. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for validating a merchant address.\");\nconst ShippoValidateMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Code identifying the type of validation message.\").nullable().optional(),\n text: z.string().describe(\"Human-readable text of the validation message.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (e.g., 'warning', 'error', 'info').\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoValidateMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Indicates whether the address is valid according to the validation service.\").nullable().optional(),\n messages: z.array(ShippoValidateMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages, warnings, or errors from the validation service.\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoValidateMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Name associated with the address.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the address.\").nullable().optional(),\n state: z.string().describe(\"State or province code.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the address.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\").nullable(),\n street1: z.string().describe(\"First line of the street address.\").nullable().optional(),\n street2: z.string().describe(\"Second line of the street address (e.g., apartment, suite number).\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the address.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Indicates whether the address contains all required fields.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the address object.\").nullable().optional(),\n is_residential: z.boolean().describe(\"Indicates whether the address is residential (True) or commercial (False).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the address object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the address object was last updated.\").nullable().optional(),\n validation_results: ShippoValidateMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model returned after validating a merchant address.\");\n\nexport const shippoValidateMerchantAddress = action(\"SHIPPO_VALIDATE_MERCHANT_ADDRESS\", {\n slug: \"shippo-validate-merchant-address\",\n name: \"Validate Merchant Address\",\n description: \"Tool to validate a merchant address using the Shippo Platform API. Use when you need to verify that a merchant's shipping address is valid and complete.\",\n input: ShippoValidateMerchantAddressInput,\n output: ShippoValidateMerchantAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CAChJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,wDAAwD,EAAE,OAAO;CACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,UAAU,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACz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AA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,oBAAoB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/shippo",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"