@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
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'UPS', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account.\").nullable().optional(),\n}).describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,iEAAiE,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).passthrough().describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'UPS', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input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AC5D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,YAAY,+DAA+D,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -16,7 +16,7 @@ const ShippoGetMerchantCarrierRegistrationStatusOutput = zod.z.object({
16
16
  object_created: zod.z.string().describe("ISO 8601 timestamp when the carrier account registration was created.").nullable().optional(),
17
17
  object_updated: zod.z.string().describe("ISO 8601 timestamp when the carrier account registration was last updated.").nullable().optional(),
18
18
  carrier_account: zod.z.string().describe("Unique identifier for the carrier account object if registered.").nullable().optional()
19
- }).describe("Response schema for merchant carrier registration status.");
19
+ }).passthrough().describe("Response schema for merchant carrier registration status.");
20
20
  const shippoGetMerchantCarrierRegistrationStatus = require_action.action("SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS", {
21
21
  slug: "shippo-get-merchant-carrier-registration-status",
22
22
  name: "Get Merchant Carrier Registration Status",
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-registration-status.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-carrier-registration-status.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,7 +16,7 @@ declare const ShippoGetMerchantCarrierRegistrationStatusOutput: z.ZodObject<{
16
16
  object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const shippoGetMerchantCarrierRegistrationStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  carrier: "ups" | "usps" | "canada_post";
22
22
  merchant_id: string;
@@ -16,7 +16,7 @@ declare const ShippoGetMerchantCarrierRegistrationStatusOutput: z.ZodObject<{
16
16
  object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const shippoGetMerchantCarrierRegistrationStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  carrier: "ups" | "usps" | "canada_post";
22
22
  merchant_id: string;
@@ -19,7 +19,7 @@ const shippoGetMerchantCarrierRegistrationStatus = action("SHIPPO_GET_MERCHANT_C
19
19
  object_created: z.string().describe("ISO 8601 timestamp when the carrier account registration was created.").nullable().optional(),
20
20
  object_updated: z.string().describe("ISO 8601 timestamp when the carrier account registration was last updated.").nullable().optional(),
21
21
  carrier_account: z.string().describe("Unique identifier for the carrier account object if registered.").nullable().optional()
22
- }).describe("Response schema for merchant carrier registration status.")
22
+ }).passthrough().describe("Response schema for merchant carrier registration status.")
23
23
  });
24
24
  //#endregion
25
25
  export { shippoGetMerchantCarrierRegistrationStatus };
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-registration-status.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6D,EAAE,OAAO;EACtE,SAAS,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,+EAaH;CACP,QAb8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-carrier-registration-status.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6D,EAAE,OAAO;EACtE,SAAS,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,+EAaH;CACP,QAb8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -34,7 +34,7 @@ const ShippoGetMerchantCustomsDeclarationOutput = zod.z.object({
34
34
  importer_reference: zod.z.string().describe("Importer reference of an import shipment").nullable().optional(),
35
35
  non_delivery_option: zod.z.string().describe("Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)").nullable().optional(),
36
36
  contents_explanation: zod.z.string().describe("Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.").nullable().optional()
37
- }).describe("Response schema for the retrieved merchant customs declaration.");
37
+ }).passthrough().describe("Response schema for the retrieved merchant customs declaration.");
38
38
  const shippoGetMerchantCustomsDeclaration = require_action.action("SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION", {
39
39
  slug: "shippo-get-merchant-customs-declaration",
40
40
  name: "Get Merchant Customs Declaration",
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-customs-declaration.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA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A,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-customs-declaration.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACzK,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAClJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AACpK,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAA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CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -34,7 +34,7 @@ declare const ShippoGetMerchantCustomsDeclarationOutput: z.ZodObject<{
34
34
  importer_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>;
37
+ }, z.core.$loose>;
38
38
  declare const shippoGetMerchantCustomsDeclaration: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  merchant_id: string;
40
40
  customs_declaration_id: string;
@@ -34,7 +34,7 @@ declare const ShippoGetMerchantCustomsDeclarationOutput: z.ZodObject<{
34
34
  importer_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>;
37
+ }, z.core.$loose>;
38
38
  declare const shippoGetMerchantCustomsDeclaration: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  merchant_id: string;
40
40
  customs_declaration_id: string;
@@ -37,7 +37,7 @@ const shippoGetMerchantCustomsDeclaration = action("SHIPPO_GET_MERCHANT_CUSTOMS_
37
37
  importer_reference: z.string().describe("Importer reference of an import shipment").nullable().optional(),
38
38
  non_delivery_option: z.string().describe("Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)").nullable().optional(),
39
39
  contents_explanation: z.string().describe("Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.").nullable().optional()
40
- }).describe("Response schema for the retrieved merchant customs declaration.")
40
+ }).passthrough().describe("Response schema for the retrieved merchant customs declaration.")
41
41
  });
