@shippo/shippo-mcp 2.0.8 → 2.0.18

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 (318) hide show
  1. package/README.md +1 -1
  2. package/bin/mcp-server.js +693 -522
  3. package/bin/mcp-server.js.map +41 -39
  4. package/esm/funcs/ordersGetPackingSlip.d.ts +16 -0
  5. package/esm/funcs/ordersGetPackingSlip.d.ts.map +1 -0
  6. package/esm/funcs/ordersGetPackingSlip.js +90 -0
  7. package/esm/funcs/ordersGetPackingSlip.js.map +1 -0
  8. package/esm/lib/config.d.ts +3 -3
  9. package/esm/lib/config.js +3 -3
  10. package/esm/lib/config.js.map +1 -1
  11. package/esm/mcp-server/mcp-server.js +1 -1
  12. package/esm/mcp-server/mcp-server.js.map +1 -1
  13. package/esm/mcp-server/server.d.ts.map +1 -1
  14. package/esm/mcp-server/server.js +3 -1
  15. package/esm/mcp-server/server.js.map +1 -1
  16. package/esm/mcp-server/tools/ordersGetPackingSlip.d.ts +7 -0
  17. package/esm/mcp-server/tools/ordersGetPackingSlip.d.ts.map +1 -0
  18. package/esm/mcp-server/tools/ordersGetPackingSlip.js +66 -0
  19. package/esm/mcp-server/tools/ordersGetPackingSlip.js.map +1 -0
  20. package/esm/models/addressvalidationresults.d.ts.map +1 -1
  21. package/esm/models/addressvalidationresults.js +1 -2
  22. package/esm/models/addressvalidationresults.js.map +1 -1
  23. package/esm/models/batch.d.ts.map +1 -1
  24. package/esm/models/batch.js +1 -5
  25. package/esm/models/batch.js.map +1 -1
  26. package/esm/models/batchshipment.d.ts.map +1 -1
  27. package/esm/models/batchshipment.js +1 -4
  28. package/esm/models/batchshipment.js.map +1 -1
  29. package/esm/models/batchshipmentpaginatedlist.d.ts.map +1 -1
  30. package/esm/models/batchshipmentpaginatedlist.js +1 -2
  31. package/esm/models/batchshipmentpaginatedlist.js.map +1 -1
  32. package/esm/models/carriersenum.d.ts +3 -3
  33. package/esm/models/carriersenum.d.ts.map +1 -1
  34. package/esm/models/carriersenum.js +1 -62
  35. package/esm/models/carriersenum.js.map +1 -1
  36. package/esm/models/cod.d.ts.map +1 -1
  37. package/esm/models/cod.js +1 -3
  38. package/esm/models/cod.js.map +1 -1
  39. package/esm/models/customsdeclarationb13afilingoptionenum.d.ts.map +1 -1
  40. package/esm/models/customsdeclarationb13afilingoptionenum.js +1 -3
  41. package/esm/models/customsdeclarationb13afilingoptionenum.js.map +1 -1
  42. package/esm/models/customsdeclarationcontentstypeenum.d.ts.map +1 -1
  43. package/esm/models/customsdeclarationcontentstypeenum.js +1 -2
  44. package/esm/models/customsdeclarationcontentstypeenum.js.map +1 -1
  45. package/esm/models/customsdeclarationeelpfcenum.d.ts.map +1 -1
  46. package/esm/models/customsdeclarationeelpfcenum.js +1 -3
  47. package/esm/models/customsdeclarationeelpfcenum.js.map +1 -1
  48. package/esm/models/customsdeclarationincotermenum.d.ts.map +1 -1
  49. package/esm/models/customsdeclarationincotermenum.js +1 -4
  50. package/esm/models/customsdeclarationincotermenum.js.map +1 -1
  51. package/esm/models/customsdeclarationnondeliveryoptionenum.d.ts.map +1 -1
  52. package/esm/models/customsdeclarationnondeliveryoptionenum.js +1 -2
  53. package/esm/models/customsdeclarationnondeliveryoptionenum.js.map +1 -1
  54. package/esm/models/customstaxidentification.d.ts.map +1 -1
  55. package/esm/models/customstaxidentification.js +1 -2
  56. package/esm/models/customstaxidentification.js.map +1 -1
  57. package/esm/models/dangerousgoodsobject.d.ts.map +1 -1
  58. package/esm/models/dangerousgoodsobject.js +1 -3
  59. package/esm/models/dangerousgoodsobject.js.map +1 -1
  60. package/esm/models/fedexconnectexistingownaccountparameters.d.ts.map +1 -1
  61. package/esm/models/fedexconnectexistingownaccountparameters.js +1 -8
  62. package/esm/models/fedexconnectexistingownaccountparameters.js.map +1 -1
  63. package/esm/models/getorderpackingslipop.d.ts +28 -0
  64. package/esm/models/getorderpackingslipop.d.ts.map +1 -0
  65. package/esm/models/getorderpackingslipop.js +24 -0
  66. package/esm/models/getorderpackingslipop.js.map +1 -0
  67. package/esm/models/insurance.d.ts.map +1 -1
  68. package/esm/models/insurance.js +1 -4
  69. package/esm/models/insurance.js.map +1 -1
  70. package/esm/models/labelfiletypeenum.d.ts.map +1 -1
  71. package/esm/models/labelfiletypeenum.js +1 -2
  72. package/esm/models/labelfiletypeenum.js.map +1 -1
  73. package/esm/models/listordersop.d.ts.map +1 -1
  74. package/esm/models/listordersop.js +2 -4
  75. package/esm/models/listordersop.js.map +1 -1
  76. package/esm/models/liveratecreaterequest.d.ts.map +1 -1
  77. package/esm/models/liveratecreaterequest.js +2 -6
  78. package/esm/models/liveratecreaterequest.js.map +1 -1
  79. package/esm/models/location.d.ts.map +1 -1
  80. package/esm/models/location.js +1 -2
  81. package/esm/models/location.js.map +1 -1
  82. package/esm/models/ordershopappenum.d.ts.map +1 -1
  83. package/esm/models/ordershopappenum.js +1 -2
  84. package/esm/models/ordershopappenum.js.map +1 -1
  85. package/esm/models/orderstatusenum.d.ts.map +1 -1
  86. package/esm/models/orderstatusenum.js +1 -2
  87. package/esm/models/orderstatusenum.js.map +1 -1
  88. package/esm/models/parcel.d.ts +16 -2
  89. package/esm/models/parcel.d.ts.map +1 -1
  90. package/esm/models/parcel.js +10 -2
  91. package/esm/models/parcel.js.map +1 -1
  92. package/esm/models/parcelcreatefromtemplaterequest.d.ts +16 -2
  93. package/esm/models/parcelcreatefromtemplaterequest.d.ts.map +1 -1
  94. package/esm/models/parcelcreatefromtemplaterequest.js +10 -2
  95. package/esm/models/parcelcreatefromtemplaterequest.js.map +1 -1
  96. package/esm/models/parcelextra.d.ts.map +1 -1
  97. package/esm/models/parcelextra.js +1 -2
  98. package/esm/models/parcelextra.js.map +1 -1
  99. package/esm/models/parceltemplateenumset.d.ts.map +1 -1
  100. package/esm/models/parceltemplateenumset.js +6 -86
  101. package/esm/models/parceltemplateenumset.js.map +1 -1
  102. package/esm/models/parseaddressop.d.ts.map +1 -1
  103. package/esm/models/parseaddressop.js +1 -3
  104. package/esm/models/parseaddressop.js.map +1 -1
  105. package/esm/models/responsemessage.d.ts.map +1 -1
  106. package/esm/models/responsemessage.js +1 -2
  107. package/esm/models/responsemessage.js.map +1 -1
  108. package/esm/models/servicegrouptypeenum.d.ts.map +1 -1
  109. package/esm/models/servicegrouptypeenum.js +1 -4
  110. package/esm/models/servicegrouptypeenum.js.map +1 -1
  111. package/esm/models/servicelevelairterraenum.d.ts.map +1 -1
  112. package/esm/models/servicelevelairterraenum.js +1 -5
  113. package/esm/models/servicelevelairterraenum.js.map +1 -1
  114. package/esm/models/servicelevelapcpostalenum.d.ts.map +1 -1
  115. package/esm/models/servicelevelapcpostalenum.js +1 -12
  116. package/esm/models/servicelevelapcpostalenum.js.map +1 -1
  117. package/esm/models/servicelevelapgenum.d.ts.map +1 -1
  118. package/esm/models/servicelevelapgenum.js +1 -7
  119. package/esm/models/servicelevelapgenum.js.map +1 -1
  120. package/esm/models/servicelevelaramexaustraliaenum.d.ts.map +1 -1
  121. package/esm/models/servicelevelaramexaustraliaenum.js +1 -8
  122. package/esm/models/servicelevelaramexaustraliaenum.js.map +1 -1
  123. package/esm/models/servicelevelasendiaenum.d.ts.map +1 -1
  124. package/esm/models/servicelevelasendiaenum.js +1 -11
  125. package/esm/models/servicelevelasendiaenum.js.map +1 -1
  126. package/esm/models/servicelevelaustraliapostenum.d.ts.map +1 -1
  127. package/esm/models/servicelevelaustraliapostenum.js +1 -13
  128. package/esm/models/servicelevelaustraliapostenum.js.map +1 -1
  129. package/esm/models/servicelevelbettertrucksenum.d.ts.map +1 -1
  130. package/esm/models/servicelevelbettertrucksenum.js +1 -5
  131. package/esm/models/servicelevelbettertrucksenum.js.map +1 -1
  132. package/esm/models/servicelevelcanadapostenum.d.ts.map +1 -1
  133. package/esm/models/servicelevelcanadapostenum.js +1 -17
  134. package/esm/models/servicelevelcanadapostenum.js.map +1 -1
  135. package/esm/models/servicelevelcdlenum.d.ts.map +1 -1
  136. package/esm/models/servicelevelcdlenum.js +1 -4
  137. package/esm/models/servicelevelcdlenum.js.map +1 -1
  138. package/esm/models/servicelevelchronopostenum.d.ts.map +1 -1
  139. package/esm/models/servicelevelchronopostenum.js +1 -9
  140. package/esm/models/servicelevelchronopostenum.js.map +1 -1
  141. package/esm/models/servicelevelcolissimoenum.d.ts.map +1 -1
  142. package/esm/models/servicelevelcolissimoenum.js +1 -6
  143. package/esm/models/servicelevelcolissimoenum.js.map +1 -1
  144. package/esm/models/servicelevelcorreosespanaenum.d.ts.map +1 -1
  145. package/esm/models/servicelevelcorreosespanaenum.js +1 -5
  146. package/esm/models/servicelevelcorreosespanaenum.js.map +1 -1
  147. package/esm/models/serviceleveldeutschepostenum.d.ts.map +1 -1
  148. package/esm/models/serviceleveldeutschepostenum.js +1 -13
  149. package/esm/models/serviceleveldeutschepostenum.js.map +1 -1
  150. package/esm/models/serviceleveldhlecommerceenum.d.ts.map +1 -1
  151. package/esm/models/serviceleveldhlecommerceenum.js +1 -31
  152. package/esm/models/serviceleveldhlecommerceenum.js.map +1 -1
  153. package/esm/models/serviceleveldhlexpressenum.d.ts.map +1 -1
  154. package/esm/models/serviceleveldhlexpressenum.js +1 -25
  155. package/esm/models/serviceleveldhlexpressenum.js.map +1 -1
  156. package/esm/models/serviceleveldhlgermanyenum.d.ts.map +1 -1
  157. package/esm/models/serviceleveldhlgermanyenum.js +1 -9
  158. package/esm/models/serviceleveldhlgermanyenum.js.map +1 -1
  159. package/esm/models/serviceleveldpddeenum.d.ts.map +1 -1
  160. package/esm/models/serviceleveldpddeenum.js +1 -4
  161. package/esm/models/serviceleveldpddeenum.js.map +1 -1
  162. package/esm/models/serviceleveldpdukenum.d.ts.map +1 -1
  163. package/esm/models/serviceleveldpdukenum.js +1 -20
  164. package/esm/models/serviceleveldpdukenum.js.map +1 -1
  165. package/esm/models/servicelevelepostglobalenum.d.ts.map +1 -1
  166. package/esm/models/servicelevelepostglobalenum.js +1 -16
  167. package/esm/models/servicelevelepostglobalenum.js.map +1 -1
  168. package/esm/models/servicelevelevriukenum.d.ts.map +1 -1
  169. package/esm/models/servicelevelevriukenum.js +1 -8
  170. package/esm/models/servicelevelevriukenum.js.map +1 -1
  171. package/esm/models/servicelevelfedexenum.d.ts.map +1 -1
  172. package/esm/models/servicelevelfedexenum.js +1 -27
  173. package/esm/models/servicelevelfedexenum.js.map +1 -1
  174. package/esm/models/servicelevelglobegisticsenum.d.ts.map +1 -1
  175. package/esm/models/servicelevelglobegisticsenum.js +1 -15
  176. package/esm/models/servicelevelglobegisticsenum.js.map +1 -1
  177. package/esm/models/servicelevelglsusenum.d.ts.map +1 -1
  178. package/esm/models/servicelevelglsusenum.js +1 -9
  179. package/esm/models/servicelevelglsusenum.js.map +1 -1
  180. package/esm/models/serviceleveljitsuenum.d.ts.map +1 -1
  181. package/esm/models/serviceleveljitsuenum.js +1 -5
  182. package/esm/models/serviceleveljitsuenum.js.map +1 -1
  183. package/esm/models/servicelevellasershipenum.d.ts.map +1 -1
  184. package/esm/models/servicelevellasershipenum.js +1 -4
  185. package/esm/models/servicelevellasershipenum.js.map +1 -1
  186. package/esm/models/servicelevellsoenum.d.ts.map +1 -1
  187. package/esm/models/servicelevellsoenum.js +1 -9
  188. package/esm/models/servicelevellsoenum.js.map +1 -1
  189. package/esm/models/servicelevelmondialrelayenum.d.ts.map +1 -1
  190. package/esm/models/servicelevelmondialrelayenum.js +1 -4
  191. package/esm/models/servicelevelmondialrelayenum.js.map +1 -1
  192. package/esm/models/servicelevelontracenum.d.ts.map +1 -1
  193. package/esm/models/servicelevelontracenum.js +1 -6
  194. package/esm/models/servicelevelontracenum.js.map +1 -1
  195. package/esm/models/servicelevelparcelforceenum.d.ts.map +1 -1
  196. package/esm/models/servicelevelparcelforceenum.js +1 -6
  197. package/esm/models/servicelevelparcelforceenum.js.map +1 -1
  198. package/esm/models/servicelevelpostitalianeenum.d.ts.map +1 -1
  199. package/esm/models/servicelevelpostitalianeenum.js +1 -4
  200. package/esm/models/servicelevelpostitalianeenum.js.map +1 -1
  201. package/esm/models/servicelevelpurolatorenum.d.ts.map +1 -1
  202. package/esm/models/servicelevelpurolatorenum.js +1 -21
  203. package/esm/models/servicelevelpurolatorenum.js.map +1 -1
  204. package/esm/models/servicelevelroyalmailenum.d.ts.map +1 -1
  205. package/esm/models/servicelevelroyalmailenum.js +1 -23
  206. package/esm/models/servicelevelroyalmailenum.js.map +1 -1
  207. package/esm/models/servicelevelsendleenum.d.ts.map +1 -1
  208. package/esm/models/servicelevelsendleenum.js +1 -5
  209. package/esm/models/servicelevelsendleenum.js.map +1 -1
  210. package/esm/models/servicelevelswyftenum.d.ts.map +1 -1
  211. package/esm/models/servicelevelswyftenum.js +1 -5
  212. package/esm/models/servicelevelswyftenum.js.map +1 -1
  213. package/esm/models/serviceleveludsenum.d.ts.map +1 -1
  214. package/esm/models/serviceleveludsenum.js +1 -4
  215. package/esm/models/serviceleveludsenum.js.map +1 -1
  216. package/esm/models/servicelevelupsenum.d.ts.map +1 -1
  217. package/esm/models/servicelevelupsenum.js +1 -28
  218. package/esm/models/servicelevelupsenum.js.map +1 -1
  219. package/esm/models/serviceleveluspsenum.d.ts.map +1 -1
  220. package/esm/models/serviceleveluspsenum.js +1 -10
  221. package/esm/models/serviceleveluspsenum.js.map +1 -1
  222. package/esm/models/servicelevelvehoenum.d.ts.map +1 -1
  223. package/esm/models/servicelevelvehoenum.js +1 -5
  224. package/esm/models/servicelevelvehoenum.js.map +1 -1
  225. package/esm/models/servicelevelwithparent.d.ts.map +1 -1
  226. package/esm/models/servicelevelwithparent.js +1 -4
  227. package/esm/models/servicelevelwithparent.js.map +1 -1
  228. package/esm/models/shipment.d.ts.map +1 -1
  229. package/esm/models/shipment.js +1 -4
  230. package/esm/models/shipment.js.map +1 -1
  231. package/esm/models/shipmentextra.d.ts.map +1 -1
  232. package/esm/models/shipmentextra.js +1 -2
  233. package/esm/models/shipmentextra.js.map +1 -1
  234. package/esm/models/transaction.d.ts.map +1 -1
  235. package/esm/models/transaction.js +2 -8
  236. package/esm/models/transaction.js.map +1 -1
  237. package/esm/models/upsconnectexistingownaccountparameters.d.ts.map +1 -1
  238. package/esm/models/upsconnectexistingownaccountparameters.js +1 -10
  239. package/esm/models/upsconnectexistingownaccountparameters.js.map +1 -1
  240. package/manifest.json +5 -1
  241. package/package.json +1 -1
  242. package/src/funcs/ordersGetPackingSlip.ts +176 -0
  243. package/src/lib/config.ts +3 -3
  244. package/src/mcp-server/mcp-server.ts +1 -1
  245. package/src/mcp-server/server.ts +3 -1
  246. package/src/mcp-server/tools/ordersGetPackingSlip.ts +76 -0
  247. package/src/models/addressvalidationresults.ts +1 -2
  248. package/src/models/batch.ts +1 -5
  249. package/src/models/batchshipment.ts +1 -4
  250. package/src/models/batchshipmentpaginatedlist.ts +1 -2
  251. package/src/models/carriersenum.ts +1 -62
  252. package/src/models/cod.ts +1 -3
  253. package/src/models/customsdeclarationb13afilingoptionenum.ts +1 -3
  254. package/src/models/customsdeclarationcontentstypeenum.ts +1 -2
  255. package/src/models/customsdeclarationeelpfcenum.ts +1 -3
  256. package/src/models/customsdeclarationincotermenum.ts +1 -4
  257. package/src/models/customsdeclarationnondeliveryoptionenum.ts +1 -2
  258. package/src/models/customstaxidentification.ts +1 -2
  259. package/src/models/dangerousgoodsobject.ts +1 -3
  260. package/src/models/fedexconnectexistingownaccountparameters.ts +1 -8
  261. package/src/models/getorderpackingslipop.ts +61 -0
  262. package/src/models/insurance.ts +1 -4
  263. package/src/models/labelfiletypeenum.ts +1 -2
  264. package/src/models/listordersop.ts +2 -4
  265. package/src/models/liveratecreaterequest.ts +2 -6
  266. package/src/models/location.ts +1 -2
  267. package/src/models/ordershopappenum.ts +1 -2
  268. package/src/models/orderstatusenum.ts +1 -2
  269. package/src/models/parcel.ts +30 -3
  270. package/src/models/parcelcreatefromtemplaterequest.ts +32 -3
  271. package/src/models/parceltemplateenumset.ts +6 -86
  272. package/src/models/parseaddressop.ts +1 -3
  273. package/src/models/responsemessage.ts +1 -2
  274. package/src/models/servicegrouptypeenum.ts +1 -4
  275. package/src/models/servicelevelairterraenum.ts +1 -5
  276. package/src/models/servicelevelapcpostalenum.ts +1 -12
  277. package/src/models/servicelevelapgenum.ts +1 -7
  278. package/src/models/servicelevelaramexaustraliaenum.ts +1 -8
  279. package/src/models/servicelevelasendiaenum.ts +1 -11
  280. package/src/models/servicelevelaustraliapostenum.ts +1 -13
  281. package/src/models/servicelevelbettertrucksenum.ts +1 -5
  282. package/src/models/servicelevelcanadapostenum.ts +1 -17
  283. package/src/models/servicelevelcdlenum.ts +1 -4
  284. package/src/models/servicelevelchronopostenum.ts +1 -9
  285. package/src/models/servicelevelcolissimoenum.ts +1 -6
  286. package/src/models/servicelevelcorreosespanaenum.ts +1 -5
  287. package/src/models/serviceleveldeutschepostenum.ts +1 -13
  288. package/src/models/serviceleveldhlecommerceenum.ts +1 -31
  289. package/src/models/serviceleveldhlexpressenum.ts +1 -25
  290. package/src/models/serviceleveldhlgermanyenum.ts +1 -9
  291. package/src/models/serviceleveldpddeenum.ts +1 -4
  292. package/src/models/serviceleveldpdukenum.ts +1 -20
  293. package/src/models/servicelevelepostglobalenum.ts +1 -16
  294. package/src/models/servicelevelevriukenum.ts +1 -8
  295. package/src/models/servicelevelfedexenum.ts +1 -27
  296. package/src/models/servicelevelglobegisticsenum.ts +1 -15
  297. package/src/models/servicelevelglsusenum.ts +1 -9
  298. package/src/models/serviceleveljitsuenum.ts +1 -5
  299. package/src/models/servicelevellasershipenum.ts +1 -4
  300. package/src/models/servicelevellsoenum.ts +1 -9
  301. package/src/models/servicelevelmondialrelayenum.ts +1 -4
  302. package/src/models/servicelevelontracenum.ts +1 -6
  303. package/src/models/servicelevelparcelforceenum.ts +1 -6
  304. package/src/models/servicelevelpostitalianeenum.ts +1 -4
  305. package/src/models/servicelevelpurolatorenum.ts +1 -21
  306. package/src/models/servicelevelroyalmailenum.ts +1 -23
  307. package/src/models/servicelevelsendleenum.ts +1 -5
  308. package/src/models/servicelevelswyftenum.ts +1 -5
  309. package/src/models/serviceleveludsenum.ts +1 -4
  310. package/src/models/servicelevelupsenum.ts +1 -28
  311. package/src/models/serviceleveluspsenum.ts +1 -10
  312. package/src/models/servicelevelvehoenum.ts +1 -5
  313. package/src/models/servicelevelwithparent.ts +1 -4
  314. package/src/models/shipment.ts +1 -4
  315. package/src/models/shipmentextra.ts +1 -2
  316. package/src/models/transaction.ts +2 -8
  317. package/src/models/upsconnectexistingownaccountparameters.ts +1 -10
  318. package/src/models/parcelextra.ts +0 -33
