@keystrokehq/shippo 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (585) 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 +16 -4
  4. package/dist/actions/create-address.d.mts +16 -4
  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 +19 -5
  10. package/dist/actions/create-batch.d.mts +19 -5
  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 +15 -3
  16. package/dist/actions/create-carrier-account.d.mts +15 -3
  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 +14 -2
  22. package/dist/actions/create-customs-item.d.mts +14 -2
  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 +23 -7
  28. package/dist/actions/create-live-rate.d.mts +23 -7
  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 +15 -3
  34. package/dist/actions/create-manifest.d.mts +15 -3
  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 +16 -4
  40. package/dist/actions/create-merchant-address.d.mts +16 -4
  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 +22 -9
  46. package/dist/actions/create-merchant-batch.d.mts +22 -9
  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 +15 -3
  52. package/dist/actions/create-merchant-carrier-account.d.mts +15 -3
  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 +17 -4
  58. package/dist/actions/create-merchant-customs-declaration.d.mts +17 -4
  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 +15 -3
  64. package/dist/actions/create-merchant-customs-item.d.mts +15 -3
  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 +19 -6
  70. package/dist/actions/create-merchant-order.d.mts +19 -6
  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 +19 -7
  76. package/dist/actions/create-merchant-parcel.d.mts +19 -7
  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 +14 -2
  82. package/dist/actions/create-merchant-refund.d.mts +14 -2
  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 +34 -21
  88. package/dist/actions/create-merchant-shipment.d.mts +34 -21
  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 +17 -5
  94. package/dist/actions/create-merchant-transaction.d.mts +17 -5
  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 +19 -6
  100. package/dist/actions/create-order.d.mts +19 -6
  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 +19 -7
  106. package/dist/actions/create-parcel.d.mts +19 -7
  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 +14 -2
  112. package/dist/actions/create-refund.d.mts +14 -2
  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 +17 -4
  118. package/dist/actions/create-service-group.d.mts +17 -4
  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 +31 -18
  124. package/dist/actions/create-shipment.d.cts.map +1 -1
  125. package/dist/actions/create-shipment.d.mts +31 -18
  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 +21 -9
  132. package/dist/actions/create-track.d.mts +21 -9
  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 +19 -7
  138. package/dist/actions/create-transaction.d.cts.map +1 -1
  139. package/dist/actions/create-transaction.d.mts +19 -7
  140. package/dist/actions/create-transaction.d.mts.map +1 -1
  141. package/dist/actions/create-transaction.mjs +3 -3
  142. package/dist/actions/create-transaction.mjs.map +1 -1
  143. package/dist/actions/create-user-parcel-template.cjs +2 -2
  144. package/dist/actions/create-user-parcel-template.cjs.map +1 -1
  145. package/dist/actions/create-user-parcel-template.d.cts +15 -3
  146. package/dist/actions/create-user-parcel-template.d.mts +15 -3
  147. package/dist/actions/create-user-parcel-template.mjs +2 -2
  148. package/dist/actions/create-user-parcel-template.mjs.map +1 -1
  149. package/dist/actions/create-webhook.cjs +1 -1
  150. package/dist/actions/create-webhook.cjs.map +1 -1
  151. package/dist/actions/create-webhook.d.cts +18 -6
  152. package/dist/actions/create-webhook.d.mts +18 -6
  153. package/dist/actions/create-webhook.mjs +1 -1
  154. package/dist/actions/create-webhook.mjs.map +1 -1
  155. package/dist/actions/delete-default-parcel-template.cjs +1 -1
  156. package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
  157. package/dist/actions/delete-default-parcel-template.d.cts +14 -2
  158. package/dist/actions/delete-default-parcel-template.d.mts +14 -2
  159. package/dist/actions/delete-default-parcel-template.mjs +1 -1
  160. package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
  161. package/dist/actions/delete-user-parcel-template.cjs +1 -1
  162. package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
  163. package/dist/actions/delete-user-parcel-template.d.cts +14 -2
  164. package/dist/actions/delete-user-parcel-template.d.mts +14 -2
  165. package/dist/actions/delete-user-parcel-template.mjs +1 -1
  166. package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
  167. package/dist/actions/delete-webhook.cjs +1 -1
  168. package/dist/actions/delete-webhook.cjs.map +1 -1
  169. package/dist/actions/delete-webhook.d.cts +14 -2
  170. package/dist/actions/delete-webhook.d.mts +14 -2
  171. package/dist/actions/delete-webhook.mjs +1 -1
  172. package/dist/actions/delete-webhook.mjs.map +1 -1
  173. package/dist/actions/get-address.cjs +3 -3
  174. package/dist/actions/get-address.cjs.map +1 -1
  175. package/dist/actions/get-address.d.cts +16 -4
  176. package/dist/actions/get-address.d.mts +16 -4
  177. package/dist/actions/get-address.mjs +3 -3
  178. package/dist/actions/get-address.mjs.map +1 -1
  179. package/dist/actions/get-carrier-account.cjs +2 -2
  180. package/dist/actions/get-carrier-account.cjs.map +1 -1
  181. package/dist/actions/get-carrier-account.d.cts +15 -3
  182. package/dist/actions/get-carrier-account.d.mts +15 -3
  183. package/dist/actions/get-carrier-account.mjs +2 -2
  184. package/dist/actions/get-carrier-account.mjs.map +1 -1
  185. package/dist/actions/get-carrier-parcel-template.cjs +1 -1
  186. package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
  187. package/dist/actions/get-carrier-parcel-template.d.cts +15 -3
  188. package/dist/actions/get-carrier-parcel-template.d.mts +15 -3
  189. package/dist/actions/get-carrier-parcel-template.mjs +1 -1
  190. package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
  191. package/dist/actions/get-carrier-registration-status.cjs +1 -1
  192. package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
  193. package/dist/actions/get-carrier-registration-status.d.cts +14 -2
  194. package/dist/actions/get-carrier-registration-status.d.mts +14 -2
  195. package/dist/actions/get-carrier-registration-status.mjs +1 -1
  196. package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
  197. package/dist/actions/get-customs-declaration.cjs +4 -4
  198. package/dist/actions/get-customs-declaration.cjs.map +1 -1
  199. package/dist/actions/get-customs-declaration.d.cts +17 -5
  200. package/dist/actions/get-customs-declaration.d.mts +17 -5
  201. package/dist/actions/get-customs-declaration.mjs +4 -4
  202. package/dist/actions/get-customs-declaration.mjs.map +1 -1
  203. package/dist/actions/get-customs-item.cjs +1 -1
  204. package/dist/actions/get-customs-item.cjs.map +1 -1
  205. package/dist/actions/get-customs-item.d.cts +14 -2
  206. package/dist/actions/get-customs-item.d.mts +14 -2
  207. package/dist/actions/get-customs-item.mjs +1 -1
  208. package/dist/actions/get-customs-item.mjs.map +1 -1
  209. package/dist/actions/get-default-parcel-template.cjs +2 -2
  210. package/dist/actions/get-default-parcel-template.cjs.map +1 -1
  211. package/dist/actions/get-default-parcel-template.d.cts +15 -3
  212. package/dist/actions/get-default-parcel-template.d.mts +15 -3
  213. package/dist/actions/get-default-parcel-template.mjs +2 -2
  214. package/dist/actions/get-default-parcel-template.mjs.map +1 -1
  215. package/dist/actions/get-merchant-address.cjs +3 -3
  216. package/dist/actions/get-merchant-address.cjs.map +1 -1
  217. package/dist/actions/get-merchant-address.d.cts +16 -4
  218. package/dist/actions/get-merchant-address.d.mts +16 -4
  219. package/dist/actions/get-merchant-address.mjs +3 -3
  220. package/dist/actions/get-merchant-address.mjs.map +1 -1
  221. package/dist/actions/get-merchant-batch.cjs +3 -3
  222. package/dist/actions/get-merchant-batch.cjs.map +1 -1
  223. package/dist/actions/get-merchant-batch.d.cts +18 -6
  224. package/dist/actions/get-merchant-batch.d.mts +18 -6
  225. package/dist/actions/get-merchant-batch.mjs +3 -3
  226. package/dist/actions/get-merchant-batch.mjs.map +1 -1
  227. package/dist/actions/get-merchant-carrier-account.cjs +2 -2
  228. package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
  229. package/dist/actions/get-merchant-carrier-account.d.cts +15 -3
  230. package/dist/actions/get-merchant-carrier-account.d.mts +15 -3
  231. package/dist/actions/get-merchant-carrier-account.mjs +2 -2
  232. package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
  233. package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -1
  234. package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
  235. package/dist/actions/get-merchant-carrier-registration-status.d.cts +14 -2
  236. package/dist/actions/get-merchant-carrier-registration-status.d.mts +14 -2
  237. package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -1
  238. package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
  239. package/dist/actions/get-merchant-customs-declaration.cjs +1 -1
  240. package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
  241. package/dist/actions/get-merchant-customs-declaration.d.cts +14 -2
  242. package/dist/actions/get-merchant-customs-declaration.d.mts +14 -2
  243. package/dist/actions/get-merchant-customs-declaration.mjs +1 -1
  244. package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
  245. package/dist/actions/get-merchant-customs-item.cjs +1 -1
  246. package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
  247. package/dist/actions/get-merchant-customs-item.d.cts +14 -2
  248. package/dist/actions/get-merchant-customs-item.d.mts +14 -2
  249. package/dist/actions/get-merchant-customs-item.mjs +1 -1
  250. package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
  251. package/dist/actions/get-merchant-manifest.cjs +1 -1
  252. package/dist/actions/get-merchant-manifest.cjs.map +1 -1
  253. package/dist/actions/get-merchant-manifest.d.cts +14 -2
  254. package/dist/actions/get-merchant-manifest.d.mts +14 -2
  255. package/dist/actions/get-merchant-manifest.mjs +1 -1
  256. package/dist/actions/get-merchant-manifest.mjs.map +1 -1
  257. package/dist/actions/get-merchant-order.cjs +3 -3
  258. package/dist/actions/get-merchant-order.cjs.map +1 -1
  259. package/dist/actions/get-merchant-order.d.cts +17 -5
  260. package/dist/actions/get-merchant-order.d.mts +17 -5
  261. package/dist/actions/get-merchant-order.mjs +3 -3
  262. package/dist/actions/get-merchant-order.mjs.map +1 -1
  263. package/dist/actions/get-merchant-parcel.cjs +4 -4
  264. package/dist/actions/get-merchant-parcel.cjs.map +1 -1
  265. package/dist/actions/get-merchant-parcel.d.cts +17 -5
  266. package/dist/actions/get-merchant-parcel.d.mts +17 -5
  267. package/dist/actions/get-merchant-parcel.mjs +4 -4
  268. package/dist/actions/get-merchant-parcel.mjs.map +1 -1
  269. package/dist/actions/get-merchant-rate.cjs +3 -3
  270. package/dist/actions/get-merchant-rate.cjs.map +1 -1
  271. package/dist/actions/get-merchant-rate.d.cts +16 -4
  272. package/dist/actions/get-merchant-rate.d.mts +16 -4
  273. package/dist/actions/get-merchant-rate.mjs +3 -3
  274. package/dist/actions/get-merchant-rate.mjs.map +1 -1
  275. package/dist/actions/get-merchant-refund.cjs +1 -1
  276. package/dist/actions/get-merchant-refund.cjs.map +1 -1
  277. package/dist/actions/get-merchant-refund.d.cts +14 -2
  278. package/dist/actions/get-merchant-refund.d.mts +14 -2
  279. package/dist/actions/get-merchant-refund.mjs +1 -1
  280. package/dist/actions/get-merchant-refund.mjs.map +1 -1
  281. package/dist/actions/get-merchant-shipment.cjs +14 -14
  282. package/dist/actions/get-merchant-shipment.cjs.map +1 -1
  283. package/dist/actions/get-merchant-shipment.d.cts +32 -20
  284. package/dist/actions/get-merchant-shipment.d.mts +32 -20
  285. package/dist/actions/get-merchant-shipment.mjs +14 -14
  286. package/dist/actions/get-merchant-shipment.mjs.map +1 -1
  287. package/dist/actions/get-merchant-track.cjs +6 -6
  288. package/dist/actions/get-merchant-track.cjs.map +1 -1
  289. package/dist/actions/get-merchant-track.d.cts +21 -9
  290. package/dist/actions/get-merchant-track.d.mts +21 -9
  291. package/dist/actions/get-merchant-track.mjs +6 -6
  292. package/dist/actions/get-merchant-track.mjs.map +1 -1
  293. package/dist/actions/get-merchant-transaction.cjs +2 -2
  294. package/dist/actions/get-merchant-transaction.cjs.map +1 -1
  295. package/dist/actions/get-merchant-transaction.d.cts +17 -5
  296. package/dist/actions/get-merchant-transaction.d.mts +17 -5
  297. package/dist/actions/get-merchant-transaction.mjs +2 -2
  298. package/dist/actions/get-merchant-transaction.mjs.map +1 -1
  299. package/dist/actions/get-merchant.cjs +1 -1
  300. package/dist/actions/get-merchant.cjs.map +1 -1
  301. package/dist/actions/get-merchant.d.cts +14 -2
  302. package/dist/actions/get-merchant.d.mts +14 -2
  303. package/dist/actions/get-merchant.mjs +1 -1
  304. package/dist/actions/get-merchant.mjs.map +1 -1
  305. package/dist/actions/get-order.cjs +5 -5
  306. package/dist/actions/get-order.cjs.map +1 -1
  307. package/dist/actions/get-order.d.cts +19 -7
  308. package/dist/actions/get-order.d.mts +19 -7
  309. package/dist/actions/get-order.mjs +5 -5
  310. package/dist/actions/get-order.mjs.map +1 -1
  311. package/dist/actions/get-parcel.cjs +4 -4
  312. package/dist/actions/get-parcel.cjs.map +1 -1
  313. package/dist/actions/get-parcel.d.cts +17 -5
  314. package/dist/actions/get-parcel.d.mts +17 -5
  315. package/dist/actions/get-parcel.mjs +4 -4
  316. package/dist/actions/get-parcel.mjs.map +1 -1
  317. package/dist/actions/get-rate.cjs +3 -3
  318. package/dist/actions/get-rate.cjs.map +1 -1
  319. package/dist/actions/get-rate.d.cts +16 -4
  320. package/dist/actions/get-rate.d.mts +16 -4
  321. package/dist/actions/get-rate.mjs +3 -3
  322. package/dist/actions/get-rate.mjs.map +1 -1
  323. package/dist/actions/get-refund.cjs +1 -1
  324. package/dist/actions/get-refund.cjs.map +1 -1
  325. package/dist/actions/get-refund.d.cts +14 -2
  326. package/dist/actions/get-refund.d.mts +14 -2
  327. package/dist/actions/get-refund.mjs +1 -1
  328. package/dist/actions/get-refund.mjs.map +1 -1
  329. package/dist/actions/get-shipment.cjs +9 -9
  330. package/dist/actions/get-shipment.cjs.map +1 -1
  331. package/dist/actions/get-shipment.d.cts +26 -14
  332. package/dist/actions/get-shipment.d.mts +26 -14
  333. package/dist/actions/get-shipment.mjs +9 -9
  334. package/dist/actions/get-shipment.mjs.map +1 -1
  335. package/dist/actions/get-shippo-account.cjs +1 -1
  336. package/dist/actions/get-shippo-account.cjs.map +1 -1
  337. package/dist/actions/get-shippo-account.d.cts +14 -2
  338. package/dist/actions/get-shippo-account.d.mts +14 -2
  339. package/dist/actions/get-shippo-account.mjs +1 -1
  340. package/dist/actions/get-shippo-account.mjs.map +1 -1
  341. package/dist/actions/get-track.cjs +6 -6
  342. package/dist/actions/get-track.cjs.map +1 -1
  343. package/dist/actions/get-track.d.cts +21 -9
  344. package/dist/actions/get-track.d.mts +21 -9
  345. package/dist/actions/get-track.mjs +6 -6
  346. package/dist/actions/get-track.mjs.map +1 -1
  347. package/dist/actions/get-transaction.cjs +2 -2
  348. package/dist/actions/get-transaction.cjs.map +1 -1
  349. package/dist/actions/get-transaction.d.cts +15 -3
  350. package/dist/actions/get-transaction.d.mts +15 -3
  351. package/dist/actions/get-transaction.mjs +2 -2
  352. package/dist/actions/get-transaction.mjs.map +1 -1
  353. package/dist/actions/get-user-parcel-template.cjs +2 -2
  354. package/dist/actions/get-user-parcel-template.cjs.map +1 -1
  355. package/dist/actions/get-user-parcel-template.d.cts +15 -3
  356. package/dist/actions/get-user-parcel-template.d.mts +15 -3
  357. package/dist/actions/get-user-parcel-template.mjs +2 -2
  358. package/dist/actions/get-user-parcel-template.mjs.map +1 -1
  359. package/dist/actions/get-webhook.cjs +1 -1
  360. package/dist/actions/get-webhook.cjs.map +1 -1
  361. package/dist/actions/get-webhook.d.cts +14 -2
  362. package/dist/actions/get-webhook.d.mts +14 -2
  363. package/dist/actions/get-webhook.mjs +1 -1
  364. package/dist/actions/get-webhook.mjs.map +1 -1
  365. package/dist/actions/list-addresses.cjs +4 -4
  366. package/dist/actions/list-addresses.cjs.map +1 -1
  367. package/dist/actions/list-addresses.d.cts +17 -5
  368. package/dist/actions/list-addresses.d.mts +17 -5
  369. package/dist/actions/list-addresses.mjs +4 -4
  370. package/dist/actions/list-addresses.mjs.map +1 -1
  371. package/dist/actions/list-carrier-accounts.cjs +4 -4
  372. package/dist/actions/list-carrier-accounts.cjs.map +1 -1
  373. package/dist/actions/list-carrier-accounts.d.cts +17 -5
  374. package/dist/actions/list-carrier-accounts.d.mts +17 -5
  375. package/dist/actions/list-carrier-accounts.mjs +4 -4
  376. package/dist/actions/list-carrier-accounts.mjs.map +1 -1
  377. package/dist/actions/list-carrier-parcel-templates.cjs +2 -2
  378. package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
  379. package/dist/actions/list-carrier-parcel-templates.d.cts +16 -4
  380. package/dist/actions/list-carrier-parcel-templates.d.mts +16 -4
  381. package/dist/actions/list-carrier-parcel-templates.mjs +2 -2
  382. package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
  383. package/dist/actions/list-customs-declarations.cjs +7 -7
  384. package/dist/actions/list-customs-declarations.cjs.map +1 -1
  385. package/dist/actions/list-customs-declarations.d.cts +20 -8
  386. package/dist/actions/list-customs-declarations.d.mts +20 -8
  387. package/dist/actions/list-customs-declarations.mjs +7 -7
  388. package/dist/actions/list-customs-declarations.mjs.map +1 -1
  389. package/dist/actions/list-customs-items.cjs +2 -2
  390. package/dist/actions/list-customs-items.cjs.map +1 -1
  391. package/dist/actions/list-customs-items.d.cts +15 -3
  392. package/dist/actions/list-customs-items.d.mts +15 -3
  393. package/dist/actions/list-customs-items.mjs +2 -2
  394. package/dist/actions/list-customs-items.mjs.map +1 -1
  395. package/dist/actions/list-manifests.cjs +2 -2
  396. package/dist/actions/list-manifests.cjs.map +1 -1
  397. package/dist/actions/list-manifests.d.cts +15 -3
  398. package/dist/actions/list-manifests.d.mts +15 -3
  399. package/dist/actions/list-manifests.mjs +2 -2
  400. package/dist/actions/list-manifests.mjs.map +1 -1
  401. package/dist/actions/list-merchant-addresses.cjs +4 -4
  402. package/dist/actions/list-merchant-addresses.cjs.map +1 -1
  403. package/dist/actions/list-merchant-addresses.d.cts +17 -5
  404. package/dist/actions/list-merchant-addresses.d.mts +17 -5
  405. package/dist/actions/list-merchant-addresses.mjs +4 -4
  406. package/dist/actions/list-merchant-addresses.mjs.map +1 -1
  407. package/dist/actions/list-merchant-carrier-accounts.cjs +3 -3
  408. package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
  409. package/dist/actions/list-merchant-carrier-accounts.d.cts +16 -4
  410. package/dist/actions/list-merchant-carrier-accounts.d.mts +16 -4
  411. package/dist/actions/list-merchant-carrier-accounts.mjs +3 -3
  412. package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
  413. package/dist/actions/list-merchant-customs-declarations.cjs +2 -2
  414. package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
  415. package/dist/actions/list-merchant-customs-declarations.d.cts +15 -3
  416. package/dist/actions/list-merchant-customs-declarations.d.mts +15 -3
  417. package/dist/actions/list-merchant-customs-declarations.mjs +2 -2
  418. package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
  419. package/dist/actions/list-merchant-customs-items.cjs +2 -2
  420. package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
  421. package/dist/actions/list-merchant-customs-items.d.cts +15 -3
  422. package/dist/actions/list-merchant-customs-items.d.mts +15 -3
  423. package/dist/actions/list-merchant-customs-items.mjs +2 -2
  424. package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
  425. package/dist/actions/list-merchant-manifests.cjs +3 -3
  426. package/dist/actions/list-merchant-manifests.cjs.map +1 -1
  427. package/dist/actions/list-merchant-manifests.d.cts +16 -4
  428. package/dist/actions/list-merchant-manifests.d.mts +16 -4
  429. package/dist/actions/list-merchant-manifests.mjs +3 -3
  430. package/dist/actions/list-merchant-manifests.mjs.map +1 -1
  431. package/dist/actions/list-merchant-parcels.cjs +3 -3
  432. package/dist/actions/list-merchant-parcels.cjs.map +1 -1
  433. package/dist/actions/list-merchant-parcels.d.cts +16 -4
  434. package/dist/actions/list-merchant-parcels.d.mts +16 -4
  435. package/dist/actions/list-merchant-parcels.mjs +3 -3
  436. package/dist/actions/list-merchant-parcels.mjs.map +1 -1
  437. package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +4 -4
  438. package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
  439. package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +17 -5
  440. package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +17 -5
  441. package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +4 -4
  442. package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
  443. package/dist/actions/list-merchant-shipments.cjs +10 -10
  444. package/dist/actions/list-merchant-shipments.cjs.map +1 -1
  445. package/dist/actions/list-merchant-shipments.d.cts +26 -14
  446. package/dist/actions/list-merchant-shipments.d.mts +26 -14
  447. package/dist/actions/list-merchant-shipments.mjs +10 -10
  448. package/dist/actions/list-merchant-shipments.mjs.map +1 -1
  449. package/dist/actions/list-merchant-transactions.cjs +3 -3
  450. package/dist/actions/list-merchant-transactions.cjs.map +1 -1
  451. package/dist/actions/list-merchant-transactions.d.cts +16 -4
  452. package/dist/actions/list-merchant-transactions.d.mts +16 -4
  453. package/dist/actions/list-merchant-transactions.mjs +3 -3
  454. package/dist/actions/list-merchant-transactions.mjs.map +1 -1
  455. package/dist/actions/list-merchants.cjs +2 -2
  456. package/dist/actions/list-merchants.cjs.map +1 -1
  457. package/dist/actions/list-merchants.d.cts +15 -3
  458. package/dist/actions/list-merchants.d.mts +15 -3
  459. package/dist/actions/list-merchants.mjs +2 -2
  460. package/dist/actions/list-merchants.mjs.map +1 -1
  461. package/dist/actions/list-orders.cjs +6 -6
  462. package/dist/actions/list-orders.cjs.map +1 -1
  463. package/dist/actions/list-orders.d.cts +20 -8
  464. package/dist/actions/list-orders.d.mts +20 -8
  465. package/dist/actions/list-orders.mjs +6 -6
  466. package/dist/actions/list-orders.mjs.map +1 -1
  467. package/dist/actions/list-refunds.cjs +2 -2
  468. package/dist/actions/list-refunds.cjs.map +1 -1
  469. package/dist/actions/list-refunds.d.cts +15 -3
  470. package/dist/actions/list-refunds.d.mts +15 -3
  471. package/dist/actions/list-refunds.mjs +2 -2
  472. package/dist/actions/list-refunds.mjs.map +1 -1
  473. package/dist/actions/list-service-groups.cjs +3 -3
  474. package/dist/actions/list-service-groups.cjs.map +1 -1
  475. package/dist/actions/list-service-groups.d.cts +16 -4
  476. package/dist/actions/list-service-groups.d.mts +16 -4
  477. package/dist/actions/list-service-groups.mjs +3 -3
  478. package/dist/actions/list-service-groups.mjs.map +1 -1
  479. package/dist/actions/list-shipment-rates-by-currency.cjs +4 -4
  480. package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
  481. package/dist/actions/list-shipment-rates-by-currency.d.cts +17 -5
  482. package/dist/actions/list-shipment-rates-by-currency.d.mts +17 -5
  483. package/dist/actions/list-shipment-rates-by-currency.mjs +4 -4
  484. package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
  485. package/dist/actions/list-shipment-rates.cjs +4 -4
  486. package/dist/actions/list-shipment-rates.cjs.map +1 -1
  487. package/dist/actions/list-shipment-rates.d.cts +17 -5
  488. package/dist/actions/list-shipment-rates.d.mts +17 -5
  489. package/dist/actions/list-shipment-rates.mjs +4 -4
  490. package/dist/actions/list-shipment-rates.mjs.map +1 -1
  491. package/dist/actions/list-shipments.cjs +9 -9
  492. package/dist/actions/list-shipments.cjs.map +1 -1
  493. package/dist/actions/list-shipments.d.cts +26 -14
  494. package/dist/actions/list-shipments.d.mts +26 -14
  495. package/dist/actions/list-shipments.mjs +9 -9
  496. package/dist/actions/list-shipments.mjs.map +1 -1
  497. package/dist/actions/list-shippo-accounts.cjs +2 -2
  498. package/dist/actions/list-shippo-accounts.cjs.map +1 -1
  499. package/dist/actions/list-shippo-accounts.d.cts +15 -3
  500. package/dist/actions/list-shippo-accounts.d.mts +15 -3
  501. package/dist/actions/list-shippo-accounts.mjs +2 -2
  502. package/dist/actions/list-shippo-accounts.mjs.map +1 -1
  503. package/dist/actions/list-user-parcel-templates.cjs +3 -3
  504. package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
  505. package/dist/actions/list-user-parcel-templates.d.cts +16 -4
  506. package/dist/actions/list-user-parcel-templates.d.mts +16 -4
  507. package/dist/actions/list-user-parcel-templates.mjs +3 -3
  508. package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
  509. package/dist/actions/purchase-merchant-batch.cjs +4 -4
  510. package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
  511. package/dist/actions/purchase-merchant-batch.d.cts +17 -5
  512. package/dist/actions/purchase-merchant-batch.d.mts +17 -5
  513. package/dist/actions/purchase-merchant-batch.mjs +4 -4
  514. package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
  515. package/dist/actions/remove-shipments-from-batch.cjs +5 -5
  516. package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
  517. package/dist/actions/remove-shipments-from-batch.d.cts +18 -6
  518. package/dist/actions/remove-shipments-from-batch.d.mts +18 -6
  519. package/dist/actions/remove-shipments-from-batch.mjs +5 -5
  520. package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
  521. package/dist/actions/update-carrier-account.cjs +3 -3
  522. package/dist/actions/update-carrier-account.cjs.map +1 -1
  523. package/dist/actions/update-carrier-account.d.cts +17 -5
  524. package/dist/actions/update-carrier-account.d.cts.map +1 -1
  525. package/dist/actions/update-carrier-account.d.mts +17 -5
  526. package/dist/actions/update-carrier-account.d.mts.map +1 -1
  527. package/dist/actions/update-carrier-account.mjs +3 -3
  528. package/dist/actions/update-carrier-account.mjs.map +1 -1
  529. package/dist/actions/update-default-parcel-template.cjs +3 -3
  530. package/dist/actions/update-default-parcel-template.cjs.map +1 -1
  531. package/dist/actions/update-default-parcel-template.d.cts +16 -4
  532. package/dist/actions/update-default-parcel-template.d.mts +16 -4
  533. package/dist/actions/update-default-parcel-template.mjs +3 -3
  534. package/dist/actions/update-default-parcel-template.mjs.map +1 -1
  535. package/dist/actions/update-merchant-carrier-account.cjs +2 -2
  536. package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
  537. package/dist/actions/update-merchant-carrier-account.d.cts +15 -3
  538. package/dist/actions/update-merchant-carrier-account.d.mts +15 -3
  539. package/dist/actions/update-merchant-carrier-account.mjs +2 -2
  540. package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
  541. package/dist/actions/update-merchant.cjs +1 -1
  542. package/dist/actions/update-merchant.cjs.map +1 -1
  543. package/dist/actions/update-merchant.d.cts +14 -2
  544. package/dist/actions/update-merchant.d.mts +14 -2
  545. package/dist/actions/update-merchant.mjs +1 -1
  546. package/dist/actions/update-merchant.mjs.map +1 -1
  547. package/dist/actions/update-service-group.cjs +3 -3
  548. package/dist/actions/update-service-group.cjs.map +1 -1
  549. package/dist/actions/update-service-group.d.cts +17 -4
  550. package/dist/actions/update-service-group.d.mts +17 -4
  551. package/dist/actions/update-service-group.mjs +3 -3
  552. package/dist/actions/update-service-group.mjs.map +1 -1
  553. package/dist/actions/update-user-parcel-template.cjs +2 -2
  554. package/dist/actions/update-user-parcel-template.cjs.map +1 -1
  555. package/dist/actions/update-user-parcel-template.d.cts +15 -3
  556. package/dist/actions/update-user-parcel-template.d.mts +15 -3
  557. package/dist/actions/update-user-parcel-template.mjs +2 -2
  558. package/dist/actions/update-user-parcel-template.mjs.map +1 -1
  559. package/dist/actions/update-webhook.cjs +1 -1
  560. package/dist/actions/update-webhook.cjs.map +1 -1
  561. package/dist/actions/update-webhook.d.cts +18 -6
  562. package/dist/actions/update-webhook.d.mts +18 -6
  563. package/dist/actions/update-webhook.mjs +1 -1
  564. package/dist/actions/update-webhook.mjs.map +1 -1
  565. package/dist/actions/validate-address.cjs +3 -3
  566. package/dist/actions/validate-address.cjs.map +1 -1
  567. package/dist/actions/validate-address.d.cts +16 -4
  568. package/dist/actions/validate-address.d.mts +16 -4
  569. package/dist/actions/validate-address.mjs +3 -3
  570. package/dist/actions/validate-address.mjs.map +1 -1
  571. package/dist/actions/validate-merchant-address.cjs +3 -3
  572. package/dist/actions/validate-merchant-address.cjs.map +1 -1
  573. package/dist/actions/validate-merchant-address.d.cts +16 -4
  574. package/dist/actions/validate-merchant-address.d.mts +16 -4
  575. package/dist/actions/validate-merchant-address.mjs +3 -3
  576. package/dist/actions/validate-merchant-address.mjs.map +1 -1
  577. package/dist/app.cjs +5 -2
  578. package/dist/app.cjs.map +1 -1
  579. package/dist/app.d.cts +9 -1
  580. package/dist/app.d.cts.map +1 -1
  581. package/dist/app.d.mts +9 -1
  582. package/dist/app.d.mts.map +1 -1
  583. package/dist/app.mjs +3 -1
  584. package/dist/app.mjs.map +1 -1
  585. package/package.json +1 -1