42
42
  //#endregion
43
43
  export { shippoGetMerchantCustomsDeclaration };
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-customs-declaration.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;AAuCA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvCsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC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,SAAS;EACxG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-customs-declaration.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;AAuCA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvCsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EACzK,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CACpK,CAAC,CAAC,CAAC,SAAS,8FAkCH;CACP,QAlCuD,EAAE,OAAO;EAChE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAA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C,CAAC,SAAS;EACvG,oBAAoB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -25,7 +25,7 @@ const ShippoGetMerchantCustomsItemOutput = zod.z.object({
25
25
  object_updated: zod.z.string().describe("ISO 8601 timestamp when the customs item object was last updated").nullable().optional(),
26
26
  origin_country: zod.z.string().describe("ISO country code where the item originated (e.g., 'US', 'CN')").nullable(),
27
27
  value_currency: zod.z.string().describe("Currency code for the value amount (e.g., 'USD', 'EUR')").nullable()
28
- }).describe("Response schema for retrieving a merchant customs item.");
28
+ }).passthrough().describe("Response schema for retrieving a merchant customs item.");
29
29
  const shippoGetMerchantCustomsItem = require_action.action("SHIPPO_GET_MERCHANT_CUSTOMS_ITEM", {
30
30
  slug: "shippo-get-merchant-customs-item",
31
31
  name: "Get Merchant Customs Item",
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAChF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: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A,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -25,7 +25,7 @@ declare const ShippoGetMerchantCustomsItemOutput: z.ZodObject<{
25
25
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  origin_country: z.ZodNullable<z.ZodString>;
27
27
  value_currency: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const shippoGetMerchantCustomsItem: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  merchant_id: string;
31
31
  customs_item_id: string;
@@ -25,7 +25,7 @@ declare const ShippoGetMerchantCustomsItemOutput: z.ZodObject<{
25
25
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  origin_country: z.ZodNullable<z.ZodString>;
27
27
  value_currency: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const shippoGetMerchantCustomsItem: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  merchant_id: string;
31
31
  customs_item_id: string;
@@ -28,7 +28,7 @@ const shippoGetMerchantCustomsItem = action("SHIPPO_GET_MERCHANT_CUSTOMS_ITEM",
28
28
  object_updated: z.string().describe("ISO 8601 timestamp when the customs item object was last updated").nullable().optional(),
29
29
  origin_country: z.string().describe("ISO country code where the item originated (e.g., 'US', 'CN')").nullable(),
30
30
  value_currency: z.string().describe("Currency code for the value amount (e.g., 'USD', 'EUR')").nullable()
31
- }).describe("Response schema for retrieving a merchant customs item.")
31
+ }).passthrough().describe("Response schema for retrieving a merchant customs item.")
32
32
  });
33
33
  //#endregion
34
34
  export { shippoGetMerchantCustomsItem };
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-customs-item.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":";;AA8BA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,aA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,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-customs-item.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":";;AA8BA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAChF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,uDAyBH;CACP,QAzBgD,EAAE,OAAO;EACzD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAA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AS,+DAA+D,CAAC,CAAC,SAAS;EAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -22,7 +22,7 @@ const ShippoGetMerchantManifestOutput = zod.z.object({
22
22
  object_created: zod.z.string().describe("Date and time of manifest creation in ISO 8601 format").nullable(),
23
23
  object_updated: zod.z.string().describe("Date and time of last update to the manifest in ISO 8601 format").nullable(),
24
24
  carrier_account: zod.z.string().describe("Object ID of the carrier account used for this manifest").nullable()
25
- }).describe("Response model for a merchant manifest.");
25
+ }).passthrough().describe("Response model for a merchant manifest.");
26
26
  const shippoGetMerchantManifest = require_action.action("SHIPPO_GET_MERCHANT_MANIFEST", {
27
27
  slug: "shippo-get-merchant-manifest",
28
28
  name: "Get Merchant Manifest",
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-manifest.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\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}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;AACzI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQ,+CAA+C,SAAS;CAChE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-manifest.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\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}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).passthrough().describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;AACzI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQ,+CAA+C,SAAS;CAChE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -21,7 +21,7 @@ declare const ShippoGetMerchantManifestOutput: z.ZodObject<{
21
21
  object_created: z.ZodNullable<z.ZodString>;
22
22
  object_updated: z.ZodNullable<z.ZodString>;
23
23
  carrier_account: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const shippoGetMerchantManifest: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  manifest_id: string;
27
27
  merchant_id: string;
@@ -21,7 +21,7 @@ declare const ShippoGetMerchantManifestOutput: z.ZodObject<{
21
21
  object_created: z.ZodNullable<z.ZodString>;
22
22
  object_updated: z.ZodNullable<z.ZodString>;
23
23
  carrier_account: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const shippoGetMerchantManifest: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  manifest_id: string;
27
27
  merchant_id: string;
@@ -27,7 +27,7 @@ const shippoGetMerchantManifest = action("SHIPPO_GET_MERCHANT_MANIFEST", {
27
27
  object_created: z.string().describe("Date and time of manifest creation in ISO 8601 format").nullable(),
28
28
  object_updated: z.string().describe("Date and time of last update to the manifest in ISO 8601 format").nullable(),
29
29
  carrier_account: z.string().describe("Object ID of the carrier account used for this manifest").nullable()
30
- }).describe("Response model for a merchant manifest.")
30
+ }).passthrough().describe("Response model for a merchant manifest.")
31
31
  });