package/bin/mcp-server.js CHANGED
@@ -52897,9 +52897,9 @@ var init_config = __esm(() => {
52897
52897
  SDK_METADATA = {
52898
52898
  language: "typescript",
52899
52899
  openapiDocVersion: "2018-02-08",
52900
- sdkVersion: "2.0.8",
52901
- genVersion: "2.788.5",
52902
- userAgent: "speakeasy-sdk/mcp-typescript 2.0.8 2.788.5 2018-02-08 @shippo/shippo-mcp"
52900
+ sdkVersion: "2.0.18",
52901
+ genVersion: "2.791.1",
52902
+ userAgent: "speakeasy-sdk/mcp-typescript 2.0.18 2.791.1 2018-02-08 @shippo/shippo-mcp"
52903
52903
  };
52904
52904
  });
52905
52905
 
@@ -54259,7 +54259,7 @@ var init_addressvalidationresults = __esm(() => {
54259
54259
  is_valid: boolean2().optional(),
54260
54260
  messages: array(AddressValidationResultsMessage$zodSchema).optional()
54261
54261
  }).describe(`Object that contains information regarding if an address had been validated or not. Also contains any messages
54262
- ` + "generated during validation. Children keys are <code>is_valid</code>(boolean) and <code>messages</code>(array).");
54262
+ generated during validation. Children keys are <code>is_valid</code>(boolean) and <code>messages</code>(array).`);
54263
54263
  });
54264
54264
 
54265
54265
  // src/models/address.ts
@@ -55050,8 +55050,8 @@ var init_parseaddressop = __esm(() => {
55050
55050
  });
55051
55051
  ParseAddressRequest$zodSchema = object({
55052
55052
  address: string2().describe(`The address string to parse. Can include street address, city, state, postal code,
55053
- ` + `country, phone number, and email address.
55054
- ` + "")
55053
+ country, phone number, and email address.
55054
+ `)
55055
55055
  });
55056
55056
  ParseAddressResponse$zodSchema = object({
55057
55057
  BadRequest: BadRequest$zodSchema.optional(),
@@ -55805,7 +55805,7 @@ var init_batchshipment = __esm(() => {
55805
55805
  "VALID",
55806
55806
  "INCOMPLETE",
55807
55807
  "TRANSACTION_FAILED"
55808
- ]).describe("`INVALID` batch shipments cannot be purchased and will have to be removed, fixed, and added to the batch again.<br>\n" + "`VALID` batch shipments can be purchased. <br>\n" + "Batch shipments with the status `TRANSACTION_FAILED` were not able to be purchased and the error will be displayed on the message field<br> \n" + "`INCOMPLETE` batch shipments have an issue with the Address and will need to be removed, fixed, and added to the batch again.");
55808
+ ]).describe("`INVALID` batch shipments cannot be purchased and will have to be removed, fixed, and added to the batch again.<br>\n`VALID` batch shipments can be purchased. <br>\nBatch shipments with the status `TRANSACTION_FAILED` were not able to be purchased and the error will be displayed on the message field<br> \n`INCOMPLETE` batch shipments have an issue with the Address and will need to be removed, fixed, and added to the batch again.");
55809
55809
  BatchShipment$zodSchema = object({
55810
55810
  carrier_account: string2().nullable().optional(),
55811
55811
  messages: array(any()).optional(),
@@ -55828,7 +55828,7 @@ var init_batchshipmentpaginatedlist = __esm(() => {
55828
55828
  previous: string2().nullable().optional(),
55829
55829
  results: array(BatchShipment$zodSchema).optional()
55830
55830
  }).describe(`Array of <a href="#section/Batch-Shipment">BatchShipment</a> objects.
55831
- ` + "The response keeps the same order as in the request array.");
55831
+ The response keeps the same order as in the request array.`);
55832
55832
  });
55833
55833
 
55834
55834
  // src/models/labelfiletypeenum.ts
@@ -55847,7 +55847,7 @@ var init_labelfiletypeenum = __esm(() => {
55847
55847
  "PDF_A6",
55848
55848
  "ZPLII"
55849
55849
  ]).describe(`Print format of the <a href="https://docs.goshippo.com/docs/shipments/shippinglabelsizes/">label</a>. If empty, will use the default format set from
55850
- ` + '<a href="https://apps.goshippo.com/settings/labels">the Shippo dashboard.</a>');
55850
+ <a href="https://apps.goshippo.com/settings/labels">the Shippo dashboard.</a>`);
55851
55851
  });
55852
55852
 
55853
55853
  // src/models/batch.ts
@@ -55868,7 +55868,7 @@ var init_batch = __esm(() => {
55868
55868
  "INVALID",
55869
55869
  "PURCHASING",
55870
55870
  "PURCHASED"
55871
- ]).describe("Batches that are `VALIDATING` are being created and validated<br>\n" + "`VALID` batches can be purchased<br>\n" + "`INVALID` batches cannot be purchased, `INVALID` BatchShipments must be removed<br>\n" + "Batches that are in the `PURCHASING` state are being purchased<br>\n" + "`PURCHASED` batches are finished purchasing.");
55871
+ ]).describe("Batches that are `VALIDATING` are being created and validated<br>\n`VALID` batches can be purchased<br>\n`INVALID` batches cannot be purchased, `INVALID` BatchShipments must be removed<br>\nBatches that are in the `PURCHASING` state are being purchased<br>\n`PURCHASED` batches are finished purchasing.");
55872
55872
  Batch$zodSchema = object({
55873
55873
  batch_shipments: BatchShipmentPaginatedList$zodSchema,
55874
55874
  default_carrier_account: string2(),
@@ -55916,8 +55916,8 @@ var init_customsdeclarationb13afilingoptionenum = __esm(() => {
55916
55916
  "SUMMARY_REPORTING",
55917
55917
  "NOT_REQUIRED"
55918
55918
  ]).describe(`B13A Option details are obtained by filing a B13A Canada Export Declaration via the Canadian Export Reporting System (CERS).
55919
- ` + `<a href="https://www.cbsa-asfc.gc.ca/services/export/guide-eng.html" target="_blank" rel="noopener noreferrer"> More information on reporting commercial exports from Canada. </a>
55920
- ` + 'Allowed values available <a href="#tag/Customs-Declaration-B13A-Filing-Option">here</a>');
55919
+ <a href="https://www.cbsa-asfc.gc.ca/services/export/guide-eng.html" target="_blank" rel="noopener noreferrer"> More information on reporting commercial exports from Canada. </a>
55920
+ Allowed values available <a href="#tag/Customs-Declaration-B13A-Filing-Option">here</a>`);
55921
55921
  });
55922
55922
 
55923
55923
  // src/models/customsdeclarationcontentstypeenum.ts
@@ -55933,7 +55933,7 @@ var init_customsdeclarationcontentstypeenum = __esm(() => {
55933
55933
  "RETURN_MERCHANDISE",
55934
55934
  "OTHER"
55935
55935
  ]).describe(`Type of goods of the shipment.
55936
- ` + 'Allowed values available <a href="#tag/Customs-Declaration-Contents-Type">here</a>');
55936
+ Allowed values available <a href="#tag/Customs-Declaration-Contents-Type">here</a>`);
55937
55937
  });
55938
55938
 
55939
55939
  // src/models/customsdeclarationeelpfcenum.ts
@@ -55946,7 +55946,7 @@ var init_customsdeclarationeelpfcenum = __esm(() => {
55946
55946
  "NOEEI_30_37_f",
55947
55947
  "NOEEI_30_36",
55948
55948
  "AES_ITN"
55949
- ]).describe("EEL / PFC type of the shipment. For most shipments from the US to CA, `NOEEI_30_36` is applicable; for most \n" + "other shipments from the US, `NOEEI_30_37_a` is applicable.\n" + 'Allowed values available <a href="#tag/Customs-Declaration-EELPFC">here</a>');
55949
+ ]).describe('EEL / PFC type of the shipment. For most shipments from the US to CA, `NOEEI_30_36` is applicable; for most \nother shipments from the US, `NOEEI_30_37_a` is applicable.\nAllowed values available <a href="#tag/Customs-Declaration-EELPFC">here</a>');
55950
55950
  });
55951
55951
 
55952
55952
  // src/models/customsdeclarationincotermenum.ts
@@ -55960,9 +55960,9 @@ var init_customsdeclarationincotermenum = __esm(() => {
55960
55960
  "DAP",
55961
55961
  "eDAP"
55962
55962
  ]).describe(`The incoterm reference of the shipment. FCA is available for DHL Express and FedEx only.
55963
- ` + `eDAP is available for DPD UK only. DAP is available for DHL Express and DPD UK.
55964
- ` + `If expecting DAP for other carriers, please use DDU.
55965
- ` + 'Allowed values available <a href="#tag/Customs-Declaration-Incoterm">here</a>');
55963
+ eDAP is available for DPD UK only. DAP is available for DHL Express and DPD UK.
55964
+ If expecting DAP for other carriers, please use DDU.
55965
+ Allowed values available <a href="#tag/Customs-Declaration-Incoterm">here</a>`);
55966
55966
  });
55967
55967
 
55968
55968
  // src/models/customsdeclarationnondeliveryoptionenum.ts
@@ -55973,7 +55973,7 @@ var init_customsdeclarationnondeliveryoptionenum = __esm(() => {
55973
55973
  "ABANDON",
55974
55974
  "RETURN"
55975
55975
  ]).describe(`Indicates how the carrier should proceed in case the shipment can't be delivered.
55976
- ` + 'Allowed values available <a href="#tag/Customs-Declaration-Non-Delivery-Option">here</a>');
55976
+ Allowed values available <a href="#tag/Customs-Declaration-Non-Delivery-Option">here</a>`);
55977
55977
  });
55978
55978
 
55979
55979
  // src/models/weightunitenum.ts
@@ -56023,7 +56023,7 @@ var init_customstaxidentification = __esm(() => {
56023
56023
  number: string2().nullable().optional(),
56024
56024
  type: CustomsTaxIdentificationType$zodSchema.nullable().optional()
56025
56025
  }).describe(`Tax identification that may be required to ship in certain countries. Typically used to assess duties on
56026
- ` + "goods that are crossing a border.");
56026
+ goods that are crossing a border.`);
56027
56027
  });
56028
56028
 
56029
56029
  // src/models/objectstateenum.ts
@@ -56162,8 +56162,8 @@ var init_cod = __esm(() => {
56162
56162
  "CASH",
56163
56163
  "ANY"
56164
56164
  ]).describe(`Secured funds include money orders, certified cheques and others (see
56165
- ` + `<a href="https://www.ups.com/content/us/en/shipping/time/service/value_added/cod.html">UPS</a> for details).
56166
- ` + 'If no payment_method inputted the value defaults to "ANY".)');
56165
+ <a href="https://www.ups.com/content/us/en/shipping/time/service/value_added/cod.html">UPS</a> for details).
56166
+ If no payment_method inputted the value defaults to "ANY".)`);
56167
56167
  Cod$zodSchema = object({
56168
56168
  amount: string2().optional(),
56169
56169
  currency: string2().optional(),
@@ -56188,21 +56188,6 @@ var init_parcelinsurance = __esm(() => {
56188
56188
  }).describe("To add insurace to your parcel, specify `amount`, `content` and `currency`. <br><br>If you do not want to add insurance to you parcel, do not set these parameters.");
56189
56189
  });
56190
56190
 
56191
- // src/models/parcelextra.ts
56192
- var ParcelExtra$zodSchema;
56193
- var init_parcelextra = __esm(() => {
56194
- init_zod();
56195
- init_cod();
56196
- init_parcelinsurance();
56197
- ParcelExtra$zodSchema = object({
56198
- COD: Cod$zodSchema.optional(),
56199
- insurance: ParcelInsurance$zodSchema.optional(),
56200
- reference_1: string2().optional(),
56201
- reference_2: string2().optional()
56202
- }).describe(`An object holding optional extra services to be requested for each parcel in a multi-piece shipment.
56203
- ` + 'See the <a href="#section/Parcel-Extras">Parcel Extra table below</a> for all available services.');
56204
- });
56205
-
56206
56191
  // src/models/parceltemplateenumset.ts
56207
56192
  var AramexAustraliaParcelTemplate$zodSchema, DPDUKParcelTemplate$zodSchema, DHLECommerceParcelTemplate$zodSchema, USPSParcelTemplate$zodSchema, UPSParcelTemplate$zodSchema, FedExParcelTemplate$zodSchema, ParcelTemplateEnumSet$zodSchema;