@@ -62,10 +62,10 @@ declare const ShippoCreateCarrierAccountOutput: z.ZodObject<{
62
62
  billing_address_street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
63
  billing_address_street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
64
  billing_address_country_iso2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
- }, z.core.$strip>>>;
65
+ }, z.core.$loose>>>;
66
66
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
67
  is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
- }, z.core.$strip>;
68
+ }, z.core.$loose>;
69
69
  declare const shippoCreateCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
70
70
  active: boolean;
71
71
  carrier: string;
@@ -96,7 +96,19 @@ declare const shippoCreateCarrierAccount: import("@keystrokehq/action").Workflow
96
96
  };
97
97
  test?: boolean | undefined;
98
98
  metadata?: string | undefined;
99
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
99
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
100
+ connectionId: z.ZodString;
101
+ entityId: z.ZodString;
102
+ instanceId: z.ZodString;
103
+ }, z.core.$strip>, z.ZodObject<{
104
+ accessToken: z.ZodString;
105
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
106
+ connectionId: z.ZodString;
107
+ entityId: z.ZodString;
108
+ instanceId: z.ZodString;
109
+ }, z.core.$strip>, z.ZodObject<{
110
+ accessToken: z.ZodString;
111
+ }, z.core.$strip>>]>;
100
112
  //#endregion