32
32
  //#endregion
33
33
  export { shippoGetMerchantManifest };
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-manifest.mjs","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\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}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiD,EAAE,KAAK;CAAC;CAAU;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAczI,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB6C,EAAE,OAAO;EACtD,QAAQ,+CAA+C,SAAS;EAChE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-manifest.mjs","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\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}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).passthrough().describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiD,EAAE,KAAK;CAAC;CAAU;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAczI,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB6C,EAAE,OAAO;EACtD,QAAQ,+CAA+C,SAAS;EAChE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -18,7 +18,7 @@ const ShippoGetMerchantOrder_OrderLineItemSchema = zod.z.object({
18
18
  variant_title: zod.z.string().describe("Variant title of the item").nullable().optional(),
19
19
  max_delivery_time: zod.z.string().describe("Maximum delivery time").nullable().optional(),
20
20
  manufacture_country: zod.z.string().describe("Country of manufacture (ISO 3166-1 alpha-2)").nullable().optional()
21
- }).describe("Line item in an order.");
21
+ }).passthrough().describe("Line item in an order.");
22
22
  const ShippoGetMerchantOrder_OrderAddressSchema = zod.z.object({
23
23
  zip: zod.z.string().describe("Postal code").nullable(),
24
24
  city: zod.z.string().describe("City").nullable(),
@@ -29,7 +29,7 @@ const ShippoGetMerchantOrder_OrderAddressSchema = zod.z.object({
29
29
  country: zod.z.string().describe("Country code (ISO 3166-1 alpha-2)").nullable(),
30
30
  street1: zod.z.string().describe("First street line").nullable(),
31
31
  street2: zod.z.string().describe("Second street line").nullable().optional()
32
- }).describe("Address information for an order.");
32
+ }).passthrough().describe("Address information for an order.");
33
33
  const ShippoGetMerchantOrder_WeightUnitSchema = zod.z.enum([
34
34
  "g",
35
35
  "kg",
@@ -64,7 +64,7 @@ const ShippoGetMerchantOrderOutput = zod.z.object({
64
64
  subtotal_price: zod.z.string().describe("Subtotal price before tax and shipping").nullable().optional(),
65
65
  shipping_method: zod.z.string().describe("Shipping method (carrier + service or other free text description) chosen by the buyer. This value can be different from the shipping method the seller will actually choose.").nullable().optional(),
66
66
  shipping_cost_currency: zod.z.string().describe("Currency of the shipping_cost amount (ISO 4217). Required if shipping_cost is provided").nullable().optional()
67
- }).describe("Response model for a merchant order.");
67
+ }).passthrough().describe("Response model for a merchant order.");
68
68
  const shippoGetMerchantOrder = require_action.action("SHIPPO_GET_MERCHANT_ORDER", {
69
69
  slug: "shippo-get-merchant-order",
70
70
  name: "Get Merchant Order",
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-order.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\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}).describe(\"Request model for retrieving a merchant order.\");\nconst ShippoGetMerchantOrder_OrderLineItemSchema = z.object({\n sku: z.string().describe(\"SKU of the item\").nullable().optional(),\n title: z.string().describe(\"Title or name of the item\").nullable().optional(),\n weight: z.string().describe(\"Weight of the item\").nullable().optional(),\n currency: z.string().describe(\"Currency code (ISO 4217)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity ordered\").nullable().optional(),\n total_price: z.string().describe(\"Total price for this line item\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (g, kg, lb, oz)\").nullable().optional(),\n max_ship_time: z.string().describe(\"Maximum ship time\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item\").nullable().optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture (ISO 3166-1 alpha-2)\").nullable().optional(),\n}).describe(\"Line item in an order.\");\nconst ShippoGetMerchantOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable(),\n city: z.string().describe(\"City\").nullable(),\n name: z.string().describe(\"Name at the address\").nullable(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable(),\n street1: z.string().describe(\"First street line\").nullable(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n}).describe(\"Address information for an order.\");\nconst ShippoGetMerchantOrder_WeightUnitSchema = z.enum([\"g\", \"kg\", \"lb\", \"oz\"]).describe(\"Enum for weight unit values.\");\nconst ShippoGetMerchantOrder_OrderStatusSchema = z.enum([\"UNKNOWN\", \"AWAITPAY\", \"PAID\", \"REFUNDED\", \"PARTIALLY_FULFILLED\", \"SHIPPED\"]).describe(\"Enum for order status values.\");\nexport const ShippoGetMerchantOrderOutput = z.object({\n notes: z.string().describe(\"Custom buyer- or seller-provided notes about the order\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order\").nullable().optional(),\n currency: z.string().describe(\"Currency of the total_price and total_tax amounts (ISO 4217). Required if total_price is provided\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order\").nullable().optional(),\n placed_at: z.string().describe(\"Date and time when the order was placed in ISO 8601 format. This datetime can be different from the datetime of the order object creation on Shippo.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount paid by the buyer for this order\").nullable().optional(),\n line_items: z.array(ShippoGetMerchantOrder_OrderLineItemSchema).describe(\"Array of line item objects representing the items in this order. All objects will be returned expanded by default.\").nullable().optional(),\n to_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable(),\n total_price: z.string().describe(\"Total amount paid by the buyer for this order\").nullable().optional(),\n weight_unit: ShippoGetMerchantOrder_WeightUnitSchema.nullable().optional(),\n from_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object (email address)\").nullable().optional(),\n order_number: z.string().describe(\"An alphanumeric identifier for the order used by the seller/buyer. This identifier doesn't need to be unique.\").nullable().optional(),\n order_status: ShippoGetMerchantOrder_OrderStatusSchema.nullable().optional(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs associated with this order\").nullable().optional(),\n shipping_cost: z.string().describe(\"Amount paid by the buyer for shipping. This amount can be different from the price the seller will actually pay for shipping.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price before tax and shipping\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method (carrier + service or other free text description) chosen by the buyer. This value can be different from the shipping method the seller will actually choose.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping_cost amount (ISO 4217). Required if shipping_cost is provided\").nullable().optional(),\n}).describe(\"Response model for a merchant order.\");\n\nexport const shippoGetMerchantOrder = action(\"SHIPPO_GET_MERCHANT_ORDER\", {\n slug: \"shippo-get-merchant-order\",\n name: \"Get Merchant Order\",\n description: \"Tool to retrieve an order for a merchant from the Shippo Platform API. Use when you need to get details of an existing order using merchant and order IDs.\",\n input: ShippoGetMerchantOrderInput,\n output: ShippoGetMerchantOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CA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AAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1O,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-order.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\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}).describe(\"Request model for retrieving a merchant order.\");\nconst ShippoGetMerchantOrder_OrderLineItemSchema = z.object({\n sku: z.string().describe(\"SKU of the item\").nullable().optional(),\n title: z.string().describe(\"Title or name of the item\").nullable().optional(),\n weight: z.string().describe(\"Weight of the item\").nullable().optional(),\n currency: z.string().describe(\"Currency code (ISO 4217)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity ordered\").nullable().optional(),\n total_price: z.string().describe(\"Total price for this line item\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (g, kg, lb, oz)\").nullable().optional(),\n max_ship_time: z.string().describe(\"Maximum ship time\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item\").nullable().optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture (ISO 3166-1 alpha-2)\").nullable().optional(),\n}).passthrough().describe(\"Line item in an order.\");\nconst ShippoGetMerchantOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable(),\n city: z.string().describe(\"City\").nullable(),\n name: z.string().describe(\"Name at the address\").nullable(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable(),\n street1: z.string().describe(\"First street line\").nullable(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n}).passthrough().describe(\"Address information for an order.\");\nconst ShippoGetMerchantOrder_WeightUnitSchema = z.enum([\"g\", \"kg\", \"lb\", \"oz\"]).describe(\"Enum for weight unit values.\");\nconst ShippoGetMerchantOrder_OrderStatusSchema = z.enum([\"UNKNOWN\", \"AWAITPAY\", \"PAID\", \"REFUNDED\", \"PARTIALLY_FULFILLED\", \"SHIPPED\"]).describe(\"Enum for order status values.\");\nexport const ShippoGetMerchantOrderOutput = z.object({\n notes: z.string().describe(\"Custom buyer- or seller-provided notes about the order\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order\").nullable().optional(),\n currency: z.string().describe(\"Currency of the total_price and total_tax amounts (ISO 4217). Required if total_price is provided\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order\").nullable().optional(),\n placed_at: z.string().describe(\"Date and time when the order was placed in ISO 8601 format. This datetime can be different from the datetime of the order object creation on Shippo.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount paid by the buyer for this order\").nullable().optional(),\n line_items: z.array(ShippoGetMerchantOrder_OrderLineItemSchema).describe(\"Array of line item objects representing the items in this order. All objects will be returned expanded by default.\").nullable().optional(),\n to_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable(),\n total_price: z.string().describe(\"Total amount paid by the buyer for this order\").nullable().optional(),\n weight_unit: ShippoGetMerchantOrder_WeightUnitSchema.nullable().optional(),\n from_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object (email address)\").nullable().optional(),\n order_number: z.string().describe(\"An alphanumeric identifier for the order used by the seller/buyer. This identifier doesn't need to be unique.\").nullable().optional(),\n order_status: ShippoGetMerchantOrder_OrderStatusSchema.nullable().optional(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs associated with this order\").nullable().optional(),\n shipping_cost: z.string().describe(\"Amount paid by the buyer for shipping. This amount can be different from the price the seller will actually pay for shipping.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price before tax and shipping\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method (carrier + service or other free text description) chosen by the buyer. This value can be different from the shipping method the seller will actually choose.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping_cost amount (ISO 4217). Required if shipping_cost is provided\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant order.\");\n\nexport const shippoGetMerchantOrder = action(\"SHIPPO_GET_MERCHANT_ORDER\", {\n slug: \"shippo-get-merchant-order\",\n name: \"Get Merchant Order\",\n description: \"Tool to retrieve an order for a merchant from the Shippo Platform API. Use when you need to get details of an existing order using merchant and order IDs.\",\n input: ShippoGetMerchantOrderInput,\n output: ShippoGetMerchantOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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ACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1O,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -25,7 +25,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
25
25
  variant_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  max_delivery_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  manufacture_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- }, z.core.$strip>>>>;