56208
56193
  var init_parceltemplateenumset = __esm(() => {
@@ -56213,26 +56198,26 @@ var init_parceltemplateenumset = __esm(() => {
56213
56198
  "Fastway_Australia_Satchel_A4",
56214
56199
  "Fastway_Australia_Satchel_A5"
56215
56200
  ]).describe(`|Token | Name | Dimensions|
56216
- ` + `|:---|:---|:---|
56217
- ` + `| Fastway_Australia_Satchel_A2 | Satchel A2 | 594.00 x 420.00 x 48.00 mm|
56218
- ` + `| Fastway_Australia_Satchel_A3 | Satchel A3 | 420.00 x 297.00 x 64.00 mm|
56219
- ` + `| Fastway_Australia_Satchel_A4 | Satchel A4 | 297.00 x 210.00 x 64.00 mm|
56220
- ` + `| Fastway_Australia_Satchel_A5 | Satchel A5 | 210.00 x 148.00 x 64.00 mm|
56221
- ` + "");
56201
+ |:---|:---|:---|
56202
+ | Fastway_Australia_Satchel_A2 | Satchel A2 | 594.00 x 420.00 x 48.00 mm|
56203
+ | Fastway_Australia_Satchel_A3 | Satchel A3 | 420.00 x 297.00 x 64.00 mm|
56204
+ | Fastway_Australia_Satchel_A4 | Satchel A4 | 297.00 x 210.00 x 64.00 mm|
56205
+ | Fastway_Australia_Satchel_A5 | Satchel A5 | 210.00 x 148.00 x 64.00 mm|
56206
+ `);
56222
56207
  DPDUKParcelTemplate$zodSchema = _enum([
56223
56208
  "DPD_UK_Express_Pak"
56224
56209
  ]).describe(`|Token | Name | Dimensions|
56225
- ` + `|:---|:---|:---|
56226
- ` + `| DPD_UK_Express_Pak| DPD UK Express Pak | 530.00 x 400.00 x 100.00 mm|
56227
- ` + "");
56210
+ |:---|:---|:---|
56211
+ | DPD_UK_Express_Pak| DPD UK Express Pak | 530.00 x 400.00 x 100.00 mm|
56212
+ `);
56228
56213
  DHLECommerceParcelTemplate$zodSchema = _enum([
56229
56214
  "DHLeC_Irregular",
56230
56215
  "DHLeC_SM_Flats"
56231
56216
  ]).describe(`|Token | Name | Dimensions|
56232
- ` + `|:---|:---|:---|
56233
- ` + `| DHLeC_Irregular | Irregular Shipment | 10.00 x 10.00 x 10.00 in|
56234
- ` + `| DHLeC_SM_Flats | Flats | 27.00 x 17.00 x 17.00 in|
56235
- ` + "");
56217
+ |:---|:---|:---|
56218
+ | DHLeC_Irregular | Irregular Shipment | 10.00 x 10.00 x 10.00 in|
56219
+ | DHLeC_SM_Flats | Flats | 27.00 x 17.00 x 17.00 in|
56220
+ `);
56236
56221
  USPSParcelTemplate$zodSchema = _enum([
56237
56222
  "USPS_FlatRateCardboardEnvelope",
56238
56223
  "USPS_FlatRateEnvelope",
@@ -56255,28 +56240,28 @@ var init_parceltemplateenumset = __esm(() => {
56255
56240
  "USPS_SmallFlatRateEnvelope",
56256
56241
  "USPS_SoftPack"
56257
56242
  ]).describe(`|Token | Name | Dimensions|
56258
- ` + `|:---|:---|:---|
56259
- ` + `| USPS_FlatRateCardboardEnvelope | Flat Rate Cardboard Envelope | 12.50 x 9.50 x 0.75 in |
56260
- ` + `| USPS_FlatRateEnvelope | Flat Rate Envelope | 12.50 x 9.50 x 0.75 in |
56261
- ` + `| USPS_FlatRateGiftCardEnvelope | Flat Rate Gift Card Envelope | 10.00 x 7.00 x 0.75 in |
56262
- ` + `| USPS_FlatRateLegalEnvelope | Flat Rate Legal Envelope | 15.00 x 9.50 x 0.75 in |
56263
- ` + `| USPS_FlatRatePaddedEnvelope | Flat Rate Padded Envelope | 12.50 x 9.50 x 1.00 in |
56264
- ` + `| USPS_FlatRateWindowEnvelope | Flat Rate Window Envelope | 10.00 x 5.00 x 0.75 in |
56265
- ` + `| USPS_IrregularParcel | Irregular Parcel | 0.00 x 0.00 x 0.00 in |
56266
- ` + `| USPS_LargeFlatRateBoardGameBox | Large Flat Rate Board Game Box | 24.06 x 11.88 x 3.13 in |
56267
- ` + `| USPS_LargeFlatRateBox | Large Flat Rate Box | 12.25 x 12.25 x 6.00 in |
56268
- ` + `| USPS_APOFlatRateBox | APO/FPO/DPO Large Flat Rate Box | 12.25 x 12.25 x 6.00 in |
56269
- ` + `| USPS_LargeVideoFlatRateBox | Flat Rate Large Video Box (Int&#39;l only) | 9.60 x 6.40 x 2.20 in |
56270
- ` + `| USPS_MediumFlatRateBox1 | Medium Flat Rate Box 1 | 11.25 x 8.75 x 6.00 in |
56271
- ` + `| USPS_MediumFlatRateBox2 | Medium Flat Rate Box 2 | 14.00 x 12.00 x 3.50 in |
56272
- ` + `| USPS_RegionalRateBoxA1 | Regional Rate Box A1 | 10.13 x 7.13 x 5.00 in |
56273
- ` + `| USPS_RegionalRateBoxA2 | Regional Rate Box A2 | 13.06 x 11.06 x 2.50 in |
56274
- ` + `| USPS_RegionalRateBoxB1 | Regional Rate Box B1 | 12.25 x 10.50 x 5.50 in |
56275
- ` + `| USPS_RegionalRateBoxB2 | Regional Rate Box B2 | 16.25 x 14.50 x 3.00 in |
56276
- ` + `| USPS_SmallFlatRateBox | Small Flat Rate Box | 8.69 x 5.44 x 1.75 in |
56277
- ` + `| USPS_SmallFlatRateEnvelope | Small Flat Rate Envelope | 10.00 x 6.00 x 4.00 in |
56278
- ` + `| USPS_SoftPack | Soft Pack Padded Envelope | Length and width defined in the Parcel|
56279
- ` + "");
56243
+ |:---|:---|:---|
56244
+ | USPS_FlatRateCardboardEnvelope | Flat Rate Cardboard Envelope | 12.50 x 9.50 x 0.75 in |
56245
+ | USPS_FlatRateEnvelope | Flat Rate Envelope | 12.50 x 9.50 x 0.75 in |
56246
+ | USPS_FlatRateGiftCardEnvelope | Flat Rate Gift Card Envelope | 10.00 x 7.00 x 0.75 in |
56247
+ | USPS_FlatRateLegalEnvelope | Flat Rate Legal Envelope | 15.00 x 9.50 x 0.75 in |
56248
+ | USPS_FlatRatePaddedEnvelope | Flat Rate Padded Envelope | 12.50 x 9.50 x 1.00 in |
56249
+ | USPS_FlatRateWindowEnvelope | Flat Rate Window Envelope | 10.00 x 5.00 x 0.75 in |
56250
+ | USPS_IrregularParcel | Irregular Parcel | 0.00 x 0.00 x 0.00 in |
56251
+ | USPS_LargeFlatRateBoardGameBox | Large Flat Rate Board Game Box | 24.06 x 11.88 x 3.13 in |
56252
+ | USPS_LargeFlatRateBox | Large Flat Rate Box | 12.25 x 12.25 x 6.00 in |
56253
+ | USPS_APOFlatRateBox | APO/FPO/DPO Large Flat Rate Box | 12.25 x 12.25 x 6.00 in |
56254
+ | USPS_LargeVideoFlatRateBox | Flat Rate Large Video Box (Int&#39;l only) | 9.60 x 6.40 x 2.20 in |
56255
+ | USPS_MediumFlatRateBox1 | Medium Flat Rate Box 1 | 11.25 x 8.75 x 6.00 in |
56256
+ | USPS_MediumFlatRateBox2 | Medium Flat Rate Box 2 | 14.00 x 12.00 x 3.50 in |
56257
+ | USPS_RegionalRateBoxA1 | Regional Rate Box A1 | 10.13 x 7.13 x 5.00 in |
56258
+ | USPS_RegionalRateBoxA2 | Regional Rate Box A2 | 13.06 x 11.06 x 2.50 in |
56259
+ | USPS_RegionalRateBoxB1 | Regional Rate Box B1 | 12.25 x 10.50 x 5.50 in |
56260
+ | USPS_RegionalRateBoxB2 | Regional Rate Box B2 | 16.25 x 14.50 x 3.00 in |
56261
+ | USPS_SmallFlatRateBox | Small Flat Rate Box | 8.69 x 5.44 x 1.75 in |
56262
+ | USPS_SmallFlatRateEnvelope | Small Flat Rate Envelope | 10.00 x 6.00 x 4.00 in |
56263
+ | USPS_SoftPack | Soft Pack Padded Envelope | Length and width defined in the Parcel|
56264
+ `);
56280
56265
  UPSParcelTemplate$zodSchema = _enum([
56281
56266
  "UPS_Box_10kg",
56282
56267
  "UPS_Box_25kg",
@@ -56304,33 +56289,33 @@ var init_parceltemplateenumset = __esm(() => {
56304
56289
  "UPS_Pad_Pak",
56305
56290
  "UPS_Pallet"
56306
56291
  ]).describe(`|Token | Name | Dimensions|
56307
- ` + `|:---|:---|:---|
56308
- ` + `| UPS_Box_10kg | Box 10kg | 410.00 x 335.00 x 265.00 mm|
56309
- ` + `| UPS_Box_25kg | Box 25kg | 484.00 x 433.00 x 350.00 mm|
56310
- ` + `| UPS_Express_Box | Express Box | 460.00 x 315.00 x 95.00 mm|
56311
- ` + `| UPS_Express_Box_Large | Express Box Large | 18.00 x 13.00 x 3.00 in|
56312
- ` + `| UPS_Express_Box_Medium | Express Box Medium | 15.00 x 11.00 x 3.00 in|
56313
- ` + `| UPS_Express_Box_Small | Express Box Small | 13.00 x 11.00 x 2.00 in|
56314
- ` + `| UPS_Express_Envelope | Express Envelope | 12.50 x 9.50 x 2.00 in|
56315
- ` + `| UPS_Express_Hard_Pak | Express Hard Pak | 14.75 x 11.50 x 2.00 in|
56316
- ` + `| UPS_Express_Legal_Envelope | Express Legal Envelope | 15.00 x 9.50 x 2.00 in|
56317
- ` + `| UPS_Express_Pak | Express Pak | 16.00 x 12.75 x 2.00 in|
56318
- ` + `| UPS_Express_Tube | Express Tube | 970.00 x 190.00 x 165.00 mm|
56319
- ` + `| UPS_Laboratory_Pak | Laboratory Pak | 17.25 x 12.75 x 2.00 in|
56320
- ` + `| UPS_MI_BPM | BPM (Mail Innovations - Domestic &amp; International) | 0.00 x 0.00 x 0.00 in|
56321
- ` + `| UPS_MI_BPM_Flat | BPM Flat (Mail Innovations - Domestic &amp; International) | 0.00 x 0.00 x 0.00 in|
56322
- ` + `| UPS_MI_BPM_Parcel | BPM Parcel (Mail Innovations - Domestic &amp; International) | 0.00 x 0.00 x 0.00 in|
56323
- ` + `| UPS_MI_First_Class | First Class (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56324
- ` + `| UPS_MI_Flat | Flat (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56325
- ` + `| UPS_MI_Irregular | Irregular (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56326
- ` + `| UPS_MI_Machinable | Machinable (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56327
- ` + `| UPS_MI_MEDIA_MAIL | Media Mail (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56328
- ` + `| UPS_MI_Parcel_Post | Parcel Post (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56329
- ` + `| UPS_MI_Priority | Priority (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56330
- ` + `| UPS_MI_Standard_Flat | Standard Flat (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56331
- ` + `| UPS_Pad_Pak | Pad Pak | 14.75 x 11.00 x 2.00 in|
56332
- ` + `| UPS_Pallet | Pallet | 120.00 x 80.00 x 200.00 cm|
56333
- ` + "");
56292
+ |:---|:---|:---|
56293
+ | UPS_Box_10kg | Box 10kg | 410.00 x 335.00 x 265.00 mm|
56294
+ | UPS_Box_25kg | Box 25kg | 484.00 x 433.00 x 350.00 mm|
56295
+ | UPS_Express_Box | Express Box | 460.00 x 315.00 x 95.00 mm|
56296
+ | UPS_Express_Box_Large | Express Box Large | 18.00 x 13.00 x 3.00 in|
56297
+ | UPS_Express_Box_Medium | Express Box Medium | 15.00 x 11.00 x 3.00 in|
56298
+ | UPS_Express_Box_Small | Express Box Small | 13.00 x 11.00 x 2.00 in|
56299
+ | UPS_Express_Envelope | Express Envelope | 12.50 x 9.50 x 2.00 in|
56300
+ | UPS_Express_Hard_Pak | Express Hard Pak | 14.75 x 11.50 x 2.00 in|
56301
+ | UPS_Express_Legal_Envelope | Express Legal Envelope | 15.00 x 9.50 x 2.00 in|
56302
+ | UPS_Express_Pak | Express Pak | 16.00 x 12.75 x 2.00 in|
56303
+ | UPS_Express_Tube | Express Tube | 970.00 x 190.00 x 165.00 mm|
56304
+ | UPS_Laboratory_Pak | Laboratory Pak | 17.25 x 12.75 x 2.00 in|
56305
+ | UPS_MI_BPM | BPM (Mail Innovations - Domestic &amp; International) | 0.00 x 0.00 x 0.00 in|
56306
+ | UPS_MI_BPM_Flat | BPM Flat (Mail Innovations - Domestic &amp; International) | 0.00 x 0.00 x 0.00 in|
56307
+ | UPS_MI_BPM_Parcel | BPM Parcel (Mail Innovations - Domestic &amp; International) | 0.00 x 0.00 x 0.00 in|
56308
+ | UPS_MI_First_Class | First Class (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56309
+ | UPS_MI_Flat | Flat (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56310
+ | UPS_MI_Irregular | Irregular (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56311
+ | UPS_MI_Machinable | Machinable (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56312
+ | UPS_MI_MEDIA_MAIL | Media Mail (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56313
+ | UPS_MI_Parcel_Post | Parcel Post (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56314
+ | UPS_MI_Priority | Priority (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56315
+ | UPS_MI_Standard_Flat | Standard Flat (Mail Innovations - Domestic only) | 0.00 x 0.00 x 0.00 in|
56316
+ | UPS_Pad_Pak | Pad Pak | 14.75 x 11.00 x 2.00 in|
56317
+ | UPS_Pallet | Pallet | 120.00 x 80.00 x 200.00 cm|
56318
+ `);
56334
56319
  FedExParcelTemplate$zodSchema = _enum([
56335
56320
  "FedEx_Box_10kg",
56336
56321
  "FedEx_Box_25kg",
@@ -56349,24 +56334,24 @@ var init_parceltemplateenumset = __esm(() => {
56349
56334
  "FedEx_Tube",
56350
56335
  "FedEx_XL_Pak"
56351
56336
  ]).describe(`|Token | Name | Dimensions|
56352
- ` + `|:---|:---|:---|
56353
- ` + `| FedEx_Box_10kg | FedEx® 10kg Box | 15.81 x 12.94 x 10.19 in|
56354
- ` + `| FedEx_Box_25kg | FedEx® 25kg Box | 54.80 x 42.10 x 33.50 in|
56355
- ` + `| FedEx_Box_Extra_Large_1 | FedEx® Extra Large Box (X1) | 11.88 x 11.00 x 10.75 in|
56356
- ` + `| FedEx_Box_Extra_Large_2 | FedEx® Extra Large Box (X2) | 15.75 x 14.13 x 6.00 in|
56357
- ` + `| FedEx_Box_Large_1 | FedEx® Large Box (L1) | 17.50 x 12.38 x 3.00 in|
56358
- ` + `| FedEx_Box_Large_2 | FedEx® Large Box (L2) | 11.25 x 8.75 x 7.75 in|
56359
- ` + `| FedEx_Box_Medium_1 | FedEx® Medium Box (M1) | 13.25 x 11.50 x 2.38 in|
56360
- ` + `| FedEx_Box_Medium_2 | FedEx® Medium Box (M2) | 11.25 x 8.75 x 4.38 in|
56361
- ` + `| FedEx_Box_Small_1 | FedEx® Small Box (S1) | 12.38 x 10.88 x 1.50 in|
56362
- ` + `| FedEx_Box_Small_2 | FedEx® Small Box (S2) | 11.25 x 8.75 x 4.38 in|
56363
- ` + `| FedEx_Envelope | FedEx® Envelope | 12.50 x 9.50 x 0.80 in|
56364
- ` + `| FedEx_Padded_Pak | FedEx® Padded Pak | 11.75 x 14.75 x 2.00 in|
56365
- ` + `| FedEx_Pak_1 | FedEx® Large Pak | 15.50 x 12.00 x 0.80 in|
56366
- ` + `| FedEx_Pak_2 | FedEx® Small Pak | 12.75 x 10.25 x 0.80 in|
56367
- ` + `| FedEx_Tube | FedEx® Tube | 38.00 x 6.00 x 6.00 in|
56368
- ` + `| FedEx_XL_Pak | FedEx® Extra Large Pak | 17.50 x 20.75 x 2.00 in|
56369
- ` + "");
56337
+ |:---|:---|:---|
56338
+ | FedEx_Box_10kg | FedEx® 10kg Box | 15.81 x 12.94 x 10.19 in|
56339
+ | FedEx_Box_25kg | FedEx® 25kg Box | 54.80 x 42.10 x 33.50 in|
56340
+ | FedEx_Box_Extra_Large_1 | FedEx® Extra Large Box (X1) | 11.88 x 11.00 x 10.75 in|
56341
+ | FedEx_Box_Extra_Large_2 | FedEx® Extra Large Box (X2) | 15.75 x 14.13 x 6.00 in|
56342
+ | FedEx_Box_Large_1 | FedEx® Large Box (L1) | 17.50 x 12.38 x 3.00 in|
56343
+ | FedEx_Box_Large_2 | FedEx® Large Box (L2) | 11.25 x 8.75 x 7.75 in|
56344
+ | FedEx_Box_Medium_1 | FedEx® Medium Box (M1) | 13.25 x 11.50 x 2.38 in|
56345
+ | FedEx_Box_Medium_2 | FedEx® Medium Box (M2) | 11.25 x 8.75 x 4.38 in|
56346
+ | FedEx_Box_Small_1 | FedEx® Small Box (S1) | 12.38 x 10.88 x 1.50 in|
56347
+ | FedEx_Box_Small_2 | FedEx® Small Box (S2) | 11.25 x 8.75 x 4.38 in|
56348
+ | FedEx_Envelope | FedEx® Envelope | 12.50 x 9.50 x 0.80 in|
56349
+ | FedEx_Padded_Pak | FedEx® Padded Pak | 11.75 x 14.75 x 2.00 in|
56350
+ | FedEx_Pak_1 | FedEx® Large Pak | 15.50 x 12.00 x 0.80 in|
56351
+ | FedEx_Pak_2 | FedEx® Small Pak | 12.75 x 10.25 x 0.80 in|
56352
+ | FedEx_Tube | FedEx® Tube | 38.00 x 6.00 x 6.00 in|
56353
+ | FedEx_XL_Pak | FedEx® Extra Large Pak | 17.50 x 20.75 x 2.00 in|
56354
+ `);
56370
56355
  ParcelTemplateEnumSet$zodSchema = union([
56371
56356
  FedExParcelTemplate$zodSchema,
56372
56357
  UPSParcelTemplate$zodSchema,
@@ -56378,14 +56363,22 @@ var init_parceltemplateenumset = __esm(() => {
56378
56363
  });
56379
56364
 
56380
56365
  // src/models/parcelcreatefromtemplaterequest.ts
56381
- var ParcelCreateFromTemplateRequest$zodSchema;
56366
+ var ParcelCreateFromTemplateRequestParcelExtra$zodSchema, ParcelCreateFromTemplateRequest$zodSchema;
56382
56367
  var init_parcelcreatefromtemplaterequest = __esm(() => {
56383
56368
  init_zod();
56384
- init_parcelextra();
56369
+ init_cod();
56370
+ init_parcelinsurance();
56385
56371
  init_parceltemplateenumset();
56386
56372
  init_weightunitenum();
56373
+ ParcelCreateFromTemplateRequestParcelExtra$zodSchema = object({
56374
+ COD: Cod$zodSchema.optional(),
56375
+ insurance: ParcelInsurance$zodSchema.optional(),
56376
+ reference_1: string2().optional(),
56377
+ reference_2: string2().optional()
56378
+ }).describe(`An object holding optional extra services to be requested for each parcel in a multi-piece shipment.
56379
+ See the <a href="#section/Parcel-Extras">Parcel Extra table below</a> for all available services.`);
56387
56380
  ParcelCreateFromTemplateRequest$zodSchema = object({
56388
- extra: ParcelExtra$zodSchema.optional(),
56381
+ extra: lazy(() => ParcelCreateFromTemplateRequestParcelExtra$zodSchema).nullable().optional(),
56389
56382
  mass_unit: WeightUnitEnum$zodSchema,
56390
56383
  metadata: string2().optional(),
56391
56384
  template: ParcelTemplateEnumSet$zodSchema.nullable(),
@@ -56499,8 +56492,8 @@ var init_dangerousgoodsobject = __esm(() => {
56499
56492
  contains: boolean2().optional(),
56500
56493
  lithium_batteries: DangerousGoodsLithiumBatteries$zodSchema.optional()
56501
56494
  }).describe(`Container for specifying the presence of dangerous materials. This is specific to USPS, and if any contents
56502
- ` + `are provided, only certain USPS service levels will be eligible. For more information, see our
56503
- ` + '<a href="https://docs.goshippo.com/docs/shipments/hazmat/">guide on hazardous or dangerous materials shipping</a>.');
56495
+ are provided, only certain USPS service levels will be eligible. For more information, see our
56496
+ <a href="https://docs.goshippo.com/docs/shipments/hazmat/">guide on hazardous or dangerous materials shipping</a>.`);
56504
56497
  });
56505
56498
 
56506
56499
  // src/models/departmentnumber.ts
@@ -56538,8 +56531,7 @@ var init_insurance = __esm(() => {
56538
56531
  content: string2().optional(),
56539
56532
  currency: string2().optional(),
56540
56533
  provider: InsuranceProvider$zodSchema.optional()
56541
- }).describe(`To add 3rd party insurance powered by <a href="https://docs.goshippo.com/docs/shipments/shippinginsurance/">XCover</a>,
56542
- ` + "specify <br> `amount`, `content`, and `currency`. <br> Alternatively, you can choose carrier provided insurance \n" + "by additionally specifying `provider` (UPS, FedEx and OnTrac only). <br><br> If you do not want to add insurance \n" + "to your shipment, do not set these parameters.");
56534
+ }).describe('To add 3rd party insurance powered by <a href="https://docs.goshippo.com/docs/shipments/shippinginsurance/">XCover</a>, \nspecify <br> `amount`, `content`, and `currency`. <br> Alternatively, you can choose carrier provided insurance \nby additionally specifying `provider` (UPS, FedEx and OnTrac only). <br><br> If you do not want to add insurance \nto your shipment, do not set these parameters.');
56543
56535
  });
56544
56536
 
56545
56537
  // src/models/invoicenumber.ts
@@ -56677,7 +56669,7 @@ var init_shipmentextra = __esm(() => {
56677
56669
  "INDIRECT",
56678
56670
  "CARRIER_CONFIRMATION"
56679
56671
  ]).describe(`Request standard or adult signature confirmation. You can alternatively request Certified Mail (USPS only)
56680
- ` + "or Indirect signature (FedEx only) or Carrier Confirmation (Deutsche Post only).");
56672
+ or Indirect signature (FedEx only) or Carrier Confirmation (Deutsche Post only).`);
56681
56673
  ShipmentExtra$zodSchema = object({
56682
56674
  COD: Cod$zodSchema.optional(),
56683
56675
  accounts_receivable_customer_account: UPSReferenceFields$zodSchema.optional(),
@@ -57556,13 +57548,13 @@ var init_fedexconnectexistingownaccountparameters = __esm(() => {
57556
57548
  last_name: string2(),
57557
57549
  phone_number: string2()
57558
57550
  }).describe(`In the case of masked fields, they should be handled carefully.
57559
- ` + `
57560
- ` + `Fields also must consider:
57561
- ` + `- Not providing a *fields* in parameters will not result in a change to any configured value
57562
- ` + `- Providing a value in a *masked field* with ****** (exactly 6 asterisks) will not change the configured value
57563
- ` + `- Providing *field* with null will clear the configured value
57564
- ` + `- Providing *field* with any other value will change the configured value and may affect the behavior of the account.
57565
- ` + "");
57551
+
57552
+ Fields also must consider:
57553
+ - Not providing a *fields* in parameters will not result in a change to any configured value
57554
+ - Providing a value in a *masked field* with ****** (exactly 6 asterisks) will not change the configured value
57555
+ - Providing *field* with null will clear the configured value
57556
+ - Providing *field* with any other value will change the configured value and may affect the behavior of the account.
57557
+ `);
57566
57558
  });
57567
57559
 
57568
57560
  // src/models/upsconnectexistingownaccountparameters.ts
@@ -57593,15 +57585,15 @@ var init_upsconnectexistingownaccountparameters = __esm(() => {
57593
57585
  title: string2(),
57594
57586
  ups_agreements: boolean2()
57595
57587
  }).describe(`An array of additional parameters for the account, such as e.g. password or token.
57596
- ` + `Please check the <a href="https://docs.goshippo.com/docs/carriers/carrieraccounts/">carrier accounts tutorial</a> page for the parameters per carrier.<br>
57597
- ` + `To protect account information, this field will be masked in any API response.
57598
- ` + `In the case of masked fields, they should be handled carefully.
57599
- ` + `
57600
- ` + `Fields also must consider:
57601
- ` + `- Not providing a *fields* in parameters will not result in a change to any configured value
57602
- ` + `- Providing a value in a *masked field* with ****** (exactly 6 asterisks) will not change the configured value
57603
- ` + `- Providing *field* with null will clear the configured value
57604
- ` + "- Providing *field* with any other value will change the configured value and may affect the behavior of the account.");
57588
+ Please check the <a href="https://docs.goshippo.com/docs/carriers/carrieraccounts/">carrier accounts tutorial</a> page for the parameters per carrier.<br>
57589
+ To protect account information, this field will be masked in any API response.
57590
+ In the case of masked fields, they should be handled carefully.
57591
+
57592
+ Fields also must consider:
57593
+ - Not providing a *fields* in parameters will not result in a change to any configured value
57594
+ - Providing a value in a *masked field* with ****** (exactly 6 asterisks) will not change the configured value
57595
+ - Providing *field* with null will clear the configured value
57596
+ - Providing *field* with any other value will change the configured value and may affect the behavior of the account.`);
57605
57597
  });
57606
57598
 
57607
57599
  // src/models/connectexistingownaccountrequest.ts
@@ -58382,67 +58374,67 @@ var init_carriersenum = __esm(() => {
58382
58374
  "usps",
58383
58375
  "veho"
58384
58376
  ]).describe(`|Token | Carrier name|
58385
- ` + `|:---|:---|
58386
- ` + `| airterra | Airterra |
58387
- ` + `| apc_postal | APC Postal|
58388
- ` + `| apg | APG|
58389
- ` + `| aramex | Aramex|
58390
- ` + `| asendia_us | Asendia US|
58391
- ` + `| australia_post | Australia Post (also used for Startrack)|
58392
- ` + `| axlehire | Jitsu|
58393
- ` + `| better_trucks | BetterTrucks|
58394
- ` + `| borderguru | BorderGuru|
58395
- ` + `| boxberry | Boxberry|
58396
- ` + `| bring | Bring (also used for Posten Norge)|
58397
- ` + `| canada_post | Canada Post|
58398
- ` + `| cdl | CDL|
58399
- ` + `| chronopost | Chronopost|
58400
- ` + `| collect_plus | CollectPlus|
58401
- ` + `| correios_br | CorreiosBR|
58402
- ` + `| correos_espana | Correos España |
58403
- ` + `| colissimo | Colissimo|
58404
- ` + `| deutsche_post | Deutsche Post|
58405
- ` + `| dhl_benelux | DHL Benelux|
58406
- ` + `| dhl_ecommerce | DHL eCommerce|
58407
- ` + `| dhl_express | DHL Express|
58408
- ` + `| dhl_germany_c2c | DHL Germany C2C|
58409
- ` + `| dhl_germany | DHL Germany|
58410
- ` + `| dpd_de | DPD GERMANY|
58411
- ` + `| dpd_uk | DPD UK|
58412
- ` + `| estafeta | Estafeta|
58413
- ` + `| fastway_australia | Aramex|
58414
- ` + `| fedex | FedEx|
58415
- ` + `| globegistics | Globegistics (now Asendia)|
58416
- ` + `| gls_us | GLS US|
58417
- ` + `| gophr | Gophr|
58418
- ` + `| gso | GSO|
58419
- ` + `| hermes_germany_b2c | Hermes Germany B2C|
58420
- ` + `| hermes_uk | Evri UK |
58421
- ` + `| hongkong_post | Hongkong Post|
58422
- ` + `| lasership | LaserShip|
58423
- ` + `| lso | LSO|
58424
- ` + `| mondial_relay | Mondial Relay|
58425
- ` + `| new_zealand_post | New Zealand Post (also used for Pace and CourierPost)|
58426
- ` + `| nippon_express | Nippon Express|
58427
- ` + `| ontrac | OnTrac|
58428
- ` + `| parcelforce | Parcelforce|
58429
- ` + `| passport | Passport|
58430
- ` + `| pcf | PCF|
58431
- ` + `| poste_italiane | Poste Italiane |
58432
- ` + `| posti | Posti|
58433
- ` + `| purolator | Purolator|
58434
- ` + `| royal_mail | Royal Mail|
58435
- ` + `| rr_donnelley | ePost Global|
58436
- ` + `| russian_post | Russian Post|
58437
- ` + `| sendle | Sendle|
58438
- ` + `| skypostal | SkyPostal|
58439
- ` + `| stuart | Stuart|
58440
- ` + `| swyft | Swyft|
58441
- ` + `| uds | UDS (United Delivery Service)|
58442
- ` + `| ups | UPS|
58443
- ` + `| usps | USPS|
58444
- ` + `| veho | Veho |
58445
- ` + "");
58377
+ |:---|:---|
58378
+ | airterra | Airterra |
58379
+ | apc_postal | APC Postal|
58380
+ | apg | APG|
58381
+ | aramex | Aramex|
58382
+ | asendia_us | Asendia US|
58383
+ | australia_post | Australia Post (also used for Startrack)|
58384
+ | axlehire | Jitsu|
58385
+ | better_trucks | BetterTrucks|
58386
+ | borderguru | BorderGuru|
58387
+ | boxberry | Boxberry|
58388
+ | bring | Bring (also used for Posten Norge)|
58389
+ | canada_post | Canada Post|
58390
+ | cdl | CDL|
58391
+ | chronopost | Chronopost|
58392
+ | collect_plus | CollectPlus|
58393
+ | correios_br | CorreiosBR|
58394
+ | correos_espana | Correos España |
58395
+ | colissimo | Colissimo|
58396
+ | deutsche_post | Deutsche Post|
58397
+ | dhl_benelux | DHL Benelux|
58398
+ | dhl_ecommerce | DHL eCommerce|
58399
+ | dhl_express | DHL Express|
58400
+ | dhl_germany_c2c | DHL Germany C2C|
58401
+ | dhl_germany | DHL Germany|
58402
+ | dpd_de | DPD GERMANY|
58403
+ | dpd_uk | DPD UK|
58404
+ | estafeta | Estafeta|
58405
+ | fastway_australia | Aramex|
58406
+ | fedex | FedEx|
58407
+ | globegistics | Globegistics (now Asendia)|
58408
+ | gls_us | GLS US|
58409
+ | gophr | Gophr|
58410
+ | gso | GSO|
58411
+ | hermes_germany_b2c | Hermes Germany B2C|
58412
+ | hermes_uk | Evri UK |
58413
+ | hongkong_post | Hongkong Post|
58414
+ | lasership | LaserShip|
58415
+ | lso | LSO|
58416
+ | mondial_relay | Mondial Relay|
58417
+ | new_zealand_post | New Zealand Post (also used for Pace and CourierPost)|
58418
+ | nippon_express | Nippon Express|
58419
+ | ontrac | OnTrac|
58420
+ | parcelforce | Parcelforce|
58421
+ | passport | Passport|
58422
+ | pcf | PCF|
58423
+ | poste_italiane | Poste Italiane |
58424
+ | posti | Posti|
58425
+ | purolator | Purolator|
58426
+ | royal_mail | Royal Mail|
58427
+ | rr_donnelley | ePost Global|
58428
+ | russian_post | Russian Post|
58429
+ | sendle | Sendle|
58430
+ | skypostal | SkyPostal|
58431
+ | stuart | Stuart|
58432
+ | swyft | Swyft|
58433
+ | uds | UDS (United Delivery Service)|
58434
+ | ups | UPS|
58435
+ | usps | USPS|
58436
+ | veho | Veho |
58437
+ `);
58446
58438
  });
58447
58439
 
58448
58440
  // src/models/listcarrieraccountsop.ts
@@ -60967,7 +60959,7 @@ var init_ordershopappenum = __esm(() => {
60967
60959
  "Weebly",
60968
60960
  "WooCommerce"
60969
60961
  ]).describe(`Platform the order was created on and, if applicable, imported from.
60970
- ` + 'Orders created via the Shippo API or dashboard will have the value "Shippo".');
60962
+ Orders created via the Shippo API or dashboard will have the value "Shippo".`);
60971
60963
  });
60972
60964
 
60973
60965
  // src/models/orderstatusenum.ts
@@ -60983,7 +60975,7 @@ var init_orderstatusenum = __esm(() => {
60983
60975
  "PARTIALLY_FULFILLED",
60984
60976
  "SHIPPED"
60985
60977
  ]).describe(`Current state of the order. See the <a href="https://docs.goshippo.com/docs/orders/orders/">orders tutorial</a>
60986
- ` + "for the logic of how the status is handled.");
60978
+ for the logic of how the status is handled.`);
60987
60979
  });
60988
60980
 
60989
60981
  // src/models/order.ts
@@ -61337,6 +61329,179 @@ Retrieves an existing order using an object ID.`,
61337
61329
  };
61338
61330
  });
61339
61331
 
61332
+ // src/models/getorderpackingslipop.ts
61333
+ var GetOrderPackingSlipGlobals$zodSchema, GetOrderPackingSlipRequest$zodSchema, GetOrderPackingSlipResponseBody$zodSchema, GetOrderPackingSlipResponse$zodSchema;
61334
+ var init_getorderpackingslipop = __esm(() => {
61335
+ init_zod();
61336
+ init_badrequest();
61337
+ GetOrderPackingSlipGlobals$zodSchema = object({
61338
+ shippoApiVersion: string2().describe('Optional string used to pick a non-default API version to use. See our <a href="https://docs.goshippo.com/docs/api_concepts/apiversioning/">API version</a> guide.').optional()
61339
+ });
61340
+ GetOrderPackingSlipRequest$zodSchema = object({
61341
+ OrderId: string2().describe("Object ID of the order")
61342
+ });
61343
+ GetOrderPackingSlipResponseBody$zodSchema = object({
61344
+ created: string2(),
61345
+ expires: string2(),
61346
+ slip_url: string2()
61347
+ }).describe("Packing slip generated successfully");
61348
+ GetOrderPackingSlipResponse$zodSchema = object({
61349
+ BadRequest: BadRequest$zodSchema.optional(),
61350
+ ContentType: string2(),
61351
+ RawResponse: custom((x) => x instanceof Response),
61352
+ StatusCode: int(),
61353
+ object: lazy(() => GetOrderPackingSlipResponseBody$zodSchema).optional()
61354
+ });
61355
+ });
61356
+
61357
+ // src/funcs/ordersGetPackingSlip.ts
61358
+ function ordersGetPackingSlip(client$, request, options) {
61359
+ return new APIPromise($do33(client$, request, options));
61360
+ }
61361
+ async function $do33(client$, request, options) {
61362
+ const parsed$ = safeParse4(request, (value$) => GetOrderPackingSlipRequest$zodSchema.parse(value$), "Input validation failed");
61363
+ if (!parsed$.ok) {
61364
+ return [parsed$, { status: "invalid" }];
61365
+ }
61366
+ const payload$ = parsed$.value;
61367
+ const body$ = null;
61368
+ const pathParams$ = {
61369
+ OrderId: encodeSimple("OrderId", payload$.OrderId, {
61370
+ explode: false,
61371
+ charEncoding: "percent"
61372
+ })
61373
+ };
61374
+ const path$ = pathToFunc("/orders/{OrderId}/packingslip/")(pathParams$);
61375
+ const headers$ = new Headers(compactMap({
61376
+ Accept: "application/json",
61377
+ "SHIPPO-API-VERSION": encodeSimple("SHIPPO-API-VERSION", client$._options.shippoApiVersion, { explode: false, charEncoding: "none" })
61378
+ }));
61379
+ const securityInput = await extractSecurity(client$._options.security);
61380
+ const requestSecurity = resolveGlobalSecurity(securityInput);
61381
+ const context = {
61382
+ options: client$._options,
61383
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
61384
+ operationID: "GetOrderPackingSlip",
61385
+ oAuth2Scopes: null,
61386
+ resolvedSecurity: requestSecurity,
61387
+ securitySource: client$._options.security,
61388
+ retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
61389
+ retryCodes: options?.retryCodes || [
61390
+ "429",
61391
+ "500",
61392
+ "502",
61393
+ "503",
61394
+ "504"
61395
+ ]
61396
+ };
61397
+ const requestRes = client$._createRequest(context, {
61398
+ security: requestSecurity,
61399
+ method: "GET",
61400
+ baseURL: options?.serverURL,
61401
+ path: path$,
61402
+ headers: headers$,
61403
+ body: body$,
61404
+ userAgent: client$._options.userAgent,
61405
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
61406
+ }, options);
61407
+ if (!requestRes.ok) {
61408
+ return [requestRes, { status: "invalid" }];
61409
+ }
61410
+ const req$ = requestRes.value;
61411
+ const doResult = await client$._do(req$, {
61412
+ context,
61413
+ errorCodes: [],
61414
+ retryConfig: context.retryConfig,
61415
+ retryCodes: context.retryCodes
61416
+ });
61417
+ if (!doResult.ok) {
61418
+ return [doResult, { status: "request-error", request: req$ }];
61419
+ }
61420
+ const response = doResult.value;
61421
+ const responseFields$ = {
61422
+ HttpMeta: { Response: response, Request: req$ }
61423
+ };
61424
+ const [result$] = await match(json(200, GetOrderPackingSlipResponse$zodSchema, { key: "object" }), json(400, GetOrderPackingSlipResponse$zodSchema, { key: "BadRequest" }), nil(404, GetOrderPackingSlipResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
61425
+ return [result$, { status: "complete", request: req$, response }];
61426
+ }
61427
+ var init_ordersGetPackingSlip = __esm(() => {
61428
+ init_encodings();
61429
+ init_matchers();
61430
+ init_primitives();
61431
+ init_schemas4();
61432
+ init_security();
61433
+ init_url();
61434
+ init_getorderpackingslipop();
61435
+ init_async();
61436
+ });
61437
+
61438
+ // src/mcp-server/tools/ordersGetPackingSlip.ts
61439
+ var args33, tool$ordersGetPackingSlip;
61440
+ var init_ordersGetPackingSlip2 = __esm(() => {
61441
+ init_ordersGetPackingSlip();
61442
+ init_getorderpackingslipop();
61443
+ init_tools();
61444
+ args33 = {
61445
+ request: GetOrderPackingSlipRequest$zodSchema
61446
+ };
61447
+ tool$ordersGetPackingSlip = {
61448
+ name: "orders-get-packing-slip",
61449
+ description: `**GENERATE PACKING SLIP** - Creates a downloadable packing slip PDF for an order.
61450
+
61451
+ Use this tool when a customer needs a packing slip document for order fulfillment.
61452
+
61453
+ **Required Parameter:**
61454
+ - \`OrderId\`: The order object ID (from orders-list or orders-create)
61455
+
61456
+ **Response:**
61457
+ \`\`\`json
61458
+ {
61459
+ "slip_url": "https://shippo-delivery-east.s3.amazonaws.com/packingslip_{hash}.pdf?{signed_params}",
61460
+ "created": "2026-01-07T16:58:46.350467",
61461
+ "expires": "2026-01-08T16:58:46.350468"
61462
+ }
61463
+ \`\`\`
61464
+
61465
+ **Key Fields:**
61466
+ - \`slip_url\`: Signed S3 URL to download the packing slip PDF (valid for 24 hours)
61467
+ - \`created\`: When the packing slip was generated
61468
+ - \`expires\`: When the download URL expires
61469
+
61470
+ **⚠️ URL HANDLING - CRITICAL:**
61471
+ The \`slip_url\` is a signed S3 URL that contains required authentication parameters.
61472
+ When displaying this URL:
61473
+ - ALWAYS show the COMPLETE URL - NEVER truncate or replace parts with "..."
61474
+ - S3 signed URLs will NOT work if modified or truncated
61475
+ - Display the URL in a code block AND as a clickable hyperlink
61476
+
61477
+ **Example Usage:**
61478
+ 1. List orders: \`orders-list\` → Get an order ID
61479
+ 2. Generate packing slip: \`orders-get-packing-slip\` with OrderId
61480
+ 3. Download PDF from the returned \`slip_url\`
61481
+ `,
61482
+ scopes: ["read"],
61483
+ annotations: {
61484
+ title: "",
61485
+ destructiveHint: false,
61486
+ idempotentHint: false,
61487
+ openWorldHint: false,
61488
+ readOnlyHint: false
61489
+ },
61490
+ args: args33,
61491
+ tool: async (client, args34, ctx) => {
61492
+ const [result, apiCall] = await ordersGetPackingSlip(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61493
+ if (!result.ok) {
61494
+ return {
61495
+ content: [{ type: "text", text: result.error.message }],
61496
+ isError: true
61497
+ };
61498
+ }
61499
+ const value = result.value;
61500
+ return formatResult(value, apiCall);
61501
+ }
61502
+ };
61503
+ });
61504
+
61340
61505
  // src/models/orderpaginatedlist.ts
61341
61506
  var OrderPaginatedList$zodSchema;
61342
61507
  var init_orderpaginatedlist = __esm(() => {
@@ -61361,14 +61526,12 @@ var init_listordersop = __esm(() => {
61361
61526
  shippoApiVersion: string2().describe('Optional string used to pick a non-default API version to use. See our <a href="https://docs.goshippo.com/docs/api_concepts/apiversioning/">API version</a> guide.').optional()
61362
61527
  });
61363
61528
  ListOrdersRequest$zodSchema = object({
61364
- end_date: string2().describe(`Filter orders created before the input date and time (ISO 8601 UTC format). This is based on the
61365
- ` + "`placed_at` field, meaning when the order has been placed, not when the order object was created.").optional(),
61529
+ end_date: string2().describe("Filter orders created before the input date and time (ISO 8601 UTC format). This is based on the \n`placed_at` field, meaning when the order has been placed, not when the order object was created.").optional(),
61366
61530
  orderStatus: array(OrderStatusEnum$zodSchema).describe("Filter orders by order status").optional(),
61367
61531
  page: int().default(1).describe("The page number you want to select"),
61368
61532
  results: int().default(25).describe("The number of results to return per page (max 100)"),
61369
61533
  shop_app: OrderShopAppEnum$zodSchema.optional(),
61370
- start_date: string2().describe(`Filter orders created after the input date and time (ISO 8601 UTC format). This is based on the
61371
- ` + "`placed_at` field, meaning when the order has been placed, not when the order object was created.").optional()
61534
+ start_date: string2().describe("Filter orders created after the input date and time (ISO 8601 UTC format). This is based on the \n`placed_at` field, meaning when the order has been placed, not when the order object was created.").optional()
61372
61535
  });
61373
61536
  ListOrdersResponse$zodSchema = object({
61374
61537
  BadRequest: BadRequest$zodSchema.optional(),
@@ -61381,9 +61544,9 @@ var init_listordersop = __esm(() => {
61381
61544
 
61382
61545
  // src/funcs/ordersList.ts
61383
61546
  function ordersList(client$, request, options) {
61384
- return new APIPromise($do33(client$, request, options));
61547
+ return new APIPromise($do34(client$, request, options));
61385
61548
  }
61386
- async function $do33(client$, request, options) {
61549
+ async function $do34(client$, request, options) {
61387
61550
  const parsed$ = safeParse4(request, (value$) => ListOrdersRequest$zodSchema.optional().parse(value$), "Input validation failed");
61388
61551
  if (!parsed$.ok) {
61389
61552
  return [parsed$, { status: "invalid" }];
@@ -61464,12 +61627,12 @@ var init_ordersList = __esm(() => {
61464
61627
  });
61465
61628
 
61466
61629
  // src/mcp-server/tools/ordersList.ts
61467
- var args33, tool$ordersList;
61630
+ var args34, tool$ordersList;
61468
61631
  var init_ordersList2 = __esm(() => {
61469
61632
  init_ordersList();
61470
61633
  init_listordersop();
61471
61634
  init_tools();
61472
- args33 = {
61635
+ args34 = {
61473
61636
  request: ListOrdersRequest$zodSchema.optional()
61474
61637
  };
61475
61638
  tool$ordersList = {
@@ -61502,9 +61665,9 @@ Returns a list of all order objects.
61502
61665
  openWorldHint: false,
61503
61666
  readOnlyHint: false
61504
61667
  },
61505
- args: args33,
61506
- tool: async (client, args34, ctx) => {
61507
- const [result, apiCall] = await ordersList(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61668
+ args: args34,
61669
+ tool: async (client, args35, ctx) => {
61670
+ const [result, apiCall] = await ordersList(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61508
61671
  if (!result.ok) {
61509
61672
  return {
61510
61673
  content: [{ type: "text", text: result.error.message }],
@@ -61518,19 +61681,27 @@ Returns a list of all order objects.
61518
61681
  });
61519
61682
 
61520
61683
  // src/models/parcel.ts
61521
- var ObjectState$zodSchema, Parcel$zodSchema;
61684
+ var ParcelParcelExtra$zodSchema, ObjectState$zodSchema, Parcel$zodSchema;
61522
61685
  var init_parcel = __esm(() => {
61523
61686
  init_zod();
61687
+ init_cod();
61524
61688
  init_distanceunitenum();
61525
- init_parcelextra();
61689
+ init_parcelinsurance();
61526
61690
  init_parceltemplateenumset();
61527
61691
  init_weightunitenum();
61692
+ ParcelParcelExtra$zodSchema = object({
61693
+ COD: Cod$zodSchema.optional(),
61694
+ insurance: ParcelInsurance$zodSchema.optional(),
61695
+ reference_1: string2().optional(),
61696
+ reference_2: string2().optional()
61697
+ }).describe(`An object holding optional extra services to be requested for each parcel in a multi-piece shipment.
61698
+ See the <a href="#section/Parcel-Extras">Parcel Extra table below</a> for all available services.`);
61528
61699
  ObjectState$zodSchema = _enum([
61529
61700
  "VALID"
61530
61701
  ]).describe("A Parcel will only be valid when all required values have been sent and validated successfully.");
61531
61702
  Parcel$zodSchema = object({
61532
61703
  distance_unit: DistanceUnitEnum$zodSchema,
61533
- extra: ParcelExtra$zodSchema.optional(),
61704
+ extra: lazy(() => ParcelParcelExtra$zodSchema).nullable().optional(),
61534
61705
  height: string2(),
61535
61706
  length: string2(),
61536
61707
  mass_unit: WeightUnitEnum$zodSchema,
@@ -61573,9 +61744,9 @@ var init_createparcelop = __esm(() => {
61573
61744
 
61574
61745
  // src/funcs/parcelsCreate.ts
61575
61746
  function parcelsCreate(client$, request, options) {
61576
- return new APIPromise($do34(client$, request, options));
61747
+ return new APIPromise($do35(client$, request, options));
61577
61748
  }
61578
- async function $do34(client$, request, options) {
61749
+ async function $do35(client$, request, options) {
61579
61750
  const parsed$ = safeParse4(request, (value$) => CreateParcelRequest$zodSchema.parse(value$), "Input validation failed");
61580
61751
  if (!parsed$.ok) {
61581
61752
  return [parsed$, { status: "invalid" }];
@@ -61648,12 +61819,12 @@ var init_parcelsCreate = __esm(() => {
61648
61819
  });
61649
61820
 
61650
61821
  // src/mcp-server/tools/parcelsCreate.ts
61651
- var args34, tool$parcelsCreate;
61822
+ var args35, tool$parcelsCreate;
61652
61823
  var init_parcelsCreate2 = __esm(() => {
61653
61824
  init_parcelsCreate();
61654
61825
  init_createparcelop();
61655
61826
  init_tools();
61656
- args34 = {
61827
+ args35 = {
61657
61828
  request: CreateParcelRequest$zodSchema
61658
61829
  };
61659
61830
  tool$parcelsCreate = {
@@ -61668,9 +61839,9 @@ Creates a new parcel object.`,
61668
61839
  openWorldHint: false,
61669
61840
  readOnlyHint: false
61670
61841
  },
61671
- args: args34,
61672
- tool: async (client, args35, ctx) => {
61673
- const [result, apiCall] = await parcelsCreate(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61842
+ args: args35,
61843
+ tool: async (client, args36, ctx) => {
61844
+ const [result, apiCall] = await parcelsCreate(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61674
61845
  if (!result.ok) {
61675
61846
  return {
61676
61847
  content: [{ type: "text", text: result.error.message }],
@@ -61706,9 +61877,9 @@ var init_getparcelop = __esm(() => {
61706
61877
 
61707
61878
  // src/funcs/parcelsGet.ts
61708
61879
  function parcelsGet(client$, request, options) {
61709
- return new APIPromise($do35(client$, request, options));
61880
+ return new APIPromise($do36(client$, request, options));
61710
61881
  }
61711
- async function $do35(client$, request, options) {
61882
+ async function $do36(client$, request, options) {
61712
61883
  const parsed$ = safeParse4(request, (value$) => GetParcelRequest$zodSchema.parse(value$), "Input validation failed");
61713
61884
  if (!parsed$.ok) {
61714
61885
  return [parsed$, { status: "invalid" }];
@@ -61786,12 +61957,12 @@ var init_parcelsGet = __esm(() => {
61786
61957
  });
61787
61958
 
61788
61959
  // src/mcp-server/tools/parcelsGet.ts
61789
- var args35, tool$parcelsGet;
61960
+ var args36, tool$parcelsGet;
61790
61961
  var init_parcelsGet2 = __esm(() => {
61791
61962
  init_parcelsGet();
61792
61963
  init_getparcelop();
61793
61964
  init_tools();
61794
- args35 = {
61965
+ args36 = {
61795
61966
  request: GetParcelRequest$zodSchema
61796
61967
  };
61797
61968
  tool$parcelsGet = {
@@ -61806,9 +61977,9 @@ Returns parcel details using an existing parcel object ID (this will not return
61806
61977
  openWorldHint: false,
61807
61978
  readOnlyHint: true
61808
61979
  },
61809
- args: args35,
61810
- tool: async (client, args36, ctx) => {
61811
- const [result, apiCall] = await parcelsGet(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61980
+ args: args36,
61981
+ tool: async (client, args37, ctx) => {
61982
+ const [result, apiCall] = await parcelsGet(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61812
61983
  if (!result.ok) {
61813
61984
  return {
61814
61985
  content: [{ type: "text", text: result.error.message }],
@@ -61857,9 +62028,9 @@ var init_listparcelsop = __esm(() => {
61857
62028
 
61858
62029
  // src/funcs/parcelsList.ts
61859
62030
  function parcelsList(client$, request, options) {
61860
- return new APIPromise($do36(client$, request, options));
62031
+ return new APIPromise($do37(client$, request, options));
61861
62032
  }
61862
- async function $do36(client$, request, options) {
62033
+ async function $do37(client$, request, options) {
61863
62034
  const parsed$ = safeParse4(request, (value$) => ListParcelsRequest$zodSchema.optional().parse(value$), "Input validation failed");
61864
62035
  if (!parsed$.ok) {
61865
62036
  return [parsed$, { status: "invalid" }];
@@ -61936,12 +62107,12 @@ var init_parcelsList = __esm(() => {
61936
62107
  });
61937
62108
 
61938
62109
  // src/mcp-server/tools/parcelsList.ts
61939
- var args36, tool$parcelsList;
62110
+ var args37, tool$parcelsList;
61940
62111
  var init_parcelsList2 = __esm(() => {
61941
62112
  init_parcelsList();
61942
62113
  init_listparcelsop();
61943
62114
  init_tools();
61944
- args36 = {
62115
+ args37 = {
61945
62116
  request: ListParcelsRequest$zodSchema.optional()
61946
62117
  };
61947
62118
  tool$parcelsList = {
@@ -61956,9 +62127,9 @@ Returns a list of all parcel objects.`,
61956
62127
  openWorldHint: false,
61957
62128
  readOnlyHint: true
61958
62129
  },
61959
- args: args36,
61960
- tool: async (client, args37, ctx) => {
61961
- const [result, apiCall] = await parcelsList(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62130
+ args: args37,
62131
+ tool: async (client, args38, ctx) => {
62132
+ const [result, apiCall] = await parcelsList(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61962
62133
  if (!result.ok) {
61963
62134
  return {
61964
62135
  content: [{ type: "text", text: result.error.message }],
@@ -62013,7 +62184,7 @@ var init_location = __esm(() => {
62013
62184
  "Reception",
62014
62185
  "Side Door"
62015
62186
  ]).describe(`Where your parcels will be available for pickup. "Security Deck" and "Shipping Dock" are only
62016
- ` + "supported for DHL Express.");
62187
+ supported for DHL Express.`);
62017
62188
  BuildingType$zodSchema = _enum([
62018
62189
  "apartment",
62019
62190
  "building",
@@ -62097,9 +62268,9 @@ var init_pickupbase = __esm(() => {
62097
62268
 
62098
62269
  // src/funcs/pickupsCreate.ts
62099
62270
  function pickupsCreate(client$, request, options) {
62100
- return new APIPromise($do37(client$, request, options));
62271
+ return new APIPromise($do38(client$, request, options));
62101
62272
  }
62102
- async function $do37(client$, request, options) {
62273
+ async function $do38(client$, request, options) {
62103
62274
  const parsed$ = safeParse4(request, (value$) => PickupBase$zodSchema.parse(value$), "Input validation failed");
62104
62275
  if (!parsed$.ok) {
62105
62276
  return [parsed$, { status: "invalid" }];
@@ -62173,12 +62344,12 @@ var init_pickupsCreate = __esm(() => {
62173
62344
  });
62174
62345
 
62175
62346
  // src/mcp-server/tools/pickupsCreate.ts
62176
- var args37, tool$pickupsCreate;
62347
+ var args38, tool$pickupsCreate;
62177
62348
  var init_pickupsCreate2 = __esm(() => {
62178
62349
  init_pickupsCreate();
62179
62350
  init_pickupbase();
62180
62351
  init_tools();
62181
- args37 = {
62352
+ args38 = {
62182
62353
  request: PickupBase$zodSchema
62183
62354
  };
62184
62355
  tool$pickupsCreate = {
@@ -62193,9 +62364,9 @@ Creates a pickup object. This request is for a carrier to come to a specified lo
62193
62364
  openWorldHint: false,
62194
62365
  readOnlyHint: false
62195
62366
  },
62196
- args: args37,
62197
- tool: async (client, args38, ctx) => {
62198
- const [result, apiCall] = await pickupsCreate(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62367
+ args: args38,
62368
+ tool: async (client, args39, ctx) => {
62369
+ const [result, apiCall] = await pickupsCreate(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62199
62370
  if (!result.ok) {
62200
62371
  return {
62201
62372
  content: [{ type: "text", text: result.error.message }],
@@ -62264,14 +62435,14 @@ var init_liveratecreaterequest = __esm(() => {
62264
62435
  AddressCompleteCreateRequest$zodSchema,
62265
62436
  string2()
62266
62437
  ]).describe(`The sender address, which includes your name, company name, street address, city, state, zip code,
62267
- ` + `country, phone number, and email address (strings). Special characters should not be included in
62268
- ` + "any address element, especially name, company, and email.");
62438
+ country, phone number, and email address (strings). Special characters should not be included in
62439
+ any address element, especially name, company, and email.`);
62269
62440
  LiveRateCreateRequestAddressTo$zodSchema = union([
62270
62441
  AddressCompleteCreateRequest$zodSchema,
62271
62442
  string2()
62272
62443
  ]).describe(`The recipient address, which includes the recipient's name, company name, street address, city, state, zip code,
62273
- ` + `country, phone number, and email address (strings). Special characters should not be included in
62274
- ` + "any address element, especially name, company, and email.");
62444
+ country, phone number, and email address (strings). Special characters should not be included in
62445
+ any address element, especially name, company, and email.`);
62275
62446
  LiveRateCreateRequestParcel$zodSchema = union([
62276
62447
  Parcel$zodSchema,
62277
62448
  string2()
@@ -62295,9 +62466,9 @@ var init_liveratecreaterequest = __esm(() => {
62295
62466
 
62296
62467
  // src/funcs/ratesAtCheckoutCreate.ts
62297
62468
  function ratesAtCheckoutCreate(client$, request, options) {
62298
- return new APIPromise($do38(client$, request, options));
62469
+ return new APIPromise($do39(client$, request, options));
62299
62470
  }
62300
- async function $do38(client$, request, options) {
62471
+ async function $do39(client$, request, options) {
62301
62472
  const parsed$ = safeParse4(request, (value$) => LiveRateCreateRequest$zodSchema.parse(value$), "Input validation failed");
62302
62473
  if (!parsed$.ok) {
62303
62474
  return [parsed$, { status: "invalid" }];
@@ -62373,12 +62544,12 @@ var init_ratesAtCheckoutCreate = __esm(() => {
62373
62544
  });
62374
62545
 
62375
62546
  // src/mcp-server/tools/ratesAtCheckoutCreate.ts
62376
- var args38, tool$ratesAtCheckoutCreate;
62547
+ var args39, tool$ratesAtCheckoutCreate;
62377
62548
  var init_ratesAtCheckoutCreate2 = __esm(() => {
62378
62549
  init_ratesAtCheckoutCreate();
62379
62550
  init_liveratecreaterequest();
62380
62551
  init_tools();
62381
- args38 = {
62552
+ args39 = {
62382
62553
  request: LiveRateCreateRequest$zodSchema
62383
62554
  };
62384
62555
  tool$ratesAtCheckoutCreate = {
@@ -62396,9 +62567,9 @@ template or a fully formed user parcel template object as the parcel value.`,
62396
62567
  openWorldHint: false,
62397
62568
  readOnlyHint: false
62398
62569
  },
62399
- args: args38,
62400
- tool: async (client, args39, ctx) => {
62401
- const [result, apiCall] = await ratesAtCheckoutCreate(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62570
+ args: args39,
62571
+ tool: async (client, args40, ctx) => {
62572
+ const [result, apiCall] = await ratesAtCheckoutCreate(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62402
62573
  if (!result.ok) {
62403
62574
  return {
62404
62575
  content: [{ type: "text", text: result.error.message }],
@@ -62430,9 +62601,9 @@ var init_deletedefaultparceltemplateop = __esm(() => {
62430
62601
 
62431
62602
  // src/funcs/ratesAtCheckoutDeleteDefaultParcelTemplate.ts
62432
62603
  function ratesAtCheckoutDeleteDefaultParcelTemplate(client$, _request, options) {
62433
- return new APIPromise($do39(client$, _request, options));
62604
+ return new APIPromise($do40(client$, _request, options));
62434
62605
  }
62435
- async function $do39(client$, _request, options) {
62606
+ async function $do40(client$, _request, options) {
62436
62607
  const path$ = pathToFunc("/live-rates/settings/parcel-template")();
62437
62608
  const headers$ = new Headers(compactMap({
62438
62609
  Accept: "application/json",
@@ -62498,12 +62669,12 @@ var init_ratesAtCheckoutDeleteDefaultParcelTemplate = __esm(() => {
62498
62669
  });
62499
62670
 
62500
62671
  // src/mcp-server/tools/ratesAtCheckoutDeleteDefaultParcelTemplate.ts
62501
- var args39, tool$ratesAtCheckoutDeleteDefaultParcelTemplate;
62672
+ var args40, tool$ratesAtCheckoutDeleteDefaultParcelTemplate;
62502
62673
  var init_ratesAtCheckoutDeleteDefaultParcelTemplate2 = __esm(() => {
62503
62674
  init_ratesAtCheckoutDeleteDefaultParcelTemplate();
62504
62675
  init_deletedefaultparceltemplateop();
62505
62676
  init_tools();
62506
- args39 = {
62677
+ args40 = {
62507
62678
  request: DeleteDefaultParcelTemplateRequest$zodSchema.optional()
62508
62679
  };
62509
62680
  tool$ratesAtCheckoutDeleteDefaultParcelTemplate = {
@@ -62518,9 +62689,9 @@ Clears the currently configured default parcel template for live rates.`,
62518
62689
  openWorldHint: false,
62519
62690
  readOnlyHint: false
62520
62691
  },
62521
- args: args39,
62522
- tool: async (client, args40, ctx) => {
62523
- const [result, apiCall] = await ratesAtCheckoutDeleteDefaultParcelTemplate(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62692
+ args: args40,
62693
+ tool: async (client, args41, ctx) => {
62694
+ const [result, apiCall] = await ratesAtCheckoutDeleteDefaultParcelTemplate(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62524
62695
  if (!result.ok) {
62525
62696
  return {
62526
62697
  content: [{ type: "text", text: result.error.message }],
@@ -62587,9 +62758,9 @@ var init_getdefaultparceltemplateop = __esm(() => {
62587
62758
 
62588
62759
  // src/funcs/ratesAtCheckoutGetDefaultParcelTemplate.ts
62589
62760
  function ratesAtCheckoutGetDefaultParcelTemplate(client$, _request, options) {
62590
- return new APIPromise($do40(client$, _request, options));
62761
+ return new APIPromise($do41(client$, _request, options));
62591
62762
  }
62592
- async function $do40(client$, _request, options) {
62763
+ async function $do41(client$, _request, options) {
62593
62764
  const path$ = pathToFunc("/live-rates/settings/parcel-template")();
62594
62765
  const headers$ = new Headers(compactMap({
62595
62766
  Accept: "application/json",
@@ -62657,12 +62828,12 @@ var init_ratesAtCheckoutGetDefaultParcelTemplate = __esm(() => {
62657
62828
  });
62658
62829
 
62659
62830
  // src/mcp-server/tools/ratesAtCheckoutGetDefaultParcelTemplate.ts
62660
- var args40, tool$ratesAtCheckoutGetDefaultParcelTemplate;
62831
+ var args41, tool$ratesAtCheckoutGetDefaultParcelTemplate;
62661
62832
  var init_ratesAtCheckoutGetDefaultParcelTemplate2 = __esm(() => {
62662
62833
  init_ratesAtCheckoutGetDefaultParcelTemplate();
62663
62834
  init_getdefaultparceltemplateop();
62664
62835
  init_tools();
62665
- args40 = {
62836
+ args41 = {
62666
62837
  request: GetDefaultParcelTemplateRequest$zodSchema.optional()
62667
62838
  };
62668
62839
  tool$ratesAtCheckoutGetDefaultParcelTemplate = {
@@ -62677,9 +62848,9 @@ Retrieve and display the currently configured default parcel template for live r
62677
62848
  openWorldHint: false,
62678
62849
  readOnlyHint: true
62679
62850
  },
62680
- args: args40,
62681
- tool: async (client, args41, ctx) => {
62682
- const [result, apiCall] = await ratesAtCheckoutGetDefaultParcelTemplate(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62851
+ args: args41,
62852
+ tool: async (client, args42, ctx) => {
62853
+ const [result, apiCall] = await ratesAtCheckoutGetDefaultParcelTemplate(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62683
62854
  if (!result.ok) {
62684
62855
  return {
62685
62856
  content: [{ type: "text", text: result.error.message }],
@@ -62721,9 +62892,9 @@ var init_updatedefaultparceltemplateop = __esm(() => {
62721
62892
 
62722
62893
  // src/funcs/ratesCheckoutUpdateParcelTemplate.ts
62723
62894
  function ratesCheckoutUpdateParcelTemplate(client$, request, options) {
62724
- return new APIPromise($do41(client$, request, options));
62895
+ return new APIPromise($do42(client$, request, options));
62725
62896
  }
62726
- async function $do41(client$, request, options) {
62897
+ async function $do42(client$, request, options) {
62727
62898
  const parsed$ = safeParse4(request, (value$) => DefaultParcelTemplateUpdateRequest$zodSchema.optional().parse(value$), "Input validation failed");
62728
62899
  if (!parsed$.ok) {
62729
62900
  return [parsed$, { status: "invalid" }];
@@ -62801,12 +62972,12 @@ var init_ratesCheckoutUpdateParcelTemplate = __esm(() => {
62801
62972
  });
62802
62973
 
62803
62974
  // src/mcp-server/tools/ratesCheckoutUpdateParcelTemplate.ts
62804
- var args41, tool$ratesCheckoutUpdateParcelTemplate;
62975
+ var args42, tool$ratesCheckoutUpdateParcelTemplate;
62805
62976
  var init_ratesCheckoutUpdateParcelTemplate2 = __esm(() => {
62806
62977
  init_ratesCheckoutUpdateParcelTemplate();
62807
62978
  init_defaultparceltemplateupdaterequest();
62808
62979
  init_tools();
62809
- args41 = {
62980
+ args42 = {
62810
62981
  request: DefaultParcelTemplateUpdateRequest$zodSchema.optional()
62811
62982
  };
62812
62983
  tool$ratesCheckoutUpdateParcelTemplate = {
@@ -62821,9 +62992,9 @@ Update the currently configured default parcel template for live rates. The obje
62821
62992
  openWorldHint: false,
62822
62993
  readOnlyHint: false
62823
62994
  },
62824
- args: args41,
62825
- tool: async (client, args42, ctx) => {
62826
- const [result, apiCall] = await ratesCheckoutUpdateParcelTemplate(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62995
+ args: args42,
62996
+ tool: async (client, args43, ctx) => {
62997
+ const [result, apiCall] = await ratesCheckoutUpdateParcelTemplate(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62827
62998
  if (!result.ok) {
62828
62999
  return {
62829
63000
  content: [{ type: "text", text: result.error.message }],
@@ -62844,8 +63015,7 @@ var init_responsemessage = __esm(() => {
62844
63015
  code: string2().nullable().optional(),
62845
63016
  source: string2().nullable().optional(),
62846
63017
  text: string2().nullable().optional()
62847
- }).describe(`Message returned with supporting information from a request. In some cases this can be an error message,
62848
- ` + "for example a timeout from a carrier. If available, the origin of the message is displayed in `source`.");
63018
+ }).describe("Message returned with supporting information from a request. In some cases this can be an error message, \nfor example a timeout from a carrier. If available, the origin of the message is displayed in `source`.");
62849
63019
  });
62850
63020
 
62851
63021
  // src/models/servicelevelwithparent.ts
@@ -62858,9 +63028,9 @@ var init_servicelevelwithparent = __esm(() => {
62858
63028
  terms: string2().optional(),
62859
63029
  token: string2().nullable().optional()
62860
63030
  }).describe(`Used for some Service Levels to link to the more "generic" version of this Service Level - for example,
62861
- ` + `if this Service Level is a variation specific to shipments to Europe("ups_saver_eu"), the "parent" is
62862
- ` + `the fully generic version ("ups_saver"). Helpful when displaying Service Levels to users. Has the same
62863
- ` + 'structure of the servicelevel - "name", "token", "terms", and "extended_token", or it is otherwise null.');
63031
+ if this Service Level is a variation specific to shipments to Europe("ups_saver_eu"), the "parent" is
63032
+ the fully generic version ("ups_saver"). Helpful when displaying Service Levels to users. Has the same
63033
+ structure of the servicelevel - "name", "token", "terms", and "extended_token", or it is otherwise null.`);
62864
63034
  ServiceLevelWithParent$zodSchema = object({
62865
63035
  extended_token: string2().optional(),
62866
63036
  name: string2().nullable().optional(),
@@ -62929,9 +63099,9 @@ var init_getrateop = __esm(() => {
62929
63099
 
62930
63100
  // src/funcs/ratesGet.ts
62931
63101
  function ratesGet(client$, request, options) {
62932
- return new APIPromise($do42(client$, request, options));
63102
+ return new APIPromise($do43(client$, request, options));
62933
63103
  }
62934
- async function $do42(client$, request, options) {
63104
+ async function $do43(client$, request, options) {
62935
63105
  const parsed$ = safeParse4(request, (value$) => GetRateRequest$zodSchema.parse(value$), "Input validation failed");
62936
63106
  if (!parsed$.ok) {
62937
63107
  return [parsed$, { status: "invalid" }];
@@ -63009,12 +63179,12 @@ var init_ratesGet = __esm(() => {
63009
63179
  });
63010
63180
 
63011
63181
  // src/mcp-server/tools/ratesGet.ts
63012
- var args42, tool$ratesGet;
63182
+ var args43, tool$ratesGet;
63013
63183
  var init_ratesGet2 = __esm(() => {
63014
63184
  init_ratesGet();
63015
63185
  init_getrateop();
63016
63186
  init_tools();
63017
- args42 = {
63187
+ args43 = {
63018
63188
  request: GetRateRequest$zodSchema
63019
63189
  };
63020
63190
  tool$ratesGet = {
@@ -63029,9 +63199,9 @@ Returns an existing rate using a rate object ID.`,
63029
63199
  openWorldHint: false,
63030
63200
  readOnlyHint: true
63031
63201
  },
63032
- args: args42,
63033
- tool: async (client, args43, ctx) => {
63034
- const [result, apiCall] = await ratesGet(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63202
+ args: args43,
63203
+ tool: async (client, args44, ctx) => {
63204
+ const [result, apiCall] = await ratesGet(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63035
63205
  if (!result.ok) {
63036
63206
  return {
63037
63207
  content: [{ type: "text", text: result.error.message }],
@@ -63082,9 +63252,9 @@ var init_listshipmentratesbycurrencycodeop = __esm(() => {
63082
63252
 
63083
63253
  // src/funcs/ratesListByCurrencyCode.ts
63084
63254
  function ratesListByCurrencyCode(client$, request, options) {
63085
- return new APIPromise($do43(client$, request, options));
63255
+ return new APIPromise($do44(client$, request, options));
63086
63256
  }
63087
- async function $do43(client$, request, options) {
63257
+ async function $do44(client$, request, options) {
63088
63258
  const parsed$ = safeParse4(request, (value$) => ListShipmentRatesByCurrencyCodeRequest$zodSchema.parse(value$), "Input validation failed");
63089
63259
  if (!parsed$.ok) {
63090
63260
  return [parsed$, { status: "invalid" }];
@@ -63175,12 +63345,12 @@ var init_ratesListByCurrencyCode = __esm(() => {
63175
63345
  });
63176
63346
 
63177
63347
  // src/mcp-server/tools/ratesListByCurrencyCode.ts
63178
- var args43, tool$ratesListByCurrencyCode;
63348
+ var args44, tool$ratesListByCurrencyCode;
63179
63349
  var init_ratesListByCurrencyCode2 = __esm(() => {
63180
63350
  init_ratesListByCurrencyCode();
63181
63351
  init_listshipmentratesbycurrencycodeop();
63182
63352
  init_tools();
63183
- args43 = {
63353
+ args44 = {
63184
63354
  request: ListShipmentRatesByCurrencyCodeRequest$zodSchema
63185
63355
  };
63186
63356
  tool$ratesListByCurrencyCode = {
@@ -63201,9 +63371,9 @@ Note: re-requesting the rates with a different currency code will re-queue the s
63201
63371
  openWorldHint: false,
63202
63372
  readOnlyHint: true
63203
63373
  },
63204
- args: args43,
63205
- tool: async (client, args44, ctx) => {
63206
- const [result, apiCall] = await ratesListByCurrencyCode(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63374
+ args: args44,
63375
+ tool: async (client, args45, ctx) => {
63376
+ const [result, apiCall] = await ratesListByCurrencyCode(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63207
63377
  if (!result.ok) {
63208
63378
  return {
63209
63379
  content: [{ type: "text", text: result.error.message }],
@@ -63267,9 +63437,9 @@ var init_refundrequestbody = __esm(() => {
63267
63437
 
63268
63438
  // src/funcs/refundsCreate.ts
63269
63439
  function refundsCreate(client$, request, options) {
63270
- return new APIPromise($do44(client$, request, options));
63440
+ return new APIPromise($do45(client$, request, options));
63271
63441
  }
63272
- async function $do44(client$, request, options) {
63442
+ async function $do45(client$, request, options) {
63273
63443
  const parsed$ = safeParse4(request, (value$) => RefundRequestBody$zodSchema.parse(value$), "Input validation failed");
63274
63444
  if (!parsed$.ok) {
63275
63445
  return [parsed$, { status: "invalid" }];
@@ -63343,12 +63513,12 @@ var init_refundsCreate = __esm(() => {
63343
63513
  });
63344
63514
 
63345
63515
  // src/mcp-server/tools/refundsCreate.ts
63346
- var args44, tool$refundsCreate;
63516
+ var args45, tool$refundsCreate;
63347
63517
  var init_refundsCreate2 = __esm(() => {
63348
63518
  init_refundsCreate();
63349
63519
  init_refundrequestbody();
63350
63520
  init_tools();
63351
- args44 = {
63521
+ args45 = {
63352
63522
  request: RefundRequestBody$zodSchema
63353
63523
  };
63354
63524
  tool$refundsCreate = {
@@ -63363,9 +63533,9 @@ Creates a new refund object.`,
63363
63533
  openWorldHint: false,
63364
63534
  readOnlyHint: false
63365
63535
  },
63366
- args: args44,
63367
- tool: async (client, args45, ctx) => {
63368
- const [result, apiCall] = await refundsCreate(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63536
+ args: args45,
63537
+ tool: async (client, args46, ctx) => {
63538
+ const [result, apiCall] = await refundsCreate(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63369
63539
  if (!result.ok) {
63370
63540
  return {
63371
63541
  content: [{ type: "text", text: result.error.message }],
@@ -63401,9 +63571,9 @@ var init_getrefundop = __esm(() => {
63401
63571
 
63402
63572
  // src/funcs/refundsGet.ts
63403
63573
  function refundsGet(client$, request, options) {
63404
- return new APIPromise($do45(client$, request, options));
63574
+ return new APIPromise($do46(client$, request, options));
63405
63575
  }
63406
- async function $do45(client$, request, options) {
63576
+ async function $do46(client$, request, options) {
63407
63577
  const parsed$ = safeParse4(request, (value$) => GetRefundRequest$zodSchema.parse(value$), "Input validation failed");
63408
63578
  if (!parsed$.ok) {
63409
63579
  return [parsed$, { status: "invalid" }];
@@ -63481,12 +63651,12 @@ var init_refundsGet = __esm(() => {
63481
63651
  });
63482
63652
 
63483
63653
  // src/mcp-server/tools/refundsGet.ts
63484
- var args45, tool$refundsGet;
63654
+ var args46, tool$refundsGet;
63485
63655
  var init_refundsGet2 = __esm(() => {
63486
63656
  init_refundsGet();
63487
63657
  init_getrefundop();
63488
63658
  init_tools();
63489
- args45 = {
63659
+ args46 = {
63490
63660
  request: GetRefundRequest$zodSchema
63491
63661
  };
63492
63662
  tool$refundsGet = {
@@ -63501,9 +63671,9 @@ Returns an existing rate using a rate object ID.`,
63501
63671
  openWorldHint: false,
63502
63672
  readOnlyHint: true
63503
63673
  },
63504
- args: args45,
63505
- tool: async (client, args46, ctx) => {
63506
- const [result, apiCall] = await refundsGet(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63674
+ args: args46,
63675
+ tool: async (client, args47, ctx) => {
63676
+ const [result, apiCall] = await refundsGet(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63507
63677
  if (!result.ok) {
63508
63678
  return {
63509
63679
  content: [{ type: "text", text: result.error.message }],
@@ -63549,9 +63719,9 @@ var init_listrefundsop = __esm(() => {
63549
63719
 
63550
63720
  // src/funcs/refundsList.ts
63551
63721
  function refundsList(client$, _request, options) {
63552
- return new APIPromise($do46(client$, _request, options));
63722
+ return new APIPromise($do47(client$, _request, options));
63553
63723
  }
63554
- async function $do46(client$, _request, options) {
63724
+ async function $do47(client$, _request, options) {
63555
63725
  const path$ = pathToFunc("/refunds/")();
63556
63726
  const headers$ = new Headers(compactMap({
63557
63727
  Accept: "application/json",
@@ -63615,12 +63785,12 @@ var init_refundsList = __esm(() => {
63615
63785
  });
63616
63786
 
63617
63787
  // src/mcp-server/tools/refundsList.ts
63618
- var args46, tool$refundsList;
63788
+ var args47, tool$refundsList;
63619
63789
  var init_refundsList2 = __esm(() => {
63620
63790
  init_refundsList();
63621
63791
  init_listrefundsop();
63622
63792
  init_tools();
63623
- args46 = {
63793
+ args47 = {
63624
63794
  request: ListRefundsRequest$zodSchema.optional()
63625
63795
  };
63626
63796
  tool$refundsList = {
@@ -63635,9 +63805,9 @@ Returns a list all refund objects.`,
63635
63805
  openWorldHint: false,
63636
63806
  readOnlyHint: true
63637
63807
  },
63638
- args: args46,
63639
- tool: async (client, args47, ctx) => {
63640
- const [result, apiCall] = await refundsList(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63808
+ args: args47,
63809
+ tool: async (client, args48, ctx) => {
63810
+ const [result, apiCall] = await refundsList(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63641
63811
  if (!result.ok) {
63642
63812
  return {
63643
63813
  content: [{ type: "text", text: result.error.message }],
@@ -63668,8 +63838,7 @@ var init_servicegrouptypeenum = __esm(() => {
63668
63838
  "LIVE_RATE",
63669
63839
  "FLAT_RATE",
63670
63840
  "FREE_SHIPPING"
63671
- ]).describe(`The type of the service group.<br>
63672
- ` + "`LIVE_RATE` - Shippo will make a rating request and return real-time rates for the shipping group, only falling back to the specified flat rate amount if no rates match a service level in the service group.<br> \n" + "`FLAT_RATE` - Returns a shipping option with the specified flat rate amount.<br> \n" + "`FREE_SHIPPING` - Returns a shipping option with a price of $0 only if the total cost of items exceeds the amount defined by `free_shipping_threshold_min`");
63841
+ ]).describe("The type of the service group.<br> \n`LIVE_RATE` - Shippo will make a rating request and return real-time rates for the shipping group, only falling back to the specified flat rate amount if no rates match a service level in the service group.<br> \n`FLAT_RATE` - Returns a shipping option with the specified flat rate amount.<br> \n`FREE_SHIPPING` - Returns a shipping option with a price of $0 only if the total cost of items exceeds the amount defined by `free_shipping_threshold_min`");
63673
63842
  });
63674
63843
 
63675
63844
  // src/models/servicegroup.ts
@@ -63732,9 +63901,9 @@ var init_servicegroupcreaterequest = __esm(() => {
63732
63901
 
63733
63902
  // src/funcs/serviceGroupsCreate.ts
63734
63903
  function serviceGroupsCreate(client$, request, options) {
63735
- return new APIPromise($do47(client$, request, options));
63904
+ return new APIPromise($do48(client$, request, options));
63736
63905
  }
63737
- async function $do47(client$, request, options) {
63906
+ async function $do48(client$, request, options) {
63738
63907
  const parsed$ = safeParse4(request, (value$) => ServiceGroupCreateRequest$zodSchema.parse(value$), "Input validation failed");
63739
63908
  if (!parsed$.ok) {
63740
63909
  return [parsed$, { status: "invalid" }];
@@ -63808,12 +63977,12 @@ var init_serviceGroupsCreate = __esm(() => {
63808
63977
  });
63809
63978
 
63810
63979
  // src/mcp-server/tools/serviceGroupsCreate.ts
63811
- var args47, tool$serviceGroupsCreate;
63980
+ var args48, tool$serviceGroupsCreate;
63812
63981
  var init_serviceGroupsCreate2 = __esm(() => {
63813
63982
  init_serviceGroupsCreate();
63814
63983
  init_servicegroupcreaterequest();
63815
63984
  init_tools();
63816
- args47 = {
63985
+ args48 = {
63817
63986
  request: ServiceGroupCreateRequest$zodSchema
63818
63987
  };
63819
63988
  tool$serviceGroupsCreate = {
@@ -63828,9 +63997,9 @@ Creates a new service group.`,
63828
63997
  openWorldHint: false,
63829
63998
  readOnlyHint: false
63830
63999
  },
63831
- args: args47,
63832
- tool: async (client, args48, ctx) => {
63833
- const [result, apiCall] = await serviceGroupsCreate(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64000
+ args: args48,
64001
+ tool: async (client, args49, ctx) => {
64002
+ const [result, apiCall] = await serviceGroupsCreate(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63834
64003
  if (!result.ok) {
63835
64004
  return {
63836
64005
  content: [{ type: "text", text: result.error.message }],
@@ -63864,9 +64033,9 @@ var init_deleteservicegroupop = __esm(() => {
63864
64033
 
63865
64034
  // src/funcs/serviceGroupsDelete.ts
63866
64035
  function serviceGroupsDelete(client$, request, options) {
63867
- return new APIPromise($do48(client$, request, options));
64036
+ return new APIPromise($do49(client$, request, options));
63868
64037
  }
63869
- async function $do48(client$, request, options) {
64038
+ async function $do49(client$, request, options) {
63870
64039
  const parsed$ = safeParse4(request, (value$) => DeleteServiceGroupRequest$zodSchema.parse(value$), "Input validation failed");
63871
64040
  if (!parsed$.ok) {
63872
64041
  return [parsed$, { status: "invalid" }];
@@ -63944,12 +64113,12 @@ var init_serviceGroupsDelete = __esm(() => {
63944
64113
  });
63945
64114
 
63946
64115
  // src/mcp-server/tools/serviceGroupsDelete.ts
63947
- var args48, tool$serviceGroupsDelete;
64116
+ var args49, tool$serviceGroupsDelete;
63948
64117
  var init_serviceGroupsDelete2 = __esm(() => {
63949
64118
  init_serviceGroupsDelete();
63950
64119
  init_deleteservicegroupop();
63951
64120
  init_tools();
63952
- args48 = {
64121
+ args49 = {
63953
64122
  request: DeleteServiceGroupRequest$zodSchema
63954
64123
  };
63955
64124
  tool$serviceGroupsDelete = {
@@ -63964,9 +64133,9 @@ Deletes an existing service group using an object ID.`,
63964
64133
  openWorldHint: false,
63965
64134
  readOnlyHint: false
63966
64135
  },
63967
- args: args48,
63968
- tool: async (client, args49, ctx) => {
63969
- const [result, apiCall] = await serviceGroupsDelete(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64136
+ args: args49,
64137
+ tool: async (client, args50, ctx) => {
64138
+ const [result, apiCall] = await serviceGroupsDelete(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63970
64139
  if (!result.ok) {
63971
64140
  return {
63972
64141
  content: [{ type: "text", text: result.error.message }],
@@ -64000,9 +64169,9 @@ var init_listservicegroupsop = __esm(() => {
64000
64169
 
64001
64170
  // src/funcs/serviceGroupsList.ts
64002
64171
  function serviceGroupsList(client$, _request, options) {
64003
- return new APIPromise($do49(client$, _request, options));
64172
+ return new APIPromise($do50(client$, _request, options));
64004
64173
  }
64005
- async function $do49(client$, _request, options) {
64174
+ async function $do50(client$, _request, options) {
64006
64175
  const path$ = pathToFunc("/service-groups")();
64007
64176
  const headers$ = new Headers(compactMap({
64008
64177
  Accept: "application/json",
@@ -64068,12 +64237,12 @@ var init_serviceGroupsList = __esm(() => {
64068
64237
  });
64069
64238
 
64070
64239
  // src/mcp-server/tools/serviceGroupsList.ts
64071
- var args49, tool$serviceGroupsList;
64240
+ var args50, tool$serviceGroupsList;
64072
64241
  var init_serviceGroupsList2 = __esm(() => {
64073
64242
  init_serviceGroupsList();
64074
64243
  init_listservicegroupsop();
64075
64244
  init_tools();
64076
- args49 = {
64245
+ args50 = {
64077
64246
  request: ListServiceGroupsRequest$zodSchema.optional()
64078
64247
  };
64079
64248
  tool$serviceGroupsList = {
@@ -64088,9 +64257,9 @@ Returns a list of service group objects.`,
64088
64257
  openWorldHint: false,
64089
64258
  readOnlyHint: true
64090
64259
  },
64091
- args: args49,
64092
- tool: async (client, args50, ctx) => {
64093
- const [result, apiCall] = await serviceGroupsList(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64260
+ args: args50,
64261
+ tool: async (client, args51, ctx) => {
64262
+ const [result, apiCall] = await serviceGroupsList(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64094
64263
  if (!result.ok) {
64095
64264
  return {
64096
64265
  content: [{ type: "text", text: result.error.message }],
@@ -64144,9 +64313,9 @@ var init_updateservicegroupop = __esm(() => {
64144
64313
 
64145
64314
  // src/funcs/serviceGroupsUpdate.ts
64146
64315
  function serviceGroupsUpdate(client$, request, options) {
64147
- return new APIPromise($do50(client$, request, options));
64316
+ return new APIPromise($do51(client$, request, options));
64148
64317
  }
64149
- async function $do50(client$, request, options) {
64318
+ async function $do51(client$, request, options) {
64150
64319
  const parsed$ = safeParse4(request, (value$) => ServiceGroupUpdateRequest$zodSchema.optional().parse(value$), "Input validation failed");
64151
64320
  if (!parsed$.ok) {
64152
64321
  return [parsed$, { status: "invalid" }];
@@ -64220,12 +64389,12 @@ var init_serviceGroupsUpdate = __esm(() => {
64220
64389
  });
64221
64390
 
64222
64391
  // src/mcp-server/tools/serviceGroupsUpdate.ts
64223
- var args50, tool$serviceGroupsUpdate;
64392
+ var args51, tool$serviceGroupsUpdate;
64224
64393
  var init_serviceGroupsUpdate2 = __esm(() => {
64225
64394
  init_serviceGroupsUpdate();
64226
64395
  init_servicegroupupdaterequest();
64227
64396
  init_tools();
64228
- args50 = {
64397
+ args51 = {
64229
64398
  request: ServiceGroupUpdateRequest$zodSchema.optional()
64230
64399
  };
64231
64400
  tool$serviceGroupsUpdate = {
@@ -64240,9 +64409,9 @@ Updates an existing service group object. <br>The object_id cannot be updated as
64240
64409
  openWorldHint: false,
64241
64410
  readOnlyHint: false
64242
64411
  },
64243
- args: args50,
64244
- tool: async (client, args51, ctx) => {
64245
- const [result, apiCall] = await serviceGroupsUpdate(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64412
+ args: args51,
64413
+ tool: async (client, args52, ctx) => {
64414
+ const [result, apiCall] = await serviceGroupsUpdate(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64246
64415
  if (!result.ok) {
64247
64416
  return {
64248
64417
  content: [{ type: "text", text: result.error.message }],
@@ -64270,7 +64439,7 @@ var init_shipment = __esm(() => {
64270
64439
  "QUEUED",
64271
64440
  "SUCCESS",
64272
64441
  "WAITING"
64273
- ]).describe("`Waiting` shipments have been successfully submitted but not yet been processed. \n" + "`Queued` shipments are currently being processed. \n" + "`Success` shipments have been processed successfully, meaning that rate generation has concluded. \n" + "`Error` does not occur currently and is reserved for future use.");
64442
+ ]).describe("`Waiting` shipments have been successfully submitted but not yet been processed. \n`Queued` shipments are currently being processed. \n`Success` shipments have been processed successfully, meaning that rate generation has concluded. \n`Error` does not occur currently and is reserved for future use.");
64274
64443
  Shipment$zodSchema = object({
64275
64444
  address_from: Address$zodSchema,
64276
64445
  address_return: Address$zodSchema.optional(),
@@ -64312,9 +64481,9 @@ var init_createshipmentop = __esm(() => {
64312
64481
 
64313
64482
  // src/funcs/shipmentsCreate.ts
64314
64483
  function shipmentsCreate(client$, request, options) {
64315
- return new APIPromise($do51(client$, request, options));
64484
+ return new APIPromise($do52(client$, request, options));
64316
64485
  }
64317
- async function $do51(client$, request, options) {
64486
+ async function $do52(client$, request, options) {
64318
64487
  const parsed$ = safeParse4(request, (value$) => ShipmentCreateRequest$zodSchema.parse(value$), "Input validation failed");
64319
64488
  if (!parsed$.ok) {
64320
64489
  return [parsed$, { status: "invalid" }];
@@ -64388,12 +64557,12 @@ var init_shipmentsCreate = __esm(() => {
64388
64557
  });
64389
64558
 
64390
64559
  // src/mcp-server/tools/shipmentsCreate.ts
64391
- var args51, tool$shipmentsCreate;
64560
+ var args52, tool$shipmentsCreate;
64392
64561
  var init_shipmentsCreate2 = __esm(() => {
64393
64562
  init_shipmentsCreate();
64394
64563
  init_shipmentcreaterequest();
64395
64564
  init_tools();
64396
- args51 = {
64565
+ args52 = {
64397
64566
  request: ShipmentCreateRequest$zodSchema
64398
64567
  };
64399
64568
  tool$shipmentsCreate = {
@@ -64485,9 +64654,9 @@ Required address fields:
64485
64654
  openWorldHint: false,
64486
64655
  readOnlyHint: false
64487
64656
  },
64488
- args: args51,
64489
- tool: async (client, args52, ctx) => {
64490
- const [result, apiCall] = await shipmentsCreate(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64657
+ args: args52,
64658
+ tool: async (client, args53, ctx) => {
64659
+ const [result, apiCall] = await shipmentsCreate(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64491
64660
  if (!result.ok) {
64492
64661
  return {
64493
64662
  content: [{ type: "text", text: result.error.message }],
@@ -64523,9 +64692,9 @@ var init_getshipmentop = __esm(() => {
64523
64692
 
64524
64693
  // src/funcs/shipmentsGet.ts
64525
64694
  function shipmentsGet(client$, request, options) {
64526
- return new APIPromise($do52(client$, request, options));
64695
+ return new APIPromise($do53(client$, request, options));
64527
64696
  }
64528
- async function $do52(client$, request, options) {
64697
+ async function $do53(client$, request, options) {
64529
64698
  const parsed$ = safeParse4(request, (value$) => GetShipmentRequest$zodSchema.parse(value$), "Input validation failed");
64530
64699
  if (!parsed$.ok) {
64531
64700
  return [parsed$, { status: "invalid" }];
@@ -64603,12 +64772,12 @@ var init_shipmentsGet = __esm(() => {
64603
64772
  });
64604
64773
 
64605
64774
  // src/mcp-server/tools/shipmentsGet.ts
64606
- var args52, tool$shipmentsGet;
64775
+ var args53, tool$shipmentsGet;
64607
64776
  var init_shipmentsGet2 = __esm(() => {
64608
64777
  init_shipmentsGet();
64609
64778
  init_getshipmentop();
64610
64779
  init_tools();
64611
- args52 = {
64780
+ args53 = {
64612
64781
  request: GetShipmentRequest$zodSchema
64613
64782
  };
64614
64783
  tool$shipmentsGet = {
@@ -64623,9 +64792,9 @@ Returns an existing shipment using an object ID`,
64623
64792
  openWorldHint: false,
64624
64793
  readOnlyHint: true
64625
64794
  },
64626
- args: args52,
64627
- tool: async (client, args53, ctx) => {
64628
- const [result, apiCall] = await shipmentsGet(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64795
+ args: args53,
64796
+ tool: async (client, args54, ctx) => {
64797
+ const [result, apiCall] = await shipmentsGet(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64629
64798
  if (!result.ok) {
64630
64799
  return {
64631
64800
  content: [{ type: "text", text: result.error.message }],
@@ -64679,9 +64848,9 @@ var init_listshipmentsop = __esm(() => {
64679
64848
 
64680
64849
  // src/funcs/shipmentsList.ts
64681
64850
  function shipmentsList(client$, request, options) {
64682
- return new APIPromise($do53(client$, request, options));
64851
+ return new APIPromise($do54(client$, request, options));
64683
64852
  }
64684
- async function $do53(client$, request, options) {
64853
+ async function $do54(client$, request, options) {
64685
64854
  const parsed$ = safeParse4(request, (value$) => ListShipmentsRequest$zodSchema.optional().parse(value$), "Input validation failed");
64686
64855
  if (!parsed$.ok) {
64687
64856
  return [parsed$, { status: "invalid" }];
@@ -64765,12 +64934,12 @@ var init_shipmentsList = __esm(() => {
64765
64934
  });
64766
64935
 
64767
64936
  // src/mcp-server/tools/shipmentsList.ts
64768
- var args53, tool$shipmentsList;
64937
+ var args54, tool$shipmentsList;
64769
64938
  var init_shipmentsList2 = __esm(() => {
64770
64939
  init_shipmentsList();
64771
64940
  init_listshipmentsop();
64772
64941
  init_tools();
64773
- args53 = {
64942
+ args54 = {
64774
64943
  request: ListShipmentsRequest$zodSchema.optional()
64775
64944
  };
64776
64945
  tool$shipmentsList = {
@@ -64813,9 +64982,9 @@ This tool lists shipment objects, which represent rate shopping sessions. Each s
64813
64982
  openWorldHint: false,
64814
64983
  readOnlyHint: false
64815
64984
  },
64816
- args: args53,
64817
- tool: async (client, args54, ctx) => {
64818
- const [result, apiCall] = await shipmentsList(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64985
+ args: args54,
64986
+ tool: async (client, args55, ctx) => {
64987
+ const [result, apiCall] = await shipmentsList(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64819
64988
  if (!result.ok) {
64820
64989
  return {
64821
64990
  content: [{ type: "text", text: result.error.message }],
@@ -64853,9 +65022,9 @@ var init_listshipmentratesop = __esm(() => {
64853
65022
 
64854
65023
  // src/funcs/shipmentsListRates.ts
64855
65024
  function shipmentsListRates(client$, request, options) {
64856
- return new APIPromise($do54(client$, request, options));
65025
+ return new APIPromise($do55(client$, request, options));
64857
65026
  }
64858
- async function $do54(client$, request, options) {
65027
+ async function $do55(client$, request, options) {
64859
65028
  const parsed$ = safeParse4(request, (value$) => ListShipmentRatesRequest$zodSchema.parse(value$), "Input validation failed");
64860
65029
  if (!parsed$.ok) {
64861
65030
  return [parsed$, { status: "invalid" }];
@@ -64940,12 +65109,12 @@ var init_shipmentsListRates = __esm(() => {
64940
65109
  });
64941
65110
 
64942
65111
  // src/mcp-server/tools/shipmentsListRates.ts
64943
- var args54, tool$shipmentsListRates;
65112
+ var args55, tool$shipmentsListRates;
64944
65113
  var init_shipmentsListRates2 = __esm(() => {
64945
65114
  init_shipmentsListRates();
64946
65115
  init_listshipmentratesop();
64947
65116
  init_tools();
64948
- args54 = {
65117
+ args55 = {
64949
65118
  request: ListShipmentRatesRequest$zodSchema
64950
65119
  };
64951
65120
  tool$shipmentsListRates = {
@@ -64960,9 +65129,9 @@ Returns a paginated list of rates associated with a shipment`,
64960
65129
  openWorldHint: false,
64961
65130
  readOnlyHint: true
64962
65131
  },
64963
- args: args54,
64964
- tool: async (client, args55, ctx) => {
64965
- const [result, apiCall] = await shipmentsListRates(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65132
+ args: args55,
65133
+ tool: async (client, args56, ctx) => {
65134
+ const [result, apiCall] = await shipmentsListRates(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64966
65135
  if (!result.ok) {
64967
65136
  return {
64968
65137
  content: [{ type: "text", text: result.error.message }],
@@ -65022,9 +65191,9 @@ var init_shippoaccountupdaterequest = __esm(() => {
65022
65191
 
65023
65192
  // src/funcs/shippoAccountsCreate.ts
65024
65193
  function shippoAccountsCreate(client$, request, options) {
65025
- return new APIPromise($do55(client$, request, options));
65194
+ return new APIPromise($do56(client$, request, options));
65026
65195
  }
65027
- async function $do55(client$, request, options) {
65196
+ async function $do56(client$, request, options) {
65028
65197
  const parsed$ = safeParse4(request, (value$) => ShippoAccountUpdateRequest$zodSchema.parse(value$), "Input validation failed");
65029
65198
  if (!parsed$.ok) {
65030
65199
  return [parsed$, { status: "invalid" }];
@@ -65100,12 +65269,12 @@ var init_shippoAccountsCreate = __esm(() => {
65100
65269
  });
65101
65270
 
65102
65271
  // src/mcp-server/tools/shippoAccountsCreate.ts
65103
- var args55, tool$shippoAccountsCreate;
65272
+ var args56, tool$shippoAccountsCreate;
65104
65273
  var init_shippoAccountsCreate2 = __esm(() => {
65105
65274
  init_shippoAccountsCreate();
65106
65275
  init_shippoaccountupdaterequest();
65107
65276
  init_tools();
65108
- args55 = {
65277
+ args56 = {
65109
65278
  request: ShippoAccountUpdateRequest$zodSchema
65110
65279
  };
65111
65280
  tool$shippoAccountsCreate = {
@@ -65120,9 +65289,9 @@ Creates a new <a href="https://docs.goshippo.com/docs/platformaccounts/platform_
65120
65289
  openWorldHint: false,
65121
65290
  readOnlyHint: false
65122
65291
  },
65123
- args: args55,
65124
- tool: async (client, args56, ctx) => {
65125
- const [result, apiCall] = await shippoAccountsCreate(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65292
+ args: args56,
65293
+ tool: async (client, args57, ctx) => {
65294
+ const [result, apiCall] = await shippoAccountsCreate(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65126
65295
  if (!result.ok) {
65127
65296
  return {
65128
65297
  content: [{ type: "text", text: result.error.message }],
@@ -65158,9 +65327,9 @@ var init_getshippoaccountop = __esm(() => {
65158
65327
 
65159
65328
  // src/funcs/shippoAccountsGet.ts
65160
65329
  function shippoAccountsGet(client$, request, options) {
65161
- return new APIPromise($do56(client$, request, options));
65330
+ return new APIPromise($do57(client$, request, options));
65162
65331
  }
65163
- async function $do56(client$, request, options) {
65332
+ async function $do57(client$, request, options) {
65164
65333
  const parsed$ = safeParse4(request, (value$) => GetShippoAccountRequest$zodSchema.parse(value$), "Input validation failed");
65165
65334
  if (!parsed$.ok) {
65166
65335
  return [parsed$, { status: "invalid" }];
@@ -65238,12 +65407,12 @@ var init_shippoAccountsGet = __esm(() => {
65238
65407
  });
65239
65408
 
65240
65409
  // src/mcp-server/tools/shippoAccountsGet.ts
65241
- var args56, tool$shippoAccountsGet;
65410
+ var args57, tool$shippoAccountsGet;
65242
65411
  var init_shippoAccountsGet2 = __esm(() => {
65243
65412
  init_shippoAccountsGet();
65244
65413
  init_getshippoaccountop();
65245
65414
  init_tools();
65246
- args56 = {
65415
+ args57 = {
65247
65416
  request: GetShippoAccountRequest$zodSchema
65248
65417
  };
65249
65418
  tool$shippoAccountsGet = {
@@ -65258,9 +65427,9 @@ Returns a Shippo Managed Account using an object ID.`,
65258
65427
  openWorldHint: false,
65259
65428
  readOnlyHint: true
65260
65429
  },
65261
- args: args56,
65262
- tool: async (client, args57, ctx) => {
65263
- const [result, apiCall] = await shippoAccountsGet(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65430
+ args: args57,
65431
+ tool: async (client, args58, ctx) => {
65432
+ const [result, apiCall] = await shippoAccountsGet(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65264
65433
  if (!result.ok) {
65265
65434
  return {
65266
65435
  content: [{ type: "text", text: result.error.message }],
@@ -65309,9 +65478,9 @@ var init_listshippoaccountsop = __esm(() => {
65309
65478
 
65310
65479
  // src/funcs/shippoAccountsList.ts
65311
65480
  function shippoAccountsList(client$, request, options) {
65312
- return new APIPromise($do57(client$, request, options));
65481
+ return new APIPromise($do58(client$, request, options));
65313
65482
  }
65314
- async function $do57(client$, request, options) {
65483
+ async function $do58(client$, request, options) {
65315
65484
  const parsed$ = safeParse4(request, (value$) => ListShippoAccountsRequest$zodSchema.optional().parse(value$), "Input validation failed");
65316
65485
  if (!parsed$.ok) {
65317
65486
  return [parsed$, { status: "invalid" }];
@@ -65390,12 +65559,12 @@ var init_shippoAccountsList = __esm(() => {
65390
65559
  });
65391
65560
 
65392
65561
  // src/mcp-server/tools/shippoAccountsList.ts
65393
- var args57, tool$shippoAccountsList;
65562
+ var args58, tool$shippoAccountsList;
65394
65563
  var init_shippoAccountsList2 = __esm(() => {
65395
65564
  init_shippoAccountsList();
65396
65565
  init_listshippoaccountsop();
65397
65566
  init_tools();
65398
- args57 = {
65567
+ args58 = {
65399
65568
  request: ListShippoAccountsRequest$zodSchema.optional()
65400
65569
  };
65401
65570
  tool$shippoAccountsList = {
@@ -65410,9 +65579,9 @@ Returns a list of Shippo Managed Accounts objects.`,
65410
65579
  openWorldHint: false,
65411
65580
  readOnlyHint: true
65412
65581
  },
65413
- args: args57,
65414
- tool: async (client, args58, ctx) => {
65415
- const [result, apiCall] = await shippoAccountsList(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65582
+ args: args58,
65583
+ tool: async (client, args59, ctx) => {
65584
+ const [result, apiCall] = await shippoAccountsList(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65416
65585
  if (!result.ok) {
65417
65586
  return {
65418
65587
  content: [{ type: "text", text: result.error.message }],
@@ -65450,9 +65619,9 @@ var init_updateshippoaccountop = __esm(() => {
65450
65619
 
65451
65620
  // src/funcs/shippoAccountsUpdate.ts
65452
65621
  function shippoAccountsUpdate(client$, request, options) {
65453
- return new APIPromise($do58(client$, request, options));
65622
+ return new APIPromise($do59(client$, request, options));
65454
65623
  }
65455
- async function $do58(client$, request, options) {
65624
+ async function $do59(client$, request, options) {
65456
65625
  const parsed$ = safeParse4(request, (value$) => UpdateShippoAccountRequest$zodSchema.parse(value$), "Input validation failed");
65457
65626
  if (!parsed$.ok) {
65458
65627
  return [parsed$, { status: "invalid" }];
@@ -65533,12 +65702,12 @@ var init_shippoAccountsUpdate = __esm(() => {
65533
65702
  });
65534
65703
 
65535
65704
  // src/mcp-server/tools/shippoAccountsUpdate.ts
65536
- var args58, tool$shippoAccountsUpdate;
65705
+ var args59, tool$shippoAccountsUpdate;
65537
65706
  var init_shippoAccountsUpdate2 = __esm(() => {
65538
65707
  init_shippoAccountsUpdate();
65539
65708
  init_updateshippoaccountop();
65540
65709
  init_tools();
65541
- args58 = {
65710
+ args59 = {
65542
65711
  request: UpdateShippoAccountRequest$zodSchema
65543
65712
  };
65544
65713
  tool$shippoAccountsUpdate = {
@@ -65553,9 +65722,9 @@ Updates a Shippo Managed Account using an object ID.`,
65553
65722
  openWorldHint: false,
65554
65723
  readOnlyHint: false
65555
65724
  },
65556
- args: args58,
65557
- tool: async (client, args59, ctx) => {
65558
- const [result, apiCall] = await shippoAccountsUpdate(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65725
+ args: args59,
65726
+ tool: async (client, args60, ctx) => {
65727
+ const [result, apiCall] = await shippoAccountsUpdate(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65559
65728
  if (!result.ok) {
65560
65729
  return {
65561
65730
  content: [{ type: "text", text: result.error.message }],
@@ -65703,9 +65872,9 @@ var init_tracksrequest = __esm(() => {
65703
65872
 
65704
65873
  // src/funcs/trackingStatusCreate.ts
65705
65874
  function trackingStatusCreate(client$, request, options) {
65706
- return new APIPromise($do59(client$, request, options));
65875
+ return new APIPromise($do60(client$, request, options));
65707
65876
  }
65708
- async function $do59(client$, request, options) {
65877
+ async function $do60(client$, request, options) {
65709
65878
  const parsed$ = safeParse4(request, (value$) => TracksRequest$zodSchema.parse(value$), "Input validation failed");
65710
65879
  if (!parsed$.ok) {
65711
65880
  return [parsed$, { status: "invalid" }];
@@ -65779,12 +65948,12 @@ var init_trackingStatusCreate = __esm(() => {
65779
65948
  });
65780
65949
 
65781
65950
  // src/mcp-server/tools/trackingStatusCreate.ts
65782
- var args59, tool$trackingStatusCreate;
65951
+ var args60, tool$trackingStatusCreate;
65783
65952
  var init_trackingStatusCreate2 = __esm(() => {
65784
65953
  init_trackingStatusCreate();
65785
65954
  init_tracksrequest();
65786
65955
  init_tools();
65787
- args59 = {
65956
+ args60 = {
65788
65957
  request: TracksRequest$zodSchema
65789
65958
  };
65790
65959
  tool$trackingStatusCreate = {
@@ -65823,9 +65992,9 @@ The API will return an error if you use real carrier names with test tokens.
65823
65992
  openWorldHint: false,
65824
65993
  readOnlyHint: false
65825
65994
  },
65826
- args: args59,
65827
- tool: async (client, args60, ctx) => {
65828
- const [result, apiCall] = await trackingStatusCreate(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65995
+ args: args60,
65996
+ tool: async (client, args61, ctx) => {
65997
+ const [result, apiCall] = await trackingStatusCreate(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65829
65998
  if (!result.ok) {
65830
65999
  return {
65831
66000
  content: [{ type: "text", text: result.error.message }],
@@ -65862,9 +66031,9 @@ var init_gettrackop = __esm(() => {
65862
66031
 
65863
66032
  // src/funcs/trackingStatusGet.ts
65864
66033
  function trackingStatusGet(client$, request, options) {
65865
- return new APIPromise($do60(client$, request, options));
66034
+ return new APIPromise($do61(client$, request, options));
65866
66035
  }
65867
- async function $do60(client$, request, options) {
66036
+ async function $do61(client$, request, options) {
65868
66037
  const parsed$ = safeParse4(request, (value$) => GetTrackRequest$zodSchema.parse(value$), "Input validation failed");
65869
66038
  if (!parsed$.ok) {
65870
66039
  return [parsed$, { status: "invalid" }];
@@ -65946,12 +66115,12 @@ var init_trackingStatusGet = __esm(() => {
65946
66115
  });
65947
66116
 
65948
66117
  // src/mcp-server/tools/trackingStatusGet.ts
65949
- var args60, tool$trackingStatusGet;
66118
+ var args61, tool$trackingStatusGet;
65950
66119
  var init_trackingStatusGet2 = __esm(() => {
65951
66120
  init_trackingStatusGet();
65952
66121
  init_gettrackop();
65953
66122
  init_tools();
65954
- args60 = {
66123
+ args61 = {
65955
66124
  request: GetTrackRequest$zodSchema
65956
66125
  };
65957
66126
  tool$trackingStatusGet = {
@@ -65993,9 +66162,9 @@ The response may include tracking URLs. When displaying any URLs:
65993
66162
  openWorldHint: false,
65994
66163
  readOnlyHint: false
65995
66164
  },
65996
- args: args60,
65997
- tool: async (client, args61, ctx) => {
65998
- const [result, apiCall] = await trackingStatusGet(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66165
+ args: args61,
66166
+ tool: async (client, args62, ctx) => {
66167
+ const [result, apiCall] = await trackingStatusGet(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65999
66168
  if (!result.ok) {
66000
66169
  return {
66001
66170
  content: [{ type: "text", text: result.error.message }],
@@ -66055,16 +66224,16 @@ var init_transaction = __esm(() => {
66055
66224
  last_name: string2().optional(),
66056
66225
  username: string2().optional()
66057
66226
  }).describe(`An object with details about the user who created the Transaction (purchased the label).
66058
- ` + `A value will be returned only for Transactions that can be associated with a specific user, e.g. when a logged-in
66059
- ` + `user purchases a label via the Shippo Web application; but not for Transactions purchased e.g. via the API using a ShippoToken,
66060
- ` + "which is associated with the account but not any specific user.");
66227
+ A value will be returned only for Transactions that can be associated with a specific user, e.g. when a logged-in
66228
+ user purchases a label via the Shippo Web application; but not for Transactions purchased e.g. via the API using a ShippoToken,
66229
+ which is associated with the account but not any specific user.`);
66061
66230
  RateUnion$zodSchema = union([
66062
66231
  CoreRate$zodSchema,
66063
66232
  string2()
66064
66233
  ]).describe(`ID of the Rate object for which a Label has to be obtained.
66065
- ` + `If you purchase a label by calling the transaction endpoint without a rate (instalabel),
66066
- ` + `this field will be a simplified Rate object in the Transaction model returned from the POST request.
66067
- ` + "</br>Note, only rates less than 7 days old can be purchased to ensure up-to-date pricing.");
66234
+ If you purchase a label by calling the transaction endpoint without a rate (instalabel),
66235
+ this field will be a simplified Rate object in the Transaction model returned from the POST request.
66236
+ </br>Note, only rates less than 7 days old can be purchased to ensure up-to-date pricing.`);
66068
66237
  Transaction$zodSchema = object({
66069
66238
  commercial_invoice_url: string2().nullable().optional(),
66070
66239
  created_by: lazy(() => CreatedBy$zodSchema).nullable().optional(),
@@ -66131,9 +66300,9 @@ var init_createtransactionop = __esm(() => {
66131
66300
 
66132
66301
  // src/funcs/transactionsCreate.ts
66133
66302
  function transactionsCreate(client$, request, options) {
66134
- return new APIPromise($do61(client$, request, options));
66303
+ return new APIPromise($do62(client$, request, options));
66135
66304
  }
66136
- async function $do61(client$, request, options) {
66305
+ async function $do62(client$, request, options) {
66137
66306
  const parsed$ = safeParse4(request, (value$) => CreateTransactionRequest$zodSchema.parse(value$), "Input validation failed");
66138
66307
  if (!parsed$.ok) {
66139
66308
  return [parsed$, { status: "invalid" }];
@@ -66206,12 +66375,12 @@ var init_transactionsCreate = __esm(() => {
66206
66375
  });
66207
66376
 
66208
66377
  // src/mcp-server/tools/transactionsCreate.ts
66209
- var args61, tool$transactionsCreate;
66378
+ var args62, tool$transactionsCreate;
66210
66379
  var init_transactionsCreate2 = __esm(() => {
66211
66380
  init_transactionsCreate();
66212
66381
  init_createtransactionop();
66213
66382
  init_tools();
66214
- args61 = {
66383
+ args62 = {
66215
66384
  request: CreateTransactionRequest$zodSchema
66216
66385
  };
66217
66386
  tool$transactionsCreate = {
@@ -66310,9 +66479,9 @@ When transaction succeeds, the response includes:
66310
66479
  openWorldHint: false,
66311
66480
  readOnlyHint: false
66312
66481
  },
66313
- args: args61,
66314
- tool: async (client, args62, ctx) => {
66315
- const [result, apiCall] = await transactionsCreate(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66482
+ args: args62,
66483
+ tool: async (client, args63, ctx) => {
66484
+ const [result, apiCall] = await transactionsCreate(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66316
66485
  if (!result.ok) {
66317
66486
  return {
66318
66487
  content: [{ type: "text", text: result.error.message }],
@@ -66348,9 +66517,9 @@ var init_gettransactionop = __esm(() => {
66348
66517
 
66349
66518
  // src/funcs/transactionsGet.ts
66350
66519
  function transactionsGet(client$, request, options) {
66351
- return new APIPromise($do62(client$, request, options));
66520
+ return new APIPromise($do63(client$, request, options));
66352
66521
  }
66353
- async function $do62(client$, request, options) {
66522
+ async function $do63(client$, request, options) {
66354
66523
  const parsed$ = safeParse4(request, (value$) => GetTransactionRequest$zodSchema.parse(value$), "Input validation failed");
66355
66524
  if (!parsed$.ok) {
66356
66525
  return [parsed$, { status: "invalid" }];
@@ -66428,12 +66597,12 @@ var init_transactionsGet = __esm(() => {
66428
66597
  });
66429
66598
 
66430
66599
  // src/mcp-server/tools/transactionsGet.ts
66431
- var args62, tool$transactionsGet;
66600
+ var args63, tool$transactionsGet;
66432
66601
  var init_transactionsGet2 = __esm(() => {
66433
66602
  init_transactionsGet();
66434
66603
  init_gettransactionop();
66435
66604
  init_tools();
66436
- args62 = {
66605
+ args63 = {
66437
66606
  request: GetTransactionRequest$zodSchema
66438
66607
  };
66439
66608
  tool$transactionsGet = {
@@ -66484,9 +66653,9 @@ When displaying URLs from this response (label_url, qr_code_url, tracking_url_pr
66484
66653
  openWorldHint: false,
66485
66654
  readOnlyHint: false
66486
66655
  },
66487
- args: args62,
66488
- tool: async (client, args63, ctx) => {
66489
- const [result, apiCall] = await transactionsGet(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66656
+ args: args63,
66657
+ tool: async (client, args64, ctx) => {
66658
+ const [result, apiCall] = await transactionsGet(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66490
66659
  if (!result.ok) {
66491
66660
  return {
66492
66661
  content: [{ type: "text", text: result.error.message }],
@@ -66540,9 +66709,9 @@ var init_listtransactionsop = __esm(() => {
66540
66709
 
66541
66710
  // src/funcs/transactionsList.ts
66542
66711
  function transactionsList(client$, request, options) {
66543
- return new APIPromise($do63(client$, request, options));
66712
+ return new APIPromise($do64(client$, request, options));
66544
66713
  }
66545
- async function $do63(client$, request, options) {
66714
+ async function $do64(client$, request, options) {
66546
66715
  const parsed$ = safeParse4(request, (value$) => ListTransactionsRequest$zodSchema.optional().parse(value$), "Input validation failed");
66547
66716
  if (!parsed$.ok) {
66548
66717
  return [parsed$, { status: "invalid" }];
@@ -66624,12 +66793,12 @@ var init_transactionsList = __esm(() => {
66624
66793
  });
66625
66794
 
66626
66795
  // src/mcp-server/tools/transactionsList.ts
66627
- var args63, tool$transactionsList;
66796
+ var args64, tool$transactionsList;
66628
66797
  var init_transactionsList2 = __esm(() => {
66629
66798
  init_transactionsList();
66630
66799
  init_listtransactionsop();
66631
66800
  init_tools();
66632
- args63 = {
66801
+ args64 = {
66633
66802
  request: ListTransactionsRequest$zodSchema.optional()
66634
66803
  };
66635
66804
  tool$transactionsList = {
@@ -66682,9 +66851,9 @@ When displaying these URLs:
66682
66851
  openWorldHint: false,
66683
66852
  readOnlyHint: false
66684
66853
  },
66685
- args: args63,
66686
- tool: async (client, args64, ctx) => {
66687
- const [result, apiCall] = await transactionsList(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66854
+ args: args64,
66855
+ tool: async (client, args65, ctx) => {
66856
+ const [result, apiCall] = await transactionsList(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66688
66857
  if (!result.ok) {
66689
66858
  return {
66690
66859
  content: [{ type: "text", text: result.error.message }],
@@ -66758,9 +66927,9 @@ var init_userparceltemplatecreaterequest = __esm(() => {
66758
66927
 
66759
66928
  // src/funcs/userParcelTemplatesCreate.ts
66760
66929
  function userParcelTemplatesCreate(client$, request, options) {
66761
- return new APIPromise($do64(client$, request, options));
66930
+ return new APIPromise($do65(client$, request, options));
66762
66931
  }
66763
- async function $do64(client$, request, options) {
66932
+ async function $do65(client$, request, options) {
66764
66933
  const parsed$ = safeParse4(request, (value$) => UserParcelTemplateCreateRequest$zodSchema.parse(value$), "Input validation failed");
66765
66934
  if (!parsed$.ok) {
66766
66935
  return [parsed$, { status: "invalid" }];
@@ -66838,12 +67007,12 @@ var init_userParcelTemplatesCreate = __esm(() => {
66838
67007
  });
66839
67008
 
66840
67009
  // src/mcp-server/tools/userParcelTemplatesCreate.ts
66841
- var args64, tool$userParcelTemplatesCreate;
67010
+ var args65, tool$userParcelTemplatesCreate;
66842
67011
  var init_userParcelTemplatesCreate2 = __esm(() => {
66843
67012
  init_userParcelTemplatesCreate();
66844
67013
  init_userparceltemplatecreaterequest();
66845
67014
  init_tools();
66846
- args64 = {
67015
+ args65 = {
66847
67016
  request: UserParcelTemplateCreateRequest$zodSchema
66848
67017
  };
66849
67018
  tool$userParcelTemplatesCreate = {
@@ -66864,9 +67033,9 @@ and depth, as well as their units."`,
66864
67033
  openWorldHint: false,
66865
67034
  readOnlyHint: false
66866
67035
  },
66867
- args: args64,
66868
- tool: async (client, args65, ctx) => {
66869
- const [result, apiCall] = await userParcelTemplatesCreate(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67036
+ args: args65,
67037
+ tool: async (client, args66, ctx) => {
67038
+ const [result, apiCall] = await userParcelTemplatesCreate(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66870
67039
  if (!result.ok) {
66871
67040
  return {
66872
67041
  content: [{ type: "text", text: result.error.message }],
@@ -66900,9 +67069,9 @@ var init_deleteuserparceltemplateop = __esm(() => {
66900
67069
 
66901
67070
  // src/funcs/userParcelTemplatesDelete.ts
66902
67071
  function userParcelTemplatesDelete(client$, request, options) {
66903
- return new APIPromise($do65(client$, request, options));
67072
+ return new APIPromise($do66(client$, request, options));
66904
67073
  }
66905
- async function $do65(client$, request, options) {
67074
+ async function $do66(client$, request, options) {
66906
67075
  const parsed$ = safeParse4(request, (value$) => DeleteUserParcelTemplateRequest$zodSchema.parse(value$), "Input validation failed");
66907
67076
  if (!parsed$.ok) {
66908
67077
  return [parsed$, { status: "invalid" }];
@@ -66979,12 +67148,12 @@ var init_userParcelTemplatesDelete = __esm(() => {
66979
67148
  });
66980
67149
 
66981
67150
  // src/mcp-server/tools/userParcelTemplatesDelete.ts
66982
- var args65, tool$userParcelTemplatesDelete;
67151
+ var args66, tool$userParcelTemplatesDelete;
66983
67152
  var init_userParcelTemplatesDelete2 = __esm(() => {
66984
67153
  init_userParcelTemplatesDelete();
66985
67154
  init_deleteuserparceltemplateop();
66986
67155
  init_tools();
66987
- args65 = {
67156
+ args66 = {
66988
67157
  request: DeleteUserParcelTemplateRequest$zodSchema
66989
67158
  };
66990
67159
  tool$userParcelTemplatesDelete = {
@@ -66999,9 +67168,9 @@ Deletes a user parcel template using an object ID.`,
66999
67168
  openWorldHint: false,
67000
67169
  readOnlyHint: false
67001
67170
  },
67002
- args: args65,
67003
- tool: async (client, args66, ctx) => {
67004
- const [result, apiCall] = await userParcelTemplatesDelete(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67171
+ args: args66,
67172
+ tool: async (client, args67, ctx) => {
67173
+ const [result, apiCall] = await userParcelTemplatesDelete(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67005
67174
  if (!result.ok) {
67006
67175
  return {
67007
67176
  content: [{ type: "text", text: result.error.message }],
@@ -67037,9 +67206,9 @@ var init_getuserparceltemplateop = __esm(() => {
67037
67206
 
67038
67207
  // src/funcs/userParcelTemplatesGet.ts
67039
67208
  function userParcelTemplatesGet(client$, request, options) {
67040
- return new APIPromise($do66(client$, request, options));
67209
+ return new APIPromise($do67(client$, request, options));
67041
67210
  }
67042
- async function $do66(client$, request, options) {
67211
+ async function $do67(client$, request, options) {
67043
67212
  const parsed$ = safeParse4(request, (value$) => GetUserParcelTemplateRequest$zodSchema.parse(value$), "Input validation failed");
67044
67213
  if (!parsed$.ok) {
67045
67214
  return [parsed$, { status: "invalid" }];
@@ -67116,12 +67285,12 @@ var init_userParcelTemplatesGet = __esm(() => {
67116
67285
  });
67117
67286
 
67118
67287
  // src/mcp-server/tools/userParcelTemplatesGet.ts
67119
- var args66, tool$userParcelTemplatesGet;
67288
+ var args67, tool$userParcelTemplatesGet;
67120
67289
  var init_userParcelTemplatesGet2 = __esm(() => {
67121
67290
  init_userParcelTemplatesGet();
67122
67291
  init_getuserparceltemplateop();
67123
67292
  init_tools();
67124
- args66 = {
67293
+ args67 = {
67125
67294
  request: GetUserParcelTemplateRequest$zodSchema
67126
67295
  };
67127
67296
  tool$userParcelTemplatesGet = {
@@ -67137,9 +67306,9 @@ template, identified by the object ID.`,
67137
67306
  openWorldHint: false,
67138
67307
  readOnlyHint: true
67139
67308
  },
67140
- args: args66,
67141
- tool: async (client, args67, ctx) => {
67142
- const [result, apiCall] = await userParcelTemplatesGet(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67309
+ args: args67,
67310
+ tool: async (client, args68, ctx) => {
67311
+ const [result, apiCall] = await userParcelTemplatesGet(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67143
67312
  if (!result.ok) {
67144
67313
  return {
67145
67314
  content: [{ type: "text", text: result.error.message }],
@@ -67183,9 +67352,9 @@ var init_listuserparceltemplatesop = __esm(() => {
67183
67352
 
67184
67353
  // src/funcs/userParcelTemplatesList.ts
67185
67354
  function userParcelTemplatesList(client$, _request, options) {
67186
- return new APIPromise($do67(client$, _request, options));
67355
+ return new APIPromise($do68(client$, _request, options));
67187
67356
  }
67188
- async function $do67(client$, _request, options) {
67357
+ async function $do68(client$, _request, options) {
67189
67358
  const path$ = pathToFunc("/user-parcel-templates")();
67190
67359
  const headers$ = new Headers(compactMap({
67191
67360
  Accept: "application/json",
@@ -67253,12 +67422,12 @@ var init_userParcelTemplatesList = __esm(() => {
67253
67422
  });
67254
67423
 
67255
67424
  // src/mcp-server/tools/userParcelTemplatesList.ts
67256
- var args67, tool$userParcelTemplatesList;
67425
+ var args68, tool$userParcelTemplatesList;
67257
67426
  var init_userParcelTemplatesList2 = __esm(() => {
67258
67427
  init_userParcelTemplatesList();
67259
67428
  init_listuserparceltemplatesop();
67260
67429
  init_tools();
67261
- args67 = {
67430
+ args68 = {
67262
67431
  request: ListUserParcelTemplatesRequest$zodSchema.optional()
67263
67432
  };
67264
67433
  tool$userParcelTemplatesList = {
@@ -67273,9 +67442,9 @@ Returns a list all of all user parcel template objects.`,
67273
67442
  openWorldHint: false,
67274
67443
  readOnlyHint: true
67275
67444
  },
67276
- args: args67,
67277
- tool: async (client, args68, ctx) => {
67278
- const [result, apiCall] = await userParcelTemplatesList(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67445
+ args: args68,
67446
+ tool: async (client, args69, ctx) => {
67447
+ const [result, apiCall] = await userParcelTemplatesList(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67279
67448
  if (!result.ok) {
67280
67449
  return {
67281
67450
  content: [{ type: "text", text: result.error.message }],
@@ -67330,9 +67499,9 @@ var init_updateuserparceltemplateop = __esm(() => {
67330
67499
 
67331
67500
  // src/funcs/userParcelTemplatesUpdate.ts
67332
67501
  function userParcelTemplatesUpdate(client$, request, options) {
67333
- return new APIPromise($do68(client$, request, options));
67502
+ return new APIPromise($do69(client$, request, options));
67334
67503
  }
67335
- async function $do68(client$, request, options) {
67504
+ async function $do69(client$, request, options) {
67336
67505
  const parsed$ = safeParse4(request, (value$) => UpdateUserParcelTemplateRequest$zodSchema.parse(value$), "Input validation failed");
67337
67506
  if (!parsed$.ok) {
67338
67507
  return [parsed$, { status: "invalid" }];
@@ -67412,12 +67581,12 @@ var init_userParcelTemplatesUpdate = __esm(() => {
67412
67581
  });
67413
67582
 
67414
67583
  // src/mcp-server/tools/userParcelTemplatesUpdate.ts
67415
- var args68, tool$userParcelTemplatesUpdate;
67584
+ var args69, tool$userParcelTemplatesUpdate;
67416
67585
  var init_userParcelTemplatesUpdate2 = __esm(() => {
67417
67586
  init_userParcelTemplatesUpdate();
67418
67587
  init_updateuserparceltemplateop();
67419
67588
  init_tools();
67420
- args68 = {
67589
+ args69 = {
67421
67590
  request: UpdateUserParcelTemplateRequest$zodSchema
67422
67591
  };
67423
67592
  tool$userParcelTemplatesUpdate = {
@@ -67432,9 +67601,9 @@ Updates an existing user parcel template.`,
67432
67601
  openWorldHint: false,
67433
67602
  readOnlyHint: false
67434
67603
  },
67435
- args: args68,
67436
- tool: async (client, args69, ctx) => {
67437
- const [result, apiCall] = await userParcelTemplatesUpdate(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67604
+ args: args69,
67605
+ tool: async (client, args70, ctx) => {
67606
+ const [result, apiCall] = await userParcelTemplatesUpdate(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67438
67607
  if (!result.ok) {
67439
67608
  return {
67440
67609
  content: [{ type: "text", text: result.error.message }],
@@ -67505,9 +67674,9 @@ var init_webhookupdaterequest = __esm(() => {
67505
67674
 
67506
67675
  // src/funcs/webhooksCreate.ts
67507
67676
  function webhooksCreate(client$, request, options) {
67508
- return new APIPromise($do69(client$, request, options));
67677
+ return new APIPromise($do70(client$, request, options));
67509
67678
  }
67510
- async function $do69(client$, request, options) {
67679
+ async function $do70(client$, request, options) {
67511
67680
  const parsed$ = safeParse4(request, (value$) => WebhookUpdateRequest$zodSchema.parse(value$), "Input validation failed");
67512
67681
  if (!parsed$.ok) {
67513
67682
  return [parsed$, { status: "invalid" }];
@@ -67580,12 +67749,12 @@ var init_webhooksCreate = __esm(() => {
67580
67749
  });
67581
67750
 
67582
67751
  // src/mcp-server/tools/webhooksCreate.ts
67583
- var args69, tool$webhooksCreate;
67752
+ var args70, tool$webhooksCreate;
67584
67753
  var init_webhooksCreate2 = __esm(() => {
67585
67754
  init_webhooksCreate();
67586
67755
  init_webhookupdaterequest();
67587
67756
  init_tools();
67588
- args69 = {
67757
+ args70 = {
67589
67758
  request: WebhookUpdateRequest$zodSchema
67590
67759
  };
67591
67760
  tool$webhooksCreate = {
@@ -67600,9 +67769,9 @@ Creates a new webhook to send notifications to a URL when a specific event occur
67600
67769
  openWorldHint: false,
67601
67770
  readOnlyHint: false
67602
67771
  },
67603
- args: args69,
67604
- tool: async (client, args70, ctx) => {
67605
- const [result, apiCall] = await webhooksCreate(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67772
+ args: args70,
67773
+ tool: async (client, args71, ctx) => {
67774
+ const [result, apiCall] = await webhooksCreate(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67606
67775
  if (!result.ok) {
67607
67776
  return {
67608
67777
  content: [{ type: "text", text: result.error.message }],
@@ -67631,9 +67800,9 @@ var init_deletewebhookop = __esm(() => {
67631
67800
 
67632
67801
  // src/funcs/webhooksDelete.ts
67633
67802
  function webhooksDelete(client$, request, options) {
67634
- return new APIPromise($do70(client$, request, options));
67803
+ return new APIPromise($do71(client$, request, options));
67635
67804
  }
67636
- async function $do70(client$, request, options) {
67805
+ async function $do71(client$, request, options) {
67637
67806
  const parsed$ = safeParse4(request, (value$) => DeleteWebhookRequest$zodSchema.parse(value$), "Input validation failed");
67638
67807
  if (!parsed$.ok) {
67639
67808
  return [parsed$, { status: "invalid" }];
@@ -67710,12 +67879,12 @@ var init_webhooksDelete = __esm(() => {
67710
67879
  });
67711
67880
 
67712
67881
  // src/mcp-server/tools/webhooksDelete.ts
67713
- var args70, tool$webhooksDelete;
67882
+ var args71, tool$webhooksDelete;
67714
67883
  var init_webhooksDelete2 = __esm(() => {
67715
67884
  init_webhooksDelete();
67716
67885
  init_deletewebhookop();
67717
67886
  init_tools();
67718
- args70 = {
67887
+ args71 = {
67719
67888
  request: DeleteWebhookRequest$zodSchema
67720
67889
  };
67721
67890
  tool$webhooksDelete = {
@@ -67730,9 +67899,9 @@ Deletes a specific webhook using the webhook object ID.`,
67730
67899
  openWorldHint: false,
67731
67900
  readOnlyHint: false
67732
67901
  },
67733
- args: args70,
67734
- tool: async (client, args71, ctx) => {
67735
- const [result, apiCall] = await webhooksDelete(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67902
+ args: args71,
67903
+ tool: async (client, args72, ctx) => {
67904
+ const [result, apiCall] = await webhooksDelete(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67736
67905
  if (!result.ok) {
67737
67906
  return {
67738
67907
  content: [{ type: "text", text: result.error.message }],
@@ -67762,9 +67931,9 @@ var init_getwebhookop = __esm(() => {
67762
67931
 
67763
67932
  // src/funcs/webhooksGet.ts
67764
67933
  function webhooksGet(client$, request, options) {
67765
- return new APIPromise($do71(client$, request, options));
67934
+ return new APIPromise($do72(client$, request, options));
67766
67935
  }
67767
- async function $do71(client$, request, options) {
67936
+ async function $do72(client$, request, options) {
67768
67937
  const parsed$ = safeParse4(request, (value$) => GetWebhookRequest$zodSchema.parse(value$), "Input validation failed");
67769
67938
  if (!parsed$.ok) {
67770
67939
  return [parsed$, { status: "invalid" }];
@@ -67841,12 +68010,12 @@ var init_webhooksGet = __esm(() => {
67841
68010
  });
67842
68011
 
67843
68012
  // src/mcp-server/tools/webhooksGet.ts
67844
- var args71, tool$webhooksGet;
68013
+ var args72, tool$webhooksGet;
67845
68014
  var init_webhooksGet2 = __esm(() => {
67846
68015
  init_webhooksGet();
67847
68016
  init_getwebhookop();
67848
68017
  init_tools();
67849
- args71 = {
68018
+ args72 = {
67850
68019
  request: GetWebhookRequest$zodSchema
67851
68020
  };
67852
68021
  tool$webhooksGet = {
@@ -67861,9 +68030,9 @@ Returns the details of a specific webhook using the webhook object ID.`,
67861
68030
  openWorldHint: false,
67862
68031
  readOnlyHint: true
67863
68032
  },
67864
- args: args71,
67865
- tool: async (client, args72, ctx) => {
67866
- const [result, apiCall] = await webhooksGet(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68033
+ args: args72,
68034
+ tool: async (client, args73, ctx) => {
68035
+ const [result, apiCall] = await webhooksGet(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67867
68036
  if (!result.ok) {
67868
68037
  return {
67869
68038
  content: [{ type: "text", text: result.error.message }],
@@ -67908,9 +68077,9 @@ var init_listwebhooksop = __esm(() => {
67908
68077
 
67909
68078
  // src/funcs/webhooksList.ts
67910
68079
  function webhooksList(client$, request, options) {
67911
- return new APIPromise($do72(client$, request, options));
68080
+ return new APIPromise($do73(client$, request, options));
67912
68081
  }
67913
- async function $do72(client$, request, options) {
68082
+ async function $do73(client$, request, options) {
67914
68083
  const parsed$ = safeParse4(request, (value$) => ListWebhooksRequest$zodSchema.optional().parse(value$), "Input validation failed");
67915
68084
  if (!parsed$.ok) {
67916
68085
  return [parsed$, { status: "invalid" }];
@@ -67987,12 +68156,12 @@ var init_webhooksList = __esm(() => {
67987
68156
  });
67988
68157
 
67989
68158
  // src/mcp-server/tools/webhooksList.ts
67990
- var args72, tool$webhooksList;
68159
+ var args73, tool$webhooksList;
67991
68160
  var init_webhooksList2 = __esm(() => {
67992
68161
  init_webhooksList();
67993
68162
  init_listwebhooksop();
67994
68163
  init_tools();
67995
- args72 = {
68164
+ args73 = {
67996
68165
  request: ListWebhooksRequest$zodSchema.optional()
67997
68166
  };
67998
68167
  tool$webhooksList = {
@@ -68007,9 +68176,9 @@ Returns a list of all webhooks you have created.`,
68007
68176
  openWorldHint: false,
68008
68177
  readOnlyHint: true
68009
68178
  },
68010
- args: args72,
68011
- tool: async (client, args73, ctx) => {
68012
- const [result, apiCall] = await webhooksList(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68179
+ args: args73,
68180
+ tool: async (client, args74, ctx) => {
68181
+ const [result, apiCall] = await webhooksList(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68013
68182
  if (!result.ok) {
68014
68183
  return {
68015
68184
  content: [{ type: "text", text: result.error.message }],
@@ -68042,9 +68211,9 @@ var init_updatewebhookop = __esm(() => {
68042
68211
 
68043
68212
  // src/funcs/webhooksUpdate.ts
68044
68213
  function webhooksUpdate(client$, request, options) {
68045
- return new APIPromise($do73(client$, request, options));
68214
+ return new APIPromise($do74(client$, request, options));
68046
68215
  }
68047
- async function $do73(client$, request, options) {
68216
+ async function $do74(client$, request, options) {
68048
68217
  const parsed$ = safeParse4(request, (value$) => UpdateWebhookRequest$zodSchema.parse(value$), "Input validation failed");
68049
68218
  if (!parsed$.ok) {
68050
68219
  return [parsed$, { status: "invalid" }];
@@ -68122,12 +68291,12 @@ var init_webhooksUpdate = __esm(() => {
68122
68291
  });
68123
68292
 
68124
68293
  // src/mcp-server/tools/webhooksUpdate.ts
68125
- var args73, tool$webhooksUpdate;
68294
+ var args74, tool$webhooksUpdate;
68126
68295
  var init_webhooksUpdate2 = __esm(() => {
68127
68296
  init_webhooksUpdate();
68128
68297
  init_updatewebhookop();
68129
68298
  init_tools();
68130
- args73 = {
68299
+ args74 = {
68131
68300
  request: UpdateWebhookRequest$zodSchema
68132
68301
  };
68133
68302
  tool$webhooksUpdate = {
@@ -68142,9 +68311,9 @@ Updates an existing webhook using the webhook object ID.`,
68142
68311
  openWorldHint: false,
68143
68312
  readOnlyHint: false
68144
68313
  },
68145
- args: args73,
68146
- tool: async (client, args74, ctx) => {
68147
- const [result, apiCall] = await webhooksUpdate(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68314
+ args: args74,
68315
+ tool: async (client, args75, ctx) => {
68316
+ const [result, apiCall] = await webhooksUpdate(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68148
68317
  if (!result.ok) {
68149
68318
  return {
68150
68319
  content: [{ type: "text", text: result.error.message }],
@@ -68161,7 +68330,7 @@ Updates an existing webhook using the webhook object ID.`,
68161
68330
  function createMCPServer(deps) {
68162
68331
  const server = new McpServer({
68163
68332
  name: "ShippoSDK",
68164
- version: "2.0.8"
68333
+ version: "2.0.18"
68165
68334
  });
68166
68335
  const getClient = deps.getSDK || (() => new ShippoSDKCore({
68167
68336
  security: deps.security,
@@ -68169,9 +68338,9 @@ function createMCPServer(deps) {
68169
68338
  serverURL: deps.serverURL,
68170
68339
  serverIdx: deps.serverIdx,
68171
68340
  debugLogger: deps.logger.level === "debug" ? {
68172
- log: (...args74) => console.log(...args74),
68173
- group: (...args74) => console.group(...args74),
68174
- groupEnd: (...args74) => console.groupEnd(...args74)
68341
+ log: (...args75) => console.log(...args75),
68342
+ group: (...args75) => console.group(...args75),
68343
+ groupEnd: (...args75) => console.groupEnd(...args75)
68175
68344
  } : undefined
68176
68345
  }));
68177
68346
  const scopes = new Set(deps.scopes);
@@ -68216,6 +68385,7 @@ function createMCPServer(deps) {
68216
68385
  tool(tool$ordersList);
68217
68386
  tool(tool$ordersCreate);
68218
68387
  tool(tool$ordersGet);
68388
+ tool(tool$ordersGetPackingSlip);
68219
68389
  tool(tool$carrierParcelTemplatesList);
68220
68390
  tool(tool$carrierParcelTemplatesGet);
68221
68391
  tool(tool$parcelsList);
@@ -68293,6 +68463,7 @@ var init_server2 = __esm(() => {
68293
68463
  init_manifestsList2();
68294
68464
  init_ordersCreate2();
68295
68465
  init_ordersGet2();
68466
+ init_ordersGetPackingSlip2();
68296
68467
  init_ordersList2();
68297
68468
  init_parcelsCreate2();
68298
68469
  init_parcelsGet2();
@@ -69559,7 +69730,7 @@ var routes = ln({
69559
69730
  var app = _e(routes, {
69560
69731
  name: "mcp",
69561
69732
  versionInfo: {
69562
- currentVersion: "2.0.8"
69733
+ currentVersion: "2.0.18"
69563
69734
  }
69564
69735
  });
69565
69736
  Yt(app, process4.argv.slice(2), buildContext(process4));
@@ -69567,5 +69738,5 @@ export {
69567
69738
  app
69568
69739
  };
69569
69740
 
69570
- //# debugId=81C1532ABBD16DE164756E2164756E21
69741
+ //# debugId=B590CDCE355C4CA264756E2164756E21
69571
69742
  //# sourceMappingURL=mcp-server.js.map