101
113
  export { shippoCreateCarrierAccount };
102
114
  //# sourceMappingURL=create-carrier-account.d.cts.map
@@ -62,10 +62,10 @@ declare const ShippoCreateCarrierAccountOutput: z.ZodObject<{
62
62
  billing_address_street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
63
  billing_address_street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
64
  billing_address_country_iso2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
- }, z.core.$strip>>>;
65
+ }, z.core.$loose>>>;
66
66
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
67
  is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
- }, z.core.$strip>;
68
+ }, z.core.$loose>;
69
69
  declare const shippoCreateCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
70
70
  active: boolean;
71
71
  carrier: string;
@@ -96,7 +96,19 @@ declare const shippoCreateCarrierAccount: import("@keystrokehq/action").Workflow
96
96
  };
97
97
  test?: boolean | undefined;
98
98
  metadata?: string | undefined;
99
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
99
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
100
+ connectionId: z.ZodString;
101
+ entityId: z.ZodString;
102
+ instanceId: z.ZodString;
103
+ }, z.core.$strip>, z.ZodObject<{
104
+ accessToken: z.ZodString;
105
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
106
+ connectionId: z.ZodString;
107
+ entityId: z.ZodString;
108
+ instanceId: z.ZodString;
109
+ }, z.core.$strip>, z.ZodObject<{
110
+ accessToken: z.ZodString;
111
+ }, z.core.$strip>>]>;
100
112
  //#endregion