28
+ }, z.core.$loose>>>>;
29
29
  to_address: z.ZodNullable<z.ZodObject<{
30
30
  zip: z.ZodNullable<z.ZodString>;
31
31
  city: z.ZodNullable<z.ZodString>;
@@ -36,7 +36,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
36
36
  country: z.ZodNullable<z.ZodString>;
37
37
  street1: z.ZodNullable<z.ZodString>;
38
38
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  total_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  weight_unit: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
42
42
  g: "g";
@@ -54,7 +54,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
54
54
  country: z.ZodNullable<z.ZodString>;
55
55
  street1: z.ZodNullable<z.ZodString>;
56
56
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
58
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  order_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -70,7 +70,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
70
70
  subtotal_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  shipping_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  shipping_cost_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- }, z.core.$strip>;
73
+ }, z.core.$loose>;
74
74
  declare const shippoGetMerchantOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
75
75
  order_id: string;
76
76
  merchant_id: string;
@@ -25,7 +25,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
25
25
  variant_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  max_delivery_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  manufacture_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- }, z.core.$strip>>>>;
28
+ }, z.core.$loose>>>>;
29
29
  to_address: z.ZodNullable<z.ZodObject<{
30
30
  zip: z.ZodNullable<z.ZodString>;
31
31
  city: z.ZodNullable<z.ZodString>;
@@ -36,7 +36,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
36
36
  country: z.ZodNullable<z.ZodString>;
37
37
  street1: z.ZodNullable<z.ZodString>;
38
38
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  total_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  weight_unit: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
42
42
  g: "g";
@@ -54,7 +54,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
54
54
  country: z.ZodNullable<z.ZodString>;
55
55
  street1: z.ZodNullable<z.ZodString>;
56
56
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
58
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  order_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -70,7 +70,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
70
70
  subtotal_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  shipping_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  shipping_cost_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- }, z.core.$strip>;
73
+ }, z.core.$loose>;
74
74
  declare const shippoGetMerchantOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
75
75
  order_id: string;
76
76
  merchant_id: string;