101
113
  export { shippoCreateCarrierAccount };
102
114
  //# sourceMappingURL=create-carrier-account.d.mts.map
@@ -55,7 +55,7 @@ const ShippoCreateCarrierAccount_CarrierAccountParametersResponseSchema = z.obje
55
55
  billing_address_street1: z.string().describe("Primary billing address street line.").nullable().optional(),
56
56
  billing_address_street2: z.string().describe("Secondary billing address street line.").nullable().optional(),
57
57
  billing_address_country_iso2: z.string().describe("Billing address country ISO 2-letter code.").nullable().optional()
58
- }).describe("Carrier account parameters returned in the response.");
58
+ }).passthrough().describe("Carrier account parameters returned in the response.");
59
59
  const shippoCreateCarrierAccount = action("SHIPPO_CREATE_CARRIER_ACCOUNT", {
60
60
  slug: "shippo-create-carrier-account",
61
61
  name: "Create Carrier Account",
@@ -71,7 +71,7 @@ const shippoCreateCarrierAccount = action("SHIPPO_CREATE_CARRIER_ACCOUNT", {
71
71
  parameters: ShippoCreateCarrierAccount_CarrierAccountParametersResponseSchema.nullable().optional(),
72
72
  object_owner: z.string().describe("Owner of the carrier account object.").nullable().optional(),
73
73
  is_shippo_account: z.boolean().describe("Whether this is a Shippo-provided account.").nullable().optional()
74
- }).describe("Response containing the created carrier account details.")
74
+ }).passthrough().describe("Response containing the created carrier account details.")
75
75
  });
76
76
  //#endregion
77
77
  export { shippoCreateCarrierAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"create-carrier-account.mjs","names":[],"sources":["../../src/actions/create-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateCarrierAccountInput = z.object({\n test: z.boolean().describe(\"Whether this is a test account.\").optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\"),\n carrier: z.string().describe(\"The carrier name to create an account for, e.g., 'ups'.\"),\n metadata: z.string().describe(\"Optional metadata string to associate with the carrier account.\").optional(),\n account_id: z.string().describe(\"Account identifier used to reference this carrier account. Must not be blank.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the account.\"),\n phone: z.string().describe(\"Phone number for the account.\"),\n title: z.string().describe(\"User's title, e.g. Manager, Doctor, Artist, Engineer, Mr, Ms, Mrs, Mx.\"),\n company: z.string().describe(\"Company name. Full name is acceptable in this field if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address. Must be exactly 5 digits.\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days for the US or Canada; and 45 days for any other countries. User can use data from any of the last 3 invoices.\"),\n invoice_date: z.string().describe(\"Only required if has_invoice is true. Date the invoice was issued in yyyymmdd format.\").optional(),\n currency_code: z.string().describe(\"Only required if has_invoice is true. 3-letter currency code associated with invoice_value.\").optional(),\n invoice_value: z.string().describe(\"Only required if has_invoice is true. Max 16 digits before decimal and 2 digits after decimal.\").optional(),\n account_number: z.string().describe(\"The UPS account number.\"),\n invoice_number: z.string().describe(\"Invoice number. Must be between 1 and 15 characters.\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions. Must be true or the API will return error 400.\"),\n aia_country_iso2: z.string().describe(\"Only required if has_invoice is true. Country associated with the account that issued the invoice.\").optional(),\n invoice_controlid: z.string().describe(\"Only required if aia_country_iso2 is US and has_invoice is true. Must be exactly 4 characters.\").optional(),\n billing_address_zip: z.string().describe(\"Billing address zip code. Must be exactly 5 digits.\"),\n collec_country_iso2: z.string().describe(\"Country ISO 2-letter code for the collection/pickup address.\"),\n billing_address_city: z.string().describe(\"Billing address city.\"),\n billing_address_state: z.string().describe(\"Billing address state code. Must be exactly 2 characters.\"),\n billing_address_street1: z.string().describe(\"Primary billing address street line.\"),\n billing_address_street2: z.string().describe(\"Secondary billing address street line. Empty string is acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country ISO 2-letter code.\"),\n}).describe(\"Carrier-specific parameters required for account creation. For UPS, this includes billing address, contact information, and invoice details.\"),\n}).describe(\"Request to create a new carrier account in Shippo.\");\nconst ShippoCreateCarrierAccount_CarrierAccountParametersResponseSchema = z.object({\n email: z.string().describe(\"Email address for the account.\").nullable().optional(),\n phone: z.string().describe(\"Phone number for the account.\").nullable().optional(),\n title: z.string().describe(\"User's title.\").nullable().optional(),\n company: z.string().describe(\"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 a UPS invoice.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued.\").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.\").nullable().optional(),\n account_number: z.string().describe(\"The UPS account number.\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agreed to UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice.\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID.\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Country ISO 2-letter code for the collection/pickup address.\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state code.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Primary billing address street line.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Secondary billing address street line.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country ISO 2-letter code.\").nullable().optional(),\n}).describe(\"Carrier account parameters returned in the response.\");\nexport const ShippoCreateCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name associated with this account.\").nullable(),\n metadata: z.string().describe(\"Metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The account identifier.\").nullable(),\n parameters: ShippoCreateCarrierAccount_CarrierAccountParametersResponseSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Whether this is a Shippo-provided account.\").nullable().optional(),\n}).describe(\"Response containing the created carrier account details.\");\n\nexport const shippoCreateCarrierAccount = action(\"SHIPPO_CREATE_CARRIER_ACCOUNT\", {\n slug: \"shippo-create-carrier-account\",\n name: \"Create Carrier Account\",\n description: \"Tool to create a new carrier account in Shippo. Use when you need to register carrier credentials for shipping operations. This action requires detailed billing and contact information, and for UPS accounts specifically, the user must agree to UPS terms and conditions.\",\n input: ShippoCreateCarrierAccountInput,\n output: ShippoCreateCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC/G,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACtG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,kLAAkL;EACpN,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACpI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EAC3I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EAC9I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC7D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,C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C,CAAC,SAAS;CACzG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAalE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB8C,EAAE,OAAO;EACvD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,YAAY,kEAAkE,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-carrier-account.mjs","names":[],"sources":["../../src/actions/create-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateCarrierAccountInput = z.object({\n test: z.boolean().describe(\"Whether this is a test account.\").optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\"),\n carrier: z.string().describe(\"The carrier name to create an account for, e.g., 'ups'.\"),\n metadata: z.string().describe(\"Optional metadata string to associate with the carrier account.\").optional(),\n account_id: z.string().describe(\"Account identifier used to reference this carrier account. Must not be blank.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the account.\"),\n phone: z.string().describe(\"Phone number for the account.\"),\n title: z.string().describe(\"User's title, e.g. Manager, Doctor, Artist, Engineer, Mr, Ms, Mrs, Mx.\"),\n company: z.string().describe(\"Company name. Full name is acceptable in this field if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address. Must be exactly 5 digits.\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days for the US or Canada; and 45 days for any other countries. User can use data from any of the last 3 invoices.\"),\n invoice_date: z.string().describe(\"Only required if has_invoice is true. Date the invoice was issued in yyyymmdd format.\").optional(),\n currency_code: z.string().describe(\"Only required if has_invoice is true. 3-letter currency code associated with invoice_value.\").optional(),\n invoice_value: z.string().describe(\"Only required if has_invoice is true. Max 16 digits before decimal and 2 digits after decimal.\").optional(),\n account_number: z.string().describe(\"The UPS account number.\"),\n invoice_number: z.string().describe(\"Invoice number. Must be between 1 and 15 characters.\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions. Must be true or the API will return error 400.\"),\n aia_country_iso2: z.string().describe(\"Only required if has_invoice is true. Country associated with the account that issued the invoice.\").optional(),\n invoice_controlid: z.string().describe(\"Only required if aia_country_iso2 is US and has_invoice is true. Must be exactly 4 characters.\").optional(),\n billing_address_zip: z.string().describe(\"Billing address zip code. Must be exactly 5 digits.\"),\n collec_country_iso2: z.string().describe(\"Country ISO 2-letter code for the collection/pickup address.\"),\n billing_address_city: z.string().describe(\"Billing address city.\"),\n billing_address_state: z.string().describe(\"Billing address state code. Must be exactly 2 characters.\"),\n billing_address_street1: z.string().describe(\"Primary billing address street line.\"),\n billing_address_street2: z.string().describe(\"Secondary billing address street line. Empty string is acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country ISO 2-letter code.\"),\n}).describe(\"Carrier-specific parameters required for account creation. For UPS, this includes billing address, contact information, and invoice details.\"),\n}).describe(\"Request to create a new carrier account in Shippo.\");\nconst ShippoCreateCarrierAccount_CarrierAccountParametersResponseSchema = z.object({\n email: z.string().describe(\"Email address for the account.\").nullable().optional(),\n phone: z.string().describe(\"Phone number for the account.\").nullable().optional(),\n title: z.string().describe(\"User's title.\").nullable().optional(),\n company: z.string().describe(\"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 a UPS invoice.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued.\").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.\").nullable().optional(),\n account_number: z.string().describe(\"The UPS account number.\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agreed to UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice.\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID.\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Country ISO 2-letter code for the collection/pickup address.\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state code.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Primary billing address street line.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Secondary billing address street line.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country ISO 2-letter code.\").nullable().optional(),\n}).passthrough().describe(\"Carrier account parameters returned in the response.\");\nexport const ShippoCreateCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name associated with this account.\").nullable(),\n metadata: z.string().describe(\"Metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The account identifier.\").nullable(),\n parameters: ShippoCreateCarrierAccount_CarrierAccountParametersResponseSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created carrier account details.\");\n\nexport const shippoCreateCarrierAccount = action(\"SHIPPO_CREATE_CARRIER_ACCOUNT\", {\n slug: \"shippo-create-carrier-account\",\n name: \"Create Carrier Account\",\n description: \"Tool to create a new carrier account in Shippo. Use when you need to register carrier credentials for shipping operations. This action requires detailed billing and contact information, and for UPS accounts specifically, the user must agree to UPS terms and conditions.\",\n input: ShippoCreateCarrierAccountInput,\n output: ShippoCreateCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC/G,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO,CA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AAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,YAAY,kEAAkE,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -33,7 +33,7 @@ const ShippoCreateCustomsItemOutput = zod.z.object({
33
33
  object_updated: zod.z.string().describe("Timestamp when the customs item was last updated.").nullable().optional(),
34
34
  origin_country: zod.z.string().describe("Country code of the item's origin.").nullable().optional(),
35
35
  value_currency: zod.z.string().describe("Currency code for the item value.").nullable().optional()
36
- }).describe("Response containing the created customs item details.");
36
+ }).passthrough().describe("Response containing the created customs item details.");
37
37
  const shippoCreateCustomsItem = require_action.action("SHIPPO_CREATE_CUSTOMS_ITEM", {
38
38
  slug: "shippo-create-customs-item",
39
39
  name: "Create Customs Item",
@@ -1 +1 @@
1
- {"version":3,"file":"create-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/create-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateCustomsItemInput = z.object({\n metadata: z.string().describe(\"Custom metadata string for storing additional information about the customs item.\").optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment. Must be a positive integer.\"),\n sku_code: z.string().describe(\"Stock Keeping Unit code or product identifier for inventory tracking.\").optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight. Common values: 'lb' (pounds), 'kg' (kilograms), 'oz' (ounces), 'g' (grams).\"),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation for export control purposes.\").optional(),\n net_weight: z.string().describe(\"Net weight of the item (total weight for all units). Numeric string value.\"),\n description: z.string().describe(\"Text description of the item being shipped for customs purposes.\"),\n value_amount: z.string().describe(\"Monetary value of the item. Numeric string with up to 2 decimal places.\"),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule (HTS) code for the item. Used for customs classification.\").optional(),\n origin_country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code of the item's origin country.\"),\n value_currency: z.string().describe(\"Three-letter ISO 4217 currency code for the item value.\"),\n SHIPPO_API_VERSION: z.string().describe(\"Optional API version to use for this request. If not specified, uses the default API version.\").optional(),\n}).describe(\"Request to create a new customs item for international shipments.\");\nexport const ShippoCreateCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this customs item was created in test mode.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the customs item.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment.\").nullable().optional(),\n sku_code: z.string().describe(\"Stock Keeping Unit code for the item.\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the customs item object.\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number or EAR99 designation.\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item.\").nullable().optional(),\n description: z.string().describe(\"Text description of the item.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the customs item object (typically your account email).\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID').\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item.\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule code for the item.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the customs item was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the customs item was last updated.\").nullable().optional(),\n origin_country: z.string().describe(\"Country code of the item's origin.\").nullable().optional(),\n value_currency: z.string().describe(\"Currency code for the item value.\").nullable().optional(),\n}).describe(\"Response containing the created customs item details.\");\n\nexport const shippoCreateCustomsItem = action(\"SHIPPO_CREATE_CUSTOMS_ITEM\", {\n slug: \"shippo-create-customs-item\",\n name: \"Create Customs Item\",\n description: \"Create a new customs item for international shipments. Customs items are required for customs declarations when shipping internationally. Use this action to define the contents, value, and origin of items being shipped across international borders.\",\n input: ShippoCreateCustomsItemInput,\n output: ShippoCreateCustomsItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CA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AC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/create-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateCustomsItemInput = z.object({\n metadata: z.string().describe(\"Custom metadata string for storing additional information about the customs item.\").optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment. Must be a positive integer.\"),\n sku_code: z.string().describe(\"Stock Keeping Unit code or product identifier for inventory tracking.\").optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight. Common values: 'lb' (pounds), 'kg' (kilograms), 'oz' (ounces), 'g' (grams).\"),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation for export control purposes.\").optional(),\n net_weight: z.string().describe(\"Net weight of the item (total weight for all units). Numeric string value.\"),\n description: z.string().describe(\"Text description of the item being shipped for customs purposes.\"),\n value_amount: z.string().describe(\"Monetary value of the item. Numeric string with up to 2 decimal places.\"),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule (HTS) code for the item. Used for customs classification.\").optional(),\n origin_country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code of the item's origin country.\"),\n value_currency: z.string().describe(\"Three-letter ISO 4217 currency code for the item value.\"),\n SHIPPO_API_VERSION: z.string().describe(\"Optional API version to use for this request. If not specified, uses the default API version.\").optional(),\n}).describe(\"Request to create a new customs item for international shipments.\");\nexport const ShippoCreateCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this customs item was created in test mode.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the customs item.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment.\").nullable().optional(),\n sku_code: z.string().describe(\"Stock Keeping Unit code for the item.\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the customs item object.\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number or EAR99 designation.\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item.\").nullable().optional(),\n description: z.string().describe(\"Text description of the item.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the customs item object (typically your account email).\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID').\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item.\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule code for the item.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the customs item was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the customs item was last updated.\").nullable().optional(),\n origin_country: z.string().describe(\"Country code of the item's origin.\").nullable().optional(),\n value_currency: z.string().describe(\"Currency code for the item value.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created customs item details.\");\n\nexport const shippoCreateCustomsItem = action(\"SHIPPO_CREATE_CUSTOMS_ITEM\", {\n slug: \"shippo-create-customs-item\",\n name: \"Create Customs Item\",\n description: \"Create a new customs item for international shipments. Customs items are required for customs declarations when shipping internationally. Use this action to define the contents, value, and origin of items being shipped across international borders.\",\n input: ShippoCreateCustomsItemInput,\n output: ShippoCreateCustomsItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC7F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,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AS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -33,7 +33,7 @@ declare const ShippoCreateCustomsItemOutput: z.ZodObject<{
33
33
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  value_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const shippoCreateCustomsItem: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  quantity: number;
39
39
  mass_unit: string;
@@ -47,7 +47,19 @@ declare const shippoCreateCustomsItem: import("@keystrokehq/action").WorkflowAct
47
47
  eccn_ear99?: string | undefined;
48
48
  tariff_number?: string | undefined;
49
49
  SHIPPO_API_VERSION?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ accessToken: z.ZodString;
56
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ accessToken: z.ZodString;
62
+ }, z.core.$strip>>]>;
51
63
  //#endregion
52
64
  export { shippoCreateCustomsItem };
53
65
  //# sourceMappingURL=create-customs-item.d.cts.map
@@ -33,7 +33,7 @@ declare const ShippoCreateCustomsItemOutput: z.ZodObject<{
33
33
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  value_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const shippoCreateCustomsItem: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  quantity: number;
39
39
  mass_unit: string;
@@ -47,7 +47,19 @@ declare const shippoCreateCustomsItem: import("@keystrokehq/action").WorkflowAct
47
47
  eccn_ear99?: string | undefined;
48
48
  tariff_number?: string | undefined;
49
49
  SHIPPO_API_VERSION?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ accessToken: z.ZodString;
56
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ accessToken: z.ZodString;
62
+ }, z.core.$strip>>]>;
51
63
  //#endregion
52
64
  export { shippoCreateCustomsItem };
53
65
  //# sourceMappingURL=create-customs-item.d.mts.map
@@ -36,7 +36,7 @@ const shippoCreateCustomsItem = action("SHIPPO_CREATE_CUSTOMS_ITEM", {
36
36
  object_updated: z.string().describe("Timestamp when the customs item was last updated.").nullable().optional(),
37
37
  origin_country: z.string().describe("Country code of the item's origin.").nullable().optional(),
38
38
  value_currency: z.string().describe("Currency code for the item value.").nullable().optional()
39
- }).describe("Response containing the created customs item details.")
39
+ }).passthrough().describe("Response containing the created customs item details.")
40
40
  });
41
41
  //#endregion
42
42
  export { shippoCreateCustomsItem };
@@ -1 +1 @@
1
- {"version":3,"file":"create-customs-item.mjs","names":[],"sources":["../../src/actions/create-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateCustomsItemInput = z.object({\n metadata: z.string().describe(\"Custom metadata string for storing additional information about the customs item.\").optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment. Must be a positive integer.\"),\n sku_code: z.string().describe(\"Stock Keeping Unit code or product identifier for inventory tracking.\").optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight. Common values: 'lb' (pounds), 'kg' (kilograms), 'oz' (ounces), 'g' (grams).\"),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation for export control purposes.\").optional(),\n net_weight: z.string().describe(\"Net weight of the item (total weight for all units). Numeric string value.\"),\n description: z.string().describe(\"Text description of the item being shipped for customs purposes.\"),\n value_amount: z.string().describe(\"Monetary value of the item. Numeric string with up to 2 decimal places.\"),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule (HTS) code for the item. Used for customs classification.\").optional(),\n origin_country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code of the item's origin country.\"),\n value_currency: z.string().describe(\"Three-letter ISO 4217 currency code for the item value.\"),\n SHIPPO_API_VERSION: z.string().describe(\"Optional API version to use for this request. If not specified, uses the default API version.\").optional(),\n}).describe(\"Request to create a new customs item for international shipments.\");\nexport const ShippoCreateCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this customs item was created in test mode.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the customs item.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment.\").nullable().optional(),\n sku_code: z.string().describe(\"Stock Keeping Unit code for the item.\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the customs item object.\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number or EAR99 designation.\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item.\").nullable().optional(),\n description: z.string().describe(\"Text description of the item.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the customs item object (typically your account email).\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID').\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item.\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule code for the item.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the customs item was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the customs item was last updated.\").nullable().optional(),\n origin_country: z.string().describe(\"Country code of the item's origin.\").nullable().optional(),\n value_currency: z.string().describe(\"Currency code for the item value.\").nullable().optional(),\n}).describe(\"Response containing the created customs item details.\");\n\nexport const shippoCreateCustomsItem = action(\"SHIPPO_CREATE_CUSTOMS_ITEM\", {\n slug: \"shippo-create-customs-item\",\n name: \"Create Customs Item\",\n description: \"Create a new customs item for international shipments. Customs items are required for customs declarations when shipping internationally. Use this action to define the contents, value, and origin of items being shipped across international borders.\",\n input: ShippoCreateCustomsItemInput,\n output: ShippoCreateCustomsItemOutput,\n});\n"],"mappings":";;AAsCA,MAAa,0BAA0B,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":[],"sources":["../../src/actions/create-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateCustomsItemInput = z.object({\n metadata: z.string().describe(\"Custom metadata string for storing additional information about the customs item.\").optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment. Must be a positive integer.\"),\n sku_code: z.string().describe(\"Stock Keeping Unit code or product identifier for inventory tracking.\").optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight. Common values: 'lb' (pounds), 'kg' (kilograms), 'oz' (ounces), 'g' (grams).\"),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation for export control purposes.\").optional(),\n net_weight: z.string().describe(\"Net weight of the item (total weight for all units). Numeric string value.\"),\n description: z.string().describe(\"Text description of the item being shipped for customs purposes.\"),\n value_amount: z.string().describe(\"Monetary value of the item. Numeric string with up to 2 decimal places.\"),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule (HTS) code for the item. Used for customs classification.\").optional(),\n origin_country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code of the item's origin country.\"),\n value_currency: z.string().describe(\"Three-letter ISO 4217 currency code for the item value.\"),\n SHIPPO_API_VERSION: z.string().describe(\"Optional API version to use for this request. If not specified, uses the default API version.\").optional(),\n}).describe(\"Request to create a new customs item for international shipments.\");\nexport const ShippoCreateCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this customs item was created in test mode.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the customs item.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item in the shipment.\").nullable().optional(),\n sku_code: z.string().describe(\"Stock Keeping Unit code for the item.\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the customs item object.\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number or EAR99 designation.\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item.\").nullable().optional(),\n description: z.string().describe(\"Text description of the item.\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the customs item object (typically your account email).\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID').\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item.\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized Tariff Schedule code for the item.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the customs item was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the customs item was last updated.\").nullable().optional(),\n origin_country: z.string().describe(\"Country code of the item's origin.\").nullable().optional(),\n value_currency: z.string().describe(\"Currency code for the item value.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created customs item details.\");\n\nexport const shippoCreateCustomsItem = action(\"SHIPPO_CREATE_CUSTOMS_ITEM\", {\n slug: \"shippo-create-customs-item\",\n name: \"Create Customs Item\",\n description: \"Create a new customs item for international shipments. Customs items are required for customs declarations when shipping internationally. Use this action to define the contents, value, and origin of items being shipped across international borders.\",\n input: ShippoCreateCustomsItemInput,\n output: ShippoCreateCustomsItemOutput,\n});\n"],"mappings":";;AAsCA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtC0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;EACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAA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C,SAAS,CAAC,CAAC,SAAS;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const ShippoCreateLiveRateInput = zod.z.object({
10
10
  metadata: zod.z.string().nullable().optional(),
11
11
  mass_unit: zod.z.string().describe("Unit of mass measurement (lb, oz, kg, g)"),
12
12
  distance_unit: zod.z.string().describe("Unit of distance measurement (in, cm, ft, mm, m, yd)")
13
- }).describe("Parcel dimensions and weight.")])).describe("Array of parcel objects or parcel template IDs. If not provided, dimensions are calculated from line items.").optional(),
13
+ }).passthrough().describe("Parcel dimensions and weight.")])).describe("Array of parcel objects or parcel template IDs. If not provided, dimensions are calculated from line items.").optional(),
14
14
  address_to: zod.z.union([zod.z.string(), zod.z.object({
15
15
  zip: zod.z.string().describe("Postal code or ZIP code"),
16
16
  city: zod.z.string().describe("City name"),
@@ -21,7 +21,7 @@ const ShippoCreateLiveRateInput = zod.z.object({
21
21
  country: zod.z.string().describe("Two-letter ISO country code"),
22
22
  street1: zod.z.string().describe("First street line of the address"),
23
23
  street2: zod.z.string().nullable().optional()
24
- }).describe("Full address object for live rate calculation.")]),
24
+ }).passthrough().describe("Full address object for live rate calculation.")]),
25
25
  line_items: zod.z.array(zod.z.object({
26
26
  sku: zod.z.string().describe("Stock keeping unit identifier").optional(),
27
27
  title: zod.z.string().describe("Title or name of the item being shipped"),
@@ -34,7 +34,7 @@ const ShippoCreateLiveRateInput = zod.z.object({
34
34
  variant_title: zod.z.string().describe("Variant title for the item").optional(),
35
35
  max_delivery_time: zod.z.string().describe("Maximum delivery time in ISO 8601 duration format").optional(),
36
36
  manufacture_country: zod.z.string().describe("Two-letter ISO country code where the item was manufactured").optional()
37
- }).describe("A single line item in the shipment.")).describe("Array of line item objects describing what is being shipped. At least one item is required."),
37
+ }).passthrough().describe("A single line item in the shipment.")).describe("Array of line item objects describing what is being shipped. At least one item is required."),
38
38
  address_from: zod.z.union([zod.z.string(), zod.z.object({
39
39
  zip: zod.z.string().describe("Postal code or ZIP code"),
40
40
  city: zod.z.string().describe("City name"),
@@ -45,7 +45,7 @@ const ShippoCreateLiveRateInput = zod.z.object({
45
45
  country: zod.z.string().describe("Two-letter ISO country code"),
46
46
  street1: zod.z.string().describe("First street line of the address"),
47
47
  street2: zod.z.string().nullable().optional()
48
- }).describe("Full address object for live rate calculation.")]).optional(),
48
+ }).passthrough().describe("Full address object for live rate calculation.")]).optional(),
49
49
  shippo_api_version: zod.z.string().describe("String used to pick a non-default API version to use").optional()
50
50
  }).describe("Request model for generating live shipping rates.");
51
51
  const ShippoCreateLiveRate_RateResultSchema = zod.z.object({
@@ -55,13 +55,13 @@ const ShippoCreateLiveRate_RateResultSchema = zod.z.object({
55
55
  amount_local: zod.z.string().describe("Cost in local currency if different from main currency").nullable().optional(),
56
56
  currency_local: zod.z.string().describe("Local currency code if different").nullable().optional(),
57
57
  estimated_days: zod.z.number().int().describe("Estimated number of days for delivery").nullable().optional()
58
- }).describe("A single shipping rate result.");
58
+ }).passthrough().describe("A single shipping rate result.");
59
59
  const ShippoCreateLiveRateOutput = zod.z.object({
60
60
  next: zod.z.string().describe("URL to the next page of results if pagination is available").nullable().optional(),
61
61
  count: zod.z.number().int().describe("Total number of rate results available").nullable().optional(),
62
62
  results: zod.z.array(ShippoCreateLiveRate_RateResultSchema).describe("Array of shipping rate objects from various carriers").nullable().optional(),
63
63
  previous: zod.z.string().describe("URL to the previous page of results if pagination is available").nullable().optional()
64
- }).describe("Response model containing available shipping rates.");
64
+ }).passthrough().describe("Response model containing available shipping rates.");
65
65
  const shippoCreateLiveRate = require_action.action("SHIPPO_CREATE_LIVE_RATE", {
66
66
  slug: "shippo-create-live-rate",
67
67
  name: "Create Live Rate",
@@ -1 +1 @@
1
- {"version":3,"file":"create-live-rate.cjs","names":["z","action"],"sources":["../../src/actions/create-live-rate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateLiveRateInput = z.object({\n parcel: z.array(z.union([z.string(), z.object({\n width: z.string().describe(\"Width of the parcel\"),\n height: z.string().describe(\"Height of the parcel\"),\n length: z.string().describe(\"Length of the parcel\"),\n weight: z.string().describe(\"Weight of the parcel\"),\n metadata: z.string().nullable().optional(),\n mass_unit: z.string().describe(\"Unit of mass measurement (lb, oz, kg, g)\"),\n distance_unit: z.string().describe(\"Unit of distance measurement (in, cm, ft, mm, m, yd)\"),\n}).describe(\"Parcel dimensions and weight.\")])).describe(\"Array of parcel objects or parcel template IDs. If not provided, dimensions are calculated from line items.\").optional(),\n address_to: z.union([z.string(), z.object({\n zip: z.string().describe(\"Postal code or ZIP code\"),\n city: z.string().describe(\"City name\"),\n name: z.string().describe(\"Full name of the person at this address\"),\n email: z.string().nullable().optional(),\n phone: z.string().nullable().optional(),\n state: z.string().describe(\"State or province code\"),\n country: z.string().describe(\"Two-letter ISO country code\"),\n street1: z.string().describe(\"First street line of the address\"),\n street2: z.string().nullable().optional(),\n}).describe(\"Full address object for live rate calculation.\")]),\n line_items: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit identifier\").optional(),\n title: z.string().describe(\"Title or name of the item being shipped\"),\n weight: z.string().describe(\"Weight of a single item as a string\"),\n currency: z.string().describe(\"Three-letter ISO currency code\"),\n quantity: z.number().int().describe(\"Number of items in this line\"),\n total_price: z.string().describe(\"Total price of this line item as a string\"),\n weight_unit: z.string().describe(\"Unit of weight measurement (lb, oz, kg, g)\"),\n max_ship_time: z.string().describe(\"Maximum ship time in ISO 8601 duration format\").optional(),\n variant_title: z.string().describe(\"Variant title for the item\").optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time in ISO 8601 duration format\").optional(),\n manufacture_country: z.string().describe(\"Two-letter ISO country code where the item was manufactured\").optional(),\n}).describe(\"A single line item in the shipment.\")).describe(\"Array of line item objects describing what is being shipped. At least one item is required.\"),\n address_from: z.union([z.string(), z.object({\n zip: z.string().describe(\"Postal code or ZIP code\"),\n city: z.string().describe(\"City name\"),\n name: z.string().describe(\"Full name of the person at this address\"),\n email: z.string().nullable().optional(),\n phone: z.string().nullable().optional(),\n state: z.string().describe(\"State or province code\"),\n country: z.string().describe(\"Two-letter ISO country code\"),\n street1: z.string().describe(\"First street line of the address\"),\n street2: z.string().nullable().optional(),\n}).describe(\"Full address object for live rate calculation.\")]).optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for generating live shipping rates.\");\nconst ShippoCreateLiveRate_RateResultSchema = z.object({\n title: z.string().describe(\"Name or title of the shipping service\").nullable().optional(),\n amount: z.string().describe(\"Cost of the shipping rate in the currency specified\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code for the rate\").nullable().optional(),\n amount_local: z.string().describe(\"Cost in local currency if different from main currency\").nullable().optional(),\n currency_local: z.string().describe(\"Local currency code if different\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated number of days for delivery\").nullable().optional(),\n}).describe(\"A single shipping rate result.\");\nexport const ShippoCreateLiveRateOutput = z.object({\n next: z.string().describe(\"URL to the next page of results if pagination is available\").nullable().optional(),\n count: z.number().int().describe(\"Total number of rate results available\").nullable().optional(),\n results: z.array(ShippoCreateLiveRate_RateResultSchema).describe(\"Array of shipping rate objects from various carriers\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results if pagination is available\").nullable().optional(),\n}).describe(\"Response model containing available shipping rates.\");\n\nexport const shippoCreateLiveRate = action(\"SHIPPO_CREATE_LIVE_RATE\", {\n slug: \"shippo-create-live-rate\",\n name: \"Create Live Rate\",\n description: \"Tool to generate live shipping rates from multiple carriers for a given shipment. Use when you need real-time pricing for shipping from origin to destination with specific items. Returns available rates with costs and delivery estimates.\",\n input: ShippoCreateLiveRateInput,\n output: ShippoCreateLiveRateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO;EAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC3F,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC/K,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAA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sources":["../../src/actions/create-live-rate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateLiveRateInput = z.object({\n parcel: z.array(z.union([z.string(), z.object({\n width: z.string().describe(\"Width of the parcel\"),\n height: z.string().describe(\"Height of the parcel\"),\n length: z.string().describe(\"Length of the parcel\"),\n weight: z.string().describe(\"Weight of the parcel\"),\n metadata: z.string().nullable().optional(),\n mass_unit: z.string().describe(\"Unit of mass measurement (lb, oz, kg, g)\"),\n distance_unit: z.string().describe(\"Unit of distance measurement (in, cm, ft, mm, m, yd)\"),\n}).passthrough().describe(\"Parcel dimensions and weight.\")])).describe(\"Array of parcel objects or parcel template IDs. If not provided, dimensions are calculated from line items.\").optional(),\n address_to: z.union([z.string(), z.object({\n zip: z.string().describe(\"Postal code or ZIP code\"),\n city: z.string().describe(\"City name\"),\n name: z.string().describe(\"Full name of the person at this address\"),\n email: z.string().nullable().optional(),\n phone: z.string().nullable().optional(),\n state: z.string().describe(\"State or province code\"),\n country: z.string().describe(\"Two-letter ISO country code\"),\n street1: z.string().describe(\"First street line of the address\"),\n street2: z.string().nullable().optional(),\n}).passthrough().describe(\"Full address object for live rate calculation.\")]),\n line_items: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit identifier\").optional(),\n title: z.string().describe(\"Title or name of the item being shipped\"),\n weight: z.string().describe(\"Weight of a single item as a string\"),\n currency: z.string().describe(\"Three-letter ISO currency code\"),\n quantity: z.number().int().describe(\"Number of items in this line\"),\n total_price: z.string().describe(\"Total price of this line item as a string\"),\n weight_unit: z.string().describe(\"Unit of weight measurement (lb, oz, kg, g)\"),\n max_ship_time: z.string().describe(\"Maximum ship time in ISO 8601 duration format\").optional(),\n variant_title: z.string().describe(\"Variant title for the item\").optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time in ISO 8601 duration format\").optional(),\n manufacture_country: z.string().describe(\"Two-letter ISO country code where the item was manufactured\").optional(),\n}).passthrough().describe(\"A single line item in the shipment.\")).describe(\"Array of line item objects describing what is being shipped. At least one item is required.\"),\n address_from: z.union([z.string(), z.object({\n zip: z.string().describe(\"Postal code or ZIP code\"),\n city: z.string().describe(\"City name\"),\n name: z.string().describe(\"Full name of the person at this address\"),\n email: z.string().nullable().optional(),\n phone: z.string().nullable().optional(),\n state: z.string().describe(\"State or province code\"),\n country: z.string().describe(\"Two-letter ISO country code\"),\n street1: z.string().describe(\"First street line of the address\"),\n street2: z.string().nullable().optional(),\n}).passthrough().describe(\"Full address object for live rate calculation.\")]).optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for generating live shipping rates.\");\nconst ShippoCreateLiveRate_RateResultSchema = z.object({\n title: z.string().describe(\"Name or title of the shipping service\").nullable().optional(),\n amount: z.string().describe(\"Cost of the shipping rate in the currency specified\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code for the rate\").nullable().optional(),\n amount_local: z.string().describe(\"Cost in local currency if different from main currency\").nullable().optional(),\n currency_local: z.string().describe(\"Local currency code if different\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated number of days for delivery\").nullable().optional(),\n}).passthrough().describe(\"A single shipping rate result.\");\nexport const ShippoCreateLiveRateOutput = z.object({\n next: z.string().describe(\"URL to the next page of results if pagination is available\").nullable().optional(),\n count: z.number().int().describe(\"Total number of rate results available\").nullable().optional(),\n results: z.array(ShippoCreateLiveRate_RateResultSchema).describe(\"Array of shipping rate objects from various carriers\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results if pagination is available\").nullable().optional(),\n}).passthrough().describe(\"Response model containing available shipping rates.\");\n\nexport const shippoCreateLiveRate = action(\"SHIPPO_CREATE_LIVE_RATE\", {\n slug: \"shippo-create-live-rate\",\n name: \"Create Live Rate\",\n description: \"Tool to generate live shipping rates from multiple carriers for a given shipment. Use when you need real-time pricing for shipping from origin to destination with specific items. Returns available rates with costs and delivery estimates.\",\n input: ShippoCreateLiveRateInput,\n output: ShippoCreateL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,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
10
10
  metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  mass_unit: z.ZodString;
12
12
  distance_unit: z.ZodString;
13
- }, z.core.$strip>]>>>;
13
+ }, z.core.$loose>]>>>;
14
14
  address_to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
15
15
  zip: z.ZodString;
16
16
  city: z.ZodString;
@@ -21,7 +21,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
21
21
  country: z.ZodString;
22
22
  street1: z.ZodString;
23
23
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>]>;
24
+ }, z.core.$loose>]>;
25
25
  line_items: z.ZodArray<z.ZodObject<{
26
26
  sku: z.ZodOptional<z.ZodString>;
27
27
  title: z.ZodString;
@@ -34,7 +34,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
34
34
  variant_title: z.ZodOptional<z.ZodString>;
35
35
  max_delivery_time: z.ZodOptional<z.ZodString>;
36
36
  manufacture_country: z.ZodOptional<z.ZodString>;
37
- }, z.core.$strip>>;
37
+ }, z.core.$loose>>;
38
38
  address_from: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39
39
  zip: z.ZodString;
40
40
  city: z.ZodString;
@@ -45,7 +45,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
45
45
  country: z.ZodString;
46
46
  street1: z.ZodString;
47
47
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>]>>;
48
+ }, z.core.$loose>]>>;
49
49
  shippo_api_version: z.ZodOptional<z.ZodString>;
50
50
  }, z.core.$strip>;
51
51
  declare const ShippoCreateLiveRateOutput: z.ZodObject<{
@@ -58,11 +58,12 @@ declare const ShippoCreateLiveRateOutput: z.ZodObject<{
58
58
  amount_local: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  currency_local: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  estimated_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
- }, z.core.$strip>>>>;
61
+ }, z.core.$loose>>>>;
62
62
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- }, z.core.$strip>;
63
+ }, z.core.$loose>;
64
64
  declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowActionDefinition<{
65
65
  address_to: string | {
66
+ [x: string]: unknown;
66
67
  zip: string;
67
68
  city: string;
68
69
  name: string;
@@ -74,6 +75,7 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
74
75
  street2?: string | null | undefined;
75
76
  };
76
77
  line_items: {
78
+ [x: string]: unknown;
77
79
  title: string;
78
80
  weight: string;
79
81
  currency: string;
@@ -87,6 +89,7 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
87
89
  manufacture_country?: string | undefined;
88
90
  }[];
89
91
  parcel?: (string | {
92
+ [x: string]: unknown;
90
93
  width: string;
91
94
  height: string;
92
95
  length: string;
@@ -96,6 +99,7 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
96
99
  metadata?: string | null | undefined;
97
100
  })[] | undefined;
98
101
  address_from?: string | {
102
+ [x: string]: unknown;
99
103
  zip: string;
100
104
  city: string;
101
105
  name: string;
@@ -107,7 +111,19 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
107
111
  street2?: string | null | undefined;
108
112
  } | undefined;
109
113
  shippo_api_version?: string | undefined;
110
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
114
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
115
+ connectionId: z.ZodString;
116
+ entityId: z.ZodString;
117
+ instanceId: z.ZodString;
118
+ }, z.core.$strip>, z.ZodObject<{
119
+ accessToken: z.ZodString;
120
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
121
+ connectionId: z.ZodString;
122
+ entityId: z.ZodString;
123
+ instanceId: z.ZodString;
124
+ }, z.core.$strip>, z.ZodObject<{
125
+ accessToken: z.ZodString;
126
+ }, z.core.$strip>>]>;
111
127
  //#endregion
112
128
  export { shippoCreateLiveRate };
113
129
  //# sourceMappingURL=create-live-rate.d.cts.map
@@ -10,7 +10,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
10
10
  metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  mass_unit: z.ZodString;
12
12
  distance_unit: z.ZodString;
13
- }, z.core.$strip>]>>>;
13
+ }, z.core.$loose>]>>>;
14
14
  address_to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
15
15
  zip: z.ZodString;
16
16
  city: z.ZodString;
@@ -21,7 +21,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
21
21
  country: z.ZodString;
22
22
  street1: z.ZodString;
23
23
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>]>;
24
+ }, z.core.$loose>]>;
25
25
  line_items: z.ZodArray<z.ZodObject<{
26
26
  sku: z.ZodOptional<z.ZodString>;
27
27
  title: z.ZodString;
@@ -34,7 +34,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
34
34
  variant_title: z.ZodOptional<z.ZodString>;
35
35
  max_delivery_time: z.ZodOptional<z.ZodString>;
36
36
  manufacture_country: z.ZodOptional<z.ZodString>;
37
- }, z.core.$strip>>;
37
+ }, z.core.$loose>>;
38
38
  address_from: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39
39
  zip: z.ZodString;
40
40
  city: z.ZodString;
@@ -45,7 +45,7 @@ declare const ShippoCreateLiveRateInput: z.ZodObject<{
45
45
  country: z.ZodString;
46
46
  street1: z.ZodString;
47
47
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>]>>;
48
+ }, z.core.$loose>]>>;
49
49
  shippo_api_version: z.ZodOptional<z.ZodString>;
50
50
  }, z.core.$strip>;
51
51
  declare const ShippoCreateLiveRateOutput: z.ZodObject<{
@@ -58,11 +58,12 @@ declare const ShippoCreateLiveRateOutput: z.ZodObject<{
58
58
  amount_local: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  currency_local: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  estimated_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
- }, z.core.$strip>>>>;
61
+ }, z.core.$loose>>>>;
62
62
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- }, z.core.$strip>;
63
+ }, z.core.$loose>;
64
64
  declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowActionDefinition<{
65
65
  address_to: string | {
66
+ [x: string]: unknown;
66
67
  zip: string;
67
68
  city: string;
68
69
  name: string;
@@ -74,6 +75,7 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
74
75
  street2?: string | null | undefined;
75
76
  };
76
77
  line_items: {
78
+ [x: string]: unknown;
77
79
  title: string;
78
80
  weight: string;
79
81
  currency: string;
@@ -87,6 +89,7 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
87
89
  manufacture_country?: string | undefined;
88
90
  }[];
89
91
  parcel?: (string | {
92
+ [x: string]: unknown;
90
93
  width: string;
91
94
  height: string;
92
95
  length: string;
@@ -96,6 +99,7 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
96
99
  metadata?: string | null | undefined;
97
100
  })[] | undefined;
98
101
  address_from?: string | {
102
+ [x: string]: unknown;
99
103
  zip: string;
100
104
  city: string;
101
105
  name: string;
@@ -107,7 +111,19 @@ declare const shippoCreateLiveRate: import("@keystrokehq/action").WorkflowAction
107
111
  street2?: string | null | undefined;
108
112
  } | undefined;
109
113
  shippo_api_version?: string | undefined;
110
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
114
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
115
+ connectionId: z.ZodString;
116
+ entityId: z.ZodString;
117
+ instanceId: z.ZodString;
118
+ }, z.core.$strip>, z.ZodObject<{
119
+ accessToken: z.ZodString;
120
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
121
+ connectionId: z.ZodString;
122
+ entityId: z.ZodString;
123
+ instanceId: z.ZodString;
124
+ }, z.core.$strip>, z.ZodObject<{
125
+ accessToken: z.ZodString;
126
+ }, z.core.$strip>>]>;
111
127
  //#endregion
112
128
  export { shippoCreateLiveRate };
113
129
  //# sourceMappingURL=create-live-rate.d.mts.map